This daemon allows telnet and tcp sessions to be established with a
host's serial ports. Combined with a terminal emulator, this can be a
very simple means to configure network devices or other equipment with
a serial port. This is remarkably similar to the reverse telnet
feature of some Cisco routers.
You will need to connect the raw-usb interface using:
$ sudo snap connect ser2net-plars:raw-usb
*note: If you are on classic and don't have a gadget with support for
the serial-port interface, you should install with --classic
$ ser2net-plars.config-get > ser2net.yaml
<edit the config>
$ cat /tmp/ser2net.yaml |sudo /snap/bin/ser2net-plars.config-set
$ sudo snap restart ser2net-plars.ser2net
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install ser2net-plars, simply use the following command: