I'm having a rough time getting diald 0.99 to work, even though I've 
had no problems with older versions with older kernels.

I am running linux kernel 2.2.5 and pppd 2.3.7.  I can call my ISP 
using 'pppd call mornet'.  Here is my /etc/ppp/options:

lock
noauth

and my /etc/ppp/peers/mornet

connect "chat -v -f /etc/ppp/peers/mornet.scr"
debug
defaultroute
/dev/ttyS1
205.210.144.81:205.210.144.5

I cannot get diald to work.  Here are the logs of a sample session 
where I call up 'diald -f /etc/ppp/diald.mornet' and try to ping the 
other side, and then kill diald:

Apr 20 14:37:09 sunshine diald[569]: Proxy device established on 
interface tap0
Apr 20 14:37:09 sunshine diald[569]: running '/sbin/ifconfig tap0 
205.210.144.81 pointopoint 205.210.144.5 broadcast 0.0.0.0 
netmask 255.255.255.255 metric 0 mtu 1500 up'
Apr 20 14:37:09 sunshine diald[569]: SIGCHLD[1]: pid 570 system, 
status 256
Apr 20 14:37:09 sunshine diald[569]: start tap0: Establishing routes 
for tap0
Apr 20 14:37:09 sunshine diald[569]: running '/sbin/ip route add 
205.210.144.5 dev tap0 scope link src 205.210.144.81 metric 0 '
Apr 20 14:37:09 sunshine diald[569]: SIGCHLD[2]: pid 571 system, 
status 512
Apr 20 14:37:09 sunshine diald[569]: running '/sbin/ip route add 
default dev tap0 scope link src 205.210.144.81 metric 0 '
Apr 20 14:37:09 sunshine diald[569]: SIGCHLD[3]: pid 572 system, 
status 0
Apr 20 14:37:09 sunshine diald[569]: Changed snoop device to tap0
Apr 20 14:37:09 sunshine diald[569]: Diald initial setup completed.
Apr 20 14:37:14 sunshine diald[569]: Trigger: icmp   
205.210.144.81/257      205.210.144.5/257
Apr 20 14:37:14 sunshine diald[569]: Adding connection 0x80654b0 
@ 924633434 - timeout 30
Apr 20 14:37:14 sunshine diald[569]: Calling site 205.210.144.5
Apr 20 14:37:15 sunshine diald[569]: running '/usr/sbin/chat -v -r 
/var/log/connect -f /etc/ppp/peers/mornet.scr'
Apr 20 14:37:15 sunshine diald[569]: Adding connection 0x80654b0 
@ 924633435 - timeout 30
Apr 20 14:37:15 sunshine diald[569]: SIGCHLD[4]: pid 574 dial, 
status 512
Apr 20 14:37:15 sunshine diald[569]: Connect script failed.
Apr 20 14:37:15 sunshine diald[569]: Closing /dev/ttyS1
Apr 20 14:37:15 sunshine chat[574]: Can't get terminal parameters: 
Invalid argument
Apr 20 14:37:16 sunshine diald[569]: Delaying 30 seconds before 
clear to dial.
Apr 20 14:37:16 sunshine diald[569]: Adding connection 0x80654b0 
@ 924633436 - timeout 30
Apr 20 14:37:28 sunshine diald[569]: SIGTERM. Termination 
request received.
Apr 20 14:37:28 sunshine diald[569]: Diald is dieing with code 0
Apr 20 14:37:28 sunshine diald[569]: stop tap0: Removing routes for 
tap0
Apr 20 14:37:28 sunshine diald[569]: running '/sbin/ip route del 
default dev tap0 scope link src 205.210.144.81 metric 0'
Apr 20 14:37:28 sunshine diald[569]: SIGCHLD[5]: pid 576 system, 
status 0
Apr 20 14:37:28 sunshine diald[569]: running '/sbin/ifconfig tap0 
0.0.0.0'
Apr 20 14:37:28 sunshine diald[569]: SIGCHLD[6]: pid 577 system, 
status 0


Here are the contents of /etc/ppp/diald.mornet:

device /dev/ttyS1
connect "/usr/sbin/chat -v -r /var/log/connect -f 
/etc/ppp/peers/mornet.scr"
debug 78
defaultroute
local 205.210.144.81
remote 205.210.144.5

and my /etc/diald.conf:

mode ppp
accounting-log /var/log/diald.log
modem
speed 38400
crtscts
include /usr/lib/diald/standard.filter
mtu 1500
mru 1500

Can anyone help?



-----------

Michael

----

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to