5 Configuring System
ED-HMI2120-101C User Manual 5-29
ifconfig
5.7.2.2 Scenarios With APN Configuration
If the user's 4G network needs to be configured with APN, it can be configured with reference to the
following steps.
Steps:
1. Get the name of APN (for example, APN22).
2. Execute the following command to enable the "lte-reconnect.service" service.
sudo systemctl enable lte-reconnect.service
3. Execute the following command to start the "lte-reconnect.service" service and make
automatic dialing.
sudo systemctl start lte-reconnect.service
4. Execute the following command to check the status of the wwan interface.
ifconfig
5. Execute the following command to open /usr/share/ed-ec20-qmi/lte-reconnect.sh file.
sudo nano /usr/share/ed-ec20-qmi/lte-reconnect.sh
6. Change the dialing command "$BSP_HOME_PATH/quectel-CM -4 -f $LOGFILE &" to
"$BSP_HOME_PATH/quectel-CM -4 -f $LOGFILE -s apn22 &". Where "apn22" is the name
of the obtained APN.
7. Use Ctrl+X to save the file and exit edit mode.
8. Execute the following command to restart the "lte-reconnect.service" service.
sudo systemctl restart lte-reconnect.service
5.7.3 Configuring 4G Module Reset
When the device fails to recognize the SIM card, you can reset the 4G module through the command
line.