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?

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

I unchecked “change Hostname via DHCP” and it worked. Now it is my computer name instead of the IP adress.

Thanks.

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.