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

Bug#687687: Possible workaround on the problem.



Greetings all,

Not sure if anyone still get the same problem but when I was preseeding an Ubuntu installation disk with 4.4.0-43-generic netinstall, I got stuck at the same point, i.e. the option is highlighted but the installation does not proceed until I press enter manually.

Then I looked into git://anonscm.debian.org/d-i/netcfg.git and used the template from
debian/netcfg-common.templates to replace the section of "Template: netcfg/wireless_show_essids" in my var/lib/dpkg/info, and it somehow works.

I think the default template from netinstall somehow breaks it, though​ I have only tested on my build and am not sure if it would be useful for all the distros.

So these are my changes:

In var/lib/dpkg/info/netcfg.templates, replace the section of netcfg/wireless_show_essids to:

  Template: netcfg/wireless_show_essids
  Type: select
  Choices-C: ${essid_list} manual
  # Translators: please do not translate the variable essid_list
  # :sl1:
  _Choices: ${essid_list} Enter ESSID manually
  # :sl1:
  _Description: Wireless network:
   Select the wireless network to use during the installation process.​

And in the preseed file:
  d-i netcfg/choose_interface select wlan0
  d-i netcfg/wireless_show_essids select manual
  d-i netcfg/wireless_essid string SOMEESSID
  d-i netcfg/wireless_essid_again string SOMEESSID
  d-i netcfg/wireless_security_type select wpa
  d-i netcfg/wireless_wpa string SOMEKEY

Hope it helps some of you.

Cheers,
Cheuk Leung

Reply to: