|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: 3-legged network setup
From: Daniel Martini (dmartini
uni-hohenheim.de)
Date: Tue Feb 22 2005 - 15:23:48 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Mon, Feb 21, 2005 at 06:20:20PM +0000, andy wrote:
> DNS nameserver? none
[SNIP]
> Then invoking ppp interactively:
>
> ppp ON mymachine>set device /dev/cua00
> ppp ON mymachine>set authnam myispname
> ppp ON mymachine>set authkey myisppasswd
> ppp ON mymachine>term
>
> atz
> OK
> atdt1234567890
> ppp
> Ppp
> PPp
> PPP
>
> Then, I set ppp into the background by ^Z and bg and enter lynx at the
> CLI and receive an error that lynx cannot open the page/can't connect
> with the remote server.
Looks like you're missing DNS information. If you're not running a DNS
Server yourself, your /etc/resolv.conf should look something like this:
lookup file bind
nameserver a.b.c.d
nameserver e.f.g.h
replace a.b.c.d with the IP address of your ISP's primary DNS server,
and e.f.g.h with the IP address of your ISP's backup DNS server.
You can check for DNS working properly using dig or nslookup.
Addresses of nameservers might change, therefore ppp has some builtin
capabilities to query the information from your ISP and update
/etc/resolv.conf accordingly upon connect. You do this using:
enable dns
in the appropriate section in /etc/ppp/ppp.conf. This might also work
from ppp's command line, however, I have never tried it.
Regards,
Daniel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]