|

Mini-HOWTO
Linux Dial-Up Connection to Mason Cluster including the fine print
which isn't printed elsewhere.

Caveats
 | Jan 2001, Linux RedHat 7 Gnome "Programs => Internet => Dialup
Configuration" panel (as root) correctly sets up the chat script to GMU relieving the
need to delete the "" from the end of the script as described below. That
is, most of the information below is now probably irrelevant. |
 | This information was developed with RedHat 5.1 (works also with RH 6.0 with addition of
one line in options file, "noauth", kjh) distribution, Linux version
2.0.34 (root@stokrotka) (gcc version 2.7.2.3) #2 Thu Aug 13 07:20:22 EDT 1998 [verified RH
6.1, Aug 2000] |
 | pppd |
 | PPP 2.3.11 |
 | Cyrix 686, 150 mHz[AMD-K6, 550 MHz] |
 | US Robotics Sportster voice 28.8 faxmodem, internal[US Robotics Sportster 56k] |
 | Netmonitor capture of NT4 RAS connection to Mason Cluster via PCMCIA modem |
 | Newsgroup comp.os.linux.networking
posting from khmi@keljukko.menet.fi
(Kalevi Hautaniemi) of 10 Aug 1998, 23:05:25 +0300 which is
INCORRECT for MasonCluster |
 | The assumption is that you have read the other relevant publicly available HOWTOs
and mini-HOWTOs, most of which come with the RedHat distribution under /usr/doc. |
Setup
- Most of the setup can be done using netcfg
- Names
- Hostname: enter the name of your local machine which you want to dial into Mason
- Domain: gmu.edu
- Nameservers:
- 127.0.0.1
- 129.174.1.8
- 129.174.1.3
- Hosts, the first and last entries are required
- 127.0.0.1
localhost lo localhost.localdomain
- 129.174.140.5
cpe.gmu.edu www.cpe.gmu.edu roza.gmu.edu
- 129.174.1.13
osf1.gmu.edu
- 129.174.xxx.xxx
name of your local machine which you use to dial in to the Mason cluster
- Interfaces
- Add a device
- ppp0
- PAP protocol
- your mason cluster user name (your name on osf1.gmu.edu
seems to work)
- your mason cluster password
- hardware flow control
- escape control characters (may not be needed)
- line speed, whatever your modem can handle, this is the speed from the computer to the
modem, not over the phone line
- Modem Port: /dev/modem,
make sure there is a symbolic link from /dev/modem
to your actual device
PPP Options: leave blank since options which are entered into the
/etc/ppp/options file and there is no
information on what netcfg will
accept as entries here (as opposed to what the pppd
(8) man pages say are the acceptable options)
. Modem Init String: ATZ,
this ends up in the /etc/sysconfig/network-scripts/chat-ppp0
chat script.
Modem dial command: ATDT,
ditto above
. Phone Number (student dialup): 7034262468
. If you check debug connection, read the pppd(8)
man pages cause you have to edit the /etc/syslog.conf
file to get the log. Also, everything is not logged using this debug command, only
the pppd exchanges with the
server. To debug the modem connection, you need to log the local2 data. That is, you need to add
something similar to the following two lines to /etc/syslog.conf
if you want to (need to?) debug
- # ppp (and other) daemon errors
- daemon.*
/var/log/ppp
- # ppp sample options menu says log is here
- local2.*
/var/log/pppalso
. Networking: only need to check the "set
default route..." option, others blank.
. PAP: Hmmm, sometimes has username and password, sometimes not, anyway, do not
need to add it here since it asks you for them as part of "add" script and they
seem to get put in the right place, namely the /etc/ppp/pap-secrets
file.
Be sure to save it when exiting netcfg
Fine tuning
- Verify that the /etc/ppp/pap-secrets file
looks something like this pap-secrets.proto file
- Verify that the /etc/ppp/options file looks something like options.proto file. In particular, it must have
the line
"name your_username_on_Mason_Cluster"
else ppp will user your computer name to try to authenticate.
- Verify that the modem chat script, /etc/syconfig/network-scripts/chat-ppp0
file looks something like chat-ppp0
- Here is the real Fine Print.... Make sure that there is no '' (double single apostrophes) in the last line
after 'CONNECTION'. There
must be NOTHING after the word 'CONNECTION'.
If you use lilnuxconf or control panel, these quotes will be automatically added.
If you still have problems, you can compare the output produced by the pppd debug option to the netmon output from NT4 which
contains extensive explanation of the individual bytes which are transmitted. This
link has been disabled when I noticed it was accessed from a "strange" site.
If you really need it, contact mailto:khintz@gmu.edu
To activate the ppp interface
- run netcfg (the network configurator)
- select interfaces
- select ppp0
- select activate
- [If you have RH 6.1 and are running Enlightenment window manager, you can go to the
System Menus (the one with the footprint), select Internet,
select RH PPP Dialer, and select ppp0.]
To close the connection
- As above, but select deactivate
- [RH 6.1, Enlightenment WM, left click on RH PPP Dialer to close]

Last edit 01/14/01 19:56
Maintainer of page: mailto:khintz@gmu.edu

|