Hi Heiko!
Around Dec 30th you did the following changes:
http://cvs.sourceforge.net/viewcvs.py/devil-linux/build/config/etc/init.d/network?r1=1.22&r2=1.23&diff_format=u
http://cvs.sourceforge.net/viewcvs.py/devil-linux/build/config/etc/init.d/network?r1=1.22&r2=1.23&diff_format=u
@@ -327,15 +327,13 @@
test -n "$ONLY_INTERFACE" && exit
#
- # If the /etc/sysconfig/network file contains a GATEWAY variable, set
- # the default gateway and the interface through which the default
- # gateway can be reached.
+ # If the /etc/sysconfig/network file contains a GATEWAY variable,
+ # warn the user that we don't support it anymore
#
if [ -n "$DEFAULTGATEWAY" -a -n "$DEFAULTGATEWAY_IF" ]; then
- echo -n "Setting up routing for $DEFAULTGATEWAY_IF interface"
- route add default gateway $DEFAULTGATEWAY \
- metric 1 dev $DEFAULTGATEWAY_IF
- evaluate_retval
+ echo -n "Setting of default gateway via /etc/sysconfig/config is not supported anymore"
+ print_status failure
+ echo "please set it in the interface configuration file"
fi
# enable IP Routing
http://cvs.sourceforge.net/viewcvs.py/devil-linux/build/config/etc/sysconfig/config?r1=1.19&r2=1.20&diff_format=u
--- devil-linux/build/config/etc/sysconfig/config 2003/10/09 00:14:08 1.19
+++ devil-linux/build/config/etc/sysconfig/config 2003/12/30 18:43:56 1.20
@@ -12,8 +12,6 @@
HOSTNAME=Devil
DOMAIN=devil-linux.org
-#DEFAULTGATEWAY=10.90.1.1
-#DEFAULTGATEWAY_IF=eth0
# enable routing -> yes/no
START_ROUTING=yes
Could you please add the corresponding examples on how to configure
the default gateway to the /etc/sysconfig/nic/*.sample files? Thx.
--
MfG / Regards
Friedrich Lobenstock
____________________________________________________________________
Friedrich Lobenstock Linux Services Lobenstock
URL: http://www.lsl.at/ Email: fl...@fl...
____________________________________________________________________
|