[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating official Debian images for ARM-based NAS devices



On Apr 13, 2016, at 10:27 PM, Daniel Pocock <daniel@pocock.pro> wrote:
> If people are relying upon TFTP, it
> would not be hard to produce a Debian Live DVD that has a
> preconfigured DHCP/BOOTP/TFTP services for people to initialize other
> devices like this.

On Apr 19, 2016, at 2:27 AM, Riku Voipio <riku.voipio@iki.fi> wrote:
> On Wed, Apr 13, 2016 at 04:55:53PM +0200, Daniel Pocock wrote:
>> get started.  There is no need for the user to run through all the
>> installer questions, on many devices they can simply log in to the
>> standard admin page, upload the OpenWRT image through a web form and it
>> starts running with default settings.
> 
> The minimum we need to ask from users is for user/password setting. Most
> live-cd / live-image tools just hardcode a default credential, which is
> quite bad for embedded devices that will be running for years... 
> 
> Riku

Riku has a very good point.

So…  Taking Daniels’ idea and adding Riku’s point we get a Debian Live DVD
that has a preconfigured DHCP/BOOTP/TFTP service and a script you can run
from the command line that asks a bunch of questions to build a pre-seed
file.  One of the questions *must* be for user/password settings.

For the use-case of mass-installing a bunch of devices, it would probably be
a good idea for the script to take as input an already configured pre-seed
file to use as defaults.

The script should be interactive if given no parameters, but it should be
able to take enough parameters specifying values that it can be run
non-interactively if desired.

I’d work on such a thing, if somebody else were to lead the project.

Rick



Reply to: