Me temo que no, de la p�gina man de gateways:

/etc/gateways  is  used  by routed(8); the file contains a
list of gateways which may not be located  by  using  only
information from the SIOGIFCONF ioctl(2) when routed(8) is
started.

Si no usas routed, no se usa gateways, seg�n dice ah�.

En /etc/network tienes directorios:
if-donw.d
if-up.d
if-pre-up.d
if-post-down.d

Dentro de ellos puedes poner scripts que se ejecuten cuando ocurra alguna
de esas cosas que indican...

Si dentro del if-up.d pones un script con el route add, listo.

El 01 Sep 2001 a las 03:44AM +0200, Diego Chaparro escribio:
> 
>       Hola,
> 
>       Aunque no lo he usado nunca, creo que /etc/gateways sirve para eso ...
> 
> 
> On 01 Sep 2001 01:06:45 +0000, Juanmi wrote:
> > Hola!!!
> > 
> > 
> >     Existe alg�n script o alg�n fichero de configuraci�n en debian, 
> > concretamente,
> > en la potato, para dejar de forma permanente un "route add".
> > 
> > Gracias.
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Andres Seco Hernandez    -     [EMAIL PROTECTED]
MCP ID 445900     -     http://andressh.alamin.org
GnuPG public information:      pub  1024D/3A48C934
E61C 08A9 EBC8 12E4 F363  E359 EDAC BE0B 3A48 C934
--------------------------------------------------
Alamin GSM SMS Gateway   -   http://www.alamin.org
Debian GNU/Linux         -   http://www.debian.org
Grupo de Usuarios de GNU/Linux  de  Guadalajara  y
alrededores  -  http://gulalcarria.sourceforge.net
--------------------------------------------------

Attachment: pgpSx90yGkSzQ.pgp
Description: PGP signature

Responder a