Lantronix SGX 5150 User Manual

TM
SGX 5150
IoT Device Gateway
User Guide
Part Number 900-776-R
Revision D January 2018
TM

Intellectual Property

© 2018 Lantronix, Inc. All rights reserved. No part of the contents of this publication may be transmitted or reproduced in any form or by any means without the written permission of Lantronix.
Lantronix and MACH10 are a registered trademarks of Lantronix, Inc. in the United States and other countries. DeviceInstaller is a trademark of Lantronix, Inc.
Patented: http://patents.lantronix.com
Wi-Fi is a registered trademark of the Wi-Fi Alliance Corporation. Windows and Internet Explorer are registered trademarks of Microsoft Corporation. Mozilla and Firefox are registered trademarks of the Mozilla Foundation. Chrome is a trademark of Google Inc. Safari is a registered trademark of Apple Inc. All other trademarks and trade names are the property of their respective holders.

Warranty

For details on the Lantronix warranty policy, please go to our web site at
www.lantronix.com/support/warranty

Contacts

Lantronix, Inc.
7535 Irvine Center Drive Suite 100 Irvine, CA 92618, USA Toll Free: 800-526-8766 Phone: 949-453-3990 Fax: 949-453-3995
Technical Support Online: www.lantronix.com/support
Sales Offices
; additional patents pending.
.
For a current list of our domestic and international sales offices, go to the Lantronix web site at
www.lantronix.com/about/contact

Open Source Software

Some applications are Open Source software licensed under the Berkeley Software Distribution (BSD) license, the GNU General Public License (GPL) as published by the Free Software Foundation (FSF), and the Python Software Foundation (PSF) License Agreement for Python
2.7.6 (Python License). Lantronix grants you no right to receive source code to the Open Source software. Your use of each Open Source component or software is subject to the terms of the applicable license. The BSD license is available at http://opensource.org/licenses General Public License is available at http://www.gnu.org/licenses/ available at https://www.python.org/download/releases/2.7/license/ Source component or software is subject to the terms of the applicable license.
wpa_supplicant: http://w1.fi/cgit/hostap/plain/wpa_supplicant/README
Openssl : http://openssl.org/source/license.html
Busybox: http://busybox.net/license.html
Dropbear: https://secure.ucc.asn.au/hg/dropbear/raw-file/tip/LICENSE
VSFTPD: https://security.appspot.com/vsftpd.html#about
Bootstrap: https://github.com/twbs/bootstrap/blob/master/LICENSE
.
. The GNU . The Python License is
.Your use of each Open
TM
Python: https://www.python.org/download/releases/2.7/license/
Linux kernel version 3.10.0.
OPEN SOURCE SOFTWARE IS DISTRIBUTED WITHOUT ANY WARRANTY, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSE AGREEMENT FOR ADDITIONAL INFORMATION.

Disclaimer

All information contained herein is provided “AS IS.” Lantronix undertakes no obligation to update the information in this publication. Lantronix does not make, and specifically disclaims,
all warranties of any kind (express, implied or otherwise) regarding title, non-infringement, fitness, quality, accuracy, completeness, usefulness, suitability or performance of the information provided herein. Lantronix shall have no liability whatsoever to any user for any damages, losses and causes of action (whether in contract or in tort or otherwise) in connection with the user’s access or usage of any of the information or content contained herein. The information and specifications
contained in this document are subject to change without notice.

Revision History

Date Rev. Comments
October 2016 A Initial document for firmware release 8.0.0.0. November 2016 B Updated user guide to include software features available in all SGX
March 2017 C Updated user guide GRE section. January 2018 D Updated to firmware version 8.1.0.1 and updated installation and
5150 device gateway models. The user will experience differing featuer availability depending on the model type installed.
compliance information.
TM

Table of Contents

Intellectual Property ________________________________________________________2 Warranty _________________________________________________________________2 Contacts _________________________________________________________________2 Open Source Software ______________________________________________________2 Disclaimer ________________________________________________________________3 Revision History ___________________________________________________________3 List of Figures ____________________________________________________________10 List of Tables _____________________________________________________________11
1: Using This Guide 15
Purpose and Audience _____________________________________________________15 Summary of Chapters ______________________________________________________15 Additional Documentation ___________________________________________________15
2: Introduction 17
Key Features _____________________________________________________________17 Applications ______________________________________________________________18 SGX 5150 User Cases _____________________________________________________19 Protocol Support __________________________________________________________19 Troubleshooting Capabilities _________________________________________________20 Configuration Methods _____________________________________________________20 Addresses and Port Numbers ________________________________________________20
Hardware Address _____________________________________________________20 IP Address ___________________________________________________________21 Port Numbers _________________________________________________________21
Product Information Label ___________________________________________________21
3: Installation of the SGX 5150 23
Package Contents _________________________________________________________23 User-Supplied Items _______________________________________________________23 Hardware Components _____________________________________________________24
Front Panel ___________________________________________________________24 Back Panel ___________________________________________________________24 USB Connection _______________________________________________________25 Power _______________________________________________________________26 Ethernet Ports _________________________________________________________26 Wi-Fi Protected Setup (WPS) _____________________________________________27 Reset Button __________________________________________________________28 To Start WPS _________________________________________________________28
TM
Installing the SGX 5150 ____________________________________________________28 Optional SGX 5150 Bracket _________________________________________________30 Wireless Quick Connect ____________________________________________________31
4: Using DeviceInstaller 32
Installing DeviceInstaller ____________________________________________________32 Accessing the SGX 5150 Using DeviceInstaller __________________________________32
Next Step ____________________________________________________________34
5: Configuration Using Web Manager 35
Accessing Web Manager ___________________________________________________35 Status Page ______________________________________________________________36 Web Manager Components _________________________________________________38 Navigating Web Manager ___________________________________________________39
6: Network Settings 41
Access Point _____________________________________________________________41
To View or Configure Access Point Settings _________________________________42
Bridge __________________________________________________________________42
Bridge Status and Configuration ___________________________________________43 To View or Configure Bridge Settings ______________________________________44
Wired (eth0) Network ______________________________________________________44
Interface Status and Configuration _________________________________________45 To Configure Network Interface Settings ____________________________________46 Link Status and Configuration ____________________________________________47 To Configure Network Link Settings ________________________________________47 QoS Statistics and Configuration __________________________________________47 To View and Configure Wired Network QoS Settings __________________________48 Wired (eth0) Network Failover ____________________________________________49 To View and Configure Wired Network Failover Settings ________________________49
Wireless (wlan0) Network ___________________________________________________49
Wireless (wlan0) Network Interface ________________________________________49 To View or Configure Wireless Network Interface Settings ______________________51 Wireless (wlan0) Network Link ____________________________________________51 To View or Configure Network Link Settings _________________________________53 Wireless (wlan0) Network QoS ____________________________________________53 To View or Configure Wireless Network QoS Settings __________________________54 Wireless (wlan0) Network Failover _________________________________________54 To View or Configure Wireless Network Failover Settings _______________________55
Wired (usb0) Network ______________________________________________________55
Interface (usb0) Status and Configuration ___________________________________55 To Configure Network Interface Settings ____________________________________57
TM
QoS Statistics and Configuration __________________________________________57 To View and Configure Wired Network (USB) QoS Settings _____________________58 Wired (usb0) Network Failover ____________________________________________58 To View and Configure Wired (USB0) Network Failover Settings _________________59
Protocol Stack ____________________________________________________________59
IP Settings ___________________________________________________________59 To Configure IP Protocol Stack Settings ____________________________________59 ICMP Settings _________________________________________________________60 To Configure ICMP Protocol Stack Settings __________________________________60 ARP Settings _________________________________________________________60 To Configure ARP Network Stack Settings __________________________________61
VPN ____________________________________________________________________61
Configuring VPN Settings ________________________________________________63
Wi-Fi Protected Setup ______________________________________________________63
To Initiate WPS ________________________________________________________63 To Show WPS Status ___________________________________________________64
WLAN Scan/QuickConnect __________________________________________________64
To View WLAN Link Scan and Status Information _____________________________65
WLAN Profiles ____________________________________________________________65
Configuring WLAN Profile Settings _________________________________________66
7: Filesystem 69
File Transfer and Modification ________________________________________________69
To View, Transfer, or Modify Filesystem Files ________________________________70
8: Diagnostics 71
DNS ____________________________________________________________________71
Accessing the DNS Settings ______________________________________________71
Hardware ________________________________________________________________72
To View Hardware Information ____________________________________________72
IP Sockets _______________________________________________________________72
To View the List of IP Sockets ____________________________________________72
Log ____________________________________________________________________73
To Configure the Diagnostic Log Output ____________________________________73
Memory _________________________________________________________________73
To View Memory Usage _________________________________________________73
Ping ____________________________________________________________________73
To Ping a Remote Host _________________________________________________74
Processes _______________________________________________________________74
To View Process Information _____________________________________________74 Routes __________________________________________________________________74 Threads _________________________________________________________________75
To View Thread Information ______________________________________________75
TM
Traceroute _______________________________________________________________75
To Perform a Traceroute ________________________________________________75
9: Administration 76
Actions _________________________________________________________________77
To Configure Action Settings _____________________________________________78
Python ______________________________________________________________78 Applications ______________________________________________________________79
To Configure Application Settings _________________________________________80 CLI _____________________________________________________________________80
CLI Status and Configuration _____________________________________________80
To View and Configure Basic CLI Settings ___________________________________81 Clock ___________________________________________________________________81
To Specify a Clock-Setting Method ________________________________________82 Discovery _______________________________________________________________82
To Configure Discovery _________________________________________________82 Email ___________________________________________________________________83
To View, Configure and Send Email ________________________________________83 FTP ____________________________________________________________________84
To Configure FTP Settings _______________________________________________84 Gateway ________________________________________________________________84
Status _______________________________________________________________84
WAN ________________________________________________________________85
WAN MAC Address Filters _______________________________________________85
To Configure Gateway WAN Settings ______________________________________85
Port Forwarding _______________________________________________________86
To Configure Gateway Port Forwarding Settings ______________________________87
Static Routes _________________________________________________________87
To Configure Gateway Static Route Settings _________________________________87
DHCP Server _________________________________________________________88
To Configure Gateway DHCP Server Settings ________________________________88
Static Lease Listing ____________________________________________________89
Routing Protocols ______________________________________________________89
To Configure Gateway Routing Protocol Settings _____________________________90
Virtual IP _____________________________________________________________90
To Configure Gateway Virtual IP __________________________________________91 GRE ___________________________________________________________________91
To Configure GRE Settings ______________________________________________92 Host ____________________________________________________________________92
To Configure Host Settings ______________________________________________92 HTTP ___________________________________________________________________93
Interface Status, Configuration and Authentication ____________________________93
To View or Configure HTTP Authentication __________________________________94
TM
To Configure HTTP Authentication _________________________________________95 Line ____________________________________________________________________95
Line Status and Configuration ____________________________________________95
To View and Configure Line Configuration and Command Mode _________________97 MACH10 ________________________________________________________________97
To Configure MACH10 Client _____________________________________________97
To Configure MACH10 Line 1 or Line 2 _____________________________________98
To Configure MACH10 USB 1 ____________________________________________99
To Configure MACH10 __________________________________________________99 Modbus ________________________________________________________________100
Serial Transmission Mode ______________________________________________100
Modbus Statistics _____________________________________________________100
Modbus Configuration _________________________________________________100
To View and Configure the Modbus Server _________________________________101 RSS ___________________________________________________________________101
To Configure RSS Settings _____________________________________________102 SMTP _________________________________________________________________102
To Configure SMTP Settings ____________________________________________102 SNMP Settings __________________________________________________________103
To Configure SNMP Settings ____________________________________________104 SSH ___________________________________________________________________104
SSH Server: Host Keys ________________________________________________104
SSH Server: Authorized Users ___________________________________________105
SSH Client: Known Hosts _______________________________________________105
SSH Client: Users _____________________________________________________106
To Configure SSH Settings _____________________________________________107 SSL ___________________________________________________________________108
Credentials __________________________________________________________108
To Create a New Credential _____________________________________________108
To Delete a Credential _________________________________________________108
To Configure an SSL Credential to Use an Uploaded Certificate _________________109
To Configure an SSL Credential to Use a Self-Signed Certificate ________________110
Trusted Authorities ____________________________________________________110
To Upload an Authority Certificate ________________________________________111
CSR (Certificate Signing Request) ________________________________________111 Syslog _________________________________________________________________112
To Configure Syslog Settings ____________________________________________112 System ________________________________________________________________113
To access System settings: _____________________________________________114 Terminal _______________________________________________________________114
To Configure the Terminal Network Connection ______________________________115
To Configure the Terminal Line or USB Connection __________________________115 Tunnel _________________________________________________________________116
TM
Tunnel Statistics ______________________________________________________116
To View Tunnel Statistics _______________________________________________116
Serial Settings _______________________________________________________116
To Configure Tunnel Serial Settings _______________________________________117
Packing Mode ________________________________________________________117
To Configure Tunnel Packing Mode Settings ________________________________118
Accept Mode _________________________________________________________118
To Configure Tunnel Accept Mode Settings _________________________________120
Connect Mode _______________________________________________________120
To Configure Tunnel Connect Mode Settings _______________________________123
Connecting Multiple Hosts ______________________________________________123
Host List Promotion ___________________________________________________124
Disconnect Mode _____________________________________________________124
To Configure Tunnel Disconnect Mode Settings _____________________________124
Modem Emulation _____________________________________________________125
To Configure Tunnel Modem Emulation Settings _____________________________126 USB ___________________________________________________________________126
USB Statistics ________________________________________________________126
To View USB Statistics _________________________________________________126
USB Configuration ____________________________________________________126
To Configure USB Settings _____________________________________________127
USB Command Mode __________________________________________________127
To Configure USB Command Mode _______________________________________127 User Management ________________________________________________________128
To Configure User Management _________________________________________130 XML ___________________________________________________________________130
To Export Configuration ________________________________________________131
To Export Status ______________________________________________________131
To Import Configuration ________________________________________________132 Quick Setup _____________________________________________________________134
To Utilize Quick Setup _________________________________________________134
A: Lantronix Technical Support 136
B: Compliance 137
SGX 5150 Regulatory Domains _____________________________________________141 RoHS, REACH and WEEE Compliance Statement ______________________________142
TM

List of Figures

Figure 2-1 Serial to Wi-Fi or Ethernet _________________________________________________19 Figure 2-2 Ethernet to Wi-Fi Bridge __________________________________________________19 Figure 2-3 Product Label __________________________________________________________22 Figure 3-1 Front Panel ____________________________________________________________24 Figure 3-3 Back Panel_____________________________________________________________24 Figure 3-5 RJ45 Serial Port_________________________________________________________25 Figure 3-13 Wi-Fi Protected Setup ___________________________________________________27 Figure 3-15 SGX 5150 Dimensions in Inches (in) and Millimeters (mm) ______________________29 Figure 3-16 Optional Bracket Installation ______________________________________________30 Figure 5-1 Status Page (Section 1 of 2) _______________________________________________36 Figure 5-2 Status Page (Section 2 of 2) _______________________________________________37 Figure 5-3 Components of the Web Manager Page ______________________________________38 Figure 5-4 Expandable Menu Bar Selections ___________________________________________38 Figure B-1 EU Declaration of Conformity _____________________________________________138
SGX 5150 IoT Device Gateway User Guide 10
TM

List of Tables

Table 3-2 SGX 5150 LEDs and Descriptions __________________________________________ 24 Table 3-4 Serial RJ45 Connector Pinout and LEDs _____________________________________ 25 Table 3-6 USB Type C Connector Pinout_____________________________________________ 25 Table 3-7 Power Input Interface ____________________________________________________ 26 Table 3-8 Ethernet RJ45 Connector Pinout ___________________________________________ 26 Table 3-9 Left Ethernet LED _______________________________________________________ 26 Table 3-10 Right Ethernet LED_____________________________________________________ 27 Table 3-11 WLAN Signal Strength Indicator at 2.4 GHz__________________________________ 27 Table 3-12 WLAN Signal Strength Indicator at 5 GHz ___________________________________ 27 Table 3-14 WPS Status Indicator ___________________________________________________ 28 Table 4-1 SGX 5150 Configuration in DeviceInstaller ___________________________________ 33 Table 5-5 Web Manager Pages ____________________________________________________ 39 Table 6-1 Access Point Settings ____________________________________________________ 41 Table 6-2 Bridge Settings _________________________________________________________ 43 Table 6-3 Wired (eth0) Network Interface_____________________________________________ 45 Table 6-4 Link (eth0) Configuration__________________________________________________ 47 Table 6-5 Wired (eth0) Network QoS Settings _________________________________________ 48 Table 6-6 Wired (eth0) Network Failover Settings ______________________________________ 49 Table 6-7 Wireless (wlan0) Interface Configuration _____________________________________ 50 Table 6-8 Wireless (wlan0) Link Configuration _________________________________________ 52 Table 6-9 Wireless (wlan0) Network QoS Settings______________________________________ 53 Table 6-10 Adding or Deleting Wireless (wlan0) Network QoS Settings _____________________ 54 Table 6-11 Wireless (wlan0) Network Failover _________________________________________ 54 Table 6-12 Wired (usb0) Network Interface ___________________________________________ 55 Table 6-13 Wired (usb0) Network QoS Settings________________________________________ 58 Table 6-14 Wired (usb0) Network Failover Settings _____________________________________ 58 Table 6-15 IP Protocol Stack Settings _______________________________________________ 59 Table 6-16 ICMP Protocol Stack Settings_____________________________________________ 60 Table 6-17 ARP Protocol Stack Settings _____________________________________________ 60 Table 6-18 VPN_________________________________________________________________ 61 Table 6-19 Wi-Fi Protected Setup___________________________________________________ 63 Table 6-20 WLAN Scan/Quick Connect Results________________________________________ 64 Table 6-21 WLAN Profiles_________________________________________________________ 65 Table 6-22 Individual WLAN Profile Settings __________________________________________ 66 Table 7-1 File Modification Settings _________________________________________________ 69
SGX 5150 IoT Device Gateway User Guide 11
TM
Table 7-2 File Transfer Settings ____________________________________________________ 69 Table 8-1 DNS Settings __________________________________________________________ 71 Table 8-2 Log Settings ___________________________________________________________ 73 Table 8-3 Ping Configuration ______________________________________________________ 73 Table 8-4 Traceroute Settings______________________________________________________ 75 Table 9-1 Action Settings _________________________________________________________ 77 Table 9-2 Script Settings__________________________________________________________ 79 Table 9-3 CLI Configuration Settings ________________________________________________ 80 Table 9-4 Clock Settings__________________________________________________________ 81 Table 9-5 Discovery Settings ______________________________________________________ 82 Table 9-6 Email Configuration______________________________________________________ 83 Table 9-7 FTP Settings___________________________________________________________ 84 Table 9-8 WAN Configuration ______________________________________________________ 85 Table 9-9 Adding a New MAC Address Filters _________________________________________ 85 Table 9-10 Port Forwarding Rules List _______________________________________________ 86 Table 9-11 Adding a New Port Forwarding Rule________________________________________ 86 Table 9-12 Static Route Setting Routes ______________________________________________ 87 Table 9-13 Adding a New Static Route_______________________________________________ 87 Table 9-14 DHCP Settings ________________________________________________________ 88 Table 9-15 Static Lease Listing_____________________________________________________ 89 Table 9-16 Add a Static Lease _____________________________________________________ 89 Table 9-17 Routing Protocol Settings ________________________________________________ 89 Table 9-18 Virtual IP Settings ______________________________________________________ 90 Table 9-19 Add a Virtual IP________________________________________________________ 91 Table 9-20 GRE Settings _________________________________________________________ 91 Table 9-21 Host Settings__________________________________________________________ 92 Table 9-22 HTTP Configuration ____________________________________________________ 93 Table 9-23 HTTP Authentication____________________________________________________ 94 Table 9-24 Line Configuration Settings_______________________________________________ 96 Table 9-25 Line Command Mode Setting _____________________________________________ 96 Table 9-26 MACH10 Client Configuration_____________________________________________ 98 Table 9-27 MACH10 Client Advanced Configuration ____________________________________ 98 Table 9-28 MACH10 Line _________________________________________________________ 99 Table 9-29 MACH10 Client USB____________________________________________________ 99 Table 9-30 Byte Header of Modbus Application Protocol ________________________________ 100 Table 9-31 Modbus Transmission Modes____________________________________________ 100 Table 9-32 Modbus Configuration__________________________________________________ 101 Table 9-33 RSS________________________________________________________________ 101
SGX 5150 IoT Device Gateway User Guide 12
TM
Table 9-34 SMTP Settings _______________________________________________________ 102 Table 9-35 SNMP Settings _______________________________________________________ 103 Table 9-36 SSH Server Host Keys _________________________________________________ 104 Table 9-37 SSH Server Authorized Users ___________________________________________ 105 Table 9-38 SSH Client Known Hosts _______________________________________________ 106 Table 9-39 SSH Client Users _____________________________________________________ 106 Table 9-40 Create New Keys _____________________________________________________ 107 Table 9-41 SSL Credential - Upload Certificate _______________________________________ 109 Table 9-42 SSL Credential - Create New Self-Signed Certificate__________________________ 109 Table 9-43 SSL Trusted Authority__________________________________________________ 110 Table 9-44 SSL CSR (Certificate Signing Request) ____________________________________ 111 Table 9-45 System Settings ______________________________________________________ 113 Table 9-46 Terminal on Network and Line Settings ____________________________________ 114 Table 9-47 Tunnel Serial Settings__________________________________________________ 116 Table 9-48 Tunnel Packing Mode Settings___________________________________________ 117 Table 9-49 Tunnel Accept Mode Settings____________________________________________ 119 Table 9-50 Tunnel Connect Mode Settings___________________________________________ 121 Table 9-51 Host Settings_________________________________________________________ 122 Table 9-52 Tunnel Disconnect Mode Settings ________________________________________ 124 Table 9-53 Tunnel Modem Emulation Settings________________________________________ 125 Table 9-54 USB Configuration ____________________________________________________ 126 Table 9-55 USB Command Mode__________________________________________________ 127 Table 9-56 Administrator Settings__________________________________________________ 128 Table 9-57 Current Users List_____________________________________________________ 128 Table 9-58 New User Settings ____________________________________________________ 128 Table 9-59 Current Roles List _____________________________________________________ 129 Table 9-60 New Role Settings ____________________________________________________ 129 Table 9-61 Configuration from Filesystem ___________________________________________ 133 Table 9-62 Line(s) from single line Settings on the Filesystem____________________________ 133 Table 9-63 Bridge 1 (br0) Configuration _____________________________________________ 134 Table 9-64 Wi-Fi Protected Setup__________________________________________________ 134 Table 9-65 Current Configuration __________________________________________________ 134 Table 9-66 Available Networks ____________________________________________________ 135 Table B-2 EU Declaration of Conformity _____________________________________________139 Table B-3 Country Transmitter IDs _________________________________________________140 Table B-4 SGX 5150 Module RF Output Power _______________________________________140 Table B-5 20 MHz Channels ______________________________________________________141 Table B-6 40 MHz Channels ______________________________________________________142
SGX 5150 IoT Device Gateway User Guide 13
TM
Table B-7 80 MHz Channels ______________________________________________________142
SGX 5150 IoT Device Gateway User Guide 14
TM

1: Using This Guide

TM

Purpose and Audience

This document provides information needed to configure, use, and update the Lantronix® SGX SGX 5150 IoT Device Gateway User Guide5150 IoT device gateway. It is intended for system
integrators who are configuring this product.

Summary of Chapters

The remaining chapters in this guide include:
Chapter Description
2: Introduction Describes main features of the product and the protocols it supports.
3: Installation of the SGX 5150 Instructions for installing the SGX 5150. 4: Using DeviceInstaller Instructions for viewing the current configuration using the Lantronix
5: Configuration Using Web Manager Instructions for accessing Web Manager and using it to configure
6: Network Settings Instructions to view and configure access point, bridge, wired
7: Filesystem Instructions to view and configure the filesystem. 8: Diagnostics Instructions to view and configure DNS, hardware, IP socket, log,
9: Administration Instructions to view and configure CLI, clock, discovery, FTP, HTTP,
A: Lantronix Technical Support Instructions for contacting Lantronix Technical Support. B: Compliance Provides SGX 5150 compliance information.
Includes technical specifications.
DeviceInstaller
settings for the SGX 5150 gateway.
network, wireless network, protocol stack Wi-Fi protected setup, WLAN Scan, QuickConnect, and WLAN Profiles settings.
memory, ping, processes, routes, threads, and traceroute information.
line, SSL, syslog, system, terminal, user management, xml, and quick setup information.
application.

Additional Documentation

Visit the Lantronix Web site at www.lantronix.com/support/documentation for all the latest Lantronix documentation including the following documents related to this product.
Document Description
SGX 5150 IoT Device Gateway Command Reference
SGX 5150 IoT Device Gateway Quick Start Guide
SGX 5150 IoT Device Gateway User Guide 15
Instructions for accessing command mode (the command line interface) using a Telnet connection, SSH connection or through the serial port. Detailed information about the commands, XML configuration, and status are provided.
Instructions for getting the SGX 5150 unit up and running.
1: Using This Guide
TM
Document (continued) Description
DeviceInstaller Utility Online Help Instructions for using the Windows® operating system-based utility
to locate the SGX 5150 gateway and to view its current settings.
Com Port Redirector Quick Start and Online Help
Secure Com Port Redirector User Guide
Instructions for using the Windows operating system-based utility to create virtual com ports.
Instructions for using the Windows operating system-based utility to create secure virtual com ports.
SGX 5150 IoT Device Gateway User Guide 16
TM

2: Introduction

The SGX 5150 is a turnkey WLAN IoT device gateway that securely connects deployed devices to the enterprise network through serial, USB or Ethernet interfaces. It simplifies enterprise Wi-Fi® deployments and accelerates the availability of connected devices within enterprise, medical/ healthcare and industrial automation applications.
Note: This user guide describes all software features supported in the Lantronix SGX
5150 device gateway models available for purchase. Depending on the specific SGX 5150 device gateway model you have purchased, some descriptions may not apply.

Key Features

Power Supply: Flexible power options and input voltage range (one barrel connector for 9-30
VDC power source, USB type C VBUS 5V, and optional PoE power input via Ethernet RJ45 interface
Controller: 32-bit ARM9 microprocessor running at 400 megahertz (Mhz) with 32 Kilobyte
(KB) configurable cache
Memory: 400 MHz ARM9, 64 MB SDRAM and 128 MB NAND flash
Ethernet:
- One RJ45 10Base-T/100Base-TX Ethernet port
- Auto sensing
- Automatic MDI/MDI-X crossover
- Full duplex IEEE 802.3x flow control
- Half-duplex back pressure flow control
- Hardware Optional PoE Power Input (Class 2) Supports inputs at both Spare Pins or Ethernet Center Taps
Wireless:
- 5G Wi-Fi (IEEE 802.11ac)
• 1x1 ac (MCS0 - MCS9)
• 20, 40 and 80 MHz Channels with optional SGI
- IEEE 802.11 n
• 1x1 n (MCS0 - MCS7)
• 20 MHz and 40 MHz channel width with optional SGI
- Advanced 802.11 n/ac Features
• Tx/Rx Low Density Party Check (LDPC)
• Rx Space Time Block Coding (STBC)
- Compatible with IEEE 802.11 a/b/g and supports IEEE 802.11 d/h
- Bluetooth/WLAN Coexistence
- Dual band 2.4 GHz and 5 GHz
SGX 5150 IoT Device Gateway User Guide 17
TM
• 2.412 GHz - 2.484 GHz - Channels 1 - 14
• U-NII-1 (5.15 – 5.25 GHz) Channels 36, 40, 44, 48
• U-NII-2 (5.25 – 5.35 GHz) Channels 52, 56, 60, 64
• U-NII-2e (5.47 – 5.725 GHz) Channels 100 – 140
• U-NII-3 (5.725 – 5.825 GHz) Channels 149 - 165
Serial Ports: Two 300 to 921 kbaud with options of RS-232 serial ports or multi-protocol
RS232/422/485 serial ports
USB Ports: One USB 2.0 high speed interfaces via USB type C connector
Configuration via CLI, XML and HTTP.
Ethernet to wireless tunneling
Built-in site survey tool
Temperature Range: Operates over a temperature range of -40°C to +70°C (-40°F to 158°F).
The storage temperature range is -40°C to 85°C (-40°F to 185°F)

Applications

2: Introduction
Home energy management systems
Medical device and clinical information system (CIS) integration
Asset and warehouse management
Mobile driven human-machine interface (HMI) and instrumentation
Industrial machines - weighing scales, automation controllers
SGX 5150 IoT Device Gateway User Guide 18
TM

SGX 5150 User Cases

2: Introduction
Figure 2-1 Serial to Wi-Fi or Ethernet

Protocol Support

The SGX 5150 contains a full-featured IP networking and wireless software stack:
DHCP Client, DHCP Server, DHCPv6 Client
Figure 2-2 Ethernet to Wi-Fi Bridge
uPnP (Discovery), LCAP (77FE), Telnet, SSH, SSLv3/TLSv1, (S)FTP, HTTP(S)
IPv4/IPv6, TCP, UDP, ICMP, ARP, Auto-IP, DNS, SNMP v2/v3
WPA/WPA2 Personal, WPA2 Enterprise (EAP-TLS, EAP-TTLS, EAP-PEAPv0/v1, EAP-
FAST)
SGX 5150 IoT Device Gateway User Guide 19
TM

Troubleshooting Capabilities

The SGX 5150 offers a comprehensive diagnostic tool set that lets you troubleshoot problems quickly and easily. Diagnostic tools available in the CLI or Web Manager allow you to:
View critical hardware, memory, buffer pool, IP socket information and routing table
Perform ping and traceroute operations
Conduct forward or reverse DNS lookup operations
View all processes currently running on the SGX 5150 including CPU utilization
View system log messages

Configuration Methods

After installation, the SGX 5150 requires configuration. For the unit to operate correctly on a network, it must have a unique IP address on the network. There are four basic methods for logging into the SGX 5150 and assigning IP addresses and other configurable settings:
Web Manager: View and configure all settings easily through a web browser using the
Lantronix Web Manager. See Chapter 5: Configuration Using Web Manager.
2: Introduction
DeviceInstaller: Configure the IP address and related settings and view current settings on
the SGX 5150 using a Graphical User Interface (GUI) on a PC attached to a network. You will need the latest version of the Lantronix® DeviceInstaller™ utility. See Chapter 4: Using DeviceInstaller.
Command Mode: Two methods for accessing Command Mode (CLI) include making a Telnet
or SSH connection, or connecting a PC or other host running a terminal emulation program to the unit’s serial port. See the SGX 5150 IoT Device Gateway Command Reference for instructions and available commands.
XML: The SGX 5150 supports XML-based configuration and setup records that make device
configuration transparent to users and administrators. XML is easily editable with a standard text or XML editor. See the SGX 5150 IoT Device Gateway Command Reference for instructions and commands.

Addresses and Port Numbers

Hardware Address

The hardware address is also referred to as the Ethernet address, physical address, or MAC address. The first three bytes of the Ethernet address are fixed and identify the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique numbers assigned to each unit.
Sample ways hardware address may be represented:
00-80-A3-14-1B-18
00:80:A3:14:1B:18
SGX 5150 IoT Device Gateway User Guide 20
2: Introduction
TM

IP Address

Every device connected to an IP network must have a unique IPv4 address. This address references the specific unit.

Port Numbers

Every TCP connection and every UDP datagram is defined by a destination and source IP address, and a destination and source port number. For example, a Telnet server commonly uses TCP port number 23.
The following is a list of the default server port numbers running on the SGX 5150:
TCP Port 22: SSH Server (Command Mode configuration)
TCP Port 23: Telnet Server (Command Mode configuration)
TCP Port 80: HTTP (Web Manager Configuration)
TCP Port 21: FTP
TCP Port 443: HTTPS
UDP Port 30718: Lantronix Discovery Protocol

Product Information Label

The product information label on the SGX 5150 gateway contains the following information about the specific unit:
Model Name
Product Part Number
Barcode
Product Revision
Country of Manufacturing Origin
Serial Number
SGX 5150 IoT Device Gateway User Guide 21
TM
Figure 2-3 Product Label
2: Introduction
SGX 5150 IoT Device Gateway User Guide 22
TM

3: Installation of the SGX 5150

This chapter describes how to install the SGX 5150 device gateway. It contains the following sections:
Package Contents
User-Supplied Items
Hardware Components
Installing the SGX 5150
Warning: This is a Class B product based on the standard of the Voluntary
Control Council for Interference from Information Technology Equipment (VCCI). If this is used near a radio or television receiver in a domestic environment, it may cause radio interference. Install and use the equipment according to the instruction manual.

Package Contents

The SGX 5150 package includes the following items:
SGX 5150 IoT device gateway
2 external antennas with RP-SMA connectors
Type A to type C USB cable
Note: This cable is compliant to the specification mandated 56k pull-up.
SGX 5150 IoT Device Gateway Quick Start Guide
Note: External power supply IS NOT provided with the SGX 5150 gateway.

User-Supplied Items

To complete your installation, you need the following items:
RS-232/422/485 serial device(s) requiring network connectivity
A serial cable for each serial device
- A null modem cable to connect the serial port to another DTE device.
- A straight-through modem cable to connect the serial port to a DCE device
An available connection to your Ethernet network and an Ethernet cable
Power supply
5V supply through Type A to Type C USB cable, OR
Optional 12 VDC (10W, 2.1 mm barrel connector) wall cube power supply (Lantronix part
number 520-154-R or equivalent)
SGX 5150 IoT Device Gateway User Guide 23
TM

Hardware Components

Front Panel

Table 3-2 SGX 5150 LEDs and Descriptions
LED Description
Status No IP obtained from eth0 network: L, L, S, S, S
No IP obtained from wlan0 network: L, L, L, S, S, S No IP obtained from the usb0 network: L, L, L, L, L, SNo eth0 link: L, L, S, S No wlan link: L, L, L, S, SNo usb0 link: L, L, L, L, L, S, S
WLAN The wlan indicator light and color pattern indicates the wlan status according to
Table 3-11 and Table 3-12 and also reflects the WPS status according to Table 3-14.
Signal See Table 3-11 and Table 3-12 for signal strength indication information.
3: Installation of the SGX 5150
Figure 3-1 Front Panel
Note: In Table 3-2 above, the L indicates a longer LED blink while the S indicates
shorter LED blink.

Back Panel

Figure 3-3 Back Panel
Serial Interface
One or two serial ports are available for the SGX 5150. Data rates can be configured for speeds between 300 and 921 kbaud. Hardware protocol options include the following:
Two RJ45 RS232 Serial Ports, or
Two RJ45 Multi-protocol RS232/422/485 ports, or
One RJ45 RS232 Serial Port
Note: Multi-protocol ports come with configurable terminations 120 ohm on TX+/- and
RX+/-.
SGX 5150 IoT Device Gateway User Guide 24
3: Installation of the SGX 5150
TM
Figure 3-5 RJ45 Serial Port
Table 3-6 USB Type C Connector Pinout
Upper Row Pin Number
Lower Row Pin Number
Signal Name
A1 B1 Ground A2 B2 No Connection A3 B3 No Connection A4 B4 VBUS 5V A5 CC1
B5 CC2 A6 B6 Data+ A7 B7 Data­A8 B8 No Connection A9 B9 VBUS 5V A10 B10 No Connection A11 B11 No Connection A12 B12 Ground
Table 3-4 Serial RJ45 Connector Pinout and LEDs
Pin Number Signal Name for RS-232 Signal Name for
RS-422/485 (4 wire)
1 RTS (output from SGX) TX+ (output from SGX) TX+/RX+ 2 DTR (output from SGX) Not used/do not connect. Not used/do not connect 3 TXD (output from SGX) TX- (output from SGX) TX-/RX- 4 GND GND GND 5 GND GND GND 6 RXD (input to SGX) RX+ (input to SGX) Not used/do not connect 7 DCD (input to SGX) Not used/do not connect. Not used/do not connect 8 CTS (input to SGX) RX- (input to SGX) Not used/do not connect Right LED Yellow for Transmit Data
activities (TXD)
Left LED Green for Receive Data
activities (RXD)
Yellow for Transmit Data activities (TXD)
Green for Receive Data activities (RXD)
Signal Name for RS485 2-Wire
Yellow for Transmit Data activities (TX)
Green for Receive Data activities (RX)
Note: For the proper operation of the RS422/485
4-wire, the 2-wire modes, as well as the RS232 mode, a GND (Ground) wire must be connected between the equipment.

USB Connection

One USB 2.0 HS/FS port with USB type C connector is available on the SGX 5150 and can be configured in two ways:
SGX 5150 IoT Device Gateway User Guide 25
As a USB device (default
setting) where the SGX 5150 can be powered by a VBUS 5V.
As a USB configurable host
where the SGX 5150 can provide VBUS 5V 0.5A if powered by a Lantronix provided wall adapter or PoE (hardware optional).
TM

Power

Table 3-7 Power Input Interface
Power Input Description
Barrel Connector Center contact fork type for better grip
9-30 VDC Input with center = (+)Reverse polarity protection up to 30 VDC
USB Type C
Connector
Ethernet PoE
RJ45 Connector
Power
Consumptions
USB VBUS 5V powering (default setting)SGX can provide VBUS 5V 0.5A out if configured as USB host, and powered by
Lantronix provided wall adaptor, or PoE power source class 2 (hardware optional)
PoE power module is optionalMust provide class 2 PoE power sourceSupports power inputs at both spare pins or Ethernet center taps with full bridge
diodes for polarity in-discrimination.
1.9 W typical if configured as USB Device, or USB Host - but not providing VBUS 5V
power
5.5 W maximum if configured as USB Host and providing out VBUS 5V powerThe internal hardware configuration allows more than one or all power sources
applied at the same time for power back up if one of them happens to fail (caution: may not be error-free). Not designed for one power source to take precedence over
the other.
3: Installation of the SGX 5150

Ethernet Ports

The Ethernet port has two LEDs (see Table 3-2) that indicate the status of the connection as described inTable 3-9 and Table 3-10 below.
Table 3-8 Ethernet RJ45 Connector Pinout
Pin Number Signal Name
1 ETX+ 2 ETX- 3 ERX+ 4 Spare pin for PoE power input_1 5 Spare pin for PoE power input_1 6 ERX- 7 Spare pin for PoE power input_2 8 Spare pin for PoE power input_2 Right LED See Table 3-9. Left LED See Table 3-10.
Table 3-9 Left Ethernet LED
Color/Status Solid Light
Yellow 100 Mbps activity OFF 10 Mbps activity
SGX 5150 IoT Device Gateway User Guide 26
3: Installation of the SGX 5150
TM
WPS Button
WLAN & WPS Status Indicator
Table 3-10 Right Ethernet LED
Color/Status Blinking Light
Green Link Up OFF No Link
The Ethernet port can conect to an Ethernet (10 Mbps) or fast Ethernet (100 Mbps) network.
Table 3-11 WLAN Signal Strength Indicator at 2.4 GHz
Fault Conditions Blink Pattern
Greater than -60 dbM 3 Greater than -70 dbM and less than -60 dbM 2 Greater than -80 dbM and less than -70 dbM 1 Less than -80 dBm All OFF
Table 3-12 WLAN Signal Strength Indicator at 5 GHz
Fault Conditions Blink Pattern
Greater than -60 dbM 3 Greater than -65 dbM and less than -60 dbM 2 Greater than -70 dbM and less than -65 dbM 1 Less than -70 dBm All OFF

Wi-Fi Protected Setup (WPS)

Using WPS, you have the option of connecting to SGX 5150 devices with a router or access point in a single operation instead of manually creating a profile with a network name (SSID), setting up wireless security parameters and updating the choice list.
Figure 3-13 Wi-Fi Protected Setup
SGX 5150 IoT Device Gateway User Guide 27
3: Installation of the SGX 5150
TM
Table 3-14 WPS Status Indicator
The WLAN link LED is used to indicate WPS status. See below for blink patterns.
WPS Status Blink Pattern
WPS is enabled and on Short, continuous WPS has a profile error Long, long, long, short, short, 2 seconds off, continuous WPS has a timeout error Long, long, long, short, short, short, short, 2 seconds off, continuous
Notes:
For Table 3-12 above, a “long” blink is 0.7 seconds of light followed by 0.3 seconds of
no light. A “short” blink is a light that is on for only 0.2 seconds and followed by 0.2 seconds of no light.
The diagnostic blink patterns reflect the highest priority fault condition. Also, the
Diagnostic LED will give an initial, identifying blink pattern to indicate the type of diagnostic information it will display. All power and other non-network related diagnostic patterns begin with one long blink. All wired LAN related diagnostics patterns begin with two long blinks. All WLAN-related diagnostics patterns begin with three long blinks.

Reset Button

Press the Reset button as shown in Figure 3-1 for 6 seconds to reset the SGX 5150 configuration parameters to factory defaults and reboot.

To Start WPS

Using the Device
1. Place the end of a paper clip or similar object into the WPS opening (see Figure 3-13) and press and hold down for a minimum of 5 seconds.
2. Remove the paper clip to release the button. The unit will start Wi-Fi protected setup.

Installing the SGX 5150

Be sure to place or mount the SGX 5150 gateway securely on a flat horizontal or vertical surface. The gateway comes with brackets for mounting it, for example, on a wall. If using AC power, do not use outlets controlled by a wall switch.

Observe the following guidelines when connecting the serial devices:

The SGX 5150 serial ports support RS-232 or multi-protocol RS232/422/485 serial ports.
Use a null modem cable to connect the serial port to another DTE device. Use a straight-
though (modem) cable to connect the serial port to a DCE device.
Connect your RJ-45 Ethernet cable to the RJ-45 port of the unit.

Perform the following steps to install your device:

1. Attach the two antennas to the SGX 5150 gateway.
2. Connect the equipment to the numbered device port (Serial 1/Serial 2) using appropriate cables and adapters.
SGX 5150 IoT Device Gateway User Guide 28
3: Installation of the SGX 5150
TM
3. Mount or place the SGX 5150 gateway securely.
4. Supply power to the SGX 5150 and connect it to the user device by using the supplied type A to type C USB cable. As soon as you plug the gateway into power, it powers up automatically, the self-test begins, and LEDs would indicate the gateway’s status.
Note: The SGX 5150 supports a power range of 9 to 30 VDC and can be powered up via
the barrel-power adapter or USB port.
5. Via the computer connected on the same network, you can follow one of two paths to device discovery and initial network configuration as outlined below.
Note: Antennas must be installed prior to powering on the unit. Do not remove or
connect the antennas while the unit power is on or proper wireless signals may not be transmitted or received as intended.
Figure 3-15 SGX 5150 Dimensions in Inches (in) and Millimeters (mm)
SGX 5150 IoT Device Gateway User Guide 29
TM

Optional SGX 5150 Bracket

A bracket accessory for securing the SGX 5150 IoT device gateway can be purchased at the Lantronix Online Store at https://store.lantronix.com/
7055. Purchased brackets will come with an installation guide.
Figure 3-16 Optional Bracket Installation
3: Installation of the SGX 5150
or by calling Lantronix Sales at 800-422-
SGX 5150 IoT Device Gateway User Guide 30
Loading...
+ 112 hidden pages