版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、ar1021x使用hostapd配置ap热点注意事项在应用ar1021x模块化集成时,一些应用需要用模块来做soft ap用法,这就牵涉到hostapd配置问题,假如配置不好,是没有ssid热点出来!模块有支持双频的,有只支持单频的,详细要仔细阅读模块规格书,所以配置的时候要留意!普通按照对应的kernel内核版本提供的驱动包,保障物理衔接正常,供电稳定,正常编译驱动后,就能加载胜利,并正常用法!以下案例现象:用法hostapd配置ap热点,ap热点出不来!log信息如下:ostapd -dd -e /dev/urandom /etc/hostapd.conf &random: inv
2、alid entropy file /dev/urandomrandom: tryinaddrconf(netdev_up): wlan0: link is not readyg to read entropy from /dev/randomget randomness: len=20 entropy=0random: updated entropy file /dev/urandom (own_pool_ready=0)configuration file: /etc/hostapd.confnl80211: interface wlan0 in phy phy0rfkill: initi
3、al event: idx=0 type=1 op=0 soft=0 hard=0nl80211: supports probe response offload in ap modenl80211: disable use_monitor with device_ap_sme since no monitor mode support detectednl80211: add own interface ifindex 4nl80211: set mode ifindex 4 iftype 3 (ap)nl80211: setup ap - device_ap_sme=1 use_monit
4、or=0nl80211: subscribe to mgmt frames with ap handle 0x102ee00 (device sme)nl80211: register frame type=0xd0 nl_handle=0x102ee00nl80211: register frame match - hexdump(len=0): nullnl80211: enable probe request reporting nl_preq=0x102ed98nl80211: register frame type=0x40 nl_handle=0x102ed98nl80211: r
5、egister frame match - hexdump(len=0): nullbss count 1, bssid mask 00:00:00:00:00:00 (0 bits)nl80211: regulatory information - country=usnl80211: 2402-2472 40 mhznl80211: 5170-5250 40 mhznl80211: 5250-5330 40 mhznl80211: 5490-5730 40 mhznl80211: 5735-5835 40 mhznl80211: added 802.11b mode based on 80
6、2.11g informationallowed channel: mode=1 chan=1 freq=2412 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=2 freq=2417 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=3 freq=2422 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=4 freq=2427 mhz max_tx_power=30 dbmallowed channel: mode=1 cha
7、n=5 freq=2432 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=6 freq=2437 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=7 freq=2442 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=8 freq=2447 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=9 freq=2452 mhz max_tx_power=30 dbmallowed
8、 channel: mode=1 chan=10 freq=2457 mhz max_tx_power=30 dbmallowed channel: mode=1 chan=11 freq=2462 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=36 freq=5180 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=40 freq=5200 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=44 freq=5220 mhz m
9、ax_tx_power=30 dbmallowed channel: mode=2 chan=48 freq=5240 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=149 freq=5745 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=153 freq=5765 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=157 freq=5785 mhz max_tx_power=30 dbmallowed channel: mo
10、de=2 chan=161 freq=5805 mhz max_tx_power=30 dbmallowed channel: mode=2 chan=165 freq=5825 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=1 freq=2412 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=2 freq=2417 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=3 freq=2422 mhz max_tx_power=3
11、0 dbmallowed channel: mode=0 chan=4 freq=2427 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=5 freq=2432 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=6 freq=2437 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=7 freq=2442 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=8 freq=244
12、7 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=9 freq=2452 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=10 freq=2457 mhz max_tx_power=30 dbmallowed channel: mode=0 chan=11 freq=2462 mhz max_tx_power=30 dbmcompleting interface initializationmode: ieee 802.11g channel: 6 frequency: 2437
13、mhznl80211: set freq 2437 (ht_enabled=1 sec_channel_offset=0)rate0 rate=10 flags=0x1rate1 rate=20 flags=0x1rate2 rate=55 flags=0x1rate3 rate=110 flags=0x1rate4 rate=60 flags=0x0rate5 rate=90 flags=0x0rate6 rate=120 flags=0x0rate7 rate=180 flags=0x0rate8 rate=240 flags=0x0rate9 rate=360 flags=0x0rate
14、10 rate=480 flags=0x0rate11 rate=540 flags=0x0wlan0: flushing old station entrieswlan0: deauthenticate all stationswpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=
15、0wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0using interface wlan0 with hwaddr 38:e2:6e:0c:04:1f and ssid 'ar1021_wifi'deriving wpa psk based on passp
16、hrasessid - hexdump_ascii(len=11):61 72 31 30 32 31 5f 77 69 66 69 ar1021_wifipsk (ascii passphrase) - hexdump_ascii(len=8): removedpsk (from passphrase) - hexdump(len=32): removedrandom: cannot read from /dev/random: resource tempoaddrconf(netdev_change): wlan0: link becomes readyrarily unavailable
17、random: got 0/20 bytes from /dev/randomrandom: only 0/20 bytes of strong random data available from /dev/randomrandom: not enough entropy pool available for secure operationswpa: not enough entropy in random pool for secure operations - update keys later when the first station connectsget randomness
18、: len=32 entropy=0gmk - hexdump(len=32): removedget randomness: len=32 entropy=0key counter - hexdump(len=32): removedwpa: delay group state machine start until beacon frames have been configuredhostapd_eid_deny_mac num_deny_mac:0hostapd_eid_accept_mac num_accept_mac:0nl80211: set beacon (beacon_set
19、=0)wpa: start group state machine to set initial keyswpa: group state machine entering state gtk_init (vlan-id 0)get randomness: len=16 entropy=0gtk - hexdump(len=32): removedwpa: group state machine entering state setkeysdone (vlan-id 0)wpa_driver_nl80211_set_key: ifindex=4 alg=2 addr=0x6a828 key_i
20、dx=1 set_tx=1 seq_len=0 key_len=32broadcast keywpa_driver_nl80211_set_operstate: operstate 0->1 (up)netlink: operstate: linkmode=-1, operstate=6failed to set tx queue parameters for queue 0.failed to set tx queue parameters for queue 1.failed to set tx queue parameters for queue 2.failed to set t
21、x queue parameters for queue 3.wlan0: setup of interface done.rtm_newlink: operstate=1 ifi_flags=0x1002 ()nl80211: ignore interface down event since interface wlan0 is uprtm_newlink: operstate=1 ifi_flags=0x1043 (uprunning)rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_removed
22、already cleared - ignore eventrtm_newlink: operstate=1 ifi_flags=0x1003 (up)rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_removed already cleared - ignore eventrtm_newlink: operstate=1 ifi_flags=0x1003 (up)rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_re
23、moved already cleared - ignore eventnl80211: event message availablenl80211: regulatory domain changewlan0: event channel_list_changed (31) receivedunknown event 31nl80211: event message availablenl80211: regulatory domain changewlan0: event channel_list_changed (31) receivedunknown event 31rtm_newl
24、ink: operstate=1 ifi_flags=0x11043 (uprunninglower_up)rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_removed already cleared - ignore eventrtm_newlink: operstate=1 ifi_flags=0x11003 (uplower_up)netlink: operstate: linkmode=-1, operstate=6rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_removed already cleared - ignore eventrtm_newlink: operstate=1 ifi_flags=0x11043 (uprunninglower_up)rtm_newlink, ifla_ifname: interface 'wlan0' addednl80211: if_removed already cleared - ignore eventhostapd.conf配置如下:interface=wlan0d
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年茂名高岭科技有限公司面向社会公开招聘备考题库及参考答案详解
- 软件项目开发风险管理与项目可持续发展策略研究教学研究课题报告
- 2025河南郑州航空港郑飞特种装备招聘4人考试核心题库及答案解析
- 2025安徽淮北濉溪县龙华高级中学教师招聘20人备考核心试题附答案解析
- 四川天府新区第十二幼儿园2025年教师招聘备考核心题库及答案解析
- 智慧养老平台合同
- 智慧城市规划设计咨询合同
- 电信行业技术工程师技术能力考核表
- 2025浙江嘉兴海宁市袁花文化旅游产业发展有限公司招聘1人笔试重点题库及答案解析
- 行政工作标准化执行手册与操作指南
- 成人住院患者跌倒风险评估及预防
- (正式版)HGT 4339-2024 机械设备用涂料
- 口袋公园设计方案
- 2024年重庆水务集团招聘笔试参考题库含答案解析
- 生产委托加工合同中英文版
- 垃圾焚烧发电项目土石方工程专项施工方案
- 小学数学各种单位间的进率-
- 美国文化课件
- 离婚协议书电子版可打印
- 公司出纳明年个人工作计划标准模板(3篇)
- NB∕T 10897-2021 烃基生物柴油
评论
0/150
提交评论