Re: wlan0 going UP/DOWN problem

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 5 Dec 2010 10:10:16 -0800
On Sun, Dec 05, 2010 at 09:34:46AM +0100, Bernhard Schmidt wrote:
> On Sunday 05 December 2010 07:21:03 Steve Kargl wrote:
> > It seems some recent change (as in the last 7-10 days)
> > has caused an instability in wlan0.  Just a small
> > excerpt from /var/log/messages,
> > 
> > Dec  4 18:54:16 laptop kernel: wlan0: link state changed to UP
> > Dec  4 19:11:16 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 19:11:16 laptop kernel: wlan0: link state changed to UP
> > Dec  4 19:19:46 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 19:19:46 laptop kernel: wlan0: link state changed to UP
> > Dec  4 19:37:01 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 19:37:01 laptop kernel: wlan0: link state changed to UP
> > Dec  4 19:45:31 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 19:45:31 laptop kernel: wlan0: link state changed to UP
> > Dec  4 19:54:01 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 19:54:01 laptop kernel: wlan0: link state changed to UP
> > Dec  4 20:11:16 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 20:11:16 laptop kernel: wlan0: link state changed to UP
> > Dec  4 20:19:46 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 20:19:46 laptop kernel: wlan0: link state changed to UP
> > Dec  4 20:36:46 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 20:36:46 laptop kernel: wlan0: link state changed to UP
> > Dec  4 20:45:16 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 20:45:16 laptop kernel: wlan0: link state changed to UP
> > Dec  4 20:53:46 laptop kernel: wlan0: link state changed to DOWN
> > Dec  4 20:53:46 laptop kernel: wlan0: link state changed to UP
> > 
> > So, every 18 minutes the devices is going DOWN/UP. :-/
> 
> More details please. Which driver?

wpi0.

> How is that stuff configured? 

laptop:root[204] ifconfig wpi0 
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 00:1c:bf:90:ab:44
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
        status: associated
laptop:root[205] ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:1c:bf:90:ab:44
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
        media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
        status: associated
        ssid SpartanTeepee channel 6 (2437 MHz 11g) bssid 00:18:e7:d4:f2:1b
        country US authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit
        txpower 0 bmiss 7 scanvalid 60 protmode CTS

> wpa_supplicant involved?

No.

> Try running it with debug messages enabled.
> 
> We need to figure out what entity is causing the device to go down/up, this 
> can either be wpa_supplicant or net80211 (or a cronjob calling ifconfig 
> down/up every 18 minutes ;). The appropriate debug options enabled (wlandebug 
> 0xffffffff or wpa_supplicant with -dd) should reveal that.

laptop:root[209] wlandebug
wlandebug: sysctl-get(net.wlan.0.debug): No such file or directory

Looks like I need to rebuild the kernel.

-- 
Steve
Received on Sun Dec 05 2010 - 17:10:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC