audetto
Posts: 28
Joined: Fri Feb 28, 2014 8:44 pm

DHCP not working after power cut

Wed May 14, 2014 3:35 pm

Hi,

this happens each time there is a power cut.
I think:

the Pi comes back way faster than the router and when it tries to get an IP the router is not there yet
so I always need to power it off and on again.

it seems the DHCP client does not try to reget an IP when the router is back on.

there is a switch in between.

I am running ArchLinux

any idea?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: DHCP not working after power cut

Wed May 14, 2014 4:49 pm

Try:
ifdown eth0
ifup eth0
If this becomes a regular problem the perhaps you need to configure your network for static IP instead of dynamic.

Richard S.

Return to “Arch”