Time for the final setup steps
General Setup
Changing the hostname:
- hostnamectl set-hostname <new hostname>
- sudo apt install samba
- sudo apt install libnss-winbind
- install wsdd
- git clone
- group: nogroup
- /usr/local/bin/wsdd
- cp etc/systemd/wsdd.service /etc/systemd/system/
- sudo systemctl daemon-reload
- sudo systemctl enable wsdd
- sudo systemctl status wsdd
- https://github.com/meuter/argon-one-case-ubuntu-20.04
- Run this on the Raspberry Pi
- cd /tmp/
- wget https://raw.githubusercontent.com/meuter/argon-one-case-ubuntu-20.04/master/argon1.sh
- chmod a+x argon1.sh
- sudo ./argon1.sh
Printer Setup
Installing CUPS and Printer Drivers for SCX-4623f- Run this on the Raspberry Pi
- sudo apt install cups printer-driver-splix
- For different models of printers you can look here: https://packages.ubuntu.com/search?keywords=printer-driver&searchon=names
- Run this on the Raspberry Pi:
- sudo su -
- passwd
- Run this on your laptop
- ssh -L 6631:localhost:631 ubuntu@192.168.1.XX
Scanner Setup
Raspberry Pi Setup
- Install sane
- sudo apt install sane
- Check for the scanner
- sudo sane-find-scanner
- sudo scanimage -L
- cd /tmp
- sudo -u saned scanimage -x 100 -y 100 -d xerox_mfp:libusb:XXX:XXX --format=png -p > image.png
- if you hear it scanning than it works and proceed, if not add saned user to lp group and try again
- sudo usermod -a -G lp saned
- Have saned listen to local network
- edit /etc/sane.d/net.conf
- add the local network (eg. 192.168.1.0/24)
- Configure saned socket to load (you do not need the saned service itself)
- sudo systemctl start saned.socket
- sudo systemctl enable saned.socket
Laptop Setup
- install xsane
- sudo apt install xsane
- edit /etc/sane.d/net.conf
- add the ip address of the Raspberry Pi (eg 192.168.1.XX)