LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2019, 09:58 AM   #1
linux4sam
LQ Newbie
 
Registered: Jan 2019
Posts: 8

Rep: Reputation: Disabled
Router with Print Server


Hi all

I have a dlink router (Model no : DSL 2750U) with USB port which act as "PRINT SERVER" also.
I have configured my printer ( Model : HP Deskjet ink Advantage 2135) for Windows operating systems, which works fine.
(with " ipp://192.168.1.1:631/printers/hp " )

But i cannot configure the same for my LINUX Mint 17.2.


the nmap gives the following output

$nmap 192.168.1.1

Starting Nmap 6.40 ( http://nmap.org ) at 2019-01-03 21:22 IST
Nmap scan report for wifiprint (192.168.1.1)
Host is up (0.047s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
80/tcp open http
631/tcp open ipp

Nmap done: 1 IP address (1 host up) scanned in 0.62 seconds


Please help me
Thanks
SAM
 
Old 01-03-2019, 11:08 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by linux4sam View Post
I have configured my printer ( Model : HP Deskjet ink Advantage 2135) for Windows operating systems, which works fine.
(with " ipp://192.168.1.1:631/printers/hp " )

But i cannot configure the same for my LINUX Mint 17.2.
What happens when you try to add this printer in Linux? Any errors?
Can you get to port 631 from your Linux machine?

Try:

Code:
telnet 192.168.1.1 631
OR
nc -v 192.168.1.1 631
 
Old 01-03-2019, 11:21 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Or if you don't have nc or telnet installed you can use just native bash:

Code:
HOST=192.168.1.1;PORT=631; (echo >/dev/tcp/${HOST}/${PORT}) &>/dev/null && echo "${HOST} TCP port ${PORT}  open" || echo "${HOST} TCP port ${PORT} closed"
 
Old 01-04-2019, 03:45 AM   #4
linux4sam
LQ Newbie
 
Registered: Jan 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
What happens when you try to add this printer in Linux? Any errors?
Can you get to port 631 from your Linux machine?

Try:

Code:
telnet 192.168.1.1 631
OR
nc -v 192.168.1.1 631

the output are given below


$ telnet 192.168.1.1 631
Trying 192.168.1.1...

Connected to 192.168.1.1.
Escape character is '^]'.


AND

$ nc -v 192.168.1.1 631
Connection to 192.168.1.1 631 port [tcp/ipp] succeeded!


nothing happened after that....
 
Old 01-04-2019, 03:49 AM   #5
linux4sam
LQ Newbie
 
Registered: Jan 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
Or if you don't have nc or telnet installed you can use just native bash:

Code:
HOST=192.168.1.1;PORT=631; (echo >/dev/tcp/${HOST}/${PORT}) &>/dev/null && echo "${HOST} TCP port ${PORT}  open" || echo "${HOST} TCP port ${PORT} closed"


the output is

$ HOST=192.168.1.1;PORT=631; (echo >/dev/tcp/${HOST}/${PORT}) &>/dev/null && echo "${HOST} TCP port ${PORT} open" || echo "${HOST} TCP port ${PORT} closed"

192.168.1.1 TCP port 631 open
 
Old 01-04-2019, 04:18 AM   #6
linux4sam
LQ Newbie
 
Registered: Jan 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
What happens when you try to add this printer in Linux? Any errors?
got the following messages


"Processing - Unable to get printer status."
Attached Thumbnails
Click image for larger version

Name:	Scrn.jpg
Views:	35
Size:	56.3 KB
ID:	29390  
 
  


Reply



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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
Can't print to print server (RH8 + LPRng) ivanscheers Linux - Networking 1 10-08-2004 06:37 AM
FC2 won't print to lp print server tawalker Fedora 3 10-03-2004 12:46 AM
How do I print to Windows print server? correro Linux - General 4 01-28-2004 09:10 PM
Cannot Print with Seimens Print Server moracco_mole Linux - Hardware 0 04-26-2003 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration