>I am trying to set up a ppplink from my home machine to my university
>machine. Lets call the first HM and the other RH since it is running
>I first loaded the kernel modules ppp.0, slhc.o and bsd_comp.o. (were
>there others I should have loaded? How do I know tht they are actually
>put mgetty into init on the serial port ttyS1 (again, instructions to do
>this in the documentation would have been helpful)
>Then I set up AutoPPP on mgetty, and I am able to get a pppconnection to
>that host RH. The problem is that thee is absolutely interface between
>ppp and the outside world. Ie, I can now telnet inot the RH machine from
>the HM machine. but I have no contace with any other machine in the
>world. Yes, I did do proxyarp and also tried defaultroute for pppd, but
>nothing seeems to allow the ppplink to talk to the eth0 link on RH.
>What have I done wrong?
Well, after many hours or wasted effort I found it. IP Forwarding was
switched off (I did not even know you could switch it off!!)
There was a little variable in
That needed to be changed to
and after that
(?Is that the right thing or use probe or restart instead?)
Anyway, it now works. How come IP forwarding was off? Is this ithe
default or was this some option I stupidly chose when I set up RH? Why
in the world would anyone want it off?
So to make PPP work
a) The ppp on many PCs runs the ppp before logon. Thus the username ans
password are actually the PAP authenticatin. You cannot use them to sign
onto some account ant then run the ppp script. You have to make use of
the ppp scripting possibility of your PC system.
If you want to use the regular way (without a long script), then use
mgetty on your Linux machine, which recognises the ppp setup on initial
dialin and allows you to handle it using the AutoPPP (set up in
b)Make sure that IP forwarding is on. Look at the /etc/sysconfig/network
file to see that key line
c) mgetty dies at the end of each session. To start it up again
automatically you need to put a line
(for com2, and S0 for Com1 I believe.)
All three of those things spent me hours of time to learn.
Oh and read the PPP-HOWTO as well (but none of those are in there except
elliptically the first)