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 and it has been collecting dust, to get this running on Ubuntu lets follow these directions:
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 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:
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 <ssid> [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=1a2043835852349c1c8288323f8899324259ce3845c1ee 44fab7f3ee4ee8eb20
}
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=1a2043835852349c1c8288323f8899324259ce3845c1ee 44fab7f3ee4ee8eb20 <-- 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
Enjoy
defcon
http://www.ubuntu-unleashed.com



Adv Reply




Bookmarks