Bug 25267 - NIC does not get IP through DHCP
Summary: NIC does not get IP through DHCP
Status: CLOSED DUPLICATE of bug 24674
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 1.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2001-01-30 07:24 UTC by albryan
Modified: 2014-03-17 02:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-31 06:40:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description albryan 2001-01-30 07:24:25 UTC
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.


Comment 1 Bernhard Rosenkraenzer 2001-01-30 11:25:40 UTC
Looks like initscripts is passing bad parameters to egrep. Reassigning.

Comment 2 Bill Nottingham 2001-01-30 17:03:27 UTC
What does /etc/sysconfig/network-scripts/ifcfg-eth0
(and /etc/sysconfig/network-scripts/ifcfg-eth0:0) say?

Comment 3 albryan 2001-01-31 06:40:40 UTC


There is no longer an ifcfg-eth0:0 because I removed eth0:0 w/ netcfg.

Comment 4 Bill Nottingham 2001-01-31 17:43:22 UTC
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 ***

Comment 5 albryan 2001-02-01 02:23:20 UTC
That was indeed the problem. Thank you, Sirs!

Note You need to log in before you can comment on or make changes to this bug.