Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi Boot Config #1

Closed
toddtreece opened this issue Jan 5, 2015 · 6 comments
Closed

Raspberry Pi Boot Config #1

toddtreece opened this issue Jan 5, 2015 · 6 comments

Comments

@toddtreece
Copy link
Contributor

via @ladyada:

hiya, after some tea, i've decided that yeah i want to have a /boot/raspiconfig.txt file - if its technically possible.

that will make it 99999x easier for teachers and parents to deploy a Pi to a child without having to ssh or run vi

format can be anything you like as long as it is text editable, but preferrably not something like xml or json that is hard for people to hand-parse in 'simpletext' or 'notepad'. maybe more like:

RASPI_NAME: "mypi"
WIFI_SSID: "adafruit wifi"
WIFI_PASSWORD: "itsasecret"
...

or whatever, just like imagine a busy teacher or parent has to do it, or a 10 year old kid :)

@toddtreece
Copy link
Contributor Author

This shouldn't be a problem to accomplish, and I think my plan of attack is to make a small program that loads the config on boot. Reloading the config should also be able to be run by the user after boot

@brennen feel like doing any ncurses work so we don't have to point users to vi or nano for editing the config from the Pi, or is that overkill?

@ladyada
Copy link
Member

ladyada commented Jan 5, 2015

nano is ok to point people to! also, they will be able to edit it from within the WebIDE...so skip that :)

@toddtreece
Copy link
Contributor Author

@ladyada ok. that makes things easier

@toddtreece
Copy link
Contributor Author

@ladyada, @brennen has this working via his occi parser package, and i've got the pi finder writing to the same file if the user specifies options via the UI. Is there anything else you'd like to see in the config file, or are wifi and hostname config options a good start?

@ladyada
Copy link
Member

ladyada commented Jan 20, 2015

yep, wifi config and hostname is what we should start with. once its stable and in 'working beta' we'll add more :)

@toddtreece
Copy link
Contributor Author

cool. i'm going to close this one, and we can manage those via new issues when needed. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants