branches/luci-0.8: remove bitrot
[project/luci.git] / applications / luci-coovachilli / root / etc / config / coovachilli
1 ##############################################################################
2 #
3 # Sample CoovaChilli configuration file
4 #
5 ##############################################################################
6
7 # General settings
8 config general
9
10 # Enable this flag to include debug information.
11 option debug 0
12
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
17 # File to store information about the process id of the program.
18 # The program must have write access to this file/directory.
19 option pidfile /var/run/chilli.pid
20
21 # Directory to use for nonvolatile storage.
22 # The program must have write access to this directory.
23 # This tag is currently ignored
24 #option statedir ./
25
26
27 # TUN parameters
28 config tun
29
30 # IP network address of external packet data network
31 # Used to allocate dynamic IP addresses and set up routing.
32 # Normally you do not need to uncomment this tag.
33 option net 192.168.182.0/24
34
35 # Dynamic IP address pool
36 # Used to allocate dynamic IP addresses to clients.
37 # If not set it defaults to the net tag.
38 # Do not uncomment this tag unless you are an experienced user!
39 #option dynip 192.168.182.0/24
40
41 # Static IP address pool
42 # Used to allocate static IP addresses to clients.
43 # Do not uncomment this tag unless you are an experienced user!
44 #option statip 192.168.182.0/24
45
46 # Primary DNS server.
47 # Will be suggested to the client.
48 # If omitted the system default will be used.
49 # Normally you do not need to uncomment this tag.
50 #option dns1 172.16.0.5
51
52 # Secondary DNS server.
53 # Will be suggested to the client.
54 # If omitted the system default will be used.
55 # Normally you do not need to uncomment this tag.
56 #option dns2 172.16.0.6
57
58 # Domain name
59 # Will be suggested to the client.
60 # Normally you do not need to uncomment this tag.
61 option domain key.chillispot.org
62
63 # Script executed after network interface has been brought up.
64 # Executed with the following parameters: <devicename> <ip address> <mask>
65 # Normally you do not need to uncomment this tag.
66 #option ipup /etc/chilli.ipup
67
68 # Script executed after network interface has been taken down.
69 # Executed with the following parameters: <devicename> <ip address> <mask>
70 # Normally you do not need to uncomment this tag.
71 #option ipdown /etc/chilli.ipdown
72
73 # Script executed after a user has been authenticated.
74 # Executed with the following parameters: <devicename> <ip address>
75 # <mask> <user ip address> <user mac address> <filter ID>
76 # Normally you do not need to uncomment this tag.
77 #option conup /etc/chilli.conup
78
79 # Script executed after a user has disconnected.
80 # Executed with the following parameters: <devicename> <ip address>
81 # <mask> <user ip address> <user mac address> <filter ID>
82 # Normally you do not need to uncomment this tag.
83 #option condown /etc/chilli.condown
84
85
86 # DHCP Parameters
87 config dhcp
88
89 # Ethernet interface to listen to.
90 # This is the network interface which is connected to the access points.
91 # In a typical configuration this tag should be set to eth1.
92 option dhcpif eth1
93
94 # Use specified MAC address.
95 # An address in the range 00:00:5E:00:02:00 - 00:00:5E:FF:FF:FF falls
96 # within the IANA range of addresses and is not allocated for other
97 # purposes.
98 # Normally you do not need to uncomment this tag.
99 #option dhcpmac 00:00:5E:00:02:00
100
101 # Time before DHCP lease expires
102 # Normally you do not need to uncomment this tag.
103 #option lease 600
104
105
106 # Radius parameters
107 config radius
108
109 # IP address to listen to
110 # Normally you do not need to uncomment this tag.
111 #option radiuslisten 127.0.0.1
112
113 # IP address of radius server 1
114 # For most installations you need to modify this tag.
115 option radiusserver1 rad01.chillispot.org
116
117 # IP address of radius server 2
118 # If you have only one radius server you should set radiusserver2 to the
119 # same value as radiusserver1.
120 # For most installations you need to modify this tag.
121 option radiusserver2 rad02.chillispot.org
122
123 # Radius authentication port
124 # The UDP port number to use for radius authentication requests.
125 # The same port number is used for both radiusserver1 and radiusserver2.
126 # Normally you do not need to uncomment this tag.
127 #option radiusauthport 1812
128
129 # Radius accounting port
130 # The UDP port number to use for radius accounting requests.
131 # The same port number is used for both radiusserver1 and radiusserver2.
132 # Normally you do not need to uncomment this tag.
133 #option radiusacctport 1813
134
135 # Radius shared secret for both servers
136 # For all installations you should modify this tag.
137 #option radiussecret testing123
138
139 # Radius NAS-Identifier
140 # Normally you do not need to uncomment this tag.
141 #option radiusnasid nas01
142
143 # Radius NAS-IP-Address
144 # Normally you do not need to uncomment this tag.
145 #option radiusnasip 127.0.0.1
146
147 # Radius Called-Station-ID
148 # Normally you do not need to uncomment this tag.
149 #option radiuscalled 00133300
150
151 # WISPr Location ID. Should be in the format: isocc=<ISO_Country_Code>,
152 # cc=<E.164_Country_Code>,ac=<E.164_Area_Code>,network=<ssid/ZONE>
153 # Normally you do not need to uncomment this tag.
154 #option radiuslocationid isocc=us,cc=1,ac=408,network=ACMEWISP_NewarkAirport
155
156 # WISPr Location Name. Should be in the format:
157 # <HOTSPOT_OPERATOR_NAME>,<LOCATION>
158 # Normally you do not need to uncomment this tag.
159 #option radiuslocationname ACMEWISP,Gate_14_Terminal_C_of_Newark_Airport
160
161
162 # Radius proxy parameters
163 config proxy
164
165 # IP address to listen to
166 # Normally you do not need to uncomment this tag.
167 #option proxylisten 10.0.0.1
168
169 # UDP port to listen to.
170 # If not specified a port will be selected by the system
171 # Normally you do not need to uncomment this tag.
172 #option proxyport 1645
173
174 # Client(s) from which we accept radius requests
175 # Normally you do not need to uncomment this tag.
176 #option proxyclient 10.0.0.1/24
177
178 # Radius proxy shared secret for all clients
179 # If not specified defaults to radiussecret
180 # Normally you do not need to uncomment this tag.
181 #option proxysecret testing123
182
183
184 # Universal access method (UAM) parameters
185 config uam
186
187 # URL of web server handling authentication.
188 option uamserver https://radius.chillispot.org/hotspotlogin
189
190 # URL of welcome homepage.
191 # Unauthenticated users will be redirected to this URL. If not specified
192 # users will be redirected to the uamserver instead.
193 # Normally you do not need to uncomment this tag.
194 #option uamhomepage http://192.168.182.1/welcome.html
195
196 # Shared between chilli and authentication web server
197 #option uamsecret ht2eb8ej6s4et3rg1ulp
198
199 # IP address to listen to for authentication requests
200 # Do not uncomment this tag unless you are an experienced user!
201 #option uamlisten 192.168.182.1
202
203 # TCP port to listen to for authentication requests
204 # Do not uncomment this tag unless you are an experienced user!
205 #option uamport 3990
206
207 # Comma separated list of domain names, IP addresses or network segments
208 # the client can access without first authenticating.
209 # It is possible to specify this tag multiple times.
210 # Normally you do not need to uncomment this tag.
211 #list uamallowed www.chillispot.org
212 #list uamallowed 10.11.12.0/24
213
214 # If this flag is given unauthenticated users are allowed to use
215 # any DNS server.
216 # Normally you do not need to uncomment this tag.
217 #uamanydns
218
219
220 # MAC authentication
221 config macauth
222
223 # If this flag is given users will be authenticated only on their MAC
224 # address.
225 # Normally you do not need to enable this flag.
226 option macauth 0
227
228 # List of MAC addresses.
229 # The MAC addresses specified in this list will be authenticated only on
230 # their MAC address.
231 # This tag is ignored if the macauth tag is given.
232 # It is possible to specify this tag multiple times.
233 # Normally you do not need to uncomment this tag.
234 #list macallowed 00-0A-5E-AC-BE-51
235 #list macallowed 00-30-1B-3C-32-E9
236
237 # Password to use for MAC authentication.
238 # Normally you do not need to uncomment this tag.
239 #option macpasswd password
240
241 # Suffix to add to MAC address in order to form the username.
242 # Normally you do not need to uncomment this tag.
243 #option macsuffix suffix