Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 01:11:26 +0200
From:      "Reinis Ivanovs" <dabas@untu.ms>
To:        jamesh@lanl.gov, freebsd-questions@freebsd.org
Subject:   Re: wpa_supplicant not starting with /etc/rc.d/netif
Message-ID:  <5b826e210802011511hfbbbd85ufc19a3b2e44894be@mail.gmail.com>
In-Reply-To: <1201907173.24542.1.camel@p25dual1.lanl.gov>
References:  <5b826e210802011432y53ed197cocfc5543073d2faa4@mail.gmail.com> <1201907173.24542.1.camel@p25dual1.lanl.gov>

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

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.

Regards,
Reinis

On Feb 2, 2008 1:06 AM, James Harrison <jamesh@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.
>
>
> Best
>
> James
>
>



-- 
http://untu.ms/



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