diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-25 13:57:28 +0000 |
commit | 729c5a24a8be86020acaff855f1c1e2882a39e42 (patch) | |
tree | 8943ddf6682d0c4fa39c9859e87c116b86904eae /modules | |
parent | bab278613b6e5e4112a2921e60f7b65b7332409e (diff) |
* luci/libs/uvl: move most schemes to their corresponding packages
Diffstat (limited to 'modules')
8 files changed, 1246 insertions, 0 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/dhcp b/modules/admin-core/root/lib/uci/schema/default/dhcp new file mode 100644 index 0000000000..5f352328b1 --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/dhcp @@ -0,0 +1,225 @@ +package dhcp + +config package + option title 'Dnsmasq DHCPd configuration' + +config section + option name 'dnsmasq' + option package 'dhcp' + option title 'General Settings' + option unique true + option required true + option dynamic true + +config variable + option name 'domainneeded' + option section 'dhcp.dnsmasq' + option title 'Domain required' + option description "Don't forward DNS-Requests without DNS-Name" + option datatype boolean + +config variable + option name 'authoritative' + option section 'dhcp.dnsmasq' + option title 'Authoritative' + option description 'This is the only DHCP in the local network' + option datatype boolean + +config variable + option name 'boguspriv' + option section 'dhcp.dnsmasq' + option title 'Filter private' + option description "Don't forward reverse lookups for local networks" + option datatype boolean + +config variable + option name 'filterwin2k' + option section 'dhcp.dnsmasq' + option title 'Filter useless' + option description 'Filter useless DNS-queries of Windows-systems' + option datatype boolean + +config variable + option name 'localise_queries' + option section 'dhcp.dnsmasq' + option title 'Localise queries' + option description 'Localises the hostname depending on its subnet' + option datatype boolean + +config variable + option name 'local' + option section 'dhcp.dnsmasq' + option title 'Local Server' + +config variable + option name 'domain' + option section 'dhcp.dnsmasq' + option title 'Local Domain' + +config variable + option name 'expandhosts' + option section 'dhcp.dnsmasq' + option title 'Expand Hosts' + option description 'adds domain names to hostentries in the resolv file' + option datatype boolean + +config variable + option name 'nonegcache' + option section 'dhcp.dnsmasq' + option title "don't cache unknown" + option description 'prevents caching of negative DNS-replies' + option datatype boolean + +config variable + option name 'readethers' + option section 'dhcp.dnsmasq' + option title 'Use /etc/ethers' + option description 'Read /etc/ethers to configure the DHCP-Server' + option datatype boolean + +config variable + option name 'leasefile' + option section 'dhcp.dnsmasq' + option title 'Leasefile' + option description 'file where given DHCP-leases will be stored' + option datatype file + +config variable + option name 'resolvfile' + option section 'dhcp.dnsmasq' + option title 'Resolvfile' + option description 'local DNS file' + option datatype file + +config variable + option name 'nohosts' + option section 'dhcp.dnsmasq' + option title 'Ignore /etc/hosts ' + option datatype boolean + +config variable + option name 'strictorder' + option section 'dhcp.dnsmasq' + option title 'Strict order' + option description 'DNS-Server will be queried in the order of the resolvfile' + option datatype boolean + +config variable + option name 'logqueries' + option section 'dhcp.dnsmasq' + option title 'Log queries' + option datatype boolean + +config variable + option name 'noresolv' + option section 'dhcp.dnsmasq' + option title 'Ignore resolve file' + option datatype boolean + +config variable + option name 'dnsforwardmax' + option section 'dhcp.dnsmasq' + option title 'concurrent queries' + option datatype uint + +config variable + option name 'port' + option section 'dhcp.dnsmasq' + option title 'DNS-Port' + option datatype port + +config variable + option name 'ednspacket_max' + option section 'dhcp.dnsmasq' + option title 'ednspacket_max' + option datatype uint + +config variable + option name 'dhcpleasemax' + option section 'dhcp.dnsmasq' + option title 'max. DHCP -Leases' + option datatype uint + +config variable + option name 'addnhosts' + option section 'dhcp.dnsmasq' + option title 'additional hostfile' + option datatype file + +config variable + option name 'queryport' + option section 'dhcp.dnsmasq' + option title 'query port' + option datatype port + + +config section + option name 'dhcp' + option package 'dhcp' + option title 'DHCP interface configuration' + option dynamic true + +config variable + option name 'interface' + option section 'dhcp.dhcp' + option title 'Interface' + option required true + option type reference + list valueof network.interface + list valueof network.alias + +config variable + option name 'start' + option section 'dhcp.dhcp' + option title 'Start' + option description 'first address (last octet)' + option datatype uint + +config variable + option name 'limit' + option section 'dhcp.dhcp' + option title 'Limit' + option description 'number of leased addresses -1' + option datatype uint + +config variable + option name 'leasetime' + option section 'dhcp.dhcp' + option title 'Leasetime' + +config variable + option name 'dynamicdhcp' + option section 'dhcp.dhcp' + option title 'Dynamic DHCP ' + option datatype boolean + +config variable + option name 'name' + option section 'dhcp.dhcp' + option title 'Name' + +config variable + option name 'ignore' + option section 'dhcp.dhcp' + option title 'Ignore interface' + option description 'disable DHCP for this interface' + option datatype boolean + +config variable + option name 'netmask' + option section 'dhcp.dhcp' + option title 'IPv4-Netmask' + option datatype ip4addr + +config variable + option name 'force' + option section 'dhcp.dhcp' + option title 'Force' + option datatype boolean + +config variable + option name 'dhcp_option' + option section 'dhcp.dhcp' + option title 'DHCP-Options' + option description 'See "dnsmasq --help dhcp" for a list of available options.' + option type lazylist diff --git a/modules/admin-core/root/lib/uci/schema/default/dropbear b/modules/admin-core/root/lib/uci/schema/default/dropbear new file mode 100644 index 0000000000..ba490a705e --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/dropbear @@ -0,0 +1,24 @@ +package dropbear + +config package + option title 'Dropbear SSHd configuration' + +config section + option name 'dropbear' + option title 'General SSH daemon settings' + option package 'dropbear' + option required true + option unique true + +config variable + option name 'PasswordAuth' + option title 'Permit password authentication' + option section 'dropbear.dropbear' + option datatype 'boolean' + +config variable + option name 'Port' + option title 'Listening port' + option section 'dropbear.dropbear' + option datatype 'integer' + option required true diff --git a/modules/admin-core/root/lib/uci/schema/default/fstab b/modules/admin-core/root/lib/uci/schema/default/fstab new file mode 100644 index 0000000000..58dff587b8 --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/fstab @@ -0,0 +1,54 @@ +package fstab + +config package + option title 'Filesystem configuration' + +config section + option name 'mount' + option title 'Filesystem entry' + option package 'fstab' + +config variable + option name 'device' + option title 'Device node' + option section 'fstab.mount' + +config variable + option name 'enabled' + option title 'Enable this mount point' + option section 'fstab.mount' + option datatype 'boolean' + option required 'true' + +config variable + option name 'fstype' + option title 'Filesystem type' + option section 'fstab.mount' + +config variable + option name 'options' + option title 'Mount options' + option section 'fstab.mount' + +config variable + option name 'target' + option title 'Mount point' + option section 'fstab.mount' + option datatype 'directory' + + +config section + option name 'swap' + option title 'Swap entry' + option package 'fstab' + +config variable + option name 'device' + option title 'Swap file or Partition' + option section 'fstab.swap' + +config variable + option name 'enabled' + option title 'Enable this swap' + option section 'fstab.swap' + option datatype 'boolean' diff --git a/modules/admin-core/root/lib/uci/schema/default/httpd b/modules/admin-core/root/lib/uci/schema/default/httpd new file mode 100644 index 0000000000..8dcf0959b0 --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/httpd @@ -0,0 +1,37 @@ +package httpd + +config package + option title 'Busybox HTTPd configuration' + +config section + option name 'httpd' + option title 'General httpd settings' + option package 'httpd' + option required true + +config variable + option name 'home' + option title 'Document root' + option section 'httpd.httpd' + option datatype 'directory' + option required true + +config variable + option name 'port' + option title 'Listening port' + option section 'httpd.httpd' + option datatype 'integer' + option required true + +config variable + option name 'c_file' + option title 'Configuration file' + option section 'httpd.httpd' + option datatype 'file' + +config variable + option name 'realm' + option title 'Authentication Realm' + option description 'Realm shown on login prompt' + option section 'httpd.httpd' + diff --git a/modules/admin-core/root/lib/uci/schema/default/luci_hosts b/modules/admin-core/root/lib/uci/schema/default/luci_hosts new file mode 100644 index 0000000000..e2597f4769 --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/luci_hosts @@ -0,0 +1,21 @@ +package luci_hosts + +config section + option name 'host' + option title 'Host entry definition' + option package 'luci_hosts' + +config variable + option name 'hostname' + option title 'Hostname' + option section 'luci_hosts.host' + option datatype 'hostname' + option required true + +config variable + option name 'ipaddr' + option title 'IP address' + option section 'luci_hosts.host' + option datatype 'ipaddr' + option required true + diff --git a/modules/admin-core/root/lib/uci/schema/default/network b/modules/admin-core/root/lib/uci/schema/default/network new file mode 100644 index 0000000000..57d02a63e4 --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/network @@ -0,0 +1,277 @@ +package network + +config package + option title 'Network configuration' + +config section + option name 'interface' + option title 'Network interface' + option package 'network' + list depends 'proto=static, ipaddr, netmask' + list depends 'proto=static, ip6addr' + list depends 'proto=pppoe, username, password' + list depends 'proto=pptp, username, password, server' + list depends 'proto=dhcp' + list depends 'proto=none' + option named true + option required true + +config variable + option name 'ifname' + option title 'Physical interface' + option section 'network.interface' + +config variable + option name 'macaddr' + option title 'Interface MAC address' + option section 'network.interface' + option datatype 'macaddr' + +config variable + option name 'mtu' + option title 'MTU' + option section 'network.interface' + option datatype 'uint' + +config variable + option name 'ipaddr' + option title 'IPv4 host address' + option section 'network.interface' + option datatype 'ip4addr' + +config variable + option name 'netmask' + option title 'IPv4 network mask' + option section 'network.interface' + option datatype 'ip4addr' + +config variable + option name 'gateway' + option title 'IPv4 gateway' + option section 'network.interface' + option datatype 'ip4addr' + +config variable + option name 'bcast' + option title 'IPv4 broadcast address' + option section 'network.interface' + option datatype 'ip4addr' + +config variable + option name 'ip6addr' + option title 'IPv6 address (CIDR)' + option section 'network.interface' + option datatype 'ip6addr' + +config variable + option name 'ip6gw' + option title 'IPv6 gateway' + option section 'network.interface' + option datatype 'ip6addr' + +config variable + option name 'dns' + option title 'DNS server (IPv4 or IPv6)' + option section 'network.interface' + option datatype 'ipaddr' + option multival true + +config variable + option name 'keepalive' + option title 'keep-alive' + option descriptions 'Number of connection failures before reconnect' + option section 'network.interface' + option datatype 'uint' + list depends proto=pppoe + list depends proto=pptp + +config variable + option name 'demand' + option title 'Dial on-demand' + option description 'Number of seconds to wait before closing the connection due to inactivity' + option section 'network.interface' + option datatype 'uint' + list depends proto=pppoe + list depends proto=pptp + +config variable + option name 'username' + option title 'Username' + option section 'network.interface' + option datatype 'string' + list depends proto=pppoe + list depends proto=pptp + +config variable + option name 'password' + option title 'Password' + option section 'network.interface' + option datatype 'string' + list depends proto=pppoe + list depends proto=pptp + +config variable + option name 'server' + option title 'PPTP server' + option section 'network.interface' + option datatype 'ipaddr' + list depends proto=pptp + +config variable + option name 'proto' + option title 'Protocol' + option section 'network.interface' + option type 'enum' + option required true + +config enum + option variable 'network.interface.proto' + option value 'none' + option title 'Disabled' + +config enum + option variable 'network.interface.proto' + option value 'dhcp' + option title 'Retrieve IP address via DHCP' + option default true + +config enum + option variable 'network.interface.proto' + option value 'pptp' + option title 'Interface is a PPTP tunnel endpoint' + +config enum + option variable 'network.interface.proto' + option value 'static' + option title 'Interface has static network configuration' + +config enum + option variable 'network.interface.proto' + option value 'pppoe' + option title 'Retrieve IP address via PPPoE' + +config variable + option name 'type' + option title 'Option type' + option section 'network.interface' + option type 'enum' + +config enum + option variable 'network.interface.type' + option value 'bridge' + option title 'This is a bridge interface' + + + +config section + option name 'alias' + option title 'Alias interface definition' + option package 'network' + list depends 'proto=static, ipaddr, netmask' + list depends 'proto=static, ip6addr' + option named true + +config variable + option name 'interface' + option title 'Parent interface' + option section 'network.alias' + option valueof 'network.interface' + option required true + +config variable + option name 'ipaddr' + option title 'IPv4 host address' + option section 'network.alias' + option datatype 'ip4addr' + +config variable + option name 'netmask' + option title 'IPv4 network mask' + option section 'network.alias' + option datatype 'ip4addr' + +config variable + option name 'gateway' + option title 'IPv4 gateway' + option section 'network.alias' + option datatype 'ip4addr' + +config variable + option name 'bcast' + option title 'IPv4 broadcast address' + option section 'network.alias' + option datatype 'ip4addr' + +config variable + option name 'ip6addr' + option title 'IPv6 address (CIDR)' + option section 'network.alias' + option datatype 'ip6addr' + +config variable + option name 'ip6gw' + option title 'IPv6 gateway' + option section 'network.alias' + option datatype 'ip6addr' + +config variable + option name 'dns' + option title 'DNS server (IPv4 or IPv6)' + option section 'network.alias' + option datatype 'ipaddr' + +config variable + option name 'proto' + option title 'Protocol' + option section 'network.alias' + option type 'enum' + option required true + +config enum + option variable 'network.alias.proto' + option value 'static' + option title 'Interface has static network configuration' + + + +config section + option name 'route' + option title 'Static route definition' + option package 'network' + +config variable + option name 'interface' + option title 'Interface' + option section 'network.route' + option valueof 'network.interface' + option required true + +config variable + option name 'target' + option title 'Target IPv4 host or network' + option section 'network.route' + option datatype 'ip4addr' + option required true + +config variable + option name 'netmask' + option title 'Target IPv4 netmask' + option section 'network.route' + option datatype 'ip4addr' + +config variable + option name 'gateway' + option title 'IPv4 gateway' + option section 'network.route' + option datatype 'ip4addr' + option required true + + + +config section + option name 'switch' + option title 'Section switch' + option package 'network' + option named true + option dynamic true + option required true diff --git a/modules/admin-core/root/lib/uci/schema/default/system b/modules/admin-core/root/lib/uci/schema/default/system new file mode 100644 index 0000000000..6ce96e573a --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/system @@ -0,0 +1,98 @@ +package system + +config package + option title 'System configuration' + +config section + option name 'system' + option title 'General system configuration' + option package 'system' + option unique true + option required true + +config variable + option name 'hostname' + option title 'Local hostname' + option section 'system.system' + option datatype 'hostname' + option required true + +config variable + option name 'timezone' + option title 'Option timezone' + option section 'system.system' + option required true + +config variable + option name 'log_size' + option section 'system.system' + option title 'System log buffer size (kiB)' + option datatype uint + +config variable + option name 'log_ip' + option section 'system.system' + option title 'External system log server' + option datatype ipaddr + +config variable + option name 'conloglevel' + option section 'system.system' + option title 'Log output level' + option description 'Level of log messages on the console' + option datatype integer + +config section + option name 'led' + option package 'system' + option title 'LED Configuration' + +config variable + option name 'name' + option section 'system.led' + option title 'LED Name' + option required true + +config variable + option name 'sysfs' + option section 'system.led' + option title 'LED Device' + option required true + +config variable + option name 'default' + option section 'system.led' + option title 'Default state' + option datatype boolean + +config variable + option name 'trigger' + option section 'system.led' + option title 'Trigger' + option required true + +config variable + option name 'delayon' + option section 'system.led' + option title 'On-State Delay' + option description 'Time (in ms) the LED is on' + list depends 'trigger=timer' + +config variable + option name 'delayoff' + option section 'system.led' + option title 'Off-State Delay' + option description 'Time (in ms) the LED is off' + list depends 'trigger=timer' + +config variable + option name 'dev' + option section 'system.led' + option title 'Device' + list depends 'trigger=netdev' + +config variable + option name 'mode' + option section 'system.led' + option title 'Trigger Mode' + list depends 'trigger=netdev' diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless new file mode 100644 index 0000000000..823ee2fa4f --- /dev/null +++ b/modules/admin-core/root/lib/uci/schema/default/wireless @@ -0,0 +1,510 @@ +package wireless + +config package + option title 'Wireless LAN' + +config section + option name 'wifi-device' + option package 'wireless' + option title 'Devices' + option named true + +config variable + option name 'disabled' + option section 'wireless.wifi-device' + option title 'disabled' + option datatype boolean + +config variable + option name 'type' + option section 'wireless.wifi-device' + option title 'Type' + option required true + +config variable + option name 'channel' + option section 'wireless.wifi-device' + option title 'Channel' + +config variable + option name 'mode' + option section 'wireless.wifi-device' + option title 'Mode (atheros)' + option type enum + list depends type=atheros + +config enum + option variable 'wireless.wifi-device.mode' + option value '' + option title 'auto' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11b' + option title '802.11b' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11g' + option title '802.11g' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11a' + option title '802.11a' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11bg' + option title '802.11b+g' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11gdt' + option title '802.11adt' + +config enum + option variable 'wireless.wifi-device.mode' + option value '11adt' + option title '802.11adt' + +config enum + option variable 'wireless.wifi-device.mode' + option value 'fh' + option title 'Frequency Hopping' + +config variable + option name 'diversity' + option section 'wireless.wifi-device' + option title 'Diversity (atheros)' + option datatype boolean + list depends type=atheros + +config variable + option name 'txantenna' + option section 'wireless.wifi-device' + option title 'Transmitter Antenna (atheros)' + option datatype uint + list depends type=atheros + +config variable + option name 'rxantenna' + option section 'wireless.wifi-device' + option title 'Receiver Antenna (atheros)' + option datatype uint + list depends type=atheros + +config variable + option name 'distance' + option section 'wireless.wifi-device' + option title 'Distance Optimization (atheros, broadcom)' + option description 'Distance to farthest network member in meters.' + option datatype uint + list depends type=atheros + list depends type=broadcom + +config variable + option name 'macfilter' + option section 'wireless.wifi-device' + option title 'MAC-Address Filter (broadcom)' + option type enum + list depends type=broadcom + +config enum + option variable 'wireless.wifi-device.macfilter' + option value 'deny' + option title 'Allow listed only' + +config enum + option variable 'wireless.wifi-device.macfilter' + option value 'allow' + option title 'Allow all except listed' + +config variable + option name 'maclist' + option section 'wireless.wifi-device' + option title 'MAC-List (broadcom)' + list depends 'type=broadcom, macfilter=allow' + list depends 'type=broadcom, macfilter=deny' + option type lazylist + option datatype macaddr + +config variable + option name 'txant' + option section 'wireless.wifi-device' + option title 'Transmitter Antenna (broadcom)' + option datatype uint + list depends 'type=broadcom' + +config variable + option name 'rxant' + option section 'wireless.wifi-device' + option title 'Receiver Antenna (broadcom)' + option datatype uint + list depends 'type=broadcom' + +config variable + option name 'frameburst' + option section 'wireless.wifi-device' + option title 'Frame Bursting (broadcom)' + option datatype boolean + list depends 'type=broadcom' + +config variable + option name 'country' + option section 'wireless.wifi-device' + option title 'Country Code (broadcom)' + list depends 'type=broadcom' + +config variable + option name 'maxassoc' + option section 'wireless.wifi-device' + option title 'Connection Limit (broadcom)' + option datatype uint + list depends 'type=broadcom' + + +config section + option name 'wifi-iface' + option package 'wireless' + option title 'Interfaces' + +config variable + option name 'device' + option section 'wireless.wifi-iface' + option title 'Wifi Device' + option valueof 'wireless.wifi-device' + +config variable + option name 'ssid' + option section 'wireless.wifi-iface' + option title 'ESSID' + +config variable + option name 'network' + option section 'wireless.wifi-iface' + option title 'Network' + option description 'Add the Wifi network to physical network' + option type reference + list valueof network.interface + +config variable + option name 'mode' + option section 'wireless.wifi-iface' + option title 'Mode' + option required true + option type enum + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'ap' + option title 'Access Point' + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'adhoc' + option title 'Ad-Hoc' + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'sta' + option title 'Client' + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'monitor' + option title 'Monitor' + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'ahdemo' + option title 'Pseudo Ad-Hoc (ahdemo)' + +config enum + option variable 'wireless.wifi-iface.mode' + option value 'wds' + option title 'WDS' + +config variable + option name 'bssid' + option section 'wireless.wifi-iface' + option title BSSID + +config variable + option name 'txpower' + option section 'wireless.wifi-iface' + option title 'Transmit Power (mac80211, atheros)' + option description 'dbm' + option datatype uint + +config variable + option name 'frag' + option section 'wireless.wifi-iface' + option title 'Fragmentation Threshold (mac80211, atheros)' + option datatype uint + +config variable + option name 'rts' + option section 'wireless.wifi-iface' + option title 'RTS/CTS Threshold (mac80211, atheros)' + option datatype uint + +config variable + option name 'wds' + option section 'wireless.wifi-iface' + option title 'WDS (atheros)' + option datatype boolean + list depends 'mode=ap' + list depends 'mode=sta' + +config variable + option name 'wdssep' + option section 'wireless.wifi-iface' + option title 'Separate WDS (atheros)' + option datatype boolean + list depends 'wds=1,mode=ap' + +config variable + option name 'doth' + option section 'wireless.wifi-iface' + option title '802.11h (atheros)' + option datatype boolean + +config variable + option name 'hidden' + option section 'wireless.wifi-iface' + option title 'Hide ESSID (atheros, broadcom)' + option datatype boolean + list depends 'mode=ap' + list depends 'mode=adhoc' + list depends 'mode=wds' + +config variable + option name 'isolate' + option section 'wireless.wifi-iface' + option title 'isolate (atheros, broadcom)' + option datatype boolean + list depends 'mode=ap' + +config variable + option name 'bgscan' + option section 'wireless.wifi-iface' + option title 'Background Scan (atheros)' + option datatype boolean + +config variable + option name 'macpolicy' + option section 'wireless.wifi-iface' + option title 'MAC-Address Filter (atheros)' + option type enum + +config enum + option variable 'wireless.wifi-iface.macpolicy' + option value 'deny' + option title 'Allow listed only' + +config enum + option variable 'wireless.wifi-iface.macpolicy' + option value 'allow' + option title 'Allow all except listed' + +config variable + option name 'maclist' + option section 'wireless.wifi-iface' + option title 'MAC-List (atheros)' + list depends 'macpolicy=allow' + list depends 'macpolicy=deny' + option type lazylist + option datatype macaddr + +config variable + option name 'rate' + option section 'wireless.wifi-iface' + option title 'Transmission Rate (atheros)' + +config variable + option name 'mcast_rate' + option section 'wireless.wifi-iface' + option title 'Multicast Rate (atheros)' + +config variable + option name 'minrate' + option section 'wireless.wifi-iface' + option title 'Minimum Rate (atheros)' + +config variable + option name 'maxrate' + option section 'wireless.wifi-iface' + option title 'Maximum Rate (atheros)' + +config variable + option name 'compression' + option section 'wireless.wifi-iface' + option title 'Compression (atheros)' + option datatype boolean + +config variable + option name 'bursting' + option section 'wireless.wifi-iface' + option title 'Frame Bursting (atheros)' + option datatype boolean + +config variable + option name 'turbo' + option section 'wireless.wifi-iface' + option title 'Turbo Mode (atheros)' + option datatype boolean + +config variable + option name 'ff' + option section 'wireless.wifi-iface' + option title 'Fast Frames (atheros)' + +config variable + option name 'wmm' + option section 'wireless.wifi-iface' + option title 'WMM Mode (atheros)' + option datatype boolean + +config variable + option name 'xr' + option section 'wireless.wifi-iface' + option title 'XR Support (atheros)' + option datatype boolean + +config variable + option name 'ar' + option section 'wireless.wifi-iface' + option title 'AR Support (atheros)' + option datatype boolean + +config variable + option name 'encryption' + option section 'wireless.wifi-iface' + option title 'Encryption' + option description 'WPA-Encryption requires wpa_supplicant (for client mode) or hostapd (for AP and ad-hoc mode) to be installed.' + option type enum + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'none' + option title 'No Encryption' + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'wep' + option title 'WEP' + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'psk' + option title 'WPA-PSK' + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'psk2' + option title 'WPA2-PSK' + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'wpa' + option title 'WPA-EAP' + +config enum + option variable 'wireless.wifi-iface.encryption' + option value 'wpa2i' + option title 'WPA2-EAP' + +config variable + option name 'server' + option section 'wireless.wifi-iface' + option title 'RadiusServer' + list depends 'encryption=wpa,mode=ap' + list depends 'encryption=wpa2i,mode=ap' + option datatype host + +config variable + option name 'port' + option section 'wireless.wifi-iface' + option title 'Radius-Port' + list depends 'encryption=wpa,mode=ap' + list depends 'encryption=wpa2i,mode=ap' + option datatype port + +config variable + option name 'key' + option section 'wireless.wifi-iface' + option title 'Key' + list depends 'encryption=wep' + list depends 'encryption=psk' + list depends 'encryption=wpa,mode=ap' + list depends 'encryption=psk2' + list depends 'encryption=wpa2i,mode=ap' + +config variable + option name 'nasid' + option section 'wireless.wifi-iface' + option title 'NAS ID' + list depends 'encryption=wpa,mode=ap' + list depends 'encryption=wpa2i,mode=ap' + +config variable + option name 'eap_type' + option section 'wireless.wifi-iface' + option title 'EAP-Method' + option type enum + list depends 'encryption=wpa,mode=sta' + list depends 'encryption=wpa2i,mode=sta' + +config enum + option variable 'wireless.wifi-iface.eap_type' + option value 'TLS' + +config enum + option variable 'wireless.wifi-iface.eap_type' + option value 'PEAP' + +config variable + option name 'ca_cert' + option section 'wireless.wifi-iface' + option title 'Path to CA-Certificate' + list depends 'encryption=wpa,mode=sta' + list depends 'encryption=wpa2i,mode=sta' + option datatype file + +config variable + option name 'priv_key' + option section 'wireless.wifi-iface' + option title 'Path to Private Key' + list depends 'mode=sta,encryption=wpa2i,eap_type=TLS' + list depends 'mode=sta,encryption=wpa,eap_type=TLS' + option datatype file + + +config variable + option name 'priv_key_pwd' + option section 'wireless.wifi-iface' + option title 'Password of Private Key' + list depends 'mode=sta,encryption=wpa2i,eap_type=TLS' + list depends 'mode=sta,encryption=wpa,eap_type=TLS' + +config variable + option name 'auth' + option section 'wireless.wifi-iface' + option title 'PEAP-Authentication' + list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' + list depends 'mode=sta,encryption=wpa,eap_type=PEAP' + +config variable + option name 'identity' + option section 'wireless.wifi-iface' + option title 'PEAP-Identity' + list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' + list depends 'mode=sta,encryption=wpa,eap_type=PEAP' + +config variable + option name 'password' + option section 'wireless.wifi-iface' + option title 'PEAP-Password' + list depends 'mode=sta,encryption=wpa2i,eap_type=PEAP' + list depends 'mode=sta,encryption=wpa,eap_type=PEAP' |