[pkg-wpa-devel] Bug#477479: wpasupplicant: Integration problem with ifplugd ?

giggz giggzounet at gmail.com
Wed Apr 23 12:51:43 UTC 2008


Package: wpasupplicant
Version: 0.6.3-1
Severity: normal

Hi,

I'm running under debian sid with a laptop. My wifi card is an
ipw2200. I'm using the 2.6.24.4 with the last firmware. The wifi card
and the wifi interface work good.

I have ifplugd and wpasupplicant on my laptop. ifplugd is a
configuration daemon for ethernet devices : when a link beat is
detected on the interfaces ifplugd launches ifupdown. 

On my pc ifplugd watches all the interfaces (eth0 = wired ; eth1 =
wifi). When I plug a wired cable, ifplugd detects link beats an I get
internet.
Without any mention of wpasupplicant under /etc/network/interfaces,
when I have an open network at proximity, ifplugd detects it and I get
internet.

Now I would like to integrate your great app wpasupplicant in this
system. I have a WPA wifi network. So I have configured wpasupplicant
to work with it. I have written a conf file for roaming with ssid et
psk key. Then in my /etc/network/interfaces I have added :

iface eth1 inet manual
wpa-roam path_to_conf_file

iface default inet dhcp

I don't have any "auto eth1" or "allow-hotplug eth1" because ifplugd
can't work with them.

So now if I do 
sudo wpa_supplicant -ieth1 -c path_to_conf_file -d -K
I have internet.

then
sudo wpa_action eth1 stop
to deconfigure it.

If I just do :
sudo ifup eth1
I get internet.

then
sudo wpa_action eth1 stop
to deconfigure it.

But If I don't type these lines I don't get any connections. ifplugd
doesn't detect any beat.

I found something interesting :
If I enter "sudo ifup eth1" and my wifi card if off (through the wifi
hotkey), I don't get any connection (normal). But if I switch on my
card, I get internet directly. And that's because wpasupplicant was
launched by the ifup before. Then ifplugd detects beats and so I get
internet.

Is there a way to solve this problem ? Is there special wpasupplicant
option for this ? 

Sorry if this bug report is not in the right place...

Best regards,
Guillaume


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

Kernel: Linux 2.6.24.4-1 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wpasupplicant depends on:
ii  adduser                       3.107      add and remove users and groups
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.1-1    simple interprocess messaging syst
ii  libpcsclite1                  1.4.100-3  Middleware to access a smart card 
ii  libreadline5                  5.2-3      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8g-8   SSL shared libraries
ii  lsb-base                      3.2-10     Linux Standard Base 3.2 init scrip

wpasupplicant recommends no packages.

-- no debconf information





More information about the Pkg-wpa-devel mailing list