From nobody Mon Oct 19 20:02:34 2026 X-Original-To: dev-commits-src-main@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 4j7mfz25Wlz6wHc6 for ; Mon, 19 Oct 2026 20:02:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j7mfy6cW1z3KYf for ; Mon, 19 Oct 2026 20:02:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792440154; 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; bh=5nu9obuyTG8XCwmSp9HA24ESZpDP6h1qSC9F8Yh6xjY=; b=rfnGy2Tvf/IErQ6WFAp4sz3jdSqJoy0w7EOqFJHym4kZNrCNr7bJAYVAw9HsU01Zdboxaj DeHW2OkoAPdbK0GbDgu1yfhnTnUeqe3CqrY6bOA4nZ9wUzPIbqhht/AouHheoVxEM0HNu/ rv3br3eemolUmPX5LyhpqnT9KJ4tEoAjy+1xX2CRPwSSzNM2IDDBpcWDzrsO6KTKxGGm9W xDH9pqIqUJ4W/OpwkeSD3g2DkhMNRKVO1z5uNsjRULUIvc3fsBjhLeXsQkcUvArGS98UsQ +gMZ//lUQHMm57Vd0Wn3oxeLeRqNH2VGs0rIilBP0foOMjUXDPcu0asZf4RB8A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792440154; b=KQL8OZQn+iZw5eBzRMNzirwZ7kZuFWARdKffuUwFCFhoVmDI9P5oqBzQIffTWBBHv63yyM ZcTK4Nw7xW5jE68ZlOzx3R0yGPb/8Li4WVUJmd6j0XKd/MgThO08ISoHL/Qfqbra3KzV7p 542KYiI7Kvm0H6J4z+dc/HWEVwPbxF64JsB+UPTboJixfZZ4TXHA9ZcnfZkOfox3ujtKwh 3Po55+IIbJd3ARagrX485QVY16GpWJY6rxct5vFoBbQFO1elYpBy0hxAhpKxiHrk9CDmUn j2Crxb8YKCoJZ5Z5hFXMpEzQaq8fLHuXhdeF/mk6zCVSYcz3rv/pxMV5zJcYpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792440154; 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; bh=5nu9obuyTG8XCwmSp9HA24ESZpDP6h1qSC9F8Yh6xjY=; b=FeUGNU68LAyiaYUupyYLLCrQzLqO89Y9tx2JHX/0+QhOoWnM5SlQVuRblDL5A06EZdkuqL eI5nqWYls/Rh/TobPNc1S9VxQL1OY8laaJ4np6nA3lssepk3rchhWT1mX6j7Hw/xATsDsz b5E7RI6nXluiSXhlUxH3pxTJq/gp1Uf5PTtbdm0OhqN+4pPph9mD4lR0NpifWaAVMyal+M XelnWARi3Ociz94nhBez7fXQ+au+hWFnl4CcmqJBs5eqqkkkE9crwF/3FcAGsR6xz9HfYN pkfSbZdFjyRoJUSn1XOfz+xyz7iRJIgOQFTk4ZZbvuPQvgv7DrJqByubsTU2Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j7mfy63bmzc7d for ; Mon, 19 Oct 2026 20:02:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3addf by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 19 Oct 2026 20:02:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: d2df0d4eb5c0 - main - networking.7: Scope netif to wlan0 List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2df0d4eb5c0e9915abf8c96c22adb051d33cbe2 Auto-Submitted: auto-generated Date: Mon, 19 Oct 2026 20:02:34 +0000 Message-Id: <6ad6775a.3addf.b4749e5@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=d2df0d4eb5c0e9915abf8c96c22adb051d33cbe2 commit d2df0d4eb5c0e9915abf8c96c22adb051d33cbe2 Author: Alexander Ziaee AuthorDate: 2026-10-19 19:16:17 +0000 Commit: Alexander Ziaee CommitDate: 2026-10-19 20:02:05 +0000 networking.7: Scope netif to wlan0 I recently learned that you can restart just wlan0 instead of the entire netif, which will save you when doing on-device networking like bhyve, or activting wlan0 when it is booted parked via rc.conf's NOAUTO. MFC after: 3 days Reviewed by: bz, bcr Discussed with: emaste Differential Revision: https://reviews.freebsd.org/D59586 --- share/man/man7/networking.7 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/man/man7/networking.7 b/share/man/man7/networking.7 index 2174577eb6a3..0de0aee21668 100644 --- a/share/man/man7/networking.7 +++ b/share/man/man7/networking.7 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: BSD-2-Clause .\" -.Dd March 21, 2025 +.Dd September 11, 2026 .Dt NETWORKING 7 .Os .Sh NAME @@ -57,9 +57,9 @@ Enter the details of the Wi-Fi network: .Ic # wpa_passphrase \(dqmyssid\(dq \(dqmypassphrase\(dq >> wpa_supplicant.conf .Ed .Pp -Restart the network interface daemon: +Restart the Wi-Fi interface: .Bd -literal -offset 2n -.Ic # service netif restart +.Ic # service netif restart wlan0 .Ed .It Sy Example 4: Scanning for Wi-Fi networks .Bd -literal -offset 2n @@ -67,7 +67,7 @@ Restart the network interface daemon: .Ed .It Sy Example 5: Airplane mode .Bd -literal -offset 2n -.Ic # service netif stop +.Ic # service netif stop wlan0 .Ed .El .Sh SEE ALSO @@ -87,7 +87,7 @@ or will need to be escaped for .Xr wpa_passphrase 8 , commonly using -.Ql \e , -see the manual page for your shell for more details. +.Ql \e . +See the manual page for your shell for more details. .Pp Stopping the network interface service also stops internal networking.