Moxa UC-8410A-LX [4/86] Bfind package name and software description

SFTP ................................................................................................................................................. 5-6
DNS .................................................................................................................................................. 5-7
/etc/hosts .................................................................................................................................. 5-7
/etc/resolv.conf ........................................................................................................................... 5-7
/etc/nsswitch.conf ....................................................................................................................... 5-7
IPTABLES .......................................................................................................................................... 5-7
Observing and Erasing Chain Rules .............................................................................................. 5-11
Defining a Policy for Chain Rules ................................................................................................. 5-11
Append or Delete Rules .............................................................................................................. 5-12
rsync .............................................................................................................................................. 5-12
Using rsync for External Backups ................................................................................................ 5-13
Automating rsync Backups ......................................................................................................... 5-13
NAT ................................................................................................................................................ 5-14
NAT Example ............................................................................................................................ 5-14
Enabling NAT at Bootup ............................................................................................................. 5-15
NFS (Network File System) ................................................................................................................ 5-15
Setting Up the UC-8410A-LX as an NFS Client............................................................................... 5-16
SNMP .............................................................................................................................................. 5-16
OpenVPN ......................................................................................................................................... 5-18
Static-Key VPN.......................................................................................................................... 5-18
Package Management ....................................................................................................................... 5-19
apt-get .................................................................................................................................... 5-19
apt-cache ................................................................................................................................. 5-19
List All Available Packages .......................................................................................................... 5-19
Find Package Name and Software Description ............................................................................... 5-19
Check Package Information ........................................................................................................ 5-20
Check Dependencies for Specific Packages ................................................................................... 5-20
Check Cache Statistics ............................................................................................................... 5-20
Update System Packages ........................................................................................................... 5-20
Install or Upgrade Specific Packages ............................................................................................ 5-20
Upgrade All Software Packages ................................................................................................... 5-20
Install Multiple Packages ............................................................................................................ 5-20
Install Packages Without Upgrading ............................................................................................. 5-20
Upgrade Specific Packages ......................................................................................................... 5-21
Install Specific Package Version .................................................................................................. 5-21
Remove Packages Without Configuration ...................................................................................... 5-21
Completely Remove Packages ..................................................................................................... 5-21
Clean Up Disk Space .................................................................................................................. 5-21
Download Only Source Code of Package ....................................................................................... 5-21
Download and Unpack a Package ................................................................................................ 5-21
Download, Unpack, and Compile a Package .................................................................................. 5-21
Download a Package Without Installing ........................................................................................ 5-22
Check a Package’s Change Log ................................................................................................... 5-22
Check Broken Dependencies ....................................................................................................... 5-22
Search and Build Dependencies ................................................................................................... 5-22
Auto Clean Apt-Get Cache .......................................................................................................... 5-22
Auto Remove Installed Packages ................................................................................................. 5-22
6. Programmer’s Guide ......................................................................................................................... 6-1
Linux Tool Chain Introduction ............................................................................................................... 6-2
Native Compilation ...................................................................................................................... 6-2
Cross Compilation ....................................................................................................................... 6-3
Obtaining Help ............................................................................................................................ 6-5
Test ProgramDeveloping Hello.c ......................................................................................................... 6-5
Compiling Hello.c with Native Compilation ...................................................................................... 6-5
Compiling Hello.c with Cross Compilation ....................................................................................... 6-6
Makefile Example ................................................................................................................................ 6-7
Modbus ............................................................................................................................................. 6-7
RTC (Real Time Clock) ......................................................................................................................... 6-7
WDT (Watch Dog Timer) ...................................................................................................................... 6-9
Cryptographic Hardware Accelerator ................................................................................................... 6-10
Diagnostic LED ................................................................................................................................. 6-10
Turning on the LEDs .................................................................................................................. 6-10
Turning off the LEDs .................................................................................................................. 6-10
Blinking the LEDs ...................................................................................................................... 6-10
Using cell_mgmt ............................................................................................................................... 6-11
Main Page ................................................................................................................................ 6-12
Automatic Dial-Up ..................................................................................................................... 6-13
Cellular Module ......................................................................................................................... 6-13
The cell_mgmt at Command] ...................................................................................................... 6-15
SIM Card .................................................................................................................................. 6-15
GPS ......................................................................................................................................... 6-16
Cellular Management ................................................................................................................. 6-16

Содержание

Скачать