本人最近对Atheros开发板烧写系统的时候,出现了一些问题。下面我详细说明一下:
编译系统的时候没有出错,编译成功了。然后烧写入开发板,进入刚烧的系统,这都没有问题。
接下来,通过执行apup脚本启动网卡,此时开发板就会默认以ap模式启动。请问各位大侠,如何让开发板以sta的模式启动?
谢谢大家!
执行apup后的开发板输出信息如下,第32行显示以ap模式启动了开发板:
~ # apup
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
br0 no wireless extensions.
Args: 1
asf: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_ahb: 9.2.0_U11.14 (Atheros/multi-bss)
__ath_attach: Set global_scn[0]
ACBKMinfree = 48
ACBEMinfree = 32
ACVIMinfree = 16
ACVOMinfree = 0
CABMinfree = 48
UAPSDMinfree = 0
Bootstrap clock 25MHz
ar9300RadioAttach: Need analog access recipe!!
Restoring Cal data from Flash
Using Cal data from Flash 0xbf3f0000
ath_get_caps[5184] rx chainmask mismatch actual 1 sc_chainmak 0
ath_get_caps[5159] tx chainmask mismatch actual 1 sc_chainmak 0
SC Callback Registration for wifi0
wifi0: Atheros 9380: mem=0xb8100000, irq=2
Creating ap for Atheros_XSpan_2G on
wlan_vap_create : enter. devhandle=0x808fc2c0, opmode=IEEE80211_M_HOSTAP, flags=0x1
wlan_vap_create : exit. devhandle=0x808fc2c0, opmode=IEEE80211_M_HOSTAP, flags=0x1.
Added ath0 mode master
Configuring RF . . .
ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1
Invalid command : setVowExt
Invalid command : setKeySrchAlways
Invalid command : mcastenhance
Invalid command : acparams
Invalid command : acparams
Invalid command : set_vsp_enable
Interface doesn't accept private ioctl...
setPhyRestartWar (8BE0): Operation not permitted
Invalid command : setVowExtStats
Created ath0 mode ap for Atheros_XSpan_2G
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
br0 no wireless extensions.
wifi0 no wireless extensions.
device ath0 entered promiscuous mode
br0: port 3(ath0) entering forwarding state
ARPING to 192.168.1.2 from 192.168.1.2 via br0
Sent 1 probes (1 broadcast(s))
Received 0 reply
>>>>> WPS MODE, 0
CHH: System Configuration
AP_IPADDR:=192.168.1.2
AP_NETMASK:=255.255.255.0