Koozali.org: home of the SME Server

[ANNOUNCE] smeserver-coova-chilli beta

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #45 on: August 25, 2008, 03:09:41 PM »
Thanks VIP-ire

I am getting an IP in the 10.1.0.0/24 range
I am not on location at this time, but if memory serves me, IE times out with a pager cannot be displayed.
I will try to change the DNS settings and try to get to the location in the next couple of days and report back.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #46 on: August 27, 2008, 03:35:11 PM »
Same problem in my case...
Code: [Select]
chilli.c: 998: Unknown downlink protocol
options.c: 787: Rereading configuration file and doing DNS lookup

AP is a bridged router, no dhcp

Chilli's DHCP provides addresses to AP and client. client can ping AP and server

Opening an url from the client gives a timeout and no panel.

Code: [Select]
[root@vmachines ~]# config show chilli
chilli=service
    TCPPort=3990
    access=private
    defidletimeout=900
    defsessiontimeout=7200
    dhcpif=eth2
    dns1=208.67.222.222
    dns2=206.123.6.11
    net=10.1.0.0/255.255.255.0
    radiussecret=TuYsQc4Je05EGtubEFtiH6oZE
    status=enabled
    tundev=tun0
    uamallowed=tcp:192.168.250.5:80
    uamsecret=ojWOJATz0fT3eP0qcQdFu38GpDo

logs are silent (httpd/error.., messages, ..)
« Last Edit: August 27, 2008, 03:44:48 PM by soprom »
Sophie from Montréal

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #47 on: August 27, 2008, 06:25:38 PM »
HI.

The error "unknown downlink protocol" is not very important, it's just a warning. It's each hour when chilli call the radiusconfig function. I need to find a way to stop it, but the problem dosn't come from here.
As for Crazybob, please, check if the DNS is working on your clients, if not, try to change the two dns (dns1 and dns2 key in the db) to those of your ISP.

Or easier, you can just try to enter an IP address in the browser of your client (even a fake one, http://11.12.13.14/ or anything). If this test works (you see the login page), the issue is dns related (it's often the case)
C'est la fin du monde !!! :lol:

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #48 on: August 27, 2008, 10:17:25 PM »
Well... after a yum update, every thing works as advertised!!!

Thanks for this great idea for sme!
Sophie from Montréal

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #49 on: August 27, 2008, 11:14:05 PM »
I should be able to do that this weekend

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #50 on: August 28, 2008, 01:45:50 AM »
Now I'll try to use Drupal as the portal...
see you soon!
Sophie from Montréal

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #51 on: August 28, 2008, 03:26:11 AM »
Works great with Drupal Hotspot Module!

I changed /etc/chilli.conf
Code: [Select]
#uamserver    https://10.254.254.1/chilli/hotspotlogin.php
uamserver    http://192.168.250.5/drupal/?q=hotspot

To make it permanent:
Code: [Select]
/sbin/e-smith/db configuration setprop chilli uamserver http://192.168.250.5/drupal/?q=hotspot
/sbin/e-smith/signal-event chilli-update
/etc/init.d/chilli restart


In drupal's hotspot module:
Code: [Select]
Method of login : browser
Copied UAM secret
Radius protocol : PAP
No provisioning
Access codes : blank
Sophie from Montréal

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #52 on: August 28, 2008, 10:24:06 PM »
VIP-ire, a yum update, and a re-boot fixed it. I performed them last night while the server was not in use, then went on location, and all is well


Thanks for a great contrib


Bob
   
If you think you know whats going on, you obviously have no idea whats going on!

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #53 on: August 30, 2008, 07:23:37 PM »
I've got 2 problems:

1. with chilli-update:
When I make changes, they are not shown in /etc/chilli.conf

2. IP addresses collisions
WinXP complains that the IP address issued by dhcp if already in use

Thanks for any help on this...
Sophie from Montréal

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #54 on: September 02, 2008, 11:10:19 PM »
Hi.
There's now a new component 'coova-chilli' in the bug tracker. Maybe you should report this issue here.
C'est la fin du monde !!! :lol:

Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #55 on: September 04, 2008, 06:07:34 PM »
 Hello VIP-ire,
Thanks for all your tutorials... I'm a two week user of Linux (sme server) and I was able to get coova-chilli up and running.   YEEEHAAAAH!!!  I'm finally learning how to get around in the file system of linux os shell.
I am having trouble finding the path to update the html on the coova-chilli log in and out pages. Can you give me the file path or teach me how to change it a better way?
Thanks for your work.
Clarence

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #56 on: September 04, 2008, 06:22:37 PM »
You will find the stuff in  opt/chilli

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #57 on: September 04, 2008, 06:49:06 PM »
 8-)
Thank you Bob!

Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #58 on: September 04, 2008, 08:31:25 PM »
I am an windows user who never tried to learn Linux. I have always been deathly afraid of the CLI. I can't believe how much more sense this makes than windows!

Bob! I wasn't sure what to do with the instruction you gave me but I managed to change the lanuage without doing any damage. Thanks for your help.

Yeah I'm a newbie... But a happy one!!!
Clarence

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [ANNOUNCE] smeserver-coova-chilli beta
« Reply #59 on: September 05, 2008, 02:59:25 AM »
in order to modify the login page with
Code: [Select]
/sbin/e-smith/db configuration setprop chilli uamserver https://10.254.254.1/chilli/hotspot.php
/sbin/e-smith/signal-event chilli-update

I did some changes:
prepare a custom template
Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/chilli.conf
cp /etc/e-smith/templates/etc/chilli.conf/55uamserver /etc/e-smith/templates-custom/etc/chilli.conf/55uamserver

Change the script
nano  /etc/e-smith/templates-custom/etc/chilli.conf/55uamserver

Code: [Select]
my $uamserverdefault = "https://$chillip/chilli/hotspot.php";
my $uamsecret = $chilli{'uamsecret'} || 'azerty';
my $uamserver = $chilli{'uamserver'} || $uamserverdefault ;
$OUT = "uamserver  $uamserver\n";
$OUT .= "uamsecret $uamsecret\n";

I'm not good at scripting so comments are more than welcome...
Sophie from Montréal