WWAN does not reconnect when disconnected TETHERWAN

Good morning

I apologize in advance, I am a newbie but despite consulting I found no solution.

I have an ASUS RT - AC58U which runs OpenWrt 18.06.4 r7808-ef686b7292 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc).
It is configured in client mode with this tutorial https://openwrt.org/docs/guide-user/network/wifi/connect_client_wifi and works perfect.

It is also configured to share the internet of my cell phone with this tutorial https://openwrt.org/docs/guide-user/network/wan/smartphone.usb.tethering and it also works.

The problem is that when disconnecting the smartphone does not reconnect with the WWAN network in client mode, I have to restart this interface for the connection to return.

What do I need to be automatic?

Thank you...

@tatan, welcome to the community!

What software are you using to balance both WAN connections?

None just followed the mentioned tutorials and additionally this. https://www.maroonmed.com/ttl-modification-for-outgoing-traffic-with-openwrt/

"Using the OpenWRT package manager via LuCI or opkg CLI, install the iptables-mod-ipopt package.
Navigate to Network → Firewall → Custom Rules.
Add the following line: iptables -t mangle -I POSTROUTING -o usb0 -j TTL --ttl-set 65
Click Restart Firewall to save "

since the TETHERWAN interface did not give internet.

Look at package mwan3 for automatic selection between multiple wans when one fails.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.