Date: Mon, 27 Mar 2006 11:55:14 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: freebsd-mobile@freebsd.org Cc: wpaul@freebsd.org, sam@freebsd.org Subject: NDIS + WPA + Broadcom Wirles card Message-ID: <790a9fff0603270955j2d380b7dsaad8254c14c82cb0@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I recently purchased a HP Pavilion dv8135nr laptop and install FreeBSD/amd64 6.1-BETA4. I then updated the system to 03/25/06 using the cvs sources. After searching the internet I was able to locate a 64bit windows driver for my wireless card: none1@pci6:2:0:=09class=3D0x028000 card=3D0x1355103c chip=3D0x431814e4 rev= =3D0x02 hdr=3D0x00 vendor =3D 'Broadcom Corporation' class =3D network Windows/amd64 - 64bit driver (3.100.64.0) - 80211g.zip: ftp://ftp.support.acer-euro.com/notebook/aspire_3020_5020/driver/winxp64bit= / Which I then used to create the kernel module for my Broadcom wireless card with ndisgen. ndisgen bcmwl5.inf bcmwl564.sys Which resulted in ndisgen building the bcmwl564_sys.ko module. When I load the module, I receive a screen full of 'fpudna in kernel mode!' which I tracked down to having occurred in the sys/amd64/amd64/trap.c source. Is there a better Windows XP driver I should be using? I then added an ifconfig entry for the interface to /etc/rc.conf: /etc/rc.conf: ifconfig_ndis0=3D"WPA DHCP" and rebooted the system. But when I grep for wpa_supplicant in the ps listing, it is not found. Then when I try to start wpa_supplicant (0.4.8), if gives an error when '-D ndis' is specified: # wpa_supplicant -B -q -i ndis0 -D ndis -c /etc/wpa_supplicant.conf -P /var/run/wpa_supplicant/ndis0.pid NDIS: Failed to get adapter list (PacketGetAdapterNames) Failed to initialize driver interface But if I don't specify '-D ndis', then wpa_supplicant runs as a daemon. And displays: ndis0: WPA setup failed Now when I connect to wpa_supplicant with wpa_cli, I receive repeated messages of: <2>Trying to associate with 00:0b:0e:18:59:02 (SSID=3D'campuswpa' freq=3D24= 37 MHz) <2>Authentication with 00:00:00:00:00:00 timed out. 'PING' command timed out. Connection to wpa_supplicant lost -trying to reconnect Connection to wpa_supplicant re-established I can use scan and scan_result, and it shows the Wireless Access Points and their SSIDs. When I connect to this network thru Windows XP, the setup is as follows: Network Authentication: WPA Data encryption: TKIP EAP Type: Protected EAP (PEAP) Authentication Method: Secured password (EAP-MSCHAP v2) Fast Reconnect: Enabled Validate server certificate: Unchecked Using the above information, I created the following wpa_supplicant.conf fi= le: ctrl_interface=3D/var/run/wpa_supplicant ctrl_intreface_group=3Dwheel network=3D{ ssid=3D"campuswpa" key_mgmt=3DWPA-EAP pairwise=3DTKIP group=3DTKIP eap=3DPEAP identity=3D"<username>" password=3D"<password>" # phase1=3D"peaplabel=3D1" <-tried with/without phase2=3D"auth=3DMSCHAPV2" priority=3D1 } Is this configuration correct? There is also another network, which doesn't use WPA. And when the system boots, it attaches to this network (campus) and receives an IP address. On this network, they use a web page to verify that you can have access to the network. Haven't tried it, as I don't have a browser installed on the system. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0603270955j2d380b7dsaad8254c14c82cb0>