Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::Interface::Down (   self  )  [inherited]

Take down the network interface. 

Returns:
True

Definition at line 344 of file wnettools.py.

00344                   :
        """ Take down the network interface. 
        
        Returns:
        True
        
        """
        if not self.iface: return False
        cmd = 'ifconfig ' + self.iface + ' down'
        if self.verbose: print cmd
        misc.Run(cmd)
        return True

    def SetAddress(self, ip=None, netmask=None, broadcast=None):


Generated by  Doxygen 1.6.0   Back to index