Listing 6. options.codan
# file: /etc/ppp/options.codan
#
# kernel ppp options on field host ("kenya") making
# radio modem dial-up to radiohub server ("congo")
#
# wcm, 2001.10.01 - 2001.10.26
# ===
# log debug output:
debug
# set serial line (symbolic link to serial port):
/dev/modem 9600
# lock the port:
lock
# assume we are attached to a modem;
# (set this option to "local" for testing with null modem)
modem
# use hardware flow control:
crtscts
# don't require "client" to authenticate:
noauth
# drop connection if idle:
idle 120
# ip address setup:
# myaddr:hisaddr (kenyappp:congoppp)
# just accept ip addresses assigned by "congo" server:
# 10.0.10.243:10.0.10.241
# for ppp, use this netmask:
netmask 255.255.255.255
###
# WARNING:
#
# Do not be tempted to set "defaultroute" option!
# --Errant traffic on network may clog the
# low bandwidth of this link.
#
###
# set mtu for our slow connection:
mtu 320
# lengthen retry increments for high latency of radio modem:
lcp-restart 16
ipcp-restart 16
# NOTE:
#
# we have similar latency problems negotiating
# compression control protocol (CCP)
#
# since there are no options to alter the CCP retry timeout,
# as with lcp & ipcp, we simply disable it:
noccp
# add an asyncmap:
asyncmap 0x200a0000
#
# end file options.codan
Copyright © 1994 - 2018 Linux Journal. All rights reserved.