Monitoring packet loss, jitter, and net speed with UI
Posted by filisterr@reddit | linuxadmin | View on Reddit | 6 comments
I am living in an 85 sq.m. apartment and using MoCA router to get my Internet, but my wireless network is very unstable and I often have occasional packet loss and high jitter. I have connected my cable router to eero 6 router and I am using the eero 6 along with one satellite unit to distribute the Internet, as the signal at my desktop is pretty weak.
I am having a Raspberry Pi4 connected directly over LAN cable to the MoCA router and was thinking of continuously monitoring the network speed, packet loss, and jitter from it.
I can also write my own scripts and save the results in a CSV file and then use pandas to convert the CSV file into a dataframe and analyze it, but I was wondering if there is an easier solution with already built-in graphs, etc.
In the worst case, I will write my own Streamlit UI.
Sigg3net@reddit
Sounds like you might be having WiFi rather than throughput issues. Have you set the channels manually and/or are you using DFS channels perhaps, that are subject to going down when they detect radar?
filisterr@reddit (OP)
I don't have any control over the WiFi channels. Yes, I understand that my problem might be from the WiFi signal, and that's what I am trying to figure out, whether it is from the provider or from the Wifi. The Raspberry is connected over cable, so if I don't see any packer loss or jitter on the MoCA, then it is a problem with the WiFi. Otherwise I need to bug the ISP.
TriforceTeching@reddit
Use MTR to monitor whatever you are having a problem with.
It measures loss to each hop along the network path.
If there is packet loss to the first hop, it's your local network.
RedKomrad@reddit
Does it measure jitter?
jw_ken@reddit
If you just need a simple GUI to view performance data for a host, cockpit does a nice job of it.
https://www.networkworld.com/article/3340038/sitting-in-the-linux-cockpit.html
I think it needs one extra package to record historical data (cockpit-pcp), see this guide. Aside from that, it is largely plug-and-play. It uses many common tools on the back-end, so it doesn't try to reinvent the wheel.
Cockpit is developed mostly by redhat, but it is available for most Linux distributions.
RedKomrad@reddit
Does it measure jitter ?