Kupiki-Hotspot-Script
Kupiki-Hotspot-Script copied to clipboard
Captive portal without ethernet
Hello! Why don't show the captive portal if the raspberry don't have internet (ethernet cable)?
How I can resolve this, please?
Sorry i Don't understand what is your expected behavior. Can you please provide more details
Hi! I need kupiki only for navegate in Lan websites, for wikis and docs. But if i disconnect the ethernet from the raspberry, i can connect to hotspot but don't show the captive website.
Sorry for my english,
Cool project! thanks
Ok so let me guess why it does not work. If you remove the ethernet link, then the interface is not set with an IP, etc. Then coova rules in up.sh with IP tables will not work at all. Try to remove added rules in up.sh.
ok Thanks! Try remove all rules in /chilli/up.sh or only the rules that contain the word coova? I don't understand the rules very good..
PD: Raspberry have static ip eth0, not enough for coova rules?
You will have to remove the added rules at the end of the script If there is no cable i'm pretty sure that the IP will not be set and then redirection rules will fail
Hi, i'm using your prepare .img Would you know what number of lines they are?
I'm not able to make it work. Thanks!
The image is obsolete. Lines are the one added to /etc/coova/up.sh Should be the 8-10 lines at the end. I dont have the hotspot available for now
Erased this lines `ipt -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE
LOCAL_IP=ifconfig $HS_WANIF | grep -Eo "inet (addr:)?([0-9]\.){3}[0-9]" | gr$ LOCAL_LAN=
ip -o -f inet addr show | grep $HS_WANIF | awk '/scope global/ {prin$
ipt -I FORWARD 1 -i $TUNTAP -d $LOCAL_LAN -j DROP
ipt -I INPUT 1 -i $TUNTAP -d $LOCAL_IP -j DROP`
Hotspot on, captive portal dead
Put them back, and now captive portal is still dead '-' HELP?
Dis you stop - start the service ? Reboot ? If it still does not work then you sure changed something else before
Just reinstalled everything. working.
Now I'm trying to see if this work without Ethernet plugged in
Any thoughts on that? @pihomeserver
Found this: https://github.com/coova/coova-chilli/issues/212
Any suggestions? Still nothing when I unplug the wlan0
Sounds to help in the good direction with the capability to have a landing page in case Internet is not up. If you give a try i'm curious of the result to add it in the script
@Tywors @acujl Are you able to configure the chilli without internet?
@s13884 yes, without internet yes. But i need connect (raspberry in my case) to a wifi mobile phone without internet. But work :)
Thanks @Tywors So it requires Ethernet cable plugged in without internet? Or rpi wifi connected to AP?
Also would you please help me to configure the same?
@s13884 sorry i don't have time to help.. but its simple i only connect rpi to AP without internet.
Ok @Tywors, is it possible for you to share the chilli config?
Hi. I have a similar question. I'm trying to setup a captive portal with only a Raspberry Pi. No internet & no router. The purpose is (in a no wifi situation) to have a custom portal page to allow users to connect via wifi to the page & download different files on the Raspberry Pi. Do you know if this is possible via Kupiki or other option?
Thanks for your help.