On 01/14/2011 10:39 AM, Kostya Sha. wrote: > > On 14.01.2011, at 12:41, Norman Rieß wrote: > >> Am 01/14/11 06:33, schrieb doherty pete: >>> when i start the kernel, it wait long time to dhcp for eth0: >>> eth0:dhcped 4.0.15 starting >>> eth0:waiting for carrier >>> >>> i want to forbid dhcp,how can i do? >>> >> >> Hi, >> >> configure a static IP or bring up the interface without configuration >> with config_eth0=( "null" ) >> >> If you do not want dhcp at all, unmerge dhcpcd. >> >> Regards, >> Norman >> > lol, > 1) What baselayout do you use? > if the second then go to /usr/share/doc/openrc-*/net.example > 2) no need to unmerge, you could disable by modules_eth0="!dhcp" (check > net.example i'm writing from head)
As it has been suggested in this list before. Dump all the /etc/conf.d/net configuration stuff (including removing the /etc/init.d/net.eth0 and net.wlan0 files) and just use wicd. It will know when your machine is wired or not and will boot your system without waiting for eth0. -- Valmor