Date: Mon, 24 Mar 2003 21:21:32 -0500 From: "Dan Langille" <dan@langille.org> To: Luis Carlos Toledo <mailing_lists_br@yahoo.com.br> Cc: mobile@FreeBSD.ORG Subject: Re: dhclient gives "no route to host" upon startup Message-ID: <3E7F76DC.26748.209F742B@localhost> In-Reply-To: <20030324133659.79486.qmail@web20506.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E7F76DC.26748.209F742B>