From owner-freebsd-current@FreeBSD.ORG Mon Jul 13 04:09:37 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 9EF3E106566C for ; Mon, 13 Jul 2009 04:09:37 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 60B048FC1B for ; Mon, 13 Jul 2009 04:09:37 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MQCrA-0002s0-Jl for freebsd-current@freebsd.org; Sun, 12 Jul 2009 21:09:36 -0700 Message-ID: <24455962.post@talk.nabble.com> Date: Sun, 12 Jul 2009 21:09:36 -0700 (PDT) From: Gravisman To: freebsd-current@freebsd.org In-Reply-To: <24455296.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gravisman@gmail.com References: <24453847.post@talk.nabble.com> <4A5A8773.9020905@freebsd.org> <24455296.post@talk.nabble.com> X-Mailman-Approved-At: Mon, 13 Jul 2009 04:26:00 +0000 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 04:09:37 -0000 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: > > nassy# ifconfig > msk0: flags=8843 metric 0 mtu 1500 > options=118 > ether 00:13:d4:07:c7:2e > inet 10.0.1.199 netmask 0xffffff00 broadcast 10.0.1.255 > media: Ethernet autoselect (1000baseT ) > status: active > fwe0: flags=8902 metric 0 mtu 1500 > options=8 > ether 02:11:d8:37:35:aa > ch 1 dma -1 > fwip0: flags=8802 metric 0 mtu 1500 > lladdr 0.11.d8.0.0.37.35.aa.a.2.ff.fe.0.0.0.0 > plip0: flags=8810 metric 0 mtu 1500 > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > zyd0: flags=8843 metric 0 mtu 2290 > ether 00:21:79:c2:44:82 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > As you can see, there is no wlan0. So, what might I be missing to actually > get wlan0 setup? Everything I've found just mentions the rc.conf stuff, > which I've done. > > 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 -- View this message in context: http://www.nabble.com/setting-up-wlan-with-vap---wlan0-doesn%27t-appear-tp24453847p24455962.html Sent from the freebsd-current mailing list archive at Nabble.com.