LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 2 and /etc/hosts... (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-2-and-etc-hosts-196676/)

allenpanther 06-23-2004 01:35 AM

Fedora 2 and /etc/hosts...
 
FC2 doesn't seem to have set itself up correctly upon install....it wants me to add the physical address of my etherlink card to /etc/hosts...? (Here I am frustrated and using WinSucks, again...)

RH9 demanded the same, ages ago, and I did it and everything worked fine ( but I forget the exact edit of /etc/hosts that achieved it...).

At present my /etc/hosts contains only;

__________________________

#(you know)
#(etc)
127.0.0.1 localhost.localdomain hostname localhost
__________________________

Where do I insert the x1-6-00-etc...?


Thanks, folks...-Allen (newbie all over again)

Vlad-A 06-23-2004 05:42 AM

Are you sure it's in the /etc/hosts ?

If you refer to the MAC address as physical adress then it's entered in
/etc/sysconfig/network-scripts/ifcfg-cardname

so in the case we are talking about eth0
it's in

/etc/sysconfig/network-scripts/ifcfg-eth0
In this file you shall enter
HWADDR=XX:YY:ZZ....

where XX:YY:ZZ...... ist your MAC address


All times are GMT -5. The time now is 08:54 PM.