From: Juergen Kosel <juergen@ba228.pppool.de>
To: linux-diald@vger.kernel.org
Subject: How calls diald the pppd?
Date: Thu, 29 Aug 2002 18:39:44 +0200 [thread overview]
Message-ID: <3D6E4E50.EF8B32F9@ba228.pppool.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 3237 bytes --]
Hallo,
I have a problem to establish a ppp conection to my ISP using diald
(using :
exec /usr/sbin/pppd /dev/ttyS0 115200 \
$LOCAL_IP:$REMOTE_IP \
connect $DIALER_SCRIPT \
usepeerdns \
name juergen.kosel
in a script works)
As the pppd debug output shows, the remote adress is considered as
illegal by pppd:
Aug 28 21:23:13 ba228 pppd[4509]: pppd 2.3.11 started by dialout, uid 0
Aug 28 21:23:13 ba228 pppd[4509]: Using interface ppp0
Aug 28 21:23:13 ba228 pppd[4509]: Connect: ppp0 <--> /dev/ttyS0
Aug 28 21:23:13 ba228 pppd[4509]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xf48c9e9f> <pcomp> <accomp>]
Aug 28 21:23:13 ba228 pppd[4509]: rcvd [LCP ConfReq id=0x75 <asyncmap
0xa0000> <auth pap> <magic 0xc3d2aaaf> <pcomp> <accomp>]
Aug 28 21:23:13 ba228 pppd[4509]: sent [LCP ConfAck id=0x75 <asyncmap
0xa0000> <auth pap> <magic 0xc3d2aaaf> <pcomp> <accomp>]
Aug 28 21:23:13 ba228 pppd[4509]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0xf48c9e9f> <pcomp> <accomp>]
Aug 28 21:23:13 ba228 pppd[4509]: sent [PAP AuthReq id=0x1
user="juergen.kosel" password="juergen"]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [PAP AuthAck id=0x1 ""]
Aug 28 21:23:14 ba228 pppd[4509]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Aug 28 21:23:14 ba228 pppd[4509]: sent [CCP ConfReq id=0x1 <deflate 9>
<deflate(old#) 9> <bsd v1 9>]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [IPCP ConfReq id=0x9a <addr
62.104.216.42>]
Aug 28 21:23:14 ba228 pppd[4509]: sent [IPCP ConfAck id=0x9a <addr
62.104.216.42>]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
Aug 28 21:23:14 ba228 pppd[4509]: sent [IPCP ConfReq id=0x2 <addr
0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [LCP ProtRej id=0xd5 80 fd 01 01
00 0f 1a 04 18 00 18 04 18 00 15 03 29]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [IPCP ConfNak id=0x2 <addr
213.7.161.139> <ms-dns1 62.104.191.241> <ms-dns3 62.104.196.134>]
Aug 28 21:23:14 ba228 pppd[4509]: sent [IPCP ConfReq id=0x3 <addr
213.7.161.139> <ms-dns1 62.104.191.241> <ms-dns3 62.104.196.134>]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [IPCP ConfAck id=0x3 <addr
213.7.161.139> <ms-dns1 62.104.191.241> <ms-dns3 62.104.196.134>]
Aug 28 21:23:14 ba228 pppd[4509]: Peer is not authorized to use remote
address 62.104.216.42
Aug 28 21:23:14 ba228 pppd[4509]: sent [IPCP TermReq id=0x4
"Unauthorized remote IP address"]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [IPCP TermAck id=0x4]
Aug 28 21:23:14 ba228 pppd[4509]: sent [LCP TermReq id=0x2 "No network
protocols running"]
Aug 28 21:23:14 ba228 pppd[4509]: rcvd [LCP TermAck id=0x2]
Aug 28 21:23:14 ba228 pppd[4509]: Connection terminated.
Aug 28 21:23:14 ba228 pppd[4509]: Connect time 0.1 minutes.
Aug 28 21:23:14 ba228 pppd[4509]: Sent 248 bytes, received 233 bytes.
Aug 28 21:23:14 ba228 pppd[4509]: Exit.
How could I configure diald, that it calls pppd in a way in which it
accepts the remote address?
I attach also my diald.conf (the time I set remote 62.104.216.42 the
other side had ...39 :-( ).
Juergen
--
Homepage: http://people.freenet.de/Juergen-Kosel/
PGP-Key :
http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x68F9F7CF
[-- Attachment #2: diald.conf --]
[-- Type: text/plain, Size: 414 bytes --]
mode ppp
pppd-options usepeerdns name juergen.kosel noipdefault ipcp-accept-local ipcp-accept-remote
path-pppd /usr/sbin/pppd
device /dev/ttyS0
connect /etc/ppp/dial-freenet
#connect /usr/local/lib/diald/connect
speed 115200
modem
lock
crtscts
local 192.168.2.1
#remote 62.104.216.42
dynamic
defaultroute
proxyarp
ip-up /etc/ppp/ip-up
ip-down /etc/ppp/ip-down
two-way
include /usr/local/lib/diald/standard.filter
next reply other threads:[~2002-08-29 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-29 16:39 Juergen Kosel [this message]
2002-08-29 18:05 ` How calls diald the pppd? Rod
2002-08-29 20:48 ` Juergen Kosel
2002-08-30 17:24 ` Rod
2002-08-30 19:34 ` Juergen Kosel
2002-08-31 14:46 ` Rod
2002-09-15 16:54 ` Juergen Kosel
2002-09-16 21:07 ` Rod
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=3D6E4E50.EF8B32F9@ba228.pppool.de \
--to=juergen@ba228.pppool.de \
--cc=Juergen.Kosel@gmx.de \
--cc=linux-diald@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;
as well as URLs for NNTP newsgroup(s).