Report comment

“Hi Frank
Your welcome :)
The ip address is set in the autohotspot script in the section
createAdHocNetwork()
{
echo "Creating Hotspot"
ip link set dev "$wifidev" down
ip a add 10.0.0.5/24 brd + dev "$wifidev"
ip link set dev "$wifidev" up
dhcpcd -k "$wifidev" >/dev/null 2>&1
systemctl start dnsmasq
systemctl start hostapd
}
you have quoted the ip for the internet version of the script! but it is in the same place

if you are using 192.168.50.# then you can just change the last number in this script.
If you need to change any other part of the ip address then you also have to make the changes in the /etc/dnsmasq.conf file.

This line dhcp-range=10.0.0.50,10.0.0.150,12h need to be changed to the same first 3 numbers as what you put in the autohotspot script.

So if you wanted ip
192.168.1.30

change the autohotspot entry to 192.168.1.30/24
change dnsmasq.conf to
dhcp-range=192.168.1.50,192.168.1.150,12h