User manual

4 Network Services and Tools Provided by OnRISC
For further information see:
man vsftpd
4.7. RFC2217
Internal serial interfaces of the OnRISC can be made accessible over network via RFC2217 protocol.
ser2net
31
is a daemon, that provides such functionality. On the client side (PC) you need either
a virtual COM port driver or an application/library communicating RFC2217 directly. For MS
Windows OS you can use the VScom driver of NetCom Mini
32
.
The installation requires following components to be installed:
RFC2217 driver and NetCom UPnP Manager (is bundled with the driver)
vsupnpd (provided with our system images, enabled by default)
ser2net (provided with our system images, disabled by default)
ser2net will be configured via special configuration file (default /etc/ser2net.conf). This file
contains following information:
SIGNATURE:sign_vs:VScom NetCom:111S:(C) VS Vision Systems GmbH 2010:1
5000:telnet:0:/dev/ttyS1:115200 sign_vs
5001:telnet:0:/dev/ttyS2:115200 sign_vs
#5002:telnet:0:/dev/ttyS3:115200 sign_vs
#5003:telnet:0:/dev/ttyS4:115200 sign_vs
SIGNATURE is a string that will be sent on RFC2217 driver’s request to identify the device. Don’t
change this setting. After that you’ll find the per serial interface configuration strings in following
format:
<TCP port>:<state>:<timeout>:<device>:<options>
In the example the /dev/ttyUSB0 device will be used in RFC2217 mode (telnet), listens on TCP
port 5000 and the timeout function is disabled.
vsupnpd daemon parses /etc/ser2net.conf file and extracts TCP port numbers. This information
will be announced via SSDP broadcasts, so that NetCom UPnP Manager can find and install the
serial interfaces. If OnRISC is behind a router and broadcasts are not allowed, you can manually
add the device in the NetCom UPnP Manager. See NetCom Mini Manual for more details.
Please note that ser2net service is disabled by default. You need to activate using sysv-rc-conf
(see Section 3.3).
31
https://sourceforge.net/projects/ser2net/
32
http://www.vscom.de/download/multiio/Windows7/driver/NCMini-Install-7z.exe
May 2014 OnRISC User Manual 29