From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 06:39:01 2009 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 3F929106566B for ; Mon, 13 Jul 2009 06:39:01 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 061158FC1F for ; Mon, 13 Jul 2009 06:39:00 +0000 (UTC) (envelope-from mel.flynn+fbsd.current@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 096DC7E818; Sun, 12 Jul 2009 22:39:00 -0800 (AKDT) From: Mel Flynn To: freebsd-current@freebsd.org Date: Sun, 12 Jul 2009 22:38:58 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <24453847.post@talk.nabble.com> <24455296.post@talk.nabble.com> <24455962.post@talk.nabble.com> In-Reply-To: <24455962.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907122238.59151.mel.flynn+fbsd.current@mailing.thruhere.net> Cc: Gravisman Subject: Re: setting up wlan with vap - wlan0 doesn't appear X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 06:39:01 -0000 On Sunday 12 July 2009 20:09:36 Gravisman wrote: > Gravisman wrote: > > Sam Leffler-2 wrote: > >> Gravisman wrote: > >>> I just got an iogear usb wireless adapter to add to my machine which > >>> previously only ran a wired interface. After poking around I now see > >>> that > >>> wireless setup works significantly different in CURRENT than it did in > >>> previous releases. I haven't found too terribly much on google, but the > >>> basic idea seems to be that I have to setup a wlans interface in > >>> rc.conf. > >>> So, the following is what I added to rc.conf, which is consistent with > >>> the > >>> examples I've found, including the one in /usr/src/UPDATING. > >>> > >>> wlans_zyd0="wlan0" > >>> ifconfig_wlan0="WPA DHCP" > >>> > >>> I see zyd0 interface in ifconfig, but even with these lines added to > >>> rc.conf, I'm not getting any wlan0 interface, and I can't list scanned > >>> networks on zyd0. Any idea what I'm missing? > >> > >> zyd0 is not where you list networks; if you create wlan0 then you want > >> > >> ifconfig wlan0 list scan > >> > >> to see the set of ap's found during a scan. > >> > >> Try showing the output of ifconfig for starters. Since you've enabled > >> WPA I'd ask if you've created a wpa_supplicant.conf file for it? w/o > >> that you won't get WPA setup. > > > > My problem is that wlan0 doesn't show up as an interface. Despite having > > added wlans_zyd0="wlan0" to my rc.conf file, my interfaces are as shown > > below: > Thanks for the help, but I've solved my own problem. The key for anyone > else who hits this was... > > ifconfig wlan create wlandev zyd0 ^0 This is what wlans_zyd0="wlan0" is supposed to do, so did you reboot after adding this to rc.conf and/or run /etc/rc.d/netif restart? If so, add rc_debug="YES" to /etc/rc.conf, then run /etc/rc.d/netif restart and post output. -- Mel