Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4
by
wi$em@n
on 03/11/2017, 01:47:27 UTC
Can someone please provide a proper technique for re-IPing an nvOC 19-1.4 box through SSH?

kk003_telegram has code to to send public ip in case of changed (don't know if you need this feature in case your new ip is dynamic)

Useful, but not necessary - I have access to the routers and can see which IP is being picked up from DHCP.


In case you don't want DHCP here is a guide.

A example for local static ip:
sudo nano /etc/network/interfaces

.... [clip]

This looked maddeningly like something I'd tried, but I walked through it with yours as a reference and found my STUPID, STUPID BLUNDER.

Instead of :

Code:
auto enp0s31f6
iface enp0s31f6 inet static

I had

Code:
auto enp0s31f6 iface enp0s31f6 inet static

Not sure if it stemmed from a copy/paste error of my template, or just a stray accidental backspace or deletion, but I didn't spot it until comparing your text to mine, so, thanks! It's something of a relief to know I wasn't entirely on the wrong track.

I'm also amused that we have the same network interface adapter. Note to others following along: you may have a different interface, like enp4s0 instead of enp0s31f6. You can look yours up with the command ifconfig.

Moving on....


then stop network manager:
Code:
sudo systemctl stop network-manager.service

Remove it from system startup:
Code:
sudo systemctl disable network-manager.service

Is that step strictly necessary? I edited the interfaces file and rebooted the box, and it came up on the desired IP. What does killing network manager achieve?


Update: I assume you know how to connect to your rigs using ssh and have a well configured router if you are behind one

Yes, I'm fine on that front - but good to mention for others following along.

Thanks, again!

So many moves and waste of time...!? Just make static entries for each rig in the router and no matter which OS you would have installed (Linux, Windows or else) every rig will always receive the same address without making any changes to it's network configuration at all.