Hope this will help you
After installing kali with windows 8.1 in my Lenovo G40-30, I can't turn on my wifi and it's labled as "Hardware Disabled".
If i tried using windows, i've got no problem to my wifi.
Type:
lspci | grep -i Network
Output:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Why? Because this problem could be specific to the Network Card that you have.
Now i tried to use:
rfkill list > rfkill unblock <identifier || the number of what you want to unblock>
well it works but only for the Soft Blocked:
Now this what it looks like:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
2: ideapad-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Now, i tried to type this command:
sudo modprobe -r ideapad-laptop
sudo rfkill unblock all
rfkill list all
Output:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Then Type:
apt-get install -y gedit
gedit /etc/rc.local
Then move that 'sudo modprobe'.. line before exit 0.
reboot
I look at the bar on top and i saw the Wi-Fi logo =)
Finally It's enabled now!!
Hope it works on you.