Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bunch of old ethernet PC cards that I am not too sure about (whether they are any good). I want to test them in my laptop to see if they still work (out of curiosity, and because I want to know if Linux supports this hardware).

How do I know when the card has been recognized? Is there a way to get a Notification on card insertion (Notify OSD)? I can take a bit of coding if necessary ;).

share|improve this question
up vote 4 down vote accepted

I use a simple notify-osd utility such as udev-notify - as the name suggests, it uses udev to display a notification when a new device is inserted.

enter image description here

Alternatively, run a terminal command such as

sudo lshw -class network

If the kernel does not recognise the device then the output would be "Unclaimed".

share|improve this answer
Thanks! I think I have udev-notify already though, so I will need to verify this and also if the pc-cards are being recognized. – RolandiXor Aug 13 '11 at 15:22
Seems they are just too old lol :). Thanks! – RolandiXor Aug 17 '11 at 16:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.