wareck 2 years ago
parent
commit
5f274eaa83
2 changed files with 3 additions and 3 deletions
  1. 1 1
      README.md
  2. 2 2
      automated_tools/install_hotspot.sh

+ 1 - 1
README.md

@@ -1,3 +1,3 @@
 Various soft for Raspberry Hotpost (classic, openvpn , wireguard, tor)
-
+update max client :
 sudo update-alternatives --config cyfmac43455-sdio.bin 

+ 2 - 2
automated_tools/install_hotspot.sh

@@ -34,7 +34,7 @@ systemctl stop dnsmasq
 
 echo "Configuring Wlan0 static IP for 192.168.42.1/24"
 echo "interface wlan0
-    static ip_address=192.168.4.1/24
+    static ip_address=192.168.42.1/24
     nohook wpa_supplicant" >> /etc/dhcpcd.conf
 
 echo "Restarting dhcpcd..."
@@ -43,7 +43,7 @@ service dhcpcd restart
 echo "Configuring dnsmasq..."
 mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
 echo "interface=wlan0      # Use the require wireless interface - usually wlan0
-dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h" > /etc/dnsmasq.conf
+dhcp-range=192.168.42.2,192.168.42.20,255.255.255.0,24h" > /etc/dnsmasq.conf
 
 echo "Enabling dnsmasq and restart..."
 systemctl unmask dnsmasq