Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
suffwind

How to make your unsupported Wireless USB stick to work!

7 posts in this topic

Recommended Posts

This is the weirdest if not funniest setup I’ve made so far. So I can’t help it but to post this one up. It’s rare setup so I believe not many could use this tutorial, but of course you could still make use of the concept.

 

Scenario

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.

Requirement:

1) OS X up and with Built-In Ethernet running

2) VMware Fusion http://www.vmware.com/beta/fusion/

3) BackTrack http://www.remote-exploit.org/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…)

 

Step 1

Install VMware Fusion.

 

Step 2

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.

 

Step 3

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.

 

Step 4

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 202.188.0.133 and 202.188.1.5

Click on Apply Now.

 

Step 5

Now start your VMware. Backtrack will load. Then login with username:root and password:toor.

 

Step 6

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

lsusb

Your USB WiFi should listed there.

 

Step 7

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.inf
ndiswrapper –l (check if driver installed correctly)
ndiswrapper –m 
modprobe ndiswrapper

Read more at http://ndiswrapper.sourceforge.net

 

Step 8

In Backtrack, open WiFi Manager and connect to your favorite AP.

 

Step 9

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.

 

Step 10

Run this command in Backtrack.

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -o wlan0 -j MASQUERADE

these 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.

 

Cheers!!

Share this post


Link to post
Share on other sites

Interesting indeed!

I was wondering if something like this could be done to enable running my Asetek Xternal watercooling system from Mac OSX?? There is an open source driver for Linux around (the Asetek software only works under Windows). I have tried running WinXP under VMWare Fusion but the USB device was not recognized by the Asetek software. I suppose that as there is no support in OSX the USB vendor id etc did not transfer properly to WinXP...?

What are your thoughts on this??

Share this post


Link to post
Share on other sites

Hello!! I can see it's a long time that anyone post in this topic...Btw i'll try to write something! XD

I tried to make backtrack run on my macbook 5.1.

I've installed vmware with ubuntu, and mounted backtrack 4.iso on it.

So now it's the problem!

I followed step by step the tutorial that you have wrote, but i can't connect wireless with my usb dongle (belkin).

I get stucked when i write on the terminal lsusb.

Belkin Components is shown in the list, but i don't know HOW download drivers...Or how to make it work.

Thank you, i hope someone will read my message =P =)

Share this post


Link to post
Share on other sites

hey dudes!

 

I know this post is is quite old, but could anyone report back whether this method works with Atheros AR9271 chip usb adapters?

 

beside this, has anybody made this work on virtualbox for mac os X?

Share this post


Link to post
Share on other sites

so ure saying the memory linux will need is low enough that i can even run an online game?^^

also if i have linux on another partition will vmware detect it and run it?;)

Share this post


Link to post
Share on other sites

Yes we are working on the AR9271 but it's still a rare adapter so I don't have all information I need so I am not able to make a kext for it. So that means you have to wait :)

 

hey dudes!

 

I know this post is is quite old, but could anyone report back whether this method works with Atheros AR9271 chip usb adapters?

 

beside this, has anybody made this work on virtualbox for mac os X?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Up for https://sourceforge.net/p/cloverefiboot/wiki,
    • Has anyone had success/failure with using UPnP working with this Intel Network? I have a onboard Intel I219V2, that is working quite well, except I can't make UPnP work.  It works fine for other devices on my network, and my previous mac Mini.   In fact, I've not been able to get forwarded ports working even if I do them manually.   Any help or pointers towards where to look would be greatly appreciated.     (High Sierra, i7-8700K, ASUS ROG STRIX Z370-G)
    • Hi,  the resoldering complete socket would kill the board totally in couple month (as the guys from super-duper repair shop told me). It's all because of gygabite layered silicon grade. The layers are so thin, that they give 90% chance, that board would work correctly only a couple month until it would die. Even with IR equipment they have, gygabite silicon starting to get micro-bubbly 10-20 C before target desoldering temperature. So they not recommending to do it with this particular z97 lineup.   About pins - they are corrected with a microscope and skilled technician. As they broke right near the start, I won't be able to do it with looking glass I have). He did it quite good, visible that they were repaired, but esthetically looking super good.    As for build and Oz in it.  Current configuration is: Xeon e3 1245v3 CPU Z97hd3 Mobo Msi gtx 1050ti gaming X GF 1) Before pins problem, after I flash anything infused with Oz - it won't work with the graphics card installed. If I pull it out, flash, get bios setting right, boot and reset NVRAM (or clear CMOS, bios setting, NVRAM) than install graphics card - it freezes every boot.   2) If I press the CPU cooler a little bid, just give it a solid push - it kinda boots without a freeze, but not correctly. Bios go flickery.  3) After I pushed CPU couple times, I started to get random BSODS on windows, so I tested RAM. One dim would give me errors. I don't know, is this went after pushed a bid CPU cooler, or it was like that, but using totally different ram would give same freezes with OZ.  4) Tomorrow I would go again to this repair shop, they would try to perform another round of magic tricks. As this mobo work correctly (fully) with windows 10 - they not recommending it for full socket resolder. damaged pins were reserved. Maybe OZ uses them after all, but they were repaired. It's all looking magic, but there is no magic. If swapping not XEON CPU won't help it (but I saw builds with OZ and XEON), then I would search for another board or platform.       
    • You can try this one here 2.9.0 let me know if its better for you ?   VoodooHDA.kext.zip
    •   Boot option name retrieval 1) Locate the booter image as explained blow. 2) Locate ".contentDetails" in the parent folder 2.1) if unsuccessful, locate ".disk_label.contentDetails" in the parent folder 2.2) if unsuccessful, retrieve the volume's name   HFS Boot 1) Retrieve blessed file via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L41 1.1) if unsuccessful, retrieve blessed folder via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L45, append "\\boot.efi". NOTE: This is broken in the latest binary I checked. 1.2) if unsuccessful, use the following hard-coded paths: "\System\Library\CoreServices\boot.efi", "\EFI\APPLE\{ARCH}\BOOT.EFI", <StandardEfiPath>, "\\boot.efi" in this order 2) FV2 Recovery does not follow the usual practice because it is not shown by BootPicker anyway. Determine it via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L49, verify it does not match 1).   APFS Boot 1) Determine the APFS Volume Info (and hencefor detect whether it is APFS in the first place) via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L54 1.1) Determine the APFS Container Info via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L36 1.2) Verify the Volume Role via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L51 1.3) Retrieve blessed file analoguous to HFS 1). NOTE: This step and 1.3.1) are broken in the binary I checked, hencefor it does not happen, but is probably supposed to. 1.3.1) if unsuccessful, retrieve blessed folder and append the booter name the same way as in HFS 1.2) 1.4) (if unsuccessful,) locate all Volumes that are part of the same container, check whether the current Preboot partition has folders named by the just located Volumes' GUIDs and append the hard-coded paths from HFS 1.2) if existant 2) Recovery detection works the same way as 1.4), just for a Recovery instead of a Preboot volume


×