Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hi, I am trying to fix my MAC address on a Slackware 10 machine. I can change the MAC but when I reboot it goes back to its default number. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    7

    Where is the ifcfg-eth0 file in Slackware?


    Hi,
    I am trying to fix my MAC address on a Slackware 10 machine. I can change the MAC but when I reboot it goes back to its default number. I read that in RedHat you can edit this address in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. But I can not find this file in Slackware.

    I am looking for the file with the HWADDR=XX:XX:XX:XX:XX:XX

    Does anyone know where I can find this information?

    Cheers

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Location
    UK
    Posts
    77
    Check out this site http://whoozoo.co.uk/mac-spoof-linux.htm#2

    Armage

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Posts
    2
    I used that same page to set my MAC.
    I dont think that shows where the "Slackware" path is at either

  4. #4
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Belgrade, S&M
    Posts
    177
    grep -a HWADDR=XX:XX:XX:XX:XX:XX *

  5. #5
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    or try find / -name <what you want to search for>...
    Linux For Ever!

  6. #6
    Just Joined!
    Join Date
    Jul 2004
    Posts
    7
    Quote Originally Posted by stathisx
    or try find / -name <what you want to search for>...
    What do you mean? Is that another way to look up MAN pages?

  7. #7
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    with this command you just search the / partition (whole system) to find the file named <filename>.for more options take a look at man find...
    Linux For Ever!

  8. #8
    Just Joined!
    Join Date
    Jul 2004
    Posts
    7
    Quote Originally Posted by stathisx
    with this command you just search the / partition (whole system) to find the file named <filename>.for more options take a look at man find...
    Thank you

    I did not know about this option. I tried doing a search with it but it came up empty. I find it kind of weird that this filename does not exist. I even used the GUI to search text in files for the word HWADDR: but nothing showed up. Is slackware listing this under something else?

    Thanks for showing me how to do the search. I am checking out the man pages for "find"

    This is the type of help I appreciate. Not giving me the full answer but pointing me in the right direction.

    Still stuck though :P

  9. #9
    Linux User
    Join Date
    Jul 2004
    Posts
    256
    mickx27: using -name is case sensitive, you can try -iname for insensitivity

    I'm not on linux so I can't check the file, but heres a couple of ideas

    -if you do "$ man man" it tells you how you can search man pages for certain text

    -If you are using program X if you do "$ man X" it will usually show the config files "under files:" or "see also:" towards the end of the manual.

    -Maybe that redhat file is the equivalent of slack's /etc/rc.d/rc.inet1

    (slack official network basic tut: http://www.slackware.com/book/index....rce=c1063.html )
    --monkey

  10. #10
    Just Joined!
    Join Date
    Jul 2004
    Posts
    17
    I tried looking in the MAN pages for this and found nothing

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •