MAC OS X: BBB running Angstrom Networking issues using USB

I’ve been having issues connecting to the outside network and I have absolutely no clue why…

There was no issues in installing the drivers and accessing my browser at
Also there was no issues to ssh into the root

The BBB is running the latest upgrade:

root@beaglebone:~# uname -a

Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux

In the Mac OSX (running ver. 10.9.5) I went into System Preferences > Sharing > Allowed Internet Sharing (via WIFI) for the BeagleBone Black

Also, I disabled the Firewall by going into System Preferences > Security & Privacy > Firewall > Turn off Firewall

I turned on the gatewaying in order to forward traffic onto the BBB by doing the following on the OS X terminal:

sudo su

ifconfig en3 (where en3 is the BBB’s interface)

sysctl -w net.inet.ip.fw.enable=1

sysctl -w net.inet.ip.forwarding=1

natd -interface en0 (where en0 is the interface for the Mac’s Internet connection)

ipfw add divert natd ip from any to any via en0

I followed some instruction found in this forum by modifing the /usr/bin/ script which sets up the USB Ethernet connection. I added the following 2 lines of codes to the bottom of the script file.

/sbin/route add default gw
echo “nameserver” >> /etc/resolv.conf

Yet, for some reason I still cannot reach the outside network on the BBB:

root@beaglebone:~# ping

connect: Network is unreachable

root@beaglebone:~# ping

ping: unknown host

Below is the information of the network and the IP routing table when running ifconfig and route on the BBB

root@beaglebone:~# ifconfig

eth0 Link encap:Ethernet HWaddr 1C:BA:8C:90:38:5D


RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


lo Link encap:Local Loopback

inet addr: Mask:

inet6 addr: ::1/128 Scope:Host


RX packets:24 errors:0 dropped:0 overruns:0 frame:0

TX packets:24 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1520 (1.4 KiB) TX bytes:1520 (1.4 KiB)

usb0 Link encap:Ethernet HWaddr 8E:1A:FF:1B:E6:B6

inet addr: Bcast: Mask:


RX packets:2166 errors:0 dropped:0 overruns:0 frame:0

TX packets:1527 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:176350 (172.2 KiB) TX bytes:561859 (548.6 KiB)

root@beaglebone:~# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 usb0

After getting tired of having the same problem over and over I went on my friends computer (running Windows 7) and followed the instructions found in this tutorial and had no problems connecting the first try…

I’m assuming that there’s an issue with the Mac internet sharing…

What am I doing wrong? Any input would be appreciated…