public inbox for linux-diald@vger.kernel.org
 help / color / mirror / Atom feed
* How calls diald the pppd?
@ 2002-08-29 16:39 Juergen Kosel
  2002-08-29 18:05 ` Rod
  0 siblings, 1 reply; 8+ messages in thread
From: Juergen Kosel @ 2002-08-29 16:39 UTC (permalink / raw)
  To: linux-diald

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-09-16 21:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 16:39 How calls diald the pppd? Juergen Kosel
2002-08-29 18:05 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox