how to change wifi access point ip address and enable adblocking

  • I have installed Libreelec on my RPi 1. It is working well . I am using it as my wifi router.

    Default WiFi IP address starts from 192.168.0.x. I want to change it to 192.168.43.x. I could not find any setting or file to change it.

    I tried to enable adblocking by adding adurls to hosts file . But I am still seeing ads in my phone browser. As pinging adurl on my phone shows real ip of adurl while pinging same ip on libreelec shows localhost ip. Why is it not working ?

    Please guide me .

  • The tethered hotspot function is a tethered hotspot function not a WIFI router function. It is not designed to (and cannot) be changed. You'd need to self-build an LE image after patching a different default IP range into connman source code. It would appear the routing function is also on the basic side if /etc/hosts isn't being checked. In summary: It's working as designed (and it's a über simple design) so if you need/want a proper router you'll need to go buy a proper router, or use a more conventional Linux distro where greater configuration options are possible.