Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: omnia on January 06, 2005, 11:33:36 AM

Title: rc.loacl dont work
Post by: omnia on January 06, 2005, 11:33:36 AM
i want to ask if i copy rc.local using ssh and edit it with wordpad then overwrite it back in linux ,is this make it dont work??
Title: rc.loacl dont work
Post by: Ricky on January 06, 2005, 02:40:19 PM
What is that question.. well you can do so but save it as text then and then chmod to 755 ..

Well yes it will work :)
Title: rc.loacl dont work
Post by: omnia on January 06, 2005, 04:24:54 PM
i already did that and it didnt work also  :(

me rc.local content is:
touch /var/lock/subsys/local
/etc/rc.d/rc.nat
insmod ip_wccp
insmod ip_gre
/etc/rc.d/init.d/kannel2
 
 
 
 
route  add -net  163.121.130.32 netmask 255.255.255.224 gw  163.121.130.6 dev eth0
route  add -net  163.121.130.64 netmask 255.255.255.224 gw  163.121.130.17 dev eth0
route  add -net  163.121.130.96 netmask 255.255.255.240 gw  163.121.130.17 dev eth0

is there any clue?