JSP - Johnson's Server Project
SERVER - Dial-Up Modem

Modem Settings



edit /etc/ppp/ppp.conf
default stuff gets executed every time

default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cua00
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUE 5 \"\" AT OK-AT-OK ATE1QO OK \\dATDT\\T TIMEOUT 40 CONNECT"

myisp: (or whatever you call it) is executed on demand

myisp:
set phone 12345678 #enter the proper phone here
set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp"
set ifaddre 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
Nothing BelowNOTHING BELOW
/etc/ppp/options /dev/cua00
19200
defaultroute
lock (Sets a lock on the serial port so other programs know it's in use)
noipdefault (Allows the ppp daemon to negotiate the IP address with the ISP)
persist (keeps the connection up - redials is it is dropped)
name #### (Use ISP login name here)
connect "/usr/sbin/chat -v -f /etc/ppp/isp.chat"
/etc/ppp/isp.chat

Needs the phone number of the ISP
The chat script dials the number of the ISP, then waits for CONNECT
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "at"
OK "at&d0&c1"
OK atdt########### (Use ISP Phone Number Here)
CONNECT "" (if you don't wait for the CONNECT the pp daemon will exit because it doesn't have carrier)
/etc/ppp/pap-secrets

Needs the account name and password for the ISP
# Secrets for authentication using PAP
# client server secret IP addresses
loginname password ###### (enter your password here)

Kernel
When I tried to connect, I was told that there was no ppp support in the Kernel and that I should add the line
pseudo-device ppp 1
to the Kernel and recompile it


NO NO NO NO
Do
ifconfig ppp0 create
instead