Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2012 09:03:19 -0600 (CST)
From:      "Jeremy C. Reed" <reed@reedmedia.net>
To:        Bernhard Schmidt <bschmidt@techwires.net>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: iwn Centrino N-1030
Message-ID:  <alpine.NEB.2.01.1202010855160.9071@t1.m.reedmedia.net>
In-Reply-To: <CAAgh0_YEQ-R%2BnkGZbbt1vW09DNrGm-ubnbnv8fS--qHDKt548A@mail.gmail.com>
References:  <alpine.NEB.2.01.1201311545440.4170@t1.m.reedmedia.net> <CAJ-Vmo=8xzBP6wCG8pRtdxQC7aFazd2jMOh0qnpSTPoB9sQKqw@mail.gmail.com> <alpine.NEB.2.01.1202010817290.9071@t1.m.reedmedia.net> <CAAgh0_YEQ-R%2BnkGZbbt1vW09DNrGm-ubnbnv8fS--qHDKt548A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Feb 2012, Bernhard Schmidt wrote:

> Given an empty rc.conf (no wlan configuration) simply typing
> ifconfig wlan0 create wlandev iwn0
> ifconfig wlan0 up
> should be enough, the rc.conf counterpart should look like
> wlans_iwn0="wlan0"
> ifconfig_wlan0="up"
> (no IP in both cases obviously)
> 
> Be aware, if you have something configured related to wlan0 in
> rc.conf, creating the wlan0 interface will invoke devd which will
> invoke /etc/rc.d/netif which will load the configuration. Just so you
> don't have to wonder why wpa_supplicant gets started without it being
> started explicitly.
> 
> So.. if
> ifconfig wlan0 create wlandev iwn0
> ifconfig wlan0 up
> doesn't connect to any open network around, enable debugging with
> wlandebug 0xffffffff
> and post the results please.

Thanks. I commented out the related configurations from rc.conf (that 
the sysinstall created) and rebooted.

After creating it, this was shown on console:
wlan0: Ethernet address: 72:89:ec:3b:1e

ifconfig wlan0 up didn't appear to bring anything up (even after waiting 
some time):

$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether ac:72:89:ec:3b:1e
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 12 (2467 MHz 11g)
        country US authmode OPEN privacy OFF txpower 15 bmiss 10 scanvalid 60
        bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
        protmode CTS wme bintval 0

I did the wlandebug. The parts of /var/log/messages for this is at: 
http://reedmedia.net/~reed/tmp/wlandebug.20120201a.txt
Less than one minute is over 3700 log entries. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.NEB.2.01.1202010855160.9071>