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=pppoa, username, password, encaps, vpi, vci'
14 list depends 'proto=ppp, device'
15 list depends 'proto=3g, device'
16 list depends 'proto=pptp, username, password, server'
17 list depends 'proto=dhcp'
18 list depends 'proto=none'
20 option required 'true'
24 option title 'Physical interface'
25 option section 'network.interface'
29 option title 'Interface MAC address'
30 option section 'network.interface'
31 option datatype 'macaddr'
36 option section 'network.interface'
37 option datatype 'uint'
41 option title 'IPv4 host address'
42 option section 'network.interface'
43 option datatype 'ip4addr'
47 option title 'IPv4 network mask'
48 option section 'network.interface'
49 option datatype 'ip4addr'
53 option title 'IPv4 gateway'
54 option section 'network.interface'
55 option datatype 'ip4addr'
59 option title 'IPv4 broadcast address'
60 option section 'network.interface'
61 option datatype 'ip4addr'
65 option title 'IPv6 address (CIDR)'
66 option section 'network.interface'
67 option datatype 'ip6addr'
71 option title 'IPv6 gateway'
72 option section 'network.interface'
73 option datatype 'ip6addr'
77 option title 'DNS server (IPv4 or IPv6)'
78 option section 'network.interface'
79 option datatype 'ipaddr'
80 option multival 'true'
83 option name 'keepalive'
84 option title 'keep-alive'
85 option description 'Number of connection failures before reconnect'
86 option section 'network.interface'
87 option datatype 'string'
88 list depends 'proto=pppoe'
89 list depends 'proto=pptp'
90 list depends 'proto=ppp'
91 list depends 'proto=3g'
92 list depends 'proto=pppoa'
96 option title 'Dial on-demand'
97 option description 'Number of seconds to wait before closing the connection due to inactivity'
98 option section 'network.interface'
99 option datatype 'uint'
100 list depends 'proto=pppoe'
101 list depends 'proto=pppoa'
102 list depends 'proto=pptp'
103 list depends 'proto=ppp'
104 list depends 'proto=3g'
107 option name 'username'
108 option title 'Username'
109 option section 'network.interface'
110 option datatype 'string'
111 list depends 'proto=pppoa'
112 list depends 'proto=pppoe'
113 list depends 'proto=pptp'
114 list depends 'proto=ppp'
115 list depends 'proto=3g'
118 option name 'password'
119 option title 'Password'
120 option section 'network.interface'
121 option datatype 'string'
122 list depends 'proto=pppoe'
123 list depends 'proto=pppoa'
124 list depends 'proto=pptp'
125 list depends 'proto=ppp'
126 list depends 'proto=3g'
130 option title 'PPPoA encapsulation mode'
131 option section 'network.interface'
133 list depends 'proto=pppoa'
136 option variable 'network.interface.encaps'
141 option variable 'network.interface.encaps'
147 option title 'PPPoA VPI'
148 option section 'network.interface'
149 option datatype 'uint'
150 list depends 'proto=pppoa'
154 option title 'PPPoA VCI'
155 option section 'network.interface'
156 option datatype 'uint'
157 list depends 'proto=pppoa'
161 option title 'PPTP server'
162 option section 'network.interface'
163 option datatype 'host'
164 list depends 'proto=pptp'
168 option title 'Modem device'
169 option section 'network.interface'
170 option datatype 'device'
171 list depends 'proto=ppp'
172 list depends 'proto=3g'
175 option name 'defaultroute'
176 option title 'Replace default route'
177 option section 'network.interface'
178 option datatype 'boolean'
179 list depends 'proto=ppp'
180 list depends 'proto=pppoa'
181 list depends 'proto=pppoe'
182 list depends 'proto=pptp'
183 list depends 'proto=3g'
186 option name 'peerdns'
187 option title 'Use peer DNS'
188 option section 'network.interface'
189 option datatype 'boolean'
190 list depends 'proto=ppp'
191 list depends 'proto=pppoe'
192 list depends 'proto=pppoa'
193 list depends 'proto=pptp'
194 list depends 'proto=3g'
198 option title 'Enable IPv6 on PPP link'
199 option section 'network.interface'
200 option datatype 'boolean'
201 list depends 'proto=ppp'
202 list depends 'proto=pppoe'
203 list depends 'proto=pppoa'
204 list depends 'proto=pptp'
205 list depends 'proto=3g'
208 option name 'connect'
209 option title 'PPP connect script'
210 option section 'network.interface'
211 option datatype 'file'
212 list depends 'proto=ppp'
213 list depends 'proto=pppoe'
214 list depends 'proto=pppoa'
215 list depends 'proto=pptp'
216 list depends 'proto=3g'
219 option name 'disconnect'
220 option title 'PPP disconnect script'
221 option section 'network.interface'
222 option datatype 'file'
223 list depends 'proto=ppp'
224 list depends 'proto=pppoe'
225 list depends 'proto=pppoa'
226 list depends 'proto=pptp'
227 list depends 'proto=3g'
230 option name 'pppd_options'
231 option title 'Additional PPP daemon options'
232 option section 'network.interface'
233 option datatype 'string'
234 list depends 'proto=ppp'
235 list depends 'proto=pppoe'
236 list depends 'proto=pppoa'
237 list depends 'proto=pptp'
238 list depends 'proto=3g'
241 option name 'maxwait'
242 option title 'Setup wait time'
243 option description 'Number of seconds to wait for the device to become ready'
244 option section 'network.interface'
245 option datatype 'uint'
246 list depends 'proto=3g'
250 option title 'Access point (APN)'
251 option section 'network.interface'
252 option datatype 'string'
253 list depends 'proto=3g'
256 option name 'pincode'
257 option title 'PIN code'
258 option section 'network.interface'
259 option datatype 'uint'
260 list depends 'proto=3g'
263 option name 'service'
264 option title 'Service type'
265 option section 'network.interface'
267 list depends 'proto=3g'
270 option variable 'network.interface.service'
272 option title 'UMTS/GPRS'
275 option variable 'network.interface.service'
280 option variable 'network.interface.service'
286 option title 'Protocol'
287 option section 'network.interface'
289 option required 'true'
292 option variable 'network.interface.proto'
294 option title 'Disabled'
297 option variable 'network.interface.proto'
299 option title 'Retrieve IP address via DHCP'
300 option default 'true'
303 option variable 'network.interface.proto'
305 option title 'Interface is a PPTP tunnel endpoint'
308 option variable 'network.interface.proto'
309 option value 'static'
310 option title 'Interface has static network configuration'
313 option variable 'network.interface.proto'
315 option title 'Interface is a PPPoE connection'
318 option variable 'network.interface.proto'
320 option title 'Interface is a PPPoA connection'
323 option variable 'network.interface.proto'
325 option title 'Interface is a PPP connection'
328 option variable 'network.interface.proto'
330 option title '3G UMTS/GPRS connection'
334 option title 'Option type'
335 option section 'network.interface'
339 option variable 'network.interface.type'
340 option value 'bridge'
341 option title 'This is a bridge interface'
347 option title 'Alias interface definition'
348 option package 'network'
349 list depends 'proto=static, ipaddr, netmask'
350 list depends 'proto=static, ip6addr'
354 option name 'interface'
355 option title 'Parent interface'
356 option section 'network.alias'
357 option valueof 'network.interface'
358 option required 'true'
362 option title 'IPv4 host address'
363 option section 'network.alias'
364 option datatype 'ip4addr'
367 option name 'netmask'
368 option title 'IPv4 network mask'
369 option section 'network.alias'
370 option datatype 'ip4addr'
373 option name 'gateway'
374 option title 'IPv4 gateway'
375 option section 'network.alias'
376 option datatype 'ip4addr'
380 option title 'IPv4 broadcast address'
381 option section 'network.alias'
382 option datatype 'ip4addr'
385 option name 'ip6addr'
386 option title 'IPv6 address (CIDR)'
387 option section 'network.alias'
388 option datatype 'ip6addr'
392 option title 'IPv6 gateway'
393 option section 'network.alias'
394 option datatype 'ip6addr'
398 option title 'DNS server (IPv4 or IPv6)'
399 option section 'network.alias'
400 option datatype 'ipaddr'
404 option title 'Protocol'
405 option section 'network.alias'
407 option required 'true'
410 option variable 'network.alias.proto'
411 option value 'static'
412 option title 'Interface has static network configuration'
418 option title 'Static route definition'
419 option package 'network'
422 option name 'interface'
423 option title 'Interface'
424 option section 'network.route'
425 option valueof 'network.interface'
426 option required 'true'
430 option title 'Target IPv4 host or network'
431 option section 'network.route'
432 option datatype 'ip4addr'
433 option required 'true'
436 option name 'netmask'
437 option title 'Target IPv4 netmask'
438 option section 'network.route'
439 option datatype 'ip4addr'
442 option name 'gateway'
443 option title 'IPv4 gateway'
444 option section 'network.route'
445 option datatype 'ip4addr'
449 option title 'Metric'
450 option section 'network.route6'
451 option datatype 'uint'
457 option title 'Static IPv6 route definition'
458 option package 'network'
461 option name 'interface'
462 option title 'Interface'
463 option section 'network.route6'
464 option valueof 'network.interface'
465 option required 'true'
469 option title 'Target IPv6 host or network (CIDR)'
470 option section 'network.route6'
471 option datatype 'ip6addr'
472 option required 'true'
475 option name 'gateway'
476 option title 'IPv6 gateway'
477 option section 'network.route6'
478 option datatype 'ip6addr'
479 option required 'false'
483 option title 'Metric'
484 option section 'network.route6'
485 option datatype 'uint'
491 option title 'Section switch'
492 option package 'network'
494 option dynamic 'true'
495 option required 'true'