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)M540
Set MAC addressM550
Set NameM552
Set IP address, enable/disable network interfaceM553
Set NetmaskM554
Set GatewayM586
Configure network protocolsM587
Add WiFi host network to remembered list, or list remembered networksM588
Forget WiFi host networkM589
Configure access point parametersM905
Set current RTC date and timeM999 B-1
Reboot 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
zip
directory 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 R
cannot be used to set the Telnet port. If this is required, the file/etc/inetd.conf
must be manually edited (changetelnet
to a port of your choice).- Unless NetworkManager is used (Debian Bookworm or newer),
M587
does not save the IP address configuration per SSID. Once set, the configuration is used for every available SSID