How to Assign Static IP Remotely on 7.3.0 Devices

How to Assign Static IP Remotely on 7.3.0 Devices

How to Assign Static IP Remotely on 7.3.0 Devices

Objectives

Use Network Manager's command-line tools to configure network interfaces.

Prerequisites

1. SSH connection to remote device

2. IP addressing information (IP, Gateway, DNS, SSID [if wireless], etc)

Instructions

1. Establish remote connection and login to a shell.

2. Type "nmcli con show" and press Enter. This will display a list of all network connections. Note the name of the connection you want to modify (e.g., New 802-3-ethernet connection).

3. Modify the connection to use a Static IP. Example for the wired connection listed:

# nmcli connection modify 'New 802-3-ethernet connection' ipv4.addresses 10.5.1.65/24 ipv4.gateway 10.5.1.254 ipv4.dns "8.8.8.8 8.8.4.4" ipv4.method manual

Example for the wireless connection listed:

# nmcli connection modify 'FC' 802-11-wireless.ssid 'FC' wifi-sec.key-mgmt wpa-psk wifi-sec.psk 'pheephae5T' ipv4.addresses 10.5.1.220/24 ipv4.gateway 10.5.1.254 ipv4.dns "8.8.8.8 8.8.4.4" ipv4.method manual

4. Take the connection down and bring it back up using the connection NAME. Example for wired:

nmcli connection down 'New 802-3-ethernet connection' && nmcli connection up 'New 802-3-ethernet connection'

Example for wireless:

nmcli connection down 'FC' && nmcli connection up 'FC'

*NOTE: It is likely you will lose your current shell connection after this step.

This should be now up and running. If any issues happen, the user on-site will have to insert a keyboard and edit or remove the connection you created from the Network Manager GUI.


    • Related Articles

    • Set Static IP Address on Wired Devices for OS Image 7.2.X

      Set Static IP Address on Wired Devices for OS Image 7.2.X Objectives Set a static IP on a device that has a wired (Ethernet) interface. Prerequisites Wired device Keyboard Monitor/display Instructions Plug in keyboard and if necessary, display into ...
    • Set Static IP Address on Wired Devices for OS Image 7.1.X and Earlier

      Objectives Set a static IP on a device that only has a wired (Ethernet) interface. Prerequisites Wired device Keyboard Monitor/display Instructions Plug in keyboard and if necessary, display into the device. Press "Ctrl+Alt+F1" which will show a ...
    • Identify IP Address Conflicts

      Identify IP Address Conflicts Objectives Discover possible IP conflicts on a customer's network Prerequisites Terminal is powered on Terminal is configured to use a static IP address. Link and activity lights on terminal network port are on. SSH ...
    • Set Static IP and Network Settings on DLI Tablets with OS Image 6.0.0

      Set Static IP and Network Settings on DLI Tablets with OS Image 6.0.0 Objectives Set wireless and wired network settings on DLI tablets. Prerequisites DLI Tablet USB Keyboard Network information Static IP for Wireless connection Static IP for Wired ...
    • Set Wireless Static IP and Network Settings on Tablets Using RADIUS Network Settings

      Set Wireless Static IP and Network Settings on Tablets Using RADIUS Network Settings Objectives Set wireless network settings on tablets that use RADIUS Authentication. Prerequisites Tablet USB Keyboard Network information Static IP for Wireless ...