Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::WirelessInterface::Authenticate (   self,
  network 
)

Authenticate with the specified wireless network.

Keyword arguments:
network -- dictionary containing network info

Definition at line 961 of file wnettools.py.

00961                                    :
        """ Authenticate with the specified wireless network.

        Keyword arguments:
        network -- dictionary containing network info

        """
        misc.ParseEncryption(network)
        if self.wpa_driver == RALINK_DRIVER:
            self._AuthenticateRalinkLegacy(network)
        else:
            cmd = ''.join(['wpa_supplicant -B -i ', self.iface, ' -c "',
                       wpath.networks, network['bssid'].replace(':','').lower(),
                       '" -D ', self.wpa_driver])
            if self.verbose: print cmd
            misc.Run(cmd)

    def ValidateAuthentication(self, auth_time):


Generated by  Doxygen 1.6.0   Back to index