From: Matthew Percival <matthew@capgo.com>
To: linux-ppp@vger.kernel.org
Subject: Hot to perform a null login?
Date: Wed, 01 Feb 2006 05:06:16 +0000 [thread overview]
Message-ID: <1138770376.8869.17.camel@localhost.localdomain> (raw)
G'Day,
I am trying to use a GSM modem to create a GPRS connection via pppd. I
have managed to work most things out, but am finding authentication a
stumbling block: I need to send a blank name and password, but pppd is
sending my local name (which is obviously being treated as incorrect by
the server). Looking through the pppd code, I came across null_login(),
which looks like it may provide what I need, but I cannot seem to get
pppd to call it --- obviously I am misunderstanding something along the
way, and have something set up wrong.
Could someone please tell me how to configure pppd to reply to a PAP
request with a blank name and password? I'll include dumps of my pppd
and chat scripts below, in case they are relevant.
-- Matthew
/etc/ppp/peers/gprs-script:
115200
noauth
debug
crtscts
noipdefault
modem
usepeerdns
defaultroute
pap-max-authreq 3
connect-delay 10000
connect '/usr/sbin/chat -v -f /etc/ppp/gprs-init'
/etc/ppp/gprs-init:
TIMEOUT 10
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "BUSY"
ABORT "ERROR"
"" AT+WOPEN=1 OK
\dAT+CPIN? TIMEOUT 5 READY-\dAT+CPINU69-OK
\dAT+CPIN? TIMEOUT 10 READY
\dAT+CREG=1 OK
\dAT+CGDCONT=1,"IP","telstra.internet" OK
\dAT+CGDATA=1 ""
next reply other threads:[~2006-02-01 5:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-01 5:06 Matthew Percival [this message]
2006-02-01 5:16 ` Hot to perform a null login? 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
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=1138770376.8869.17.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox