SOLVED Installing printer: "unable to connect to CIFS host"

Forum rules
Before you post please read this

SOLVED Installing printer: "unable to connect to CIFS host"

Postby Jodie on Sat Jun 11, 2011 10:23 pm

Hi!

I'm a linux newbie, so speak slooowly!

I'm using linux mint 11 (katya). I have winxp on another laptop that has an epson stylus cx4800 attached. I have a wireless network setup which works fine. I can see the other computer in the Network folder.

I used control centre>printing>add>network printer>find network printer. I entered the other computer's name (maverick) and searched. It asks me to login so I do with my username (I have the same user on each puter, domain (workgroup) and pass). It comes up with smb://maverick/EpsonStylusCX4800. I choose "prompt user for authentication if required". It searches for drivers...there are 2 for my printer...I choose the recommended one. It asks for printer description, I leave it as it is. Click print test page and then after a moment of "processing" I get...

Processing-Unable to connect to CIFS host, will retry in 60 seconds...

It tries 3 times and then goes idle.

What to do? Epson sends you to a third party site for linux drivers and there isn't one for my particular model.

Thanks for your time,
Jodie
Last edited by Jodie on Tue Jun 14, 2011 11:23 pm, edited 1 time in total.
Jodie
Linux Mint 11 Katya
Jodie
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 11, 2011 9:58 pm

Linux Mint is funded by ads and donations.
 

Re: Installing printer: "unable to connect to CIFS host"

Postby bananas4370 on Sun Jun 12, 2011 12:23 am

Instead of
Code: Select all
smb://maverick/EpsonStylusCX4800
try with the IP address of the XP machine.
Code: Select all
smb://192.168.1.0/EpsonStylusCX4800
Replace 192.168.1.0 with the XP IP address. See if that works for you.

Cheers
Patrick
Experience is what causes a person to make new mistakes instead of old ones.
User avatar
bananas4370
Level 2
Level 2
 
Posts: 51
Joined: Wed May 19, 2010 6:38 pm
Location: Queensland Australia

Re: Installing printer: "unable to connect to CIFS host"

Postby Jodie on Sun Jun 12, 2011 1:58 pm

Did not work.
Jodie
Linux Mint 11 Katya
Jodie
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 11, 2011 9:58 pm

Re: Installing printer: "unable to connect to CIFS host"

Postby altair4 on Sun Jun 12, 2011 3:46 pm

Did you set up the printer on WinXP to require a username and password or was this printer set up to be available to anyone of the LAN? If it's set up to require a username and password you may have to override the setting in the Mint client:

[1] Make a copy of the following file - just in case:
Code: Select all
sudo cp -a /etc/cups/printers.conf /etc/cups/printers.conf.bak

[2] Turn off cups:
Code: Select all
sudo service cups stop

[3] Edit the file as root:
Code: Select all
gksu gedit /etc/cups/printers.conf

[4] Change the DeviceURI line from something like this:

To something like this:
Code: Select all
DeviceURI smb://jodi:jodispassword@192.168.1.0/EpsonStylusCX4800

[5] Start cups
Code: Select all
sudo service cups start
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5986
Joined: Tue Feb 03, 2009 10:27 am

Re: Installing printer: "unable to connect to CIFS host"

Postby bsorrows on Tue Jun 14, 2011 7:25 pm

I had same problem and after a bunch of time spent trying to fix it this is what I found. I have a Brother HL-1440 printer that worked perfectly in Mint 9 and 10. However when I attempted to install it in Mint 11 I kept getting this same error message. I noticed that when I used the find printer on network it found it, however under the settings menu for the printer properties Mint had inserted this name: Brother20HL-1440. When I checked under windows for the shared name it was: Brother HL-1440. When I corrected the name the printer state immediately went to idle and now works like a charm. Some one had wrote in the forms that Mint had difficulty with names and apparently this was the case. I hope this might help some!
Cheers,
Bruce :idea:
bsorrows
Level 1
Level 1
 
Posts: 3
Joined: Tue Jun 14, 2011 7:14 pm

SOLVED Re: Installing printer: "unable to connect to CIFS ho

Postby Jodie on Tue Jun 14, 2011 10:13 pm

OH MY GOD! YOU ROCK!

I went to the xp machine and changed the printer name to EpsonStylusCX4800 (it previously had spaces) and made sure the name on the linux machine was the same (tried doing it the other way around but linux wouldn't accept spaces) and VOILA!

Thanks sooo much!

Jodie

...now I'll tackle the wireless internet problem...
Last edited by Jodie on Tue Jun 14, 2011 11:22 pm, edited 1 time in total.
Jodie
Linux Mint 11 Katya
Jodie
Level 1
Level 1
 
Posts: 8
Joined: Sat Jun 11, 2011 9:58 pm

Re: Installing printer: "unable to connect to CIFS host"

Postby bsorrows on Tue Jun 14, 2011 10:50 pm

Jodie wrote:OH MY GOD! YOU ROCK!

I went to the xp machine and changed the printer name to EpsonStylusCX4800 (it previously had spaces) and made sure the name on the linux machine was the same (tried doing it the other way around but linux wouldn't accept spaces) and VOILA!

Thanks sooo much!

Jodie

...now I'll tackle the wireless internet problem...


No problem glad it worked for you. You can change the name in Mint after you install the driver. Its on the same page that has the "Print Test Page" button. I also had problems with my wireless and not have it up and running as well. Please mark this thread as "solved" by inserting that in the subject line!
Cheers,
Bruce
bsorrows
Level 1
Level 1
 
Posts: 3
Joined: Tue Jun 14, 2011 7:14 pm

Re: SOLVED Installing printer: "unable to connect to CIFS ho

Postby altair4 on Wed Jun 15, 2011 8:08 am

@bsorrows, When I read your fix I thought you made a typo:
I noticed that when I used the find printer on network it found it, however under the settings menu for the printer properties Mint had inserted this name: Brother20HL-1440.

As you know a "20" is not the correct way to indicate a space in Linux it should have been a "%20" as in:
Brother%20HL-1440


I did a search on Ubuntu's launchpad and there is a bug report for the system-config-printers utility and it has been fixed although it isn't in the repositories yet:
Applet wrongly replaces space in Samba share URI : https://bugs.launchpad.net/ubuntu/+sour ... bug/747400

Binary package hint: system-config-printer

When I have printer available as a samba share, and the name of this printer has space (eg. "HP 1018"), after finding it in share browser, aplet wrongly replate space to "20" (instead to "%20" afaik), and printer is no accesible.

When I try to add % to uri by myself it's not possible using aplet, but when I have add this char directly in /etc/cups/printers.conf printer start to work.

package version: 1.3.1+20110222-0ubuntu12
Ubuntu version: 11.04

For those of you who cannot implement bsorrows' fix because you don't own the machine that the printer is on you might want to try editing printers.conf directly and replace the 20 with a %20.

@bsorrows, How long did it take you to find this? I don't think I would have ever found it.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5986
Joined: Tue Feb 03, 2009 10:27 am

Re: SOLVED Installing printer: "unable to connect to CIFS ho

Postby bsorrows on Wed Jun 15, 2011 11:08 am

@bsorrows, How long did it take you to find this? I don't think I would have ever found it.

@altair4: It took me a couple of days on and off to fix this issue. I finally replace Mint 10 with Mint 11 on my notebook and noticed that I couldn't get the printer to work, even though it had worked flawlessly on Mint 10. My wife notebook is still running Mint 9 perfectly. I got so disgusted that I completely remove Mint from my notebook and used XP. I loaded up the live Mint 11 dvd and tried again to get printer working and got the brainstorm to check the settings on my wife's computer and noticed the difference in the name. I am not a guru of any sort, but I knew that if Mint 9 and 10 worked, there just had to be something wrong with 11. If this had not of worked I would have reinstalled Mint 10 back on my laptop :D .
Cheers,
Bruce
bsorrows
Level 1
Level 1
 
Posts: 3
Joined: Tue Jun 14, 2011 7:14 pm

Linux Mint is funded by ads and donations.
 

Return to Printers & Scanners

Who is online

Users browsing this forum: No registered users and 2 guests