Re: Current 8.0: wpa_supplicant SPAM: Setting ESSID to ""

From: Victor M. Blood <freebsd_at_masm.elcom.ru>
Date: Sun, 18 Nov 2007 01:15:03 +0300
On 18.11.2007, Scot Hetzel wrote:
> On Nov 17, 2007 2:26 PM, Victor M. Blood <freebsd_at_masm.elcom.ru> wrote:
>>
>> On 17.11.2007, Scot Hetzel wrote:
>> > On 11/17/07, Victor M. Blood <freebsd_at_masm.elcom.ru> wrote:
>> >> On 17.11.2007, Scot Hetzel wrote:
>> >> > I'm using version 4.40.19.0 of the broadcom ndis driver from:
>> >>
>> >> >  ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe
>> >>
>> >> > This file contains both the 32-bit and 64-bit ndis drivers.
>> >>
>> >> > Where did you obtain your bcmwl5.sys file from?  What version are you using?
>> >> From driver disk for my Dell inspiron 1300, file version for
>> >> bcmwl5.sys - 3.120.27.0.
>> >>
>> >> may be real problems with old driver...?
>> >>
>> > It could be a problem with the old driver, try the HP driver.  You
>> > will need to install archivers/cabextract to extract the bcmwl* files
>> > from sp33008.exe.
>>
>> > cabextract -q -L -F 'bcmwl5*'
> This should be:

> cabextract -q -L -F 'bcmwl5*' sp33008.exe

>> hmm.. It's will work with miniPCI card?
>>
> This driver supports the below listed cards, just check that the
> device id matches your card.  Then  just make a backup of your current
> ndis driver (bcmwl5_sys.ko), before creating a new one from the HP
> driver.

> 0x14e4          0x4318          0x1355103c      Broadcom 802.11b/g WLAN
> 0x14e4          0x4318          0x1356103c      Broadcom 802.11b/g WLAN
> 0x14e4          0x4318          0x1357103c      Broadcom 802.11b/g WLAN
I have this card. Try to load installed driver do not found any
avaliable cards then probe.

I copy bcmwl5.sys bcmwl5.ini(ascii) bcm43xx.cat to /tmp/bmcwl
in /tmp/bcmwl i have this Makefile
.PATH: /tmp /usr/share/misc
windrv: 
        /usr/sbin/ndiscvt -O -i bcmwl5.inf -s bcmwl5.sys -n bcmwl5 -o windrv.h
        /usr/sbin/ndiscvt -f bcm43xx.cat
        echo > bus_if.h
        echo > device_if.h

KMOD=bcmwl5
SRCS=windrv_stub.c windrv.h bus_if.h device_if.h
OBJS+=bcm43xx.cat.o windrv.o
CFLAGS+= \
  -DDRV_DATA_START=bcmwl5_sys_drv_data_start \
  -DDRV_NAME=bcmwl5 \
  -DDRV_DATA_END=bcmwl5_sys_drv_data_end
CLEANFILES+= bcmwl5.h windrv.h bcm43xx.cat.ko

.include <bsd.kmod.mk>

#mv /boot/kernel/bcmwl5.ko /tmp
#make windrv
#make depend
#make
#make install clean cleandir
#kldunload bcmwl5
#kldload bcmwl5
... no more ndis0 interface here :)
#kldunload bcmwl5
#mv /tmp/bcmwl5.ko /boot/kernel/
#kldload bcmwl5
... ndis0 probed, found and attached
#cat ~/ndis0
#!/bin/sh

/usr/sbin/wpa_supplicant -B -q -i ndis0 -c /etc/wpa_supplicant.conf
sleep 3
ifconfig ndis0 inet 192.168.0.2 netmask 0xffffff00
route add default 192.168.0.100
#=EOF

#~/ndis0
.. network work fine, but spams to /dev/console
Setting ESSID to "TERRA" ... every second.

may be have change any options to wpa supplicant ?
#cat /etc/wpa_s*
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
 ssid="TERRA"
 bssid=00:11:22:33:44:55
 scan_ssid=1
 mode=0
 key_mgmt=NONE
 wep_key0="1234567890123"
 wep_key1="1234567890123"
 wep_key2="1234567890123"
 wep_key3="1234567890123"
 wep_tx_keyidx=0
}

Then I run wpa_cli
#wpa cli
...
Interactive mode

><2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with 00:11:22:33:44:55 (SSID='TERRA' freq=2437
MHz)

this two lines are repeat.

May be, all probles not in driver?


-- 
With all regards, Victor M. Blood.   mailto: freebsd_at_masm.elcom.ru
FTN: 2:5024/1.95_at_Fidonet.org, ICQ#3567656
Received on Sat Nov 17 2007 - 21:24:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC