It seems that i found the solution...
if the system is trying to connect to the wifi network iwconfig output shows the SSID but ifconfig is not showing the ip address (at least in my situation where i accept only dhcp-client config....it should be tried in static mode).
So i changed the wifi-live-or-reset script in the following way:
....
iface_exists=""
iface_is_managed=""
iface_has_ssid=""
iface_is_access_point=""
iface_has_ip=""
update_vars() {
iface_exists=`/usr/sbin/iwconfig $IFACE`
iface_has_no_ssid=`/usr/sbin/iwconfig $IFACE | grep ESSID\:off\/any`
iface_is_access_point=`/usr/sbin/iwconfig $IFACE | grep Mode\:Master`
iface_has_ip=`/sbin/ifconfig $IFACE | grep inet`
}
....
if [ "$iface_exists" = "" ]
then
wait_for_iface
elif [ "$iface_is_access_point" != "" ]
then
blink-stop
exit 0
elif [ "$iface_has_no_ssid" != "" ]
then
wait_for_iface
else
if [ "$iface_has_ip" = "" ]
then
wait_for_iface
else
blink-stop
rm -f /last_dmesg_with_wifi_errors.log
exit 0
fi
fi
....
maybe there is a more polite solution but this just works ![]()