seud0nym / tch-gui-unhide

Modify Telstra-branded Technicolor devices to access hidden features
GNU General Public License v3.0
127 stars 15 forks source link

WAN Static - 4G Failover not working #175

Closed mike777z closed 1 year ago

mike777z commented 1 year ago

Hi Seud0nym,

I am not too sure if this is an issue with my configuration but was wondering if I could pick your brain.

I have the latest version of tch-gui-unhide on Technicolor DJA0231 running 20.3.c.0389-MR20-RA

I have set static IPs for WAN and set up WWAN with my sim. Sim comes online and works as normal (when i disable WAN) but when WAN is set with static IPs and goes offline I would like it to route to the WWAN sim but testing this, it never routes to WWAN. I have only been successful when I set the WAN to DHCP

seud0nym commented 1 year ago

No, I don't think that it is you.

I set up a test with a static IP and Permanent WWAN enabled, and then when I disconnected the WAN cable, I lost connectivity.

When you pull the WAN cable on a DHCP connection, it appears that the default route fully disappears until the cable is reconnected. With a static connection, the default route does not get removed. This is the only difference that I can see.

I will have to have a think and do some research.

seud0nym commented 1 year ago

I have pushed up a test release for you to try and see if it fixes your problem. You can apply it with this command:

./tch-gui-unhide -u && ./tch-gui-unhide -y

Please give it a try and let me know how you go.

EDIT: Fixed by commits 65cddaebb756e5f7d4642bc592f482837c559db2 and 208c9ce2f00f3779fa92145324c0174cc25ee84a

mike777z commented 1 year ago

I updated to the new release and ran some tests, all seems well. Much appreciated

seud0nym commented 1 year ago

Fixed in Release 2023.10.01