Xavier Blanc
#
# Choice of routing daemons.
#
if [ -x /etc/routed -a ! -f /etc/gated.conf ]; then
routed -q -k $K ; echo "routed \c"
fi
if [ -x /etc/gated -a -f /etc/gated.conf ]; then
/etc/gated ; echo "gated \c"
fi
#
# Añado mi ruta estática
#
/etc/route add default 192.168.1.1 1
^
Your routers IP
Best Regards.
Sergi Almonacid
DAKEL INFORMATICA
ISIA escribió en mensaje <01bec3e2$12d1ff10$03fa09c0@sauron>...
<reply moved to correct place:-( >
> >Hello,
> >I know how to define a new gateway with route add ...
> >but my computer like to travel a lot, so after rebooting all is lost !!
> >Does a file configuration exist ???
> >I tried to find where i could define the default gateway, seems to be
> >easier but I don"t find it.
>
> Edit /etc/tcp and insert the route command after the sript:
>
<snip duff information>
No don't do that! Do it properly!
Edit the file "/usr/internet/etc/sco_ip/routes" and add the following line:
net default A.B.C.D
where A.B.C.D is your chosen route.
The startup script /etc/rc2.d/S90iproute will pick up this file and process
it.
Alternatively create a new a file in /etc/rc2.d called S99routes and enter
the full command to add the route.
--
Richard Howlett
mailto:ric...@rhowlett.demon.co.uk