iwn Centrino N-1030

Bernhard Schmidt bschmidt at techwires.net
Wed Feb 1 16:17:46 UTC 2012


On Wed, Feb 1, 2012 at 16:03, Jeremy C. Reed <reed at reedmedia.net> wrote:
> 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.

Quoting from the log:
Feb  1 08:49:28 work1 kernel: wlan0:  macaddr          bssid
chan  rssi  rate flag  wep  essid
Feb  1 08:49:28 work1 kernel: - e8:39:df:f8:a3:50 e8:39:df:f8:a3:50
1     7! 54M   ess  wep! "3GQH7"
Feb  1 08:49:28 work1 kernel: - 00:1f:90:e2:aa:61 00:1f:90:e2:aa:61
1    12  54M   ess  wep! "stix"
Feb  1 08:49:28 work1 kernel: - 00:18:01:e0:8a:57 00:18:01:e0:8a:57
11    36  54M   ess  wep! "5FYA8"
Feb  1 08:49:28 work1 kernel: - e8:39:df:d8:92:2b e8:39:df:d8:92:2b
1    22  54M   ess  wep! "3CSHT"
Feb  1 08:49:28 work1 kernel: ^ 00:1f:90:e5:01:e3 00:1f:90:e5:01:e3
11     6! 54M   ess  wep! "2O6P0"
Feb  1 08:49:28 work1 kernel: ^ 00:13:10:95:25:9c 00:13:10:95:25:9c
6     5! 54M   ess   no  "linksys"
Feb  1 08:49:28 work1 kernel: - 90:00:4e:0a:ed:a6 02:2b:3b:c0:a9:bf
6     4! 54M  ibss!  no  "HPCP1525-0aeda6"
Feb  1 08:49:28 work1 kernel: - 00:21:63:83:71:de 00:21:63:83:71:de
11     5! 54M   ess  wep! "N9DW4"
Feb  1 08:49:28 work1 kernel: - 68:7f:74:45:e6:46 68:7f:74:45:e6:46
11     5! 54M   ess   no  "Scentsytx-guest"
Feb  1 08:49:28 work1 kernel: - 68:7f:74:45:e6:44 68:7f:74:45:e6:44
11     6! 54M   ess  wep! "Scentsytx"
Feb  1 08:49:28 work1 kernel: - 00:1f:90:e3:9a:41 00:1f:90:e3:9a:41
6     5! 54M   ess  wep! "CR9D0"
Feb  1 08:49:28 work1 kernel: ^ 00:1f:90:ea:5e:d4 00:1f:90:ea:5e:d4
11     3! 54M   ess  wep! "QKJQ1"

quite a few networks to choose from, but.. those with a ! on the rssi
column aren't considered because the signal is too low and all others
are encrypted not open. Do you by any chance have some scan results
from Linux or something available to compare too? if there is a
significant diff in the signal quality I might have to look into the
antenna setup.

-- 
Bernhard


More information about the freebsd-wireless mailing list