[beagleboard] Networking on Pocket with USB, WTF?

2018-03-06 Thread Tony Giaccone
First the basics. I have a beagle pocket. It's connected to a Macbook Pro, 
running Sierra (10.12.6). I connect using a USB cable and after a short 
delay I get two entries in my networking pane. BeagleBone (192.168.7.1) and 
BeagleBone 2(192.168.6.1).  I have internet sharing turned off. 

At this point I am able to successfully ssh to my board and login.  I use:

$ssh debian@beaglebone.local

*debian@beaglebone*:*~*$ route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric RefUse 
Iface

192.168.6.0 0.0.0.0 255.255.255.252 U 0  00 usb1

192.168.7.0 0.0.0.0 255.255.255.252 U 0  00 usb0

*debian@beaglebone*:*~*$ ifconfig

lo: flags=73  mtu 65536

inet 127.0.0.1  netmask 255.0.0.0

inet6 ::1  prefixlen 128  scopeid 0x10

loop  txqueuelen 1  (Local Loopback)

RX packets 480  bytes 34400 (33.5 KiB)

RX errors 0  dropped 0  overruns 0  frame 0

TX packets 480  bytes 34400 (33.5 KiB)

TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


usb0: flags=4163  mtu 1500

inet 192.168.7.2  netmask 255.255.255.252  broadcast 192.168.7.3

inet6 fe80::6264:5ff:fe45:1b63  prefixlen 64  scopeid 0x20

ether 60:64:05:45:1b:63  txqueuelen 1000  (Ethernet)

RX packets 392  bytes 83626 (81.6 KiB)

RX errors 0  dropped 0  overruns 0  frame 0

TX packets 305  bytes 78511 (76.6 KiB)

TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


usb1: flags=4163  mtu 1500

inet 192.168.6.2  netmask 255.255.255.252  broadcast 192.168.6.3

inet6 fe80::6264:5ff:fe45:1b66  prefixlen 64  scopeid 0x20

ether 60:64:05:45:1b:66  txqueuelen 1000  (Ethernet)

RX packets 146  bytes 38517 (37.6 KiB)

RX errors 0  dropped 0  overruns 0  frame 0

TX packets 111  bytes 24192 (23.6 KiB)

TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Any attempt to turn the mac's internet sharing on, causes the two 
networking entries BeagleBone (192.168.7.1) and BeagleBone 2(192.168.6.1) 
to stop woking. BeagleBone goes red and reports not connected, BeagleBone 2 
stays green but the SSH connection freezes. Communications with the board 
dies.


The only solution at this point is to disconnect the board from the USB 
cable and turn off internet sharing and then reconnect the board on USB.



-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/133ecde8-4eda-4150-b553-35e215b58147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Tony Giaccone
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 

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/aacd9b41-873e-4176-bfe1-60eb3fef8688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Tony Giaccone
This was exactly the problem. Once I removed the horndis all was good. 


Thank you.


On Thursday, March 8, 2018 at 9:20:14 AM UTC-5, RobertCNelson wrote:
>
> On Thu, Mar 8, 2018 at 6:35 AM, Tony Giaccone  > wrote: 
> > 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. 
>
> 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/ 
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f99d08a1-f156-40bc-9b79-cecfa5e10537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-09 Thread Tony Giaccone
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 RefUse 
Iface

default 192.168.6.1 0.0.0.0 UG0  00 usb0

192.168.6.0 0.0.0.0 255.255.255.252 U 0  00 usb0

192.168.6.0 0.0.0.0 255.255.255.252 U 0  00 usb1



Any suggestions?

 
On Thursday, March 8, 2018 at 11:53:14 PM UTC-5, Tony Giaccone wrote:
>
> This was exactly the problem. Once I removed the horndis all was good. 
>
>
> Thank you.
>
>
> On Thursday, March 8, 2018 at 9:20:14 AM UTC-5, RobertCNelson wrote:
>>
>> On Thu, Mar 8, 2018 at 6:35 AM, Tony Giaccone  
>> wrote: 
>> > 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. 
>>
>> 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/ 
>>
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a7cc8279-e1b2-4167-8923-7081680e93ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.