Honestly, it would be much simpler to just connect the two board together
via an ethernet cross over cable if possible. Or, if you have other ideas
for the erthernet ports, and you're comm traffic is light, You could
purchase a 3v3 TTL serial to USB cable, and communicate between the two
over serial.

On Fri, Jan 20, 2017 at 5:01 PM, William Hermans <[email protected]> wrote:

>
>
> On Fri, Jan 20, 2017 at 4:41 PM, Bert Beckmann <[email protected]> wrote:
> >
> > thanks for the quick replies
> >
> > so I need to rebuild the kernel in order to change 'dr_mode' to 'otg'?
>   (it would be much more useful if we didn't have to do this)
> >
> > when I boot as is - usb0 comes up ready to network - wouldn't that mean
> it's already setup as otg ?
> >     usb0     Link encap:Ethernet HWaddr  22:87:1a:2a:80:6a
> >
> > If I do this - do I connect usb mini to usb mini ? or mini to full size
> usb as I've been doing ?
> >
> > also - why don't I usb0 or usb1 in /dev? I do see /dev/bus/usb/001 and
> then /dev/buf/usb/002 when I plug in the 2nd BBB to the full size USB on
> the first. I assume somewhere I have to assign an ip?
> > it seems like usb0 and usb1 exist but not as I'd expect
> >
> > Bert
>
> So, you would connect these boards just like you would connect a
> beaglebone to a PC. The "client" would be connected to the USB mini, while
> the "host" would be connected to the full sized USB port. There is a catch
> here however. The "host" Beaglebone would have to be power by the barrel
> jack, or through the P9 header with probably a 2A power supply - To be
> safe. This is because the "client" will probably want to power it's self
> over the USB port. Additionally, if you're going to run more than just the
> basic hardware on the client. You're going to need more than 500mA where,
> I'm not sure how it works when you have both USB and the barrel jack
> plugged in at the same time.
>
> As far as configuring the interface for networking. I always hard coded
> this myself in /etc/network/interfaces like so:
>
> PC side:
> william@eee-pc:~$ tail /etc/network/interfaces
> auto usb0
> allow-hotplug usb0
> iface usb0 inet static
>         address 192.168.7.1
>         netmask 255.255.255.0
>         network 192.168.7.0
>         gateway 192.168.7.1
>
> Then the beaglebone "client" side(USB mini) would be the same, except the
> "address" would be 192.168.7.2. Configured this way, there is no need for a
> DHCP server on either end.
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORobPhdGKjgmQa-0xbmJ%2BGY35m8h25%3Dc1sLCB352WRvb8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to