View previous topic :: View next topic |
Author |
Message |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sun Feb 04, 2007 1:16 am Post subject: [Solved] "inet.ipv4.conf.all.rp_filter" is an unkn |
|
|
Hi, all...
I just upgraded to the new kernel sources (2.6.19-r5), today, and with my boot messages, I now get: Code: |
error: "net.ipv4.conf.default.rp_filter" is an unknown key
error: "net.ipv4.conf.all.rp_filter" is an unknown key |
This message is something I've never encountered, or delved into...
Could someone familiar with this please get me going in the right direction?
Thanks! _________________ "Primum non nocere" ---Galen
Last edited by cgmd on Sun Feb 04, 2007 9:33 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Feb 04, 2007 5:35 pm Post subject: |
|
|
Not sure what you changed in your kernel configuration to disable the rp_filter facilities (which are a good thing), but if all you want is to get rid of those error messages, comment out the lines containing net.ipv4.conf.all.rp_filter and net.ipv4.conf.default.rp_filter in /etc/sysctl.conf. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sun Feb 04, 2007 6:02 pm Post subject: |
|
|
moocha wrote: Quote: | Not sure what you changed in your kernel configuration to disable the rp_filter facilities (which are a good thing), but if all you want is to get rid of those error messages, comment out the lines containing net.ipv4.conf.all.rp_filter and net.ipv4.conf.default.rp_filter in /etc/sysctl.conf. |
Thanks, for that information. Naturally I would rather restore the rp_filter facilities, however, I'm now experiencing trouble finding those settings in my kernel, that I would need to change.
What section would contain them?
Thanks for helping! _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Feb 04, 2007 6:18 pm Post subject: |
|
|
They should be provided automatically by net/devinet.c. Looking through that file, the only way you'd manage to disable them is if you disable IPv4 altogether (I doubt you did ) or if you disable CONFIG_SYSCTL, i.e. if you turned off General settings -> Sysctl support. I don't recommend turning sysctl support off. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sun Feb 04, 2007 9:32 pm Post subject: |
|
|
moocha wrote: Quote: | or if you disable CONFIG_SYSCTL, i.e. if you turned off General settings -> Sysctl support. I don't recommend turning sysctl support off |
How correct you are! My sysctl kermel config:
Code: | Symbol: SYSCTL_SYSCALL [=n]
³ Prompt: Sysctl syscall support
³ Defined at init/Kconfig:305
³ Depends on: EMBEDDED
³ Location:
³ -> General setup
³ -> Configure standard kernel features (for small systems) (EMBEDDED [=y])
³
³ Selects: SYSCTL
³
³
³ Symbol: PROC_SYSCTL [=n]
³ Prompt: Sysctl support (/proc/sys)
³ Defined at fs/Kconfig:941
³ Depends on: PROC_FS && EMBEDDED
³ Location:
³ -> File systems
³ -> Pseudo filesystems
³ -> /proc file system support (PROC_FS [=y])
³ Selects: SYSCTL
³
³
³ Symbol: SYSCTL [=n]
³ Selected by: SYSCTL_SYSCALL || PROC_SYSCTL && PROC_FS |
Recompiling, with sysctl enabled has eliminated the error. In retrospect, I don't believe the kernel upgrade was responsible, but, likely, the error has been there all along, just previously unnoticed by me.
In any case, thanks for your pointers. You've been a great help! _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
moocha Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sun Feb 04, 2007 10:12 pm Post subject: |
|
|
You're most welcome. I'm glad it's fixed - have fun! _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|