I wrote a guide explaining how to use a network scanner on Qubes OS
I’d be glad to read some feedback about it especially for about the use of sys-net for the task.
I wrote a guide explaining how to use a network scanner on Qubes OS
I’d be glad to read some feedback about it especially for about the use of sys-net for the task.
Hi - I tried it, no luck! My scanner isn’t detected. I’m on 4.2 Do I type to replace my network interface name into this command somewhere?
nft add rule qubes custom-input udp dport 5353 accept
?
I know this might be related to the other post I have about mDNS.
the nftables command allows this port on all interfaces
are you trying from sys-net?
I will eventually be needing this tool
Thank you
Yes, I’m running in sys-net.
My sys-net qube uses the debian-12-xfce template. So instead of dnf I had to use apt to install:
install sane-airscan sane-backends sane-backends-drivers-cameras sane-backends-drivers-scanners
And the last 3 packages weren’t found. So I suppose thats my problem. I’m going to change my sys-net to a fedora and see what happens.
changing my sys-net template from debian to fedora fixed it. thanks!
and as for feedback on using sys-net: it just doesnt feel right for some reason. I don’t have the technical skills to judge it on any other basis. Seems like its a core qube that shouldn’t be tinkered with
you are using a network scanner anyway, it’s not encrypted on the network, if it’s disposable then all changes could be discarded with a reboot
it would be better to have this in an AppVM though but due to the broadcast method to discover devices (scanners or printers), I still haven’t figured a method to make it work.
indeed, you absolutely need sane-airscan, it’s curious it’s not packaged in debian
just to clarify - sane-airscan is in debian, but the other 3 aren’t apparently
I actually got this to work, so in case anyone lands here due to the trouble I had:
Two main points that helped me figure it out:
What I did (from memory roughly, apologies I have no experience writing guides)
In Qubes Manager Gui
On sys-net terminal (based on debian-12-xfce template):
On debian-12-xfce template:
And so now every AppVM based on my debian-12-xfce template can scan over the network using simple-scan. No need to scan with sys-net…although solene makes a convincing argument that wouldn’t matter, it just wouldn’t feel clean to me.
Hope that helps someone. Correct me anyone if I botched something! Thanks again to Solene: no way I could have figured it out without her guide.
Thank you for this update as I only have Debian, forgoing all Fedora Templating (for personal reasons and over vigilance)