maker - wifi ap

34
-Maker- DIY your Tools cmj 1

Upload: chia-hao-tsai

Post on 11-Aug-2015

89 views

Category:

Technology


1 download

TRANSCRIPT

-Maker-DIY your Tools

cmj

1

Disclaimer

ALL CONTENT, WHETHER EXPRESS OR IMPLIED, ARE

OPEN INFORMATION. AUTHOR IN THE LEGAL IS

IRRESPONSIBLE FOR YOU.

2

‧ Ba a maker, you can

‧ Learn more what you need

‧ Enjoy more what you like

‧ Understand more what you used

3

Mission - Wifi AP

4

‧ I want to design a popular WiFi AP

‧ Everyone want to access

‧ Everyone like to access

‧ Also, I’m happy everyone access my Wifi AP

5

Design Flow

6

7

I want access WiFi

8

I want access WiFi

Your Wifi AP

9

I want access WiFi

Your Wifi AP

Expose Your Device - hostapd

10

I want access WiFi

Your Wifi AP

Expose Your Device - hostapd

Assign A IP address - dnsmasq

11

I want access WiFi

Your Wifi AP

Expose Your Device - hostapd

Assign A IP address - dnsmasq

Access WLAN - iptable

‧ hostapd

‧ A userspace daemon for wireless AP

‧ dnsmasq

‧ Lightweight DNS / DHCP server

‧ iptable

‧ Redirect WiFi packet into WLAN

12

So Easy ~

13

‧ Now we have a basic WiFi AP

‧ But not sweet enough~

‧ Who ?

‧ Why ??

14

‧ Now we have a basic WiFi AP

‧ But not sweet enough~

‧ Who ?

‧ Why ?

15

‧ If possible

‧ Everyone on the World is my custom⋯

‧ But only the 100m at most, limit by

‧ frequency band

‧ radio power

‧ ⋯ etc

16

‧ If possible

‧ Everyone on the World is my custom⋯

‧ But only the 100m at most, limit by

‧ frequency band

‧ radio power

‧ ⋯ etc

17

‧ If possible

‧ I want only one (of course, mine) WiFi AP

‧ But WiFI AP is located on everywhere

18

‧ If possible

‧ I want only one (of course, mine) WiFi AP

‧ But WiFI AP is located on everywhere

19

So ⋯

The Trivial solution is Best solution

20

If it looks like a duck, sounds like a duck, and walks like a duck, then it probably is a duck

21

‧ In real scenario

‧ School, the total scope is larger than 100m

‧ You DO NOT want to repeat login.

‧ Did you realize that you switch to other AP

22

WiFI Roaming

23

‧ Limitation

‧ Same SSID

‧ Same Authentication method

‧ Same Password

24

‧ But the real flow are

1. Client send probe request (with SSID)

2. Server response

3. Client authentication

4. Server check and pass the authentication

25

‧ But the real flow are

1. Client send probe request (with SSID)

2. Server response

3. Client authentication

4. Server check and pass the authentication

26

You are the Super Star

27

‧ Be the popular, what can we get?

28

You No Pain I No Gain

29

You No Pain I No Gain

30

Who get the router, they own the network!

31

‧ Every packets through router

‧ From, To and Data

‧ Name, address, and everything you talk on the

network.

32

33

Thanks for your attention ~

34