Processed: Re: Bug#757478: netcfg: cannot connect to any wifi network using manual essid

2014-08-09 Thread Debian Bug Tracking System
Processing control commands:

 tag -1 confirmed pending
Bug #757478 [netcfg] netcfg: cannot connect to any wifi network using manual 
essid
Added tag(s) confirmed and pending.
 found -1 1.108+deb7u1
Bug #757478 [netcfg] netcfg: cannot connect to any wifi network using manual 
essid
Marked as found in versions netcfg/1.108+deb7u1.

-- 
757478: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757478
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b757478.140761354714354.transcr...@bugs.debian.org



Bug#757478: netcfg: cannot connect to any wifi network using manual essid

2014-08-09 Thread Cyril Brulebois
Control: tag -1 confirmed pending
Control: found -1 1.108+deb7u1

Cyril Brulebois k...@debian.org (2014-08-08):
  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.)

Bug indeed confirmed for jessie and wheezy; patch confirmed as well (on
jessie only for now), judging by the INFO output change only…

 [ Hopefully kvm USB passthrough works better than last time I tried. ]

… because I can apparently only list available ESSIDs; actually
connecting fails to I couldn't test a full installation.

I'll push the patch shortly to git, upload to sid, and push a backport
to the wheezy branch as well.

Many thanks again!

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#757478: netcfg: cannot connect to any wifi network using manual essid

2014-08-08 Thread James Cowgill
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.

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);


Bug#757478: netcfg: cannot connect to any wifi network using manual essid

2014-08-08 Thread Cyril Brulebois
James Cowgill james.cowg...@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.


signature.asc
Description: Digital signature