LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-08-2003, 06:13 PM   #1
today53
Member
 
Registered: Oct 2003
Location: sydney
Posts: 70

Rep: Reputation: 15
yes! its another newbie questions


hi everybody,

got the RH 9 installed not long ago, was quite excited to see what Linus could do, anyway, here comes the newbie question:
after i log in each time, i was shown the following message,

'Coulld not look up internet address for dhcp-896-782.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding dhcp-896-782 to the file /etc/hosts.'

what exactly does that mean? i looked the /etc/hosts, and had no idea how to add? can anyone help?

also, it seems to me that all the programs seem to work faster when i am connected to internet. for instance, when im connected to the net, i could open a new terminal in a sec or two, but when im not connected, it takes ages to open a new terminal. is this a common problem?

thanks
 
Old 10-08-2003, 06:15 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
do this in console:
gedit /etc/hosts
this will open a word editor, you can simply add your hostname to the file and save it. Never heard of the other problem before...
 
Old 10-08-2003, 06:24 PM   #3
today53
Member
 
Registered: Oct 2003
Location: sydney
Posts: 70

Original Poster
Rep: Reputation: 15
thanks for the replay,
but how?
i opened the word editor as you instructed, but i couldnt type anything in it. nothing works except the arrow buttons
 
Old 10-08-2003, 06:26 PM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
you have to be root in order to edit that file, so before typing
gedit /etc/host
do this in console:
su
and then your password. Do the other steps after that..
 
Old 10-08-2003, 07:08 PM   #5
today53
Member
 
Registered: Oct 2003
Location: sydney
Posts: 70

Original Poster
Rep: Reputation: 15
i did the su and password, then got to the word editor, then i was lost.
i had no idea where to add the host name! i tried to just put the host name in and restarted the computer to see what happen. nothing changed. so can you be more specific at where exactly do i add the host name.
thanks
 
Old 10-18-2003, 07:15 AM   #6
tatt
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Very easy fix for this error.

In /etc/hosts file where is shows the line which is tells you not to remove it. at the end of this line replace 'localhost' with your computer name or whichever name it states in the error dialogue box.

i.e My original line read.........127.0.0.1 localhost.localdomain localhost

Now my line reads..............127.0.0.1 localhost.localdomain N1Y3T6]

Hope this helps.
 
  


Reply



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
Help the newbie...:D Got some questions... desperate_penguin Linux - Software 8 11-22-2005 07:34 AM
3 newbie questions Bry Linux - Newbie 13 02-22-2005 05:09 AM
Some newbie questions... koswo Linux - Newbie 7 02-04-2004 10:34 PM
Newbie questions ashley75 Linux - General 2 09-15-2003 12:59 PM
Newbie Questions Bucolic Buffalo Linux - Newbie 4 01-08-2003 08:53 AM

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

All times are GMT -5. The time now is 11:13 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
Open Source Consulting | Domain Registration