-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
# batch-ping-utility | ||
A simple GUI python program to ping IP addresses. | ||
|
||
## About | ||
|
||
A friend of mine needed a way to ping a group of IP addresses easily to check some old equipment that operates over CAN. These pieces of equipment are notorious for "forgetting" their static IP, but usually repsond to another. | ||
Of course using Powershell/Bash is the usual solution but I said I'd make him a little GUI utility to make his life that little bit easier. | ||
|
||
## Usage guide | ||
|
||
Fairly simple, enter the desired start and end IPv4 addresses and hit "Start". You can optionally set timeout, but leaving it blank will default it to 1 second. | ||
Any good pings will be recorded in the noted box. Current pings being tried (and failures as they occur) will be noted with the text area. | ||
|
||
## Running the code | ||
|
||
Install the latest Python if you don't have it (3.11). | ||
Install ping3 and PySimpleGUI via pip. | ||
|
||
## Creating an Executable | ||
|
||
Install PyInstaller via pip. | ||
Using Terminal, Powershell or Command Prompt, change to the directory and run the command "pyinstaller batch_ping_util.pyw -F". | ||
(The -F signifies to create an all in one executable, as oppose to a distribution with lots of .dll files etc.) | ||
|
||
## Ideas For Improvement | ||
|
||
Allow selection/specification of other ping options | ||
Clear button for output box | ||
Extra line for displaying previous fail as it goes by too quickly to read | ||
Check IPv6 compatibility | ||
More Theme Options | ||
Make an Icon |