aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--initscripts.spec4
-rwxr-xr-xsysconfig/network-scripts/ifup-ctc4
-rw-r--r--sysconfig/network-scripts/ifup-escon4
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv4
5 files changed, 17 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7dbec001..bca5c8e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-11-07 Than Ngo <than@redhat.com>
+ * sysconfig/network-scripts/ifup-iucv
+ * sysconfig/network-scripts/ifup-escon
+ * sysconfig/network-scripts/ifup-ctc
+ fix bug in setting netmask on s390/s390x (bug #55421)
+ nmbd daemon works now ;-)
+
2001-11-02 Than Ngo <than@redhat.com>
* sysconfig/network-scripts/ifup-ippp
fixed typo bug ifup-ippp
diff --git a/initscripts.spec b/initscripts.spec
index bf4f6ea5..51858117 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -240,6 +240,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Wed Nov 7 2001 Than Ngo <than@redhat.com>
+- fix bug in setting netmask on s390/s390x (bug #55421)
+ nmbd daemon works now ;-)
+
* Fri Nov 2 2001 Than Ngo <than@redhat.com>
- fixed typo bug ifup-ippp
diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc
index 98be8223..1cfa4970 100755
--- a/sysconfig/network-scripts/ifup-ctc
+++ b/sysconfig/network-scripts/ifup-ctc
@@ -24,7 +24,7 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
# Wait for the device to come up - the chandev'ified ctc driver can take
# quite a while...
@@ -38,7 +38,7 @@ while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do
done
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network
diff --git a/sysconfig/network-scripts/ifup-escon b/sysconfig/network-scripts/ifup-escon
index 1e29840b..311aeb4b 100644
--- a/sysconfig/network-scripts/ifup-escon
+++ b/sysconfig/network-scripts/ifup-escon
@@ -25,7 +25,7 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
# Wait for the device to come up - the chandev'ified ctc driver can take
# quite a while...
@@ -39,7 +39,7 @@ while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do
done
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index 5f4bb2fc..48c822da 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -24,9 +24,9 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network