2 <step id="welcome" nextstep="introduction">
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" />
5 self["arrowdown"].moveTo(557, 232, 1)
6 self["arrowdown"].startMoving()
7 self["arrowup"].moveTo(800, 232, 1)
8 self["arrowup"].startMoving()
9 self["arrowup2"].moveTo(800, 320, 1)
10 self["arrowup2"].startMoving()
11 self["arrowup3"].moveTo(800, 320, 1)
12 self["arrowup3"].startMoving()
13 self["rc"].moveTo(500, 50, 1)
14 self["rc"].startMoving()
18 <step id="introduction" >
20 self.condition = (self.InterfaceAvailable == True )
22 <text value="Use the up/down keys on your remote control to select an option. After that, press OK.\n\n\n\nConnect to the internet..." />
24 <listentry caption="via LAN." step="conflan" />
25 <listentry caption="via wireless LAN." step="scanwlan" />
26 <listentry caption="Exit wizard and configure later manually" step="end" />
29 self["arrowup2"].moveTo(800, 320, 1)
30 self["arrowup2"].startMoving()
31 self["arrowdown"].moveTo(557, 200, 1)
32 self["arrowup"].moveTo(557, 355, 1)
33 self["arrowdown"].startMoving()
34 self["arrowup"].startMoving()
35 self["rc"].moveTo(500, 50, 1)
36 self["rc"].startMoving()
40 <step id="introduction" >
42 self.condition = (self.InterfaceAvailable == False )
44 <text value="Use the up/down keys on your remote control to select an option. After that, press OK.\n\n\n\nConnect to the internet..." />
46 <listentry caption="via LAN." step="conflan" />
47 <listentry caption="Exit wizard and configure later manually" step="end" />
50 self["arrowup2"].moveTo(800, 320, 1)
51 self["arrowup2"].startMoving()
52 self["arrowdown"].moveTo(557, 200, 1)
53 self["arrowup"].moveTo(557, 355, 1)
54 self["arrowdown"].startMoving()
55 self["arrowup"].startMoving()
56 self["rc"].moveTo(500, 50, 1)
57 self["rc"].startMoving()
61 <step id="conflan" nextstep="conflandns">
62 <text value="Please configure your LAN internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
63 <config screen="AdapterSetup" module="NetworkSetup" args="'eth0'" type="ConfigList" />
65 self.checkInterface('eth0')
68 self["arrowup2"].moveTo(525, 320, 1)
69 self["arrowup2"].startMoving()
70 self["arrowup3"].moveTo(590, 320, 1)
71 self["arrowup3"].startMoving()
72 self["arrowdown"].moveTo(557, 200, 1)
73 self["arrowup"].moveTo(557, 355, 1)
74 self["arrowdown"].startMoving()
75 self["arrowup"].startMoving()
76 self["rc"].moveTo(500, 50, 1)
77 self["rc"].startMoving()
81 <step id="conflandns" nextstep="checklanstatusend">
82 <text value="Please configure or verify your Nameservers by filling out the required values.\nWhen you are ready press OK to continue." />
83 <config screen="NameserverSetup" module="NetworkSetup" type="ConfigList" />
85 self["arrowup2"].moveTo(525, 320, 1)
86 self["arrowup2"].startMoving()
87 self["arrowup3"].moveTo(590, 320, 1)
88 self["arrowup3"].startMoving()
89 self["arrowdown"].moveTo(557, 200, 1)
90 self["arrowup"].moveTo(557, 355, 1)
91 self["arrowdown"].startMoving()
92 self["arrowup"].startMoving()
93 self["rc"].moveTo(500, 50, 1)
94 self["rc"].startMoving()
101 <step id="checklanstatusend" nextstep="end">
103 self.condition = (self.InterfaceState == True )
105 <text value="Your Dreambox is now ready to use.\n\nYour LAN internet connection is working now.\n\nPlease press OK to continue." />
107 self["arrowdown"].moveTo(557, 232, 1)
108 self["arrowdown"].startMoving()
109 self["arrowup"].moveTo(800, 232, 1)
110 self["arrowup"].startMoving()
111 self["arrowup2"].moveTo(800, 320, 1)
112 self["arrowup2"].startMoving()
113 self["arrowup3"].moveTo(800, 320, 1)
114 self["arrowup3"].startMoving()
115 self["rc"].moveTo(500, 50, 1)
116 self["rc"].startMoving()
120 <step id="checklanstatusend">
122 self.condition = (self.InterfaceState == False )
124 <text value="Your LAN internet connection is not working!\nPlease choose what you want to do next." />
126 self["arrowdown"].moveTo(557, 232, 1)
127 self["arrowdown"].startMoving()
128 self["arrowup"].moveTo(800, 232, 1)
129 self["arrowup"].startMoving()
130 self["arrowup2"].moveTo(800, 320, 1)
131 self["arrowup2"].startMoving()
132 self["arrowup3"].moveTo(800, 320, 1)
133 self["arrowup3"].startMoving()
134 self["rc"].moveTo(500, 50, 1)
135 self["rc"].startMoving()
138 <listentry caption="Configure your LAN again" step="conflan" />
139 <listentry caption="Configure your wireless LAN" step="scanwlan" />
140 <listentry caption="Exit wizard and configure later manually" step="end" />
145 <step id="scanwlan" nextstep="wlanconfig">
147 self.checkInterface('wlan0')
148 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == True)
150 <text value="Please select the wireless LAN network that you want to connect to.\n\nPlease press OK to continue." />
151 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
153 self["arrowup2"].moveTo(800, 320, 1)
154 self["arrowup2"].startMoving()
155 self["arrowdown"].moveTo(557, 200, 1)
156 self["arrowup"].moveTo(557, 355, 1)
157 self["arrowdown"].startMoving()
158 self["arrowup"].startMoving()
159 self["rc"].moveTo(500, 50, 1)
160 self["rc"].startMoving()
163 self.saveAccessPoint(self.ap)
169 self.checkInterface('wlan0')
170 self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == True)
172 <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." />
174 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
175 <listentry caption="Configure your internal LAN" step="conflan" />
176 <listentry caption="Exit wizard and configure later manually" step="end" />
179 self["arrowup2"].moveTo(800, 320, 1)
180 self["arrowup2"].startMoving()
181 self["arrowdown"].moveTo(557, 200, 1)
182 self["arrowup"].moveTo(557, 355, 1)
183 self["arrowdown"].startMoving()
184 self["arrowup"].startMoving()
185 self["rc"].moveTo(500, 50, 1)
186 self["rc"].startMoving()
192 self.checkInterface('wlan0')
193 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == False)
195 <text value="The wireless LAN plugin is not installed!\nPlease install it and choose what you want to do next." />
197 <listentry caption="Configure your internal LAN" step="conflan" />
198 <listentry caption="Exit wizard and configure later manually" step="end" />
201 self["arrowup2"].moveTo(800, 320, 1)
202 self["arrowup2"].startMoving()
203 self["arrowdown"].moveTo(557, 200, 1)
204 self["arrowup"].moveTo(557, 355, 1)
205 self["arrowdown"].startMoving()
206 self["arrowup"].startMoving()
207 self["rc"].moveTo(500, 50, 1)
208 self["rc"].startMoving()
213 <step id="wlanconfig" nextstep="confwlandns" timeout="60" timeoutaction="selectnext">
214 <text value="Please configure your wireless LAN internet connection by filling out the required values.\nWhen you are done, press OK to continue." />
215 <config screen="AdapterSetup" module="NetworkSetup" args="'wlan0'" type="ConfigList" />
217 self["arrowup2"].moveTo(525, 320, 1)
218 self["arrowup2"].startMoving()
219 self["arrowup3"].moveTo(590, 320, 1)
220 self["arrowup3"].startMoving()
221 self["arrowdown"].moveTo(557, 200, 1)
222 self["arrowup"].moveTo(557, 355, 1)
223 self["arrowdown"].startMoving()
224 self["arrowup"].startMoving()
225 self["rc"].moveTo(500, 50, 1)
226 self["rc"].startMoving()
230 <step id="confwlandns" nextstep="checkwlanstatusend">
231 <text value="Please configure or verify your Nameservers by filling out the required values.\nWhen you are ready press OK to continue." />
232 <config screen="NameserverSetup" module="NetworkSetup" type="ConfigList" />
234 self["arrowup2"].moveTo(525, 320, 1)
235 self["arrowup2"].startMoving()
236 self["arrowup3"].moveTo(590, 320, 1)
237 self["arrowup3"].startMoving()
238 self["arrowdown"].moveTo(557, 200, 1)
239 self["arrowup"].moveTo(557, 355, 1)
240 self["arrowdown"].startMoving()
241 self["arrowup"].startMoving()
242 self["rc"].moveTo(500, 50, 1)
243 self["rc"].startMoving()
250 <step id="checkwlanstatusend" nextstep="end">
252 self.condition = (self.InterfaceState == True )
254 <text value="Your Dreambox is now ready to use.\n\nYour wireless LAN internet connection is working now.\n\nPlease press OK to continue." />
256 self["arrowdown"].moveTo(557, 232, 1)
257 self["arrowdown"].startMoving()
258 self["arrowup"].moveTo(800, 232, 1)
259 self["arrowup"].startMoving()
260 self["arrowup2"].moveTo(800, 320, 1)
261 self["arrowup2"].startMoving()
262 self["arrowup3"].moveTo(800, 320, 1)
263 self["arrowup3"].startMoving()
264 self["rc"].moveTo(500, 50, 1)
265 self["rc"].startMoving()
269 <step id="checkwlanstatusend">
271 self.condition = (self.InterfaceState == False )
273 <text value="Your wireless LAN internet connection is not working!\nPlease choose what you want to do next." />
275 self["arrowup2"].moveTo(800, 320, 1)
276 self["arrowup2"].startMoving()
277 self["arrowdown"].moveTo(557, 200, 1)
278 self["arrowup"].moveTo(557, 355, 1)
279 self["arrowdown"].startMoving()
280 self["arrowup"].startMoving()
281 self["rc"].moveTo(500, 50, 1)
282 self["rc"].startMoving()
285 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
286 <listentry caption="Restart your wireless interface" step="wlanrestart" />
287 <listentry caption="Configure your internal LAN" step="conflan" />
288 <listentry caption="Exit wizard and configure later manually" step="end" />
292 <step id="wlanrestart" nextstep="checkwlanstatusend" timeout="3" timeoutaction="selectnext">
293 <text value="Your network is restarting.\n\nPlease press OK to continue." />
295 self.restartNetwork()
300 <text value="Thank you for using the wizard. Your Dreambox is now ready to use.\nPlease press OK to continue." />