I could stop built-in CUPSD and start docker based CUPS successfully but the when I try to print from something it asked for user and password (and the admin user pass doesn't work here for odd reason),..
Here is how i stopped built-in CUPSd (it should work on all DSM versions (even though some commands may fail
)
Code:
sudo -i
synoservice --hard-disable cupsd
synoservice --hard-disable cups-lpd
synoservicecfg --hard-disable cupsd
synoservicecfg --hard-disable cups-lpd
synoservicectl --hard-disable cupsd
synoservicectl --hard-disable cups-lpd
synopkg stop cupsd
synopkg stop cups-lpd
systemctl stop cupsd
systemctl stop cups-lpd
systemctl disable cupsd
systemctl disable cups-lpd
systemctl stop [email protected]
systemctl stop cups-service-handler.service
systemctl stop cupsd.service
systemctl disable [email protected]
systemctl disable cups-service-handler.service
systemctl disable cupsd.service
I then followed
this guide,.. (other guides were too complicated
)
In some cases (or models), you may require USB serial drivers?? So I
found it here,.. (click inside "modules" folder). You have to download modules according to your model's cpu architecture
and install it. I also followed some commands and instructions on
THIS guide,..
Because i I was sick of using terminal, I installed "File Browser" community app and gave it root privileges with this following command and did copy paste of modules
Code:
sudo sed -i 's/package/root/g' /var/packages/filebrowser/conf/privilege
If something doesn't work out as expected and you want to revert back (turn on built-in CUPSd etc) then disable docker based CUPS container and then perform these steps ,..
Code:
sudo -i
synoservice --hard-enable cupsd
synoservice --hard-enable cups-lpd
synoservicecfg --hard-enable cupsd
synoservicecfg --hard-enable cups-lpd
synoservicectl --hard-enable cupsd
synoservicectl --hard-enable cups-lpd
systemctl enable cupsd
systemctl enable cups-lpd
systemctl start cupsd
systemctl start cups-lpd
systemctl enable [email protected]
systemctl enable cups-service-handler.service
systemctl enable cupsd.service
systemctl start [email protected]
systemctl start cups-service-handler.service
systemctl start cupsd.service
synopkg start cupsd
synopkg start cups-lpd
Let me know if you succeed in this or any other docker cups guide,... then even i may restart this experiment,..
Cheers