Skip to content
Snippets Groups Projects
Commit 64b1eec8 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

Update README.md

parent 9ad8900a
No related branches found
No related tags found
No related merge requests found
...@@ -391,3 +391,22 @@ Then everything is done. Admin password is `recolic, genpasswd(recolic.net, v4)` ...@@ -391,3 +391,22 @@ Then everything is done. Admin password is `recolic, genpasswd(recolic.net, v4)`
all files inside /srv/html. Migrate together with www.recolic.net. all files inside /srv/html. Migrate together with www.recolic.net.
## LAN printer (CUPS)
- build from stretch (from archwiki)
```
pacman -S cups avahi nss-mdns
```
edit /etc/nsswitch.conf: find the `hosts` line, add `mdns_minimal [NOTFOUND=return]` BEFORE `resolve ... dns`.
To allow LAN to access the web interface, do
```sh
vim /etc/cups/cupsd.conf # EDIT: listen 0.0.0.0:631
cupsctl --remote-admin --remote-any --share-printers
```
Enable and start `avahi-daemon.service` and `org.cups.cupsd.service`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment