I don’t use normally my BBB with USB tethering … I just connect it to my network via ethernet and then ssh into it.
In an effort to try and reproduce some of the problems others have reported here, I decided to connect one of my BBBs via USB to my Mac.
After installing the drivers on the Mac, it all seemed to work as expected. I was able to point my browser at http://192.168.7.2/ and I was able to ssh into it as root.
However, I also noticed that it doesnt seem like it set up the network routes properly.
The BBB is running the latest upgrade (eMMC Flasher 2013-05-08), followed by an opkg update+upgrade.
root@beaglebone:~# uname -a
Linux beaglebone 3.8.12 #1 SMP Sat May 11 08:21:34 CEST 2013 armv7l GNU/Linux
I can ping the gateway just fine:
root@beaglebone:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data.
64 bytes from 192.168.7.1: icmp_req=1 ttl=64 time=0.281 ms
64 bytes from 192.168.7.1: icmp_req=2 ttl=64 time=0.428 ms
^C
— 192.168.7.1 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.281/0.354/0.428/0.075 ms
root@beaglebone:~#
but the routing table seems weird:
root@beaglebone:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 * 255.255.255.252 U 0 0 0 usb0
root@beaglebone:~#
And sure enough, neither dns lookups nor pings to outside seem to work
root@beaglebone:~# ping www.google.com
ping: unknown host www.google.com
root@beaglebone:~# ping 74.125.239.116 # aka www.google.com
connect: Network is unreachable
root@beaglebone:~#
I would have assumed this is supposed to work, but I don’t know if this is a consequence of my upgrade. Is this what I am supposed to be seeing?
Thx!