I grabbed the source tar file and compiled the system after editing the
Makefile per instructions.
I pulled the source tar from http://sourceforge...
After configuring the system, I was able to get diald to run in the
background and create the sl0 interface.
Only the problem was it wouldn't dial out. Turned out the reason for this
was diald wasn't setting up the default route 0.0.0.0/0 to dev sl0 correctly.
after i run /sbin/route add -net 0.0.0.0/0 dev sl0
diald will work correctly for one call, after which it will not be able to
create the default route again.
Based on what I can see from my syslog information and looking at the diald
source code, it looks like the options it calls my /sbin/route with are
incorrect.
Perhaps a ./configure script would help as well?
thanks
dunk
System: K7/500, 128, Redhat 6.1
diald untared to /usr/local/src and installed in default locations.
[dunk@skippy dunk]$ /usr/sbin/diald --version
Diald version 0.99.1
uname -a
Linux skippy 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown
[dunk@skippy dunk]$ /sbin/route --version
net-tools 1.53
route 1.96 (1999-01-01)
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +I18N
AF: (inet) +UNIX +INET -INET6 +IPX +AX25 +NETROM +ATALK -ECONET +ROSE
HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +FR +ROSE -ASH
-SIT +FDDI +HIPPI +HDLC/LAPB
[dunk@skippy dunk]$ /sbin/ifconfig --version
net-tools 1.53
ifconfig 1.39 (1999-03-18)
from route.c:
/* Add in a default route for the link if required. */
if (default_route) {
if (path_ip && *path_ip) {
sprintf(buf, "%s route replace default dev %s scope link%s%s metric
%d %s",
path_ip, iface,
lip ? " src " : "",
lip ? lip : "",
metric, win);
} else {
sprintf(buf,"%s add default metric %d %s netmask 0.0.0.0 dev %s",
path_route, metric, win, iface);
}
run_shell(SHELL_WAIT, desc, buf, -1);
}
Lots of junk from syslog:
Apr 15 18:42:18 localhost diald[905]: start sl0: SIOCSIFMETRIC:
Operation not supported
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 1
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 0
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 7
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 3
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 7
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 4
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 4
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 8
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 3
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 2
Apr 15 18:42:18 localhost diald[905]: start sl0: Usage: route [-nNvee]
[-FC] [<AF>] List kernel routing tables
Apr 15 18:42:18 localhost diald[905]: start sl0: route [-v] [-FC]
{add|del|flush} ... Modify routing table for AF.
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: route
{-h|--help} [<AF>] Detailed usage syntax for specified AF.
Apr 15 18:42:18 localhost diald[905]: start sl0: route
{-V|--version} Display version/author and exit.
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: -v,
--verbose be verbose
Apr 15 18:42:18 localhost diald[905]: start sl0: -n,
--numeric dont resolve names
Apr 15 18:42:18 localhost diald[905]: start sl0: -N,
--symbolic resolve hardware names
Apr 15 18:42:18 localhost diald[905]: start sl0: -e,
--extend display other/more information
Apr 15 18:42:18 localhost diald[905]: start sl0: -F,
--fib display Forwarding Information Base (default)
Apr 15 18:42:18 localhost diald[905]: start sl0: -C,
--cache display routing cache instead of FIB
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: <AF>=Use '-A <af>' or
'--<af>' Default: inet
Apr 15 18:42:18 localhost diald[905]: start sl0: List of possible
address families (which support routing):
Apr 15 18:42:18 localhost diald[905]: start sl0: inet (DARPA
Internet) ax25 (AMPR AX.25) netrom (AMPR NET/ROM)
Apr 15 18:42:18 localhost diald[905]: start sl0: ipx (Novell IPX)
ddp (Appletalk DDP)
Apr 15 18:42:18 localhost diald[905]: start sl0: SIOCDELRT: No such
process
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 1
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 0
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 7
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 3
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 7
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 4
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 4
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 8
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 3
Apr 15 18:42:18 localhost diald[905]: start sl0: /sbin/route: invalid
option -- 2
Apr 15 18:42:18 localhost diald[905]: start sl0: Usage: route [-nNvee]
[-FC] [<AF>] List kernel routing tables
Apr 15 18:42:18 localhost diald[905]: start sl0: route [-v] [-FC]
{add|del|flush} ... Modify routing table for AF.
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: route
{-h|--help} [<AF>] Detailed usage syntax for specified AF.
Apr 15 18:42:18 localhost diald[905]: start sl0: route
{-V|--version} Display version/author and exit.
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: -v,
--verbose be verbose
Apr 15 18:42:18 localhost diald[905]: start sl0: -n,
--numeric dont resolve names
Apr 15 18:42:18 localhost diald[905]: start sl0: -N,
--symbolic resolve hardware names
Apr 15 18:42:18 localhost diald[905]: start sl0: -e,
--extend display other/more information
Apr 15 18:42:18 localhost diald[905]: start sl0: -F,
--fib display Forwarding Information Base (default)
Apr 15 18:42:18 localhost diald[905]: start sl0: -C,
--cache display routing cache instead of FIB
Apr 15 18:42:18 localhost diald[905]: start sl0:
Apr 15 18:42:18 localhost diald[905]: start sl0: <AF>=Use '-A <af>' or
'--<af>' Default: inet
Apr 15 18:42:18 localhost diald[905]: start sl0: List of possible
address families (which support routing):
Apr 15 18:42:18 localhost diald[905]: start sl0: inet (DARPA
Internet) ax25 (AMPR AX.25) netrom (AMPR NET/ROM)
Apr 15 18:42:18 localhost diald[905]: start sl0: ipx (Novell IPX)
ddp (Appletalk DDP)
Apr 15 18:42:19 localhost diald[905]: Delaying 30 seconds before clear
to dial.
Apr 15 23:36:26 localhost diald[905]: Trigger: tcp
10.10.10.1/1638 204.71.200.56/80
Apr 15 23:36:26 localhost diald[905]: Calling site 192.168.142.167
Apr 15 23:36:30 localhost diald[905]: Connected to site 192.168.142.167
Apr 15 23:36:30 localhost diald[905]: Running pppd (pid = 2135).
Apr 15 23:36:30 localhost modprobe: can't locate module char-major-108
Apr 15 23:36:30 localhost pppd[2135]: pppd 2.3.10 started by root, uid 0
Apr 15 23:36:30 localhost pppd[2135]: Using interface ppp0
Apr 15 23:36:30 localhost pppd[2135]: Connect: ppp0 <--> /dev/ttyS0
Apr 15 23:36:31 localhost pppd[2135]: local IP address 151.200.124.141
Apr 15 23:36:31 localhost pppd[2135]: remote IP address 192.168.142.167
Apr 15 23:36:31 localhost diald[905]: New addresses: local
151.200.124.141, remote 192.168.142.167, broadcast 0.0.0.0
Apr 15 23:36:31 localhost diald[905]: start ppp0: SIOCSIFMETRIC:
Operation not supported
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 1
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 0
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 7
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 3
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 7
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 4
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 4
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 8
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 2
Apr 15 23:36:31 localhost diald[905]: stop sl0: /sbin/route: invalid
option -- 4
Apr 15 23:36:31 localhost diald[905]: stop sl0: Usage: route [-nNvee]
[-FC] [<AF>] List kernel routing tables
Apr 15 23:36:31 localhost diald[905]: stop sl0: route [-v] [-FC]
{add|del|flush} ... Modify routing table for AF.
Apr 15 23:36:31 localhost diald[905]: stop sl0:
Apr 15 23:36:31 localhost diald[905]: stop sl0: route {-h|--help}
[<AF>] Detailed usage syntax for specified AF.
Apr 15 23:36:31 localhost diald[905]: stop sl0: route
{-V|--version} Display version/author and exit.
Apr 15 23:36:31 localhost diald[905]: stop sl0:
Apr 15 23:36:31 localhost diald[905]: stop sl0: -v,
--verbose be verbose
Apr 15 23:36:31 localhost diald[905]: stop sl0: -n,
--numeric dont resolve names
Apr 15 23:36:31 localhost diald[905]: stop sl0: -N,
--symbolic resolve hardware names
Apr 15 23:36:31 localhost diald[905]: stop sl0: -e,
--extend display other/more information
Apr 15 23:36:31 localhost diald[905]: stop sl0: -F,
--fib display Forwarding Information Base (default)
Apr 15 23:36:31 localhost diald[905]: stop sl0: -C,
--cache display routing cache instead of FIB
Apr 15 23:36:31 localhost diald[905]: stop sl0:
Apr 15 23:36:31 localhost diald[905]: stop sl0: <AF>=Use '-A <af>' or
'--<af>' Default: inet
Apr 15 23:36:31 localhost diald[905]: stop sl0: List of possible
address families (which support routing):
Apr 15 23:36:31 localhost diald[905]: stop sl0: inet (DARPA
Internet) ax25 (AMPR AX.25) netrom (AMPR NET/ROM)
Apr 15 23:36:31 localhost diald[905]: stop sl0: ipx (Novell IPX) ddp
(Appletalk DDP)
Apr 15 23:37:02 localhost diald[905]: Closing down idle link.
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]