For DD-WRT firmware, which version of Linux Kernel?

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
adFFhd1
DD-WRT Novice


Joined: 14 Feb 2022
Posts: 41

PostPosted: Sat Nov 30, 2024 17:36    Post subject: For DD-WRT firmware, which version of Linux Kernel? Reply with quote
For a particular firmware version, how do I determine which version of the Linux Kernel the firmware is based on? (I want to be able to do this before upgrading my firmware from one version of DD-WRT to a newer version of DD-WRT.)

Here is the version of the firmware for which I am seeking an answer. (This is the version that I am considering upgrading to.)
TP-Link Archer C7 v5
09/13/2024 - r58381
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=337336

I realize that a similar question was posed here
https://forum.dd-wrt.com/forum/viewtopic.php?t=337309

The way that I interpret that post is
There is no easy way to determine the firmware version but you can make an educated "guess."
However, I might be drawing the wrong conclusion there.

From having installed a January 2024 version of the firmware for the TP-Link Archer C7 v5, I see that the Kernel is 3.18.xx. So, I predict that 09/13/2024 - r58381 is also 3.18.xx.
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16703
Location: Texas, USA

PostPosted: Sat Nov 30, 2024 18:06    Post subject: Reply with quote
Depends on the device. Some antique devices are still using Linux 2.4.x, others 2.6.x - some having a choice of Linux 4.4.x (used to be 3.10.x for Broadcom MIPS), still others Linux 3.2.x, Linux 3.5.x, Linux 3.10.x, Linux 3.18.x, Linux 4.4.x, Linux 4.9.x, Linux 4.14.x, Linux 6.1.x, and Linux 6.6.x. Easiest way to tell is either via webUI or via telnet/ssh via issuing a uname -a. Most all devices running older kernels will likely never see a kernel version update.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Nuor
DD-WRT User


Joined: 20 Apr 2015
Posts: 176

PostPosted: Sat Nov 30, 2024 19:06    Post subject: Reply with quote
kernel-panic69 wrote:
Most all devices running older kernels will likely never see a kernel version update.


Are you able to be specific about "older". Might 4.9 be upgraded to 6.+ on R9000?
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 7065
Location: UK, London, just across the river..

PostPosted: Sat Nov 30, 2024 19:24    Post subject: Reply with quote
Nuor wrote:
kernel-panic69 wrote:
Most all devices running older kernels will likely never see a kernel version update.


Are you able to be specific about "older". Might 4.9 be upgraded to 6.+ on R9000?


4.4.x & 4.9.x are still supported & backported ....kind of... Cool
why do you need .... those ...

if you insist someone to update kernels just because yr blue eyes....it not an easy job and it wont happen...your best move is to get a device that is using 6.1 or 6.6 and this is not a grant for success...or better use/stability and ect...

R9000 on 4.9 is rock solid and fine... Cool

_________________
Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 -DD-WRT 63257 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63257 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16703
Location: Texas, USA

PostPosted: Sat Nov 30, 2024 21:35    Post subject: Reply with quote
Nuor wrote:
kernel-panic69 wrote:
Most all devices running older kernels will likely never see a kernel version update.


Are you able to be specific about "older". Might 4.9 be upgraded to 6.+ on R9000?

I don't think there are plans to migrate the R9000 to Linux 6.x.x, but I am not going to ask the headmaster about it. If it concerns you that much, feel free to migrate to unofficial OpenWRT firmware... just don't expect opkg to work.

https://forum.openwrt.org/t/netgear-x10-r9000/3913/688
https://forum.openwrt.org/t/netgear-x10-r9000/3913/789
https://www.myopenrouter.com/article/how-install-openwrt-netgear-nighthawk-x10-r9000
https://github.com/masmbit/Netgear-R9000-Build/tree/master/bin

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13880
Location: Netherlands

PostPosted: Sun Dec 01, 2024 11:17    Post subject: Reply with quote
K4.4 is an SLTS release so still supported see: https://wiki.linuxfoundation.org/civilinfrastructureplatform/start. So the Broadcom Northstar routers are still going strong Smile

K4.9 is EOL since about two years ago (https://endoflife.date/linux) it is possible that someone will back port patches in case of severe security problems

For me the reason to say goodbye to R7800 K4.9 with pain in my heart 😭

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16703
Location: Texas, USA

PostPosted: Sun Dec 01, 2024 12:17    Post subject: Reply with quote
BrainSlayer is still back-porting patches to the 4.9 kernel:

https://github.com/mirror/dd-wrt/commits/master/src/linux/universal/linux-4.9

In the case of devices that have migrated to Linux 6.1, it's more a matter of other packages in the firmware that have been patched and updated since the migration.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13880
Location: Netherlands

PostPosted: Sun Dec 01, 2024 12:28    Post subject: Reply with quote
👍
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
adFFhd1
DD-WRT Novice


Joined: 14 Feb 2022
Posts: 41

PostPosted: Sun Dec 01, 2024 18:19    Post subject: Reply with quote
kernel-panic69 wrote:
Easiest way to tell is either via webUI or via telnet/ssh via issuing a uname -a.


If the user does not have the firmware in question installed on a device, your method is not so easy. Is there another method? the user would have to look at the source code?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16703
Location: Texas, USA

PostPosted: Sun Dec 01, 2024 21:32    Post subject: Reply with quote
I'd post my notes, but that would be spoon-feeding. The Wiki is limited in being able to have the information in the supported devices table or on each supported device's individual wiki page (many do not have one). Seems like scratching an itch is what you're doing. Download all the files and forensically examine them if you are actually that interested.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
adFFhd1
DD-WRT Novice


Joined: 14 Feb 2022
Posts: 41

PostPosted: Mon Dec 02, 2024 0:01    Post subject: Reply with quote
kernel-panic69 wrote:
I'd post my notes, but that would be spoon-feeding. The Wiki is limited in being able to have the information in the supported devices table or on each supported device's individual wiki page (many do not have one). Seems like scratching an itch is what you're doing. Download all the files and forensically examine them if you are actually that interested.


I guess it's not that important to me anymore.
As you probably know, the reason for my original question (the original post in this threade) was because here
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=337759&highlight=
someone said that a change in Kernel version would mean that you can't rely much on your settings carrying over from one firmware version to another firmware version.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 16703
Location: Texas, USA

PostPosted: Mon Dec 02, 2024 1:27    Post subject: Reply with quote
There was no mention of kernel version affecting settings. What affects settings is that some nvram variable names have changed over the years, as well as additional settings added, and many other things, but NOT kernel version. I think you're reading words that are not there or inferring something that is in egregious error, as already stated in THAT thread.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum