Access sub-tab
    • 20 Apr 2023
    • 5 Minutes to read
    • Dark
      Light
    • PDF

    Access sub-tab

    • Dark
      Light
    • PDF

    Article summary

    The Nodegrid Platform supports RS-232 Serial connections with the available Serial and USB interfaces. Ports are automatically detected and shown in the Devices menu. To provide access to the device, each port needs to be enabled and configured.

    Before configuring the Nodegrid port, check the device manufacturer’s console port settings. Most devices use default port settings: 9600,8,N,1

    The Nodegrid Console Server S Series supports advanced auto-detection. This simplifies configuration with automatic detection of the cable pinout (Legacy and Cisco) and connection speed.

    Configure Device Type

    This is a general description of the procedure. Based on type of device, the details will change. Details provided here is the serial port configuration.

    1. Go to Managed Devices :: Devices :: <device name> :: Access
    2. Configure location details:
      1. Address Location (can use Compass icon)
      2. Coordinates
      3. Web URL
      4. Launch URL via HTML5 checkbox (default: enabled)
      5. Allow Pre-shared SSH Key checkbox
    3. Configure port settings:
      1. Baud Rate drop-down, select one (speed matching device settings) or (Auto, 9600, 19200, 38400, 57600, 115200).
      2. Parity drop-down, select one (None-default, Odd, Even).
      3. Flow Control drop-down, select one (None-default, Software, Hardware).
      4. Data Bits drop-down, select one (5,6,7,8-default).
      5. Stop Bits drop-down, select one (1-default, 2).
      6. RS-232 signal for device state detection drop-down, select one (Auto, DCD, CTS, None).
    4. Set Serial settings:
      1. Enable device state detection based in data flow checkbox
      2. Enable Hostname Detection checkbox
      3. Multisession checkbox (several users can access the same device at the same time, and see the same output. First user has read-write access, others have read-only.)
      4. Read-Write Multisession checkbox (if enabled, all connected users have read-write access to the session)
      5. Enable Serial Port Settings via Escape Sequence checkbox
      6. (optional) Select Enable Send Break (configured per device. Not available on: usb_kvm, usb_sensor, usb_device, local_serial). If selected, enter a new Break Sequence (sent via SSH console session).
      7. If selected device is USB, this flag is shown: (available in v5.8+) 
        • Select Automatically map connected devices to Virtual Machine checkbox (expands dialog), enter Virtual Machine name.
      8. On Select Icon pop-up, select an icon.
      9. On Mode drop-down, select one (Enabled, On-Demand, Disabled).
    5. In the Expiration menu, select a radio button: Never, Expiration Date or Expiration Days and provide an appropriate value.
      NOTE
      With VM devices, both Date and Days are synced with the ESXi Servers where the VMs are constantly being added, moved, and deleted, or if the Nodegrid managed device license becomes available.
      1. Date (YYYY-MM-DD) Device available until the specified date. After that date, set to Disabled mode. Admin user has 10 days to take action. After 10 days, the device and its data are removed from the system.
      2. Days (between 1 and 9999999999) If no update on the device’s configuration after specified days, device and data is removed from the System (similar to a timeout).
    6. In Inbound Access menu, enter details:
      1. Skip authentication to access device (NONE authentication) checkbox (displays dialog).
        • Skip in SSH sessions checkbox (default: enabled)
        •  Skip in Telnet sessions checkbox (default: enabled)
        •  Skip in Raw sessions checkbox (default: enabled)
        •  Skip in Web sessions checkbox (default: enabled)
      2. Escape Sequence (default: ^Ec – Ctrl+Shift+E+c)
      3. Power Control Key (default: ^O – Ctrl+Shift+O)
      4. Show Text Information checkbox
    7. Select Enable IP Alias checkbox (user can connect to a device with IP addresses). 
      1. Enter IP Address.
      2. On Interface drop-down, select one (backplane0, eth0, loopback).
      3. On Browser Action drop-down, select one (console, web).
      4. Select Allow Telnet Protocol checkbox. Enter TCP Socket Port (default: 23).
      5. Select Allow Binary Socket checkbox. Enter TCP Socket Port. 
      6. Select Allow SSH protocol checkbox. Enter SSH Port. 
      7. Select Allow Telnet protocol checkbox. Enter Telnet Port. 
      8. Select Allow Binary Socket checkbox. Enter TCP Socket Port. 
    8. Select Enable Second IP Alias checkbox (same dialog as Enable IP Alias).
    9. Click Save.

    CLI Procedure

    This example provides some of the configurations provided above.

    1. Go to /settings/devices
    2. Use the edit command with the port name to change the port configuration. Multiple ports can be defined.
    3. Use the show command to display current values.
    4. Use the set command for:
      baud_rate (set to the correct speed matching device settings or to Auto)
      parity (None (default), Odd, or Even)
      flow_control (None (default), Software, Hardware)
      data_bits (5, 6, 7, 8 (default))
      stop_bits (1)
      rs-232_signal_for_device_state_detection (DCD (default), None, CTS)
      mode (Enabled, On-Demand, Disabled)
    5. Use the commit command to change the settings.
    [admin@nodegrid /]# cd /settings/devices
    [admin@nodegrid devices]# edit ttyS2
    [admin@nodegrid {devices}]# show
    name: ttyS2
    type: local_serial
    address_location =
    coordinates =
    web_url =
    launch_url_via_html5 = yes
    baud_rate = 9600
    parity = None
    flow_control = None
    data_bits = 8
    stop_bits = 1
    rs-232_signal_for_device_state_detection = DCD
    enable_device_state_detection_based_in_data_flow = no
    enable_hostname_detection = no
    multisession = yes
    read-write_multisession = no
    icon = terminal.png
    mode = disabled
    skip_authentication_to_access_device = no
    escape_sequence = ^Ec
    power_control_key = ^O
    show_text_information = yes
    enable_ip_alias = no
    enable_second_ip_alias = no
    allow_SSH_protocol = yes
    SSH_port =
    allow_telnet_protocol = yes
    telnet_port = 7002
    allow_binary_socket = no
    data_logging = no
    [admin@nodegrid {devices}]# set mode=enabled baud_rate=Auto
    [admin@nodegrid {devices}]# commit

    Configure USB Mode

    1. To confirm the USB card supports USB Passthrough, go to System :: Slots . Check the Add-ons column for an entry: Power Control
    2. Go to Managed Devices :: Devices.
    3. On the list, locate the USB and click the Name (displays dialog).
    4. On the Access tab, USB Mode menu, select one: 
      • Host radio button (expands dialog), Initial State drop-down, select one (On, Off, Last State)
        NOTE
        The device with an internal USB serial adapter provides the power for the adapter. Power control setting does not affect power to the USB.
      • Passthrough radio button (expands dialog). 
        NOTE
        When a device’s Passthrough mode is enabled, its peer is also set to Passthrough mode.
    5. Click Save.

    Configure SSH Key Authentication

    For added security, devices can be configured to authenticate via SSH keys. When enabled, SSH is connected with key pairs (user does not require password).

    NOTE
    Not all devices support this feature.
    1. Go to Managed Devices :: Devices :: <device name> :: Access.
    2. Select Allow Pre-shared SSH Key checkbox.
    3. Click Save.
    4. The SSH Keys button displays next to the Save and Return buttons. 
    5. Click SSH Keys (expands dialog). 
    6. On SSH Key Type drop-down, select one (ECDSA 521, ECDSA 384, ECDSA 256, ED25519, DSA 1024, RSA 4096, RSA 2048, RSA 1024).
    7. Click Generate Key Pair
    8. In Public Key Installation menu, enter details:
      1. IP Address (default: %IP)
      2. Port (default: 22)
      3. Username (default: %USER)
      4. On Passport Use menu (select one)
        • Use Same as Access radio button
        • Use Specific radio button (expands dialog), enter Password and Confirm Password. 
    9. Send Public Key (sends key to the device). On a connection to a Managed Device with Pre-shared SSH Key enabled, username is still required. If the device fails to authenticate, at the prompt, enter the password. If an error message displays, resolve and click again.
      NOTE
      Not all devices support the Send Public Key feature. If not, manually copy the Public SSH Key textbox contents to the device.
    10. Click Return (goes back to the Access sub-tab view).

    Enable Launch URL with Chrome Forwarder extension

    (Chrome browser only) This requires Chrome Forwarder extension. This reduces resource usage by redirecting to a web server. This provides the same behavior as the HTML5 frame. The device’s interface can be viewed in full-screen mode rather than a windowed frame.

    Install Chrome Forwarder Extension and Activate

    1. Open Google Chrome and go to https://chrome.google.com/webstore/detail/nodegrid-web-access-exten/cmcpkbfnablakhllgdmbhkedpoengpik
    2. Click Add to Chrome.
    3. When the extension is installed, go to Managed Devices :: Devices :: <device name> :: Access.
    4. Select Launch URL via Forwarder checkbox.
    5. Click Save.



    Was this article helpful?

    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence