From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 29 14:09:40 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 302D61065693 for ; Sun, 29 Nov 2009 14:09:40 +0000 (UTC) (envelope-from alex323@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id D1E508FC17 for ; Sun, 29 Nov 2009 14:09:39 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so657016qwb.7 for ; Sun, 29 Nov 2009 06:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=xU1qC8uklmZlEP6NZmtHp/nhzXE849tHZYAWb4O5SJY=; b=xamUQvFp5jOdVG8AEcPrPvF9K1Jcgke6qwPMINtp3zPxcYSrS5y/sDkMc8rsof/RDl kX2VJ+VIb4gx6XIe0GLHruoSxVx3xFUUouG7UK3gVXYGJbnbro7ToYKmJkWLpgvFHa1F 71Md/qranzk31tA9QLxUca7pwehOpRUpG3vyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=QhvMHX0zQyR5Deha0nuYdPnbuc8LGVK3fWuHetiX8Gk6J332AIMtgTcGxPZPBG0R+M wEz8779Fyu2VFXVGtya2OuFUUu/mwGKfA83qCVlLYZWxxIAi1juTBgTDI9k07ncGKjxm 2tpTrDvvIqWB75tmXkl4LQd9a9AmsWz32v8Tc= Received: by 10.224.125.19 with SMTP id w19mr1555507qar.78.1259503778987; Sun, 29 Nov 2009 06:09:38 -0800 (PST) Received: from localhost (ool-44c14b8e.dyn.optonline.net [68.193.75.142]) by mx.google.com with ESMTPS id 22sm2877034qyk.10.2009.11.29.06.09.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 06:09:37 -0800 (PST) Date: Sun, 29 Nov 2009 09:09:18 -0500 From: Alex To: Paul B Mahol 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> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/j5nWSrHvcG51lktXXJwJXZ/"; protocol="application/pgp-signature" Cc: freebsd-mobile@freebsd.org Subject: Re: NDIS problem on 8.0-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 14:09:40 -0000 --Sig_/j5nWSrHvcG51lktXXJwJXZ/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 29 Nov 2009 11:00:49 +0100 Paul B Mahol wrote: > On 11/28/09, Alex wrote: > > On Sun, 29 Nov 2009 00:59:26 +0100 > > Paul B Mahol wrote: > > > >> On 11/29/09, Alex 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=3D8802 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. >=20 > 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. >=20 > wlans_ndis0=3D"wlan0" > ifconfig_wlan0=3D"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. --=20 Alex --Sig_/j5nWSrHvcG51lktXXJwJXZ/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- iF4EAREKAAYFAksSgJUACgkQVj+V+maJPJEYgAEAi4Az7NF12YipWw5GroA+Ba0/ b6/wb6VorIwM+woSzEMA/0b/52uQH3LrA4PJjvjV2OLV0hAaWuM0mQAIXuHnKi1L =V/Po -----END PGP SIGNATURE----- --Sig_/j5nWSrHvcG51lktXXJwJXZ/--