Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 11:45:54 +0000 (   )
From:      Junichi Saito <j.saito@wanadoo.fr>
To:        "Matthew D. Fuller" <fullermd@futuresouth.com>
Cc:        jonc@pinnacle.co.nz, rgireyev@yahoo.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: How do I determine "hostname" ?
Message-ID:  <Pine.LNX.3.96.971217113026.172A-100000@linux>
In-Reply-To: <Pine.BSF.3.96.971216221842.13454A-100000@shell.futuresouth.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, you are right. I didn't correctly set up "/etc/ppp/ppp.linkup" file.
The entries are already there in "/etc/resolv.conf". PPP works fine now. 
Thanks for all you who answered my question.
junichi

On Tue, 16 Dec 1997, Matthew D. Fuller wrote:

> On Tue, 16 Dec 1997 j.saito@wanadoo.fr wrote:
> 
> > # netstat -nr                                                                   
> > Routing tables                                                                  
> >                                                                                 
> > Internet:                                                                       
> > Destination        Gateway            Flags     Refs     Use     Netif Expire   
> > 127.0.0.1          127.0.0.1          UH          1       26       lo0          
> > 195.6.71.4         193.252.160.71     UH          0        0      tun0          
> Well, here's part of your problem.  You need 195.6.71.4 to be a default
> route; there's no default route out of your box.  Here's what you need to
> put in your /etc/ppp/ppp.linkup file:
> MYADDR:
>  add 0 0 HISADDR
> That'll add the other end of your ppp link automatically as the default
> route.
> 
> > # ping 195.6.71.4                                                               
> > PING 195.6.71.4 (195.6.71.4): 56 data bytes                                     
> > 64 bytes from 195.6.71.4: icmp_seq=0 ttl=255 time=315.404 ms                    
> > 64 bytes from 195.6.71.4: icmp_seq=1 ttl=255 time=273.907 ms                    
> > 
> > # ping ftp.freebsd.org                                                          
> > ping: cannot resolve ftp.freebsd.org: Host name lookup failure                  
> As someone else suggested, also make sure that /etc/resolv.con lists your
> ISP's nameserver






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.971217113026.172A-100000>