HELP ppp server not connecting ppp to internet

HELP ppp server not connecting ppp to internet

Post by Bill Unr » Sat, 18 Jul 1998 04:00:00



HELP
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
RedHat 5.1

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
working?)
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?

 
 
 

HELP ppp server not connecting ppp to internet

Post by Bill Unr » Sun, 19 Jul 1998 04:00:00



Quote:>HELP
>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
>RedHat 5.1
>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
>working?)
>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
/etc/sysconfig/network
which had
FORWRD_IPV4=no
That needed to be changed to
FORWARD_IPV4=yes
and after that
/etc/rc.d/init.d/network reload
(?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
/etc/mgetty/login.conf).

b)Make sure that IP forwarding is on. Look at the /etc/sysconfig/network
file to see that key line
FORWARD_IPV4=yes

c) mgetty dies at the end of each session. To start it up again
automatically you need to put a line
S1:345:respawn:/sbin/mgetty ttyS1
(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)

 
 
 

1. Help! PPP Connects but apps say not connected.

Thanks to several of you I have now got my machine dialing into my ISP
account using PPPd successfully.  I have checked /var/adm/messages and my
dynamic IP address as well as the IP address of my server is being
transmitted to me.

My problem is that after I am connected and I go to start FTP or Telnet,
or any Internet app I get the message "not connected".  Any suggestions??

Any help would be greatly appreciated.

Thanks

Chris Thomas

2. ADM8211 Linux driver

3. HOME NETWORK CONNECT TO INTERNET BY PPP NOT WORK !!

4. Kppp timeout

5. PPP and PPP and PPP and PPP and PPP and HEADACHE

6. won't boot dos partition

7. PPP problem. PPP connects constantly, not on demand.

8. Remote Printing ?

9. PPP problem. PPP connects constantly, not

10. User ppp and Netware Connect 2.0 ppp server?

11. PPP can connect but couldn't connect to internet

12. PPP connected to host but still can't connect to internet!

13. help: Connecting Intranet to Internet using Linux & PPP