Hi, I'm trying to set up static ip for my Orange pi zero.
I made the following settings in /etc/network/interfaces
#Local loopback
auto lo
iface lo inet loopback
#Ethernet Static IP
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.30
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
This just set static ip for ethernet and when wifi connects it assigns a new ip so I lose internet access.
I can assign any ip to the wifi name I set in Nmtui settings. But what I want is to be able to assign a single static ip to all wifi connections.
Can you help with this?
Thank you.