I have spent a lot of time trying to share a Mac's Internet connection with a BeagleBone Black while connected via USB. I am able to do this without any difficulty just using the Mac Gui on a machine running OSX 10.6.8. On a machine running OSX 10.7.5, I can make it work, but I have to run the following commands on the host:
- sudo su - ifconfig en3 192.168.7.1 (where en3 is the BBB's interface) - sysctl -w net.inet.ip.fw.enable=1 - sysctl -w net.inet.ip.forwarding=1 - natd -interface en1 (where en1 is the interface for the Mac's Internet connection) - ipfw add divert natd ip from any to any via en1 This is all I have to do if I'm using my older Linksys router or if I'm tethered to my cell phone, but if I use a newer Netgear router, then I have to enable Internet Sharing through the GUI as well. If I download and install Mavericks OSX 10.9.2, I cannot share Internet when using the Netgear router, but I can share Interent when the Mac is tethered to my phone (haven't tested this with my Linksys yet). At Any rate, it looks as though sharing a Mac's Internet connection using the commands above is dependent on the network. I would love to see a method that works no matter what kind of network the Mac is connected to. FYI, I'm using the Jaoshua Wise's latest RNDIS driver (rel5). -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
