Results 1 to 5 of 5

Thread: Change name on computer?

  1. #1
    Join Date
    Nov 2008
    Location
    Sweden
    Posts
    60

    Default Change name on computer?

    How do i change computer-name?
    Because as it is now for example in the terminal it looks like:

    username@(my ip adress)

    Can i change that? Remove the ip adress that stands after the @ in the terminal to a name that fit more?
    openSUSE 11.2 x64 KDE 4.3.5

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,569
    Blog Entries
    38

    Default Re: Change name on computer?

    Quote Originally Posted by RimFrost View Post
    How do i change computer-name?
    Because as it is now for example in the terminal it looks like:

    username@(my ip adress)

    Can i change that? Remove the ip adress that stands after the @ in the terminal to a name that fit more?
    What I have is the following:

    YaST > Network Devices > Network Settings > Host name/DNS > Host Name > "stongehenge01" where 'stonehenge01' is my host name.

    I also have in that same menu area, "change Hostname via DHCP" selected and "Write hostname to /etc/hosts" selected. I have "modify DNS configuration" set to "Use default policy" . I have "Domain Name" set to some arbitrary name.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,108
    Blog Entries
    15

    Default Re: Change name on computer?

    Quote Originally Posted by oldcpu
    RimFrost;1994200 Wrote:
    > How do i change computer-name?
    > Because as it is now for example in the terminal it looks like:
    >
    > username@(my ip adress)
    >
    > Can i change that? Remove the ip adress that stands after the @ in the
    > terminal to a name that fit more?

    What I have is the following:

    YaST > Network Devices > Network Settings > Host name/DNS > Host Name
    > "stongehenge01" where 'stonehenge01' is my host name.


    I also have in that same menu area, "change Hostname via DHCP" selected
    and "Write hostname to /etc/hosts" selected. I have "modify DNS
    configuration" set to "Use default policy" . I have "Domain Name" set
    to some arbitrary name.
    Hi
    Further to oldcpu, I normally ensure the 'change Hostname via DHCP' is
    unchecked if the machine is receiving a dhcp ip address.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.21-0.1-default
    up 1 day 16:04, 3 users, load average: 0.11, 0.08, 0.05
    GPU GeForce 8600 GTS Silent - Driver Version: 180.51


  4. #4
    Join Date
    Nov 2008
    Location
    Sweden
    Posts
    60

    Default Re: Change name on computer?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Further to oldcpu, I normally ensure the 'change Hostname via DHCP' is
    unchecked if the machine is receiving a dhcp ip address.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.21-0.1-default
    up 1 day 16:04, 3 users, load average: 0.11, 0.08, 0.05
    GPU GeForce 8600 GTS Silent - Driver Version: 180.51
    I unchecked "change Hostname via DHCP" and it worked. Now it is my computer name instead of the IP adress.

    Thanks.
    openSUSE 11.2 x64 KDE 4.3.5

  5. #5
    Join Date
    Aug 2008
    Location
    nor cal
    Posts
    10

    Default Re: Change name on computer?

    note to this: If you're using NetworkManager Yast will tell you that you can't make the change that oldcpu instructed without opting to use the old ifup method. After selecting that option I was able to set my hostname at will! such power in the hands of mere mortals.
    ...

Posting Permissions

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