You are not logged in.

#1 2011-08-28 17:36:24

neuront
Member
Registered: 2010-06-05
Posts: 9

Cannot find device "eth0" error?

I got an error ``Cannot find device "eth0"`` when starting network daemon.

The network part in rc.conf is

interface=eth0
address=
netmask=
broadcast=
gateway=

My laptop is Lenovo Y460 and the adaptor is a Broadcom one

Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

I have following script in /etc/rc.local

modprobe -r tg3
modprobe broadcom
modprobe tg3

/etc/rc.d/network start

When the last line executes, the error occurs.

I tried

ip addr

it shows lo and wlan only (and I could connect via wlan):

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether ----------- brd ff:ff:ff:ff:ff:ff
    inet ------------ brd 255.255.255.255 scope global wlan0
    inet6 ------------------ scope link 
       valid_lft forever preferred_lft forever

could anyone help me? Thanks in advance.

Offline

#2 2011-08-28 18:29:34

nrempel
Member
Registered: 2010-12-27
Posts: 37

Re: Cannot find device "eth0" error?

Try running

ifconfig -a

to see list of all network interfaces.  It could be possible that it's named something other than eth0.

Offline

#3 2011-08-28 18:45:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Cannot find device "eth0" error?

This seems like it has history...

https://bugzilla.redhat.com/show_bug.cgi?id=525966

What does dmesg have to say about loading/initializing the module?

Offline

#4 2011-08-29 01:21:13

neuront
Member
Registered: 2010-06-05
Posts: 9

Re: Cannot find device "eth0" error?

nrempel wrote:

Try running

ifconfig -a

to see list of all network interfaces.  It could be possible that it's named something other than eth0.

Thanks, but unfortunately it has nearly the same result: lo and wlan0 only.

falconindy wrote:

This seems like it has history...

https://bugzilla.redhat.com/show_bug.cgi?id=525966

What does dmesg have to say about loading/initializing the module?

Thanks a lot. I have noticed this bug before, and used the same trick to workaround (I haven't added network to DAEMONS in rc.conf and start it manually in rc.local I posted) for several months. The problem occured at the day before yesterday after I updated my system, one week after the previous update. Is there any way to show what have been updated last time in pacman or yaourt?

Offline

#5 2011-08-29 01:28:11

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Cannot find device "eth0" error?

/var/log/pacman.log is where pacman writes its misadventures to.

Offline

#6 2011-08-29 05:44:24

neuront
Member
Registered: 2010-06-05
Posts: 9

Re: Cannot find device "eth0" error?

Thanks. Here is what have been upgraded that day.

[2011-08-27 22:33] Running 'pacman -Sy'
[2011-08-27 22:33] synchronizing package lists
[2011-08-27 22:35] Running 'pacman -S --force -u'
[2011-08-27 22:35] starting full system upgrade
[2011-08-27 22:57] removed kernel26 (2.6.39.3-1)
[2011-08-27 22:57] upgraded avahi (0.6.30-4 -> 0.6.30-5)
[2011-08-27 22:57] upgraded isl (0.06-2 -> 0.07-1)
[2011-08-27 22:57] upgraded cloog (0.16.2-2 -> 0.16.3-1)
[2011-08-27 22:57] upgraded fakeroot (1.16-1 -> 1.17-1)
[2011-08-27 22:57] upgraded gcc-libs (4.6.1-3 -> 4.6.1-4)
[2011-08-27 22:57] upgraded gcc (4.6.1-3 -> 4.6.1-4)
[2011-08-27 22:57] upgraded gdk-pixbuf2 (2.23.5-1 -> 2.24.0-1)
[2011-08-27 22:57] upgraded pcre (8.13-1 -> 8.13-2)
[2011-08-27 22:57] upgraded git (1.7.6-1 -> 1.7.6.1-1)
[2011-08-27 22:57] upgraded gnome-settings-daemon (3.0.2-2 -> 3.0.3-1)
[2011-08-27 22:57] >>> Updating module dependencies. Please wait ...
[2011-08-27 22:57] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2011-08-27 22:57] ==> Building image from preset: 'default'
[2011-08-27 22:57]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2011-08-27 22:57] ==> Starting build: 3.0-ARCH
[2011-08-27 22:57]   -> Parsing hook: [base]
[2011-08-27 22:57]   -> Parsing hook: [udev]
[2011-08-27 22:57]   -> Parsing hook: [autodetect]
[2011-08-27 22:57]   -> Parsing hook: [pata]
[2011-08-27 22:57]   -> Parsing hook: [scsi]
[2011-08-27 22:57]   -> Parsing hook: [sata]
[2011-08-27 22:57]   -> Parsing hook: [filesystems]
[2011-08-27 22:57]   -> Parsing hook: [usbinput]
[2011-08-27 22:57] ==> Generating module dependencies
[2011-08-27 22:57] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2011-08-27 22:57] 7371 blocks
[2011-08-27 22:57] ==> Image generation successful
[2011-08-27 22:57] ==> Building image from preset: 'fallback'
[2011-08-27 22:57]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2011-08-27 22:57] ==> Starting build: 3.0-ARCH
[2011-08-27 22:57]   -> Parsing hook: [base]
[2011-08-27 22:57]   -> Parsing hook: [udev]
[2011-08-27 22:57]   -> Parsing hook: [pata]
[2011-08-27 22:57]   -> Parsing hook: [scsi]
[2011-08-27 22:57]   -> Parsing hook: [sata]
[2011-08-27 22:57]   -> Parsing hook: [filesystems]
[2011-08-27 22:57]   -> Parsing hook: [usbinput]
[2011-08-27 22:57] ==> Generating module dependencies
[2011-08-27 22:57] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2011-08-27 22:57] 23806 blocks
[2011-08-27 22:57] ==> Image generation successful
[2011-08-27 22:57] installed linux (3.0.3-1)
[2011-08-27 22:58] upgraded lib32-gcc-libs (4.6.1-3 -> 4.6.1-4)
[2011-08-27 22:58] upgraded libffi (3.0.9-1 -> 3.0.10-1)
[2011-08-27 22:58] upgraded libssh2 (1.2.7-2 -> 1.2.9-1)
[2011-08-27 22:58] upgraded logrotate (3.8.0-1 -> 3.8.0-2)
[2011-08-27 22:58] upgraded networkmanager (0.8.9997-2 -> 0.9.0-1)
[2011-08-27 22:58] upgraded network-manager-applet (0.8.9997-1 -> 0.9.0-1)
[2011-08-27 22:58] upgraded rasqal (1:0.9.26-1 -> 1:0.9.27-1)
[2011-08-27 22:58] upgraded shotwell (0.10.1-2 -> 0.11.0-3)
[2011-08-27 22:58] upgraded smbclient (3.6.0-1 -> 3.6.0-5)
[2011-08-27 22:58] upgraded thunar (1.2.2-2 -> 1.2.2-3)
[2011-08-27 22:58] upgraded udisks (1.0.3-6 -> 1.0.4-1)
[2011-08-27 22:58] upgraded wine (1.3.26-1 -> 1.3.27-1)
[2011-08-27 22:58] upgraded xarchiver (0.5.2-2 -> 0.5.2-4)

Offline

Board footer

Powered by FluxBB