EasyManuals Logo

Moxa Technologies NPort 5210A User Manual

Moxa Technologies NPort 5210A
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #152 background imageLoading...
Page #152 background image
NPort 5000 Series User Manual
152
3. The OpenSSL needs to be configured before executing the “make” command.
NOTE
The <openssl-arm> and <ssl-arm> are the folders that were created in the previous instruction. The
cross-compiler toolchain "arm-linux-gnueabihf-" is used for the Moxa UC-serial computer.
$ cd openssl
$ setarch i386 ./config no-asm no-shared enable-ssl3 enable-ssl3-method
enable-tls1_3 --prefix=<openssl-arm> --openssldir=<ssl-arm> --cross-compile-
prefix=arm-linux-gnueabihf-
4. Next, make and install the OpenSSL:
$ make
$ make install_sw
Finally, the headers and libraries will be constructed in the following hierarchy:
openssl-arm
├── bin
├── include
└── lib
├── engines
├── libcrypto.a
├── libssl.a
└── pkgconfig
The following command is to build npreal2d with secure mode:
$ arm-linux-gnueabihf-gcc -c ${CFLAGS} -DNO_INIT -DSSL_ON -DOPENSSL_NO_KRB5
npreal2d.c -I/home/user/openssl-lib/openssl-arm/include
If polling mode is preferred, change “${CFLAGS}” to “-DOFFLINE_POLLING”.
$ arm-linux-gnueabihf-gcc npreal2d.o -o npreal2d -lssl -lcrypto -ldl -lpthread -
L/home/user/openssl-lib/openssl-arm/lib/ -I/home/user/openssl-lib/openssl-
arm/include
The npreal2d binary will be generated.
NOTE
Only the npreal2d requires OpenSSL library; other binaries should follow Section “Manually build the Real
TTY driver with a cross-compiler”.
NOTE
The secure mode is supported only if the NPort 6000 enables it. Please refer to NPort 6000 Series User
Manual to configure secure mode in the NPort 6000.

Table of Contents

Other manuals for Moxa Technologies NPort 5210A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5210A and is the answer not in the manual?

Moxa Technologies NPort 5210A Specifications

General IconGeneral
Baud rate230.4 Kbit/s
Data bits5, 6, 7, 8
Stop bits1, 1.5, 2
CertificationCE, FCC
RS-232 signalsCTS, DCD, DSR, DTR, GND, RTS, Rx, Tx
Flow control supportYes
Serial interface typeRS-232
Serial ports quantity2
Ethernet LAN data rates10, 100 Mbit/s
Mean time between failures (MTBF)134850 h
Product colorBlack, Blue
Housing materialMetal
Input voltage12 - 48 V
Power consumption325 mA
Storage temperature (T-T)-40 - 75 °C
Maximum operating altitude2000 m
Operating temperature (T-T)0 - 55 °C
Operating relative humidity (H-H)5 - 95 %
Supported network protocolsICMP, IPv4, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP V1, HTTP, SMTP, SNTP
Weight and Dimensions IconWeight and Dimensions
Weight340 g
Dimensions (WxDxH)90 x 100.4 x 22 mm

Related product manuals