Template:HOSTAPD ACCESS POINT: Difference between revisions

From Variscite Wiki
(Created page with "<includeonly></includeonly>")
 
No edit summary
Line 1: Line 1:
<includeonly></includeonly>
<includeonly>
<!--
== Configuring WiFi Access Point with hostapd ==
 
hostapd is a versatile tool for setting up a WiFi Access Point and generally offers more options and flexibility compared to NetworkManager. For instance, hostapd enables the creation of a WiFi 6 Access Point, which is not currently possible with NetworkManager.
 
While NetworkManager facilitates complete automation of WiFi, DHCP server, and NAT configuration, hostapd provides more granular control over these settings, making it a preferred choice for advanced configurations.
 
dnsmasq is a suitable option for providing DHCP and DNS services alongside hostapd. It's a lightweight DNS forwarder and DHCP server that can be easily integrated with hostapd.
 
=== hostapd: Make sure interface is not managed by NetworkManager ===
 
Before starting with hostapd, it's important that NetworkManager is not managing the access point interface (uap0). If NetworkManager is running, make sure uap0 is unmanaged:
 
# /etc/NetworkManager/conf.d/99-iw61x-unmanaged-devices.conf
[keyfile]
unmanaged-devices=interface-name:uap0;
 
=== hostapd: Create /etc/hostapd.conf ===
 
The next step is to create /etc/hostapd.conf. The following table shows how to
 
{| class="wikitable"
|-
! Wi-Fi 2G (802.11bg)<br>/etc/hostapd.conf
! Wi-Fi 5 (802.11ac)<br>/etc/hostapd.conf
! Wi-Fi 6 (802.11ax)<br>/etc/hostapd.conf
|-
| {{HOSTAPD_BGN}}
| {{HOSTAPD_AC}}
| {{HOSTAPD_AX}}
|}
-->
</includeonly>

Revision as of 23:08, 10 January 2024