Howto: OctoPrint Working on Pine 64
#11
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.
  Reply
#12
(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
  Reply
#13
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
  Reply
#14
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.
  Reply
#15
(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)?
  Reply
#16
(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?
  Reply
#17
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!
  Reply
#18
The link to the image no longer works, is there a mirror or updated image somewhere? THanks
  Reply
#19
(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?
  Reply
#20
[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]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian installer on Pine A64+ but no hdmi mrwick 1 5,985 07-28-2020, 01:49 PM
Last Post: kuleszdl
  Captive portal at school not working on the Pinebook pro WilliamZieg 2 5,228 02-06-2020, 10:41 PM
Last Post: xmixahlx
  Q4OS WiFi Dongle not working cheezmeister 3 5,418 04-07-2017, 08:01 AM
Last Post: iccoldbeer
  HowTo working with MPD and analog sound caragk 3 13,975 11-09-2016, 08:44 AM
Last Post: jkmooney
Exclamation JAVA App. not working correct wrongway 0 2,433 09-14-2016, 11:14 AM
Last Post: wrongway
  Anyone got jackd working? jkmooney 4 7,107 08-27-2016, 08:18 AM
Last Post: pfeerick
  32bit Apps on Pine djinn5150 2 5,029 08-09-2016, 11:03 AM
Last Post: xalius
  Can ping between Pine 64 on a switch, but unable to ssh MikeJewski 4 6,903 07-28-2016, 08:40 PM
Last Post: MikeJewski
  Internet not working properly cezar.suteu@gmail.com 2 4,821 06-17-2016, 01:12 AM
Last Post: cezar.suteu@gmail.com
  wget not working? slerched 3 6,329 06-01-2016, 08:15 AM
Last Post: slerched

Forum Jump:


Users browsing this thread: 2 Guest(s)