conf/113915: [patch] ndis wireless driver fails to associate when interface set to WPA

Scot Hetzel swhetzel at gmail.com
Thu Feb 14 16:10:10 PST 2008


The following reply was made to PR conf/113915; it has been noted by GNATS.

From: "Scot Hetzel" <swhetzel at gmail.com>
To: Volker <volker at vwsoft.com>
Cc: bug-followup at freebsd.org
Subject: Re: conf/113915: [patch] ndis wireless driver fails to associate when interface set to WPA
Date: Thu, 14 Feb 2008 18:07:47 -0600

 On 2/14/08, Scot Hetzel <swhetzel at gmail.com> wrote:
 > On 1/25/08, Volker <volker at vwsoft.com> wrote:
 >  > Scot,
 >  >
 >  >  I've tested wpa_supplicant with an ndis interface and it's working w/o
 >  >  your patch using 'ifconfig_ndis0="WPA DHCP"'.
 >  >
 >  >  ndis0: <Dell Wireless 1490 Dual Band WLAN Mini-Card> mem
 >  >  0xc8000000-0xc8003fff irq 18 at device 0.0 on pci48
 >  >  ndis0: [ITHREAD]
 >  >  ndis0: NDIS API version: 5.1
 >  >  ndis0: using obsoleted if_watchdog interface
 >  >  ndis0: Ethernet address: 00:1a:73:ad:a4:67
 >  >  ndis0: bssid_list failed
 >  >  ndis0: bssid_list failed
 >  >  ndis0: link state changed to UP
 >  >
 >  >  FreeBSD cesar.sz.vwsoft.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #8:
 >  >  Tue Jan 22 01:29:52 CET 2008
 >  >  root at cesar.sz.vwsoft.com:/usr/obj/usr/src/sys/CESAR  i386
 >  >
 >  >  I have been running this system with a 7.0-PRE amd64 kernel lately and
 >  >  also haven't seen this problem.
 >  >
 >  >  Please check if you can recreate your problem with a recent 7.0
 >  >  unpatched system.
 >  >
 >
 >
 > I can recreate the problem with a recent 8.0 system:
 >
 >  FreeBSD hp010 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Feb 13 11:28:36
 >  CST 2008     swhetzel at hp010:/usr/src/sys/amd64/compile/DV8135NR  amd64
 >
 >  When I don't have ndis_event start, then I don't get an IP address
 >  using DHCP.  With it running, I am able to receive an IP address.
 >
 >  ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 >         ether 00:14:a5:72:68:64
 >         inet6 fe80::214:a5ff:fe72:6864%ndis0 prefixlen 64 scopeid 0x1
 >         inet 10.65.108.188 netmask 0xfffffc00 broadcast 10.65.111.255
 >         media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
 >         status: associated
 >         ssid campuswpa channel 6 (2437 Mhz 11g) bssid 00:0b:0e:19:33:42
 >         authmode OPEN privacy OFF bmiss 7 scanvalid 60 protmode CTS
 >         roaming MANUAL bintval 0
 >
 >  I have tested it on 3 different networks (2 - secure, 1 - open).
 >
 
 Feb 14 17:46:40 hp010 kernel: ndis0: <Broadcom 802.11b/g WLAN> mem
 0xc0204000-0xc0205fff irq 21 at device 2.0 on pci6
 Feb 14 17:46:40 hp010 kernel: ndis0: [ITHREAD]
 Feb 14 17:46:40 hp010 kernel: ndis0: NDIS API version: 5.1
 Feb 14 17:46:40 hp010 kernel: ndis0: using obsoleted if_watchdog interface
 Feb 14 17:46:40 hp010 kernel: ndis0: Ethernet address: 00:14:a5:72:68:64
 Feb 14 17:46:47 hp010 kernel: ndis0: link state changed to DOWN
 Feb 14 17:46:54 hp010 kernel: ndis0: link state changed to UP
 Feb 14 17:47:05 hp010 kernel: ndis0: link state changed to DOWN
 Feb 14 17:47:12 hp010 kernel: ndis0: link state changed to UP
 
 Here's what happens after I stop ndis0, and restart it with ndis_event enabled.
 
 Feb 14 17:51:03 hp010 kernel: ndis0: link state changed to DOWN
 Feb 14 17:51:14 hp010 kernel: ndis0: link state changed to DOWN
 Feb 14 17:51:21 hp010 kernel: ndis0: link state changed to UP
 Feb 14 17:51:23 hp010 kernel: ndis0: link state changed to DOWN
 Feb 14 17:51:39 hp010 kernel: ndis0: link state changed to UP
 Feb 14 17:51:51 hp010 dhclient: New IP Address (ndis0): 10.65.108.188
 Feb 14 17:51:51 hp010 dhclient: New Subnet Mask (ndis0): 255.255.252.0
 Feb 14 17:51:51 hp010 dhclient: New Broadcast Address (ndis0): 10.65.111.255
 Feb 14 17:51:51 hp010 dhclient: New Routers (ndis0): 10.65.110.1
 
 Scot


More information about the freebsd-rc mailing list