Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Cure for disconnecting ADSL provider, Monkey webserver for internet homepage< Next Oldest | Next Newest >
Ose_Mobuju Offline





Group: Members
Posts: 1
Joined: Mar. 2004
Posted: Mar. 06 2004,13:45 QUOTE

I want to use the Monkey webserver together with e.g. DynIP to get a homepage with more file space than is possible to get cheap with an ordinary provider. I have one problem though, the provider detects no activity on my ADSL link and disconnects the line.

I wish that some version of cron was a part of DSL, to be able to write a script that simulates some activity. Alternatively, any other small utility that is available could be used but I dont know any.

In this way it would be possible to make a webserver on a retired computer with one cd drive for DSL and another for a CD-RW or even a DVD-RW that contains your home pages. If something bad happens it is then very easy to restart again with the possible vulnerability fixed and the home page on the RW disk can be managed offline with another faster computer.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 06 2004,18:26 QUOTE

Write a small shell script that "Pings" a web site once every X minutes.
I believe that there is a "sleep" command that you could put in your script to make it recycle again and again.

If not, build a simple one time script like:

!/bin/sh
ping www.yahoo.com
exit

and use cron to run it on regular intervals.

Good Luck.
Back to top
Profile PM 
1 replies since Mar. 06 2004,13:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Cure for disconnecting ADSL provider

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code