Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Daniel B. on April 08, 2008, 11:19:25 AM

Title: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 08, 2008, 11:19:25 AM
Hi everyone.
I post here to announce a new contrib: smeserver-coova-chilli. Coova-Chilli (http://coova.org) is a captive portal based on chilliSpot. It'll configure a 3rd interface on your SME server (works only in server&gateway). Then, just plug an AP on this new interface, and your done. Users will have to enter credentials in order to have http/https access. You can also control the bandwidth used. The how-to is here:
http://sme.firewall-services.com/spip.php?article61 (http://sme.firewall-services.com/spip.php?article61) and some doc here http://sme.firewall-services.com/spip.php?article62 (http://sme.firewall-services.com/spip.php?article62). Both are in french for now. I'll translate it latter, when it'll be mature enaugh, and I'll add it in the wiki. If someone wants to help me with the translation, I'm interested.

For now, do not install on production servers, just test machines (in server&gateway).

If some security experts could look at it, i'd be glad. I think it's ok, I have been very carefull, but I'd like some other advices.

Cheers, Daniel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Normando on April 08, 2008, 04:47:17 PM
Excellent!

So with this I can replace my microtik?
With this I can share two internet connections with an extra NIC?

Thank you
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 08, 2008, 04:59:22 PM
I'm not sure what a microtik is (a kind of Wireless router with a captive portal like the fonAP?). Anyway, this contrib needs a 3rd nic on your server, but you cannot connect a second internet connection on it, it's just for wifi users (you plug a standard AP on this 3rd nic, and users will have http/https access only if they have valid credentials, their traffic will filtered by SME, and will go through the wan NIC)
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: nakor_au on April 10, 2008, 04:07:35 AM
looking forward to an english wiki, ive been waiting for a captive portal with a 3rd nic for a while now. :)
ive put in the 3rd nic allready now ;)
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on April 10, 2008, 12:02:06 PM
Hello VIP-ire,

Is a excellent work!! Congratulations! =)
looking forward to an english wiki

Saleh
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: brianr on April 10, 2008, 12:11:54 PM
Hi

Am I correct in understanding that this will work without a Wireless AP?  That is  if I plug the 3rd NIC into a "second" LAN, then the clients on that LAN will be subject to the management?

In both forms (wireless and non wireless) it could prove very useful. 

I can just about understand the French instructions, so I'll try to get some time to try it shortly.

Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 10, 2008, 12:16:24 PM
You're right, it can work with wired clients, as well as with wireless. But, once again, I repeat, please, install it on test servers, this morning, I've just found a security breach (users can access internet if they manually set their browser to use proxy 10.1.0.1:3128, so they can bypass the auth). This problem will be corrected as soon as I can (I've allready found a solution).
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: brianr on April 10, 2008, 12:35:42 PM
You're right, it can work with wired clients, as well as with wireless. But, once again, I repeat, please, install it on test servers

Good news, and I will be trying it on a test system.

One question - does it use the "usual" DHCP, i.e. are the Ip addresses which are allocated in the normal LAN subnet, or are they from a separate subnet?
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 10, 2008, 12:41:13 PM
coova-chilli will act as a dhcp server for clients connected on the 3rd interface (either wireless or wired). You need the clients connected directly to the new interface (I mean, switch and AP are ok, routers are not because they won't let pass broadcast messages like dhcp requests).
The default is to assign addresses in the range 10.1.0.0/24 for the clients. This lan is totally separated from the private lan. No communication between the two lan are allowed
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: brianr on April 10, 2008, 01:38:54 PM
That's even better news! Thanks for the info.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on April 10, 2008, 07:21:52 PM
Hello VIP-ire,

Can We Do That?

1) editing coova-chilli configuration via SME Server Manager
2) online users via SME Server Manager

Thanks,
Saleh
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 10, 2008, 07:50:15 PM
For now, no. But configuration is quite simple, only with some db comands. I'll write detailed instruction in english when I can. For the online users, you can do on the command line
Code: [Select]
chilli_query list to have the list of the actual users online. Maybe I'll write a simple panel latter, when the contrib is more mature
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on April 26, 2008, 04:01:42 PM
Any further development on this?  :-P

Bob

Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on April 27, 2008, 11:46:19 PM
VIP-ire,

Is the fix for by passing the portal an easy fix? I think I have a use for this, but want to make sure they have to use the portal.

Thanks

Bob     

Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 28, 2008, 08:54:31 AM
Yes, this issue has been fixed in release 0.1-1. You can now find the latest release in smetest repo. I have some idea to enhance the contrib (mainly at the firewall level). When this is be done, I'll write a how-to in the wiki
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on April 28, 2008, 12:48:08 PM
Thanks

Bob
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on April 28, 2008, 08:05:33 PM
Hello VIP-ire,

i have the 2 RPMs coova-chilli-1.0.11-1.i386.rpm and smeserver-coova-chilli-0.1-1.noarch.rpm but can not login via the login web pages, can you give me some howtow

Note: in many forums stand that the CoovaChili had alot of bugs, is the original chillispot  vs CoovaChili

ChilliSpot: http://www.chillispot.info/
CoovaChili : http://coova.org/wiki/index.php/CoovaChilli

Thanks
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: cactus on April 29, 2008, 07:03:52 AM
Hello VIP-ire,

i have the 2 RPMs coova-chilli-1.0.11-1.i386.rpm and smeserver-coova-chilli-0.1-1.noarch.rpm but can not login via the login web pages, can you give me some howtow

Note: in many forums stand that the CoovaChili had alot of bugs, is the original chillispot  vs CoovaChili

ChilliSpot: http://www.chillispot.info/
CoovaChili : http://coova.org/wiki/index.php/CoovaChilli

Thanks
AFAIK no no development is done of ChiliSpot anymore since 2005, one of the devs of ChiliSpot is (still) active in CoovaChili. You could have read that yourself on the mainpage of your second link: http://coova.org/wiki/index.php/CoovaChilli .
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 29, 2008, 09:50:33 AM
Hello VIP-ire,

i have the 2 RPMs coova-chilli-1.0.11-1.i386.rpm and smeserver-coova-chilli-0.1-1.noarch.rpm but can not login via the login web pages, can you give me some howtow
I'd need more informations about what you've done, what's not working etc...

- Is server in server&gateway ?
- Do you have a third ethernet interface recognized by the system but not configured (try ifconfig eth2) ?
- You have installed the 2rpms then post-upgrade/reboot (or just signal-event chilli-update;/etc/init.d/chilli start) ?
- Is chilli daemon runing ? (ps aux | grep chilli)
- You have plug an AP on the third interface (It must be an AP or a switch, not a router) ?
- Do you have an IP in the subnet 10.1.0.0/24 when you ask for dhcp  ?
- Is the DNS working on the client ?
- Can you see the login page when you ask for any web page ?
- Have you created the group called "chilli" and the users who must have web access in it ?

I know some documentation is missing, I'll try to write it as soon as I can in the wiki. Waiting for this, there's some documentation in french:
http://sme.firewall-services.com/spip.php?rubrique28

Quote
Note: in many forums stand that the CoovaChili had alot of bugs, is the original chillispot  vs CoovaChili

ChilliSpot: http://www.chillispot.info/
CoovaChili : http://coova.org/wiki/index.php/CoovaChilli

Thanks
I'm not sure where you have see that coovachilli has more bugs than the original chillispot. I know coovachilli is a fork, and I've choosed it over chillispot:
- because the project is active
- because of the walled-garden which can be limited to host/port/protocol (this is the main motivation)
- some other facilities

Cheers.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on April 29, 2008, 01:45:10 PM
- Is server in server&gateway ?
   yes its server & gateway

- Do you have a third ethernet interface recognized by the system but not - configured (try ifconfig eth2) ?
   yes, i have eth2

- signal-event chilli-update;/etc/init.d/chilli start) ?
 done

- Is chilli daemon runing ? (ps aux | grep chilli)
  yes, its runing

- You have plug an AP on the third interface
   yes, i have

- Do you have an IP in the subnet 10.1.0.0/24 when you ask for dhcp  ?
    yes, i have

- Is the DNS working on the client ?
  No, the DNS not working on the client

- Can you see the login page when you ask for any web page ?
  yes, i can see the login web page, but can not log on it, Your are not member of the allowed group

- Have you created the group called "chilli" and the users who must have web access in it ?
  No, i have not create the group called "chilli" , how can i create it

Thanks VIP-ire and I hope that we could togather do the best WiFi Hotspot in the best SME Server.






   
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 29, 2008, 04:36:20 PM

- Is the DNS working on the client ?
  No, the DNS not working on the client

- Can you see the login page when you ask for any web page ?
  yes, i can see the login web page, but can not log on it, Your are not member of the allowed group

- Have you created the group called "chilli" and the users who must have web access in it ?
  No, i have not create the group called "chilli" , how can i create it
It seems that quite everything is configured correctly, (DNS works if you get the login page when you ask any other page). Now just go in the server-manager, create a new group called "chilli" and put the users you want to have web access through the hotspot in this group.

Thanks for testing this contrib.

Cheers, Daniel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on April 30, 2008, 07:38:46 AM
PPTP is disabled or non working if Chilli installed ?

i can´t login my pptp , chiili is working.

Thanks for Chilli

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 30, 2008, 09:06:47 AM
Hi. When connected with chilli, the firewall won't let PPTP by default (TCP 1723 and proto 47). For now, you have to create a custom template (look at the original /etc/e-smith/templates/etc/rc.d/init.d/60ChilliRules, copy it in templates-custom and modify it like you want). In future release I might enhance this so that we can change the rules applied on chilli interface with db value.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on April 30, 2008, 06:11:55 PM
HowTo Setup the 3rd nic ?

and Howto Configure ?

Thx Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on April 30, 2008, 07:36:28 PM
3rd Nic is installed and enabled.

ifconfig eht2 --> yes

Code: [Select]
eth2      Protokoll:Ethernet  Hardware Adresse 00:02:B3:33:38:20
          inet Adresse:10.1.0.1  Bcast:10.1.0.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2185 errors:0 dropped:0 overruns:0 frame:0
          TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:201448 (196.7 KiB)  TX bytes:11781 (11.5 KiB)

configure eth2 -->  ifconfig eth2 10.1.0.1 netmask 255.255.255.0 ?

DHCP -- > yes
DNS --> no
Loginpage http//10.1.0.1/chilli/hotspotlogin.php --> no

Ping from SME to WLAN-Client --> yes



Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on April 30, 2008, 07:46:26 PM
Eth2 should not be configured, just recognize by your system. Chilli will configure everything at startup (all the traffic comming in from eth2 will be tunneled to the virtual interface tun0, and controlled by chilli).

If DHCP is working, then good. For the DNS part, I've choosed two public DNS by default, but maybe you cannot contact them. You can configure the DNS of your FAI:

Code: [Select]
db configuration setprop chilli dns1 <ip of primary DNS of your FAI> dns2 <ip of secondary DNS of your FAI>
signal-event chilli-update

To test if chilli is redirecting you correctly, try to access a page by pointing your browser to an IP (it can be any IP). Chilli should redirect you to the login page.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 01, 2008, 11:14:22 AM
ok Thx.DNS is in the DB.
DNS can not ping from wlan.
iptraf tells me ,that the WLanclient search the DNS, but become no ans ware from Tun0.

the Loginpage is working , i checked this from inside the sme network.

has anybody chilli worked correctly?

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 02, 2008, 09:32:09 AM
I uninstalled the smeserver-openvpn-bridge-fws.noarch an now is Chilli Working ! :)

Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on May 02, 2008, 09:37:06 AM
Strange, smeserver-openvpn-bridge can work with chilli (I run both on my own server).
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 02, 2008, 11:28:09 AM
hmmm , ok but now is chilli working.

is very cool , thx you.

an Accounting System like http://sourceforge.net/projects/phpmyprepaid/ (http://sourceforge.net/projects/phpmyprepaid/) it is possible to work with you Contrib ?
Sorry for my very bad english , am an German SME Fan.

but a search for a long time to get chillispot to work with SME.

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: yythoss on May 02, 2008, 06:19:17 PM
Your new rpm smeserver-coova-chilli-0.1-1.noarch.rpm makes a wrong directory:

Code: [Select]
/opt/chilli.rpmnew
Please take a look into your src file.

Best Regards

yythoss
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 03, 2008, 11:16:47 PM
PPTP from Extern to SME is Disabled or Busy ?

if uninstall Chilli, i can Login to my SME from outside the office.

it is possible to bring PPTP "and" Chilli get to work?

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 08, 2008, 09:50:22 AM
PING !

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: yythoss on May 08, 2008, 08:18:52 PM
Ping VIP-ire

yythoss
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on May 19, 2008, 08:59:59 PM
News ?

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: johnsingh on May 20, 2008, 10:06:18 AM
Hooray ..Coova works ..I am new to SME & enjoying it. Does anyone know how we can try to edit the login page. I'd like to  include our content.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on May 20, 2008, 04:24:09 PM
Hi. Sorry for the late response, I was on holydays. For the PPTP problem, I'm not sure, I never used pptp (I think it sucks compared to openvpn), but I don't see any reason pptp couldn't work anymore from the internet if coova-chilli is enabled. I'll try to dig this issue further. FOr the modification of the page, it's located in /opt/chilli, you can change what you want here.

Cheers, Daniel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: johnsingh on May 21, 2008, 12:19:10 AM
Thank You VIP-ire.  Just another question, Can all ports be opened for the Hotspot [ 3rd Nic]. What commands/files can I edit to make this happen. Once all the ports are open, port 25 can be redirected to SME's own smtp proxy.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on May 21, 2008, 01:50:01 PM
If you want to custom the firewall rules for chilli, you'll have to create a custom template. The actual template is in /etc/e-smith/templates/etc/rc.d/init.d/masq/60ChilliRules, you can copy it in the templates-custom dir, and change what you want.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on June 09, 2008, 12:12:15 PM
Hello VIP-ire,

any new news about the development process for the smeserver-coova-chilli
when can we see a stable version or any new futures in the existing version

Thanks
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on June 09, 2008, 07:01:04 PM
Hi. The developpement of smeserver-coova-chilli is going slower than I want, mainly because I'm actually spending a lot of time in testing and enhancing ldap authentication in SME server (still in developpement). Unfortunally, I cannot tell when it will be "stable".

Cheers, Daniel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: saleh on June 12, 2008, 01:51:31 PM
New version of CoovaChilli Released June 8, 2008

ChangeLog (Coova Chilli v1.0.12 svn revision 171)

    *  Bug fix in RADIUS timeout, note that option radiustimeout is in seconds!
    * Fix for dnsparanoia whereby chilli will reply with a host not found error instead of dropping the packet suggest by nextime
    * New option macauthdeny which will result in the black-listing of devices given an Access-Reject during MAC address authentication
    * New internal state called splash in which clients are given Internet access, but enforcing the port 80 http redirect
    * new option dhcpradius for mapping of some DHCP options into RADIUS attributes and visa versa during MAC authentication
    * new options dhcpgateway and dhcpgatewayport to specific a DHCP gateway (relay) host IP Address and port
    * New option (in development) routeif to specify which WAN interface to use for the default - this also enables the use of internal routing instead of everything defaulting to the tun/tap
    * Anyip fixes by Gunther, thanks.
    * Code cleanups

DOWNLOAD LINK:
http://ap.coova.org/chilli/coova-chilli-1.0.12-1.i386.rpm

Note: can not install the new coova chilli version

rpm -Uvh coova-chilli-1.0.12-1.i386.rpm

error: Failed dependencies:
        libc.so.6(GLIBC_2.4) is needed by coova-chilli-1.0.12-1.i386


Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on August 20, 2008, 10:58:08 PM
Having a little trouble with this.
SME 7.3
Openvpn bridge installed
sme7admin installed


I have installed the 3rd NIC, and the files. DHCP is working on the eth2, but I don't get the login screen.

Here is s snippet of the message file about the process
Aug 20 15:39:51 premiercaulk coova-chilli[24001]: chilli.c: 2604: New DHCP request from MAC=00-03-0D-0C-6D-09
Aug 20 15:39:51 premiercaulk coova-chilli[24001]: chilli.c: 2566: Client MAC=00-03-0D-0C-6D-09 assigned IP 10.1.0.32
Aug 20 15:41:21 premiercaulk coova-chilli[24001]: options.c: 787: Rereading configuration file and doing DNS lookup
Aug 20 15:41:52 premiercaulk coova-chilli[24001]: chilli.c: 998: Unknown downlink protocol

Any ideas

TIA

Bob
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: electroman00 on August 23, 2008, 06:12:31 PM
AFAIK no no development is done of ChiliSpot anymore since 2005, one of the devs of ChiliSpot is (still) active in CoovaChili. You could have read that yourself on the mainpage of your second link: http://coova.org/wiki/index.php/CoovaChilli .

It appears that the ChiliSpot is still alive...a die hard FOSS "free and open source software"....

current links

ChiliSpot

http://www.chillispot.info/index.html (http://www.chillispot.info/index.html)

http://www.chillispot.info/chilliforum/index.php (http://www.chillispot.info/chilliforum/index.php)

CoovaChilli

http://coova.org/ (http://coova.org/)

http://coova.org/phpBB3/index.php (http://coova.org/phpBB3/index.php)

May the force be with them....
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on August 25, 2008, 11:08:42 AM
Having a little trouble with this.
SME 7.3
Openvpn bridge installed
sme7admin installed


I have installed the 3rd NIC, and the files. DHCP is working on the eth2, but I don't get the login screen.

Here is s snippet of the message file about the process
Aug 20 15:39:51 premiercaulk coova-chilli[24001]: chilli.c: 2604: New DHCP request from MAC=00-03-0D-0C-6D-09
Aug 20 15:39:51 premiercaulk coova-chilli[24001]: chilli.c: 2566: Client MAC=00-03-0D-0C-6D-09 assigned IP 10.1.0.32
Aug 20 15:41:21 premiercaulk coova-chilli[24001]: options.c: 787: Rereading configuration file and doing DNS lookup
Aug 20 15:41:52 premiercaulk coova-chilli[24001]: chilli.c: 998: Unknown downlink protocol

Any ideas

TIA

Bob

Hi.
You say DHCP is working, can you check your client as an address in the range 10.1.0.0/24 (if you haven't changed it in the config)
You don't get the login screen, but what do you have? The problem may come from the DNS, from your client, just try to ping a hostname (icmp messages won't pass but you should see the corresponding IP). If the problem comes from the DNS, you can change them (for example, set the DNS of your ISP)
Code: [Select]
db configuration setprop chilli dns1 <ip_address> dns2 <ip_address>
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob 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
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom 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, ..)
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. 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)
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom 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!
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on August 27, 2008, 11:14:05 PM
I should be able to do that this weekend

Bob
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom on August 28, 2008, 01:45:50 AM
Now I'll try to use Drupal as the portal...
see you soon!
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom 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
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob 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
   
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom 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...
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. 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.
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Roll-it-out 1 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
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: crazybob on September 04, 2008, 06:22:37 PM
You will find the stuff in  opt/chilli

Bob
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Roll-it-out 1 on September 04, 2008, 06:49:06 PM
 8-)
Thank you Bob!
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Roll-it-out 1 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
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom 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...
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: soprom on September 06, 2008, 03:11:49 AM
Problems after updating to smeserver-coova-chilli-0.1-1.el4.sme...

The directive uamallowed is not working anymore:
Code: [Select]
uamallowed    tcp:www.sophieromano.com:80,tcp:www.logiciel-libre.org:80
The service does not start after a reboot if openvpn is installed.

Thanks for any help!
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: FraunhoferIFF on September 06, 2008, 06:37:00 PM
PPTP from Outside to SME is Disabled or Busy ?

if uninstall Chilli, i can Login to my SME from outside the office.

it is possible to bring PPTP "and" Chilli get to work?

Marcel
Title: Re: [ANNOUNCE] smeserver-coova-chilli beta
Post by: Daniel B. on September 08, 2008, 09:27:10 AM
Please, use the bug tracker to report (potential) bugs, and use your own topic to ask for help in this forum. I really cannot answer everyone here. For the uamallowed, there's a bug. It's corrected in 0.1-8