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.


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 .

  • thanks.. :( I guess my card doesn't support it – Matt Mar 19 '12 at 18:20
  • 1
    I think that some cards may have Infrastucture mode with Mad Wifi Drivers, but you have to compile them and use as modules. With my old card wifi it worked – Omegafil Oct 4 '12 at 17:36

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

  • 2
    Hmm.. I see AP as well as AP/VLAN in the list of Supported Interface Modes. However, trying to set the mode to master as per @The Terminator's answer gives error message indicating that it doesn't support infrastructure mode. – intuited Nov 23 '13 at 1:32
  • @intuited same here – The Onin May 15 '17 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.