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

initial-config-download: add package #6071

Closed
wants to merge 1 commit into from

Conversation

aparcar
Copy link
Member

@aparcar aparcar commented May 19, 2018

Maintainer: me
Compile tested: x86/64

Description:

Daemon will look for all link local neighbors and ask them for a config
archive. If a neighbor offers the requested archive it's downloaded,
unpackaged in /, this daemon disabled and the device reboots.

Resetting the device via hardware button or firstboot will enable the
daemon again to download a newly provided configuration.

The MAC address is used like for PXE to apply individual configurations,
aka it tries to download in the following order:

525400123456/config.tar.gz
52540012345/config.tar.gz
5254001234/config.tar.gz
525400123/config.tar.gz
..
3/config.tar.gz
/config.tar.gz

I used this script to rapidly test various configurations for a mesh
setup, hope it's useful for anyone else. If not, close this PR.

Signed-off-by: Paul Spooren mail@aparcar.org

Daemon will look for all link local neighbors and ask them for a config
archive. If a neighbor offers the requested archive it's downloaded,
unpackaged in `/`, this daemon disabled and the device reboots.

Resetting the device via hardware button or `firstboot` will enable the
daemon again to download a newly provided configuration.

The MAC address is used like for PXE to apply individual configurations,
aka it tries to download in the following order:

525400123456/config.tar.gz
52540012345/config.tar.gz
5254001234/config.tar.gz
525400123/config.tar.gz
..
3/config.tar.gz
/config.tar.gz

I used this script to rapidly test various configurations for a mesh
setup, hope it's useful for anyone else. If not, close this PR.

Signed-off-by: Paul Spooren <mail@aparcar.org>
@neheb
Copy link
Contributor

neheb commented May 5, 2019

I'd run these scripts through shellcheck.

@neheb
Copy link
Contributor

neheb commented Nov 10, 2019

What ever happened with this?

@feckert
Copy link
Member

feckert commented Nov 10, 2019

@aparcar I tlhing this is a nice feature to make CI tests on real hardware. So why do we only donwload from an IPv6 address?

@diizzyy
Copy link
Contributor

diizzyy commented Apr 18, 2020

Closing this due to submitter timeout

@diizzyy diizzyy closed this Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants