How calls diald the pppd?

Juergen Kosel <[email protected]>
Newsgroups gmane.linux.diald
Message-ID <[email protected]>
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
diald.conf (text/plain, 414 B)
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.