Hatte python 3.7 schon drauf und in der windows power shell als Admin mit
pip install scapy netifaces netaddr
die anderen Pakete installiert, nun bin ich ins Verzeichnis
PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu\home\cgruber\hiveeyes\sources\hiveeyes-micropython-firmware>
gewechselt und habe dort mit
python tools/terkin.py monitor
das hier bekommen:
PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu\home\cgruber\hiveeyes\sources\hiveeyes-micropython-firmware> python tools/terkin.py monitor
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\netaddr\strategy\ipv4.py", line 125, in str_to_int
return _struct.unpack('>I', _inet_pton(AF_INET, addr))[0]
File "C:\Python37\lib\site-packages\netaddr\fbsocket.py", line 148, in inet_pton
return _inet_pton_af_inet(ip_string)
File "C:\Python37\lib\site-packages\netaddr\fbsocket.py", line 136, in _inet_pton_af_inet
raise invalid_addr
ValueError: illegal IP address string 'fe80::f908:fdb9:8804:4b32%20'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 311, in __init__
self._value = self._module.str_to_int(addr, flags)
File "C:\Python37\lib\site-packages\netaddr\strategy\ipv4.py", line 129, in str_to_int
raise AddrFormatError('%r is not a valid IPv4 address string!' % addr)
netaddr.core.AddrFormatError: 'fe80::f908:fdb9:8804:4b32%20' is not a valid IPv4 address string!
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 791, in parse_ip_network
ip = IPAddress(val1, module.version, flags=INET_PTON)
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 314, in __init__
% (addr, self._module.version))
netaddr.core.AddrFormatError: base address 'fe80::f908:fdb9:8804:4b32%20' is not IPv4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 928, in __init__
implicit_prefix, flags)
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 795, in parse_ip_network
expanded_addr = _ipv4.expand_partial_address(val1)
File "C:\Python37\lib\site-packages\netaddr\strategy\ipv4.py", line 259, in expand_partial_address
raise error
netaddr.core.AddrFormatError: invalid partial IPv4 address: 'fe80::f908:fdb9:8804:4b32%20'!
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/terkin.py", line 259, in <module>
run_monitor(mac_prefix, command)
File "tools/terkin.py", line 253, in run_monitor
boot_monitor(monitor)
File "tools/terkin.py", line 231, in boot_monitor
networks = get_local_networks()
File "tools/terkin.py", line 224, in get_local_networks
address_cidr = str(netaddr.IPNetwork(address).cidr)
File "C:\Python37\lib\site-packages\netaddr\ip\__init__.py", line 938, in __init__
raise AddrFormatError('invalid IPNetwork %s' % addr)
netaddr.core.AddrFormatError: invalid IPNetwork fe80::f908:fdb9:8804:4b32%20/ffff:ffff:ffff:ffff::/64
PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Ubuntu\home\cgruber\hiveeyes\sources\hiveeyes-micropython-firmware>