CentOS7 connectivity error

Behavior

slow wireless connection

Fix

Review the network adapter with

lspci
...
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)

then, compile and install the driver manually

sudo apt-get install build-essential linux-headers-generic git dkms
git clone http://github.com/lwfinger/rtlwifi_new.git
cd /path/to/rtlwifi_new
make
sudo modprobe -rv rtl8188ee
sudo make install
sudo modprobe -v rtl8188ee

reboot

[donhk@i7box ~]$ cd rtlwifi_new/
[donhk@i7box rtlwifi_new]$ make
make -C /lib/modules/4.1.12-112.16.4.el7uek.x86_64/build M=/home/donhk/rtlwifi_new modules
...
Install rtlwifi SUCCESS
[donhk@i7box rtlwifi_new]$ sudo modprobe -v rtl8188ee
insmod /lib/modules/4.1.12-112.16.4.el7uek.x86_64/kernel/net/rfkill/rfkill.ko
...
insmod /lib/modules/4.1.12-112.16.4.el7uek.x86_64/kernel/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
[donhk@i7box rtlwifi_new]$ sudo reboot -h now

Note: this also applies to other Linux distributions