Package: guessnet
Version: 0.36-1
Severity: important

*** Please type your report below this line ***

Facts
-----
I'm using waproamd+ifplugd+guessnet on a wireless lan with a WEP key and 
DHCP, so this is what happens on my system:

- plug-in wireless pcmcia card
- cardmgr loads card's drivers (hostap's) and executes './network start 
  wlan0', this makes hotplug launch waproamd and ifplugd (this last one, 
  does not detect link beat and "sleeps" 'till new notice)
- waproamd detects the new wireless lan and sets it up (ap, channel, essid, 
  plus wep key)
- ifplugd detects the wireless link beat (AP association) and runs my tests 
  with guessnet
- the 'test wireless mac <mac> essid <essid>' is runt by 
  /usr/share/guessnet/test/test-wireless, which after doing the pertinent 
  checks (maybe the MAC_ADDRESS and ACTUAL_MAC_ADDRESS should be both put 
  on the same case - upper or lower, but both the same -, to avoid 
  mistakes) and before exiting, does a 'ifconfig "$IFACE" down', which in 
  turn deassociates the card from the AP (at least on my system)
- as the guessnet's test succeeded on a DHCP logical iface, it sends a 
  DHCPREQUEST, but the connection is not really up

Problem
-------
When the client (me) deassociates, the dhclient is not killed and continues 
requesting a lease.
If when waproamd retries to connect again the same wlan is used, a dhclient 
(I don't know if the old is finally killed a a new one spawned) finally 
gets its job done (as I think the previous ifplugd finally succeeds and the 
new event triggered by waproamd (new link beat) is cancelled.
If the wlan disappears, my system gets mad and the wlan card stops 
working... I don't know why.
I haven't made all the possible tests, and I'm not pretty sure on what 
happens after the test-wireless' ifconfig ... down, but I think something 
goes wrong (is there any special or concrete case why you put that line 
there?)
I didn't test the other two scripts, but they all have an ifconfig ... down 
line that could be problematic (I don't know...).

Solution
--------
I commented the 'ifconfig "$IFACE" down' line on guessnet's test-wireless 
script and everything went straightforward as expected.

Well, I think i wrote too much for such a simple thing, sorry :)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages guessnet depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-2  GCC support library
ii  libnet1                       1.1.2.1-2  library for the construction and h
ii  libpcap0.7                    0.7.2-7    System interface for user-level pa
ii  libstdc++5                    1:3.3.6-7  The GNU Standard C++ Library v3

guessnet recommends no packages.

Versions of packages guessnet suggests:
ii  ifplugd             0.26-2              A configuration daemon for ethernet
pn  pppoe               <none>              (no description available)
ii  waproamd            0.6-7               WLAN roaming daemon

Versions of other interesting packages:
ii  ifupdown            0.6.7               high level tools to configure netwo


-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to