This is a script for downloading and configuring the correct wireless drivers in a Debian based distro on a MacBook Pro 13" late 2010
git clone https://github.com/Macuyler/macbook-wifi.git
cd macbook-wifi
sudo cp macbook-wifi /usr/local/bin/
Open a new terminal or run . ~/.bashrc
Note: The first time you run this script on your machine you will need a wired internet connection. This will allow the script to install the required dependencies. Every time the script is run after that you will be able to run it without any internet connection.
macbook-wifi