waveform-computing / compoundpi

A project for controlling multiple Pi cameras simultaneously
http://compoundpi.readthedocs.org/
GNU General Public License v2.0
61 stars 19 forks source link

Network setup issues #30

Closed zms5063 closed 9 years ago

zms5063 commented 9 years ago

Hello, Dave Compoundpi seems perfect for my application based on reading the documentation, however im having trouble setting up my network settings, and am very weak in that area of computer science. I'm a university student, and would definetely be will to issue citations if you have any relevant published work on compoundpi, should my project get off the ground. My email is zms5063@psu.edu if you would prefer to contact me that way.

waveform80 commented 9 years ago

Just for my reference, here's a link to the corresponding forum post. In that you state that you haven't seen the red camera light appear on the Pi servers? If so, that's the reason you can't get the client to find any servers: because they're not running. So that's the first thing to sort out.

Connect a monitor and keyboard to one of your Pi servers and from the command line check on whether the cpid daemon is running:

$ sudo service cpid status

That should return something like "cpid is running" is everything is fine but my guess is it won't. Whatever it does return will likely be useful so if you could paste that here we can go from there.

zms5063 commented 9 years ago

Yes, I ended up getting it nominally working. It might be helpful to include a list of dependencies in the documentation. I was missing python setuptools, and didn't notice the traceback when I was installing.

waveform80 commented 9 years ago

I'll add that dependency into the installation instructions for 0.4. Any particular reason you didn't use the Raspbian package? (I know it's rather out of date but it's definitely the simplest way to install and it's the only way that includes an initscript to automatically launch the cpid daemon on boot). I'm working on 0.4 at the moment, and am vaguely hopeful I should have something released in a few days.

zms5063 commented 9 years ago

I just followed the Server installation instructions in the documentation, perhaps that wasn't correct, this is really the first time I was installing a python library on R-pi, and I'm not experienced in Linux to know when I'm making a goofy mistake.

waveform80 commented 9 years ago

No worries - I'm adding a note to the installation instructions to install the pip command first (that'll pull in setuptools automatically). I've also updated the quick-start stuff for 0.4 and moved it to the front of the docs as it's probably more useful for first-timers while the installation docs are a sort of catch-all for more general platforms.