Change staic IP from command line

So I have changed my network from 192.168.0.x to 192.168.1.x, but the issue is I forget to update the static IP within the Rockstor UI. so now how can I change that address to the new 192.168.1.x from the command line?

I remember being able to run /etc/netcli then go in and set the static IP from the options but that no longer works, says command not found…or something like that.

So how can I get the IP changed


The command you’re looking for is nmcli, (network manager CLI) or nmtui (network manager text UI) for a menu driven interface.
I’m not sure how nicely this plays with Rockstor’s management of the interface though, it might be safer setting a static IP on your management system temporarily to put it on the same network as rockstor, then going to System -> Network -> Your management interface

You are right, I may just have to do that. I do remember when I first installed RS I was given those options after install to set up my network/IP from the console so that is what was hoping for instead of the alternative of temporarily setting my network back to 0.x just to update RS IP.

So I tried nmtui and that has updated the IP to be 1.x but I cannot connect to RS or any components. It also shows up in my router as an attached device with the correct static IP