Bug#431657: automatic wlan connection at bootprocess on Etch only on second try
reassign 431657 wpasupplicant
thanks
On Sat, Aug 04, 2007 at 07:52:46PM +0200, Michael Lansche wrote:
> Hi Jurij,
>
> Am Freitag, 3. August 2007 23:21 schrieb Jurij Smakov:
> > Ok, that looks pretty regular. Another thing I can suggest is to try
> > to add a delay (like 'sleep 5') to the start/pre-up branch in the
> > /etc/wpa_supplicant/ifupdown.sh, right after conf_wpa_supplicant line.
> > That delay should give the WPA authentication some time to settle
> > before the dhclient is invoked to obtain an DHCP lease. Let me know if
> > it helps.
> >
>
[...]
> your suggestion works.
>
> I think this way the boot process is a few seconds slower than with my
> workaround.
>
> Nevertheless I'd like to ask which is now the better respectively the more
> Debian-like way?
>
> Is it now a bug or only a specific problem of my hardware?
I'm not too familiar with wpasupplicant, so I'm going to reassign the
bug.
wpasupplicant folks: it looks like under some circumstances
wpasupplicant exits too soon, so the first attempt to obtain DHCP
lease fails. I've asked Michael to add a delay to
/etc/wpa_supplicant/ifupdown.sh and it fixed his problem. Please have
a look at it and advise.
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
Reply to: