Hello,

Now I must inform ifplugd works correctly for me (I only had problem
with my eth1 wireless lan interface - ipw2200).

After some time with ifplugd uninstalled, I have decided to install and
test it again. Meanwhile time has passed and some other debian packages
in etch (testing) have been upgraded. For example wpasupplicant (now
running wpasupplicant version 0.4.7-3).

I think my configuration is also different now:

- When reporting this bug, I think wpasupplicant was run at if-pre-up
  and if-post-down events (i.e.: only while interface was configured).
- Now, wpasupplicant runs ALWAYS - as a daemon, from system startup
  (may be eth1 be configured - with "ifup eth1" - or not).
- Both eth0 (cable) and eth1 (wlan) are configured now in ifplugd as
  normal INTERFACES: it works now.


I think the following is IMPORTANT for detecting link-beats in the
wireless interface:**

- My local wlan uses WPA-PSK (not open nor WEP).
- In this case, wireless-tools (iwconfig, etc.) cannot associate
  directly the wlan interface to the wlan access point.
- wpasupplicant is needed (it must be running) to correctly
  associate the interface to the wlan access point (because of key
  management and so on, I guess).
- Link-beats are detected when the interface is ASSOCIATED /
  UNASSOCIATED to the acces point.
- Therefore, wpasupplicant is needed to detect link-beats, BEFORE
  the interface gets (pre)configured: wpasupplicant must be run as a
  system daemon = always.

**PLEASE: You may include an explicit reference to these facts in
          ifplugd documents. Now there is only a vague indication
          about "waproamd". If these facts are correct, of course.


Summarizing, I include my current configuration (which is working
correctly):

--- /etc/default/ifplugd:

INTERFACES="eth0 eth1"
HOTPLUG_INTERFACES=""
ARGS="-q -f -u0 -d10 -w -I"
SUSPEND_ACTION="stop"

---
--- /etc/default/wpasupplicant:

ENABLED=1
DRIVER=wext
INTERFACE=eth1
CONFIG=/etc/wpa_supplicant.conf
OPTIONS="-w -i ${INTERFACE} -D ${DRIVER} -c ${CONFIG}"

---
^^ Note that the -w option is IMPORTANT

--- /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# My WPA-PSK NETWORK
network={
        ssid="myessid"
        scan_ssid=1           # My ap hides essid
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        psk="mypskpassword"
}

---


Regards,

Daniel


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

Reply via email to