LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to check kernel (RH9) is support for Internet connection sharing?? (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-check-kernel-rh9-is-support-for-internet-connection-sharing-66307/)

TYLin 06-18-2003 03:39 AM

How to check kernel (RH9) is support for Internet connection sharing??
 
Hi, everyone,
I have 3 computers and a hub, I tried to setup me linux box to share internet connection of RR. I also searched the solutons on internet and tried for a long time.
After all, I decided to recompile the kernel.
My kernel is RH9 2.4.20-18.9
also I did every thing like
changes the /etc/sysctl.conf
net.ipv4.ip_forward = 1
net.ipv4.ip_always_defrag =1
add in the /etc/rc.d/rc.loacl
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_always_defrag

and also do the NAT sutff...

so I compiled the kernel and tried the suggestions I searched on WEB,
however, I compile the kernel and can reboot with some USB problem. (I think it's not matter!). When I input the command
# cat /proc/ksyms | grep ip_forward
I got notthing? (The HOWTOs I found says I shoud get someting back like
00141364 ip_forward_Rf71ac834
So, I wonder is there anything wrong? or I should choose specially when compile kernel?
And, can anyone tell me how to check the kernel is fit my requirement after compile so that I can make sure the kernel can do the internet connection sharing and figure out the problem is not on the kernel.



Thanks for your help

New Beginer


All times are GMT -5. The time now is 05:36 PM.