Can I get some help with getting started with the pocket beagle

314 views
Skip to first unread message

Tony Giaccone

unread,
Mar 8, 2018, 7:35:41 AM3/8/18
to BeagleBoard
I thought I posted here once before but I don't see the posting or any replies so if this is a dup my apologies. 

I'm trying to set up a pocket beagle with my Mac and I can't seem to get USB networking up. 

When I connect the device to my mac is shows up on the networking tab as BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as soon as I turn on network sharing everything blows up. The devices go from being useable network entries to one being "red" and the other going to a self assigned IP address.  The ssh connection is broken and the only recovery is to turn off shared networking and disconnect the cable and then reconnect it. 

I've made atempts on the board side to set up a default route.  And enable dhcp, which actually seems to be running already. If I try to ping from the pocket to the outside world it either fails to work or I get network unavailable. 

The mac is a macbook pro running sierra.  Any additional suggestions would be greatly appreciated. 


Tony 

Chris Green

unread,
Mar 8, 2018, 9:03:38 AM3/8/18
to beagl...@googlegroups.com
Tony Giaccone <to...@giaccone.org> wrote:
>
> When I connect the device to my mac is shows up on the networking tab as
> BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as soon
> as I turn on network sharing everything blows up.

I'm not clear - where are you turning on "network sharing" and *why*
are you turning it on?

--
Chris Green
·

Robert Nelson

unread,
Mar 8, 2018, 9:20:14 AM3/8/18
to Beagle Board, to...@giaccone.org
Uninstall the horndis driver. The reason you are seeing two
interfaces, we have rndis for windows, and a cdc interface for mac.

Regards,

--
Robert Nelson
https://rcn-ee.com/

Tony Giaccone

unread,
Mar 8, 2018, 11:53:14 PM3/8/18
to BeagleBoard
This was exactly the problem. Once I removed the horndis all was good. 


Thank you.

Tony Giaccone

unread,
Mar 9, 2018, 10:01:04 AM3/9/18
to BeagleBoard
it seems I spoke too soon. 

I now can turn on network sharing on my mac.  To keep the pocketbeagle connected I have to switch from DHCP to manual on the mac side. 

I execute this on the pocketBeagle.

sudo /sbin/route add default gw 192.168.6.1


but then get this result:


$ ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

From 192.168.6.2 icmp_seq=1 Destination Host Unreachable


The mac is set up with 

IPAddr 192.168.6.1

netmask: 255.255.255.252


on the beaglebone, 


$ route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

default         192.168.6.1     0.0.0.0         UG    0      0        0 usb0

192.168.6.0     0.0.0.0         255.255.255.252 U     0      0        0 usb0

192.168.6.0     0.0.0.0         255.255.255.252 U     0      0        0 usb1



Any suggestions?

Robert Nelson

unread,
Mar 9, 2018, 10:04:29 AM3/9/18
to Beagle Board
On Fri, Mar 9, 2018 at 9:01 AM, Tony Giaccone <to...@giaccone.org> wrote:
> it seems I spoke too soon.
>
> I now can turn on network sharing on my mac. To keep the pocketbeagle
> connected I have to switch from DHCP to manual on the mac side.
>
> I execute this on the pocketBeagle.

Once you enable, network sharing on the mac, just login thru the
serial interface and run:

sudo dhclient usb1 (or usb0)
Reply all
Reply to author
Forward
0 new messages