This commit is contained in:
parent
ded568f7d7
commit
8bedae1a69
1 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ sudo pip install cosmicpi
|
||||||
# Configure AP mode
|
# Configure AP mode
|
||||||
# Populate `/etc/dnsmasq.conf` file
|
# Populate `/etc/dnsmasq.conf` file
|
||||||
echo "--- Configure AP mode ---"
|
echo "--- Configure AP mode ---"
|
||||||
sudo bash -c 'cat > /etc/dnsmasq_.conf' << EOF
|
sudo bash -c 'cat > /etc/dnsmasq.conf' << EOF
|
||||||
interface=wlan0
|
interface=wlan0
|
||||||
dhcp-range=192.168.12.50,192.168.12.150,255.255.255.0,24h
|
dhcp-range=192.168.12.50,192.168.12.150,255.255.255.0,24h
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@ EOF
|
||||||
#sudo systemctl restart dnsmasq
|
#sudo systemctl restart dnsmasq
|
||||||
|
|
||||||
# Populate `/etc/dhcpcd.conf` file
|
# Populate `/etc/dhcpcd.conf` file
|
||||||
sudo bash -c 'cat > /etc/dhcpcd_.conf' << EOF
|
sudo bash -c 'cat > /etc/dhcpcd.conf' << EOF
|
||||||
hostname
|
hostname
|
||||||
clientid
|
clientid
|
||||||
presistent
|
presistent
|
||||||
|
|
@ -83,7 +83,7 @@ IEEE80211AC=0
|
||||||
HT_CAPAB=[HT40+]
|
HT_CAPAB=[HT40+]
|
||||||
VHT_CAPAB=
|
VHT_CAPAB=
|
||||||
DRIVER=nl80211
|
DRIVER=nl80211
|
||||||
NO_VIRT=0
|
NO_VIRT=1
|
||||||
COUNTRY=
|
COUNTRY=
|
||||||
FREQ_BAND=2.4
|
FREQ_BAND=2.4
|
||||||
NEW_MACADDR=
|
NEW_MACADDR=
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue