Thanks for this! However, I'm unable to get this working, let me know if you'd rather I post this as a github issue:<p>MacBook Pro 13" with 10.7.5
Droid Razr with Android 4.0.4
Verizon with mobile hotspot and I believe I had tethering working on a Windows laptop before.<p>Steps:
I have installed HoRNDIS and rebooted (tried install/reboot again just to be sure)
Plugged in my phone via USB
Enabled USB tethering and it says tethering error
There are no changes in the Network preferences on the Mac<p>Saw it wasn't loaded so I manually loaded it:<p>sudo kextload /System/Library/Extensions/HoRNDIS.kext<p>Tried to tether again and noticed these errors in kernel.log:<p><pre><code> Nov 14 19:05:28 Robs-MacBook-Pro kernel[0]: 0 1 AppleUSBCDCACMData: start - Find CDC driver for ACM data interface failed
Nov 14 19:05:28 Robs-MacBook-Pro kernel[0]: 0 1 AppleUSBCDCECMData: start - Find CDC driver for ECM data interface failed</code></pre>
Folk give Linux flack for it's driver problems, but I've noticed OSX does have it's own issues. :)<p>I'll be looking forward to testing this out, since it'll be more convenient than wireless tethering in some circumstances.
There is an alternative if you have the android sdk running on your laptop.<p>Use adb to forward a port from your machine to your Android device. Run a SOCKS proxy app on your Android.<p><a href="http://graha.ms/androidproxy/" rel="nofollow">http://graha.ms/androidproxy/</a><p>I use a similar method for transferring media, since mtp doesn't work very well on Linux.<p>I wonder why did Google decide to implement mtp as the protocol of choice. I know why MSC was not ideal anymore, but it <i>already </i> has working tcp over usb. That can be used to implement so many different things like file sync, tethering, etc.
On OS X 10.7.5 with a Nexus S running Android 4.1.2 I get the following in kernel.log:<p><pre><code> 11/15/12 9:55:40.019 AM com.apple.kextd: Can't load /System/Library/Extensions/HoRNDIS.kext - no code for running kernel's architecture.
11/15/12 9:55:40.022 AM com.apple.kextd: Load com.joshuawise.kexts.HoRNDIS failed; removing personalities from kernel.
</code></pre>
Great project, btw. Can't wait to try it on another phone/computer and get it working.
Cool project; I was kind of hoping when I saw the title it was a way to emulate USB over MTP, and not have to use the <i>absolutely rubbish</i> Android File Transfer application... but alas, not the case. Oh well.
Tangentially related - if anyone is using native wifi tethering on their Android with their Mac and having issues, try tethering over Bluetooth instead - I found it to be much more reliable.
I plug my android phone and it works as a USB modem. I can use it in OS X or Linux (as /dev/ttyACMx). Am I missing something?<p>(My old Nokia used to do the same thing)
This looks really good.<p>What would be awesome is some kind of reverse tethering - use my computer's Internet from my phone connected to the computer over USB.
Serious question...not trying to be snarky...<p>Why would anyone use anything but FoxFi?<p><a href="http://foxfi.com/" rel="nofollow">http://foxfi.com/</a><p>EDIT: I suppose FoxFi doesn't work on some phones + using both radios at the same time might run down the battery quicker.