This commit is contained in:
parent
3e4e557d63
commit
ded568f7d7
1 changed files with 6 additions and 6 deletions
12
install.sh
12
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
|
||||
Loading…
Reference in a new issue