Link to original project: https://github.com/AstroPrint/AstroBox
I was able to run AstroPrint software on my BBB and I get confirmation that it also works on OrangePi zero. My WiFi dongle is not supporting AstroBox AP functionality, so I don't know if it will work with supported one. WiFi works fine, I was able to connect to AstroPrint cloud and even do a software update. Main feature - connection with printer - also works without problem. So, enjoy the AstroPrint functionality on Beaglebone or OrangePi! If you test it on other platforms, please let me know, I will add it to the list of supported devices.
If you have problems with wifi, you can try to set it manually: Configure /etc/network/interfaces adding all your wifi data and restart wpa_supplicant service $ps aux | grep wpa $kill <WPA_SERVICE_ID> $ifup wlan0 $ifconfig
If you managed to connect to wifi edit your wpa_supplicant.service file to start your wifi interface at boot:
$vi /lib/systemd/system/wpa_supplicant.service
and comment line like that:
#ExecStart=/sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
and add new one:
ExecStart=/sbin/ifup wlan0
Next configure astrobox to use manual network connection:
$vi /etc/astrobox/config.yaml
and add:
network:
manager: manual
reboot the box!
- Install Debian on device (BeagleBone or other)
- Get image from: https://beagleboard.org/latest-images
- I used IoT version but in future will try to get the version with GUI to add my 7 inch LCD to it
- Connect your device to internet (ethernet is recommended)
- Ssh to your device:
ssh USER_NAME@IP_OF_YOUR_BOX
- ON YOUR DEVICE: Go to linux root directory:
cd /
- ON YOUR DEVICE: Clone git repository:
sudo git clone https://github.com/bula87/AstroBox.git
- ON YOUR DEVICE: Setup enviroment
sudo /AstroBox/setup.sh
Your device should reboot a few times. AstroPrint should start on boot.
You can also start it manually:
service astrobox start
- Check if it works
Open in the web browser: http://YOUR-DEVICE-IP:80
- If someone will want it, I can also explain how securely access your AstroBox from outside the LAN via ssh reverse tunnelling.
TODO