Listing 4. options.kenya
# file: /etc/ppp/options.kenya
#
# kernel ppp options on "dial-in" host "congo"
# --initialized for remote host "kenya"
#
# wcm, 2001.10.01 - 2001.10.26
# ===
# log debug output:
debug
# for server, keep connected to incoming serial line:
nodetach
# 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
# as server, wait for other end to send ppp packets:
passive
# don't require "client" to authenticate:
noauth
# drop connection if idle:
idle 120
# ip address setup:
# myaddr:hisaddr (congoppp:kenyappp)
10.0.10.241:10.0.10.243
# for ppp, use this netmask:
netmask 255.255.255.255
# set mtu for our slow connection:
mtu 320
# NOTE:
#
# due to high latency of radio modem, we increase
# retry timeouts on lcp and ipcp negotiations (which
# otherwise default to 3 seconds):
#
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.kenya
Copyright © 1994 - 2019 Linux Journal. All rights reserved.