I live in a dorm where I don't have the physical access to the router. I want to set up a Pi as a Wi-Fi router with a bridge so that I could connect Philips Hue Bridge via Ethernet and then control the bulbs via mobile phone.
I am using RPi4B with Raspbian Buster and following this excellent guide. I downgraded wpa_supplicant to v2.4 and hostapd to v2.6 since I'm using Buster instead of Stretch Lite.
After following the instructions I can connect to the access point, RPiNet, wirelessly and access the internet from my MacBook Pro just fine. However, from my mobile phone I can only connect to the access point but not get the internet.
I can ping my mobile phone from the laptop just fine. In fact, I can even control the hue bulbs since both the devices are on the same network. But neither my mobile phone nor Hue Bridge have the access to the internet.
Any help is appreciated. Thanks!
Update: Adding the DHCP server in the bridge network as suggested in the updated guide does the job. Thanks a lot!
rpi ~# cat > /etc/systemd/network/16-br0_up.network <<EOF [Match] Name=br0 [Network] Address=192.168.4.1/24 DHCPServer=yes [DHCPServer] DNS=220.127.116.11 18.104.22.168 EOF