From 0371de6c8ff55bd65a3c10e1f2c5dd8031599398 Mon Sep 17 00:00:00 2001 From: Goga Coder Date: Sat, 20 Jul 2024 12:06:44 +0700 Subject: [PATCH] Hotspot configuration was added --- hostapd.conf | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 hostapd.conf diff --git a/hostapd.conf b/hostapd.conf new file mode 100644 index 0000000..3408007 --- /dev/null +++ b/hostapd.conf @@ -0,0 +1,40 @@ +# Set up some logging. VERY useful to see why things aren't working. +logger_syslog=-1 +logger_syslog_level=2 +logger_stdout=-1 +logger_stdout_level=2 + +# Which interface to use and which bridge to join +interface=wlan0 + +# Use this driver for AP stuff. This corresponds to the mac80211 driver +# which most newer cards support. +driver=nl80211 + +hw_mode=g +country_code=US +channel=11 + +# Use Wifi 6 +ieee80211n=0 +ieee80211ac=0 +ieee80211ax=1 + +# Set and broadcast the SSID. Stupid double-negatives... +ssid=MY_SSID +ignore_broadcast_ssid=0 + + +# WPA Authtorization +auth_algs=1 # Open authentication, no WEP +wpa=2 # WPA2 only, set to 3 for WPA+WPA2 +wpa_passphrase=MY_PASSWORD +wpa_key_mgmt=WPA-PSK +# Cipher for WPA2 (AES in this case) +rsn_pairwise=CCMP + +wmm_enabled=1 +wpa_pairwise=TKIP + +# Don't use a MAC ACL +macaddr_acl=0