create_ap

create a nat-ed wifi ap
git clone git://git.2f30.org/create_ap
Log | Files | Refs | README | LICENSE

commit ecb3088c7e42dfb4bad4d73df1d8a0ac5500b740
parent 84b7ae8d269d578bf7a733613537c4c7f6f57e1e
Author: oblique <psyberbits@gmail.com>
Date:   Sat, 17 Oct 2015 17:11:19 +0300

Turn off power saving

Fixes #113

Diffstat:
Mcreate_ap | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/create_ap b/create_ap @@ -1416,6 +1416,10 @@ if [[ "$SHARE_METHOD" == "bridge" ]]; then fi fi +if [[ $USE_IWCONFIG -eq 0 ]]; then + iw dev ${WIFI_IFACE} set power_save off +fi + if [[ $NO_VIRT -eq 0 ]]; then VWIFI_IFACE=$(alloc_new_iface ap)