Your message dated Thu, 04 Mar 2010 16:03:31 +0000
with message-id <[email protected]>
and subject line Bug#572424: fixed in guessnet 0.53-1
has caused the Debian Bug report #572424,
regarding guessnet: Interface argument ignored in ifupdown mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
572424: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572424
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: guessnet
Version: 0.52-1
Severity: important
Tags: patch

It appears that the interface argument is being ignored when operating
in ifupdown mode.  This causes detection for interfaces other than eth0
(the default) to fail.

Perhaps my understanding of how the interface is determined is incorrect
and it is determined by another mechanism when in ifupdown mode and I
am overlooking it.  The specific error that inspired me to try to track
this down was that guessnet printed the following when attempting
detection for wlan0:

Operation not supported. Context:
    running the scan.  Quitting IWScan thread.

I tracked the result of this error to IWScan being invoked for eth0
rather than wlan0 and came to the above conclusion about the
interface specified on the command line being ignored.  If this
conclusion is in error, I can provide more diagnostic information
about this particular error message to help track down an alternate
cause.

I have attached a patch which works for me (by checking for the
interface command line argument in all cases).

Cheers,
Kevin


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.3-kevinoid1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages guessnet depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  libiw30                       30~pre9-4  Wireless tools - library
ii  libnet1                       1.1.4-2    library for the construction and h
ii  libpcap0.8                    1.0.0-6    system interface for user-level pa
ii  libstdc++6                    4.4.2-9    The GNU Standard C++ Library v3

guessnet recommends no packages.

Versions of packages guessnet suggests:
pn  ifplugd                       <none>     (no description available)
pn  pppoe                         <none>     (no description available)

-- no debconf information
diff -ru guessnet-0.52.orig/src/options.cc guessnet-0.52/src/options.cc
--- guessnet-0.52.orig/src/options.cc	2010-02-28 06:59:46.000000000 -0700
+++ guessnet-0.52/src/options.cc	2010-03-03 21:10:51.659504541 -0700
@@ -124,6 +124,12 @@
 	if (opts.parse(argc, (const char**)argv))
 		exit(0);
 
+	// Find out the interface to be tested
+	if (opts.hasNext())
+		iface = opts.next();
+	else
+		iface = "eth0";
+
 	// Check user id
 	/*
 	if (geteuid() != 0)
@@ -162,12 +168,6 @@
 	util::Output::get().debug(opts.debug->boolValue());
 	util::Output::get().syslog(opts.syslog->boolValue());
 
-	// Find out the interface to be tested
-	if (opts.hasNext())
-		iface = opts.next();
-	else
-		iface = "eth0";
-
 	// Find out the configuration file to use
 	if (opts.hasNext())
 		config_file = opts.next();

--- End Message ---
--- Begin Message ---
Source: guessnet
Source-Version: 0.53-1

We believe that the bug you reported is fixed in the latest version of
guessnet, which is due to be installed in the Debian FTP archive:

guessnet_0.53-1.diff.gz
  to main/g/guessnet/guessnet_0.53-1.diff.gz
guessnet_0.53-1.dsc
  to main/g/guessnet/guessnet_0.53-1.dsc
guessnet_0.53-1_amd64.deb
  to main/g/guessnet/guessnet_0.53-1_amd64.deb
guessnet_0.53.orig.tar.gz
  to main/g/guessnet/guessnet_0.53.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Enrico Zini <[email protected]> (supplier of updated guessnet package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 04 Mar 2010 13:49:52 +0000
Source: guessnet
Binary: guessnet
Architecture: source amd64
Version: 0.53-1
Distribution: unstable
Urgency: low
Maintainer: Enrico Zini <[email protected]>
Changed-By: Enrico Zini <[email protected]>
Description: 
 guessnet   - Guess which LAN a network device is connected to
Closes: 572424
Changes: 
 guessnet (0.53-1) unstable; urgency=low
 .
   * New upstream version
      + Parse command line arguments also in ifupdown mode. Thanks Kevin Locke
        for the patch.  Closes: #572424.
Checksums-Sha1: 
 60d18d571b58427c2728436b07596ddc527e1873 1886 guessnet_0.53-1.dsc
 32d51c20ec6c0e755ebfa6a9bbd30a5802fc6198 198299 guessnet_0.53.orig.tar.gz
 c306f74aab16a5be5dba57e7621782e03ffa86d1 9253 guessnet_0.53-1.diff.gz
 ff8ec61225e7d097b71fbc61ecb0ec4aec4e1f47 197170 guessnet_0.53-1_amd64.deb
Checksums-Sha256: 
 f1c189268b6bb345c4af8b5754716e2e780bd166da70fd6be01d8392ffa8a6ca 1886 
guessnet_0.53-1.dsc
 c63b59b6c7087d5372ecd787803db742004d692d03970a1b086ce296069c3b86 198299 
guessnet_0.53.orig.tar.gz
 48e792374506a8273f1f92ea59553d08f7d117c0502286eb705ebb97e952dc83 9253 
guessnet_0.53-1.diff.gz
 845ec22032400f9b12d34e8f77859044eb60f278148dce502d5f19b76adce142 197170 
guessnet_0.53-1_amd64.deb
Files: 
 36b4b88179a2be0a042c1bc5db3d782b 1886 net optional guessnet_0.53-1.dsc
 323c61efe976814f5ee87a4ec131e6af 198299 net optional guessnet_0.53.orig.tar.gz
 10e54efdf03cc980056583f0ca033462 9253 net optional guessnet_0.53-1.diff.gz
 8353167e4d07494599ec5806916340fc 197170 net optional guessnet_0.53-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLj75WAAoJEB5qw/OH8O2sNzUQAMgd3fCFUJLFIXyDQQaPGIr1
reTmqp0FChMJ+tv0Dj4sP1mJ7gDyVVZihoCjjltlvLHR5xBkWobFpPAsj4+13Gm4
DrSmwajsY/8rhaK8+nWZiUWmFcNFrwjuGE5N9fEMaBHkb1UPEt6KPm3ow/d+GizN
p84RnTT5uRMn+Ww1WrsUuUO3s62uzRiwwk09gz5qvAMfysRCLCufEViycJxG6biQ
qKqFzDpIhIJna1Z0aaT9RUgMRD7husQmHvYqFMuOV2Xdri7UuImbZScVsXjZdfnW
4fPQwnzCsGlqXxIY1G8uESfF9WMEMn8WHQMkVcD/NWa3EjcoBBpT1itv8MD6ZMW7
+nLbGQbh5CmYNMBZ7T8Dgx//Uhpnv5DJNd5bF+nPe5eiYTIXlq6r72X2vsf0f8/V
klMWoWFibR0GRUsSm5y35GCXv6bhkz7ccOAGQOn8wroBWagEpf6NOxyi2/ZWqhbI
xvY78uX4oNmmMuOsJwdti9L3iRSaFPA8PnK9le4bQkipoF7LvWIe82VJUFxwRQlX
Hbio6iCGDEMfbAOCfRy9TTK745+yrEH+4qHkj9o3nZo7I/jZ/I5GaHEHHogNK0FS
2uZKhkmamME2RzLnkFMInh4eF9QIIlsBN++K3phZ7OJOicQTzj50mCjzo1+Jidf0
2VzhX4lzkFrjgJfGYmvb
=hRr7
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to