LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-12-2003, 08:52 PM   #1
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
network printer setup problems!


Dear all,

i want to use a network printer from a NT server. then, i follow the user guide provided by the redhat 8.0, and yet it fails, bcz i have tested on this:
#lpr something
but, there is a error prompts out as such:
Get_local_host: 'localhost' IP address not available
i have no ideas to settle the prom... hoping u guys can give me some hints in doing this.... thanks.

Cheers,
yenonn
 
Old 03-12-2003, 09:24 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
su to root, cd to /etc and edit the hosts file adding this line:

127.0.0.1 localhost.localdomain localhost

Somehow that line has been lost from your /etc/hosts file.

HTH

Cheers--
Charles
 
Old 03-13-2003, 12:51 AM   #3
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
i think it doesn't work.
there is another bad command:
/etc/host.conf: line 2: bad command '127.0.0.1 localhost.localdomain localhost'
 
Old 03-13-2003, 12:53 AM   #4
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Original Poster
Rep: Reputation: 30
Oops, sorry, i edited a wrong file....it should be hosts, not host.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Newbie trying to setup network printer on suse 9.2 zachthegeek Linux - Networking 5 04-04-2005 12:34 AM
Network Printer Setup on Slackware 9.1 seagoj Linux - Networking 1 04-03-2004 06:18 PM
How to setup network printer in mandrake ? futurist Linux - Hardware 4 03-25-2004 03:00 AM
network printer setup troycus Linux - Hardware 12 03-04-2004 12:02 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 06:37 PM

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

All times are GMT -5. The time now is 09:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration