Date: Sat, 23 Jan 2010 23:04:19 -0800 From: Doug Barton <dougb@FreeBSD.org> To: knowtree@aloha.com Cc: freebsd-mobile@freebsd.org Subject: Re: wi (Lucent) panics on ifconfig wi0 up Message-ID: <4B5BF0F3.3090402@FreeBSD.org> In-Reply-To: <201001211829.o0LIT3xR020721@yoda.pixi.com> References: <201001211829.o0LIT3xR020721@yoda.pixi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030605020405060802020005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 01/21/10 08:29, knowtree@aloha.com wrote: > ifconfig wlan0 ssid MYNET > > sets the ssid but > > ifconfig wlan0 up > > does nothing ... no carrier. You want to up the wlan0 interface first thing, otherwise you will get weirdness. When testing manually I can usually do: ifconfig wlan0 up ssid blah with a good success rate, but if you're still having problems with that then you may have to do it as; ifconfig wlan0 up ifconfig wlan0 ssid blah Also, if you're testing with a lot of different configurations I find it useful to completely reset the thing each time, otherwise, once again, weirdness. I use the attached script (which I think I've cleaned up enough to make it usable for you). After you run this you should be able to do 'ifconfig wlan0 up' and start fresh. Also, please be aware that wi cards are very limited, and since they are not in wide use anymore the code hasn't had a lot of love and attention in recent years. Good luck, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso --------------030605020405060802020005 Content-Type: text/plain; name="reset-wlan" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="reset-wlan" #!/bin/sh wif=wi0 [ -n "$1" ] && wif=$1 if [ -z "$wif" ]; then echo "Need a wireless interface name" exit 1 fi pkill dhclient ifconfig wlan0 down sleep 1 ifconfig wlan0 destroy ifconfig $wif down sleep 1 ifconfig $wif up ifconfig wlan0 create wlandev $wif ifconfig $wif ifconfig wlan0 exit 0 --------------030605020405060802020005--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5BF0F3.3090402>