mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update iiab-hotspot-on
This commit is contained in:
parent
f469cac414
commit
ac569245c5
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@
|
||||||
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
||||||
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
|
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
|
||||||
systemctl enable hostapd
|
systemctl enable hostapd
|
||||||
systemctl enable dhcpd
|
systemctl enable dnsmasq
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart dhcpcd
|
systemctl restart dhcpcd
|
||||||
systemctl restart networking
|
systemctl restart networking
|
||||||
systemctl start hostapd
|
systemctl start hostapd
|
||||||
systemctl start dhcpd
|
systemctl start dnsmasq
|
||||||
|
|
||||||
# Temporary promiscuous-mode workaround for RPi's WiFi "10SEC disease"
|
# Temporary promiscuous-mode workaround for RPi's WiFi "10SEC disease"
|
||||||
# Disable "promiscuous" on wlan0 when AP (i.e. no WiFi gateway)
|
# Disable "promiscuous" on wlan0 when AP (i.e. no WiFi gateway)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue