Captive Portal - Chillispot | OpenWrt vs DD-wrt

I am trying to set up a hidden portal using DD-wrt and Open-wrt with my own radius server and I also tried to set them up using a CSP page ( http://worldspot.net ).

DD-WRT

My first attempt was with TP-LINK WR841N (v7.) And DD-wrt using the web interface. The dd-wrt web interface has an option in Services -> HotsPot -> ChilliSpot

. Here I tried both configurations using my own server data and also tried with WorldSpot data and my problem was the same in both cases:

When I turn on Chillispot on my router, I don't get an IP address, i.e. I cannot connect to wifi / lan. It looks like the problem is with the router and something like the Chillispot configuration is not working or the changes are not being applied. "

Open-wrt

After a few hours trying to make dd-wrt work, I think maybe with an open mouth it was easier to set up and I found another problem here. After upgrading my TP-LINK to Open-wrt, I realized that I cannot access the router via WEB, so I need to connect via telnet and ssh to install some packages and create some configurations.

I tried to install the "luci" package for the web gui and I found it with some errors: - At first it did not find the package and I need to modify the file /etc/opkg.conf

      - As soon as I downloaded the package and try to access the web, I get the error uci_load: not found

      - Once i fixed the problem with the uci package, i enabled uhttpd and run it, but when i try to connect over the network i get another error: "CGI received no response"

Questions

  • Someone with more experience than me could point out to me which one of these programs is better to have access to a stain / film system?

  • Is it possible that in the case of dd-wrt , the chillispot configuration was not applied to the router configuration?

  • For open-wrt, does anyone have the same errors with the web interface?

  • I read and it seems that it is possible to customize ChilliSpot via SSH

    , but the tutorials I found were not very helpful, can anyone point me to a good tutorial for this?

I also have D-Link dir-615 H2

, but it seems to be less compatible with open-wrt and dd-wrt than TP-LINK.

I would appreciate any information that can help me in a good direction, thanks!

+3


source to share


2 answers


A few months ago I found a very simple answer to this question about creating a portable portal.

The best of this solution is that the flashing part of the router is very automated and the configuration of the Captive Portal is done through a WEB interface that is very easy to understand and manage.

You can also connect via ssh to the router if some software configuration is required, such as VLANS

To use this solution, your modem must be on this list (at the time of writing the answer):

  • Linksys: WRT54G | WRT54GL | WRT54GS

  • MiniRouter: MR3201A

  • FonSpot / Fonera (Atheros)
  • Ubiquiti: Bullet-M | Nano-M | Rocket-M | Airrouter | UniFi | Bullet/Nano/etc/{2/5}

I have used this method on several Ubiquiti AirRouters and now it only takes me 5 minutes to configure the router for the HotSpot system using FreeRadius .

I tried with FreeRadius installed in RaspBerry on LAN as well as VPS over WAN

Steps to start any of the above routers:

  • Download coova-ap.jnlp from here
  • Open the file with Java Web Start

For Linux systems: sudo javaws coova-ap.jnlp

  1. You need to click Flash CoovaAP , and you will see a window like this where you have to select your router model:


Select your router model

  1. After downloading the file, you will see the following window:

Select your network device

Here you have to select your network device, usually eth0 (wired) is the best choice, anyway I highly recommend clicking the Save firmware to file button to save a backup of the original firmware.

If you are using an Ubiquiti router, before pressing the Start Blinking button,  you need to:

... If you are using a Ubiquiti device, you must put it into TFTP mode by unplugging the POE Ethernet cable and plugging it back in while holding the reset button for 8 seconds. If that doesn't work, you may need to press it for 16 seconds. The LEDs should now flash alternately to indicate TFTP mode.

Once you click Start Blinking and the flash is complete, the router will restart and we can access the router using the same Coova software.

Now the Configure CoovaAP button should be clickable and we will see a very fancy interface for configuring the Captive Portal router , we will be able to use different HotSpot configurations.

If the button is not available, please make sure the CoovaAP IP is 192.168.1.1

One of the guides that help me configure my router using CoovaAP software, HotSpotSystem: Installing CoovaAP Guide

In this tutorial, you will get more information on some of the steps and in general configuration of the Captive Portal interface. I didn't add the HotSpot part because the question was about what was the best router configuration.

+3


source


There are several ways to create a hidden portal server:

1.

As far as router compatibility is concerned, I can only recommend DD-WRT build 22118 or later (based on coovachilli dd-wrt). The following versions are supported: mini_hotspot (broadcom_K26 non-nv60k, non-nv64k!), Nokaid, standard, large, or mega. Other versions (eg mini or micro) do not contain the hotspot module, so they cannot be used for hotspot use.

Once you have such a build, you can launch a simple Captive Portal with Chillispot.

All you need is a FreeRadius server and a web server.



2.

Using OptWARE

Here I used an Asus RT N16 router, I pinned it with dd-wrt.v24-18024_NEWD-2_K2.6_mega.bin

The entire tutorial is here .

+1


source







All Articles