changing fedora core 5 computer name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhing
    New Member
    • Oct 2006
    • 43

    changing fedora core 5 computer name

    hi guys..

    im new at installing fedora 5,

    i have a simple question, how do i change the name of the computer?

    example:

    [root@pc1-37 ~]:

    how do i change the pc1-37 to other name?
    i mean, in order to look like this:

    [root@bhing ~]

    ............... ...... tnx and im looking forward for your reply guys..
  • prn
    Recognized Expert Contributor
    • Apr 2007
    • 254

    #2
    It's been a while since I last did this. I now tend to set up the name I want when I install the OS, but it isn't hard. The easiest way should be with the GUI network setup tool. Assuming you have a relatively plain setup, you should have a menu bar at the top of your screen. Click on "System" and select "Administration " from the drop-down menu. Then click on the "Network" selection in the second drop-down. You will get a dialog box asking for the root password. (Of course you have to be able to become root to do config changes affecting the whole system.) Then click the "DNS" tab from the resulting dialog box, change the value of the "hostname" and that's it. You should be able to just restart the networking, but you'll probably find it easier just to reboot the box. (It's certainly easier for me to explain. :-) )

    Then the system should come up with the new name. If this doesn't work (but it should) come on back and I'll type out longer instructions on how to do it all manually. :-)

    Best Regards,
    Paul

    Comment

    • bhing
      New Member
      • Oct 2006
      • 43

      #3
      wow.... excellent!!!

      thanks paul..

      Comment

      • prn
        Recognized Expert Contributor
        • Apr 2007
        • 254

        #4
        Originally posted by bhing
        wow.... excellent!!!

        thanks paul..
        I take it that your computer now has a new name? Happy I could help.

        Paul

        Comment

        • bhing
          New Member
          • Oct 2006
          • 43

          #5
          yup.. but how do i do it in command line?
          i want to permanently change the computer name,
          i did 'hostname <compname>'
          but after i reboot it will go back to its default name...

          Comment

          Working...