network_interface_demand_desc = 'Time (in seconds) after which an unused connection will be closed'
network_interface_keepalive = 'Keep-Alive'
network_interface_keepalive_desc = 'Number of failed connection tests to initiate automatic reconnect'
+network_interface_device = 'Modem device'
+network_interface_device_desc = 'The device node of your modem, e.g. /dev/ttyUSB0'
+network_interface_defaultroute = 'Replace default route'
+network_interface_defaultroute_desc = 'Let pppd replace the current default route to use the PPP interface after successful connect'
+network_interface_peerdns = 'Use peer DNS'
+network_interface_peerdns_desc = 'Configure the local DNS server to use the name servers adverticed by the PPP peer'
+network_interface_ipv6 = 'Enable IPv6 on PPP link'
+network_interface_connect = 'Connect script'
+network_interface_connect_desc = 'Let pppd run this script after establishing the PPP link'
+network_interface_disconnect = 'Disconnect script'
+network_interface_disconnect_desc = 'Let pppd run this script before tearing down the PPP link'
+network_interface_pppd_options = 'Additional pppd options'
+network_interface_pppd_options_desc = 'Specify additional command line arguments for pppd here'
a_n_r_routes1 = 'Routes specify over which interface and gateway a certain host or network can be reached.'
a_n_routes_static = 'Static Routes'
a_n_routes_kernel4 = 'Active <abbr title="Internet Protocol Version 4">IPv4</abbr>-Routes'
<i18n:msg xml:id="network_interface_demand_desc">Time (in seconds) after which an unused connection will be closed</i18n:msg>
<i18n:msg xml:id="network_interface_keepalive">Keep-Alive</i18n:msg>
<i18n:msg xml:id="network_interface_keepalive_desc">Number of failed connection tests to initiate automatic reconnect</i18n:msg>
+<i18n:msg xml:id="network_interface_device">Modem device</i18n:msg>
+<i18n:msg xml:id="network_interface_device_desc">The device node of your modem, e.g. /dev/ttyUSB0</i18n:msg>
+<i18n:msg xml:id="network_interface_defaultroute">Replace default route</i18n:msg>
+<i18n:msg xml:id="network_interface_defaultroute_desc">Let pppd replace the current default route to use the PPP interface after successful connect</i18n:msg>
+<i18n:msg xml:id="network_interface_peerdns">Use peer DNS</i18n:msg>
+<i18n:msg xml:id="network_interface_peerdns_desc">Configure the local DNS server to use the name servers adverticed by the PPP peer</i18n:msg>
+<i18n:msg xml:id="network_interface_ipv6">Enable IPv6 on PPP link</i18n:msg>
+<i18n:msg xml:id="network_interface_connect">Connect script</i18n:msg>
+<i18n:msg xml:id="network_interface_connect_desc">Let pppd run this script after establishing the PPP link</i18n:msg>
+<i18n:msg xml:id="network_interface_disconnect">Disconnect script</i18n:msg>
+<i18n:msg xml:id="network_interface_disconnect_desc">Let pppd run this script before tearing down the PPP link</i18n:msg>
+<i18n:msg xml:id="network_interface_pppd_options">Additional pppd options</i18n:msg>
+<i18n:msg xml:id="network_interface_pppd_options_desc">Specify additional command line arguments for pppd here</i18n:msg>
<i18n:msg xml:id="a_n_r_routes1">Routes specify over which interface and gateway a certain host or network can be reached.</i18n:msg>
<i18n:msg xml:id="a_n_routes_static">Static Routes</i18n:msg>
<i18n:msg xml:id="a_n_routes_kernel4">Active <abbr title="Internet Protocol Version 4">IPv4</abbr>-Routes</i18n:msg>
cbi_gorel = 'Go to relevant configuration page'
cbi_applying = 'Applying changes'
cbi_upload = 'Uploaded File'
+cbi_browser = 'Search file...'
<i18n:msg xml:id="cbi_gorel">Go to relevant configuration page</i18n:msg>
<i18n:msg xml:id="cbi_applying">Applying changes</i18n:msg>
<i18n:msg xml:id="cbi_upload">Uploaded File</i18n:msg>
+<i18n:msg xml:id="cbi_browser">Search file...</i18n:msg>
</i18n:msgs>
network_interface_keepalive = 'Keep-Alive'
network_interface_keepalive_desc = 'Anzahl fehlgeschlagener Verbindungstests nach der automatisch neu verbunden wird'
network_interface_server = 'PPTP-Server'
+network_interface_device = 'Modemgerät'
+network_interface_device_desc = 'Geräteknoten des Modems, z.B. /dev/ttyUSB0'
+network_interface_defaultroute = 'Standardroute ersetzen'
+network_interface_defaultroute_desc = 'Lässt pppd die aktuelle Standardroute ersetzen und über die PPP Schnittstelle leiten'
+network_interface_peerdns = 'DNS der Gegenstelle nutzen'
+network_interface_peerdns_desc = 'Konfiguriert den lokalen DNS-Server so, dass er die von der Gegenstelle angekündigten Nameserver-Adressen nutzt'
+network_interface_ipv6 = 'IPv6 für die PPP-Verbindung aktivieren'
+network_interface_connect = 'Verbindungs-Script'
+network_interface_connect_desc = 'Lässt pppd das angegebene Script nach dem Aufbau der PPP Verbindung abarbeiten'
+network_interface_disconnect = 'Trennuns-Script'
+network_interface_disconnect_desc = 'Lässt pppd das angegebene Script vor dem Trennen der PPP Verbindung abarbeiten'
+network_interface_pppd_options = 'Weitere pppd Optionen'
+network_interface_pppd_options_desc = 'Hier können zusätzliche Kommandozeilenargumente für pppd angegeben werden'
network_switch_desc = 'Die zu einem VLAN gehörenden Schnittstellen werden durch Leerzeichen getrennt. Die Schnittstelle mit der höchsten Nummer (meistens 5) bildet in der Regel die Verbindung zur internen Netzschnittstelle des Routers. Bei Geräten mit 5 Schnittstellen ist in der Regel die Schnittstelle mit der niedrigsten Nummer (0) die standardmäßige Uplinkschnittstelle des Routers.'
noise = 'Rausch'
power = 'Leistung'
<i18n:msg xml:id="network_interface_keepalive">Keep-Alive</i18n:msg>
<i18n:msg xml:id="network_interface_keepalive_desc">Anzahl fehlgeschlagener Verbindungstests nach der automatisch neu verbunden wird</i18n:msg>
<i18n:msg xml:id="network_interface_server">PPTP-Server</i18n:msg>
+<i18n:msg xml:id="network_interface_device">Modemgerät</i18n:msg>
+<i18n:msg xml:id="network_interface_device_desc">Geräteknoten des Modems, z.B. /dev/ttyUSB0</i18n:msg>
+<i18n:msg xml:id="network_interface_defaultroute">Standardroute ersetzen</i18n:msg>
+<i18n:msg xml:id="network_interface_defaultroute_desc">Lässt pppd die aktuelle Standardroute ersetzen und über die PPP Schnittstelle leiten</i18n:msg>
+<i18n:msg xml:id="network_interface_peerdns">DNS der Gegenstelle nutzen</i18n:msg>
+<i18n:msg xml:id="network_interface_peerdns_desc">Konfiguriert den lokalen DNS-Server so, dass er die von der Gegenstelle angekündigten Nameserver-Adressen nutzt</i18n:msg>
+<i18n:msg xml:id="network_interface_ipv6">IPv6 für die PPP-Verbindung aktivieren</i18n:msg>
+<i18n:msg xml:id="network_interface_connect">Verbindungs-Script</i18n:msg>
+<i18n:msg xml:id="network_interface_connect_desc">Lässt pppd das angegebene Script nach dem Aufbau der PPP Verbindung abarbeiten</i18n:msg>
+<i18n:msg xml:id="network_interface_disconnect">Trennuns-Script</i18n:msg>
+<i18n:msg xml:id="network_interface_disconnect_desc">Lässt pppd das angegebene Script vor dem Trennen der PPP Verbindung abarbeiten</i18n:msg>
+<i18n:msg xml:id="network_interface_pppd_options">Weitere pppd Optionen</i18n:msg>
+<i18n:msg xml:id="network_interface_pppd_options_desc">Hier können zusätzliche Kommandozeilenargumente für pppd angegeben werden</i18n:msg>
<i18n:msg xml:id="network_switch_desc">Die zu einem VLAN gehörenden Schnittstellen werden durch Leerzeichen getrennt. Die Schnittstelle mit der höchsten Nummer (meistens 5) bildet in der Regel die Verbindung zur internen Netzschnittstelle des Routers. Bei Geräten mit 5 Schnittstellen ist in der Regel die Schnittstelle mit der niedrigsten Nummer (0) die standardmäßige Uplinkschnittstelle des Routers.</i18n:msg>
<i18n:msg xml:id="noise">Rausch</i18n:msg>
cbi_gorel = 'Gehe zu relevanter Konfigurationsseite'
cbi_applying = 'Änderungen werden angewandt'
cbi_upload = 'hochgeladene Datei'
+cbi_browser = 'Datei suchen...'
<i18n:msg xml:id="cbi_gorel">Gehe zu relevanter Konfigurationsseite</i18n:msg>
<i18n:msg xml:id="cbi_applying">Änderungen werden angewandt</i18n:msg>
<i18n:msg xml:id="cbi_upload">hochgeladene Datei</i18n:msg>
+<i18n:msg xml:id="cbi_browser">Datei suchen...</i18n:msg>
</i18n:msgs>
p:value("static", translate("static"))
p:value("dhcp", "DHCP")
p:value("pppoe", "PPPoE")
+p:value("ppp", "PPP")
p:value("pptp", "PPTP")
p.default = "static"
end
local zones = luci.tools.webadmin.network_get_zones(arg[1])
-if zones then
+if zones then
if #zones == 0 then
m:chain("firewall")
-
- fwzone = s:option(Value, "_fwzone",
+
+ fwzone = s:option(Value, "_fwzone",
translate("network_interface_fwzone"),
translate("network_interface_fwzone_desc"))
fwzone.rmempty = true
fwzone:value(section.name)
end
)
-
- function fwzone.write(self, section, value)
+
+ function fwzone.write(self, section, value)
local zone = luci.tools.webadmin.firewall_find_zone(value)
local stat
-
+
if not zone then
stat = m.uci:section("firewall", "zone", nil, {
name = value,
net = (net or value) .. " " .. section
stat = m.uci:set("firewall", zone, "network", net)
end
-
+
if stat then
self.render = function() end
end
user.rmempty = true
user:depends("proto", "pptp")
user:depends("proto", "pppoe")
+user:depends("proto", "ppp")
pass = s:option(Value, "password", translate("password"))
pass.rmempty = true
pass:depends("proto", "pptp")
pass:depends("proto", "pppoe")
+pass:depends("proto", "ppp")
ka = s:option(Value, "keepalive",
translate("network_interface_keepalive"),
ka.rmempty = true
ka:depends("proto", "pptp")
ka:depends("proto", "pppoe")
+ka:depends("proto", "ppp")
-demand = s:option(Value, "demand",
+demand = s:option(Value, "demand",
translate("network_interface_demand"),
translate("network_interface_demand_desc")
)
demand.rmempty = true
demand:depends("proto", "pptp")
demand:depends("proto", "pppoe")
+demand:depends("proto", "ppp")
+device = s:option(Value, "device",
+ translate("network_interface_device"),
+ translate("network_interface_device_desc")
+)
+device.rmempty = true
+device:depends("proto", "ppp")
+
+defaultroute = s:option(Flag, "defaultroute",
+ translate("network_interface_defaultroute"),
+ translate("network_interface_defaultroute_desc")
+)
+defaultroute:depends("proto", "ppp")
+peerdns = s:option(Flag, "peerdns",
+ translate("network_interface_peerdns"),
+ translate("network_interface_peerdns_desc")
+)
+peerdns:depends("proto", "ppp")
+
+ipv6 = s:option(Flag, "ipv6", translate("network_interface_ipv6") )
+ipv6:depends("proto", "ppp")
+
+connect = s:option(Value, "connect",
+ translate("network_interface_connect"),
+ translate("network_interface_connect_desc")
+)
+connect.rmempty = true
+connect:depends("proto", "ppp")
+
+disconnect = s:option(Value, "disconnect",
+ translate("network_interface_disconnect"),
+ translate("network_interface_disconnect_desc")
+)
+disconnect.rmempty = true
+disconnect:depends("proto", "ppp")
+
+pppd_options = s:option(Value, "pppd_options",
+ translate("network_interface_pppd_options"),
+ translate("network_interface_pppd_options_desc")
+)
+pppd_options.rmempty = true
+pppd_options:depends("proto", "ppp")
s2 = m:section(TypedSection, "alias", translate("aliases"))