文档详情

快速启动指南软上级模式quick start guide for softap.pdf

发布:2025-03-05约6.72千字共5页下载文档
文本预览下载声明

(A)HowtostartSoft-APmode:

(1)disablenetworkmanagementorotherwirelesstools,e.g._supplicant

(2)uncompressthedriverandthencompilethedriver

./make

(3)insmod8192cu.ko

(4)ifconfigwlan0up

(5)ifconfigwlan0192.168.0.1(usingthestaticipfortesting)

(6)compileHOSTAP,unpack_supplicant_hostapd-0.8_rtwzip

inthefolder(_supplicant_hostapd-0.8\hostapd)

./make

(7)starthostapddaemon:

./hostapdrtl_hostapd.conf-B

(B)ConfigurefileforSoft-APmodesetting:

(1)rtl_hostapd.confistheconfigurefileforfunctionssetting.

(2)themajorvariablesettinginthertl_hostapd.confconfigurefile,

(i)basicconfiguration

interfacewlan0

rtwap

#channel1-14is2.4GHz;channel36,40,44,46,48,52,56,60,

#64,100,104,108,112,116,120,124,128,132,136,140,149,

#153,157,161is5GHz

#Thechannelsthatareavailableforuseinaparticularcountrydiffer

#accordingtotheregulationsofthatcountry.

channel6

#Operationmode(aIEEE802.11a,bIEEE802.11b,g=IEEE

#802.11g,Default:IEEE802.11b)

hw_mode=g

#Ifthewirelessinterfaceisincludedinabridge,

#anadditionalconfigurationparameter,bridge,isneeded

bridgebr0

(ii)securitymodeconfiguration

#Thisfieldisabitfieldthatcanbeusedtoenable

#(IEEE802.11i/D3.0)

#and/or

显示全部
相似文档