def start(self): m = NM_manager(self.bus) m.enable_wifi(False) subprocess.call("rfkill unblock wifi") r = route() r.enable() h = hostapd() h.config(self.ifname, self.ssid, self.passwd) h.enable()
def start(self): m = NM_manager(self.bus) m.enable_wifi(False) subprocess.call("rfkill unblock wifi", shell=True) d = dnsmasq() d.enable() r = route() r.enable() h = hostapd() h.enable()
def start(self): subprocess.call("rfkill unblock wifi", shell=True) m = NM_manager(self.bus) m.enable_wifi(True)