Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | ##### hostapd configuration file ############################################## |
| 2 | # Empty lines and lines starting with # are ignored |
| 3 | |
| 4 | # Example configuration file for wired authenticator. See hostapd.conf for |
| 5 | # more details. |
| 6 | |
| 7 | interface=eth0 |
| 8 | driver=wired |
| 9 | logger_stdout=-1 |
| 10 | logger_stdout_level=1 |
| 11 | debug=2 |
| 12 | dump_file=/tmp/hostapd.dump |
| 13 | |
| 14 | ieee8021x=1 |
| 15 | eap_reauth_period=3600 |
| 16 | |
| 17 | use_pae_group_addr=1 |
| 18 | |
| 19 | |
| 20 | ##### RADIUS configuration #################################################### |
| 21 | # for IEEE 802.1X with external Authentication Server, IEEE 802.11 |
| 22 | # authentication with external ACL for MAC addresses, and accounting |
| 23 | |
| 24 | # The own IP address of the access point (used as NAS-IP-Address) |
| 25 | own_ip_addr=127.0.0.1 |
| 26 | |
| 27 | # Optional NAS-Identifier string for RADIUS messages. When used, this should be |
| 28 | # a unique to the NAS within the scope of the RADIUS server. For example, a |
| 29 | # fully qualified domain name can be used here. |
| 30 | nas_identifier=ap.example.com |
| 31 | |
| 32 | # RADIUS authentication server |
| 33 | auth_server_addr=127.0.0.1 |
| 34 | auth_server_port=1812 |
| 35 | auth_server_shared_secret=radius |
| 36 | |
| 37 | # RADIUS accounting server |
| 38 | acct_server_addr=127.0.0.1 |
| 39 | acct_server_port=1813 |
| 40 | acct_server_shared_secret=radius |