Date: Mon, 24 Mar 2003 10:36:59 -0300 (ART) From: =?iso-8859-1?q?Luis=20Carlos=20Toledo?= <mailing_lists_br@yahoo.com.br> To: mobile@freebsd.org Cc: Kevin Oberman <oberman@es.net>, Dan Langille <dan@langille.org> Subject: Re: dhclient gives "no route to host" upon startup Message-ID: <20030324133659.79486.qmail@web20506.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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" /etc/start_if.wi0 wicontrol -i wi0 -n linksys (or ifconfig wi0 ssid linksys) /sbin/dhclient -pf /var/run/dhclient.wi0.pid wi0 Toledo > On 22 Mar 2003 at 14:54, Kevin Oberman wrote: > > > > From: "Dan Langille" <dan@langille.org> > > > Date: Sat, 22 Mar 2003 15:40:30 -0500 > > > Sender: owner-freebsd-mobile@FreeBSD.ORG > > > > > > I have a FreeBSD 4.8-PRERELEASE laptop upon which dhclient doesn't > > > get an IP address during start up. After logging in, a tail -F > > > /var/log/messages will show this: > > > > > > Mar 22 15:05:38 laptop login: ROOT LOGIN (root) ON ttyv0 > > > Mar 22 15:09:58 laptop dhclient: send_packet: No route to host > > > Mar 22 15:10:34 laptop last message repeated 3 times > > > Mar 22 15:12:36 laptop last message repeated 8 times > > > > > > If I kill dhclient, and run it manually, it gets an IP address: > > > > > > # /sbin/dhclient -pf /var/run/dhclient.wi0.pid wi0 > > > > > > Mar 22 15:12:58 laptop dhclient: New Network Number: 192.168.0.0 > > > Mar 22 15:12:58 laptop dhclient: New Broadcast Address: 192.168.0.255 > > > Mar 22 15:12:58 laptop dhclient: New IP Address (wi0): 192.168.0.34 > > > Mar 22 15:12:58 laptop ... _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espaço, antivírus, acesso POP3, filtro contra spam. http://br.mail.yahoo.com/ 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?20030324133659.79486.qmail>