Skip to content

Commit

Permalink
[parrot] wait longer when connecting bebop to wifi router
Browse files Browse the repository at this point in the history
it seems that 2 seconds is a bit to short in some cases when the router
takes longer to reply. 5 seconds gives much better results.
  • Loading branch information
gautierhattenberger committed Feb 10, 2018
1 parent 1f85390 commit 3df160f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/tools/parrot/bebop/wifi_tools/scripts/connect2hub
Expand Up @@ -35,7 +35,7 @@ then
wificmd="bcmwl join $WIFI_SSID key $WIFI_KEY amode $WIFI_AMODE"
fi
eval $wificmd
sleep 2
sleep 5
# from the udhcpc message clip the leased IP address
dhcpmsg=`udhcpc -n -b -i eth0 -s /data/ftp/internal_000/scripts/config_network.script -x hostname:$(hostname)`
echo $dhcpmsg > /data/ftp/internal_000/scripts/MSG_latest_DHCP
Expand Down

0 comments on commit 3df160f

Please sign in to comment.