From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6b3cd70db5fdaecc6326f8b4ab8c2a0c.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701162314.AAA16129@unix1.bart.nl> Date: Thu, 16 Jan 1997 21:03:51 -0500 (EST) From: Steven N. Hirsch Subject: Re: ah, yes, kernel compilation In-Reply-To: On Thu, 16 Jan 1997, David R. McGown wrote: > I will have to try the memory mapped IO. I have been playing around with > 2.1.20, but haven't been able to get routing to work yet, so I have been > keeping with 2.0.28 for normal work. Any hints on routing? I cannot seem to > get my loopback device to show up in the routing table or a default route to my > gateway. > > David > > It may be that you have to be running with glibc-1.99 and friends. I struggled through that upgrade several weeks ago. You must fully specify everything in your network setup, for example: ------------------ network: NETWORKING=yes HOSTNAME=alpha DOMAINNAME=steve.net GATEWAY=192.168.244.50 GATEWAYDEV=eth0 GATEWAYMASK=0.0.0.0 ------------------------ ifcfg-eth0: DEVICE=eth0 IPADDR=192.168.244.65 NETMASK=255.255.255.0 NETWORK=192.168.244.0 BROADCAST=192.168.244.255 ONBOOT=yes BOOTP=no --------------------------- ifcfg-lo: DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 BROADCAST=127.255.255.255 ONBOOT=yes BOOTP=no -------------------- ifup patch: *** ifup.save Tue Sep 10 12:52:20 1996 --- ifup Sun Jan 5 16:35:02 1997 *************** *** 44,50 **** fi ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ! route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE} # this is broken! it's only here to keep compatibility with old RH sytstems if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ] --- 44,52 ---- fi ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ! # ifconfig ${DEVICE} ${IPADDR} ! route add -net ${NETWORK} netmask ${NETMASK} dev ${DEVICE} ! # route add -net ${NETWORK} ${DEVICE} # this is broken! it's only here to keep compatibility with old RH sytstems if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ] *************** *** 57,63 **** if [ "${GATEWAY}" != "" ]; then if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then # set up default gateway ! route add default gw ${GATEWAY} fi fi --- 59,65 ---- if [ "${GATEWAY}" != "" ]; then if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then # set up default gateway ! route add default gw ${GATEWAY} netmask ${GATEWAYMASK} dev ${DEVICE} fi fi ------------------------------------------- Let me know if this helps? Steve P.S. - Sure would be nice if any of the recent glibc drops actually compiled :-(. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com