Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 394 Bytes

File metadata and controls

23 lines (15 loc) · 394 Bytes

Dependencies

  • bash (to run this script)
  • util-linux (for getopt)
  • hostapd
  • dnsmasq
  • iptables
  • iproute2
  • haveged (optional)

Examples

No passphrase (open network):

./create_ap wlan0 eth0 MyAccessPoint

WPA + WPA2 passphrase:

./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

AP without Internet sharing:

./create_ap -n wlan0 MyAccessPoint MyPassPhrase