Source-Changes-HG archive

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

[src/trunk]: src/share/man/man8 afterboot.8: Explain how connecting to open W...



details:   https://anonhg.NetBSD.org/src/rev/da886b2c0fb6
branches:  trunk
changeset: 937297:da886b2c0fb6
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Aug 15 13:25:14 2020 +0000

description:
afterboot.8: Explain how connecting to open WiFi works with wpa_supplicant

diffstat:

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

diffs (37 lines):

diff -r bf59e19f91a3 -r da886b2c0fb6 share/man/man8/afterboot.8
--- a/share/man/man8/afterboot.8        Sat Aug 15 10:03:10 2020 +0000
+++ b/share/man/man8/afterboot.8        Sat Aug 15 13:25:14 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: afterboot.8,v 1.62 2019/06/18 23:11:05 nia Exp $
+.\"    $NetBSD: afterboot.8,v 1.63 2020/08/15 13:25:14 nia 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 June 18, 2019
+.Dd August 15, 2020
 .Dt AFTERBOOT 8
 .Os
 .Sh NAME
@@ -416,6 +416,18 @@
 .Ic service dhcpcd onestart
 .Ed
 .Pp
+To connect to an open wireless network with no password, edit
+.Pa /etc/wpa_supplicant.conf
+instead of using
+.Xr wpa_passphrase 8 :
+.Bd -literal -offset indent
+network={
+       ssid="Public-WiFi"
+       key_mgmt=NONE
+       priority=100
+}
+.Ed
+.Pp
 To automatically connect at boot, add the following to
 .Pa /etc/rc.conf :
 .Pp



Home | Main Index | Thread Index | Old Index