Posted: Wed Apr 28, 2010 13:00 Post subject: A minor bug in K2.6 release (fixed, just a misunderstanding)
I have find a minor bug in K2.6, don't know if those are existing in the newer release of K2.4 or not as the path could be changed too if the kernel version is >= 2.4.23.
The problem that I have found is the file path pointed to ip_conntrack_max is still not yet updated as the path has been updated in kernel version 2.4.23 already.
It would help if you told where the code is. However, have you checked to be sure that it really needs to be changed? In k2.4 builds you can use either path, they're linked together. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
It would help if you told where the code is. However, have you checked to be sure that it really needs to be changed? In k2.4 builds you can use either path, they're linked together.
Well the code is inside the /etc/preinit file which is used as an startup script for all OS based on OpenWrt.
By the way I can show you that they are not linked at all as the echo command fail all the time, as telling that "/proc/sys/net/ipv4/ip_conntrack_max" is an non-existing file.
What specific build (kernel + build #) is that on? _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
What specific build (kernel + build #) is that on?
The bin that I was used is dd-wrt.v24-13575_NEWD-2_K2.6_mini.bin and I have performed a hard reset (press reset button > 10secs) after update to reset it before doing any action on it.
By the way I can't use the newest release 14205 as it bricked my "Buffalo WHR-HP-G54" which requires a tftp firmware restore.
In addition, the following information may be useful for you.
Code:
root@Unknown | zD:~# uname -a
Linux Unknown | zD. 2.6.24.111 #342 Sat Jan 2 12:37:57 CET 2010 mips unknown
From the "Status -> Router" page :
Code:
Firmware Version DD-WRT v24-sp2 (01/02/10) mini - build 13575M NEWD-2 K2.6 Eko
I can't see any obvious reason for it. The makefile is set to use conntrack.26 for broadcom k2.6 builds and the conntrack.26.startup file references the nefilter path.
http://svn.dd-wrt.com:8000/dd-wrt/ticket/1473 _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I can't see any obvious reason for it. The makefile is set to use conntrack.26 for broadcom k2.6 builds and the conntrack.26.startup file references the nefilter path.
A hard reset won't change the contents of that file. You could try other builds/versions though. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
A hard reset won't change the contents of that file. You could try other builds/versions though.
I have edited my reply as showing the possible reason that I have found, hope that you can have time to look at it.
By the way, is DD-WRT executing the additional script (conntrack.26.startup) to setup the conntrack path instead of just using preinit in K2.6 release? coz I found it on my router. If so why don't you guys change the setting in preinit such that appending the content of conntrack.26.startup into the preinit file. Such file structure is making people very confusing :\ As users don't know which setting is really loaded by the router :\
Last edited by UnknownzD on Fri Apr 30, 2010 2:25; edited 3 times in total
It's set at line 18 in the k2.6 mini config but I'm not sure whether "conntrack.26" needs to have ".startup" in it or if the compiler auto-completes it. I didn't notice anywhere that would fall back to using the old file if it was incorrect either... _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
It's set at line 18 in the k2.6 mini config but I'm not sure whether "conntrack.26" needs to have ".startup" in it or if the compiler auto-completes it. I didn't notice anywhere that would fall back to using the old file if it was incorrect either...
Nevermind I have found the reason already, just a misunderstanding. Sorry for any inconvenience as the router is loading an *additional* script to setup the conntrack setting. But I think the following script or something like it would not be to hard to be put into the makefile.