We help IT Professionals succeed at work.

Linux failover escript not working with new Netgear sprint card

marceloNYC
marceloNYC asked
on
183 Views
Last Modified: 2015-08-27
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
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
Has the interface name changed with the new device?

The script looks for eth0 and ppp0.
marceloNYCMiddle-Tier Administrator

Author

Commented:
No. The device is the same the only thing that change is the USB device
CERTIFIED EXPERT
Most Valuable Expert 2015

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

What do you have in /var/log/failover-wwan.log?
marceloNYCMiddle-Tier Administrator

Author

Commented:
Let me check.
 I need a little bit please.
marceloNYCMiddle-Tier Administrator

Author

Commented:
I checked and it looks fine...

We think is a kernel issue.

We are going to upgrade the kernel 3.5
Software Developer
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
marceloNYCMiddle-Tier Administrator

Author

Commented:
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
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.