Re: Wireless
"Peter Meyer" <[email protected]> Sun, 29 Nov 2009 19:50:50 +0100
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <[email protected]> |
Quoting Joshua Oreman :
> On Sun, Nov 29, 2009 at 2:46 AM, Peter Meyer wrote:
> > Hi Josh,
> >
> > i commented 'return -ENOSYS;' and it runs a little bit futher but it
> still doesn't work.
> >
> > gPXE> dhcp net0
> > Waiting for link-up on net0...
> > 802.11 0xa0d7c found network ME (00:1f:3f:17:49:5e)
> > 802.11 0xa0d7c authenticating with method 0
> > 802.11 0xa0d7c spectrum managed network detected. Maybe it wont work.
> > 802.11 0xa0d7c setting country regulations for DE
> > 802.11 0xa0d7c association failed (state=0100): Not supported
> (0x3c266003)
> >
> > It seems that 'net80211_step_associate' fail.
> >
> > What does 'Not supported' mean?
> > How is the errorcode to read/split?
>
> Oh good, an easy one. :-) Edit config/general.h and enable support for
> WPA2 (change #undef to #define). WPA2 support is not included by
> default because it uses AES encryption, which takes up quite a bit of
> space in the image.
>
> #define CRYPTO_80211_WPA /* WPA Personal, authenticating with
> passphrase */
> #undef CRYPTO_80211_WPA2 /* Add support for stronger WPA
> cryptography */
>
> gPXE error codes encode an error number ("Not supported" = ENOTSUP =
> 0x3c000000), the type of subsystem where the error occurred
> (ERRFILE_NET = 0x00006000), the particular file that produced the
> error (ERRFILE_wpa = 0x00260000), a file-specific "unique error code"
> (0/unspecified here), and a PXE API error code
> (PXENV_STATUS_UNSUPPORTED = 0x00000003) all OR'ed together. See
> src/include/errno.h for more details.
>
> http://www.etherboot.org/wiki/troubleshooting#error_0x contains links
> to a couple utilities that will split the error code for you; they
> might not know about code like WPA that's not in mainline yet, though
> (so you'll just get "errfile 0x133" instead of the name of the file).
>
> You can enable DEBUG=wpa to get debug messages from the WPA code; I
> suspect the one you're triggering here is "WPA: No support for (GC:2,
> PC:3)" (Pairwise Cipher 3 is NET80211_CRYPT_CCMP, the one not compiled
> in by default).
>
> Thank you for your patience!
>
> -- Josh
Hi Josh,
success ! :) Enabling WPA2 and disabling SPECTRUM_MANAGED did it.
A decryption error is shown (see trace below), but it seems not to hurt. IP address is assigned and PXE image + linux kernel are loaded.
gPXE> dhcp net0
Waiting for link-up on net0...
802.11 0xa2efc found network ME (00:1f:3f:17:49:5e)
802.11 0xa2efc authenticating with method 0
802.11 0xa2efc spectrum managed network detected. Maybe it wont work.
802.11 0xa2efc setting country regulations for DE
802.11 0xa2efc associating
WPA 0xa5478: received 1/4, looks OK
WPA 0xa5478: sending 2/4
802.11 0xa2efc security handshaking
WPA 0xa5478: installing 32-byte group transient key
WPA 0xa5478: received 3/4, looks OK
WPA 0xa5478: sending 4/4
WPA 0xa5478: installing 16-byte pairwise transient key
802.11 0xa2efc security handshaking
802.11 0xa2efc associated with ME (00:1f:3f:17:49:5e)
ok
DHCP (net0 00:18:e7:2b:05:f2).802.11 0xa2efc decryption error
... ok
gPXE> iwstat
net0: 00:18:e7:2b:05:f2 on PCI00:14.0 (open)
[Link:up, TX:10 TXE:0 RX:7 RXE:1]
[RXE: 1 x "Packet decryption error (0x1c1f6602)"]
[802.11 SSID 'ME', Ch:1 Sig:41/40 dB, Qual:100% Rate:1 Mbps]
Thank you for your support.
With best regards
Peter
------------------------------------------------------------------------------------
XMail.net Communications Center
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july