From nobody Tue Nov 14 18:28:04 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 4SVFCt02tzz50VsF for ; Tue, 14 Nov 2023 18:28:10 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SVFCs6L4cz4FNV for ; Tue, 14 Nov 2023 18:28:09 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [188.174.55.85] (helo=c720-1400094.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r2y8r-009OEM-Tx; Tue, 14 Nov 2023 19:28:06 +0100 Received: from c720-1400094.fritz.box (localhost [127.0.0.1]) by c720-1400094.unixarea.de (8.17.1/8.14.9) with ESMTP id 3AEIS47N002319; Tue, 14 Nov 2023 19:28:04 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094.fritz.box (8.17.1/8.14.9/Submit) id 3AEIS4og002318; Tue, 14 Nov 2023 19:28:04 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094.fritz.box: guru set sender to guru@unixarea.de using -f Date: Tue, 14 Nov 2023 19:28:04 +0100 From: Matthias Apitz To: Alexander Burke Cc: questions@freebsd.org Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) Message-ID: Reply-To: Matthias Apitz References: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> <0fc4bf45-cec4-431f-9c23-5c53ec628a15@alexburke.ca> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0fc4bf45-cec4-431f-9c23-5c53ec628a15@alexburke.ca> X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.55.85 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:42730, ipnet:178.254.0.0/19, country:DE] X-Rspamd-Queue-Id: 4SVFCs6L4cz4FNV Hello Alexander, El día martes, noviembre 14, 2023 a las 06:40:17p. m. +0100, Alexander Burke escribió: > When tethering a laptop to a mobile phone, the phone is generally the DHCP > server and the laptop is the DHCP client. On the Purism L5 there is no DHCP server installed or running. The NM is initiating DHCP requests on usb0 when carrier is seen. I will discuss this topic in the Purism community later the day, see here https://forums.puri.sm/t/usb-tethering-freebsd-laptop-with-l5/21819 Meanwhile I installed and configured a DHCP server in the FreeBSD laptop and when I restart this after plugin the cable (which should be done via a devd configuration) the L5 gets an IP by DHCP request and all is fine > Is there a specific reason you want to run it the other way around, or have > I misunderstood something? My primary goal is to have access by SSH from the laptop *into* the mobile L5 (and not through the mobile to Internet) to read/write in the mobile my email (with MUA mutt with imap/smpt). It's just enough when IP between both comes up on plugin of the cable, whichever runs the DHCP server. Thanks for your provided feedback/help in any case. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.