summaryrefslogtreecommitdiff
path: root/package/initramfs/root/factory/wired.conf
diff options
context:
space:
mode:
Diffstat (limited to 'package/initramfs/root/factory/wired.conf')
-rw-r--r--package/initramfs/root/factory/wired.conf66
1 files changed, 66 insertions, 0 deletions
diff --git a/package/initramfs/root/factory/wired.conf b/package/initramfs/root/factory/wired.conf
new file mode 100644
index 0000000000..bd39d8a3ae
--- /dev/null
+++ b/package/initramfs/root/factory/wired.conf
@@ -0,0 +1,66 @@
+##### hostapd configuration file ##############################################
+# Empty lines and lines starting with # are ignored
+
+# Example configuration file for wired authenticator. See hostapd.conf for
+# more details.
+
+interface=br0
+driver=wired
+logger_stdout=-1
+logger_syslog=-1
+logger_stdout_level=4
+logger_syslog_level=4
+debug=0
+dump_file=/tmp/hostapd.dump
+ctrl_interface=/var/run/hostapd
+
+ieee8021x=1
+eap_message=hello
+eapol_key_index_workaround=0
+eap_reauth_period=10
+eap_server=0
+#eap_user_file=/etc/hostapd.eap_user
+
+use_pae_group_addr=0
+
+##### RADIUS configuration ####################################################
+# for IEEE 802.1X with external Authentication Server, IEEE 802.11
+# authentication with external ACL for MAC addresses, and accounting
+
+# The own IP address of the access point (used as NAS-IP-Address)
+own_ip_addr=127.0.0.1
+
+# Optional NAS-Identifier string for RADIUS messages. When used, this should be
+# a unique to the NAS within the scope of the RADIUS server. For example, a
+# fully qualified domain name can be used here.
+#nas_identifier=ap.example.com
+
+# RADIUS authentication server
+auth_server_addr=192.168.101.120
+auth_server_port=1812
+auth_server_shared_secret=spidcom
+
+# RADIUS accounting server
+#acct_server_addr=127.0.0.1
+#acct_server_port=1813
+#acct_server_shared_secret=radius
+
+#radius_server_clients=/etc/hostapd.radius_clients
+#radius_server_auth_port=1812
+
+# CA certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS
+#ca_cert=/root/ca.pem
+
+# Server certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS
+#server_cert=/root/authenticator.pem
+
+# Private key matching with the server certificate for EAP-TLS/PEAP/TTLS
+# This may point to the same file as server_cert if both certificate and key
+# are included in a single file. PKCS#12 (PFX) file (.p12/.pfx) can also be
+# used by commenting out server_cert and specifying the PFX file as the
+# private_key.
+#private_key=/root/authenticator.key
+
+# Passphrase for private key
+#private_key_passwd=secret passphrase
+