LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-08-2011, 02:50 AM   #1
fahadmanzoor
LQ Newbie
 
Registered: Jan 2011
Location: On earth which is suitable for human life form.
Distribution: Fedora Desktop 14, Ubuntu 10.04, openSUSE 11.3 KDE
Posts: 4

Rep: Reputation: 0
unable to connect to network printer can't even telnet it


I have a network printer which is on a windows domain/workgroup. Earlier I use to connect to the printer with URI socket://10.x.x.x:9100 and it worked fine. Then I after some time the going got tough and at the moment I am not able to print.

Initially I thought that I need to upgrade CUPS and even downloaded its latest version (did not installed it though).

My trouble shooting started with the ping then telnet followed it. Following is the output of telnet

Code:
****@linux-rafr:~> telnet 10.x.x.x 9100
Trying 10.x.x.x...
Connected to 10.x.x.x.
Escape character is '^]'.
Connection closed by foreign host.
****@linux-rafr:~>
I tried to telnet by turning off the firewall but no good. Hope someone has a solution to this issue.

BTW when test page print job is viewed in CUPS the following is the message.

Unable to write print data: Broken pipe
 
Old 07-08-2011, 03:13 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello fahadmanzoor,

could you please provide more information?

Did ping work?

Does cups "see" the printer? what I mean is, if you open the cups-interfache in a browser (adress http://localhost:631), can you add the printer with it's IP-adress?

Did you try to connect to the webinterface of the printer (http://???.???.???.??? where the questionmarks are the IP-adress of the printer).

Have you once been able to connect to the printer via telnet? as you know, many computers/devices block telnet by default.

Markus
 
Old 07-08-2011, 09:53 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,082

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Try browser set to the ip address.

Ping and telnet may be blocked or not enabled.
 
Old 07-11-2011, 12:19 AM   #4
fahadmanzoor
LQ Newbie
 
Registered: Jan 2011
Location: On earth which is suitable for human life form.
Distribution: Fedora Desktop 14, Ubuntu 10.04, openSUSE 11.3 KDE
Posts: 4

Original Poster
Rep: Reputation: 0
Dear All

Thank you for your response and do overlook the weekend delay from my end.

I can access the webpage of the printer on port 80, 280 and 631 using the Firefox.

Ping works perfectly fine.

I added the printer from http://localhost:631 page via socket uri socket://10.x.x.x:9100

I can telnet to port 80, 280 and 631 of the printer perfectly.

I can print the .ps files from the webpage of the printer easily as well.

The thing which pinches me is that the error message of "broken pipe unable to write print data". The same setup used to work quite fine earlier and smoothly.

I hope that I succeeded in satisfying you with my answers/feedback.

Edit => Is it possible that permission of some file hinders CUPS from using them? Maybe this only reason of broken pipe and data could be written because some socket libraries are not being shared properly perhaps.

Last edited by fahadmanzoor; 07-11-2011 at 07:57 AM.
 
  


Reply

Tags
cups, network printing, opensuse, telnet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why i unable to connect my linux pc via telnet? nklsakthi Linux - Newbie 3 05-10-2010 10:19 AM
Unable to connect with telnet, ssh, ftp, etc... djlerman Linux - Server 1 09-05-2007 03:13 PM
Fedora Core 6 : Unable to connect to telnet server jayakrushna Linux - Software 3 02-21-2007 07:08 PM
unable to connect network printer with fc6 Marty757 Linux - Networking 0 11-24-2006 12:06 PM
Unable to connect to network Printer (CNet 430) chhorn Linux - Hardware 0 11-10-2004 09:29 PM


All times are GMT -5. The time now is 03:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration