vincent delvaux <(E-Mail Removed)> wrote:
> here is something I don't understand. I've this network up and running at
> home with a linux red hat 9.0 and a windows 98 pc. The linux is used as a
> gateway with an adsl connection and then forward the traffic to the Windows
> pc through eth0.
> Everything works fine regarding NAT, but after 5-10 min. of inactivity on
> the linux box, the eth0 interface goes down, as well as thee local loop
> (the ppp connection stays up though). I then have to restart the network
> and the iptables rules in order to have the internet connection available
> on my windows pc.
This *sounds* like crontab (man crontab) might be used to remove inactive
networking modules. I've never done this, but from Documentation/kmod.txt
in the kernel source tree,
To periodically unload unused modules, put something like the following
in root's crontab entry:
0-59/5 * * * * /sbin/rmmod -a
> Is there anyway to avoid this and make the network interfaces permanently
> up and running, as well as the routing table and the iptables rules ?
> Am I missing something here ? (sorry, but i'm kinda new to this :-( )
It will very likely be an item that's configured via a RH script, but I
don't run RH.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* Speak softly and carry a sucker rod (See man syslogd, footnote to
recommendation 4 under SECURITY THREATS). */