-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation "Use your Raspberry Pi as a network bridge" #3985
Comments
I've never tried doing this myself, but if you're setting up a wireless bridge on your Pi (which will presumably involve configuring both the Ethernet and Wifi interfaces), it seems a bit "risky" to try doing that on a headless Pi, rather than with a monitor and keyboard temporarily attached? (because as you say, it's easy for any SSH connection to get disrupted) 🤔 |
Tested it using a headless Pi4 connected via Ethernet, Bookworm 64-bit. The Hotspot does not work until after a reboot (i.e. a mobile phone cannot connect to it.)
After reboot (phone connects OK):
posted same to Pi forum https://forums.raspberrypi.com/viewtopic.php?p=2277472#p2277472 |
Thanks so much for this feedback. I'll get this fixed on the docs page ASAP. nmcli can be a tricky beast, I wonder what's changed since I originally wrote and tested this section? Anyway, glad to hear you found a working solution. Even if the docs had an issue, at least we got you close enough to figure out the rest. Hopefully with this change the next user will have an even easier time. |
Thanks for your comments. Glad to contribute a quantum to the RasPi community. |
@nathan-contino Another hurdle I found in the instructions is: The password that was set for the hotspot gets erased by the command "sudo nmcli connection modify 'Hotspot' master bridge0". |
I was unable to get this working.
As instructed, I did not execute 'sudo nmcli connection modify' as I had not created a hotspot in the above instructions, I instead executed the 'sudo nmcli connection add con-name 'Hotspot'', replacing <hotspot-ssid> with my ssid and <hotspot-password> with my password (both lowercase alpha chars). On completion nmcli device showed:
And after a reboot
The SSID appears on my laptop and phone, but the password is not accepted on either. |
Your output of Please try |
Hi, thanks for responding, so the first thing i tried was This is a very old Pi, which makes me think it might be a firmware problem.
executing It does work as a regular hotspot if I run debian 11 and follow some instructions given by chatgpt using hostapd The reason I want it to bridge, is that I have a network camera (consisting of a PiZeroW + cam), slightly out of my routers wifi range. So I wanted to connect it via this Pi3, but I need it visible on my lan to access it as a network camera. As the camera is a Pi, it might be possible for it to ssh into m motioneye server and forward the port, but with ssh encrypting the data it may not have enough performance. |
I have a fabric new RasPi4B but was unable to connect a Espressif ESP32-S3 based device with the hotspot of the RasPi. Then I used a very old USB WLAN stick with this RasPi and it worked - hurray! |
I experienced a problem when following the instructions in
https://www.raspberrypi.com/documentati ... ork-bridge
using a RasPi4B with Bookworm in headless mode, connected with a ethernet cable to my internet-router.
After the command "sudo nmcli connection up Bridge" the bridge did not work. The cause was, that the device eth0 was still occupied by the usual "Wired connection 1" connection.
To make the bridge work, the command "sudo nmcli connection down 'Wired connection 1' " has to follow. If the connection to the Raspi used the Ethernet port (e.g. in headless mode or via ssh), this command will disrupt it and it has to be reestablished.
I would appreciate a update of the instructions on the above mentioned website.
The text was updated successfully, but these errors were encountered: