From: Matthew Percival <matthew@capgo.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Hot to perform a null login?
Date: Wed, 01 Feb 2006 22:09:51 +0000 [thread overview]
Message-ID: <1138831791.9407.6.camel@localhost.localdomain> (raw)
In-Reply-To: <1138770376.8869.17.camel@localhost.localdomain>
G'Day,
> Matthew, could you show us a debug log of the connection attempt? Bill
> asked for that before, and it would be really helpful. Add the option
> debug to the command line you use to start pppd.
Here's the full log from what I sent yesterday:
Feb 1 16:28:16 localhost chat[15870]: timeout set to 10 seconds
Feb 1 16:28:16 localhost chat[15870]: abort on (NO CARRIER)
Feb 1 16:28:16 localhost chat[15870]: abort on (NO DIALTONE)
Feb 1 16:28:16 localhost chat[15870]: abort on (BUSY)
Feb 1 16:28:16 localhost chat[15870]: abort on (ERROR)
Feb 1 16:28:16 localhost chat[15870]: send (AT+WOPEN=1^M)
Feb 1 16:28:16 localhost chat[15870]: expect (OK)
Feb 1 16:28:16 localhost chat[15870]: AT+WOPEN=1^M^M
Feb 1 16:28:16 localhost chat[15870]: OK
Feb 1 16:28:16 localhost chat[15870]: -- got it
Feb 1 16:28:16 localhost chat[15870]: send (\dAT+CPIN?^M)
Feb 1 16:28:18 localhost chat[15870]: timeout set to 5 seconds
Feb 1 16:28:18 localhost chat[15870]: expect (READY)
Feb 1 16:28:18 localhost chat[15870]: ^M
Feb 1 16:28:18 localhost chat[15870]: AT+CPIN?^M^M
Feb 1 16:28:18 localhost chat[15870]: +CPIN: SIM PIN^M
Feb 1 16:28:23 localhost chat[15870]: alarm
Feb 1 16:28:23 localhost chat[15870]: send (\dAT+CPIN=xxxx^M)
Feb 1 16:28:24 localhost chat[15870]: expect (OK)
Feb 1 16:28:24 localhost chat[15870]: AT+CPIN=xxxx^M^M
Feb 1 16:28:24 localhost chat[15870]: OK
Feb 1 16:28:24 localhost chat[15870]: -- got it
Feb 1 16:28:24 localhost chat[15870]: send (\dAT+CPIN?^M)
Feb 1 16:28:26 localhost chat[15870]: timeout set to 10 seconds
Feb 1 16:28:26 localhost chat[15870]: expect (READY)
Feb 1 16:28:26 localhost chat[15870]: ^M
Feb 1 16:28:26 localhost chat[15870]: AT+CPIN?^M^M
Feb 1 16:28:26 localhost chat[15870]: +CPIN: READY
Feb 1 16:28:26 localhost chat[15870]: -- got it
Feb 1 16:28:26 localhost chat[15870]: send (\dAT+CREG=1^M)
Feb 1 16:28:27 localhost chat[15870]: expect (OK)
Feb 1 16:28:27 localhost chat[15870]: ^M
Feb 1 16:28:27 localhost chat[15870]: AT+CREG=1^M^M
Feb 1 16:28:27 localhost chat[15870]: OK
Feb 1 16:28:27 localhost chat[15870]: -- got it
Feb 1 16:28:27 localhost chat[15870]: send (\dAT
+CGDCONT=1,"IP","telstra.internet"^M)
Feb 1 16:28:28 localhost chat[15870]: expect (OK)
Feb 1 16:28:28 localhost chat[15870]: ^M
Feb 1 16:28:28 localhost chat[15870]: AT
+CGDCONT=1,"IP","telstra.internet"^M^M
Feb 1 16:28:28 localhost chat[15870]: OK
Feb 1 16:28:28 localhost chat[15870]: -- got it
Feb 1 16:28:28 localhost chat[15870]: send (\dAT+CGDATA=1^M)
Feb 1 16:28:29 localhost pppd[15869]: Serial connection established.
Feb 1 16:28:29 localhost pppd[15869]: using channel 12
Feb 1 16:28:29 localhost pppd[15869]: Using interface ppp0
Feb 1 16:28:29 localhost pppd[15869]: Connect: ppp0 <--> /dev/ttyS0
Feb 1 16:28:29 localhost pppd[15869]: rcvd [LCP ConfReq id=0x1 <mru
1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
Feb 1 16:28:29 localhost pppd[15869]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <magic 0xbab2643b> <pcomp> <accomp>]
Feb 1 16:28:29 localhost pppd[15869]: sent [LCP ConfAck id=0x1 <mru
1500> <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
Feb 1 16:28:29 localhost pppd[15869]: rcvd [LCP ConfRej id=0x1 <magic
0xbab2643b>]
Feb 1 16:28:29 localhost pppd[15869]: sent [LCP ConfReq id=0x2
<asyncmap 0x0> <pcomp> <accomp>]
Feb 1 16:28:29 localhost pppd[15869]: rcvd [LCP ConfAck id=0x2
<asyncmap 0x0> <pcomp> <accomp>]
Feb 1 16:28:29 localhost pppd[15869]: sent [PAP AuthReq id=0x1
user="matthew" password=<hidden>]
Feb 1 16:28:32 localhost pppd[15869]: sent [PAP AuthReq id=0x2
user="matthew" password=<hidden>]
Feb 1 16:28:35 localhost pppd[15869]: sent [PAP AuthReq id=0x3
user="matthew" password=<hidden>]
Feb 1 16:28:38 localhost pppd[15869]: No response to PAP
authenticate-requests
Feb 1 16:28:38 localhost pppd[15869]: sent [LCP TermReq id=0x3 "Failed
to authenticate ourselves to peer"]
Feb 1 16:28:38 localhost pppd[15869]: rcvd [PAP AuthNak id=0x1 "Sorry
auth. failed!"]
Feb 1 16:28:38 localhost pppd[15869]: Discarded non-LCP packet when LCP
not open
Feb 1 16:28:39 localhost pppd[15869]: rcvd [LCP TermReq id=0x2]
Feb 1 16:28:39 localhost pppd[15869]: sent [LCP TermAck id=0x2]
Feb 1 16:28:39 localhost pppd[15869]: Hangup (SIGHUP)
Feb 1 16:28:39 localhost pppd[15869]: Modem hangup
Feb 1 16:28:39 localhost pppd[15869]: Connection terminated.
Feb 1 16:28:40 localhost pppd[15869]: Exit.
> I agree with Bill that the "sent [PAP AuthReq" suggests that your end is
> attempting to authenticate the peer. Use the dump option to find out
> where the options are coming from.
pppd options in effect:
debug debug # (from /etc/ppp/peers/gprs-script)
connect-delay 10000 # (from /etc/ppp/peers/gprs-script)
dump # (from command line)
noauth # (from /etc/ppp/peers/gprs-script)
/dev/ttyS0 # (from command line)
115200 # (from /etc/ppp/peers/gprs-script)
lock # (from /etc/ppp/options)
connect /usr/sbin/chat -v -f /etc/ppp/gprs-init #
(from /etc/ppp/peers/gprs-script)
crtscts # (from /etc/ppp/peers/gprs-script)
modem # (from /etc/ppp/peers/gprs-script)
asyncmap 0 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
pap-max-authreq 3 # (from /etc/ppp/peers/gprs-script)
noipdefault # (from /etc/ppp/peers/gprs-script)
defaultroute # (from /etc/ppp/peers/gprs-script)
proxyarp # (from /etc/ppp/options)
usepeerdns # (from /etc/ppp/peers/gprs-script)
noipx # (from /etc/ppp/options)
Thanks,
Matthew
next prev parent reply other threads:[~2006-02-01 22:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-01 5:06 Hot to perform a null login? Matthew Percival
2006-02-01 5:16 ` Bill Unruh
2006-02-01 5:34 ` Matthew Percival
2006-02-01 6:00 ` Bill Unruh
2006-02-01 6:12 ` James Cameron
2006-02-01 11:40 ` James Carlson
2006-02-01 11:45 ` James Cameron
2006-02-01 22:09 ` Matthew Percival [this message]
2006-02-01 22:26 ` Bill Unruh
2006-02-01 22:29 ` Bill Unruh
2006-02-01 22:40 ` James Carlson
2006-02-01 23:03 ` Matthew Percival
2006-02-01 23:03 ` James Cameron
2006-02-01 23:13 ` James Cameron
2006-02-02 3:33 ` Matthew Percival
2006-02-02 6:38 ` Pieter Loubser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1138831791.9407.6.camel@localhost.localdomain \
--to=matthew@capgo.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.