From nobody Sat Nov 11 22:14:07 2023 X-Original-To: freebsd-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 4SSVNG0pKNz50KMq for ; Sat, 11 Nov 2023 22:14:22 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SSVNF217Tz3fHm for ; Sat, 11 Nov 2023 22:14:21 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Rt2i96uG; spf=pass (mx1.freebsd.org: domain of jcb2023az@gmail.com designates 2a00:1450:4864:20::22f as permitted sender) smtp.mailfrom=jcb2023az@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c594196344so40606761fa.3 for ; Sat, 11 Nov 2023 14:14:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699740859; x=1700345659; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vnYJohAorZ7lXV+MVJOpsrkvnRvxt3q/IPI9tG18E4Q=; b=Rt2i96uGL9tiP0LIlGH6XIaji9aHdtD4VHR3q38zqkNUB/o65EnEc/GLWs/jbB6QE+ WvrVUZWKzEddM7w8mc3BSTGfLnFjCBiat5Xpkiu16r37dAsIWG1rNi052j5q5sfCpCTT yW3YYj8FsNH1J+CUsdwpSh+jFW09QLtVbk/3oqvO0Jj5xo4IePa3I72l1Yw5tWf99aoj fMclgO2EVjFUc2VotsSq/QbgZYqE8xTUZ9m6aQ0Ot1373PpIjIO4hOrc01UA+U2cUiyM Eh6yt2xzTx794nyzfZmthYRI9916W6cY22eo77LmrrnSR6YtOgwF19IR5bglNFgsjBop ZbPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699740859; x=1700345659; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vnYJohAorZ7lXV+MVJOpsrkvnRvxt3q/IPI9tG18E4Q=; b=RvAjf19m046+RCTW9zU2GiuFVU3XKCtryILEqHGXcJ9cn2mGAmaZuc/EjXbS0JCHOc bLkwFr/BHrME2LeFcYqsy35cvnGolx9W7IadWGTrQeFp1Vl6MMRcfxXBpDie0YuTAaNP YdydiVedjiHtq5v2imtgFSm2+FYPWpvz3L41R8saedfR3OemBfIxo1/Fnmz/5zvePVNv 1tEaSrs3uoj+9/5UpoyVo5LCzNHSZ4P8DHJpyz06KCQLQu2n3T35l9FcrRRMInRgAmoA +rYNPdKznMydCLeNCnLC5eEDaRDlcuTOpFavW8GbZ41qlCh9jYyHMF6QglrhiX0rMdhm jLWQ== X-Gm-Message-State: AOJu0YwYNF5RjOKnbQq5MPwlFmGJhctYEYAALswpN2CUav6HUai/JL1f 6T+WLv4KH1pDA6H3IzlS9HQsVtdTS2Hs9TmksdhM8oZ2 X-Google-Smtp-Source: AGHT+IFU2DBiyZW0zgHOMVCJr05jTOVX8LW8LdwAdfvVgjfgTgpHRU+9sE9UYEeboMHnGmbsTyCi/FoIxlNU9hACuE8= X-Received: by 2002:a2e:a993:0:b0:2c5:1b82:a533 with SMTP id x19-20020a2ea993000000b002c51b82a533mr2025960ljq.15.1699740858485; Sat, 11 Nov 2023 14:14:18 -0800 (PST) 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 From: Joe B Date: Sat, 11 Nov 2023 14:14:07 -0800 Message-ID: Subject: Getting Internal Microphone working To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001491d10609e7c2c8" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22f:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4SSVNF217Tz3fHm X-Spamd-Bar: --- --0000000000001491d10609e7c2c8 Content-Type: text/plain; charset="UTF-8" I have a Hp Envy x360 Convertible Here is some information about my laptop running freebsd 13.2 https://dpaste.org/mBUkg And https://dpaste.org/3McOM Basically according to sndstat pcm0; is a play/rec I want to get play/rec to be part of the speaker which is pcm1: if that is even possible. I read a lot today about nids and device.hints but I don't fully understand it As you see in one of the dpaste that Nid20 is the internal speaker Nid25 is the microphone Nid33 is the headphones Can someone look at this and help me make sense of it. The answer would be nice but can somebody break it down Sorry if you can't click the links I'm out celebrating with my daughter in law and I'm on my phone - Joe B --0000000000001491d10609e7c2c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a Hp Envy x360 Convertible=C2=A0=

Here is some inform= ation about my laptop running freebsd 13.2


Basically according to sndstat pcm0; = is a play/rec I want to get play/rec to be part of the speaker which is pcm= 1: if that is even possible.

I read a lot today about nids and device.hints but I don't fully u= nderstand it

As you see = in one of the dpaste that

Nid20 is the internal speaker

Nid25 is the microphone

Nid33 is the headphones

Can someone look at this and help me make sense of it. The answer= would be nice but can somebody break it down

Sorry if you can't click the links I'm out ce= lebrating with my daughter in law and I'm on my phone


- Joe B
=
--0000000000001491d10609e7c2c8-- From nobody Tue Nov 14 06:09:03 2023 X-Original-To: freebsd-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 4STwqC01JTz50XTj for ; Tue, 14 Nov 2023 06:09:11 +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 4STwqB244vz3M5X for ; Tue, 14 Nov 2023 06:09:10 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de; dmarc=none Received: from [188.174.55.85] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r2mbi-00DoEd-3I for freebsd-questions@freebsd.org; Tue, 14 Nov 2023 07:09:06 +0100 Date: Tue, 14 Nov 2023 07:09:03 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: USB tethering between FreeBSD and mobile phone (Debian OS) Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org 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 X-Operating-System: FreeBSD 14.0-CURRENT 1400094 (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-Result: default: False [-2.18 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.59)[-0.587]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.50)[-0.496]; RWL_MAILSPIKE_EXCELLENT(-0.40)[178.254.4.101:from]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de] X-Rspamd-Queue-Id: 4STwqB244vz3M5X X-Spamd-Bar: -- Hello, When I connect my Debian mobile phone Purism L5 to my beloved FreeBSD laptop with an USB-C cable, on both ends exists (L5: usb0) or come up (FreeBSD: ue0) a network interface: mobile phone: ifconfig usb0 usb0: flags=4163 mtu 1500 ether 96:06:ad:58:63:9d txqueuelen 1000 (Ethernet) RX packets 448488 bytes 31739673 (30.2 MiB) RX errors 6 dropped 0 overruns 0 frame 0 TX packets 306592 bytes 3677180864 (3.4 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 FreeBSD 14.0-CURRENT: ifconfig ue0 ue0: flags=1008843 metric 0 mtu 1500 options=80000 ether 3e:07:40:6d:13:91 inet6 fe80::3c07:40ff:fe6d:1391%ue0 prefixlen 64 scopeid 0x3 media: Ethernet autoselect status: active nd6 options=23 but nothing else happens in the sense of DHCP; a dhcpclient seems to be started on FreeBSD for this interface ue0. I can use "ifconfig ue0 10.0.1.1" on FreeBSD and on the L5 "ifconfig 10.0.1.2" and can run fine "ssh purism@10.0.1.2" from FreeBSD to the L5. What could I do that the IP addrs get assigned automatically? In the past I did the same with an Ubuntu mobile the IP addr was assigned as 10.42.0.2 to FreeBSD and the phone has 10.42.0.1 which let me think that the DHCP service came from the mobile. When I do the same USB-C connection using my MacBook Pro, IP addresses get assigned automatically as: purism@pureos:~$ ifconfig usb0 usb0: flags=4163 mtu 1500 inet 192.168.33.2 netmask 255.255.255.0 broadcast 192.168.33.255 inet6 fe80::4d93:bdb7:ac4b:698 prefixlen 64 scopeid 0x20 ether 96:06:ad:58:63:9d txqueuelen 1000 (Ethernet) RX packets 1799784 bytes 111111162 (105.9 MiB) RX errors 18 dropped 0 overruns 0 frame 0 TX packets 548389 bytes 7352130824 (6.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ~ apitzm$ ifconfig en7 en7: flags=8863 mtu 1500 options=404 ether 3e:07:40:6d:13:91 inet6 fe80::18de:caef:aa2d:3bd6%en7 prefixlen 64 secured scopeid 0x13 inet 192.168.33.1 netmask 0xffffff00 broadcast 192.168.33.255 nd6 options=201 media: autoselect (100baseTX ) status: active This is because in the MacOS some DHCP services is started with #!/bin/sh # # start the DHCP server in MacOS # see also: # https://www.swissns.ch/site/2014/05/running-mac-os-xs-built-in-dhcp-server/ # config file: /etc/bootpd.plist # # guru@unixarea.de, March 2023 # start: # sudo /bin/launchctl load -w /System/Library/LaunchDaemons/bootps.plist -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub From nobody Tue Nov 14 09:27:49 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 4SV1Dk1Fq4z51BmZ for ; Tue, 14 Nov 2023 09:28:06 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [IPv6:2001:41d0:203:375::b6]) (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 4SV1Dj6SyKz4Hgb for ; Tue, 14 Nov 2023 09:28:05 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Message-ID: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1699954075; 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=qGZQvYpXx0NYzufIIqb5TIvQzsVjwXNBXpNYTW5FHh4=; b=k534JP+Omz4LRY3W3wDTurxe9agozySn8w+ZutmoVkx65NiyND68k/db3o50wRgt4BFNiq vl/1uLbyZyMjsLnGLcCij7/7yCn4QIIcz86lfDYmSrShVh/DF4pdZqJYDerKfQHgfAwjQm nhjALDxv2VxT3tp5r4QfAtkMiDDN1Z4= Date: Tue, 14 Nov 2023 10:27:49 +0100 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 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke Subject: USB tethering between FreeBSD and mobile phone (Debian OS) To: questions@freebsd.org Cc: Matthias Apitz References: Content-Language: en-CA, ca, fr, es-ES In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4SV1Dj6SyKz4Hgb Hi Mathias, I added a single line in `/etc/rc.conf` to take care of this automagically when I need to tether via USB to my Pixel running GrapheneOS (which also produces a `ue0` interface on the FreeBSD side): ifconfig_ue0="up SYNCDHCP" IIRC, I found this solution here: https://forums.freebsd.org/threads/wireless-setup-and-syncdhcp.41488/ I'm usually not tethering so it thus causes a slight delay at boot because the interface isn't up at that point and boot is paused until this times out, but it causes `dhclient` to remain running and fetch an address whenever it does come up. It's possible this isn't the best way to do it; perhaps others can chime in to improve further on this implementation. Cheers, Alex From nobody Tue Nov 14 12:20:05 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 4SV53X2K0bz50ksN for ; Tue, 14 Nov 2023 12:20:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 4SV53X0RKXz4dSy for ; Tue, 14 Nov 2023 12:20:23 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Authentication-Results: mx1.freebsd.org; none Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 817B5F9A28; Tue, 14 Nov 2023 12:20:15 +0000 (GMT) Message-ID: <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> Date: Tue, 14 Nov 2023 11:20:05 -0100 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 User-Agent: Mozilla Thunderbird Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) Content-Language: en-GB To: Alexander Burke , questions@freebsd.org Cc: Matthias Apitz References: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> From: Arthur Chance In-Reply-To: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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:13037, ipnet:217.155.0.0/16, country:GB] X-Rspamd-Queue-Id: 4SV53X0RKXz4dSy On 14/11/2023 08:27, Alexander Burke wrote: > Hi Mathias, > > I added a single line in `/etc/rc.conf` to take care of this > automagically when I need to tether via USB to my Pixel running > GrapheneOS (which also produces a `ue0` interface on the FreeBSD side): > > ifconfig_ue0="up SYNCDHCP" > > IIRC, I found this solution here: > https://forums.freebsd.org/threads/wireless-setup-and-syncdhcp.41488/ > > I'm usually not tethering so it thus causes a slight delay at boot > because the interface isn't up at that point and boot is paused until > this times out, but it causes `dhclient` to remain running and fetch an > address whenever it does come up. > > It's possible this isn't the best way to do it; perhaps others can chime > in to improve further on this implementation. I've never used tethering so this is just a suggestion, but isn't this the sort of thing that ought to be handled by devfs with a conf file in /etc/devd. Have a rule that notices when ue0 attaches (and possibly on detaching as well) and Do The Right Thing at that point. -- We build our computer systems the way we build our cities; over time, without a plan, on top of ruins. — Ellen Ullman From nobody Tue Nov 14 16:56:54 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 4SVCBk3XXVz51WWC for ; Tue, 14 Nov 2023 16:57:02 +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 4SVCBk1JvHz4Nl5 for ; Tue, 14 Nov 2023 16:57:02 +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 1r2wif-0080TT-K8; Tue, 14 Nov 2023 17:56:57 +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 3AEGutlc002367; Tue, 14 Nov 2023 17:56:55 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094.fritz.box (8.17.1/8.14.9/Submit) id 3AEGusE7002366; Tue, 14 Nov 2023 17:56:54 +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 17:56:54 +0100 From: Matthias Apitz To: Arthur Chance Cc: Alexander Burke , 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> 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: <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> 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: 4SVCBk1JvHz4Nl5 El día martes, noviembre 14, 2023 a las 11:20:05a. m. -0100, Arthur Chance escribió: > On 14/11/2023 08:27, Alexander Burke wrote: > > Hi Mathias, > > > > I added a single line in `/etc/rc.conf` to take care of this > > automagically when I need to tether via USB to my Pixel running > > GrapheneOS (which also produces a `ue0` interface on the FreeBSD side): > > > > ifconfig_ue0="up SYNCDHCP" > > > > IIRC, I found this solution here: > > https://forums.freebsd.org/threads/wireless-setup-and-syncdhcp.41488/ > > > > I'm usually not tethering so it thus causes a slight delay at boot > > because the interface isn't up at that point and boot is paused until > > this times out, but it causes `dhclient` to remain running and fetch an > > address whenever it does come up. > > > > It's possible this isn't the best way to do it; perhaps others can chime > > in to improve further on this implementation. > > I've never used tethering so this is just a suggestion, but isn't this > the sort of thing that ought to be handled by devfs with a conf file in > /etc/devd. Have a rule that notices when ue0 attaches (and possibly on > detaching as well) and Do The Right Thing at that point. I've checked the log file on the mobile phone in /var/log/syslog. The phone's NetworkManager sees the carrier on usb0 and waits 45 secs for DHCP requests being fulfilled. This way it works also fine with the MacBook as laptop. There is running some DHCP server on interface en7 and the mobile gets it IP addr from it. I will start my poudriere oven to compile the port net/isc-dhcp44-server. 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. From nobody Tue Nov 14 17:40:17 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 4SVD5Y0kNXz51cWV for ; Tue, 14 Nov 2023 17:37:37 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [IPv6:2001:41d0:203:375::b4]) (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 4SVD5X5cZcz3W8K for ; Tue, 14 Nov 2023 17:37:36 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Message-ID: <0fc4bf45-cec4-431f-9c23-5c53ec628a15@alexburke.ca> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1699983446; 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=c+Id+SW71Sb0rCu+31GOX85y4YF+sX0j2LKnA7y+kTI=; b=NZixBMTt16bw+DDoVWK5kiRIE6bYXzwnWndn1C1Px0IoLBD6GQoopOnuknNR6Pr/0RmzuW T3LSjt1QIO13+EBkt3ekJEYes0mbkQSDteGhzzc+hUA9TfCUfUxExHQ/U8qCSOgAXdpIBR 2Bb9sQpg6/SHi2BW4Hetkz4ax0YF3Mo= Date: Tue, 14 Nov 2023 18:40:17 +0100 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 Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) Content-Language: fr, es-ES, ca, en-CA To: questions@freebsd.org Cc: Matthias Apitz References: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4SVD5X5cZcz3W8K Hi again Matthias, When tethering a laptop to a mobile phone, the phone is generally the DHCP server and the laptop is the DHCP client. Is there a specific reason you want to run it the other way around, or have I misunderstood something? You said there is indeed a DHCP server running on the phone; have you tried what I suggested? Cheers, Alex On 2023-11-14 17:56, Matthias Apitz wrote: > El día martes, noviembre 14, 2023 a las 11:20:05a. m. -0100, Arthur Chance escribió: > >> On 14/11/2023 08:27, Alexander Burke wrote: >>> Hi Mathias, >>> >>> I added a single line in `/etc/rc.conf` to take care of this >>> automagically when I need to tether via USB to my Pixel running >>> GrapheneOS (which also produces a `ue0` interface on the FreeBSD side): >>> >>> ifconfig_ue0="up SYNCDHCP" >>> >>> IIRC, I found this solution here: >>> https://forums.freebsd.org/threads/wireless-setup-and-syncdhcp.41488/ >>> >>> I'm usually not tethering so it thus causes a slight delay at boot >>> because the interface isn't up at that point and boot is paused until >>> this times out, but it causes `dhclient` to remain running and fetch an >>> address whenever it does come up. >>> >>> It's possible this isn't the best way to do it; perhaps others can chime >>> in to improve further on this implementation. >> >> I've never used tethering so this is just a suggestion, but isn't this >> the sort of thing that ought to be handled by devfs with a conf file in >> /etc/devd. Have a rule that notices when ue0 attaches (and possibly on >> detaching as well) and Do The Right Thing at that point. > > I've checked the log file on the mobile phone in /var/log/syslog. The > phone's NetworkManager sees the carrier on usb0 and waits 45 secs for > DHCP requests being fulfilled. This way it works also fine with the > MacBook as laptop. There is running some DHCP server on interface en7 > and the mobile gets it IP addr from it. > > I will start my poudriere oven to compile the port net/isc-dhcp44-server. > > matthias > From nobody Tue Nov 14 17:40:43 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 4SVD9M0sjDz51cpM for ; Tue, 14 Nov 2023 17:40:55 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) (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 4SVD9L3S39z3YKT for ; Tue, 14 Nov 2023 17:40:54 +0000 (UTC) (envelope-from darcy@druid.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of darcy@druid.net designates 2605:2600:1001::44 as permitted sender) smtp.mailfrom=darcy@druid.net; dmarc=pass (policy=reject) header.from=druid.net Received: from [192.168.215.109] (unknown [98.186.193.164]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id 4005E4C302 for ; Tue, 14 Nov 2023 12:40:45 -0500 (EST) Message-ID: Date: Tue, 14 Nov 2023 11:40:43 -0600 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 User-Agent: Mozilla Thunderbird To: questions@freebsd.org Content-Language: en-US From: D'Arcy Cain Subject: Does this work on FreeBSD? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[druid.net,reject]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:19842, ipnet:2605:2600::/32, country:CA]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SVD9L3S39z3YKT X-Spamd-Bar: -- From the web and Amazon it seems likely but can someone who uses this please confirm. I need it to be AP capable. LinksTek Wireless N 600Mbps (2.4GHz 300Mbps and 5GHz 300Mbps) PCIE WiFi Card, Qualcomm Atheros AR946X PCIE Wireless Network Adapter for Windows 7, 8.x, 10, 11 (32/64bit) Desktop PCs (PCIE-N600AT) It does mention Linux in the description. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@Vex.Net, VoIP: sip:darcy@druid.net 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. From nobody Wed Nov 15 05:44:28 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 4SVXDM6NX7z50w5T for ; Wed, 15 Nov 2023 05:44:35 +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 4SVXDL4lnVz4vVl for ; Wed, 15 Nov 2023 05:44:34 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de; dmarc=none Received: from [188.174.60.234] (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 1r38hS-00F0Eq-BP; Wed, 15 Nov 2023 06:44:30 +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 3AF5iTup002220; Wed, 15 Nov 2023 06:44:29 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094.fritz.box (8.17.1/8.14.9/Submit) id 3AF5iSY5002219; Wed, 15 Nov 2023 06:44:28 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 15 Nov 2023 06:44:28 +0100 From: Matthias Apitz To: questions@freebsd.org Cc: Arthur Chance , Alexander Burke 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> 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: 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.60.234 X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RWL_MAILSPIKE_EXCELLENT(-0.40)[178.254.4.101:from]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[questions@freebsd.org]; HAS_REPLYTO(0.00)[guru@unixarea.de]; DMARC_NA(0.00)[unixarea.de]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_XOIP(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCPT_COUNT_THREE(0.00)[3]; HAS_XAW(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4SVXDL4lnVz4vVl X-Spamd-Bar: --- Just to end this thread: How to tether the mobile phone Purism Librem 5 with FreeBSD guru@unixarea.de, November 2023 The Purism Librem 5 (L5) runs PureOS, a Debian variant, but no DHCP server. When an USB-C cable connection between the laptop and the L5 is made, the NetworkManager in the L5 sees the carrier in the network interface 'usb0' and launches a DHCP client on the interface. All we have to do, or what can be done, is launching a DHCP server on the interface 'ue0'. Here is it's configuration. Build and install the port net/isc-dhcp44-server. We just use one of the existing example configuration from /usr/local/etc/dhcpd.conf: ... # A slightly different configuration for an internal subnet. subnet 10.5.5.0 netmask 255.255.255.224 { range 10.5.5.26 10.5.5.30; option domain-name-servers ns1.internal.example.org; option domain-name "internal.example.org"; option routers 10.5.5.1; option broadcast-address 10.5.5.31; default-lease-time 600; max-lease-time 7200; } ... Lines for /etc/rc.conf: ifconfig_ue0="inet 10.5.5.26 netmask 255.255.255.224" dhcpd_enable="YES" dhcpd_ifaces="ue0" And at the end we let devd(8) do its job when the USB-C connection is made with this configuration: /usr/local/etc/devd/l5.conf: notify 1 { match "system" "IFNET"; match "subsystem" "ue0"; match "type" "ATTACH"; action "/usr/local/etc/devd/l5.sh"; }; /usr/local/etc/devd/l5.sh: #!/bin/sh # ifconfig ue0 inet 10.5.5.26 netmask 255.255.255.224 /usr/local/etc/rc.d/isc-dhcpd restart Now you can run from the laptop ssh purism@10.5.5.27 and from there back: ssh guru@10.5.5.26 -- 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. From nobody Wed Nov 15 06:14:53 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 4SVXvf6DMBz510DZ for ; Wed, 15 Nov 2023 06:15:10 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [IPv6:2001:41d0:203:375::b0]) (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 4SVXvf434Bz3Ds9 for ; Wed, 15 Nov 2023 06:15:10 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Wed, 15 Nov 2023 07:14:53 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1700028901; 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=2hVDuxwNdcvqjI8SUInZJ0SnR8tUHzzYuwamcD8LRn8=; b=hQLuV71B6qp3i2gWh8PszTPkCcy+gcz5ePD2NrYh0pZRhlGBhqthx7mxo3QAB2ONYQ40SJ fLZMj5jnt15GCyy8mSudVzabnRlphDKk1Yvx3Au7+hK7cRUW/3wG+iIxSeUsCXUNxWOGd2 rBLq/ENgyjWr/y8tzAILF4Xnp2AS1LA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke To: questions@freebsd.org Cc: Matthias Apitz 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:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4SVXvf434Bz3Ds9 Hi Matthias (and anyone who comes across this later), The DHCP server should be run on the device capable of acting as an interne= t gateway (in this case, the phone) or else the setup is backwards from eve= ry 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 explain= ed. Why swim against the current and make things more complex than they need to= be? Cheers, Alex ---------------------------------------- Nov 15, 2023 06:44:34 Matthias Apitz : >=20 > Just to end this thread: >=20 >=20 > How to tether the mobile phone Purism Librem 5 with FreeBSD > guru@unixarea.de, November 2023 >=20 > The Purism Librem 5 (L5) runs PureOS, a Debian variant, but no DHCP serve= r. > When an USB-C cable connection between the laptop and the L5 is made, the > NetworkManager in the L5 sees the carrier in the network interface 'usb0' > and launches a DHCP client on the interface. All we have to do, or what > can be done, is launching a DHCP server on the interface 'ue0'. Here is > it's configuration. >=20 > Build and install the port net/isc-dhcp44-server. >=20 > We just use one of the existing example configuration from > /usr/local/etc/dhcpd.conf: >=20 > ... > # A slightly different configuration for an internal subnet. > subnet 10.5.5.0 netmask 255.255.255.224 { > =C2=A0 range 10.5.5.26 10.5.5.30; > =C2=A0 option domain-name-servers ns1.internal.example.org; > =C2=A0 option domain-name "internal.example.org"; > =C2=A0 option routers 10.5.5.1; > =C2=A0 option broadcast-address 10.5.5.31; > =C2=A0 default-lease-time 600; > =C2=A0 max-lease-time 7200; > } > ... >=20 > Lines for /etc/rc.conf: >=20 > ifconfig_ue0=3D"inet 10.5.5.26 netmask 255.255.255.224" > dhcpd_enable=3D"YES" > dhcpd_ifaces=3D"ue0" >=20 > And at the end we let devd(8) do its job when the USB-C connection is mad= e > with this configuration: >=20 > /usr/local/etc/devd/l5.conf: >=20 > notify 1 { > =C2=A0=C2=A0=C2=A0 match "system"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 "IFNET"; > =C2=A0=C2=A0=C2=A0 match "subsystem"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = "ue0"; > =C2=A0=C2=A0=C2=A0 match "type"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 "ATTACH"; > =C2=A0=C2=A0=C2=A0 action "/usr/local/etc/devd/l5.sh"; > }; >=20 > /usr/local/etc/devd/l5.sh: >=20 > #!/bin/sh > # > ifconfig ue0 inet 10.5.5.26 netmask 255.255.255.224 > /usr/local/etc/rc.d/isc-dhcpd restart >=20 >=20 >=20 > Now you can run from the laptop >=20 > ssh purism@10.5.5.27 >=20 > and from there back: >=20 > ssh guru@10.5.5.26 >=20 >=20 >=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. From nobody Wed Nov 15 07:14:24 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 4SVZD353Nhz5163J for ; Wed, 15 Nov 2023 07:14:27 +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 4SVZD31dwvz3NXh for ; Wed, 15 Nov 2023 07:14:27 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [188.174.60.234] (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 1r3A6T-00GGXt-0X; Wed, 15 Nov 2023 08:14:25 +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 3AF7EOq4002644; Wed, 15 Nov 2023 08:14:24 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094.fritz.box (8.17.1/8.14.9/Submit) id 3AF7EOLF002643; Wed, 15 Nov 2023 08:14:24 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 15 Nov 2023 08:14:24 +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> 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: 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.60.234 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: 4SVZD31dwvz3NXh El día miércoles, noviembre 15, 2023 a las 07:14:53a. m. +0100, Alexander Burke escribió: > 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.) > > ... Hi Alexander (and anyone who comes across this later), There is no DHCP server installed in the phone, only a DHCP client: purism@pureos:~$ dpkg -l | grep dhcp ii isc-dhcp-client 4.4.1-2.3+deb11u2 arm64 DHCP client for automatically obtaining an IP address ii isc-dhcp-common 4.4.1-2.3+deb11u2 arm64 common manpages relevant to all of the isc-dhcp packages 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 Packages ... i.e. could be downloaded and installed, but it is not. 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: https://forums.puri.sm/t/l5-dhcp-server/21828 I'm not an Debian and NetworkManager expert. It is just a fact, that the phone device sends DHCP requests when carrier comes up. 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.). Hope it helps someone in the same need. > > Why swim against the current and make things more complex than they need to be? 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. Thanks 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. From nobody Wed Nov 15 08:44:14 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 4SVcCl1tWKz51BCl for ; Wed, 15 Nov 2023 08:44:19 +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 4SVcCj6zzyz3ftq for ; Wed, 15 Nov 2023 08:44:17 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de; dmarc=none Received: from [212.222.85.178] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r3BVP-000P0L-W0; Wed, 15 Nov 2023 09:44:16 +0100 Date: Wed, 15 Nov 2023 09:44:14 +0100 From: Matthias Apitz To: Alexander Burke , 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> 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: X-Operating-System: FreeBSD 14.0-CURRENT 1400094 (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: 212.222.85.178 X-Spamd-Result: default: False [-3.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; RWL_MAILSPIKE_EXCELLENT(-0.40)[178.254.4.101:from]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; REPLYTO_EQ_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; DMARC_NA(0.00)[unixarea.de]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de] X-Rspamd-Queue-Id: 4SVcCj6zzyz3ftq X-Spamd-Bar: --- El día miércoles, noviembre 15, 2023 a las 08:14:24 +0100, Matthias Apitz escribió: > El día miércoles, noviembre 15, 2023 a las 07:14:53a. m. +0100, Alexander Burke escribió: > > > 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.) > > > > ... > > Hi Alexander (and anyone who comes across this later), > > There is no DHCP server installed in the phone, only a DHCP client: > > purism@pureos:~$ dpkg -l | grep dhcp > ii isc-dhcp-client 4.4.1-2.3+deb11u2 arm64 DHCP client for automatically obtaining an IP address > ii isc-dhcp-common 4.4.1-2.3+deb11u2 arm64 common manpages relevant to all of the isc-dhcp packages > > 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 Packages > ... > > i.e. could be downloaded and installed, but it is not. > > 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: > > https://forums.puri.sm/t/l5-dhcp-server/21828 > > I'm not an Debian and NetworkManager expert. It is just a fact, that the > phone device sends DHCP requests when carrier comes up. > > 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.). > > Hope it helps someone in the same need. > > > > > Why swim against the current and make things more complex than they need to be? > > 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. The posting is here: https://forums.puri.sm/t/usb-tethering-freebsd-laptop-with-l5/21819/3 -- 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. From nobody Wed Nov 15 11:19:23 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 4SVggR5pFbz51R5h for ; Wed, 15 Nov 2023 11:20:03 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SVggR0Vfxz4SPt for ; Wed, 15 Nov 2023 11:20:03 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2c5210a1515so92975041fa.0 for ; Wed, 15 Nov 2023 03:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700047200; x=1700652000; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qYExfDY7I6SXXTf0C8Djk4MCZ47AcvR+FeRl5guyNrg=; b=LLoe2Q5REtJKwFkStLzJy8SJcHVKx1BghVtZEs6jAbJybcN2+wYmfqf+LLsurx1kkx 20lS8SMPLrOZzohN/lPDbBd5xNTK0CX/EaNzIV8Q9DoVUypg0wFmi38SJMB3Jmkklw7c RVBsLF9EYMcJPsfdi8YpZe9oSGE3N1Aa4PXXU/UKt9OJRxdfEkCr8Bz+roigB3QM/2Qn 5SIYMKnHfzOQ4Tv5X33MFawTkrmOndztAG+EfxxXJsK5KCWd2guK8qyJjJJ/R+lTQMtm MnsHgDndBVm4r9FJXAatlUOuHuIdVn/Nzj/sfcdwHXxXdqUomevGuRR6RRNCq1yG0MHj hrQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700047200; x=1700652000; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qYExfDY7I6SXXTf0C8Djk4MCZ47AcvR+FeRl5guyNrg=; b=aUp9SmMlFpJ0Esi6858K1byy6hH/lwQQt4dQoTmn+NMdxXBbLrjR/CD7Gxluz1dAka 95wsnaJ9qKu/n8fBr1H5q+hX33chGWXg01YaPsRFJaLFN6cjm/Rkot97+Qdj93JdT0wV KhMRx2j1ZJnuex6b6WFbRNxjwh8ygUmBdReLA+CoIWIlMbte9V+7m+bEH7WxciMIgwH0 oS8N8suMiCMJgRntdUF+Yg6swpDsdazQU6PKoGR/wYhPSlrM8j9bx0jQCbXaPi27ecF8 hQMyb+UGyR6sDJJixsk+cxzpoivxZLUhbLQWBN1qMPJ9VmwtyNk8xT3UGY6wi2DtRso2 S4Lg== X-Gm-Message-State: AOJu0YxixcHmTWuwPc2gQr+OpHd5j1hpG7kJ6VIOLHV/g0+mCYkx9rVw 8tYzx3xabR125ADCcNQ71johtRebUWxb9P5tB1zYxgpPIxTd0Aw4TtM= X-Google-Smtp-Source: AGHT+IGCv30jaBP8/zy8UYyXhpsFwhwD7n6YJFHG86rKl/lT41+hcEcnWRMTMfBJP4fPcozST9hM+6bFXXViu0g7FRE= X-Received: by 2002:a2e:8758:0:b0:2c7:fa6:7183 with SMTP id q24-20020a2e8758000000b002c70fa67183mr4079136ljj.47.1700047200213; Wed, 15 Nov 2023 03:20:00 -0800 (PST) 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 References: <65b7ecef-b189-4350-a246-3cab934151fd@alexburke.ca> <091f7b66-ce45-4cf4-a4a9-6cd1de66c09b@qeng-ho.org> In-Reply-To: From: Odhiambo Washington Date: Wed, 15 Nov 2023 14:19:23 +0300 Message-ID: Subject: Re: USB tethering between FreeBSD and mobile phone (Debian OS) To: Matthias Apitz Cc: questions@freebsd.org, Arthur Chance , Alexander Burke Content-Type: multipart/alternative; boundary="000000000000785fc4060a2f1561" 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:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4SVggR0Vfxz4SPt --000000000000785fc4060a2f1561 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 15, 2023 at 8:44=E2=80=AFAM Matthias Apitz w= rote: > > Just to end this thread: > > > How to tether the mobile phone Purism Librem 5 with FreeBSD > guru@unixarea.de, November 2023 > > The Purism Librem 5 (L5) runs PureOS, a Debian variant, but no DHCP serve= r. > When an USB-C cable connection between the laptop and the L5 is made, the > NetworkManager in the L5 sees the carrier in the network interface 'usb0' > and launches a DHCP client on the interface. All we have to do, or what > can be done, is launching a DHCP server on the interface 'ue0'. Here is > it's configuration. > > Build and install the port net/isc-dhcp44-server. > > We just use one of the existing example configuration from > /usr/local/etc/dhcpd.conf: > > ... > # A slightly different configuration for an internal subnet. > subnet 10.5.5.0 netmask 255.255.255.224 { > range 10.5.5.26 10.5.5.30; > option domain-name-servers ns1.internal.example.org; > option domain-name "internal.example.org"; > option routers 10.5.5.1; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Whose IP is 10.5.5.1 ?? The phone or the FreeBSD box? If the phone is getting an IP address from the DHCP server running on the FreeBSD, that IP address is bound to change unless assigned statically by a DHCP reservation! This config is so in reverse that I fail to understand it. Is this intended for the FreeBSD box to access the Internet?? --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --000000000000785fc4060a2f1561 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Nov 15, 2023 at 8:44=E2=80=AF= AM Matthias Apitz <guru@unixarea.de<= /a>> wrote:
<= br> Just to end this thread:


How to tether the mobile phone Purism Librem 5 with FreeBSD
guru@unixarea.de,= November 2023

The Purism Librem 5 (L5) runs PureOS, a Debian variant, but no DHCP server.=
When an USB-C cable connection between the laptop and the L5 is made, the NetworkManager in the L5 sees the carrier in the network interface 'usb= 0'
and launches a DHCP client on the interface. All we have to do, or what
can be done, is launching a DHCP server on the interface 'ue0'. Her= e is
it's configuration.

Build and install the port net/isc-dhcp44-server.

We just use one of the existing example configuration from
/usr/local/etc/dhcpd.conf:

...
# A slightly different configuration for an internal subnet.
subnet 10.5.5.0 netmask 255.255.255.224 {
=C2=A0 range 10.5.5.26 10.5.5.30;
=C2=A0 option domain-name-servers ns1.internal.example.org;
=C2=A0 option domain-name "internal.example.org";
=C2=A0 option routers 10.5.5.1;
^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^

Whose IP is 10.5.5.1 ?? T= he phone or the FreeBSD box?
If the phone is getting an IP address from= the DHCP server running on the FreeBSD, that IP address is bound to change= unless assigned statically by a DHCP reservation!
This config is= so in reverse that I fail to understand it.
Is this intended for= the FreeBSD box to access the Internet??

<= span class=3D"gmail_signature_prefix">--
Best regards,Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223"Oh, the cruft.",=C2=A0= egrep -v '^$|^.*#'=C2=A0=C2=AF\_(=E3=83= =84)_/=C2=AF=C2=A0:-)
<= div>[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/sma= rt-questions.html]
--000000000000785fc4060a2f1561-- 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. From nobody Wed Nov 15 11:55:44 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 4SVhSj2Mx0z51SKX for ; Wed, 15 Nov 2023 11:55:49 +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 4SVhSh1sJQz4Xts for ; Wed, 15 Nov 2023 11:55:48 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [212.222.85.114] (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 1r3EUk-004Iff-2N; Wed, 15 Nov 2023 12:55:46 +0100 Received: from c720-1400094 (localhost [127.0.0.1]) by c720-1400094.unixarea.de (8.17.1/8.14.9) with ESMTP id 3AFBtjWx002204; Wed, 15 Nov 2023 12:55:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094 (8.17.1/8.14.9/Submit) id 3AFBtiNt002203; Wed, 15 Nov 2023 12:55:44 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094: guru set sender to guru@unixarea.de using -f Date: Wed, 15 Nov 2023 12:55:44 +0100 From: Matthias Apitz To: Odhiambo Washington Cc: questions@freebsd.org, Arthur Chance , Alexander Burke 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> 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: 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: 212.222.85.114 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: 4SVhSh1sJQz4Xts El día miércoles, noviembre 15, 2023 a las 02:19:23p. m. +0300, Odhiambo Washington escribió: > On Wed, Nov 15, 2023 at 8:44 AM Matthias Apitz wrote: > > > > > Just to end this thread: > > > > > > How to tether the mobile phone Purism Librem 5 with FreeBSD > > guru@unixarea.de, November 2023 > > > > The Purism Librem 5 (L5) runs PureOS, a Debian variant, but no DHCP server. > > When an USB-C cable connection between the laptop and the L5 is made, the > > NetworkManager in the L5 sees the carrier in the network interface 'usb0' > > and launches a DHCP client on the interface. All we have to do, or what > > can be done, is launching a DHCP server on the interface 'ue0'. Here is > > it's configuration. > > > > Build and install the port net/isc-dhcp44-server. > > > > We just use one of the existing example configuration from > > /usr/local/etc/dhcpd.conf: > > > > ... > > # A slightly different configuration for an internal subnet. > > subnet 10.5.5.0 netmask 255.255.255.224 { > > range 10.5.5.26 10.5.5.30; > > option domain-name-servers ns1.internal.example.org; > > option domain-name "internal.example.org"; > > option routers 10.5.5.1; > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Whose IP is 10.5.5.1 ?? The phone or the FreeBSD box? > If the phone is getting an IP address from the DHCP server running on the > FreeBSD, that IP address is bound to change unless assigned statically by a > DHCP reservation! As I said: this config is just one of the examples in the file dhcp.conf. I picked this up to get an addr pair in the range 10.5.5.26 10.5.5.30. With this the FreeBSD gets assigned (static) 10.5.5.26 and the phone 10.5.5.27: FreeBSD: $ ifconfig ue0 ue0: flags=1008843 metric 0 mtu 1500 options=80000 ether 3e:07:40:6d:13:91 inet 10.5.5.26 netmask 0xffffffe0 broadcast 10.5.5.31 inet6 fe80::3c07:40ff:fe6d:1391%ue0 prefixlen 64 scopeid 0x3 media: Ethernet autoselect status: active nd6 options=23 $ netstat -rn Routing tables Internet: Destination Gateway Flags Netif Expire default 10.49.211.1 UGS wlan0 10.5.5.0/27 link#3 U ue0 10.5.5.26 link#1 UHS lo0 10.49.211.0/24 link#2 U wlan0 10.49.211.252 link#1 UHS lo0 127.0.0.1 link#1 UH lo0 the value for ue0 comes from the devd script: /usr/local/etc/devd/l5.sh #!/bin/sh # ifconfig ue0 inet 10.5.5.26 netmask 255.255.255.224 /usr/local/etc/rc.d/isc-dhcpd restart phone: purism@pureos:~$ ifconfig usb0 usb0: flags=4163 mtu 1500 inet 10.5.5.27 netmask 255.255.255.224 broadcast 10.5.5.31 inet6 fe80::4d93:bdb7:ac4b:698 prefixlen 64 scopeid 0x20 ether 96:06:ad:58:63:9d txqueuelen 1000 (Ethernet) RX packets 1810569 bytes 112088858 (106.8 MiB) RX errors 72 dropped 0 overruns 0 frame 0 TX packets 556250 bytes 7353668068 (6.8 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 purism@pureos:~$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.5.5.1 0.0.0.0 UG 0 0 0 usb0 0.0.0.0 10.49.211.1 0.0.0.0 UG 0 0 0 wlan0 0.0.0.0 10.158.237.201 0.0.0.0 UG 0 0 0 wwan0 10.5.5.0 0.0.0.0 255.255.255.224 U 0 0 0 usb0 10.49.211.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 10.158.237.192 0.0.0.0 255.255.255.240 U 0 0 0 wwan0 > This config is so in reverse that I fail to understand it. > Is this intended for the FreeBSD box to access the Internet?? No, the FreeBSD has access to Internet via wlan0. This config is just to allow SSH between the phone and FreeBSD. And the phone has access to Internet through its wwan0 (data mobile). 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. From nobody Wed Nov 15 12:00:07 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 4SVhYm3j4yz51SqT for ; Wed, 15 Nov 2023 12:00:12 +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 4SVhYm36J9z4Z1q for ; Wed, 15 Nov 2023 12:00:12 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [212.222.85.114] (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 1r3EYy-004NKJ-Gu; Wed, 15 Nov 2023 13:00:08 +0100 Received: from c720-1400094 (localhost [127.0.0.1]) by c720-1400094.unixarea.de (8.17.1/8.14.9) with ESMTP id 3AFC07Ao002223; Wed, 15 Nov 2023 13:00:07 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-1400094 (8.17.1/8.14.9/Submit) id 3AFC07GO002222; Wed, 15 Nov 2023 13:00:07 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-1400094: guru set sender to guru@unixarea.de using -f Date: Wed, 15 Nov 2023 13:00:07 +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> 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: 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: 212.222.85.114 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: 4SVhYm36J9z4Z1q El día miércoles, noviembre 15, 2023 a las 12:51:59p. m. +0100, Alexander Burke escribió: > Hi Matthias, > > Can you please edit my personal details out of your post? > > Thanks in advance, > Alex I did so as your request. But they are visible in the FreeBSD mailing list and its Internet archives also. matthias > ---------------------------------------- > > Nov 15, 2023 09:44:17 Matthias Apitz : > > > El día miércoles, noviembre 15, 2023 a las 08:14:24 +0100, Matthias Apitz escribió: > > > >> El día miércoles, noviembre 15, 2023 a las 07:14:53a. m. +0100, Alexander Burke escribió: > >> > >>> 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.) > >>> > >>> ... > >> > >> Hi Alexander (and anyone who comes across this later), > >> > >> There is no DHCP server installed in the phone, only a DHCP client: > >> > >> purism@pureos:~$ dpkg -l | grep dhcp > >> ii  isc-dhcp-client                       4.4.1-2.3+deb11u2                        arm64        DHCP client for automatically obtaining an IP address > >> ii  isc-dhcp-common                       4.4.1-2.3+deb11u2                        arm64        common manpages relevant to all of the isc-dhcp packages > >> > >> 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 Packages > >> ... > >> > >> i.e. could be downloaded and installed, but it is not. > >> > >> 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: > >> > >> https://forums.puri.sm/t/l5-dhcp-server/21828 > >> > >> I'm not an Debian and NetworkManager expert. It is just a fact, that the > >> phone device sends DHCP requests when carrier comes up. > >> > >> 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.). > >> > >> Hope it helps someone in the same need. > >> > >>> > >>> Why swim against the current and make things more complex than they need to be? > >> > >> 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. > > > > The posting is here: > > > > https://forums.puri.sm/t/usb-tethering-freebsd-laptop-with-l5/21819/3 > > -- > > 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. -- 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. 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. From nobody Thu Nov 16 11:10:28 2023 X-Original-To: freebsd-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 4SWHQ40F48z50Vv9 for ; Thu, 16 Nov 2023 11:10:36 +0000 (UTC) (envelope-from fbsddev@bsd2.de) Received: from servers.bsd2.de (servers.bsd2.de [IPv6:2a0a:51c0:0:155::2b]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "servers.bsd2.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWHQ32msQz4NCW for ; Thu, 16 Nov 2023 11:10:35 +0000 (UTC) (envelope-from fbsddev@bsd2.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of fbsddev@bsd2.de designates 2a0a:51c0:0:155::2b as permitted sender) smtp.mailfrom=fbsddev@bsd2.de; dmarc=none Received: from servers.bsd2.de (servers.vpn [IPv6:fd11:13bc:e33d:ffff:0:0:200:20]) by servers.bsd2.de (8.17.1/8.17.1) with ESMTPS id 3AGBAXpu020263 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 16 Nov 2023 12:10:34 +0100 (CET) (envelope-from fbsddev@bsd2.de) Date: Thu, 16 Nov 2023 12:10:28 +0100 From: fbsddev@bsd2.de To: freebsd-questions@freebsd.org Subject: Mail transport agent MTA switch to dma from sendmail in 14.0-RELEASE Message-ID: 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 X-Spamd-Result: default: False [-1.83 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_SPAM_SHORT(0.37)[0.368]; R_SPF_ALLOW(-0.20)[+a:c]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[bsd2.de]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:48314, ipnet:2a0a:51c0::/32, country:DE]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_NO_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SWHQ32msQz4NCW X-Spamd-Bar: - As stated in the release notes for 14.0-RELEASE (https://www.freebsd.org/releases/14.0R/relnotes/) the default MTA will be switched to dma away from sendmail. But it states also that "sendmail and its configuration remain available". Seems that it can be changed back easily by using the mailer.conf file from /usr/share/examples/sendmail/mailer.conf. My question is how long will sendmail remain in the FreeBSD base installation. Is there some kind of a timeline when it finally will be removed from the OS? Thanks and Regards From nobody Thu Nov 16 14:22:20 2023 X-Original-To: freebsd-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 4SWMgW3NDPz50jMk for ; Thu, 16 Nov 2023 14:22:31 +0000 (UTC) (envelope-from mp@petermann-it.de) Received: from www444.your-server.de (www444.your-server.de [136.243.160.50]) (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 4SWMgV0tDZz4phg for ; Thu, 16 Nov 2023 14:22:29 +0000 (UTC) (envelope-from mp@petermann-it.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of mp@petermann-it.de designates 136.243.160.50 as permitted sender) smtp.mailfrom=mp@petermann-it.de; dmarc=none Received: from sslproxy04.your-server.de ([78.46.152.42]) by www444.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3dG9-000NaD-3R for freebsd-questions@freebsd.org; Thu, 16 Nov 2023 15:22:21 +0100 Received: from [217.92.37.201] (helo=mail.localdomain) by sslproxy04.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r3dG8-000Ruf-S0 for freebsd-questions@freebsd.org; Thu, 16 Nov 2023 15:22:20 +0100 Received: from [192.168.2.5] (unknown [192.168.2.5]) by mail.localdomain (Postfix) with ESMTPS id 60634260E7 for ; Thu, 16 Nov 2023 15:22:20 +0100 (CET) Message-ID: <8ada22f7-f25c-47e9-829e-c22a2630a691@petermann-it.de> Date: Thu, 16 Nov 2023 15:22:20 +0100 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 User-Agent: Mozilla Thunderbird From: Matthias Petermann To: freebsd-questions@freebsd.org Content-Language: de-DE Subject: Snapdir of Nullfs-mounted Dataset incomplete in Jail Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms030901070404050301070104" X-Authenticated-Sender: mpeterma@petermann-it.de X-Virus-Scanned: Clear (ClamAV 0.103.10/27095/Thu Nov 16 09:40:23 2023) X-Spamd-Result: default: False [-5.39 / 15.00]; SIGNED_SMIME(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_SPF_ALLOW(-0.20)[+ip4:136.243.160.50/32]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[petermann-it.de]; FREEFALL_USER(0.00)[mp]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_X_AS(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; HAS_ATTACHMENT(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:24940, ipnet:136.243.0.0/16, country:DE]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SWMgV0tDZz4phg X-Spamd-Bar: ----- This is a cryptographically signed message in MIME format. --------------ms030901070404050301070104 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello everyone, I have just made an observation regarding the interaction of ZFS snapshots, Jails, and Nullfs mounts. I have a FreeBSD 13.2-p5 system with a ZFS Root Filesystem. I am using Bastille to manage Jails. There is a Jail whose root filesystem is mounted from the dataset zroot/bastille/jails/dc/root to /usr/local/bastille/jails/dc/root. Furthermore, there is a dataset on the host named zroot/data/shares. I mount this dataset to the Jail's root filesystem using a Nullfs mount at /usr/local/bastille/jails/dc/root/shares. This works so far – I can access /shares within the Jail and effectively use the underlying dataset from both the host and the Jail. Now, I wanted to access the snapshots of zroot/data/shares from within the Jail. So, I quickly set the Snapdir property to visible. Within the Jail, I can now list the existing snapshots via /shares/.zfs/snapshot. Here's the problem: Snapshots are continuously created by Sanoid from the host. Over time, I now get different directory listings of snapdir depending on where I list it from: when listing from the host at /zroot/data/shares/.zfs/snapshot, everything is complete. In the Jail at /shares/.zfs/snapshot, the newer snapshots are missing. If I then go to the host and execute the following: ``` % doas ls -lah /zroot/data/shares/.zfs/snapshot/* ``` ...I get all the snapshots with sub-directories listed as expected. Surprisingly, after that, I can also see the snapshots from within the Jail. A similar issue is discussed in [1] and [2]. Where is my mistake in thinking? Best regards, Matthias [1] https://forums.freebsd.org/threads/zfs-snapshot-directory-access-operation-not-permitted-in-jail-on-freebsd13.80713/ [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260160 --------------ms030901070404050301070104 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cc8wggSSMIIDeqADAgECAgh7b+hpj4hxdjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJE RTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2VydmljZSBHbWJI MSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMB4XDTIzMDIyNzA5Mjg0N1oX DTI0MDIyNzA5Mjg0N1owcDELMAkGA1UEBhMCREUxITAfBgNVBAUTGDQwMDAwMDAwNjNmYzdh MmMyMzY3MDZjNDEbMBkGA1UEAwwSTWF0dGhpYXMgUGV0ZXJtYW5uMSEwHwYJKoZIhvcNAQkB FhJtcEBwZXRlcm1hbm4taXQuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCv UU/+BQYtChQynhczrQa1mva2NJubL2tUGxh5fzYdir3xRlXM/Y55e42uXJnFevtrdCjC/3gD i5y+aMQTpUvsNlUC+LiSTqLMYnPwRi83L7+tCip4vn/mhHSgnpnwQFsJ6dwYELLTIOa0Hfy8 34WD2U+ti71x4Ov2Ghq+FBX+lQusP8UZmvWP8OGzpn964cBWbAsmNk9JbOOf097U+fXs3cOX eqC5w+46iA+K/LMQY4TqCd7vw1X4eptT6dj/3CP9wxamdgu69C7TXpCLhjSet7k3f9nX2Gxa uqUCHbfxzzyRm7I9ytwpswQRZQYUZ5ztQYN0quOp/h5zk0rybKcFAgMBAAGjggE4MIIBNDAd BgNVHQ4EFgQU9XRgKeE4dGBY+hQKQCaHHxqp8ewwDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAW gBTpxpPR1Q8GZHLqapY+uhDyVFSyeTBWBgNVHSAETzBNMEsGDCsGAQQB+ysCAQMCCDA7MDkG CCsGAQUFBwIBFi1odHRwOi8vc2VjNS5kZ25zZXJ2aWNlLmRlL3BvbGljaWVzL2luZGV4Lmh0 bWwwPgYDVR0fBDcwNTAzoDGgL4YtaHR0cDovL3NlYzUuZGduc2VydmljZS5kZS9jcmwvY3Js Mi10eXBlLWUuY3JsMA4GA1UdDwEB/wQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYB BQUHAwQwHQYDVR0RBBYwFIESbXBAcGV0ZXJtYW5uLWl0LmRlMA0GCSqGSIb3DQEBCwUAA4IB AQAIuNIxzvPQ003CW1tA4MkfWTtkCHajiB/37Cd9txEu3ielx/KBRYcLYM30W07UkFDLrP2V qx/ct5NyRv9gFBvtk790gsy4+hYcEIn4y0Gr0fxIdHgAjlAFvPt0Rj+oweDpIyqJ8xtZiN8H zhgHq2OYOp911f/nbgZ36Swela3GWghr19ZHirFp9b63DH91mKcFzZPZ1QeaFQ8Wcvb6Hld3 6+MIbuai4eLX3nirv6fSCIXlPH+iI5iV2eJNZfU8jSpTrwv9sRpjrJjSVqOqoBYKuZU43g/n GKzADoJVVd/jGMNZka3Pfqd3JtAp2YZhh+d5S1ZpQFCCXnk6F6nY0C32MIIFNTCCBB2gAwIB AgIIVRxK12atJfYwDQYJKoZIhvcNAQELBQAwYTELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRH TiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNuZXR6IFNlcnZpY2UgR21iSDEdMBsGA1UEAwwUZGdu c2VydmljZSBSb290IDc6UE4wHhcNMTYxMDI2MDkyMjQxWhcNMjQxMDI2MDkyMjQxWjBmMQsw CQYDVQQGEwJERTEzMDEGA1UECgwqREdOIERldXRzY2hlcyBHZXN1bmRoZWl0c25ldHogU2Vy dmljZSBHbWJIMSIwIAYDVQQDDBlkZ25zZXJ2aWNlIENBIDIgVHlwZSBFOlBOMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3KXylD90x6NH0pdmzmujzW0XA2GWhOGVd7yxq3v1 OOOTrEWoTkT3j//S+J8nEyun1GsKQ06jmg8bV2MY6CTQvS5ykcVQf1JAX9IdubzdC9YleCoQ mmPE4pldM9slEpW9jbmeIHQVOvaiZGrKmI/gD/DnEDqNInY/Ta9XpaBw99otCQz5IQY/FX+n Om+5jcp/Mn2WL2Zc81dokP3L6OohS8dsIBu5gpDmfAQBxgxcOk9FCANAZOtGIUTEcSOxl4zM QUANmP116D+Hb0Aw7TDZitK+Q1F6H/O8Nm613LbkNm+MTcBSBK1aAELvH7Z105vYjrWjrFsi zGV+r+bM2kAagQIDAQABo4IB6jCCAeYwEgYDVR0TAQH/BAgwBgEB/wIBADAfBgNVHSMEGDAW gBQBDBYbdHLTPBTuJne3SRRT2PuLGzBbBggrBgEFBQcBAQRPME0wSwYIKwYBBQUHMAGGP2h0 dHA6Ly9yb2NzcC1kZ24uZGduc2VydmljZS5kZTo4MDgwL2VqYmNhL3B1YmxpY3dlYi9zdGF0 dXMvb2NzcDBqBgNVHSAEYzBhMF8GDCsGAQQB+ysCAQQCATBPME0GCCsGAQUFBwIBFkFodHRw Oi8vd3d3LmRnbnNlcnZpY2UuZGUvdHJ1c3RjZW50ZXIvcHVibGljL2RnbnNlcnZpY2UvaW5k ZXguaHRtbDCBmQYDVR0fBIGRMIGOMIGLoIGIoIGFhoGCbGRhcDovL2xkYXAuZGduc2Vydmlj ZS5kZTozODkvQ049Q1JMLTEsTz1ER04lMjBTZXJ2aWNlJTIwR21iSCxDPURFP2NlcnRpZmlj YXRlUmV2b2NhdGlvbkxpc3Q/YmFzZT9vYmplY3RDbGFzcz1jUkxEaXN0cmlidXRpb25Qb2lu dDAdBgNVHQ4EFgQU6caT0dUPBmRy6mqWProQ8lRUsnkwDgYDVR0PAQH/BAQDAgEGMBsGCSsG AQQBwG0DBQQOMAwGCisGAQQBwG0DBQEwDQYJKoZIhvcNAQELBQADggEBAKu8OfpFyfv8U2rd I4k1+Bg1+R1HkKIagLixn6LR3KkKqoxfBulFCNKuItLZ4R7ZXYWazQThK4E4RrE6DWdWNhp9 BUa3K1FPS54UjMHdVydCXuhEUnRIeL13/GMSUBmSTwjyXK25YbntJpsDvZ24SnsBoJYbeVVk h00vL6uQ2t828RRupSHROtleCqnDAIsmNgXy/ILgj7HE1pebcSa42+BDaPZ0anc7FzRBt8ss 4Jsr+s50OKRoE3uROql8eWzulwg6FCuCs9UvNj80eob3MSmaO5Citrrdgd27sFPMan8O9xDB /Ipr+C1v0sefcChJSo4o4x3TaxRv8DEaGw2MzMkxggOCMIIDfgIBATByMGYxCzAJBgNVBAYT AkRFMTMwMQYDVQQKDCpER04gRGV1dHNjaGVzIEdlc3VuZGhlaXRzbmV0eiBTZXJ2aWNlIEdt YkgxIjAgBgNVBAMMGWRnbnNlcnZpY2UgQ0EgMiBUeXBlIEU6UE4CCHtv6GmPiHF2MA0GCWCG SAFlAwQCAQUAoIIB4TAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0yMzExMTYxNDIyMjBaMC8GCSqGSIb3DQEJBDEiBCC/B+NPPsoQB/WvUJM4PguEUZCmJocT g8ag6a9lRpmNbzBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIw CgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0G CCqGSIb3DQMCAgEoMIGBBgkrBgEEAYI3EAQxdDByMGYxCzAJBgNVBAYTAkRFMTMwMQYDVQQK DCpER04gRGV1dHNjaGVzIEdlc3VuZGhlaXRzbmV0eiBTZXJ2aWNlIEdtYkgxIjAgBgNVBAMM GWRnbnNlcnZpY2UgQ0EgMiBUeXBlIEU6UE4CCHtv6GmPiHF2MIGDBgsqhkiG9w0BCRACCzF0 oHIwZjELMAkGA1UEBhMCREUxMzAxBgNVBAoMKkRHTiBEZXV0c2NoZXMgR2VzdW5kaGVpdHNu ZXR6IFNlcnZpY2UgR21iSDEiMCAGA1UEAwwZZGduc2VydmljZSBDQSAyIFR5cGUgRTpQTgII e2/oaY+IcXYwDQYJKoZIhvcNAQEBBQAEggEAFMogFHaxzZ8F+TVYMu7nvzHLsUhXYYoc+jrS EomKJnm5QAt+6zSMP5grkE/CiwUbkz8XXvhZ3rIv4HZzXwqX84Prndjl/TK1zqjxDgWMGq1I 6VcsJSrL+5hT64XtDXLhAgtHy2TprZPILIEE0Q0q5igyEFyX+hE2KH4pVReOz0HmgJrlIo2Y 2AO3uLZBx8Sl9QRr5KZDSu056mJMB2rTGsZaTVCw6tVqunzPlPjHnyP0nhc/lq7Z+tSO+7Fs OyZT0wBTTq2OtZBm2QrAelvM9FsHjzhP7PNabhaN2b/x/ahPCS7CbGnyKbIx4m4fzaLWeFP1 3GhIK3+X4DLwDVY9lAAAAAAAAA== --------------ms030901070404050301070104-- From nobody Thu Nov 16 17:52:19 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 4SWSKn2K1Qz50vtG for ; Thu, 16 Nov 2023 17:52:29 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from emailh.ca (emailh.ca [23.235.65.100]) (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 4SWSKm0kdbz3Mn8 for ; Thu, 16 Nov 2023 17:52:27 +0000 (UTC) (envelope-from fquest@paz.bz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of fquest@paz.bz designates 23.235.65.100 as permitted sender) smtp.mailfrom=fquest@paz.bz; dmarc=none Received: from 254-68-235-23.gwaiicomm.com ([23.235.68.254] helo=[10.10.10.9]) by emailh.ca with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r3gXK-000F29-5o; Thu, 16 Nov 2023 09:52:18 -0800 Content-Type: multipart/alternative; boundary="------------X6KHff3lI6UvRwZoFwF9v0xv" Message-ID: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> Date: Thu, 16 Nov 2023 09:52:19 -0800 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 User-Agent: Mozilla Thunderbird Content-Language: en-US To: questions@freebsd.org From: Jim Pazarena Subject: expand UFS partition X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; R_SPF_ALLOW(-0.20)[+ip4:23.235.65.64/26]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:852, ipnet:23.235.64.0/20, country:CA]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[paz.bz]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SWSKm0kdbz3Mn8 X-Spamd-Bar: --- This is a multi-part message in MIME format. --------------X6KHff3lI6UvRwZoFwF9v0xv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I have a UFS which is near full, and I know there is spare/un-allocated space on the hard drive. I can not back it up first , as it is both huge and very busy. Are there any tools within FreeBSD to (a) examine if expanding this UFS is possible, and (b) expand it reliably ? I have gparted, and could run it. Which would involve bringing down the server for that duration. All fine & dandy... but can I trust gparted to not wreck this task ? A back up first would take the server down for several hours. I cannot take it down for that long. Now, if I wreck the drive, hind-set would have kicked me square in the butt. I suppose that I could test the reliability of this task on a spare server. And likely will. Unless, that is, FreeBSD has a built in ability. Also... old FBSD .. 11.0 p1 ! ouch Thanks ! -- Jim Pazarenafquest@paz.bz Haida Gwaii - British Columbia - Canada --------------X6KHff3lI6UvRwZoFwF9v0xv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I have a UFS which is near full, and I know there is spare/un-allocated space on the hard drive.
I can not back it up first , as it is both huge and very busy.
Are there any tools within FreeBSD to (a) examine if expanding this UFS is possible, and (b) expand it reliably ?

I have gparted, and could run it. Which would involve bringing down the server for that duration.
All fine & dandy... but can I trust gparted to not wreck this task ?

A back up first would take the server down for several hours. I cannot take it down for that long.
Now, if I wreck the drive, hind-set would have kicked me square in the butt.

I suppose that I could test the reliability of this task on a spare server. And likely will.
Unless, that is, FreeBSD has a built in ability.

Also... old FBSD .. 11.0 p1 ! ouch
Thanks !

-- 
Jim Pazarena         fquest@paz.bz
Haida Gwaii - British Columbia - Canada
--------------X6KHff3lI6UvRwZoFwF9v0xv-- From nobody Thu Nov 16 18:35:03 2023 X-Original-To: freebsd-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 4SWTH30npyz50y5q for ; Thu, 16 Nov 2023 18:35:11 +0000 (UTC) (envelope-from jamie@freebsd.org) Received: from gritton.org (gritton.org [67.43.236.212]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gritton.org", Issuer "gritton.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWTH25rytz3THt for ; Thu, 16 Nov 2023 18:35:10 +0000 (UTC) (envelope-from jamie@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from gritton.org (localgritton [127.0.0.212]) (authenticated bits=0) by gritton.org (8.16.1/8.16.1) with ESMTPA id 3AGIZ38N032045; Thu, 16 Nov 2023 10:35:03 -0800 (PST) (envelope-from jamie@freebsd.org) 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 Date: Thu, 16 Nov 2023 10:35:03 -0800 From: James Gritton To: freebsd-questions@freebsd.org Cc: Matthias Petermann Subject: Re: Snapdir of Nullfs-mounted Dataset incomplete in Jail In-Reply-To: <8ada22f7-f25c-47e9-829e-c22a2630a691@petermann-it.de> References: <8ada22f7-f25c-47e9-829e-c22a2630a691@petermann-it.de> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: jamie@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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:36666, ipnet:67.43.224.0/20, country:CA] X-Rspamd-Queue-Id: 4SWTH25rytz3THt On 2023-11-16 06:22, Matthias Petermann wrote: > Hello everyone, > ... > Here's the problem: Snapshots are continuously created by Sanoid from > the host. Over time, I now get different directory listings of snapdir > depending on where I list it from: when listing from the host at > /zroot/data/shares/.zfs/snapshot, everything is complete. In the Jail > at /shares/.zfs/snapshot, the newer snapshots are missing. > > If I then go to the host and execute the following: > > ``` > % doas ls -lah /zroot/data/shares/.zfs/snapshot/* > ``` > > ...I get all the snapshots with sub-directories listed as expected. > > Surprisingly, after that, I can also see the snapshots from within the > Jail. > > A similar issue is discussed in [1] and [2]. > > Where is my mistake in thinking? No mistake in thinking. I don't know what's going on there, but it's definitely not expected behavior. If I knew ZFS better I could say for whether it was truly a bug, though I suspect it is. - Jamie From nobody Thu Nov 16 19:44:44 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 4SWVqS1xL3z512G2 for ; Thu, 16 Nov 2023 19:44:52 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04olkn20821.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8b::821]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWVqR2DjJz3c8D for ; Thu, 16 Nov 2023 19:44:51 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=LG8B+SbK; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 2a01:111:f400:7e8b::821 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fgMEkk2zCBPeodS8DDgrrmeVjKNvrBH9PPELNsUWH4nrVSmXuz7T1SUvUOAAykV/Is+raugXKgSB+m1v6Ycu+0UfjcvYo0gCMR0F1DbFFougY/7DpB6pAAU1m7jEnSR1CYl//oDLsQGz40bQ1zf2/8m60iyT6Lh2i8/SQR8xFX66N7/jedxQRpYZFftKl+s2xNlgC8ws/WjVb6FxzgSGVoQ/j0raCdu+VULm2AHImI2fP8r9iUH7yrqTJG9T87+1U2bckrcocQJJ2C1+OW3Drlr7Jtpgeks0RYhNrLHbg6/XSNpo286ZbM7Mb1eYYvO9cPC/LVfv3Si4W2w+U5+R2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bVDrEPb99wFfO4+lku7/6YGoK8FIlg36Sp0X8SUOdTI=; b=dviKkslk+O5qILvkV/jPwqpUiyrXRufP69GlX95gOyczuSBXz4tVYX16GURoq9jB+1DIbnakgblA5hZvt0F2VlNmOo/6pPRZI53G9wXMC34b41eN9/y+nors4aCBkO5ii31bAkuSWwVVaTlH5XiMERW4z6+nbT9dLvuusHX6/4k0EIkOPcsgvFIsgrLZxHEo1Gs7EThzTKjDlJ/U9dmNIg8ABLLr/9/LLdl13zuyh8vVWB0OQDBoHQa2ZjfmCkQIGBQaDRvtQuQv3xAai2BHr6Vjqx3s/P72ZnG9yaQwkuYyDO4GZ0pKzJ+IfhZ/j6OSh2nAx+vvuNmUy0U13jMtmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bVDrEPb99wFfO4+lku7/6YGoK8FIlg36Sp0X8SUOdTI=; b=LG8B+SbKwCcXhkq6XOtG+Tu20gQGphLWcVgJ/Z/AvvEbb78+eRqbUqVMCtVIpdFk1LTOC/pOrcB288nTPwI3vKBEQ+AxLvrLEzS8M5EUXTzPVKM02p63dPDalmAyxojTjBhK1XluNr7KDNmobLgn2mZU4zzk+ZYHPmeVsHupheGewSQpxuuiKZk+HDeMh8fmbWktFIVpj0/vfXydWNIsZpLlOBylBdr0YTD6ny5BCkscywgd1LggdmdOqBoFU0bhcfZD07d6eITJitljN2SfgWa8CeHZXeRyR+HtNFmv55rEQJ34/LKOsTRA+wgqtOimlxTNvkLDB5QB7osiBXv2Fg== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by BN9PR11MB5515.namprd11.prod.outlook.com (2603:10b6:408:104::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.21; Thu, 16 Nov 2023 19:44:49 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::a344:ee9f:be69:1aa3]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::a344:ee9f:be69:1aa3%7]) with mapi id 15.20.7002.015; Thu, 16 Nov 2023 19:44:49 +0000 Message-ID: Date: Thu, 16 Nov 2023 12:44:44 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: expand UFS partition Content-Language: en-US To: questions@freebsd.org References: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> From: "Edward Sanford Sutton, III" In-Reply-To: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [iH3Jb+59LUqFqbQateEtR/22Lj84Tc9P] X-ClientProxiedBy: BL1PR13CA0160.namprd13.prod.outlook.com (2603:10b6:208:2bd::15) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: <7724dfcd-e31c-89de-3a3a-79636dc814fa@hotmail.com> 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|BN9PR11MB5515:EE_ X-MS-Office365-Filtering-Correlation-Id: 0670bf5b-2512-4ded-5086-08dbe6dc7e03 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f4UtayJ64iJF+B7aRcVyUiSZU5D/CHKp0LiFvFomZl2WEzRYezSxMcx0XuInj/6ubyTn0x4s/036oLCJHnvclmJpVG2QG2UrNeJzNyPSTIJa9bWsDaohntvcld8/jxB8v801NiZFALQo5QTxJoRBD3kSR3XTkmtKnPtlcsxiCDOuJZbAY9voN/SyrCprkEztVDaP3xV3yVjGxQSEec238Y9wIf8CQ3kY1q6/mundD/FHto43cQAxD1U1VSPfmoPx9BkGpSH3GgG75F18bi0vnYR2qPRA3gasBQu40ghdv7KlOxmyGFkpe9+rBgWBmvOrbGWAneAQRjr/Y0S2B2Jopkk2ef4gmDHcgq6m0EgZjbqamoX6iVuSLaW4U4IPeg7YBLLXJeu3jWrWbs002GFNDkGAWCntlUhS2SKwmtDr1aBP0twnxaLoDz5mhlnseaRNqWtuOv3xmj+FLufDMXRtMLpIXtu2uzwX1zbgY3pQ6P902/M7TzHrKPVywT3t4LtpbHv+N2SSRsNU4zWQ97IyFlGPw2eoQhHyu9vGp5ybTbs= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U290SjFNeGJnQktzcmZSb1IyZEhESVpGZG5WajlrTEU4bHNQUWZPbTgvN2dq?= =?utf-8?B?dnU4RTVvTFVNSndBZDlXbUJ4ZnBEZ1cvKzdnLzUyck45VEZXUkpMbWdDWVUr?= =?utf-8?B?WDB3M0VvTm1xSUhTNG5CRTZldDhTWVdYRDNVZ2pDWFY2a0tqVXVkTnlmOWZW?= =?utf-8?B?aDEzZDl6cTBFWXhMVmdlMHNFTjdaT2hZWHYraThqbkpIZ291NWVyOEc3NU5p?= =?utf-8?B?b09XeTZCWXJxNnFDRkZxQVBpRnoveERmSXo4SXZTMnZUOXhPdlJZbTA3TVpC?= =?utf-8?B?eTkrOVVyU1M4N293UFpBVW5DZ3JIajJzRlJ3U1dlaGNCUmFrTlJsdFBHNTRI?= =?utf-8?B?WUtDdjFLMWx5QUZZRytOMG5VSVFiTVlKT2htQ2ljN2psWWQ3YlJucmVESndF?= =?utf-8?B?cVJqdit0ckFJRlVWM1Q0WVpnMXJDeHBiQ2J2YTFYWFV4ZWFJSG9NK1UrVmxJ?= =?utf-8?B?Q0x1b2pWSVJ6TVNHOTcwL0ZtM3FCMUpISzBJOUVxMy9KQk5iWVRIS0c3a0FG?= =?utf-8?B?VVlBMHk2QXArQittK2lqUzd0aVI0WmNSQ1ZtcHNod2piZlJmVVIva29MOFdB?= =?utf-8?B?bkJCU0kzTGNkNzdPbXZkZHowVVFDcVJZcUNLaVZJMlpHakI1R21YeDRuZHA3?= =?utf-8?B?bjVFWDZEaFFzaVNQYjByVTZ0ZU5HRlY0bWRqYkNTdWd6VWhWVmZQU2ZjUmVx?= =?utf-8?B?WUQ5VzVaZWlkMXg0amxPbE10bCtlVDlnRmRmUHQ2aEVNZE1TWFBwVkVOZXh6?= =?utf-8?B?a3did0ZYdytwdy9hN0pZcmlIRTRtcGFuWU5qL3hWYmlVWUVSZDVJd3RDQmVt?= =?utf-8?B?bzFvdVplOE5rcEtCU1A3RkUyS1g5allVaWxTL054dlgwSTB2RXY5OWdtQU1k?= =?utf-8?B?eUFyWk95VUhLaHJCVklWcXNSWXBXSVRnZmRNQnY5K3g4MXQyK252WUxFNjVM?= =?utf-8?B?eTFHaWZMVy96OGFZSll3WDZtNlQxTGJLWW1US2tJTVRhUFZtbTJ0K0RSeCtu?= =?utf-8?B?Q1c5SmNBTlNJeCtRbzZqUklxUWtjeUk1WEJraVFPZzJ6SDBRMnpmN3F4eDY3?= =?utf-8?B?Y0RhNlMxak1jaXhlUml1N3NGbXBDbWFSaGlzRWdMVkVONEFRUTJyazJ4ZHlm?= =?utf-8?B?UlQvNmZpd1hLYno2SzJRdldOZ1huYnY1dWFTVEVCUFVqTm83ZEgwRmw1UjAw?= =?utf-8?B?ckNlUXplVUxEd3BLbkMyY3RHVW5vN0dGOUN6VGpXMmVzclpacHNIT1AxZnp6?= =?utf-8?B?UXZZa2tvbXhTTnNOcDlmeG9ZS1JGSExBY1BUaUtMMlVQYk5pQXREU21iRWND?= =?utf-8?B?MEdGNGpVNFZEWnJSV3E1OGU4VE56dG9NYTlNNkdGL1oxSXpqdk5TTzVvR0xW?= =?utf-8?B?YWdha3pPc054U1N3ckVGemsxcTR5YTJVSENiZDJBVEt4WkladWkybU9NOE9C?= =?utf-8?B?ZXBNcm10SWlZSHNJRXc4KzBlaFB6TDV5N3JOY2F0dlkycm16STJwMnUvYUVw?= =?utf-8?B?RU5jZHU2QndGa0RndUVVd1paYVZZb2RDNWEyY0I5WTd2dTA5WUlvQ2FaMXNY?= =?utf-8?B?N1Zia1dwT1J3ajJSeXBGWVRjZEVkUjRKTy9WY2NLOS9tclowdGQwVkU0MFFp?= =?utf-8?Q?UtMnApTWiiJHIBQj/T8NgylCwTr4kGUwxdwMJ0+kGjVM=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e8f36.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 0670bf5b-2512-4ded-5086-08dbe6dc7e03 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2023 19:44:49.2067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5515 X-Spamd-Result: default: False [-1.37 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; NEURAL_SPAM_SHORT(0.13)[0.131]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SWVqR2DjJz3c8D X-Spamd-Bar: - On 11/16/23 10:52, Jim Pazarena wrote: > I have a UFS which is near full, and I know there is spare/un-allocated > space on the hard drive. > I can not back it up first , as it is both huge and very busy. It is always easier to schedule downtime than it is to schedule data loss. Not sure what definition of 'huge' and 'very busy' is, but if it is important data, it'd be worth negotiating improving it to hardware/use plan that permits backups actually happen unless the data isn't important. Otherwise, you may want to look into adding dump(8) as a background task that the system has to perform if the data is important; though system backups are always best when the system is 'offline' to do it, most data is valuable even when copied on a live system and dump supports both. > Are there any tools within FreeBSD to (a) examine if expanding this UFS > is possible, and (b) expand it reliably ? If there is usable space just after the UFS partition then: man 8 growfs I have no experience with it. I haven't followed bug reports/upgrades around it closely to know if it and UFS of your FreeBSD vs v12+ have any fixes you could benefit from, performance improvements, or if it could make any changes you would need to undo; may be worth looking into if you 'rebooted' for the task. I'd presume growing the filesystem doesn't take long (but don't know it as a fact) and gpart partition editing definitely doesn't as its just a table about where partitions are and doesn't interpret their contents itself. I thought there was some technical downside to growing a UFS partition vs having it originally formatted to the size but do not recall it at the moment. My resizing partitions experience came from the Windows world. It always consisted of 1. scan disk+filesystem for errors, 2. rework partitions from separately booted media, 3. rescan filesystem for errors. I never proceeded past 1 if errors were found until resolved and I never had long term issues as long as #3 was also performed. > I have gparted, and could run it. Which would involve bringing down the > server for that duration. > All fine & dandy... but can I trust gparted to not wreck this task ? I haven't had issues with gpart other than user error and only once with gvinum when I used it for a parity disk array and a drive died which lead to it swapping the other drives around for some unknown reason; fixed it with dd and a text editor that time. Overall I've only had minor interactions with them. If the gparted you talk of is represented here https://gparted.org/features.php , then no, it will not wreck, nor perform, the task of resizing the partition. It could help you shuffle partitions around if free space is not at the end but moving and copying are all that software does for UFS; you may need to edit fstab entries if partition count before the desired partition changes which that tool also will not likely do. I'd expect moving partitions to take time if it is a partition type it doesn't fully understand how to manipulate (UFS); the larger the partition then the more data to read+write. > A back up first would take the server down for several hours. I cannot > take it down for that long. > Now, if I wreck the drive, hind-set would have kicked me square in the > butt. > > I suppose that I could test the reliability of this task on a spare > server. And likely will. > Unless, that is, FreeBSD has a built in ability. > > Also... old FBSD .. 11.0 p1 ! ouch Maybe negotiate resolving that once backups have been resolved; Overall I'm happier with changes that require newer versions but it depends on your use. I 'think' my system has been smoother about me putting heavy load tasks in the background while continuing to use it as updates come along. > Thanks ! > From nobody Thu Nov 16 20:45:33 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 4SWX9l1W0Yz514vT for ; Thu, 16 Nov 2023 20:45:47 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 4SWX9k38mRz4FJ8 for ; Thu, 16 Nov 2023 20:45:46 +0000 (UTC) (envelope-from kh@panix.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=panix.com header.s=panix header.b=KegQ7A3Z; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com; dmarc=pass (policy=none) header.from=panix.com Received: from rain.cave (c-73-142-21-0.hsd1.ma.comcast.net [73.142.21.0]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4SWX9b6tXbzKS3 for ; Thu, 16 Nov 2023 15:45:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1700167540; bh=GQBO6BczLHkBR0Xf/oUD70+ZdVhOiGf5NPrIxvhtiQs=; h=Date:From:To:Subject:References:In-Reply-To; b=KegQ7A3Z7pUVxf5w4e2bCFkun79CvENNgpfZ/2XF4++qDJLDq3xKSe/2ZVwuqbvgv uqd7BGTtGbcVAm58QXW4Z1uolvF5dRSWE43H6XH9lqZ+jIG4n6xFszNS1bDn6nRBjA zu9CoPOZ6YxXSjfSCvncF/WxtAwCcfMaMRHtnX+0= Date: Thu, 16 Nov 2023 15:45:33 -0500 From: Kurt Hackenberg To: questions@freebsd.org Subject: Re: expand UFS partition Message-ID: References: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> 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=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> User-Agent: Mutt/2.2.12 (2023-09-09) X-Spamd-Result: default: False [-4.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[panix.com,none]; R_DKIM_ALLOW(-0.20)[panix.com:s=panix]; R_SPF_ALLOW(-0.20)[+ip4:166.84.1.64/26]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[166.84.1.89:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[panix.com:+]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SWX9k38mRz4FJ8 X-Spamd-Bar: ---- On Thu, Nov 16, 2023 at 09:52:19AM -0800, Jim Pazarena wrote: >I have a UFS which is near full, and I know there is >spare/un-allocated space on the hard drive. >I can not back it up first , as it is both huge and very busy. If you care about the data, then you should back it up, both before this change and ongoing. You can take a snapshot of the filesystem, and then back up that snapshot while the server runs and modifies the live filesystem. Dump can do that automatically with "dump -L" (see the man page). Or, if that automatic snapshot is not enough to guarantee that the data is in a consistent state, you could bring the server down briefly to stop the filesystem action, take a snapshot manually, restart the server, and back up the snapshot while the system runs. Whatever you do, as you say, it would be good to test it on a spare server first, before messing with the live system. I suggest that you read relevant parts of the FreeBSD Handbook, including the chapter "Storage". From nobody Thu Nov 16 21:05:31 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 4SWXck6Dz0z5162h for ; Thu, 16 Nov 2023 21:05:42 +0000 (UTC) (envelope-from gray@nxg.name) Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [IPv6:2a00:1098:0:82:1000:0:2:1]) (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 4SWXck4VRzz4L7t for ; Thu, 16 Nov 2023 21:05:42 +0000 (UTC) (envelope-from gray@nxg.name) Authentication-Results: mx1.freebsd.org; none Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r3jYS-001j2P-6C; Thu, 16 Nov 2023 21:05:40 +0000 From: Norman Gray To: "Edward Sanford Sutton, III" Cc: questions@freebsd.org Subject: Re: expand UFS partition Date: Thu, 16 Nov 2023 21:05:31 +0000 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: References: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> 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 X-BlackCat-Spam-Score: 0 X-Spam-Status: No, score=-0.1 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:44684, ipnet:2a00:1098::/32, country:GB] X-Rspamd-Queue-Id: 4SWXck4VRzz4L7t On 16 Nov 2023, at 19:44, Edward Sanford Sutton, III wrote: > It is always easier to schedule downtime than it is to schedule data loss. I think I'm going to print this out and put it on the wall above my desk. (or put another way: 'Dear Boss: downtime or data-loss, pick one') Norman -- Norman Gray : https://nxg.me.uk From nobody Thu Nov 16 21:34:03 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 4SWYFn0tYkz517CV for ; Thu, 16 Nov 2023 21:34:21 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SWYFm31FYz4QWy for ; Thu, 16 Nov 2023 21:34:20 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org; dmarc=none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SWYFd40j6z2gFGp for ; Thu, 16 Nov 2023 13:34:13 -0800 (PST) From: Doug Hardie Content-Type: multipart/alternative; boundary="Apple-Mail=_2B1D4940-B2E4-437B-904B-122580DEE8D8" 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: py39-certbot-2.6.0,1 Message-Id: Date: Thu, 16 Nov 2023 13:34:03 -0800 To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean X-Spamd-Result: default: False [-2.38 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.78)[-0.783]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SWYFm31FYz4QWy X-Spamd-Bar: -- --Apple-Mail=_2B1D4940-B2E4-437B-904B-122580DEE8D8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I have been using py39-certbot-2.6.0,1 for sometime now without any = issues. However, earlier this month it started generating errors: Renewing an existing certificate for sermon-archive.info and 5 more = domains Failed to renew certificate sermon-archive.info with error: Could not = bind TCP port 80 because it is already in use by another process on this = system (such as a web server). Please stop the program in question and = then try again. Huh? Of course there is a web server there. That's why I need a = certificate. Anyone know how to fix this issue, or should I switch to = some other LetsEncrypt client? Thanks, -- Doug --Apple-Mail=_2B1D4940-B2E4-437B-904B-122580DEE8D8 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii I have been using py39-certbot-2.6.0,1 for sometime now without any issues.  However, earlier this month it started generating errors:

Renewing an existing certificate for sermon-archive.info and 5 more domains
Failed to renew certificate sermon-archive.info with error: Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.

Huh?  Of course there is a web server there.  That's why I need a certificate.  Anyone know how to fix this issue, or should I switch to some other LetsEncrypt client?  Thanks,

-- Doug

--Apple-Mail=_2B1D4940-B2E4-437B-904B-122580DEE8D8-- From nobody Thu Nov 16 21:59:26 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 4SWYpq3bFGz518Fk for ; Thu, 16 Nov 2023 21:59:31 +0000 (UTC) (envelope-from trkellers@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWYpp37Qcz4SfY for ; Thu, 16 Nov 2023 21:59:30 +0000 (UTC) (envelope-from trkellers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=LZpRDKKm; spf=pass (mx1.freebsd.org: domain of trkellers@gmail.com designates 2607:f8b0:4864:20::233 as permitted sender) smtp.mailfrom=trkellers@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3b41132c33aso305580b6e.1 for ; Thu, 16 Nov 2023 13:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700171968; x=1700776768; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lN7ahVA1h82oBnHehfQ96omvz8R0H0LsDRerf/XMfY0=; b=LZpRDKKmOoQ2DMrB2FgAfBd2RZm35shR8kVLk2og8Q8RZ5ZG/wLlTcsCnf9tyBTF+0 fqV0TnUOK3yy7P6DFuSorTviQuaaYKZWL18j4KEaje0OQNb5Vh1iPEaUJSL0vE4+pL/j ettWQt6DfCo7sDfyAVMKPaGka1caxliAPwrZhkeFutgWMXL/Hx7YsjCzqdxTi1hxrpZR L/Jx8Go/Z7/g55ysiMNV2Yt/lGupmBvuxNLe81XVHrLm3s55q+pwJVw3bTUPOsgvPFeX limtfFg+wCaZkXDekn1NoZdjAzw9Qtbc7ins3Q02YXnhiJPvPurP0lkzTC8D56HZLaUy HnVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700171968; x=1700776768; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lN7ahVA1h82oBnHehfQ96omvz8R0H0LsDRerf/XMfY0=; b=eM8NR4hbuc1fvyR7UzQJir/rXiXRb2cIzFYceoS3zsAbYJA+Kv3MrBE/LNFl+jRmg1 234ONF397Ozb43NQLksQO/riu4aVERk/pFWCjyaFGIJdD+kWE2zLdJRP5UPQxNzoDkEk CdNXnkaA/D3fxTuAs1WMrxUR+P4xiAI8h+hCzAEsJ4/g6jIJA9VLPogl/Q1hR8e7ika6 EEIhRmpSH0aRU4e8s5f/mWBGWgjZNOIrezrgW4ITypKz/0QqMykh4hVBab7XSx29iYqP BcmkD0SJ0Xl/zhgDVvazaWEeWeGE6t3qDFK9eI8hCBhmvWdpDL/IEwCb6moUbTbdyROw B0qw== X-Gm-Message-State: AOJu0Yz1F3t2MUUYx7Gc5jfsN+l4V5ykOgm//T/b/6Q2FQ5BhBoS41n/ 31/eJss2pkY8ulSCHNiq2qfKDpimO5ILMg== X-Google-Smtp-Source: AGHT+IE4EqxaMvD2QcJ8hx6eDyY3sqYiZI7ETdTn7itqcBxi+iMGIswjWKH/eqlyL3B4S4Fxu8vIAg== X-Received: by 2002:a05:6808:1585:b0:3a9:e8e2:579d with SMTP id t5-20020a056808158500b003a9e8e2579dmr12068964oiw.2.1700171967712; Thu, 16 Nov 2023 13:59:27 -0800 (PST) Received: from [192.168.254.154] (50-36-34-84.drr01.mybh.sc.frontiernet.net. [50.36.34.84]) by smtp.gmail.com with ESMTPSA id e13-20020aca130d000000b003a7000a54d7sm48840oii.56.2023.11.16.13.59.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 13:59:27 -0800 (PST) Message-ID: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> Date: Thu, 16 Nov 2023 16:59:26 -0500 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 User-Agent: Mozilla Thunderbird Subject: Re: py39-certbot-2.6.0,1 Content-Language: en-US To: questions@freebsd.org References: From: TIM KELLERS In-Reply-To: Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.54 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.947]; NEURAL_HAM_LONG(-0.91)[-0.908]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MIME_HTML_ONLY(0.20)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::233:from]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SWYpp37Qcz4SfY X-Spamd-Bar: ---

I use that certbot, too, and I just do an apachectl stop before "certbot renew."  I also have to stop the pf service because my firewall doesn't like port 80 traffic, but that's a different use case.


Tim


On 11/16/23 4:34 PM, Doug Hardie wrote:
I have been using py39-certbot-2.6.0,1 for sometime now without any issues.  However, earlier this month it started generating errors:

Renewing an existing certificate for sermon-archive.info and 5 more domains
Failed to renew certificate sermon-archive.info with error: Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.

Huh?  Of course there is a web server there.  That's why I need a certificate.  Anyone know how to fix this issue, or should I switch to some other LetsEncrypt client?  Thanks,

-- Doug

From nobody Thu Nov 16 22:02:39 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 4SWYtg3Vmqz517rF for ; Thu, 16 Nov 2023 22:02:51 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SWYtg2XJ5z4WyH for ; Thu, 16 Nov 2023 22:02:51 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SWYtd5G4Vz2gFDK; Thu, 16 Nov 2023 14:02:49 -0800 (PST) From: Doug Hardie Message-Id: <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> Content-Type: multipart/alternative; boundary="Apple-Mail=_FFAB6EFA-115B-4B15-A65C-4A65A7E0C21D" 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: py39-certbot-2.6.0,1 Date: Thu, 16 Nov 2023 14:02:39 -0800 In-Reply-To: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> Cc: questions@freebsd.org To: TIM KELLERS References: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean 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:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Queue-Id: 4SWYtg2XJ5z4WyH --Apple-Mail=_FFAB6EFA-115B-4B15-A65C-4A65A7E0C21D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Nov 16, 2023, at 13:59, TIM KELLERS wrote: >=20 > I use that certbot, too, and I just do an apachectl stop before = "certbot renew." I also have to stop the pf service because my firewall = doesn't like port 80 traffic, but that's a different use case. >=20 >=20 >=20 > Tim >=20 >=20 >=20 > On 11/16/23 4:34 PM, Doug Hardie wrote: >> I have been using py39-certbot-2.6.0,1 for sometime now without any = issues. However, earlier this month it started generating errors: >>=20 >> Renewing an existing certificate for sermon-archive.info and 5 more = domains >> Failed to renew certificate sermon-archive.info with error: Could not = bind TCP port 80 because it is already in use by another process on this = system (such as a web server). Please stop the program in question and = then try again. >>=20 >> Huh? Of course there is a web server there. That's why I need a = certificate. Anyone know how to fix this issue, or should I switch to = some other LetsEncrypt client? Thanks, >>=20 Stopping the web server is not a viable approach. It is on a production = machine and that would affect my clients. It has never done this in the = years I have been using LetsEncrypt. I don't see any changes in that = port either. -- Doug --Apple-Mail=_FFAB6EFA-115B-4B15-A65C-4A65A7E0C21D Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On Nov 16, 2023, at 13:59, TIM KELLERS <trkellers@gmail.com> wrote:

I use that certbot, too, and I just do an apachectl stop before "certbot renew."  I also have to stop the pf service because my firewall doesn't like port 80 traffic, but that's a different use case.


Tim


On 11/16/23 4:34 PM, Doug Hardie wrote:
I have been using py39-certbot-2.6.0,1 for sometime now without any issues.  However, earlier this month it started generating errors:

Renewing an existing certificate for sermon-archive.info and 5 more domains
Failed to renew certificate sermon-archive.info with error: Could not bind TCP port 80 because it is already in use by another process on this system (such as a web server). Please stop the program in question and then try again.

Huh?  Of course there is a web server there.  That's why I need a certificate.  Anyone know how to fix this issue, or should I switch to some other LetsEncrypt client?  Thanks,


Stopping the web server is not a viable approach.  It is on a production machine and that would affect my clients.  It has never done this in the years I have been using LetsEncrypt.  I don't see any changes in that port either.

-- Doug


--Apple-Mail=_FFAB6EFA-115B-4B15-A65C-4A65A7E0C21D-- From nobody Thu Nov 16 22:12:36 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 4SWZ6227MDz518ZX for ; Thu, 16 Nov 2023 22:12:42 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 4SWZ6109pcz4YWx for ; Thu, 16 Nov 2023 22:12:40 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=32vzmx6Q; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1700172758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XCYU9iETOegkStrA6nAB4OxTJGC+9naO8jVlqTwpelo=; b=32vzmx6QD9J/efJQIw3OoS+MO/SJl3te0CJ/MY0drPR031DQDqSNvK+eZvAR67bCLrbWvf 6PTl58eOAU1XHOgUsXG99ifHT6+By1X84Ektz9087MJanZ+ouGgO8w4ib/i6RU8BVXO3dp EOCutzk+oMLYax9tIhw1FW8o2HlizBY= Received: from [192.168.1.240] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id c397fa68 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 16 Nov 2023 22:12:37 +0000 (UTC) Message-ID: <75f4ef5a-e6cc-425f-8a07-9f5f95e4d8aa@nomadlogic.org> Date: Thu, 16 Nov 2023 14:12:36 -0800 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 User-Agent: Mozilla Thunderbird Subject: Re: py39-certbot-2.6.0,1 Content-Language: en-US To: questions@freebsd.org References: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> From: Pete Wright In-Reply-To: <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SWZ6109pcz4YWx X-Spamd-Bar: --- On 11/16/23 2:02 PM, Doug Hardie wrote: >> On Nov 16, 2023, at 13:59, TIM KELLERS wrote: >> >> I use that certbot, too, and I just do an apachectl stop before >> "certbot renew."  I also have to stop the pf service because my >> firewall doesn't like port 80 traffic, but that's a different use case. >> >> >> Tim >> >> >> On 11/16/23 4:34 PM, Doug Hardie wrote: >>> I have been using py39-certbot-2.6.0,1 for sometime now without any >>> issues.  However, earlier this month it started generating errors: >>> >>> Renewing an existing certificate for sermon-archive.info and 5 more >>> domains >>> Failed to renew certificate sermon-archive.info with error: Could not >>> bind TCP port 80 because it is already in use by another process on >>> this system (such as a web server). Please stop the program in >>> question and then try again. >>> >>> Huh?  Of course there is a web server there.  That's why I need a >>> certificate.  Anyone know how to fix this issue, or should I switch >>> to some other LetsEncrypt client?  Thanks, >>> > > Stopping the web server is not a viable approach.  It is on a production > machine and that would affect my clients.  It has never done this in the > years I have been using LetsEncrypt.  I don't see any changes in that > port either. > have you added any vhosts or 301 redirects on port 80 in your httpd configuration? i have this issue with one system that does a 301 redirect to port 443 on port 80. on another host where i don't do this certbot works as expected without having to stop httpd. -pete -- Pete Wright pete@nomadlogic.org From nobody Fri Nov 17 05:10:02 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 4SWlMp2J9Yz51VmW for ; Fri, 17 Nov 2023 05:10:14 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SWlMn6NgQz4GXx for ; Fri, 17 Nov 2023 05:10:13 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SWlMm2W5Dz2gFDK; Thu, 16 Nov 2023 21:10:12 -0800 (PST) From: Doug Hardie Message-Id: <6AA4AA77-A7FA-4290-A75B-14090F47F41F@sermon-archive.info> Content-Type: multipart/alternative; boundary="Apple-Mail=_38F0104D-765E-406E-9695-8C89BA275B7E" 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: py39-certbot-2.6.0,1 Date: Thu, 16 Nov 2023 21:10:02 -0800 In-Reply-To: <75f4ef5a-e6cc-425f-8a07-9f5f95e4d8aa@nomadlogic.org> Cc: questions@freebsd.org To: Pete Wright References: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> <75f4ef5a-e6cc-425f-8a07-9f5f95e4d8aa@nomadlogic.org> X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean 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:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Queue-Id: 4SWlMn6NgQz4GXx --Apple-Mail=_38F0104D-765E-406E-9695-8C89BA275B7E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Nov 16, 2023, at 14:12, Pete Wright wrote: >=20 >=20 >=20 > On 11/16/23 2:02 PM, Doug Hardie wrote: >>> On Nov 16, 2023, at 13:59, TIM KELLERS wrote: >>>=20 >>> I use that certbot, too, and I just do an apachectl stop before = "certbot renew." I also have to stop the pf service because my firewall = doesn't like port 80 traffic, but that's a different use case. >>>=20 >>>=20 >>> Tim >>>=20 >>>=20 >>> On 11/16/23 4:34 PM, Doug Hardie wrote: >>>> I have been using py39-certbot-2.6.0,1 for sometime now without any = issues. However, earlier this month it started generating errors: >>>>=20 >>>> Renewing an existing certificate for sermon-archive.info and 5 more = domains >>>> Failed to renew certificate sermon-archive.info with error: Could = not bind TCP port 80 because it is already in use by another process on = this system (such as a web server). Please stop the program in question = and then try again. >>>>=20 >>>> Huh? Of course there is a web server there. That's why I need a = certificate. Anyone know how to fix this issue, or should I switch to = some other LetsEncrypt client? Thanks, >>>>=20 >> Stopping the web server is not a viable approach. It is on a = production machine and that would affect my clients. It has never done = this in the years I have been using LetsEncrypt. I don't see any = changes in that port either. >=20 > have you added any vhosts or 301 redirects on port 80 in your httpd = configuration? i have this issue with one system that does a 301 = redirect to port 443 on port 80. on another host where i don't do this = certbot works as expected without having to stop httpd. Addressing this response as well as several others not sent to the list. I have not added any vhosts and standalone does not appear anywhere in = the setup. The initial setup output was: INITIAL CERTIFICATE SETUP: certbot certonly --webroot=20 = sermon-archive.info,sasa-web.net,steveandconnielarson.com,www.sasa-web.net= ,www.sermon-archive.info,www.steveandconnielarson.com LATEST CERTIFICATE UPDATE: certbot certonly cert-name sermon-archive.info -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,www.sasa-web.net= ,www.sermon-archive.info,www.steveandconnielarson.com mail.sermon-archive.info master.sermon-archive.info ADDING A NEW SAN: certbot certonly --webroot --expand -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,vintagecorvettes= socal.com,www.sasa-web.net,www.sermon-archive.info,www.steveandconnielarso= n.com,www.vintagecorvettessocal.com IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /usr/local/etc/letsencrypt/live/rssllc.us/fullchain.pem Your key file has been saved at: /usr/local/etc/letsencrypt/live/rssllc.us/privkey.pem Your cert will expire on 2020-05-28. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le Since thqt time, I added a vhost and that had no issues. However, = recently a client went elsewhere and I deleted a vhost. All I did was = remove the vhost entry in the renew command which now reads: #!/bin/sh -e echo "Starting renew" cd /www/certs export PATH=3D/www/certs:$PATH echo $PATH certbot renew --webroot-path /www --key-type rsa=20 echo "RC =3D $RC" echo "End of renew" Since that doesn't list the domains, I suspect I did a command something = like: certbot certonly --webroot --expand -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,vintagecorvettes= socal.com,www.sasa-web.net,www.sermon-archive.info,www.steveandconnielarso= n.com However, I am not sure. Obviously certbot saves the domain names = somewhere and perhaps the deleted one is still there and certbot is = trying to renew it with a default of standalone. My web server is setup to handle the certbot challenges and has worked = for some time. -- Doug --Apple-Mail=_38F0104D-765E-406E-9695-8C89BA275B7E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Nov 16, 2023, = at 14:12, Pete Wright <pete@nomadlogic.org> wrote:



On 11/16/23 2:02 PM, Doug Hardie = wrote:
On Nov 16, 2023, at = 13:59, TIM KELLERS <trkellers@gmail.com> wrote:

I use that = certbot, too, and I just do an apachectl stop before "certbot = renew."  I also have to stop the pf service because my firewall = doesn't like port 80 traffic, but that's a different use = case.


Tim


On 11/16/23 4:34 PM, Doug Hardie = wrote:
I have been = using py39-certbot-2.6.0,1 for sometime now without any issues. =  However, earlier this month it started generating = errors:

Renewing an existing certificate for sermon-archive.info = and 5 more domains
Failed to renew certificate sermon-archive.info = with error: Could not bind TCP port 80 because it is already in use by = another process on this system (such as a web server). Please stop the = program in question and then try again.

Huh?  Of course = there is a web server there.  That's why I need a certificate. =  Anyone know how to fix this issue, or should I switch to some = other LetsEncrypt client? =  Thanks,

Stopping the web server = is not a viable approach.  It is on a production machine and that = would affect my clients.  It has never done this in the years I = have been using LetsEncrypt.  I don't see any changes in that port = either.

have = you added any vhosts or 301 redirects on port 80 in your httpd = configuration?  i have this issue with one system that does a 301 = redirect to port 443 on port 80.  on another host where i don't do = this certbot works as expected without having to stop = httpd.

Addressing this response = as well as several others not sent to the = list.

I have not added any vhosts and = standalone does not appear anywhere in the setup.  The initial = setup output was:

INITIAL CERTIFICATE = SETUP:
certbot certonly = --webroot 

sermon-archive.info,sasa-web.net,= steveandconnielarson.com,www.sasa-web.net,www.sermon-archive.info,www.stev= eandconnielarson.com

LATEST CERTIFICATE = UPDATE:
certbot certonly cert-name sermon-archive.info -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,www.sasa-web.net= ,www.sermon-archive.info,www.steveandconnielarson.com

=

mail.sermon-archive.info

mast= er.sermon-archive.info

ADDING A NEW = SAN:
certbot certonly --webroot --expand -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,vintagecorvettes= socal.com,www.sasa-web.net,www.sermon-archive.info,www.steveandconnielarso= n.com,www.vintagecorvettessocal.com

IMPORTANT = NOTES:
 - Congratulations! Your certificate and chain = have been saved at:
  =  /usr/local/etc/letsencrypt/live/rssllc.us/fullchain.pem
&n= bsp;  Your key file has been saved at:
  =  /usr/local/etc/letsencrypt/live/rssllc.us/privkey.pem
&nbs= p;  Your cert will expire on 2020-05-28. To obtain a new or = tweaked
   version of this certificate in the = future, simply run certbot
   again. To = non-interactively renew *all* of your certificates, run
  =  "certbot renew"
 - If you like Certbot, please = consider supporting our work by:

  =  Donating to ISRG / Let's Encrypt:   = https://letsencrypt.org/donate
   Donating to EFF: =                   =  https://eff.org/donate-le


Si= nce thqt time, I added a vhost and that had no issues.  However, = recently a client went elsewhere and I deleted a vhost.  All I did = was remove the vhost entry in the renew command which now = reads:

#!/bin/sh -e
echo = "Starting renew"
cd /www/certs
export = PATH=3D/www/certs:$PATH
echo = $PATH

certbot renew --webroot-path /www = --key-type rsa 

echo "RC =3D = $RC"
echo "End of renew"

Since that = doesn't list the domains, I suspect I did a command something = like:

certbot certonly --webroot --expand -d = sermon-archive.info,sasa-web.net,steveandconnielarson.com,vintagecorvettes= socal.com,www.sasa-web.net,www.sermon-archive.info,www.steveandconnielarson.com<= /a>






= = --Apple-Mail=_38F0104D-765E-406E-9695-8C89BA275B7E-- From nobody Fri Nov 17 05:30:51 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 4SWlqq50MFz51Wj5 for ; Fri, 17 Nov 2023 05:31:03 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SWlqp5hFgz4JFr for ; Fri, 17 Nov 2023 05:31:02 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org; dmarc=none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SWlqp0tgtz2fjVW; Thu, 16 Nov 2023 21:31:02 -0800 (PST) From: Doug Hardie Content-Type: multipart/alternative; boundary="Apple-Mail=_3FA18B23-3F0E-456E-82DE-9997DF0713F6" 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: py39-certbot-2.6.0,1 Date: Thu, 16 Nov 2023 21:30:51 -0800 References: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> <75f4ef5a-e6cc-425f-8a07-9f5f95e4d8aa@nomadlogic.org> <6AA4AA77-A7FA-4290-A75B-14090F47F41F@sermon-archive.info> To: Pete Wright , questions@freebsd.org In-Reply-To: <6AA4AA77-A7FA-4290-A75B-14090F47F41F@sermon-archive.info> Message-Id: <4F1E1950-5734-4586-A33A-6D2E92140763@sermon-archive.info> X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean X-Spamd-Result: default: False [-2.60 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SWlqp5hFgz4JFr X-Spamd-Bar: -- --Apple-Mail=_3FA18B23-3F0E-456E-82DE-9997DF0713F6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Thanks to all who pointed me in the right direction. I still don't know = where certbot keeps its info, but running: sermons# certbot certonly --webroot --expand -d = sermon-archive.info,sasaweb.net,steveandconnielarson.com,www.sasa-web.net,= www.sermonarchive.info,www.steveandconnielarson.com generated new certificates without any issues. So, I am assuming that = my presumption that the deleted domain was the issue. I must not have = run the above command before. -- Doug --Apple-Mail=_3FA18B23-3F0E-456E-82DE-9997DF0713F6 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Thanks to all who pointed me in the right direction.  I still don't know where certbot keeps its info, but running:

sermons# certbot certonly --webroot --expand -d sermon-archive.info,sasaweb.net,steveandconnielarson.com,www.sasa-web.net,www.sermonarchive.info,www.steveandconnielarson.com

generated new certificates without any issues.   So, I am assuming that my presumption that the deleted domain was the issue.  I must not have run the above command before.

-- Doug


--Apple-Mail=_3FA18B23-3F0E-456E-82DE-9997DF0713F6-- From nobody Fri Nov 17 07:08:36 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 4SWp0g4nsRz51bth for ; Fri, 17 Nov 2023 07:08:51 +0000 (UTC) (envelope-from 4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWp0f23cTz4PfY for ; Fri, 17 Nov 2023 07:08:50 +0000 (UTC) (envelope-from 4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=hpHxh0Uo; spf=pass (mx1.freebsd.org: domain of 4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1700204930; x=1702796930; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=FO161rkTvUaoYJGVxUb3AtLh7DuSCeHODDq/Fr5fNJQ=; b=hpHxh0UoeOPcDdVMnG5wyPJIM21zjsw8jwpVQmftWlmcSaVag1GvA8LZm6fUVvy3RHYF+8dW6Vb2LAnnllR2+4s2i4T5jfZfMEHKlZDEMfliPreI70Ce3/p697IfB9KWkCMLfFnPnJSgyuRXVoUi0JXSfD2VRNX+QKgNphGaM6Q= X-Thread-Info: NDI1MC4xMi4xZDUwNjAwMDRlN2ExZTIucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r1.h.in.socketlabs.com (r1.h.in.socketlabs.com [142.0.180.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 17 Nov 2023 02:08:38 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 17 Nov 2023 02:08:38 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1r3sxx-0006Ic-3X for questions@freebsd.org; Fri, 17 Nov 2023 07:08:37 +0000 Date: Fri, 17 Nov 2023 07:08:36 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: expand UFS partition Message-Id: <20231117070836.cb5b6763bba63fe9997b3688@sohara.org> In-Reply-To: References: <6f8c7df4-2665-4794-9fd2-81e47128232d@paz.bz> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" 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=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d5060004e7a1e2.5cae991fc8a321382081c855601ad9ff@email-od.com]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[sohara.org]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-Rspamd-Queue-Id: 4SWp0f23cTz4PfY X-Spamd-Bar: -- On Thu, 16 Nov 2023 21:05:31 +0000 Norman Gray wrote: > > On 16 Nov 2023, at 19:44, Edward Sanford Sutton, III wrote: > > > It is always easier to schedule downtime than it is to schedule data > > loss. > > I think I'm going to print this out and put it on the wall above my desk. > > (or put another way: 'Dear Boss: downtime or data-loss, pick one') At a PPOE where we made scale out filesystems based on FreeBSD one of the things we used to do was calculate and advertise "mean time to data loss" for various configurations of redundancy up to and including eight way mirrors (yes that one has a very long MTTDL - we used it for filesystem metadata). -- Steve O'Hara-Smith From nobody Fri Nov 17 12:53:26 2023 X-Original-To: freebsd-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 4SWxds5nW5z50wtV for ; Fri, 17 Nov 2023 12:53:05 +0000 (UTC) (envelope-from sinosuse@gmail.com) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SWxds0lNRz3RXN for ; Fri, 17 Nov 2023 12:53:05 +0000 (UTC) (envelope-from sinosuse@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=UxH3P7cw; spf=pass (mx1.freebsd.org: domain of sinosuse@gmail.com designates 2607:f8b0:4864:20::1135 as permitted sender) smtp.mailfrom=sinosuse@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5b383b4184fso22110827b3.1 for ; Fri, 17 Nov 2023 04:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700225584; x=1700830384; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RlqmKKIjwlTUl5G152v26oIMk3yZClnnHpuFnQrZkVA=; b=UxH3P7cwrPLmNk+zxRh7OvX6/qk8WZUOx8upLrXgLjrl/4CKkqcY6RV2LB7G9mqznW Mo2PzMd6MzVSnNKzKYTNueEDgMEDDgFeWf1W7QsnK1h9ictf+JoYMvwBtrmFKUpJuXtP Du26De9qVP7VUWhKjvdc1c64ykizQiOmScvO664Tg1Hv0UGeckPZw4zO2WESXCiuUW1s P5Zi2qW43BkzeoTYczv+XFiIUsm9O/eMTy4BNCqdrvrHzprT6E+yEtGZDTuJSf53j4Ox 1/zGrqiNUp+PI+OOexiuHYSjpwRFUeDAopOz1G/0w13ywXskw5bEi6kVTU5V5aUUhtiA wREw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700225584; x=1700830384; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RlqmKKIjwlTUl5G152v26oIMk3yZClnnHpuFnQrZkVA=; b=RKLqTtvbvfa7op0pvCMNZj5VGoGcgJczZGhBnTrKqPjtLv/QxaJbZh7MzObZ1bLZaM fU/j3BEchstZ6z/wyVmBFfVjNFpGGXEJ+RDrMNQeCoZ2OCObtjEC4M0eS6p7xoHbiAvQ iK01rt23lB/jUvX0/5UZjDApz5YFn7FGcqNIpBtXvRVv5YSptOqBBo9/SvFuy4CUPQ1o 78RklQUJBYaN4VFz8uqwZpGP1nRyzuQH0GoelhWUstdw7TtapIbuxUnxzoW6KFxfSWA5 9QtE8NTJkF654AaUIXSOTzHQ/TUIB3chgNvHMVUBz8/FlheOAL8DSksyPNlanfyeSX8b UjQg== X-Gm-Message-State: AOJu0Yz+tVr4nvm72YRxHJuJw7BVxAmC2UplMRGl+HSHMSAY8KWmYcrV FoctxVgPYkDNpWUCkibqJm0vLsF7bOSbWjMtufIq2K4tL84= X-Google-Smtp-Source: AGHT+IE5EoyCznDQoccVXajkH95cph1CQzV3+5+lTqAghC37ety9JbPJXxDdY2z3dE5ugJnJngirJ3Sf9ObE1wwU87Q= X-Received: by 2002:a81:7189:0:b0:5a7:c8f3:de4b with SMTP id m131-20020a817189000000b005a7c8f3de4bmr19536163ywc.8.1700225583850; Fri, 17 Nov 2023 04:53:03 -0800 (PST) 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 From: Suse Shi Date: Fri, 17 Nov 2023 20:53:26 +0800 Message-ID: Subject: asking if any package provides "plasma-nm" applet on kde5 To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f6aa72060a589dbd" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1135:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4SWxds0lNRz3RXN X-Spamd-Bar: --- --000000000000f6aa72060a589dbd Content-Type: text/plain; charset="UTF-8" Hi Guru, I just upgrade my FreeBSD13.1 box up to 14.0 RELEASE (kde5 plasma env), there s a small issue that no networkmanager applet on desktop. It should be the package "plasma-nm" https://github.com/KDE/plasma-nm or something similar. I tried "pkg install plasma-nm" but it didnt work. I have to install networkmgr instead, thanks for help. -- Regards, -suse --000000000000f6aa72060a589dbd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Guru,=C2=A0
=C2=A0
=C2=A0 =C2=A0 =C2=A0 I= just upgrade my FreeBSD13.1 box up to 14.0 RELEASE (kde5 plasma env), ther= e s a small=C2=A0issue that no networkmanager applet on desktop.=C2=A0

=C2=A0 =C2=A0 =C2=A0 It should be the package "pl= asma-nm" https://github.c= om/KDE/plasma-nm or something similar. I tried "pkg install plasma= -nm" but it didnt work.=C2=A0
=C2=A0
=C2=A0 =C2=A0= =C2=A0I have to install networkmgr instead,=C2=A0

=C2=A0 =C2=A0 =C2=A0 thanks for help.

--
Regards,
-suse
<= /div> --000000000000f6aa72060a589dbd-- From nobody Fri Nov 17 18:45:01 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 4SX5S42476z51Fbs for ; Fri, 17 Nov 2023 18:45:08 +0000 (UTC) (envelope-from bounce.6oxc7h2f30=icgj42r1w0tv=0t20c4ffgi@em481160.radel.com) Received: from a4i76.smtp2go.com (a4i76.smtp2go.com [158.120.80.76]) (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 4SX5S409Wkz4dmF for ; Fri, 17 Nov 2023 18:45:07 +0000 (UTC) (envelope-from bounce.6oxc7h2f30=icgj42r1w0tv=0t20c4ffgi@em481160.radel.com) Authentication-Results: mx1.freebsd.org; none Received: from [10.150.238.204] (helo=smtp.aws.radel.com) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96.1-S2G) (envelope-from ) id 1r43pv-wSQq1k-0i; Fri, 17 Nov 2023 18:45:03 +0000 Received: from radel.com (fly.radel.com [70.184.242.170]) by smtp.aws.radel.com (Postfix) with ESMTPS id ECFE17D020; Fri, 17 Nov 2023 18:45:01 +0000 (UTC) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.19.2 (ClamAV engine v0.99.2) X-ExtFilter: Niversoft's DomainKeys Helper DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; d=radel.com; s=20170108.radel; h=From:Subject:To:X-Mailer:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=XoZjOBEskZGfNGjeMtZ9vT4C7Wlhzt4fPSYkSYbVcW6OqIqciA2vvr5rctZQ28lbDf olL9cJlBgeMZKlmikzckTAL661N95RuYg0dLkm2sXGsmw5IQwtZyGzE44Psl3dWD4fw8 avimgpRIWZ4nE0ySWHj3wkmtfY8p6/RK5o+r3pHBl6mnXO1Czyz5kTvotMEIZW6BcgFv k2eoEW3aesS4Q0atavu+SH0LbHY23wACB/yIFJnnYwS4U5egmv4kRUsHFe7195hEyP4u 3+Lryt74ZzDsyr61wztNURWfvp0zQHuHo8V/Thb44L691130/NBoYtFpBdhjpm+CEach PohQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; s=20170108.radel; t=1700246701; x=1700851501; q=dns/txt; h=From:Subject:To:X-Mailer:Date:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=N+utg5Cegh9QIvDWluOeXOlI5odKvDoHDy 2aE8c1fTE=; b=c0T8pAJD5bQ9Nt//LaAG/8nPp+lmGIxU02OtT8/J/i8K3GS1Jh r4V+Gez8FwwofyLU+LtsHIRy5IgVypTjcz8QT1+WMx7MrhWQBAhYshc/3vUHhelD zuWsP87GNSywiyLLR72VbieOAy239jwHPo+at6jFCifPBNYOyUkoTrdI1kgsH0PZ VoambSVyCpLUl3HAdmsERUU3RdJehOwxyWuFZa1N7acoN3dlRGYew5hCDlzrb31Z efLxNsIQnVUbIBVKqK459shyzlNMGdN7XWaYtxwlaZar3kCqoPSvoXErmzCbIP2P QFxpGwd4pnEJzEaWCm0dPsfdvLVQERZeuQ1A== Received: from [205.251.20.82] (account jon@radel.com) by radel.com (CommuniGate Pro WEBUSER 6.1.14 _community_) with HTTP id 3228053; Fri, 17 Nov 2023 18:45:01 +0000 From: "Jon Radel" Subject: Re: py39-certbot-2.6.0,1 To: "Doug Hardie" , questions@freebsd.org X-Mailer: CommuniGate Pro WebUser v6.1.14 Date: Fri, 17 Nov 2023 13:45:01 -0500 Message-ID: In-Reply-To: <4F1E1950-5734-4586-A33A-6D2E92140763@sermon-archive.info> References: <173e9c01-1e50-43ce-8acb-22a33f9603d4@gmail.com> <8D21AE27-BE70-4158-B198-4B06C7D4A981@sermon-archive.info> <75f4ef5a-e6cc-425f-8a07-9f5f95e4d8aa@nomadlogic.org> <6AA4AA77-A7FA-4290-A75B-14090F47F41F@sermon-archive.info> <4F1E1950-5734-4586-A33A-6D2E92140763@sermon-archive.info> 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; format="flowed" Content-Transfer-Encoding: 8bit X-smtpcorp-track: 1r43pvwSQq1k0i.V3SIlOun7ciSi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpcorp.com; i=@smtpcorp.com; q=dns/txt; s=a1-4; t=1700246705; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=N+utg5Cegh9QIvDWluOeXOlI5odKvDoHDy2aE8c1fTE=; b=3NuEi1knYGEYz9sMzYEbLyV8s0oUNuCg9vpLVIpg602xFWXviC/Po3x08cHa/rgPFhwXo K8DD+ClaCfXN5s2+PlUMtBxjiz8QSshEkPSFPED2rSf2h9A6nUBpFVriga8HbKzogmY3sWF H6xhEl/oODtdn/Nsnbb6eEgI4JVtN9VYNj3UZ9ZXitDoDkLEupGpWDxX7hy6NtXxDKmHjfE cVnkUmtju2QorBYpINGyWsIqiznI47dL4Nc9GG56ty0UNLYqf0P/xUEF7Moe1eSprL+lwOX APtByb1fJ29nn0x4i2UWkGnBA/c8/F4Hj7U1OP27jgTDaucQRYG25xEoJQcQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; i=@radel.com; q=dns/txt; s=s481160; t=1700246705; h=from : subject : to : message-id : date; bh=N+utg5Cegh9QIvDWluOeXOlI5odKvDoHDy2aE8c1fTE=; b=hW7f+Gou23ElNYtaPABeOx+gUhQWbi1jxojZLntENCB1HzBorSvNtp9IuYSFY6ldRV7xQ SMEKs8TlM4V1PcCozKfihENKwwwFmybq4IhjC1qq8BDYn8aOULcxX3EUOgSgcN7VhN5fnw/ +FqgeYYeO6Z0UYmgTWHI5DLi1/i+pdBMniErJjklyMHxXeT9Ad2Lw07VGjYyZKK1SDmxoPx gpEu9oOgUqzaKT4WLCQK0IIYl+fn/f7A7zo5qyNgr5BtrFii8q2R2A5r33fuQEATvGrwB9a 7oQV2m48sM//werkIkcPCBwOv2moX7qNZcBwb+cxRGRrPQKb/vcKuL4QG5+g== 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:23352, ipnet:158.120.80.0/22, country:US] X-Rspamd-Queue-Id: 4SX5S409Wkz4dmF On Thu, 16 Nov 2023 21:30:51 -0800 Doug Hardie wrote: > Thanks to all who pointed me in the right direction. I still don't >know where certbot keeps its info, but running: > > sermons# certbot certonly --webroot --expand -d >sermon-archive.info,sasaweb.net,steveandconnielarson.com,www.sasa-web.net,www.sermonarchive.info,www.steveandconnielarson.com > > generated new certificates without any issues. So, I am assuming >that my presumption that the deleted domain was the issue. I must >not have run the above command before. Actually, that generated a new certificate, not certificates. It's somewhat odd, by general industry practice, to use the same certificate for all one's clients. Not only do you make your client list more visible than it really should be, but, as you've found, failures with one client risk rippling to other clients when something goes wrong. Current cert: CN = sermon-archive.info SAN = sasa-web.net sermon-archive.info steveandconnielarson.com www.sasa-web.net www.sermon-archive.info www.steveandconnielarson.com The more common method: Cert 1: CN = www.sermon-archive.info SAN = sermon-archive.info www.sermon-archive.info Cert 2: CN = www.steveandconnielarson.com SAN = steveandconnielarson.com www.steveandconnielarson.com Cert 3: CN = www.sasa-web.net SAN = sasa-web.net www.sasa-web.net --Jon Radel From nobody Fri Nov 17 21:45:02 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 4SX9S333BGz51Q1P for ; Fri, 17 Nov 2023 21:45:23 +0000 (UTC) (envelope-from SRS0=RGhx=G6=lafn.org=bc979@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SX9S30yg8z3dy6 for ; Fri, 17 Nov 2023 21:45:23 +0000 (UTC) (envelope-from SRS0=RGhx=G6=lafn.org=bc979@sermon-archive.info) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (8.sub-174-193-193.myvzw.com [174.193.193.8]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SX9Rv35xXz2fjV3; Fri, 17 Nov 2023 13:45:15 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Doug Hardie 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 (1.0) Subject: Re: py39-certbot-2.6.0,1 Date: Fri, 17 Nov 2023 13:45:02 -0800 Message-Id: <3D6D10A6-7E9A-400D-A59D-21AD72C0B974@lafn.org> References: Cc: questions@freebsd.org In-Reply-To: To: Jon Radel X-Mailer: iPhone Mail (21B91) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean 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:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Queue-Id: 4SX9S30yg8z3dy6 > On Nov 17, 2023, at 10:45, Jon Radel wrote: >=20 > =EF=BB=BFOn Thu, 16 Nov 2023 21:30:51 -0800 > Doug Hardie wrote: >> Thanks to all who pointed me in the right direction. I still don't know w= here certbot keeps its info, but running: >> sermons# certbot certonly --webroot --expand -d sermon-archive.info,sasaw= eb.net,steveandconnielarson.com,www.sasa-web.net,www.sermonarchive.info,www.= steveandconnielarson.com >> generated new certificates without any issues. So, I am assuming that m= y presumption that the deleted domain was the issue. I must not have run th= e above command before. >=20 > Actually, that generated a new certificate, not certificates. >=20 > It's somewhat odd, by general industry practice, to use the same certifica= te for all one's clients. Not only do you make your client list more visibl= e than it really should be, but, as you've found, failures with one client r= isk rippling to other clients when something goes wrong. >=20 > Current cert: >=20 > CN =3D sermon-archive.info > SAN =3D sasa-web.net > sermon-archive.info > steveandconnielarson.com > www.sasa-web.net > www.sermon-archive.info > www.steveandconnielarson.com >=20 > The more common method: >=20 > Cert 1: > CN =3D www.sermon-archive.info > SAN =3D sermon-archive.info > www.sermon-archive.info >=20 > Cert 2: > CN =3D www.steveandconnielarson.com > SAN =3D steveandconnielarson.com > www.steveandconnielarson.com >=20 > Cert 3: > CN =3D www.sasa-web.net > SAN =3D sasa-web.net > www.sasa-web.net Thanks. I didn=E2=80=99t know that. However the web server doesn=E2=80=99t h= andle different certs for multiple clients. Hence I have to use the combined= cert. I guess I=E2=80=99ll add multiple cert support to the server=20 =E2=80=94 Doug= From nobody Fri Nov 17 23:15:06 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 4SXCRr2SjTz51TbW for ; Fri, 17 Nov 2023 23:15:20 +0000 (UTC) (envelope-from bounce.04j5mi2f30=v0i1kv7m8c7g=psrg42nda5@em481160.radel.com) Received: from a4i76.smtp2go.com (a4i76.smtp2go.com [158.120.80.76]) (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 4SXCRr0SCpz4M8s for ; Fri, 17 Nov 2023 23:15:19 +0000 (UTC) (envelope-from bounce.04j5mi2f30=v0i1kv7m8c7g=psrg42nda5@em481160.radel.com) Authentication-Results: mx1.freebsd.org; none Received: from [10.150.238.204] (helo=smtp.aws.radel.com) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96.1-S2G) (envelope-from ) id 1r483N-ynkvKZ-0Q; Fri, 17 Nov 2023 23:15:14 +0000 Received: from radel.com (fly.radel.com [70.184.242.170]) by smtp.aws.radel.com (Postfix) with ESMTPS id 404157D05E; Fri, 17 Nov 2023 23:15:07 +0000 (UTC) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.19.2 (ClamAV engine v0.99.2) X-ExtFilter: Niversoft's DomainKeys Helper DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; d=radel.com; s=20170108.radel; h=From:Subject:To:Cc:X-Mailer:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TM51HcZ8ezjlsWnjIzPmsuz0sXWrlxP6oJgD6A0AZ5hn0j1w4CIowSGCMHM8j3Jyr/ sv9QtLexDdxzBLEaoFxueqOiRIDGcRLERp6kEBp0fx57fUrgxLFilztUnPRlOTkvbx2s HC6rc/IgVLfCXcuKyAXcYTjvf9H+qgowr1xcunNTyvZyN90vxYcohXVeY7a57PqiQewg So0h34HZa2VYkkbJWny09d1Mb4sc/4geGB0ch5UhAzuvJ5aBI/j4VwflempcaXzOnFPK bKi7kN3tDL4DonvYbIvj0C3+RN0OJQ3ylMkRKpoGUi8l/wxKuI+8WZ8GKcJEg54KYjjJ 5N/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; s=20170108.radel; t=1700262907; x=1700867707; q=dns/txt; h=From:Subject:To:Cc:X-Mailer:Date:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=IVAzOM+rsy5jmurW/JCoY9u9OHGqP49nsT 4BoemnfB4=; b=OjeMA8QNyp/3F3vIv0sS1Uk/H0ZRKLfm+5QT546AkcgJLszhze u/46iGIJO455rV7YS3KthpoIvbmZie5tpeQoLSLTD2pbyUF7tLRB2DV69O5/W8EF eFIIbk1l8p19Autw1DP3OsVKveBcok/IMz0JpLPOz/2wYr6Nm56FpdiDkvBN9zxd f+gNkeAiLg7kEnnjkMCB+IrxUCZpqLAKp4VYWsImT/epTz6k7Mc3EQ7AgOptYjvQ Cw3nyfhI3Muhj70ZkA6PdVn62Z4BzAb13NOh5OWiLRZuYu+pKE2hhC+coKhqNRyn Vo85MzShn2kfkEZMxPGyH27aUUdmL/DVizyQ== Received: from [188.126.89.60] (account jon@radel.com) by radel.com (CommuniGate Pro WEBUSER 6.1.14 _community_) with HTTP id 3228214; Fri, 17 Nov 2023 23:15:06 +0000 From: "Jon Radel" Subject: Re: py39-certbot-2.6.0,1 To: "Doug Hardie" Cc: questions@freebsd.org X-Mailer: CommuniGate Pro WebUser v6.1.14 Date: Fri, 17 Nov 2023 18:15:06 -0500 Message-ID: In-Reply-To: <3D6D10A6-7E9A-400D-A59D-21AD72C0B974@lafn.org> References: <3D6D10A6-7E9A-400D-A59D-21AD72C0B974@lafn.org> 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; format="flowed" Content-Transfer-Encoding: 8bit X-smtpcorp-track: 1r483NynkvKZ0Q.VzQjlKOJOV46m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpcorp.com; i=@smtpcorp.com; q=dns/txt; s=a1-4; t=1700262916; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=IVAzOM+rsy5jmurW/JCoY9u9OHGqP49nsT4BoemnfB4=; b=G6sFDrD4BAP0o98EA1wZM2vhScK07E8Gu2YtOg1j0FotOYcOFlW1m1uM1wTOhZvTyN6z3 z3hIEg18k0/ykumY3WLTOyepmL0YoGCJyTqCDlIu4JjrmGIfCB3BFyP3SKoFgd/eafVotpY BzPJSlnLViLHMHTwjcaoip1M0ZtPTB9rHjINNyxh5hlTu5cNgy5aXsbwlj7SKI/J9vAU57u 0Bj3IoLaXF3WWeEaqSm/KEaM2rAgoBVF2Z/dqN0DIZaFhL04sggi3IkVM7zYkKiXr7xutv1 LbtLO8efaJhShEH70cS8rgsB6I00omZqSBeA4HHoSKcC2Bhv2B93TfNqXMEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; i=@radel.com; q=dns/txt; s=s481160; t=1700262916; h=from : subject : to : message-id : date; bh=IVAzOM+rsy5jmurW/JCoY9u9OHGqP49nsT4BoemnfB4=; b=gaUIR9o9sloEEilcuwmkgpEiA1Bel8hEjKDlpUn0/1bwMb2g2ZwngyzfB+slE0k1S9tAC YtJ6rJdmakT6hkpuIl0U7FxS0DfM0wWP7fbHkIAtGP96nJ7Ks1OvEJOssF/opHVpQDp8jZq WtNeAY8zKxLLpt78Sjh2QsZK8UkTdKwKp3UUnP22nYZwdkeOp/Fwh9gfzpzrpZex9kCWWUf v3RUjJQE9npLogeD6hc3jLO5ycAdxO4V3GNsEO/leMak3uQcIjq6nr2xf2DyHf/svMKsOSa pt2eLIMRHe8bN8z3iY9oYVB6UuLNxBGs0uY0AKyEyQrYplb2SivJ/AMoZoJQ== 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:23352, ipnet:158.120.80.0/22, country:US] X-Rspamd-Queue-Id: 4SXCRr0SCpz4M8s On Fri, 17 Nov 2023 13:45:02 -0800 Doug Hardie wrote: > > Thanks. I didn’t know that. However the web server doesn’t handle >different certs for multiple clients. Hence I have to use the >combined cert. I guess I’ll add multiple cert support to the server Hmmmm....are you actually running WN 2.6.1? There's a server I've not heard the name of in a couple of decades. I'm actually surprised that it got SNI support for multiple TLS sites on the same IP address. It seems to be rather abandoned now. Unless of course you're simply having your server fib a bit about its name. --Jon From nobody Sat Nov 18 00:33:13 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 4SXF9x6R1qz51Y5f for ; Sat, 18 Nov 2023 00:33:25 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SXF9w6PBXz4YfV for ; Sat, 18 Nov 2023 00:33:24 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SXF9w0jn0z2fjW1; Fri, 17 Nov 2023 16:33:24 -0800 (PST) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: py39-certbot-2.6.0,1 From: Doug Hardie In-Reply-To: Date: Fri, 17 Nov 2023 16:33:13 -0800 Cc: Doug Hardie , questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <03C22A14-367C-4C21-90FC-F9ADEF60F8AE@sermon-archive.info> References: <3D6D10A6-7E9A-400D-A59D-21AD72C0B974@lafn.org> To: Jon Radel X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean 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:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Queue-Id: 4SXF9w6PBXz4YfV > On Nov 17, 2023, at 15:15, Jon Radel wrote: >=20 > On Fri, 17 Nov 2023 13:45:02 -0800 > Doug Hardie wrote: >=20 >> Thanks. I didn=E2=80=99t know that. However the web server doesn=E2=80=99= t handle different certs for multiple clients. Hence I have to use the = combined cert. I guess I=E2=80=99ll add multiple cert support to the = server=20 >=20 > Hmmmm....are you actually running WN 2.6.1? There's a server I've not = heard the name of in a couple of decades. That is the current version. I have been running it since the late = 90's. I am doing the maintenance/improvements on it now. =20 >=20 > I'm actually surprised that it got SNI support for multiple TLS sites = on the same IP address. It seems to be rather abandoned now. I don't recall when that was introduced. It's been many years. I = suspect it was when SSLEay was incorporated. >=20 > Unless of course you're simply having your server fib a bit about its = name. No need for that. The real name is pretty much meaningless to almost = everyone. I am actually surprised anyone recognized it. -- Doug