My Raspberry Pi 3 built-in Wi-Fi card has some serious problem. The Wi-Fi connection is lost very frequently (every 5-10 mins). I googled this problem and found some solutions to solve this:
Turn off the power management of wlan card.
sudo iw dev wlan0 set power_save off
Keep running this script using crontab
/bin/ping -c2 -I $wlan $pingip >/dev/null 2>&1 if [ $? -ge 1 ] ; then echo "Network connection down! Attempting reconnection." /sbin/ifdown $wlan /bin/sleep 5 /sbin/ifup --force $wlan else echo "Network is Okay" fi
I schedule the above script after every 10 min, but still losing connection. Wi-Fi works fine on smartphone and laptop.
What could be the possible reason and its solution?