LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2004, 10:14 AM   #1
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Rep: Reputation: 15
I'm logged in as root now how do I fix this


What I'm trying to do is stop this error
"Could not lookup internet add. for host3-null. this prevents gnome form operating correctly it may be possible to correct the problem by adding host3null to file

The guy told me to do this


"not hard at all. the easiest way to explain it is to open up a shell terminal and use the following commands:

1. su
<enter root password>
2. kwrite /etc/hosts
<edit file, save it, exit out of kwrite>
3. kwrite /etc/sysconfig/network
<edit file, save it, exit out of kwrite>

since changing these files requires a reboot, you can use this command so you don't have to reboot.

4. hostname your_name_choice_for_your_computer

there's a number of ways to find files (even though i already gave you the fully qualified filepaths to the files).

1. locate name_of_file
2. whereis name_of_executable_file
3. find directory_to_search_in -name name_of_file


I'm loged in as root so don't need to type su and I tried the "kwrite/etc/hosts" and it tells me a bad command or file name or something like that.

So show me how do I fix my problem

And make it eazy cause I'm such a newbie show me step by step - how to get there - how to do it

please

Thak you in Adv ...
 
Old 02-23-2004, 11:17 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
If you typed:
kwrite/etc/hosts
then it will fail.
If you typed:
kwrite /etc/hosts
it will only fail if you don't have kwrite installed. Do you have KDE installed? You basically need to open an editor. Common ones you may have are:
kate
gedit
kedit
emacs
vi
vim
So substitute one of them for kwrite. By the way, emacs vi and vim are a little tricky to master, so try the other ones first.
 
Old 02-23-2004, 12:02 PM   #3
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
I don't have KDE installed do I have to do a reinstall or can I fix it as it is now.
 
Old 02-23-2004, 12:04 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Instead of 'kwrite', substitute the name of the text editor you do have installed.
 
Old 02-23-2004, 01:14 PM   #5
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
You guys have totally lost me, do I do this in the the command kernerl shell or in the gnome gui mode please expalin this step by step like I'm a 3 yr old.

plese and thank you
 
Old 02-23-2004, 01:29 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
open a terminal and do it (also known as a console)
 
  


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
Someones logged in as root, and its not me joose Linux - Security 7 10-14-2005 05:35 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
being logged in as root Smokey Linux - Security 6 09-06-2004 02:34 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:07 AM.

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