From owner-freebsd-current@FreeBSD.ORG Sat Nov 17 22:24:02 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7F4616A417 for ; Sat, 17 Nov 2007 22:24:02 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from smtp.elcom.ru (smtp.elcom.ru [84.53.200.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6CFDA13C447 for ; Sat, 17 Nov 2007 22:24:02 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by smtp.elcom.ru (Postfix, from userid 65534) id E4F693D9357; Sun, 18 Nov 2007 01:14:48 +0300 (MSK) Received: from VMHOST (dsl-212-78.elcom.ru [84.53.212.78]) by smtp.elcom.ru (Postfix) with ESMTP id A58203D934C; Sun, 18 Nov 2007 01:14:48 +0300 (MSK) Date: Sun, 18 Nov 2007 01:15:03 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <625515682.20071118011503@masm.elcom.ru> To: "Scot Hetzel" , freebsd-current@freebsd.org In-Reply-To: <790a9fff0711171309xe96eb88y99f9656a6dabca8a@mail.gmail.com> References: <1592857557.20071117095534@masm.elcom.ru> <20071117122659.GB10114@tirith.brixandersen.dk> <1775983038.20071117213427@masm.elcom.ru> <790a9fff0711171048s7009e9fekfc0d03a600f25bfb@mail.gmail.com> <1218021647.20071117220009@masm.elcom.ru> <790a9fff0711171119s20b50f05p2c0d017ee9dccc8b@mail.gmail.com> <997883741.20071117232648@masm.elcom.ru> <790a9fff0711171309xe96eb88y99f9656a6dabca8a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Current 8.0: wpa_supplicant SPAM: Setting ESSID to "" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2007 22:24:03 -0000 On 18.11.2007, Scot Hetzel wrote: > On Nov 17, 2007 2:26 PM, Victor M. Blood wrote: >> >> On 17.11.2007, Scot Hetzel wrote: >> > On 11/17/07, Victor M. Blood 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 #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@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656