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:
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:
Then what we must do is load the driver:
sudo ndiswrapper -i WlanUIG.inf
Lets see if it loaded properly shall we?
$ 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:
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 psk passphrase
Once you have these we need to issue this command:
Ok you see whats above? Great now Lets follow the usage instructions above
wpa_passphrase 2WIRE31337 mysecurepassword
Here is the output:
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
ssid="2WIRE31337" <-- your ssid of course
psk=1a2043835852349c1c8288323f8899324259ce3845c1ee44fab7f3ee4ee8eb20 <-- generated psk above
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:
iface wlan0 inet static
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:
#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!