Network Interface Configuration (BeagleV-Ahead)

Hi,

I want to connect the BeagleV-Ahead board as a server for multiple users.
I cannot setup the eth0 configuration, for example:
fixed IP v4 address/netmask, and the default gateway is always 0.0.0.0 and I want to chane that.
And every time I reboot the device, the MAC addresses change. How to fix them?

Thanks!

qk

first more info would help, i.e. uname -a, cat /etc/issues
booting from emmc or sdcard
anyway, i’ve been in your shoes

i’m booting from sdcard, via u-boot in emmc (long story)
sudo systemctl status systemd-networkd
does this indicate it’s enabled ??

uname -a
Linux BeagleV 5.10.113-20240504+ #3 SMP PREEMPT Sat May 4 07:37:44 CDT 2024 riscv64 riscv64 riscv64 GNU/Linux

assuming systemd-networkd is enabled.
sudo nano /etc/systemd/network/eth0.network

[Match]
Name=eth0
Type=ether

[Network]
#DHCP=ipv4
Address=192.168.3.84/24
Gateway=192.168.3.1
DNS=192.168.3.1

change your network setting for your setup