本文介绍了配置的OpenWrt提供HTTP认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要配置一个智邦科技MR3201A接入点运行的OpenWrt。

我希望它提供一个开放的WiFi使用HTTP认证的网页上,用户必须提供用户名和放大器;密码能够访问互联网之前。

有一个现有的包(),使这个?


解决方案

There are a few captive portal solutions out there and the best solution depends on your flexibility, customization, and technology requirements.

Captive Portal Solutions:

  1. Chillispot: Layer 2 solution using a radius database for the backend user management and tracking. WARNING: This project may be dead. There hasn't really been much work on this project for years. Which leads to the next project.
  2. CoovaChilli: Built on top of Chillispot with several improvements and additions. Includes WISPr support, and much more. Main captive portal solution used in CoovaAP mentioned by jhonkola.
  3. PepperSpot: Another Chillispot fork. Support for IPv6 protocol, Wireless Protected Access (WPA). Also radius server backend.
  4. NoCat: A series of projects to create a captive portal like solution offering simple setup and free public internet.
  5. WiFiDog: Originally forked from NoCatSplash and NoCatAuth, Wifidog offers a simple package and none uci based configuration file. Users can be managed and controlled through the gateway and hooked into any custom user management. This solution creates a custom central user management system. You can build your own login page and user management system or use their own portal system.
  6. NoDogSplah: Another alternative from NoCat which aims to offer captive portal solutions local to the router/gateway and a simplistic setup, user bandwidth control and basic auth/splash page.

I personally use a highly customized wifidog package and authserver which has been revamped from the ground up for our company. We were able to add per user and pooling bandwidth controls, custom user accounting data, WISPr support (patch from guys over at Coova, they do not host this patch anymore). And we're currently working on hooking squid support. We went with Wifidog as it was much easier to customize and ran at layer3 using iptables as opposed to chillispots layer2 solutions. But the best solution depends on the amount of time, effort and flexibility you would like.

References: http://wiki.openwrt.org/doc/howto/wireless.hotspot

这篇关于配置的OpenWrt提供HTTP认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 17:24
查看更多