Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2012 17:17:44 +0100
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        "Jeremy C. Reed" <reed@reedmedia.net>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: iwn Centrino N-1030
Message-ID:  <CAAgh0_ZpFSwA4Rfu4NY1YMWXHgRhF5ma8YUhaxDVJRak-KUZsA@mail.gmail.com>
In-Reply-To: <alpine.NEB.2.01.1202010855160.9071@t1.m.reedmedia.net>
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> <alpine.NEB.2.01.1202010855160.9071@t1.m.reedmedia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 1, 2012 at 16:03, Jeremy C. Reed <reed@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=3D"wlan0"
>> ifconfig_wlan0=3D"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=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
> =A0 =A0 =A0 =A0ether ac:72:89:ec:3b:1e
> =A0 =A0 =A0 =A0nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect (autoselec=
t)
> =A0 =A0 =A0 =A0status: no carrier
> =A0 =A0 =A0 =A0ssid "" channel 12 (2467 MHz 11g)
> =A0 =A0 =A0 =A0country US authmode OPEN privacy OFF txpower 15 bmiss 10 s=
canvalid 60
> =A0 =A0 =A0 =A0bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rat=
e 5
> =A0 =A0 =A0 =A0protmode 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.

--=20
Bernhard



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