Bug#489340: /sbin/ip: fails to check error codes

2008-11-17 Thread Andreas Henriksson
tags 489340 + fixed-upstream thanks Thanks again Johannes! Tagging the bug On Mon, Nov 17, 2008 at 10:16:59AM +0100, Johannes Berg wrote: On Tue, 2008-11-11 at 22:31 +0100, Andreas Henriksson wrote: On tis, 2008-11-11 at 22:21 +0100, Johannes Berg wrote: I'll take care of getting it

Bug#489340: /sbin/ip: fails to check error codes

2008-11-11 Thread Andreas Henriksson
On tis, 2008-11-11 at 19:03 +0100, Johannes Berg wrote: Did you get around to looking at this? I just ran into this again. The conclusion was that it was a kernel problem. Patrick McHardy sent a patch, but I guess it got lost and noone bothered to resend it...

Bug#489340: /sbin/ip: fails to check error codes

2008-11-11 Thread Johannes Berg
On Tue, 2008-11-11 at 20:05 +0100, Andreas Henriksson wrote: On tis, 2008-11-11 at 19:03 +0100, Johannes Berg wrote: Did you get around to looking at this? I just ran into this again. The conclusion was that it was a kernel problem. Patrick McHardy sent a patch, but I guess it got lost and

Bug#489340: /sbin/ip: fails to check error codes

2008-11-11 Thread Johannes Berg
On Sat, 2008-07-05 at 14:19 +0200, Andreas Henriksson wrote: On lör, 2008-07-05 at 13:48 +0200, Johannes Berg wrote: ip link set wlan0 down iwconfig wlan0 mode repeater # set WDS mode but no peer address ip link set wlan0 up Unfortunately, this failed on both my atheros- and intel-based

Bug#489340: /sbin/ip: fails to check error codes

2008-07-05 Thread Andreas Henriksson
Hello Johannes! Do you have any hints for me on how I can make my wlan0 (ath5k) fail link up commands? On lör, 2008-07-05 at 06:36 +0200, Johannes Berg wrote: # ip link set wlan0 up I think I've found the right place in the code, but could you please do a echo $? after the above command to see

Bug#489340: /sbin/ip: fails to check error codes

2008-07-05 Thread Johannes Berg
Hi, Do you have any hints for me on how I can make my wlan0 (ath5k) fail link up commands? Sure, that's easy: ip link set wlan0 down iwconfig wlan0 mode repeater # set WDS mode but no peer address ip link set wlan0 up On lör, 2008-07-05 at 06:36 +0200, Johannes Berg wrote: # ip link set

Bug#489340: /sbin/ip: fails to check error codes

2008-07-05 Thread Andreas Henriksson
On lör, 2008-07-05 at 13:48 +0200, Johannes Berg wrote: ip link set wlan0 down iwconfig wlan0 mode repeater # set WDS mode but no peer address ip link set wlan0 up Unfortunately, this failed on both my atheros- and intel-based wlan that I have available... anyway, thanks for confirming. This

Bug#489340: /sbin/ip: fails to check error codes

2008-07-05 Thread Johannes Berg
On Sat, 2008-07-05 at 14:19 +0200, Andreas Henriksson wrote: On lör, 2008-07-05 at 13:48 +0200, Johannes Berg wrote: ip link set wlan0 down iwconfig wlan0 mode repeater # set WDS mode but no peer address ip link set wlan0 up Unfortunately, this failed on both my atheros- and intel-based

Bug#489340: /sbin/ip: fails to check error codes

2008-07-04 Thread Johannes Berg
Package: iproute Version: 20080417-1 Severity: normal File: /sbin/ip # ip link 11: wlan0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 link/ether 00:11:24:ij:kl:mn brd ff:ff:ff:ff:ff:ff # ip link set wlan0 up # ip link 11: wlan0: BROADCAST,MULTICAST mtu 1500 qdisc