linux - deauthenticated from ... (Reason: 7)

07
2014-07
  • Jean-Paul Calderone

    On a ThinkPad X230 with this wifi card:

    03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01) Subsystem: Realtek Semiconductor Co., Ltd. Device 8195 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 17 Region 0: I/O ports at 4000 [size=256] Region 2: Memory at f1c00000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: rtl8192ce

    running Ubuntu 14.04, network access is frequently interrupted and sometimes apparently lost for good until a system reboot. At around the time of the interruption, this appears in the system log:

    [458.384] cfg80211: Calling CRDA to update world regulatory domain [458.384] wlan0: authenticate with 00:13:10:ee:af:97 [458.385] wlan0: send auth to 00:13:10:ee:af:97 (try 1/3) [458.389] cfg80211: World regulatory domain updated: [458.389] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [458.389] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [458.389] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [458.389] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [458.389] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [458.389] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [458.390] wlan0: authenticated [458.390] rtl8192ce 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP [458.390] rtl8192ce 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP [458.391] wlan0: associate with 00:13:10:ee:af:97 (try 1/3) [458.393] wlan0: RX AssocResp from 00:13:10:ee:af:97 (capab=0x401 status=0 aid=3) [458.394] wlan0: associated [984.594] wlan0: deauthenticated from 00:13:10:ee:af:97 (Reason: 7)

    The access point is a WRT54GS running Tomato 1.19. I have several other wireless devices around - another laptop, an iPad, an Android phone. There are no other wireless devices in range (no neighbors, no other access points, etc).

    The laptop is new (to me), from the first time I opened the lid this was the behavior (iow it didn't start out working properly and then get broken by a system update or something).

    I've read that "Reason: 7" is "Class 3 frame received from nonassociated STA". I guess "STA" is short for "station" which maybe is the same kind of thing as an access point. It doesn't seem like this should happen since there are no other access points in range (it is literally (literal sense of "literally") miles to the next access point).

    What's up? Can I fix this somehow or is this hardware simply not well supported on Ubuntu 14.04?

  • Answers
  • Spiff

    STA is short for "station", and technically an AP is a form of STA, but in common usage, STA usually means "non-AP STA", which is to say, "wireless client".

    Your "wlan0: deauthenticated from 00:13:10:ee:af:97 (Reason: 7)" log message probably came as a result of your client receiving a DeAuthenticate (or DisAssociate) management frame from the AP. It seems as if the AP is allowing your client to Authenticate and Associate, and then a moment later, when the client starts sending real data traffic ("Class 3 frames"), the AP acts as if the client wasn't associated, and kicks it off the network (deauthenticates it).

    An 802.11 monitor-mode, promiscuous-mode packet capture from an independent device could clear this up pretty quickly.

    Another thing to try, if it's not to much hassle, would be to put your AP back on the latest vendor firmware and see if the problem happens there, to rule out a bug in Tomato.


  • Related Question

    linux - Wifi pcmcia cards not working anymore on Ubuntu
  • Manu

    I used to be able to access the net, via wifi, on my ubuntu laptop.

    But now, the system doesn't see any wifi networks, and dmesg shows me weird messages.

    I have two different cards, and none of them seem to work, even though the second one looks promising.

    Netgear 108Mbps Wireless PC Card WG511T :

    here's what I get when I remove and re-insert the card

    #demsg
    [   27.815902] eth0: link down
    [   27.816161] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  116.912042] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
    [  116.912072] pci 0000:03:00.0: unknown header type 03, ignoring device
    

    Any ideas on that problem ? Is my wifi card dead ?

    Linksys Wireless-G Notebook Adapter Model No WPC54G v. 1.2

    [  615.592031] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
    [  615.592095] pci 0000:03:00.0: reg 10 32bit mmio: [0x000000-0x001fff]
    [  615.592163] pci 0000:03:00.0: supports D1 D2
    [  615.592168] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
    [  615.592176] pci 0000:03:00.0: PME# disabled
    [  616.213753] b43-pci-bridge 0000:03:00.0: enabling device (0000 -> 0002)
    [  616.213779] b43-pci-bridge 0000:03:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    [  616.213807] b43-pci-bridge 0000:03:00.0: setting latency timer to 64
    [  616.219864] ssb: Sonics Silicon Backplane found on PCI device 0000:03:00.0
    [  616.760573] cfg80211: Calling CRDA to update world regulatory domain
    [  617.235690] cfg80211: World regulatory domain updated:
    [  617.235700]  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [  617.235705]  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  617.235710]  (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [  617.235715]  (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [  617.235720]  (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  617.235725]  (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  617.399606] b43-phy0: Broadcom 4306 WLAN found
    [  617.446405] phy0: Selected rate control algorithm 'pid'
    [  617.694275] Broadcom 43xx driver loaded [ Features: PLR, Firmware-ID: FW13 ]
    [  617.708155] udev: renamed network interface wlan0 to wlan1
    

    (note : I have used the "system test" tool to generate a detailed report of my ubuntu install. It is too big to copy here, but ask if you think a pertinent piece of info could be in it, I'll look).


  • Related Answers
  • codeLes

    I tend to lean this way a little too much, but it has solved my wireless problems many times...

    try installing the linux backports modules for your version of ubuntu:

    sudo apt-get install linux-backports-modules-jaunty
    

    replace jaunty with your version.

  • Manu

    My pcmcia slot may be dead, it's an old pc. I now have internet access, with an usb wifi and ndiswraper.

    Too bad nobody could answer me on WTF "unknown header type 03" is.