Printing via LAN on a printer connected to a Windows 10 PC
Hi, I have F29 installed with KDE. I want to be able to print via the LAN on a Brother printer, which is connected to a Windows 10 PC via USB. Other Windows PCs on the network print on it fine, however, when I try to install it, it doesn’t work.
If I browse to the shares on the Windows PC in Dolphin (“smb://'IP_address'”), I get prompted for username and password, enter anything and then I see the shared directories, but not the printer.
If I open the “Printers – System Settings Module” and then click Add printer →Windows printer via SAMBA, enter the address “smb://'IP_address'/Brother HL-L2300D series” and put any combination of username and password (say, “123” and “456”), on the next “Pick a driver” dialog I get the error “Failed to search for a recommended driver: 'Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.”
Then from the “Choose the driver from the list” menu I choose the make and model of the printer and click Next, give it a name and click Finish. No new printer appears in the printers list.
Any ideas how I can make this work or is this actually feasible? Thanks in advance.
EDIT: Here is a Wireshark capture when I browse to the shared directories, where the printer should appear too (sorry I have to paste it here, I can't upload files yet). I also made a capture while I try to add the printer with the "Printers" dialog box, but there weren't any instances of my IP or the other PC's IP in it, so I don't add it here. My IP is 192.168.30.174. Windows 10 PC's IP is 192.168.30.18. I use username 123 and password 456 (anything will do actually). There are are a bunch of messages that suggest failed login attempt (STATUS_ACCESS_DENIED), but then why am I able to see the shared dirs? Also there are no username and password set up to access the printer, so why am I prompted for them?
Capture:
"No.","Time","Source","Destination","Protocol","Length","Info"
"1","0.000000000","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b Cost = 0 Port = 0x800c"
"2","1.560828129","192.168.30.24","239.255.255.250","SSDP","179","M-SEARCH * HTTP/1.1 "
"3","2.150479157","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b Cost = 0 Port = 0x800c"
"4","4.140923439","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b Cost = 0 Port = 0x800c"
"5","4.528326782","192.168.30.24","239.255.255.250","SSDP","179","M-SEARCH * HTTP/1.1 "
"6","4.948954420","QuantaCo_d2:90:b9","Broadcast","ARP","42","Who ...
Can you try using wireshark to see what is happening?
I will try tomorrow, when I go to work.
You ask why there is a username and password. The answer is Windows is using them, not the printer. Can you try with a working username/password combination?
On Windows there is only a username for the account, I tried it in the beginning with no password and it doesn't work. Also other Windows PCs connect to the printer without any username or password.
What does wireshark show when a Windows PC successfully uses the printer?