Pocket Beagle first impressions

I am using two SUDO commands to make a host Linux be the router for the USB connected and powered Pocket BeagleBone.

On host I use to specific to

Wired connection 2

information for interface enxxxxxx (IE: Hardware: 38:D2:69:59:FB:9E)

iptables --table nat --append POSTROUTING --out-interface wlp2s0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --append FORWARD --in-interface enx38d26959fb9e -j ACCEPT

Then login to Pocket BeagleBone

ssh debian@coolbbp.local

/sbin/route add default gw 192.168.7.1
cp resolv.conf /run/connman/resolv.conf
service ntp restart

Prove with ping or date

debian@coolbbp:~$ date
Wed Jun 26 15:42:10 EDT 2019
debian@coolbbp:~$ ping google.com
PING google.com (172.217.164.142) 56(84) bytes of data.
64 bytes from iad30s24-in-f14.1e100.net (172.217.164.142): icmp_seq=1 ttl=54 time=8.67 ms
64 bytes from iad30s24-in-f14.1e100.net (172.217.164.142): icmp_seq=2 ttl=54 time=9.44 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 8.673/9.058/9.444/0.397 ms

I know this is an old post but maybe me being new here I can show what I do to learn about
the Pocket BeagleBone with Game Pup A4

More to come as I investigate this NEW mystery board…

2 Likes