Update:
The problem with Pirania not working is only with my phone: Xiaomi S2.
I have tested with 2 more phones and 1 linux pc and it worked.
When i connect to the network from other smartphone, a popup appears with Pirania portal.
When I connect from linux pc, the web browser alerts me to sign in. I have an issue here:
- it loops forever between “Portal” and “Redirect” pages, and never shows the portal.
- If i write an http url it takes me to the loop
- If i write an https url, the borwser go to a non connection page.
- If i write somethin random in url bar, like “asda”, the borwser ask me: “do you want to go to asda?” If i choose “yes”, it takes me to the LimeApp but using my random word as domain: http://asda/app/#/rx
Back in Xiaomi phone, after forgetting networks and rebooting, the first connection shows me the portal, and then never again.
Now i have to work in customize the portal and continue testing that issues.
Looks Great! Thank you!
---------------Original Comment:-----------------
I have the same problem.
I’m using a wdr4310 with LibreRouterOS
I ran
uci set pirania.base_config.enabled=1
uci commit
Enabled option is set to 1 in the config file.
I can access the portal through /portal but i don’t see any link in LiMe app.
The router is not redirecting My browser requests.
Some Installed packages:
pirania 2020-03-08-1583699826
Some Processes:
/usr/sbin/uhttpd -f -h /www/pirania-redirect/ -E / -l / -L /www/pirania-redirect/redirect -n 20 -p 59080
2067 dnsmasq /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
2073 root /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
15419 root /bin/ash -c ((sleep $(($RANDOM % 30)); /etc/shared-state/publishers/shared-state-publish_vouchers && shared-state sync pirania &> /dev/null)&)
15448 root {shared-state} /usr/bin/lua /usr/bin/shared-state bleach dnsmasq-hosts