Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't find a simple tutorial how to change my computer name under which is it visible on the network (Ubuntu 12.04). It's quite simple on Windows 7 but it looks like there's no such an option on Linux.

PS. I mean only NETWORK NAME - I don't want to change domain visible in terminal (eg. Robin@Ubuntu).

share|improve this question

migrated from stackoverflow.com May 31 '12 at 16:51

This question came from our site for professional and enthusiast programmers.

What have you tried? Sources? Ideas? –  user 99572 is fine May 31 '12 at 17:41

1 Answer 1

On Linux the network name which is visible in a Windows network is set in the configuration of the samba package. This normally resides in /etc/samba/smb.conf where you can add a line like "netbios name = mycomputer" just below the line "[global]".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.