PPP

From Hackepedia
Revision as of 15:54, 24 October 2005 by Sysadmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Point to Point protocol, most commonly used now as PPPoE (Over Ethernet). Here is a sample /etc/ppp/ppp.conf from FreeBSD 5.4-RELEASE. As always replace the variables:

default:
set log Phase Chat IPCP CCP tun command
set device PPPoE:$sis0
set mru 1492
set mtu 1452
add! default HISADDR
test:
set authname test@test
set authkey  test
set dial
set login
myisp:
set authname $ISP_userid
set authkey  $ISP_Password
set dial
set login
enable dns

"default" above identifies variables that will be shared across your various ppp connections. It is possible to have multiple, the author of this has 2 PPPoE sDSL connections for example. I left "test" above as many Redbacks allow this username/password combo for testing.

# ppp
ppp> ddial test

if all three letters in your prompt turn capitalized, it's working. At that stage you can try

# ppp -ddial myisp

and then check ifconfig and your ppp.log which is usually found in /var/log.