4.2.0r15
[enigma2.git] / usr / lib / enigma2 / python / Plugins / SystemPlugins / NetworkManager / networkwizard.xml
1 <wizard>
2         <step id="start" nextstep="alreadyconnected">
3                 <text
4                         value="Welcome.\n\nIf you want to connect your Dreambox to a network and/or the Internet, this wizard will guide you through the basic network setup of your Dreambox.\n\nPress OK to start configuring your network" />
5                 <short_title value="Network connection" />
6                 <code>
7 self.clearSelectedKeys()
8 self.selectKey("OK")
9                 </code>
10                 <condition>
11 self.condition = not self.isNetworkConnected()
12                 </condition>
13         </step>
14         <step id="alreadyconnected">
15                 <text value="Your Dreambox is already connected to the Internet.\nThere is no configuration required." />
16                 <short_title value="Connected" />
17                 <list>
18                         <listentry caption="Exit wizard" step="end" />
19                         <listentry caption="Run the Network wizard anyways" step="technologies" />
20                 </list>
21                 <condition>
22 self.condition = self.isNetworkConnected()
23                 </condition>
24         </step>
25         <step id="technologies" nextstep="services">
26                 <text
27                         value="Please select one or more network technologies that should be used to connect your Dreambox to a Network and/or the Internet.\n\nYou may want to plug in USB Networking devices now (if you want to use any)." />
28                 <short_title value="Network technologies" />
29                 <config type="dynamic" source="getTechnologyConfig" evaluation="technologiesSet" />
30         </step>
31         <step id="services" nextstep="noconnection">
32                 <text value="Please select the network service(s) you want to connect your Dreambox to.\nIt may take a few moments before wireless networks show up in the list below!" />
33                 <short_title value="Network services" />
34                 <list type="dynamic" source="getServiceList" />
35         </step>
36         <step id="noconnection">
37                 <text value="There is no active connection." />
38                 <short_title value="No Connection" />
39                 <list>
40                         <listentry caption="Start over" step="technologies" />
41                         <listentry caption="Exit wizard" step="end" />
42                 </list>
43                 <condition>
44 self.condition = not self.isNetworkConnected()
45                 </condition>
46         </step>
47         <step id="addressconfig" nextstep="dnsconfig">
48                 <text value="Please configure at least on set of IP Addresses (IPv4 or IPv6)." />
49                 <short_title value="IP Addresses" />
50                 <config type="dynamic" source="getAddressConfig" evaluation="saveAddressConfig" />
51                 <condition>
52 self.condition = self.ipConfigurationRequired()
53                 </condition>
54         </step>
55         <step id="dnsconfig" nextstep="end">
56                 <text value="Please configure at least one valid Nameserver (DNS)." />
57                 <short_title value="DNS Addresses" />
58                 <config type="dynamic" source="getNameserverConfig" evaluation="saveNameserverConfig" />
59                 <condition>
60 self.condition = not self.isOnline()
61                 </condition>
62         </step>
63         <step id="end" laststep="true">
64                 <condition>
65 self.condition = not self.isNetworkConnected()
66                 </condition>
67                 <text value="Your Network connection is NOT set up!\nPlease go back to reconfigure or press OK to continue anyways." />
68                 <short_title value="No network" />
69         </step>
70 </wizard>
71