Avatar of marceloNYC
marceloNYC
Flag for United States of America asked on

Linux failover escript not working with new Netgear sprint card

Dear Experts,

We have these Debian Linux "red-box"  devices that VPN to a location 24/7.

This are dedicated Linux VPN devices that have a USB modem as back up.

Product information:

http://www.reliantsolutions.com/redbox-platform/

We had it working fine until the new  USB failover modem (with different ISP) had to be change...

http://www.netgear.com/service-providers/products/mobile/usb-modems/341u.aspx

We got the driver to work but not the fail-over script. Internet access yes VPN no.

The idea is to keep the VPN tunnel going if the main ISP goes down  (logix, AT&T, COX, etc)  this USB modem takes over in a couple of minutes or so keeping the VPN tunnel.

Attached is the script for your review

For any help many thanks!
failover-wwan.sh
LinuxLinux NetworkingVPN

Avatar of undefined
Last Comment
marceloNYC

8/22/2022 - Mon
Jan Bacher

Has the interface name changed with the new device?

The script looks for eth0 and ppp0.
marceloNYC

ASKER
No. The device is the same the only thing that change is the USB device
Jan Bacher

Have you modified the "DEBUG" variable to see detail about what's happening?

What do you have in /var/log/failover-wwan.log?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
marceloNYC

ASKER
Let me check.
 I need a little bit please.
marceloNYC

ASKER
I checked and it looks fine...

We think is a kernel issue.

We are going to upgrade the kernel 3.5
ASKER CERTIFIED SOLUTION
Duncan Roe

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
marceloNYC

ASKER
As it turned out we did upgrade to 4.1.

Very good, I just read this. The Kernel upgrade did it and some modifications in the scripts.

Was a lot of work
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.