Date: Sat, 29 Oct 2011 00:35:55 -0700 From: matt <sendtomatt@gmail.com> To: "Sergey A. Osokin" <osa@FreeBSD.org> Cc: freebsd-wireless@FreeBSD.ORG Subject: Re: iwn(4) problem Message-ID: <4EABACDB.4030808@gmail.com> In-Reply-To: <20111025193738.GE95451@FreeBSD.org> References: <20111025193738.GE95451@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/25/11 12:37, Sergey A. Osokin wrote: > Hi. > > I have ThinkPad X1 laptop with iwn(4) network card. > > %uname -spr > FreeBSD 9.0-RC1 amd64 > > % dmesg > iwn0: <Intel(R) Centrino(R) Wireless-N 1000> mem 0xf2500000-0xf2501fff irq 17 at device 0.0 on pci3 > > >From time to time it works well, i.e. on my job, but currently it doesn't work > with my small home WiFi/ADSL router D-Link G-604T. > Also, in my home network I have two different devices: Galaxy Tab and MacBook Pro 15" and > these devices are works well, but ThinkPad with FreeBSD 9.0-RC1 can't connect to WiFi router :-( > > Also, I tried to use Ubuntu Linux 11.10 LiveCD and the laptop works well with > home WiFi network. > > $ ifconfig iwn0 > iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMLPLEX,MULTICAST> metric 0 mtu 2290 > ether 8c:a9:82:bd:41:a0 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > $ ifconfig wlan0 > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMLPLEX,MULTICAST> metric 0 mtu 1500 > ether 8c:a9:82:bd:41:a0 > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 5 (2432 Mhz 11g) > country US authmode WPA privacy ON deftxkey UNDEF txpower 14 bmiss 10 > scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 5 protmode CTS wme roaming MANUAL bintval 200 > > $ ifconfig wlan0 list scan > ... > ozznet 00:11:95:94:cb:b4 5 54M -73:-95 200 EPSB WPA > > In /etc/wpa_supplicant.conf I have two network entries (for home and for job) with > psk keys. > > $ more /etc/rc.conf > ... > wlans_iwn0="wlan0" > ifconfig_wlan0="WPA DHCP" > > More information available upon request. > Run something like this (it's trying to flush routing table, down the interface, and associate. Also, simpler wpa_supplicant.conf is better than complex! Make sure psks are actually right :). ifconfig wlan0 destroy route flush mv /etc/resolv.conf /etc/resolv.old killall wpa_supplicant killall dhclient ifconfig wlan0 create wlandev iwn0 ifconfig wlan0 up sleep 1 ifconfig wlan0 scan wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B sleep 4 dhclient wlan0 I had the same card daily in FreeBSD since early 2010. Worked perfectly. It makes me think it's probably not the card. I actually had a script using dialog for various network configurations (home, work) that would clear network configs and reconfigure the machine for various roles. Matt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EABACDB.4030808>