SGX5150 Ug PDF
SGX5150 Ug PDF
TM TM TM
Warranty
For details on the Lantronix warranty policy, please go to our web site at
https://www.lantronix.com/technical-support/warranty.
Contacts
Lantronix, Inc.
48 Discovery, Suite 250
Irvine, CA 92618, USA
Toll Free: 800-526-8766
Phone: 949-453-3990
Fax: 949-453-3995
Technical Support Online: https://www.lantronix.com/technical-support
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site at
https://www.lantronix.com/about-us/contact.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 2
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
5150 device gateway models. The user will experience differing featuer
availability depending on the model type installed.
March 2017 C Updated user guide GRE section.
January 2018 D Updated to firmware version 8.1.0.1 and updated installation and
compliance information.
January 2019 E Adds support for the SGX 5150 MD model and updates to firmware
8.2.0.3.
Adds support for bridging mode.
Adds support for smart roaming.
Adds support for Secure Boot.
Adds the Developing Applications Using Yocto SDK chapter.
April 2019 F Adds support for the SGX 5150 XL model and updates documentation for
firmware 8.4.0.0.
August 2019 G Updated for firmware release 8.7.0.0.
January 2020 H Updated for firmware release 9.0.0.0.
Added Tunnel Buffering configuration.
Replaced DeviceInstaller information with Lantronix Provisioning
Manager information.
Updated default password information.
June 2021 J Updated for firmware release 9.9.0.0.
Updated Access Point settings.
Added EAPoL settings to Wired Network (eth0) Link configuration.
Replaced MACH10 information with ConsoleFlow information.
Added early initialization to Line configuration.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 3
December 2022 K Updated power consumption description and updated documentation for
firmware release 9.13.0.0.
Added ConsoleFlow support for audit log, on-premise VM server,
and ability to disable remote connections. Removed MQTT host
and port options.
Added TCP user timeout option to Tunnel accept mode.
Updated corporate address.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 4
Table of Contents
Intellectual Property ________________________________________________________2
Warranty _________________________________________________________________2
Contacts _________________________________________________________________2
Open Source Software ______________________________________________________2
Disclaimer ________________________________________________________________3
Revision History ___________________________________________________________3
Table of Contents __________________________________________________________5
List of Figures ____________________________________________________________12
List of Tables _____________________________________________________________13
2: Introduction 23
Key Features _____________________________________________________________23
Applications ______________________________________________________________24
Use Cases _______________________________________________________________25
Protocol Support __________________________________________________________25
Troubleshooting Capabilities _________________________________________________26
Configuration Methods _____________________________________________________26
Addresses and Port Numbers ________________________________________________26
Hardware Address _____________________________________________________26
IP Address ___________________________________________________________27
Port Numbers _________________________________________________________27
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 5
Product Information Label ___________________________________________________27
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL 29
Package Contents _________________________________________________________29
User-Supplied Items _______________________________________________________ 29
Hardware Components _____________________________________________________30
Front Panel ___________________________________________________________30
Back Panel ___________________________________________________________32
USB Connection _______________________________________________________ 33
Power _______________________________________________________________33
Ethernet Ports _________________________________________________________34
Wi-Fi Protected Setup (WPS) _____________________________________________35
Reset Button __________________________________________________________35
To Start WPS _________________________________________________________35
Installing the SGX 5150 ____________________________________________________35
Optional SGX 5150 Bracket _________________________________________________38
Wireless Quick Connect ____________________________________________________39
6: Network Settings 47
Access Point _____________________________________________________________47
To View or Configure Access Point Settings _________________________________49
Bridge __________________________________________________________________49
Bridge Status and Configuration ___________________________________________50
To View or Configure Bridge Settings ______________________________________52
Wired (eth0) Network ______________________________________________________52
Interface Status and Configuration _________________________________________52
To Configure Network Interface Settings ____________________________________54
Link Status and Configuration ____________________________________________54
To Configure Network Link Settings ________________________________________56
QoS Statistics and Configuration __________________________________________56
To View and Configure Wired Network QoS Settings __________________________57
Wired (eth0) Network Failover ____________________________________________57
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 6
To View and Configure Wired Network Failover Settings ________________________58
Wireless (wlan0) Network ___________________________________________________58
Wireless (wlan0) Network Interface ________________________________________58
To View or Configure Wireless Network Interface Settings ______________________60
Wireless (wlan0) Network Link ____________________________________________60
Smart Roam __________________________________________________________62
To View or Configure Network Link Settings _________________________________62
Wireless (wlan0) Network QoS ____________________________________________63
To View or Configure Wireless Network QoS Settings __________________________64
Wireless (wlan0) Network Failover _________________________________________64
To View or Configure Wireless Network Failover Settings _______________________65
Wired (usb0) Network ______________________________________________________65
Interface (usb0) Status and Configuration ___________________________________65
To Configure Network Interface Settings ____________________________________67
QoS Statistics and Configuration __________________________________________67
To View and Configure Wired Network (USB) QoS Settings _____________________68
Wired (usb0) Network Failover ____________________________________________68
To View and Configure Wired (USB0) Network Failover Settings _________________69
Protocol Stack ____________________________________________________________69
IP Settings ___________________________________________________________69
To Configure IP Protocol Stack Settings ____________________________________70
ICMP Settings _________________________________________________________70
To Configure ICMP Protocol Stack Settings __________________________________70
ARP Settings _________________________________________________________70
To Configure ARP Network Stack Settings __________________________________71
VPN ____________________________________________________________________71
Configuring VPN Settings ________________________________________________73
Wi-Fi Protected Setup ______________________________________________________73
To Initiate WPS ________________________________________________________74
To Show WPS Status ___________________________________________________74
WLAN Scan/QuickConnect __________________________________________________74
To View WLAN Link Scan and Status Information _____________________________75
WLAN Profiles ____________________________________________________________75
Configuring WLAN Profile Settings _________________________________________76
7: Filesystem 80
File Transfer and Modification ____________________________________________81
To View, Transfer, or Modify Filesystem Files ________________________________81
8: Diagnostics 82
DNS ____________________________________________________________________82
Accessing the DNS Settings ______________________________________________82
Hardware ________________________________________________________________83
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 7
To View Hardware Information ____________________________________________83
IP Sockets _______________________________________________________________83
To View the List of IP Sockets ____________________________________________83
Log ____________________________________________________________________84
To Configure the Diagnostic Log Output ____________________________________84
Memory _________________________________________________________________84
To View Memory Usage _________________________________________________84
Ping ____________________________________________________________________85
To Ping a Remote Host _________________________________________________85
Processes _______________________________________________________________85
To View Process Information _____________________________________________85
Routes __________________________________________________________________86
Threads _________________________________________________________________86
To View Thread Information ______________________________________________86
Traceroute _______________________________________________________________86
To Perform a Traceroute ________________________________________________87
9: Administration 88
Actions _________________________________________________________________89
To Configure Action Settings _____________________________________________90
Python ______________________________________________________________90
Applications ______________________________________________________________91
To Configure Application Settings _________________________________________92
Bluetooth ________________________________________________________________92
Bluetooth Status and Configuration ________________________________________92
To View and configure Bluetooth settings: ___________________________________92
Bluetooth Serial ___________________________________________________________93
Bluetooth Serial Statistics and Configuration _________________________________93
To View and configure Bluetooth settings: ___________________________________93
CLI _____________________________________________________________________94
CLI Status and Configuration _____________________________________________94
To View and Configure Basic CLI Settings ___________________________________94
Clock ___________________________________________________________________95
To Specify a Clock-Setting Method ________________________________________95
ConsoleFlow _____________________________________________________________96
Configure ConsoleFlow Client ____________________________________________96
Configure ConsoleFlow Line _____________________________________________97
To Configure ConsoleFlow _______________________________________________98
Discovery _______________________________________________________________98
To Configure Discovery _________________________________________________98
Email ___________________________________________________________________99
To View, Configure and Send Email ________________________________________99
FTP ___________________________________________________________________100
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 8
To Configure FTP Settings ______________________________________________100
Gateway _______________________________________________________________101
Status ______________________________________________________________ 101
WAN _______________________________________________________________101
MAC Address Filters ___________________________________________________102
IP Address Filters _____________________________________________________102
To Configure Gateway WAN Settings _____________________________________102
Port Forwarding ______________________________________________________ 103
To Configure Gateway Port Forwarding Settings _____________________________104
Static Routes ________________________________________________________104
To Configure Gateway Static Route Settings ________________________________105
DHCP Server ________________________________________________________105
To Configure Gateway DHCP Server Settings _______________________________ 106
Static Lease Listing ___________________________________________________106
Routing Protocols _____________________________________________________107
To Configure Gateway Routing Protocol Settings ____________________________ 108
Virtual IP ____________________________________________________________ 108
To Configure Gateway Virtual IP _________________________________________ 108
GRE __________________________________________________________________109
To Configure GRE Settings _____________________________________________109
Host ___________________________________________________________________109
To Configure Host Settings _____________________________________________110
HTTP __________________________________________________________________110
Interface Status, Configuration and Authentication ___________________________110
To View or Configure HTTP Authentication _________________________________ 112
To Configure HTTP Authentication ________________________________________112
Line ___________________________________________________________________113
Line Status and Configuration ___________________________________________113
To View and Configure Line Configuration and Command Mode ________________114
Modbus ________________________________________________________________115
Serial Transmission Mode ______________________________________________115
Modbus Statistics _____________________________________________________115
Modbus Configuration _________________________________________________ 116
To View and Configure the Modbus Server _________________________________ 116
RSS ___________________________________________________________________116
To Configure RSS Settings _____________________________________________117
Security ________________________________________________________________117
To Configure Security Settings ___________________________________________118
SFTP __________________________________________________________________118
To Configure SFTP Settings _____________________________________________119
SMTP _________________________________________________________________ 119
To Configure SMTP Settings ____________________________________________ 119
SNMP _________________________________________________________________ 120
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 9
To Configure SNMP Settings ____________________________________________ 120
SSH ___________________________________________________________________121
SSH Server: Host Keys ________________________________________________121
SSH Server: Authorized Users ___________________________________________122
SSH Client: Known Hosts _______________________________________________122
SSH Client: Users _____________________________________________________123
To Configure SSH Settings _____________________________________________124
SSL ___________________________________________________________________125
Credentials __________________________________________________________125
To Create a New Credential _____________________________________________125
To Delete a Credential _________________________________________________ 125
To Configure an SSL Credential to Use an Uploaded Certificate _________________126
To Configure an SSL Credential to Use a Self-Signed Certificate ________________127
Trusted Authorities ____________________________________________________ 127
To Upload an Authority Certificate ________________________________________128
CSR (Certificate Signing Request) ________________________________________128
Syslog _________________________________________________________________ 129
To Configure Syslog Settings ____________________________________________ 129
System ________________________________________________________________130
To access System settings: _____________________________________________131
Terminal _______________________________________________________________132
To Configure the Terminal Network Connection ______________________________132
To Configure the Terminal Line or USB Connection __________________________ 133
Tunnel _________________________________________________________________ 133
Tunnel Statistics ______________________________________________________ 133
To View Tunnel Statistics _______________________________________________133
Serial Settings _______________________________________________________ 133
To Configure Tunnel Serial Settings _______________________________________ 134
Packing Mode ________________________________________________________134
To Configure Tunnel Packing Mode Settings ________________________________135
Accept Mode _________________________________________________________ 135
To Configure Tunnel Accept Mode Settings _________________________________ 138
Connect Mode _______________________________________________________ 138
To Configure Tunnel Connect Mode Settings _______________________________ 141
Connecting Multiple Hosts ______________________________________________141
Host List Promotion ___________________________________________________142
Disconnect Mode _____________________________________________________142
To Configure Tunnel Disconnect Mode Settings _____________________________142
Modem Emulation _____________________________________________________143
To Configure Tunnel Modem Emulation Settings _____________________________143
USB ___________________________________________________________________144
USB Statistics ________________________________________________________144
To View USB Statistics _________________________________________________ 144
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 10
USB Configuration ____________________________________________________ 144
To Configure USB Settings _____________________________________________145
USB Command Mode __________________________________________________145
To Configure USB Command Mode _______________________________________ 145
User Management ________________________________________________________146
To Configure User Management _________________________________________ 148
XML ___________________________________________________________________148
To Export Configuration ________________________________________________149
To Export Status ______________________________________________________ 150
To Import Configuration ________________________________________________150
Quick Setup _____________________________________________________________152
To Utilize Quick Setup _________________________________________________ 152
Compliance 163
SGX 5150 Regulatory Domains _____________________________________________170
RoHS, REACH and WEEE Compliance Statement ______________________________171
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 11
List of Figures
Figure 2-1 Serial to Wi-Fi or Ethernet _________________________________________________25
Figure 2-2 Ethernet to Wi-Fi Bridge __________________________________________________25
Figure 2-3 Product Label SGX 5150 MD ______________________________________________28
Figure 2-4 Product Label SGX 5150 and SGX 5150 XL ___________________________________28
Figure 3-5 Front Panel ____________________________________________________________30
Figure 3-6 Back Panel for SGX 5150 MD ______________________________________________32
Figure 3-7 Back Panel for non-medical SGX 5150 _______________________________________32
Figure 3-8 RJ45 Serial Port_________________________________________________________33
Figure 3-9 Wi-Fi Protected Setup ____________________________________________________35
Figure 3-10 SGX 5150 Dimensions in Inches (in) and Millimeters (mm) ______________________37
Figure 3-11 Optional Bracket Installation ______________________________________________38
Figure 5-12 Status Page (Section 1 of 2) ______________________________________________42
Figure 5-13 Status Page (Section 2 of 2) ______________________________________________43
Figure 5-14 Components of the Web Manager Page _____________________________________44
Figure 5-15 Expandable Menu Bar Selections __________________________________________44
Figure 10-16 Environment Setup for Microsoft Azure ____________________________________ 159
Figure B-1 SGX 5150 Suppliers Declaration of Conformity _______________________________ 164
Figure B-2 SGX 5150 MD Suppliers Declaration of Conformity ____________________________ 166
Figure B-3 EU Declaration of Conformity _____________________________________________167
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 12
List of Tables
Table 1-1 Product and Packaging Symbols ____________________________________________18
Table 3-2 SGX 5150 LEDs and Descriptions ___________________________________________30
Table 3-3 “STATUS” LED _________________________________________________________30
Table 3-4 “WLAN” LED ___________________________________________________________31
Table 3-5 Signal Strength Indicator at 2.4 GHz ________________________________________31
Table 3-6 Signal Strength Indicator at 5 GHz __________________________________________31
Table 3-7 Serial RJ45 Connector Pinout and LEDs ______________________________________32
Table 3-8 USB Type C Connector Pinout _____________________________________________33
Table 3-9 SGX 5150 - Power Input Interface ___________________________________________33
Table 3-10 SGX 5150 MD - Power Input Interface ______________________________________34
Table 3-11 Ethernet RJ45 Connector Pinout ___________________________________________34
Table 3-12 Left Ethernet LED ______________________________________________________35
Table 3-13 Right Ethernet LED _____________________________________________________35
Table 5-14 Web Manager Pages ____________________________________________________45
Table 6-15 Access Point Settings ___________________________________________________47
Table 6-16 Bridge Settings _________________________________________________________50
Table 6-17 Wired (eth0) Network Interface ____________________________________________52
Table 6-18 Link (eth0) Configuration _________________________________________________54
Table 6-19 Wired (eth0) Network QoS Settings _________________________________________57
Table 6-20 Wired (eth0) Network Failover Settings ______________________________________58
Table 6-21 Wireless (wlan0) Interface Configuration _____________________________________59
Table 6-22 Wireless (wlan0) Link Configuration ________________________________________61
Table 6-23 Smart Roam Settings ____________________________________________________62
Table 6-24 Wireless (wlan0) Network QoS Settings _____________________________________63
Table 6-25 Adding or Deleting Wireless (wlan0) Network QoS Settings ______________________63
Table 6-26 Wireless (wlan0) Network Failover _________________________________________64
Table 6-27 Wired (usb0) Network Interface ____________________________________________65
Table 6-28 Wired (usb0) Network QoS Settings ________________________________________68
Table 6-29 Wired (usb0) Network Failover Settings _____________________________________68
Table 6-30 IP Protocol Stack Settings ________________________________________________69
Table 6-31 ICMP Protocol Stack Settings _____________________________________________70
Table 6-32 ARP Protocol Stack Settings ______________________________________________71
Table 6-33 VPN Settings __________________________________________________________71
Table 6-34 Wi-Fi Protected Setup ___________________________________________________74
Table 6-35 WLAN Scan/Quick Connect Results ________________________________________75
Table 6-36 WLAN Profiles _________________________________________________________76
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 13
Table 6-37 Individual WLAN Profile Settings ___________________________________________76
Table 7-38 File Modification Settings _________________________________________________80
Table 7-39 USB Auto Mount Configuration Settings _____________________________________80
Table 7-40 File Transfer Settings ____________________________________________________81
Table 8-41 DNS Settings __________________________________________________________82
Table 8-42 Log Settings ___________________________________________________________84
Table 8-43 Ping Configuration ______________________________________________________85
Table 8-44 Traceroute Settings _____________________________________________________86
Table 9-45 Action Settings _________________________________________________________89
Table 9-46 Script Settings _________________________________________________________91
Table 9-47 Bluetooth Configuration __________________________________________________92
Table 9-48 Bluetooth Serial Configuration _____________________________________________93
Table 9-49 CLI Configuration Settings ________________________________________________94
Table 9-50 Clock Settings _________________________________________________________95
Table 9-51 ConsoleFlow Client Configuration __________________________________________96
Table 9-52 ConsoleFlow Line ______________________________________________________97
Table 9-53 Discovery Settings ______________________________________________________98
Table 9-54 Email Configuration _____________________________________________________99
Table 9-55 FTP Settings _________________________________________________________ 100
Table 9-56 WAN Configuration ____________________________________________________ 101
Table 9-57 Adding or Deleting MAC Address Filters ____________________________________ 102
Table 9-58 Adding or Deleting IP Address Filters ______________________________________102
Table 9-59 Port Forwarding Rules List _______________________________________________103
Table 9-60 Adding a New Port Forwarding Rule _______________________________________ 103
Table 9-61 Static Route Settings ___________________________________________________104
Table 9-62 Routing Table _________________________________________________________ 105
Table 9-63 Adding a New Static Route ______________________________________________105
Table 9-64 DHCP Settings ________________________________________________________106
Table 9-65 Static Lease Listing ____________________________________________________ 106
Table 9-66 Add a Static Lease _____________________________________________________107
Table 9-67 Routing Protocol Settings _______________________________________________107
Table 9-68 Existing Virtual IP Settings _______________________________________________108
Table 9-69 Add a Virtual IP _______________________________________________________ 108
Table 9-70 GRE Settings _________________________________________________________ 109
Table 9-71 Host Settings _________________________________________________________ 110
Table 9-72 HTTP Configuration ____________________________________________________ 111
Table 9-73 HTTP Authentication ___________________________________________________112
Table 9-74 Line Configuration Settings ______________________________________________113
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 14
Table 9-75 Line Command Mode Setting ____________________________________________ 114
Table 9-76 Byte Header of Modbus Application Protocol ________________________________115
Table 9-77 Modbus Transmission Modes ____________________________________________ 115
Table 9-78 Modbus Configuration __________________________________________________116
Table 9-79 RSS ________________________________________________________________117
Table 9-80 SMTP Settings ________________________________________________________119
Table 9-81 SNMP Settings ________________________________________________________120
Table 9-82 SSH Server Host Keys __________________________________________________121
Table 9-83 SSH Server Authorized Users ____________________________________________ 122
Table 9-84 SSH Client Known Hosts ________________________________________________123
Table 9-85 SSH Client Users ______________________________________________________ 123
Table 9-86 Create New Keys ______________________________________________________ 124
Table 9-87 SSL Credential - Upload Certificate ________________________________________126
Table 9-88 SSL Credential - Create New Self-Signed Certificate __________________________ 126
Table 9-89 SSL Trusted Authority __________________________________________________127
Table 9-90 SSL CSR (Certificate Signing Request) _____________________________________129
Table 9-91 System Settings _______________________________________________________ 130
Table 9-92 Terminal on Network and Line Settings _____________________________________132
Table 9-93 Tunnel Serial Settings __________________________________________________134
Table 9-94 Tunnel Packing Mode Settings ___________________________________________134
Table 9-95 Tunnel Accept Mode Settings ____________________________________________ 136
Table 9-96 Tunnel Connect Mode Settings ___________________________________________138
Table 9-97 Host Settings _________________________________________________________ 139
Table 9-98 Tunnel Disconnect Mode Settings _________________________________________ 142
Table 9-99 Tunnel Modem Emulation Settings ________________________________________143
Table 9-100 USB Configuration ____________________________________________________ 144
Table 9-101 USB Command Mode _________________________________________________ 145
Table 9-102 Administrator Settings _________________________________________________ 146
Table 9-103 Current Users List ____________________________________________________ 146
Table 9-104 New User Settings ____________________________________________________ 146
Table 9-105 Current Roles List ____________________________________________________ 147
Table 9-106 New Role Settings ____________________________________________________ 147
Table 9-107 Configuration from Filesystem __________________________________________151
Table 9-108 Line(s) from single line Settings on the Filesystem ___________________________151
Table 9-109 Administrator Settings _________________________________________________ 152
Table 9-110 Bridge 1(br0) Configuration _____________________________________________152
Table 9-111 Wi-Fi Protected Setup _________________________________________________ 153
Table 9-112 Current Configuration __________________________________________________153
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 15
Table 9-113 Available Networks ___________________________________________________153
Table 10-114 Lantronix Beacon Scanner commands ___________________________________160
Table B-1 EU Declaration of Conformity _____________________________________________168
Table B-1 Country Transmitter IDs _________________________________________________ 169
Table B-2 SGX 5150 Module RF Output Power _______________________________________ 169
Table B-3 20 MHz Channels ______________________________________________________ 170
Table B-4 40 MHz Channels ______________________________________________________ 171
Table B-5 80 MHz Channels ______________________________________________________ 171
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 16
1: Using This Guide
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.
Includes technical specifications.
3: Installation of the SGX 5150, SGX Instructions for installing the SGX 5150, SGX 5150 MD, and SGX
5150 MD, & SGX 5150 XL 5150 XL.
4: Using Lantronix Provisioning Instructions for viewing the current configuration using Lantronix
Manager Provisioning Manager.
5: Configuration Using Web Manager Instructions for accessing Web Manager and using it to configure
settings for the SGX 5150, SGX 5150 MD, and SGX 5150 XL
gateway.
6: Network Settings Instructions to view and configure Access Point, Bridge, Wired
Network (eth0), Wireless Network (wlan0), Wired Network (usb0),
Protocol Stack, VPN, Wi-Fi Protected Setup, WLAN Scan/
QuickConnect, and WLAN Profiles settings.
6: Network Settings Instructions to view and configure Access Point, Bridge, Wired
Network (eth0), Wireless Network (wlan0), Wired Network (usb0),
Protocol Stack, VPN, Wi-Fi Protected Setup, WLAN Scan/
QuickConnect, and WLAN Profiles settings.
7: Filesystem Instructions to view and configure the filesystem.
8: Diagnostics Instructions to view and configure DNS, Hardware, IP Sockets, Log,
Memory, Ping, Processes, Routes, Threads, and Traceroute
information.
9: Administration Instructions to view and configure Actions, Applications, Bluetooth,
Bluetooth Serial, CLI, Clock, ConsoleFlow, Discovery, Email, FTP,
Gateway, GRE, Host, HTTP, Line, Modbus, RSS, Security, SFTP,
SMTP, SNMP, SSH, SSL, Syslog, System, Terminal, Tunnel, USB,
User Management, XML, and Quick Setup information.
10: Developing Applications Using Instructions for developers to use the Yocto SDK to create custom
Yocto SDK firmware.
A: Lantronix Technical Support Instructions for contacting Lantronix Technical Support.
B: Compliance Provides SGX 5150, SGX 5150 MD, and SGX 5150 XL compliance
information.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 17
1: Using This Guide
User Manual
Indicates the user manual should be referenced for operating instructions
Warning
Indicates the user should refer to user manual to avoid accidents and
failures
Temperature Range
Indicates the recommended temperature range for transport and storage
Humidity Range
Indicates the humidity range recommended for transport and storage
Fragile
Indicates that the product is fragile and should be handled with care
Keep Dry
Keep the product in a dry place
Avoid Sunlight
Keep product out of sunlight
Manufacturer
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 18
1: Using This Guide
Symbol Meaning
Warning:
The SGX 5150 MD is not suitable for use in the presence of a flammable anesthetic mixture
including air, oxygen or nitrous oxide. To avoid the risk of electric shock, the Power Supply
Adapter of the SGX 5150 MD must only be connected to a supply main with protective earth.
The SGX 5150 MD is not to be used in life support or as a life sustaining product.
No modification of this equipment is allowed. Use only the external Power Supply Adaptor
shipped together with SGX 5150 MD. The operation of device, connected systems, and user/
operator safety may be compromised if not using the correct Power Supply as required.
Do not remove the cover of the SGX 5150 MD or the Power Supply Adaptor. There are no
user-serviceable parts inside. Opening or removing the cover may expose you to dangerous
voltage that could cause fire or electric shock.
Do not operate the SGX 5150 MD if the housing of the SGX 5150 MD or of Power Supply
Adaptor is broken.
Interconnection of the SGX 5150 MD wireless IoT gateway for medical devices with other
medical devices, medical systems, or other non-medical devices shall be evaluated to the
requirements of Clause 16 of IEC 60601-1 in the end use application.
Refer all servicing to Lantronix.
Power Plug
When disconnecting the power cord from the wall ac socket, pull on the plug, not the cord.
Always connect the power cord to a properly wired and grounded power source. Do not use
adapter plugs or remove the grounding prong from the cord.
Only use a power cord with a voltage and current rating greater than the voltage and current
rating marked on the unit.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 19
1: Using This Guide
Notes:
Install the unit near an AC outlet that is easily accessible.
Always connect any equipment used with the product to properly wired and grounded
power sources.
To help protect the product from sudden, transient increases and decreases in electrical
power, use a surge suppressor, line conditioner, or uninterruptible power supply (UPS).
Do not connect or disconnect this product during an electrical storm.
Input Supply
Check nameplate ratings of the ac outlet to assure there is no overloading of supply circuits
that could affect over current protection and supply wiring.
Grounding
Maintain reliable grounding of this product.
Fuses
There is no fuse. If the SGX 5150 MD fails to power on, return it to Lantronix for servicing.
Wall Mounting
If a wall-mounted with SGX 5150’s optional bracket (see Figure 3-16), the following items must be
considered:
Do not install the unit in such a way that a hazardous stability condition results because of
uneven loading. A drop or fall could cause injury.
Make sure to install the SGX 5150 MD unit in an environment with an ambient temperature
less than the maximum operating temperature of the SGX 5150 MD device. Therefore,
consideration should be given to installing the equipment in an environment compatible with
the maximum ambient temperature specified by the manufacturer.
Maintain reliable earthing of wall-mounted equipment. Give particular attention to supply
connections other than direct connections to the branch circuit (e.g. use of power strips)
because of the effect that overloading of the circuits might have on overcurrent protection and
supply wiring. Appropriate consideration of equipment nameplate ratings should be used
when addressing this concern.
Note: Before operating the SGX 5150 MD device, make sure the device mounting is
secured.
Port Connections
Only connect the network port to an Ethernet network that supports 10 Base-T/100 Base-TX
using CAT5/CAT5E/CAT6 cables.
Only connect device ports to equipment with serial ports that support EIA-232 (formerly RS-
232C), and USB port to intended USB Device/Host port as appropriate by applications.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 20
1: Using This Guide
Equipment Classifications
Classification according to the type of protection against electric shock:
SGX 5150 MD: Class III
Power Supply: Class I or Class II
Classification according to the degree of protection against electric shock: No Applied Parts
Classification according to the degree of protection against ingress of water: IP20
Classification according to the mode of operation: Continuous Operation
Cleaning Instructions
Disconnect all cables and cords from the device.
Prepare a disinfectant solution using 1 part of bleach mixed with 9 parts of water.
Lightly moisten a tissue with the mild detergent and wipe down only the outside of the device.
Allow the device to air-dry or wipe dry with a clean dry tissue before use.
Caution: To avoid electric shock and for the device to work properly, do not allow
cleaning solution to get inside the device, specifically the interface port
connectors or the power inlet. Do not immerse the device in any liquid.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 21
1: Using This Guide
Electromagnetic Interference
This equipment has been tested and found to comply with the EMC limits for the Medical Device
Directive 93/42/EEC (EN 55032 Class B and EN 60601-1-2). These limits are designed to provide
reasonable protection against harmful interference in a typical medical installation. The equipment
generates, uses and can radiate radio frequency energy and, if not installed and used in
accordance with these instructions, may cause harmful interference to other devices in the vicinity.
However, there is no guarantee that interference will not occur in a particular installation. If this
equipment does cause harmful interference with other devices, which can be determined by
turning the equipment off and on, the user is encouraged to try to correct the interference by one
or more of the following measures:
Reorient or relocate the receiving device
Increase the separation between the equipment
Connect the equipment into an outlet on a circuit different from that to which the other
device(s) is connected
Consult the manufacturer or field service technician for help.
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 Instructions for accessing command mode (the command line
Command Reference interface) using a Telnet connection, SSH connection or through
the serial port. Detailed information about the commands, XML
configuration, and status are provided.
SGX 5150 IoT Device Gateway Quick Instructions for getting the SGX 5150 unit up and running.
Start Guide
Lantronix Provisioning Manager Instructions for using the Lantronix Provisioning Manager
Online Help application that discovers, configures, updates, and managers
Lantronix devices.
Com Port Redirector Quick Start Instructions for using the Windows operating system-based utility to
and Online Help create virtual com ports.
Secure Com Port Redirector User Instructions for using the Windows operating system-based utility to
Guide create secure virtual com ports.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 22
2: Introduction
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.
Commands within this document apply to the SGX 5150, SGX 5150 MD, and SGX 5150
XL unless otherwise noted.
Key Features
Power Supply:
SGX 5150: 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
SGX 5150 MD: To comply with IEC 60601-1 requirement, please use the Medical 12VDC
Power Supply 520-160-R as indicated in the Important Safety Information section.
SGX 5150 XL: Flexible power options and input voltage range: one barrel connector for 9-30
VDC power source 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. 8 GB eUSB flash drive
on the SGX 5150 XL.
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
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 23
2: Introduction
Applications
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 TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 24
2: Introduction
Use Cases
Protocol Support
The SGX 5150 contains a full-featured IP networking and wireless software stack:
DHCP Client, DHCP Server, DHCPv6 Client
uPnP (Discovery), LCAP (77FE), Telnet, SSH, SSLv3/TLSv1.0/TLSv1.1/TLSv1.2, (S)FTP,
HTTP(S)
IPv4/IPv6, TCP, UDP, ICMP, ARP, Auto-IP, DNS, SNMP v1/v2/v3
WPA/WPA2 Personal, WPA2 Enterprise (EAP-TLS, EAP-TTLS, EAP-PEAPv0/v1, EAP-
FAST)
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 25
2: Introduction
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 five 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.
Lantronix Provisioning: Obtain basic information about the device such as firmware version,
IP address, and serial number. Update the firmware, configure the device using XML files, or
upload to the file system.
See Chapter 4: Using Lantronix Provisioning Manager.
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.
Web API: The Web APIs are RESTful APIs that allow access to a subset of gateway functions
through a standard HTTP request. They can be used to export and import configuration,
export status, take a status action, and manipulate the file system. See the SGX 5150 IoT
Device Gateway Command Reference for details and a list of actions.
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 TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 26
2: Introduction
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
TCP Port 30179: UPnP Discovery
UDP Port 30718: Lantronix Discovery Protocol
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 27
2: Introduction
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 28
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
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
Notes:
An IEC 60601-1 certified SGX 5150 MD is in most cases shipped with a medical
power supply adapter. The SGX 5150 MD is for use only with the SL Power P/N:
ME10A1272F02 (Lantronix Part Number 520-160-R).
For non-medical SGX 5150 no external power supply is provided.
For SGX 5150 XL, an external 12V power supply is provided.
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
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 29
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
- 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 for non-medical SGX 5150
USB VBUS power via a USB-C cable for SGX 5150, OR
Optional 12 VDC (10W, 2.1 mm barrel connector) wall cube power supply (Lantronix part
number 520-154-R or equivalent).
Due to the additional power required for the internal eUSB flash drive on the SGX 5150
XL, an external 12VDC power supply, which is provided, is required.
Hardware Components
Front Panel
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 30
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
Notes:
A “long” blink is 0.7 seconds ON followed by 0.3 seconds OFF
A “short” blink is 0.2 seconds ON followed by 0.2 seconds OFF
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 31
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
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 TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 32
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
Power
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 33
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
Ethernet Ports
The Ethernet port has two LEDs (see Table 3-6) that indicate the status of the connection as
described inTable 3-12 and Table 3-13 below.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 34
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
The Ethernet port can conect to an Ethernet (10 Mbps) or fast Ethernet (100 Mbps) network.
Reset Button
Using a paper clip or similar object to poke through the RESET hole, press the recessed Reset
button as shown in Figure 3-9 for 6 seconds to reset the SGX 5150 configuration parameters to
factory defaults and reboot.
To Start WPS
Press and hold the WPS button for minimum of 5 seconds (see Figure 3-9), the unit will start Wi-Fi
protected setup.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 35
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
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.
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.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 36
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
Figure 3-10 SGX 5150 Dimensions in Inches (in) and Millimeters (mm)
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 37
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 38
3: Installation of the SGX 5150, SGX 5150 MD, & SGX 5150 XL
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 39
4: Using Lantronix Provisioning Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 40
5: Configuration Using Web Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 41
5: Configuration Using Web Manager
Status Page
This page appears upon logging into Web Manager and when you click the Status tab.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 42
5: Configuration Using Web Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 43
5: Configuration Using Web Manager
Header
Menu Bar
Status and/or
Configuration Area
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 44
5: Configuration Using Web Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 45
5: Configuration Using Web Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 46
6: Network Settings
6: Network Settings
Network settings for the SGX 5150 can be viewed and modified under the Network tab in the Web
Manager user interface. This chapter describes the following network settings:
Access Point
Bridge
Wired (eth0) Network
Wireless (wlan0) Network
Wired (usb0) Network
Protocol Stack
VPN
Wi-Fi Protected Setup
WLAN Scan/QuickConnect
WLAN Profiles
Access Point
Configure software-enabled access point interface (SoftAP) on this page. Access point status
information displays at the bottom half of the page.
Warning: If the SGX 5150 is connected to a 5 GHz access point on the WLAN, the
SoftAP interface will not be accessible to devices that support only 2.4
GHz.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 47
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 48
6: Network Settings
Using XML
Include in your file: <configgroup name=”access point”>
Bridge
The SGX 5150 bridges traffic between an Ethernet or USB RNDIS (usb0) and WLAN interface.
For example, br0 is a bridge between eth0 and wlan0. For USB RNDIS interface, USB 1 must be
configured as an Ethernet device.
When a bridge is enabled, the Wired (eth0) Network configuration is used for configuring direct
connections into the SGX 5150 gateway over the primary interface; the Wireless (wlan0) Network
configuration is ignored. Both the Ethernet and WLAN link configurations are used the same as
when the bridge is disabled.
Bridging MAC Address specifies the MAC address of bridgeable traffic between the Ethernet and
WLAN interfaces. When bridging is active, this MAC Address will be used as the MAC address of
the WLAN interface. Packets received on the Ethernet interface from this address will be bridged
to the WLAN interface (except traffic directed at the Primary Interface). If this field is not
configured, then the SGX 5150 gateway waits for the first packet to arrive on the Ethernet interface
and uses the source address as the bridging address.
Bridging IP Address specifies the IP address of the bridged client.
When bridging is active, this IP Address will be used to create a static route between the SGX
5150 gateway and the bridged client.
This route is required for connecting to the bridged client from devices connected via the access
point network and from this SGX 5150 gateway.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 49
6: Network Settings
If Auto Detect IP Address is enabled, then the SGX 5150 gateway will attempt to learn the IP
Address by using the source or destination IP address of packets arriving on the Ethernet
interface.
Warning: Running processes may be impacted while the SGX 5150 gateway
monitors Ethernet traffic to determine the wired host IP address.
During initialization, the bridging subsystem enables and controls both eth0 and wlan0 networks.
These are important aspects to keep in mind:
If the eth0 physical link is inactive, wlan0 is the primary interface.
If the eth0 physical link is active, eth0 is the primary interface.
When the eth0 link is active, the wlan0 link is established. Additionally, the bridging MAC address
is acquired using preconfiguration or auto-detection, and bridging enters the Active state. If either
link goes down, bridging reverts to the Inactive state.
When in the Active state, all packets that arrive on the wlan0 interface are bridged out (through)
the eth0 interface. Similarly, all packets that arrive on the eth0 interface are bridged out (through)
the wlan0 interface. However, exceptions to this behavior include:
Ethernet packets directed specifically to the Ethernet (eth0) MAC address are terminated
internally and are not bridged to WLAN.
An ARP request for the primary interface IP address is terminated internally and is not bridged
to the WLAN.
Ethernet packets that do not originate from the bridging MAC Address are discarded.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 50
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 51
6: Network Settings
Using XML
Include in your file: <configgroup name=”bridge” instance=”br0”>
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 52
6: Network Settings
Field/Button Description
Priority Priority ranges from 0-10. The IP stack will give the interface with the lowest
numerical value highest priority and the highest numerical values lowest priority
when sending data. This setting only applies when the SGX 5150 gateway is not in
bridging mode and both interfaces are connected to the same IP subnet.
MTU When DHCP is enabled, the MTU size is (usually) provided with the IP address.
When not provided by the DHCP server, or using a static configuration, this value
is used. The MTU size can be from 576 to 1500 bytes, the default being 1500
bytes.
IPv4 State Select to enable or disable.
DHCP Client Select to turn On or Off. At boot up, after the physical link is up, the SGX 5150 unit
will attempt to obtain IPv4 settings from a DHCP server and will periodically renew
these settings with the server.
Note: Overrides the configured IPv4 address/mask, gateway, hostname, and
domain. Changing this value requires you to reboot the SGX 5150 gateway. Within
Web Manager, click Renew to renew the DHCP lease.
IP Address Enter the static IPv4 address to use for the interface. You may enter it alone or in
CIDR format.
Note: This setting will be used if Static IP is active (DHCP is Disabled). Changing
this value requires you to reboot the SGX 5150 gateway. When DHCP is enabled,
the SGX 5150 unit tries to obtain an IPv4 address from a DHCP server. If it cannot,
the SGX 5150 unit generates and uses an Auto IP address in the range of
169.254.xxx.xxx, with a network mask of 255.255.0.0.
Default Gateway Enter the IPv4 address of the router for this network.
Note: This setting will be used if Static IP is active (DHCP is Disabled).
Domain Enter the domain name suffix for the interface.
Note: This setting will be used when either static IP or auto IP is active, or if
DHCP is active and no domain suffix was acquired from the server.
DHCP Client ID Enter the ID if the DHCP server requires a DHCP client ID option. The DHCP
server’s lease table shows IP addresses and MAC addresses for devices. The
lease table shows the client ID, in hexadecimal notation, instead of the SGX 5150
unit MAC address.
Primary DNS Enter the IP address of the primary domain name server (DNS.)
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
Secondary DNS Enter the IP address of the secondary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
IPv6 State Select to enable or disable.
IPv6 DHCP Client Select to turn On or Off. At bootup, after the physical link is up, the SGX 5150 unit
will attempt to obtain IPv6 settings from a DHCPv6 server and will periodically
renew these settings with the server.
On: enables the SGX 5150 server to obtain IPv6 setting from a DHCPv6 server
upon bootup.
Off: enables the SGX 5150 server to obtain IPv4 settings from a DHCP server
upon bootup.
Note: Overrides the configured IP address/mask, gateway, hostname, and
domain. Changing this value requires you to reboot the SGX 5150 gateway. Within
Web Manager, click Renew to renew the DHCPV6 lease.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 53
6: Network Settings
Field/Button Description
IPv6 Auto Select to turn On or Off IPv6 auto configuration.
Configuration
IPv6 IP Address Enter the static IPv6 address to use for the interface.
Note: This setting is used if Static IPv6 is active (DHCPv6 is Disabled). Changing
this value requires a reboot. When DHCPv6 is enabled, the SGX 5150 unit tries to
obtain an IPv6 address from a DHCPv6 server. If it cannot, then SGX 5150 unit
generates and uses a Link local IPv6 address.
IPv6 Default Gateway Enter the default IPv6 default gateway.
IPv6 Domain Enter the domain name suffix for the interface.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no Domain Suffix was acquired from the server.
IPv6 Primary DNS Enter the IP address of the primary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
IPv6 Secondary DNS Enter the IP address of the secondary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
Using XML
Include in your file: <configgroup name= “interface" instance="eth0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 54
6: Network Settings
Field/Button Description
Duplex Select the Ethernet link duplex mode. (Default is Auto.)
Auto = Auto-negotiation of Link Duplex
Half = Force Half Duplex
Full = Force Full Duplex
EAPoL Select to enable or disable EAPoL (Extensible Authentication Protocol)
authentication.
If Enabled, the EAPoL Security Configuration fields are displayed.
EAPol Security Configuration
IEEE 802.1X Choose an IEEE 802.1X authentication type:
EAP-TLS
EAP-TTLS
PEAP
FAST
Validate Certificate Validate the certificate installed on the PremierWave 2050 gateway by selecting
Enabled in the Validate Certificate field which appears. Validates the certificate
installed on the gateway with the one received from the RADIUS server.
Note: This field appears if the EAP-TLS IEEE 802.1X authentication type is
selected.
Secure Credentials After EAP-TLS is selected and the Validate Certificate is enabled, either:
Select the credential, if listed in the dropdown menu, to validate.
Type the name of the credential if the credential is not listed in the dropdown
menu.
Note: This field appears if EAP-TLS IEEE 802.1X authentication type is selected.
EAP-TTLS Option Select a security protocol:
EAP-MSCHAPV2
MSCHAPV2
MSCHAP
CHAP
PAP
EAP-MD5
Note: This field appears if EAP-TTLS IEEE 802.1X authentication type is
selected.
PEAP Option Select an option:
EAP-MSCHAPV2
EAP-MD5
EAP-TLS
Note: This field appears if PEAP IEEE 802.1X authentication type is selected.
FAST Option Select an option:
MD5
MSCHAPV2
GTC
Note: This field appears if FAST IEEE 802.1X authentication type is selected.
FAST Provisioning Select the FAST provisioning option:
Unauthenticated
Authenticated (default)
Both
Note: This field appears if FAST IEEE 802.1X authentication type and
MSCHAPV2 FAST Option is selected.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 55
6: Network Settings
Field/Button Description
Username Enter a username.
Password Enter a password.
Check the Show Password check box to make the password viewable as you
enter it in the Password field.
Note: This field appears if the EAP-TTLS, PEAP, or FAST IEEE 802.1X
authentication type is selected.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
Notes:
When speed is Auto, duplex must be Auto or Half.
When speed is not Auto, duplex must be Half or Full.
Fixed-speed Full duplex produces errors when connected to Auto, due to duplex
mismatch.
Using XML
Include in your file: <configgroup name= “interface" instance="eth0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 56
6: Network Settings
Table 6-19 Wired (eth0) Network QoS Settings shows the network QoS settings that can be
configured including adding new filters.
Using XML
Include in your file: <configgroup name="qos" instance="eth0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 57
6: Network Settings
Using XML
Include in your file: <configgroup name="network failover" instance="eth0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 58
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 59
6: Network Settings
Field/Button Description
IPv6 DHCP Client Select to turn On or Off. At bootup, after the physical link is up, the SGX 5150 unit
will attempt to obtain IPv6 settings from a DHCPv6 server and will periodically
renew these settings with the server.
On: enables the SGX 5150 server to obtain IPv6 setting from a DHCPv6 server
upon bootup.
Off: enables the SGX 5150 server to obtain IPv4 settings from a DHCP server
upon bootup.
Note: Overrides the configured IP address/mask, gateway, hostname, and
domain. Changing this value requires you to reboot the SGX 5150 gateway. Within
Web Manager, click Renew to renew the DHCPV6 lease.
IPv6 Auto Select to turn On or Off IPv6 auto configuration.
Configuration
IPv6 IP Address Enter the static IPv6 address to use for the interface.
Note: This setting is used if Static IPv6 is active (DHCPv6 is Disabled). Changing
this value requires a reboot. When DHCPv6 is enabled, the SGX 5150 unit tries to
obtain an IPv6 address from a DHCPv6 server. If it cannot, then SGX 5150 unit
generates and uses a Link local IPv6 address.
IPv6 Default Gateway Enter the default IPv6 default gateway.
IPv6 Domain Enter the domain name suffix for the interface.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no Domain Suffix was acquired from the server.
IPv6 Primary DNS Enter the IP address of the primary Domain Name Server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
IPv6 Secondary DNS Enter the IP address of the secondary Domain Name Server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
Using XML
Include in your file: <configgroup name= “interface" instance="wlan0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 60
6: Network Settings
profiles for automatic connection to wireless networks. Dynamic profiles, created via quick
connect/WPS, have a higher priority over a static profile. Listed dynamic and static profiles can be
prioritized with 1 being highest priority through 4 being lowest priority.
Table 6-22 displays the wireless link status and configuration information. The view-only status
information is available on the Wireless (wlan0) Network WLAN Link Status page. This same
information is configurable on the Wireless (wlan0) Network WLAN Link Configuration page.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 61
6: Network Settings
Field/Button Description
Scanning Channel Enter the Scanning Channel List in the field. This field accepts comma separated
List integers as list of channels. An empty list is considered as default and all radio
supported channels are considered.
Apply (button) Click the Apply button to apply the WLAN settings without saving them to flash
memory. If the WLAN settings do not work, reboot the device to restore the original
settings.
The Apply button appears when new settings are entered.
Submit (button) Click the Submit button to update the WLAN settings and save them to flash
memory.
The Submit button appears when new settings are entered.
Smart Roam
Wireless network (wlan0) smart roaming can be enabled and configured on the SGX 5150
gateway.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 62
6: Network Settings
Using XML
Include in your file: <configgroup name= “interface" instance="wlan0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 63
6: Network Settings
Using XML
Include in your file: <configgroup name="qos" instance="wlan0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 64
6: Network Settings
Using XML
Include in your file: <configgroup name="network failover" instance="wlan0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 65
6: Network Settings
Field/Button Description
IP Address Enter the static IPv4 address to use for the interface. You may enter it alone or in
CIDR format.
Note: This setting will be used if Static IP is active (both DHCP and BOOTP are
Disabled). Changing this value requires you to reboot the SGX 5150 gateway.
When DHCP is enabled, the SGX 5150 unit tries to obtain an IPv4 address from a
DHCP server. If it cannot, the SGX 5150 unit generates and uses an Auto IP
address in the range of 169.254.xxx.xxx, with a network mask of 255.255.0.0.
Default Gateway Enter the IPv4 address of the router for this network.
Note: This setting will be used if Static IP is active (DHCPis Disabled).
Domain Enter the domain name suffix for the interface.
Note: This setting will be used when either static IP or auto IP is active, or if
DHCP is active and no domain suffix was acquired from the server.
DHCP Client ID Enter the ID if the DHCP server requires a DHCP client ID option. The DHCP
server’s lease table shows IP addresses and MAC addresses for devices. The
lease table shows the client ID, in hexadecimal notation, instead of the SGX 5150
MAC address.
Primary DNS Enter the IP address of the primary domain name server (DNS.)
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
Secondary DNS Enter the IP address of the secondary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
IPv6 State Select to enable or disable.
IPv6 DHCP Client Select to turn On or Off. At bootup, after the physical link is up, the SGX 5150 unit
will attempt to obtain IPv6 settings from a DHCPv6 server and will periodically
renew these settings with the server.
On: enables the SGX 5150 server to obtain IPv6 setting from a DHCPv6 server
upon bootup.
Off: enables the SGX 5150 server to obtain IPv4 settings from a DHCP server
upon bootup.
Note: Overrides the configured IP address/mask, gateway, hostname, and
domain. Changing this value requires you to reboot the SGX 5150 gateway. Within
Web Manager, click Renew to renew the DHCPV6 lease.
IPv6 Auto Select to turn On or Off IPv6 auto configuration.
Configuration
IPv6 IP Address Enter the static IPv6 address to use for the interface.
Note: This setting is used if Static IPv6 is active (DHCPv6 is Disabled). Changing
this value requires a reboot. When DHCPv6 is enabled, the SGX 5150 unit tries to
obtain an IPv6 address from a DHCPv6 server. If it cannot, then SGX 5150 unit
generates and uses a Link local IPv6 address.
IPv6 Default Gateway Enter the default IPv6 default gateway.
IPv6 Domain Enter the domain name suffix for the interface.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no Domain Suffix was acquired from the server.
IPv6 Primary DNS Enter the IP address of the primary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 66
6: Network Settings
Field/Button Description
IPv6 Secondary DNS Enter the IP address of the secondary domain name server.
Note: This setting will be used when either Static IP or Auto IP is active, or if
DHCP is active and no DNS server was acquired from the server.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
Using XML
Include in your file: <configgroup name= “interface" instance="usb0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 67
6: Network Settings
Using XML
Include in your file: <configgroup name="qos" instance="usb0">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 68
6: Network Settings
Using XML
Include in your file: <configgroup name="network failover" instance="usb0">
Protocol Stack
There are various low level network stack specific items that are available for configuration. This
includes settings related to IP, ICMP, and ARP, which are described in the sections below.
IP Settings
This page contains lower level IP Network Stack specific configuration items.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 69
6: Network Settings
Using XML
Include in your file: <configgroup name=”ip”>
ICMP Settings
This page contains lower level ICMP Network Stack specific configuration items.
Using XML
Include in your file: <configgroup name=”icmp”>
ARP Settings
This page contains lower level Address Resolution Protocol (ARP) network stack specific
configuration items.The ARP cache can be manipulated manually by adding new entries and
deleting existing ones. Added entries are static and for test purposes only.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 70
6: Network Settings
Using XML
Include in your file: <configgroup name=”arp”>
VPN
Access VPN statistics and configuration options on this page.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 71
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 72
6: Network Settings
Using XML
Include in your file: <configgroup name="vpn" instance="1">
Note: Not all access points support Wi-Fi protected setup pin or Wi-Fi protected setup
push button.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 73
6: Network Settings
To Initiate WPS
Using Web Manager
To initiate WPS, on the Network page, click Wi-Fi Protected Setup.
Using XML
Not applicable.
Using XML
Not applicable.
WLAN Scan/QuickConnect
Going to this page initiates a scan of wireless networks within range of the SGX 5150 unit and
allows users to add a WLAN profile after testing it. This list refreshes automatically every 15
seconds. There is also an option to automatically update the scan results every 60 seconds, which
is disabled by default. The scan results contain the following prepopulated information about each
wireless device: service set identifier (SSID), basic service set identifier (BSSI), channel number
(CH), received signal strength indication (RSSI), and Security Suite. You may also run a filtered
scan of network names by the first few letters within the name.
Click on any network name for QuickConnect configuration.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 74
6: Network Settings
Using XML
Include in your file: <statusggroup name=”wlan scan”>
WLAN Profiles
A WLAN profile defines all of the settings needed to establish a wireless connection. This is true
when in infrastructure mode for an access point. A maximum of eight profiles can exist on the SGX
5150 unit at a time. All enabled profiles are active.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 75
6: Network Settings
The SGX 5150 unit supports dynamic profiles and prioritization of the profiles. Dynamic Profiles
are created using WPS or Quick Connect. Profiles are assigned numbers based on priority. For
example, dynamic profiles list in reverse order of creation, followed by choice-list profiles, then any
remaining profiles.
Create a new profile by entering a name in the text box, then click the Submit button which will
appear. The new profile is initially saved with default parameter values.
Note: WLAN Profiles created by Quick Connect, Quick Setup, or WPS are called
dynamic profiles and have a higher priority than user created profiles.
The profiles on the WLAN Profiles page are listed in order of priority. The prioritization scheme is
dynamic profiles, user created profiles from WLAN choice list, and then other user created profiles.
Using XML
Include in your file:
<configgroup name="wlan profile" instance="profile_name">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 76
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 77
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 78
6: Network Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 79
7: Filesystem
7: Filesystem
The Filesystem page provides statistics and current usage information for the flash filesystem.
From here you may format the entire filesystem.
Directories can be created, deleted, moved, and renamed. A directory must be empty before it
can be deleted.
Files can be created, deleted, moved, renamed, uploaded via HTTP, and transfered to and
from a TFTP server. Newly created files will be empty.
Some filesystems may contain a 'lost+found' directory.
The SGX 5150 XL has 8 GB of internal USB flash storage; this is displayed as
'Internal_Storage'in the fileystem.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 80
7: Filesystem
Using XML
Not applicable.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 81
8: Diagnostics
8: Diagnostics
Diagnostic settings for the SGX 5150 unit can be viewed and modified under the Diagnostics tab in
the Web Manager user interface. This chapter describes the following diagnostic settings:
DNS
Hardware
IP Sockets
Log
Memory
Ping
Processes
Routes
Threads
Traceroute
DNS
The primary and secondary DNS addresses come from the active interface. DHCP can override
the static addresses from the network interface configurations.
To look up either the DNS host name or the IP address for an address, type the address or host
name in the field, then click Lookup.
This section describes the active run-time settings for the domain name system (DNS) protocol.
The primary and secondary DNS addresses come from the active interface. The static addresses
from the Network Interface configuration settings may be overridden by DHCP.
Note: If DNS information is not supplied by DHCP, configure Ethernet (eth0) internet
settings according to instructions at Wired (eth0) Network (on page 52) and configure
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 82
8: Diagnostics
Using CLI
To enter CLI command level: enable > dns
Using XML
Not applicable.
Hardware
View the CPU type, CPU speed, RAM size and flash size of the hardware on this Web Manager
page.
Using XML
Include in your file: <statusgroup name= ¨hardware¨>
IP Sockets
You can view the list of listening and connected IP sockets.
Using XML
Include in your file: <statusgroup name=”ip sockets”>
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 83
8: Diagnostics
Log
Configure a line or disable the diagnostic log on this Web Manager page.
Using XML
Include in your file: <configgroup name=”diagnostics”>
Memory
The memory information includes the total and available memory (in bytes).
Using XML
Include in your file: <statusgroup name="memory">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 84
8: Diagnostics
Ping
You can use Ping to test connectivity to a remote host.
Using XML
Not applicable.
Processes
The SGX 5150 unit shows all the processes currently running on the system. It shows the process
ID (PID), parent process ID (PPID), user, CPU percentage, percentage of total CPU cycles, and
process command line information.
Using XML
Include in your file: <statusgroup name="processes">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 85
8: Diagnostics
Routes
Routing allows one system to find the network path to another system, from a gateway to a
destination.
Using CLI
To enter the command level: enable > show routes
Using XML
Not applicable.
Threads
The SGX 5150 unit threads information shows details of threads in the ltrx_evo task which can be
useful for technical experts in debugging.
Using XML
Not applicable.
Traceroute
You can use traceroute to trace a packet from the SGX 5150 unit to an Internet host. A traceroute
shows how many hops the packet requires to reach the host, and how long each hop takes. This
information can be helpful to diagnose delays for a web page that loads slowly.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 86
8: Diagnostics
To Perform a Traceroute
Using Web Manager
To view traceroute information, on the Diagnostics page, click Traceroute.
Using XML
Not applicable.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 87
9: Administration
9: Administration
Administrative features for the SGX 5150 device gateway are organized beneath the
Administration tab in the Web Manager user interface. This chapter describes the following
administrative settings:
Actions
Applications
Bluetooth
Bluetooth Serial
CLI
Clock
ConsoleFlow
Discovery
Email
FTP
Gateway
GRE
Host
HTTP
Line
Modbus
RSS
Security
SFTP
SMTP
SNMP
SSH
SSL
Syslog
System
Terminal
Tunnel
USB
User Management
XML
Quick Setup
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 88
9: Administration
Actions
Table 9-45 contains the configuration options for all the alarms and reports listed above.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 89
9: Administration
To view Action status, on the Administration page, click Action > Status on the menu.
To modify Action information, on the Administration page, click Action > Configuration on
the menu and select a specific action from the drop-down menu.
To enter the eth0 link state change command level: enable > config > action > eth0
link state change
To enter the wlan0 link state change command level: enable > config > action >
wlan0 link state change
To enter the usb0 link state change command level: enable > config > action > usb0
link state change
To enter on scheduled reboot command level: enable > config > action > on
scheduled reboot
Using XML
Python
Python™ is a dynamic, object-oriented programming language that can be used for developing a
wide range of software applications. The Lantronix SGX 5150 includes the installation of Python
interpreter, making it easy to load and run custom Python scripts on your device.
The version of Python programming language installed on the Lantronix SGX 5150 comes with
"batteries included" by having the Python language's standard library. In addition, the developer
can take advantage of thousands of available third party packages to speed up development.
IDE
Python scripts can be written with any text editor. If using Windows for development, Notepad++ is
a powerful choice as this text editor includes traditional IDE features such as syntax highlighting
and automatic indentation (http://notepad-plus-plus.org/). Notepad++ also includes the ability to
customize through plugins. Some interesting plugins for the development of Python scripts for the
Lantronix SGX 5150 platform include the following:
PyNPP: https://github.com/mpcabd/PyNPP
This plugin allows the user to use keystrokes to launch the open Python script in the local
Python interpreter for debugging and testing.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 90
9: Administration
NppFTP: http://sourceforge.net/projects/nppftp/
This plugin provides a one-click upload of a file to an FTP server. Debugging and testing on
the SGX 5150 easier because SGX 5150 products have an FTP server through which to
upload files into the file system.
Applications
The SGX 5150 supports the ability to install and uninstall user-defined Python scripts and
packages and will include the following:
bin python
libpython{version}.so
<ltrx python sdk>
lib
"python precompiled scripts
libpython{version}
"python shared libraries
Table 9-46 contains the setting options for configuring, installing, uninstalling and running external
applications via Python scripts.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 91
9: Administration
To enter the application script change command level: enable > config >
applications
Using XML
Bluetooth
The Bluetooth client allows you to provision the gateway with configuration settings using the
mobile gateway provisioning application through a BLE connection. With Bluetooth enabled, you
can use your mobile device to connect to the gateway and download and configure settings.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 92
9: Administration
Using XML:
Include in your file: <configgroup name = "bluetooth">
Bluetooth Serial
Bluetooth Serial allows you to connect to a device using the Bluetooth SPP profile for tunneling or
command mode.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 93
9: Administration
Using XML:
Include in your file: <configgroup name = "bluetooth serial">
CLI
The command line interface (CLI) settings allow you to control how users connect to and interact
with the command line of the SGX 5150 unit. It is possible to configure access via the Telnet and
SSH protocols, in addition to general CLI options.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 94
9: Administration
Using XML
Include in your file: <configgroup name="cli">
Clock
You can view current clock settings at the bottom of the screen, and also either manually update or
synchronize the clock with an SNTP server. If you select SNTP, you can choose automatic time
zone detection.
Using XML
Include in your file: <configgroup name="clock">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 95
9: Administration
ConsoleFlow
The SGX 5150 device comes integrated with the ConsoleFlow cloud platform to allow for the
remote management of devices. To set up the ConsoleFlow client, you need to configure the
following settings:
ConsoleFlow Client - To connect to the ConsoleFlow cloud platform.
Line Settings (Line 1, Line 2, USB 1, Bluetooth Serial 1) - To enable remote management
and data access to your application or device attached on the serial line.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 96
9: Administration
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 97
9: Administration
To Configure ConsoleFlow
Using Web Manager
To configure ConsoleFlow Client, on the Administration page, click ConsoleFlow > Client.
To configure ConsoleFlow Line 1, on the Administration page, click ConsoleFlow > Line 1.
To configure ConsoleFlow Line 2, on the Administration page, click ConsoleFlow > Line 2.
To configure ConsoleFlow USB 1, on the Administration page, click ConsoleFlow > USB 1.
To configure ConsoleFlow Bluetooth Serial 1, on the Administration page, click
ConsoleFlow > Bluetooth Serial 1.
Using XML
Include in your file: <configgroup name=”consoleflow”>
Discovery
Network discovery allows your computer to locate other computers and devices on the network.
This setting also allows other computers to see your computer.
The current statistics and configuration options for device discovery, including UPnP query port,
are available for the SGX 5150 unit.
To Configure Discovery
Using Web Manager
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 98
9: Administration
Using XML
Include in your file: <configgroup name="discovery">
Email
View and configure email alerts relating to events occurring within the system.
To view Email statistics, on the Administration page, click Email > Statistics.
To configure basic Email settings and send an email, on the Administration page, click Email
> Configuration.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 99
9: Administration
Using XML
FTP
The FTP protocol can be used to upload and download user files, and upgrade the SGX 5150
firmware. A configurable option is provided to enable or disable access via this protocol.
Using XML
Include in your file: <configgroup name="ftp server">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 100
9: Administration
Gateway
The SGX 5150 IoT device gateway can be configured as a wireless router with DHCP server
functionality.
Status
This page displays the current configuration and statistics information for the gateway.
To view gateway status: on the Administration page, click Gateway > Status.
WAN
MAC Address filter Select to enable or disable the MAC address filter.
IP Address filter Select to enable or disable the IP address filter.
Default IP Address Filter Select the default policy used when the IP address filter enabled.
Policy Accept: Connections from IP addresses not defined in the IP Address
filter will be accepted.
Drop: Connections from IP addresses not defined in the IP Address
filter will be dropped.
WAN Interface Specify the interface with which the gateway will connect to the WAN:
wlan0: connect to WAN via WLAN (default)
eth0: connect to WAN via Ethernet
usb0: connect to WAN via USB
LAN Interface Specify the interface that the device will use to connect to the LAN.
Note: When WAN interface is wlan0, the LAN interfaces are eth0 and
usb0. When WAN interface is eth0, the LAN interfaces are usb0 and
Access Point. When WAN interface is usb0, the LAN interfaces are eth0
and Access Point.
Router
IP Address Assign a static IP address to the gateway.
IPv6 Address Assign a static IPv6 address to the gateway.
Primary DNS Enter the IP address of the primary Domain Name Server.
Note: This setting will be used when either Static IP or Auto IP is active, or
if DHCP is active and no DNS server was acquired from the server.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 101
9: Administration
IP Address Filters
Accept or drop traffic from specified IP addresses using the settings below.
To view gateway status information, on the Administration page, click Gateway > Status.
To modify gateway WAN information, on the Administration page, click Gateway >
Configuration > WAN.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 102
9: Administration
To enter the gateway command level: enable > config > gateway
Using XML
Port Forwarding
Port forwarding allows remote computers (for example, computers on the Internet) to connect to a
specific computer or service within a private local-area network (LAN). Port Forwarding rules
apply to inbound traffic and will not work if the SGX 5150 gateway is not reachable or traffic to
certain ports is blocked before it reaches the gateway.
If traffic is going through firewalls, all referenced ports on the gateway and LAN devices must be
accessible.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 103
9: Administration
To modify gateway port forwarding information, on the Administration page, click Gateway >
Configuration > Port Forwarding.
To enter the gateway command level: enable > config > gateway > port
forwarding rule <number>
Using XML
Static Routes
Allows the user to add routes to the SGX 5150 gateway routing table.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 104
9: Administration
To modify gateway static route information, on the Administration page, click Gateway >
Configuration > Static Routes.
To enter the gateway command level: enable > config > gateway > static route
<number>
Using XML
DHCP Server
Allows the user to configure the SGX 5150 gateway as a DHCP server.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 105
9: Administration
DHCP Relay Enable for the gateway to operate as a DHCP relay agent between the DHCP
server on the network and connected Ethernet devices.
Enabled: DHCP Relay is enabled.
Disabled: DHCP Relay is disabled.
To modify gateway DHCP server or static lease information, on the Administration page,
click Gateway > Configuration > DHCP Server.
To enter the gateway command level: enable > config > gateway > dhcp server
Using XML
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 106
9: Administration
Routing Protocols
The SGX 5150 IoT device gateway allows the configuration of routing protocols. Routing protocols
specify how routers communicate with each other, disseminating information that enables the
selection of routes between any two nodes on a computer network. Routing algorithms determine
the specific choice of route. Each router has a prior knowledge of networks directly attached to it. A
routing protocol shares this information among immediate neighbors first, then through the
network. This way, routers gain knowledge of the topology of the network. The SGX 5150 device
supports RIP and OSPF protocols.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 107
9: Administration
To modify gateway protocol settings, on the Administration page, click Gateway >
Configuration > Routing Protocol.
To enter the gateway command level: enable > config > gateway > routing
protocols
Using XML
Virtual IP
The SGX 5150 IoT device gateway allows the configuration of Virtual IP addresses. Virtual IP is a
means to map an externally visible IP address to LAN-side IP addresses. SGX 5150 units will
support creating up to three virtual IP address mappings.
To modify gateway DHCP server information, on the Administration page, click Gateway >
Configuration > Virtual IP.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 108
9: Administration
To enter the gateway command level: enable > config > gateway
Using XML
GRE
GRE tunneling is available on the SGX 5150, providing more capabilities than IP-in-IP tunneling.
For example, it supports transporting multicast traffic and IPv6 through a GRE tunnel.
To view or configure GRE settings for a specific tunnel, on the Administration page, click
GRE.
Using XML
Host
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 109
9: Administration
Note: SSH keys must be loaded or created on the SSH page for the SSH
protocol to work.
SSH Username Appears if you selected SSH as the protocol. Enter a username to select a
preconfigured Username/Password/Key (configured on the SSH: Client Users
page), or leave it blank to be prompted for a username and password at connect
time.
Note: This configuration option is only available when SSH is selected for
Protocol.
Remote Address Enter an IP address for the host to which the SGX 5150 gateway will connect.
Remote Port Enter the port on the host to which the SGX 5150 gateway will connect.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
Using XML
Include in your file: <configgroup name=”host” instance=”1”>
HTTP
Hypertext Transfer Protocol (HTTP) is a request-response standard protocol between clients and
servers. HTTP defines how messages are formatted and transmitted. It also defines the actions
Web servers and browsers take in response to different commands. HTTP Authentication enables
the requirement of user names and passwords for access to the SGX 5150 gateway.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 110
9: Administration
See Table 9-72 for the HTTP settings that can be modified on the HTTP Configuration page. See
Table 9-73 for the HTTP settings that can be authenticated on the HTTP Authentication page.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 111
9: Administration
Using XML
Include in your file: <configgroup name="http server">
The HTTP Server can be configured with many different authentication directives. The
authentication is hierarchical in that any URI can be given an authentication directive in order to
override a parent URI authentication directive.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 112
9: Administration
To enter the HTTP command level: enable > config > http
Using XML
Include in your file: <configgroup name="http authentication uri">
Line
The SGX 5150 units offer 1 or 2 serial ports which use standard RS232 interfaces.
All serial settings such as Baud Rate, Parity, Data Bits, etc, apply to this line.
The line settings allow configuration of the serial line.
Note: The following section describes the steps to view and configure Line 1 settings;
these steps apply to other line instances of the SGX 5150 gateway.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 113
9: Administration
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 114
9: Administration
Using XML
Include in your file: <configgroup name="line" instance=”1”>
Modbus
The SGX 5150 IoT device gateway operates as a master device that connects to slave devices.
The Modbus ASCII/RTU based serial slave devices can be connected via the Ethernet through an
existing Modbus TCP/IP network. Any device having access to a given Modbus implementation
will be able to perform full range of operations that the implementation supports. Modbus/TCP
uses a reserved TCP port of 502 and includes a single byte function code (1=255) preceded by a
6 byte header:
The Modbus web pages allow you to check Modbus status and make configuration changes.
Modbus Statistics
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 115
9: Administration
This read-only web page displays the current connection status of the Modbus servers listening on
the TCP ports. When a connection is active, the remote client information is displayed as well as
the number of PDUs that have been sent and received. Additionally, a Kill link will be present
which can be used to kill the connection.
Modbus Configuration
This web page shows the current negotiated Modbus settings and allows configuration changes.
Note: The serial line protocol must also be configured for Modbus, in addition to
configuring the Modbus server. See Line (on page 113) and Tunnel (on page 133) for
details.
To view Modbus statistics, on the Administration page, click Modbus > Statistics.
To configure Modbus settings, on the Administration page, click Modbus > Configuration.
To enter the Modbus command level: enable > configure > modbus
Using XML
RSS
An RDF Site Summary (RSS) syndication feed is served by the HTTP Server. This feed contains
up-to-date information regarding the configuration changes that occur on the SGX 5150 gateway.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 116
9: Administration
Specifying the RSS Feed to be Persistent results in the data being stored on the filesystem. The
file used is /cfg_log.txt. This allows feed data to be available across reboots (or until the
factory defaults are set).
Each RSS Feed entry contains a standard timestamp in its <pubDate> field.
The RSS Feed is a scrolling feed in that only the last Max Entries entries are cached and viewable.
Simply register the RSS Feed within your favorite RSS aggregator and you will automatically be
notified of any configuration changes that occur.
Using XML
Include in your file: <configgroup name=”rss”>
Security
The SGX 5150 supports a security mode that complies with the FIPS 140-2 standard. FIPS
(Federal Information Processing Standard) 140-2 is a security standard developed by the United
States federal government that defines rules, regulations, and standards for the use of encryption
and cryptographic services. The National Institute of Standards and Technology (NIST) maintains
the documents related to FIPS at: http://csrc.nist.gov/publications/PubsFIPS.html.
The FIPS 140-2 standard is available at: https://csrc.nist.gov/csrc/media/publications/fips/140/2/
final/documents/fips1402.pdf.
FIPS 140-2 defines four security levels, Level 1 through Level 4. The SGX 5150 is FIPS certified at
Level 1. The console manager is FIPS certified at Level 1. FIPS 140-2 compliance requires a
defined cryptographic boundary around the cryptographic module on a device. In FIPS mode, the
console manager allows only FIPS-approved cryptographic algorithms to be used, and weak
algorithms (such as MD5 and DES) are disabled.
To enable FIPS mode, the Administration -> Security -> FIPS 140-2 Mode flag needs to be
Enabled and the SGX 5150 unit rebooted. Each time a FIPS application is started, it will perform a
power up self test to verify the integrity of the unit's cryptographic module. If there are any issues
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 117
9: Administration
with the integrity of the cryptographic module, the application will terminate and an error will be
logged in the system log.
For FIPS 140-2 to be enabled:
Telnet service must be disabled.
FTP service must be disabled.
HTTP Secure Credentials must be selected.
HTTP Authentication Type must be set to Basic.
A Trusted Authority certificate for the RADIUS server must be configured in order for
authentication to succeed.
VPN must be disabled.
Modbus must be disabled.
Line Command Mode must be disabled.
Syslog must be disabled.
USB Command Mode must be disabled.
Tunnel Accept Mode Protocol cannot be TCP or Telnet.
Tunnel Connect Mode Host Protocol cannot be TCP, Telnet, UDP, or UDP AES.
Enabled WLAN profiles must use the WPA2/WPA Mixed Mode security suite, or they must be
disabled.
Enabled WLAN profiles must use EAP-TLS/PEAP-EAP-TLS/EAP-TTLS-PAP IEEE 802.1X
authentication, or they must be disabled.
If any non-FIPS functionality is enabled, a series of error messages will appear. Follow the error
messages to disable all of the functionalities.
Using XML
Include in your file: <configgroup name=”security”>
SFTP
The Secure File Transfer Protocol (SFTP) protocol can be used to control secure file transfers via
the SSH port. The SFTP server uses the same port as SSH.
To enable SFTP access, the Administration -> SFTP -> SFTP State flag needs to be Enabled.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 118
9: Administration
Using XML
Include in your file: <configgroup name=”sftp server”>
SMTP
Configure Simple Mail Transfer Protocol (SMTP) settings including addresses, port, user name,
password, overriding domain information and local port.
To configure SMTP protocol settings, on the Administration page, click SMTP in the menu.
Using XML
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 119
9: Administration
SNMP
Simple Network Management Protocol (SNMP) settings may be viewed and configured in this
section.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 120
9: Administration
To enter the SNMP command level: enable > config > snmp
Using XML
SSH
The SSH Server Host Keys are used by all applications that play the role of an SSH Server during
Tunneling in Accept Mode. These keys can be created elsewhere and uploaded to the SGX 5150
gateway or automatically generated on the gateway.
Configuration is required when the SGX 5150 device is either (1) the SSH server or (2) an SSH
client. The SSH server is used by the CLI (Command Mode) and for tunneling in Accept Mode.
The SSH client is for tunneling in Connect Mode.
To configure the SGX 5150 as an SSH server, there are two requirements:
Defined Host Keys: both private and public keys are required. These keys are used for the
Diffie-Hellman key exchange (used for the underlying encryption protocol).
Defined Users: these users are permitted to connect to the SGX 5150 SSH server.
Note: Some SSH Clients require RSA Host Keys to be at least 1024 bits in size.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 121
9: Administration
Submit (button) Click the Submit button after changes are made in the above Create New Keys
fields.
Note: SSH Keys from other programs may be converted to the required SGX 5150
format. Use Open SSH to perform the conversion.
Note: When uploading the security keys, ensure the keys are not compromised in
transit.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 122
9: Administration
Note: These settings are not required for communication. They protect against Man-In-
The-Middle (MITM) attacks.
Note: If you are providing a key by uploading a file, make sure that the key is not
password protected.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 123
9: Administration
Using XML
Include in your file: <configgroup name=”ssh”>
Include in your file: <configgroup name=”ssh client”>
Include in your file: <configgroup name=”ssh server”>
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 124
9: Administration
SSL
Secure Sockets Layer (SSL) is a protocol that creates an encrypted connection between devices.
It also provides authentication and message integrity services. SSL is used widely for secure
communication to a Web server, and also for wireless authentication.
SSL certificates identify the SGX 5150 unit to peers and are used with some methods of wireless
authentication. Provide a name at upload time to identify certificates on the SGX 5150 unit.
You can upload Certificate and Private key combinations, obtained from an external Certificate
Authority (CA), to the SGX 5150 unit. The SGX 5150 unit can also generate self-signed certificates
with associated private keys.
Credentials
The SGX 5150 unit can generate self-signed certificates and their associated keys for both RSA
and DSA certificate formats. When you generate certificates, assign them a credential name to
help identify them on the SGX 5150 unit. Once you create your credentials, then configure them
with the desired certificates.
Using XML
Include in your file: <configgroup name="ssl"
To Delete a Credential
Using Web Manager
1. In the Web Manager, click the Administration tab.
2. Click SSL.
3. Click Credentials.
4. Click X beside the existing credential you wish to delete.
5. To confirm the delete, click OK.
Using CLI
To enter the SSL command level: enable > ssl
Using XML
Include in your file: <configgroup name="ssl"
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 125
9: Administration
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 126
9: Administration
5. To upload a New Certificate to assign to the credential, click Browse... beside New
Certificate, locate the valid certificate, then double-click the file to select it.
6. Identify the New Certificate Type selected.
If you select SSL authority, RSA, or DSA certificates, select PEM or PKCS7.
If the Web Manager determines that the certificate is an Authority Certificate type, the New
Certificate Type field updates to PKCS12 automatically. For PKCS12 certificates, enter a
password.
Note: Ensure that the certificate is formatted properly with a valid open and close tag.
Also ensure that the Private Key is associated to the selected certificate and that it is
formatted properly with a valid open and close tag.
7. To locate the associated valid New Private Key for this certificate, click Browse... to browse
to and select the file.
8. Select the New Key Type from the drop-down menu.
9. Click Submit.
Trusted Authorities
One or more authority certificates are used to verify the identity of a peer. Authority certificates are
used with some wireless authentication methods. These certificates do not require a private key.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 127
9: Administration
Notes:
Ensure that the certificate is formatted properly with a valid open and close tag.
Ensure that the Private Key is associated to the selected certificate and that it is
formatted properly with a valid open and close tag.
If the New Certificate field is set to None, the certificate is not supported.
6. Click Submit.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 128
9: Administration
3. Click Submit to initiate the Certificate Signing Request generation. After a few moments, the
CSR file created will appear.
4. Click the CSR file to download it if desired.
Syslog
The system log (Syslog) provides information that shows the current configuration and statistics of
the Syslog. You can configure the Syslog host and set the severity level for events to log.
Note: The system log is saved to local storage, but is not retained through reboots
unless diagnostics logging to the file system is enabled. To allow the administrator to save
the complete system log, save the system log to a server that supports remote logging
services. For details, refer to RFC 3164. The default port is 514.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 129
9: Administration
8. Click Submit.
Using CLI
To enter the Syslog command level: enable > configure > syslog
Using XML
Include in your file: <configgroup name="syslog"
System
The SGX 5150 settings allow for reboot, restoring factory defaults, uploading new firmware and
updating a system’s reboot schedule, short name, and long name.
Note: Anytime you reboot the unit, this operation will take some time to complete.
Please wait a minimum of 10-20 seconds after rebooting the unit before attempting to
make any subsequent connections.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 130
9: Administration
Using XML
Include in your file: <configgroup name=”xml import control”>
Include in your file: <configgroup name="reboot schedule">
Include in your file: <configgroup name="device">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 131
9: Administration
Terminal
You can configure whether each serial line or the Telnet/SSH server presents a CLI or a Login
Connect menu when a connection is made.
Using XML
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 132
9: Administration
Using XML
Include in your file: <configgroup name="terminal" instance="1">
Tunnel
Tunneling allows serial devices to communicate over a network without ‘being aware’ of the
devices that establish the network connection between them. Tunneling parameters are
configured using the Tunnel menu and submenus. The Tunnel settings allow you to configure how
the Serial-Network tunneling operates. Tunneling is available on all serial lines. The connections
on one serial line are separate from these on another serial port.
Note: The following section describes the steps to view and configure Tunnel 1 settings;
these steps apply to other tunnel instances of the SGX 5150 gateway.
Tunnel Statistics
Tunnel statistics contains data counters, error counters, connection time and connection
information. Statistics are available at each individual connection and aggregated across all
connections.
Using XML
Include in your file: <statusgroup name=”tunnel” instance=”1”>
Serial Settings
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 133
9: Administration
These serial settings for the tunnel apply to the Serial Line interface. The Line Settings and
Protocol are displayed for informational purposes and must be configured from the Line settings.
Using XML
Include in your file: <configgroup name=”tunnel serial” instance=”1”>
Packing Mode
With Packing, data from the serial Line is not sent over the network immediately. Instead, data is
queued and sent in segments, when either the timeout or byte threshold is reached. Packing
applies to both Accept and Connect Modes.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 134
9: Administration
Using XML
Include in your file: <configgroup name="tunnel packing" instance="1">
Accept Mode
In Accept Mode, the SGX 5150 listens (waits) for incoming connections from the network. A
remote node on the network initiates the connection. The configurable local port is the port the
remote device connects to for this connection.There is no remote port or address. Supported serial
lines and associated local port numbers progress sequentially in matching value. For instance, the
default local port is 10001 for serial line 1 and the default local port for serial line 2 is 10002, and so
on for the number of serial lines supported. Serial data can still be received while waiting for a
network connection, keeping in mind serial data buffer limitations.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 135
9: Administration
Protocol Select the protocol type for use with Accept Mode:
SSH
SSL
TCP (default protocol)
TCP AES
Telnet
Tunnel Buffer State Enable or disable the buffering of tunnel data when the connection is lost or not
established. Default is disabled.
Tunnel Buffer Size Specify the size, in MB, of the tunnel buffer. The maximum size is 2 MB for
devices with 64 MB of RAM and 8 MB for devices with 256 MB of RAM. The
default tunnel buffer size is 1 MB. A buffer of under 4 MB across all tunnels is
recommended.
TCP Keep Alive Enter the time, in milliseconds, the SGX 5150 waits during a silent TCP
connection before the first Keep Alive probe is sent to the remote host in order
to keep the TCP connection up during idle transfer periods. Set to 0 to disable
TCP Keep Alive, and blank the field to restore the default.
TCP Keep Alive Interval Enter the time, in milliseconds, to wait between Keep Alive probes in order to
keep the TCP connection up during idle transfer periods. Blank the display field
to restore the default.
TCP Keep Alive Probes Enter the number of TCP Keep Alive probes to send before closing the
connection if no response is received. The probes are sent after the initial TCP
Keep Alive probe is sent. Valid values are between 1 and 16. Blank the field to
restore the default.
TCP User Timeout This field specifies the time TCP segments will be retransmitted before the
connection is closed. Enter 0 to disable. Blank the field to restore the default.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 136
9: Administration
Flush Serial Set whether the serial line data buffer is flushed upon a new network
connection. Choices are:
Enabled = serial data buffer is flushed on network connection
Disabled = serial data buffer is not flushed on network connection (default)
Block Serial Set whether Block Serial is enabled for debugging purposes. Choices are:
Enabled = if Enabled, incoming characters from the serial line will not be
forwarded to the network. Instead, they will be buffered and will eventually
flow off the serial line if hardware or software flow control is configured.
Disabled = this is the default setting; incoming characters from the Serial
Line are sent on into the network. Any buffered characters are sent first.
Block Network Set whether Block Network is enabled for debugging purposes. Choices are:
Enabled = if Enabled, incoming characters from the network will not be
forwarded to the Serial Line. Instead, they will be buffered and will eventually
flow off the network side.
Disabled = this is the default setting; incoming characters from the
networkare sent on into the Serial Line. Any buffered characters are sent
first.
Password Enter a password. This password can be up to 31 characters in length and must
contain only alphanumeric characters and punctuation. When set, clients must
send the correct password string to the unit within 30 seconds from opening
network connection in order to enable data transmission. The password sent to
the unit must be terminated with one of the following:
0A (Line Feed)
00 (Null)
0D 0A (Carriage Return/Line Feed)
0D 00 (Carriage Return/Null)
If, Prompt for Password is set to Enabled and a password is provided, the
user will be prompted for the password upon connection.
Email on Connect Select an email profile number to which an email notification will be sent upon
the establishment of an accept mode tunnel.
Email on Disconnect Select an email profile number to which an email notification will be sent upon
the disconnection of an accept mode tunnel.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 137
9: Administration
Using XML
Include in your file: <configgroup name="tunnel accept" instance="1">
Connect Mode
In Connect Mode, the SGX 5150 continues to attempt an outgoing connection on the network, until
established (based on which connection method is selected in the configuration described in
Table 9-96). If the connection attempt fails or the connection drops, then it retries after a timeout.
The remote node on the network must listen for the Connect Mode’s connection.
For Connect Mode to function, it must be enabled, have a remote station (node) configured, and a
remote port configured (TCP or UDP). When established, Connect Mode is always on. Enter the
remote station as an IPv4 or IPv6 address or DNS name. The SGX 5150 will not make a
connection unless it can resolve the address. For Connect Mode using UDP, the SGX 5150
accepts packets from any device on the network. It will send packets to the last device that sent it
packets.
Note: The port in Connect Mode is not the same port configured in Accept Mode. Telnet
protocol is not supported in Tunnels on USB interfaces. The TCP keepalive time is the
time in which probes are periodically sent to the other end of the connection. This ensures
the other side is still connected.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 138
9: Administration
Block Serial Set whether Block Serial is enabled for debugging purposes. Choices are:
Enabled = If Enabled, incoming characters from the Serial Line will not be
forwarded to the network. Instead, they will be buffered and will eventually
flow off the Serial Line if hardware or software flow control is configured.
Disabled = this is the default setting; incoming characters from the Serial
Line are sent on into the network. Any buffered characters are sent first.
Block Network Set whether Block Network is enabled for debugging purposes. Choices are:
Enabled = If Enabled, incoming characters from the network will not be
forwarded to the Serial Line. Instead, they will be buffered and will eventually
flow off the network side.
Disabled = this is the default setting; incoming characters from the network
are sent on into the Serial Line. Any buffered characters are sent first.
Email on Connect Select an email profile number to which an email notification will be sent upon
the establishment of an accept mode tunnel.
Email of Disconnect Select an email profile number to which an email notification will be sent upon
the disconnection of an accept mode tunnel.
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 139
9: Administration
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 140
9: Administration
Notes:
If the keep alive time expires, the user timeout is expired, and there are probes in
flight, the connection will be reset. For this reason, it is recommended that if keep alive
is used in conjunction with the user timeout, the keep alive timeouts be larger than the
user timeout. If it is smaller, what will typically be seen is that the initial probe will be
sent, then at the interval where the next probe would normally be sent, the connection
will be reset, with no additional probes sent. Also note that in these cases: if the keep
alive timer is significantly smaller than the user timeout, probes will continue to be sent
for an unreachable host until the user timeout expires.
If there is data in flight when the TCP retransmission timeout kicks in, the user timeout
is checked as a limiting condition only when the timer expirations would normally be
checked during RTO handling. In other words, the user timeout will not be an exact
limit; in practice, it will always take somewhat longer for the connection to be closed.
The longer the user timeout is, the more likely it will expire between exponentially
slower retransmissions, and the connection will not experience an error until the next
retransmission timeout is checked. Also note that the user timeout expiration during
retransmission returns an error to the application; it does not automatically reset the
connection as happens with keep alive timeout. It is up to the application (e.g.,
tunneling) to close the connection (this happens almost immediately with tunneling).
Using XML
Include in your file: <configgroup name="tunnel connect" instance="1">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 141
9: Administration
1. Click the icon in the desired Host field, for example Host 2 and Host 3.
2. The selected Host(s) exchanges its place with the Host above it.
3. Click Submit. The hosts change sequence.
Disconnect Mode
Specifies the optional conditions for disconnecting any Accept Mode or Connect Mode connection
that may be established. If any of these conditions are selected but do not occur and the network
disconnects to the SGX 5150 gateway, a Connect Mode connection will attempt to reconnect.
However, if none of these conditions are selected, a closure from the network is taken as a
disconnected host. The gateway can support a maximum of 64 total aggregate connections.
Timeout Enter the number of milliseconds a tunnel may be idle before disconnection. The
value of zero disables the idle timeout.
Flush Serial Data Set whether to flush the Serial Line when the Tunnel is disconnected. Choices are:
Enabled
Disabled (default)
Submit (button) Click the Submit button to enter the settings. The Submit button appears when new
settings are entered.
Using XML
Include in your file: <configgroup name=”tunnel disconnect” instance=”1”>
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 142
9: Administration
Modem Emulation
Some older equipment is designed to attach to a serial port and dial into a network with a modem.
This equipment uses AT commands to control the connection. For compatibility with these older
devices on modern networks, the SGX 5150 mimics the behavior of the modem.
Echo Commands Set whether characters read on the Serial Line will be echoed, while the Line is
in Modem Command Mode. Choices are:
Enabled
Disabled (default)
Verbose Response Set whether Modem Response Codes are sent out on the Serial Line. Choices
are:
Enabled
Disabled (default)
Response Type Select a representation for the Modem Response Codes sent out on the Serial
Line. Choices are:
Text (ATV1) (default)
Numeric (ATV0)
Error Unknown Set whether the Error Unknown Commands is enabled (ATU0) and ERROR is
Commands returned on the Serial Line for unrecognized AT commands. Otherwise (ATU1)
OK is returned for unrecognized AT commands. Choices are:
Enabled
Disabled (default)
Incoming Connection Set how and if requests are answered after an incoming RING (ATS0=2).
Choices are:
Disabled (default)
Automatic
Manual
Connect String Enter the customized Connect String sent to the Serial Line with the Connect
Modem Response Code.
Display Remote IP Set whether the Display Remote IP is enabled so that the incoming RING sent
on the Serial Line is followed by the IP address of the caller. Choices are:
Enabled
Disabled (default)
Submit (button) Click the Submit button to enter the settings. The Submit button appears when
new settings are entered.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 143
9: Administration
Using XML
Include in your file: <configgroup name=”tunnel modem” instance=”1”>
USB
USB statistics can be viewed and USB settings and command mode may be configured on these
USB pages.
USB Statistics
This page displays the current status and various statistics for the USB Line.
Using XML
Include in your file: <configgroup name="usb line" instance="3">
USB Configuration
This page displays the current configuration of the USB Line. Changing any of the fields takes
effect immediately. Further configuration is available at Wired Network (USB) for 'Ethernet Device'
mode.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 144
9: Administration
Using XML
Include in your file: <configgroup name="usb">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 145
9: Administration
Using XML
Include in your file: <configgroup name="usb">
User Management
This page displays the configuration of users. The Admin Password is used for initial login access
from the Telnet port, SSH port, FTP, HTTP, and serial line.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 146
9: Administration
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 147
9: Administration
Add Click Add to submit the new role. Click OK in the confirmation window which
appears to add the role.
Using XML
Include in your file: <configgroup name="user management">
XML
This page is used to clone the current system configuration. The generated file can be imported at
a later time to restore the configuration.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 148
9: Administration
Notice that by default, all Groups to Export are checked except some pertaining to the network
configuration; this is so that if you later 'paste' the entire clone configuration, it will not break your
network connectivity. You may check or uncheck any group to include or omit that group from
export.
Selection of Lines to Export filters instances to be exported are in the line, relay, serial, terminal,
and groups.
To Export Configuration
By default, all settings groups are checked.
Note: Though keys are not exported with XML objects and variables, there is a
placeholder value included in the XML variable that would need to be populated with the
correct key value when using an exported configuration for an import operation.
Using XML
Include in your file: <configgroup name="xml">
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 149
9: Administration
To Export Status
You can export the current status in XML format. By default, all groups are exported, or you can
select a subset of groups to export.
Using XML
Include in your file: <configgroup name="xml">
To Import Configuration
To import system XML configuration file that you saved previously, use Import Configuration.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 150
9: Administration
Configuration from Filesystem picks up settings from the selected Groups, Lines and
Instances. Make selections in form which appears (see Table 9-107) and click Import.
Line(s) from single line Settings on the Filesystem copies lines settings from an the
input file containing only one Line instance to all of the selected Lines. Make selections in
form which appears (see Table 9-107) and click Import.
Import configuration from (entire) external XCR file allows you to browse to an
external XCR file. For this option, click Choose File... to locate and select the XCR file
you wish to import. The name of the file will appear in Web manager screen. Click Import.
Using XML
Include in your file: <configgroup name="xml import control">
Setting Description
Filename Enter the name of the file on the SGX 5150 unit (local to its filesystem) that
contains XCR data.
Lines to Import Select filter instances to be imported in the line, serial, tunnel and terminal
groups. This affects both Whole Groups to Import and Text List selections.
Click Clear All to clear all checkmarks, or Select All to check all
checkmarks.
Whole Groups to Import Select the configuration groups to import from the XML configuration
record. This option imports all instances of each selected group. Click
Clear All to clear all checkmarks, or Select All but Networking to check
all checkmarks except Networking.
Text List Enter the string to import specific instances of a group. The textual format
of this string is: <g>:<i>;<g>:<i>;...
Each group name <g> is followed by a colon and the instance value <i>
and each <g>:<i> value is separated by a semi-colon. If a group has no
instance then only the group name <g> should be specified.
Import (button) Click the Import button when the Configuration from Filesystem fields are
completed above.
Setting Description
Filename Enter the name of the file on the SGX 5150 unit (local to its filesystem) that
contains XCR data.
Lines to Import Select filter instances to be imported in the line, serial, tunnel and terminal
groups. This affects both Whole Groups to Import and Text List selections.
Click Clear All to clear all checkmarks, or Select All to check all
checkmarks.
Whole Groups to Import Select the configuration groups to import from the XML configuration
record. This option imports all instances of each selected group. Click
Clear All to clear all checkmarks, or Select All but Networking to check
all checkmarks except Networking.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 151
9: Administration
Import (button) Click the Import button when the Line(s) from single line Settings on the
Filesystem fields are completed above.
Quick Setup
Quick Setup provides a place to configure all basic settings in one place. You may access Quick
Setup through the Administration menu or whenever you reset your system to factory defaults.
Note: The SGX 5150 IoT Device Gateway Quick Start Guide provides for instructions on
accessing Web Manager via SoftAP (go to www.lantronix.com/support/documentation).
Setting Description
Username View and modify the Administrator username. The default username is
admin.
Password Modify the Administrator password as desired. The default password is the
last 8 characters of the Device ID (for units manufactured after January 1,
2020), or PASS for older units.
Check the Show Password check box to make the password viewable as
you enter it in the Password field.
Setting Description
State Select to enable or disable the state
Bridging Mode Select Host, Network, or Static Network.
Transparent Mode Select to enable or disable the transparent mode.
Network Access for Gateway Select to enable or disable network access for the gateway. This can only
be enabled if Transparent Mode is Enabled.
Ethernet Interface Select the desired interface: eth0 or usb0
Bridging MAC Address Enter the bridging MAC address
Bridging IP Address Enter the bridging IP address
Bridging IPv6 Address Enter the bridging IPv6 address
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 152
9: Administration
Setting Description
Auto Detect IPv4 Address Check the radio button to enable it. If checked, the SGX 5150 gateway will
attempt to learn the IP Address by using the source or destination IP
address of packets arriving on the Ethernet interface.
Warning: Running processes may be impacted while the SGX
5150 gateway monitors Ethernet traffic to determine the wired host IP
address.
Initial Scan Interval Enter the Initial Scan Interval in seconds.
Scan Interval Enter the Scan Interval in seconds.
Setting Description
WPS (PBC) Click this button for push button connect.
WPS (PIN) Click this button for pin hole connect.
Setting Description
Network Name (SSID) View existing network name/SSID, if any.
State Select to enable or disable the state
IPv4 State Select to enable or disable the state
DHCP Client Select to turn on or off
IPv6 State Select to enable or disable the state
IPv6 DHCP Client Select to turn on or off
IPv6 Auto Configuration Select to turn on or off
Setting Description
Refresh scan results every Check this checkbox and click Scan to scan available networks every 60
60 seconds seconds. Scroll through list of available networks listed, as desired.
Show entries (dropdown Select the number of entries to show on the page at a time.
menu)
Search (field) Enter characters within the name of an SSID in the Search field to limit
scan results to SSIDs with characters typed.
Previous 1 2 3 4 5 6 Next Click to navigate among multiple pages of WLAN link scan results.
5. Click Clear at any time to clear all fields of choices made (if any). The Clear button will only
appear when changes have been made to fields above.
6. Click Manual Setup to return to the Status page where you may make changes directly in the
configuration pages accessible through the Network, Diagnostic and Administration tabs.
7. Click Submit to submit configuration choices on the Quick Setup page.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 153
9: Administration
Using XML
Not applicable.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 154
10: Developing Applications Using Yocto SDK
Summary
These instructions explain how to use PremierWave BSP Yocto to create a ROM image for the
SGX 5150 that will include your own applications/configuration.
This is based on Yocto Jethro.
Prerequisites
Development is done on a PC running Linux OS natively. These instructions have been validated
on Ubuntu 16.04. Install the necessary packages using the following commands:
sudo apt-get install gawk wget git-core diffstat unzip textinfo gcc-
multilib \ build-essential chrpath socat libsdl1.2-dev xterm
sudo apt-get install lzop
Install SDK
Go to the folder containing the built SDK and install it using the following command:
./poky-glibc-x86_64-ltrx-customer-image-armv5e-toolchain-2.0.3.sh
Confirm you want to proceed by entering "Y".
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 155
10: Developing Applications Using Yocto SDK
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 156
10: Developing Applications Using Yocto SDK
Examples
Code examples using Lantronix APIs are located in the folder "examples/".
"ltrx-customer-image.bbappend" located in "sources/meta-application/recipes-bsp/images/"
provides instructions to:
change root password
disable root login
extend /etc/inittab to start an application during bootup
Secure Boot
Secure Boot ensures that only digitally-signed software is run on the SGX 5150. If you plan to
release custom firmware, you must prepare the SGX 5150 for OEM Secure Boot using the
process below.
Note: Preparing the SGX 5150 to use custom firmware requires the use of the serial port
on the SGX 5150. SGX 5150 models that do not have a serial port are unable to use
custom firmware.
Firmware Filenames
The following files are used in the process of preparing the SGX 5150 for Secure Boot. The
version number may be different.
SGX5150_<version>.rom - Application firmware
at9g252_mfgtestldr_<version>.rom - MFG loader
at9g252_recovldr_<version>.rom - Recovery loader
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 157
10: Developing Applications Using Yocto SDK
Note: You will need to use the OEM-signed MFG loader, recovery loader, and
application firmware once the OEM key has been configured on the device.
10. Sign the MFG test loader with the OEM private key.
ltrx-signimage -f oem-priv.pem at9g252_mfgtestldr_<version>.signed.rom
at9g252_mfgtestldr_<version>.oem.signed.rom
11. Sign the Recovery Loader with the OEM private key.
ltrx-signimage -f oem-priv.pem at9g252_recovldr_<version>.signed.rom
at9g252_recovldr_<version>.oem.signed.rom
Note: For next steps and additional information, visit the Yocto Project website at https:/
/www.yoctoproject.org/ and the Lantronix GitHub site at https://github.com/lantronix/.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 158
10: Developing Applications Using Yocto SDK
Python libraries are integrated into SGX 5150 software to support the Azure IoT SDK. This is
represented above as “IoT Client Source Object.” Your Azure application must be built on top of
the SGX 5150 software. After connecting IoT devices to the SGX 5150, the SGX 5150 can then be
connected to Azure Hub.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 159
10: Developing Applications Using Yocto SDK
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 160
10: Developing Applications Using Yocto SDK
Command Description
scan <on/off> This starts or stops scanning for beacons.
select <ctrl> This selects the default controller. There is only one Bluetooth controller in the
PremierWave 2050.
show [ctrl] This displays information on the Bluetooth controller.
version This displays the version of the application.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 161
A: Lantronix Technical Support
Lantronix offers many resources to support our customers and products at
http://www.lantronix.com/support. For instance, you can ask a question, find firmware downloads,
access the FTP site and search through tutorials. At this site you can also find FAQs, bulletins,
warranty information, extended support services and product documentation.
To contact technical support or sales, look up your local office at
http://www.lantronix.com/about/contact.html. When you report a problem, please provide the
following information:
Your name, company name, address, and phone number
Lantronix product and model number
Lantronix MAC address or serial number
Firmware version and current configuration
Description of the problem
Status of the unit when the problem occurred (please try to include information on user and
network activity at the time of the problem).
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 162
B: Compliance
(According to ISO/IEC Guide and EN 45014)
Manufacturer’s Name & Address:
Lantronix, Inc. 48 Discovery, Suite 250, Irvine, CA 92618 USA
Product Name Model:
SGX 5150 IoT Device Gateway
Conforms to the following standards or other normative documents:
Safety
UL 60950-1, 2nd Edition, 2014-10-14 (Information Technology Equipment - Safety - Part 1:
General Requirements)
CSA C22.2 No. 60950-1-07, 2nd Edition, 2014-10 (Information Technology Equipment -
Safety - Part 1: General Requirements)
CB Scheme IEC 60950-1:2005 (Second Edition); Am1:2009 + Am2:2013
VCCI
Emissions
CFR Title 47 FCC Part 15, Subpart B, Class B Emissions
EN55022: 2010, Class B Emissions
EN55032: 2012 + AC: 2013, Class B Emissions
CISPR 32: 2012 Class B Emissions
CISPR 22: 2009, Class B Emissions
VCCI V-3: 2015.04
Immunity
EN55024: 2010
EN610000-4-2: 2009
EN61000-4-3: 2006 + A1: 2008 + A2: 2010
EN61000-4-4: 2004
EN61000-4-5: 2005
EN61000-4-6: 2009
EN61000-4-8: 2010
EN61000-4-11: 2004
CISPR 16-1-4: 2008
ICES-0003 Issue 6
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 163
Figure B-1 SGX 5150 Suppliers Declaration of Conformity
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 164
Product Name Model:
SGX 5150 MD Wireless IoT Gateway for Medical Devices
Conforms to the following standards or other normative documents:
Medical Safety
EN 60601-1:2006/ AC:2010/ A1:2013 (Medical electrical equipment -- Part 1: General
requirements for basic safety and essential performance)
ANSI/AAMI ES60601-1: 2005/C1:2009/A2:2010 (Medical electrical equipment -- Part 1:
General requirements for basic safety and essential performance)
CAN/CSA-C22.2 NO. 60601-1-08 (Medical electrical equipment -- Part 1: General
requirements for basic safety and essential performance)
Non-Medical Safety
UL 60950-1, 2nd Edition, 2014-10-14 (Information Technology Equipment - Safety - Part 1:
General Requirements)
CSA C22.2 No. 60950-1-07, 2nd Edition, 2014-10 (Information Technology Equipment -
Safety - Part 1: General Requirements)
CB Scheme IEC 60950-1:2005 (Second Edition) + Am1:2009 + Am2:2013
Emissions
CISPR 11:2009, class B
Immunity
EN / IEC 60601-1-2: 2014
EN 61000-3-2: 2014
EN 61000-3-3: 2013
EN / IEC 61000-4-2: 2008
EN / IEC 61000-4-3: 2006 + A1: 2007 + A2: 2010
EN / IEC 61000-4-4: 2012
EN / IEC 61000-4-5: 2005
EN / IEC 61000-4-6: 2013
EN / IEC 61000-4-8: 2009, 2010
EN / IEC 61000-4-11: 2004
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 165
Figure B-2 SGX 5150 MD Suppliers Declaration of Conformity
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 166
Figure B-3 EU Declaration of Conformity
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 167
Table B-1 EU Declaration of Conformity
cs Česky [Czech] Lantronix tímto prohlašuje, že tento SGX 5150 IoT device gateway je ve shodě se
základními požadavky a dalšími příslušnými ustanoveními směrnice RED 2014/53/
EU.
da Dansk [Danish] Undertegnede Lantronix erklærer herved, at følgende udstyr SGX 5150 IoT device
gateway overholder de væsentlige krav og øvrige relevante krav i direktiv RED
2014/53/EU.
de Deutsch [German] Hiermit erklärt Lantronix, dass sich das Gerät SGX 5150 IoT device gateway in
Übereinstimmung mit den grundlegenden Anforderungen und den übrigen
einschlägigen Bestimmungen der Richtlinie RED 2014/53/EU.
et Eesti [Estonian] Käesolevaga kinnitab Lantronix seadme SGX 5150 IoT device gateway vastavust
direktiivi RED 2014/53/EU põhinõuetele ja nimetatud direktiivist tulenevatele teistele
asjakohastele sätetele.
en English Hereby, Lantronix, declares that this SGX 5150 IoT device gateway is in compliance
with the essential requirements and other relevant provisions of Directive RED
2014/53/EU.
es Español [Spanish] Por medio de la presente Lantronix declara que el SGX 5150 IoT device gateway
cumple con los requisitos esenciales y cualesquiera otras disposiciones aplicables
o exigibles de la Directiva RED 2014/53/EU.
el Ελληνική [Greek] ΜΕ ΤΗΝ ΠΑΡΟΥΣΑ Lantronix ΔΗΛΩΝΕΙ ΟΤΙ SGX 5150 IoT device gateway
ΣΥΜΜΟΡΦΩΝΕΤΑΙ ΠΡΟΣ ΤΙΣ ΟΥΣΙΩΔΕΙΣ ΑΠΑΙΤΗΣΕΙΣ ΚΑΙ ΤΙΣ ΛΟΙΠΕΣ
ΣΧΕΤΙΚΕΣ ΔΙΑΤΑΞΕΙΣ ΤΗΣ ΟΔΗΓΙΑΣ RED 2014/53/EU.
fr Français [French] Par la présente Lantronix déclare que l'appareil SGX 5150 IoT device gateway est
conforme aux exigences essentielles et aux autres dispositions pertinentes de la
directive RED 2014/53/EU.
it Italiano [Italian] Con la presente Lantronix dichiara che questo SGX 5150 IoT device gateway è
conforme ai requisiti essenziali ed alle altre disposizioni pertinenti stabilite dalla
direttiva RED 2014/53/EU.
Latviski [Latvian] Ar šo Lantronix deklarē, ka SGX 5150 IoT device gateway atbilst Direktīvas RED
2014/53/EU būtiskajām prasībām un citiem ar to saistītajiem noteikumiem.
Lietuvių [Lithuanian] Šiuo Lantronix deklaruoja, kad šis SGX 5150 IoT device gateway atitinka esminius
reikalavimus ir kitas RED 2014/53/EU Direktyvos nuostatas.
nl Nederlands [Dutch] Hierbij verklaart Lantronix dat het toestel SGX 5150 IoT device gateway in
overeenstemming is met de essentiële eisen en de andere relevante bepalingen
van richtlijn RED 2014/53/EU.
mt Malti [Maltese] Hawnhekk, Lantronix, jiddikjara li dan SGX 5150 IoT device gateway jikkonforma
malħtiġijiet essenzjali u ma provvedimenti oħrajn relevanti li hemm fid-Dirrettiva
RED 2014/53/EU.
hu Magyar [Hungarian] Alulírott, Lantronix nyilatkozom, hogy a SGX 5150 IoT device gateway megfelel a
vonatkozó alapvetõ követelményeknek és az RED 2014/53/EU irányelv egyéb
elõírásainak.
pl Polski [Polish] Niniejszym Lantronix oświadcza, że SGX 5150 IoT device gateway jest zgodny z
zasadniczymi wymogami oraz pozostałymi stosownymi postanowieniami Dyrektywy
RED 2014/53/EU.
pt Português Lantronix declara que este SGX 5150 IoT device gateway está conforme com os
[Portuguese] requisitos essenciais e outras disposições da Directiva RED 2014/53/EU.
sl Slovensko [Slovenian] Lantronix izjavlja, da je ta SGX 5150 IoT device gateway v skladu z bistvenimi
zahtevami in ostalimi relevantnimi določili direktive RED 2014/53/EU.
Slovensky [Slovak] Lantronix týmto vyhlasuje, že SGX 5150 IoT device gateway spĺňa základné
požiadavky a všetky príslušné ustanovenia Smernice RED 2014/53/EU.
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 168
fi Suomi [Finnish] Lantronix vakuuttaa täten että SGX 5150 IoT device gateway tyyppinen laite on
direktiivin RED 2014/53/EU oleellisten vaatimusten ja sitä koskevien direktiivin
muiden ehtojen mukainen.
sv Svenska [Swedish] Härmed intygar Lantronix att denna SGX 5150 IoT device gateway står I
överensstämmelse med de väsentliga egenskapskrav och övriga relevanta
bestämmelser som framgår av direktiv RED 2014/53/EU.
Canada IC ID 3867A-PW2050
Japan ID 201-152843
11 Mbps 16 +2 dBm
54 Mbps 14 +2 dBm
MCS7 13 +2 dBm
54 Mbps 14 +2 dBm
MCS7 13 +2 dBm
MCS9 11 +2 dBm
Manufacturer’s Contact:
Lantronix, Inc.
48 Discovery, Suite 250, Irvine, CA 92618 USA
Tel: 949-453-3990, Fax: 949-453-3995
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 169
SGX 5150 Regulatory Domains
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 170
Table B-4 40 MHz Channels
Frequency Channel USA/Canada European Japan
(U/US part #) Union (J/JS parts)
E/ES part #)
5 GHz Band 5190 38 Yes Yes Yes
5230 46 Yes Yes Yes
5270 54 Yes Yes Yes
5310 62 Yes Yes Yes
5510 102 Yes Yes -
5550 110 Yes Yes -
5590 118 N/A Yes -
5630 126 N/A Yes -
5670 134 Yes Yes -
5755 151 Yes - -
5795 159 Yes - -
SGX TM 5150, SGX TM 5150 MD, and SGX TM 5150 XL IoT Device Gateway User Guide 171