OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SOLVED] 3-legged network setup

From: andy (tireseasonetel.com)
Date: Thu Feb 24 2005 - 01:16:19 CST


Daniel Martini wrote:
> 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
>
>
Daniel

Just a follow up to your suggestion: it worked like a charm!! :) Thanks
a lot. I was tearing my hair out (figuratively) and couldn't get
anywhere with this issue, so thanks a bunch. It obviously didn't have
anything to do with the PAP handshake that I thought it did.

Cheers

Andy