這裡說明如何連上一個WPA2-Enterprise加密的無線網路。有些AP把802.1X和WPA2-Enterprise,視為同一個,有些則分開。而windosw 7設定是分開的。不過在我的認知裡,WPA2-Personal就是一般家用的PSK(pre-share key);而WPA2-Enterprise就是透過802.1X,需要RADIUS server認證加密的網路。
底下記錄我如何透過windows7,Andorid,及iOS,連到一個WPA2-Enterprise加密的Wifi-AP(無線基地台)。至於,如何架設一個RADIUS server @ Ubuntu,以及設定WPA2-Enterprise Wifi-AP,便不在這裡說明。
2012年12月4日 星期二
2011年4月18日 星期一
2011年3月25日 星期五
Handle IP address convert to int or char(dot IP)
This code will do
1. convert char IP address to four int
2. convert four int var to one int
3. convert four int var to one char
Or, these is a api to do it
===========================================
reference from:
http://www.cplusplus.com/forum/general/9403/
http://stackoverflow.com/questions/1505676/how-to-convert-ip-address-from-char-to-int
http://beej.us/guide/bgnet/output/html/multipage/inet_ntopman.html (good)
http://beej.us/guide/bgnet/output/html/multipage/inet_ntoaman.html
http://www.aboutmyip.com/AboutMyXApp/IP2Integer.jsp
===========================================
後記:
後來發現一篇文章最有用
inet_ntoa會有thread safe的問題,最好直接改用inet_ntop
1. convert char IP address to four int
2. convert four int var to one int
3. convert four int var to one char
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Or, these is a api to do it
| 1 2 3 4 5 6 7 8 9 10 11 | |
===========================================
reference from:
http://www.cplusplus.com/forum/general/9403/
http://stackoverflow.com/questions/1505676/how-to-convert-ip-address-from-char-to-int
http://beej.us/guide/bgnet/output/html/multipage/inet_ntopman.html (good)
http://beej.us/guide/bgnet/output/html/multipage/inet_ntoaman.html
http://www.aboutmyip.com/AboutMyXApp/IP2Integer.jsp
===========================================
後記:
後來發現一篇文章最有用
從 inet_ntoa 看 thread safe 的 API
inet_ntoa會有thread safe的問題,最好直接改用inet_ntop
2011年3月4日 星期五
在WORD中Backspace鍵失效
微軟常常會讓人有無限的驚喜...
前幾天忽然發現,在word和outlook中。反白一段文字,卻無法用backspace(←)刪除。
然而在其他的軟體,甚至是其他的office軟體裡,卻都沒有這個問題。
這困擾了我幾天...
還一度懷疑,是不是本來就沒有這個功能,是我自己憑空想出來的 Orz
前幾天忽然發現,在word和outlook中。反白一段文字,卻無法用backspace(←)刪除。
然而在其他的軟體,甚至是其他的office軟體裡,卻都沒有這個問題。
這困擾了我幾天...
還一度懷疑,是不是本來就沒有這個功能,是我自己憑空想出來的 Orz
訂閱:
文章 (Atom)