Changing the default mode of a device

Jouni Malinen jkmaline
Fri Aug 6 13:30:40 PDT 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