Diald not installing defaultroute to sl0
Hi,
I'm having some trouble setting up diald. I put the defaultroute option
in the diald.options file, but after running diald, the slip connection
is not being set up as the default route. Here is the setup
information:
/etc/diald/diald.options:
accounting-log /var/diald/log
mode ppp
two-way
dynamic
local 10.0.0.1
remote 10.0.0.2
reroute
defaultroute
device /dev/ttyS0
connect "/usr/sbin/chat -v -f /etc/ppp/ppp.chat"
modem
speed 115200
crtscts
connect-timeout 30
dial-fail-limit 5
fifo /var/run/diald.fifo
/etc/ppp/ppp.chat:
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
''
\rAT \
'OK-+++\c-OK' ATH0 \
TIMOUT 30 \
OK 'AT *v2=5 s69.5=1 *p=3 *d0=1' \
OK 'ATDT8129147' \
CONNECT ''
/etc/ppp/options:
lcp-echo-interval 30
lcp-echo-failure 4
debug
noipdefault
after running diald -- /var/log/messages:
Apr 27 11:19:09 prophet diald[2500]: Using fifo /var/run/diald.fifo
Apr 27 11:19:09 prophet diald[2500]: Starting diald version 0.16.5
Apr 27 11:19:09 prophet diald[2500]: Proxy device established on
interface sl0
Apr 27 11:19:09 prophet diald[2500]: Setting pointopoint route for sl0
Apr 27 11:19:09 prophet diald[2500]: Establishing routes for sl0
Apr 27 11:19:09 prophet diald[2500]: proxy arp: scanning 2 interfaces
for IP 10.0.0.2
Apr 27 11:19:09 prophet diald[2500]: proxy arp: examining interface lo
Apr 27 11:19:09 prophet diald[2500]: proxy arp: examining interface sl0
Apr 27 11:19:09 prophet diald[2500]: Changed snoop device to sl0
Apr 27 11:19:09 prophet diald[2500]: Diald initial setup completed.
after running diald -- output of route -n :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.0.0.2 0.0.0.0 255.255.255.255 UH 1 0 0
sl0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 0.0.0.0 0.0.0.0 U 1 0 2
sl0
Shouldn't there be a G in the flags next to the bottom one?
Does anyone know why it's not working?
AdThanksvance
-Nissim
Reply to: