Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Changing name of the computer:

  1. #1

    Changing name of the computer:

    Right now, my computer's name is localhost and i want to change it to something better. How do I do that?

  2. #2

    Re:Changing name of the computer:

    /etc/HOSTNAME
    Change it to
    computer_name.domainname.whatever
    and then in /etc/hosts (add this or replace a similar line)
    127.0.0.1 domainname.whatever computer_name

  3. #3

    Re:Changing name of the computer:

    I don't have a etc/hostname but i do have a etc/host etc/host.conf
    etc/allowedhosts etc/blockedhosts thingy....

  4. #4

    Re:Changing name of the computer:

    there's a big difference between HOSTNAME and hostname, look for HOSTNAME

  5. #5

    Re:Changing name of the computer:

    [quote author=countach44 link=board=12;threadid=8701;start=0#msg78638 date=1076964259]
    there's a big difference between HOSTNAME and hostname, look for HOSTNAME
    [/quote]

    I don't have a HOSTNAME or a hostname.

  6. #6

    Re:Changing name of the computer:

    What distro are you using?

  7. #7

    Re:Changing name of the computer:

    [quote author=chessforce link=board=12;threadid=8701;start=0#msg78646 date=1076979566]
    What distro are you using?
    [/quote]

    Mandrake v.9.2

  8. #8

    Re:Changing name of the computer:

    did you change it in /etc/hosts

  9. #9

    Re:Changing name of the computer:

    I found this at another forum: You can try adding the line hostname [NAME] to your rc.local file (which is usually in /etc/rc.d/).

  10. #10

    Re:Changing name of the computer:

    Thanks! I will try today!

Similar Threads

  1. Changing ip through ifconfig
    By gugabaga in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 11-19-2006, 04:52 AM
  2. Changing from XDM
    By mmiller9 in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 03-10-2003, 12:39 PM
  3. Changing resolution in X
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 04-10-2002, 11:34 AM
  4. changing paths
    By mountainman in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 02-27-2002, 03:44 AM
  5. changing hostname
    By agar in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 12-04-2001, 09:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •