[SOLVED] Unable to connect to Windows printer

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Deflect

[SOLVED] Unable to connect to Windows printer

Post by Deflect »

Background:

I'm running Linux Mint 11. On my home network, I have a second computer running Windows 7. The Windows computer also has a printer attached to it. A few months ago, I was able to connect to the Windows computer, view its shared files, and print. However, for some odd reason, all of that completely vanished just recently and I'm unable to connect to the Windows computer in any way.

In the Linux computer, navigating to 'Network' displays the following:

Code: Select all

-  GATEWAY-PC  (the Windows computer)
-  HP-MAIN  (the Linux Computer)
-  Windows Network
      - BELKIN   (my Router)
      - WORKGROUP
         - GATEWAY-PC
         - HP-MAIN
Attempting to double-click GATEWAY-PC (both of them) gives the following error message:
Unable to mount location
Failed to retrieve share list from server
I've tried following this guide: http://mixeduperic.com/linux-mint/how-t ... -mint.html and did the following:
Click 'File' > 'Connect to Server' under Nautilus; entered the following info:
Service Type: Windows share
Server: GATEWAY-PC
User Name: Michael
...but doing that error'd out with:
Could not display "smb://gateway-pc/".
Error: Failed to retrieve share list from server
Please select another viewer and try again.
I've confirmed that on the Windows computer, it's set to share the printer.

I've tried using SAMBA, but I'm a novice at Linux and had no idea what I was doing.

What else can I try?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11458
Joined: Tue Feb 03, 2009 10:27 am

Re: Unable to connect to Windows printer

Post by altair4 »

Please go through the following checklist on your Mint machine and see if it resolves the issue:

Samba Browsing Problems Checklist: http://forums.linuxmint.com/viewtopic.p ... 46&start=0

If that does nothing for you please post the output of the following command:

Code: Select all

smbtree
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Deflect

Re: Unable to connect to Windows printer

Post by Deflect »

Thanks, following the checklist solved the problem.

In specific, all I had to do was add "name resolve order = bcast host lmhosts wins" to smb.conf, and problem solved!
Locked

Return to “Networking”