Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 11:20:36 +0100
From:      Frank Altpeter <frank.altpeter@gmail.com>
To:        mobile@freebsd.org
Subject:   Re: 6.0 and wireless setup - documentation?
Message-ID:  <e367ea100511180220tbeaf754rd6415688b3fbc70c@mail.gmail.com>
In-Reply-To: <20051111101636.7eb29f76.torfinn.ingolfsen@broadpark.no>
References:  <20051111010856.4778aa3a.torfinn.ingolfsen@broadpark.no> <437416D2.3080809@roq.com> <20051111101636.7eb29f76.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/11/05, Torfinn Ingolfsen <torfinn.ingolfsen@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/articl=
e.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=3DYES
  wlan_wep_load=3DYES
  if_ipw_load=3DYES

[/etc/wpa_supplicant.conf]
ctrl_interface=3D/var/run/wpa_supplicant
ctrl_interface_group=3Dwheel
network=3D{
        ssid=3D"my_ssid_here"
        scan_ssid=3D1
        key_mgmt=3DNONE
        wep_key0=3D8a2be2bf33f099cdcca3ff2fab
        wep_tx_keyidx=3D0
        auth_alg=3DSHARED
        group=3DWEP104
        priority=3D1

}
(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=3D'CK' wpa_ie_len=3D24 rsn_ie_len=3D0
   skip - SSID mismatch
1: 00:11:95:41:d5:c5 ssid=3D'my_ssid_here' wpa_ie_len=3D0 rsn_ie_len=3D0
   skip - no WPA/RSN IE
Selecting BSS from priority group 1
0: 00:0f:3d:84:95:fa ssid=3D'CK' wpa_ie_len=3D24 rsn_ie_len=3D0
   skip - SSID mismatch
1: 00:11:95:41:d5:c5 ssid=3D'my_ssid_here' wpa_ie_len=3D0 rsn_ie_len=3D0
   skip - no WPA/RSN IE
   selected non-WPA AP 00:11:95:41:d5:c5 ssid=3D'my_ssid_here'
Trying to associate with 00:11:95:41:d5:c5 (SSID=3D'my_ssid_here' freq=3D24=
37 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x2
wpa_driver_bsd_del_key: keyidx=3D0
wpa_driver_bsd_del_key: keyidx=3D1
wpa_driver_bsd_del_key: keyidx=3D2
wpa_driver_bsd_del_key: keyidx=3D3
wpa_driver_bsd_del_key: addr=3D00:11:95:41:d5:c5 keyidx=3D0
wpa_driver_bsd_set_key: alg=3DWEP addr=3Dff:ff:ff:ff:ff:ff key_idx=3D0
set_tx=3D1 seq_len=3D0 key_len=3D13
wpa_driver_bsd_set_drop_unencrypted: enabled=3D1
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=3DForceAuthorized

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
=3D=3D> 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=F9raghd,

        Frank Altpeter

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e367ea100511180220tbeaf754rd6415688b3fbc70c>