[pkg-wpa-devel] troubles with roaming mode

Kel Modderman kel at otaku42.de
Sat May 24 23:54:31 UTC 2008


On Tuesday 13 May 2008 18:55:46 Andrei Popescu wrote:
> > What would also be interesting is output of
> > "wpa_action eth1 stop; ifup -v eth1"
> 
> I'm guessing you mean after a reboot. Here it is:
> 
> ,----
> | ifdown eth1
> | Configuring interface eth1=eth1 (inet)
> | run-parts --verbose /etc/network/if-pre-up.d
> | run-parts: executing /etc/network/if-pre-up.d/virtualbox-ose
> | run-parts: executing /etc/network/if-pre-up.d/wireless-tools
> | run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
> | wpa_supplicant: wait for wpa_cli to attach
> | wpa_supplicant: using default driver type: wpa-driver wext
> | wpa_supplicant: using debug level: 3
> | wpa_supplicant: /sbin/wpa_supplicant -W -B -P /var/run/wpa_supplicant.eth1.pid -i eth1 -D wext -t -ddd -f /var/log/wpa_supplicant.eth1.log -c /etc/wpa_supplicant/wpa-roam.conf
> | Starting /sbin/wpa_supplicant...
> | wpa_supplicant: creating sendsigs omission pidfile: /lib/init/rw/sendsigs.omit.d/wpasupplicant.wpa_supplicant.eth1.pid
> | wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/eth1
> | run-parts --verbose /etc/network/if-up.d
> | run-parts: executing /etc/network/if-up.d/000resolvconf
> | run-parts: executing /etc/network/if-up.d/mountnfs
> | run-parts: executing /etc/network/if-up.d/openssh-server
> | run-parts: executing /etc/network/if-up.d/postfix
> | run-parts: executing /etc/network/if-up.d/wpasupplicant
> | wpa_supplicant: /sbin/wpa_cli -B -P /var/run/wpa_action.eth1.pid -i eth1 -p /var/run/wpa_supplicant -a /sbin/wpa_action
> | Starting /sbin/wpa_cli...
> | wpa_supplicant: creating sendsigs omission pidfile: /lib/init/rw/sendsigs.omit.d/wpasupplicant.wpa_action.eth1.pid
> `----

In your previous email, IIRC, the output:

,----[ ps aux | grep wpa ]
| root      2273  0.0  0.1   4348   964 ?        S<s  21:16   0:00 /sbin/wpa_supplicant -W -B -P /var/run/wpa_supplicant.eth1.pid -i eth1 -D wext -t -ddd -f /var/log/wpa_supplicant.eth1.log -c /etc/wpa_supplicant/wpa-roam.conf
`----

Should look more like:
$ ps aux | grep wpa
root      2498  0.0  0.0   4352   932 ?        S<s  09:10   0:00 /sbin/wpa_supplicant -W -B -P /var/run/wpa_supplicant.eth1.pid -i eth1 -D wext -q -f /var/log/wpa_supplicant.eth1.log -c /etc/wpa_supplicant/conf
root      2536  0.0  0.0   2124   408 ?        S<s  09:10   0:00 /sbin/wpa_cli -B -P /var/run/wpa_action.eth1.pid -i eth1 -p /var/run/wpa_supplicant -a /sbin/wpa_action
kel       7705  0.0  0.0   4764   700 pts/0    R+   09:51   0:00 grep wpa
---

The wpa_cli daemon is absent from your output, which is confusing as it is
shown to start in your above ifup -v output.

Thanks, Kel.



More information about the Pkg-wpa-devel mailing list