User`s manual
Loading Factory Defaults........................................................................................... 3-5
Enabling and Disabling Daemons............................................................................................ 3-5
Setting the Run-Level.............................................................................................................. 3-8
Adjusting the System Time...................................................................................................... 3-9
Setting the Time Manually......................................................................................... 3-9
NTP Client................................................................................................................ 3-10
Updating the Time Automatically............................................................................ 3-10
Cron—daemon to Execute Scheduled Commands .................................................................3-11
Connecting Peripherals...........................................................................................................3-11
CF Mass Storage ...................................................................................................... 3-11
Chapter 4 Managing Communications ........................................................................4-1
Telnet / FTP ............................................................................................................................. 4-2
DNS ......................................................................................................................................... 4-2
Web Service—Apache............................................................................................................. 4-3
Saving a Web Page to the CF Card ............................................................................ 4-5
IPTABLES............................................................................................................................... 4-6
NAT........................................................................................................................................ 4-10
NAT Example .......................................................................................................... 4-10
Enabling NAT at Bootup.......................................................................................... 4-11
Dial-up Service—PPP.............................................................................................................4-11
PPPoE .................................................................................................................................... 4-14
NFS (Network File System)................................................................................................... 4-17
Setting up UC-7402 as an NFS Server..................................................................... 4-17
Setting up UC-7402 as an NFS Client...................................................................... 4-19
Mail........................................................................................................................................ 4-19
SNMP .................................................................................................................................... 4-20
Open VPN.............................................................................................................................. 4-21
Chapter 5 Programmer’s Guide....................................................................................5-1
Flash Memory Map.................................................................................................................. 5-2
Linux Tool Chain Introduction................................................................................................. 5-2
Debugging with GDB.............................................................................................................. 5-5
Device API............................................................................................................................... 5-5
RTC (Real Time Clock)........................................................................................................... 5-5
Buzzer...................................................................................................................................... 5-6
WDT (Watch Dog Timer) ........................................................................................................ 5-6
Make File Example................................................................................................................ 5-10
Appendix A System Commands..................................................................................... A-1
Linux normal command utility collection............................................................................... A-1
File manager.............................................................................................................. A-1
Editor......................................................................................................................... A-1
Network..................................................................................................................... A-1
Process....................................................................................................................... A-2
Other.......................................................................................................................... A-2
Moxa special utilities................................................................................................. A-2