我在路由器上给N1分配静态IP的时候发现,armbian的有线网卡每次重启后MAC地址都会变,解决方法也不复杂。
使用宝塔面板或者winscp打开/etc/network/interfaces文件,在eth0网卡上写死一个mac地址即可:
root@aml:~# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# Wired adapter #1
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet dhcp
hwaddress 4e:03:88:54:39:93
如图所示
