It's too bad, is just for Windows, so i stealed the idea, and made a simpler looking version in Python3 to Linux fans, like me.

ESPFinder first beta: Source code:
https://github.com/enesbcs/espfinder-python
Moderators: grovkillen, Stuntteam, TD-er
I am using Ubuntu Linux 16.04 with latest stable Python 3.5.2 from ubuntu repositories with pip 8.1.1.
Code: Select all
sudo python -m pip install --upgrade pip
sudo pip3 install --upgrade setuptools
Code: Select all
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-vw9qsdn_/multiprocessing/setup.py", line 94
print 'Macros:'
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-vw9qsdn_/multiprocessing/
Can you try to run espfinder.py? I think all prerequisites already satisfied, and nothing left to install.
Code: Select all
Process Process-1:
Traceback (most recent call last):
Process Process-2:
File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
self.run()
File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "espfinder.py", line 35, in pinger
hostadrr = self.ownip.split('.')[:-1]
AttributeError: 'bool' object has no attribute 'split'
Process Process-3:
Traceback (most recent call last):
File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
self.run()
...
...
This means, that the python program are unable to determine your machine local address from the "ifconfig" command output. Can you share the output of ifconfig?
Code: Select all
$ ifconfig
enp11s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4544 errors:0 dropped:0 overruns:0 frame:0
TX packets:4544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:423546 (423.5 KB) TX bytes:423546 (423.5 KB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlp2s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1311175 errors:0 dropped:0 overruns:0 frame:0
TX packets:1506516 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:541416351 (541.4 MB) TX bytes:1555227741 (1.5 GB)
I think i get it, i expected eth0-9 and wlan0-9.
You are welcome.
Users browsing this forum: Bing [Bot] and 5 guests