Oct 10

How to install an Encore ENUWI-G2 USB WiFi adapter in Ubuntu 6.10 Edgy Eft

Tag: How to, Linux, Ubuntu, WiFiVlogcanic @ 2:53 am

As it happens with the whole Linux and WiFi thing, getting the Encore ENUWI-G2 to work properly with Ubuntu Edgy Eft takes a bit of work but it’s not that hard.
I’m dividing this post in two parts:

  1. Getting it to work with open access points.
  2. Getting it to work with WEP access points.

I have a good reason for such division: I’m using this WiFi adapter in a very old machine with no ethernet, modem or other LAN device; since most of the first part can be done by installing packages from the LiveCD and downloading the drivers elsewhere and then transferring to the computer in question. The second part needs some other packages not in the LiveCD with a lot of dependencies so trying to install them all without an internet connections is really really unpractical.
The procedure is to blacklist the native module, and then install the Win98 driver through NDISWrapper –why the Win98 driver and not the WinXP driver, I hear you ask? Because the former is the one that works. That’ll get you going in keyless accesspoints.
The next thing is to install the RutilT gadget, the GUI wireless network manager for ralink chipsets. That will get your WEP working.

The WiFi adaptor: Encore ENUWI-G2. The Chipset: Ralink RT73, Realtek RTL8187

This is a USB adaptor, very small and cheap. The range is not exaclty great but it delivers good value for the approximate $15 it costs.
The chipset is Realtek/Ralink RTL8187/RT73. Ralink is one of the companies notably supporting Linux by publishing kernel modules themselves. In fact, Edgy Eft’s default kernel supports the chipset via a native module. The thing is that it doesn’t work, at least with this particular adaptor.

Enabling ENUWI-G2 WiFi adaptor to associate with open access points in Ubuntu Edgy.

You’ll need to start by downloading the chipset Windows drivers from this page. Unpack them in you Ubuntu system and keep them handy.
Also, install NDISWrapper (the program that will let you use a Win drive in Ubuntu). Launch your synaptics package manager look for ndiswrapper-common and ndiswrapper-utils-1.8 and install them. These are available from the LiveCD so you don’t need an internet connection, just to add your LiveCD as a repository in your Synaptics’ Edit>Add CD menu.
Next step: get rid of the module that is not doing its job. Open a console session and type

sudo rmmod r8187

and black listing by opening the module blacklist file

sudo gedit /etc/modprobe.d/blacklist

and adding the following line

blacklist r8187

Save and close.

Note: if in prior attempts to make the WiFi card work you installed other drivers you have to blacklist them as well.

Now open the network interfaces configuration file

sudo gedit /etc/network/interfaces

and search for wlan0, you will find something like this

auto wlan0
iface wlan0 inet dhcp

if you don’t, add it at the file’s end and then add

wireless-essid ******

substituting your access point’s SSID.
Save and close. Once it’s done, find the directory where you unpacked the Win98 driver and, from there, type in your console:

sudo ndiswrapper -i Netrtuw.inf

then

sudo ndiswrapper -m

and then

sudo modprobe ndiswrapper

What you are doing is: installing the Win98 driver to NDISWrapper, creating an alias and insterting it into your system.
At this point you should be able to connect the USB device, and having it scan succesfully

iwlist scan

but maybe it won’t connect. Patience, we are not done yet. In order to have ndiswrapper load itself with every boot type

sudo gedit /etc/modules

and add the line

ndiswrapper

save and close.
That’s it. Upon reboot, you system will connect succesfully to the open access point you specified in the network interfaces file. You can also try to restart the network devices, but USB adaptors, more often than not, need a full reboot.

Note: I am more or less assuming that you are working on a fresh installation as I was. If you are not and you already installed packages like the gnome network manager I’m sorry to tell you they are in the way. Uninstall them –these are not the things you need if you have this WiFi card, anyway. Go to your Synaptics Package Manager, find this packages: network-manager, network-manager-dev, network-manager-gnome and get rid of them.

Installing RutiliT in Ubuntu Edgy: enabling the ENUWI-G2 to associate with WEP access points.

And now for the WEP.
Goto http://cbbk.free.fr/bonrom/ and download the latest Rutilt version. It’s v0.15 in my case. Unpack it and open the directory.
Lanuch your Synaptics Package Manager. Find the following packages and install them

  • libgtk2.0-dev
  • g++-4.1

in case you haven’t set the g++ compiler also type in your console

sudo apt-get install build-essential

Once all that is done, it’s time to go the directory where RutilT source code was unzipped and become a root there

sudo bash

and run the configuration script by typing

./configure.sh

and compile the source code (a tiny bit of patience will be useful at this point)

make

then install

make install

and now you can run it by typing

rutilt

That’s it. Once it’s running you can go to the Site Survay tab click on the access point you want to use. You’ll be asked the WEP key and if you want to use dhcp. Now the ENUWI-G2 is fully functional.

2 Responses to “How to install an Encore ENUWI-G2 USB WiFi adapter in Ubuntu 6.10 Edgy Eft”

  1. Vlogcanic » Installing Ubuntu 6.10 Edgy Eft on a Sager NP8550P says:

    […] Update (10-Oct): I have the WiFi usb adapter up and fully running now. The trick was installing the RutilT gadget. All the details are in here. […]

  2. Connecting News, Commentaries and Blogs at NineReports.com - says:

    […] about at How to install an Encore ENUWI-G2 USB WiFi adapter in Ubuntu 6.10 Edgy Eft - vlogcanic, - Last Updated - 2 minutes ago    Follow This Story   Change Your […]

Leave a Reply