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
marceloNYCMiddle-Tier AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jan SpringerCommented:
Has the interface name changed with the new device?

The script looks for eth0 and ppp0.
0
marceloNYCMiddle-Tier AdministratorAuthor Commented:
No. The device is the same the only thing that change is the USB device
0
Jan SpringerCommented:
Have you modified the "DEBUG" variable to see detail about what's happening?

What do you have in /var/log/failover-wwan.log?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

marceloNYCMiddle-Tier AdministratorAuthor Commented:
Let me check.
 I need a little bit please.
0
marceloNYCMiddle-Tier AdministratorAuthor Commented:
I checked and it looks fine...

We think is a kernel issue.

We are going to upgrade the kernel 3.5
0
Duncan RoeSoftware DeveloperCommented:
Why not 4.1? Newer devices need newer kernels.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marceloNYCMiddle-Tier AdministratorAuthor 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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.