Tag/tag.png

Candidate for Deletion
This article may not be appropriate for this wiki, and may be deleted. More info...

Tag/tag.png

Unsupported Version
This article applies to an unsupported version of Ubuntu. More info...

Introduction

This page provides guidance on getting the TRENDnet TEW-424UB 3.0R wireless (802.11g) USB 2.0 Adapter working under Gusty 7.10 via NDISwrapper. TEW-424UB 3.0R is built upon a different chip than its predecessors, hence creating a bit of confusion and inspireing this wiki page.

Dependencies

After installation of Gusty, install ndiswrapper-common and ndiswrapper-utils via the System menu -> Administration -> Synaptic Package Manager and searching for ndiswrapper. Tick the boxes next to each of these items to mark for installation and click Apply and follow the screens until finished.

Obtain the Windows drivers

Best way to find the windows driver files for the device is on the CD that came with it or from the TRENDnet website itself. The TRENDnet website is easy to navigate and find but the provided packages the are compressed oddly and you will need to have access to a windows computer to extract the drivers from the downloaded file. If you have access to a windows partition, perhaps if your a duel booting, that has the drivers installed on it, the three files you're looking for are net8187b.cat net8187b.inf and RTL8187B.sys and are stored by default in the "program files" directory under a folder called TRENDnet. I recommend making a folder in your home directory and putting the three files together there for any future installations.

Installation

sudo ndiswrapper -i /path/to/directory/net8187b.inf

Note: Both INF, CAB and SYS files are used so make sure they are all there - don't bring only the INF file from the CD.

Check if it worked by plugging in the device and then doing a:

sudo ndiswrapper -l

The result should be something similar to this:

Installed drivers:
net8187b : driver installed
        device (0BDA:8189) present

Now load the module into the kernel by doing:

sudo modprobe ndiswrapper

If that returns with no errors you should be able to configure the wlan0 device under System->Administration->Networking.

To make this change permanent, do this to make the module autoload at boot up:

sudo ndiswrapper -m

Network Manager Problems

I however was unable to use the Networking Manager to connect to any WEP enabled networks, but was able to do it via command line without any problems.

Gather information about the Access Point you want to connect to. Specifically, note the MAC address and ESSID, you'll need those in the next step.

iwlist wlan0

Now make a connection to your chosen Access Point

sudo iwconfig wlan0 essid <AP NAME> ap <AP MAC ADDRESS> key <KEY IN HEX>
sudo dhclient wlan0

Example of the above:

sudo iwconfig wlan0 essid homenet ap 00:11:2B:FF:12:32  key 6c757a65726173647579797979
sudo dhclient wlan0


CategoryHardware CategoryNetworking CategoryWireless

WifiDocs/Device/TRENDnet_TEW-424UB_3.0R_(ndiswrapper) (last edited 2011-06-09 14:40:54 by skovprodukter)