Linux PPP Configuration for RadixNet
------------------------------------
This short guide assumes a few things:
* You know how to get around in Linux.
* You know how to edit files.
* Your kernel supports asyncronous PPP (that is standard dialup).
* Your modem is supported by Linux and is accessible via /dev/modem.
The process of setting up PPP under Linux, while not well documented, is
not all that hard to actually do. It consists of setting up the dialer,
the pap-secrets, and chap-secrets file, and the modem. Because of the
numerous distributions of Linux, it is impossible to create a definitive
guide to easily setting up pppd. Some file locations may differ from
your setup, for example.
First thing to do is to select the access number you will use to connect
to RadixNet, this will determine which set of instructions to use:
Below is a list of dial-up access telephone numbers for the RadixNet
service area; including DC Metro, southern Maryland and
Columbia/Baltimore. If you have any questions about which number may
be the best to use for your area, please contact RadixNet Support.
1-500-699-RADX (7239)
This number is for customers in the Washington DC area (Alexandria,
Arlington, Charles County, Fairfax County, Loudoun County, Montgomery
County, Prince Georges County, St Mary's County, and Washington DC) who
are using Verizon as their local phone provider.
NOTE: The 500 number is toll free, however if you are using an alternate
provider for your local phone service, you will need to contact them to
make sure there are no charges associated with the use of this number.
301-253-1173
For customers in Frederick.
301-627-5393
For customers in northern Calvert County.
410-326-1744
For customers in southern Calvert County.
410-721-9110
For customers in Anne Arundel County and Annapolis.
410-740-2746
For customers in Columbia/Howard County and southern Baltimore.
410-766-3224
Alternate number for Anne Arundel County.
703-690-3880
For customers in Prince William County.
Alternates for the 500 number:
301-749-8060 - DC/Metro exchanges, 33.6k
301-749-2230 - DC/Metro exchanges, 56k V.90
703-818-7060 - Northern Virginia, 56k V.90
301-593-6575 - Montgomery County, 33.6k
301-863-1700 - St Mary's County, 56k V.90
1) If you used the one of the following access numbers (1-500-699-7239,
410-740-2746, 410-766-3224), follow steps 2-7, otherwise follow steps
8-13.
2) Setting up passwords: PPP requires authentication to build a connection.
This is done via your username and password. (Replace username with your
real username, and password with your actual password.) Place the
following into /etc/ppp/pap-secrets:
"username" * "password"
* "username" "password"
The switching on the second line is to properly handle reverse
authentications from the dialup equipment back to the local computer.
3) Set up the chat dialer: The "chat" dialer is used by ppp to dial up
to the pop, and handle the modem handshake portion of the connection.
Create the file /etc/ppp/chatscript, and place the following into it,
remembering to replace PHONENUMBER with the actual phone number of the
pop:
"" "ATDT *70,PHONENUMBER"
CONNECT ""
4) Set up the options file for PPP: Put these commands into
/etc/ppp/options:
debug
asyncmap 0
crtscts
lock
defaultroute
modem
user YOURUSERNAME
57600
/dev/modem
5) Set up a connect script for PPP: This can be done by simply creating a
file in /usr/sbin/ called "ppp-on" and place this in it:
#!/bin/sh
/usr/sbin/pppd connect 'cat -f /etc/ppp/chatscript'
And after doing that, make sure to make it executeable by running:
"chmod +x /usr/sbin/ppp-on".
6) If you wish to setup /etc/resolv.conf, it should contain the following:
domain radix.net
nameserver 207.192.128.35
nameserver 207.192.128.36
7) Give it a try by running "/usr/sbin/ppp-on" and you should hear the
modem dial and connect to RadixNet. To terminate the connection:
"killall pppd"
Continue on to 'Email and News Settings.'
8) Cut out everything between the dashed lines below and save it to a file
called RadixNet.ppp.
-----------------------------------------------------------
#!/bin/sh
#
# This script starts up a PPP session with RadixNet
/usr/sbin/pppd connect '/usr/sbin/chat "" ATDT3017492230 CONNECT "" \
adixNet ppp name word: ' crtscts lock \
modem defaultroute noipdefault asyncmap 0 /dev/modem 57600
------------------------------------------------------------
9) Change and to be your login ID and password.
10) Change '3017492230' to the RadixNet access number you will be using.
11) At the shell prompt execute:
"chmod +x RadixNet.ppp"
12) Make sure that you have /etc/resolv.conf set up correctly. It should
contain the following:
domain radix.net
nameserver 207.192.128.35
nameserver 207.192.128.36
13) As root, run:
./RadixNet.ppp
You should hear the modem dial and connect to RadixNet. To terminate
the connection, "killall pppd".
To see what's happening during the login procedure you can add a '-v'
after the 'chat'. This will cause the entire session to be logged into
/usr/adm/messages. Sometimes this may help in debugging.
Email and News Settings
-----------------------
Use the following settings to configure your email software:
Incoming Mail (Pop3 Server): pop.radix.net
Use your RadixNet userid and password to login to this server.
Outgoing Mail (SMTP Server): mail1.radix.net
A userid is not required for this server.
News Server (NNTP Server): news.radix.net
A userid is not required for this server.
|