Go to file
2013-11-18 07:57:17 +02:00
create_ap minor change 2013-11-18 07:57:17 +02:00
README.md README.md: minor change 2013-11-17 14:36:36 +02:00

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

OR

echo -e "MyAccessPoint" | ./create_ap wlan0 eth0

WPA + WPA2 passphrase:

./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

OR

echo -e "MyAccessPoint\nMyPassPhrase" | ./create_ap wlan0 eth0

AP without Internet sharing:

./create_ap -n wlan0 MyAccessPoint MyPassPhrase

OR

echo -e "MyAccessPoint\nMyPassPhrase" | ./create_ap -n wlan0