InBOX700 Series
(Debian)
User Manual
InHand Networks
Version: v1.0
October 2021
Copyright © 2021-2023 All rights reserved by InHand Networks Technology Co., Ltd. and its licensors. Without the written permission of the company, no unit or individual may excerpt or reproduce part or all of the content of this book, and shall not distribute it in any form.
Due to product version upgrades or other reasons, the content of this manual may change. Please refer to the actual situation of the product for details. InHand reserves the right to modify the content of this manual without any notice or hint. This manual is only intended as a guide. InHand Networks does its best to provide accurate information in this manual, but does not guarantee that the content of the manual is completely error-free. All statements, information, and suggestions in this manual do not constitute any express or implied guarantee.
Welcome to use InBOX/InPAD series from InHand Networks, this user manual will guide you in detail how to use this product. Note that most of the examples in this brochure will use one of the products in this series as a demonstration.
This manual is mainly applicable to the following persons:
Conventions in the Manual
1. Format Conventions on Command Line
2. Format Conventions on Command Line
3. Various Signs
The manual also uses a variety of eye-catching signs to indicate the places to which special attention should be paid in operation. The significances of these signs are as follows:
Technical Support
E-mail: support@inhandneworks.com
Information Feedback
If you have any question on product information in use, you can feed back through the following ways: E-mail : info@inhandnetworks.com
Thanks for your feedback to let us do better!
InBOX700 series is a 4G smart terminal introduced by InHand for the smart business and industrial sectors. It supports multiple network access methods, including 3G/4G, Wi-Fi, and wired connections, providing ubiquitous and uninterrupted internet access. This helps customers collect and organize local data, which can be instantly uploaded to third-party cloud management platforms, enabling remote monitoring and management through cloud-based solutions. Equipped with the RK3399 processor and a rich set of peripheral interfaces, it perfectly caters to the diverse application needs of most customers. The entire series adopts an industrial-grade design, ensuring a higher level of stability and reliability, capable of adapting to various environments and working conditions. This guarantees the continuous and stable operation of devices, reducing downtime and delivering ongoing value to customers.
Application Diagram
Note: Due to differences in product models and accessory selection, the following items may, but are not required, be included in the package.
This series has a metal shell and a protection level of IP40. Please refer to the appearance of some models (Figure 1-3-1).
Figure 1-3-1-1 710
Figure 1-3-1-1 712
Figure 1-3-1-1 730
Figure1-3-2 730
The InBOX700 series is mainly divided into three types of devices: InBOX710, InBOX712, InBOX710-DS, and InBOX730. The peripheral interfaces of the devices are as follows:
Figure1-3-2-1 RS485
Figure1-3-4
Figure1-3-4-1 InBOX710 Dimensions
Figure1-3-4-2 InBOX712 Dimensions
Figure1-3-4-3 InBOX710-DS Dimensions
Figure1-3-4-4 InBOX730 Dimensions
This series of products also adopts wall-mounted installation method
Note: Ground the device to improve its immunity to interference. Depending on the environment of use, connect the ground wire to the grounding post of the device.
Figure2-3
The OTA upgrade package needs to be obtained from Inhantong technical support.
Method 1. Upgrade via USB disk:
Place the image file to be upgraded (the file name must be update.img) in the root directory of the USB flash drive, insert the device and enter the Recovery mode (refer to the 3.10 MODE button section), select <apply update from udisk> and perform subsequent operations, as shown in the figure 3-1. This method is mainly used when the system firmware is too large or the Debian system cannot be started.
Figure3-1
Method 2: Upgrade via command:
Push the firmware to be upgraded (the file name must be update.img) into the /userdata directory and use the "update ota" command to upgrade.
Note that when the ota package is larger than the userdata partition, it needs to be updated through udisk. Backing up a Debian system takes up a lot of space, which reduces the user's available space.
The InBOX 700 series is capable of self-adaption of screen resolution, and the screen resolution can be modified. The modification method is as follows:
Click on the icon in the lower left corner of the desktop, click "Preferences >> Monitoring settings", open the resolution setting dialog box "Display Setting", and select the corresponding resolution according to your own screen, as shown in Figure 3-2-1-1.
Figure 3-2-1-1
When the resolution is selected, click the <Apply> button to pop up the confirmation dialog box, and click <OK>, as shown at Mark 1 in Figure 3-2-1-2. Finally, click <Save>, as shown at Mark 2 in Figure 3-2-1-2, to complete the setting.
Figure 3-2-1-2
InBOX 700 Ethernet does not support graphical interface configuration, which needs to be modified and confirmed by command configuration. View through "cat /etc/network/interfaces". The default address is 192.168.2.2, as shown in Figure 3-3-1.
Make modifications through command "vi /etc/network/interfaces".
View command : cat /etc/network/interfaces
As shown in Figure 2-2-1, the current address of this machine is 192.168.2.2 (default)
Figure 3-3-1
You can modify the configuration file directly to modify the IP.
Modify command: vi /etc/network/interfaces
Specific VI commands are not repeated here.
The InBOX 710-DS、InBOX730device contains two network ports, both of which are LANs by default. If you need to switch one of them to WAN, you need the following configuration:
Switch LAN1 to WAN:
systemctl unmask ih_vlan
systemctl enable ih_vlan
Restoration step (switch WAN back to LAN1):
1.If your device is InBOX710-DS
After switching LAN1 to a WAN port, you need to configure the IP.
WAN interface: wan0 and LAN2 interfaces: Lan0
ifconfig wan0 <specify ip> netmask <specify mask>//set IP and mask
route add default gw <specify gateway>//set gateway
2. If your device is InBOX730, you can refer to the following configuration to modify the /etc/network/interfaces file.
auto eth0
iface eth0 inet manual
auto wan0
iface wan0 inet static
address 192.168.10.2
netmask 255.255.255.0
gateway 192.168.10.1
dns-nameserver 192.168.10.1 8.8.8.8
vlan-raw-device eth0
auto lan0
iface lan0 inet static
address 192.168.2.2
netmask 255.255.255.0
vlan-raw-device eth0
Make sure the Wi-Fi antenna is connected before enabling WLAN interface.
Right-click on the red circle at the bottom right of the desktop, select <Enable Wi-Fi>, and turn on WiFi, as shown in Figure 3-4-1.
Figure 3-4-1
Left-click on the same location to display the WIFI list. The SSID and security settings (open network or WPA/WPA2 protection) of surrounding WiFi networks will be automatically scanned in the WiFi list, and one of the WiFi networks will be selected for connection. When encrypted network is selected, the password input dialog box will pop up automatically. Enter the password and click Connect. As shown in Figure3-4-2.
Figure 3-4-2
The InBOX 700 series supports automatic matching with APN and dial-up networking. At the same time, some parameters of Debian version can be modified to meet various customer needs.
Before using the function, you need to use the "sudo-s" command to get root permission.
If your SIM card cannot access the Internet through automatic dial-up, you need to set the APN:
nvram set wan1_ppp_apn=vzwinternet //Set the apn of SIM card 1
nvram unset wan1_ppp_apn //apn is not set
InBOX 710-DS needs to configure SIM2:
nvram set wan1_ppp_sim2_apn=vzwinternet //Set the apn of SIM card 2
nvram unset wan1_ppp_sim2_apn //apn is not set
When a total of 30 dialing failures occur, the device automatically resets the modem to try to recover from the failure. You can also modify it through the following command.
nvram set max_ppp_redial=30
When a total of 120 registered network failures occur, the device will automatically restart the dial-up service to try to recover from the failure. You can also modify it through the following command.
nvram set max_modem_reset=120
nvram set dual_sim_enable=1 //Enable dual card function
nvram set dual_sim_enable=0 //Disable dual card function
nvram get dual_sim_enable
Priority SIM card can be set:
When the device starts (the dial-up service is restarted after failure for 120 times), it will detect the currently set priority SIM card and switch to the designated card first;
nvram set dual_sim_main=0 //specify sim1
nvram set dual_sim_main=1 //specify sim2
nvram get dual_sim_main
Trigger condition of dual card switching: maximum number of network registration retries
When the SIM card connection fails for 5 times, it will automatically switch to SIM2 and dial up for networking. You can modify it through the following command.
nvram set dual_sim_max_retry=5 //Set the number of retries specified
nvram get dual_sim_max_retry
InBOX710-DS and InBOX712 support Bluetooth connection as follows:
Click the icon in the lower left corner of the desktop, click "Preferences>>Bluetooth Manager", open the Bluetooth connection interface "Bluetooth Devices", and click <Search> to search for nearby Bluetooth devices, as shown at Mark 1 in Figure 3-6-1.
Figure 3-6-1
Equipment pairing
Find the target device in the search results, right-click the target device, and click <Pair> for pairing. After successful pairing, the pairing identification will be displayed in the upper left corner of the target device, as shown at mark 2 in Figure 3-6-2.
Figure 3-6-2
File transfer
Find the target device in the search results, right-click the target device, and click <Send a File> as shown in Figure 3-6-3. In the pop-up selection box, select the file to be transferred, as shown in Figure3-6-4, and double-click to start the transfer.
Figure 3-6-3
Figure 3-6-4
Click on the red circle icon in the lower left corner of the desktop to view the files and folders of the system; and you can view external storage.
It mainly tests whether the serial port communication on InBOX700 works normally. Connect the serial port on the InBOX 700 to the serial port on the PC through a serial line, as shown in Figure 3-8-1.
Figure 3-8-1
The connection here is ttyO2. View the connected serial port on the PC through the Device Manager, as shown in Figure 3-8-2.
Figure 3-8-2
It can be seen from the figure that COM4 is connected to the PC machine. Open 232 serial port ttyO2 through the command "sdebug/dev/ttyO2", as shown in Figure 2-8-3.
Figure 3-8-3
Open the Serial Port Assistant on the PC, set the port to COM4, and configure the baud rate to be consistent. Click the triangle icon in the upper left part to open the serial port, as shown in Figure3-8-4.
Figure 3-8-4
Enter www.inhand.com.cn in the Send area of the PC Serial Port Assistant and click Send. You can see the corresponding characters in the APP, as shown in Figure 3-8-5.
Figure 3-8-5-PC Sending
Figure 3-8-6 Receiving
When the device is powered on, press the On/Off button for 10 seconds and then release it to shut down.
When the device is powered on and turned off, press the power button again to start up.
Mode button is a customized button of InHand. After booting normally, your developer can customize to implement the button function, which is Keycode: 88, KeyName: Mode.
InHand realization function: Press this button to power on to enter Recovery mode. You can choose to erase user data and upgrade the system, as shown in Figure 3-10-1. Use the mode button again to move up and down, and click the power button to confirm.
Figure 3-10-1
InBOX 700 supports adb, but it is not turned on by default
Enable conditions: ih_factory file is required (without suffix, the content is empty), and the file needs to be in the root directory of U disk. You can access the device through "adb shell" by inserting the U disk into the device and powering on the device.
Through command "cat/etc/inbox_version", you can view the firmware version number of InHand, as shown in Figure 3-11-1.
Figure 3-11-1
Through command "cat/sys/class/net/eth0/address", you can view the MAC address, as shown in Figure 3-11-2.
Figure 3-11-2
nvram get _cur_sim
nvram get _sim0_iccid //get sim1 iccid
nvram get _sim1_iccid //get sim2 iccid
nvram get _wan1_iccid //get current sim iccid
Note: You can get the imei by all the three methods, but they all point to the same value because there is only one modem.
nvram get _sim0_imei
nvram get _sim1_imei
nvram get _wan1_imei
nvram get _sim0_imsi
nvram get _sim1_imsi
nvram get _wan1_imsi
nvram get _sim0_siglevel
nvram get _sim1_siglevel
nvram get _wan1_siglevel
nvram get _sim0_sigrssi
nvram get _sim1_sigrssi
nvram get _wan1_sigrssi
3.11.9 plmn(Public Land Mobile Network Code)
nvram get _sim0_plmn
nvram get _sim1_plmn
nvram get _wan1_plmn
nvram get _sim0_network_type
nvram get _sim1_network_type
nvram get _wan1_network_type
nvram get _sim0_lac
nvram get _sim1_lac
nvram get _wan1_lac
nvram get _sim0_cellid
nvram get _sim1_cellid
nvram get _wan1_cellid
nvram get _sim0_vendor_id
nvram get _sim1_vendor_id
nvram get _wan1_vendor_id
nvram get _sim0_product_id
nvram get _sim1_product_id
nvram get _wan1_product_id