[offtopic] Is there a step-by-step guide somewhere to apply your patches and get the code up to 4.19?

  1. do i need to manually change the kernel version? if so where?
  2. what patches should i download to apply to 4.19 and what patches to apply the performance fixes you've made?
  3. where should these patches be stored?

i'm happy using git, and write my own (simple) patch once in a while, but could use some simple instructions to upgrade my code to 4.19 together with your performance fixes.

edit: Nevermind. simply cloned your repository and checked out the relevant branch. compiling as we speak.

@hnyman

Many thanks for the quality work on these builds, much appriciated. Do you have any recommendation for DNS security when using adblock? I've read and I see dnscrypt2 gets mentioned a lot?

The kernel 4.19 version bump was merged a few hours ago.

master-r11734-b085e0586f-20191220-ct
has kernel 4.19 as the default for ipq806x in OpenWrt

1 Like

Hi

I thought of creating a new topic but trying to write here first, I have the R7800 which I flashed Kongs latest Openwrt build with stock settings, everythings seems to work great except one thing.

I have the LG OLED C8 TV, it won't stay connected to the 5GHz WiFi, I can connect to it but after a few seconds or minutes it disconnects, it works good with 2.4GHz but I get low speeds so can't use it, every other devices works without problem, I noticed that I can't choose auto when choosing the width (20/40/80/160MHz) so I use 80MHz which I've done before, but when using 20MHz the TV seems to stay connected but I get lower speeds so can't use it either, maybe if it was possible to have a auto option it could work, but the 80MHz settings works with Voxel firmware and the ASUS RT-AC86U with Merlin firmware.

so I think it's something with openwrt but its funny because every other devices works great, maybe there is a setting I should change? or I was thinking of trying your (hnyman) build of openwrt and see if it works better? thank you!

Please use this topic only for questions related to this specific build from hnyman.

For questions related to other community builds, please open a new topic.

2 Likes

ok thanks :slight_smile:

We are not using the "baked in" cake, because not all targets have been moved to 4.19, yet.
Now ipq806x was moved to 4,19, so one more major target that uses 4.19.

Sooner or later @ldir will again push for the switch to baked-in cake, but so far too many targets have still been below 4.19.

And all this discussion about the possible new OpenWrt kernel versions is related to my current build by ...?

2 Likes

Does 160MHz work on master-r11734. I have an Intel card that supports 160MHz but the maximum I get is 866Mbps.
in gui I have something like this:

780.0 Mbit / s, 80MHz, VHT-MCS 8, VHT-NSS 2, Short GI
1560.0 Mbit / s, 160MHz, VHT-MCS 9, VHT-NSS 2
currently on channel 36 but I have also tried on others.
Can I change something to achieve these 160MHz?

And the second question on a connected usb 3 drive I have about 55MB / s download and 55MB / s upload. This is achieved after applying this:

echo 35> / sys / devices / system / cpu / cpufreq / ondemand / up_threshold
echo 10> / sys / devices / system / cpu / cpufreq / ondemand / sampling_down_factor

Can you achieve larger transfers?
Thank you in advance for your response :slight_smile:

For VHT160:

I've compiled build based on master-r11734-b085e0586f-20191220-ct however ended up with 62 MB sysupgrade image versus 23 MB based on test 4.19 build. Any ideas?

20191220 adds following libraries and utilities compared with test build. Are those required?
Anyway hnyman build size seams to not be affected therefore those might have been added with my additions.

CONFIG_PACKAGE_libatomic=y
CONFIG_PACKAGE_libgnutls=y
CONFIG_GNUTLS_DTLS_SRTP=y
CONFIG_GNUTLS_ALPN=y
CONFIG_GNUTLS_OCSP=y
CONFIG_GNUTLS_HEARTBEAT=y
CONFIG_GNUTLS_PSK=y
CONFIG_GNUTLS_ANON=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libnettle=y
CONFIG_PACKAGE_libtasn1=y

Plus new image seams to swap connected USB drives.

  • Clean up your build env.
  • Prune your .config (or preferably start from a clean .config.init recipe like I do.

Kernel bump to 4.19 causes no such size explosion.

1 Like

That might actually be a real change due to 4.19 as Ansuel switched the usb driver at the same time. Quite possible that the new driver enumerates the usb devices differently.

Looks like those have been added as samba4 dependencies. Anyway I am always rebuilding whole environment.

In fact disk are not swapped (at least not with your build). Instead there seam to be changes to collectd config file processing:
collectd[7515]: Error: Parsing the config file failed!

How do you get rid of browsers rejecting Luci SSL certificate? I found a guide for doing this in OpenWRT but it's a thousand steps long. On my other router I have OpenWRT without SSL interface, and don't have this problem. Is it possible to easily downgrade Luci to non-ssl version and retain all the Luci modules (SQM, etc)?

Is there a way with this build to install nfs-utils post-flash?

I'm not able to because the hashes mismatch for the kernel when installing libdevmapper

The only way is to build your own image with that module enabled.

1 Like
  1. enable http and disable http to https redirect
  2. import certificate to every browser you are going to use. won't work for example on non-rooted android.
  3. acme and ddns (I am using duckdns)
1 Like

Since 4.19 has different setup for queues and those are already set to 3 you can put it in the universal way:

[ `uname -r | awk '{print int(substr($0,0,4)*100)}'` -ge 419 ] && {
	for file in /sys/class/net/*
	do
		echo 3 > $file"/queues/rx-0/rps_cpus"
		echo 3 > $file"/queues/tx-0/xps_cpus"
	done
}

Similar approach could be applied to IRQs.