Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.18 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.18 KB

docker-ap

This script configures a Debian-based system to act as a wireless access point. The whole AP functionality runs inside a docker container.

The script should be run with sudo privileges. The docker image fgg89/docker-ap will be built the first time the script is executed (you can find the Dockerfile under /build). The image contains the programs dnsmasq and hostapd. Their respective configuration files are generated on the fly and mounted in the docker container.

The docker container is granted exclusive access to the physical wireless interface (for more info please visit: https://github.com/fgg89/docker-ap/wiki/Container-access-to-wireless-network-interface)

  • Tested on: Ubuntu 14.04 LTS, Raspbian 8 (jessie)
  • Supported architectures: x86_64, armv7

Default configuration

  • SSID = DockerAP
  • Passphrase = dockerap123

The script will configure the AP with the previous settings. However, if you wish to set different ones then you should modify the wlan_config.txt file and adjust the parameters there.

Usage

Start the service:

./docker_ap start [wlan_interface]

Stop the service:

./docker_ap stop [wlan_interface]