-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#3306 - QMI & DHCP renewal issue. #8632
Comments
bgiboudeau: ======Additionnal informations.====== ====Below the log showing the timing of the problem (exactly every 12 hours the dhcp lease time)====
====Below another view more detailed showing the result of the bug.====
====Below the script used to monitor the interface in MWAN3.====
|
bgiboudeau:
I'm facing a problem on two routers WG3526 (Modem EC-25) and D-Link DWR921 (Model Broadmobi BM806). My 4G provider is Free Mobile a French mobile provider.
Every 12 hours my ISP change the IP of the interface and the DHCP-Client still get the old IP Address even if "uqmi -d /dev/cdc-wdm0 –get-current-settings" display the new valid ip address.
This problem happen exactly every 12 hours the duration of the dhcp lease time on the interface wwan0.
I don't know if it's a bug in the firmware of both modems or a problem within OpenWRT.
I can provide more informations or context if needed. It's also described on another bug in the comment section by @dmitry. As it's another bug not related to the original one a new bug is needed. Thread reference [[https://bugs.openwrt.org/index.php?do=details&task_id=1252]].
====Detailed description of the BUG====
===='uqmi -d /dev/cdc-wdm0 –get-current-settings' display the new IP address====
uqmi -d /dev/cdc-wdm0 –get-current-settings {
}
==== 'ifconfig wwan0' is showing a different IP. I tryed to restart udhcpc manually but the interface still get the old IP until I restart network interface ====
ifconfig wwan0
====After a network stack restart, "ifconfig wwan0" display the proper IP address.====
ifconfig wwan0
inet addr:10.81.148.43 P-t-P:10.81.148.43 Mask:255.255.255.248
inet6 addr: fe80::e1b3:e56d:de16:ba57/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:54584 errors:0 dropped:0 overruns:0 frame:0
TX packets:64112 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46223174 (44.0 MiB) TX bytes:60351028 (57.5 MiB)
====Problem happen again after 12 hours.====
====Details on the WG3526====
root@nly-marconi:/etc/config# ubus call system board
{
"kernel": "4.14.180",
"hostname": "nly-marconi",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "ZBT-WG3526 (16M)",
"board_name": "zbt-wg3526-16M",
"release": {
"distribution": "OpenWrt",
"version": "19.07.3",
"revision": "r11063-85e04e9f46",
"target": "ramips/mt7621",
"description": "OpenWrt 19.07.3 r11063-85e04e9f46"
}
}
root@nly-marconi:~# uci show network.wwan
network.wwan=interface
network.wwan.proto='qmi'
network.wwan.device='/dev/cdc-wdm0'
network.wwan.apn='free'
network.wwan.auth='none'
network.wwan.pincode='my-pin-code-here'
network.wwan.modes='lte'
network.wwan.metric='20'
network.wwan.delegate='0'
network.wwan.force_link='0'
====Details ont the Dlink router====
root@lfgo-routeur:~# ubus call system board
{
"kernel": "4.14.180",
"hostname": "lfgo-routeur",
"system": "MediaTek MT7620N ver:2 eco:6",
"model": "D-Link DWR-921 C1",
"board_name": "dlink,dwr-921-c1",
"release": {
"distribution": "OpenWrt",
"version": "19.07.3",
"revision": "r11063-85e04e9f46",
"target": "ramips/mt7620",
"description": "OpenWrt 19.07.3 r11063-85e04e9f46"
}
}
root@lfgo-routeur:~# uci show network.wwan
network.wwan=interface
network.wwan.ifname='wwan0'
network.wwan.device='/dev/cdc-wdm0'
network.wwan.proto='qmi'
network.wwan.apn='free'
network.wwan.pincode='my-pin-code-here'
network.wwan.delay='10'
The text was updated successfully, but these errors were encountered: