Home >
AAPT Information Library >
Dialup Configuration >
Linux
Dialling in with Linux
Important Information
These instructions guide you through setting up Linux to
connect to your account. It is expected that you should have some Linux
knowledge to begin with as AAPT does not support Linux configuration
and can offer no help other than what is printed on this page.
Step 1 - General PAP configuration
The following instructions are for Linux versions that do not
use any GUI interface.
-
First of all you will need to download three scripts and install them (as
per instructions below) so as to automate the login sequence. (You may need to hold down your SHIFT key at the same time as you click on each link).
ppp-on
ppp-off
ppp-on-dialer
-
You must create a file called /etc/resolv.conf and in that
file you need the following information
nameserver 203.8.183.1
nameserver 192.189.54.17 (Vic., Tas, S.A., W.A.) or
192.189.54.33 (Qld., N.S.W., ACT)
-
Ensure /usr/sbin is in your path i.e export PATH=$PATH:/usr/sbin
or if you are using csh then setenv PATH=$PATH:/usr/sbin ; export PATH
(if this is not in the path, you need to type these in from a command line).
-
Ensure pppd is installed and in your path by typing the following at the
command line...
$ which pppd
you should then see the following if it is installed...$ /usr/sbin/pppd
If it is not installed you can go to http://electron.phys.dal.ca/PPP-HOWTO.html
to read how this is done.
-
Make the files executable for root i.e. chmod 700 /etc/ppp/ppp-on-dialer
/usr/sbin/ppp-on /usr/sbin/ppp-off
-
Edit /etc/ppp/ppp-on-dialer and add your username (e.g. jbloggs@connect.net.au),
password and POP phone number you dial with a text editor
(you will see where it says username@domain and your password in the script).
-
In another terminal or in the same one tail your messages so you
can see what will happen i.e. tail -f /var/log/messages&
-
You are now ready to login, from the command line type ppp-on
and you should see a display something akin to the following...
Jan 22 11:36:13
genesis pppd[29428]: pppd 2.2.0 started by root, uid 0
Jan 22
11:36:39 genesis pppd[29428]: Serial connection established.
Jan 22
11:36:40 genesis pppd[29428]: Using interface ppp0
Jan 22
11:36:40 genesis pppd[29428]: Connect: ppp0 <--> /dev/modem
Jan 22
11:36:42 genesis pppd[29428]: local IP address 210.xxx.xxx.xxx
Jan 22
11:36:42 genesis pppd[29428]: remote IP address 210.xxx.xxx.xxx
(the 210.numbers
are the IP numbers WE allocate to you when a connection is made).
-
You can now run your web browser, email client or whatever.
-
To disconnect type the following ......ppp-off
Step 2 - Manual login configuration
After downloading and installing the above scripts follow these instructions.
-
At the command prompt type in echo /usr/sbin/pppd defaultroute /dev/modem
38400" > /bin/ppp-manual (the 38400 is the baud rate of your modem
that YOU specify. You can use 115200 if you want).
-
At the command prompt type in chmod 700 /bin/ppp-manual.
-
At the prompt type in /usr/bin/minicom or just type minicom.
-
At the prompt type in type atdtPHONENUMBER and your modem will begin
to dial the number of our POP.
-
AAPT's login prompt will appear and you will have to log in manually
with your full username and password.
-
After you see the ppp garbage on your screen hold down your control
key and the letter A and then Q
(if you are using RED HAT vers 5.0 or later you hit ALT A
and then Q).
-
You will be prompted if you want to quit without reset . Say yes
-
You will now be at the promt again type /bin/ppp-manual (quickly)
and hit your enter key.
-
Type /sbin/ifconfig the PPP group of lines should look like
this
ppp0 Link encap:Point-to-Point
Protocol
inet addr:203.57.203.33 P-t-P:203.9.148.5 Mask:255.255.255.240
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:5196 errors:0 dropped:0 overruns:0 frame:0
TX packets:5473 errors:0 dropped:0 overruns:0 carrier:0 coll:0
(If it doesnt look like this then you need to consult the ppp HOWTO
manual mentioned above).
-
You will now be at the prompt and to test that you are connecte ok you
can ping www.connect.com.au and you will get ping responses back.
-
You can now run your browser/email program/telnet or whatever.
-
To disconnect you type the following....ppp-off
Remember that you are billed for the time that your connection is open.
Please ensure that you close your connection when you have finished.