-
Notifications
You must be signed in to change notification settings - Fork 8
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
document changes made by makenode in preparation for deprecation #19
Comments
The generated |
I put some ideas for this here https://github.com/gobengo/makenode/wiki/Ideas-for-how-to-set-root-password-and-keys |
Regarding some discussion with @gobengo and @bennlich would it be possible to create generic ipks? These could then be complied in to a package stream in a trusted repository hosted on the mesh. Once we figure out how to grab an IP from meshnode-database on first boot, nodes could pull updates from this repository to get any patches. We could then have a stable/unstable/testing structure of packages (or a system for maintaining immutable configurations?). I recall @Juul mentioning something about a node-configurator server, was this sort of package stream the idea behind https://github.com/sudomesh/node-configurator |
Anyone know if there is an existing sudomesh component that does this: https://openwrt.org/docs/guide-developer/packages ? |
@paidforby not sure what you mean by "generic ipk" |
You're probably talking about this: |
Some notes from tracking down where sudowrt-packages gets used: Seems like packages listed in this file get pulled in with the Looks like feeds are configured here: https://github.com/sudomesh/sudowrt-firmware/blob/master/openwrt_config/feeds Some packages live in https://github.com/sudomesh/nodewatcher-firmware-packages instead of sudowrt-firmware. Not sure why. This was useful reading: https://openwrt.org/docs/guide-developer/overview. I guess the |
packages that you want to build into the firmware get pulled from feeds. If we want to pull from these feeds after the firmware is built we should add them to opkg.conf either in makenode (for the normal build) https://github.com/sudomesh/makenode/blob/master/configs/ar71xx/templates/files/etc/opkg.conf or to the zeroconf branch here, https://github.com/sudomesh/sudowrt-firmware/blob/zeroconf/files/etc/opkg.conf |
I would like to start documenting all the configurations that are changed by the makenode script. I've started the process at https://sudoroom.org/wiki/Mesh/Makenode. This is, hopefully, in preparation for deprecating makenode itself, or at least reducing its importance in node configuration.
Deprecation will occur through two processes,
There are two main challenges standing in the way,
A mesh ip address could be requested on first boot (or first connection to internet), so this should be simple enough.
The root password presents larger problem because it needs to be set securely. @Juul suggested setting the private ethernet port (port 3 on mynet N600) to have a default ssh key/password that could be used only on first boot (or within certain, predetermined time period). This way node operators can "opt-in" to having ssh access to their node, or otherwise leave their node locked out from any root access. There are still questions regarding patching and dev access. The documentation/deprecation process may provide a good time to explore options for remote patching/updates.
The text was updated successfully, but these errors were encountered: