HostAPD
Version vom 2. August 2014, 06:08 Uhr von Hamatoma (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Kategorie:Netzwerk == Installation == <pre> apt-get install hostapd bridge-utils iw dnsmasq perl -pi -e 's!^#DAEMON_CONF=.*!DAEMON_CONF="/etc/hostapd/hostap…“)
Installation
apt-get install hostapd bridge-utils iw dnsmasq perl -pi -e 's!^#DAEMON_CONF=.*!DAEMON_CONF="/etc/hostapd/hostapd.conf"!' /etc/default/hostapd
Variante ohne Bridge
FN=/etc/hostapd/hostapd.conf SID=rex-regio CODE=geheim test -e $FN && mv $FN $FN.$(date "+%Y%m%d.%H%M%S") cat >$FN <<EOS # interface used by access point interface=wlan0 # firmware driver driver=nl80211 # access point SSID ssid=$SID # operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g) hw_mode=g # access point channel channel=6 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 # key management algorithm wpa_key_mgmt=WPA-PSK wpa_passphrase=$CODE wpa=2 # set ciphers wpa_pairwise=TKIP rsn_pairwise=CCMP EOS