I installed this WiFi driver, as I have Mediatek MT7630E. It connects and works pretty well, but whenever it disconnects my computer freezes.
So I tried blacklisting some drivers:
sudo nano /etc/modprobe.d/blacklist.conf
and added
blacklist eth0
blacklist eth0_cs
But it still freezes.
Details
I got eth0 from running this command:
$ iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo no wireless extensions.
wlan0 seems to be the one that connects when my WiFi is turned on.