How to add Splash Page like Hotspot

I want if someone connects my wifi a splash page should open like hotspot login pages.

That is called a captive portal (sometimes a walled garden).

Maybe someone else knows how but I know of no way, in a router, to set one up.

The opennds package

1 Like

I recently installed it but after installing it my openwrt login page show me 404 page not found error.

By "openwrt login page", do you mean Luci?

If so, you should access Luci via https
eg. If the router ip address is 192.168.1.1, Luci can be accessed at:
https://192.168.1.1

This is because Captive Portals reserve port 80 for their own use, as does openNDS.