pptp-linux and diald

Maxim Yakubenko <[email protected]>
Newsgroups gmane.linux.diald
Message-ID <[email protected]>
Good day!

I'm trying to use diald for automatic
control the pptp connection to my provider.

I can establish connection by issueing the
command:

pon tunnel

This starts pppd and brings up interface ppp0 which
is a pptp tunnel through eth0.
The key pppd option allowed to do this is "pty"

But diald insists to have some interface ti talk to (ttyS0)

How could I solve this problem?
Is this possible (to control pptp interface by diald)?

Best regards,
Maxim Yakubenko

P.S.:
diald-0.99.4
Debian GNU/Linux 3.0

Logs from diald:

Nov 13 01:08:04 localhost diald[547]: Using fifo /var/run/diald.fifo
Nov 13 01:08:04 localhost diald[547]: Proxy device established on 
interface tap0
Nov 13 01:08:04 localhost diald[547]: start tap0: SIOCSIFMETRIC: 
Operation not s
upported
Nov 13 01:08:04 localhost diald[547]: Diald initial setup completed.
Nov 13 01:09:12 localhost diald[547]: Trigger: icmp     172.16.101.5/257 

    10.1.1.1/257
Nov 13 01:09:12 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:12 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:12 localhost diald[547]: Connect script failed.
Nov 13 01:09:12 localhost diald[547]: Delaying 1 seconds before clear to 
dial.
Nov 13 01:09:13 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:13 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:13 localhost diald[547]: Connect script failed.
Nov 13 01:09:13 localhost diald[547]: Delaying 1 seconds before clear to 
dial.
Nov 13 01:09:16 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:16 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:17 localhost diald[547]: Connect script failed.
Nov 13 01:09:17 localhost diald[547]: Delaying 1 seconds before clear to 
dial.
Nov 13 01:09:20 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:20 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:21 localhost diald[547]: Connect script failed.

..... and so on.


Another logs of the same process:

Nov 13 01:08:04 localhost diald[546]: Unable to open options file 
/etc/diald/dia
ld.options: No such file or directory
Nov 13 01:08:04 localhost diald[546]: Unknown option 'reroute'
Nov 13 01:08:04 localhost diald[547]: Using fifo /var/run/diald.fifo
Nov 13 01:08:04 localhost diald[547]: Proxy device established on 
interface tap0
Nov 13 01:08:04 localhost diald[547]: running '/sbin/ifconfig tap0 
172.16.101.5
pointopoint 172.16.101.1 broadcast 0.0.0.0 netmask 255.255.255.255 
metric 1 mtu
1500 up'
Nov 13 01:08:04 localhost diald[547]: start tap0: SIOCSIFMETRIC: 
Operation not s
upported
Nov 13 01:08:04 localhost diald[547]: SIGCHLD[1]: pid 548 system, status 256
Nov 13 01:08:04 localhost diald[547]: start tap0: Establishing routes 
for tap0
Nov 13 01:08:04 localhost diald[547]: running '/sbin/route add 
172.16.101.1 metr
ic 1  dev tap0'
Nov 13 01:08:04 localhost diald[547]: SIGCHLD[2]: pid 549 system, status 0
Nov 13 01:08:04 localhost diald[547]: running '/sbin/route del 
172.16.101.1 metr
ic 0  dev tap0'
Nov 13 01:08:04 localhost diald[547]: SIGCHLD[3]: pid 550 system, status 0
Nov 13 01:08:04 localhost diald[547]: running '/sbin/route add default 
metric 1
  netmask 0.0.0.0 dev tap0'
Nov 13 01:08:04 localhost diald[547]: SIGCHLD[4]: pid 551 system, status 0
Nov 13 01:08:04 localhost diald[547]: Changed snoop device to tap0
Nov 13 01:08:04 localhost diald[547]: Diald initial setup completed.
Nov 13 01:08:05 localhost diald[547]: --- tick --- state 0 block 0 
state_timeout
  -1
Nov 13 01:08:36 localhost last message repeated 31 times
Nov 13 01:09:12 localhost last message repeated 36 times
Nov 13 01:09:12 localhost diald[547]: filter accepted rule 39 proto 
134624096 le
n 84 packet 172.16.101.5,0 => 10.1.1.1,0
Nov 13 01:09:12 localhost diald[547]: Trigger: icmp     172.16.101.5/257 

    10.1.1.1/257
Nov 13 01:09:12 localhost diald[547]: Adding connection 0x80628c8 @ 
1037138952 -
  timeout 30
Nov 13 01:09:12 localhost diald[547]: new state CONNECT action 0x8051200 
timeout
  90
Nov 13 01:09:12 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:12 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:12 localhost diald[547]: Connect script failed.
Nov 13 01:09:12 localhost diald[547]: new state CLOSE action 0x8051a2c 
timeout -
1
Nov 13 01:09:12 localhost diald[547]: Delaying 1 seconds before clear to 
dial.
Nov 13 01:09:13 localhost diald[547]: --- tick --- state 9 block 0 
state_timeout
  0
Nov 13 01:09:13 localhost diald[547]: new state RETRY action 0x8051bd8 
timeout -
1
Nov 13 01:09:13 localhost diald[547]: filter accepted rule 39 proto 
134624096 le
n 84 packet 172.16.101.5,0 => 10.1.1.1,0
Nov 13 01:09:13 localhost diald[547]: Adding connection 0x80628c8 @ 
1037138953 -
  timeout 30
Nov 13 01:09:13 localhost diald[547]: new state DOWN action 0x8051138 
timeout -1
Nov 13 01:09:13 localhost diald[547]: new state CONNECT action 0x8051200 
timeout
  90
Nov 13 01:09:13 localhost diald[547]: Calling site 172.16.101.1
Nov 13 01:09:13 localhost diald[547]: No devices free to call out on.
Nov 13 01:09:13 localhost diald[547]: Connect script failed.
Nov 13 01:09:13 localhost diald[547]: new state CLOSE action 0x8051a2c 
timeout -
1
Nov 13 01:09:13 localhost diald[547]: Delaying 1 seconds before clear to 
dial.
Nov 13 01:09:14 localhost diald[547]: --- tick --- state 9 block 0 
state_timeout
  0
Nov 13 01:09:14 localhost diald[547]: new state RETRY action 0x8051bd8 
timeout -
1
Nov 13 01:09:15 localhost diald[547]: --- tick --- state 10 block 0 
state_timeou
t -1
Nov 13 01:09:15 localhost diald[547]: new state DOWN action 0x8051138 
timeout -1
Nov 13 01:09:16 localhost diald[547]: --- tick --- state 0 block 0 
state_timeout
  ................ and so on.


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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.