Duplicate IP address

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
cu6apum
Posts: 9
Joined: Wed Mar 01, 2017 11:40 am

Duplicate IP address

Post by cu6apum »

Submitted the bug report already; perhaps letting people know is good too.

dietPi V159 , kernel 4.5.0-botic7-rc1 on beaglebone.

I almost got mad with unresponsive daemons like mpd/upmpdcli, and occasionally found out that the device is accessible on TWO ip addresses!! All the daemons bind to the second (that ifconfig shows), while local arp announces the first (of course) which makes dlna server / controller bite empty spaces.

Having investigated this weirdness I found out that the kernel sends DHCP request at boot, while hostname is not set yet, and THEN the dhclient comes, and takes another with new hostname. Craziness.

As I don't want to disable dhclient in order to keep the interface hotpluggable, I'd love to find out how to disable kernel dhcp...
Setting ip=none or ip=192.168.1.1 don't help.

Please advise! Thank you.
cu6apum
Posts: 9
Joined: Wed Mar 01, 2017 11:40 am

Re: Duplicate IP address

Post by cu6apum »

Ok silence.
I just deleted dhclient as I don't have any idea how to tell it that dhcp is already taken.
Weirdness. Not linux behavior in any way.
Post Reply