Couldn't connect to wireless networking
Kevin Oberman
kob6558 at gmail.com
Sat Jun 25 06:38:35 UTC 2011
2011/6/24 Adrian Chadd <adrian at 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 纵横天下 <zhtx10 at 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=5, eloop_data=0x800e0b1c0
>> user_data=0x800e070f0 handler =0x421840
>> /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="laptop.mike"
>>
>> wlans_ath0="wlan0"
>> ifconfig_ath0="WPA DHCP"
>> ---------
>>
>> This is my wpa_supplicant.conf:
>> ---------
>> network {
>> ssid="WEB"
>> psk="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="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 at gmail.com
More information about the freebsd-wireless
mailing list