This plugin provides system management functions using regular RepRapFirmware M-codes for the DuetPi distribution.
M21: Initialize SD card (mount device)M22: Release SD card (unmount device)M540Set MAC addressM550Set NameM552Set IP address, enable/disable network interfaceM553Set NetmaskM554Set GatewayM586Configure network protocolsM587Add WiFi host network to remembered list, or list remembered networksM588Forget WiFi host networkM589Configure access point parametersM905Set current RTC date and timeM999 B-1Reboot SBCM999 B-1 P"OFF"Shut down SBC
To use all the features of this plugin, the following packages should be installed:
- openssl
- proftpd
- ssh
- telnetd
- dnsmasq
- hostapd
- wpa_supplicant
This plugin requires the .NET SDK to be installed first.
- Open a command prompt in this directory
- Run
dotnet publish -r linux-arm -o .\zip\dsf\ /p:PublishTrimmed=true - Go to the
zipdirectory and compress all the files and directories in it to a single ZIP file
To install this plugin, you may have to enable super-user (root) plugins in /opt/dsf/conf/config.json first (set `` to `true).
After that you can upload the generated ZIP file using the "Upload & Start" button on DWC and install it.
Unlike in RRF the changes performed by this plugin are permanently saved. This means they should be used only once to reconfigure the SBC. In addition it comes with the following limitations:
M586 P2 Rcannot be used to set the Telnet port. If this is required, the file/etc/inetd.confmust be manually edited (changetelnetto a port of your choice).- Unless NetworkManager is used (Debian Bookworm or newer),
M587does not save the IP address configuration per SSID. Once set, the configuration is used for every available SSID