submitted 3 months ago* (last edited 3 months ago) by to c/linux@programming.dev
 

I have a number of hints that my internet connection doesn't work right. I see things like can't connect to addresses from docker, pages will be slow in my browser. Before I used ethernet to my router, I would sometimes disconnect from the internet. Aside from disconnecting, none of it was a clear sign something is unusually broken. Is there some linux (Ubuntu) tool I can use to assess the long-term health of my connection?

A nice to have: the tool would tell me whether a fault is in my drivers, settings, adapter, router, connection to the house, or my provider.

all 9 comments

sorted by: hot top controversial new old
[–] 13 points 3 months ago (4 children)

A network connection is a stack of many different parts. I don't think there's any tool that can pinpoint a problem in that way, at least not without a lot of customization.

I would use something like the OSI model, start at the bottom, and step through each layer and verify proper operation.

And also read logs on everything when the problem is happening.

  • source
  • hideshow 4 child comments
  • [–] 5 points 3 months ago (2 children)

    Basically this. You could start easy and basic with gatus. Monitor at least your gateway, the isp gateway and dns resolving.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months ago (1 child)

    do you know if there's a free version of gatus? I could only see a 7 day trial

  • source
  • parent
  • hideshow 1 child comment
  • [–] 12 points 3 months ago (3 children)