Skip to content

bula87/AstroBox

 
 

Repository files navigation

AstroBox Software - Fork to fix "manual installation from original source".

For now, it was tested on:

-BeagleBone Black / Green.

-OrangePi zero

Link to original project: https://github.com/AstroPrint/AstroBox

Current status

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.

TIPS

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!

reference: https://astroprint.zendesk.com/hc/en-us/articles/207866186-Can-I-configure-the-Raspberry-Pi-network-myself-

Installation instructions

  1. Install Debian on device (BeagleBone or other)
  1. Connect your device to internet (ethernet is recommended)
  2. Ssh to your device:
  ssh USER_NAME@IP_OF_YOUR_BOX
  1. ON YOUR DEVICE: Go to linux root directory:
  cd /
  1. ON YOUR DEVICE: Clone git repository:
  sudo git clone https://github.com/bula87/AstroBox.git
  1. 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
  1. Check if it works
  Open in the web browser: http://YOUR-DEVICE-IP:80
  1. If someone will want it, I can also explain how securely access your AstroBox from outside the LAN via ssh reverse tunnelling.

Setting up the virtual printer

TODO

About

Adaptation of AstroBox for BBB and other platforms

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 50.3%
  • JavaScript 22.4%
  • CSS 15.3%
  • HTML 6.1%
  • C++ 5.4%
  • Shell 0.5%