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 =E7=BA=B5=E6=A8=AA=E5=A4=A9=E4=B8=8B <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: ....
> =C2=A0 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 {
> =C2=A0 =C2=A0ssid=3D"WEB"
> =C2=A0 =C2=A0psk=3D"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.or=
g"
>



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