Last active
January 3, 2016 10:28
-
-
Save oldsharp/8449178 to your computer and use it in GitHub Desktop.
rtl_hostapd_2g configure file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### hostapd configuration file ############################################## | |
interface=wlan0 | |
ctrl_interface=/var/run/hostapd | |
ssid=octocat | |
channel=3 | |
wpa=2 | |
wpa_passphrase=<password> | |
#bridge=br0 | |
##### Wi-Fi Protected Setup (WPS) ############################################# | |
eap_server=1 | |
# WPS state | |
# 0 = WPS disabled (default) | |
# 1 = WPS enabled, not configured | |
# 2 = WPS enabled, configured | |
wps_state=2 | |
uuid=b98d6012-104c-11e3-8f5c-bc305bc2c8d0 | |
# Device Name | |
# User-friendly description of device; up to 32 octets encoded in UTF-8 | |
device_name=RTL8188EU | |
# Manufacturer | |
# The manufacturer of the device (up to 64 ASCII characters) | |
manufacturer=Realtek | |
# Model Name | |
# Model of the device (up to 32 ASCII characters) | |
model_name=RTW_SOFTAP | |
# Model Number | |
# Additional device description (up to 32 ASCII characters) | |
model_number=WLAN_CU | |
# Serial Number | |
# Serial number of the device (up to 32 characters) | |
serial_number=12345 | |
# Primary Device Type | |
# Used format: <categ>-<OUI>-<subcateg> | |
# categ = Category as an integer value | |
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for | |
# default WPS OUI | |
# subcateg = OUI-specific Sub Category as an integer value | |
# Examples: | |
# 1-0050F204-1 (Computer / PC) | |
# 1-0050F204-2 (Computer / Server) | |
# 5-0050F204-1 (Storage / NAS) | |
# 6-0050F204-1 (Network Infrastructure / AP) | |
device_type=6-0050F204-1 | |
# OS Version | |
# 4-octet operating system version number (hex string) | |
os_version=01020300 | |
# Config Methods | |
# List of the supported configuration methods | |
config_methods=label display push_button keypad | |
# mac address filter | |
macaddr_acl=1 | |
accept_mac_file=/path/to/accept | |
##### default configuration ####################################### | |
driver=rtl871xdrv | |
#driver=nl80211 | |
#driver=rtl8188eu | |
beacon_int=100 | |
hw_mode=g | |
ieee80211n=1 | |
wme_enabled=1 | |
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+] | |
wpa_key_mgmt=WPA-PSK | |
wpa_pairwise=CCMP | |
max_num_sta=8 | |
wpa_group_rekey=86400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment