Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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
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).
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.