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.
after installing Red Hat 7.2 with GNOME I began noticing a few strange problems. First, I get a command prompt login instead of the GUI. startx works fine, but this seems strange because I have checked /etc/inittab and it is set to '5' and not '3'. After starting X I get a message that says GNOME couldn't find "probasco-r" (that's my last name and first initial) and that I should add it to /etc/hosts. I tried this, and after rebooting I got the GUI login, but my internet connection (broadband ethernet) quit working. After messing around with my network settings forever, I gave up and reinstalled Red Hat (again with GNOME). This solved my internet problem, but I still have to use startx and I still get the GNOME error.
I would really appreciate any suggestions anyone has!
In /etc/hosts, add an entry for your NIC's IP with a corresponding hostname (and optionally, an alias). My /etc/hosts looks like this:
127.0.0.1 localhost.localdomain localhost
192.168.0.2 penguinbox.localdomain penguinbox
Replace "192.168.0.2 penguinbox.localdomain penguinbox" with your IP and hostname. If you obtain your IP info via DHCP from your ISP, this won't work; I'd do the research on how to make that work, but it's getting late, so I have to log off for now and get some sleep...
When I put probasco-r.localdomain probasco-r
int /etc/hosts I used the IP 127.0.0.1 which I understand is some sort of reference to my computer. In a way that kind of explains the reason the internet quit working when I added this line.
Right now I'm pretty sure my IP address comes from my ISP and isn't always the same. Should I talk to them and find out how it works?
Originally posted by scobapro When I put probasco-r.localdomain probasco-r
int /etc/hosts I used the IP 127.0.0.1 which I understand is some sort of reference to my computer.
Right. The 127.0.0.1 address is reserved for the loopback device, which is a special, virtual device used by machines running TCP/IP.
Quote:
In a way that kind of explains the reason the internet quit working when I added this line.
Yes, same as above.
Quote:
Right now I'm pretty sure my IP address comes from my ISP and isn't always the same. Should I talk to them and find out how it works?
Good luck! With most ISPs, you can expect a looooong pause on the other end of the phone the minute you say "Linux".
Here's something that might work-
Entries in /etc/hosts can have more than one alias associated with them. Try using "probasco-r " as a second alias for the localhost entry:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.