Not sure what errors you're referring to. I've had sdm generating bridged/routed network configurations using Network Manager since Bookworm.
Here are the plugin configurations I used. The hotspot plugin can configure 3 different configurations:For the routed using an external DHCP server I also use dnsmasq as DNS/DHCP server configured using sdm's ndm plugin:Obviously you can install and configure your own dnsmasq server by simply excluding the ndm plugin.
The easiest way to see the configurations that sdm creates for you is to install it and customize an IMG. You can then fully examine all the likely suspects (config files).The code that generates the nmconnection files is in /etc/sdm/0piboot/092*.sh (the filename is different for each of the 3 config types above). This script runs at first system boot to actually configure the Network Manager hotspot apparatus as requested. Configuration changes are logged in the system journal and in /etc/sdm/history.
For routed networks, we need sysctl net.ipv4.ip_forward to be set. If using the Network Manager integrated DHCP server NM handles all off this. When using a non-NM DHCP server the hotspot plugin enables net.ipv4.ip_forward and configures nftables masquerading on the selected wifi device.
sdm doesn't do magic (yet
) so if you want to view all 3 configurations, you'll have to do 3 different customize runs with each of the 3 hotspot types.
Here are the plugin configurations I used. The hotspot plugin can configure 3 different configurations:
- Bridged
- Routed using Network Manager's internal DHCP server
- Routed using an external DHCP server
Code:
hotspot:"hsname=myhs|device=wlan0|ipforward=eth0|hsenable|type=bridged"hotspot:"hsname=myhs|device=wlan0|ipforward=eth0|hsenable|type=routed|dhcpmode=nm"Code:
hotspot:"hsname=myhs|ipforward=eth0|hsenable|type=routed|dhcpmode=none|wlanip=10.6.0.1"ndm:"dhcpserver=dnsmasq|dnsserver=dnsmasq|dobuild|doinstall|dhcprange=10.6.0.2,10.6.0.100|domain=me|externaldns=1.1.1.1|gateway=10.6.0.1|myip=10.6.0.1|hostname=myap|dnsfqdn=myap.me|mxfqdn=myap.me|timeserver=192.168.92.3|netdev=wlan0|enablesvcs"The easiest way to see the configurations that sdm creates for you is to install it and customize an IMG. You can then fully examine all the likely suspects (config files).
Code:
# Install sdmcurl -L https://raw.githubusercontent.com/gitbls/sdm/master/install-sdm | bash# Grab a fresh, unmodified RasPiOS IMG# and run sdm with one of the hotspot configs (add "--apt-options none" to disable apt update/apt upgrade if desired)sdm --customize 2025-12-04-raspios-trixie-arm64-lite.img --plugin hotspot:"hsname=myhs|device=wlan0|ipforward=eth0|hsenable|type=bridged"# After it completes you'll be in a bash shell in the IMG For routed networks, we need sysctl net.ipv4.ip_forward to be set. If using the Network Manager integrated DHCP server NM handles all off this. When using a non-NM DHCP server the hotspot plugin enables net.ipv4.ip_forward and configures nftables masquerading on the selected wifi device.
sdm doesn't do magic (yet
Statistics: Posted by bls — Mon Jan 05, 2026 6:50 pm