You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

226 lines
7.8 KiB

  1. #
  2. # Sample Coova-Chilli configuration file
  3. #
  4. config chilli
  5. # disable to running chilli. remove this option before running.
  6. option disabled 1
  7. # name of TUN device name. required.
  8. option tundev 'tun0'
  9. # name of network interface
  10. option network ''
  11. # Include this flag to include debug information.
  12. #option debug 1
  13. # Re-read configuration file at this interval. Will also cause new domain
  14. # name lookups to be performed. Value is given in seconds.
  15. #option interval 3600
  16. # Directory to use for nonvolatile storage.
  17. # The program must have write access to this directory.
  18. # this option is currently ignored
  19. #option statedir ./
  20. # TUN parameters
  21. # IP network address of external packet data network
  22. # Used to allocate dynamic IP addresses and set up routing.
  23. # Normally you do not need to uncomment this option.
  24. #option net 192.168.182.0/24
  25. # Dynamic IP address pool
  26. # Used to allocate dynamic IP addresses to clients.
  27. # If not set it defaults to the net tag.
  28. # Do not uncomment this option unless you are an experienced user!
  29. #option dynip 192.168.182.0/24
  30. # Static IP address pool
  31. # Used to allocate static IP addresses to clients.
  32. # Do not uncomment this option unless you are an experienced user!
  33. #option statip 192.168.182.0/24
  34. # Primary DNS server.
  35. # Will be suggested to the client.
  36. # If omitted the system default will be used.
  37. # Normally you do not need to uncomment this option.
  38. #option dns1 172.16.0.5
  39. # Secondary DNS server.
  40. # Will be suggested to the client.
  41. # If omitted the system default will be used.
  42. # Normally you do not need to uncomment this option.
  43. #option dns2 172.16.0.6
  44. # Domain name
  45. # Will be suggested to the client.
  46. # Normally you do not need to uncomment this option.
  47. #option domain key.chillispot.org
  48. # Script executed after network interface has been brought up.
  49. # Executed with the following parameters: <devicename> <ip address>
  50. # <mask>
  51. # Normally you do not need to modify this option.
  52. option ipup /etc/chilli/up.sh
  53. # Script executed after network interface has been taken down.
  54. # Executed with the following parameters: <devicename> <ip address>
  55. # <mask>
  56. # Normally you do not need to modify this option.
  57. option ipdown /etc/chilli/down.sh
  58. # Radius parameters
  59. # IP address to listen to
  60. # Normally you do not need to uncomment this option.
  61. #option radiuslisten 127.0.0.1
  62. # IP address of radius server 1
  63. # For most installations you need to modify this option.
  64. option radiusserver1 rad01.chillispot.org
  65. # IP address of radius server 2
  66. # If you have only one radius server you should set radiusserver2 to the
  67. # same value as radiusserver1.
  68. # For most installations you need to modify this option.
  69. option radiusserver2 rad02.chillispot.org
  70. # Radius authentication port
  71. # The UDP port number to use for radius authentication requests.
  72. # The same port number is used for both radiusserver1 and radiusserver2.
  73. # Normally you do not need to uncomment this option.
  74. #option radiusauthport 1812
  75. # Radius accounting port
  76. # The UDP port number to use for radius accounting requests.
  77. # The same port number is used for both radiusserver1 and radiusserver2.
  78. # Normally you do not need to uncomment this option.
  79. #option radiusacctport 1813
  80. # Radius shared secret for both servers
  81. # For all installations you should modify this option.
  82. #option radiussecret testing123
  83. # Radius NAS-Identifier
  84. # Normally you do not need to uncomment this option.
  85. #option radiusnasid nas01
  86. # WISPr Location ID. Should be in the format: isocc=<ISO_Country_Code>,
  87. # cc=<E.164_Country_Code>,ac=<E.164_Area_Code>,network=<ssid/ZONE>
  88. # Normally you do not need to uncomment this option.
  89. #option radiuslocationid isocc=us,cc=1,ac=408,network=ACMEWISP_NewarkAirport
  90. # WISPr Location Name. Should be in the format:
  91. # <HOTSPOT_OPERATOR_NAME>,<LOCATION>
  92. # Normally you do not need to uncomment this option.
  93. #option radiuslocationname ACMEWISP,Gate_14_Terminal_C_of_Newark_Airport
  94. # Radius proxy parameters
  95. # IP address to listen to
  96. # Normally you do not need to uncomment this option.
  97. #option proxylisten 10.0.0.1
  98. # UDP port to listen to.
  99. # If not specified a port will be selected by the system
  100. # Normally you do not need to uncomment this option.
  101. #option proxyport 1645
  102. # Client(s) from which we accept radius requests
  103. # Normally you do not need to uncomment this option.
  104. #option proxyclient 10.0.0.1/24
  105. # Radius proxy shared secret for all clients
  106. # If not specified defaults to radiussecret
  107. # Normally you do not need to uncomment this option.
  108. #option proxysecret testing123
  109. # DHCP Parameters
  110. # Ethernet interface to listen to.
  111. # This is the network interface which is connected to the access points.
  112. # In a typical configuration this option should be set to eth1.
  113. option dhcpif eth1
  114. # Use specified MAC address.
  115. # An address in the range 00:00:5E:00:02:00 - 00:00:5E:FF:FF:FF falls
  116. # within the IANA range of addresses and is not allocated for other
  117. # purposes.
  118. # Normally you do not need to uncomment this option.
  119. #option dhcpmac 00:00:5E:00:02:00
  120. # Time before DHCP lease expires
  121. # Normally you do not need to uncomment this option.
  122. #option lease 600
  123. # Universal access method (UAM) parameters
  124. # URL of web server handling authentication.
  125. option uamserver https://radius.chillispot.org/hotspotlogin
  126. # URL of welcome homepage.
  127. # Unauthenticated users will be redirected to this URL. If not specified
  128. # users will be redirected to the uamserver instead.
  129. # Normally you do not need to uncomment this option.
  130. #option uamhomepage http://192.168.182.1/welcome.html
  131. # Shared between chilli and authentication web server
  132. #option uamsecret ht2eb8ej6s4et3rg1ulp
  133. # IP address to listen to for authentication requests
  134. # Do not uncomment this option unless you are an experienced user!
  135. #option uamlisten 192.168.182.1
  136. # TCP port to listen to for authentication requests
  137. # Do not uncomment this option unless you are an experienced user!
  138. #option uamport 3990
  139. # Comma separated list of domain names, IP addresses or network segments
  140. # the client can access without first authenticating.
  141. # It is possible to specify this option multiple times.
  142. # Normally you do not need to uncomment this option.
  143. #option uamallowed www.chillispot.org,10.11.12.0/24
  144. # Comma separated list of domain names
  145. # the client can access without first authenticating.
  146. # It is possible to specify this option multiple times.
  147. # Normally you do not need to uncomment this option.
  148. #option uamdomain .chillispot.org,.coova.org
  149. # If this flag is given unauthenticated users are allowed to use
  150. # any DNS server.
  151. # Normally you do not need to uncomment this option.
  152. #option uamanydns
  153. # MAC authentication
  154. # If this flag is given users will be authenticated only on their MAC
  155. # address.
  156. # Normally you do not need to uncomment this option.
  157. #option macauth
  158. # List of MAC addresses.
  159. # The MAC addresses specified in this list will be authenticated only on
  160. # their MAC address.
  161. # this option is ignored if the macauth tag is given.
  162. # It is possible to specify this option multiple times.
  163. # Normally you do not need to uncomment this option.
  164. #option macallowed 00-0A-5E-AC-BE-51,00-30-1B-3C-32-E9
  165. # Password to use for MAC authentication.
  166. # Normally you do not need to uncomment this option.
  167. #option macpasswd password
  168. # Suffix to add to MAC address in order to form the username.
  169. # Normally you do not need to uncomment this option.
  170. #option macsuffix suffix