[ale] AT&T connect via PPP
Glynn Black
blackgr at sysconn.com
Thu Sep 26 20:12:12 EDT 1996
I'm making a move from a local ISP here in Savannah to AT&T. Judging
from the PPP readme and the following information from bootup and
/proc/net/dev I believe I have my kernel configured right.
from bootup:
PPP: version 0.2.7 (4 channels) NEW_TTY_DRIVERS OPTIMIZE_FLAGS
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
from /proc/net/dev:
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 0 0 0 0 0 50 0 0 0 0 0
dummy: No statistics available.
ppp0: 0 0 0 0 0 0 0 0 0 0 0
ppp1: 0 0 0 0 0 0 0 0 0 0 0
ppp2: 0 0 0 0 0 0 0 0 0 0 0
ppp3: 0 0 0 0 0 0 0 0 0 0 0
sl0: 3974 0 0 0 0 4550 0 0 0 0 0
sl1: 0 0 0 0 0 0 0 0 0 0 0
sl2: 0 0 0 0 0 0 0 0 0 0 0
sl3: 0 0 0 0 0 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 0 0 0
I pulled information off http://www.toppig.com/wurd/linux.html and
adopted the login script to my circumstances. For reasons unknown to
me, I can't seem to get my modem to dial out. My modem works, I can
dial out with minicom and manually dip/slip via my local isp, but I
keep getting "/dev/cua3 permission denied" when I attempt PPP.
toppig script:
#!/bin/sh
/usr/sbin/pppd name "blackgr at worldnet.att.net" -d connect \
'/usr/sbin/chat -t 45 -v ABORT BUSY "" ATDT6516000 CONNECT ""'
/dev/cua3 57600 noipdefault modem defaultroute crtscts
from ppplog:
Sep 25 22:44:31 sx pppd[159]: pppd 2.1.2 started by root, uid 0
Sep 25 22:44:31 sx pppd[159]: Connecting with </usr/sbin/chat -t 45 -v
ABORT BUSY "" ATDT6516000 CONNECT "">
Sep 25 22:44:31 sx chat[160]: abort on (BUSY)
Sep 25 22:44:31 sx chat[160]: send (ATDT6516000^M)
Sep 25 22:44:32 sx chat[160]: expect (CONNECT)
Sep 25 22:45:17 sx pppd[159]: Exit.
Sep 25 22:45:17 sx chat[160]: alarm
Sep 25 22:45:17 sx chat[160]: Failed
I used some chat parameters from the PPP Howto to try and reset my
modem (along with various different combinations), but same deal.
script:
#!/bin/sh
/usr/sbin/pppd name "blackgr at worldnet.att.net" -d connect \
'/usr/sbin/chat TIMEOUT 3 "" \rAT 0k-+++\c-OK AT&D2&C1 TIMEOUT
60 OK ATDT6516000 CONNECT ""'
/dev/cua3 57600 noipdefault modem defaultroute crtscts
STDOUT:
sh: D2: command not found
sh: C1: command not found
sh: 60: command not found
/usr/local/bin/worldnet: /dev/cua3: Permission denied
from ppplog:
Sep 25 22:38:08 sx pppd[123]: pppd 2.1.2 started by root, uid 0
Sep 25 22:38:08 sx pppd[123]: Connecting with </usr/sbin/chat TIMEOUT 3
"" \rAT 0k-+++\c-OK AT&D2&C1 TIMEOUT 60 OK ATDT6516000 CONNECT "">
Sep 25 22:38:08 sx pppd[123]: could not set up connection
Sep 25 22:38:08 sx pppd[123]: Exit.
Sep 25 22:38:08 sx chat[125]: Can't get terminal parameters: Invalid
argument
I've gone through readmes, FAQs, howtos and books and I'm still
without a clue. Anyone have any ideas what I'm doing wrong???
Thanks much,
Glynn Black blackgr at sysconn.com
More information about the Ale
mailing list