Coder Social home page Coder Social logo

eap-controller's Introduction

logo

TP-Link EAP Controller

EAP Controller - https://www.tp-link.com/common/Spotlight/EAP_controller.html

Running on the latest Phusion release (ubuntu 16.04), with EAP Controller v2.5.3 ONLY X86!!!!!

Pull image

docker pull mace/eap-controller

Run container

docker run -d --net="host" --privileged --name=<container name> -v <path for eap config files>:/config -v /etc/localtime:/etc/localtime:ro mace/eap-controller

Please replace all user variables in the above command defined by <> with the correct values. Use --net="host" or --net="macvlan0"

Run Docker Compose

  1. Create a new file called "docker-compose.yml" and fill it with the following information:
version: '3'
services:
  app:
    image: mace/eap-controller
    restart: always
    network_mode: "host"
    ports:
      - "8088:8088"
      - "8043:8043"
      - "29810:29810/udp"
      - "29811:29811"
      - "29812:29812"
      - "29813:29813"
    volumes:
      - config:/config
      - /etc/localtime:/etc/localtime:ro
    
volumes:
    config:
  1. Start docker-compose
docker compose -up -d
  1. To stop
docker compose stop
  1. To delete (must be stopped first)
docker-compose rm

then

docker-compose down

Web-UI

http://<host ip>:8088
https://<host ip>:8043

Example

docker run -d --net="host"  --privileged --name=eapcontroller -v /mylocal/directory/fordata:/config -v /etc/localtime:/etc/localtime:ro mace/eap-controller

Additional notes

  • For a custom cert, stop the container and put the cert in "/config/cert" it needs to be named "mydomain.p12" and have the password "tplink"
  • The owner of the config directory needs sufficent permissions (UUID 99 / GID 100). (For manual configs, backups etc on the host system)
  • Mongodb dosent start if "/config" is mapped to an fuse mount, shfs, mergerfs etc...
  • Should be run with network "host" or "macvlan", so it can find the AP´s
  • Username and password will be linked to controller (if you restore a backup this will only restore AP,SSID,etc... settings, not the base controller username/pass()EAP limitation)
  • Always make an backup of your settings before a new release "EAP controller version"(for a reinstall with same version it´s not necessary)
  • If it dosen´t start make sure there is just one controller on the same subnet (EAP limitataion)
  • This buils is only X86 with TP-Links budeled binaries

Change notes by @macex

  • 2018.06.19 Add keystore to config for custom certs

  • 2018.02.16 Initial release

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.