My broadband is China Unicom 100Mbps, but the speed measured by speedtest.cn is about 250Mbps. I was curious about it last month, thinking about using mwan3
-dial to see if the internet speed could be further increased.
That attempt failed: dialing was not very stable, and only one interface was able to dial successfully. So in the end, the multi-dial function was turned off and returned to the original wan interface pppoe dial-up.
But recently found that the network is unstable, including several times when I went home this evening and found that the network was directly unavailable. After restarting the network ( /etc/init.d/network restart
), observe the OpenWrt system log and see the following key information
Failed to get IP for interface pppoe-wan SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
So I searched online and tried to reset the MTU of the wan interface to 1492 (the default is 1500), so I got the log again
Interface eth4 has MTU of 1492 -- should be at least 1500
So change back. Then I found this: https://baijiahao.baidu.com/s?id=1725167074822944574 (I didn’t expect it, it was you, Baijiahao), the original post of Enshan pointed to by this article is https:// www.right.com.cn/forum/thread-3134204-1-1.html
I also guessed it was a problem with the mwan3
plugin. OK, here goes uninstall.
The web interface used in the original article is uninstalled through the package page, and I choose to ssh into the router to uninstall.
# opkg list-installed |grep mwan3 luci-app-mwan3 - git-20.088.29068-cebe120-1 luci-app-mwan3helper - 1-3 luci-i18n-mwan3-zh-cn - git-20.088.29068-cebe120-1 luci-i18n-mwan3helper-zh-cn - 1-3 mwan3 - 2.6.18-1
Uninstall below
# opkg remove mwan3 luci-app-mwan3 luci-app-mwan3helper luci-i18n-mwan3-zh-cn luci-i18n-mwan3helper-zh-cn
The terminal prompts that there are dependencies on luci-app-syncdial
to be uninstalled again
# opkg remove mwan3 luci-app-mwan3 luci-app-mwan3helper luci-i18n-mwan3-zh-cn luci-i18n-mwan3helper-zh-cn luci-app-syncdial
According to the prompts on the terminal, it may be necessary to put some dependent packages in the front position of opkg remove 1 2 3 4
remove. Personally, it is not very recommended to directly use the remove options such as ignore dependencies and force removal of packages. Using the remove function directly can also understand the dependencies between software packages, so that the software can be uninstalled more safely without affecting the operation of other software in the system.
Rebooted the device after uninstalling. But I encountered the following problem -_-..
failed to create listening socket for 10.10.10.4: Address not available
This should be a problem with dnsmasq
. Just execute /etc/init.d/dnsmasq restart
to restart the dnsmasq service.
So far, the problem that OpenWrt wan pppoe dialing is always disconnected or the network is unstable has been solved. It is caused by the mwan3 multi-dial plug-in, you can uninstall it directly, and then install it if necessary.
This article is shared, and several logs of error reports are recorded. If someone searches these logs through google in the future, they may find this article. I hope it can be a reference for readers.
This article is reprinted from: https://hellodk.cn/post/1019
This site is for inclusion only, and the copyright belongs to the original author.