From: Maxim Yakubenko <max@lanoffice.ru>
To: linux-diald@vger.kernel.org
Subject: pptp-linux and diald
Date: Wed, 13 Nov 2002 00:36:48 +0300 [thread overview]
Message-ID: <3DD17470.60904@lanoffice.ru> (raw)
In-Reply-To: 20021112221200Z266996-32597+21257@vger.kernel.org
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.
parent reply other threads:[~2002-11-12 21:36 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20021112221200Z266996-32597+21257@vger.kernel.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DD17470.60904@lanoffice.ru \
--to=max@lanoffice.ru \
--cc=linux-diald@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.