IDP3.0 Issue

From ESS-WIKI
Jump to: navigation, search
Issue Root Cause How
Luci Web UI can not show modem info Bug in: /lib/network/usb-modem.sh Method1: Relpace the "usb-modem.sh"

0. Prepare a USB disk
1. Copy the usb-modem.tar to USB disk
2. Insert the USB to ARK-2151S platform that had booted up with IDP3.0 image.
3. Check device name of this USB disk:

#fdisk -l 
example: /dev/sdc

4. Copy the file to target system

#cp /media/sdc/usb-modem.tar .

5. unzip the tar file

# tar xvf usb-modem.tar

6. replace the /lib/network/usb-modem.sh

#cp ./usb-modem.sh /lib/network/usb-modem.sh

7. reboot & confirm luci web page does show 3g modem information

Method 2: Replace $project/layers/wr-idp/wr-idp-devkit/recipes-core/netifd/files/lib/network/usb-modem.sh

3G module will loss (1.connect to internet, 2. warm reboot, 3. usb interface ) system doesn't disconnect connection in shutdown Replace the attached netifd.service and netifd-systemd-wrapper (in 3g_loss_issue.zip ) to the following files:

netifd-systemd-wrapper under /sbin/ netifd.service under /lib/systemd/system/