GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I get the ip address of the printer on my home network (a NAT).
It will be 192.168.1.x, but x is the key missing part.
netstat command doesn't show the printer, but then I haven't installed it yet.
Do I have to assign an ip address or will one get assigned?
what are you atually asking? if it's how to install a printer, then that's not a networking question at all... what kind of printer is this? usb? parallel? ip? and i can't see NAT getting involved at any stage of this, even if it is a real network accessible printer.
what are you atually asking? if it's how to install a printer, then that's not a networking question at all... what kind of printer is this? usb? parallel? ip? and i can't see NAT getting involved at any stage of this, even if it is a real network accessible printer.
Maybe its both (printer and network question). The printer has an ethernet connection, hence NAT is involved.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
edit: forget this part at the moment you posted #3 when I was writing this.
Where is the printer attached to. A print server of its own. Directly to the printer, to the router itself, or on another machine?
edit:...........
You maybe able use the program nmap to located devices attached to your network and scan for open ports on them.
NAT is really of no concern here. You are using a non-routable public IP class C address range which is a network but for the network to access the outside it is using NAT to interface to the next network. Nat is simply masquerading.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Then it should use the IP of the lan side of the router. The port I am not sure of. The manual should describe that. Now not sure if the dell is supported. Check out this site and search under the printer tab for the dell to see what it takes to run it. Many dells are not. http://www.linux-foundation.org/en/O...SDocumentation
your NAT network? seriously... where does NAT figure in any of this at all? you want to print to it from the internet or something. sounds like you just need to follow the standard LAN configuration steps to either assign a static IP to the device, or allow it to use any existing DHCP services, and then conifgure whatever printing services, i.e. cups to use the ipp conenction it is offering.
>>either assign a static IP to the device, or allow it to use any existing DHCP services
I think this is the crux.
IF DHCP, how do I determine what address it has been given?
If static, how do I assign it?
(I didn't set this up on the previous network)
Last edited by allelopath; 02-21-2007 at 05:24 PM.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
What is the brand and model of the router?
Most I have seen use the the IP you use to gain access to the web interface of the router. If you use 192.168.1.10 then the printer is ususally 192.168.1.1 if attached to the router. But not gaurantee without knowing the hardware. All I would end up doing is going the manufactors page and read the faqs, manauls and such to see what it mentions.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
OK reading over the netgear site on that model the printer must not be connected directly to the router as in USB or Parallel. No ports for that. The printer must be connected using an ethernet cable.
After seeing you have a dell 1700n listed above I am guessing it is connected using a network cable.
Is it conneted with a network ethernet cable?
Now if yes, then the printer should have had a static IP for the computers to always know the IP of the printer. DHCP is not the correct theroy for a network printer using the HP9100 ports. Now if you have not change the printer settings then it is still at 192.168.0.10. I know nothing about the dell you mention so no idea how to change it. What you may have to do is change your network back to the 192.168.0.0/255.255.255.0 range and access the printers setup web interface. I assume this is the way it is done. Don't own or every seen one. A quick google search has many links to configuring that model. But the manual of the printer should tell you how to do that. Change the IP to 192.168.1.10 and reset your router back to this IP range and you should be back in business.
You may be able to interface to 192.168.0.10 with out making any changes to your network. Try access the web interface. Agian guessing it has one, and see if you can make the changes.
/etc/printcaps is a link to /etc/cups/printcap, which says this:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
Dell_1700n|Dell_1700n:rm=mylinuxbox:rp=Dell_1700n:
/etc/cups/printers.conf says this:
# Printer configuration file for CUPS v1.1.21
# Written by cupsd on Wed Feb 21 17:16:59 2007
<DefaultPrinter Dell_1700n>
Info POSTSCRIPT Generic postscript printer
Location
DeviceURI ipp://192.168.1.3:631/ipp
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
Despite looking like everything is set, I can't print to it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.