How to install ser2net on ubuntu 17.04
To install Ser2net on Ubuntu 17.04
ser2net provides a way for a user to connect from a network connection to a serial port. In this tutorial, you will learn about the method to install Ser2net on Ubuntu 17.04.
Installing Ser2net
Before you begin with the installation of Ser2net on your Ubuntu, make sure you add its repository on your system.
root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
packaged in this and related PPAs. End users and administrator are responsible for
runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
Ubuntu repositories and external PPAs. Below is the list of
.
.
.
gpg: keybox ' /tmp/tmp3mbvc_er/pubring.gpg' created
gpg: /tmp/tmp3mbvc_er/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+" imported
gpg: Total number processed: 1
gpg: imported: 1
OK
Once it is added, update it by running the following command.
root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Get:2 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main i386 Packages [3,924 B]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [3,916 B]
Get:8 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [3,140 B]
Fetched 26.3 kB in 1s (18.7 kB/s)
Reading package lists... Done
It is done, install the ser2net package by invoking the following command.
root@linuxhelp1:~# apt-get install ser2net -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ser2net
0 upgraded, 1 newly installed, 0 to remove and 117 not upgraded.
Need to get 48.4 kB of archives.
After this operation, 131 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 ser2net amd64 2.10.1-1 [48.4 kB]
Fetched 48.4 kB in 0s (52.0 kB/s)
Selecting previously unselected package ser2net.
(Reading database ... 168851 files and directories currently installed.)
Preparing to unpack .../ser2net_2.10.1-1_amd64.deb ...
Unpacking ser2net (2.10.1-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (232-21ubuntu2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up ser2net (2.10.1-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (232-21ubuntu2) ...
ser2net has been installed. You can run the following command to learn more about ser2net.
root@linuxhelp1:~# ser2net --help
Invalid argument: ' --help'
ser2net: Valid parameters are:
-c < config file> - use a config file besides /etc/ser2net.conf
-C < config line> - Handle a single configuration line. This may be
specified multiple times for multiple lines. This is just like a
line in the config file. This disables the default config file,
you must specify a -c after the last -C to have it read a config
file, too.
-p < controller port> - Start a controller session on the given TCP port
-P < file> - set location of pid file
-n - Don' t detach from the controlling terminal
-d - Don' t detach and send debug I/O to standard output
-u - Disable UUCP locking
-b - unused (was Do CISCO IOS baud-rate negotiation, instead of RFC2217)
-v - print the program' s version and exit
-s - specify a default signature for RFC2217 protocol
Comments ( 0 )
No comments available