# System Overview

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2Fog5YwDcKSxlTqxwoWGfN%2FScreenshot%202023-02-27%20at%2017.23.04.png?alt=media&#x26;token=f634fa79-fdf4-4741-b686-5241f76f70a7" alt=""><figcaption><p>ภาพแสดงการทำงานของระบบ SEARA</p></figcaption></figure>

Seara เป็นระบบ Cloud Radiuas Server และ WIFI Marketing Plat form ที่สามารถให้ผู้ใช้บริการสามารถสร้างหน้า Captive Portal เพื่อให้บริการ WIFI กับผู้ที่เข้ามาใช้บริการได้โดยง่าย  โดยสามารถบริการจัดการหน้า Captive Portal แยกได้ตาม WIFI SSID ระบบมาพร้อมกับฟีเจอร์ต่างๆที่ช่วยในการเก็บข้อมูลและสามารถนำข้อมูลไปใช้งานต่อยอดในด้าน Marketing ได้โดย Seara จะทำงานร่วมกับอุปกรณ์ Network ที่รองรับการตั้งค่า External Captive Portal และ Radius Server สำหรับการเรียกใช้งาน Captive Portal ภายนอกร่วมกับการยืนยันตัวตนด้วย Protolcol Radius โดยอุปกรณ์รองรับการทำงานจะเป็นอุปกรณ์ประเภท WIFI Access point ,WIFI Controller, Gateway Router ต่างๆ โดย สามารถตรวจสสอบ รุ่นที่รองรับได้จาก [Appendix อุปกรณ์ที่รองรับการใช้งานร่วมกับ Seara](https://manual.seara.biz/appendix/support-device)&#x20;

การเชื่อมต่อกับ SEARA สามารถเชื่อมโดยการตั้งค่าอุปกรณ์ Access Point , ทำงานร่วมกับ WIFI Controller ได้ทั้งในรูปแบบของ Hardware Controller และ Cloud çontroller หรือทำงานร่วมกับ Gateway Router เช่น Mircrotik ก็ได้โดยขัั้นตอนการทำงานของระบบ SEARA ร่วมกับอุปกรณ์ Network ต่างๆจะเป็นไปตามรูปดังนี้

<figure><img src="https://71561992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M-OjnKhMWq_4gll0i0s%2Fuploads%2FDWOIQog2DJ1oUnOGwL6C%2FScreenshot%202023-02-27%20at%2017.19.37.png?alt=media&#x26;token=1c375221-e30f-45c6-9fe2-6185a726c764" alt=""><figcaption><p>ขึ้นตอนการทำงานของ SEARA ร่วมกับ อุปกรณ์ Hardware ต่างๅ</p></figcaption></figure>

1. **Access Point detect unauthenticated user**  อุปกรณ์ Access point ตรวจจับผู้ใช้งานยังไม่ได้มีการยืนยันตัวตนในะรบบ
2. **Request for Login Page** อุปกรณ์ Network ส่งข้อมูลไปที่ Seara Cloud โดยส่งชื่อ NAS\_ID , sitename และชื่อ WIFI SSID ไปยัง Seara Cloud
3. **Return Login Page** Seara Cloud ตอบกลับหน้า Login Page ตามชื่อ WIFI SSID&#x20;
4. **Client Login on Captive Portal** ผู้ใช้งาน Login เข้าใช้งานระบบโดยกรอกชื่อผู้ใช้งานและรหัสผ่านหรือยืนยันตัวตนผ่าน Oauthen ในกรณี Login ด้วย Socail Network เช่น Facebook,Line,Twitter
5. **RadCheck** อุปกรณ์ Network ส่งค่าชื่อผู้ใช้งานและรหัสผ่าน ไปยัง Seara cloud ด้วย Protocol Radius
6. **RadReply** Seara Cloud ตอบกลับจะอนุญาติให้ Access เข้าใช้งานหรือ Reject พร้อมกับค่า Attribute ต่างๆ เช่น Bandwidth ที่ได้รับ , ระยะเวลาการใช้งานที่อนุญาติ
7. **Allow/Deny Internet Access**  อุปกรณ์ดำเนินการอนุญาติหริอปฏิเสธการให้เข้าใช้งานระบบ  &#x20;
8. **Radius Accouting Start** ดำเนินการจัดเก็บข้อมูล Trasaction การเข้าใช้งาน เวลาในการ Login,IP,MAC Address ของอุปกรณ์&#x20;
9. **Account Interim** ส่งข้อมูลของ Client ไป Update ในช่วงเวลาที่ Online อยู๋ในระบบ
10. **User Logout / Session Timeout/Idle Timeou**t หลังจากผู้ใช้งานเข้าสู่ระบบ จะสามารถ หลุดออกจากระบบได้จากกระบวนการ Logout หรือ Timeout จากการไม่เข้าใช้งานระบบ
11. **Radius Accounting Stop** ปิดข้อมูล Transaction ของผู้ใช้งานในระบบ


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.seara.biz/system-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
