Guide to setting up PPP
The 10 minute guide to user ppp (ijppp) for Freebsd 2.2.7-2.2.8
This is not meant to make you a ppp expert, it is ment to get you on the net.
This only covers dynamic ip
copy /etc/ppp.conf.sample to /etc/ppp.conf
create a /etc/ppp.linkup that contains the following:
add 0 0 HISADDR
That is all ya really need in the ppp.linkup for dynamic ppp
for the ppp.conf you need to make sure you have the default section.
set log Phase Chat Connect Carrier LCP IPCP CCP tun command
set device /dev/cuaa0
set redial yes 1000
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\
dATDT\\T TIMEOUT 40 CONNECT"
This sets the com port to 1 (sio0) for the modem
Also sets it to redial 1000 times.
You need a section for your isp then:
set phone 5555555
set login "TIMEOUT 5 ogin:--ogin: myusername word: mypasswd"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add 0 0 HISADDR
You will need to change the fone number, username and password
You can also modify the login line if your isp requires some scripting or such
The ifaddr line allows your isp to assign your ip to your machine
Changes for 2.2.8 that I have found:
must change set log line in the default section of the ppp.conf.
This one will work for 2.2.8:
set log Phase Chat LCP IPCP CCP tun command
To invoke ppp and have it allow other machines on you LAN access to the internet use the -alias command such as
ppp -alias my-isp
You can go into real elaborate NATD configurations, but this will get you up and going.
I can not promise you that I can fix your problems, but hell its worth a shot.