issue with netdevices_up and squeeze
dave at socialstrata.com
Wed Dec 15 06:03:16 CET 2010
You are right. As I had said in a previous email I had edited the file on the fai server then ran fai-setup again. This did nothing because the file is written by a deb package. I went back and manually edited it in the nfsroot and that took care of the problem.
Customer Advocate, Social Strata, Inc.
On Dec 14, 2010, at 10:59 AM, Cristian Ionescu-Idbohrn wrote:
> On Tue, 14 Dec 2010, David Dreezer wrote:
>> I can get that information for you tonight (us pacific) but I will unfortunately not have access to that box until that time as it is not web accessible and I am not physically at the facility at the moment. When last I looked it was
>> root at db099:~# ip link show up
>> 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
>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 100
>> link/ether 00:30:48:72:21:d6 brd ff:ff:ff:ff:ff:ff
>> 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
> Now, that's really odd. If I take that output, store it in a file and
> pass it to Thomas' modified filter:
>> + netdevices_up=$(ip link show up | grep "^[1-9$].*LOWER_UP" | cut -d : -f 2 | cut -d ' ' -f 2 | grep -v "^lo" | sort | uniq)
> I get 'eth0' _only_, but if I use the old version of that line:
>> - netdevices_up=$(ip link show up | grep "^[1-9$]" | cut -d : -f 2 | cut -d ' ' -f 2 | grep -v "^lo" | sort | uniq)
> I get 'eth0
> which makes me think you're still using the old version.
More information about the linux-fai