Browse Source

sample hostapd.conf from reyk, to be tweaked

OPENBSD_3_8
henning 19 years ago
parent
commit
1d63988cd7
2 changed files with 13 additions and 2 deletions
  1. +3
    -2
      src/etc/Makefile
  2. +10
    -0
      src/etc/hostapd.conf

+ 3
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.221 2005/04/01 15:50:14 deraadt Exp $
# $OpenBSD: Makefile,v 1.222 2005/04/13 21:47:07 henning Exp $
TZDIR= /usr/share/zoneinfo TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain LOCALTIME= Canada/Mountain
@ -83,6 +83,7 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 644 pf.os ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 644 pf.os ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 644 sensorsd.conf ${DESTDIR}/etc ${INSTALL} -c -o root -g wheel -m 644 sensorsd.conf ${DESTDIR}/etc
${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
cd root; \ cd root; \
@ -379,7 +380,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096 DHSIZE=1024 1536 2048 3072 4096
update-moduli: update-moduli:
( \ ( \
echo '# $$OpenBSD: Makefile,v 1.221 2005/04/01 15:50:14 deraadt Exp $$'; \
echo '# $$OpenBSD: Makefile,v 1.222 2005/04/13 21:47:07 henning Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \ echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \ ( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \ ssh-keygen -b $$i -G /dev/stdout; \


+ 10
- 0
src/etc/hostapd.conf View File

@ -0,0 +1,10 @@
# $OpenBSD: hostapd.conf,v 1.1 2005/04/13 21:47:07 henning Exp $
# sample hostapd configuration file
# see hostapd.conf(5)
wlan="ural0"
wired="em0"
set hostap interface $wlan
set iapp interface $wired
set iapp mode broadcast

Loading…
Cancel
Save