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

Re: Proposal to add patches to netcfg (#682737)


On Sun, Sep 16, 2012 at 8:15 PM, Brian Potkin <claremont102@gmail.com> wrote:
> On Sun 16 Sep 2012 at 12:59:02 +0300, Sorina - Gabriela Sandu wrote:
>> In #682737 [1] is stated that netcfg writes configuration for wireless
>> interface in /etc/network/interfaces and therefor Wi-Fi card is not
>> managed by Network-Manager.
>> For that matter, I would like to propose a patch to add support for
>> netcfg to write a Network Manager config file and modify the
>> finish-install script so that it copies to target either the nm-config
>> file or a full /e/n/i config, according to a reasonable default and
>> user's choice. This also contain a new question,
>> netcfg/target_network_config, which is asked with a medium priority in
>> finish-install, the default being also determined in the finish
>> install, such as:
>> - if NM is installed, default = NM configuration
>> - if NM is not installed and the install was over wired, default = /e/n/i config
>> - if NM is not installed and the install was over wireless, default =
>> do not configure network
> I realise a default is only a default and the selection can be changed,
> but I'm puzzled by the third option. Why treat a wireless install
> differently from a wired install? It would expected that a user who has
> chosen not to use a wired connection would still want connectivity after
> booting into into the new system,

The main reason for this is that as far as I know writing configs
related to a wireless network to /e/n/i enforce using only that
particular network later (of course if you don't modify the file) and
also that the interface is unmanageable for other tools. The idea was
to leave the network unconfigured, so that it can be managed later
(perhaps via something else than NM).

>> All the related changes can be found in people/sorina/write_config
>> branch [2]. Also, a image containing all the changes can be found at
>> [3]. The config file for NM is written according to the specifications
>> here [4].
>> What do you think about this? Do you believe it could be used at the moment?
> I did try your image (put on a USB stick with cat) with an expert install
> but did not get any questions asked at the finishing stage.

I don't know what to say about this, in theory the question should be
shown sometime after the one requesting reboot.


Reply to: