Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man8 Don't describe wpa supplicant flags now that ...



details:   https://anonhg.NetBSD.org/src/rev/678e9b31a371
branches:  trunk
changeset: 452101:678e9b31a371
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Jun 18 13:27:25 2019 +0000

description:
Don't describe wpa supplicant flags now that they aren't needed.

I'm intentionally not describing wpa_cli since it seems to be a worse
user experience than appending with wpa_passphrase.

diffstat:

 share/man/man8/afterboot.8 |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (41 lines):

diff -r b7fb622ffed4 -r 678e9b31a371 share/man/man8/afterboot.8
--- a/share/man/man8/afterboot.8        Tue Jun 18 12:05:51 2019 +0000
+++ b/share/man/man8/afterboot.8        Tue Jun 18 13:27:25 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: afterboot.8,v 1.60 2017/09/10 19:08:17 maya Exp $
+.\"    $NetBSD: afterboot.8,v 1.61 2019/06/18 13:27:25 maya Exp $
 .\"    $OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4%umn.edu@localhost
@@ -59,7 +59,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 10, 2017
+.Dd June 18, 2019
 .Dt AFTERBOOT 8
 .Os
 .Sh NAME
@@ -411,18 +411,16 @@
 .Pp
 To connect to a wireless network using WPA and DHCP:
 .Bd -literal -offset indent
-.Ic wpa_passphrase networkname password > /etc/wpa_supplicant.conf
-.Ic wpa_supplicant -i iwm0 -c /etc/wpa_supplicant.conf &
-.Ic dhcpcd iwm0
+.Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
+.Ic servpce wpa_supplicant onestart
+.Ic service dhcpcd onestart
 .Ed
 .Pp
-To automatically connect at boot, add the following flags to
+To automatically connect at boot, add the following to
 .Pa /etc/rc.conf :
 .Pp
 .Dl dhcpcd=YES
-.Dl dhcpcd_flags="-b"
 .Dl wpa_supplicant=YES
-.Dl wpa_supplicant_flags="-i iwm0 -c /etc/wpa_supplicant.conf"
 .Ss RPC-based network services
 Several services depend on the RPC portmapper
 .Xr rpcbind 8



Home | Main Index | Thread Index | Old Index