Slingshot Full Throughput Testing

If you've been experiencing speed issues with your broadband connection our technical team may ask you to do some "Throughput Testing" to help figure out what's causing the issues. Once you've emailed these results to our technical team they'll do their thing to get you back up and running at full speed.

Step 1
Open the Notepad program in Windows. Click on the 'Start' button on the lower left corner of the Desktop. After the Start Menu shows up, there's two ways to open the Notepad depending on what version of Windows you have:
 
Windows 7: Navigate to 'Programs', scroll up to 'Accessories', and choose 'Notepad'. The Notepad can also be accessed by typing 'notepad' to the search box on the Start menu.
 
Windows 8/10: Type 'notepad' after you open the start menu before clicking on anything and the Notepad app will show up, click on this.
 
Step 2
Copy all of the text shown in the box below these steps into notepad.
Step 3
Save your Batch File. On the Notepad, go to 'File' and click the 'Save As' option.
Step 4
Choose the save location of the file. We would suggest you save this to the desktop to make it easier to find
Step 5
On the 'Save file type as' prompt, choose 'All Files'.
Step 6
Type in the name: SlingshotTesting.bat. Press 'Save'.
Step 7
Run the batch file by double clicking the file on your desktop.
Step 8
Email the results of the batch file (Testing.txt) to technicalsupport@team.slingshot.co.nz
 
 
Here is the code to copy for Step 2. Please only copy what is inside of the box below:
 
@Echo off
Setlocal Enabledelayedexpansion
Title Slingshot Throughput Testing
Color 0a
CD\
CLS
Echo.
Echo Initiating setup
Echo.
IPConfig -Renew > Nul
IPConfig -FlushDNS > Nul
IPConfig -All > "C:\Users\%Username%\Desktop\Testing.txt"
Echo Checking active connections
Netstat -B >> "C:\Users\%Username%\Desktop\Testing.txt"
Set /A $Counter=0
Set /A $Google=0
Set /A $Slingshot=0
Set /A $DHCP=0
Set /A $V=1
:AdminCheck
CLS
Echo Admin Permissions Required, Checking...
Net Session >Nul 2>&1
IF %ERRORLEVEL% == 0 (
Goto :Success
) Else (
Goto :Failure
)
Exit /B
:Success
CLS
Echo.
Echo Please ensure you have an ethernet cord connected.
Echo This should be a yellow or blue cable that came with your modem
Echo And this should run directly from your modem to your PC.
Echo.
Echo Press 'space' to begin the setup.
Echo.
Pause > Nul
CLS
Echo.
Echo Compiling initial setup.
Echo Please wait.
Echo.
Call :Set_DefaultGateway
Call :Set_Adapter
Goto :Error_Check
:Set_DefaultGateway
For /F "Tokens=3" %%* In (
'Route.exe Print ^|Findstr "\<0.0.0.0\>"'
) Do @Set "$DefaultGateway=%%*"
:Set_Adapter
For /F "Tokens=3*" %%I In ('Netsh Interface Show Interface ^| Find "Enabled" ^| Find "Connected"') Do ^
Netsh Interface Set Interface Name = "%%J" Newname = "Active"
If Exist In !$DefaultGateway! ^|Findstr ".0" (
Set "!$V!=0"
) Else (
)
:Error_Check
If Exist ('IPConfig -All ^| Find "Active"') (
Goto :Set_DHCP
) Else (
CLS
Echo.
Echo Command prompt has encountered an error at this time.
Echo Please forward this information to technicalsupport@team.slingshot.co.nz
Echo.
Echo Slingshot. A better place!
Echo.
Echo Press 'space' to exit the script.
Pause > Nul
Exit
)
Exit /B
:Error
CLS
Echo.
Echo An error has occured
Echo Please update Slingshot with this information
Echo.
Echo technicalsupport@team.slingshot.co.nz
Echo.
Echo Press 'space' to exit the application
Pause > Nul
Exit
:Failure
CLS
Title Please retry.
Echo.
Echo To run this file as Admin - 
Echo To do so, right click on it and select 'Run as administrator'
Echo.
Echo Please press 'space' to exit this file.
Echo.
Pause > Nul
Del -F -Q "C:\Users\%Username%\Desktop\Testing.txt" > Nul
Exit
:Set_DHCP
If !$DHCP! == 0 (
Set /A $DHCP+=1
CLS
Echo.
Echo Setting dynamic IP address
Echo.
Netsh Interface IP Set Address Name=Active DHCP > Nul
Netsh Interface IP Set DNS Name=Active DHCP > Nul
@Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo The following was done with dynamic IP and DNS >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo ############################################## >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
@Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Choice /C ZX /T 30 /N /D X /M "Please wait 30 seconds."
If Errorlevel 2 Goto :Continue1
If Errorlevel 1 Goto :Error
) Else (
CLS
Echo.
Echo Setting dynamic IP address
Echo.
Netsh Interface IP Set Address Name=Active DHCP > Nul
Netsh Interface IP Set DNS Name=Active DHCP > Nul
Echo Finalising settings
Echo.
Choice /C ZX /T 30 /N /D X /M "Please wait 30 seconds."
If Errorlevel 2 Goto :Continue1
If Errorlevel 1 Goto :Error
Goto :Continue1
)
:Continue1
If !$Counter! == 1 (
Goto :Complete
) Else (
Set /A $Counter+=1
Goto :Ping_Testing
)
Exit /B
:Google_DNS
CLS
If !$Google! == 0 (
Set /A $Google+=1
Echo.
Echo Setting static IP address and DNS
Echo.
Netsh Interface IP Set Address "Active" Static 192.168.!$V!.123 255.255.255.0 !$DefaultGateway! 1  > Nul
Netsh Interface IP Set DNS "Active" Static 8.8.8.8  > Nul
Netsh Interface IP Add DNS "Active" 8.8.4.4 Index=2  > Nul
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo The following was done with Google DNS >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo ###################################### >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Choice /C ZX /T 30 /N /D X /M "Please wait 30 seconds."
If Errorlevel 2 Goto :Continue2
If Errorlevel 1 Goto :Error
:Continue2
Goto :Ping_Testing
) Else (
Goto :Slingshot_DNS
)
Exit /B
:Slingshot_DNS
CLS
If !$Slingshot! == 0 (
Set /A $Slingshot+=1
Echo.
Echo Setting static IP address and DNS
Echo.
Netsh Interface IP Set Address "Active" Static 192.168.!$V!.123 255.255.255.0 !$DefaultGateway! 1  > Nul
Netsh Interface IP Set DNS "Active" Static 202.180.64.10  > Nul
Netsh Interface IP Add DNS "Active" 202.180.64.11 Index=2  > Nul
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo The following was done with Slingshot DNS >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo ######################################### >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo. >> "C:\Users\%Username%\Desktop\Testing.txt"
Choice /C ZX /T 30 /N /D X /M "Please wait 30 seconds."
If Errorlevel 2 Goto :Continue3
If Errorlevel 1 Goto :Error
:Continue3
Goto :Ping_Testing
) Else (
Goto :End
)
Exit /B
:Ping_Testing
CLS
Echo.
Echo Testing variable speeds now.
Echo Please wait till this completes.
Echo.
Echo This will take several minutes.
Echo.
Echo.
Echo Running ping commands
Echo.
Ping slingshot.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Ping www.trademe.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Ping www.google.com >> "C:\Users\%Username%\Desktop\Testing.txt"
Ping www.facebook.com >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo Running pathping commands
Echo.
Pathping slingshot.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Pathping www.trademe.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Pathping www.google.com >> "C:\Users\%Username%\Desktop\Testing.txt"
Pathping www.facebook.com >> "C:\Users\%Username%\Desktop\Testing.txt"
Echo Running tracert commands
Echo.
Tracert slingshot.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Tracert www.trademe.co.nz >> "C:\Users\%Username%\Desktop\Testing.txt"
Tracert www.google.com >> "C:\Users\%Username%\Desktop\Testing.txt"
Tracert www.facebook.com >> "C:\Users\%Username%\Desktop\Testing.txt"
If !$Google! == 0 (
Goto :Google_DNS
) Else (
Goto :Slingshot_DNS
)
Exit /B
:End
Goto :Set_DHCP
:Complete
CLS
Echo.
Echo All testing has completed.
Echo.
Echo Your IP address and DNS server have been set dynamically.
Echo.
Echo Please find the newly created text file on your desktop labelled "Testing.txt"
Echo. 
Echo Please email this file to technicalsupport@team.slingshot.co.nz
Echo Or simply attach to your reply email.
Echo.
Echo Press 'space' to exit the setup.
Echo.
Echo.
Echo Slingshot. A better place!
Echo.
Pause > Nul
Exit


 

 

Did this article not quite answer your question? Try another search or get in touch