PPP Connection Setup


Here are instructions on how to setup a PPP connection

#1 install ppp and mgetty
rpm -ivh ppp-2.4.1-2.i386.rpm
rpm -ivh mgetty-1.1.26-6.rpm

#2 add S1:2345:respawn:/sbin/mgetty ttyS1
to /etc/inittab file
Where S1 and ttyS1 is for COM Port 2
and S0 and ttyS0 is for COM port 1

#3 Edit mgetty.config under /etc/mgetty+sendfax
port ttyS1
 direct Y
 speed 115200
 data-only y
 
#4 Edit /etc/mgetty+sendfax/login.config
Uncomment
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug

#5 Edit /etc/ppp/options
netmask 255.255.255.0
nocrtscts
lock
proxyarp
local
auth
login

#6 Create a file /etc/ppp/options.ttyS1
192.168.1.1:192.168.1.2

#7 Create /bin/ppp
#!/bin/sh
exec /usr/sbin/pppd -detach

#8 Edit /etc/passwd
larry:x:500:500::/home/larry:/bin/ppp

#9 Edit /etc/ppp/pap-secrets
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
larry           *       ""