Posts Tagged ‘Linux’

IronKey Auto Mouting Issue – Ubuntu 10.10

By Mark Davidson on October 19th, 2010


Just after posting this I did an upgrade on my machine and there was an update to udev. After applying this update the auto mounting works fine for my IronKey.
So if you are experiencing this issue and if its possible upgrade your system do so. Make sure you have udev version 162-2.1 and it should work fine again.
If you still have issues or if your unable to upgrade the method below should still work fine.

Recently I finally got myself an IronKey and have been using it just fine under Ubuntu 9.10 and 10.04.
But after upgrading to 10.10 I have found that it does not auto mount the disc that contains the Ironkey software as it should.

After a bit of research I worked out the simplest way to mount the disc manually is to do

udisks --mount /dev/sr1

This works fine mounting the software under /media/disk/

You can then just run the software by doing

sudo /media/disk/linux/ironkey

There is an open launchpad bug for mounting hardware encrypted usb stick failes hopefully this means the issue will be fixed soon. Just thought it was worth giving everyone a heads up on this issue in the mean time for people who encounter the issue.

incron – File System Event Monitoring

By Mark Davidson on September 23rd, 2010

I haven’t done a post in a while so thought it was about time I finished off one of my 22 draft posts.

In this post I would like to mention incron. Simply put incron monitors the file system for events and when they occur it can execute commands that are defined in user or system tables in a similar way to cron.

So how is this useful you might ask, well in my case I wanted a way to monitor a directory of uploaded images on one server and when new ones are added copy them across to another server. But you can do absolutely anything you want with it, like monitor a directory for changes and alert by email of them. Read & Comment ›››

Get All Installed Packages on System in apt-get Format

By Mark Davidson on August 30th, 2010

Recently I needed to setup three almost identical web boxes. First of all I installed all three boxes with a base install of Ubuntu 10.04 server. I then installed all the required packages on one box and started looking for a way to replicate the installed packages on the other boxes.
I had a Google around and did not manage to find a way to do it so I decided to come up with a method by myself.

On the box where you have all your installed packages do

dpkg --list | grep "^ii" | cut -f3 -d ' ' | sed ':a;N;$!ba;s/\n/ /g' > installedOnSystem01

Read & Comment ›››