Actions
Bug #1414
closeddhclient fail on wifi
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/05/2011
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
If using dhcp on a wifi interface dhclient fails because it is executed before wpa_supplicant is finished configurering the interface.
Maybe not the most elegant solution but it can be fixed by adding a small delay in interface_wireless_configure() :
--- /etc/inc/interfaces.orig 2011-04-05 13:52:49.000000000 0200
++ /etc/inc/interfaces.inc 2011-04-05 13:58:41.000000000 +0200@ -2458,6 +2458,9
@
/* execute hostapd and wpa_supplicant if required in shell */
mwexec("/bin/sh {$g['tmp_path']}/{$if}_setup.sh");
+ /* give wpa_supplicant some time to get everything straight */
+ sleep(1);
+
return 0;
}
Updated by Jim Pingle over 12 years ago
- Status changed from New to Closed
Replaced by #2440 (better info there)
Actions