On OS X - Best Way To Monitor if Internet Connection Drops?


Recommended Posts

I am on OS X.

I am wondering what the best, easiest way to monitor if my internet is stable and does not drop.

Unfortunately I do not have direct access to the modems supplied by my ISP.

This is at work, however we have or own direct line in our area.

 

I have found this website, which seems decent, however it only shows the past 20 results or so.

I would love to be able to let it run overnight, come in tomorrow

 

When I check the logs of the router (an Asus RT-N66U), I do see the following, which I have not a clue what it means.

Jun 18 13:00:42 kernel: eth2: received packet with  own address as source address
Jun 18 13:02:59 kernel: eth1: received packet with  own address as source address
Jun 18 13:21:01 kernel: eth2: received packet with  own address as source address
Jun 18 14:02:13 kernel: eth1: received packet with  own address as source address
Jun 18 14:28:44 kernel: eth1: received packet with  own address as source address
Jun 18 14:30:44 kernel: eth1: received packet with  own address as source address
Jun 18 14:35:50 kernel: eth2: received packet with  own address as source address
Jun 18 14:40:43 kernel: eth1: received packet with  own address as source address
Jun 18 14:54:45 kernel: eth2: received packet with  own address as source address
Jun 18 17:00:55 kernel: eth1: received packet with  own address as source address
Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 UDP removed
Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 TCP removed
Jun 19 08:36:05 dnsmasq-dhcp[310]: Ignoring domain wks.jnj.com for DHCP host name WJANUSL3BEK8T
Jun 19 09:07:28 kernel: eth2: received packet with  own address as source address
Jun 19 09:16:04 kernel: eth1: received packet with  own address as source address
Jun 19 09:55:38 kernel: eth1: received packet with  own address as source address
Jun 19 10:32:26 kernel: eth1: received packet with  own address as source address
Jun 19 10:33:18 kernel: eth2: received packet with  own address as source address
Jun 19 10:33:36 kernel: eth2: received packet with  own address as source address
Jun 19 10:34:40 kernel: eth1: received packet with  own address as source address
Jun 19 11:10:11 kernel: eth2: received packet with  own address as source address
Jun 19 12:41:07 kernel: eth2: received packet with  own address as source address
Jun 19 12:49:06 kernel: eth2: received packet with  own address as source address
Jun 19 12:55:40 kernel: eth1: received packet with  own address as source address
Jun 19 13:47:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 UDP removed
Jun 19 13:47:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 TCP removed

Any help would be appreciated.

I did post a thread a few weeks back about redoing the network here at work, will find out today if I get the go ahead to do that, but we do believe we have a much larger issue where our main line keeps dropping, and Optimum is of course saying it is not.

 

TIA,

DL

 

Well you could always ping out.  If you don't like that then you could establish a ping to your outside ip from a monitoring service. 

 

something like this

https://www.pingdom.com/free/

How would one ping out but keep a log of it? Is there a simple enough Terminal command I can use to do so?

Ideally I would love to be able to set it up on a laptop, let it run overnight, then come back the next morning and see if and when the connection dropped.

I don't have an OS X box that I can ssh into so that I can write and check a script, but you can make a cronjob that invokes the date and ping commands periodically and append it to a log file using command >> /file/path.

 

Something like the following as a cronjob. Here, the ping tries once immediately after the date is printed:

date >> ~/Desktop/pinglog.txt && ping -c1 google.com >> ~/Desktop/pinglog.txt

Jun 18 13:00:42 kernel: eth2: received packet with own address as source address
Jun 18 13:02:59 kernel: eth1: received packet with own address as source address

 

This is happening on both your wan and lan interfaces?  Are you running wireless repeaters, something that repeats traffic?  Where is the router connected in your network?  You have a switching loop maybe?  You clearly should not be seeing those..  Telling you its seeing a packet inbound that has its mac address..  Can you draw up your network and where this is placed.

 

Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 UDP removed
Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 TCP removed

 

These are telling you it removed its port forward - since you have UPnP enabled, also known as NAT-PMP..  This is business network - why and the hell would UPnP/NAT-PMP be enabled?? 

http://en.wikipedia.org/wiki/Universal_Plug_and_Play

http://en.wikipedia.org/wiki/NAT_Port_Mapping_Protocol

 

That port is not a registered port, if I had to guess its someone running P2P software on your network - again not something that should be running a work network.  That is your router telling you it removed the forward..  The log is useless because it doesn't tell you to where it was mapped too which would be actual useful info..

BudMan.
This is not an official business network. It is the same exact network I outlined in this thread which has been established as being all wrong. I am currently waiting on the go ahead to get the $3500 to redo it properly. As such it is still exactly as I shared in that thread.

Additionally this was my own personal router from home, an Asus NR66TU, that I had set up just to see if one of our Linksys was not working properly, so that is why UPnP was enabled, everything was at the default settings (which is pretty much for a home network) as I had literally just did a Factory Reset on the router. Only thing that was changed was I assigned it a Static IP as shown in the diagrams on that other thread.

 

At the time I copy and pasted those logs there were only 4 clients total connected.
My boss's phone, my phone, my iPad, and my laptop. So I can say with the utmost of certainty no one was running any P2P software whatsoever. Could it have been another app on my laptop?

 

To be honest you guys are losing me. I have no idea what a cronjob is and as I have admitted with that other thread, I do not know all that much about Networking but am willing to learn (if possible).

 

The reason for wanting to monitor our internet connection and the point of this thread as I am fairly certain our ISP is not being truthful with the reliability of the line they are providing. We are constantly dropping, whether it is with the Linksys E4200v2's, my Asus Router, or my laptop plugged directly into the modem they provide itself, the connection just randomly drops, and frequently at that.

 

It is a unique condition as the ISP over 15 years ago had this one line from approximately a half a mile away on the local highway run into our building directly to originally provide TV signal to a VP's conference room. I am not making that up. They refuse to do any work on the line as we are the sole customer in the building so to speak, and we are only paying them $220 a month, which is actually going to drop to $110 soon when I redo everything. So it is an older line with a ton of noise and feedback, they will admit that much, and they have installed a bunch of taps and feeders within our building along the line itself in order to try and control all of the feedback, and it is pretty clear they are all having a detrimental affect on the stability of the line. However when I try and confront them about it, they pretty much take the stance of go ahead and prove it, so that is what I am trying to achieve here. Maybe that clears some stuff up. Maybe not.

 

Is there no software similar to ping plotter for osx that allows monitoring of the connection combined with trace so you can see when and where the connection drops.

 

Ping plotter is nearly a must have tool for network monitoring of unstable connections. And when the ISP says it you, you can show the plots and that everything works fine until their systems take over :)

You could always just run smokeping on whatever machine you have.  http://oss.oetiker.ch/smokeping/

 

This great tool for monitoring your network connection.

 

examples

 

really bad connection

post-14624-0-70252500-1403346325.png

 

much better connection

post-14624-0-50413600-1403346457.png

 

This will show you if loosing any pings, what the response time is, etc... You can set it up to ping as many different IPs as you want and have graphs off all of them..  Run it in a VM if won't run on whatever os your using.

 

As to UPnP or NAT-PMP being on by default --- bad bad idea!!!  Bad Router Maker!!!  That should be OFF by default..

 

As to dropping -- well if you have a freaking switching loop.. It would be amazing if anything works ;)  From your diagram you posted I don't see one - but someone plugged in an extra cable where not suppose to be, etc.  That you don't have shown on your diagram.

 

Do you know how to run a virtual machine?  If so could pop out a ovf for you running somkeping.. And then just put in the hosts you want to monitor.

If you have loop in the network, why not shut all the ports and enable the ones you want with "port security with sticky MAC address" enabled and you can change the default too if you want to. This way even if someone plugs something you'll know about it and this is for Cisco switches, I haven't seen your diagram and I don't know if you have a Cisco switch or not but I am sure other brands might have similar thing. Just a hint :)

As to dropping -- well if you have a freaking switching loop.. It would be amazing if anything works ;)  From your diagram you posted I don't see one - but someone plugged in an extra cable where not suppose to be, etc.  That you don't have shown on your diagram.

 

Do you know how to run a virtual machine?  If so could pop out a ovf for you running somkeping.. And then just put in the hosts you want to monitor.

Thank for smokeping. Will check it out.

 

Can you elaborate on "freaking switching loop" please? 

And when you say someone plugged in an extra cable, you do mean with something connected on the other end right? Or could it be a cable plugged into a switch with nothing on the other end? Would that cause an issue? There is only one extra cable plugged in that I know of,  We leave a cable with nothing plugged in on the other end into the switch sometimes for people who go in and out of a certain room. I never knew that to cause trouble but if it could, then yeah we could have find the culprit.

 

And it has been a while since I ran a virtual machine, so yep thing I could probably do so again.

The network from my previous thread is 95% WiFi though and almost always used for iPads.

So plug in something to it.. So you can ping your AP and your internet gateway, etc..  Running smokeping

 

So I setup a quick vm - so if need be I can export it for you already running

 

So see here its pinging my isp gateway for last few hours.

 

post-14624-0-61126400-1403369416.png

 

I also set it up to ping the some hosts I have out on the net.. My box in NL, my vps boxes on westcoast and east coast of us for testing speeds, etc.

 

post-14624-0-39938600-1403369475.png

 

So you notice the spike in the graph..  That is where I filled up my download pipe grabbing a copy of raspbian -- so since my pipe was full for a bit, pings that happened during that period would be much slower than normal.  So you see the time increase.

 

You should really set this up for monitoring your isp connection and even connections to your different AP, etc.  This should show you when there is an issue with on, its offline - something is eating up the network bandwidth, etc..  So for example here is to my wireless controller and my AP and other devices on my wireless segment.

 

I set this up in a few minutes this morning - it really is not hard to get something like this running.

post-14624-0-47190400-1403369715.png

 

As to "Switching loop"  More than one path without stp running. Which you don't have any smart switches from what I saw..  So unlikely stp is running (spanning tree protocol) -- used to protect against switching loop.

 

http://en.wikipedia.org/wiki/Switching_loop

 

Here is an example of some problems you can have with a switching loop

post-14624-0-17662500-1403368656.png

 

No if the cable is not connected at the other end its not a loop.

 

So in the picture above computer 1 sends a broadcast or multicast looking for something..  Do you know what a broadcast or multicast packet is?  That is when computer wants to talk to anyone or bunch of people at the same time (multicast), not a specific IP address.  This could be an arp looking for the mac address of IP it wants to talk too, could be dhcp discover asking dhcp server for an IP..  Could be broadcasting for a computer name, lots of reasons for broadcast traffic.

 

So computer 1 sends broadcast, switch  A says oh broadcast packet - I send that out every port!!  So sends out broadcast to both B and C switches..  B switch sees broadcast and sends it out to C switch as well.  C switch can say oh broadcast coming from B switch - send it to A switch..  This is the same broadcast the A switch sent out..  Now computer 2 gets two copies of the same broadcast.  This can cause a problem with what they call a "broadcast storm"  The network is so busy sending resending broadcasts that normal traffic doesn't work.

 

Now smartswitch or managed switches can look for switching loops and block 1 of the paths.  Which now this allows you to maintain 2 physical paths for redundancy sake - say one of the wires breaks or switch fails, etc.

 

So in your log the router was saying hey I saw a packet on my interface that said it came from me..  That should not be possible unless for some reason the physical network that eth0 is connected to is same network eth1 is connected too.  You had your router in AP mode?  Did you have its wan interface connected and lan port connected at the same time to the same switch or switches that had a connection between them?

I am on OS X.

I am wondering what the best, easiest way to monitor if my internet is stable and does not drop.

Unfortunately I do not have direct access to the modems supplied by my ISP.

This is at work, however we have or own direct line in our area.

 

I have found this website, which seems decent, however it only shows the past 20 results or so.

I would love to be able to let it run overnight, come in tomorrow

 

When I check the logs of the router (an Asus RT-N66U), I do see the following, which I have not a clue what it means.

Jun 18 13:00:42 kernel: eth2: received packet with  own address as source address
Jun 18 13:02:59 kernel: eth1: received packet with  own address as source address
Jun 18 13:21:01 kernel: eth2: received packet with  own address as source address
Jun 18 14:02:13 kernel: eth1: received packet with  own address as source address
Jun 18 14:28:44 kernel: eth1: received packet with  own address as source address
Jun 18 14:30:44 kernel: eth1: received packet with  own address as source address
Jun 18 14:35:50 kernel: eth2: received packet with  own address as source address
Jun 18 14:40:43 kernel: eth1: received packet with  own address as source address
Jun 18 14:54:45 kernel: eth2: received packet with  own address as source address
Jun 18 17:00:55 kernel: eth1: received packet with  own address as source address
Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 UDP removed
Jun 18 19:05:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 TCP removed
Jun 19 08:36:05 dnsmasq-dhcp[310]: Ignoring domain wks.jnj.com for DHCP host name WJANUSL3BEK8T
Jun 19 09:07:28 kernel: eth2: received packet with  own address as source address
Jun 19 09:16:04 kernel: eth1: received packet with  own address as source address
Jun 19 09:55:38 kernel: eth1: received packet with  own address as source address
Jun 19 10:32:26 kernel: eth1: received packet with  own address as source address
Jun 19 10:33:18 kernel: eth2: received packet with  own address as source address
Jun 19 10:33:36 kernel: eth2: received packet with  own address as source address
Jun 19 10:34:40 kernel: eth1: received packet with  own address as source address
Jun 19 11:10:11 kernel: eth2: received packet with  own address as source address
Jun 19 12:41:07 kernel: eth2: received packet with  own address as source address
Jun 19 12:49:06 kernel: eth2: received packet with  own address as source address
Jun 19 12:55:40 kernel: eth1: received packet with  own address as source address
Jun 19 13:47:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 UDP removed
Jun 19 13:47:08 miniupnpd[430]: Expired NAT-PMP mapping port 23234 TCP removed

Any help would be appreciated.

I did post a thread a few weeks back about redoing the network here at work, will find out today if I get the go ahead to do that, but we do believe we have a much larger issue where our main line keeps dropping, and Optimum is of course saying it is not.

 

TIA,

DL

The better tools (not just for OS X, but for any OS/distribution) are those that are designed to monitor the connection for activity - unfortunately, all too many of those are manufacturer-specific (I'm referring to GUI-based "watchdog" utilities, including Apple's own AirDrop - which can't be used for wired Ethernet, for example).  It's not just an OS X problem - it's an all-OSes problem; at least Windows has started to step up with basic watchdog-type monitoring for wireless connections - however, you still have to do third-party for similar tools for wired connections.

 

"(I'm referring to GUI-based "watchdog" utilities, including Apple's own AirDrop - which can't be used for wired Ethernet, for example)"

 

 

 

What?  watchdog util like airdrop??  Airdrop is not a watchdog util.. :huh:

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • TeraCopy 4.0 Build 28 by Razvan Serea TeraCopy is a compact program designed to copy and move files at the maximum possible speed, also providing you with a lot of features. Copy files faster. TeraCopy uses dynamically adjusted buffers to reduce seek times. Asynchronous copy speeds up file transfer between two physical hard drives. Pause and resume transfers. Pause copy process at any time to free up system resources and continue with a single click. Error recovery. In case of copy error, TeraCopy will try several times and in the worse case just skips the file, not terminating the entire transfer. Interactive file list. TeraCopy shows failed file transfers and lets you fix the problem and recopy only problem files. Shell integration. TeraCopy can completely replace Explorer copy and move functions, allowing you work with files as usual. TeraCopy is free for non-commercial use only. For commercial use you need to buy a license. The paid version of the program includes the following features: Copy/move to your favorite folders. Save reports as HTML and CSV files. Select files with the same extension/folder. Remove the selected files from the copy queue. Features added since version 3.17: Enhanced speed graph. New multi-threaded copy engine. Support for copying to multiple targets. Queue system for managing multiple copy operations. Support for receiving files via the LocalSend protocol. TeraCopy entry in the modern Windows Explorer context menu. Integrated toolbar in the title bar. Why receive LocalSend transfers with TeraCopy? Handle file conflicts: Skip, overwrite, or rename files when a file with the same name already exists. LocalSend always creates another copy, which can waste time and disk space, especially when resuming an interrupted transfer. Filter unwanted files: Apply ignore lists or remove files manually before accepting a transfer, so unnecessary files are not downloaded. Better performance on fast networks: In tests over a 10 Gbps connection, TeraCopy received files several times faster than the standard LocalSend app on Windows. TeraCopy 4.0 Build 28 changelog: Fixed a bug where Overwrite behaved as Overwrite All during same-drive move operations. AdvancedInstaller fixed the installer’s security vulnerability: EXE Bootstrapper resolved the %appdata% location incorrectly for the System account. Download: TeraCopy 4.0 Build 28 | 14.6 MB (Freeware, paid upgrade available) View: TeraCopy Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • First exciting thing to come to Windows in a long time ! This is the kind of things they should focus on, instead of cramming as much AI as they can in everything.
    • New AMD graphics driver fixes install issues and FSR 4.1 crashes on RX 7000 GPUs by Taras Buria AMD is rolling out yet another graphics driver. Version 26.6.4 is now available for download, bringing two important fixes. One is for those still using Windows 10 and having trouble installing driver 26.6.2. In fact, this patch is coming from the recently released hotfix, so it is not new if you are already running version 26.6.3. The second fix is for RX 7000 owners. AMD recently brought FSR 4.1 support to the previous-gen graphics cards, but there was a bug with certain games crashing when using FSR 4.1. I experienced this issue with Forza Horizon 6, so today's driver should take care of that. Here is the official changelog: Intermittent install issue seen when installing AMD Software: Adrenalin Edition 26.6.2 on Windows® 10 systems for Radeon™ RX 7000 series and above graphics products. Intermittent application crash may be observed in some games with AMD FSR Upscaling 4.1 enabled on Radeon™ RX 7000 series graphics products. Known issues include the following: Intermittent application crash or driver timeout may be observed while playing Battlefield™ 6 on AMD Ryzen AI 9 HX 370. AMD is actively working on a resolution with the developer to be released as soon as possible. Texture flickering or corruption may appear while playing Battlefield™ 6 with AMD Record and Stream on some AMD graphics products. AMD FSR Upscaling and AMD FSR Frame Generation may show as inactive in AMD Software: Adrenalin Edition while playing Battlefield™ 6 when enabled on Radeon™ RX 9000 series graphics products. Failure to install may be observed while installing AI Bundle components in some regions with limited access to HuggingFace and GitHub. Model flickering or rendering failure may be observed in Maxon Cinema 4D and Blender on Radeon™ RX 7000 series and above graphics products. Users experiencing this issue are recommended to install AMD Software: Adrenalin Edition 26.3.1. Intermittent application crash may be observed on some models while running Blender on Radeon™ RX 7000 series and above graphics products. Users experiencing this issue are recommended to install AMD Software: Adrenalin Edition 26.3.1. You can download the AMD Radeon driver 26.6.4 from the official website here. Full release notes are available on the same page.
    • Amazon may use OpenAI and Nova models after Anthropic reportedly raises costs by Karthik Mudaliar Amazon is reportedly considering to use OpenAI models and even its own Nova family of AI models after Anthropic raised the cost of using Claude inside Amazon services. According to a report from The Information, Amazon is weighing its options to reduce costs under a new arrangement with Anthropic. But back in April, Amazon said it would invest $5 billion more in Anthropic, with the possibility of adding up to another $20 billion if certain commercial milestones are met. That investment actually came on top of another $8 billion Amazon had already put into the Claude maker. Anthropic, meanwhile, committed to spend more than $100 billion over 10 years on AWS technologies, including Amazon’s Trainium chips. Amazon isn't just a customer of Anthropic but also one of the most important backers and cloud partners. This is why it makes it interesting that Amazon is considering other alternatives to handle its internal workloads. Although Amazon has been building its own options for a while now. Its Nova family of AI models was announced in late 2024 for Amazon Bedrock, with models aimed at text, image, and video tasks. Amazon pitched the model around cost and latency at that time. With that said, OpenAI has also become a more realistic option recently for AWS customers as well as for Amazon itself. Earlier this year, OpenAI brought its latest models and Codex coding agent to Amazon Bedrock, after changes to its previously more restrictive Microsoft cloud arrangement. This allowed AWS to serve even those customers who wanted other alternatives from Claude, without having to move workloads out of Amazon's cloud. Evaluating alternatives could also be due to commercial pressure and not necessarily a sign of a damaged partnership between Amazon and Anthropic. Whether or not Amazon is actually considering switching entirely to OpenAI's models or its own Nova models remains unknown at this moment.
    • Samsung introduces new AI classroom tools and interactive displays at ISTELive 2026 by Fiza Ali Samsung has announced several new education-focused software features and interactive displays for schools during ISTELive 2026, taking place in Orlando, Florida, from 28 June to 1 July. The focus of these updates is on making shared classroom displays easier to use for teachers while giving IT administrators more control over managing devices. One of the key additions is the Samsung Account Management Solution (AMS). In many schools, multiple teachers share the same interactive display throughout the day, which means signing in and setting everything up can become repetitive. With AMS, teachers can log in by scanning a QR code or tapping an NFC-enabled ID card. Once signed in, their personalised workspace, including wallpapers, bookmarks, app shortcuts, and files, can be instantly accessed through Home Personalisation. Samsung has also included a screen lock feature, allowing teachers to lock the display if they need to step away briefly. Furthermore, the company is also updating its Education Portal with new tools designed for school IT administrators. The portal will allow IT administrators to register teachers, enrol devices, and manage user access from a central dashboard. Administrators can also link NFC cards to teacher accounts, making sign-ins quicker across shared displays. Another addition is a Tags feature that lets schools organise displays by building or classroom. Those tags can also be used to send emergency notifications to selected Samsung Interactive Displays through compatible platforms such as InformaCast and Raptor. Moreover, the tech giant's AI Assistant is gaining several new features aimed at supporting everyday classroom tasks such as lesson planning and classroom engagement. One of the features is Circle to Search, which lets teachers circle text or images on the display to quickly find related information, videos, or web results without interrupting the lesson. The content can then be brought into Samsung Whiteboard. Another feature, Live Transcript, converts spoken lessons into real-time captions, which could be useful for students with hearing impairments or those in multilingual classrooms. The AI Assistant also introduces AI Summary and AI Quiz. The summary tool creates summaries of recorded lessons, while AI Quiz generates questions based on lesson content so teachers can quickly check how well students are following along. Teachers signed in through Samsung AMS can also return to their previous AI-generated lesson materials without logging in again. Alongside the software updates, Samsung has expanded its Android-based Interactive Display range with three new models: the WAF-S, WAFX-PS, and WAHX-M. The WAF-S and WAFX-PS ship with Android 16, bringing updates to security, accessibility, and overall usability while maintaining compatibility with Google's education services including Google Classroom and Google Drive through EDLA certification. Meanwhile, the new WAHX-M is the biggest addition to the lineup, introducing a 98-inch display for larger spaces such as lecture halls and conference rooms. It will also be available in 65-inch, 75-inch and 86-inch sizes. Samsung says the WAHX-M further includes on-device AI features such as voice commands, text-to-speech, and an AI calculator, alongside support for Samsung AMS and AI Assistant. Samsung AI Assistant has been available since April, while Samsung AMS and the updated Education Portal will begin rolling out in July.
  • Recent Achievements

    • Reacting Well
      NovaEdgeX earned a badge
      Reacting Well
    • Week One Done
      NovaEdgeX earned a badge
      Week One Done
    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
    • First Post
      KMilenkoski1202 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      536
    2. 2
      +Edouard
      269
    3. 3
      PsYcHoKiLLa
      150
    4. 4
      Steven P.
      97
    5. 5
      macoman
      61
  • Tell a friend

    Love Neowin? Tell a friend!