source: trunk/debian/packages/debwrt-net/trunk/etc/hostapd/hostapd-wpa.conf @ 897

Last change on this file since 897 was 897, checked in by amain, 3 years ago

debwrt-net: more sensible default hostapd-wpa.conf

File size: 3.1 KB
RevLine 
[781]1bridge=br-lan
2ssid=DebWrt
3
4driver=nl80211
5interface=wifi
6#interface=wlan0
7#interface=ath0
8
9# a  = IEEE 802.11a (5 GHz)    ( set a fro 802.11ac )
10# b  = IEEE 802.11b (2.4 GHz)  ( default )
11# g  = IEEE 802.11g (2.4 GHz)  ( set g for 802.11n )
12# ad = IEEE 802.11ad (60 GHz)
13hw_mode=g
14
15##### IEEE 802.11n related configuration #####
16# ieee80211n: Whether IEEE 802.11n (HT) is enabled
17# 0 = disabled (default)
18# 1 = enabled
19# Note: You will also need to enable WMM for full HT functionality.
20# Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band.
[897]21#ieee80211n=1
[781]22
23# HT modes: double bandwidth
24# [HT40-] or [HT40+] depends on channel selected
25#       freq            HT40-           HT40+
26#       2.4 GHz         5-13            1-7 (1-9 in Europe/Japan)
27#       5 GHz           40,48,56,64     36,44,52,60
28#
29# Warning: hostapd won't apply 40 mode (double rate) if there are to  many
30#          other APs in the neighbourhood.
[897]31#ht_capab=[HT40-][SHORT-GI-40]
[781]32
33# Test every N seconds? for stations which would be affected by 40 MHz traffic
34# Setting this to non-zero allows 2.4 GHz band AP to move dynamically to a
35# 40 MHz channel if no co-existence issues with neighboring devices are found.
36# default: 0, only scan on boot
37#obss_interval=1
38
39##### IEEE 802.11ac related configuration #####
40# ieee80211ac: Whether IEEE 802.11ac (VHT) is enabled
41# 0 = disabled (default)
42# 1 = enabled
43# Note: You will also need to enable WMM for full VHT functionality.
44# Note: hw_mode=a is used to specify that 5 GHz band is used with VHT.
45#ieee80211ac=1
46
47# vht_capab: VHT capabilities (list of flags)
48#vht_capab=[SHORT-GI-80][HTC-VHT]
49
50
51# Change HT as well, when changing channel!
52# 0: auto, any: auto (auto = ACS may not be available)
53# higher/lower channels may not be available when HT is enabled
54channel=10
55
56# Automatic Channel Selection BIAS (give more weight to certain channels)
57# default 2.4: 1:0.8 6:0.8 11:0.8
58#acs_chan_bias=1:0.8 6:0.8 11:0.8
59
60wpa=2
61wpa_pairwise=CCMP
62wpa_passphrase=debwrtdebwrt
63
[892]64
65# Multiple SSID: Start
66# URL: http://wiki.stocksy.co.uk/wiki/Multiple_SSIDs_with_hostapd
67# 1. Get original mac (for example: f4:ec:38:dd:9a:fe)
68# 2. Set first 2 hex to 02: = 'locally administered' (02:ec:38:dd:9a:fe)
69# 3. Set last  2 hex to 00: Room for BSSIDs for each BSS (02:ec:38:dd:9a:00)
70# 4. Either set the bssid=02:ec:38:dd:9a:00 below, or
71# 5. Set it in /etc/network/interfaces (probably easier)
72#    (ip link set dev wifi address 02:ec:38:dd:9a:00)
73#
74# Watch out for following debug output, in case things don't work:
75# - BSS count 3, BSSID mask ff:ff:ff:ff:ff:fc (2 bits)
76# - Invalid BSSID mask ff:ff:ff:ff:ff:fc for start address f4:ec:38:dd:9a:fe.
77# - Start address must be the first address in the block (i.e., addr AND mask === addr).
78#
79# When setting bssid= below, make sure to set wifi from auto to
80# allow-hotplug in /etc/network/interfaces and start hostapd manually.
81#bssid=02:ec:38:dd:9a:00
82
83# vap 2
84#bss=wifi_2
85#ssid=DebWrt-Guest
86#wpa=2
87#wpa_pairwise=CCMP
88#wpa_passphrase=debwrtguest1
89
90# vap 3
91#bss=wifi_3
92#ssid=DebWrt-Local
93#wpa=2
94#wpa_pairwise=CCMP
95#wpa_passphrase=debwrtlocal1
96
97# ...
98
99# Multiple SSID: End
100
101
[781]102ignore_broadcast_ssid=0
103ctrl_interface=/var/run/hostapd
104
105wmm_enabled=1
Note: See TracBrowser for help on using the repository browser.