Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2011 12:32:51 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        =?GB2312?B?19264czsz8I=?= <zhtx10@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Couldn't connect to wireless networking
Message-ID:  <BANLkTikHY-tKG3UL5pVMqqyTQ1ubb9GOoQ@mail.gmail.com>
In-Reply-To: <BANLkTinNhA12Z2ar6mUapNQfXwJn1aRDew@mail.gmail.com>
References:  <BANLkTinNhA12Z2ar6mUapNQfXwJn1aRDew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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?
>
> Thank you very much!
> Mike
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"
>



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