Linux - Newbie This 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! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-18-2003, 07:26 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Virginia Beach, VA
Distribution: Mandrake 9.1
Posts: 16
Rep:
|
hostname
I am trying to change the hostname on my Mandrake 9.1 Linux installation. I thought the hostname file was located at /etc/hostname and that I could edit it with vi.
One problem is that I can't find the hostname file. There may be other problems that I don't know about.
Any help?
|
|
|
08-18-2003, 08:01 PM
|
#2
|
Member
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290
Rep:
|
/etc/sysconfig/network
it's in there
|
|
|
08-18-2003, 08:01 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28
Rep:
|
Hi Guyd
i am not sure about Mandrake distro, but i could edit /etc/hosts file in RH7.2 and enter IP address and hostname of my choice.
I hope u can find similar /etc/hosts file in Mandrake.
|
|
|
08-18-2003, 08:02 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
/etc/hosts
/etc/sysconfig/network
|
|
|
08-18-2003, 08:02 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
lol 3 posts at the same time
|
|
|
08-18-2003, 09:07 PM
|
#6
|
Member
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290
Rep:
|
my bad, you set the hostname in /etc/sysconfig/network, then add an entry to /etc/hosts
|
|
|
All times are GMT -5. The time now is 11:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|