tablespoon / fun

231 stars 53 forks source link

Internet stops working after some time #7

Open tymmej opened 8 years ago

tymmej commented 8 years ago

I installed adblocker on TP-Link Archer C7 v2 running OpenWrt Chaos Calmer 15.05 (r47060). After some time (from minutes to hours, varies) Internet stops working on all devices. Pinging Google DNS from router and devices works. Local network also works. Changing DNS addresses to Google DNS does not help. The only solution is reboot either '/etc/init.d/network restart'

tablespoon commented 8 years ago

Interesting; I'm sorry to hear you're having problems. I haven't experienced this. If you remove the script (following the uninstall instructions), does the problem go away?

Out of curiosity, what browser(s) are you using? I'm wondering if it handles connections differently and causes the router to overrun a connection or resource limit. For reference, I'm using Firefox. This was just a guess, by the way. Trying to think of what might be different about your setup compared with mine.

tymmej commented 8 years ago

Yes, I uninstalled script. I'm using Safari on Mac but I think i doesn't matter. For example: Internet works in the evening, I go to sleep and in the morning it doesn't work. I have to '/etc/init.d/network restart'. Internet also stops working while I'm using mobile device (smartphone/tablet). When I'm streaming (listening online radio or watching twitch.tv) or downloading and that happens, stream or download continue, but I can't open new page (empty page, loading indefinitely, I don't get any error. Just spinning wheel)

tablespoon commented 8 years ago

I'm sorry for the delayed response! Life has been hectic recently. So, I've installed 15.05 to try to replicate this problem. In the time that I've had it installed, I saw the problem happen once. I did a little additional poking, and found that connectivity is still there, it's only DNS that stops working. I'm currently waiting for it to happen again so I can do some more poking to try to determine the cause. My guess is that some limit somewhere is being exceeded, or something of that nature.

I will say that I used 14.07 for 15 months without a single issue, so something has very likely changed in 15.05. I'll update if (when) it happens again. In the meantime, if you could ssh to your router next time it happens and run 'dmesg' for me, that would be awesome.

Have a great weekend!

tablespoon commented 8 years ago

It finally happened again for me. I was just on my way out the door, but I checked dmesg and found nothing unexpected. I verified that restarting the dnsmasq service is sufficient to restore normal operation. Further research exposed the 'logread' command which I wasn't familiar with. When it happens again, I'll run that and see what dnsmasq is reporting. If you experience this before I do, please log in and run 'logread' for me.

tymmej commented 8 years ago

I enabled script and after ~1 hour it happened. In dmesg I had nothing new. In logread I had dnsmasq starts every ~10 minutes, but nothing about crashing/stopping. I'll try again and upload logs at weekend.

lehag92 commented 4 years ago

Hello @tymmej, having same issue on 18.06.02. Do you already have any workaround?

DeerSpotter commented 1 year ago

Hello @tymmej, having same issue on 18.06.02. Do you already have any workaround?

Did you ever figure this out.

tablespoon commented 1 year ago

@DeerSpotter I no longer maintain this. I've been running Pi-hole (https://pi-hole.net/) on my network for the last few years and recommend it.

tymmej commented 1 year ago

Hello @tymmej, having same issue on 18.06.02. Do you already have any workaround?

Did you ever figure this out.

I don't remember how it ended. Later I was using https://openwrt.org/packages/pkgdata/adblock and now AdGuard Home.