Click to See Complete Forum and Search --> : ethernet lost


BadFishBrewer
09-02-2002, 07:59 PM
I am running red hat 6.1 (cartman)
as a server and i just installed a nic card.
When i booted up the server saw the nic and installed it.
Great!
then i used a win2K computer and telneted into my
Linux server and monitored it from the server.
Awsome!
i then used the command 'ifconfg'
and the result where
eth0 and the ethernet info
lo and the local info.

Ok... so i was messing around and got stuck so i rebooted the
server and now when it reboots it only logs in local all the ethernet info is gone.

what did i do wrong???
:(

rioguia
09-03-2002, 01:33 PM
you need to provide more information:

1. what kind of card

2. Does /etc/modules.conf have an "alias" line for eth0? If so, which module is listed there and skip to 3 d & e (and substitute the name of the module you found in /etc/modules.conf for the text "YOUR MODULE NAME HERE."

3. Please provide the output of the following commands:

a. ifconfig -a (this should list all your network interfaces whether they are up or down)


b. lspci |less (to see if your card has been assigned a resource)

c. lsmod (to see if your driver shows up in the list of loaded modules)

d. locate YOUR MODULE NAME HERE

e. modprobe YOUR MODULE NAME HERE

DMR
09-03-2002, 05:07 PM
To add to rioguia's suggestions:

Do you get any error messages concerning the NIC during bootup? For instance, something similar to the following:

"Bringing up interface eth0 [FAILED]"

If so, post the exact text of the error. If not, you're card might just not configured to come up at boot. Log in as root, go to a command prompt and:

1. Try to bring it up manually by typing:

ifup eth0

Run ifconfig (without the "-a" option) and see if it came up.


2. Look in your /etc/sysconfig/network-scripts/ifcfg-eth0 file. You should find the following line:

ONBOOT="yes"

If ONBOOT is not set to "yes", open the file in a text editor (make a backup of the file first!) and change it to "yes". Reboot the computer and see what happpens.