Hello @guido.gunther and @dos, to be able to SSH from my FreeBSD laptop over an USB-C connection between the Librem 5 and my laptop, I’ve had to setup a DHCP server on my laptop. I documented the exact procedure here in the posting USB tethering: FreeBSD laptop with L5 - #2 by guru
There are comments from members of the FreeBSD community who are questioning the setup and argument that the DHCP server should run in the L5 itself with only declaring in FreeBSD that the network interface in FreeBSD should get its IP addr from the L5 by DHCP. I’m attaching the mail below. Can someone with more Debian/L5 knowhow please comment on this. Thanks in advance.
Date: Wed, 15 Nov 2023 07:14:53 +0100 (GMT+01:00)
To: questions@freebsd.org
Cc: Matthias Apitz <guru@unixarea.de>
Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS)
Hi Matthias (and anyone who comes across this later),
The DHCP server should be run on the device capable of acting as an internet
gateway (in this case, the phone) or else the setup is backwards from every
setup I've come across in 25 years in IT. (In fact, your phone probably already
had dhcpd installed for exactly that reason.)
As an added benefit, nothing needs to be built or installed on the FreeBSD side,
and one line needs to be added to /etc/rc.conf, as previously explained.
Why swim against the current and make things more complex than they need to be?