Last active
January 28, 2020 23:30
-
-
Save flatlinebb/d2acd9ceb5211d8cb95aad527f9a3342 to your computer and use it in GitHub Desktop.
For testing switch ports
This file contains hidden or 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
@ECHO OFF | |
:top | |
ping 8.8.8.8 | |
ECHO. | |
ECHO File start %time% | |
ECHO. | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/100MB.zip" | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/50MB.zip" | |
:: wget -O - "http://ipv4.download.thinkbroadband.com/20MB.zip" | |
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | |
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | tee 100mb.bin | md5sum | awk '{print $1}' ====> awk is not working properly :( | |
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | tee - | md5sum | awk '{print $1}' ====> awk is not working properly :( | |
:: wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | tee file | md5sum | awk '{print $1}' > md5.txt | |
:: wget -O 100mb.bin "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | tee 100mb.bin | md5sum | awk '{print $1}' > md5.txt | |
wget -O - "http://speedtest-ca.turnkeyinternet.net/100mb.bin" | tee file.bin | md5sum | |
ECHO. | |
ECHO File end %time% | |
:: md5sum -md5 100MB.zip | |
:: md5sum -md5 50MB.zip | |
:: md5sum -md5 100mb.bin | |
ECHO. | |
ECHO 2f282b84e7e608d5852449ed940bfc51 is the correct MD5 for file.bin | |
ECHO. | |
ECHO Verify MD5 matches above, then plug into next switch port | |
ECHO. | |
pause | |
goto top | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment