User:Alexander Roidl/HostingOnPI: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "The idea was to upload files scanned by the scanner into a local network or even on the mediawiki")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The idea was to upload files scanned by the scanner into a local network or even on the mediawiki
The idea was to upload files scanned by the scanner into a local network or even on the mediawiki
==Done==
* php file to show files in directory
* 3rd writeable partition on pi
* installed apache2 and php (how to install things on readonly systems see: [[User:Alexander_Roidl/PIScan|Readonly PiScan]]
* looked into the PiScan files
** found main.py and gphoto.py, where the photostoring process takes place (last lines in gphoto.py file: def captureanddownload)
* changed the PiScan to display a IP
[[File:IMG 6801.JPG|400px|frameless]]
==To Do==
* mount 3rd partition with fstab
* change apache config to point to that mounted folder than
** copy index.php there
* copy the files to the hosted folder as soon as captured
==Problems==
* fstab not mounting system
* weird ssh problems when sshing into the PI?!
** changed IP …

Latest revision as of 09:05, 29 March 2018

The idea was to upload files scanned by the scanner into a local network or even on the mediawiki

Done

  • php file to show files in directory
  • 3rd writeable partition on pi
  • installed apache2 and php (how to install things on readonly systems see: Readonly PiScan
  • looked into the PiScan files
    • found main.py and gphoto.py, where the photostoring process takes place (last lines in gphoto.py file: def captureanddownload)
  • changed the PiScan to display a IP

IMG 6801.JPG

To Do

  • mount 3rd partition with fstab
  • change apache config to point to that mounted folder than
    • copy index.php there
  • copy the files to the hosted folder as soon as captured

Problems

  • fstab not mounting system
  • weird ssh problems when sshing into the PI?!
    • changed IP …