Ethical hacking lesson 16

I cannot get the ifconfig wlan0 up to work. After I get the new MAC address, I put in ifconfig wlan0 up and I get the error message: SIOCSFFLAGS: Operation not possible due to RF-kill.The wireless adapter that I am using is the Alfa Atheros AR9271.

hey Rosatb,
run: rfkill list all
and check to see if your wlan0 is soft blocked or hard blocked.
If your wlan0 is blocked try run: sudo rfkill unblock all
Run the list command again and check to see if this has sorted your issue.
Hope this helps,
Dave

I am not completely sure if this matter but I always used iwconfig wlan0 down/up instead of ipconfig. Try check it out.

Awesome! That worked. Thank you Dave!!!