Setting
Up Your Linux 2.2 / 2.3 Connection
DISCLAIMER
- Although Niagara Internet offers up the following
information for assisting you in setting up a LINUX
dial-up computer to work with Niagara Internet, we
do not offer additional direct support for LINUX.
Here
is the information for configuring PPP for LINUX 2.2
and 2.3 to connect with Niagara Internet's 56K digital
modems.
Find
below, two bash scripts, and a pap-secret file. They
are titled and exist in the following locations:
purpose /location/filename
------------- --------------------
ppp-on script = /usr/sbin/ppp-on
dialer script = /etc/ppp/ppp-on-dialer
secrets file = /etc/ppp/pap-secrets
NOTES:
ADDITIONAL
DISCLAIMERS:
Niagara Internet cannot guarantee that the following
scripts will work on your machine nor provide technical
support in trouble-shootingmessages reported to your
error-logs. We recommend, if you have difficulties
with LINUX PPP, you post any additional questions
to the appropriate mailing lists and USENET newsgroups.
These scripts
are taken directly from those distributed with the
PPP source code and contain the minimum modifications
required to connect to SYSR. You may find there are
more useful utilities and scripts available elsewhere.
-----------------------------------------------------------
ppp-on script = /usr/sbin/ppp-on
-----------------------------------------------------------
#!/bin/sh
#
# FILENAME = /usr/sbin/ppp-on
#
# UNCOMMENT THE LOCAL ACCESS PHONE NUMBER YOU NEED.
# CONSULT YOUR LOCAL TELEPHONE PROVIDER TO FIND OUT
# WHICH NUMBER IS LOCAL ACCESS FOR YOU.
# SYSR CANNOT BE HELD RESPONSIBLE FOR ANY TELEPHONE
# CHARGES IF YOU CHOOSE A TOLL PHONE NUMBER
# TELEPHONE=614-0280
# TELEPHONE=614-0130
# TELEPHONE=280-0280
# TELEPHONE=280-0062
# TELEPHONE=405-0176
# TELEPHONE=405-0079
# TELEPHONE=203-0144
# TELEPHONE=203-0127
#
export TELEPHONE
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 115200 \
asyncmap 20A0000 escape FF kdebug 0 noipdefault defaultroute \
connect $DIALER_SCRIPT
-----------------------------------------------------------
dialer script = /etc/ppp/ppp-on-dialer
-----------------------------------------------------------
#!/bin/sh
#
# FILENAME = /etc/ppp/ppp-on-dialer
#
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT ''
-----------------------------------------------------------
secrets file = /etc/ppp/pap-secrets
-----------------------------------------------------------
# Secrets fo authentication using PAP
# FILENAME=/etc/ppp/pap-secrets
# cilent server secret acceptable local IP adresses
user_name_at_sysr * user_password_at_sysr
-----------------------------------------------------------