"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this with a good reason. This gets you the latest bleeding edge kernel/firmware."
The best and easiest way to handle this problem is as following
- sudo wget http://www.fars-robotics.net/ -O
sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi
/usr/bin/install-wifi Downloads the installation file
- Downloads the installation file
- Downloads the installation file
- sudo chmod +x
sudo chmod +x /usr/bin/install-wifi
/usr/bin/install-wifi makes it executable
- makes it executable
- makes it executable
- Installation process
- sudo install-wifi
sudo install-wifi -c rpi-update
-c rpi-update
- check for driver if rpi-update is run. - sudo rpi-update
sudo rpi-update
- if a driver is available you can run rpi-update to update firmware. - sudo install-wifi -u rpi-update
sudo install-wifi -u rpi-update
- then update the driver for the new kernel installed by rpi-update. - sudo reboot
sudo reboot
- now reboot to update the kernel with the new wifi driver.
- sudo install-wifi