- bash (to run this script)
- util-linux (for getopt)
- hostapd
- dnsmasq
- iptables
- iproute2
- haveged (optional)
./create_ap wlan0 eth0 MyAccessPoint
./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
./create_ap -n wlan0 MyAccessPoint MyPassPhrase
./create_ap wlan0 eth0 MyAccessPoint
./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
./create_ap -n wlan0 MyAccessPoint MyPassPhrase