Hi all,
I've gotten a little further getting connected to AT&T's ISP... I do now
know that they use PAP to auhtenticate their users...
Again, here is the information I have gathered so far:
I ran the following command:
/usr/sbin/pppd /dev/modem 115200 debug connect "/usr/sbin/chat -v '' AT
OK \
ATDT9725294410 CONNECT '\d\c'"
which details how to find out what your ISP uses... basically the
command to test the ISP with whilst logging to /var/log/ppp via syslogd,
the ppp log showed the following
May 23 02:20:39 ahbaid pppd[819]: pppd 2.3.11 started by root, uid 0
May 23 02:20:40 ahbaid chat[820]: send (AT^M)
May 23 02:20:40 ahbaid chat[820]: expect (OK)
May 23 02:20:40 ahbaid chat[820]: AT^M^M
May 23 02:20:40 ahbaid chat[820]: OK
May 23 02:20:40 ahbaid chat[820]: -- got it
May 23 02:20:40 ahbaid chat[820]: send (ATDT9725294410^M)
May 23 02:20:41 ahbaid chat[820]: expect (CONNECT)
May 23 02:20:41 ahbaid chat[820]: ^M
May 23 02:20:56 ahbaid chat[820]: ATDT9725294410^M^M
May 23 02:20:56 ahbaid chat[820]: CONNECT
May 23 02:20:56 ahbaid chat[820]: -- got it
May 23 02:20:56 ahbaid chat[820]: send (\d)
May 23 02:20:57 ahbaid pppd[819]: Serial connection established.
May 23 02:20:57 ahbaid pppd[819]: Using interface ppp0
May 23 02:20:57 ahbaid pppd[819]: Connect: ppp0 <--> /dev/modem
May 23 02:20:58 ahbaid pppd[819]: sent [LCP ConfReq id=0x1 <magic
0xd9788596> <p
comp> <accomp>]
May 23 02:20:59 ahbaid pppd[819]: rcvd [LCP ConfAck id=0x1 <magic
0xd9788596> <p
comp> <accomp>]
May 23 02:20:59 ahbaid pppd[819]: rcvd [LCP ConfReq id=0x1 <mru 1500>
<asyncmap
0x0> <auth pap> <pcomp> <accomp>]
May 23 02:20:59 ahbaid pppd[819]: Hangup (SIGHUP)
May 23 02:20:59 ahbaid pppd[819]: Modem hangup
May 23 02:20:59 ahbaid pppd[819]: Connection terminated.
I read the PPP howto and modem howto as well as followed Running Linux..
but alas, I'm still lost.. my modem is on /dev/modem linked to
/dev/ttyS1, I tested it with both minicom and wvdial and it dials
fine...
Here are my configuration files:
1) att-chap-script (/etc/ppp/att-chap-script)
#!/bin/sh
# att-chat-script: a program for dialing AT&T ISP
exec chat -v \
'' ATZ \
OK ATDT972-529-4410 \
CONNECT ''
2) ppp-on (/etc/ppp/ppp-on)
exec /usr/sbin/pppd /dev/modem 38400 lock crtscts noipdefault \
user [EMAIL PROTECTED] \
defaultroute 0.0.0.0:0.0.0.0 connect att-chat-script
3) chap-secrets (/etc/ppp/chap-secrets) same for pap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
[EMAIL PROTECTED] * att-user-password
I also setup /etc/wvdial.conf for use with wvdial as follows:
[Dialer Defaults]
Modem = /dev/modem
Baud = 57600
Init = ATZ
Init2 = AT S11=50
Phone = 972-529-4410
Username = [EMAIL PROTECTED]
Password = att-user-password
[Dialer phone2]
Phone = 972-529-4410
[Dialer shh]
Init3 = ATM0
When I run wvdial the following output is produced:
--> WvDial: Internet dialer version 1.41
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT S11=50
AT S11=50
OK
--> Modem initialized.
--> Sending: ATDT 972-529-4410
--> Waiting for carrier.
ATDT 972-529-4410
CONNECT 31200/ARQ/V34/LAPM/V42BIS
--> Carrier detected. Waiting for prompt.
Returning not ok!!
--> Disconnecting at Mon May 22 22:27:26 2000
Now, I guess AT&T does not retun a prompt.... am I right? If so what do
I do from here...
Any help or suggestions are welcome...
thanks,
Ahbaid.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.