summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-06-06 15:49:18 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-06-06 15:49:18 +0000
commite1e3103a9c37f3bacb74d469ddbb4976f8169615 (patch)
treeff0c39d12a8d80e4fc23ee2b6abd73613ab315ca /share
parent69f11d5a51497922cc0e1806dd615a1ae9448e42 (diff)
add hostap example;
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ral.410
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man4/ral.4 b/share/man/man4/ral.4
index a3f51678e45..9e1f6955ff9 100644
--- a/share/man/man4/ral.4
+++ b/share/man/man4/ral.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ral.4,v 1.33 2005/06/05 18:27:41 xsa Exp $
+.\" $OpenBSD: ral.4,v 1.34 2005/06/06 15:49:17 jmc Exp $
.\"
.\" Copyright (c) 2005
.\" Damien Bergamini <damien.bergamini@free.fr>
@@ -368,6 +368,14 @@ channel 11, obtaining an IP address using DHCP:
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
.Ed
.Pp
+The following
+.Xr hostname.if 5
+example creates a host-based access point on boot:
+.Bd -literal -offset indent
+inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
+ mediaopt hostap nwid my_net chan 11
+.Ed
+.Pp
Configure ral0 for WEP, using hex key
.Dq 0x1deadbeef1 :
.Bd -literal -offset indent