[FS#1252] No IP Assigned to Interface with QMI on Quectel EC-25A
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Mar 26 07:59:05 PDT 2018
The following task has a new comment added:
FS#1252 - No IP Assigned to Interface with QMI on Quectel EC-25A
User who did this - Evren Yurtesen (yurtesen)
----------
No, it does not work as it is. But it works if I remove `${autoconnect:+--autoconnect}` from it.
root at OpenWrt:~# wget https://bugs.openwrt.org/index.php?getfile=458
--2018-03-26 14:46:47-- https://bugs.openwrt.org/index.php?getfile=458
Resolving bugs.openwrt.org... 148.251.78.235, 2a01:4f8:202:43ea::3
Connecting to bugs.openwrt.org|148.251.78.235|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9433 (9.2K) [text/x-shellscript]
Saving to: 'index.php?getfile=458'
index.php?getfile=458 100%[========================================================================================================================================>] 9.21K --.-KB/s in 0.04s
2018-03-26 14:46:49 (240 KB/s) - 'index.php?getfile=458' saved [9433/9433]
root at OpenWrt:~# mv index.php?getfile\=458 qmi.sh.koen
root at OpenWrt:~# cp qmi.sh.koen /lib/netifd/proto/qmi.sh
root at OpenWrt:~# chmod 775 /lib/netifd/proto/qmi.sh
root at OpenWrt:~# ls -al /lib/netifd/proto/qmi.sh
-rwxrwxr-x 1 root root 9433 Mar 26 14:47 /lib/netifd/proto/qmi.sh
root at OpenWrt:~#
After reboot (fail, got generic IP):
root at OpenWrt:~# ifconfig wwan0 |grep 'inet addr'
inet addr:10.37.39.186 P-t-P:10.37.39.186 Mask:255.255.255.252
root at OpenWrt:~#
If I remove `${autoconnect:+--autoconnect}` then reboot again. After reboot:
root at OpenWrt:~# ifconfig wwan0 |grep 'inet addr'
inet addr:46.132.189.90 P-t-P:46.132.189.90 Mask:255.255.255.252
root at OpenWrt:~#
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1252#comment4522
More information about the lede-bugs
mailing list