You are not logged in.
Hey gents,
Part of me is certain the issue is really stupid, but I can't seem to figure it out...
I have a Brother printer on my local network which I can use for printing with pretty much 0 issue, however I can't use it to scan without being root.
Both simple-scan and scanimage tell me no printer could be discovered, and I'm not sure what to do about it...
I tried adding my user to the lp and scanner groups, even though the archwiki says it's not needed anymore.
I also tried tinkering with udev rules without success. That being said I don't know if it'd help much, as I understand it, udev rules are applies to USB devices, not networked ones.
I tried reinstalling brscan (The right version for my printer) and sane. I just have no idea how to continue debugging this... I'd really appreciate a bit of help, thanks.
Offline
I haven't made any progress so far... Does no one have any idea what I could look into?
Thanks in advance
Offline
You could wireshark the connection or simply "netstat -tulpen" to see whether the scan service requires to open a priv'd local port (<1024)
Offline
Doesn't look like there's anything wrong here... Then again I might be looking at it the wrong way.
How would that work though, considering I can reach the printer just fine as root?
Offline
How would that work though, considering I can reach the printer just fine as root?
nc -l -p 123 # you'll get an error
sudo nc -l -p 123
"Normal" users cannot open ports < 1024 - did you wireshark the connection?
There's also https://wiki.archlinux.org/index.php/SA … k_Scanning but I don't really see why this this would be user-specific.
Offline
> "Normal" users cannot open ports < 1024
Ah, thanks, wasn't aware. ^^
Seems the only port that pops up when I try to scan something is 8612 though.
EDIT: As for the SANE link, I've already tried that, sadly it didn't work (As you said though, no idea how it'd be user related)
Last edited by VanWyck (2020-06-04 21:19:17)
Offline
compare "strace -f scanimage -L" as root and normal user.
You can redirect the output into a textfile "strace -f scanimage -L > strace.txt 2>&1" but be aware that you cannot "sudo strace" (you'll have to use a root shell)
Offline