create_ap/README.md

36 lines
596 B
Markdown
Raw Normal View History

2013-09-28 03:45:59 -04:00
## Dependencies
* bash (to run this script)
* util-linux (for getopt)
* hostapd
* dnsmasq
* iptables
* iproute2
* haveged (optional)
2013-09-28 02:04:52 -04:00
## Examples
### No passphrase (open network):
./create_ap wlan0 eth0 MyAccessPoint
2013-11-17 06:43:50 -05:00
OR
echo -e "MyAccessPoint\n" | ./create_ap wlan0 eth0
2013-09-28 02:04:52 -04:00
### WPA + WPA2 passphrase:
./create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
2013-11-17 06:43:50 -05:00
OR
echo -e "MyAccessPoint\nMyPassPhrase" | ./create_ap wlan0 eth0
2013-09-28 02:04:52 -04:00
### AP without Internet sharing:
2013-09-28 03:45:59 -04:00
./create_ap -n wlan0 MyAccessPoint MyPassPhrase
2013-11-17 06:43:50 -05:00
OR
echo -e "MyAccessPoint\nMyPassPhrase" | ./create_ap -n wlan0