PyIface
PyIface copied to clipboard
Python module to control network interfaces.
@bat-serjo IPv6 doesn't work ```python3 t.addr = (socket.AF_INET6, '2001:db8:0:0:0:ff00:42:8329') File "/workspace/PyIface/pyiface/iface.py", line 314, in addr ifr.data.ifr_addr = self.__sockaddrFromTuple(val) File "/workspace/PyIface/pyiface/iface.py", line 365, in __sockaddrFromTuple inVal[1])) TypeError: expected in6_u instance, got...
I would need to create local virtual interfaces and assign them IPs for testing purposes. Would be veeery useful to be able to do that in Python!
Thanks for the fantastic module! I run into an issue when attempting to change the MAC address on an interface. Can you tell me about the code path you expected...
Hi, nice module, works as a charm for me on Linux. On Solaris I don't retrieve any of the machine's interfaces with pyiface.getIfaces(). Chances are that you don't have access...