Results 1 to 4 of 4

Thread: Change Hostname problem

  1. #1

    Default Change Hostname problem

    I am having some trouble changing the hostname in 11.2. What I have tried so far is:

    1) through yast, hostname
    2) command line, su -c 'hostname <name>'

    When I do the command line way, it will change what is shown there, but on the bar for the terminal it still says "linux-y2pz" as well as at the login window.

    How can I change the hostname so that it will show the name that I want the machine to have?

  2. #2
    Kevin Miller NNTP User

    Default Re: Change Hostname problem

    tyndallc wrote:
    > I am having some trouble changing the hostname in 11.2. What I have
    > tried so far is:
    >
    > 1) through yast, hostname
    > 2) command line, su -c 'hostname <name>'
    >
    > When I do the command line way, it will change what is shown there, but
    > on the bar for the terminal it still says "linux-y2pz" as well as at the
    > login window.
    >
    > How can I change the hostname so that it will show the name that I want
    > the machine to have?


    IIRC, I had to go into networking to get it fully changed over. You'll
    have to browse through a couple of the tabs. I think it's on the same
    page as DNS...

    --
    Kevin Miller
    Juneau, Alaska
    http://www.alaska.net/~atftb
    In a recent poll, seven out of ten hard drives preferred Linux.

  3. #3
    Join Date
    Nov 2009
    Location
    Detroit
    Posts
    15

    Default Re: Change Hostname problem

    To elaborate on what Kevin Miller said, open Yast and it's "Network Devices" >> "Network Settings" then click on the "Hostname/DNS" tab

  4. #4
    Join Date
    Jun 2008
    Location
    USA
    Posts
    1,125

    Default Re: Change Hostname problem

    Start--> Applications--> System--> Administrator Settings (this is yast)--> Network Devices--> Network Settings--> select the tab "Hostname/DNS"
    Change the hostname and domain name to anything you like -->OK

    Open a terminal and you will see the change.

Posting Permissions

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