Moxa DA-681-I-DP-LX Руководство по программной части (Linux) онлайн [3/65] 170770
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Product Features ................................................................................................................................ 1-2
Software Specifications........................................................................................................................ 1-2
Read-only Root File System ................................................................................................................. 1-3
Software Components ......................................................................................................................... 1-3
2. Software Configuration ..................................................................................................................... 2-1
Starting from a VGA Console ................................................................................................................ 2-2
Connecting from a Telnet Console ......................................................................................................... 2-2
Connecting from an SSH Console .......................................................................................................... 2-3
Windows Users ........................................................................................................................... 2-4
Linux Users ................................................................................................................................ 2-4
Adjusting the System Time .................................................................................................................. 2-4
Setting the Time Manually ............................................................................................................ 2-4
NTP Client .................................................................................................................................. 2-5
Updating the Time Automatically ................................................................................................... 2-6
Enabling and Disabling Daemons .......................................................................................................... 2-7
Setting the Run-Level .......................................................................................................................... 2-8
Cron—Daemon for Executing Scheduled Commands ................................................................................ 2-9
Inserting a SATA Hard Drive into the Computer .................................................................................... 2-10
Inserting a USB Storage Device into the Computer ............................................................................... 2-11
Inserting a CompactFlash Card into the Computer ................................................................................ 2-12
Checking the Linux Version ................................................................................................................ 2-12
APT—Installing and Removing Packages .............................................................................................. 2-13
WDT (Watchdog Timer) ..................................................................................................................... 2-14
3. Managing Communications ............................................................................................................... 3-1
Changing the Network Settings ............................................................................................................ 3-2
Changing the “interfaces” Configuration File ................................................................................... 3-2
Adjusting IP Addresses with “ifconfig” ............................................................................................ 3-3
Telnet Server ..................................................................................................................................... 3-3
Enabling the Telnet Server ........................................................................................................... 3-3
Disabling the Telnet Server ........................................................................................................... 3-4
FTP Server ......................................................................................................................................... 3-4
Enabling the FTP Server ............................................................................................................... 3-4
Disabling the FTP Server .............................................................................................................. 3-4
DNS Client ......................................................................................................................................... 3-4
etc/hostname ............................................................................................................................. 3-5
etc/resolv.conf ............................................................................................................................ 3-5
etc/nsswitch.conf ........................................................................................................................ 3-5
Apache Web Server ............................................................................................................................. 3-6
Default Homepage ....................................................................................................................... 3-6
Saving Web Pages to a USB Storage Device.................................................................................... 3-7
IPTABLES .......................................................................................................................................... 3-8
IPTABLES Hierarchy ................................................................................................................... 3-10
IPTABLES Modules ..................................................................................................................... 3-11
Observe and Erase Chain Rules ................................................................................................... 3-11
Define Policy for Chain Rules....................................................................................................... 3-12
Append or Delete Rules .............................................................................................................. 3-12
NAT (Network Address Translation) ..................................................................................................... 3-13
NAT Example ............................................................................................................................ 3-14
Enabling NAT at Bootup ............................................................................................................. 3-14
PPP (Point to Point Protocol) ............................................................................................................... 3-15
Connecting to a PPP Server over a Simple Dial-up Connection ......................................................... 3-15
Connecting to a PPP Server over a Hard-wired Link ....................................................................... 3-16
Checking the Connection ............................................................................................................ 3-16
Setting up a Machine for Incoming PPP Connections ...................................................................... 3-17
PPPoE .............................................................................................................................................. 3-18
NFS (Network File System) Client ....................................................................................................... 3-20
SNMP (Simple Network Management Protocol) ..................................................................................... 3-21
OpenVPN ......................................................................................................................................... 3-22
Ethernet Bridging for Private Networks on Different Subnets ........................................................... 3-22
Ethernet Bridging for Private Networks on the Same Subnet ........................................................... 3-26
Routed IP ................................................................................................................................. 3-26
4. System Recovery ............................................................................................................................... 4-1
Recovery Environment ........................................................................................................................ 4-2
Recovery Procedure ............................................................................................................................ 4-2
Содержание
- Da 681 series linux manual 1
- Fourth edition august 2012 1
- Www moxa com product 1
- Copyright notice 2
- Da 681 series linux manual 2
- Disclaimer 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Introduction 4
- Attention 5
- Da 681 linux introduction 5
- Overview 5
- Product features 5
- Software specifications 5
- Attention 6
- Da 681 linux introduction 6
- Device driver 6
- Hardware 6
- Linux kernel 6
- Micro kernel 6
- Protocol stack 6
- Read only root file system 6
- Software components 6
- Da 681 linux introduction 7
- Da 681 linux introduction 8
- Da 681 linux introduction 9
- Da 681 linux introduction 10
- Da 681 linux introduction 11
- Software configuration 12
- Connecting from a telnet console 13
- Da 681 linux software configuration 13
- Starting from a vga console 13
- Attention 14
- Connecting from an ssh console 14
- Da 681 linux software configuration 14
- Adjusting the system time 15
- Da 681 linux software configuration 15
- Linux users 15
- Setting the time manually 15
- Windows users 15
- Attention 16
- Da 681 linux software configuration 16
- Ntp client 16
- Da 681 linux software configuration 17
- Updating the time automatically 17
- Da 681 linux software configuration 18
- Enabling and disabling daemons 18
- Da 681 linux software configuration 19
- Setting the run level 19
- Cron daemon for executing scheduled commands 20
- Da 681 linux software configuration 20
- Da 681 linux software configuration 21
- Inserting a sata hard drive into the computer 21
- Da 681 linux software configuration 22
- Inserting a usb storage device into the computer 22
- Attention 23
- Checking the linux version 23
- Da 681 linux software configuration 23
- Inserting a compactflash card into the computer 23
- Apt installing and removing packages 24
- Attention 24
- Da 681 linux software configuration 24
- Attention 25
- Da 681 linux software configuration 25
- Main swtd_fd open dev swtd o_rdwr time 4000 4000 ms ioctl swtd_fd ioctl_swatchdog_enable time while 1 25
- Wdt watchdog timer 25
- Da 681 linux software configuration 26
- Int swtd_disable int fd 26
- Int swtd_enable int fd unsigned long time 26
- Int swtd_get int fd int mode unsigned long time 26
- Int swtd_open void 26
- Ioctl swtd_fd ioctl_swatchdog_ack null close swtd_fd 26
- Close the file handle 27
- Managing communications 31
- Changing the interfaces configuration file 32
- Changing the network settings 32
- Da 681 linux managing communications 32
- Static ip address 32
- Adjusting ip addresses with ifconfig 33
- Da 681 linux managing communications 33
- Dynamic ip address using dhcp 33
- Enabling the telnet server 33
- Telnet server 33
- Da 681 linux managing communications 34
- Disabling the ftp server 34
- Disabling the telnet server 34
- Dns client 34
- Enabling the ftp server 34
- Ftp server 34
- Da 681 linux managing communications 35
- Etc hostname 35
- Etc nsswitch conf 35
- Etc resolv conf 35
- Apache web server 36
- Bin sh var www apache2 default cgi bin index cgi disable filename globbing set f echo content type text plain charset iso 8859 1 echo echo cgi 1 test script report echo echo argc is argv is echo echo server_software server_software echo server_name server_name echo gateway_interface gateway_interface echo server_protocol server_protocol echo server_port server_port echo request_method request_method echo http_accept http_accept echo path_info path_info echo path_translated path_translated echo script_name script_name echo query_string query_string echo remote_host remote_host 36
- Da 681 linux managing communications 36
- Default homepage 36
- Attention 37
- Da 681 linux managing communications 37
- Echo remote_addr remote_addr echo remote_user remote_user echo auth_type auth_type echo content_type content_type echo content_length content_length 37
- Saving web pages to a usb storage device 37
- Attention 38
- Da 681 linux managing communications 38
- Iptables 38
- Da 681 linux managing communications 39
- Filter table includes three chains 39
- Mangle table includes two chains 39
- Nat table includes three chains 39
- Sub tables 39
- Da 681 linux managing communications 40
- Iptables hierarchy 40
- Da 681 linux managing communications 41
- Iptables modules 41
- Observe and erase chain rules 41
- To maintain the database 41
- Append or delete rules 42
- Da 681 linux managing communications 42
- Define policy for chain rules 42
- Examples 42
- Attention 43
- Da 681 linux managing communications 43
- Examples 43
- Nat network address translation 43
- Da 681 linux managing communications 44
- Enabling nat at bootup 44
- Nat example 44
- Attention 45
- Connecting to a ppp server over a simple dial up connection 45
- Da 681 linux managing communications 45
- Ppp point to point protocol 45
- Checking the connection 46
- Connecting to a ppp server over a hard wired link 46
- Da 681 linux managing communications 46
- Da 681 linux managing communications 47
- Setting up a machine for incoming ppp connections 47
- Attention 48
- Da 681 linux managing communications 48
- Da 681 linux managing communications 49
- Da 681 linux managing communications 50
- Nfs network file system client 50
- Da 681 linux managing communications 51
- Snmp simple network management protocol 51
- Da 681 linux managing communications 52
- Ethernet bridging for private networks on different subnets 52
- Openvpn 52
- Attention 53
- Da 681 linux managing communications 53
- Da 681 linux managing communications 54
- Attention 55
- Da 681 linux managing communications 55
- Da 681 linux managing communications 56
- Ethernet bridging for private networks on the same subnet 56
- Routed ip 56
- Da 681 linux managing communications 57
- Da 681 linux managing communications 58
- System recovery 59
- Attention 60
- Bootable usb disk recovery 60
- Da 681 linux system recovery 60
- Da 681 lx 60
- Recovery environment 60
- Recovery procedure 60
- Usb port 60
- Da 681 linux system recovery 61
- Da 681 linux system recovery 62
- Da 681 linux system recovery 63
- Attention 64
- Da 681 linux system recovery 64
- Da 681 linux system recovery 65
Похожие устройства
- Moxa DA-681-I-DP-LX Руководство по аппаратной части
- Moxa DA-681-I-DP-LX Технические характеристики
- Moxa DA-681-I-DP-XPE Инструкция по эксплуатации
- Moxa DA-681-I-DP-XPE Руководство по программной части (Windows)
- Moxa DA-681-I-DP-XPE Руководство по программной части (Windows CE)
- Moxa DA-681-I-DP-XPE Руководство по программной части (Linux)
- Moxa DA-681-I-DP-XPE Руководство по аппаратной части
- Moxa DA-681-I-DP-XPE Технические характеристики
- Moxa DA-681-I-DPP-T-LX Инструкция по эксплуатации
- Moxa DA-681-I-DPP-T-LX Руководство по программной части (Windows)
- Moxa DA-681-I-DPP-T-LX Руководство по программной части (Windows CE)
- Moxa DA-681-I-DPP-T-LX Руководство по программной части (Linux)
- Moxa DA-681-I-DPP-T-LX Руководство по аппаратной части
- Moxa DA-681-I-DPP-T-LX Технические характеристики
- Moxa DA-681-I-DPP-T-XPE Инструкция по эксплуатации
- Moxa DA-681-I-DPP-T-XPE Руководство по программной части (Windows)
- Moxa DA-681-I-DPP-T-XPE Руководство по программной части (Linux)
- Moxa DA-681-I-DPP-T-XPE Руководство по программной части (Windows CE)
- Moxa DA-681-I-DPP-T-XPE Технические характеристики
- Moxa DA-681-I-DPP-T-XPE Руководство по аппаратной части