Open isarrider opened 6 months ago
Yes. I will post some instructions soon how to setup a static MAC address.
Any idea why it doesnt use the burned in one?
There is no one default one.
The buildroot has some tricks to generate one on first boot and save it to the filesystem from memory (but that trick isn't compatible with Debian/Network Manager
Hmm - interesting - in all my past there were always the MACs burned in...
It's an unfortunate trend that's becoming more prevalent.
(There maybe a serial number in the efuse of the SOC that could be used to generate a MAC address but unfortunately no documentation exists on what efuse are present... )
Yuo can set fixed mac address to "end0" in /etc/network/interfaces
you can set your own mac address via "nmtui" as a clone mac address
which is the preferred way and how do I do that exactly?
Here is my script using nmcli. At least, it works for me.
https://gist.github.com/qgp9/0d77ce769c03e2d313d72fa1b6582555
#!/bin/sh
DEVICE=end0
MAC="26:6E:FE:5C:CE:38" # prefered mac address
UUID=$(nmcli -f UUID,DEVICE connection show | awk -v dev=$DEVICE '$2==dev{print $1}')
nmcli connection down $UUID
nmcli connection modify $UUID ethernet.cloned-mac-address "$MAC"
nmcli connection up $UUID
I recommend reusing a current Mac address, as a current ssh connection will be most likely alive with the same mac address and dhcp return value.
Thanks... actually this MAC stuff annoys me a bit... Good old days where it was burnt in ;)
Hi,
awesome project for this tiny thing...
My DuoS gets a new IP every time it boots... Does the MAC adress change randomly?
BR, Alex