Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

NEMS 1.5 - static IP with NetworkManager & cockpit

#1
If you would like to set up a static IP for NEMS 1.5 (should also work for 1.4.x) the following steps might help you.
Additionally, the last command installs the interface for Cockpit to NetworkManager, enabling IP changes via the Cockpit-Webinterface.


ssh into into your NEMS machine and execute the following:
(BOLD for returns)

sudo systemctl disable dhcpcd
sudo systemctl enable networking

sudo nmcli device

DEVICE  TYPE      STATE      CONNECTION
eth0    ethernet  unmanaged  --
lo      loopback  unmanaged  --

sudo nmcli connection

NAME  UUID  TYPE  DEVICE

sudo mv /etc/network/interfaces /etc/network/interfaces.unused
sudo nmcli connection add type ethernet ifname eth0

Connection 'ethernet-eth0' (YOUR-UUID) successfully added.

sudo nmcli connection edit ethernet-eth0
goto ipv4
set addresses YOUR-IP
set gateway YOUR-GATEWAY-IP
set dns YOUR-DNS-IP
save

Connection 'ethernet-eth0' (YOUR-UUID) successfully updated.

quit

sudo apt install cockpit-networkmanager
sudo reboot

---snip snap---

Enjoy...  Big Grin
 Reply
 
Messages In This Thread
NEMS 1.5 - static IP with NetworkManager & cockpit - by spacej - 03-18-2019, 01:26 PM
RE: NEMS 1.5 - static IP with NetworkManager & cockpit - by Robbie Ferguson - 03-18-2019, 02:58 PM
 
Forum Jump:

Users browsing this thread: 1 Guest(s)