From nobody Wed Nov 15 11:51:59 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 4SVhPF5nxlz51Sh5 for ; Wed, 15 Nov 2023 11:52:49 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 4SVhPF3Mkdz4WWm for ; Wed, 15 Nov 2023 11:52:49 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Wed, 15 Nov 2023 12:51:59 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1700049161; 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=KfrQUlUpmHeylHfL3KcHBoTP52ERGUrCFpt/h2Ja3+k=; b=eFFpxlRYy46ypYkKzCqSjqR6mqhjuQJ3hD6N9KdNT/qBFsvypl0r2Cfew25KJ4GKtyOovo x4vqlxs1/DsTT6PG9kudIw9DJ4HgPLQwjS2DOscr8UPqx/9DFyU48MyYJXM9QFJU5n8EFL xpHKSpI5cDulN+bO2DQVxMXLXpXzPvs= 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: 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: 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: 4SVhPF3Mkdz4WWm 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 : > 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.