Network and other tools for the Raspberry Pi
Even though we are using a Docker image to run all the access point services, we still need to prepare our Raspberry Pi install OS to be able to run some of those tasks.
https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo
sudo every time you run DockerCreate the docker group first
sudo groupadd docker
Add your user to the docker group
sudo usermod -aG docker $USER
sudo sysctl net.ipv4.ip_forward=1
Find the file /etc/sysctl.conf and ensure the line below is uncommented
# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1
Avoid issues with dhcpd service, add the following line into the file /etc/dhcpcd.conf, making the service ignore the wireless interfaces wlan0 (but still manage wlan0):
denyinterfaces wlan0
git clone https://github.com/MikeAguilar/LimeberryPi.git
cd ./LimeberryPi/WiFiAP/
docker build -t wifiap .
You can reboot your Raspberry Pi from the console using the following command
sudo shutdown -r now
docker-compose -f docker-compose-open.yml up -d
If for any reason, the Access Point is not routing traffic properly, meaning, your WiFi connected devices do not have access to the internet, then try rebooting your Raspberry Pi and try this command again.
docker-compose -f docker-compose-open.yml down
Once you the Access Point is running, you should be able to see a new WiFi network available to connect.
You can connect your TV or Gaming Console and from your Raspberry Pi, you will be able to sniff the network traffic from the wlan0 interface.
Content type
Image
Digest
Size
14.2 MB
Last updated
about 5 years ago
docker pull cesos/wifiap