Click to See Complete Forum and Search --> : Ifup and ifdown


Hena
10-11-2001, 09:52 AM
I seem to have a problem with links, when i'm not using the computer. I'm running a ssh server and when i'm long enough away from my computer (as not using) it seems to run ifdown/ifup commands. However those always fail and then the computer continues by disabling eth0 and going to system standby, until i return and do something. Could this come from not logging off, but leaving it running a program over night (open-command refuses to work with one program atleast, for some reason)? And if so, how can i turn it off, because my ssh-server should stay up and running (with eth0 and my network) even if i'm not around?

bdg1983
10-11-2001, 01:47 PM
This is probably not the correct or best way to get around the problem, but it's all I can think of right now.

Could you create a script that contains some networking command such as pinging (i.e.) your dns servers and schedule the script through cron to execute every 30 or 60 minutes. It might be enough to keep networking active.

I guess it wouldn't hurt to try.