Go to file
Miroslav Koskar f143ddd584 Set SSID and PASSPHRASE values from standard input
- SSID is the first line
- PASSPHRASE is the second line

example: echo -e 'MyAccessPoint\nMyPassPhrase' | create_ap wlan0 eth0
2013-11-17 01:46:37 +02:00
create_ap Set SSID and PASSPHRASE values from standard input 2013-11-17 01:46:37 +02:00
README.md Add dependencies in README.md file 2013-09-28 10:45:59 +03: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

WPA + WPA2 passphrase:

./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

AP without Internet sharing:

./create_ap -n wlan0 MyAccessPoint MyPassPhrase