How to? USB-modem not connected -> automatically use WAN-port

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Hårald
Posts: 2
Joined: Sun Feb 12, 2017 6:22 am

How to? USB-modem not connected -> automatically use WAN-port

Post by Hårald »

Hi
First I have to thank Eric/Gargoyle and OpenWRT/community for the great firmware!

And the question.
I have two internet connections:
1) via WAN port / DHCP (from ADSL modem)
2) via USB (4G phone / Android)
Is it possible to switch automatically to DHCP when USB modem is not connected/lost, and vice versa, is it possible switch to USB modem automatically when its connected?

I have TP-Link Archer C7 v2.1

Thank you!
Last edited by Hårald on Sun Feb 12, 2017 3:06 pm, edited 1 time in total.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: How to? USB-modem not connected -> automatically use WAN-port

Post by Lantis »

There's a "simplefailover" package you could compile from here
https://github.com/obsy/packages/tree/m ... lefailover
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: How to? USB-modem not connected -> automatically use WAN-port

Post by ispyisail »

That would make a nice plugin

Hårald
Posts: 2
Joined: Sun Feb 12, 2017 6:22 am

Re: How to? USB-modem not connected -> automatically use WAN-port

Post by Hårald »

Lantis wrote:There's a "simplefailover" package you could compile from here
-Newbie URL removed-
Thanks for info, but I lack skills to do that :(
ispyisail wrote:That would make a nice plugin
Maybe someday someone do this :D

Post Reply