Friday, October 10, 2025

Installing Raspberry Pi OS and CUPS for remote printing on a Raspberry Pi Zero W




Raspberry Pi OS Download Link

https://www.raspberrypi.com/software/operating-systems/

Note: For raspberry pi zero w choose 32bit and Lite version






















To update raspberry pi os after installation

sudo apt update
sudo apt upgrade


To list ip address

ip ad

or

ifconfig


To configure WIFI

sudo nmtui


To reboot

sudo reboot

or

sudo shutdown -r now


To shutdown

sudo halt

or

sudo shutdown -h now


To login via ssh

from host terminal

ssh username@ip_address

ex

ssh bossing@192.168.0.25

To install cups

sudo apt install cups

To check open ports and listening ip addresses

netstat -tan

To check groups for current user

groups

To add current user to a specific group (ex lpadmin) - Note need to logout/login to reflect changes

sudo usermod -a -G lpadmin $USER

or hard code the username

sudo usermod -a -G lpadmin username


To make cups listen to all interface/ip address

sudo cupsctl --remote-any

then restart cups service

sudo systemctl restart cups

To list currently connected usb devices

lsusb



No comments:

Post a Comment

Exercise Journal - 20251208 - Walking at Altaraza SJDM

Medyo makulimlim ang panahon buti nalang at nakisama hindi umulan. Hapon ulit ako nag walking ako lang ulit mag isa at busy ang aking mag in...