Subject: Re: PPP help
To: James Graham <greywolf@starwolf.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 10/11/2001 21:09:54
On Thu, Oct 11, 2001 at 10:16:19AM -0700, James Graham wrote:
> Greetings, all!
> 
> I have a ppp conundrum which I'm not certain how to solve; perhaps I'd best
> start by asking one question:
> 
> * Is our pppd client-only, or can it act as a server as well?

It can act as server; I have a 1.5.2 machine doing it.

> 
> The situation is this.  My client has a bunch of embedded NetBSD
> systems for coin sorters, and it keeps track of various stats which my
> client then wishes to return as a web page OVER PPP once a client
> connects via same.
> 
> Now I've managed to get the two pppds talking to each other [straight
> serial, null modem, until I can get this debugged].
> 
> Test environment is:
> 
> 	P5/133, NetBSD 1.4.1			PC104 i386, NetBSD 1.4.1
> 
> ppp0	192.168.1.1 -> 192.168.255.1		192.168.255.1 -> 192.168.1.1
> $eth0	10.240.41.156				10.240.41.174
> 
> [$eth since they have different ethernet types]
> 
> Currently, all default routes are going out the $eth port.  Ethernet
> works fine.
> 
> Once ppp is going, I cannot even ping the local ppp address.  It does not
> respond.

And do the 2 ppp interfaces come up ? What do 'ifconfig ppp0' and 'netstat -rn'
show once the pppd connected ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--