Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


livefornow851

54 posts

Master Geek
+1 received by user: 3


#164334 5-Feb-2015 21:20
Send private message

I am trying to diagnose an intermittent fault in a customers house.
I need to eliminate the local network as being the cause of customers problems as their isp won't admit there is a problem with their service.


Is it possible to create a short-cut on a windows desktop computer that when double clicked.

-ping a specified address or range of addresses. 
-records the output/results into a .txt file in a specified directly with a time-stamp so that it can be read later.

The fault causes the connection to the internet to go down so I am not able to do this for them remotely and it happens at intermittent times so I am never there to run a ping test myself.




Mike from McKay Technologies

Filter this topic showing only the reply marked as answer Create new topic
nzkc
1634 posts

Uber Geek
+1 received by user: 1041


  #1231962 5-Feb-2015 21:22
Send private message

Could set up the command in short cut to be:

ping [address] >> ping_results.txt

That would append, a single > would overwrite.

E.g.

ping 8.8.8.8 > ping_results.txt


Edit: Actually...put that in a .bat file and link to that instead.



Jase2985
13730 posts

Uber Geek
+1 received by user: 6202

ID Verified
Lifetime subscriber

  #1232003 5-Feb-2015 21:35
Send private message

try something like multi ping grapher
http://software.ccschmidt.de/multiping_detail.html

you can add IP addresses and frequencies and when started it will ping at the required frequency, it displays as a graph and automatically saves a log file for you.

johnr
19282 posts

Uber Geek
+1 received by user: 2526
Inactive user


  #1232014 5-Feb-2015 21:37
Send private message

Is this issue happening over WiFi or LAN cable and is the house wiring setup correct with master filter installed?

I'm not sure what you are going to prove with a ping test sorry



Dynamic
4015 posts

Uber Geek
+1 received by user: 1850

ID Verified
Trusted
Lifetime subscriber

  #1232064 5-Feb-2015 23:39
Send private message




“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams


livefornow851

54 posts

Master Geek
+1 received by user: 3


  #1232100 6-Feb-2015 07:53
Send private message

I am convinced that my internal network is working well. The problem is with the entire network both WiFi and hard wired LAN. My thinking was to do a ping test to ensure that devices within the local network could still communicate with each-other thus proving that the fault was with the gateway or isp.




Mike from McKay Technologies

sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1232101 6-Feb-2015 08:06
Send private message

If you're seeing frequent disconnections you need to know if's the PPP session dropping or the DSL sync dropping. A ping test isn't going to show either, but the modems logs will if it's a decent device.


 
 
 
 

Shop now for Dyson appliances (affiliate link).
johnr
19282 posts

Uber Geek
+1 received by user: 2526
Inactive user


  #1232105 6-Feb-2015 08:43
Send private message

As above ping test is not going to help you much, Look up PeterReader here on Geekzone and follow his advice

livefornow851

54 posts

Master Geek
+1 received by user: 3


  #1232800 8-Feb-2015 08:42
Send private message

Cheers for help. I have made a .bat file with.

@ECHO OFF
:START
echo %date% >>ping.txt
echo %time% >> ping.txt
ping [ip] -n 3 >> ping.txt
echo --- >> ping.txt

The customer can double click the .bat file any time they are experiencing difficulties and it will add a log to the text file every time.
I will definitely look to see if there is a log within the router for DSL uptime and PPP.




Mike from McKay Technologies

Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #1233583 9-Feb-2015 17:10
Send private message

You probably want add a tracert to your script, to the ISP's website or trademe.co.nz... will likely be more insightful than a ping.

eg: tracert www.trademe.co.nz








Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.