Changing the default mode of a device

Jouni Malinen jkmaline at cc.hut.fi
Fri Aug 6 16:30:40 EDT 2004


On Fri, Aug 06, 2004 at 03:02:44PM +0000, Stefán Freyr Stefánsson wrote:

> As I understand HostAP defaults to Master mode for devices it drives.
> 
> Is there any way (either in some config file or by doing something before 
> compiling the driver) to have HostAP default to Managed mode so I don't have 
> to manually set it every time?

Sure, there are multiple options:
- cardmgr/hotplug startup scripts
- iw_mode module parameter
- change driver/modules/hostap_hw.c:
  static int iw_mode[MAX_PARM_DEVICES] ... line includes the compile
  time default (IW_MODE_MASTER)

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list