As you may or may not know, sdm has a relatively new plugin to create a hotspot, so I thought I'd see how it did with your challenge. After enabling ethernet-to-ethernet bridging in the plugin, I was able to fully implement the configuration as I understood it:Using the sdm hotspot plugin on the bookworm system (burned from a virgin IMG using rpi-imager), I was able to use the bullseye system to get to the internet using both routed and bridged configurations with or without noipv6 in dhcpcd.conf
If you want to give it a try on a Bookworm system:
Complete sdm documentation: https://github.com/gitbls/sdm/blob/master/Docs/Index.md
What's different between what sdm does and what you did? No clue, but since it's only 2 commands to configure it correctly, you can figure it out from the resulting configuration (have a look at /etc/sdm/0piboot/.092*.sh) or adopt this for hotspotting and move on to more fun projects
Code:
pi4/bullseye <---->(eth1) pi5/bookworm (eth0)<----> LAN
If you want to give it a try on a Bookworm system:
- Install sdm: curl -L https://raw.githubusercontent.com/gitbl ... mInstaller | bash
- Installs sdm into /usr/local/sdm (with a symlink for sdm in /usr/local/bin). Small bits of configuration also dropped into the protected directory /etc/sdm
- sudo sdm --runonly plugins --oklive --plugin hotspot:"hsname=myhotspot|hsenable|type=bridged|ipforward=eth0|device=eth1"
- Installs and enables a bridged hotspot named 'myhotspot' in the running system with eth0 connected to the LAN and eth1 as the ethernet hotspot
- sudo rm -f /etc/NetworkManager/system-connections/myhotspot*.*
- sudo nmcli c reload
Complete sdm documentation: https://github.com/gitbls/sdm/blob/master/Docs/Index.md
What's different between what sdm does and what you did? No clue, but since it's only 2 commands to configure it correctly, you can figure it out from the resulting configuration (have a look at /etc/sdm/0piboot/.092*.sh) or adopt this for hotspotting and move on to more fun projects
Statistics: Posted by bls — Thu Aug 29, 2024 12:38 am