MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.
cd ~ wget https://pypi.python.org/packages/source/p/pyserial/pyserial-2.7.tar.gz tar -zxf pyserial-2.7.tar.gz cd pyserial-2.7 sudo python setup.py install cd ~ git clone https://github.com/foosel/OctoPrint.git cd OctoPrint virtualenv venv ./venv/bin/python setup.py install
I just went through the process, and after numerous image writes and much tinkering, here's my step through notes.
LOOKS LIKE RASPBIAN SERVER IS THE ONLY USEFUL IMAGE
http://www.orangepi.org/downloadresources/orangepizero/2017-05-05/orangepizero_e7c74a532b47c34968b5098.html
..../Raspbian_server_For_zero_H2+_V0_1/Raspbian_server_For_zero_H2+_V0_1.img
username(root/orangepi), password(orangepi)
get ip address from router or
arp & arp -n
OrangePi
IP=192.168.178.26
ssh root@$IP
sudo fs_resize
sudo reboot
ssh root@$IP
sudo apt-get update && sudo apt-get -y upgrade
apt-get install python-pip python-dev git virtualenv python-setuptools psmisc
deluser orangepi
rm -rf /home/orangepi
adduser pi
usermod -a -G tty pi
usermod -a -G dialout pi
visudo
...at end of file
disable root login
passwd root -d
switch from root login to pi login
sudo su pi
cd ~
wget https://pypi.python.org/packages/source/p/pyserial/pyserial-2.7.tar.gz
tar -zxf pyserial-2.7.tar.gz
cd pyserial-2.7
sudo python setup.py install
cd ~
git clone https://github.com/foosel/OctoPrint.git
cd OctoPrint
virtualenv venv
./venv/bin/python setup.py install
sudo cp ~/OctoPrint/scripts/octoprint.init /etc/init.d/octoprint
sudo chmod +x /etc/init.d/octoprint
sudo cp ~/OctoPrint/scripts/octoprint.default /etc/default/octoprint
seems to work with ALL FIELDS UNCOMMENTED, and not otherwise
sudo nano /etc/default/octoprint
sudo update-rc.d octoprint defaults
sudo service octoprint start
sudo apt-get install haproxy
sudo cp /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg_ORIG
sudo nano /etc/haproxy/haproxy.cfg
replaced contents
sudo nano /etc/default/haproxy
sudo service haproxy restart
sudo service haproxy status
nmtui
setup wifi
relevant (ifconfig is no longer supported)
ip addr show
ip link set dev <interface> up
Ip link set dev <interface> down