AT&T's Worldnet Service uses
standard PPP (Point-to-Point Protocol) with CHAP
(Challange Handshake Authentication Protocol). While
Windows 3.1x or Windows 95 is required to register a
new account, other operating systems that support PPP
with CHAP can be used once an account is registered.
Unless you have already configured
your Linux system to use PPP to another Internet
Service Provider, connecting to Worldnet from Linux
will take a little bit of work (recompilling the
Linux kernel). Here are a few here
a few reasons why one might want to do this bit of
work.
If you have used PPP to connect to
other ISP's from Linux, and pretty much know what you
are doing try reading the Expert
Notes below.
The Instructions
-
If you have
not already done so, activate your Worldnet
account using the installation disks.
-
If you have
already succesfully installed and used PPP
with other ISP's, skip to step 5.
-
Get a copy of ppp-2.1.2d.tar if your kernel is version 1.2.x, or ppp-2.2.0f.tar for kernels >=3D 1.3.x.
-
Follow the
directions contained within the ppp package
for rebuilding your kernel with PPP support
and for installing pppd and chat.
-
Get a copy of
the file WORLDNET\PROGRAM\REG.INI
(WORLDNET\DIALER\REG.INI
for
Worldnet version 1) and use the settings in
the scripts below.
-
Add the
following line to the file /etc/ppp/chap-secrets=
999999999(a)worl=
dnet.att.net
* "password" *
where 9999999999=
has been replace by number on the
"Name" line of REG.INI and password
is replaced the value on the
"Password" line. The quotation
marks around the password are important to
protect any special characters that might
appear in the password.
-
Create, the
following script, substituting the proper
values for $NAME and $PHONE.
I have given my script the name /usr/sbin/ppp-on.
#!/usr/bin/perl
#
# Script to establish connection from a Linux system to worldnet via PPP.
#
# Look at WORLDNET\PROGRAM\REG.INI(WORLDNET\DIALER\REG.INI and ATT.SR=20
# under Worldnet version 1)to get the following settings
#
$DOMAIN=3D"worldnet.att.net"; =20
$SEARCH=3D$DOMAIN;
$NAMESERVER1=3D"204.127.160.1"; =20
$NAMESERVER2=3D"204.127.129.1"; =20
$NAMESERVER3=3D"204.127.129.2"; =20
$NAME=3D"999999999\@worldnet.att.net";
$PHONE=3D"6213400"; # Cambridge, MA =20
$MODEM=3D"/dev/modem";
$resolv =3D '>/etc/resolv.conf';
open(CONF,$resolv)|| die "Cannot open file: $resolv.\n $! \n";
print CONF "\#resolv.conf - created automatically by ".$ARGV[0]."\n";
print CONF "domain ".$DOMAIN."\n";
print CONF "search ".$SEARCH."\n";
print CONF "nameserver ".$NAMESERVER1."\n";
print CONF "nameserver ".$NAMESERVER2."\n";
print CONF "nameserver ".$NAMESERVER3."\n";
$command=3D"/usr/sbin/pppd name \"".$NAME."\"".
" -d connect \'/usr/sbin/chat -t 45 -v ABORT BUSY \"\" ATDT".
$PHONE." CONNECT \"\"\' ".$MODEM.
" 57600 noipdefault modem defaultroute crtscts";
$ENV{'PATH'} =3D ''; # Make $ENV{'PATH'} untainted
system($command);
Executing this
script should then startup up a connection to
worldnet. Give the script a permission of
4755 (chmod 4755 /usr/sbin/ppp-on) if you
want to be able to startup the internet
connection from accounts other than root.
This script is
a bit fancy in that it writes to the file /etc/reso=
lv.conf
the domain name and the nameserver numbers.
This can be handy if you have several similar
scripts for different ISP's, each of which
has its own domain name and nameservers. If
perl is not available, or you want a simpler
script, edit /etc/resolv.conf
to
contain
domain worldnet.att.net
nameserver 204.127.160.1
nameserver 204.127.129.1
nameserver 204.127.129.2
and use the
following the following script startup PPP
(replacing the login name and phone number
with appropriate values.)
/usr/sbin/pppd name "99999999=
9(a)worldnet.att.net" -d connect \
'/usr/sbin/chat -t 45 -v ABORT BUSY "" ATDT1111111 CONNECT ""' \
/dev/modem 57600 noipdefault modem defaultroute crtscts=20
-
Optionally,
one may optionally add a script to disconect
ppp. The following is an example of /usr/sbin/ppp-off=
#!/bin/sh
# ppp-down - simply kills the ppp-daemon
kill `ps -a | grep pppd | grep -v grep | cut -b 1-6`=20
Mail and News
The values of
NNTP_HOST, SMTP_HOST, POP_SERVER, POP_PASSWORD, and
EMAIL_ADDR can be extracted from WORLDNET\PROGRAM\REG.INI=
code>
and used in whatever pop-mail and news software you
choose. The Linux version Netscape 2.0 or Netscape
3.0 handle both mail and news fine.
Ed Kelley's A
Visual Guide to configuring Netscape 3.0 under Windows 95 may provide some guidance
towards setting up Netscape 3.0 under Linux.
PPP utilities and
References
A number of PPP utilities are
available to enhance the use of PPP on Linux. For
example, I use tkppp to give a
convenient GUI to start and stop my Worldnet
connection as well as to keep track of hours of
usage.
Additional information
on networking and PPP under Linux can be found in The Linux Network Administrators' Guide and the Linux PPP HOWTO. =
p>
The newsgroups linux.dev.ppp=
and comp.os.l=
inux.networking can also be useful.
If you are already
using PPP to other ISP's there are essentially just
two possibly new things that need to be done. First,
since Worldnet uses CHAP, you must put your username
and password (as found in REG.INI) into the file /etc/ppp/cha=
p-secrets
like so: 999999999(a)worldnet.att.net *
"password" *
Secondly, the chat
script should only go as far as getting the phone
dialed in. CHAP will take care of passing username
and password. For example:
usr/sbin/pppd name "999999999(a)world=
net.att.net" -d connect=20
'/usr/sbin/chat -t 45 -v ABORT BUSY "" ATDTthephonenumber CONNECT ""' \
/dev/modem 57600 noipdefault debug modem defaultroute crtscts=20
Additional Notes
Some people connecting
to Worldnet with Linux report that it is necessary to
add the flag +chap
to the pppd command
line. However, in most cases, things will not work at
all if this flag is used
Last Update 22 September 1996 =20
If you try these
instructions, successfully or unsuccessfully, please
send me a note at saw(a)worldnet.att.net.
© 1996, Stephen A. Wood
Questions
or comments regarding this web site should be
directed to the WURD Master. Please do not write to us
asking for technical support. If you need
technical assistance and are a WorldNet
member, post a message in our newsgroup. If you have anything you
would like to submit to the WURD for
publication, please use the same email
address.
This website is provided by
AT&T WorldNet Service as a User's
Solutions Website. AT&T does not approve,
support, warrant, guarantee or otherwise
endorse any information contained in this
website nor any of the information linked to
from this site. This website is maintained by
the user's of AT&T WorldNet Service. Use
at your own risk.
© Copyright 1996.
AT&T Corp. All rights reserved. AT&T,
AT&T and Globe Design, and AT&T
WorldNet are service marks of AT&T. The
other marks which appear on this Web Site may
be marks of third parties that are not
affiliated with AT&T. AT&T and its
affiliates do not control or endorse the
content of third party Web Sites.
|