Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use wifi status change to launch script

Status
Not open for further replies.

jneiberger

Technical User
Jan 21, 2005
1,791
US
I need to solve a problem and someone on another forum suggested I check here.

I may need to use the wifi status on a laptop to launch a script. The laptop has a VPN client on it and also has a Sprint card. If the user moves from a Sprint coverage area to a wifi area or vice versa, the VPN will break because his IP address changed.

It would be really cool if we could detect a change in status on the wifi card and then use that to run a script that restarts the VPN client automatically. We're trying to make this as transparent as possible for the users.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top