[OpenWrt-Devel] [PATCH] coova-chilli: Fix UCI parse error

Baptiste Jonglez baptiste at bitsofnetworks.org
Wed Jul 6 10:47:32 EDT 2016


Hi Rajan,

On Wed, Jul 06, 2016 at 07:03:43PM +0530, Rajan Vaja wrote:
> UCI commands report errors in parsing coova-chilli
> sample configuration file. Fix this issue by using
> proper format in configuration.

This package is maintained in the openwrt-packages Github repository:

  https://github.com/openwrt/packages/tree/master/net/coova-chilli

So, you should send a pull request there.

Baptiste

> ---
>  net/coova-chilli/files/chilli.config | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/net/coova-chilli/files/chilli.config b/net/coova-chilli/files/chilli.config
> index ab8ca1f..4c037c6 100644
> --- a/net/coova-chilli/files/chilli.config
> +++ b/net/coova-chilli/files/chilli.config
> @@ -89,13 +89,13 @@ config chilli
>  
>      # IP address of radius server 1
>      # For most installations you need to modify this option.
> -    radiusserver1 rad01.chillispot.org
> +    option radiusserver1 rad01.chillispot.org
>  
>      # IP address of radius server 2
>      # If you have only one radius server you should set radiusserver2 to the
>      # same value as radiusserver1.
>      # For most installations you need to modify this option.
> -    radiusserver2 rad02.chillispot.org
> +    option radiusserver2 rad02.chillispot.org
>  
>      # Radius authentication port
>      # The UDP port number to use for radius authentication requests.
> @@ -154,7 +154,7 @@ config chilli
>      # Ethernet interface to listen to.
>      # This is the network interface which is connected to the access points.
>      # In a typical configuration this option should be set to eth1.
> -    dhcpif eth1
> +    option dhcpif eth1
>  
>      # Use specified MAC address.
>      # An address in the range  00:00:5E:00:02:00 - 00:00:5E:FF:FF:FF falls
> @@ -171,7 +171,7 @@ config chilli
>      # Universal access method (UAM) parameters
>  
>      # URL of web server handling authentication.
> -    uamserver https://radius.chillispot.org/hotspotlogin
> +    option uamserver https://radius.chillispot.org/hotspotlogin
>  
>      # URL of welcome homepage.
>      # Unauthenticated users will be redirected to this URL. If not specified
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160706/5ee738be/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list