NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wpa_supplicant problems
I am running amd64 rel 5.1 and have problems with wpa-supplicant.
Probably I have misundertood something.
I have an old "ral" dongle: Dmesg say:
...
ral0 at uhub3 port 3
ral0: Ralink 802.11g WLAN USB Dongle, rev 2.00/0.01, addr 2
ral0: MAC/BBP RT2570 (rev 0x03), RF RT2526
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps\
18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
...
My /etc/ifconfig.ral0:
# If my Zolid-stick is mounted, try and find my network(s)
up media OFDM54
I modified my /etc/rc.conf to contain:
...
dhclient=YES
dhclientflags="-nw"
##do not wait for leases, no testoutput, run in background.
wpa_supplicant=YES
wpa_supplicant_flags="-B -i ral0 -c /etc/wpa_supplicant.conf"
...
and created /etc/wpa_supplicant.conf:
#file: /etc/wpa_supplicant.conf
network={
ssid="XXXXXXXX"
scan_ssid=1
key_mgmt=WPA-PSK
psk="XXXXXXXXX"
}
The "X"es represent my ssid and my pass-phrase.
The connection did not work! I have tried to run wpa-supplicant with the
-d flag. and saw amongst others that it gave the message:
ioctl[SIOCS80211, op 21, len 42]: Invalid argument
but I also saw that the program found my ssid, however it never got
a valid connection.
I have also tried with a Linksys-dongle with the dmesg:
...
rum0 at uhub3 port 3
rum0: Cisco-Linksys Compact Wireless-G USB Adapter, rev 2.00/0.01, addr 2
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:23:69:07:a1:c5
rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps\
18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
...
My ifconfig.rum0 is a copy of the one for ral0. The rc.conf is changed
to read:
...
wpa_supplicant_flags="-B -i rum0 -c /etc/wpa_supplicant.conf"
...
Same result as above. Also if I try to run wpa_supplicant "by hand".
What have I done wrong?
Home |
Main Index |
Thread Index |
Old Index