What is "reason: 15"?

Hi,

I was attempting to connect to a friend’s wifi, and kept getting this
message:


kernel: [81065.523621] wlan0: deauthenticated (Reason: 15)

kernel: [81066.523082] wlan0: direct probe to AP 00:X:X:X:X:X try 1

kernel: [81066.527055] wlan0 direct probe responded

kernel: [81066.527062] wlan0: authenticate with AP 00:X:X:X:X:X

kernel: [81066.529063] wlan0: authenticated

kernel: [81066.529068] wlan0: associate with AP 00:X:X:X:X:X

kernel: [81066.531925] wlan0: RX ReassocResp from 00:X:X:X:X:X
(capab=0x411 status=0 aid=1)

kernel: [81066.531931] wlan0: associated

kernel: [81074.568389] wlan0: deauthenticated (Reason: 15)

repeatedly, never getting a connection. I don’t know what is “reason
15”, nor what manual lists all those errors. I googled on another
computer, found nothing. If I knew I could attempt to solve the
problem…


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

I’m not sure, but it might help if you post details about the wireless chipset and driver. Interestingly, I see a lot of problems like this with ralink hardware; eg this thread.

On 2010-07-19 16:56 GMT deano ferrari wrote:

>
> I’m not sure, but it might help if you post details about the wireless
> chipset and driver. Interestingly, I see a lot of problems like this
> with ralink hardware; eg this ‘thread.’
> (https://bbs.archlinux.org/viewtopic.php?id=70094)

No, no, I’m not interested in that. What I want is the list of
“reasons” pairing numbers and text messages.

There is no problem with my wifi, it works perfectly at home. I was
attempting a temporary connection at a site and it gave that error -
which I’m not interested in solving unless I go to that site again. My
suspicion is that I was too far from the vodafone wifi router.

I only want the list of error numbers related to the real error
messages. I want the documentation. It must be somewhere.

Looking at the source code in the kernel, I find some references.


../drivers/net/wireless/libertas/assoc.c


/**
*  @brief Deauthenticate from a specific BSS
*
*  @param priv        A pointer to struct lbs_private structure
*  @param bssid       The specific BSS to deauthenticate from
*  @param reason      The 802.11 sec. 7.3.1.7 Reason Code for
deauthenticating *
*  @return            0 on success, error on failure
*/

Googling for “802.11 sec. 7.3.1.7” I find some references.

An interpretation is available - doc.: IEEE 802.11-03/401r1
Values for the Reason Code are defined in clause 7.3.1.7 and values for
the … Section 7.3.1.17 of Std. IEEE 802.11-2007 says that the Max
SP Length … standards.ieee.org/reading/ieee/interp/802.11_interp.pdf

CWAP: certified wireless analysis professional : official study … -
Google Books Result Planet3 Wireless - 2004 - Computers - 417 pages
Figure 6.28 shows the reason codes specified by section 7.3.1.7 of the
802.1 1 standard, and Figure 6.29 illustrates the Reason Code field
format. … books.google.com/books?isbn=0072255854

This one has the table of codes. If it is the table 6.28 then values
from 10 onwards are reserved, so 15 is not listed here. If it is the
table 6.30 (which does not seem so) then 15 is “authentication rejected
because of challenge failure”.

Googling for “802.11 reason codes”

This site has a list.
<http://lists.shmoo.com/pipermail/hostap/2006-April/013218.html>

Reason code Meaning

0 Reserved
1 Unspecified reason
2 Previous authentication no longer valid
3 Deauthenticated because sending station is leaving (or has left) IBSS
or ESS
4 Disassociated due to inactivity
5 Disassociated because AP is unable to handle all currently associated
stations
6 Class 2 frame received from nonauthenticated station
7 Class 3 frame received from nonassociated station
8 Disassociated because sending station is leaving (or has left) BSS
9 Station requesting (re)association is not authenticated with
responding station

which matches the other link of the book above. Again, reason 15 is not
listed :-/


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you’re looking for this?
http://etutorials.org/Networking/Wireless+lan+security/Chapter+4.+WLAN+Fundamentals/Basic+Choreography/


VampirD
No in elenath hîlar nan hâd gîn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxE+9MACgkQJQ+0ABWtaVlT2gCg69YzOhnkK5I+fObRQZvliAwC
0q8AnjEfPogpd0u9iQ11WSy209SGjx2E
=qyr+
-----END PGP SIGNATURE-----

On 2010-07-20 01:28 GMT VampirD wrote:

> you’re looking for this?
> http://etutorials.org/Networking/Wireless+lan+security/Chapter+4.+WLAN+Fundamentals/Basic+Choreography/

Ahá! Yes, that’s it. Interesting site. Thanks :slight_smile:

I don’t see the figures, could be the proxy here (I’m using a site
computer to see the web, my laptop is off the net at the moment). But
the table is there.

Reason 15 is “4-Way Handshake timeout”, with the footnote that it was
added by 802.11i standard.

Wow. Now go figure why I was getting that!

Anyway, I can’t test anymore. The chap had his line cut-off for lack of
payment. “They” started to worry when their windows machines did not
connect to the net, it wasn’t anymore that strange chap with the
Linux machine having problems :wink:

Although I should have got wifi connectivity, but no Internet.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))