Skip to content
forked from fgg89/docker-ap

Script that starts a wireless access point inside a docker container

License

Notifications You must be signed in to change notification settings

zslot/docker-ap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

Script that starts a wireless access point inside a docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%