Skip to main content

Lấy MAC Address iPhone Android để quản lý truy cập Wifi

Hiện nay kết nối mạng hay gặp vấn đề wifi hoặc cả mạng LAN (mạng dây) chậm lag khi có nhiều thiết bị truy cập. Chỉ nhiều hơn 1 chút nhưng cảm giác đường truyền gần như vô dụng khá khó chịu.
Chắc là có nhiều nguyên nhân và cách khắc phục. Ở đây mình đưa ra cách dễ hiểu và quen làm nhất vì m ko rành về mạng máy tính.
Bài này đầu tiên mình đưa ra một số nguyên nhân mình tìm hiểu được. Từ đó đưa ra giải pháp khắc phục. Quy trình của giải quyết 1 vđ nó là như vậy: tìm (học) nhiều thông tin liên quan, tìm nguyên nhân rồi cách khắc phục, rút kinh nghiệm ...
Nguyên nhân thì chủ yếu do nhiều kết nối đến router làm cho nó quá tải nên chúng ta sẽ hạn chế truy cập vào. Hạn chế có thể dùng chia tải ra các thiết bị khác, tạo bộ lọc chỉ cho những thiết bị ABC 1-8 máy được truy cập ... Ngoài ra có thể tối ưu các cài đặt khác ...

Đầu tiên là địa chỉ MAC, mỗi máy (iPhone/ Android) có 1 địa chỉ MAC duy nhất gồm 8 byte. Nó như IMEI của SIM card. Máy nào 2-3 khe gắn sim thì có thể có ngần đó IMEI. Wifi cũng vậy như Laptop hay có 2 card mạng 1 wifi + 1 NIC (LAN) => có 2 MAC address.
Địa chỉ này là duy nhất và ko thay đổi nên về nguyên tắc chúng ta dùng để phân biệt các thiết bị khi nó truy cập vào router. Biết được máy iPhone này là guest ko cho vô, máy Android B này ok đc vô...
Thực ra MAC, IMEI có thể đổi, cái này tự google nhưng về nguyên tắc đổi xong thì nó cũng rất cố định, rất ít khi thay đổi như số CMT vậy.

Lấy MAC devices
Các cách lấy
...
http://www.iphonetricks.org/17-secret-iphone-interrogation-codes/

Cấu hình router
Giới thiệu qua các config của router.

Demo 2 cái router.

Cấu hình MAC Filter

tài liệu:

...

Tổng kết:
...

Comments

Popular posts from this blog

Rand mm 10

https://stackoverflow.com/questions/2447791/define-vs-const Oh const vs define, many time I got unexpected interview question. As this one, I do not know much or try to study this. My work flow, and I believe of many programmer is that search topic only when we have task or job to tackle. We ignore many 'basic', 'fundamental' documents, RTFM is boring. So I think it is a trade off between the two way of study language. And I think there are a bridge or balanced way to extract both advantage of two method. There are some huge issue with programmer like me that prevent we master some technique that take only little time if doing properly. For example, some Red Hat certificate program, lesson, course that I have learned during Collage gave our exceptional useful when it cover almost all topic while working with Linux. I remember it called something like RHEL (RedHat Enterprise Linux) Certificate... I think there are many tons of documents, guide n books about Linux bu

Martin Fowler - Software Architecture - Making Architecture matter

  https://martinfowler.com/architecture/ One can appreciate the point of this presentation when one's sense of code smell is trained, functional and utilized. Those controlling the budget as well as developer leads should understand the design stamina hypothesis, so that the appropriate focus and priority is given to internal quality - otherwise pay a high price soon. Andrew Farrell 8 months ago I love that he was able to give an important lesson on the “How?” of software architecture at the very end: delegate decisions to those with the time to focus on them. Very nice and straight-forward talk about the value of software architecture For me, architecture is the distribution of complexity in a system. And also, how subsystems communicate with each other. A battle between craftmanship and the economics and economics always win... https://hackernoon.com/applying-clean-architecture-on-web-application-with-modular-pattern-7b11f1b89011 1. Independent of Frameworks 2. Testable 3. Indepe