[ale] Dial up... uh, no.
Gary Maltzen
maltzen at MM.COM
Mon Nov 6 21:32:39 EST 2000
It looks like you have some extraneous text in your command as well as the device and baudrate specified in the wrong order.
I suggest you partition your process into pppd-specific and chat-specific input in the following way:
1) create /etc/ppp/peers/518-7873 containing
modem 2400 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/script -T 518-7873'
defaultroute
debug
noauth
noipdefault
ipcp-accept-local
ipcp-accept-remote
usepeerdns
2) create /etc/ppp/script containing
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT "BUSY"
"" AT
OK-+++-OK ATDT\T
CONNECT \c
name:-name: myname
word:-word: \qmypass
3) start the connection by saying
# pppd call 518-7873
4) if that fails, to /etc/ppp/pap-secrets add this line:
myname * mypass *
5) delete everything after the CONNECT in 'script'
6) try #3 again
>Ive been working on getting my dialup connection
>working for about a month now, but Im not coplaining
>because it forces me to learn stuff. However, now I
>am completely stuck now. Could someone help?
>
>I made a shell program that goes a little like this.
>
>#!/bin/bash
>ppd connect ' /ust/sbin/chat -v "" ATDT5187873 CONNECT
>"" name:-name: myname ssword: mypass onnect: 2400 '
>/dev/modem noipdefault debug modem defaultrout
>ipcp-accept-local ipcp-accept-remote logfile surfdebug
>crtscts
>
>It appears to work, I can hear it dialing but it
>immediately disconnects. Additionally nothing appears
>in my logfile (how convienient). Here is what I get in
>my root mail:
>
>send (ATDT5187873)
>expect (CONNECT)
>ATDT5187873^M^M
>Connect
>--got it
>send (^M)
>expect (name:)
>9600/ARQ/v32/LAPM/V42BIS^M
>^M
>Username:
>--got it
>send (myname)
>expect (ssword)
>myname^M
>Password:
>--got it
>send (mypass^M)
>serial connection established
>using interface ppp0
>connect: ppp0 <--> /dev/modem
>Hangup (SIGHUP)
>modem hangup
>connection terminated
>exit
>
>My A.R. ISP may have something to do with it, in
>window$ if you use a terminal to connect it must be
>done like this:
>
>username: (I enter my username and press enter)
>password: (here I type my password and NOT ENTER. If
>I press enter it dumps the connection. Instead I press
>the "continue" button at the bottom of the screen.
>conveniently I dont know what the button does, so I
>cant reproduce it in linux)
>
>can anyone enlighten me as to my error?
>
>
>__________________________________________________
>Do You Yahoo!?
>Thousands of Stores. Millions of Products. All in one Place.
>http://shopping.yahoo.com/
>--
>To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list