Giter Site home page Giter Site logo

captiveintraweb's Introduction

CaptiveIntraweb

A very simple, esp8266 based standalone captive-portal-like, access point serving local files only. This turns an ESP-01 module into an autonomous WiFi throwie.

Although the English release is currently ahead of the German version, you can use the html files of the German verion in the new English release.

Description: This project (apart from the code here) only requires an ESP-01 module, slightly modified NodeMCU firmware and a (rechargeable?) battery. Once running, the ESP-01 acts as an access-point, offering unencrypted access. I have added the firmware to the release packages, as the dev-environment now should all be open source / MIT licensed.

All DNS-requests are answered with the module's IP (192.168.4.1) The HTTP-request is parsed and one of the locally stored html pages is sent to the client.

Rel03 comes with a vastly improved startup procedure (init.lua). Not all files may fit on your module, especially if flash size is only 512kByte. Leave out the PDF and MP3 files to resolve that.

captiveintraweb's People

Contributors

reischle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

captiveintraweb's Issues

ESPlorer instructions

Hi, relatively new to NodeMCU and Lua.
I am trying to get your project working on my Wemos d1 mini. But I'm having problems uploading the stuff to the ESP using ESPlorer.

this is what i get after sending the lua files to the chip


NodeMCU 0.9.5/AReResearch build 20150318  powered by Lua 5.1.4
---------------------
Setting up WiFi AP...
Done.
---------------------
Flash size is 4096 kBytes.
File system:
 Total : 3360 kBytes
 Used  : 2 kBytes
 Remain: 3358 kBytes
---------------------
Compiling LUA files...
No need to compile  dns-liar.lua
No need to compile  server.lua
Compiling done.
---------------------
Send some xxxx Keystrokes now to abort startup.
Will launch servers in 5 seconds...
> ---------------------
Starting HTTP Server
PANIC: unprotected error in call to Lua API (cannot open server.lc)
PANIC: unprotected error in call to Lua API (attempt to call a string value)
?0�����@H�q@�������

AP channel set

Hi there, first I have to thank you for the excellent work, doing very usefull function in captive mode.
I recently tried to set channel in cfg{} but nothing worked so far. Tried even beaconing time but don't have a working method to test if it works.
Is it because included nodemcu (rel3eng) is an old version?
Installing a recent clean Nodemcu without your modifications is going to work?
Thanks a lot in advance

Instructions request

Hello, where i can get the modified NodeMCU, or what i need to modify?

Thank you very much.

Available under GPLv3?

Hi! I'm wondering if you'd be willing to dual-license the file dns-liar.lua under GPLv3 in addition to the current GPLv2 license? We're interested in using it for our community network https://peoplesopen.net/ :)

Questions about Captive Intraweb

Hi Andreas, thanks for sharing your captive portal code, I have a few questions about getting this up and running. I think that I need your advice on where to get the correct NodeMCU binary to run the code under. Thanks. My email is [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.