Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Oct 2006 12:55:35 -0700
From:      Sam Leffler <sam@errno.com>
To:        Jim Stapleton <stapleton.41@gmail.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Route #3 - USB 802.11 a/b/g
Message-ID:  <452957B7.1040500@errno.com>
In-Reply-To: <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com>
References:  <80f4f2b20610060523y636701b7md93ae0d586ef69fe@mail.gmail.com>	<45264F1C.3070609@unsane.co.uk>	<80f4f2b20610060555m2a9d9a4fvc8d36eddb97490e6@mail.gmail.com>	<1160145794.5951.2.camel@localhost.localdomain>	<80f4f2b20610060802o4c6a91b3h15d468c45477f916@mail.gmail.com>	<80f4f2b20610061530s4ac88289w16cb97cdbd9f52ef@mail.gmail.com>	<20061006224342.GL65912@e.0x20.net>	<80f4f2b20610061622k522ec869x5b8340701535faf8@mail.gmail.com>	<20061007224949.GB62285@e.0x20.net> <80f4f2b20610081229p1a9d19dcw325f83850c6aaadb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Stapleton wrote:
> On 10/7/06, Lars Engels <lars.engels@0x20.net> wrote:
>> On Fri, Oct 06, 2006 at 07:22:50PM -0400, Jim Stapleton wrote:
>> > OK, that's interesting, I tried, that, and got this:
>> >
>> > ural0:
>> flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> mtu
>> > 1500
>> >        inet6 fe80::215:e9ff:fe2d:72c3%ural0 prefixlen 64 scopeid 0x4
>> >        inet 192.168.1.84 netmask 0xffffff00 broadcast 49.49.253.171
>> >        ether 00:15:e9:2d:72:c3
>> >        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (OFDM/54Mbps)
>> >        status: no carrier
>> >        ssid mine channel 6
>> >        authmode OPEN privacy ON deftxkey 1 txpowmax 100 protmode CTS
>> >        bintval 100
>> >
>> > I've tried replacing wep with wepkey, I've tried weptxkey 1 to 4, no
>> > luck on any of those.
>> >
>> > Any other suggestions?
>> >
>>
>> Perhaps the authmode needs to be set to SHARED?
>>
> 
> That didn't work either -- I also tried 8021x and wpa. Both gave me an
> error:
> ifconfig: SIOCS80211: invalid argument

"status: no carrier" means you are not associated to the ap.  When the
reason is not obvious I usually do this:

wlandebug -i ural0 scan+auth+assoc

before bringing the interface up w/ ifconfig.  The console msgs should
tell you what's going on.  I don't recall if "ifconfig ural0 debug" will
give you similar info.

Of course it'd be better if the failure code for the last auth/assoc
attempt was reported by ifconfig in this situation (I think it's
available by ioctl but can't recall--if not it's easy to add and has
been done for other systems).

	Sam

PS. wlandebug is in src/tools/tools/net80211.



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