how to check internet connectivity from wireshark,fiddler,charles, MS network monitor

Dear Experts,

I have been using wireshare,fiddler,charles, Microsoft Network Monitor to
monitor my computer network traffic or proxy http debugging.
One question I would like to know how I can check my internet
connectivity that I could be aware of where my computer is connected
or disconnect to the internet or my ISP.

I have checked, Microsoft window will check the connection and put it in the registry on window
http://www.techrepublic.com/blog/data-center/what-do-microsoft-and-ncsi-have-in-common/


I try it on wireshare by capture filter such as dns.qry.name==dns.msftncsi.com
but nothing filter out, Why ?

I don't want to create batch script for running ping command periodically  in every one minute
to check the connectivity since I think that is not in good way.

If wireshare could do that, I could extract his cap file into csv and then do parser for any information
I want from php or other language

Duncan
LVL 13
duncanb7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

eeRootCommented:
A packet capture tool will not show info on your internet connection, because it only sees traffic on your local network.  Maintaining the ISP connection is a function of your edge router.  Wireshark and the other tools are only seeing local network traffic, this includes traffic that is destined for the internet, but is going through one or more local nework devices first.

For monitoring of internet connectivity over time, try this -> http://www.snapfiles.com/get/iphostnetmon.html
0
btanExec ConsultantCommented:
tough to sieve from raw packet on internet connectivity, probably some heartbeat scheduled to check for online .. I was thinking of even simplest such as “ping -t 8.8.8.8″ (where 8.8.8.8 is Google’s DNS Server). Leading on, if the status reads as “reply from 8.8.8.8,” the machine is online and in all other cases, the Internet connection is down. Other internet connectivity appls of similar nature include

http://sourceforge.net/projects/icm/
https://code.google.com/p/internetconnectivitymonitor/

There is another called PRTG Network Monitor that cover various scenarios as well
http://www.paessler.com/support/kb/questions/19

and possibly nagios (http://exchange.nagios.org/directory/Plugins/Network-Connections,-Stats-and-Bandwidth#/) but it is can go quite off track ... there is another such as smartsniff (http://www.nirsoft.net/utils/smsniff.html)

there is another more extensive mean such as "Munin" which surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. But it is not Windows friendly as it may not survey Window based station - http://munin-monitoring.org/wiki/faq
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
duncanb7Author Commented:
Thanks for all of your suggestion. Those tools are a good start

Duncan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Analysis

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.