ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
561 stars 98 forks source link

Static IP not working stay in DHCP IP- stretch-openmediavault-rockpro64 #307

Open galosre opened 5 years ago

galosre commented 5 years ago

Unable to get a static IP only. even after removing empty interfaces.d_ got 2 ip

DrakeSeven commented 5 years ago

Here is the solution that worked for my setup: Rock64 4GB | omv 4.1.17-1 (Arrakis) | Linux Version 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1

Open OMV Web GUI:

Connect via SSH: (you have to remove the file eth0. It contains the entry: iface eth0 inet dhcp )

rm etc/network/interface.d/eth0
systemctl stop dhcpcd
systemctl disable dhcpcd
reboot

Now static IP should work