Link to home
Create AccountLog in
Avatar of marceloNYC
marceloNYCFlag 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
Avatar of Jan Bacher
Jan Bacher
Flag of United States of America image

Has the interface name changed with the new device?

The script looks for eth0 and ppp0.
Avatar of marceloNYC

ASKER

No. The device is the same the only thing that change is the USB device
Have you modified the "DEBUG" variable to see detail about what's happening?

What do you have in /var/log/failover-wwan.log?
Let me check.
 I need a little bit please.
I checked and it looks fine...

We think is a kernel issue.

We are going to upgrade the kernel 3.5
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
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