ESPFinder
Moderators: grovkillen, Stuntteam, TD-er
ESPFinder
ESP Easy Netscan is a very nice and handy application, thanks to grovkillen..
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
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
Last edited by enesbcs on 09 Apr 2018, 21:30, edited 2 times in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPFinder
Happy to have inspired
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESPFinder
Thanks enesbecs and grovkillen,
I'm also a Linux user, I will give it a try!
Thanks for sharing.
Andrew
I'm also a Linux user, I will give it a try!
Thanks for sharing.
Andrew
Re: ESPFinder
I tried installing espfinder, but I'm getting errors when executing "sudo pip3 install multiprocessing ctypes itertools contextlib". The error is:
Command "python setup.py egg_info" failed with error code 1
Do you know what am I missing?
Thanks
Command "python setup.py egg_info" failed with error code 1
Do you know what am I missing?
Thanks
Re: ESPFinder
I am using Ubuntu Linux 16.04 with latest stable Python 3.5.2 from ubuntu repositories with pip 8.1.1.
Maybe you can try to upgrade pip:
Code: Select all
sudo python -m pip install --upgrade pip
sudo pip3 install --upgrade setuptools
Re: ESPFinder
Thanks for your reply. I tried what you proposed - I have the latest versions (the message I get is "Requirement already up-to-date"). I have python 3.5.2 and pip 10.0.1.
The installation of "multiprocessing" fails.
There is something in my installation which is outdated or missing.
The installation of "multiprocessing" fails.
There is something in my installation which is outdated or missing.
Re: ESPFinder
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-663zc296/multiprocessing/
Re: ESPFinder
Maybe multiprocessiong is already installed in a non-pip way which can not be overwritten by pip.
Try to reinstall stdlib:
sudo apt-get install --reinstall libpython3.5-stdlib
Try to reinstall stdlib:
sudo apt-get install --reinstall libpython3.5-stdlib
Re: ESPFinder
Hi,
I downloaded multiprocessing-2.6.2.1.tar.gz and the INSTALL.txt says: "Python 2.6 and newer versions already come with multiprocessing."
When trying to install it (using sudo pip3 install multiprocessing) the error I get is:
It seems like the error is that print cannot be followed by ' (single quote) in python3. It has to be "
I also checked in /usr/lib/python3.5 and I have: ctypes, multiprocessing. When I try to execute:
sudo pip3 install itertools
I get the message:
Collecting itertools
Could not find a version that satisfies the requirement itertools (from versions: )
No matching distribution found for itertools
I get a similar message with sudo pip3 install contextlib
Can we somehow compare our installations?
I downloaded multiprocessing-2.6.2.1.tar.gz and the INSTALL.txt says: "Python 2.6 and newer versions already come with multiprocessing."
When trying to install it (using sudo pip3 install multiprocessing) the error I get is:
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/
I also checked in /usr/lib/python3.5 and I have: ctypes, multiprocessing. When I try to execute:
sudo pip3 install itertools
I get the message:
Collecting itertools
Could not find a version that satisfies the requirement itertools (from versions: )
No matching distribution found for itertools
I get a similar message with sudo pip3 install contextlib
Can we somehow compare our installations?
Re: ESPFinder
Can you try to run espfinder.py? I think all prerequisites already satisfied, and nothing left to install.
Re: ESPFinder
Thanks again for your reply. I'm afraid it doesn't work
The GUI starts but nothing is displayed. And when I click on "Refresh", I get a lot of errors:
Similarly with the console version
The GUI starts but nothing is displayed. And when I click on "Refresh", I get a lot of errors:
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()
...
...
Re: ESPFinder
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?
I will have to implement some basic error messages...
Re: ESPFinder
yes, here it is:
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)
Re: ESPFinder
I think i get it, i expected eth0-9 and wlan0-9. Fixed, and uploaded to github.
Re: ESPFinder
Thanks! It works
Can I ask something:
when I start the gui, it shows nothing. After I click on Refresh, I get the list of devices. Is this normal?
Thanks again for the implementation and your support!
Can I ask something:
when I start the gui, it shows nothing. After I click on Refresh, I get the list of devices. Is this normal?
Thanks again for the implementation and your support!
Re: ESPFinder
You are welcome. Yes the need to click on Refresh is by design, but in the future it can be change.. but first i have to implement some sort of progress feedback. Since i using multiprocessing for fast pinging it is hard to sync a global variable in the main app.
Also developed some sort of Windows compatibility, just for fun, but it is slow as hell.
Who is online
Users browsing this forum: No registered users and 2 guests