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

Re: network-console, netboot, authorized_keys



Dnia 17 listopad 2015 o 10:07 Ian Campbell <ijc@debian.org> napisał(a):
> On Sun, 2015-11-15 at 12:04 +0100, Łukasz Stelmach wrote:
>> Q1. What is the difference between (the purpose of) network
>> -console.cfg and netboot.cfg?
> 
> network-console images are the ones which run the installer as a ssh
> server for headless systems. netboot is just the regular installer
> which assumes a console and/or serial port.

Provided a proper network configuration is available. Either from a DHCP
server or as preseed parameters in kernel command line (console is needed
to input them).

>> Q1-a. If I want to prepare a patch for d-i to support NSA325 should I
>> modify netboot.cfg too?
> 
> It depends on whether a NSA325 typically has a console/serial or is
> headless. It sounds like it is headless in which case network-console
> is probably the one you want.

"Typically"[1], user needs to open the device and attach UART converter
to get the console. OK, I get it, network-console is a superset of
netboot anyway.

>> Q1-b. Is there any tutorial or a checklist how to port d-i to a new
>> platform?
> 
> Not that I know of, other than git log on the relevant components to
> see what the last guy did I guess.

"Relevant components" is a key phrase I hoped to find as a title of a
section in such tutorial.

> For headless you might also be interested in oldsys-preseed which tries
> to extract things like network cfg from the factory firmware
[...]

That's interesting. I will investigate it.

Thank you, for the information.

[1] http://zyxel.nas-central.org/wiki/Serial_port_%28NSA325%29
-- 
Miłego dnia,
Łukasz Stelmach


Reply to: