On Fri, 17 Dec 1999, Dan wrote:
> Hi,
>
> I'm trying to connect two Linux boxes together over a serial connection
> using ppp, the how-to does say "this is very simple"! Alas 2 days later I
> still can't do it.
>
> One computer is running Linux Mandrake 6.1, the other Red Hat 6.0
> I made a null modem cable and plugged it into ttyS0 on both computers
> I edited /etc/inittab to start getty on computer 1
> I started up minicom on computer 2
> Bingo, I can log in, the solder job as a good one, the ports are working ...
>
> So, I remove getty from computer 1, (and do init q), and quit minicom,
> Then, according to all the documentation all I have to do is type
>
> pppd -detach crtscts lock /dev/ttyS0 9600
>
> on the client and the server and I should get a ppp link.
>
> Now, being a newbie and never having seen it working I'm not too sure what
> to expect, but I'd have thought ifconfig would have shown a ppp interface,
> all it shows is eth0 and lo. cat /proc/net/dev shows ppp0, but no packets
> having gone anywhere, ie zero's all over the place.
>
> I've also tried
>
> pppd -detach crtscts lock 192.168.0.1:192.168.0.2 /dev/ttyS0 9600 on the server
> and
> pppd -detach crtscts lock 192.168.0.2:192.168.0.1 /dev/ttyS0 9600 on the client
>
> and can't ping 192.168.0.x from either machine.
try :
route add 192.168.0.2 ppp0
on the first machine
and:
route add 192.168.0.1 ppp0
on the other one.
Depending on what exactly you want to do, you might want to make those
network or default routes , instead of direct host routes.
Frank
>
> I must be missing something pretty basic here ???
>
>
>
>
>
> ------------------
> [EMAIL PROTECTED]
> ------------------
>
HI! I'm a .signature virus! cp me into your .signature file to help me spread!