Currently, I am trying Armbian on the Pocket Beagle 2.
I see there is a way, from the docs pages, to use Linux and iptables to handle USB network sharing.
I am getting stuck.
/etc/default/ files have no such file called bb-boot. In the /sbin/ files, there is also no /route file.
#!/bin/sh -e
#
if ! id | grep -q root; then
echo "must be run as root"
exit
fi
if [ -f /etc/default/bb-boot ] ; then
. /etc/default/bb-boot
fi
if [ "x${USB_CONFIGURATION}" = "x" ] ; then
USB0_SUBNET=192.168.7
DNS_NAMESERVER=8.8.8.8
fi
/sbin/route add default gw ${USB0_SUBNET}.1 || true
ping -c1 ${DNS_NAMESERVER}
echo "nameserver ${DNS_NAMESERVER}" >> /etc/resolv.conf
#
The file with errors I am coming across is via an Armbian release. Has anyone figured out what to do so far to gain Internet Sharing via USB for the rolling release of Armbian?
But, I see it is five years old and the last post was a Gargantuan of a time ago. So, off to relocate more ideas and preserve my sainness in this muck I call life. On a happier note, bananas are delicious.