Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/share/man/man8 Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/52528e403a06
branches: netbsd-8
changeset: 434305:52528e403a06
user: snj <snj%NetBSD.org@localhost>
date: Sat Sep 23 17:18:44 2017 +0000
description:
Pull up following revision(s) (requested by maya in ticket #279):
share/man/man8/afterboot.8: 1.59-1.60
Update packages link. suggest https. bump date
Update wifi guide to reflect dhcpcd no longer invoking wpa_supplicant
diffstat:
share/man/man8/afterboot.8 | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diffs (66 lines):
diff -r 927b3908697d -r 52528e403a06 share/man/man8/afterboot.8
--- a/share/man/man8/afterboot.8 Sat Sep 23 17:13:10 2017 +0000
+++ b/share/man/man8/afterboot.8 Sat Sep 23 17:18:44 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: afterboot.8,v 1.57 2017/03/15 11:22:15 wiz Exp $
+.\" $NetBSD: afterboot.8,v 1.57.4.1 2017/09/23 17:18:44 snj 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 March 14, 2017
+.Dd September 10, 2017
.Dt AFTERBOOT 8
.Os
.Sh NAME
@@ -403,21 +403,26 @@
nameserver 127.0.0.1
.Ed
.Ss Wireless networking
-You may scan for nearby wireless networks using:
+You can scan for nearby wireless networks using:
.Bd -literal -offset indent
.Ic ifconfig iwm0 up list scan
.Ic ifconfig iwm0 down
.Ed
.Pp
-To connect to a network using WPA, you may use:
+To connect to a wireless network using WPA and DHCP:
.Bd -literal -offset indent
-.Ic echo ctrl_interface=/var/run/wpa_supplicant > /etc/wpa_supplicant.conf
-.Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
+.Ic wpa_passphrase networkname password > /etc/wpa_supplicant.conf
+.Ic wpa_supplicant -i iwm0 -c /etc/wpa_supplicant.conf &
+.Ic dhcpcd iwm0
.Ed
.Pp
-After creating /etc/wpa_supplicant.conf, using
-.Xr dhcpcd 8
-on the wireless interface will connect to the network.
+To automatically connect at boot, add the following flags 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
@@ -861,11 +866,11 @@
.Nx
packages collection, pkgsrc, includes a large set of third-party software.
A lot of it is available as binary packages that you can download from
-.Lk ftp://ftp.NetBSD.org/pub/NetBSD/packages/
+.Lk https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/
or a mirror, and install using
.Xr pkg_add 1 .
See
-.Lk http://www.NetBSD.org/docs/pkgsrc/
+.Lk https://www.NetBSD.org/docs/pkgsrc/
and
.Pa pkgsrc/doc/pkgsrc.txt
for more details.
Home |
Main Index |
Thread Index |
Old Index