From: SubGenius <subg@atheist.tamu.edu>
Subject: Re: Getting Network Support Up
Date: Mon, 19 May 1997 10:55:09 +0600 [thread overview]
Message-ID: <f7800507d6dc9e42656acfcd1fb075b2.axp-list@archive.invalid> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Kirk Saban <kgs@hvdc.ca> wrote:
: I am having trouble getting Network support up on my Alpha system. Using
: ifconfig I can manually enable my ethernet adapter (eth0) and loopback
: (lo), however the script that is supposed to do this for me makes the
: system hang at bootup. In RHL 4.1, in the /etc/rc.d/rc3.d directory there
: is a file called S10network. When I remove this file I can boot the
: system no problem (without network support however) and with it in, the
: system hangs. This file calls another file which resides in
: /etc/sysconfig/network-scripts and is called ifup. I believe that this
: ifup file is what is causing me all of the problems. Does anyone know of
: any bugs relating to this issue or any suggestion? Thanks!
+---------------------------------SubG------------------------------------+
Since several other people chimed in with `me, too's, I suppose at this
point it's worthwhile to offer some comment.
First, I believe this is a Known Problem---at least insofar as I've
noticed previous mention of it in the mailing list archives. I am not,
however, sure of whether or not an Official Fix has been released (or even
disclosed) as of yet.
At any rate, the problem is that the network startup script uses
the output of an ls of /etc/sysconfic/network-scripts/ to obtain a
list of interfaces to be configured, and then attempts to configure them in
the order in which ls offers them. As a result, the interface
configuration proceeds (or rather attempts to proceed) in ASCIIbetical order.
This puts the configuration of eth0 (and any other present eth interfaces)
prior to the configuration of the loopback interface. This is
a Bad Thing.
The rather uninspired solution (or rather workaround) for this Your
Humble Narrator implimented shortly after initially encountering the
problemm is:
# mv /etc/rc.d/init.d/network /etc/rc.d/init.d/real_network
# cat > /etc/rc.d/init.d/network
#!/bin/sh
if [ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ]; then
mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak
/etc/rc.d/init.d/real_network $1
mv /etc/sysconfig/network-scripts/ifcfg-eth0.bak /etc/sysconfig/network-scripts/ifcfg-eth0
/etc/rc.d/init.d/real_network $1
exit 0
fi
/etc/rc.d/init.d/real_network $1
exit 0
^d
Share and Enjoy,
Yours etc.,
SubGenius
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM4B32UOoGXQKy1gNAQG2MgQAkbO7NLNakmST+jfP1Gyrwkk3C/WYlEK6
VB8xzab+jZ7q7Tu/cRvDHlyEvFeey26FpNsrcw5lajUTmteRHx7bxg/CCQO1+yc0
TjgwDCDnXsDaZJg/U3tIR9QePwFLvnZ5EN/zdgGidjzzMwDL4T1jRuH/Y3K0ctIu
IROEf/x5cjg=
=wZ1w
-----END PGP SIGNATURE-----
--
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
next reply other threads:[~1997-05-19 4:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-19 4:55 SubGenius [this message]
[not found] <199705191555.KAA22287@atheist.tamu.edu>
1997-05-19 16:33 ` Getting Network Support Up Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1997-05-16 21:41 hro
[not found] <Pine.SOL.3.95.970516161149.2748A-100000@jamesh>
1997-05-16 21:20 ` Anthony Pardini
1997-05-16 21:16 Kirk Saban
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox