toxuin post at 2015-10-28 13:22:10

Address already in use
Means, your octoprint is already running! Go to your browser, punch in the IP of your Orange Pi with port 5000 and BEHOLD.

Survive-Pi post at 2015-10-28 13:24:24

Not sure if the last post means anything...I am connected and logged into OctoPrint on my Pi from a web page on my laptop!
Thanks toxuin! Bed time. Next steps tomorrow. :D

Survive-Pi post at 2015-10-29 00:48:15

I broke it. Lol. Starting from scratch again. Can I run a desktop on pi? Should I install it first? Can I install Arduino ide to program printer or do I need to do that from laptop? Or can I do it from OctoPrint?

Everything worked until connect without 5000... Can still connect to x.x.x.x:5000...
Installed Mate desktop after step 8a, before I tried x.x.x.x:5000 first time...
Step 12, find username and change to octoprint... In nano file line said something like "Octoprint user=pi" I changed it to "Octoprint user=octoprint".
Now when I run sudo nano ~/OctoPrint/sripts/octoprint.default I get an empty file...

Don't waste too much time on this error, like I said, I'm about to start from fresh install again.
Just wondering about the desktop option... You laughed at my picture, so I'm thinking might not be a good idea...

toxuin post at 2015-10-29 02:40:13

Desktop on the orangepi is possible. But this little board goes inside your printer eventually, where there's no monitor and keyboard. It's purpose to make printer autonomous. Also, orabgepi's resources are pretty limited. But I guess you have to try! It is definitely going to work - octoprint is not conflicting with desktop environment. Just make several test prints while heavy-ish desktop use and let us know the results. Missing file in ~/OctoPrint/scripts/ means you've moved it somewhere. You can always get fresh copy from foosel's github. The .default file is just a config with like 10 lines.

Survive-Pi post at 2015-10-29 04:40:30

Edited by Survive-Pi at 2015-10-28 13:54

A hah! Whenever you save changes in nano/vi whatever, you have to backspace out the .tmp it tries to add to end of file name...

Learning... :)

Survive-Pi post at 2015-10-29 04:42:04

Edited by Survive-Pi at 2015-10-28 13:53

Edit: sorry, double post...

Survive-Pi post at 2015-10-29 04:43:59

Edited by Survive-Pi at 2015-10-28 13:52

Double post bad enough, 3 just stupid! Forum boggs down, boggs my computer, and 5 minustes later post happens 3 times...

Survive-Pi post at 2015-10-29 05:01:36

Any idea how to make this camera work? I have one, just no idea how to enable it in octoprint...

http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/

toxuin post at 2015-10-29 05:38:16

Survive-Pi replied at 2015-10-28 13:01
Any idea how to make this camera work? I have one, just no idea how to enable it in octoprint...

I don't have a OrangePi ribbon camera but here are some clues.
if you have a /dev/video0 device – that's your camera and you're good to go. If you don't have anything in /dev that starts with video* you have to install drivers for it which I find a pretty advanced task. Consider using a usual USB webcam for this and one other reason: long cable. Short OrangePi camera ribbon cable makes it nearly impossible to use in 3d printer since camera placement is vital. I mean you'll probably want to mount OrangePi and camera to different parts of your printer independently of one another. Longer USB cable kicks ass in this scope.
And surely drivers. I have no clue about that particular ribbon camera since I do not own one. I tried 2 USB webcams and they both work out of the box with latest loboris's kernel update script.
So here's the action plan for you:
- do the
sudo modprobe gc2035
sudo modprobe vfe_v4l2
- see if there's something in
ls /dev/video*Having it output "video0" is a success, output like "no file of directory" is no luck.

Survive-Pi post at 2015-10-29 05:45:35

orangepi@OrangePI:~$ sudo modprobe gc2035
sudo: unable to resolve host OrangePI
password for orangepi:
orangepi@OrangePI:~$ sudo modprobe vfe_v412sudo: unable to resolve host OrangePI
modprobe: FATAL: Module vfe_v412 not found.
orangepi@OrangePI:~$ ls /dev/video*
ls: cannot access /dev/video*: No such file or directory
orangepi@OrangePI:~$

Other than that, EVERYTHING else appears to work!:D
page: 1 [2] 3 4 5 6 7
View full version: OrangePi Plus OctoPrint and 3D Printer