In order to set up a static IP on your msOS you will need to have local access to the rig. There are two ways you can set it up: either by using msOS GUI or directly from the msOS console.
You can access the GUI of the rig in two different ways, but it always needs to be from the local network:
Navigate to [Network] tab and click [Configure network] under Network tile.
A pop-up with network configuration will open. Disable DHCP and enter your static IP, netmask, and gateway settings.
Click on [Save changes] to configure the network settings.
If you want to disable static IP (enable DHCP) or set up WiFi, you can do it from the same popup.
You can access the console of the rig in different ways:
In order to set up a static IP on your msOS, you can call a simple static
command: static LOCALIP NETMASK GATEWAY
You can also set up the network settings manually by editing network.txt
file, which is located in the same folder as config.js
. The DHCP
has to be set at NO
and IPADDRESS
, NETMASK
, and GATEWAY
needs to be filled in. Once you are done and changes are saved, you can boot your rig. If this was not the first boot of the rig, you will also need to run the following command: sudo bin/static.sh
and reboot the rig so the changes can be applied to the OS.
You can reach network.txt
file by entering: sudo nano /media/storage/network.txt
Example of network.txt file
After you change the value of network.txt
file, you need to call the sync
command to save changes to the drive.
It's easy and free to get started. Monitor, manage, and optimize your mining rigs with our powerful platform.
Sign up for free nowminerstat isn't just another calculator - it's a powerful mining platform that supports your crypto journey. Boost your profits, save valuable time, and maximize efficiency with our suite of premium features:
Join the global community of miners who trust minerstat to elevate their mining game. Are you ready to unlock your mining potential?