wifiproximity - generic AP based events processor
This is a generic daemon (GPL) I wrote that will integrate with NetworkManager and perform a number of actions when pre-defined wifi access points are within range of the system.
This is useful for doing things like automatic synchronization with home PC's when you arrive home. It can also perform these events after the access point goes out of range as well.
It's really rough right now, but it's a good start. This won't be a part of the OpenICE 1.0 platform, but hopefully it will be accepted in 2.0 as it matures.
If anyone is willing to make a simple event editor GUI, that would be awesome!
Here is an example "event" that will create a file, and issue an rsync command in my home dir:
Code:
<event ssid="linksys" trigger="OnAdded" strengthMin="20" connect="true">
<command type="system" bin="/usr/bin/touch" >
<arg>/home/kev/rsync/linksys-was-in-range.txt</arg>
</command>
<command type="system" bin="/usr/bin/rsync">
<arg>-arvuz</arg>
<arg>/home/kev/rsync/</arg>
<arg>/home/kev/rsync-dest</arg>
</command>
</event>
Hope it comes in handy! The source is in the linuxice repo: https://linuxice.svn.sourceforge.net.../wifiproximity