Re: Wireless

Joshua Oreman <[email protected]> Sat, 28 Nov 2009 09:42:01 -0800
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
On Sat, Nov 28, 2009 at 7:26 AM, Peter Meyer <[email protected]> wrote:
>
> Hi,
>
> i've tried to get gpxe with an Atheros wireless card to work. But it won't. I'm using the code from http://git.etherboot.org/?p=people/oremanj/gpxe.git;a=tree;h=refs/heads/wireless;hb=wireless.
>
> Command 'iwstat' shows the current state of the adapter
> [Sig] SSID BSSID Ch Crypt/Auth
> -------------------------------------------------------------
> [ 41] ME 00:1f:3f:17:49:5e 1 WPA2 PSK
> [ 3] Hirsch6 00:12:2a:05:73:45 6 WPA2 PSK
>
> Command 'iwlist' show all available SSID
> net0: 00:18:e7:2b:05:f2 on PCI00:14.0 (closed)
> [Link:down, TX:0 TXE:0 RX:0 RXE:0]
> [Link status: Not connected (0x38086001)]
> [802.11 not associated, Ch:14 Sig:14/40 dB, Qual:0% Rate:1 Mbps]
>
> After setting SSID and KEY as described at http://etherboot.org/wiki/wirelessboot and run command 'dhcp net0' only an errormessage will appear.
> Also setting DEBUG=ath5k,ath5k_phy,pci,wpa shows nothing which gives me a hint where to looking for the problem.
>
> Can anybody give me an advice!?
>
> See below the trace from the gpxe console. GPXE over wired network works perfectly.
>
> With best regards
> Peter

> gPXE> dhcp net0
> Waiting for link-up on net0... failed: Error 0x371f6003

That's -ENOSYS in net80211.c. It doesn't appear to be a problem with
the ath5k driver.

It looks like you're running up against some limitations of gPXE's 802.11 stack:

       if ( ( capab & ( IEEE80211_CAPAB_MANAGED | IEEE80211_CAPAB_ADHOC ) ) !=
            IEEE80211_CAPAB_MANAGED ) {
               DBGC ( dev, "802.11 %p cannot handle IBSS network\n", dev );
               return -ENOSYS;
       }

       if ( capab & IEEE80211_CAPAB_SPECTRUM_MGMT ) {
               DBGC ( dev, "802.11 %p cannot handle spectrum managed "
                      "network\n", dev );
               return -ENOSYS;
       }

Could you give another trace running with DEBUG=net80211 to determine
which of these it's coughing over? Some description of your network
might be helpful as well.

Thanks,

-- Josh

------------------------------------------------------------------------------
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