53c9f6c0c4
o Supporting SYNC SIO device (But need a device driver) - add "set speed sync" o Fixing bug for Predictor-1 function. o Add new parameter that re-sent interval for set timeout commands. o Improving RTT (Round Trip Time) and reducing processor time. - Previous Timer service was using polling, and now using SIGALRM ;-) - A 0.94beta2 will not work correctly.... -- Follows are additinal feature not including 0.94beta2 o Support Proxy ARP - add "enable/disable proxy" commands o Marging common routine in CHAP/PAP. o Enhancing LCP/IPCP log information. o Support local Authfication connection on port 300x and tty. - You can set up pair of your "hostname -s" and password in ppp.secret. if either ppp.secret file nor your hostname line don't exist, It will notify a message and working as same as previous version.(Backword compatibility) - If you did set up them, It's allow connection but nothing to do except help and passwd command. - add "passwd yourpasswd" commands o Support afilter - keep Alive filter that a packet can send/receiving according to ifilter/ofilter but doesn't count it as preventing idle timer expires. - Same syntax of other filters. o Fixing bugs reported by current user for previous one. Thanks !! Reviewed by: Atsushi Murai (amurai@spec.co.jp)
127 lines
3.4 KiB
Plaintext
127 lines
3.4 KiB
Plaintext
#################################################################
|
|
#
|
|
# PPP Sample Configuration File
|
|
#
|
|
# Written by Toshiharu OHNO
|
|
#
|
|
# $Id: ppp.conf.sample,v 1.1.1.1 1995/01/31 06:24:33 amurai Exp $
|
|
#
|
|
#################################################################
|
|
#
|
|
# Default setup. Executed always when PPP is invoked.
|
|
#
|
|
default:
|
|
set device /dev/tty01
|
|
set speed 38400
|
|
disable lqr
|
|
deny lqr
|
|
set dial "ABORT BUSY ABORT NO\\sCARRIR TIMEOUT 5 \"\" AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
|
|
#
|
|
# Example with login script
|
|
# o From PPP prompt,
|
|
# ppp> dial simplesite
|
|
# will automatically dials and perform login procedure.
|
|
#
|
|
# ppp> load simplesite
|
|
# will also load and execute commands, but don't dial.
|
|
#
|
|
# o From shell, invoke as
|
|
# % ppp simplesite
|
|
# will load commands associated with the label. Use,
|
|
# ppp> dial
|
|
# to establish the connection.
|
|
#
|
|
simplesite:
|
|
set phone 12345678
|
|
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
|
|
set timeout 120
|
|
#
|
|
# If peer reqires to use CHAP, don't forget to supply authname and authkey.
|
|
#
|
|
# If you'd like to use CHAP to authentificate peer, comment out the line
|
|
# ``enable chap'' below. You also need to prepare /etc/ppp.secret.
|
|
#
|
|
# If remote system sends its system name within CHAP packet and it is
|
|
# found in /etc/ppp.secret, then secret key is taken from the file and
|
|
# value of authkey is ignored.
|
|
#
|
|
chapsite:
|
|
set phone 12345678
|
|
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
|
|
deny pap
|
|
accept chap
|
|
# enable chap
|
|
set authname MySystemName
|
|
set authkey OurSecretKey
|
|
#
|
|
# To speak PAP is just smilar to CHAP
|
|
#
|
|
papsite:
|
|
set phone 12345678
|
|
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
|
|
deny chap
|
|
accept pap
|
|
# enable pap
|
|
set authname MyUserName
|
|
set authkey MyPassword
|
|
#
|
|
# On demand dialup example
|
|
# Here, we assume that local side use 192.244.185.226 and
|
|
# remote side use 192.244.176.44 as their IP address.
|
|
# You must supply -auto option to invoke PPP.
|
|
#
|
|
# ex. % ppp -auto ondemand
|
|
#
|
|
ondemand:
|
|
set phone 1234567
|
|
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
|
|
set timeout 120
|
|
set ifaddr 192.244.185.226 192.244.176.44
|
|
add 0 255.255.255.0 192.244.176.44
|
|
#
|
|
# Another on demand example
|
|
# If peer assign some IP address for us, and we can't predict it
|
|
# until we make a connection, use 0 as local side address.
|
|
#
|
|
pmdemend:
|
|
set phone 1234567
|
|
set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
|
|
set timeout 120
|
|
set ifaddr 0 192.244.176.44
|
|
add 0 255.255.255.0 192.244.176.44
|
|
#
|
|
# Example to validate incoming user with CHAP
|
|
# Invod as ``ppp -direct users'' from login script. User's system name
|
|
# and secret-key must be registered into /etc/ppp.secret.
|
|
# IP address assigned to peer is registered in ppp.secret, then that
|
|
# value is used and value in ``ifaddr'' command has no effect.
|
|
#
|
|
users:
|
|
disable pap
|
|
enable chap
|
|
enable proxy
|
|
set authname ppp-server
|
|
set ifaddr 192.244.176.44 292.244.184.31
|
|
#
|
|
# Example of Callback Request
|
|
#
|
|
# Here, we assume that peer will hangup the line and initiates a callback
|
|
# after successful authentification. We simply use chat script capabiluty
|
|
# and wait for a "NO CARRIRER" response from our modem.
|
|
#
|
|
# % ppp callback
|
|
#
|
|
callback:
|
|
set phone 0312345678
|
|
set login "ABORT NO\\sCARRIER TIMEOUT 5 login:-\\r-login: MyName word: MySecret TIMEOUT 20 DUMMY"
|
|
set debug phase chat
|
|
dial
|
|
quit
|
|
#
|
|
# Example for PPP/TELNET and PPP/TCP. Read doc for further details
|
|
#
|
|
ppptelnet:
|
|
set escape 0xff
|
|
ppptcp:
|
|
set device 192.244.191.33:2400
|