Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::WirelessInterface::_ForceSupplicantScan (   self  )  [private]

Force wpa_supplicant to rescan available networks.
    
This function forces wpa_supplicant to rescan.
This works around authentication validation sometimes failing for
wpa_supplicant because it remains in a DISCONNECTED state for 
quite a while, after which a rescan is required, and then
attempting to authenticate.  This whole process takes a long
time, so we manually speed it up if we see it happening.

Definition at line 1024 of file wnettools.py.

01024                                   :
        """ Force wpa_supplicant to rescan available networks.
    
        This function forces wpa_supplicant to rescan.
        This works around authentication validation sometimes failing for
        wpa_supplicant because it remains in a DISCONNECTED state for 
        quite a while, after which a rescan is required, and then
        attempting to authenticate.  This whole process takes a long
        time, so we manually speed it up if we see it happening.
        
        """
        print 'wpa_supplicant rescan forced...'
        cmd = 'wpa_cli -i' + self.iface + ' scan'
        misc.Run(cmd)

    def _AuthenticateRalinkLegacy(self, network):


Generated by  Doxygen 1.6.0   Back to index