Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2011 15:18:37 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Couldn't connect to wireless networking
Message-ID:  <BANLkTikd3%2BdyUX8%2Bbq5Kb8KT38b2khGSZA@mail.gmail.com>
In-Reply-To: <BANLkTimzhBq7MyVv64LnEbQ1i44%2BGgcPhA@mail.gmail.com>
References:  <BANLkTinNhA12Z2ar6mUapNQfXwJn1aRDew@mail.gmail.com> <BANLkTikHY-tKG3UL5pVMqqyTQ1ubb9GOoQ@mail.gmail.com> <BANLkTimzhBq7MyVv64LnEbQ1i44%2BGgcPhA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh damnit, I missed that.

Yes, it should be wlan0=3D"WPA DHCP".

That should fix it!


Adrian

2011/6/25 Kevin Oberman <kob6558@gmail.com>:
> 2011/6/24 Adrian Chadd <adrian@freebsd.org>:
>> Hi!
>>
>> You've not really posted enough information.
>>
>> * Has the system created a wlan0 interface?
>> * is wpa_supplicant running on the wlan0 or ath0 interface? (the
>> rc.conf script looks right, but I've not tried it myself to verify.)
>>
>> Thanks,
>>
>>
>> Adrian
>>
>> 2011/6/25 =D7=DD=BA=E1=CC=EC=CF=C2 <zhtx10@gmail.com>:
>>> Hi, all.
>>>
>>> Last week, I moved from Fedora to FreeBSD.
>>> Then, I try to connect to wireless networking (wifi).
>>> I did some things like handbook, but it showed me:
>>> ---------
>>> # /etc/rc.d/netif start
>>> Starting wpa_supplicant.
>>> ioctl [SIOCG80211, op98, len 32]: Invalid argument
>>> ELOOP: remaining socket: sock=3D5, eloop_data=3D0x800e0b1c0
>>> user_data=3D0x800e070f0 handler =3D0x421840
>>> /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
>>> ifconfig: create: bad value
>>> Starting Network: lo0 ath0
>>> lo: .....
>>> ath0: ....
>>>   status: no carrier
>>> ---------
>>>
>>> I don't know what i did wrong.
>>> This is my rc.conf:
>>> ---------
>>> hostname=3D"laptop.mike"
>>>
>>> wlans_ath0=3D"wlan0"
>>> ifconfig_ath0=3D"WPA DHCP"
>>> ---------
>>>
>>> This is my wpa_supplicant.conf:
>>> ---------
>>> network {
>>>    ssid=3D"WEB"
>>>    psk=3D"12345678"
>>> }
>>> ---------
>>>
>>> btw. how to enable snd_driver when FreeBSD starts?
>>>
>
> I think his main problem is that he is trying to configure ath0
> instead of wlan0.
>
> I see this quite often and felt that, last time I read it, the
> documentation was nit very clear on this.
>
> I might also mention that adding 'snd_hda_load=3D"YES"' to
> /boot/loader.conf will probably take care of the sound issue, assuming
> he has HDA audio like almost all modern system do unless an add-on
> audio card is installed. (Not that this is on-topic for this list.)
> --
> R. Kevin Oberman, Network Engineer - Retired
> E-mail: kob6558@gmail.com
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikd3%2BdyUX8%2Bbq5Kb8KT38b2khGSZA>