oblique / create_ap

[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
BSD 2-Clause "Simplified" License
4.45k stars 1k forks source link

SHARE_METHOD=none not working #450

Closed GoncaloR00 closed 4 years ago

GoncaloR00 commented 4 years ago

Hello, When I use the command create_ap -n wlx1cbfce9e8e59 test 12345678 every thing works fine! I try to edit the file create_ap.config with SHARE_METHOD=nat and every thing works fine. Now I need to use SHARE_METHOD=none but it don't work. Here is my config file: CHANNEL=default GATEWAY=10.0.0.1 WPA_VERSION=2 ETC_HOSTS=0 DHCP_DNS=gateway NO_DNS=0 NO_DNSMASQ=0 HIDDEN=0 MAC_FILTER=0 MAC_FILTER_ACCEPT=/etc/hostapd/hostapd.accept ISOLATE_CLIENTS=0 SHARE_METHOD=none IEEE80211N=0 IEEE80211AC=0 HT_CAPAB=[HT40+] VHT_CAPAB= DRIVER=nl80211 NO_VIRT=0 COUNTRY= FREQ_BAND=2.4 NEW_MACADDR= DAEMONIZE=0 NO_HAVEGED=0 WIFI_IFACE=wlx1cbfce9e8e59 INTERNET_IFACE=enp7s0 SSID=test PASSPHRASE=12345678 USE_PSK=0

And here is the log

-- Logs begin at Sun 2020-05-17 02:42:08 UTC, end at Sun 2020-05-17 04:09:29 UTC. -- May 17 03:04:33 aquecimentocentral systemd[1]: Started Create AP Service. May 17 03:04:33 aquecimentocentral create_ap[16852]: ERROR: 'wlan0' is not a WiFi interface May 17 03:04:33 aquecimentocentral systemd[1]: create_ap.service: Main process exited, code=exited, statu May 17 03:04:33 aquecimentocentral systemd[1]: create_ap.service: Failed with result 'exit-code'. May 17 03:04:38 aquecimentocentral systemd[1]: create_ap.service: Service hold-off time over, scheduling May 17 03:04:38 aquecimentocentral systemd[1]: create_ap.service: Scheduled restart job, restart counter May 17 03:04:38 aquecimentocentral systemd[1]: Stopped Create AP Service.

GoncaloR00 commented 4 years ago

I was editing the wrong file The right one is /etc/create_ap.conf