From nobody Wed Nov 15 12:03:00 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SVhdb048fz51TBX for ; Wed, 15 Nov 2023 12:03:31 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [95.215.58.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SVhdZ4V3Hz4bSX for ; Wed, 15 Nov 2023 12:03:30 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Wed, 15 Nov 2023 13:03:00 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1700049802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DxBi45CCvxp9q3M4nSJE0rh7flL6958j0cQQ7tcTf7o=; b=Kpx8SngU53V3Hk9xsLpXTPbrI21eIm4TUy84F01USAqzbOpeIIq13pILHqD8LEQtyCC1kw 7oXPQ/lOXIUFl3o5yC77ztvQczSGVjOkriapfp1hIzBhD8XFWjXmJuIcQK2uz05abbmwYc hNbcLqF8dmC1o1UPoomPv/uGF+FOFss= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke To: Matthias Apitz Cc: questions@freebsd.org Message-ID: <4e56f425-730a-4392-9d64-6b73166a73a8@alexburke.ca> In-Reply-To: References: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <4e56f425-730a-4392-9d64-6b73166a73a8@alexburke.ca> X-Migadu-Flow: FLOW_OUT X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202172, ipnet:95.215.58.0/24, country:CH] X-Rspamd-Queue-Id: 4SVhdZ4V3Hz4bSX Hi Matthias, Yes, I know, but I _chose_ to put it here. I recommend you not be so cavalier with the personal info of others =E2=80= =94 especially those who have been spending their time trying to help you. Thanks again, Alex ---------------------------------------- Nov 15, 2023 13:00:12 Matthias Apitz : > El d=C3=ADa mi=C3=A9rcoles, noviembre 15, 2023 a las 12:51:59p. m. +0100,= Alexander Burke escribi=C3=B3: >=20 >> Hi Matthias, >>=20 >> Can you please edit my personal details out of your post? >>=20 >> Thanks in advance, >> Alex >=20 > I did so as your request. But they are visible in the FreeBSD mailing > list and its Internet archives also. >=20 > =C2=A0=C2=A0=C2=A0 matthias >=20 >> ---------------------------------------- >>=20 >> Nov 15, 2023 09:44:17 Matthias Apitz : >>=20 >>> El d=C3=ADa mi=C3=A9rcoles, noviembre 15, 2023 a las 08:14:24 +0100, Ma= tthias Apitz escribi=C3=B3: >>>=20 >>>> El d=C3=ADa mi=C3=A9rcoles, noviembre 15, 2023 a las 07:14:53a. m. +01= 00, 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 i= nternet gateway (in this case, the phone) or else the setup is backwards fr= om every setup I've come across in 25 years in IT. (In fact, your phone pro= bably 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 cli= ent 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 m= anpages 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 Packa= ges >>>> ... >>>>=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 t= he >>>> 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 n= eed to be? >>>>=20 >>>> Because there is no DHCP server installed in the phone. I will copy yo= ur >>>> (Alexander) public reply from this mailing list into the forum and wil= l >>>> 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= -176-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. >=20 > --=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. > =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.