Jump to content
Sign in to follow this  
veagles

Check Internet and Auto Reconnect Modem

Recommended Posts

veagles

I have a 3G Modem. The Connection is not stable. I need a script that can ping google to check if the connection is alive, else it should reconnect the modem.

Share this post


Link to post
Share on other sites
BrettF

Welcome to the forum.

Not sure how you would go about reconnecting the modem, but the brand/model will help us to find anything that could help. Also, have a look in the helpfile for Ping(). That shall get you started.

Cheers,

Brett

Share this post


Link to post
Share on other sites
veagles

Thanks BrettF

I found this on this forum

#537497

It works. ;)

Can someone explain me what the parameters $ping_time and $ping_delay mean?

Share this post


Link to post
Share on other sites
veagles

Thanks to Sandin.

I understood it.. Working fine now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.