Date: Wed, 15 Nov 2023 12:51:59 +0100 (GMT+01:00) From: Alexander Burke <alex@alexburke.ca> To: Matthias Apitz <guru@unixarea.de> Cc: questions@freebsd.org Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) Message-ID: <a639670b-a4ba-409f-a33c-00444d7af922@alexburke.ca> In-Reply-To: <ZVSE3g00mAvi1ISc@pureos> References: <ZVMO/8ord7UwUxnz@pureos> <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> <ZVOm1vDEYf9HUril@c720-1400094.fritz.box> <ZVRavIq94cFxdAV4@c720-1400094.fritz.box> <a81ca97b-018c-4591-a37d-371e366f3ab6@alexburke.ca> <ZVRv0CKIaBFUMT0y@c720-1400094.fritz.box> <ZVSE3g00mAvi1ISc@pureos>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Matthias, Can you please edit my personal details out of your post? Thanks in advance, Alex ---------------------------------------- Nov 15, 2023 09:44:17 Matthias Apitz <guru@unixarea.de>: > El d=C3=ADa mi=C3=A9rcoles, noviembre 15, 2023 a las 08:14:24 +0100, Matt= hias Apitz escribi=C3=B3: >=20 >> El d=C3=ADa mi=C3=A9rcoles, noviembre 15, 2023 a las 07:14:53a. m. +0100= , Alexander Burke escribi=C3=B3: >>=20 >>> Hi Matthias (and anyone who comes across this later), >>>=20 >>> The DHCP server should be run on the device capable of acting as an int= ernet 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 proba= bly already had dhcpd installed for exactly that reason.) >>>=20 >>> ... >>=20 >> Hi Alexander (and anyone who comes across this later), >>=20 >> There is no DHCP server installed in the phone, only a DHCP client: >>=20 >> purism@pureos:~$ dpkg -l | grep dhcp >> ii=C2=A0 isc-dhcp-client=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 4.4.1-2.3+deb11u2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 arm64=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 DHCP client= for automatically obtaining an IP address >> ii=C2=A0 isc-dhcp-common=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 4.4.1-2.3+deb11u2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 arm64=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 common manp= ages relevant to all of the isc-dhcp packages >>=20 >> purism@pureos:~$ apt info isc-dhcp-server >> Package: isc-dhcp-server >> Version: 4.4.1-2.3+deb11u2 >> Priority: optional >> ... >> Download-Size: 524 kB >> APT-Sources: https://repo.pureos.net/pureos byzantium/main arm64 Package= s >> ... >>=20 >> i.e. could be downloaded and installed, but it is not. >>=20 >> For the reasos that this is not installed and configured in the >> phone one could read and understand these posting in the Purism's >> forum: >>=20 >> https://forums.puri.sm/t/l5-dhcp-server/21828 >>=20 >> I'm not an Debian and NetworkManager expert. It is just a fact, that the >> phone device sends DHCP requests when carrier comes up. >>=20 >> The solution I've configured and documented gives what I was in need: >> SSH access from the FreeBSD laptop into the phone (to do things there >> like installations, troubleshooting, readin my mails, etc.). >>=20 >> Hope it helps someone in the same need. >>=20 >>>=20 >>> Why swim against the current and make things more complex than they nee= d to be? >>=20 >> Because there is no DHCP server installed in the phone. I will copy your >> (Alexander) public reply from this mailing list into the forum and will >> ask Purism staff why the things have been setup this ways. >=20 > The posting is here: >=20 > https://forums.puri.sm/t/usb-tethering-freebsd-laptop-with-l5/21819/3 > --=20 > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1= 76-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub >=20 > I am not at war with Russia.=C2=A0 =D0=AF =D0=BD=D0=B5 =D0=B2=D0=BE=D1=8E= =D1=8E =D1=81 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D0=B5=D0=B9. > Ich bin nicht im Krieg mit Russland.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a639670b-a4ba-409f-a33c-00444d7af922>