Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I define a default gateway on ScoOpenServer 505

2 views
Skip to first unread message

ISIA

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
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.
Thank you,

Xavier Blanc


sup...@dakel.com

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
Edit /etc/tcp and insert the route command after the sript:

#
# 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>...

Richard Howlett

unread,
Jul 1, 1999, 3:00:00 AM7/1/99
to
sup...@dakel.com wrote:

<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

Rowan

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to
hi,
put it in /etc/tcp underneath the other "/etc/route add..." line (about line
117).
else put it in a file in /etc/rc2.d. all files in this directory are run
when system goes multiuser.
rowan.
ISIA <isia....@wanadoo.fr> wrote in message
news:01bec3e2$12d1ff10$03fa09c0@sauron...

> 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.
> Thank you,
>
> Xavier Blanc
>
>
>

0 new messages