1753594 Members
6239 Online
108796 Solutions
New Discussion юеВ

bring up eth0

 
SOLVED
Go to solution
Vanja
Frequent Advisor

bring up eth0

Hi all,

Relatively new to linux and playing around with the kernel.

I've loaded a mini kernel using INSERT-1.3.6.
Trying to troubleshoot a network connection.

Now after loading the kernel modules tg3,bnx2,and e1000 I still can't get eth0 to come up. These are the modules that I usually use with the cards that I have loaded in these types of systems. When I run ifconfig on eth0 I get "SIOCSIFADDR: No such device" and a few other messages. I've attached a print screen of the console output to this thread.

Any help in getting eth0 up will be appreciated. I'm assuming I'm missing some step but not sure what. Points will be dealt accordingly.

Thanks!

9 REPLIES 9
Hemmetter
Esteemed Contributor
Solution

Re: bring up eth0

Hi Vania,

after loading the drivers with:
$ modprobe bnx2
and
$ modprobe e1000

you should find some eth's im dmesg output.

can you post:
$ dmesg | grep -i eth
and also
$ ifconfig -a


rgds
HGH


Ivan Ferreira
Honored Contributor

Re: bring up eth0

After running modprobe, you already should see the eth0 device unconfigured if the device is detected by the module.

Ensure that after loading the module you do have the eth0 device in the output of ifconfig -a.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Vanja
Frequent Advisor

Re: bring up eth0

Thanks for the input.

After loading the drivers I don't see eth0, eth1, eth2, or eth3 in output of ifconfig -a, as I expect. The only thing that I see in ifconfig -a is the loopback interface. I will be able to do some more troubleshooting on Monday. If you guys have any other tips or clues I appreciate it.

Also note from the attachment that lsmod doesn't list any devices (eth0 - eth3) using any of the 3 nic drivers?

Thanks!
sshakthi
Advisor

Re: bring up eth0

run kudzu,

and use system-config-network(redhat/fedora) or netconfig to check the card is installed or not.
Yogeeraj_1
Honored Contributor

Re: bring up eth0

hi,

What do you see in:
/etc/sysconfig/networking/devices


e.g.
[yd@myserver devices]$ ll
total 48
-rw-r--r-- 3 root root 192 Jun 26 15:20 ifcfg-eth0
-rw-r--r-- 3 root root 182 Jun 26 15:20 ifcfg-eth1
-rw-r--r-- 3 root root 204 Jun 26 15:20 ifcfg-eth2
-rw-r--r-- 3 root root 207 Jun 26 15:20 ifcfg-eth3
-rw-r--r-- 3 root root 285 Jun 26 15:20 ifcfg-eth3:1
-rw-r--r-- 3 root root 70 Jun 26 15:20 route-eth3
[yd@myserver devices]$


revert
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Geert Van Pamel
Regular Advisor

Re: bring up eth0

You could try the following commands:

lspci

modprobe -r eth0

modprobe -v eth0

cat /etc/modules.conf

cat /etc/modprobe.conf

mii-tool eth0

ethtool eth0

ifconfig eth0 ...

ifup eth0

dmesg |grep eth0

grep eth0 /var/log/messages

cd /etc/sysconfig/network-scripts

cat ifcfg-eth0

More inspiration in the extremely interesting book from HP:

Linux Troubleshooting for System Administrators and Power Users
James Kierkland, et al.
2006, HP Professional Books
ISBN 0-13-185515-8
Sac_3
Frequent Advisor

Re: bring up eth0

Hi Geert Van Pamel ,
Looking for "Linux Troubleshooting for System Administrators and Power Users" book. If you have this book in pdf format, can u pls send it.If your Ok will giv u my email id.

Regards,
SaC
Geert Van Pamel
Regular Advisor

Re: bring up eth0

I once had a problem on Fedora Core 6 with a not automatically unrecognized ethernet card.

ifup eth0
3c59x device eth0 does not seem to be present, delaying initialization.

I solved the problem with the following little startup script:

vi /etc/init.d/localnet
#!/bin/bash
echo $0 $* # Local network startup

modprobe -r eth0
modprobe -v eth0

Then I register this startup script

grep default /etc/inittab
...
id:5:initdefault:

cd /etc/rc5.d
ln -s ../init.d/localnet S10localnet

Geert Van Pamel
Regular Advisor

Re: bring up eth0

For Sac: you can buy it for 34$

http://www.amazon.com/exec/obidos/ISBN=0131855158