James Cowgill <James.Cowgill@imgtec.com> (2014-08-08): > Package: netcfg > Version: 1.117 > Severity: normal > Tags: d-i patch > > Hi, > > I cannot connect to any wifi network when entering a manual ESSID. > After entering the ESSID I always get the message: > > Network chosen: (null). Proceeding to connect. > > There seems to be a small error in wireless.c where the ESSID entered > by the user is never stored anywhere (producing the "(null)" above). > I've attached a patch which fixes this issue for me. Uh-oh, that looks like a quite silly bug indeed! If nobody else gets to it before me I'll try to reproduce locally and confirm the patch. (I haven't looked at the surrounding code yet.) [ Hopefully kvm USB passthrough works better than last time I tried. ] Thanks! > James > > -- System Information: > Debian Release: jessie/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > --- a/wireless.c > +++ b/wireless.c > @@ -86,7 +86,7 @@ get_essid: > goto get_essid; > } > > - strdup(client->value); > + interface->essid = strdup(client->value); > > memset(wconf.essid, 0, IW_ESSID_MAX_SIZE + 1); > snprintf(wconf.essid, IW_ESSID_MAX_SIZE + 1, "%s", interface->essid); Mraw, KiBi.
Description: Digital signature