DHCP4 does not recive an adress on startup

Hi folks,

i installed opensuse 11.2 but the network is still not running. On startup the dhcp client does not recive an adress. Here is the output from the boot.msg


Setting up (localfs) network interfaces:
    lo        
    lo        IP address: 127.0.0.1/8   
              IP address: 127.0.0.2/8   
    lo       
done    eth0      device: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
    eth0      Starting DHCP4 client. . . . . . . .  
    eth0      DHCP4 continues in background
    eth0     
waiting
Waiting for mandatory devices:  eth0 __NSC__
12 11 9 8 7 6 5 3 2 1 0 
    eth0      device: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
    eth0      DHCP4 client (dhcpcd) is running
    eth0      . . . but is still waiting for data
    eth0     
waiting
    eth0      interface could not be set up until now
failed
<notice -- Mar  8 12:15:53.877908000> service network doneSetting up service (localfs) network  .  .  .  .  .  .  .  .  .  .failed
<notice -- Mar  8 12:15:53.878000000> service syslog start<notice -- Mar  8 12:15:53.918752000> killproc: kill(1083,15)
Re-Starting syslog services

When the system is bootet, i can run

ifdown-dhcp eth0

and then

ifup-dhcp eth0

after this commands its working, but this can’t be a solution.
Any ideas?

Hope for a better solution than this.

A workaround would be to setup a root cron job with this entry:

@reboot sleep10;ifup-dhcp eth0

Got the problem :slight_smile: The interface was not ready as the dhcp try to recive a lease, so it failed. After booting, the interface was ready and the client could recive one. This workaround should fix the Problem:


sed 's/DHCLIENT_SLEEP=.*/DHCLIENT_SLEEP="8"/' -i /etc/sysconfig/network/dhcp

Thank you for this solution! It may be 5 years later, but that’s the exact issue I was having on my Dell M6300.