4 option title 'Network configuration'
7 option name 'interface'
8 option title 'Network interface'
9 option package 'network'
10 list depends 'proto=static, ipaddr, netmask'
11 list depends 'proto=static, ip6addr'
12 list depends 'proto=pppoe, username, password'
13 list depends 'proto=ppp, device'
14 list depends 'proto=3g, device'
15 list depends 'proto=pptp, username, password, server'
16 list depends 'proto=dhcp'
17 list depends 'proto=none'
19 option required 'true'
23 option title 'Physical interface'
24 option section 'network.interface'
28 option title 'Interface MAC address'
29 option section 'network.interface'
30 option datatype 'macaddr'
35 option section 'network.interface'
36 option datatype 'uint'
40 option title 'IPv4 host address'
41 option section 'network.interface'
42 option datatype 'ip4addr'
46 option title 'IPv4 network mask'
47 option section 'network.interface'
48 option datatype 'ip4addr'
52 option title 'IPv4 gateway'
53 option section 'network.interface'
54 option datatype 'ip4addr'
58 option title 'IPv4 broadcast address'
59 option section 'network.interface'
60 option datatype 'ip4addr'
64 option title 'IPv6 address (CIDR)'
65 option section 'network.interface'
66 option datatype 'ip6addr'
70 option title 'IPv6 gateway'
71 option section 'network.interface'
72 option datatype 'ip6addr'
76 option title 'DNS server (IPv4 or IPv6)'
77 option section 'network.interface'
78 option datatype 'ipaddr'
79 option multival 'true'
82 option name 'keepalive'
83 option title 'keep-alive'
84 option description 'Number of connection failures before reconnect'
85 option section 'network.interface'
86 option datatype 'uint'
87 list depends 'proto=pppoe'
88 list depends 'proto=pptp'
89 list depends 'proto=ppp'
90 list depends 'proto=3g'
94 option title 'Dial on-demand'
95 option description 'Number of seconds to wait before closing the connection due to inactivity'
96 option section 'network.interface'
97 option datatype 'uint'
98 list depends 'proto=pppoe'
99 list depends 'proto=pptp'
100 list depends 'proto=ppp'
101 list depends 'proto=3g'
104 option name 'username'
105 option title 'Username'
106 option section 'network.interface'
107 option datatype 'string'
108 list depends 'proto=pppoe'
109 list depends 'proto=pptp'
110 list depends 'proto=ppp'
111 list depends 'proto=3g'
114 option name 'password'
115 option title 'Password'
116 option section 'network.interface'
117 option datatype 'string'
118 list depends 'proto=pppoe'
119 list depends 'proto=pptp'
120 list depends 'proto=ppp'
121 list depends 'proto=3g'
125 option title 'PPTP server'
126 option section 'network.interface'
127 option datatype 'host'
128 list depends 'proto=pptp'
132 option title 'Modem device'
133 option section 'network.interface'
134 option datatype 'device'
135 list depends 'proto=ppp'
136 list depends 'proto=3g'
139 option name 'defaultroute'
140 option title 'Replace default route'
141 option section 'network.interface'
142 option datatype 'boolean'
143 list depends 'proto=ppp'
144 list depends 'proto=3g'
147 option name 'peerdns'
148 option title 'Use peer DNS'
149 option section 'network.interface'
150 option datatype 'boolean'
151 list depends 'proto=ppp'
152 list depends 'proto=3g'
156 option title 'Enable IPv6 on PPP link'
157 option section 'network.interface'
158 option datatype 'boolean'
159 list depends 'proto=ppp'
160 list depends 'proto=3g'
163 option name 'connect'
164 option title 'PPP connect script'
165 option section 'network.interface'
166 option datatype 'file'
167 list depends 'proto=ppp'
168 list depends 'proto=3g'
171 option name 'disconnect'
172 option title 'PPP disconnect script'
173 option section 'network.interface'
174 option datatype 'file'
175 list depends 'proto=ppp'
176 list depends 'proto=3g'
179 option name 'pppd_options'
180 option title 'Additional PPP daemon options'
181 option section 'network.interface'
182 option datatype 'string'
183 list depends 'proto=ppp'
184 list depends 'proto=3g'
187 option name 'maxwait'
188 option title 'Setup wait time'
189 option description 'Number of seconds to wait for the device to become ready'
190 option section 'network.interface'
191 option datatype 'uint'
192 list depends 'proto=3g'
196 option title 'Access point (APN)'
197 option section 'network.interface'
198 option datatype 'string'
199 list depends 'proto=3g'
202 option name 'pincode'
203 option title 'PIN code'
204 option section 'network.interface'
205 option datatype 'uint'
206 list depends 'proto=3g'
209 option name 'service'
210 option title 'Service type'
211 option section 'network.interface'
213 list depends 'proto=3g'
216 option variable 'network.interface.service'
218 option title 'UMTS/GPRS'
221 option variable 'network.interface.service'
226 option variable 'network.interface.service'
232 option title 'Protocol'
233 option section 'network.interface'
235 option required 'true'
238 option variable 'network.interface.proto'
240 option title 'Disabled'
243 option variable 'network.interface.proto'
245 option title 'Retrieve IP address via DHCP'
246 option default 'true'
249 option variable 'network.interface.proto'
251 option title 'Interface is a PPTP tunnel endpoint'
254 option variable 'network.interface.proto'
255 option value 'static'
256 option title 'Interface has static network configuration'
259 option variable 'network.interface.proto'
261 option title 'Interface is a PPPoE connection'
264 option variable 'network.interface.proto'
266 option title 'Interface is a PPP connection'
269 option variable 'network.interface.proto'
271 option title '3G UMTS/GPRS connection'
275 option title 'Option type'
276 option section 'network.interface'
280 option variable 'network.interface.type'
281 option value 'bridge'
282 option title 'This is a bridge interface'
288 option title 'Alias interface definition'
289 option package 'network'
290 list depends 'proto=static, ipaddr, netmask'
291 list depends 'proto=static, ip6addr'
295 option name 'interface'
296 option title 'Parent interface'
297 option section 'network.alias'
298 option valueof 'network.interface'
299 option required 'true'
303 option title 'IPv4 host address'
304 option section 'network.alias'
305 option datatype 'ip4addr'
308 option name 'netmask'
309 option title 'IPv4 network mask'
310 option section 'network.alias'
311 option datatype 'ip4addr'
314 option name 'gateway'
315 option title 'IPv4 gateway'
316 option section 'network.alias'
317 option datatype 'ip4addr'
321 option title 'IPv4 broadcast address'
322 option section 'network.alias'
323 option datatype 'ip4addr'
326 option name 'ip6addr'
327 option title 'IPv6 address (CIDR)'
328 option section 'network.alias'
329 option datatype 'ip6addr'
333 option title 'IPv6 gateway'
334 option section 'network.alias'
335 option datatype 'ip6addr'
339 option title 'DNS server (IPv4 or IPv6)'
340 option section 'network.alias'
341 option datatype 'ipaddr'
345 option title 'Protocol'
346 option section 'network.alias'
348 option required 'true'
351 option variable 'network.alias.proto'
352 option value 'static'
353 option title 'Interface has static network configuration'
359 option title 'Static route definition'
360 option package 'network'
363 option name 'interface'
364 option title 'Interface'
365 option section 'network.route'
366 option valueof 'network.interface'
367 option required 'true'
371 option title 'Target IPv4 host or network'
372 option section 'network.route'
373 option datatype 'ip4addr'
374 option required 'true'
377 option name 'netmask'
378 option title 'Target IPv4 netmask'
379 option section 'network.route'
380 option datatype 'ip4addr'
383 option name 'gateway'
384 option title 'IPv4 gateway'
385 option section 'network.route'
386 option datatype 'ip4addr'
387 option required 'true'
391 option title 'Metric'
392 option section 'network.route6'
393 option datatype 'uint'
399 option title 'Static IPv6 route definition'
400 option package 'network'
403 option name 'interface'
404 option title 'Interface'
405 option section 'network.route6'
406 option valueof 'network.interface'
407 option required 'true'
411 option title 'Target IPv6 host or network (CIDR)'
412 option section 'network.route6'
413 option datatype 'ip6addr'
414 option required 'true'
417 option name 'gateway'
418 option title 'IPv6 gateway'
419 option section 'network.route6'
420 option datatype 'ip6addr'
421 option required 'true'
425 option title 'Metric'
426 option section 'network.route6'
427 option datatype 'uint'
433 option title 'Section switch'
434 option package 'network'
436 option dynamic 'true'
437 option required 'true'