Showing posts with label prepaid. Show all posts
Showing posts with label prepaid. Show all posts

Sunday, July 15, 2007

Setting up a Wi-Fi Hotspot: Profitable yet Affordable. Part-II

Continuing from where we left off...
I will attempt to discuss how a Wi-Fi hotspot can be built using cheap hardware ( Linksys WRT54GL - Rs 4100, Standard Barebones PC - Rs 15,000) and some free opensource tools. Though it is a non-trivial task, the fruits of labor are well earned!
To start off, lets identify the components of our hotspot:







Sl NoComponentOur SolutionWebsite
1Wireless RouterLinksys WRT54GLhttp://www.linksys.com
2Captive GatewayCoovahttp://www.coova.org
3AAA ServerFreeradiushttp://www.freeradius.org
4Subscriber Management SoftwarephpMyPrepaidphpmyprepaid


The following figure (from Chillispot) succinctly illustrates our setup.
Hotspot Architecture

To keep this post short and also to avoid making it sound like rocket science, I will focus upon a solution that offers a readymade package which is a combination of Sl No 1 & 2 above. As some people say, its like your Linksys router on Steroids!


Step 1: Preparing the Hotspot Controller


The first step is to convert a commonly available wireless router into a Hotspot Controller. To do this, we have to perform a little surgery on the WRT54GL Linksys router. Remember that this will void the warranty on the router. Though it will not go up in smoke, you might end up just "bricking" the router.

Download the latest version of the Coova firmware from here. Connect your laptop/PC to the WRT54GL with the blue patch cord that came with the router. Remember that you need to connect to one of the LAN ports and not the "WAN" or Internet port. The Linksys will assign an IP address to your PC in the series 192.168.1.x. This means that your PC will in all probability get an IP address of 192.168.1.2. Now fire up your favorite browser and type in http://192.168.1.1/ in the address bar.
You should be presented with a authentication window. Type in "admin" as the username and "admin" as the password. You should be logged in into the WRT54Gl management console. Now navigate to the Administration-->Firmware Upgrade tab. Click on the Choose FIle button. You will be presented with a File Chooser dialog box. Now point it to the firmware file that you downloaded eg. openwrt-wrt54g-squashfs.bin on your PC. When you now click on Upgrade the progress bar will indicate the upgrade in progress. Remember not to disturb this actvity as it may lead to "Bricking" your router!
Once the upgrade is over (it might take a couple of minutes), the router will reboot. Once the reboot is over (the DMZ led on the router will go off), you will be presented with the Coova web interface. It would be a good idea to connect your internet connection (DSL etc) to the "Internet" port on the router at this stage. This is to enable automatic download and installation of additional components by the new firmware. Now Coova is a project built upon the now-legendary OpenWRT project. It takes out the pain of configuring OpenWRT with Chillispot etc and presents everything in a nice Interface.
Enter the new password for the Coova Router (notice how we re-christen it?). I would suggest that you follow this link to setup the Coova router. It has some neat screenshots to ensure you recognize what you are doing.
Once you have reached this point in the above installation wiki, that says "Once the settings are applied, the router will be a HotSpot", you are all set to go!
Coova offers three ways of setting up a hotspot, Internal, Chillispot and WiFiDog. We will explore the first two.

Step 2: Testing the Hotspot Controller


Lets now perform some simple tests to ensure our upgrade went off well and the router is working as expected.
  • Coova as standard router
  • Your laptop should be able to connect to the Internet while being connected to the Coova router wirelessly.

  • Coova with internal hotspot
  • Coova offers an embedded internal hotspot which allows you to create a table of internal users with a limited edition 'landing page'
    Create a couple of users and enable the Internal hotspot. Now when you try to connect to the Internet through Coova, it should redirect you to the 'Landing page'. One you enter the username and password correctly, It should permit you to surf the Internet. For many applications like libraries etc, this is more than sufficient since you are not permitting people to access the Internet without registering for it (or you knowing about it). The obvious pitfalls of such a mechanism is that there is no session timeouts, users will have to be logged out manually and so on.

  • Coova as chillispot hotspot controller
  • This also has two options. Automatic settings as well as manual. With automatic settings, you will be redirected to a simple ToS page hosted on Coova's servers.
    Manual settings are what we are interested in. This is one place that I found that the Coova wiki does not document at all!
    We will explore Coova manual settings in the next part because we have to satisfy some pre-requisites before this can be achieved. This involves setting up of the components mentioned in Sl No 3 & 4 in the table above. I will outline how these can be installed and tested on a standard Linux PC (Though I am given to understand that this can be acheived with a Windows machine, I am a Linux guy and cant tell you much about that part!). Stay tuned for Part 3 of this series...

    Sunday, July 8, 2007

    Setting up a Wi-Fi Hotspot: Profitable and yet Affordable

    Wi-Fi Hotspots are great business... or so people thought. It sounds so attractive, you connect a wireless access point/router to your "home" DSL line and hey presto! people would come in droves to your establishment to surf, be online whatever and you made a lot of money.
    Huh?
    Whats the revenue model here? Do you charge for access? Do you give it away for free? If its the latter, would you be arrested if someone abused your service? Are there people/services available who would help you set up such a service?
    While it is true that offering Wi-Fi by itself is not the way to making your millions, you can make a start by offering Wi-Fi in a controlled environment. This means that you control: -
  • Who connects to the hotspot (Authentication)
  • What they can access through the hotspot (Authorization)
  • How long they use the service (Accounting)
  • In addition to this, there also needs to be a mechanism to ensure that adequate bandwidth is available for all users (no mp3 and DVD downloads choking others).

    All of the above is available as a managed service offered by companies like Pronto Networks, Airpath, Aptilo, Nomadix and so many others.

    The advantages of going in for these services is obvious; You sign up with the company and become a "WISP" (Wireless Internet Service Provider).

    They give you a nifty little device called the "Hotspot Controller". This device sits between the Internet connection (DSL, T1) and the rest of your wireless network. At times, this lil box may be the rest of the network because your hotspot might not need any more access points than the one bundled with the Hotspot Controller.

    Now the Hotspot Controller will typically connect to the OSS (Operations Support System) of the provider. It can then manage, provision your network. The OSS has a web interface that the WISP (you) login to and create packages, prepaid coupons and so on.

    It also lets you customize the "landing page" on your hotspot so you can use that space for advertisement revenue!

    When the prospective customer (read road warrior/kid across the road with laptop) tries to get on to the Internet through your network, she is redirected to the "Landing Page" which asks her to "Pay up or else..". In other words, she needs to "sign-in" or "sign-up" for access.

    There usually are cool features like letting her sign up for the account by creating an account and paying via credit card and so on.

    All this is plain and simple and can be done in a jiffy. But, is this affordable?

    Well not really. You (as the WISP) have to pay the managed services provider a flat upfront fee, and then a portion of the revenue per subscriber.

    Now what happens when there is no customer at all? Well, you pay the provider a minimum guarantee to ensure he gets back his investment in your business.

    There are services that follow the middle-path like not charging you a fee for the hotspot controller but charging a portion of the revenue etc. These include Zonerider, FON.

    Now, coming back to the main issue we started out to discuss. Is there a way to get all the goodies that the OSS provider provides and also not lose money? More importantly is there a way to make money?

    In part 2 of this series, we will look at how this can be done using some very cool tools available in the Open source world.

    Contd....

    Wi-Fi in Hotels: A sustainable model?

    In india, the incumbent telcos have more or less killed the Wi-Fi in 5-star Hotel markets by putting in the network for free and then sharing revenue with the Hotel. This apparently is a win-win situation for the Hotel since there is no up-front investment and there is also a steady revenue.
    The flip side is that in their greed to earn revenue, the hotels end up charging astronomical sums for access. The typical rates are about INR 900 ($ 20) per day!
    The operator on his part tries to cut costs by using sub-standard equipment and inferior design leading to lack of proper connectivity in the hotel.
    This has led to a lot of people (domestic business travellers) using their GPRS cards for Internet access.