Fix Wi-Fi connection problem in OS X El Capitan, Yosemite on MacBooks

WiFi does not work well on your MacBooks? Look at following simple solution to fix Wi-Fi connection problems in OS X (El Capitan and Yosemite) via Terminal.