how to find out if my card supports infrastructure mode?
My android doesn't see AdHoc networks so I cannot share internet to my phone that way.
I heard of making a network in infrastructure mode, and I am wondering how to find out if my card supports it.
Solution 1:
use the command:
sudo iwconfig wlan0 mode master
if it gives the following as output, it means it doesn't support infrastructure mode:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
If it gives no output, it supports the infrastructure mode. Also, just remember to change "wlan0" to the actual name of your wireless device. You can get the name using the command ifconfig
.
Solution 2:
You can check if your device supports AP mode by running "iw list
" and looking in the 'Supported interface mode*s' section for "*AP". See: Wireless Driver Support for AP support.
This is the Source