Hello!

In the spirit of ending my reliance upon GUI programs, I read 
and followed Lawson's advice in his pppd micro-howto, but cannot 
understand two things: why my attempts to connect to my ISP fail 
initially, and why I sometimes connect, but don't get IP addresses
from my ISP.

Here's what happens. I'll give the command to initiate the process, 
and I'll receive the message 'connect script failed.' If I try again, 
I usually connect with something like:

 Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/modem
Remote message: Login Succeeded
local  IP address 200.230.129.109
remote IP address 200.230.128.10

or occasionally, I'll get 'No response to PAP authenticate-requests'.

What might I be doing wrong? What I might try in order to connect the 
first time? 

By the way, kppp succeeds on it's first attempt, unless I've just begun my X 
session, in which case there is some error message -- something to the effect
there is no ppp support in the kernel; sorry I can't remember the exact 
message.



My /usr/local/ppp-up, the command I use to initiate the process, 
is the following:

#!/bin/sh
/usr/sbin/pppd -detach modem lock crtscts \
defaultroute asyncmap 0 mtu 552 mru 552 \
user [EMAIL PROTECTED] \
connect /usr/local/bin/dial2 \
/dev/modem 115200


This is the dial2 script mentioned above:
 
#!/bin/sh
/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' '' \
'ATZ' OK 'ATDT33552000' CONNECT ''


Here are the pertinent /var/log/messages entries: 

Aug  1 10:15:46 localhost pppd[1776]: pppd 2.3.7 started by rks, uid 500
Aug  1 10:15:47 localhost chat[1778]: abort on (BUSY)
Aug  1 10:15:47 localhost chat[1778]: abort on (NO CARRIER)
Aug  1 10:15:47 localhost chat[1778]: send (ATZ^M)
Aug  1 10:15:47 localhost chat[1778]: expect (OK)
Aug  1 10:15:47 localhost chat[1778]: ^M
Aug  1 10:15:47 localhost chat[1778]: NO CARRIER
Aug  1 10:15:47 localhost chat[1778]:  -- failed
Aug  1 10:15:47 localhost chat[1778]: Failed (NO CARRIER)
Aug  1 10:15:47 localhost pppd[1776]: Connect script failed
Aug  1 10:15:48 localhost pppd[1776]: Exit.

Aug  1 10:15:54 localhost pppd[1780]: pppd 2.3.7 started by rks, uid 500
Aug  1 10:15:55 localhost chat[1782]: abort on (BUSY)
Aug  1 10:15:55 localhost chat[1782]: abort on (NO CARRIER)
Aug  1 10:15:55 localhost chat[1782]: send (ATZ^M)
Aug  1 10:15:55 localhost chat[1782]: expect (OK)
Aug  1 10:15:55 localhost chat[1782]: ATZ^M^M
Aug  1 10:15:55 localhost chat[1782]: OK
Aug  1 10:15:55 localhost chat[1782]:  -- got it 
Aug  1 10:15:55 localhost chat[1782]: send (ATDT33552000^M)
Aug  1 10:15:56 localhost chat[1782]: expect (CONNECT)
Aug  1 10:15:56 localhost chat[1782]: ^M
Aug  1 10:16:16 localhost chat[1782]: ATDT33552000^M^M
Aug  1 10:16:16 localhost chat[1782]: CONNECT
Aug  1 10:16:16 localhost chat[1782]:  -- got it 
Aug  1 10:16:16 localhost chat[1782]: send (^M)
Aug  1 10:16:16 localhost pppd[1780]: Serial connection established.
Aug  1 10:16:16 localhost pppd[1780]: Using interface ppp0
Aug  1 10:16:16 localhost pppd[1780]: Connect: ppp0 <--> /dev/modem
Aug  1 10:16:24 localhost pppd[1780]: Remote message: Login Succeeded
Aug  1 10:16:24 localhost pppd[1780]: local  IP address 200.230.129.109
Aug  1 10:16:24 localhost pppd[1780]: remote IP address 200.230.128.10


Here's what I get when I connect, but can't really do anything. 
No DNS or email or anything.

Aug  1 10:14:19 localhost pppd[1766]: pppd 2.3.7 started by rks, uid 500
Aug  1 10:14:21 localhost chat[1768]: abort on (BUSY)
Aug  1 10:14:21 localhost chat[1768]: abort on (NO CARRIER)
Aug  1 10:14:21 localhost chat[1768]: send (ATZ^M)
Aug  1 10:14:21 localhost chat[1768]: expect (OK)
Aug  1 10:14:21 localhost chat[1768]: ATZ^M^M
Aug  1 10:14:21 localhost chat[1768]: OK
Aug  1 10:14:21 localhost chat[1768]:  -- got it 
Aug  1 10:14:21 localhost chat[1768]: send (ATDT33552000^M)
Aug  1 10:14:21 localhost chat[1768]: expect (CONNECT)
Aug  1 10:14:21 localhost chat[1768]: ^M
Aug  1 10:14:42 localhost chat[1768]: ATDT33552000^M^M
Aug  1 10:14:42 localhost chat[1768]: CONNECT
Aug  1 10:14:42 localhost chat[1768]:  -- got it 
Aug  1 10:14:42 localhost chat[1768]: send (^M)
Aug  1 10:14:42 localhost pppd[1766]: Serial connection established.
Aug  1 10:14:42 localhost pppd[1766]: Using interface ppp0
Aug  1 10:14:42 localhost pppd[1766]: Connect: ppp0 <--> /dev/modem
Aug  1 10:15:19 localhost pppd[1766]: No response to PAP authenticate-requests
Aug  1 10:15:42 localhost pppd[1766]: Terminating on signal 15.
Aug  1 10:15:42 localhost pppd[1766]: Connection terminated.
Aug  1 10:15:42 localhost pppd[1766]: Connect time 1.0 minutes.
Aug  1 10:15:43 localhost pppd[1766]: Exit.



thanks in advance!
-- 
det spelar ingen roll -- Swedish for: "it doesn't matter."

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to