From 98d7ac58505ed72a7dd4e957987d7aab783c41b4 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Fri, 2 May 2025 13:56:50 +0200 Subject: [PATCH] Add troubleshooting section to readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index de0ac2d..55d069d 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,15 @@ export WIFI_PASSWORD="my password" sudo -E ./pifi wlan0 up ``` + +## Troubleshooting + +### No internet access + +If a client is connected to the hotspot and the RaspberryPI is connected to the internet via ethernet but no internet access is available for the client, try to enable IPv4 forwarding in `/etc/sysctl.conf`, reload the configuration and restart NetworkManager. + +```bash +sudo sysctl -w net.ipv4.ip_forward=1 +sudo sysctl -p /etc/sysctl.conf +sudo systemctl restart NetworkManager +```