EasyManuals Logo

Moxa Technologies NPort 5130A User Manual

Moxa Technologies NPort 5130A
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 5130A

Questions and Answers:

Question and Answer IconNeed help?

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

Moxa Technologies NPort 5130A Specifications

General IconGeneral
Isolation1.5 kV
CertificationCE, FCC
Serial interface typeRS-422, RS-485
Serial ports quantity1
Ethernet LAN data rates10, 100 Mbit/s
Supported network protocolsICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, HTTP, SMTP, IGMP v1/2
Compatible operating systemsSCO Unix, OpenServer UnixWare v2.1, v7 Unix SVR 4.2 Unix QNX 4.25, QNX 6 Solaris 10 FreeBSD AIX 5.x HP-UX 11i Mac OS v10.3 Linux v2.4.x, v2.6.x
Storage temperature (T-T)-40 - 85 °C
Operating temperature (T-T)0 - 60 °C
Operating relative humidity (H-H)5 - 95 %
Input voltage12 - 48 V
SafetyUL, LVD
Weight and Dimensions IconWeight and Dimensions
Weight340 g
Dimensions (WxDxH)52 x 80 x 22 mm

Related product manuals