egrep : egrep :No such file or directory. egrep : ifcfg-ippp[0-9]+$ : No such file or directory. ------------- I've been having minor probs after installing the 2.4.0 kernel rpm from the redhat rawhide site. nothing major tho. I also compiled 2.4.0 on my own & got the same errors. since I started using 2.4.0, I've been getting startup/shutdown errors. I have a 3com 509b nic for a cable modem (road runner). all I have to do is set eth0 to dhcp & it has been working fine under linux. but once I installed the new kernel, there was also a eth0:0 listed when I do netcfg & eth0 didn't get my net connection at bootup. right now, all I have to do to get it working is go into netcfg & click activate on eth0 & it works fine. I removed eth0 & eth0:0, & on bootup it redetected it as eth0, but eth0 still doesn't get an IP at bootup (YES, ACTIVATE AT BOOTUP IS SELECTED along w/ DHCP)...I still have to click activate, then it works. here's the error at startup/shutdown: egrep : egrep :No such file or directory. egrep : ifcfg-ippp[0-9]+$ : No such file or directory. Any idea how to fix it? like I said, no biggie but its a hassle. thanks, ant
Looks like initscripts is passing bad parameters to egrep. Reassigning.
What does /etc/sysconfig/network-scripts/ifcfg-eth0 (and /etc/sysconfig/network-scripts/ifcfg-eth0:0) say?
DEVICE=eth0 USERCTL=no ONBOOT=yes BOOTPROTO=dhcp BROADCAST= NETWORK= NETMASK= IPADDR= ---- There is no longer an ifcfg-eth0:0 because I removed eth0:0 w/ netcfg.
Oh, this is the typo in init.d/network problem. See bug 24674; you need to add a '|' just before the '\' on line 38 of /etc/init.d/network. *** This bug has been marked as a duplicate of 24674 ***
That was indeed the problem. Thank you, Sirs!