Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem with HP network printer - no route to host

Reply
Thread Tools Display Modes

Problem with HP network printer - no route to host

 
 
january@uni-muenster.de
Guest
Posts: n/a

 
      11-07-2003, 09:10 AM
Hi,
I'm trying to configure a HP network printer, but somehow I can't
connect to this fine piece of hardware.

The manual says, HP printer assumes an IP adress 192.0.0.192
automatically within 5 minutes after turning it on.

I have done the following:

ifconfig eth0:0 192.0.0.1
route add -net 192.0.0.0 netmask 255.255.255.0 dev eth0:0

..and now I'd like to telnet to the printer to access the
configuration:

telnet 192.0.0.192

However, all I get is

Trying 192.0.0.192...
telnet: connect to address 192.0.0.192: No route to host

What went wrong, possibly? Did I do something wrong (with ifconfig
and friends), or is it an issue with the printer?

Regards,
j.
 
Reply With Quote
 
 
 
 
Martin Blume
Guest
Posts: n/a

 
      11-07-2003, 11:05 AM

<(E-Mail Removed)> schrieb
> Hi,
> I'm trying to configure a HP network printer, but somehow I
> can't connect to this fine piece of hardware.
>
> The manual says, HP printer assumes an IP adress 192.0.0.192
> automatically within 5 minutes after turning it on.
>
> I have done the following:
>
> ifconfig eth0:0 192.0.0.1
> route add -net 192.0.0.0 netmask 255.255.255.0 dev eth0:0
>

The route command seems unnecessary to me. I would, however, add a
netmask option to the ifconfig command.

Before you send any commands to the printer, try to reach it with
ping.

> ..and now I'd like to telnet to the printer to access the
> configuration:
>
> telnet 192.0.0.192
>
> However, all I get is
>
> Trying 192.0.0.192...
> telnet: connect to address 192.0.0.192: No route to host
>
> What went wrong, possibly? Did I do something wrong (with
> ifconfig and friends), or is it an issue with the printer?
>

You did something wrong with ifconfig / route. Your network i'face
decides it cannot reach 192.0.0.192, you haven't got to the printer
yet.
BTW, Are you sure you configure the printer with telnet rather than
eg a web-browser?

HTH
Martin



 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      11-07-2003, 06:32 PM
On 7 Nov 2003, (E-Mail Removed) <(E-Mail Removed)> wrote:
> I'm trying to configure a HP network printer, but somehow I can't
> connect to this fine piece of hardware.
>
> The manual says, HP printer assumes an IP adress 192.0.0.192
> automatically within 5 minutes after turning it on.


Confirm that by printing the JetDirect config (which you should be able to
do with the JetDirect if external, or printer itself if internal).

> I have done the following:
>
> ifconfig eth0:0 192.0.0.1
> route add -net 192.0.0.0 netmask 255.255.255.0 dev eth0:0
>
> ..and now I'd like to telnet to the printer to access the
> configuration:
>
> telnet 192.0.0.192
>
> However, all I get is
>
> Trying 192.0.0.192...
> telnet: connect to address 192.0.0.192: No route to host
>
> What went wrong, possibly? Did I do something wrong (with ifconfig
> and friends), or is it an issue with the printer?


Maybe your firewall (iptables) is blocking if output of ifconfig and route
-n looks correct. The firewall thing has bitten me before.

Once you can ping it, if telnet does not work, try http.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      11-07-2003, 07:55 PM
(E-Mail Removed) wrote:

> I'm trying to configure a HP network printer, but somehow I can't
> connect to this fine piece of hardware.


> The manual says, HP printer assumes an IP adress 192.0.0.192
> automatically within 5 minutes after turning it on.


> I have done the following:


> ifconfig eth0:0 192.0.0.1
> route add -net 192.0.0.0 netmask 255.255.255.0 dev eth0:0


I'd only use

ifconfig eth0:0 192.0.0.1

since it should create the old class C network route automagically.

> ..and now I'd like to telnet to the printer to access the
> configuration:


> telnet 192.0.0.192


> However, all I get is


> Trying 192.0.0.192...
> telnet: connect to address 192.0.0.192: No route to host


> What went wrong, possibly? Did I do something wrong (with ifconfig
> and friends), or is it an issue with the printer?


You can get this message when ARP requests aren't answered. Use tcpdump
on eth0:0 to find out if they are generated. If so then the problem
is at the printer. That's assuming the printer and host are on the
same physical network and the subnet for the printer (if one exists)
lies within the class C network.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Bluffing in a poker game can win big; bluffing in a newsgroup
only attracts sharks. */
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      11-07-2003, 10:10 PM
Clifford Kite <(E-Mail Removed)> wrote:

> You can get this message when ARP requests aren't answered. Use tcpdump
> on eth0:0 to find out if they are generated. If so then the problem
> is at the printer. That's assuming the printer and host are on the
> same physical network and the subnet for the printer (if one exists)
> lies within the class C network.


Oops. The last sentence should actually be "That's assuming the printer
and the host are on the same physical network and the IP address 192.0.0.1
is in the printer's subnet of the class C network (if one exists)."

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no route to host but ping ok mbaroukh Linux Networking 4 10-12-2007 08:08 PM
php fsockopen problem (no route to host) kees hessels Network Routers 0 07-06-2006 11:16 AM
No route to host McHenry Linux Networking 4 05-30-2006 04:24 AM
No route to host!? slzang Linux Networking 3 10-13-2004 09:40 AM
No route to host Turi Linux Networking 1 10-11-2004 04:01 PM



1 2 3 4 5 6 7 8 9 10 11