git: d2df0d4eb5c0 - main - networking.7: Scope netif to wlan0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Oct 2026 20:02:34 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=d2df0d4eb5c0e9915abf8c96c22adb051d33cbe2
commit d2df0d4eb5c0e9915abf8c96c22adb051d33cbe2
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-10-19 19:16:17 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
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.