openbsd-ports/security/wpa_supplicant/pkg
2019-04-23 11:50:10 +00:00
..
DESCR
PLIST update to wpa_supplicant-2.7, ok kn@, maintainer timeout 2019-04-23 11:50:10 +00:00
README
wpa_supplicant.rc

$OpenBSD: README,v 1.5 2018/09/04 12:46:21 espie Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Configuring wireless interfaces
===============================
Configure your interface in the normal way using ifconfig(8) commands
or via /etc/hostname.<iface>. You must explicitly set 802.1x mode; it is
also recommended that the BSSID is configured explicitly, e.g.:

# ifconfig athn0 nwid humppa bssid 11:22:33:44:55:66 wpa wpaakms 802.1x up

Access-point scanning is not currently supported by the OpenBSD code in
wpa_supplicant, so ap_scan=0 should be set in ${SYSCONFDIR}/wpa_supplicant.conf.

Starting wpa_supplicant at boot time
====================================
An rc.d(8) script is provided, so you can add "wpa_supplicant" to the
pkg_scripts line in /etc/rc.conf.local.

The interface name must be given on the command line - this is preset to
"athn0" in the rc.d script. To use an alternative interface, do _not_
modify the ${RCDIR}/wpa_supplicant script, but instead change this in
/etc/rc.conf.local by adding a line using the format of one of the
following examples:

# 802.11 wireless
wpa_supplicant_flags=-c ${SYSCONFDIR}/wpa_supplicant.conf -D openbsd -i ral0

# wired
wpa_supplicant_flags=-c ${SYSCONFDIR}/wpa_supplicant.conf -D wired -i em0