short • Works @Radiowalla Network Pvt. Ltd • Handles Development & Dev-Ops • B.Tech (CS&E) graduate from Amity University, Noida (UP) • Loves to travel • Blog during free time • Cricket Lover • "CHAI" addict • Plays Guitar too!
the user of a public-access network is obliged to view and interact with before access is granted. Captive portals are typically used by business centers, airports, hotel lobbies, coffee shops, and other venues that offer free Wi-Fi hot spots for Internet users.
a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. Hence just like a normal computer you can turn Raspberry Pi into a router all you need is external wifi adapter and bit of configuration on the device.
networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
owns a cafe and most of the evenings are quite hectic for him since there is a huge line of customer he needs to serve. - Recently, he has been seeing some drop in the customer check-in during the evening time. - On inquiring he came to know that his place doesn’t have an internet access. - Mr. Rawat now wants to install Hotspot in his location and also wants to show advertisements/offers when a user gets connected to the wifi hotspot.
Request gets passed onto the machine IP Traffic Rules in the machines blocks requests to external side temporarily User is redirected to inbuilt captive portal. Authentication / OTP Page If Auth = Success { Internet_access: “granted” }
need Rasberry-Pi machine with Raspbian Wheezy installed in it. - For better performance we can use premium grade SD Card Class 10 for this. - The easy way is download Raspbian Image from [https://www.raspberrypi.org/downloads/] and burn it on the SD card using software like etcher.
card and boot up the machine. - Use default username and password : pi and raspberry for log in. - Once logged in we need to install following packages.