All of lore.kernel.org
 help / color / mirror / Atom feed
* pptp-linux and diald
       [not found] <20021112221200Z266996-32597+21257@vger.kernel.org>
@ 2002-11-12 21:36 ` Maxim Yakubenko
  0 siblings, 0 replies; only message in thread
From: Maxim Yakubenko @ 2002-11-12 21:36 UTC (permalink / raw)
  To: linux-diald

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-12 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20021112221200Z266996-32597+21257@vger.kernel.org>
2002-11-12 21:36 ` pptp-linux and diald Maxim Yakubenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.