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 the OK button on your remote control to move to the next step." />
5 self["arrowdown"].moveTo(557, 232, 1)
6 self["arrowdown"].startMoving()
7 self["arrowup"].moveTo(800, 232, 1)
8 self["arrowup"].startMoving()
9 self["rc"].moveTo(500, 50, 1)
10 self["rc"].startMoving()
14 <step id="introduction" >
15 <text value="Use the up/down keys on your remote control to select an option. After that, press OK." />
17 <listentry caption="Connect to the Internet with your local LAN" step="conflan" />
18 <listentry caption="Connect to the Internet with a USB Wlan Stick" step="wlanstart" />
19 <listentry caption="Exit wizard and configure later manually" step="end" />
22 self["arrowup2"].moveTo(800, 320, 1)
23 self["arrowup2"].startMoving()
24 self["arrowdown"].moveTo(557, 200, 1)
25 self["arrowup"].moveTo(557, 355, 1)
26 self["arrowdown"].startMoving()
27 self["arrowup"].startMoving()
28 self["rc"].moveTo(500, 50, 1)
29 self["rc"].startMoving()
33 <step id="conflan" nextstep="checklanstatusend">
34 <text value="Please configure your local LAN internet connection by filling out the needed values.\nWhen you are ready please press OK to continue." />
35 <config screen="AdapterSetup" module="NetworkSetup" args="0" type="ConfigList" />
37 self.checkInterface('eth0')
40 self["arrowdown"].moveTo(557, 232, 1)
41 self["arrowdown"].startMoving()
42 self["arrowup"].moveTo(800, 232, 1)
43 self["arrowup"].startMoving()
44 self["rc"].moveTo(500, 50, 1)
45 self["rc"].startMoving()
52 <step id="checklanstatusend" nextstep="end">
54 self.condition = (self.InterfaceState == True )
56 <text value="Thank you for using the wizard. Your Dreambox is now ready to use.\n\nYour local LAN internet connection is working now.\n\nPlease press OK to continue." />
59 <step id="checklanstatusend">
61 self.condition = (self.InterfaceState == False )
63 <text value="Your local LAN internet connection is not working!\nPlease choose what you want to do next." />
65 <listentry caption="Configure your internal LAN again" step="conflan" />
66 <listentry caption="Configure your wireless LAN" step="wlanstart" />
67 <listentry caption="Exit wizard and configure later manually" step="end" />
71 <step id="wlanstart" nextstep="scanwlan">
72 <text value="Please attach your Zydas ZD1211B chipset compatibe WLAN USB Stick to your Dreambox and press the OK button on your remote control to enable the built in wireless network support" />
74 self["arrowdown"].moveTo(557, 232, 1)
75 self["arrowdown"].startMoving()
76 self["arrowup"].moveTo(800, 232, 1)
77 self["arrowup"].startMoving()
78 self["rc"].moveTo(500, 50, 1)
79 self["rc"].startMoving()
82 self.checkInterface('wlan0')
86 <step id="scanwlan" nextstep="wlanconfig">
88 self.condition = (self.isInterfaceUp == True )
90 <text value="Please select below the wireless network you want to connect to." />
91 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
93 self["arrowdown"].moveTo(557, 232, 1)
94 self["arrowdown"].startMoving()
95 self["arrowup"].moveTo(800, 232, 1)
96 self["arrowup"].startMoving()
97 self["rc"].moveTo(500, 50, 1)
98 self["rc"].startMoving()
101 self.saveAccessPoint(self.ap)
107 self.condition = (self.isInterfaceUp == False )
109 <text value="Your wireless internet connection could not be started!\nHave you attached your USB WLAN Stick?\n\nPlease choose what you want to do next." />
111 <listentry caption="Configure your wireless LAN again" step="wlanstart" />
112 <listentry caption="Configure your internal LAN" step="conflan" />
113 <listentry caption="Exit wizard and configure later manually" step="end" />
116 self["arrowdown"].moveTo(557, 232, 1)
117 self["arrowdown"].startMoving()
118 self["arrowup"].moveTo(800, 232, 1)
119 self["arrowup"].startMoving()
120 self["rc"].moveTo(500, 50, 1)
121 self["rc"].startMoving()
124 self.saveAccessPoint(self.ap)
128 <step id="wlanconfig" nextstep="checkwlanstatusend" timeout="60" timeoutaction="selectnext">
129 <text value="Please configure your wireless LAN internet connection by filling out the needed values.\nWhen you are ready please press OK to continue." />
130 <config screen="AdapterSetup" module="NetworkSetup" args="1" type="ConfigList" />
136 <step id="checkwlanstatusend" nextstep="end">
138 self.condition = (self.InterfaceState == True )
140 <text value="Thank you for using the wizard. Your Dreambox is now ready to use.\n\nYour wireless internet connection is working now.\n\nPlease press OK to continue." />
143 <step id="checkwlanstatusend">
145 self.condition = (self.InterfaceState == False )
147 <text value="Your wireless internet connection is not working!\nPlease choose what you want to do next." />
149 <listentry caption="Configure your wireless LAN again" step="wlanstart" />
150 <listentry caption="Restart your wireless interface" step="wlanrestart" />
151 <listentry caption="Configure your internal LAN" step="conflan" />
152 <listentry caption="Exit wizard and configure later manually" step="end" />
156 <step id="wlanrestart" nextstep="checkwlanstatusend" timeout="3" timeoutaction="selectnext">
157 <text value="Your network is restarting.\n\nPlease press OK to continue." />
159 self.restartNetwork()
164 <text value="Thank you for using the wizard. Your Dreambox is now ready to use.\nPlease press OK to start using your Dreambox." />