W. Watson <(E-Mail Removed)> wrote:
> I'm not sure if it's a Sportster. It doesn't say on the outside. Just USR 56K
> external. I used the AT&F1 code as the second string in the Modem setup. Didn't do
> anything that I can detect.
That's because my wild guess was wrong, at least for the current problem.
> Here's the ppp.log file:
> Dec 10 08:46:56 AstroPC2004 modprobe: modprobe: Can't locate module ppp0
> Dec 10 08:46:56 AstroPC2004 modprobe: modprobe: Can't locate module ppp0
I see why you worried about modules. The messages above aren't significant
but could be eliminated by putting the line
alias ppp0 off
in /etc/modules.conf, assuming the file exists.
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: pppd 2.4.1 started by root, uid 0
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: using channel 22
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: Using interface ppp0
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: Connect: ppp0 <--> /dev/ttyS0
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0xc84eb7a4> <pcomp> <accomp>]
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: rcvd [LCP ConfReq id=0x1 <mru 1500>
> <asyncmap 0xa0000> <auth pap> <magic 0xbf5ce293> <pcomp> <accomp>]
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: sent [LCP ConfRej id=0x1 <auth pap>]
PAP authentication is rejected by pppd above. If you don't authenticate
your ISP account it means that you don't get to establish a PPP link.
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
> <magic 0xc84eb7a4> <pcomp> <accomp>]
The Ack received above is so LCP negotiations are officially brought
to the open state, and it can then send the LCP Terminate-Request you
see below.
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: rcvd [LCP TermReq id=0x1]
> Dec 10 08:46:56 AstroPC2004 pppd[14041]: sent [LCP TermAck id=0x1]
> Dec 10 08:46:59 AstroPC2004 pppd[14041]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0xc84eb7a4> <pcomp> <accomp>]
> Dec 10 08:47:14 AstroPC2004 last message repeated 5 times
Pppd tries again and again to restart LCP negotiation but it's over
as far as the ISP is concerned. The pppd persist option might cause
this to happen.
> Dec 10 08:47:14 AstroPC2004 pppd[14041]: Hangup (SIGHUP)
> Dec 10 08:47:14 AstroPC2004 pppd[14041]: Modem hangup
> Dec 10 08:47:14 AstroPC2004 pppd[14041]: Connection terminated.
> Dec 10 08:47:14 AstroPC2004 pppd[14041]: Exit.
The ISP hangs up here. Wherever the pppd options are kept by kppp they
may need to have the option ``user YourISPusername'' added and the line
YourISPusername * YourISPpassword
added to /etc/ppp/pap-secrets. But the ways of kppp may be such that
it prompts for a password instead (I think I've seen this recently in
a post). If so then kppp may not need the pap-secrets file configured.
If it tries to do login/password authentication, it's doing the wrong
thing. I'm at a lost to say why authentication is failing - it depends
on what the frontend kppp is doing, i.e., how it is configured for pppd
to use the password.
If you want to try a script, the ppp-secrets.gz script found at my
website under "Files for download" should be easy to configure and use.
Instructions are included in the script. You should change ATZ\&F in
the line
export ModemInit='ATZ\&F OK ATM0W1\&D1%E1s95=47'
of that script to AT\&F since I just recently found out the Z negates
the &F when combined as ATZ\&F (I'll change ATZ\&F OK to ATZ OK AT\&F OK
in the script real soon now

). The remainder of the initialization will
likely work for you but can be considered as fluff.
To get chat log messages the S in the chat -vsS parameter must be removed.
See man chat for more.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/