# Internet drops

**URL:** <https://forum.openwrt.org/t/internet-drops/166335>\
**Category:** Installing and Using OpenWrt\
**Created:** [July 20, 2023, 1:35pm UTC](https://forum.openwrt.org/t/internet-drops/166335 "2023-07-20T13:35:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 1:35pm UTC](https://forum.openwrt.org/t/internet-drops/166335/1 "2023-07-20T13:35:35Z")

</div>

Hi, community,

I'm experiencing a quick loss of the connection. Sometimes, my MS Teams call freezes, or a site does open, but then if I refresh the page or wait a few seconds, it's back online aging.

I have left a ping running to 8.8.8.8 and 1.1.1.1 from my PC, and sometimes I have the problem, and the ping is still working... I also track the WAN traffic in the OpenWrt, but I couldn't figure out anything from there.

Any tips on what to do next to identify and fix the problem?

I'm new here, so if you need information from my configuration, please share the command I need to run to get it.

Big picture:  
Model: Raspberry Pi 4 Model B Rev 1.2  
Architecture: ARMv8 Processor rev 3  
Target Platform: bcm27xx/bcm2711  
Firmware Version: OpenWrt 23.05.0-rc2 r23228-cd17d8df2a / LuCI openwrt-23.05 branch git-23.118.79121-6fb185f  
Kernel-Version: 5.15.118

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [July 20, 2023, 1:51pm UTC](https://forum.openwrt.org/t/internet-drops/166335/2 "2023-07-20T13:51:55Z")

</div>

if pinging using IP works, does pining using a DNS name work during an outage ?

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 2:09pm UTC](https://forum.openwrt.org/t/internet-drops/166335/3 "2023-07-20T14:09:39Z")

</div>

Good questions. No, it is not. I will do this test using a DNS name.

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 2:12pm UTC](https://forum.openwrt.org/t/internet-drops/166335/4 "2023-07-20T14:12:37Z")

</div>

🤔 but I think as soon the ping starts, the DNS is resolved.

Any idea how to keep sending the DNS request?

Like:  
C:\Windows\System32\>ping [microsoft.com](http://microsoft.com) -t

Pinging [microsoft.com](http://microsoft.com) [20.112.250.133] with 32 bytes of data:  
Reply from 20.112.250.133: bytes=32 time=170ms TTL=108  
Reply from 20.112.250.133: bytes=32 time=170ms TTL=108

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 2:26pm UTC](https://forum.openwrt.org/t/internet-drops/166335/5 "2023-07-20T14:26:22Z")

</div>

> **[WinMTR](https://sourceforge.net/projects/winmtr/)**
>
> Download WinMTR for free. WinMTR is a free MS Windows visual application that combines the functionality of the traceroute and ping in a single network diagnostic tool.

---

<div class="post-metadata">

**Author:** ![frollic](https://forum.openwrt.org/user_avatar/forum.openwrt.org/frollic/32/30113_2.png) [@frollic](https://forum.openwrt.org/u/frollic)\
**Post date:** [July 20, 2023, 2:30pm UTC](https://forum.openwrt.org/t/internet-drops/166335/6 "2023-07-20T14:30:29Z")

</div>

Correct, that why it said during outage, not pre outage ,)

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 2:54pm UTC](https://forum.openwrt.org/t/internet-drops/166335/7 "2023-07-20T14:54:15Z")

</div>

or to be sure it's not a problem on the client (your windows pc) you could try:

> **[package: mtr](https://openwrt.org/packages/pkgdata_owrt18_6/mtr)**
>
> package: mtr

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 4:24pm UTC](https://forum.openwrt.org/t/internet-drops/166335/8 "2023-07-20T16:24:58Z")

</div>

Great idea! 🤩

I will run from the router and from the windows... let's see if I have the same results.

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 4:55pm UTC](https://forum.openwrt.org/t/internet-drops/166335/9 "2023-07-20T16:55:51Z")

</div>

a general question:

what type of internet access do you have?

adsl / optical fiber / 4g / other

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 4:57pm UTC](https://forum.openwrt.org/t/internet-drops/166335/10 "2023-07-20T16:57:14Z")

</div>

The internet is provided with optical fiber (GPON link).

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 5:00pm UTC](https://forum.openwrt.org/t/internet-drops/166335/11 "2023-07-20T17:00:02Z")

</div>

so do you have a fiber optic / ethernet adapter provided by your carrier and after all the other devices?

Is the fiber optic adapter set to bridge-mode or is it nat on the connections?

which operator provides you with internet?

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 5:16pm UTC](https://forum.openwrt.org/t/internet-drops/166335/12 "2023-07-20T17:16:21Z")

</div>

In the meantime, lucky you that you have a fiber optic connection.

have you read these documents?

> [@RPi4 routing performance numbers](https://forum.openwrt.org/t/rpi4-routing-performance-numbers/53996/4):
>
> will take a look. it was interesting fiddling around with the rps settings, I tried 3 and c to allow each NIC to have two CPUs but as I remember that worked worse, though I'll try it again. one issue is I'm trying to route just one iperf3 stream, so I think it hashes the stream and always sends it to the same processor anyway. with several streams like a dslreports speed test you'd probably get different results. But I'm trying to route a gigabit, so getting the WAN involved is not optimal. I t…

> [@So you have 500Mbps-1Gbps fiber and need a router READ THIS FIRST](https://forum.openwrt.org/t/so-you-have-500mbps-1gbps-fiber-and-need-a-router-read-this-first/90305):
>
> It's such a frequently asked question over the last few years that we really need a post we can point people to. So your cable company rolled out 500Mbps or 1Gbps download speeds, or you have 1Gbps symmetric fiber (GPON/EPON) from ATT or Centurylink or Orange or whoever. You realize your old all in one router from 2009 is not up to the task of handling this, but hey by now stuff should be cheap and available that will handle your new fiber connection right? So you want advice about a router for…

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 5:50pm UTC](https://forum.openwrt.org/t/internet-drops/166335/13 "2023-07-20T17:50:02Z")

</div>

**So do you have a fiber optic/ethernet adapter provided by your carrier and after all the other devices?**  
Correct, the network provided las equipment in my network is a NTU (Network Termination Unit).

**Is the fiber optic adapter set to bridge-mode or is it nat on the connections?**  
The NTU gives me a NAT IP. So, It's not in bridge mode.

**which operator provides you with internet?**  
A small network provider from my city, which is a good thing. Because if I need something from them, I can quickly get it.

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 6:12pm UTC](https://forum.openwrt.org/t/internet-drops/166335/14 "2023-07-20T18:12:18Z")

</div>

Those are two good ones. Thank you for bringing it up.

I'm using vlan setup at the moment. I followed the steps from [How to build a Router with a Raspberry Pi and managed Switch VLANs with OpenWrt](https://youtu.be/fOYmHPmvSVg). This is a great video from OneMarcFitty.

Are you reading my mind? hehehe....

I have bought the adaptor Ethernet Gigabit Ue300 Usb 3.0 Tp-link, but it hasn't arrived yet.

So far, after installing the mtr in the OpenWrt and running it on two Windows machines on my network...The internet issue didn't happen so far...I will continue tracking here ...

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 6:42pm UTC](https://forum.openwrt.org/t/internet-drops/166335/15 "2023-07-20T18:42:34Z")

</div>

try to control the CPU load:

```plaintext
opkg install htop

```

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 6:58pm UTC](https://forum.openwrt.org/t/internet-drops/166335/16 "2023-07-20T18:58:34Z")

</div>

I loved it! 😍

 ![2023-07-20 15_56_03-Window](https://forum.openwrt.org/uploads/default/original/3X/9/1/919f96c37f57ffa335e3603277e85a4a1aaba65e.png)

It seems that the CPU is good... 😃

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 7:03pm UTC](https://forum.openwrt.org/t/internet-drops/166335/17 "2023-07-20T19:03:22Z")

</div>

You should try to stress the connection, for example by launching more contemporary downloads and/or even more contemporary speed tests it could be that you can identify the anomaly in the presence of multiple outgoing connections.

o heating anomalies of the Rasberry CPU under stress ..

Have you also active any SQM?

Have you activated the Stoware/Hardware Flow Offloading?

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 7:18pm UTC](https://forum.openwrt.org/t/internet-drops/166335/18 "2023-07-20T19:18:47Z")

</div>

I just did a stress bandwidth test using the "[https://www.speedtest.net/.](https://www.speedtest.net/.)" During this test, the CPU 0 reached around **73% to 85%** during **download** and **44% to 66%** during **upload**. The other CPUs didn't change.

**Have you also active any SQM?**  
😬 Yes... To install and configure, I've followed the video [OpenWRT - SQM QoS Setup on LuCI](https://youtu.be/OPtFTcX92lw).

**Have you activated the Stoware/Hardware Flow Offloading?**  
Not sure what do you mean.

Following this path of what I have installed... I also installed Wireguard, following some videos like... [Wireguard OpenWRT Server](https://youtu.be/TQxwqY-m30Y)

I think this is all I have done so far...

---

<div class="post-metadata">

**Author:** ![Dinhors](https://forum.openwrt.org/user_avatar/forum.openwrt.org/dinhors/32/78011_2.png) [@Dinhors](https://forum.openwrt.org/u/Dinhors)\
**Post date:** [July 20, 2023, 7:22pm UTC](https://forum.openwrt.org/t/internet-drops/166335/19 "2023-07-20T19:22:09Z")

</div>

@ncompact, do you think it's not necessary to configure an SQM?  
I have turned it off and rerun the download and upload test. It dropped the CPU usage a little to around 66% during the download and 55% during the update.

I don't think the SQM CPU usage is a problem for now...

---

<div class="post-metadata">

**Author:** ![ncompact](https://forum.openwrt.org/letter_avatar/ncompact/32/5_5575768a8748004e209b776fc1b2916d.png) [@ncompact](https://forum.openwrt.org/u/ncompact)\
**Post date:** [July 20, 2023, 7:40pm UTC](https://forum.openwrt.org/t/internet-drops/166335/20 "2023-07-20T19:40:10Z")

</div>

since you have non-persistent connectivity problems I'm evaluating multiple variables.

I would definitely wait for someone more competent than me to solve your problem

**Stoware/Hardware Flow Offloading?**

 ![immagine](https://forum.openwrt.org/uploads/default/original/3X/7/8/784c7d7d7a4f64e85876770201ef8dc253f6cb81.png)

[Next page](https://forum.openwrt.org/t/internet-drops/166335.md?page=2)
