Index | Thread | Search

From:
Mikhail <mp39590@gmail.com>
Subject:
add one more example to ifconfig.8
To:
tech@openbsd.org
Date:
Fri, 12 Apr 2024 21:13:31 +0300

Download raw body.

Thread
Not very intuitive thing, could have saved me some time in the past.

Worth a commit?

diff /usr/src
commit - 7b2c2c925bce647de68993e45d20ddf15e67bae4
path + /usr/src
blob - bc92b15c567343bf8fc5e4b0d288668f6617f6f8
file + sbin/ifconfig/ifconfig.8
--- sbin/ifconfig/ifconfig.8
+++ sbin/ifconfig/ifconfig.8
@@ -2450,9 +2450,13 @@ Create the gif1 network interface:
 .Pp
 .Dl # ifconfig gif1 create
 .Pp
-Put the athn0 wireless interface into monitor mode:
+Put the iwx0 wireless interface into monitor mode:
 .Pp
-.Dl # ifconfig athn0 mediaopt monitor
+.Dl # ifconfig iwx0 mediaopt monitor
+.Pp
+Return it to normal operation:
+.Pp
+.Dl # ifconfig iwx0 -mediaopt monitor
 .Sh DIAGNOSTICS
 Messages indicating the specified interface does not exist, the
 requested address is unknown, or the user is not privileged and