* Getting Network Support Up
@ 1997-05-16 21:16 Kirk Saban
0 siblings, 0 replies; 5+ messages in thread
From: Kirk Saban @ 1997-05-16 21:16 UTC (permalink / raw)
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!
Kirk
------------------
Kirk G. Saban, E.I.T.
RTDS Technolgies Inc.
Winnipeg, Manitoba, CANADA
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Getting Network Support Up
[not found] <Pine.SOL.3.95.970516161149.2748A-100000@jamesh>
@ 1997-05-16 21:20 ` Anthony Pardini
0 siblings, 0 replies; 5+ messages in thread
From: Anthony Pardini @ 1997-05-16 21:20 UTC (permalink / raw)
I had this same problem and just opted to create me own start up script.
It seems every redhat system that you don't setup networking at installed
doesn't work. I've never found a script that does it after the fact.
On Fri, 16 May 1997, Kirk Saban 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!
>
> Kirk
>
> ------------------
> Kirk G. Saban, E.I.T.
> RTDS Technolgies Inc.
> Winnipeg, Manitoba, CANADA
>
> --
> 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
>
------------------------------------------------------------------------------
Tony Pardini
Systems Engineer
CompuNet, INC.
tony@cmpu.net
pgr 2145817737
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Getting Network Support Up
@ 1997-05-16 21:41 hro
0 siblings, 0 replies; 5+ messages in thread
From: hro @ 1997-05-16 21:41 UTC (permalink / raw)
In the course of an upgrade from RH4.0 to RH4.1 on
an Aspen 433Mhz EB164 I managed to get the system
to get stuck with the last line of the boot saying
INIT: Entering runlevel 3
.
.
.
Mounting remote file systems
amd
and then no response for a long time. I can log in remotely
and kill amd. is there a more elegant solution?
thanks Heinrich
hro@lanl.gov
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Getting Network Support Up
@ 1997-05-19 4:55 SubGenius
0 siblings, 0 replies; 5+ messages in thread
From: SubGenius @ 1997-05-19 4:55 UTC (permalink / 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Getting Network Support Up
[not found] <199705191555.KAA22287@atheist.tamu.edu>
@ 1997-05-19 16:33 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1997-05-19 16:33 UTC (permalink / raw)
SubGenius wrote:
>
> 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.
For scripts in mine installation this is not entirely correct. I do
not know if what you have differs. In /etc/rc.d/init.d/network lines
in the question were:
case "$1" in
start)
for i in ifcfg-*[0-9o]; do
./ifup $i boot
done
which has nothing to do with 'ls' but depends on a shell expansion
(a small, but a crucial, difference).
> As a result, the interface
> configuration proceeds (or rather attempts to proceed) in ASCIIbetical order.
On all systems I managed to put my paws on these lines now read:
case "$1" in
start)
for i in ifcfg-*[o0-9]; do
./ifup $i boot
done
(without ANY changes in 'stop' case) and loopback starts before
ethernet card(s). That is it! I still have to see network startup
problems with other things correctly configured.
If you really want to be explicit about loopback starting (probably
a GOOD THING (tm)), then do not do that in this loop above, which
does depend on name patterns, but perform it explicitely first and
reserve the loop in question only for network cards.
I wonder how many times this will still re-appear on this list?
It was already here a few times.
Michal
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-05-19 16:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199705191555.KAA22287@atheist.tamu.edu>
1997-05-19 16:33 ` Getting Network Support Up Michal Jaegermann
1997-05-19 4:55 SubGenius
-- 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox