I've been trying to get diald to work for a while now without any luck.
Diald loads with no errors other than the SIOCSIFMETRIC on a 2.2 kernel
problem. diald sees an out going packet and tries to bring up the link. It
runs the connect script, /etc/diald/connect, but the script does not seem
to be connected to the modem. chat does not get a reply and even a simple
echo "AT", which normally turns the modem's speaker on, does nothing.
I am running a 2.2.13 kernel without any patches, on what is bascilly a
debian/unstable distribution.
I have tried the diald_0.99.1-0.2.deb binary package and compiling the
diald source. The pppd package works wonderfully on the same device
/dev/ttyS1 (COM2) under identical conditions.
Does anybody have any ideas for what might be wrong? Would it be possible
to leave something important out of the kernel that doesn't generate any
errors? Could I have given diald an option which prevents it from calling
the connector correctly?
Any help will be greatly appricated, don't hesitate to speak up, if only
to call me a fool.
Tom Brown
/etc/diald/diald.options ---
# /etc/diald/diald.options
#
# $Id: diald.options,v 1.19 1998/08/10 06:27:44 phil Exp $
#
# Sample diald.options -- works for PPP links and fixed IP
#
# Edit to match your set up.
#
# This is the port the modem is connected to.
# *** MODIFY to match your set up ***
# See the file /usr/doc/diald/debian.device.gz for discussion about
# the use of /dev/ttyS? instead of /dev/cua?.
device /dev/ttyS0
# diald log file: do not change.
accounting-log /var/log/diald.log
# diald monitoring pipe: do not change.
fifo /var/run/diald.fifo
# This turns on full debugging.
#debug 31
debug 125
# We have PPP
mode ppp
# Dummy local IP address for a dynamic-ip link
local 192.168.0.1
# IP number for the provider's machine. This is different each time we
connect.
# This is not a problem, but it'll make the routine table look funny.
remote 194.109.2.10
netmask 255.255.255.0
# Comment out the next line if not a dynamic IP
dynamic
pppd-options noauth nopersist
# If the connection gets broken from the ISP, redial only
# if there's outgoing traffic from our side.
two-way
# When the link's up, change routes to point to the real link
# instead of the proxy.
#-reroute
# diald should set a default route to the proxy SLIP link.
defaultroute
# These two scripts must be executable.
#ip-up /etc/diald/ip-up
#ip-down /etc/diald/ip-down
# Use this script to, for example, deregister a dynamic DNS name
#ip-goingdown /etc/diald/ip-goingdown
# Scripts used to bring up/shut down the serial line.
connect "/etc/diald/connect"
#disconnect "/etc/ppp/ppp-disconnect"
#connect "echo AT"
# Do UUCP locking.
lock
# We connect through a modem.
modem
crtscts
# Local tweaking
connect-timeout 90
dial-fail-limit 0
died-retry-count 0
include /etc/diald/standard.filter
logger output ---
Dec 28 22:30:21 rooted diald[822]: Using fifo /var/run/diald.fifo
Dec 28 22:30:21 rooted diald[822]: Proxy device established on interface
sl0
Dec 28 22:30:21 rooted diald[822]: running '/sbin/ifconfig sl0 192.168.0.1
pointopoint 194.109.2.10 broadcast 0.0.0.0 netmask 255.255.255.0 metric 0
mtu 1500 up'
Dec 28 22:30:22 rooted diald[822]: start sl0: SIOCSIFMETRIC: Operation not
supported
Dec 28 22:30:22 rooted diald[822]: SIGCHLD[1]: pid 823 system, status 256
Dec 28 22:30:22 rooted diald[822]: start sl0: Establishing routes for sl0
Dec 28 22:30:22 rooted diald[822]: running '/sbin/route add 194.109.2.10
metric 0 dev sl0'
Dec 28 22:30:22 rooted diald[822]: SIGCHLD[2]: pid 824 system, status 0
Dec 28 22:30:22 rooted diald[822]: running '/sbin/route add default metric
0 netmask 0.0.0.0 dev sl0'
Dec 28 22:30:22 rooted diald[822]: SIGCHLD[3]: pid 825 system, status 0
Dec 28 22:30:22 rooted diald[822]: Changed snoop device to sl0
Dec 28 22:30:22 rooted diald[822]: Diald initial setup completed.
Dec 28 22:30:22 rooted diald[822]: --- tick --- state 0 block 0
state_timeout -1
Dec 28 22:30:51 rooted last message repeated 29 times
Dec 28 22:31:51 rooted last message repeated 60 times
Dec 28 22:32:01 rooted last message repeated 10 times
Dec 28 22:32:02 rooted dhcpd-2.2.x: DHCPREQUEST for 10.1.1.18 from
00:e0:98:09:9a:9c via eth0
Dec 28 22:32:02 rooted dhcpd-2.2.x: DHCPACK on 10.1.1.18 to
00:e0:98:09:9a:9c via eth0
Dec 28 22:32:02 rooted diald[822]: --- tick --- state 0 block 0
state_timeout -1
Dec 28 22:32:33 rooted last message repeated 31 times
Dec 28 22:33:34 rooted last message repeated 60 times
Dec 28 22:34:22 rooted last message repeated 48 times
Dec 28 22:34:22 rooted diald[822]: filter accepted rule 25 proto 134621024
len 51 packet 192.168.0.1,1024 => 192.112.36.4,53
Dec 28 22:34:22 rooted diald[822]: Trigger: udp 192.168.0.1/1024
192.112.36.4/53
Dec 28 22:34:22 rooted diald[822]: Adding connection 0x8062b00 @ 946442062
- timeout 30
Dec 28 22:34:22 rooted diald[822]: new state CONNECT action 0x8050db0
timeout 90
Dec 28 22:34:22 rooted diald[822]: Calling site 194.109.2.10
Dec 28 22:34:23 rooted diald[822]: running '/etc/diald/connect'
Dec 28 22:34:23 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 89
Dec 28 22:34:23 rooted connect: Initializing Modem /dev/ttyS0
Dec 28 22:34:23 rooted chat[845]: timeout set to 5 seconds
Dec 28 22:34:23 rooted chat[845]: send (AT^M)
Dec 28 22:34:23 rooted chat[845]: timeout set to 5 seconds
Dec 28 22:34:23 rooted chat[845]: expect (OK)
Dec 28 22:34:24 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 88
Dec 28 22:34:25 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 87
Dec 28 22:34:26 rooted diald[822]: filter accepted rule 25 proto 134621024
len 51 packet 192.168.0.1,1024 => 192.36.148.17,53
Dec 28 22:34:26 rooted diald[822]: Adding connection 0x8061dd8 @ 946442066
- timeout 30
Dec 28 22:34:26 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 86
Dec 28 22:34:27 rooted diald[822]: filter accepted rule 25 proto 134621024
len 51 packet 192.168.0.1,1024 => 192.112.36.4,53
Dec 28 22:34:27 rooted diald[822]: Adding connection 0x8062b00 @ 946442067
- timeout 30
Dec 28 22:34:27 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 85
Dec 28 22:34:28 rooted diald[822]: --- tick --- state 1 block 0
state_timeout 84
Dec 28 22:34:28 rooted chat[845]: alarm
Dec 28 22:34:28 rooted chat[845]: Failed
Dec 28 22:34:28 rooted connect: Failed to initialize modem
Dec 28 22:34:28 rooted diald[822]: SIGCHLD[4]: pid 843 dial, status 256
Dec 28 22:34:28 rooted diald[822]: Connect script failed.
Dec 28 22:34:28 rooted diald[822]: new state CLOSE action 0x80515dc
timeout -1
Dec 28 22:34:28 rooted diald[822]: Closing /dev/ttyS0
Dec 28 22:34:29 rooted diald[822]: Delaying 30 seconds before clear to
dial.
Dec 28 22:34:29 rooted diald[822]: --- tick --- state 9 block 0
state_timeout 29
Dec 28 22:34:30 rooted diald[822]: filter accepted rule 25 proto 134621024
len 51 packet 192.168.0.1,1024 => 207.159.77.18,53
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]