CC3200 SDK 提供了实现 Enterprise Wlan的例子,其简要说明文件为 “CC32xx ENT WLAN.pdf”
我分别使用两种方法尝试该实例。
1) 尝试连接我们公司实际使用的 Enterprise Wlan, CA Key由公司 IT工程师提供,不成功
2) 采用 https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/t/440q389 提供
的步骤
2.1) 建立 FreeRadius 服务器
2.2) 完成 AP的设定
2.3) 采用 android 手机完成对服务器和AP的验证, 服务器和AP 工作正常。
2.4) 按照文档说明, 采用 Uniflash将client.key, client.pem, ca.pem 写入cc3200 (where client.key = private.key)
2.5) 修改 ENT_NAME, USER_NAME, PASSWORD
2.6)修改 eapParams.EapMethod = SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2
2.7)修改 g_SecParams.Type = SL_SEC_TYPE_WPA_ENT;
2.8) build and run
运行结果,cc3200的 log显示如下
Host Driver Version: 1.0.1.6
Build Version 2.6.0.5.31.1.4.0.1.1.0.3.34
Device is configured in default stateDevice started as STATION
FreeRadius服务器log显示如下
rad_recv: Access-Request packet from host 192.168.1.254 port 1063, id=22, length=156
User-Name = "rlxia"
NAS-IP-Address = 192.168.1.2
NAS-Port = 0
Called-Station-Id = "90-F6-52-C0-BD-AF:TP-LINK_C0BDAF"
Calling-Station-Id = "5C-31-3E-08-99-0C"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x0200000a01726c786961
Message-Authenticator = 0x74af4a20bc83b2a3ce3d6010f3c5f739
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {…}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "rlxia", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 0 length 10
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry rlxia at line 76
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {…}
[eap] EAP Identity
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 22 to 192.168.1.254 port 1063
EAP-Message = 0x010100061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x033ca5fe033dbcd5c6b882e57e12e252
Finished request 10.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 10 ID 22 with timestamp +97
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x033ca5fe033dbcd5 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
请问哪里可以找到更详细的说明, 谢谢!
gaoyang9992006:
问一下楼主这个企业版WLAN跟 WLAN Station 有什么区别没?
gaoyang9992006:
http://bbs.eeworld.com.cn/thread-461626-1-1.html
这个网页提到的书不知道目录里有对你这个有帮助的内容没