Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 8 down vote accepted

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 .

share|improve this answer
    
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

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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