Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134593 - dhcpcd: missing required function interface_is_up
Summary: dhcpcd: missing required function interface_is_up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 23:58 UTC by Lugduweb
Modified: 2006-05-27 23:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lugduweb 2006-05-27 23:58:32 UTC
Hi !
Here is a problem I was having on a complety new install with dhcp (with kernel 2.6.15-r5) and which I've solved (that might help somebody else).

I add already set OVERRIDE=0 in /etc/conf.d/domainname and iface_eth0="dhcp" in /etc/conf.d/net
but it was still not working. I was having this error :

/etc/init.d/net.eth0 start
* Starting eth0
* dhcpcd: missing required function interface_is_up

So I first tried to do a "emerge baselayout" but it was useless for me (I did not changed my scripts anyway). Anyway that might work for somebody else has the scripts net.* might be corrupted with updates.

Then I saw that the "ifconfig" command was missing too : Now I'm sure that was the real problem because it now works.

So you must do :
Quote:
#emerge net-tools

Then test if ifconfig is working :
#ifconfig

eth0 Link encap:Ethernet HWaddr 00:0B:2F:4A:CA:B5
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10722 errors:0 dropped:0 overruns:0 frame:0
TX packets:2570 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5799448 (5.5 Mb) TX bytes:398753 (389.4 Kb)
Interrupt:9 Base address:0xa800


#/etc/init.d/net.eth0 start

* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ... [ ok ] * eth0 received address 192.168.0.101


Hope that it will help somebody else...
Comment 1 Lugduweb 2006-05-27 23:59:11 UTC
This is just a bug report with a fixed solution ;-)