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:

  • In the ppp-on script, /dev/modem is symbolically linked to the correct serial device.
  • The example ppp-on script was written to connect to Niagara Internet's modem bank; select the correct access number for your location from the list below.
  • In the dialer-script, you will need to specify the correct modem init string for your modem to communicate correctly. Please check with your modem manufacturer's documentation for this.
  • You will need to add the following line to your /etc/ppp/options file, replacing "user_name_at_sysr" as appropriate;
    name    user_name_at_sysr
  • Additionally, the pap-secrets will need to be edited accordingly.
  • Your /etc/resolv.conf file should read,
    
    
    domain	    sysr.com
    
    nameserver   208.178.138.1

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



-----------------------------------------------------------


 

 

 

Home | About Us | Hosting | Dial-Up | Web Design | Support |Members' Area | Contact

This Site is ©2003 Niagara Internet - All Rights Reserved