using a Hercules/Ralink usb wifi

beni beni at brinckman.info
Sat Sep 8 06:11:55 PDT 2007


Hi all,

I'm trying to get my usb wifi to work. The key is recognized by dmesg :

[...]
ural0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 4
ural0: MAC/BBP RT2570 (rev 0x00), RF unknown
ural0: Ethernet address: 00:08:d3:08:31:fd
ural0: if_start running deferred for Giant
ural0: timeout waiting for BBP/RF to wakeup
ural0: timeout waiting for BBP/RF to wakeup
ural0: timeout waiting for BBP/RF to wakeup
ural0: timeout waiting for BBP/RF to wakeup
[...]

bsdaddict# ifconfig ural0
ural0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:08:d3:08:31:fd
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 1
        authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS
bsdaddict#  

When trying to start it up manualy with wpa_supplicant I get this :

bsdaddict# wpa_supplicant -i ural0 -c /etc/wpa_supplicant.conf -dd
Initializing interface 'ural0' conf '/etc/wpa_supplicant.conf' 
driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=7):
     66 72 65 65 62 73 64                              freebsd
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='freebsd'
Initializing interface (2) 'ural0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:08:d3:08:31:fd
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ural0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
ioctl[SIOCS80211, op 23, arg 0x0]: Invalid argument
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCS80211, op 23, arg 0x0]: Invalid argument
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Starting AP scan (broadcast SSID)
...

My /etc/wpa_supplicant.conf :
bsdaddict# cat /etc/wpa_supplicant.conf
network={
   ssid="freebsd"
   psk="blablablaetc"
}

I'm running 6.2-Stable. The modem, a US Robotics, is configured for wpa-psk 
wifi access.

Thanks for any hints on getting this usb-wifi stick working !

-- 
Beni.


More information about the freebsd-questions mailing list