Thank you Charles. Now I am getting a different error

Jul  1 14:30:38 babylon ipsec_setup: Starting FreeS/WAN IPsec 1.91...
Jul  1 14:30:38 babylon ipsec_setup: KLIPS debug `all'
Jul  1 14:30:39 babylon ipsec_setup: KLIPS ipsec0 on eth0 24.72.35.91/255.255.255.0 
broadcast 24.72.35.255
Jul  1 14:30:39 babylon ipsec_setup: WARNING: ipsec0 has route filtering turned on, 
KLIPS may not work
Jul  1 14:30:39 babylon ipsec_setup:  (/proc/sys/net/ipv4/conf/ipsec0/rp_filter = `1', 
should be 0)
Jul  1 14:30:39 babylon ipsec_setup: WARNING: eth0 has route filtering turned on, 
KLIPS may not work
Jul  1 14:30:39 babylon ipsec_setup:  (/proc/sys/net/ipv4/conf/eth0/rp_filter = `1', 
should be 0)
Jul  1 14:30:39 babylon ipsec_setup: ...FreeS/WAN IPsec started


So I changed the line 116 in /etc/init.d/network to
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
did a back up and rebooted the system and found that the change that i made is gone. 
How do i make the change permanent

Thanks

Abjin

Charles Steinkuehler wrote:

> > I am running a Dachstein CD 1.0.2. I got it working as a gateway. Now
> I am tring to configure the ipsec module and when
> > I start my machine I get an error in /var/log/daemon.log
> >
> > Jun 30 01:11:24 babylon ipsec_setup: (/etc/ipsec.conf, line 2) section
> header ^M has wrong number of fields (1) --
> > `start' aborted
> >
> > I dont see any messages regarding ipsec in /var/log/messages. This is
> the ipsec.conf I use;
>
> My first guess would be you somehow managed to get DOS/Windows EOL's
> instead of Unix.  Try running a dos -> unix EOL converter on the file,
> either on the LEAF box itself, or on a seperate system.  NOTE:  If
> you're handy with sed and shell escapes, you can do this from the
> command line on LEAF, otherwise, there are various utilities floating
> around to do this for you, like charconv, availble from my website:
> http://lrp.steinkuehler.net/Packages/Utilities.htm
>
> Charles Steinkuehler
> http://lrp.steinkuehler.net
> http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to