How to install D-Link WUA-2340 USB Wireless Adapter Driver on Ubuntu

This how-to is tested on Ubuntu Jaunty.

Step 1. Login as root or use sudo on each step

su -

Step 2. Install ndiswrapper on Ubuntu

aptitude install ndiswrapper-utils-1.9

Step 3. Download Windows XP driver 1.40 from D-Link ftp.
*ndiswrapper fails in loading 1.50 driver – USE 1.40


Step 4. Unzip downloaded driver


Step 5. Install Windows XP driver using ndiswrapper

ndiswrapper -i 20071112-WUA-2340-S0026/Drivers/WinXP_2K/netA5AGU.inf

Step 6. Verify installation in ndiswrapper – this should list all installed drivers

ndiswrapper -l

Step 7. Load ndiswrapper module

modprobe ndiswrapper

Now iwconfig command should show newly configured wireless interface, ex) wlan0. Now Network Manager or any other method can be used to configure this wireless interface.

* Following steps is to make this module loaded at start up

Step 8. Edit /etc/modules so the module gets loaded at start up
*Use your favorite text editor – mine is emacs which is not installed by default in Ubuntu. vi, nano, gedit can be used.

emacs /etc/modules

Step 9. Add ndiswrapper at the end of the list


5 Replies to “How to install D-Link WUA-2340 USB Wireless Adapter Driver on Ubuntu”

  1. Emacs is not installed by default on Ubuntu, so you should update the tutorial to use for example “gksudo gedit /etc/modules” for a GUI editor or “sudo nano /etc/modules” for a console based one.

  2. The wireless device is not showing up under iwconfig, does this only work for 32 bit systems or both 32 and 64 bit ones?

  3. I do not think I would buy any more D-Link products since I had really bad experience with both WBR-1310 router and WUA-2340 USB adapter. They both have extremely unreliable wireless connectivity that drops wireless connection every hour. I even received a replacement WUA-2340 but it did exactly the same thing as previous one.

    I have also tried many other combination of routers and adapters with exact same environment but nothing beats these 2 products’ unreliability. Actually except these 2, everything else worked flawlessly for months. Tossing these out.

Leave a Reply

Your email address will not be published. Required fields are marked *