My router DHCP server is unable to assign a fixed IP address to Rock 64 running ayufan's Debian Jessie because the MAC address keeps changing after every reboot.
In the file /etc/network/interfaces.d/eth0 , I tried to add a line "hwaddress ether 00:11:22:33:44:55" after "iface eth0 inet dhcp" line, rebooted the Rock, but it has no effect.
I really need this fixed IP address assignment using the router DHCP to do port forwarding, etc. can any kind soul please help me?
Thanks in advance
Update: Using "dmesg | tail" command, I found some errors. It looks like something is broken here.
[ 16.107739] systemd-journald[284]: Received request to flush runtime journal from PID 1
[ 16.677610] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: rk_vendor_read eth mac address failed (6)
[ 16.684179] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: generate random eth mac address: 46:dc:5a:a0:be:8a
[ 17.087857] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: mac address: 46:dc:5a:a0:be:8a
[ 17.092156] eth0: device MAC address 46:dc:5a:a0:be:8a
[ 19.975103] rk_gmac-dwmac ff550000.eth: rk_get_eth_addr: mac address: 46:dc:5a:a0:be:8a
[ 19.987574] eth1: device MAC address 46:dc:5a:a0:be:8a
[ 21.159028] rk_gmac-dwmac ff540000.eth eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 24.618565] tty_port_close_start: tty->count = 1 port count = 2.
In the file /etc/network/interfaces.d/eth0 , I tried to add a line "hwaddress ether 00:11:22:33:44:55" after "iface eth0 inet dhcp" line, rebooted the Rock, but it has no effect.
I really need this fixed IP address assignment using the router DHCP to do port forwarding, etc. can any kind soul please help me?
Thanks in advance
Update: Using "dmesg | tail" command, I found some errors. It looks like something is broken here.
[ 16.107739] systemd-journald[284]: Received request to flush runtime journal from PID 1
[ 16.677610] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: rk_vendor_read eth mac address failed (6)
[ 16.684179] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: generate random eth mac address: 46:dc:5a:a0:be:8a
[ 17.087857] rk_gmac-dwmac ff540000.eth: rk_get_eth_addr: mac address: 46:dc:5a:a0:be:8a
[ 17.092156] eth0: device MAC address 46:dc:5a:a0:be:8a
[ 19.975103] rk_gmac-dwmac ff550000.eth: rk_get_eth_addr: mac address: 46:dc:5a:a0:be:8a
[ 19.987574] eth1: device MAC address 46:dc:5a:a0:be:8a
[ 21.159028] rk_gmac-dwmac ff540000.eth eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 24.618565] tty_port_close_start: tty->count = 1 port count = 2.