All other trademarks or registered trademarks in this manual belong to their respective manufacturers. Disclaimer InHand Networks reserves the right to change this manual, and the product is subject to subsequent changes without prior notice. We will not be responsible for any direct, indirect, intentional, or unintentional damages and hidden dangers caused by improper installation and use. ...
In this chapter, we will cover the hardware installation instructions for the EC900 series of edge computers based on the Arm architecture. 2.1 Introduction The following sections describe the application of external connectors and pin distribution of the EC942 series, using the EC942 series as an example. 2.2 EC942 panel...
Page 6
Green light: LINK indicator, 1000M interface is on for the end device, and 10/100M interface is off for the end device. Yellow light: ACT light, flashing when there is data 2.3.2 Serial port EC942 supports two-channel serial port, support RS-232 or RS-485 or RS-422 communication, software can be configured. DB9 pin Pin name...
Page 7
RS-485 signal A/RS-422 receive positive RS-422 TxD- RS-422 send negative 2.3.3 CAN EC942 has 1-way CAN bus interface and supports CAN 2.0A/B standard. It is compatible with CAN FD and can achieve a maximum rate of 5Mbps. Signage Features CAN_H...
Page 8
DGND Ground end 2.3.6 USB The EC942 provides two USB 2.0 Host ports. 2.3.7 LED EC942 has 12 LED lights to indicate the power supply and system operation status respectively. Signage Name Definition Power indicator Power on and always on...
Page 9
User Programmable indicator light 2 controlled by user programming 4G/5G Cellular connection status indicator Keep on after successful dialing Cellular signal strength See Cellular Signal Strength Indicator Cellular signal strength instructions Cellular signal strength Cellular signal strength indicator https://help.inhand.com/portal/en/kb/articles/ec900...
The EC942 supports 12 to 48V DC input 2.3.10 SIM card slot The EC942 supports 2 SIM card slots, the SIM card needs to be installed with power off, the SIM card is pressed into the slot. 2.3.11 MicroSD card slot...
The EC942 has a slot for the MircoSD card, SD does not support hotplug and needs to be plugged in and out with power off. After inserting the SD card and powering up the device, the system will automatically mount all partitions.
2.3.15 mSATA hard disk interface EC942 supports mSata hard disk, and the factory does not come with mSata hard disk by default. If users have large capacity storage requirements, they need to buy mSata hard disk from themselves, or they can consult Inhantel for mSATA purchase.
ETH2:192.168.4.0/24. Use the ssh command to access the ETH1 port of the EC900 on a Linux PC. Type yes to continue to complete the connection. When the terminal prompt edge@edge-computer:~$appears and shell commands can be entered, the connection is successful. https://help.inhand.com/portal/en/kb/articles/ec900...
Make the following steps on your Windows PC Click the link http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html, download PuTTY (free) software, SSH command in Windows environment to establish a connection to the edge computer EC900. The following is an example of using SSH to connect: https://help.inhand.com/portal/en/kb/articles/ec900...
(the default login environment for test1 users is bash and their home directory is /home/test1) To change test1's password, use the passwd command, enter the new password and repeat to confirm the change https://help.inhand.com/portal/en/kb/articles/ec900...
Page 16
3.3 Network administration and system administration The EC942 is based on debian 10, so native Linux commands can be used for network management and system administration; In order to facilitate user configuration, InHand has developed a set of IEOS system programs, providing a web interface, users can easily through the web network management and system management, but it should be noted that when the IEOS function is enabled, IEOS will take over the network management and system management.
9100 to 9200. After IEOS is enabled, client programs should avoid using these port numbers, or it may cause conflicts and malfunction. 3.3.1.2 Network management 3.3.1.2.1 Configuring the Ethernet interface Configure the eth1 interface with a static IP address https://help.inhand.com/portal/en/kb/articles/ec900...
Page 18
Configure the eth1 interface with a DHCP Client Start the dhcp server function on the eth1 interface and assign an address to the eth1 unhooked device DHCP Server configuration parameters description: Enable DHCP Server: The switch of DHCP Server function https://help.inhand.com/portal/en/kb/articles/ec900...
Page 19
The default route is enabled. Metric: This is the metric for the default routing of the cellular port. When default routing is configured on the cellular, Wi- Fi, and Ethernet ports, the metric with the lowest value is used. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 20
Dual SIM Enabled: Dual Sim enabled. In order to improve the reliability of the network, EC942 supports dual SIM and single dial. Two sim cards need to be inserted into the device. If the sim1 card fails to dial because of unpaid charges, it will automatically switch to the sim2 card for dialing.
Page 21
The dialing program will check the signal strength at regular intervals; here, the signal detection period is configured. 3.3.1.2.3 Configure the Wi-Fi Station Enable Wi-Fi: Enable the switch; Off by default https://help.inhand.com/portal/en/kb/articles/ec900...
Page 22
Metric value of the default route is different. Static route configuration parameters: Interface: The outgoing interface of the static route Target: The target network Netmask: The target network mask Gateway: Next hop address Metric: The metric for the static route 3.3.1.2.5 Configuring the firewall https://help.inhand.com/portal/en/kb/articles/ec900...
Page 23
3.3.1.2.6 Configuring DNS DNS Servers: DNS Server address, up to 4 can be configured Domain name hijacking: Domain name hijacking function, can realize the binding between IP address and domain name. 3.3.1.2.7 Network diagnostics Network diagnostics support ping, traceroute and nslookup functions. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 24
Enabled: the enable switch that connects to the DeviceLive platform; DeviceLive is the remote monitoring and management platform of InHand equipment; Cloud Server: DeviceLive platform has 2 addresses; One is the address of the domestic platform, the other is the address of the overseas platform;...
(the time of accessing the computer used by the device) differ by more than 3s, this synchronization button will be displayed. Configuration import, export and factory restore are supported here. 3.3.1.3.2 Firmware upgrade https://help.inhand.com/portal/en/kb/articles/ec900...
3.3.1.4 Status 3.3.1.4.1 Equipment information The device information status page shows the hostname, device model, serial number, firmware version, kernel version, file system version and an overview of CPU, memory and disk space usage. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 27
The Wi-Fi status page shows the IP address, gateway, and DNS information obtained after the Wi-Fi connection was successful. 3.3.1.4.4 DHCP Server status information The DHCP Server status page shows the assigned IP address of the device as a DHCP Server, the client hostname, the client host mac, and the expiration time. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 28
3.3.1.4.5 Route state information The route status page displays IPv4 direct route, static route and route neighbor information. 3.3.1.4.6 Firewall status information Firewall status information shows filtering rules, IP address mapping rules and other information. https://help.inhand.com/portal/en/kb/articles/ec900...
The log page can view the system log, user log and set the log level, including Error, Info, Debug and other levels. Logs can also be downloaded locally. 3.3.2 Linux-based command-line management When using the Linux command line for network and system configuration, the first thing you need to do is close the IEOS program. IEOS is managed through systemctl, https://help.inhand.com/portal/en/kb/articles/ec900...
3.3.2.1 Network management 3.3.2.1.1 Set up a static IP address If you want to set static IP address for EC942, through the command vim/etc/network/interfaces. D/eth1 or vim/etc/network/interfaces. D/for eth2 modify the corresponding network configuration file to the default gateway for Ethernet interface, address, Network and subnet mask. As an example, let's set a static IP address for the eth2 port: After changing the interface IP configuration, run /etc/init.d/networking restart to restart the network service for the...
To determine the amount of available drive space, use the df command with the -h option. The system will return the amount of drive space broken down by file system. For EC942 products, the disk partition available to the user is /dev/mmcblk0p8. Here's an example:...
Page 32
EC942 has two time Settings. One is system time and the other is RTC (Real Time Clock) time, which is maintained by the hardware of the EC942. Use the date command to query the current system time or to set a new system time. Use the hwclock command to query the current RTC time or set a new RTC time.
Page 33
3.3.2.3.5 set time zone There are two ways to configure the time zone for EC942. One is to use the command tzselect. The other is to use the /etc/localtime file. 3.3.2.3.6 Use the tzselect command When you type the tzselect command, you will be taken to the area selection screen. Select the approximate area (divided by continent and ocean) and enter the number in front of the continent or ocean...
Arm architecture. 4.1 Serial Port EC942 has 2 serial ports, each of which supports RS-232, RS-422 and RS-485 multiple serial port modes. The default serial port mode is RS-232, and the serial port mode can be switched by using ih_uart_ctl command.
Page 35
4.1.1 Change the serial port Settings View and set the serial port with the stty command To see the details, type sudo stty --help: https://help.inhand.com/portal/en/kb/articles/ec900...
Page 38
4.1.2 View serial port information: 4.1.3 Set the baud rate of COM1 serial port: 4.1.4 Set the baud rate of COM2 serial port Note https://help.inhand.com/portal/en/kb/articles/ec900...
Details about the stty command are available at the following link http://www.gnu.org/software/coreutils/manual/coreutils.html 4.2 the USB interface EC942 provides two USB 2.0 Host interfaces, which are mainly used to expand storage devices and connect to mice and keyboards 4.2.1 USB auto-mount EC942 supports USB storage device hotplugging. It will mount all partitions automatically. EC942 will mount all USB storage device partitions to the /mnt/ path with the mount folder named usb_<node>_<num>.
Page 40
4.2.3 mSATA hard disk mounts automatically (1) Log in to the system, run sudo fdisk -l, find your hard disk partition, as shown below is /dev/sda1 https://help.inhand.com/portal/en/kb/articles/ec900...
Page 41
Format the partition to the desired filesystem, such as ext4 https://help.inhand.com/portal/en/kb/articles/ec900...
Then configure the bit rate (here's a 50k bit rate example) : Finally turn the device back on 4.4 IO Debugging The EC942 supports 4-way DI and 4-way DO. When you want to use IO port, please type dio_mgmt command to control io input and output. Usage of dio_mgmt: https://help.inhand.com/portal/en/kb/articles/ec900...
1. Turn off the device by long pressing the on/off button for 8 seconds 2. You can use Linux commands to shut down all software running on the device and stop the system. However, after running this command, major components such as CPU, RAM, and storage devices will lose power. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 44
Netfileter/iptables is an excellent and free firewall tool based on packet filtering which comes with nuix/linux system. It is very powerful and flexible, and can control the data packets flowing in, out and through the server in fine detail. 5.3 TPM2.0 https://help.inhand.com/portal/en/kb/articles/ec900...
Usb key (SD card) partitions need to be formatted in FAT32 format. This document takes upgrading EC942-V2.0.0.img as an example to explain. Create an empty ec900_img directory in the root directory of the U disk (SD card), and put the EC942-V2.0.0.img file and md5.txt file published by inhand into the ec900_img directory.
Insert the USB key (SD card) into the target EC900 device. The target device will automatically verify the EC942- V2.0.0.img file and perform OTA upgrade. The WARN and ERROR lights will be displayed accordingly during the upgrade. When WARN and ERROR return to normal, the upgrade operation is complete. Because the img file is large, it will take a long time to upgrade.
The full shell script: 7.2 Led Programming Guide On the device, the user can use the two lights USER1 and USER2 to indicate the status. Please check the lamp label to confirm the position of the two lights USER1 and USER2. https://help.inhand.com/portal/en/kb/articles/ec900...
Page 52
A user's own c/ C ++ program can be cross-compiled by using the cross-compilation toolchain on the development machine, and then the object file is uploaded to the EC942 device for execution. Cross-compiler package: gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.gz Here's how to configure the environment variables for the cross-compilation toolchain: Unzip gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.gz to /opt on your development machine (you can also...
Page 53
$(CC) $(CFLAGS) $(LIBS) -C $< -o $@ # Define command to clear temporary files clean: rm -f $(TARGET) $(OBJS) # declare pseudo target ".PHONY" .PHONY: all clean Run make in the ~/example directory to generate the object file helloworld https://help.inhand.com/portal/en/kb/articles/ec900...
Need help?
Do you have a question about the EC942 and is the answer not in the manual?
Questions and answers