7.8. `Network` command

7.8.1. Introduction

The network configuration information consists of:

  • general settings:

  • hostname

  • domain name

  • DNS servers (primary and secondary)

  • NTP servers (primary and secondary)

  • Name of the enabled interface

  • The settings for each network interface:

  • IP address

  • mask

  • gateway

  • routing table

The `Network` command enables access to the `Network Setup` submenu:

Show current configuration
Show interface status
Hostname, domain, DNS, NTP
Configure interfaces
Apply Network Config

Each of these commands is detailed in the table below:

Menu

Function

See procedure

`Show current configuration`

View the current configuration:
DNS, domain, GBx network interface information (0 to 3), hostname, and the NTP

Procedure for viewing the current configuration

`Show interface status`

View the network interface status
MAC address, carrier status, speed, connection type

Procedure for viewing the network interface status

`Hostname, domain, DNS, NTP`

Modification of the GBox's general parameters: DNS, domaine, hostname, NTP

Procedure for changing the GBox's general parameters

`Configure interfaces`

Modification of the network interface parameters:
For each network interface: MAC address, carrier status, speed, and connection type.

Procedure for modifying the network interface parameters

`Apply Network Config`

Apply the current configuration to the network interfaces

Procedure for taking modifications into account


7.8.2. Prerequisites

  • User : setup


7.8.3. Preliminary operations

Depending on the situation:


7.8.4. Procedure to access the `Network Setup` submenu

The configuration menu is displayed.

  • Select the `Network` line or press the letter N.
    The `Network Setup` submenu is displayed:
    Show current configuration
    Show interface status
    Hostname, domain, DNS, NTP
    Configure interfaces
    Apply Network Config
    

7.8.5. Procedure for viewing the current configuration

The `Network Setup` submenu is displayed.

  • Select the `Show current configuration` line or press the letter S.

  • Click on the `OK` button.
    The `Current Network Configuration` window is displayed:
    dns:
      primary: 192.168.1.251
      secondary: ```
    domain name  : domain.local
    gbx0:
      defaut gateway: 192.168.1.254
      enabled: true
      ip address: 192.168.1.43
      mask: 255.255.255.0
      routing table: `254`
    gbx1:
      defaut gateway: ``
      enabled: true
      ip address: ``
      mask: 255.255.255.0
      routing table: `10`
    gbx2:
      defaut gateway: ```
      enabled: false
      ip address: ```
      mask: ```
      routing table: ```
    gbx3:
      defaut gateway: ```
      enabled: false
      ip address: ```
      mask: ```
      routing table: ```
    hostname: gbox
    ntp:
      primary: 192.168.1.251
      secondary: ```
    primary: gbx0
    

This window displays the:

  • DNS

  • domain name

  • for each network interface gbx(0 to 3),

    • IP address

    • mask

    • subnetwork

    • routing table

    • whether or not the interface is enabled

  • GBox hostname

  • NTP

  • Press the `Back` button to return to the previous menu.


7.8.6. Procedure for viewing the network interface status

The `Network Setup` submenu is displayed.

  • Select the `Show interface status` line or press the letter S until this command is selected.

  • Click on the `OK` button.
    The following window is displayed:
    If no interface appears UP, please wait a bit and refresh list.
      Name            Address           Carrier         Speed         Type
      gbx0        24:6e:96:be:4e:c1          UP      1000Mb/s         RJ45
      gbx1        24:6e:96:be:4e:c2          UP      1000Mb/s         RJ45
      gbx2        24:6e:96:be:4e:c3        DOWN           N/A         RJ45
      gbx3        24:6e:96:be:4e:c4        DOWN           N/A         RJ45
    

    This window displays for each network interface (gbx):

    • its name (column `name`)

    • its MAC address (column `Address`)

    • The presence of the carrier (`Carrier` column): UP or DOWN

    • The speed (column `Speed`)

    • The type of connection (`Type` column)

  • If necessary, click on the `refresh` button.

  • Press the `Back` button to return to the previous menu.


7.8.7. Procedure for changing the GBox's general parameters

The `Network Setup` submenu is displayed.

  • Select the `hostname, domain, DNS, NTP` line or press the letter S until this command is selected.

  • Click on the `OK` button.
    The following window is displayed:
    Configure GBox Network
    
     Hostname               :  gbox
     Domain Name            :  domain.local
     DNS Server (primary)   :  192.168.1.251
     DNS Server (secondary) :  ``
     NTP Server (primary)   :  192.168.1.251
     NTP Server (secondary) :  ``
    

    Note

    Only the decimal point is accepted when entering the IPv4 address.

  • If necessary, change the values.

  • Press the `OK` button to confirm the information or the `Cancel` button to return to the previous menu.

  • Apply changes (see the Procedure for taking modifications into account).


7.8.8. Procedure for modifying the network interface parameters

The `Network Setup` submenu is displayed.

  • Select the `Configure interfaces` line or press the letter C until this command is selected.

  • Click on the `OK` button.
    The following window is displayed:
    Choose an interface
    
     gbx 0 :  192.168.1.43
     gbx 1 :
    
  • Select an interface (here gbx 0 or 1) or click the `Cancel` button to return to the previous menu.
    The following window is displayed (for example gbx 0):
    Configure gbx0
    
    IP Address       192.168.1.43
    Netmask          255.255.255.0
    Defaut Gateway:  192.168.1.254
    
  • If necessary, change the values.

  • Press the `OK` button to confirm the information or the `Back` button to return to the previous menu.

  • Press the `Back` button to return to the previous menu.

  • Apply changes (see the Procedure for taking modifications into account).


7.8.9. Procedure for taking modifications into account

The `Network Setup` submenu is displayed.

  • Select the `Apply Network Config` line or press the letter A until this command is selected.

  • Click on the `OK` button.
    Changes are taken into account.
    The list of parameters is displayed and a status by parameter type is shown.
    A global report is displayed at the end (DONE = ok).
    A progress bar is displayed.
  • Once the changes are applied, press the Enter button on the keyboard to return to the previous menu.
    The configuration menu is displayed.