Logo Search packages:      
Sourcecode: wicd version File versions

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

Associate with the specified wireless network.

Keyword arguments:
essid -- essid of the network
channel -- channel of the network
bssid -- bssid of the network

Definition at line 943 of file wnettools.py.

00943                                                         :
        """ Associate with the specified wireless network.

        Keyword arguments:
        essid -- essid of the network
        channel -- channel of the network
        bssid -- bssid of the network

        """
        if not self.iface: return False
        cmd = 'iwconfig %s essid "%s"' % (self.iface, essid)
        if channel:
            cmd = ''.join([cmd, ' channel ', str(channel)])
        if bssid:
            cmd = ''.join([cmd, ' ap ', bssid])
        if self.verbose: print cmd
        misc.Run(cmd)

    def Authenticate(self, network):


Generated by  Doxygen 1.6.0   Back to index