[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wpa_supplicant not starting with /etc/rc.d/netif
- To: Reinis Ivanovs <dabas_(_at_)_untu_(_dot_)_ms>
- Subject: Re: wpa_supplicant not starting with /etc/rc.d/netif
- From: James Harrison <jamesh_(_at_)_lanl_(_dot_)_gov>
- Date: Fri, 01 Feb 2008 16:06:13 -0700
- Cc: freebsd-questions_(_at_)_freebsd_(_dot_)_org
- Organization: Los Alamos National Labs
- Reply-to: jamesh_(_at_)_lanl_(_dot_)_gov
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.
Best
James
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org