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

Luis Carlos Toledo <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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" <[email protected]>
> > > Date: Sat, 22 Mar 2003 15:40:30 -0500
> > > Sender: [email protected]
> > > 
> > > 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 [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.