googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 276 forks source link

changing hostname on windows #80

Closed jrobinson-uk closed 9 years ago

jrobinson-uk commented 10 years ago

Having just setup a class set of coder devices it was a pain to find that windows notepad was adding in line breaks so:

Coder01

became

Coder 01

and therefore didn't work.

I ended up booting the pi and editing the hostname file in nano which worked. Is there a way round this in windows? Perhaps some more detailed instruction could be given for some who may stumble at this hurdle

jmstriegel commented 9 years ago

With the latest version, you can edit the hostname and hosts file in the boot directory. If you put the sdcard in your windows machine, look inside the coder_settings directory for hosts.txt and hostname.txt. Be sure to use a code editor with unix-style newlines. You can edit these to what you need, and Coder will pull in the new settings when it boots.