AntonK
Very Senior Member
What model# Arris modem?
It's a TM822
What model# Arris modem?
Ok, making sure it's not a Intel based modem. Many issues with those modems.
Have you tried using different test servers on DSLR?
Actually tried that keep alive 10 60 as well as another keep alive code I've seen posted on another Asus Merlin OpenVPN thread. Both didn't work. I also tried adding custom code to hide those authentication warning showing on log which got me worried at first as it also removed user login on on debug page. But I was also to fix it my loading back the previous code on flash drive.
My main problem with the OpenVPN client is the disconnection. It can recover at times but eventually will fail. There is no guaranted uptime if you're running a server set up (besides losing my Ooma voip phone service, etc. at home while the internet was down for the past 3 nights I was using the router). I happened to read Xunilinux's topic at myopenrouter on automated script execution which confirmed my suspicion that this intermittent disconnection is not an isolated problem. Bypassing the OpenVPN client tunnel & enabling dnscrypt proxy seem complicated for a novice user. Getting a log file was hard at first because in the online instruction the command line is /var/log/openvpn-client.log & not cat /var/log/openvpn-client.log. It was actually you Kamoj who provided me that complete code that I was then able to access the log file. I'm thankful for that.
Ok, here is an working example of one way to do, to get the dnscrypt running (using 5 servers in Europe, but it will work for you too):enabling dnscrypt proxy seem complicated for a novice user.
Thank you kamoj.I'll stay with my R7800 and I trust Voxel more than any other FW or developer. He is good - believe me!
Thank you kamoj.
You know, IMO currently R7800 is one of the most optimal router on this market (cost/performance). As I can see from review of AC86U:
https://www.smallnetbuilder.com/wir...-band-ac2900-wireless-router-reviewed?start=2
e.g. its Wi-Fi performance is still the best. Even with stock firmware.
Voxel.
If there’s only two or three values over and over again to which we could change, can they not be check boxes in the FW?
You know, I do not handle ALL codes from GPL. Such things as WebGUI and CGI processing are enclosed part of NETGEAR GPL codes. I can do almost nothing with it (like add checkboxes or so). Approach I select is to use all advantages of stock firmware (hardware acceleration, proprietary drivers from QCA etc), but not everything is possible to change. Mainly internal changes, such as upgrade obsolete packages, acceleration of OpenSSL etc. But some parts are closed for my changes. I am not even NETGEAR beta tester ;-) So... Telnet is not so difficult.
Voxel.
The commands dont take.
# ============================================================================
# To change the network read/write buffer sizes:
# ============================================================================
# (Lines starting with a # are only comments and should not be typed from the telnet-prompt)
# If you do cut-and-paste: Only issue one line at the time.
# ----------------------------------------------------------------------------
# The short version to change fron 524288 to 163840:
# ----------------------------------------------------------------------------
sed 's/net.core.rmem_max = 524288/net.core.rmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
sed 's/net.core.wmem_max = 524288/net.core.wmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
# ----------------------------------------------------------------------------
# The long version ;-)
# ----------------------------------------------------------------------------
#To see what is used now:
sysctl -a 2>/dev/null | grep -E "rmem_max|wmem_max"
# Gives e..g.: net.core.rmem_max = 524288
# net.core.wmem_max = 524288
#To set temporary for testing purpose (= untill reboot or power off/on):
sysctl -w net.core.rmem_max=163840
sysctl -w net.core.wmem_max=163840
#Now make your repeated tests and changes until you found your best values!
#To test latency/ping (lower value is better) and speed:
ookla --configurl=http://www.speedtest.net/api/embed/trial/config.php
# Gives e..g.: serverid: 15015
# latency: 13
# upload: 47987
# download: 68075
# (You can add the server id as parameter to the testprogram, to get repeated tests to same server, eg
ookla --serverid=15015 --configurl=http://www.speedtest.net/api/embed/trial/config.php
# ----------------------------------------------------------------------------
#Then, to set permanently: (= Survives reboot or power off/on, until new FW is installed):
#First check what is in the configuration file at the moment:
cat /etc/sysctl.conf | grep -E "rmem_max|wmem_max"
# Gives e..g.: net.core.rmem_max = 524288
# net.core.wmem_max = 524288
#Change 524288 to 163840:
sed 's/net.core.rmem_max = 524288/net.core.rmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf
sed 's/net.core.wmem_max = 524288/net.core.wmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf
# Finally make the sure the permament values are getting used now:
sysctl -p
# Check that current and permanent values are the same:
sysctl -a 2>/dev/null | grep -E "rmem_max|wmem_max"
cat /etc/sysctl.conf | grep -E "rmem_max|wmem_max"
#---------------------------------------------------------------------
#Warning: Before doing any of this, I recommend you take a backup of your router configuration file.
#That is done in the Netgear Genie GUI. (Advanced: Administration: Backup Settings: Back Up)
#If anything get messed up, you just install the same FW again, and restore the settings!
#In short to Change congestion control from yeah to cubic:
sed 's/net.ipv4.tcp_congestion_control=yeah/net.ipv4.tcp_congestion_control=cubic/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
# In short to change the network read/write buffer sizes from 524288 to 163840:
sed 's/net.core.rmem_max = 524288/net.core.rmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
sed 's/net.core.wmem_max = 524288/net.core.wmem_max = 163840/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
# Check the new values::
sysctl -a 2>/dev/null | grep tcp_congestion_control ; sysctl -a 2>/dev/null | grep -E "rmem_max|wmem_max"
# To Reverse the changes:
sed 's/net.ipv4.tcp_congestion_control=cubic/net.ipv4.tcp_congestion_control=yeah/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
sed 's/net.core.rmem_max = 163840/net.core.rmem_max = 524288/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
sed 's/net.core.wmem_max = 163840/net.core.wmem_max = 524288/g' /etc/sysctl.conf >/tmp/y.y && mv -f /tmp/y.y /etc/sysctl.conf && sysctl -p
This happening with IE11 and or FF?
Was the saved configuration file saved with this version of FW or any previous version of FW?
You may have a router in a bad state as doing a factory reset then reinstalling FW could have caused this issue. A re-install of FW isn't needed after doing a factory reset.
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!