Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3843

Networking and servers • Re: Bullseye via Network Bridge on Bookworm

$
0
0
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:

Code:

pi4/bullseye <---->(eth1) pi5/bookworm (eth0)<----> LAN
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:
  • 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
    Should you decide that you don't like it, you can clean it up quite quickly. Note: Make sure that you have a working NetworkManager network configuration to your LAN if you're remoting in :o
    • sudo rm -f /etc/NetworkManager/system-connections/myhotspot*.*
    • sudo nmcli c reload
Complete documentation for the hotspot plugin: https://github.com/gitbls/sdm/blob/mast ... md#hotspot
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 :lol:

Statistics: Posted by bls — Thu Aug 29, 2024 12:38 am



Viewing all articles
Browse latest Browse all 3843

Trending Articles