Build for Netgear R7800

I get some compile error tho, don't know what's up, if i run compile again it fails at another package_compile. (wget, wireless-regdb and so on)

time: package/feeds/packages/perl/host-compile#338.52#30.21#330.13
make[2]: Leaving directory '/home/user/openwrt-basedir/master'
make[1]: *** [package/Makefile:103: /home/user/openwrt-basedir/master/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/user/openwrt-basedir/master'
make: *** [/home/user/openwrt-basedir/master/include/toplevel.mk:218: world] Error 2

Failing with different packages points to parallel compilation hiding the actual failing package... Compile just one thread, avoid parallel. Easier to see the actual errors in the build log. I assume you have already browsed through the compile log...

make clean
hnscripts/singlecompile

Or just normal make

1 Like

hello,no matter what i try i just cant seem to get the upnp or port forward to open any port on my ps4 or xbox one but for some reason your 17.1 fw would work just fine.

port forward would only open on one system at a time..

Do you have any pointers to the mac80211 issue with 4addr Client mode? This is a real showstopper for me and I would like to track that issue / see it fixed in the next release.

I created your build environment and made a few changes I hope won't effect my build. I changed to dnsmasq full because I want mwan3 package. I guess the mwan3 package requires dnsmasq full. I also cross compiled in modemmanager and a modemmanager luci protocol as I only use LTE modems as my WAN. Fingers crossed your environment and patches fix my wifi issues i was having with my own environment.

Hi hnyman,

thanks a lot for your build, it is rock stable for me and all wireless devices (mostly android) are running perfectly fine. Thanks!

But do you know which one of the settings is the best for flow offloading? I noticed that this setting will increase my speeds from 250-300mbps to the max! See R7800 performance Thanks again!

Sorry, I have only a 100 Mbit connection, so I do not need offloading at the moment. Only software offloading works in ipq806x, so you either have it on, or you do not have offloading at all.

1 Like

"only 100 Mbit"... :grinning: Most of my colleagues do not even have 10mbit :smiley: hehe

Thanks. I'm really happy now that i found the setting. Maybe you can comment this in your build post (if you would like). And thanks about the info with hardware offloading, now i may keep the R7800 (my WRT1900ACSv2 will be replaced soon). The R7800 is now perfect, only my girlfriend complains about a Static Noise/Buzzing Sound which i cannot hear...

What did I break now? :smiley:
Luci statistics is broken for me, anyone else? I haven't changed anything regarding that.

Failed to execute call dispatcher target for entry '/admin/statistics/graph/cpu'.
The called action terminated with an exception:
/usr/lib/lua/luci/statistics/rrdtool/colors.lua:20: bad argument #2 to 'format' (integer expected, got number)
stack traceback:
	[C]: in function 'format'
	/usr/lib/lua/luci/statistics/rrdtool/colors.lua:20: in function 'to_string'
	/usr/lib/lua/luci/statistics/rrdtool.lua:258: in function '__line'
	/usr/lib/lua/luci/statistics/rrdtool.lua:511: in function '_generic'
	/usr/lib/lua/luci/statistics/rrdtool.lua:550: in function 'render'
	.../luci/controller/luci_statistics/luci_statistics.lua:195: in function <.../luci/controller/luci_statistics/luci_statistics.lua:138>
	(tail call): ?

Hi!
Running 8407 ath10k old since a week and till now no issue. However right now my Wifi have issues:

Fri Nov  9 21:15:51 2018 kern.warn kernel: [443839.225357] ath10k_pci 0001:01:00.0: bss channel survey timed out
Fri Nov  9 21:16:00 2018 kern.warn kernel: [443848.344875] ath10k_pci 0001:01:00.0: failed to send pdev bss chan info request
Fri Nov  9 21:16:09 2018 kern.warn kernel: [443857.465773] ath10k_pci 0001:01:00.0: failed to set beacon mode for vdev 0: -11
Fri Nov  9 21:16:12 2018 kern.warn kernel: [443860.514864] ath10k_pci 0001:01:00.0: failed to set dtim period for vdev 0: -11
Fri Nov  9 21:16:21 2018 kern.warn kernel: [443869.625468] ath10k_pci 0001:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
Fri Nov  9 21:16:24 2018 kern.warn kernel: [443872.665869] ath10k_pci 0001:01:00.0: failed to set cts protection for vdev 0: -11
Fri Nov  9 21:16:27 2018 kern.warn kernel: [443875.704834] ath10k_pci 0001:01:00.0: failed to set erp slot for vdev 0: -11
Fri Nov  9 21:16:30 2018 kern.warn kernel: [443878.745606] ath10k_pci 0001:01:00.0: failed to set preamble for vdev 0: -11
Fri Nov  9 21:16:40 2018 kern.warn kernel: [443887.864852] ath10k_pci 0001:01:00.0: failed to send pdev bss chan info request
Fri Nov  9 21:16:49 2018 kern.warn kernel: [443896.984816] ath10k_pci 0001:01:00.0: failed to send pdev bss chan info request

Any idea what it could be or how to prevent it?
Thanks!

Running r8430, I've got these in the kernel log:

[  893.761199] ath10k_pci 0001:01:00.0: Invalid peer id 16 peer stats buffer
[ 1957.076832] ath10k_pci 0001:01:00.0: Invalid peer id 18 peer stats buffer
[ 6458.129667] ath10k_pci 0001:01:00.0: Invalid peer id 31 peer stats buffer
[10271.522688] ath10k_pci 0001:01:00.0: Invalid peer id 28 peer stats buffer
[11340.377793] ath10k_pci 0001:01:00.0: Invalid peer id 41 peer stats buffer
[23641.067330] ath10k_pci 0001:01:00.0: Invalid peer id 56 peer stats buffer
[46487.664844] ath10k_pci 0000:01:00.0: Invalid peer id 40 peer stats buffer
[50377.274502] ath10k_pci 0001:01:00.0: Invalid peer id 73 peer stats buffer
[61536.869049] ath10k_pci 0001:01:00.0: Invalid peer id 66 peer stats buffer
[74950.488839] ath10k_pci 0001:01:00.0: Invalid peer id 87 peer stats buffer
[77828.273914] ath10k_pci 0001:01:00.0: Invalid peer id 91 peer stats buffer
[79145.045120] ath10k_pci 0001:01:00.0: Invalid peer id 65 peer stats buffer
[83598.250048] ath10k_pci 0001:01:00.0: Invalid peer id 113 peer stats buffer
[85828.918946] ath10k_pci 0001:01:00.0: Invalid peer id 118 peer stats buffer
[99689.676472] ath10k_pci 0001:01:00.0: Invalid peer id 148 peer stats buffer
[119537.749765] ath10k_pci 0001:01:00.0: Invalid peer id 175 peer stats buffer
[136038.306451] ath10k_pci 0001:01:00.0: Invalid peer id 194 peer stats buffer
[136408.137321] ath10k_pci 0001:01:00.0: Invalid peer id 188 peer stats buffer
[136950.070286] ath10k_pci 0001:01:00.0: Invalid peer id 174 peer stats buffer
[140606.105743] ath10k_pci 0001:01:00.0: Invalid peer id 202 peer stats buffer
[142114.113293] ath10k_pci 0001:01:00.0: Invalid peer id 204 peer stats buffer
[142932.857241] ath10k_pci 0001:01:00.0: Invalid peer id 59 peer stats buffer
[144133.584131] ath10k_pci 0001:01:00.0: Invalid peer id 206 peer stats buffer
[155593.641778] ath10k_pci 0001:01:00.0: Invalid peer id 209 peer stats buffer
[158546.651543] ath10k_pci 0001:01:00.0: Invalid peer id 220 peer stats buffer
[165171.085226] ath10k_pci 0001:01:00.0: Invalid peer id 211 peer stats buffer
[169063.230994] ath10k_pci 0001:01:00.0: Invalid peer id 236 peer stats buffer
[184188.113222] ath10k_pci 0001:01:00.0: Invalid peer id 254 peer stats buffer
[196178.425614] ath10k_pci 0001:01:00.0: Invalid peer id 266 peer stats buffer
[209092.889069] ath10k_pci 0001:01:00.0: Invalid peer id 273 peer stats buffer
[228716.643155] ath10k_pci 0001:01:00.0: Invalid peer id 275 peer stats buffer

Hi,

I am currently using a kinda old version of your build and want to update to the recent 18.06 build. I already know I have to do this via TFTP because of the partition changes.

I wanted to ask if there is any approved way of keeping/restoring my configuration after the flash? I guess this has been asked before but this thread is kinda hard to read with over 1200 messages and changing topics.

Best regards.

I do not think there is any approved way of transferring the settings over to a new major release. Here is how I would do it.

  1. Generate a backup of the current config
  2. Upload the new major version without keeping config
  3. Once rebooted, generate a backup again (this would be the initial default config)
  4. Now unzip the backups and use a visual comparison tool to compare the files and merge the changes into the new backup while paying attention to any incompatible or changed parameters
  5. Upload the modified backup

I just realized that I didn't state exactly what version I have right now. It is OpenWrt 18.06-SNAPSHOT r6917-8948a78862 so I already have 18.06 but as far as I remember some prerelease without the new partition layout.

Would it be possible to backup/restore the config between those versions? But thanks for those steps, it doesn't seem that complicated anyway.

Yes. Just make a backup, flash the new firmwarfe via TFTP, and restore your settings from backup.

@hnyman

So which is the best, most stable build, and most stable wifi? I've tried building your master and switching between the wifi drivers but still have strange wifi issues. Sometimes I lose the 5g, sometimes both radios. And as someone else stated, its something strange with all my Samsung phones and or android boxes.

I use mainlyt the "old ath10k" master version, and some times also the 18.06 build if I have built that.

The connection used to be rather stable before the -ct revamp, but after that my Android tablet lost connectivity rather frequently with the -ct, ahile it has been more stable with old ath10k.

But I mainly use wired desktop, so I am no wifi connectivity expert.

No one got any hints about the luci statstics lua error i got above? Is there someting i can reset?

Not really. There is not much config regarding the CPU plugin in collectd.

Color definition error could point to invalid CPU plugin Luci definition file. Your best bet might be to check /overlay if there have been any changes to Luci files.

Mmm i noticed it's a global error. Not only CPU.
I will try to make new build, I haven't changed anything related to that so idk what could be wrong, maybe master git had some error at the time i pulled it.
EDIT:
Now it works, I don't know what was wrong but I think perhaps it was my extra optimization that I used. Don'¨t go higher than -O2 when compiling, stuff seems to break.
Perhaps you can go with that as default @hnyman? Instead of -Os?