mgetty to pppd to ???? for dial-up webcam server
Hi
I am trying to set up a webcam for my Racing Kart Club. The webcam server will be at a remote site on the end of a phone line. I want to set up the webcam server to allow an automated dial-up modem connection to periodically download an image (say every 15 minutes) onto the club website. The phone line is shared so connection time needs to be minimised. Therefore I do not want to allow "public" access to the webcam server. That's what the wesite is for.
I have the webcam up and running. It generates a new image every 1 second and over-writes a specific file. I have configured mgetty and pppd to complete a log-on sequence.
My questions are:
What is the best method of allowing a website to dial-up and automatically pull a file? There seems to be a number of options (ftp, ssh etc).
I want to restrict the dial-up connection to file transfer only. Does that mean I set up pppd for a silent log-on? (I have set up a separate account for remote admin.)
How do I prevent the possibility of the image file being downloaded at the same time that the webcam over-writes the file with a new image?
My knowledge of Linux is slender so any help would be much appreciated.
|