From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199705191555.KAA22287@atheist.tamu.edu> Date: Mon, 19 May 1997 10:55:09 +0600 From: SubGenius Subject: Re: Getting Network Support Up -----BEGIN PGP SIGNED MESSAGE----- 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! +---------------------------------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