New NetGear R7800 - Where to start

Thanks.

In fact I think I did it in much less steps. I don't question how it was done there but I don't want to change so many things at a time.

I just went to '/etc/config/network' and under wan I added:

list dns '<IPv4>'

And the same for 'wan6' with the mathing IPv6 ip's.

Then I added

option peerdns '0'

also for both 'wan' and 'wan6'.

Speed test get better with the tweaks?

Still haven't tested. Waiting for wife and daughter to head to bed and then I'll disconnect all devices from wireless and will test. That's how I conducted the first tests.

Well, after setting Download/Upload thresholds in SQM to 90/90 of what my ISP says that I should get (200/100), I get this result:

image

I'm a little disappointed with speed but that thing of bufferbloat seems to have improved.
Also, I'm should be checking latency. Where do I check that?

Edited;

I guess I messed up previous tests.
Links are no longer available. Crap. Did anyone saved those images?

Edited 2;
I tried to install ddns-scripts to be able to use dynamic DNS services but I got this output from

opkg install ddns-scripts
# opkg install ddns-scripts
Installing ddns-scripts (2.7.8-12) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ddns-scripts_2.7.8-12_all.ipk
Configuring ddns-scripts.
root@OpenWrt:~#  030047  WARN : Service section disabled! - TERMINATE
030047  WARN : Service section disabled! - TERMINATE
root@OpenWrt:~#

Expected output as long as you have not configured the ddns service.
Doing config manually by editing etc/config/ddns is possible, but might be easier in LuCI with luci-app-ddns installed.

If you are running the stock OpenWrt build, have you tested package irqbalance ? Might give you a boost. Also things from @ACwifidude about setting 35 for up_threshold and 10 for sampling_down_factor works pretty well for me. YMMV.

(Cable 60/10, SQM running cake + piece_of_cake)

That seems to me a little bit off. If I've just installed the package, how am I supposed to have it already configured?

@DjiPi yes I'm using stock for now. And no, I haven't read that thread yet. Do you have speed improvements with those kind of mods?

The speed is based on the top speed vs others on the same technology, in the same country:

top 2% - A+
top 10% = A
top 20% - B
top 50% - C
top 80% - D
otherwise : F

Note that whether the grade is "good" or "bad" is open to interpretation. Higher speeds and therefore higher grades generally cost more. You may get an "A" or "A+" and be paying too much. You may get an "F" and yet have a good value connection.

Source:
https://www.dslreports.com/faq/17930

The chart on the results page is where it graphs the bufferbloat latency:

I would try out fq_codel + simplest and turn off the advanced settings. See how your results compare. With more aggressive CPU settings the r7800 I can get it to shape up to ~500mbps with fq_codel. I can only get ~low 200’s with cake.

1 Like

The latency is the bufferbloat timings we see in DSL reports? What about ping time we usually see in these kin of tests?

@ACwifidude I'll have to try that latter. I want to conduct all testing under the same conditions. Meaning, no wireless devices consuming bandwidth during the test. So, I'll run that later.

A post was split to a new topic: R7800 on 19.07.2 - LuCI running really slow

Previous response from ACwifidude is pretty well detailed and complete about speed, so just adding to that for my part.

I'm shaping very low bandwidth and for me, I don't think that it makes alot of changes from the base. But I subjectively find the router itself to be more responsive. Got me from A to steady A+ everywhere most of the time. Except when I post the results :wink: .

Ok.

Since I did bad trying hnyman's firmware, I'm not very afraid of trying anything. I'm very afraid of losing internet access because of my daughter's classes in the morning. Anyway, I think these settings won't make me lose connectivity to the router, I hope. I mean the SQM settings and the setting - 35 for up_threshold and 10 for sampling_down_factor. Hope they don't make me lose wireless connectivity.

I'm going to read about that threshold and sampling down factor.

Ok peeps, I tried to configure ddns service but I'm not feeling confident that it is correctly configured.
Can you please give me a hand on this:

config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option upd_privateip '0'
config service 'myddns_ipv4'
option lookup_host 'myhostname.ddns.net'
option domain 'myhostname.ddns.net'
option username 'myeamil@email.com'
option password '******************'
option interface 'wan'
option ip_source 'network'
option ip_network 'wan'
option service_name 'no-ip.com'
config service 'myddns_ipv6'
option update_url 'http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]'
option lookup_host 'yourhost.example.com'
option domain 'yourhost.example.com'
option username 'your_username'
option password 'your_password'
option use_ipv6 '1'
option interface 'wan6'
option ip_source 'network'
option ip_network 'wan6'

What else do I need to change? My ddns provider is (free) no-ip.com

I read a couple of things about not being able to use '-' in the config file. I'm not using one. But I feel a lot is missing here.

Ok, I gave up on no-ip.com because apparently it doesn't support IPv6. So from the available ones in the Docs, which one you guys recommend?

Is duckdns related to DuckDuckGo?

no-ip does support IPv6, just OpenWrt's ddns-scripts don't know about it.

hum, ok, so info in the Docs looks a bit misleading. At least to me!.

Anyways, I said I gave up on no-ip.com, but I guess I'll stick with it for now, until I don't get along with the setup.
Later, maybe I choose another one.

Also, I went to github for the latest /etc/config/ddns version and they say there to not use that file but a copy of it because all lines started with # and empty lines will be removed, as will be the options that I eventually set (uncomment) and they are already the default ones. I don't understand what they mean with "use a copy of this file". How will that change things? The content will be the same if I create a copy of the file.

Edited;
Nevermind, I got it.

I have tried to install ddns-scripts_no-ip_com and the first time I got an error, then I tried again and looks like it installed with no problems.

What happened???

# opkg install ddns-scripts_no-ip_com
Installing ddns-scripts_no-ip_com (2.7.8-12) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ddns-scripts_no-ip_com_2.7.8-12_all.ipk
Configuring ddns-scripts_no-ip_com.
Parse error (invalid command) at line 84, byte 1
Parse error (invalid command) at line 85, byte 1
uci: Parse error (invalid command) at line 84, byte 1
root@OpenWrt:~# opkg install ddns-scripts_no-ip_com
Package ddns-scripts_no-ip_com (2.7.8-12) installed in root is up to date.
root@OpenWrt:~#

I finally managed to get this working. But I still have a question. I'll first state how I managed to make it work and then I'll ask the question.

Steps:
1 - Install ddns-scripts

opkg install ddns-scripts

2 - Install additional package if needed (no-ip.com needs)

opkg install ddns-scripts_no-ip_com

3 - Replace file /etc/config/ddns-scripts with the most recent version from OpenWrt Github here.
Also keep the original name, just in case. I'm not sure if you can change the name.

4 - Change the following lines containing the following settings accordingly (downloaded file from step 3 is from 30/04/2020)

  • Line 66
    config service "noip_ddns"
    (service cannot contain white-spaces or dashes "-" or "@" ":" "!" or other special characters).

  • Line 73

option enable "1"
  • Line 79
option use_ipv6 "0"
  • Line 86
option interface "wan"
  • Line 107
    Comment it out. This is only needed if an upate script is not provided by OpenWrt. NoIP script is provided, so not needed.
#option service_name "dyndns.org"
  • Line 115
    Remove hash symbol. Uncomment. This is the location of the update script for NoIP, provided by OpenWrt.
option update_script   "/usr/lib/ddns/update_no-ip_com.sh"
  • Line 127
    This is where you place the "url" so to speak, that you chose in your NoIP account to be pointed to by the IPs your PC is assigned with. For instance "my.chosen.domain.ddns.net"
option domain "my.chosen.domain.ddns.net"
  • Line 131 and 135
    These are self explanatory. Your NoIP login credentials.

Last but not the least, restart ddns service with:

/etc/init.d/ddns restart

You can check it it is working by ping your my..chosen.domain.ddns.net from outside your local network and see if it gets 0% loss.

I hope I'm not alone already in this thread...

Is it possible to check if I have correctly setup SSL for my DDNS service?

I already have 'wget' and 'curl' installed, I suppose from the stock firmware. So I just enabled the option

option use_https "1"
inside /etc/config/ddns and restarted the service. The path to default certs.pem file was already in the config file.

Can I check somehow if my DDNS service is using SSL?

Are there any traces in the logs? Maybe it tells you where it connected?

If not then one way possible to check is to create a firewall rule to block tcp port 80 from any_zone to wan. Then I would trigger the DDNS service to see if it succeed updating your ip. Don't forget to unblock 80 afterwards.

Hi.

Which log?

logread -f

And would that be right after restarting DDNS service or when? I want to avoid messing with the firewall because I don't feel comfortable with it and I can't afford to mess it up and lose internet connection.