Date: Sun, 12 Jul 2009 22:38:58 -0800 From: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net> To: freebsd-current@freebsd.org Cc: Gravisman <gravisman@gmail.com> Subject: Re: setting up wlan with vap - wlan0 doesn't appear Message-ID: <200907122238.59151.mel.flynn%2Bfbsd.current@mailing.thruhere.net> In-Reply-To: <24455962.post@talk.nabble.com> References: <24453847.post@talk.nabble.com> <24455296.post@talk.nabble.com> <24455962.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <snip> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907122238.59151.mel.flynn%2Bfbsd.current>