Howto: Setup the 2WIRE 802.11g Wireless USB Adapter for Ubuntu Feisty, Gutsy, and Heron!


The 2WIRE USB Adapter comes with 2Wire home portals, it has long plagued Ubuntu and Linux users alike, I have had one for quite a while(got it with my 2WIRE Home Portal) and it has been collecting dust, to get this running on Ubuntu I had tried everything, I searched the web and didnt find a thing, just complaints that it doesnt work and people having problems. If you have the same card as me and use TKIP encryption, this will definately work for you, enjoy!

Ok first lets see if you have the same card as me:
open up a terminal and type:

lsusb

If you see 1630:0005 you have the same exact card, and if yours looks like the picture above like mine does this should help you :)

Now what we must do is grab The drivers that are located in the root directory of the 2WIRE installation cdrom or wget them from my hosting:
wget http://www.users.qwest.net/~choice240662796/WlanUIG.inf
wget http://www.users.qwest.net/~choice240662796/WlanUIG.sys


Then what we must do is load the driver:
sudo ndiswrapper -i WlanUIG.inf


Lets see if it loaded properly shall we?
type:
$ ndiswrapper -l
wlanuig : driver installed
device (1630:0005) present

Sweet! Its loaded now we are half way finished!

Then lets write module alias configuration for all devices:
sudo ndiswrapper -ma

Now lets write module install configuration for all devices so its starts on boot!
sudo ndiswraper -mi

Ok then finally lets load up ndiswrapper kernel module to see if it works!
sudo modprobe ndiswrapper
Now lets type:
sudo iwconfig

Now you should see a new wireless adaptor listed "wlan0, if not your fuqd and you need to ask for help!

Now that the driver is loaded we can move to the next step, installing wpa_supplicant:
sudo apt-get install wpasupplicant


Now lets configure Wpa Supplicant!

Now that wpa supplicant is installed we need to grab some basic information:
Wireless SSID
Wireless psk passphrase

Once you have these we need to issue this command:
wpa_passphrase
usage: wpa_passphrase [passphrase]


Ok you see whats above? Great now Lets follow the usage instructions above

wpa_passphrase 2WIRE31337 mysecurepassword


Here is the output:
network={
ssid="2WIRE31337"
#psk="mysecurepassword"
psk=1a2043835852349c1c8288323f8899324259ce3845c1ee44fab7f3ee4ee8eb20
}

Ok now lets open up wpa supplicants config file
sudo gedit /etc/wpa_supplicant.conf

Now you need to edit your config file like so

ctrl_interface=/var/run/wpa_supplicant
ap_scan=2

network={
ssid="2WIRE31337" <-- your ssid of course
psk=1a2043835852349c1c8288323f8899324259ce3845c1ee44fab7f3ee4ee8eb20 <-- generated psk above
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
}

Ok Save the file with ctrl-s and exit gedit.

Now we have to make wpa_supplicant load when system boots, so go back to the terminal window and type:

sudo gedit /etc/network/interfaces


Here is the static network configuration, make sure it is setup properly according to your router/network settings:
auto wlan0
iface wlan0 inet static
address 192.168.1.66
netmask 255.255.255.0
wireless-essid 2WIRE31337
gateway 192.168.1.254
pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

Alternately Here is the Dynamic Configuration, uncomment to use:
#auto wlan0
#iface wlan0 inet dhcp
#pre-up wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
#post-down killall -q wpa_supplicant


Now once /etc/network/interfaces is properly configured lets ctrl-s to save then exit.

Now if all goes well you should be connected, lets find out!
sudo /etc/network/interfaces restart
ping www.yahoo.com :)


Lost your 2wire USB Install CD? I got you covered, here is the full CD that came with my 2WIRE USB Dongle, drivers, docs and all!

Comments (20)

Loading... Logging you in...
  • Logged in as
You are the fookin man, Kyle. Works like a charm...thanks a million...
Is it possible to get it to work on Mac OS X 10.5.2??
im not sure about macosx, you may want to search google, im sorry im not much help regarding macosx, im more experienced in ubuntu/winblows
I am having a really hard time getting this going I AM SUCH A NEWBIE as in, I just d/led Ubuntu today. I really like the way it's working out, but I cant get this ndiswrapper to work...argh...help...thanks
PrincesssButtercup's avatar

PrincesssButtercup · 881 weeks ago

maybe I should not have used wubi hmmm can't anyone out there help me....just send an email, I still have 2 computers set up with windows
FannieMaye's avatar

FannieMaye · 879 weeks ago

ok i got all the way to the sudo iwconfig and it doesnt see my 2wire. mine is exactly like the picture above. downloaded your drivers, but when i loaded them, it says they may not have loaded properly. then doesnt recognize it when i get to the iwconfig. so...what now?

how do you unload it and start over???
I have the same prob. as FannieMaye when i get to iwconfig is it because of useing wubi.I am very new to ubuntu so please be kind. Plese help. Twisted......
yay thanks! can you use aircrack or another program with it to crack wep?
I know this my seem strange to you. But I am very new to Ubuntu as in 2 week with linux period. I am getting alot of command not found when I try to follow your directions. I am including the dialog. I hope this helps. And how and where is root?
Ok its to long to send.
Can you help with the tecky stuff.
1 reply · active 868 weeks ago
This is as far as i get

usage: ndiswrapper OPTION
-i inffile install driver described by 'inffile'
-a devid driver use installed 'driver' for 'devid' (dangerous)
-r driver remove 'driver'
-l list installed drivers
-m write configuration for modprobe
-ma write module alias configuration for all devices
-mi write module install configuration for all devices
-v report version information

where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card
terrie@terrie-desktop:~$ ndiswrapper -i inffile
install argument must be .inf file
terrie@terrie-desktop:~$
Flamechamp's avatar

Flamechamp · 860 weeks ago

flamechamp@flamechamp-desktop:~$ sudo ndiswrapper -i WlanUIG.inf
sudo: ndiswrapper: command not found

I have followed the steps exactly up to this point...and even at this point. As you can see, it keeps saying the command is not found...which makes no sense to me. Any suggestions?
1 reply · active 855 weeks ago
It seems that you don't have installed correctly the NDISWRAPPER... Try again
Cheers man away to try the cd just now, i lost my original.
Didn't work for me :( I'm after Windows 2000 disc/drivers ...
Thank you. I love you.
Having the same prob as FannieMaye, any help?
Okay I got stuck right at sudo ndiswrapper -mi. I get this message:
john@linux-desktop:~$ sudo ndiswraper -mi
sudo: ndiswraper: command not found
Anyone know what I need to do? Thanks
i have the same issue as john, i cannot load the driver- says command not found

help would be greatly appreciated-
For those getting a "Command not found" error. It is possible that the ndiswrapper command is not in your search path. Try (even though dangerous)
sudo su -
and then
ndiswrapper -i WlanUIG.inf

As for me, it was not recognizing by card either. After # ndiswrapper -i WlanUIG.inf I get

installing wlanuig ...
couldn't find "wlanCIG.sys" in "."; make sure all driver files, including .inf, .sys (and any firmware files) are in "." -
installation may be incomplete
couldn't find "wlanCIG.sys" in "."; make sure all driver files, including .inf, .sys (and any firmware files) are in "." -
installation may be incomplete

# ndiswrapper -l
wlanuig : driver installed
device (1630:0005) present

# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

To resolve this all I did was run the modprobe command on ndiswrapper again:
# modprobe ndiswrapper

wlan0 now shows up and all is good. Hope this helps some of you out.

Post a new comment

Comments by

Clicky Web Analytics