From ded568f7d7be931aa70fb0d155d58531f398eff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darko=20Luki=C4=87?= Date: Sun, 20 May 2018 22:45:13 +0200 Subject: [PATCH] --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 2e9b816..c8405dd 100644 --- a/install.sh +++ b/install.sh @@ -61,6 +61,10 @@ EOF #sudo systemctl restart dhcpcd # Populate `/etc/create_ap.conf` file +git clone https://www.github.com/oblique/create_ap /tmp/create_ap --depth 1 +sudo make -C /tmp/create_ap install +sudo systemctl enable create_ap + sudo bash -c 'cat > /etc/create_ap.conf' << EOF CHANNEL=default GATEWAY=10.0.0.1 @@ -73,7 +77,7 @@ HIDDEN=0 MAC_FILTER=0 MAC_FILTER_ACCEPT=/etc/hostapd/hostapd.accept ISOLATE_CLIENTS=0 -SHARE_METHOD=nat +SHARE_METHOD=none IEEE80211N=0 IEEE80211AC=0 HT_CAPAB=[HT40+] @@ -86,14 +90,10 @@ NEW_MACADDR= DAEMONIZE=0 NO_HAVEGED=0 WIFI_IFACE=wlan0 -INTERNET_IFACE=eth0 +INTERNET_IFACE= SSID=CosmicPi PASSPHRASE= USE_PSK=0 EOF -git clone https://www.github.com/oblique/create_ap /tmp/create_ap --depth 1 -sudo make -C /tmp/create_ap install -sudo systemctl enable create_ap - sudo reboot \ No newline at end of file