Version of coova-chilli is outdated

218 views
Skip to first unread message

Christopher Gregory

unread,
Jun 25, 2016, 5:24:42 AM6/25/16
to grase-...@grasehotspot.org
Hello,

The version of coova-chilli being used in grase hotspot is two years
outdated.


They have released another version although the numbering is not what I
would call conventional.

If you take a look in the system log files you will see redir.c client
time outs and performance issues when this is happening.

On their new mailing list one of their current development team told
someone who brought this up to upgrade.

As I am not sure of exactly what files are patched I am unable to upgrade
to see if this issue has been fixed. They claim to have fixed a number of
errors from the old code base.

I know that there is one patch listed on the grase wiki but is this the
only changes that have to be made?

It would be nice for me to be able to upgrade and forget about it until
things change.

Also there is an issue with Debian and Ubuntu with network traffic
stopping if you have both ipv4 and ipv6 enabled. You need to disable ipv6
to prevent the network interfaces from being constantly being
reconfigured.

Regards,

Christopher.

Timothy White

unread,
Jun 26, 2016, 6:18:35 AM6/26/16
to Grase Hotspot
Hi Christopher

I'm aware that there are newer Coova Chilli versions. (https://github.com/coova/coova-chilli/releases)
My intention is to upgrade, and at the same time move to using a fork of their repository. Previously it was in SVN not Git, which made it harder for me to keep up with their development. I expect within the next month or so I'll get Coova Chilli updated for the nightly releases at least.

Also, with the Debian/Ubuntu network traffic issue with IPv4 and IPv6. If you are able to reproduce it, can you please post details of your system, as I believe it's probably a Network manager issue, and working out how to fix it would be good.

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/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/78d8a9523fa9b3610d44790ee47060f8.squirrel%40www.pc-networking-services.com.

Christopher Gregory

unread,
Jun 26, 2016, 7:15:34 AM6/26/16
to grase-...@grasehotspot.org
Hello Tim,

With regards to the ipv6 issue I can state for a fact that it is not a
network manager issue. Prior to disabling ipv6 the network interfaces
both of which are not wireless were periodically going up and down on
their own due solely to ipv6.

This is on the server which has no desktop installed and no network manager.

They are not wireless network cards either.

There also is no systemd as I purged it immediately before installing grase.

With regards to the month plus timeline, unfortunately I can not wait that
long, so if you could please tell me exactly what files are patched I will
update it myself.

I need this working properly this week. It is bad enough that Debian
forces the use of the outdated version of free radius, but as I do not
know everything that you patch, other than what you have up on the wiki I
need this information.

If I am unable to get it then it looks like I will be looking for another
hotspot without the bugs that have already been fixed.

Regards,

Christopher.
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx
> 0%2BuR5%2BggBP0i7yxF__E42x%2BpueKd1QgcQaiuk64pTu8hw%40mail.gmail.com.
>
>


Timothy White

unread,
Jun 26, 2016, 7:24:20 AM6/26/16
to Grase Hotspot
Hi Christopher


You can probably just build the upstream package, and it should mostly work. Most of my changes are packaging changes, and things like setting it to start at boot by default.
The command 'git diff ac7f791f9f51d8872750cb8c2e8938bf049eb95b' in the repository will give you everything that I changed since the 1.3.0 release.

Are you able to collect support info as described at https://grasehotspot.org/support/collecting-support-information/ ?? Do you have an active IPv6 connection in your network, or is it only Link-Local addresses?

Tim

Hotspotuser

unread,
Jul 8, 2016, 11:03:08 AM7/8/16
to Grase Hotspot
This would be great... tired of chilli 1.3.0 bugs... filling up SYSLOG.

Hotspotuser

unread,
Jul 21, 2016, 11:06:42 AM7/21/16
to Grase Hotspot
Any news on this?

Tim, care to share the ./configure parameters used in GRASE so that we can try to tackle this ourselves?

Got Coova-Chilli 1.3.4 installed today, but im guessing i got the wrong parameters for ./configure.

./configure --enable-chilliquery --enable-coa --enable-radproxy --enable-dhcpradius --enable-dnslog --enable-uamdomainfile --enable-ieee8021q --enable-json --enable-largelimits --enable-leakybucket --enable-uamanyip --enable-uamuiport --enable-libjson



sábado, 25 de Junho de 2016 às 10:24:42 UTC+1, christopher escreveu:

Hotspotuser

unread,
Aug 11, 2016, 1:01:35 PM8/11/16
to Grase Hotspot
Tim

Any update on this? thanks in advance...

My intention is to upgrade, and at the same time move to using a fork of their repository. Previously it was in SVN not Git, which made it harder for me to keep up with their development. I expect within the next month or so I'll get Coova Chilli updated for the nightly releases at least.



Timothy White

unread,
Aug 14, 2016, 6:47:27 AM8/14/16
to Grase Hotspot
Hi Jose

Sorry for the delays. I've had a quick look at getting the latest Coova-chilli going. The main things to look at are ensuring the config and ipup.sh files from https://github.com/GraseHotspot/grase-coova-chilli/tree/master/debian/extra_files are installed. The other patches and changes I've made are less important depending on your situation. You'll probably want '--enable-gardenaccounting'. In theory, this should remove the need for one of my patches, but my testing hasn't conclusively proven that yet.
Also, the debian packages built by upstream currently treat all the files in /etc/chilli/ as config files, which while correct, lots of the files in there aren't config files, which causes issues on each upgrade. This just means you'll have to answer debconf questions regularly about overwriting changed files. I do have a fix for this in my repo.
Upstream also defaults to not starting Coova Chilli, so you'll need to edit /etc/default/coova-chilli after install to enable it.

Now that upstream uses Git, I'm in the process of trying to take upstream's git repo, and just create a branch for our patches, with the hope to get some of them accepted upstream in the future.

In theory though, right now you can build a debian package from upstream, copy in the config and ipup.sh, and most things should work.

Sorry for the delays.

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-hotspot+unsubscribe@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/.

Hotspotuser

unread,
Nov 9, 2016, 8:11:10 AM11/9/16
to Grase Hotspot
Hi Tim

Any news on the upgrading of CoovaChilli to latest version in Grase? 

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/.

Timothy White

unread,
Nov 13, 2016, 6:34:54 AM11/13/16
to Grase Hotspot
Slowly

I used to compile each package by hand, which is a pain, especially if I want to support Debian and Ubuntu, as sometimes there are differences (or hacks for a single package).

I'm currently working on a fork of the new Coova Chilli git repo, with all our changes in a branch. This will make it easier in the future to upgrade versions. It'll also show us what code changes are actually needed.

You can view the branch on either Gitlab (https://gitlab.com/grase/coova-chilli/tree/grase-1.3.2) or Github (https://github.com/GraseHotspot/coova-chilli/tree/grase-1.3.2). Why both? Well Gitlab CI is amazing, supporting building multiple "products" at a time. Other CI's do support Matrix builds, but sometimes it's more complex than that. Gitlab will mirror Github's repo, and run the builds for us that we need. (Hopefully, when I get anything other than the AMD64 builds working).

At the moment, I've got the bare minimum of changes in for the Grase Hotspot. More changes will come shortly to bring it inline with previous packages (once I read all the Changes in the new versions and only bring the features we still need). Once I get enough in, I'll put the builds in the nightly repo.

To make my life easier, for those who want to test new packages, what architecture and Ubuntu/Debian versions are you running?

Regards

Tim


To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspot+unsubscribe@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/.

Timothy White

unread,
Nov 13, 2016, 6:53:11 AM11/13/16
to Grase Hotspot
As a further update. I believe all the essentials to make it work are now in there. There are some core modifications not in that I need to test, however without them the things that may fail are:
  • Traffic for showing the status page may be counted towards a data quota instead of being excluded
  • Some of the status window Javascript might be missing information (however I believe this won't happen with the 3.8.0 version as we changed all that but the patches were still in the old package)
Regards

Tim

Hotspotuser

unread,
Nov 14, 2016, 12:53:29 PM11/14/16
to Grase Hotspot
Ubuntu 14.04.1 (32bits and 64bits) 

     Linux hotspot1 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:45:15 UTC 2015 i686 i686 i686 GNU/Linux    

     Linux hotspot1 4.2.0-38-generic #45~14.04.1-Ubuntu SMP Thu Jun 9 09:27:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux    

Hotspotuser

unread,
Nov 14, 2016, 1:33:09 PM11/14/16
to Grase Hotspot
Tim

When can we have a install script, to test it out?

Timothy White

unread,
Nov 14, 2016, 4:05:56 PM11/14/16
to Grase Hotspot
I assumed when I made the Gitlab project public, that the builds would be public. Fixed now.
If you head to https://gitlab.com/grase/coova-chilli/builds you can see the automated builds. Only AMD64 builds are working at the moment. If you then go into the trusty-amd64 build that completed, you can download the build artifacts which includes a .deb file you can manually install.

Please note, that these packages have had no testing. I'll do manual testing of packages once I get i386 builds working, and once I've done basic testing of packages I'll put them in the nightly repo.

Regards

Tim

To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspot+unsubscribe@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/.

Erik Andre Aabrekk

unread,
Nov 14, 2016, 4:08:24 PM11/14/16
to grase-...@grasehotspot.org

Hey Tim! let me know if you would like a virtual server for testing. i hook you up One. Very great product!

Erik Andre


Hotspotuser

unread,
Nov 18, 2016, 1:28:20 PM11/18/16
to Grase Hotspot
Excelent! Monday i'll setup a machine just to check this out... and report back (when i can).

Timothy White

unread,
Nov 25, 2016, 6:49:28 AM11/25/16
to Grase Hotspot
ARM builds are now working. All builds are still not tested. Hopefully i386 will be working shortly.

Regards


Tim

To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspot+unsubscribe@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/.

Timothy White

unread,
Nov 26, 2016, 3:51:03 PM11/26/16
to Grase Hotspot
And i386 builds have worked too! Now for the testing!

Hotspotuser

unread,
Nov 28, 2016, 12:18:07 PM11/28/16
to Grase Hotspot
Hi Tim

I have a ubuntu server 16.04 ready to install your chilli solution, what is the best procedure to do so?

Install grase, and then coova-chilli on top?

Hotspotuser

unread,
Nov 30, 2016, 1:08:14 PM11/30/16
to Grase Hotspot
Hi tim

can you compile coova-chilli with the ENABLE_DEBUG flag on. so that we can do chilli -fg on the new version?


sábado, 26 de Novembro de 2016 às 20:51:03 UTC, timwhite88 escreveu:
Reply all
Reply to author
Forward
0 new messages