Thx SciYro and slano,
Ill try that out, I just want that line to go to 1 before i load my program, so i think it sould be fine without the recompile.
yea adding the line to rc.local sounds better than making a script file and loading it every time user logs in.
thx
Edit:
works as root.
however i want a perticular user in the group "root" to be able to write to file. So i did
Code:
$chmod 664 /proc/sys/net/ipv4/ip_forward
and i get error saying
Code:
chmod:changing permission of ip_forward:(requested0664, actual 0644) Permission denied
I dont understnd why i am getting this error. I am su'd as root.