2012-10-31 20:20:42 |
Thomas Hood |
description |
In the current wnettools.py the resolvconf command is formed thus
cmd = [self.resolvconf_cmd, '-a', self.iface]
The last argument is the name of the record used to store the information. The convention is to use the record name IFACE.SOURCE where IFACE is the name of the interface and CONFIGURER is the name of the program sending the information, in this case 'wicd'. The two strings are connected with a dot. Thus if the interface name is 'eth0' the resolvconf record name should be 'eth0.wicd' and the resolvconf command should be
/sbin/resolvconf -a eth0.wicd
Please change wicd to follow the convention. E.g., change the code quoted above to the following.
cmd = [self.resolvconf_cmd, '-a', self.iface + '.wicd'] |
In the current wnettools.py the resolvconf command is formed thus
cmd = [self.resolvconf_cmd, '-a', self.iface]
The last argument is the name of the record used to store the information. The convention is to use the record name IFACE.SOURCE where IFACE is the name of the interface and SOURCE is the name of the program sending the information, in this case 'wicd'. The two strings are connected with a dot. Thus if the interface name is 'eth0' the resolvconf record name should be 'eth0.wicd' and the resolvconf command should be
/sbin/resolvconf -a eth0.wicd
Please change wicd to follow the convention. E.g., change the code quoted above to the following.
cmd = [self.resolvconf_cmd, '-a', self.iface + '.wicd'] |
|