LAN Setup

Configure Ethernet connectivity on Haltian Gateway XS using the LAN Setup Console

Before You Begin

The LAN Setup Console is a text-based tool built into Gateway XS. Connect to it over the serial interface using a computer and terminal program. SSH, Telnet, and a web browser cannot access the console.

You need:

  • A powered-on Gateway XS
  • A data-capable micro-USB cable connected to the front DBG port. Do not use the USB-C port.
  • A USB-A to USB-C adapter or cable if needed
  • The CP210x USB-to-UART driver. Download the appropriate driver from Silicon Labs. On Windows, use the CP210x Universal Windows Driver. macOS may already include the driver.
  • A serial terminal: Terminal on macOS, or PuTTY (or similar) on Windows
  • The unique console password for this gateway, available from Haltian Studio or on the password slip delivered with the Gateway XS. Have the password before starting setup.

The console uses a serial connection over the micro-USB cable, not the network. SSH, Telnet, and web browsers cannot access it.

1. Find the Serial Port

macOS

  1. Open Terminal (Applications > Utilities > Terminal).

  2. With the cable disconnected, run:

    ls /dev/cu.*
    
  3. Connect the cable to the Gateway XS DBG port and your Mac.

  4. Run the command again. Identify the new entry, for example /dev/cu.usbserial-02ED3F51. The name varies by device and cable.

Windows

  1. Connect the cable to the Gateway XS DBG port and your computer.
  2. Open Device Manager and expand Ports (COM & LPT).
  3. Find Silicon Labs CP210x USB to UART Bridge, and note its COM port (for example COM3).
  4. If the device does not appear, reconnect the cable and check whether the driver is installed. A yellow warning sign indicates that the CP210x driver is not installed.

If no port appears, try a data-capable cable, confirm it is connected to DBG, and install the CP210x driver. On macOS, you may need to allow the driver in System Settings > Privacy & Security and restart.

2. Open the Serial Connection

Use these serial settings:

SettingValue
Speed115200 baud
Data bits8
ParityNone
Stop bits1
Flow controlNone

macOS

In Terminal, replace the example port with your own:

screen /dev/cu.usbserial-02ED3F51 115200

If the console does not respond, try specifying all serial options:

screen /dev/cu.usbserial-02ED3F51 115200,cs8,-parenb,-cstopb,-ixon,-ixoff,-crtscts

Alternatively, install picocom with brew install picocom and connect:

picocom -b 115200 /dev/cu.usbserial-02ED3F51

macOS terminal showing the serial port discovery and a redacted serial connection command

Windows

  1. Open PuTTY and select Serial as the connection type.
  2. Enter your COM port as the Serial line and set Speed to 115200.
  3. Under Connection > Serial, set data bits to 8, stop bits to 1, parity to None, and flow control to None.
  4. Select Open.

The terminal may remain completely blank. This is expected; the console does not echo keystrokes.

3. Log In

Wait about a minute after powering on the gateway. If the terminal is blank, press Enter once. Type config and press Enter to wake the console. Your keystrokes are not displayed; if you make a typo, type config again.

When prompted, enter this gateway’s unique console password. The password is not displayed as you type. If it is incorrect, the console reports the error and prompts you to try again.

Gateway XS LAN Setup Console password prompt

4. Configure LAN

The console menu includes:

LAN Setup Console
=================
1) Ping
2) Traceroute
3) Endpoint / MQTT status
4) Secondary MQTT configuration
5) IP configuration
6) NTP configuration
7) Factory reset
0) Exit

Gateway XS LAN Setup Console main menu after login

Select an option by entering its number. Follow the prompts and return to the menu after each action.

Check connectivity

Use Ping or Traceroute to test a destination. The console asks which interface to use: Ethernet or Cellular. Ping output includes packet loss and response times; no packet loss indicates that the target responded to the test.

Gateway XS console showing a successful ping test

Check MQTT status

Use Endpoint / MQTT status to view endpoint connectivity. The menu can show output such as:

Wirepas transport MQTT: connected
Secondary MQTT: disconnected

Gateway XS console showing MQTT endpoint status

A disconnected secondary MQTT endpoint is expected when none has been configured.

Configure secondary MQTT

The secondary MQTT endpoint is optional. Choose Secondary MQTT configuration and follow the console prompts when this endpoint is part of your deployment.

Configure the Ethernet IP address

Choose IP configuration to view or change Ethernet settings. Dynamic (DHCP) is the default. Enter N or press Enter to leave the settings unchanged, dynamic to use DHCP, or static to enter a fixed IP address and follow the prompts. The console also displays the Ethernet MAC address, which a network administrator can use for an address reservation.

Gateway XS console IP configuration screen with the MAC address redacted

Configure NTP servers

Choose NTP configuration to view or change the time servers. Enter one or more server names separated by spaces, enter clear to return to the DHCP or built-in default, or leave the input blank to keep the current setting.

Factory reset

Factory reset restores device settings to their defaults. Use it only when instructed; your configuration changes will be lost.

5. Exit and Close the Connection

Select 0) Exit in the console before closing the serial connection.

  • macOS screen: Press Ctrl+A, release, press K, then press Y to confirm. Ctrl+A then X locks the screen instead of closing it.
  • macOS picocom: Press Ctrl+A, then Ctrl+X.
  • Windows PuTTY: Close the PuTTY window.

Troubleshooting

ProblemWhat to try
No serial port appearsUse a data-capable cable, check the DBG port, and install the CP210x driver. Check Device Manager on Windows or run ls /dev/cu.* on macOS.
The CP210x device has a warning sign in Device ManagerInstall the CP210x driver, then reconnect the cable.
Windows reports that the COM port is unavailableClose other programs using the COM port, then reconnect the cable.
Blank terminal or no password promptWait about a minute after power-on, press Enter once, then type config and press Enter. The console does not echo keystrokes.
Garbled charactersSet the speed to 115200 baud.
Incorrect passwordCheck that the password matches this gateway; each gateway has a unique console password. Wait for the indicated delay before retrying.
macOS screen closes immediatelyCheck whether another program is using the port with lsof /dev/cu.usbserial-XXXX. Try the explicit serial settings above.
macOS reports no matches foundRetype ls /dev/cu.* without extra characters.

Network Recommendations

For LAN deployments, place Gateway XS devices on a dedicated VLAN, isolated from other corporate network traffic. If your switches assign IoT devices to VLANs by MAC address, the gateway’s MAC address is available in the console under IP configuration.

Enable DHCP on the VLAN. Gateway XS uses DHCP by default, so it receives an IP address without requiring a static configuration. Block traffic from the gateway VLAN to other internal networks and allow only the outbound connections required to reach Haltian services.

The gateway initiates outbound connections and does not require inbound ports to be opened. The Haltian backend does not have a single fixed IP address range, so confirm the approved domains and network requirements with Haltian rather than relying on IP allowlists. The default MQTT port is 1883; an optional encrypted MQTT over TLS connection typically uses 8883. DNS and a time source are also required and are normally provided by DHCP. You can configure NTP servers in the console.

After connecting the gateway to the VLAN, use Ping with the Ethernet interface to test network reachability, then use Endpoint / MQTT status to check the Haltian service connection.