郭斯彥臺灣大學:資訊網路與多媒體研究所陳炯霖Chen, Chiung-LinChiung-LinChen2007-11-272018-07-052007-11-272018-07-052007http://ntur.lib.ntu.edu.tw//handle/246246/58402隨著微處理器製程的演進與製造業蓬勃的發展,越來越多的嵌入式系統被研發出來,並且大量的出現在我們的日常生活中,讓生活的便利性增色不少。例如手機的大量應用,使得人與人之間的溝通更加便利;透過目前當紅的PDA可以簡單快速的取得各式股票市場及時資訊;以及藉由嵌入式的氣象探知器可以讓人們預知未來的氣候概況。既然嵌入式系統佔我們生活科技的比重越來越大,瞭解如何去開發一個嵌入式系統將會是科技人必須深入瞭解的課題。 另外,Wireless LANs (WLAN)也是另一項近年來被廣泛使用及發展快速的領域,因此我們可以發現很多商家開始提供無線上網的服務,但是位了節省經費,大部份提供無線上網的店家並沒有提供存取控制的管理系統,因此只要在服務範圍納的人們,都可以透過各種行動裝置來使用此無線服務,導致真正需要服務的付費客戶使用無線網路時的品質變的非常低落,更甚者還有被駭客使用或竊聽的各種安全上的問題。 綜合前兩段的論述,我們知道嵌入式系統及無線網路是生活中不可或缺的兩大技術。在這篇論文中,我們將實做無線網路存取控制閘道器,並藉由此實做,研究並瞭解何謂嵌入式系統,如何開發嵌入式系統,及如何開發出具有存取控制能力的閘道器,以期讓店家得以提供最好的無線網路服務品質和付出最低廉的成本來達成此一目標。With the development of advanced technology and manufacturing, microprocessor had become smaller and more efficacy. For this reason, more and more embedded systems appear in our daily life, such as mobile devices and hotspots. Living with these embedded system device really bring us a lot of convenient and rapid information in time. For example, we can use cell phone to make contact with other people, via PDA to get rich stocks information from Internet, and by meteorological sensors help we could know what the weather oncoming. Since embedded system have become more and more important, learn how to develop on it would be necessary. Wireless LANs (WLAN) extensively been used by people with mobile device or laptop nowadays. Therefore stores providing wireless network service is becoming very often. Using common wireless gateway to provide service will be a good choice because of low cost and ease to construct. However, without user authentication and management, the quality of service will become extremely awful. In this thesis we will describe how to develop particular functions in embedded system which with modern architecture, and implement a wireless hotspot access control gateway under the WNOC total solution, to provide a wonderful WLAN environment for every wireless network user.口試委員會審定書 i 誌謝 ii 中文摘要 iii Abstract iv Chapter 1 1 1.1 Background and Motivation 1 1.2 Goal 3 1.3 Thesis Outline 4 Chapter 2 5 2.1 Toolchain 5 2.1.1 uClibc 6 2.1.2 lexra-nnop-v5 6 2.1.3 Development Environment 8 2.2 Host and Target 9 2.3 Types of Host/Target Develop Setups 10 2.3.1 Linked Setup 10 2.3.2 Removable Storage Setup 11 2.3.2 Removable Storage Setup 12 Chapter 3 14 3.1 Introduction to CWR-854 14 3.1.1 Key Features 15 3.1.2 Flash Memory Layout 16 3.1.3 Generate a Total Image 17 3.1.4 Pros and Cons of Using CWR-854 18 3.2Introduction to 32-bit RISC Micro-Controller RTL8186 19 Chapter 4 21 4.1 How Components Work 22 4.2 BusyBox 24 4.2.1 Customize BusyBox 26 4.2.2 Build BusyBox 27 4.3 GoAhead Embedded Web Server 28 4.3.1 Setting GoAhead Web Server 30 4.3.2 Build GoAhead Web Server 31 4.4 Iptables 34 4.4.1 Build Iptables 36 Chapter 5 37 5.1 WNOC Management System Framework 38 5.1.1 Flow Path of Access Control 40 5.2 Create Web Page and CGI 42 5.2.1 Add Web Pages 42 5.2.2 Create CGI 43 5.2.3 RADIUS Client 44 5.3 Redirect HTTP Packets 46 5.3.1 Introduce Some Useful Parameters of IPTABLES 46 5.3.2 Impelment Web Redirection 48 5.4 Access Control Daemon 49 5.4.1 Client’s Data Structure 49 5.4.2 Program a Daemon in Unix System 52 5.4.3 Shared Memory in Unix System 54 5.4.4 Implementation of the Access Control Daemon 55 Chapter 6 57 6.1 Conclusion 57 6.2 Future Works 58 Reference 601283966 bytesapplication/pdfen-US無線網路熱點存取控制閘道器實作Wireless NetworkAccess ControlGatewayHotspotImplementation無線網路熱點存取控制閘道器之實作Implementation of Wireless Hotspot Access Control Gatewaythesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/58402/1/ntu-96-R94944016-1.pdf