Tell me more ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Currently my dhcp-log displays my Pi with the name xbmc-e0cb. Can I change this to a more sensible name?

share|improve this question

1 Answer

up vote 4 down vote accepted

You can find the file in

/etc/hostname

Change the name, and it will change on nerwork-restart (or full reboot ofcourse).

share|improve this answer
1  
Thanks. I found out that my dhcp would need to be reconfigured if I wanted the Pi also be getting this as a name in my net. – towi Dec 10 '12 at 10:58
When I changed the file's contents, and attempted to overwrite the file, I was told that the Pi Can't open file to write. How can I fix this? – xxmbabanexx Mar 25 at 18:22
Did you edit it as root or as normal user? Try putting sudo in front of your edit-command. – René Wolferink Mar 26 at 8:53

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.