Looks like you do not get the "Login:" from your Provider. So your script
cannot go to the next step.
Try the following:
Start minicom:
minicom -s (-s gets you into setup mode for minicom. Set it up with
the correct /dev/ttySxxx and port speed)
Then exit from setup and you are getting a terminal window. From there you
dial your provider:
ATDT9579991
You should then get the login at some stage. Try to log in with user ID and
password. Start ppp at their end (you might have to ask them, if they do
not do it automatically).
Exit out of minicom wthout reset. Start ppp at your end with /usr/sbin/pppd
on the same session you used minicom on.
This should get you connected for sure.
If you take notes on what your provider is sending you before sending you
the login prompt you can use it to re-write your script. Some providers
might want you to qualify first, what type of service you want (Telnet,
ppp...) before they send the login prompt. Amend you script accordingly.
You can also find these details here:
http://mirror.aarnet.edu.au/linux/LDP/HOWTO/PPP-HOWTO-14.html
and following
Hope this helps.
Bernhard
Archie Rawlings wrote:
> i am trying to establish a PPP connection with my ISP. i
> manually configured PPP-ON, PPP-ON-DIALER, RESOLV.CONF. from the shell
> command i issue a PPP-ON command, get a dial tone, and sounds like i am
> going through the handshaking process. then i lose connection. my
> messages.log follows:
>
> ___________
> Jun 20 23:04:40 localhost pppd[889]: pppd 2.3.7 started by root, uid 0
> Jun 20 23:04:41 localhost chat[890]: timeout set to 33 seconds
> Jun 20 23:04:41 localhost chat[890]: abort on (\nBUSY\r)
> Jun 20 23:04:41 localhost chat[890]: abort on (\nNO ANSWER\r)
> Jun 20 23:04:41 localhost chat[890]: abort on
> (\nRINGING\r\n\r\nRINGING\r)
> Jun 20 23:04:41 localhost chat[890]: send (rAT^M)
> Jun 20 23:04:41 localhost chat[890]: expect (OK)
> Jun 20 23:04:41 localhost chat[890]: rAT^M^M
> Jun 20 23:04:41 localhost chat[890]: OK
> Jun 20 23:04:41 localhost chat[890]: -- got it
> Jun 20 23:04:41 localhost chat[890]: send (ATH0^M)
> Jun 20 23:04:41 localhost chat[890]: timeout set to 30 seconds
> Jun 20 23:04:41 localhost chat[890]: expect (OK)
> Jun 20 23:04:41 localhost chat[890]: ^M
> Jun 20 23:04:41 localhost chat[890]: ATH0^M^M
> Jun 20 23:04:41 localhost chat[890]: OK
> Jun 20 23:04:41 localhost chat[890]: -- got it
> Jun 20 23:04:41 localhost chat[890]: send (ATDT957-9991^M)
> Jun 20 23:04:42 localhost chat[890]: expect (CONNECT)
> Jun 20 23:04:42 localhost chat[890]: ^M
> Jun 20 23:05:06 localhost chat[890]: ATDT957-9991^M^M
> Jun 20 23:05:06 localhost chat[890]: CONNECT
> Jun 20 23:05:06 localhost chat[890]: -- got it
> Jun 20 23:05:06 localhost chat[890]: send (^M)
> Jun 20 23:05:06 localhost chat[890]: expect (login:)
> Jun 20 23:05:06 localhost chat[890]: 24000/ARQ/V34/LAPM/V42BIS^M
> Jun 20 23:05:11 localhost chat[890]: ^M
> Jun 20 23:05:11 localhost chat[890]:
> Jun 20 23:05:11 localhost last message repeated 23 times
> Jun 20 23:05:11 localhost chat[890]: ** MAX8b bignet **^M
> Jun 20 23:05:11 localhost chat[890]: ^M
> Jun 20 23:05:11 localhost chat[890]: ^M
> Jun 20 23:05:36 localhost chat[890]: alarm
> Jun 20 23:05:36 localhost pppd[889]: Connect script failed
> Jun 20 23:05:36 localhost chat[890]: Failed
> Jun 20 23:05:37 localhost pppd[889]: Exit.
> Jun 20 23:10:00 localhost kernel: PPP: ppp line discipline successfully
> unregistered
> Jun 20 23:41:34 localhost named[330]: Cleaned cache of 0 RRs
> Jun 20 23:41:34 localhost named[330]: USAGE 929936494 929918494
> CPU=0u/0s CHILDCPU=0u/0s
> Jun 20 23:41:34 localhost named[330]: NSTATS 929936494 929918494
> Jun 20 23:41:34 localhost named[330]: XSTATS 929936494 929918494 RR=0
> RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
> SSysQ=1 SAns=0 SFwdQ=0 SDupQ=3524 SErr=1 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0
> RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0
> Jun 21 00:41:34 localhost named[330]: Cleaned cache of 0 RRs
> Jun 21 00:41:34 localhost named[330]: USAGE 929940094 929918494
> CPU=0u/0s CHILDCPU=0u/0s
> Jun 21 00:41:34 localhost named[330]: NSTATS 929940094 929918494
> Jun 21 00:41:34 localhost named[330]: XSTATS 929940094 929918494 RR=0
> RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
> SSysQ=1 SAns=0 SFwdQ=0 SDupQ=4228 SErr=1 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0
> RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0
> _____________________________
>
> my ISP uses CHAP as their authentication protocol. the header in my
> CHAP-SECRETS file contains "client server secrets IP-address". from
> what i have read so far, CHAP requires both client and server to
> authenticate.
>
> i ask my ISP for information for my CHAP file. they either don't know
> or are unwilling to give me the required information.
>
> to make matters worse i am not sure myself what i need or what
> specifically to ask for. HELP!!!!
>
> -
> 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]