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)
26 <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
27 <displaytext value="Configure interface" />
28 <config screen="AdapterSetup" module="NetworkSetup" args="self.selectedInterface" type="ConfigList" />
30 self.clearSelectedKeys()
33 self.selectKey("DOWN")
34 self.selectKey("LEFT")
35 self.selectKey("RIGHT")
37 <code pos="after" async="yes">
38 self.AdapterSetupEnd(self.selectedInterface)
41 <step id="confdns" nextstep="checklanstatusend">
42 <text value="Please configure or verify your Nameservers by filling out the required values.\nWhen you are ready press OK to continue." />
43 <displaytext value="Configure nameservers" />
44 <config screen="NameserverSetup" module="NetworkSetup" type="ConfigList" />
46 self.clearSelectedKeys()
49 <code pos="after" async="yes">
53 <step id="checklanstatusend" nextstep="end">
55 self.condition = (self.InterfaceState == True )
57 <text value="Your Dreambox is now ready to use.\n\nYour internet connection is working now.\n\nPlease press OK to continue." />
58 <displaytext value="Please follow the instructions on the TV" />
60 self.clearSelectedKeys()
64 currStep = self.numSteps
65 self.wizard[currStep]["nextstep"] = None
70 <step id="checklanstatusend">
72 self.condition = (self.InterfaceState == False )
74 <text value="Your internet connection is not working!\nPlease choose what you want to do next." />
75 <displaytext value="Please follow the instructions on the TV" />
77 self.clearSelectedKeys()
80 self.selectKey("DOWN")
83 <listentry caption="Configure your network again" step="selectinterface" />
84 <listentry caption="Exit network wizard" step="end" />
89 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == True)
91 <text value="Please select the wireless network that you want to connect to.\n\nPlease press OK to continue." />
92 <displaytext value="Select wireless network" />
93 <list type="dynamic" source="listAccessPoints" evaluation="AccessPointsSelectionMade" onselect="AccessPointsSelectionMoved" />
95 self.clearSelectedKeys()
98 self.selectKey("DOWN")
99 self.selectKey("LEFT")
100 self.selectKey("RIGHT")
103 self.checkWlanSelection()
108 self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == True)
110 <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." />
111 <displaytext value="Please follow the instructions on the TV" />
113 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
114 <listentry caption="Configure your internal LAN" step="selectinterface" />
115 <listentry caption="Exit network wizard" step="end" />
118 self.clearSelectedKeys()
121 self.selectKey("DOWN")
126 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == False)
128 <text value="The wireless LAN plugin is not installed!\nPlease install it and choose what you want to do next." />
129 <displaytext value="Please follow the instructions on the TV" />
131 <listentry caption="Configure your internal LAN" step="selectinterface" />
132 <listentry caption="Exit network wizard" step="end" />
135 self.clearSelectedKeys()
138 self.selectKey("DOWN")
141 <step id="wlanconfig">
142 <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
143 <displaytext value="Configure interface" />
144 <config screen="AdapterSetup" module="NetworkSetup" args="(self.selectedInterface,self.ap,self.WlanList)" type="ConfigList" />
146 self.clearSelectedKeys()
149 self.selectKey("DOWN")
150 self.selectKey("LEFT")
151 self.selectKey("RIGHT")
153 <code pos="after" async="yes">
154 self.AdapterSetupEnd(self.selectedInterface)
157 <step id="checkWlanstatusend" nextstep="end">
159 self.condition = (self.InterfaceState == True )
161 <text value="Your Dreambox is now ready to use.\n\nYour internet connection is working now.\n\nPlease press OK to continue." />
162 <displaytext value="Please follow the instructions on the TV" />
164 self.clearSelectedKeys()
166 self["text"].setText(self.Text)
169 currStep = self.numSteps
170 self.wizard[currStep]["nextstep"] = None
175 <step id="checkWlanstatusend">
177 self.condition = (self.InterfaceState == False )
179 <text value="Your internet connection is not working!\nPlease choose what you want to do next." />
180 <displaytext value="Please follow the instructions on the TV" />
182 self.clearSelectedKeys()
185 self.selectKey("DOWN")
188 <listentry caption="Configure your network again" step="selectinterface" />
189 <listentry caption="Exit network wizard" step="end" />
194 <text value="Thank you for using the wizard.\nPlease press OK to continue." />
196 self.clearSelectedKeys()