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")
22 self.checkInterface(self.selectedInterface)
23 self.currStep = self.getStepWithID(self.NextStep)
27 <step id="nwconfig" nextstep="confdns">
28 <text value="Please configure your internet connection by filling out the required values.\nWhen you are ready press OK to continue." />
29 <displaytext value="Configure interface" />
30 <config screen="AdapterSetup" module="NetworkSetup" args="self.selectedInterface" type="ConfigList" />
32 self.clearSelectedKeys()
35 self.selectKey("DOWN")
36 self.selectKey("LEFT")
37 self.selectKey("RIGHT")
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()
54 <step id="checklanstatusend" nextstep="end">
56 self.condition = (self.InterfaceState == True )
58 <text value="Your Dreambox is now ready to use.\n\nYour internet connection is working now.\n\nPlease press OK to continue." />
59 <displaytext value="Please follow the instructions on the TV" />
61 self.clearSelectedKeys()
65 currStep = self.numSteps
66 self.wizard[currStep]["nextstep"] = None
72 <step id="checklanstatusend">
74 self.condition = (self.InterfaceState == False )
76 <text value="Your internet connection is not working!\nPlease choose what you want to do next." />
77 <displaytext value="Please follow the instructions on the TV" />
79 self.clearSelectedKeys()
82 self.selectKey("DOWN")
85 <listentry caption="Configure your network again" step="selectinterface" />
86 <listentry caption="Exit wizard and configure later manually" step="end" />
90 <step id="scanwlan" nextstep="nwconfig">
92 self.checkInterface(self.selectedInterface)
93 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == True)
95 <text value="Please select the wireless LAN network that you want to connect to.\n\nPlease press OK to continue." />
96 <displaytext value="Select wireless network" />
97 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
99 self.clearSelectedKeys()
102 self.selectKey("DOWN")
103 self.selectKey("LEFT")
104 self.selectKey("RIGHT")
107 self.saveAccessPoint(self.ap)
113 self.checkInterface(self.selectedInterface)
114 self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == True)
116 <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." />
117 <displaytext value="Please follow the instructions on the TV" />
119 <listentry caption="Configure your wireless LAN again" step="scanwlan" />
120 <listentry caption="Configure your internal LAN" step="selectinterface" />
121 <listentry caption="Exit wizard and configure later manually" step="end" />
124 self.clearSelectedKeys()
127 self.selectKey("DOWN")
133 self.checkInterface(self.selectedInterface)
134 self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == False)
136 <text value="The wireless LAN plugin is not installed!\nPlease install it and choose what you want to do next." />
137 <displaytext value="Please follow the instructions on the TV" />
139 <listentry caption="Configure your internal LAN" step="selectinterface" />
140 <listentry caption="Exit wizard and configure later manually" step="end" />
143 self.clearSelectedKeys()
146 self.selectKey("DOWN")
151 <text value="Thank you for using the wizard.\nPlease press OK to continue." />
153 self.clearSelectedKeys()