Discussion:
Automated installer 2.7.7 - network unreachable - recommendation
Martin Bantz
2007-09-20 21:48:41 UTC
Permalink
Dear Hplip,

I'm maintaining a Pclinuxos network with 27 computers - and tried the HPLip
2.7.7 automated installer. It failed with the message Network unreachable -
and yet the network is fine.

Apparently the installer is pinging www.google.com - and this is impossible
either from my Linux at home, directly from my pix - or from any of our
PClinux boxes.

My workaround was to alter the hosts file to let www.google.com point to
localhost during the installation. My recommendation is to point the ping to
one of HP's servers that is replying to pings.

The reason I write this, is because of the large number of posts I've read
on the subject.

The installation by the way - went fine after this hack.

I will do the same at work tomorrow to see if printing bitmaps from our KDE
applications is faster after this version update. An image prints in 30
seconds using guthenprint and 5-10 minutes using any KDE application using
HPLip 1.6.9,

we use Linux to print on a extremely efficient HP5550n printer using
JetDirect,

thanks,

Martin Bantz
IT-chief consultant
Royal Museum of Fine Art
Denmark
dwelch91
2007-09-20 22:15:11 UTC
Permalink
Hi, Martin-

Is the reason that pinging google.com not working because you do not route
ping packets or that you do not allow access to outside servers?

In 2.7.9, I have changed the network check to first attempt an HTTP get
(using curl or wget) of http://www.google.com and if that fails it will try
to ping www.google.com. The reason we chose not to use an HP server, is that
in our testing, we had several cases where pinging an HP server would fail.
I don't know if they have pinging turned off or what the issue was, but we
felt that google.com would be pretty universally accessible to our users.

Would these commands succeed on your network?:

wget --timeout=5 http://www.google.com

or:

curl --connect-timeout 3 --max-time 5 http://www.google.com


Thanks,

Don
Post by Martin Bantz
Dear Hplip,
I'm maintaining a Pclinuxos network with 27 computers - and tried the
HPLip 2.7.7 automated installer. It failed with the message Network
unreachable - and yet the network is fine.
Apparently the installer is pinging www.google.com - and this is
impossible either from my Linux at home, directly from my pix - or from any
of our PClinux boxes.
My workaround was to alter the hosts file to let www.google.com point to
localhost during the installation. My recommendation is to point the ping to
one of HP's servers that is replying to pings.
The reason I write this, is because of the large number of posts I've read
on the subject.
The installation by the way - went fine after this hack.
I will do the same at work tomorrow to see if printing bitmaps from our
KDE applications is faster after this version update. An image prints in 30
seconds using guthenprint and 5-10 minutes using any KDE application using
HPLip 1.6.9,
we use Linux to print on a extremely efficient HP5550n printer using
JetDirect,
thanks,
Martin Bantz
IT-chief consultant
Royal Museum of Fine Art
Denmark
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
HPLIP-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/hplip-devel
Loading...