On Sun, 27 Jun 1999, Glen Lee Edwards wrote:

> I have a www server located a thousand miles from me that has a couple
> domains I own on it.  My personal PC (Linux only) is dial up to a local
> ISP which is NOT my domain server.  My job keeps me away from the house
> for sometimes up to 2+ weeks at a time.  I need some kind of automated
> system that will allow my PC to dial up my ISP, and then download certain
> files from my domain server.  I already have the auto dial-in working.
> 
> My question is, what do I have to do so my PC will access these remote
> files and download them.  BTW, I don't know if the server is running any
> kind of remote file server program.  Both computers are running Red Hat.

Diald, rsync, ssh, a couple of static IP's and a couple of shell scripts are 
your friend.

I have a client that I use the above combination to perform UNATTENDED
nightly backups from their machine to mine as well as remote administration. 
This gives them off premises backup so that if the place should happen to 
burn down or they have a catastrophic failure the damage is minimized. I 
have been amazed how well this works.

I also use mgetty with a couple of shell and awk scripts to allow me to 
get the remote computer to connect to the net by calling it and letting it
ring twice, hang up call it again let it ring twice, and hang up again.
diald is then commanded to connect to the net for a minimum of 10 minutes.
I now have 10 minutes to set up an ssh session b4 the phone gets hung
up again. Once connected to the remote machine the link stays up as long 
as there is activity on it. When the activity stops for the perscribed
amount of time (this is configurable I use 10 minutes) it hangs up the phone.

This setup gives me the ability to use the same phone lines for fax, internet,
and dialin. Since thay cannot afford a full time connection to the net
this gives them and me the next best thing.

Hope this helps.

......Tom                       "Do not meddle in the affairs of wizards,
[EMAIL PROTECTED]                   for you are crunchy and good with ketchup."

         Unix IS user friendly. It's just selective about who its friends are.

Reply via email to