Copyright 2017 CONTEC CO., LTD. ALL RIGHTS RESERV ED.
No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC CO., LTD.
CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this
document.
The information in this document is subject to change without notice.
All relevant issues have been considered in the preparation of this document. Should you notice an
omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may
appear in this document or for results obtained by the user as a result of using this product.
Trademarks
Intel, Intel Atom, Intel Core and Celeron are register ed trademarks of Int el Corporation. MS, Microsoft
and Windows are trademarks of Microsoft Corporation. Other brand and product names are trademarks
of their respective holder.
Copyright .............................................................................................................................................. i
Trademarks ........................................................................................................................................... i
Table of Contents ................................................................................................................................ ii
1. INTRODUCTION 1
About the Product ......................................................................................................................... 1
Caution on the BX-830 Series ...................................................................................................... 1
Security Warn in g .......................................................................................................................... 2
This manual describes how to install the Linux OS on our industrial computer products and provides
information about the operational check results as well as the minimum configuration and packages
required to run the Linux OS. Refer to it when building your system.
Make sure you understand and agree with the cautions below before using this manual.
Refer to the User’s Manual for our industrial computer products’ specifications. Refer to “Chapter 5:
RAS Function Supplementary Information” when using particular functions such as the RAS function
on our industrial computer products.
Caution on the BX-830 Series
- The content of this manual is consistent with the results of operational checks conducted in our
testing environment and does not guarantee proper operations of the Linux OS itself on our
products.
- Make sure you thoroughly conduct operational checks when using the content of this manual.
- CONTEC shall not be held liable for damages suffered by you due to the installation or use of the
Linux OS based on the content of this manual.
- Please note that we do not accept any questions regarding the Linux OS in general, including about
Linux-related content described in this manual.
- Results may differ from the content of this manual if the Linux OS is customized or if changes are
made to the BIOS.
When connecting to the network, be aware of sec u ri ty-related problems. See the exampl es of Security
measures below and set up the product properly along with the network devices.
[Information security risks]
- Unauthorized access from the outside through a network could cause the system halt, data damage, or
exposure to malware
*1
.
- Invaded and used as a stepping stone, a device might attack the others through networks.
(a victim becomes an assailant)
- Information might leak without realizing due to the connection to the network.
- Secondary damages such as harmful rumors, liability in damages, social credibility fall, and
opportunity loss are expected led by the troubles described above.
*1… M alware (Malicious Software) is software that brings har m t o a computer s ystem and per forms unintend ed operatio ns.
[Security measures - e.g.]
- Do not keep using the default password. (Refer to the product manual for the password setting).
- Set a strong password.
⇒Combined with upper and lowercase letters, and numbers so that it cannot be easily analogized
by others.
- Change the password periodically.
- Disable unnecessary network services and functions.
- Restrict access to the network with network devices.
*2
- Restrict ports to be released on the network with network devices.
- Create a closed network connection using such as dedicated network or VPN
*2…Inquire for setting procedur e to manufacturers.
*3…VPN (Virtu al Private Networ k): a secure d network that wards off unau thorized access by protecting the com mu nication pat h with
authe ntication a nd e nc ryption.
*3
.
Unfortunately, there are no perfect ways to avert unauthorized access or close a security hole that are
endlessly found day and night. Please understand that risks are always involved with the Internet
connection, and we strongly recommend a user should constantly update information security
measures.
The distributions used and their version information are as follows.
- Ubuntu 14.04 Desktop 64bit (
Linux version 3.1 3.0 -24-generic (build d @pa nlo ng) (gcc ve rs io n 4.8.2 (U bunt u 4.8. 2 -19 ub unt u1 ) ) #46 -Ubuntu
SMP Thu Apr 10 19:11:08 UTC 2014
root@BX-830:~# uname –a
Linux BX-830 3. 13.0-24-generic #46-Ubu ntu SM P Thu Ap r 10 19:1 1 :08 UT C 201 4 x86_ 64 x8 6_6 4 x8 6_64
GNU/Linux
Configuration
Table 2.1. Configuration table
No. Equip ment name Maker Model Remarks
1 Box Computer CONTEC BX-830-DC700000
2 CFast Card CONTEC CFS-32GBM-A Product o p tio n item
3 USB DVD-ROM BUFFALO BRXL-PC6U2-BK
4
5 Monitor
6
7 Speaker - -
8 Mic - -
9 RS-232 cross cable - -
10 RS-422/485 cross cable - -
11 RAS general-purpose I/O cable - -
* - : Not specified
USB Keyboard/
USB Mouse
Device used to confirm network
communicat io n stat us
CPU model, etc., can be confirmed from the cpuinfo
Memory size, etc., can be confirmed using free
Recommended monitor resolution is displayed
Recommended monitor resolution is displayed
Recommended monitor resolution is displayed
Dual display is supported
Sound is output from the monitor speakers when
CFast
S.M.A.R.T. information can be retrieved
○
See 4.4.1
Network information can be retrieved from DHCP
○
Package installation is possible using “apt”
Login is possible using SSH
○
See 4.5.1
File transfer is possible using FTP
○
See 4.5.2
Keyboard is operational
Mouse
Mouse is operation al
○
CD/DVD
Drive can be mounted
○
RS-232C
3. List of Operat io n a l C he c ks
Operational Checks and Results
Only basic operations such as the installation and startup are verified as part of the operational checks.
The operational checks were not conducted assuming all possible applications.
This manual covers operational checks that were conducted for the items below.
Simultaneously press “Ctrl” + “Alt” + “T” on the keyboard to launch the console.
Press “Ct r l” + “ Sp a ce” or “hal f-width/full-width” in the console screen.
The [] icon is displayed in the upper-right corner of the desktop. Confirm that Japanese can be input.
Choose [System Sett ings] – [All Settings] – [Displays], and launch the display configurati on tool.
Confirm that information about the manufacturer of the connected display as well as the recommended
resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Specia l note:
The recommended resolution or the currently selected resolution may not be displayed if the RGB cable
is connected while the OS is running. In that case, use the display configuration tool again to choose the
appropriate resolution.
Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool.
Confirm that information about the manufacturer of the connected display as well as the recommended
resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Special note:
The recommended resolution or the currently selected resolution may not be displayed if the DVI cable
is connected while the OS is running. In that case, use the display configuration tool again to choose the
appropriate resolution.
Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool.
Confirm that information about the manufacturer of the connected display as well as the recommended
resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Specia l note:
The recommended resolution or the currently selected resolution may not be displayed if the
DisplayPort cable is connected while the OS is running. In that case, use the display configuration tool
again to choose the appropriate resolution.
Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool.
Confirm that information about the manufacturer of the connected display as well as the recommended
resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Choose [System Sett ings] – [All Settings] – [Sound], and launch the sound configuration tool.
When using DisplayPort, select “HDMI/DisplayPort (internal audio)” as the output destination, and
press the [Test] button. The Figure 4.1 is displayed. Confirm that sound is output from the monitor by
pressing the [Test] button.
root@BX-830:~# apt-get ins tal l s mar t mo nt o ol s
4.4.1 SMART
Confirm that S.M.A.R.T. information can be retrieved.
root@BX-830:~# smartctl –a /dev/s da
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, C hristia n Franke, w ww . smart mo nt ools. o r g
=== START OF IN FORMATION SECTI ON ===
Device Model: HAGIWARA SOLUTIONS LFD10S-032GC(A00AFS
Serial Number: HSS32G15031900004029
Firmware Version: 20140822
User Capacity: 32,212,647,936 bytes [32.2 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: Not in smartct l database [for details use: -P show all]
ATA Version is: ATA8-ACS ( minor revision not indica ted)
Local Time is: Wed Jan 10 23:32:32 2018 JST
SMART support is: Availab le - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SE CTION ===
SMART over all-health self-assessment test result: PASSED
General SMART Values:
Offline data co lle ct io n stat us: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disab led.
Total time t o complete Of f l i ne
data collection: ( 0) seconds.
Offline data co lle ct io n
capabilities: (0x00) Offline data co lle ct io n not suppo r ted .
SMART capabilities: (0x0002) Does not sav e SMART data before
entering power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x00) Error logging NOT support ed.
No General Purpose Logging support.
SMART Attributes Data Structure revision number: 1
Vendor Specific SM AR T Attributes with T hresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED
Build a FTP server using vsftpd, and confirm that files can be transferred.
Vsftpd server installation and environment
root@BX-830:~# gedit /etc/vsftpd.conf
( uncomment below and two la st l ine : )
..
write_enable=YES
..
ascii_upload_enable=YES
ascii_download_enable=YES
..
chroot_local_user=YES
chroot_list_enable=YES
..
chroot_list_file=/etc/vsftpd.chroot_list
..
ls_recurse_enable=YES
..
local_root=public_html
seccomp_sandbox=NO
root@BX-830:~# gedit /etc/vsftpd.chroot_list
(add ftp user)
test
root@BX-830:~# service vs f t p d r estart
Connect to the FTP server using the standard FTP client function on a Windows PC. Enter the username
and password used in the Linux configuration. If everything is in order, connection will be completed as
below, and the file can be transferred.
4.6.1 Serial Port A and Serial Port B Communication (RS-232C)
Connect serial port A and serial port B using a serial cross cable. Launch two console windows.
Enter the following command in one of the consoles.
After the command is input, port A listens for serial data.
Enter the following command in the other console.
The character string “aiueo” is sent from port B to port A.
If port A (listening port) successfully receives the data, the character string “aiueo” will be displayed on the
console screen, as shown below.
aiueo
4.6.2 Serial Po r t C Communicati on (RS-422/485)
This serial port is provided for the RAS function.
Read “Chapter 5: RAS Function Supplementary Information,” and proceed with the RAS preparatory
steps.
The verifica tion program performs a full-duplex transmission. Connect the self-loop communication
serial cable. (Refer to Figure 4.2: RAS connection diagram)
Launch a console window. Execute the command indicated below, and confirm that 10 bytes are sent
and received. Refer t o the Read me file for details about the serial sample.
root@BX-830:~# setserial /dev/ttyS2 irq 4
root@BX-830:~# ./serial 0 0x22
micon: Set rs485 status complete. cmd [0x93h], dat [0x3h], sta [0x6h]