Octoprint (3D print server) on Omega2+
@Phil-Heuy Your picture doesn't explain what the issue is. You just connect USB+ to the other devices USB+, USB to USB-, 5V to 5V and GND to GND.
@WereCatf I do have things set up as you stated. Thank you for letting me know I didnt really state my issue. I have corrected my original post and added my wiring configuration.
I was able to get Octoprint 1.3.1 installed with minimal effort. It requires python libs that require compiling with GCC so you need to install GCC.
You will need more RAM for this to work. You can do this by creating a swap file. I put my swap file in the root (/) folder which resides on the SD card when following the instructions here. I also made my swap file 512 megabytes, 256 was not enough.
Follow the instructions above and stop at step 3.
Un-comment this line in the /etc/opkg/distfeeds.conf
src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base
opkg install gcc python-dev --force-overwrite
pip install --upgrade setuptools
Replace step 3 with the following steps...
pip install -r requirements.txt
Follow the remaining steps but replace OctoPrint-1.0.0 with OctoPrint-1.3.1
Tried installing 1.3.1 with cache & gcc. Got stock on a netifaces error. Either upgrading pip or installing python-dev seemed to get past that.
pip install --upgrade pip
opkg install python-dev --force-overwrite
pip install netifaces
İNDEX OF/CONSOLE ERROR
When I make 192.168.3.1 it gives this error and it is not an IP conflict problem. Why do I get this error? How do we fix it? I'm waiting for your help
@ayhan-uçar Stop spamming in every single thread you can find, you twat
@Jason-Allred I did forget to add the
opkg install python-devpart. I'll run through everything else I did on a clean system to figure out what else I missed. I will point out that netifaces is where the hangup was. Whatever I am missing here got it to install.
@Jason-Allred Try running
pip install --upgrade setuptoolsthen netifaces should work.
@Jeff-Karney Also having troubles with netifaces installing (for Octoprint 1.3.1), all versions 0.10.X wont install (thought i would try it out), followed all the steps mentioned in this post. What firmware are you using on the omega 2+?
Im currently running b160. If your interested the output from pip is http://pastebin.com/pCyhgxpP it looks like python cant find the compiler as its missing the cache_cc directory. Did you set any environment variables to point to the GCC compiler?
Is it ok if I power my omega2+ via the USB A port? In other words, it's getting its power form the 3D printer's USB connection. It's working just fine, I'm just wondering if I am setting myself up for problems later on. It certainly makes for a cleaner install.
I originally had it powered via the microUSB from my laptop but then I went to power the omega2+ from a USB power adapter plugged into the power bar. I noticed that when I unplugged the microUSB power cable, it stayed on.
My printer is the Kodama Trinus3D which is running a proprietary variant of Marlin (I think).
@Jason-Taylor: It seems you have a non-standard USB port on your 3D printer. Usually an USB client port does not feed back power to the host. Assuming your 3d printer can provide enough current, you can totally run you Omega2 off the printer power without an extra power supply.
@Jeff-Karney Like @Ben-Murphy from a month ago, I'm having issues installing OctoPrint 1.3.1 - first when doing the
pip install --upgrade setuptools, and then when when running
pip install netifaces. I've just updated to b160, on an Omega2+. Any ideas as to what's going wrong?
@Jason-Taylor I have finally soldered up an adapter board so I can use my Omega2+ as a OctoPrint server, and since the Omega2+ consumes around 180-250ma, and the Kodama Trinus is a bit naught and backfeeds down the USB line (have they not heard of a diode?), I decided to have it power from the Trinus's USB, since I was connecting to it to control the printer. Seems to be coping just fine! Now I just have to work out how to upgrade OctoPrint, as I'm current stuck with the v1.0.0 as the alternate instructions for 1.3.1 didn't work for me.
I also have the problem with netifaces installing OctoPrint 1.3.1or OctoPrint 1.3.2.
There's a solution?
This post is deleted!
See if this fixes the compile problem.
ln -s /usr/bin/gcc /usr/bin/ccache_cc
This is amazing!! Can't wait to try it out!