if iface == 'ath0':
iNetwork.resetNetworkConfig('wlan-mpci')
self.InterfaceUp('ath0')
+
def InterfaceUp(self,iface):
iNetwork.getInterfaces()
if iNetwork.getAdapterAttribute(iface, 'up') is True:
iNetwork.restartNetwork()
self.checkNetwork()
-
def isWlanPluginInstalled(self):
try:
from Plugins.SystemPlugins.WirelessLan.Wlan import Wlan
else:
self.WlanPluginInstalled = True
+ def AdapterSetupEnd(self, iface):
+ self.iface = iface
+ if iNetwork.getAdapterAttribute(self.iface, "dhcp") is True:
+ self.checkNetwork()
+ self.NextStep = 'checklanstatusend'
+ else:
+ self.NextStep = 'confdns'
+
+
+