Customer Service - Linux Configuration Guide

Connecting to Access Internet with Linux
Here are the basic instructions for connecting to Access Internet using a
Linux based system. It is assumed that you have root access and
are capable of locating and editing some simple files on your Linux system. 

Linux connections are established using the pppd program which must be
installed on your system - it comes with all the standard distributions of Linux. 

Kernel Configuration
Your kernel must be configured to support TCP/IP networking and PPP,
all standard distributions on Linux come pre-configured with this support.
Kernel building is beyond the scope of this document and you should refer to
one of the excellent 'How-To' files for more information. 

You will know if PPP networking is not supported by your kernel if you get a
message like PPP not supported in this system when you try to start the PPP
program. If in doubt, try typing simply pppd when logged in as root; if you get
a line of gobbledy-gook repeated for 40 seconds then all is well. 

System Files
The following files reside in the /etc directory and should contain the
lines shown... 

/etc/hosts.deny 

ALL: ALL


/etc/hosts.allow 

ALL: 127.0.0.1


/etc/resolv.conf 

search .
nameserver 203.24.23.2
domain accessin.com.au


/etc/hosts 

127.0.0.1 localhost 
0.0.0.0 your-user-id


/etc/networks 

loopback 127.0.0.0 
localnet 0.0.0.0 


/etc/mailname 

accessin.com.au


PPP Configuration
The PPP configuration files reside in the /etc/ppp directory. Remove
the file called chap-secrets if it exists, then check this one: 

/etc/ppp/pap-secrets 

your-user-id * your-password


And create this one: 

/etc/ppp/chatscript 

TIMEOUT 5
"" ATZ
OK ATDT95920300
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT WAITING
TIMEOUT 45
CONNECT ""


PPP Startup
There are many ways of starting and stopping your dial-up
connection, and it can be automated to various degrees using utilities
such as the diald program. 

This is the basic command necessary to initiate a connection... 

exec pppd connect 'chat -v -f /etc/ppp/chatscript' -detach crtscts
modem defaultroute user your-user-id /dev/modem 38400

A simple Ctrl-C will stop the connection when you are done.