6.0 and wireless setup - documentation?

Frank Altpeter frank.altpeter at gmail.com
Fri Nov 18 02:20:37 PST 2005


On 11/11/05, Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:
> > Did you check the secret master wireless acticle for FreeBSD? Its
> > quite  good.
http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html

Since i also have problems configuring my wireless correctly, i
thought to find there a solution for my problems, but sadly not...

Well, i'm running the ipw module and my AP is doing WEP only.
So i configured the following:

[/boot/loader.conf]
  wlan_load=YES
  wlan_wep_load=YES
  if_ipw_load=YES

[/etc/wpa_supplicant.conf]
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
        ssid="my_ssid_here"
        scan_ssid=1
        key_mgmt=NONE
        wep_key0=8a2be2bf33f099cdcca3ff2fab
        wep_tx_keyidx=0
        auth_alg=SHARED
        group=WEP104
        priority=1

}
(Random bits in key modified)

The network configuration is proven to be working, since i can connect
if i use these settings to manually ifconfig ipw0.

But, when using "wpa_supplicant -d -c /etc/wpa_supplicant.conf -i
ipw0", i get only the following error output:

Received 0 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 2
0: 00:0f:3d:84:95:fa ssid='CK' wpa_ie_len=24 rsn_ie_len=0
   skip - SSID mismatch
1: 00:11:95:41:d5:c5 ssid='my_ssid_here' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
Selecting BSS from priority group 1
0: 00:0f:3d:84:95:fa ssid='CK' wpa_ie_len=24 rsn_ie_len=0
   skip - SSID mismatch
1: 00:11:95:41:d5:c5 ssid='my_ssid_here' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:11:95:41:d5:c5 ssid='my_ssid_here'
Trying to associate with 00:11:95:41:d5:c5 (SSID='my_ssid_here' freq=2437 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x2
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_del_key: addr=00:11:95:41:d5:c5 keyidx=0
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0
set_tx=1 seq_len=0 key_len=13
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_associate: ssid 'my_ssid_here' wpa ie len 0 pairwise 4
group 4 key mgmt 2
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized

But, as said, if using ifconfig it works fine:

# ifconfig ipw0 ssid my_ssid_here wepmode on authmode shared weptxkey
1 wepkey 0x8a2be2bf33f099cdcca3ff2fab channel 6
# dhclient ipw0
==> online



Any hints on that? For my eyes it looks like wpa_supplicant has a
problem with configuring the IPW correctly with WEP data.



--
Le deagh dhùraghd,

        Frank Altpeter

Two of the most famous products of Berkeley are LSD and Unix.
I don't think that this is a coincidence.
        -- Anonymous


More information about the freebsd-mobile mailing list