Hi,
I have my laptop which I use in several places, but when I am at work I use it along my desktop pc. I am using
Synergy to be able to use them both with the same keyboard and mouse.
The following three questions are more or less equivalent, because if I can solve some of these questions then I think I can achieve what I want.
- Is there a way to start synergy (or an arbitrary script) automatically with certain parameters every time I connect to this network, but not on other networks?
- Is there a way to detect from a script if the computer is on a given network.
- Is there a way to detect if a given host (fixed ip address) is up and with a given service (tcp port) open?
Thanks in advance