[pkg-wpa-devel] troubles with roaming mode

Andrei Popescu andreimpopescu at gmail.com
Tue May 13 08:55:46 UTC 2008


[no need to Cc me, I'm subscribed]

On Sun, May 11, 2008 at 11:30:10PM +1000, Kel Modderman wrote:
> On Sunday 11 May 2008 18:02:28 Andrei Popescu wrote:
> > Hello,
> > 
> > I posted this to debian-user (after a week of research and googling), 
> > but nobody has any ideeas.
> 
> Hey Andrei,
> 
> I will try and digest your email and get you a meaningful response in the next
> couple of days. I spent some time addressing another wpasupplicant bug report
> and it took slightly longer than hoped and I run out of time on this fine
> Sunday night.
> 
> I offer one quick tip for now:
> | allow-hotplug eth1
> | iface eth1 inet manual
> |       wpa-ap-scan 1
> |       wpa-scan-ssid 1
> |       wpa-roam /etc/wpa_supplicant/wpa-roam.conf
> |       wpa-debug-level 3
> 
> The "wpa-ap-scan" and "wpa-scan-ssid" options here are ambiguous; these
> variables should be defined in the /etc/wpa_supplicant/wpa-roam.conf that you
> use (as per upstream documentation). "wpa-ap-scan" and "wpa-scan-ssid" are
> really only useful for the so called "managed" mode where no wpa_supplicant
> configuration is used at all.

I experimented with those options when I wrote my managed config, but I 
don't think they are necessary, my router does broadcast the essid.

> 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
`----

I also have huge logs (you might have noticed I'm running with 
'wpa-debug-level 3'), but I can't tell what is interesting there and 
they might be too big for the list.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20080513/13f51512/attachment.pgp 


More information about the Pkg-wpa-devel mailing list