create_ap
WiFi access point creation tool
TLDR
Create an open network without passphrase
SYNOPSIS
create_ap [options] wifiinterface [internetinterface] [ssid] [passphrase]
DESCRIPTION
create_ap creates a WiFi access point using hostapd. It handles the complex configuration of hostapd, dnsmasq, iptables, and network interfaces automatically, abstracting away the tedious manual setup typically required.
The tool configures hostapd to create the access point, sets up dnsmasq for DHCP and DNS services, establishes NAT routing through iptables (or bridging if specified), and manages network interface configuration. It supports NAT mode (default) for sharing Internet connections, bridge mode for transparent network bridging, and isolated mode without Internet sharing.
PARAMETERS
-n
Don't share Internet (isolated AP)-m mode
Mode: nat (default), bridge, none--driver driver
WiFi driver (nl80211, rtl871xdrv, etc.)-c channel
WiFi channel--hidden
Hide SSID--ieee80211n
Enable 802.11n--ieee80211ac
Enable 802.11ac
CAVEATS
Requires hostapd and dnsmasq. WiFi adapter must support AP mode. Some adapters may not work due to driver limitations. Requires root privileges.
