Skip to content

Instantly share code, notes, and snippets.

@pawl
Last active September 25, 2024 20:45
Show Gist options
  • Save pawl/82cfc3de8d0b00ef7d7baa269e304f94 to your computer and use it in GitHub Desktop.
Save pawl/82cfc3de8d0b00ef7d7baa269e304f94 to your computer and use it in GitHub Desktop.
installing CUPS on orangepi zero
  1. download ubuntu image for orangepi zero LTS: http://www.orangepi.org/downloadresources/
  2. flash with etcher
  3. fiddle with USB to TTL, gave up on trying to get that to work
  4. plug ethernet into switch
  5. ssh orangepi@
  6. password orangepi
  7. couldn't successfully apt-get update upgrade, getting E: Unable to acquire the dpkg frontend lock
  8. download armbian image for orangepi zero LTS: http://www.orangepi.org/downloadresources/
  9. flash with etcher
  10. armbian-config
  11. select network -> select your wifi network and enter password
  12. realize i getting errors with apt-get in ubuntu because i unplugged my dns server to hook up the orangepi
  13. armbian seems better anyway
  14. apt-get -y install cups
  15. sudo cupsctl --remote-any
  16. sudo /etc/init.d/cups restart
  17. add printer through web interface: https://:631/admin/
  1. add printer to mac, use CUPS ip as address w/ IP printing (no port) and get queue from management page. Mine was: /printers/HP_LaserJet_2300_series
  2. print test page: https://zsory-furdo.hu/evcms_medias/upload/files/testfile.pdf
  3. restart orange pi and realize it's trying to use the wired connection again
  4. nmtui
  5. delete wired adapter
  6. notice cpu temp running high (52C)
  7. armbian-config
  8. adjust cpu min clock to 480 and max to ~816, use conservative governor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment