Hi!
Well it seems to be you have the same problem that i had.
Can you tell me is there some message that typed by your ISP
after you send 'ppp' command? I had something like
starting ppp
MTU is 1500... and so on.
After which packets began to be sent.(All discovered by minicom)
If pppd recieves something not to be it's packets it just don't
understand anything and hangs on it's best.
Try to add to your chat script string that appears after ppp.
What the funny there no information about this behaviour in docs ;-).
Hope this helps.
                                        Vinche. 


Gus Perez wrote:
> 
> I've been trying to connect to my isp (mediaone) with linux FOREVER!
> Below I've included my main ppp configuration files so you more experienced
> folks could look at and hopefully tell me what's wrong.  My problem is
> that I do connect to the ISP, I send my username and password, then 'ppp'
> to start receiving the ppp packets, but then it just waits for about
> 20 seconds and disconnects.  You'll see that in my messages file below.
> I'd appreciate ANY help or observations...thanks in advance.
> 
> here are the files:
> 
> /etc/ppp/options
> ----------------
> lock
> defaultroute
> noipdefault
> modem
> /dev/ttyS1
> 38400
> crtscts
> debug
> passive
> asyncmap 0
> connect /etc/ppp/net-connect
> user gperez
> +pap
> 
> /etc/ppp/net-connect
> --------------------
> #!bin/sh
> /usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat
> 
> /etc/ppp/net-chat
> -----------------
> ABORT 'BUSY'
> ABORT 'NO CARRIER'
> ''              AT&F\r
> OK              AT&D2&C1\r
> OK              ATDT*70,305xxxxxxx\r
> TIMEOUT 30
> CONNECT         ''
> TIMEOUT 10
> name:--name: gperez word: mypasswd > ppp
> 
> /var/log/messages
> -----------------
> Nov  7 02:51:37 Mediaone kernel: PPP: version 2.2.0 (dynamic channel
> allocation)
> Nov  7 02:51:37 Mediaone kernel: PPP Dynamic channel allocation code
> copyright
> Nov  7 02:51:37 Mediaone kernel: PPP line discipline registered.
> Nov  7 02:51:37 Mediaone kernel: registered device ppp0
> Nov  7 02:51:37 Mediaone pppd[640]: pppd 2.3.3 started by root, uid 0
> Nov  7 02:51:38 Mediaone chat[642]: abort on (BUSY)
> Nov  7 02:51:38 Mediaone chat[642]: abort on (NO CARRIER)
> Nov  7 02:51:38 Mediaone chat[642]: send (AT&F^M^M)
> Nov  7 02:51:38 Mediaone chat[642]: expect (OK)
> Nov  7 02:51:38 Mediaone chat[642]: AT&F^M^M^M
> Nov  7 02:51:38 Mediaone chat[642]: OK
> Nov  7 02:51:38 Mediaone chat[642]:  -- got it
> Nov  7 02:51:38 Mediaone chat[642]: send (AT&D2&C1^M^M)
> Nov  7 02:51:39 Mediaone chat[642]: expect (OK)
> Nov  7 02:51:39 Mediaone chat[642]: ^M
> Nov  7 02:51:39 Mediaone chat[642]: AT&D2&C1^M^M^M
> Nov  7 02:51:39 Mediaone chat[642]: OK
> Nov  7 02:51:39 Mediaone chat[642]:  -- got it
> Nov  7 02:51:39 Mediaone chat[642]: send (ATDT*70,305xxxxxxx^M^M)
> Nov  7 02:51:39 Mediaone chat[642]: timeout set to 30 seconds
> Nov  7 02:51:39 Mediaone chat[642]: expect (CONNECT)
> Nov  7 02:51:39 Mediaone chat[642]: ^M
> Nov  7 02:51:59 Mediaone chat[642]: ATDT*70,305xxxxxxx^M^M^M
> Nov  7 02:51:59 Mediaone chat[642]: CONNECT
> Nov  7 02:51:59 Mediaone chat[642]:  -- got it
> Nov  7 02:51:59 Mediaone chat[642]: send (^M)
> Nov  7 02:51:59 Mediaone chat[642]: timeout set to 10 seconds
> Nov  7 02:51:59 Mediaone chat[642]: expect (name:)
> Nov  7 02:51:59 Mediaone chat[642]:  26400/ARQ^M
> Nov  7 02:52:09 Mediaone chat[642]: alarm
> Nov  7 02:52:09 Mediaone chat[642]: send (^M)
> Nov  7 02:52:09 Mediaone chat[642]: expect (name:)
> Nov  7 02:52:10 Mediaone chat[642]: ^M
> Nov  7 02:52:10 Mediaone chat[642]: ^M
> Nov  7 02:52:10 Mediaone chat[642]: User Access Verification^M
> Nov  7 02:52:10 Mediaone chat[642]: ^M
> Nov  7 02:52:10 Mediaone chat[642]: Username:
> Nov  7 02:52:10 Mediaone chat[642]:  -- got it
> Nov  7 02:52:10 Mediaone chat[642]: send (gperez^M)
> Nov  7 02:52:10 Mediaone chat[642]: expect (word:)
> Nov  7 02:52:10 Mediaone chat[642]:  gperez^M
> Nov  7 02:52:10 Mediaone chat[642]: Password:
> Nov  7 02:52:10 Mediaone chat[642]:  -- got it
> Nov  7 02:52:10 Mediaone chat[642]: send (mypasswd^M)
> Nov  7 02:52:10 Mediaone chat[642]: expect (>)
> Nov  7 02:52:10 Mediaone chat[642]:  ^M
> Nov  7 02:52:10 Mediaone chat[642]: ^M
> Nov  7 02:52:10 Mediaone chat[642]: pas04>
> Nov  7 02:52:10 Mediaone chat[642]:  -- got it
> Nov  7 02:52:10 Mediaone chat[642]: send (ppp^M)
> Nov  7 02:52:11 Mediaone pppd[640]: Serial connection established.
> Nov  7 02:52:12 Mediaone pppd[640]: Using interface ppp0
> Nov  7 02:52:12 Mediaone pppd[640]: Connect: ppp0 <--> /dev/ttyS1
> Nov  7 02:52:15 Mediaone pppd[640]: Hangup (SIGHUP)
> Nov  7 02:52:15 Mediaone pppd[640]: Modem hangup
> Nov  7 02:52:15 Mediaone pppd[640]: Connection terminated.
> Nov  7 02:52:16 Mediaone pppd[640]: Exit.
> Nov  7 02:53:37 Mediaone kernel: PPP: ppp line discipline successfully
> unregistered
> 
> --
> gus perez
> [EMAIL PROTECTED]
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to