
TC-6110 Linux User’s Manual First Edition, September 2013 www.moxa.com/product © 2013 Moxa Inc. All rights reserved.
TC-6110 Linux User's Manual Basic Platform Configuration 2-3 moxa@MOXA:~# sudo ifconfig eth0 192.168.100.100 After issuing this command, you wi
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-6 -- 1.3.6.1.4.1.8691.17.1.4.2 biosSaveSetting OBJECT-TYPE SYNTAX INTE
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-7 off(0), on(1), former(2) } MAX-ACCESS read-w
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-8 Integer32 } -- 1.3.6.1.4.1.8691.17.1.5.1.1.1.1 tempSenso
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-9 voltSensorsValue Integer32 } -- 1.3.6.1.4.1.8691.17.
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-10 DisplayString, accelerometerValue DisplayString,
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-11 MAX-ACCESS read-only STATUS current DESCRIPTION "N
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-12 -- 1.3.6.1.4.1.8691.17.1.6.1.1.2.1.3 diValue OBJECT-TYPE SYNTAX INT
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-13 IoDoEntry ::= SEQUENCE { doIndex Integer32,
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-14 ledNumber OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-15 -- 1.3.6.1.4.1.8691.17.1.6.2.2.1.3 ledValue OBJECT-TYPE SYNTAX INTE
TC-6110 Linux User's Manual Basic Platform Configuration 2-4 Connecting from an SSH Console To offer users a strongly secure remote login conso
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-16 MAX-ACCESS read-only STATUS current DESCRIPTION "R
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-17 INDEX { usbDeviceIndex } ::= { usbDeviceTable 1 } UsbDeviceE
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-18 DESCRIPTION "This object returns USB Device Class type of the
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-19 "To show the watchdog monitor program status." ::= { syst
C C. Sample Scripts & Firewall Rules Here are the sample scripts referenced in this manual that were too long to include in the text. The follow
TC-6110 Linux User's Manual Sample Scripts & Firewall Rules C-2 A Sample Initialization Script #! /bin/sh # Copyright (c) XXXX <<Yo
TC-6110 Linux User's Manual Sample Scripts & Firewall Rules C-3 rc_status -v ;; stop) echo -n "Shutting do
TC-6110 Linux User's Manual Sample Scripts & Firewall Rules C-4 exit 1 ;; esac rc_exit A Sample Firewall #!/bin/bash # If
TC-6110 Linux User's Manual Basic Platform Configuration 2-5 user@remoteDebian-moxa@Moxa:~# ssh 192.168.3.127 The authenticity of host ‘192.168
TC-6110 Linux User's Manual Basic Platform Configuration 2-6 Sample shell script for scheduled clock synchronizations You may save this shell s
TC-6110 Linux User's Manual Basic Platform Configuration 2-7 moxa@MOXA:~# sudo hwclock –w moxa@MOXA:~# date ; sudo hwclock Wed Dec 16 16:36:12
TC-6110 Linux User's Manual Basic Platform Configuration 2-8 Managing Services with insserv Linux services can be started or stopped using of
TC-6110 Linux User's Manual Basic Platform Configuration 2-9 Check to make sure the script has been removed. moxa@MOXA:~#ls -l /etc/rc?.d/*tcps
TC-6110 Linux User's Manual Basic Platform Configuration 2-10 Disconnecting a USB Storage Device Remember to type the command moxa@Moxa:~# sync
TC-6110 Linux User's Manual Basic Platform Configuration 2-11 ATTENTION The APT cache space /var/cache/apt is located in tmpfs. If you need t
3 3. Managing Communications The TC-6110-LX ready-to-run embedded computer is a network-centric platform designed to serve as a front-end for data a
TC-6110 Linux User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the t
TC-6110 Linux User's Manual Managing Communications 3-2 Configuring Network Interfaces Configuring a Persistent Network Interface Naming Order
TC-6110 Linux User's Manual Managing Communications 3-3 Ethernet Interface Configuration The TC-6110-LX computer has two 10/100/1000 Ethernet p
TC-6110 Linux User's Manual Managing Communications 3-4 Adjusting IP Addresses with ifconfig IP settings can be adjusted during run-time, but t
TC-6110 Linux User's Manual Managing Communications 3-5 Noauth indicates that the peer does not need to authenticate itself. Nodetach indicates
TC-6110 Linux User's Manual Managing Communications 3-6 The Difficult Way (Manually) You may wish or need to connect to your PPPoE provider by
TC-6110 Linux User's Manual Managing Communications 3-7 Type your username (the one you set in the /etc/ppp/pap-secrets and /etc/ppp/chap-secre
TC-6110 Linux User's Manual Managing Communications 3-8 The following is an AT command used to connect to a PPP server by modem. Use this comma
TC-6110 Linux User's Manual Managing Communications 3-9 moxa@Moxa:~# pppd connect ‘chat –v” “ “ “ ‘ user root password root \ noipdefault /dev/
TC-6110 Linux User's Manual Managing Communications 3-10 Setting up a Machine for Incoming PPP Connections Method 1: pppd dial-in with pppd com
TC-6110 Linux User's Manual Managing Communications 3-11 ATTENTION If you would like to have auto dial-in service, you can launch the dial-in
Table of Contents 1. Introduction ...
TC-6110 Linux User's Manual Managing Communications 3-12 the hostname, which can only contain the ascii characters a through z, the numbers 0 t
TC-6110 Linux User's Manual Managing Communications 3-13 hosts: files dns networks: files protocols: db files services:
TC-6110 Linux User's Manual Managing Communications 3-14 Disabling CGI Support for CGI scripting is enabled by default. To disable it, follow t
TC-6110 Linux User's Manual Managing Communications 3-15 5. If you have CGI scripts, you must now also change the same file so that the CGI en
TC-6110 Linux User's Manual Managing Communications 3-16 In Netfilter, a few fundamental rule tables are pre-defined, with each table containin
TC-6110 Linux User's Manual Managing Communications 3-17 When the NAT table alters the destination address (on inbound packets, in the PREROUTI
TC-6110 Linux User's Manual Managing Communications 3-18 4. The OUTPUT chain receives all outbound packets which are addressed to computers ou
TC-6110 Linux User's Manual Managing Communications 3-19 Netfilter Hierarchy for Incoming Packets This figure shows how packets traverse the ta
TC-6110 Linux User's Manual Managing Communications 3-20 Connection Tracking A connection tracking system does not filter packets. The Netfilte
TC-6110 Linux User's Manual Managing Communications 3-21 INPUT, OUTPUT, FORWARD, PREROUTING, OUTPUT, and POSTROUTING. Possible policies that ma
Overview ... 4-2 Inst
TC-6110 Linux User's Manual Managing Communications 3-22 List current rule chains for a target table, or for all tables The full command for li
TC-6110 Linux User's Manual Managing Communications 3-23 There must be no references to the chain in other chains or tables, and the chain must
TC-6110 Linux User's Manual Managing Communications 3-24 ATTENTION ICMPv6 Neighbor Discovery packets will always be classified INVALID (if you
TC-6110 Linux User's Manual Managing Communications 3-25 Saving the Firewall You must your firewall so that it will reload on the next reboot;
TC-6110 Linux User's Manual Managing Communications 3-26 ATTENTION To make a module load across reboots, you may add it to the /etc/modprobe.c
TC-6110 Linux User's Manual Managing Communications 3-27 On each OpenVPN machine, you should carry out configurations in the /etc/openvpn direc
TC-6110 Linux User's Manual Managing Communications 3-28 cipher DES-EDE3-CBC auth MD5 tun-mtu 1500 tun-mtu-extra 64 ping 40 up /etc/openvpn/tap
TC-6110 Linux User's Manual Managing Communications 3-29 route add -net 192.168.2.0 netmask 255.255.255.0 dev br0 #----------------------------
TC-6110 Linux User's Manual Managing Communications 3-30 Ethernet Bridging for Private Networks on the Same Subnet Like the last example, this
TC-6110 Linux User's Manual Managing Communications 3-31 2. On VPN server A (OpenVPN A), modify the remote address entry in the configuration
TC-6110 Linux User's Manual Managing Communications 3-32 ifconfig 192.168.4.174 192.168.2.173 up /etc/openvpn/tun.sh 5. Next, change OpenVPN B
TC-6110 Linux User's Manual Managing Communications 3-33 • -l [FACILITY_LEVEL]: the facility level is used to specify what type of program is
TC-6110 Linux User's Manual Managing Communications 3-34 devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
TC-6110 Linux User's Manual Managing Communications 3-35 # The default runlevel. id:2:initdefault: 3. Enable rsyslogd at startup by editing th
TC-6110 Linux User's Manual Managing Communications 3-36 log_application script before the disk is umounted. The command pidof returns the proc
TC-6110 Linux User's Manual Managing Communications 3-37 moxa@Moxa:~# dpkg-reconfigure gpsd If necessary, you may edit the gpsd configuration f
TC-6110 Linux User's Manual Managing Communications 3-38 NOTE Use the GNU system manual command to get more information on the GPS daemon inte
4 4. Moxa’s Rcore Software Packages This chapters describes Moxa’s software packages that can be used on the TC-6110-LX computers. The following top
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-2 Moxa Predictive Maintenance Diagnostic Tool Overview The TC-6110 computers provi
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-3 The T-sensor Log The configuration file for the temperature sensor log files is
1 1. Introduction Thank you for purchasing the Moxa TC-6110 series of ready-to-run x86 embedded computers. This manual introduces the software confi
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-4 1. The temperature sensor configuration file is the same as the accelerometer c
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-5 Moxa SynMap Package Overview SynMap is Moxa’s revolutionary software virtualizat
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-6 time to date, since the beginning of time systemMemorySize .1.3.6.1.4.1.8691.17
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-7 USB ports, regardless of their current state in the usb general port table usbDe
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-8 Using Moxa Synmap OIDs: snmpwalk & snmpget 1. The command snmpwalk uses SNMP
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-9 ATTENTION If you modified PLED status via command echo 1111 > /dev/pled, the
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages 4-10 Enabling the Watchdog There are two watchdog parameters that may be configur
5 5. Programming Guide The following topics are covered in this chapter: RTC (Real Time Clock) UART WDT (Watch Dog Timer) Introduction
TC-6110 Linux User's Manual Programming Guide 5-2 Desktop Management Interface (DMI) Product information may be read using Debian Linux’s Deskt
TC-6110 Linux User's Manual Programming Guide 5-3 SATA LEDs may be accessed directly using the /dev/sata_pledX device node. The examples below
TC-6110 Linux User's Manual Introduction 1-2 Overview TC-6110 train computers are designed specifically for car-borne train applications like n
TC-6110 Linux User's Manual Programming Guide 5-4 -> ../init.d/watchdog lrwxrwxrwx 1 root root 18 Jul 16 11:23 /etc/rc6.d/K01watchdog ->
TC-6110 Linux User's Manual Programming Guide 5-5 IOCTL WDIOC_GETTIMEOUT Description Gets the current watchdog timeout. Input None Output a
TC-6110 Linux User's Manual Programming Guide 5-6 /media/diskxpx Returns None int mxhtsp_is_button_pressed (int fd, int btn_num)
TC-6110 Linux User's Manual Programming Guide 5-7 Function Documentation int mx_accelerometer_read (GSENSOR_DATA *axis, unsigned char sensor_ad
TC-6110 Linux User's Manual Programming Guide 5-8 #define DATA_RATE_REG 0x2C #define POWER_CTL 0x2D #define DATA_FORMAT_REG
66 5. System Recovery The TC-6110 ready-to-run embedded computers are a Windows Embedded Standard 7 platform. This chapter describes the recovery pr
TC-6110 Linux User's Manual System Recovery 6-2 Overview: Setting Up the Recovery Environment A DA-682A computer, a 4 GB (min.) USB drive, and
TC-6110 Linux User's Manual System Recovery 6-3 5. Set the Device Type (lower left-hand corner) as USB Drive, then set the Drive dialog to the
TC-6110 Linux User's Manual System Recovery 6-4 ATTENTION You must manually delete the EFI directory on the USB. Step 2 (opt.): Recovering to
TC-6110 Linux User's Manual System Recovery 6-5 5. Use the arrows to highlight USB and then use the plus/minus signs (+ -) to move it to the f
2 2. Basic Platform Configuration In this chapter, we explain how to configure a TC-6110-LX computer. There are two ways to do this: 1) Connecting t
TC-6110 Linux User's Manual System Recovery 6-6 3. Once the image creation environment has completed booting up, you will be given a warning a
TC-6110 Linux User's Manual System Recovery 6-7 5. At this point you may choose to power down the computer (press 0), reboot (press 1), enter
TC-6110 Linux User's Manual System Recovery 6-8 5. At this point, the system will remind you that you are about to overwrite your entire opera
TC-6110 Linux User's Manual System Recovery 6-9 9. After the computer has powered down, remove the USB drive and store it in a safe place. St
TC-6110 Linux User's Manual System Recovery 6-10 5. Use the up/down arrows to highlight Hard Disk Drive and then use the plus/minus signs (+ -
A A. Software Components Package Version Description acpi 1.6-1 Displays information on ACPI devices acpi-support-base 0.140-5 Scripts for ha
TC-6110 Linux User's Manual Software Components A-2 cpp-4.7 4.7.2-5 GNU C preprocessor cron 3.0pl1-124 Process scheduling daemon dash 0.5.
TC-6110 Linux User's Manual Software Components A-3 gzip 1.5-1.1 GNU compression utilities hdparm 9.39-1+b1 Tune hard disk parameters for h
TC-6110 Linux User's Manual Software Components A-4 libasprintf0c2: i386 0.18.1.1-9 GNU library to use fprintf and friends in C++ libattr1: i
TC-6110 Linux User's Manual Software Components A-5 libisc84 1:9.8.4.dfsg.P1-6+nmu2 ISC Shared Library used by BIND libisccc80 1:9.8.4.dfsg.P
TC-6110 Linux User's Manual Basic Platform Configuration 2-2 Default User Account and Password To provide stronger system security, Moxa has di
TC-6110 Linux User's Manual Software Components A-6 libpipeline1: i386 1.2.1-1 Pipeline manipulation library libpkcs11-helper1: i386 1.09-1
TC-6110 Linux User's Manual Software Components A-7 libx86-1: i386 1.1+ds1-10 x86 real-mode library libxapian22 1.2.12-2 Search engine libr
TC-6110 Linux User's Manual Software Components A-8 provides a framework for the exchange of management information between agents (servers) an
TC-6110 Linux User's Manual Software Components A-9 python-reportbug 6.4.4 Python modules for interacting with bug tracking systems python-so
TC-6110 Linux User's Manual Software Components A-10 vim-common 2:7.3.547-7 Vi IMproved - Common files vim-runtime 2:7.3.547-7 Vi IMproved
B B. Moxa MIB File for TC-6110-LX -- -- MOXA-SYS-MIB.txt -- MOXA-SYS-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises, IpAddress, Intege
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-2 -- -- Type definitions -- Minutes ::= Integer32 KBytes ::= INTEGER Se
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-3 eg. 2012/01/23 19:22 -> 12012319." ::= { productInfoMgmt 4 }
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-4 Note that this is same as hrMemorySize in HOST-RESOURCE." ::= {
TC-6110 Linux User's Manual Moxa MIB File for TC-6110-LX B-5 systemVolumeName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-o
Komentáře k této Příručce