PINE64
Howto: OctoPrint Working on Pine 64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24)
+---- Thread: Howto: OctoPrint Working on Pine 64 (/showthread.php?tid=2064)

Pages: 1 2 3


RE: Howto: OctoPrint Working on Pine 64 - RobCole - 12-27-2016

I tried the step-by-step set up for Debian with camera. Everything seemed to work right up to starting the octoprint service. That returned a "no such file exists" error.

So I tried the image. Would it be possible to get an image with wifi enabled?

I edited the interfaces file, but obviously, that isn't enough. Sigh. Now I have to research how to enable the wifi.


RE: Howto: OctoPrint Working on Pine 64 - dabone - 02-12-2017

(12-27-2016, 04:12 PM)RobCole Wrote: I tried the step-by-step set up for Debian with camera. Everything seemed to work right up to starting the octoprint service. That returned a "no such file exists" error.

So I tried the image. Would it be possible to get an image with wifi enabled?

I edited the interfaces file, but obviously, that isn't enough. Sigh. Now I have to research how to enable the wifi.

Here's my /etc/network/interfaces file. I use a static IP on the wlan, lan is not enabled.

# Primary Ethernet Interface (If Running GUI You May Want To Comment Out This Part For The Network Manager)
# Primary Ethernet Set To DHCP
# auto eth0
# iface eth0 inet dhcp

# Primary Ethernet Set To Static Example
# auto eth0
# iface eth0 inet static
#       address         192.168.1.
#       netmask         255.255.255.0
#       network         192.168.1.0
#       broadcast       192.168.1.255
#       gateway         192.168.1.1
#       dns-nameservers 4.2.2.1 4.2.2.2 8.8.8.8

# Wireless Interfaces wlan0 & wlan1 (8723bs has two intefaces)
# You May Want To Disable wlan1 To Avoid Confusion While Running GUI
# iface wlan1 inet manual
auto wlan0
iface wlan0 inet static
wpa-ssid "YourSSID"
wpa-psk "YourWirelessPassword"
address         192.168.2.15
netmask         255.255.255.0
broadcast       192.168.2.255
network         192.168.2.0
gateway         192.168.2.1
dns-nameservers 192.168.2.1 8.8.8.8




Good luck.
Later,
dabone


RE: Howto: OctoPrint Working on Pine 64 - AlexBetancourt - 02-20-2017

Great work, 

my Pine64 was just collecting dust on a shelf, now I can used for my printer and free my pi to use it as a media center.

thanks a lot!!!  Big Grin


RE: Howto: OctoPrint Working on Pine 64 - baldey - 06-16-2017

Hi all,

Got the image working on the wireless LAN just fine, but for some reason when I go to install plugins (such as PSU Control) they don't show up on the top menu bar Sad Any ideas/suggestions?  I'd love to put the power of the pine to good use!

Also, the GPIO doesn't seem to function;  I have the RGB LED strip plugin and writing out to the pins doesn't seem to trigger the relay.  This all works fine on my ancient raspberry pi.


RE: Howto: OctoPrint Working on Pine 64 - pfeerick - 06-16-2017

(06-16-2017, 01:00 AM)baldey Wrote: Hi all,

Got the image working on the wireless LAN just fine, but for some reason when I go to install plugins (such as PSU Control) they don't show up on the top menu bar Sad Any ideas/suggestions?  I'd love to put the power of the pine to good use!

Also, the GPIO doesn't seem to function;  I have the RGB LED strip plugin and writing out to the pins doesn't seem to trigger the relay.  This all works fine on my ancient raspberry pi.

I suspect the GPIO problems are related to the pine64 I/Os being numbered differently to the raspberry pi, and possibly permissions errors ... until you can trigger it manually via the terminal will be hard to pin down...

Not sure about the top menu issues... latest version of octoprint (1.3.4 at time of writing)?


RE: Howto: OctoPrint Working on Pine 64 - baldey - 06-17-2017

(06-16-2017, 02:09 AM)pfeerick Wrote:
(06-16-2017, 01:00 AM)baldey Wrote: Hi all,

Got the image working on the wireless LAN just fine, but for some reason when I go to install plugins (such as PSU Control) they don't show up on the top menu bar Sad Any ideas/suggestions?  I'd love to put the power of the pine to good use!

Also, the GPIO doesn't seem to function;  I have the RGB LED strip plugin and writing out to the pins doesn't seem to trigger the relay.  This all works fine on my ancient raspberry pi.

I suspect the GPIO problems are related to the pine64 I/Os being numbered differently to the raspberry pi, and possibly permissions errors ... until you can trigger it manually via the terminal will be hard to pin down...

Not sure about the top menu issues... latest version of octoprint (1.3.4 at time of writing)?

Yep, running 1.3.4, no plugins show up at the top :Sad Thing it's a permissions issue?  which user should have what permissions?


RE: Howto: OctoPrint Working on Pine 64 - chaos_actual125 - 06-27-2017

Thanks for putting together the image. It's been a while since I used my pine and been to the forums. I was kind of a linux and octoprint noob at the time Smile Thanks again!


RE: Howto: OctoPrint Working on Pine 64 - jjfs - 09-27-2018

The link to the image no longer works, is there a mirror or updated image somewhere? THanks


RE: Howto: OctoPrint Working on Pine 64 - totilolmomanon - 10-21-2020

(12-04-2016, 06:38 PM)dabone Wrote: I put together an image for a 4gb card with octoprint along with the curaengine, and the ability to restart, reboot, or power off the pine from the web interface.

Octopine 12-04-16 Release

Just download it, write out to your favorite 4gb or greater card, and then login in using pi / raspberry.
The run

sudo resize_rootfs.sh

reboot

I used the pi user name, in hopes that it will be able to update via the web interface.
pi user can sudo without any password now.
Curaengine is installed, along with camera support.

Edit 12-9-16... Updating from Octoprint works!

set the checkout folder to

/home/pi/OctoPrint


Later,
dabone


Unfortunately your link isn't live anymore. Any chance I could get ahold of that file?


RE: Howto: OctoPrint Working on Pine 64 - macstibs - 10-28-2020

[quote pid='81368' dateline='1603276080']
Just as an FYI - The DietPi image for Pine64 has an installable list of software which includes a version of OctoPrint.  Once it's up and running, it will offer you an update to 1.3.4 or whatever the latest is.

Unfortunately, the webcamd package that's listed is also offline and I haven't had a chance to locate/install a substitute yet.


totilolmomanon
(12-04-2016, 06:38 PM)dabone Wrote: I put together an image for a 4gb card with octoprint along with the curaengine, and the ability to restart, reboot, or power off the pine from the web interface.

Octopine 12-04-16 Release

Just download it, write out to your favorite 4gb or greater card, and then login in using pi / raspberry.
The run

sudo resize_rootfs.sh

reboot

I used the pi user name, in hopes that it will be able to update via the web interface.
pi user can sudo without any password now.
Curaengine is installed, along with camera support.

Edit 12-9-16... Updating from Octoprint works!

set the checkout folder to

/home/pi/OctoPrint


Later,
dabone


Unfortunately your link isn't live anymore. Any chance I could get ahold of that file?
[/quote]