Re: lost configuration after reboot
At Thursday, 15 January 2004, Jan Minar <Jan.Minar@seznam.cz> wrote:
>Hi, Debian User.
>
>On Wed, Jan 14, 2004 at 05:49:46PM -0500, Debian User wrote:
>> i reboot my new system after a week or so of runtime. upon restarting
>> the os, several things were amiss:
>
>That's a feature.
>
>> an entry in the routing table to the gateway was missing. i was able
>> to route add the entry again. shouldn't this entry persist after
>> a reboot?
>
>Add appropriate ``gateway'' stanza in /etc/network/interfaces; see
>interfaces(5). Or simply add the gateway-adding command to
>/etc/init.d/network.
>
>> iptables rules did not persist as shown by iptables -L the table
>> was empty and packets were not being forwarded from the 192.168.1.
>> 1 eth1 interface to the 10.20.1.158 eth0 interface. iptables -t nat
>> -A POSTROUTING -j MASQUERADE has not helped my situation.
>
>(1) Setup your iptables configuration.
>(2) Do ``iptables-save > /etc/iptables.conf''.
>(3) Add ``iptables-restore < /etc/iptable.conf'' to /etc/init.d/network.
>
>Do NOT use /etc/init.d/iptables until it's audited -- there is/was a
>potential security breach (see Bug#225805), and other issues are
>probably to be discovered.
>
>Alternatively, you can modularize the setup, using
>/etc/network/interfaces.
>
>> my default xwindow manager i thought was kde ... xdm is now coming
>
>From The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]:
>| X was named after an earlier window system called "W". It is
a window
>| system called "X", not a system called "X Windows".
>
>> up as the default and i cannot seem to prevent this from happening.
>
>apt-get install kdm; maybe apt-get remove xdm
>
Jan,
Thanks for your help.
I also needed to echo 1 > proc/sys/net/ipv4/ip_forward to get it
working too.
Harland
Reply to: