Here's a list of the relevant information to do with the ppp
connection. As for the type of modem I'm using, it's the USR
Sportster model 325686-03. Let me know if you see something wrong
with my scripts. (Just to let you know I've put *'s in place of my
username and password. ) If there is other information that may be
helpful in debugging this problem please let me know.
Thanks for all your help.
ifconfig output:
----------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:142.150.128.245 P-t-P:142.150.128.13
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:552 Metric:1
RX packets:3 errors:1 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:42 (42.0 b) TX bytes:63 (63.0 b)
route -n output
----------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
142.150.128.13 0.0.0.0 255.255.255.255 UH 0 0
0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
0 lo
0.0.0.0 142.150.128.13 0.0.0.0 UG 0 0
0 ppp0
/etc/ppp/options
-----------------
# Uncomment the line below for more verbose error reporting:
lock
-detach
debug
noipdefault
modem
38400
crtscts
defaultroute
asyncmap 0
mtu 552
mru 552
0.0.0.0:0.0.0.0
/dev/modem
connect "/usr/sbin/chat -v -f /etc/ppp/pppscript"
/etc/ppp/pppscript
-----------------
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT&FH0"
OK "atdt4169780449"
TIMEOUT 75
CONNECT ""
name: \d********
word: \q********
in> "ppp default"
/var/log/messages
-----------------
Jul 20 18:03:11 amdlinux pppd[324]: pppd 2.4.1 started by root, uid 0
Jul 20 18:03:12 amdlinux chat[326]: timeout set to 60 seconds
Jul 20 18:03:12 amdlinux chat[326]: abort on (ERROR)
Jul 20 18:03:12 amdlinux chat[326]: abort on (BUSY)
Jul 20 18:03:12 amdlinux chat[326]: abort on (NO CARRIER)
Jul 20 18:03:12 amdlinux chat[326]: abort on (NO DIALTONE)
Jul 20 18:03:12 amdlinux chat[326]: send (AT&FH0^M)
Jul 20 18:03:12 amdlinux chat[326]: expect (OK)
Jul 20 18:03:12 amdlinux chat[326]: AT&FH0^M^M
Jul 20 18:03:12 amdlinux chat[326]: OK
Jul 20 18:03:12 amdlinux chat[326]: -- got it
Jul 20 18:03:12 amdlinux chat[326]: send (atdt4169780449^M)
Jul 20 18:03:12 amdlinux chat[326]: timeout set to 75 seconds
Jul 20 18:03:12 amdlinux chat[326]: expect (CONNECT)
Jul 20 18:03:12 amdlinux chat[326]: ^M
Jul 20 18:03:35 amdlinux chat[326]: atdt4169780449^M^M
Jul 20 18:03:35 amdlinux chat[326]: CONNECT
Jul 20 18:03:35 amdlinux chat[326]: -- got it
Jul 20 18:03:35 amdlinux chat[326]: send (^M)
Jul 20 18:03:35 amdlinux chat[326]: expect (name

Jul 20 18:03:35 amdlinux chat[326]: 28800/ARQ^M
Jul 20 18:03:36 amdlinux chat[326]: ^M
Jul 20 18:03:36 amdlinux chat[326]: Welcome to the
UTORDial high speed Dialin Facility^M
Jul 20 18:03:36 amdlinux chat[326]: ^M
Jul 20 18:03:36 amdlinux chat[326]:
14.4Kbps 416-978-1550^M
Jul 20 18:03:36 amdlinux chat[326]:
28.8Kbps 416-978-0449^M
Jul 20 18:03:36 amdlinux chat[326]: ^M
Jul 20 18:03:36 amdlinux chat[326]: Access through this service
requires the use of a personal UTORDial account. ^M
Jul 20 18:03:36 amdlinux chat[326]: All Staff, Faculty, and Students
of the University of Toronto are eligible^M
Jul 20 18:03:36 amdlinux chat[326]: for a UTORDial account. Please
consult URL=http://www.dialin.utoronto.ca/^M
Jul 20 18:03:36 amdlinux chat[326]: for additional information,
account setup and/or account management.^M
Jul 20 18:03:36 amdlinux chat[326]: ^M
Jul 20 18:03:36 amdlinux last message repeated 2 times
Jul 20 18:03:36 amdlinux chat[326]: User Access Verification^M
Jul 20 18:03:36 amdlinux chat[326]: ^M
Jul 20 18:03:36 amdlinux chat[326]: Bar Code/Username:
Jul 20 18:03:36 amdlinux chat[326]: -- got it
Jul 20 18:03:36 amdlinux chat[326]: send (\d********^M)
Jul 20 18:03:37 amdlinux chat[326]: expect (word

Jul 20 18:03:37 amdlinux chat[326]: *********^M
Jul 20 18:03:37 amdlinux chat[326]: Password:
Jul 20 18:03:37 amdlinux chat[326]: -- got it
Jul 20 18:03:37 amdlinux chat[326]: send (??????)
Jul 20 18:03:37 amdlinux chat[326]: expect (in>)
Jul 20 18:03:38 amdlinux chat[326]: ^M
Jul 20 18:03:38 amdlinux chat[326]: ^M
Jul 20 18:03:38 amdlinux chat[326]: cs4.dialin>
Jul 20 18:03:38 amdlinux chat[326]: -- got it
Jul 20 18:03:38 amdlinux chat[326]: send (ppp default^M)
Jul 20 18:03:38 amdlinux pppd[324]: Serial connection established.
Jul 20 18:03:38 amdlinux pppd[324]: Using interface ppp0
Jul 20 18:03:38 amdlinux pppd[324]: Connect: ppp0 <--> /dev/modem
Jul 20 18:03:42 amdlinux pppd[324]: local IP address 142.150.128.245
Jul 20 18:03:42 amdlinux pppd[324]: remote IP address 142.150.128.13
/var/log/debug
--------------
Jul 20 18:03:38 amdlinux pppd[324]: using channel 4
Jul 20 18:03:39 amdlinux pppd[324]: sent [LCP ConfReq id=0x1 <mru 552>
<asyncmap 0x0> <magic 0x7164c388> <pcomp> <accomp>]
Jul 20 18:03:41 amdlinux pppd[324]: rcvd [LCP ConfReq id=0x1 <asyncmap
0xa0000> <magic 0x3adf6ee> <pcomp> <accomp>]
Jul 20 18:03:41 amdlinux pppd[324]: sent [LCP ConfAck id=0x1 <asyncmap
0xa0000> <magic 0x3adf6ee> <pcomp> <accomp>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [LCP ConfReq id=0x1 <mru 552>
<asyncmap 0x0> <magic 0x7164c388> <pcomp> <accomp>]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [LCP ConfRej id=0x1 <mru
552>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [LCP ConfReq id=0x2 <asyncmap
0x0> <magic 0x7164c388> <pcomp> <accomp>]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [LCP ConfAck id=0x2 <asyncmap
0x0> <magic 0x7164c388> <pcomp> <accomp>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [IPCP ConfReq id=0x1
<compress VJ 0f 00> <addr 142.150.128.13>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [IPCP ConfAck id=0x1
<compress VJ 0f 00> <addr 142.150.128.13>]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [IPCP ConfNak id=0x1 <addr
142.150.128.245>]
Jul 20 18:03:42 amdlinux pppd[324]: sent [IPCP ConfReq id=0x2 <addr
142.150.128.245> <compress VJ 0f 01>]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [LCP ProtRej id=0x2 80 fd 01
01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Jul 20 18:03:42 amdlinux pppd[324]: rcvd [IPCP ConfAck id=0x2 <addr
142.150.128.245> <compress VJ 0f 01>]
Jul 20 18:03:42 amdlinux pppd[324]: Script /etc/ppp/ip-up started (pid
328)
Jul 20 18:03:42 amdlinux pppd[324]: Script /etc/ppp/ip-up finished
(pid 328), status = 0x0