Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
hello all fellow linux users....
Ive been looking for a place like this for some help so here it goes. I got linux mandrake 7.2 on my computer at home installed fine and got online with kppp without problems but iam still confused about that localhost.localdomain at startup,do I name my computer what i want or leave it as localhost. I use a modem and have earthlink as my isp I read the ppp howto but still confused any help thanks all.
Base on my experience , I think that if you're part of an organisation or a company you would have to name your host and domain. If not, I mean you use your PC at home you don't have to bother it, if you do you can invent your own IP address and hostname, e.g: IP:192.168.1.1, hostname: homepc and domain: training-center.edu .For Red Hat you write the IP address, hostname.domain and its alias in /etc/hosts :
ok I think I got it this is what I did changed /etc/hosts to 127.0.0.1 myispusername.earthlink.net then etc/sysconfig/network networking=yes forward_Ipv4=false Hostname=myispusername.earthlink.net Domainname=earthlink.net
then etc/resolv.conf added search .earthlink.net
nameserver.dns#s I think this is alright if anybody sees something not right here can you please tell me or if I forgot something. I use mdk7.2 on a dialup thanks to all.
127.0.0.1 localhost # this line exact
192.168.0.1 yourmachine.domainname.com
# this number 192.168.0.1 is a private reserve IP number that you can use in your locate
# network. You can assign your machines other numbers off this 192 class.
# Do not use other numbers unless they are assigned to you by your ISP.
/etc/resolv.conf
search domain.com
nameserver 205.232.142.2
nameserver 205.232.142.241
# The name servers above will be name servers assigned to you by your ISP.
# Domain.com will be replaced by the name of the domain of your name server or your
# ISP.
Set your host name (your machine name) with the command:
hostname [machinename]
This will be a one word name of how you would like to refer to you individual machine. There might eventually grow other machines in your network.
Set your domain name with:
Domainname [domainname]
This will be the name of your domain. It will be in the form of yourdomain.com.
If you type in the query: hostname, it should show you the individual machine name that you named your computer. If you type in the query, domainame, just like the command, hostname, it’ll show you how you’re set if you don’t give it one on the command line.
If you type in the command:
hostname –f
This will show you your fully qualified dns name. It’ll show you in the form: yourmachine.yourdomain.com
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.