Iím using a desktop with all hardware working except for my USB WiFi. Thanks to this forum. Iím piggybacking my neighborís wireless for Internet connection. Since thatís is my main connectivity to Internet, I canít afford not to get my USB WiFi. And since Iím such a cheapskate, I donít want to buy a new supported USB WiFi.
Why I choose this setup?
Iíve post a tutorial on using Parallels and Windows XP to achieve this. See it here. But XP consumed my memory like crazy. Plus for some reason it crashed quite a lot too. So I went and install Backtrack Linux but Parallel wonít play nice with USB on Linux. Keep getting IRQ 9 disable. Parallels forum said Parallels still lacking in USB support. I donít know the exact details but Iím sure enough I canít get any USB to work properly.
So here goes.
1) OS X up and with Built-In Ethernet running
2) VMware Fusion http://www.vmware.com/beta/fusion/
3) BackTrack http://www.remote-ex.../backtrack.html
4) Unsupported USB WiFi
5) Windows Driver for your USB WiFi (if you want to use ndiswrapper to get it working)
6) A Switch
7) A UTP Cable (yeahÖ)
Install VMware Fusion.
Create new VM. In setting add second virtual cd-rom. Set first cd-rom to Backtrackís iso, set second cdrom to physical cdrom. Then set network to Bridge
Note: Itís important to use bridge instead on Host-Only as previous setup with Parallels. VMware virtual Ethernet is really VIRTUAL. It wonít shows in Network Preferences Panes. Of course you could still use Host-Only and then user this command in terminal to change the gateway ďgateway add default VMware_IPĒ but then youíll have problem with DNS. In 10.4 you canít edit /etc/resolv.conf directly. scutil command wonít do any good since itíll set DNS only for physical Ethernet.
Plug in UTP cable to you Ethernet socket and to switch (okay, you could also plug it into another computer). This is important to simulate an active Built-In Ethernet. If Built-In Ethernet not active, VMware will start with network disconnected.
Go to System Preferences > Network. Then configure Built-In Ethernet. Use this setting
Configure IPv4 : Manually
IP Address : 10.0.0.2
Netmask : 255.255.255.0
Gateway : 10.0.0.1 (this is VMwareĎs IP)
DNS : Depends on your ISP. Mine is 188.8.131.52 and 184.108.40.206
Click on Apply Now.
Now start your VMware. Backtrack will load. Then login with username:root and password:toor.
Insert your USB WiFi. If not automatically connected to VMware. Click on USB logo at bottom right of VMware window and enable you USB WiFi. Open terminal in Backtrack and type
lsusbYour USB WiFi should listed there.
Only follow this if your USB need ndiswrapper to work on linux. Iím using Aztech WL230USB.
Insert driverís disk and mount it. Locate your .inf file. For me itíll be in /mnt/hdc_cdrom/INF/
Then in terminal run this
ndiswrapper Ėi /mnt/hdc_cdrom/INF/filename.infndiswrapper Ėl (check if driver installed correctly)ndiswrapper Ėm modprobe ndiswrapperRead more at http://ndiswrapper.sourceforge.net
In Backtrack, open WiFi Manager and connect to your favorite AP.
In Backtrack, open Set IP, then set ip to 10.0.0.1, net mask 255.255.255.0 for eth0. Ignore gateway and DNS.
Run this command in Backtrack.
echo 1 > /proc/sys/net/ipv4/ip_forwardiptables -A POSTROUTING -t nat -o wlan0 -j MASQUERADEthese lines will basically make your Backtrack an internet gateway.
Thatís it! As you can see.. weird setup. But it works!! And when I read again, I realized itís seems hard for beginner to understand. So if you need help, just let me know.
Btw, you might want to do a real install for Backtrack to conserve memory and so your setting will be saved. Follow this instruction - http://garrett.reid.org/backtrack
And again, if you want to do this in XP and Parallels, read it here.