From owner-freebsd-wireless@FreeBSD.ORG Wed Feb 1 16:17:46 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388F51065672 for ; Wed, 1 Feb 2012 16:17:46 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B5C458FC17 for ; Wed, 1 Feb 2012 16:17:45 +0000 (UTC) Received: by lagz14 with SMTP id z14so957285lag.13 for ; Wed, 01 Feb 2012 08:17:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.125.12 with SMTP id mm12mr13895669lab.48.1328113064483; Wed, 01 Feb 2012 08:17:44 -0800 (PST) Received: by 10.152.13.169 with HTTP; Wed, 1 Feb 2012 08:17:44 -0800 (PST) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Wed, 1 Feb 2012 17:17:44 +0100 Message-ID: From: Bernhard Schmidt To: "Jeremy C. Reed" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: iwn Centrino N-1030 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 16:17:46 -0000 On Wed, Feb 1, 2012 at 16:03, Jeremy C. Reed 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 metric 0 mtu = 1500 > =A0 =A0 =A0 =A0ether ac:72:89:ec:3b:1e > =A0 =A0 =A0 =A0nd6 options=3D29 > =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