You must be using yast2 if you use yast1 or just plain yast at the command
line you will be able to do it it does not complain. However you can write
a script like this and call it something like default
#!/bin/sh
case "$1" in
start ) echo "initailizing default route"
              route add 44.135.34.201 eth0    || return=failed
              route add default gw 44.135.34.201 eth0 
              ;;
stop )
        echo "shutting down default route"
        route del etc etc
        ;;
* )
       echo "usage: {start|stop}"
        ;;
       esac
then make symbolic links to it in /sbin/init.d/rc2.d/ like say
ln -s /sbin/init.d/default /sbin/init.d/rc2.d/S10default and also
ln -s /sbin/init.d/default /sbin/init.d/rc2.d/K38default
that should do the trick.
 On Fri, 7 Jul 2000, Ted Gervais wrote:

> Date: Fri, 7 Jul 2000 19:14:10 -0300 (ADT)
> From: Ted Gervais <[EMAIL PROTECTED]>
> To: linux-newbie <[EMAIL PROTECTED]>
> Subject: SuSE64
> 
> I wonder if someone might have a thought on how and where I can add
> these lines to my SuSE64 configuration..
> 
> I want to add:
> 
> route add 44.135.34.201 eth0
> route add default gw 44.135.34.201 eth0
> 
> I can't add it to the /etc/rc.config file as the system objects to strange
> lines like this added to the bottom or top. And to have Yast install such
> statements it complains about there being such a difference between my
> system's ip address (192.168.0.1) and these route statements.
> 
> Bottom line  - the normal configuration using Yast fails. So I have little
> choice but to add these lines (somewhere) manually..
> 
>  ---
> The mosquito is the state bird of New Jersey.
>                 -- Andy Warhol
> 
> Ted Gervais <[EMAIL PROTECTED]>
> 44.135.34.201 linux.ve1drg.ampr.org
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
> 

 Noah
[EMAIL PROTECTED]
 



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to