create_ap

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

commit ec0df440f82e7a0daca10dc1b12a1c85bb47b9d7
parent 2dcc4070006790f139dd46e63cac2aa23df3c62e
Author: oblique <psyberbits@gmail.com>
Date:   Sun, 21 Sep 2014 18:28:41 +0300

Add 'managed' virtual interface instead of '__ap', hostapd will change it anyway

Diffstat:
Mcreate_ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/create_ap b/create_ap @@ -680,7 +680,7 @@ if [[ $NO_VIRT -eq 0 ]]; then Try again with --no-virt." echo -n "Creating a virtual WiFi interface... " - if iw dev ${WIFI_IFACE} interface add ${VWIFI_IFACE} type __ap; then + if iw dev ${WIFI_IFACE} interface add ${VWIFI_IFACE} type managed; then # now we can call networkmanager_wait_until_unmanaged networkmanager_is_running && [[ $NM_OLDER_VERSION -eq 0 ]] && networkmanager_wait_until_unmanaged ${VWIFI_IFACE} echo "${VWIFI_IFACE} created."