Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ok, I'm a complete newbie, but I'll try and help...
dhcp stands for dynamic host configuration protocol, or something like that. Look in your network settings and make sure you have dhcp turned on (since you have a cable modem, I'm assuming your isp uses dhcp - most cable isp co. do).
Next, write back and tell us what distro you are using, and what exactly changes from "localhost" to "dhcp-32-5614,"
Continue to boot when Gnome comes up with that message. Then, from the Red Hat menu, select System tools -> Network device control
It will ask for root's password, and then show a new window (Network Device Control). Highlight the line of the network card you want to mess with. If you only have one, it should already be highlighted. Click the Configure button on the right. Another window pops up (Network Configuration). Click the DNS tab. In the Hostname box, type in what you want your computer to be named (something like Neo, Frodo, Z28kid, or whatever you want). Now, go back to the devices tab. Click the Edit button on the right. Again, a new window pops up (Ethernet Device). Make sure "Activate device when computer starts" is checked. Also, verify that you have "Automatically obtain IP address settings with" selected, and that "dhcp" is listed in the box on the right.
Now go through each window and hit Apply (if there is an apply button, of course), and then the Close button. Now, you need to edit a file. Open up your /etc/hosts file. Look for a line like this:
127.0.0.1 localhost.localdomain localhost
It may have other stuff on it. Add the name you chose earlier for the Hostname to this file. In other words, the line should change to look like so:
127.0.1 Z28kid localhost.localdomain localhost
Here's a walk-through using emacs from a terminal to edit the file:
1) su -
2) <enter root's password>
3) emacs /etc/hosts
4) Use the arrow keys, backspace, and the other keys should all work basically like they would in windows notepad, word, etc.
5) when the file is how you like it, hold down the control button
6) with control held down type the letter "s" (saves the file)
7) then, again with control held down, type these two letters "xc" (closes emacs)
8) type "exit" to give up root access
As a side note, typing su at the prompt only makes you root in that terminal; it doesn't change the gnome environment. Similarly, when you are asked for authorization and get the keys on the panel, you still are not root; you have temporary access as root. It's a little difficult to explain, and I don't think I'm doing a very good job of it. Give that walk-through a try and let us know how it goes.
i just found this out. With the ethernet cable in the computer but no connected to the cable modem it still makes httpd fail and it says cannot look up interent address. But if I unplug the cable it starts up find on local host.