LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-22-2004, 05:26 PM   #1
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Rep: Reputation: 15
Post Is this bad


every time I go to the commad prompt it says "root@host3-null root" whats up with the null root and every time I restart when my computer boots up it says an error and my linux will not act right.

So please help me... Thanks in Adv ...
 
Old 02-22-2004, 05:35 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Could we have more information, please.

What is the error message?
What distribution are you running?
How long has this been happening?
What did you do right before it happened?
 
Old 02-22-2004, 05:55 PM   #3
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
red hat 7.3
ever since I connected it up to my switch that gives access to my dsl line
I just hooked it up to the dsl line
and I have to reboot my system to see the whle error message
 
Old 02-22-2004, 05:59 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
It is likely to be picking up the host name from your dsl connection. Mine does that and I have to rename it either when I reinstall (for whatever reason) or manually. Do a search for changing the hostname on this site.
 
Old 02-22-2004, 06:03 PM   #5
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
how do I search for files
 
Old 02-22-2004, 06:06 PM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
post your /var/log/message so we can see if there's any error messages in regards to your networking.

also, like suggested, look into the host name thing. in rh 7.3, according to red hat, you need to edit 2 files: /etc/hosts and /etc/sysconfig/network. my computer's name i gave it is tron and this is what my 2 files look like.

/etc/hosts:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1	localhost.localdomain	localhost	Tron
/etc/sysconfig/network
Code:
NETWORKING=yes
HOSTNAME=Tron
 
Old 02-22-2004, 06:11 PM   #7
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
how do I do that how do i find that file and how do I search for files
 
Old 02-22-2004, 06:19 PM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
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
 
Old 02-22-2004, 06:24 PM   #9
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
I have a Dlink Di 701(res. gateway) aka fire wall)
and a switch my domain name is domain and my device name is my last name and my Ip address that it's giving the computer is the windos default Ip address which is 192.168.*.* so I don't know if that help but there it is
 
Old 02-22-2004, 06:28 PM   #10
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
I type su and it doen't do any think it does'nt ask for or prompt fora password
 
Old 02-22-2004, 06:31 PM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
sounds like you're already logged in as root, so you won't need to give it a password, nor would you need to su since being logged in as root already gives you full access to all the files on your computer. don't log in as root this way!
 
Old 02-29-2004, 05:15 AM   #12
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
I'm still mystified as to what the actual problem is. What is it that's wrong that you want to fix?
 
  


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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 09:55 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 06:50 PM
mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy) SpItoS Mandriva 14 11-12-2004 03:27 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 11:31 AM
wrong fs type, bad option, bad superblock on /dev/hdb1, ldare Linux - Hardware 1 02-12-2004 10:03 PM


All times are GMT -5. The time now is 08:53 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