More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Setting Static IP and DNS

I’m trying to set a static IP address with DNS set explicity (so don’t use Router DNS)

Here is the documentation I found :

[Network]
DHCP=no
Address=192.168.0.189/24
Gateway=192.168.0.1
DNS=192.168.0.1

It says to set the IP address to 192.168.0.189/24

Why is it not set to a specific IP address like 192.168.0.5 - it looks like it is being subnetted or something.

I also made edits to 20-ethernet.network and they got set on the file system. I was able to restart the network with : /etc/init.d/networking restart

However when I rebooted all my changes were gone so something is resetting network configs.

Do you have it set the same in the worker in hive under lan config? (Ethernet icon next to the rocket icon)