Re: dhclient gives "no route to host" upon startup

"Dan Langille" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <3E7F76DC.26748.209F742B@localhost>
On 24 Mar 2003 at 10:36, Luis Carlos Toledo wrote:

> To get ip using dhcp in wireless network you must be
> associated before.
> Put in your:
> /etc/rc.conf
>  pccard_enable="YES"
>  pccard_ifconfig="NO"
>  defaultrouter="NO"

These I have

> /etc/start_if.wi0
>  wicontrol -i wi0 -n linksys (or ifconfig wi0 ssid
> linksys)
>  /sbin/dhclient -pf /var/run/dhclient.wi0.pid wi0

This I have.

I also created /etc/stop_if.wi0 which contains:

  kill `cat /var/run/dhclient.wi0.pid`

Upon boot, the card is set up correctly.  Thank you.

If I remove the card, dhclient is not terminated.  If I terminate 
dhclient from the command line, dhclient is not restarted when the 
card is inserted.


-- 
Dan Langille : http://www.langille.org/


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.