Solved: Hostname changing
|
6th Dec, 2013, 05:54 AM
Post: #1
|
|||
|
|||
Hostname changing
As i have a number of Pi's on my network I thought i would change hostname to differentiate them. I tried changing the hostname using the Xbian config page but got some sort of error message ( "there was a problem" IIRC)
I have tried to change the hostname manually but get the following Code: root@xbian:/home/xbian# nano /etc/hostname Where am i going wrong?? |
|||
6th Dec, 2013, 07:18 AM
Post: #2
|
|||
|
|||
RE: Hostname changing
@lemmy999
beta2 migrated almost all scripts to upstart that means no "service hostname restart" but "reload hostname". also please keep in mind that if you change manually in hostname and hosts, you still have at XBMC which uses this name for AirPlay and Zeroconf (Bonjour). Xbian-config works - will change in hosts, hostname, will store XBMC devicename change and wait until XBMC quits (to prevent that XBMC reverts old values ion exit and settings store). I know about the reported problem. It's just because Beta2 holds just short name in /etc/hosts, but script expects this but also long variant which is missing - get's not changed and reported. (just checked latest version available on stable repo and this version is already fixed. so if you update at least xbian-package-config-shell package your problem should be fixed). Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Dec, 2013, 01:30 AM
Post: #3
|
|||
|
|||
RE: Hostname changing
@mk01
Many thanks for those insights. I have updated my instance of xbian and the hostname change is now working |
|||
« Next Oldest | Next Newest »
|