Try to create file /etc/hostname, and write name of your machine there.
You can manually set hostname by running this command in terminal emulator:
Code:
$ sudo hostname your_hostname
or, if you create and edit file /etc/hostname by this way:
Code:
$ sudo hostname --file /etc/hostname