A working WPA with IBM R50p 1832 and Dapper?

Eamonn Sullivan eamonn.sullivan at gmail.com
Fri Jul 21 05:00:44 UTC 2006


On 7/21/06, Christian Brodbeck <christian.brodbeck at gmx.ch> wrote:
> If I type iwconfig this is what i get:
> cb at ubuntu:~$ iwconfig
> lo        no wireless extensions.
>
> eth0      no wireless extensions.
>
> irda0     no wireless extensions.
>
> ath0      IEEE 802.11  ESSID:""
>           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
>           Bit Rate:0 kb/s   Tx-Power:20 dBm   Sensitivity=0/3
>           Retry:off   RTS thr:off   Fragment thr:off
>           Power Management:off
>           Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> sit0      no wireless extensions.
>
> I get this too when I configure the wpa_supplicant.conf or the
> interfaces file. I've already tried several tutorials in the wiki's. But
> it  worked with 5.10 (not good but it did)
>
> In the device manager my wificard is recognized as:
> AR5212 802.11abg NIC
> Atheros Communications, Inc.
>
> Maybe these infos helped.
>
> Christian Brodbeck
>
>

I have the atheros chipset too in one of my PCs (a desktop, using a
Netgear WPN311). This is how I got it working. There might be a clue
in here that will work for you. The following is what my
/etc/wpa_supplicant.conf looks like:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
        ssid="YOURSSID"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk=GENERATE THIS LONG STRING WITH WPA_PASSPHRASE
}

In etc/init.d/wpa_wifi.sh I have:

#!/bin/sh
# wifi wpa_supplicant init
echo "* [Wifi] enabling wpa_supplicant..."
if [ -x /sbin/wpa_supplicant ]; then
        /sbin/wpa_supplicant -B -c/etc/wpa_supplicant.conf -iath0 -Dmadwifi -w
fi

I used the following to get that shell script to run on boot (not the
official way, I don't think):
sudo chmod +x /etc/init.d/wpa_wifi.sh
sudo ln -s /etc/init.d/wpa_wifi.sh /etc/rcS.d/S40netwifiwpa

And my /etc/network/interfaces for the ath0 looks like this:

auto ath0
iface ath0 inet dhcp

Most of this I got from http://doc.gwos.org/index.php/Ipw2200_wpa and
adapted for atheros. Hope that helps. Good luck!

-Eamonn




More information about the ubuntu-users mailing list