From owner-freebsd-wireless@FreeBSD.ORG Wed Feb 1 15:03:20 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 C9B9F1065670 for ; Wed, 1 Feb 2012 15:03:20 +0000 (UTC) (envelope-from reed@reedmedia.net) Received: from c-0500.emailmediator.com (c-0500.emailmediator.com [64.85.162.118]) by mx1.freebsd.org (Postfix) with ESMTP id A28868FC1D for ; Wed, 1 Feb 2012 15:03:20 +0000 (UTC) Received: from pool-71-164-190-204.dllstx.fios.verizon.net ([71.164.190.204] helo=reedmedia.net) by c-0500.emailmediator.com with esmtpa (Exim 4.69) (envelope-from ) id 1RsbiS-0004N2-1X; Wed, 01 Feb 2012 10:03:20 -0500 Received: from reed@reedmedia.net by reedmedia.net with local (mailout 0.17) id 1847-1328108599; Wed, 01 Feb 2012 09:03:20 -0600 Date: Wed, 1 Feb 2012 09:03:19 -0600 (CST) From: "Jeremy C. Reed" X-X-Sender: reed@t1.m.reedmedia.net To: Bernhard Schmidt In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (NEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 15:03:20 -0000 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 metric 0 mtu 1500 ether ac:72:89:ec:3b:1e nd6 options=29 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.