How do I copy a driver from a USB stick and what directory should I put it in?

I'm using Raspbian. The driver is found here and it's for my TP Link usb wifi dongle: http://pan.baidu.com/share/link?shareid=340048&uk=3912523090

I know the cp command but I don't even know how to find the USB device, so please try to be as clear as possible.

  • The file you linked to isn't available anymore. Where did you get the driver from?
    – n.st
    Oct 12, 2013 at 13:49
  • 1
    mendrugox.net/2013/08/… that's where I found it, and I can confirm it works Oct 12, 2013 at 19:01

1 Answer 1


Your USB stick should be auto-mounted in /media.
If it isn't, mount it using mkdir /tmp/usb-stick && sudo mount /dev/sda1 /tmp/usb-stick. You might have to replace sda1 with the actual device name of your USB stick -- run ls /dev/sd?? to find out which name it has been assigned.

As for where to put it, the site where you found the driver already tells you:

Place the .ko object in the following path:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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