The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Homework & Coursework Questions
.
grep unix.com with google



Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-21-2009
Registered User
 

Join Date: Nov 2009
Posts: 1
Wink script -Hamachi - restart - when conection down.

Hi, I need a script when go down my conection.

Then i have to generate a demond.


Same time my conection go down and i do the next line comand in debian system.

Hamachi -c /etc/hamachi logout

and then after a 30 seconds

Hamachi -c /etc/hamachi login

I need a script that every 2 minutes perform a ping to 5.195.142.164.

If not ping, after 2 attempts to ping , make hamachi automatically logout

and after 30 seconds start hamachi



Thanks.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Any Restart Script? ademah Shell Programming and Scripting 5 06-25-2009 06:05 AM
hamachi-gui 0.9.5 (Default branch) Linux Bot Software Releases - RSS News 0 03-06-2008 05:40 AM
Restart Script chapmana UNIX for Dummies Questions & Answers 1 11-27-2006 11:21 AM
conection WinXP with servidor UNIX rodrigues Windows & DOS: Issues & Discussions 1 09-06-2003 03:01 AM
How to restart a script from the top indo1144 Shell Programming and Scripting 2 07-02-2002 08:40 AM



All times are GMT -4. The time now is 01:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0