wpa_supplicant not starting with /etc/rc.d/netif
dabas at untu.ms
Fri Feb 1 15:11:27 PST 2008
It doesn't work with just "DHCP", and I'm not sure you've read that
correctly. All it says is that you don't have to run "dhclient"
manually, and I'm not doing that anyway.
On Feb 2, 2008 1:06 AM, James Harrison <jamesh at lanl.gov> wrote:
> On Sat, 2008-02-02 at 00:32 +0200, Reinis Ivanovs wrote:
> > Hello,
> > I have been following these instructions from the manual:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#NETWORK-WIRELESS-WPA-WPA-PSK
> > However, in the step that requires me to run "/etc/rc.d/netif start",
> > instead of it starting wpa_supplicant, I see only "ral0: no
> > link........................ giving up". I've added
> > "ifconfig_ral0="WPA DHCP" to /etc/rc.conf, and it works just fine if I
> > start it manually with "wpa_supplicant -B -c /etc/wpa_supplicant.conf
> > -i ral0". What should I do to get it working? Could it be that there's
> > some bug in your scripts?
> > Regards,
> > Reinis
> I've not done this, but the documentation says:
> Note: If the /etc/rc.conf is set up with the line ifconfig_ath0="DHCP"
> then it is no need to run the dhclient command manually, dhclient will
> be launched after wpa_supplicant plumbs the keys.
> As such, I don't understand why you're running the ifconfig command
> in /etc/rc.conf with the extra WPA flag.
> Try making it read ifconfig_ral0="DHCP" and see if that helps.
More information about the freebsd-questions