eez-open / modular-psu-firmware

Firmware for EEZ Bench Box 3 (BB3)
https://www.envox.eu/eez-bb3/
GNU General Public License v3.0
94 stars 42 forks source link

Feature request: enable Link-Local addresses on Ethernet #318

Open brianbienvenu opened 1 year ago

brianbienvenu commented 1 year ago

At present the BB3 doesn't acquire a link-local address ("Auto-IP") if connected to a private network without a DHCP server (eg, plugged directly into a computer).

Ideally, if there is no DHCP response for a given time period, the BB3 would automatically assign itself a random link-local address, as per https://en.wikipedia.org/wiki/Link-local_address

Without this function, an end user can still make the BB3 work, but they need to manually change the static IP to a valid one in the 169.254.0.0/16 range.