diff --git a/edgy.py b/edgy.py old mode 100644 new mode 100755 index d8f6c1e..5b807e4 --- a/edgy.py +++ b/edgy.py @@ -139,7 +139,7 @@ def set_signal_image(): print wireless.AutoConnect(True) else: print "networkID returned -1, waiting..." #This is usually only caused by hibernation - time.sleep(30) + time.sleep(10) config.EnableLogging() return True diff --git a/gui.py b/gui.py index 7e50a6e..71333e1 100644 --- a/gui.py +++ b/gui.py @@ -719,6 +719,7 @@ class appGui: self.useEncryptionCheckbox.connect("toggled",self.toggleEncryptionCheck) channelEntry.entry.set_text('3') essidEntry.entry.set_text('My_Adhoc_Network') + ipEntry.entry.set_text('169.254.12.10') #Just a random IP vboxA = gtk.VBox(False,0) vboxA.pack_start(self.useEncryptionCheckbox,fill=False,expand=False) @@ -874,11 +875,13 @@ class appGui: strength = str(strength) ip = str(wireless_ip) self.statusID=self.status_bar.push(1,language['connected_to_wireless'].replace('$A',network).replace('$B',strength).replace('$C',wireless_ip)) + config.EnableLogging() #reenable logging return True wired_ip = wired.GetWiredIP() if wired_ip: if wired.GetAlwaysShowWiredInterface() or wired.CheckPluggedIn(): self.statusID = self.status_bar.push(1,language['connected_to_wired'].replace('$A',wired_ip)) + config.EnableLogging() #reenable logging return True self.statusID = self.status_bar.push(1,language['not_connected']) config.EnableLogging() #reenable logging