Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::WirelessInterface::SetKey (   self,
  key 
)

Set the encryption key of the wireless interface.

Keyword arguments:
key -- encryption key to set

Definition at line 930 of file wnettools.py.

00930                          :
        """ Set the encryption key of the wireless interface.

        Keyword arguments:
        key -- encryption key to set

        """
        if not self.iface: return False
        key = _sanitize_string(key)
        cmd = 'iwconfig %s key %s' % (self.iface, key)
        if self.verbose: print cmd
        misc.Run(cmd)

    def Associate(self, essid, channel=None, bssid=None):


Generated by  Doxygen 1.6.0   Back to index