Date: Sun, 29 Nov 2009 09:09:18 -0500 From: Alex <alex323@gmail.com> To: Paul B Mahol <onemda@gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: NDIS problem on 8.0-RELEASE Message-ID: <20091129090918.1ca0759c@gmail.com> In-Reply-To: <3a142e750911290200j7684a234s85cd4dfde3681f92@mail.gmail.com> References: <20091128180824.17becca8@gmail.com> <3a142e750911281559r3b6353c5tf9ba7a975670402a@mail.gmail.com> <20091128053648.5a4b762c@gmail.com> <3a142e750911290200j7684a234s85cd4dfde3681f92@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, 29 Nov 2009 11:00:49 +0100 Paul B Mahol <onemda@gmail.com> wrote: > On 11/28/09, Alex <alex323@gmail.com> wrote: > > On Sun, 29 Nov 2009 00:59:26 +0100 > > Paul B Mahol <onemda@gmail.com> wrote: > > > >> On 11/29/09, Alex <alex323@gmail.com> wrote: > >> > Hello. I have been using wireless drivers generated from ndisgen > >> > on 7.2 quite successfully. I installed 8.0-RELEASE, recompiled > >> > the driver, and sadly wireless is not functioning: > >> > > >> > orion# wpa_supplicant -dd -Dndis -i ndis0 > >> > -c/etc/wpa_supplicant.conf ... > >> > Initializing interface (2) 'ndis0' > >> > NDIS: Packet.dll version: FreeBSD WinPcap compatibility shim v1.0 > >> > NDIS: 1 adapter names found > >> > NDIS: 0 - - dummy description > >> > NDIS: Could not find interface 'ndis0' > >> > Failed to initialize driver interface > >> > Failed to add interface ndis0 > >> > Cancelling scan request > >> > Cancelling authentication timeout > >> > orion# ifconfig ndis0 > >> > ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 > >> > ether 00:24:2c:e7:2d:fd > >> > media: IEEE 802.11 Wireless Ethernet autoselect > >> > (autoselect) status: no carrier > >> > > >> > Does anyone know what is wrong? I wouldn't have expected an > >> > upgrade to break previous functionality. > >> > > >> > >> with 8.0 you need to create wlanX: > >> > >> # ifconfig wlan create wlandev ndis0 > >> > >> and replace ndis0 with wlan0: > >> > >> # wpa_supplicant -dd -Dndis -i wlan0 -c/etc/wpa_supplicant.conf > > > > That appears to have helped, but for some reason wpa_supplicant > > keeps looping through its internal states. For example it'll be > > associated in one moment and disconnected in the next (after which > > point it loops over and over). Does anything special need to be > > done in rc.conf? wpa_supplicant.conf? I am using the same > > wpa_supplicant.conf file that worked under 7.2. > > Could you post wpa_supplicant debug output? > The problem appears to be intermittent. However, I am connected via wireless right now so I think this issue can be considered resolved. > > Eventually I will need to set up rc.conf so that it automates the > > process of creating wlan0 as well. > > > > Any insight you could provide would be much appreciated. > > wlans_ndis0="wlan0" > ifconfig_wlan0="WPA SYNCDHCP" That has worked successfully. Thank you very much. I only consulted the FreeBSD handbook online for my information, and I had neglected to read UPDATING far back enough. -- Alex [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iF4EAREKAAYFAksSgJUACgkQVj+V+maJPJEYgAEAi4Az7NF12YipWw5GroA+Ba0/ b6/wb6VorIwM+woSzEMA/0b/52uQH3LrA4PJjvjV2OLV0hAaWuM0mQAIXuHnKi1L =V/Po -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091129090918.1ca0759c>
