At Sat, 30 Jan 2021 13:06:38 -0500
beagl...@googlegroups.com wrote:
>
> On Fri, 29 Jan 2021 17:10:23 -0500, in gmane.comp.hardware.beagleboard.user
> Kenneth Martin <
ken.unix.guy-Re5J...@public.gmane.org>
> wrote:
>
> >
> >This worked under Windows 10. The Bone could access the internet fine.
> >
>
> More likely -- "this worked under Windows 10" INTERNET CONNECTION
> SHARING (ICS). A feature which has to be enabled/configured in Windows, it
> is not automatic. When configured properly -- meaning the local and wide
> area network NICs have been defined, and the firewall has had stuff opened
> up to allow pass-through traffic, the Windows machine becomes an Internet
> Gateway Router.
>
> >P.C. Now running Ubuntu 20.04.
> >
>
> There is no "all in one" configuration. You have to adjust the Linux
> routing tables, defining gateway ports, the NICs to route between, along
> with setting up firewall rules. All actions that require some knowledge of
> Linux and networking.
And *every* step must be followed and to make the setup *persistent*, some
steps need to be added to startup files *and* be done manually. Missing any
one step will cause things to stop working or not work at all.
>
> Might be better to run a network cable connection from the BBB to the
> (laptop? I presume it has an RJ45 jack somewhere) and try to configure
> Linux to route a proper Ethernet connection to the WiFi rather than trying
> to use the pseudo-device created over the USB connection. As has been
> mentioned, that USB-gadget is really meant just to allow direct (SSH)
> connection to the BBB for purposes of configuring it (if needed) with the
> Ethernet connection being the primary networking link.
Actually, setting up a Linux machine to act as a router via its Ethernet is a
little MORE involved. For starters, you will have to install the DHCPD server
and then configure the DHCPD server, plus *ALL* of the "INTERNET CONNECTION
SHARING (ICS)" stuff. Oh, unless he also gets an Ethernet Switch, he would
want to get a Ethernet cross-over cable.
Given that the OP has no access to his router (and yes there is a router
somewhere in his living center) and is not really an expert Linux admin, his
best option is to just get a USB WiFi dongle and plug that into the USB A host
port on the BBB. Also, the BBB will actually run better when powered from the
5V DC coax power jack.