Trying to write a script to connect to an existing Wifi network. OS - Ubuntu 14.04, 64-bit. I do this with the Wifi module:
from wifi import Cell, Scheme cell = list(Cell.all('wlan0'))[0] scheme = Scheme.find('wlan0', 'DIR-320') scheme.activate()
The scheme contains all the necessary parameters, but the script hangs on the scheme.activate()
method. Can anyone know what could be the problem? Are there any other ways to connect to a wifi network using python?