Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
M0JXD authored Sep 19, 2023
1 parent 5611b48 commit 874d36c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
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

0 comments on commit 874d36c

Please sign in to comment.