CoovaChilli Login Page

151 views
Skip to first unread message

Sergen Çolak

unread,
Sep 14, 2018, 3:49:34 AM9/14/18
to Grase Hotspot
Hello everyone,
I have a question about Coovachilli.
The default network layout,
WAN PORT: 192.168.1.210
LAN PORT: 192.168.80.1/24
We can access the control panel with the Wan port. However, we can not access the login page through the WAN port. Can I get the login page from WAN Port?
I hope I can tell. I apologize for the bad english.
Thank you.

emre erdoğan

unread,
Sep 14, 2018, 3:59:04 AM9/14/18
to grase-...@grasehotspot.org

Sergen Çolak <sergen...@gmail.com>, 14 Eyl 2018 Cum, 10:49 tarihinde şunu yazdı:
--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/94796ade-3600-4683-b1c6-fef9c9bd40e3%40grasehotspot.org.

Sergen Çolak

unread,
Sep 14, 2018, 4:25:20 AM9/14/18
to grase-...@grasehotspot.org
Yes, I can see my login page as you indicated. But there are no parameters. No Mac address. There is no challenge. No Uamip and uamport. Can I get these values?

emre erdoğan <post...@gmail.com>, 14 Eyl 2018 Cum, 10:59 tarihinde şunu yazdı:

toko Chuente

unread,
Sep 14, 2018, 5:32:04 AM9/14/18
to grase-...@grasehotspot.org
if you wan to do that, you will modify iptable rules

Timothy White

unread,
Sep 14, 2018, 4:26:26 PM9/14/18
to Grase Hotspot
Hi Sergen

I'm not sure why you want to try and access the login page from the WAN side. It requires access from the LAN side to have any functionality. If you access it from the WAN side, it doesn't know any details about your connection, as you aren't on the LAN side that clients should be on. The link Emre gave you is great to get an idea of what the page looks like, but it's not able to function unless accessed from the LAN side. (It needs access to a Coova Chilli port which is only accessible from clients on the LAN side, that Coova Chilli knows about)

What are you trying to achieve?

Regards

Tim

Sergen Çolak

unread,
Sep 17, 2018, 2:08:40 AM9/17/18
to Grase Hotspot
Hi Tim
I'm sorry for the late reply. The fiction I've tried is like this.
Central is a hotspot server. And a few locations that are far away from this center. They're not on the same network. Can I access the login page by routing with the router?

14 Eylül 2018 Cuma 10:49:34 UTC+3 tarihinde Sergen Çolak yazdı:

Tim

unread,
Sep 25, 2018, 5:56:15 AM9/25/18
to Grase Hotspot
Hi Sergen

Unfortunately it won't work this way yet. In the future, you'll need a CoovaChilli instance at each location, and a central login page will work. However, the current login page implementation hasn't been written to take that into consideration.
https://github.com/GraseHotspot/grase-www-portal/issues/56 is the issue you'll want to follow for now.

Feel free to experiment with with multiple CoovaChilli instances that talk back to the 1 hotspot instances, it won't however work with just a normal router.

Regards

Tim

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.

Drazen Zuvela -gmail

unread,
Sep 25, 2018, 1:42:23 PM9/25/18
to grase-...@grasehotspot.org

Sergen

actually this is solved and I have working system for years now. I will need to check my archives because I saved complete setup instructions from this group messages where one other member (can't remember his name at the  moment) did it and explain all setup.
Hopefully tomorrow at work will be able to find instruction. There is also a chance that I lost them, but they must be somewhere on this collaboration group. Maybe Tim or someone else still remember that topic. I think the author was from Spain or Portugal.
Just general description:
As Tim said you will need Coovachilli at the each remote location.

This is achieved this way:
1. at each remote location you will need one router (or single AP/router) with DD-WRT or Open-WRT router firmware on it.
2. There is exact setting how to configurre Covachili at each site and connect to central Grase radius.
3. LAN network should be divided into several subnetworks. Or, (not sure at the moment) whole IP class  need to be extended to have enough addresses. At each location local DHCP range should be divided to cover single range without overlaping with other range.

In such system you can maintain clients centrally at the Grase. You can see them in sessions, but you will not see traffic log from remote sessions. Clients are in kind of roaming when moving from one location to another. Only issue is that if they are moving form one location to another without interrupting connection (same SSID in close proximity to each other but belongs to different sub/DHCP range) it will not work. In such case client still carry DHCP address from previous location which will not work in another location. Client need to refresh connection. Simplest way turn client Wifi Off then On.

Till tomorrow.

Drazen Zuvela

--

drazen.zuvela

unread,
Sep 26, 2018, 3:10:57 AM9/26/18
to Grase Hotspot
Ok Sergen.
The member name is Norberto Esteves, and here is his post and topic about:
https://groups.google.com/a/grasehotspot.org/d/msg/grase-hotspot/6DZCDZe_EaI/xtIs_QtGc9wJ 

You will need to pass trough several posts to get all information correct.
Hope this will help you

Drazen
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspot+unsubscribe@grasehotspot.org.

Tim

unread,
Sep 26, 2018, 4:37:31 AM9/26/18
to Grase Hotspot
Thanks for finding that information Drazen!

If someone wants to do a bit of a writeup of how they got it working, I can publish it on the Wiki to help others (https://github.com/GraseHotspot/grase-www-portal/wiki). 

In the future we can support this officially.

Thanks

Tim

To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.

To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.

Sergen Çolak

unread,
Sep 26, 2018, 4:45:37 AM9/26/18
to Grase Hotspot
Thank you very much Drazen.
I'm gonna go over it right now. I hope it will help. Take care of yourself.

14 Eylül 2018 Cuma 10:49:34 UTC+3 tarihinde Sergen Çolak yazdı:
Hello everyone,

Sergen Çolak

unread,
Sep 26, 2018, 8:47:04 AM9/26/18
to Grase Hotspot
Hi Tim and Drazen,
I have one more question. Sometimes, some devices do not come as login page popups. When this problem occurs, HTTP is redirecting to Login when we try to enter a website. Can I also redirect to a login page when HTTPS attempts to enter a site?
Thanks for your answers.

Drazen Zuvela -gmail

unread,
Sep 26, 2018, 11:37:18 AM9/26/18
to grase-...@grasehotspot.org

Hmm not sure if I understand question correctly. Let say didn't noticed such problem. So yes redirections going on normally.
There are some problems sometimes with some devices/browser/version, maybe first time. Then it goes fine guess. Nobody complains.

Most problems have with some windows machines Sometimes they cannot connect wifi properly although they worked fine for months.  HP notebooks are my night mare regarding this. Then others.  Have no knowlege, time and patience to dig around this.

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.

Sergen Çolak

unread,
Oct 1, 2018, 11:06:37 AM10/1/18
to Grase Hotspot
I'm sorry for my bad english. I want to tell you exactly,
Connected to wifi network.
Login page does not come as an automatic popup.
The browser opens manually. You will be prompted to enter a site in the browser.
If this site is HTTP, the Login page will be displayed.
If this site is HTTPS, the Login page does not.
Can I get the page in HTTPS?
I've been having trouble with Huawei devices recently. Login page does not come. When you try the browser, it takes minutes to load.
Can you help with this?

26 Eylül 2018 Çarşamba 18:37:18 UTC+3 tarihinde drazen.zuvela yazdı:

Drazen Zuvela -gmail

unread,
Oct 1, 2018, 11:35:56 AM10/1/18
to grase-...@grasehotspot.org

Ok I read more carefully this time. Think I understand the problem.
Automatic splash login page or not, it is still different from OS/browser/versions I don't know exact cause.
But in 99% percent times if type any address into browser, splash login page should come up.
Never noticed difference between http or https pages. Since most sites today using https , even you type clear http it will come up as https. Maybe I should try by myself.

It would be good to name here which Huawei device model and os version. Somebody else may replicate error and research more around the problem.
To be honest I am working mostly with mac connected devices and usually haven't noticed a problem. Minority users who are using login page let say few hundreds different ones got no complains from them. Most of them I don't even see.
Sorry, can't help more.

Drazen

Tim

unread,
Oct 4, 2018, 8:41:44 PM10/4/18
to grase-...@grasehotspot.org
Hi Sergen

For a Captive portal to work, it intercepts the HTTP requests and redirects you to the login page. Due to how HTTPS works, this can not be done, so no redirection occurs. Most modern OS's however have Captive Portal detection (as do some browsers), and so they'll automatically detect the captive portal and show you the login page as soon as you connect to the WiFi network.

Unfortunately, there is no easy work around for older devices, except to tell them to browse to a site that doesn't force HTTPS.

Tim

Sergen Çolak

unread,
Oct 6, 2018, 2:57:31 AM10/6/18
to Grase Hotspot
Hi Tim Hi Drazen,
I'm using the Huawei p20 lite. Version 8.0.0. The most current version. I found a new problem. The captive portal page with Chrome browsers comes very late. Long time waiting. I tried it with Opera. No problem. However, it is not possible to install opera on every device. Do you have any idea what this is about? I'm adding files. Thank you.
Screenshot_20181006-094739.jpg

emre erdoğan

unread,
Oct 6, 2018, 3:09:02 AM10/6/18
to grase-...@grasehotspot.org
Hi Sergen

I am having the same situation when freeradius has a problem. Could you try to check freeradius logs. /var/log/freeradius You may check if there is any probem. I made a cron job and it is checking freeradius status and if needed it restarts the service.

Sergen Çolak <sergen...@gmail.com>, 6 Eki 2018 Cmt, 09:57 tarihinde şunu yazdı:
Hi Tim Hi Drazen,
I'm using the Huawei p20 lite. Version 8.0.0. The most current version. I found a new problem. The captive portal page with Chrome browsers comes very late. Long time waiting. I tried it with Opera. No problem. However, it is not possible to install opera on every device. Do you have any idea what this is about? I'm adding files. Thank you.

--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.

Sergen Çolak

unread,
Oct 6, 2018, 3:20:07 AM10/6/18
to grase-...@grasehotspot.org
Sat Oct  6 10:08:54 2018 : Info: rlm_sql_mysql: Starting connect to MySQL server for #18
Sat Oct  6 10:08:54 2018 : Info: rlm_sql (sql): Connected new DB handle, #18
Sat Oct  6 10:08:54 2018 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #17
Sat Oct  6 10:08:54 2018 : Info: rlm_sql_mysql: Starting connect to MySQL server for #17
Sat Oct  6 10:08:54 2018 : Info: rlm_sql (sql): Connected new DB handle, #17
Sat Oct  6 10:08:54 2018 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #16
Sat Oct  6 10:08:54 2018 : Info: rlm_sql_mysql: Starting connect to MySQL server for #16
Sat Oct  6 10:08:54 2018 : Info: rlm_sql (sql): Connected new DB handle, #16
Sat Oct  6 10:15:32 2018 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #15
Sat Oct  6 10:15:32 2018 : Info: rlm_sql_mysql: Starting connect to MySQL server for #15
Sat Oct  6 10:15:32 2018 : Info: rlm_sql (sql): Connected new DB handle, #15
This is the contents of the file. However, it takes too long to load the page. After the Chrome 69.0 update. Same in Windows. Same in mobile.

emre erdoğan <post...@gmail.com>, 6 Eki 2018 Cmt, 10:09 tarihinde şunu yazdı:

Tim

unread,
Oct 6, 2018, 7:56:32 AM10/6/18
to grase-...@grasehotspot.org
Can you check what http://gstatic.com/generate_204 returns when you aren't logged in? (So connected to the Hotspot, but not yet logged into the captive portal).

It should redirect you, if it doesn't, something else is up.

Tim

Reply all
Reply to author
Forward
0 new messages