Daily Archive for August 1st, 2005

Use an open wifi network = criminal offence

The bbc has a story on the first criminal prosecution in the UK for using an unsecured wifi network.

This is quite scary, as I have used wifi networks i found to browse the net when bored. This is now an offence, and as windows automatically connects to wifi networks i may have even used them accidentally!

Of course you should always secure your wireless network, but now you cannot use one you find. What about free wifi networks? If I set up a wifi network in a public area, I would think about setting up open access with a restricted bandwidth so that anyone with a wifi pda or similar can use it. It costs me nothing, so why not allow others to get the internet on the move, but how do you tell if an open network is deliberate or not.

Backing up and Syncing Files

I keep all my documents in a folder together, and back them up occasionally using rsync to a remote server. I do the same with my digital photos, so that if my hard drive ever crashes (won’t be the first time) then I won’t lose all my data and photos.

 This works fine with one machine and a remote server. But what if you have two machines you work from, eg a laptop and desktop or home and work/uni. Rsync cannot tell if a file has been deleted or is new, so you cannot use it to sync files across two machines where files could change on either.

Unison solves this problem. Available free under the GPL for both linux and windows in both command line and gui versions.

With unison on both machines, it tracks which files are in your directories, so when you delete one, it knows that it should probably be deleted from the other one. It seems to handle conflicts quite well (prompting the user to make the decision).

 So now I have my documents across 2 machines, and backed up to a server. I do not have to worry about copying them anywhere, so long as i run Unison occasionally. Any new document I write can easily be copied to my other computer by simply updating on each computer. I can even add this to a script that runs every week or every day, and then the files will only be out by a day if I do nothing more!