Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lpd returns error-'localhost' IP address not available 1

Status
Not open for further replies.

wbstrider

Programmer
Mar 2, 2001
78
US
printer attached to lpt1 (0) prints fine when boot with dos diskette and print screen button pressed.

RedHat KDE GUI used to setup queue. All appears fine, but wont print. Always resturns error.

Get_local_host: 'localhost' IP address not available

Solution in GUI would be much appreciated if possible.

Many thanks One Code to rule them all, One code to bind them.
 
ok. usr
"hostame" to get the hostname.
[root@svrlinux sondage]# hostname
svrlinux

Then, put your hostame and your local ip adresse in /etc/hosts.. like that.

[root@svrlinux sondage]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.0.0.25 svrlinux.orthofab.com svrlinux

(IP) (full hostanme hostname.domain) alias
This should work.

Hope this help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top