You are not logged in.

#1 2011-04-28 13:28:26

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

After ifconfig eth0 down, eth0 dies forever

I have a Thinkpad SL510. If I do

ifconfig eth0 down

it can't be brought up again. I noticed that as soon as I bring it down, the LCD light stops blinking and any attempt to bring it up doesn't get the LCD light back. This wasn't the case several weeks ago, and I suppose this could be related to kernel.

Last edited by xiaq (2011-04-28 13:29:08)

Offline

#2 2011-04-28 14:34:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: After ifconfig eth0 down, eth0 dies forever

Any errors n the logs?

Offline

#3 2011-04-28 20:17:34

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: After ifconfig eth0 down, eth0 dies forever

Are you actually talking about ethernet or wlan iface?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#4 2011-04-29 02:16:51

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

Re: After ifconfig eth0 down, eth0 dies forever

@Leonid: I mean the wired ethernet.  And the "LCD light" refers to the light in the ethernet port, not the LCD indicator of WLAN.

This is what I get with tail -f /var/log/everything.log.  After ifconfig eth0 down:

Apr 29 10:04:17 localhost kernel: [  293.350583] r8169 0000:08:00.0: PME# enabled

After '''ifconfig eth0 up''':

Apr 29 10:04:24 localhost kernel: [  300.186849] r8169 0000:08:00.0: PME# disabled
Apr 29 10:04:24 localhost kernel: [  300.247336] r8169 0000:08:00.0: eth0: link down
Apr 29 10:04:24 localhost kernel: [  300.247346] r8169 0000:08:00.0: eth0: link down
Apr 29 10:04:24 localhost kernel: [  300.247537] ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 29 10:04:24 localhost kernel: [  300.347045] r8169 0000:08:00.0: PME# enabled

and if I run ifconfig eth0, eth0 seems to be up, but the light is off after ifconfig eth0 down.  Only a reboot fixes that.

Offline

#5 2011-04-29 18:36:36

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: After ifconfig eth0 down, eth0 dies forever

You don't have to reboot, but only rmmod r8169 && modprobe r8169... I had something similar with a broadcom wifi card, back in the days when linux support via b43 was poor. Is your card somewhat fance?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB