Connecting to AT&T Worldnet via ppp

There is an excellent document on connecting with ppp.

Here is how to connect to AT&T Worldnet via ppp. I am using Debian 2.1 on a SONY Vaio PCG-505F notebook.

Here is how I did it.

1. Remove (save somewhere else) /etc/ppp/options.

2. Edit /etc/ppp/peers/provider.

Here "999999999" stands for my personal AT&T account name (a number).

*************************************************************************
/etc/ppp/peers/provider
*************************************************************************
# This file was generated by pppconfig.  You can edit the following lines
# but please do not delete lines or the change the comments or you will
# confuse pppconfig.
noauth         #pppconfig_noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"  #pppconfig_connect
debug          #pppconfig_debug
/dev/ttyS1       #pppconfig_dev
115200      #pppconfig_speed
defaultroute         #pppconfig_route
noipdefault      #pppconfig_ipdefault
user '999999999@att.net' #pppconfig_user
# End of pppconfig controlled lines.  You can add lines below here without
# confusing pppconfig.
noproxyarp
asyncmap 0
crtscts
lock
modem
lcp-echo-interval 60
lcp-echo-failure 4
noipx
*************************************************************************
3. Edit /etc/ppp/chap-secrets.

Here "999999999" stands for my personal AT&T account name (a number) and "aaaaaaaaaaaaaaaaa" stands for my personal AT&T account password (an alpha-numeric).

*************************************************************************
/etc/ppp/chap-secrets
*************************************************************************
# Secrets for authentication using CHAP
# client	server	secret			IP addresses

# The next line was added by pppconfig for provider.
999999999@att.net * "aaaaaaaaaaaaaaa" *

*************************************************************************
4. Edit /etc/chatscripts/provider

Here "999999999" stands for my personal AT&T account name (a number) and "88888888" stands for my local AT&T access phone number.

*************************************************************************
/etc/chatscripts/provider
*************************************************************************
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE" 
ABORT "NO ANSWER"
"" ATZ
OK ATDT88888888
ECHO ON
CONNECT \d\c
on: 999999999@worldnet.att.net
*************************************************************************
5. Edit /etc/resolv.conf

*************************************************************************
/etc/resolv.conf
*************************************************************************
domain worldnet.att.net
nameserver 204.127.160.1
nameserver 204.127.129.1
nameserver 204.127.129.2
*************************************************************************
6. (As root) 'adduser bfkelly dip'

After performing these six steps, I am able to run 'pon'. This quickly gives back curser control (i.e., pppd runs in the background). After a moment or two, running 'ifconfig' shows that there is a connection (ppp0 shows up). At this point, I am able to ftp to debian.org, so I know things are working.


Feedback: blair.kelly@att.net