Template:HOSTAPD ACCESS POINT: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 8: Line 8:
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.
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.


=== Make sure interface is not managed by NetworkManager ===
=== Make sure interface (uap0) 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:
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:
Line 32: Line 32:


=== Configure /etc/dnsmasq.conf ===
=== Configure /etc/dnsmasq.conf ===
Then, configure dnsmasq:


<pre>
<pre>
Line 52: Line 50:


=== Optionally configure NAT between uap0 and eth0: ===
=== Optionally configure NAT between uap0 and eth0: ===
Optionally, it is possible to configure a NAT between uap0 and eth0:


<pre>
<pre>

Revision as of 23:59, 10 January 2024