aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Network.py
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2010-01-29 08:50:34 +0100
committeracid-burn <acid-burn@opendreambox.org>2010-01-29 08:50:34 +0100
commitbf2f4196dede42bb8b5b8168a85a60498a3d630f (patch)
treed2829a4240c92628fff5d6729c5104c7723b711b /lib/python/Components/Network.py
parent025acea46debca45f8ae004cdb17cc6e5fc84309 (diff)
downloadenigma2-bf2f4196dede42bb8b5b8168a85a60498a3d630f.tar.gz
enigma2-bf2f4196dede42bb8b5b8168a85a60498a3d630f.zip
* simplify NetworkWizard usability. Its now possible to open the wizard directly with the current selected network interface,
so its no more needed to select the interface twice. * add a blue button link to the network wizard also inside the AdapterSelectionScreen. * d't show interface question if only one interface is available. This fixes bug #218
Diffstat (limited to 'lib/python/Components/Network.py')
-rwxr-xr-xlib/python/Components/Network.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index bd10d9c3..4b0213d4 100755
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -234,7 +234,7 @@ class Network:
self.configuredNetworkAdapters = self.configuredInterfaces
# load ns only once
self.loadNameserverConfig()
- print "read configured interfac:", ifaces
+ print "read configured interface:", ifaces
print "self.ifaces after loading:", self.ifaces
self.config_ready = True
self.msgPlugins()
@@ -425,6 +425,7 @@ class Network:
def checkNetworkState(self,statecallback):
# www.dream-multimedia-tv.de, www.heise.de, www.google.de
+ self.NetworkState = 0
cmd1 = "ping -c 1 82.149.226.170"
cmd2 = "ping -c 1 193.99.144.85"
cmd3 = "ping -c 1 209.85.135.103"