2 <step id="welcome" nextstep="selectinterface">
3 <text value="Welcome.\n\nIf you want to connect your Dreambox to the Internet, this wizard will guide you through the basic network setup of your Dreambox.\n\nPress OK to start configuring your network" />
4 <displaytext value="Network Wizard" />
6 self.clearSelectedKeys()
11 <step id="selectinterface">
12 <text value="Please select the network interface that you want to use for your internet connection.\n\nPlease press OK to continue." />
13 <displaytext value="Select interface" />
14 <list type="dynamic" source="listInterfaces" evaluation="InterfaceSelectionMade" onselect="InterfaceSelectionMoved" />
16 self.clearSelectedKeys()
19 self.selectKey("DOWN")
21 <code pos="after" async="yes">
22 self.checkInterface(self.selectedInterface)
27 <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
28 <displaytext value="Configure interface" />
29 <config screen="AdapterSetup" module="NetworkSetup" args="self.selectedInterface" type="ConfigList" />
31 self.clearSelectedKeys()
34 self.selectKey("DOWN")
35 self.selectKey("LEFT")
36 self.selectKey("RIGHT")
38 <code pos="after" async="yes">
39 self.AdapterSetupEnd(self.selectedInterface)
43 <step id="confdns" nextstep="checklanstatusend">
44 <text value="Please configure or verify your Nameservers by filling out the required values.\nWhen you are ready press OK to continue." />
45 <displaytext value="Configure nameservers" />
46 <config screen="NameserverSetup" module="NetworkSetup" type="ConfigList" />
48 self.clearSelectedKeys()
51 <code pos="after" async="yes">
56 <step id="checklanstatusend" nextstep="end">
58 self.condition = (self.InterfaceState == True )
60 <text value="Your Dreambox is now ready to use.\n\nYour internet connection is working now.\n\nPlease press OK to continue." />
61 <displaytext value="Please follow the instructions on the TV" />
63 self.clearSelectedKeys()
67 currStep = self.numSteps
68 self.wizard[currStep]["nextstep"] = None
74 <step id="checklanstatusend">
76 self.condition = (self.InterfaceState == False )
78 <text value="Your internet connection is not working!\nPlease choose what you want to do next." />
79 <displaytext value="Please follow the instructions on the TV" />
81 self.clearSelectedKeys()
84 self.selectKey("DOWN")
87 <listentry caption="Configure your network again" step="selectinterface" />
88 <listentry caption="Exit network wizard" step="end" />
92 <step id="scanwlan" nextstep="wlanconfig">
94 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == True)
96 <text value="Please select the wireless network that you want to connect to.\n\nPlease press OK to continue." />
97 <displaytext value="Select wireless network" />
98 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
100 self.clearSelectedKeys()
103 self.selectKey("DOWN")
104 self.selectKey("LEFT")
105 self.selectKey("RIGHT")
111 self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == True)
113 <text value="Your wireless LAN internet connection could not be started!\nHave you attached your USB WLAN Stick?\n\nPlease choose what you want to do next." />
114 <displaytext value="Please follow the instructions on the TV" />
116 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
117 <listentry caption="Configure your internal LAN" step="selectinterface" />
118 <listentry caption="Exit network wizard" step="end" />
121 self.clearSelectedKeys()
124 self.selectKey("DOWN")
130 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == False)
132 <text value="The wireless LAN plugin is not installed!\nPlease install it and choose what you want to do next." />
133 <displaytext value="Please follow the instructions on the TV" />
135 <listentry caption="Configure your internal LAN" step="selectinterface" />
136 <listentry caption="Exit network wizard" step="end" />
139 self.clearSelectedKeys()
142 self.selectKey("DOWN")
146 <step id="wlanconfig">
147 <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
148 <displaytext value="Configure interface" />
149 <config screen="AdapterSetup" module="NetworkSetup" args="(self.selectedInterface,self.ap,self.WlanList)" type="ConfigList" />
151 self.clearSelectedKeys()
154 self.selectKey("DOWN")
155 self.selectKey("LEFT")
156 self.selectKey("RIGHT")
158 <code pos="after" async="yes">
159 self.AdapterSetupEnd(self.selectedInterface)
164 <text value="Thank you for using the wizard.\nPlease press OK to continue." />
166 self.clearSelectedKeys()