Hi Thomas, I left out an important piece of information. That is, we're using the latest experimental. Don't know fi this makes a difference, I did not look at the 3.x script.
David Dreezer Customer Advocate, Social Strata, Inc. Online Community HQ Since 1996 Hoop.la · LiveCloud · Eve Community Follow us: @socialstrata On Dec 13, 2010, at 1:16 AM, Thomas Lange wrote: >>>>>> On Sun, 12 Dec 2010 16:38:23 -0800, David Dreezer >>>>>> <[email protected]> said: > > >> In working through the upgrade to Squeeze however, this script is failing. >> The problem is that with Squeeze $netdevices_up returns all devices except >> LO, up or not. > >> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state >> DOWN qlen 1000 >> link/ether 00:30:48:72:21:d7 brd ff:ff:ff:ff:ff:ff > >> As you can see device 3, eth1 has no cable plugged into it, thus NO-CARRIER >> and state DOWN but it is still returned. On Lenny device 3, eth1 wouldn't >> be returned. > > I guess it's initramfs-tools or live-boot which puts all NIC's into > status up. Then the command ip link show up return all those > interfaces, even if they have no carrier. So, we could sway it's a bug > of the ip command. Or we could additionally check > /sys/class/net/eth0/carrier > > -- > regards Thomas
