COMM CCU Final Project Roaming in Wireless Driver 林益宏 黃立維 Jun,
COMM CCU IAPP RADIUS Server AP-1 AP-2 Bridge 網 際 網路網 際 網路 網 際 網路網 際 網路
COMM CCU Bridge mode Setting Bridge Mode setting # brctl addbr br0 # brctl addif br0 eth0 # brctl addif br0 wlan0 # ifconfig eth # ifconfig wlan # ifconfig br up
COMM CCU hostapd Hostap –hostap-driver –hostapd –Hostap-utils –wpa-supplicant modify hostapd hostapd.conf
COMM CCU IAPP implement in hostap iapp.c iapp.h struct iapp_layer2_update { } – 在 layer2 作 update 之後就可以轉送 frame struct iapp_add_notify{ } –IAPP 有加入時的通知 iapp_receive_udp() – 當收到 IAPP 的 udp frame 就被呼叫 iapp_new_station() – 當新 AP association 後, 被呼叫去計算 session
COMM CCU Experment Environment Problem of experment Environment Notebook & Wi-fi phone – 透過 hostap 互通 – 在不同 channel 測試 IAPP
COMM CCU Experment A RADIUS Server AP-1 (hostap- channel”3”) AP-2 (hostap- channel”10”) Bridge 網 際 網路網 際 網路 網 際 網路網 際 網路
COMM CCU NoteBook(1/2)
COMM CCU NoteBook(2/2)
COMM CCU WiFi phone Zyxel Prestige 2000W Connect to hostap Handoff testing Use hostapd to start IAPP Demo
COMM CCU Experment B RADIUS Server AP-1 (hostap- channel”3”) AP-2 (hostap- channel”10”) Bridge 網 際 網路網 際 網路 網 際 網路網 際 網路 AP-3
COMM CCU Start hostap & IAPP Using interface wlan0ap with hwaddr 00:05:5d:da:ce:9a and ssid 'liwai‘ wlan0: RADIUS Authentication server :1812 IEEE f (IAPP) using interface eth0 and broadcast address Flushing old station entries Deauthenticate all stations
COMM CCU IAPP-handoff message A. wlan0: STA 00:a0:c5:b7:6f:cd IEEE : authenticated wlan0: STA 00:a0:c5:b7:6f:cd IEEE : associated (aid 1) B. Received IAPP-ADD for STA 00:a0:c0:b7:6f:cd(seq#3870 from :3231) handoff
COMM CCU IAPP-handoff message B. wlan0: STA 00:a0:c5:b7:6f:cd IEEE : authenticated wlan0: STA 00:a0:c5:b7:6f:cd IEEE : associated (aid 2) A. Received IAPP-ADD for STA 00:a0:c0:b7:6f:cd(seq#3874 from :3231) Removing STA 00:a0:c0:b7:6f:cd due to IAPP-ADD notification from
COMM CCU RADIUS server RADIUS Authentication client RADIUS Accounting client
COMM CCU Conclusion Hostap driver 已經實現最易的 IAPP 功能 Zxyzel 的 WiFi phone 仍有許多問題待改善
COMM CCU Thank you!!