Digi 6350-SR User Manual page 67

Lte router
Hide thumbs Also See for 6350-SR:
Table of Contents

Advertisement

Serial port setup
Purchasing options are available through Digi. Refer to the following command to bring up a single
serial connection over USB.
Usb-to-Serial Splitter
Purchasing options are available through Digi.
To conveniently access multiple serial connections over SSH using this adapter, enter the following
script into router's Custom Script field, setting its Run mode to "On boot." This field is nested under
System > Scheduled Tasks > Custom Script.
cat <<EOT > /opt/serial_port_selector
#!/bin/sh
bugout() {
echo "\$@"
exit
}
serials="\$(dmesg | grep "FTDI USB Serial Device converter now attached" | grep -
o "ttyUSB[0-9]" | sort -u)"
[ "\$serials" ] || bugout 'no serial-to-USB converters found'
serial_count=\$(echo "\$serials" | wc -l)
echo "Found \$serial_count USB-to-serial converters."
for i in \$serials; do
echo "\$i"
done
echo "Type the number of the USB port you wish to open a console connection to"
echo "(e.g. for ttyUSB2, type '2'), followed by ENTER:"
Digi 6350-SR/6355-SR LTE Router User Guide
USB-to-serial access
67

Advertisement

Table of Contents
loading

This manual is also suitable for:

6355-sr

Table of Contents