All serial based services gets their network configuration through
/etc/user-module/network.conf file
Introduced systemd target user-module
BugzID: 56443
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Start systemd services for providing serial interfaces of remote machine:
- UART (ttyUM0)
- KLINE (ttyUM1)
- LIN (ttyUM2)
Caution: UserModule connection settings are hardcoded within the services!
BugzID: 56441
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Systemd service file Type "forking" leads to service restart which
caused socket disconnection. ExecStart process was never forked.
Now Type=simple fixed this issue. It' anyway recommended for
long running tasks.
Socat:
- Fixed typo rawer to raw
- Set echo off
- Defined bitrate
BugzID: 52063
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
Bind pseudo tty and origin uart with socat usage (tcp socket)
Socat is started by systemd service.
BugzID: 52063
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>