@kamoj I am still no sure about it but having quick look at log files it seams after upgrade of your add-on following error is being logged:
kernel: [Warning] skb_warn_bad_offload!!!
Could you check your syslog if you got the same?
I started from scratch with everything.
Reset my isps modem, reset my router and also upgraded it to the latest fw.
Restored my settings and installed the latest add-on. It's been a day now and all is working great. Fingers crossed.
I still have the dnscrypt 2 enabled but not active, should I have this active or should I just disable it?
Thx all for your support
nvram set dnscrypt2=1
nvram commit
reboot
Also how do i get the DNScrypt2 to start? everytime i issue the command it tells me its not enabled in nvram however the debug page shows it enabled?!
Code:root@R9000:/$ root@R9000:/$ /etc/init.d/dnscrypt-proxy-2 start DNSCrypt-Proxy-2 is not enabled in nvram. Exit. root@R9000:/$ root@R9000:/$ /var/log/dnscrypt-proxy-2.log /bin/ash: /var/log/dnscrypt-proxy-2.log: not found root@R9000:/$ root@R9000:/$
Sad news.. last night the internet decided to drop off again
log attached.
Code:=== IMPORTANT ============================ [Internet disconnected] Thursday, February 21, 2019 01:45:59 [Internet connected] IP address: 192.168.100.20, Thursday, February 21, 2019 01:47:32 [Internet connected] IP address: 192.168.100.20, Thursday, February 21, 2019 01:48:02 ================================== [Internet connected] IP address: 8x.1X.5x.7, Thursday, February 21, 2019 01:48:33 [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:48:37
Anyone know what those dos attacks are and are they something to worry about?
ps w | grep -i vpn
Hi Kamoj,
Well, seems that I have a problem too. First day trying your awaited addon.
VPN works fine for about 10-15 minutes, then drops. Internet working, only R7800 no other router to access internet. This is my log (in bold maybe that's the fault..?). Any suggestions what to do?
root@R7800:/$ cat /var/log/openvpn-client.log
Thu Jan 1 00:00:28 UTC 1970 Voxel: OpenVPNclient stop run: ip route del:
192.168.2.0/24 dev br0 proto kernel scope link src 192.168.2.1
Mon Feb 25 14:42:12 2019 OpenVPN 2.4.6 arm-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Mon Feb 25 14:42:12 2019 library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.10
Mon Feb 25 14:42:12 2019 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
Mon Feb 25 14:42:12 2019 Exiting due to fatal error
Thanks! I'll remove my USB and update the firmware. When updating, does your addon stays in memory?
Running your command (before removing my USB-stick) returns this:
root@R7800:/$ ps w | grep -i vpn
693 root 316 S grep -i vpn
3395 root 1984 S < /usr/sbin/openvpn --fast-io --nice -20 --auth-nocache --sndbuf 786432 --rcvbuf 786432 --tun-mtu 1500 --mss
Yes, I have them too.
This error also exist without add-ons.
I've seen it in since I started using my R7800.
Sometimes there are more of these logs, sometimes less.
Are you getting more of them when running OpenVPN with high load?
I googled it long time ago, and as I remember the error is due o a bug in the kernel, corrected in kernel 4.x...
ThankI have more details:
- without your plugin there are no warning messages
- they appear every 10 seconds
- they also appear in groups when refreshing your debug page
- warning are not log for initial minidlna scan which is taking around 50% of CPU load
- top is not showing any peaks of CPU util neither for those every 10 seconds nor while refreshing debug page but...
- debug page is showing higher current CPU load then with previous versions
Since I've upgraded in almost the same time firmware to 64SF and your plugin to v4 it's hard to tell but my gut feeling is warning messages are related to some upgraded firmware component causing high CPU util by your scripts. Maybe @Voxel is going to have some idea?
Anyway I had no such warnings prior to 64SF/v4 and although I understand warning itself is harmless it still might point out to some library issue causing high CPU load.
Well, VPN-client stopped again. Will try to do a factory reset when I have time, but first uninstall and install you add-on again.
"
root@R7800:/$
root@R7800:/$ /etc/init.d/openvpn-client start
PING www.google.com (216.58.211.4): 56 data bytes
--- www.google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 3.9/3.9/3.9 ms
Enter Auth Username:xxxxx@xxx.xx
Enter Auth Password:
Please wait...
Error: OpenVPN client start failed.
/etc/rc.common: kill: 90: (28164) - No such process
root@R7800:/$
Thank you for reporting!
The add-on read the temperature sensors every 10 second to capture max temp even when debug page is not refreshed,
but that shouldn't cause any "kernel: [Warning] skb_warn_bad_offload!!!"... Hmm...
(In the first add-on I used another way of reading the temperatures, but when I made the code work for R9000 as well,
I changed the method of getting temperatures.)
I'm very grateful for your investigation, and will look further into it when I get the time!
Thank
I have more details:
- without your plugin there are no warning messages
YES there are! If you load Netgear's stock debug page, the Warnings come!
- they appear every 10 seconds
Yes, that is fixed
- they also appear in groups when refreshing your debug page
Yes, that is fixed
- warning are not log for initial minidlna scan which is taking around 50% of CPU load
- top is not showing any peaks of CPU util neither for those every 10 seconds nor while refreshing debug page but...
- debug page is showing higher current CPU load then with previous versions
Must be because of new Voxel/Netgear code? The Add-on should not use any more CPU.
Since I've upgraded in almost the same time firmware to 64SF and your plugin to v4 it's hard to tell but my gut feeling is warning messages are related to some upgraded firmware component causing high CPU util by your scripts. Maybe @Voxel is going to have some idea?
Anyway I had no such warnings prior to 64SF/v4 and although I understand warning itself is harmless it still might point out to some library issue causing high CPU load.
I have not been able to see any increased CPU load.
What do you mean with high CPU load?
How do you measure the load?
I have investigated the cause of the dmesg logs:
It was not caused by reading temperatures, but the by-pass-openvpn-code.
I change this code not to give any warnings.
They were all caused by my add-on using Netgear stock functions:
(None of my code caused this!)
I have made another code for the "systctl -a", so those errors are gone now.
- nvram show (config show)
[Warning] skb_warn_bad_offload!!!
- sysctl -a
Frequency Set to 800000000
Frequency Supported - 110Mhz 600Mhz 800Mhz
Current Inst Per Ms 0- /sbin/show_usb_sata_info
[Warning] skb_warn_bad_offload!!!
I have changed the code so the [Warning] skb_warn_bad_offload!!! is not received cyclic any longer,
but there will 3 of them logged when the debug page is refreshed.
Also Netgear's stock debug page gives these warnings!
So it's under control.
I have not found that this warning is of any importance.
I have commented your post with red color below.
Thank you again for being alert, supporting the community and reporting this issue!
PS
While investigating this I added timestamps to the dmesg log. Coming in next add-on version.
dos2unix -u full_path_and_name_to.ovpn
Hello Kamoj (and others)!
After hours of testing with and without you add-on I discovered that the .ovpn file caused the problem with VPN-client being turned off after about 15 minutes.
I remember you told me long time ago to use a Linux text editor (not Notepad e.g.) to edit the .ovpn file. Using both Mac and Windows, can you recommend any Linux text editor for these platforms?
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
M | Kamoj Kamoj Addon 5.5 Beta for Netgear R7800/R8900/R9000 with Voxel FW - Continuation | NETGEAR AC Routers and Adapters (Wi-Fi 5) | 3 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!