2 Commits

Author SHA1 Message Date
b4430b5614 Set version number to 3.0 2022-03-11 20:08:30 +01:00
3f6aad7cbe Update default Debian repox 2021-11-20 13:52:29 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
# Printscan server
## Version 3
## Version 3.0
This repository contains files used to set up our printscan server on a freshly installed Armbian. Target is Bullseye.
### Introduction
(see wiki for need and concept explanation)
Version 3 implementation works roughly as follows:
Version 3.0 implementation works roughly as follows:
##### SBC
* the Armbian-based device is connected to local network, and an all-in-one printer is connected to it via USB;
* SANE and CUPS services are installed and running on the device;

View File

@ -94,7 +94,7 @@ hostname='pn1'
fqdn='pn1.kto.black'
keymap='fr'
timezone='Europe/Paris'
deb_apt_default_repo='httpredir.debian.org'
deb_apt_default_repo='deb.debian.org'
deb_apt_repo='ftp.fr.debian.org'
user='alex'
scan_user='scan'
@ -130,6 +130,6 @@ echo "* connect to http://$hostname:631/ and add a printer"
echo "* set htop at your convenience"
echo "* remove password for sudo" # TODO we should automate that, with a flag
echo "* use below commands to edit SSH config:"
echo "sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config"
echo "sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config"
echo " sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config"
echo " sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config"
exit 0