Moxa Technologies UC-7110 Configuring PPPoE, How to Mount a Remote NFS Server, Dial-in Service

Page 41

UC-7110 Series User’s Manual

Configuring UC-7110

ATTENTION

If dial out fails, the pppd connection will be blocked, and the user will need to shut down the pppd, and re-dial. Since the return value is always OK (regardless of whether or not the connection is blocked), the AP must be set up to check the network status to determine if the connection is complete.

Dial-in Service

Direct cable connection:

yUse either of the following:

/>pppd <Local_IP_Address>:<Remote_IP_Address> /dev/ttyM1 38400 local crtscts

or

/>pppd <Local_IP_Address>:<Remote_IP_Address> /dev/ttyM0 38400 local crtscts login auth

Connect Using a Modem:

yUse:

/>pppd connect ‘chat –v AT CONNECT’

<local_IP_Address>:<Remote_IP_Address> /dev/ttyM0 38400 crtscts login auth

Configuring PPPoE

PPPoE relies on two widely accepted standards: PPP and Ethernet, which permits the use of PPPoE(Point-to-Point Over Ethernet).

PPPoE is a specification for connecting users on an Ethernet to the Internet through a common broadband medium, such as a single DSL line, wireless device or cable modem, used by many ADSL service providers. All users on the Ethernet share a common connection, so the Ethernet principles that support multiple users on a LAN combine with the PPP principles, which apply to serial connections.

yCreate the Connection:

/>pppd pty "pppoe -I <ETHERNET_INTERFACE> -m 1412" user <USER_NAME> password <USER_PASSWORD>&

<ETHERNET_INTERFACE>: Ethernet card connected to ADSL modem, for example, eth0

<USER_NAME>: User account, for example, moxa@adsl.net

<USER_PASSWORD>: Password for user account

If the PPPoE is successfully connected and get IP, you may check by the command below.

y/>ifconfig ppp0

How to Mount a Remote NFS Server

Currently, UC-7110 only supports NFS (Network File System) clients. Users can open NFS service on a Linux PC for UC-7110 to push data to. UC-7110 can use NFS to mount a remote disk as a local disk for data or log purposes.

4-9

Image 41
Contents Second Edition, July UC-7110 Series User’s ManualCopyright Notice Table of Contents Chapter UC-7110 Device API Introduction Overview Package ChecklistProduct Features Hardware Specifications UC-7110-LX Product SpecificationsKernel, Root File System Read Only Software Specifications UC-7110-LXJFFS2 File System User Directory Read / Write Appearance Hardware Block DiagramEthernet RS-232/422/485Dimensions UC-7110 Installing UC-7110Wiring Requirements LED IndicatorsConnecting the Power Connecting Data Transmission CablesConnecting to the Network Grounding UC-7110Serial Console Port Connecting to a Serial DeviceAdditional Functions Reset ButtonReal Time Clock Getting Started Console Port Powering on UC-7110Connecting UC-7110 to a PC Login root Password root Default IP Address Default NetmaskTelnet 192.168.3.127 255.255.255.0Ifconfig eth0 192.168.3.127 ifconfig eth1 Configuring the Ethernet InterfaceIfconfig eth0 Developing Your Applications Installing the UC-7110 Tool ChainStep #mount /dev/cdrom /mnt/cdrom#make Compiling Hello.cPATH=/usr/local/arm-elf/bin$PATH #ftp Ftp cd /home Ftp bin Ftp put ./hello Ftp quit #telnet Uploading Hello to UC-7110# df -k or # df Running Hello on UC-7110# chmod 755 hello #./hello Suffixes Make File Example CodeUC-7110 Series User’s Manual Software Package UC-7110 Software Architecture Additional information about Romfs is available at Read-Only File System RomfsJournaling Flash File System JFFS2 Additional information about JFFS2 is available at UC-7110 Software PackageUC-7110 Series User’s Manual Software Package ‰ Iptables ‰ NAT Configuring UC-7110Inetd Example default enableEnabling and Disabling Daemons Iptables Adding a WebSub-tables Local Host Packets Examples Usage# iptables -A Input -i eth0 -p tcp --dport 25 -j LOG NAT ExampleEnabling NAT at Bootup Configuring Dial-in/Dial-out ServiceDial-out Service Pppd connect ‘chat -v’ /dev/ttyM0 38400 crtsctsHow to Mount a Remote NFS Server Configuring PPPoEDial-in Service Ifconfig ppp0Upgrading the Kernel & Root File System Ramdiskftp destination PC’s IP Login Name Login PasswordHome/usr 192.168.3.1 rw,norootsquash,noallsquash UpramdiskFtp bin Ftp get uc7110-1.x.x.bin Ramdiskupkernel uc7110-1.3.11.bin /ramdiskrebootUpgrading the User Directory Upramdisk Cd ramdisk Ramdiskbackupfs /ramdisk/usrdisk-backup User Directory Backup-UC-7110 to PCMirroring the Application Program and Configuration Loading Factory DefaultsHow to Autostart User Applications on Bootup Checking the Kernel and User Directory VersionsUC-7110 Device API Uart Interface RTC Real Time ClockBuzzer UC Finder Windows UC Finder UC-7110 Series User’s Manual UC Finder UC-7110 Series User’s Manual UC Finder Linux ucfinder Busybox V0.60.4 µClinux normal command utility collection System CommandsFile manager EditorProcess NetworkOther Moxa Special UtilitiesSnmp Agent with MIB II & RS-232 Like Group Ip MIB Tcp MIB Udp MIB Snmp Agent with MIB II & RS-232 Like GroupRFC1317 RS-232 like group supported variables Rs232 MIB Snmp MIBAnswer 3 arm-elf-gcc -W1, -elf2flt FAQ for UC-7110UC-7110 Series User’s Manual FAQ for UC-7110 Service Information Following services are provided Moxa Internet ServicesMoxa Product † UC-7110 Serial Number Problem Report FormProduct Return Procedure

UC-7110 specifications

The Moxa Technologies UC-7110 is a powerful and versatile computing platform designed for industrial applications and IoT (Internet of Things) deployments. It represents a compelling solution for edge computing needs, with an emphasis on reliability, flexibility, and ease of integration. The UC-7110 offers a compact form factor, making it suitable for space-constrained environments while delivering robust performance.

One of the UC-7110's main features is its Intel Atom E3825 processor, which provides a balance of power efficiency and computational capability, ensuring it can handle the demands of data processing tasks at the edge. With 1GB of DDR3 RAM and support for up to 32GB of onboard eMMC storage, the UC-7110 can efficiently manage applications that require quick access to data without the need for extensive external storage devices.

The UC-7110 also stands out for its extensive connectivity options. It is equipped with multiple serial ports, digital input/output (DIO), USB ports, and Ethernet interfaces, allowing seamless integration with a wide range of industrial devices and protocols. This connectivity is crucial for real-time data acquisition and control in various industrial settings. The device also supports optional wireless communication modules, including LTE, Wi-Fi, and Bluetooth, enhancing its suitability for remote and mobile applications.

In terms of software capabilities, the UC-7110 operates on a Linux-based operating system, providing users with the flexibility to develop custom applications tailored to their specific needs. Moxa also provides the MXIO library, which simplifies the programming of input/output operations, making it easier for developers to create robust and responsive applications.

The UC-7110 is designed to endure harsh industrial environments, featuring wide operating temperature ranges from -40°C to 70°C and IP30-rated protection against dust and moisture. This ruggedness ensures reliable performance in challenging conditions, which is critical for industries such as manufacturing, transportation, and energy.

Additionally, the device supports various industrial protocols like Modbus, MQTT, and OPC UA, facilitating integration into existing systems and enabling efficient data communication across different platforms. This compatibility is vital for leveraging existing infrastructure while adopting modern IoT solutions.

In summary, the Moxa UC-7110 is a robust, versatile edge computing solution ideal for industrial IoT applications. Its combination of powerful processing, extensive connectivity options, software flexibility, and rugged design makes it a valuable asset for organizations seeking to enhance their operational efficiency and adapt to evolving technological demands. Whether in manufacturing, smart cities, or remote asset monitoring, the UC-7110 provides the necessary tools to unlock new possibilities in industrial connectivity and data management.