FTP Connection Issues in SBC-mode
-
Hi forum,
Happy new year!
I have been having issues connecting to my Duet3 MB6HC via FTP in SBC mode.
I have been using FTP with these boards in standalone mode for a while and haven't been having issues. I have one machine using SBC mode and that is where I am running into issues.
Info:
- RRF 3.4.5
- DuetPi image on RPI
- Ran updates on the board a couple days ago
- SBC mode
- Networking section of the config and the error message from FileZilla below
What I am using/trying:
- FileZilla (on Mac, tried using a FileZilla Windows client as well)
- Tried using the direct IP address, and duet3.local as the host
- Using the anonymous login
- Also tried using ftp, anonymous as the user name and set a defined password using M551 in the config
- Limit number of simultaneous connections set to 1
I can't log into the server at all. I am getting these error messages:
Here are the FileZilla Settings:
Here is the networking section of my config file:
Let me know if I can add any more detail.
Much Thanks,
GarthPostscript: My apologies, I realized that I put this into the wrong category after posting. Would a mod be able to move this to General Discussion please?
-
@Garth_42 Instead of FTP, you could use SCP (file sharing over SSH).
-
@Falcounet I tried using SFTP, using the pi admin account, and it worked. I am not sure why I am not able to access via FTP but at least I can access via the SBC.
For other people's reference as an alternate to FTP to access the board's files, the file directory structure to access the Duets "sd" folder contents from the Raspberry Pi is: /opt/dsf/sd/
-
@Garth_42 It looks like you are using wrong credentials. Like with SCP/SFTP you must use user
pi
with passwordraspberry
(unless you changed it already). I tried it on my setup after runningM586 P1 S1
and it worked without problems here.PS: Unlike in standalone mode, you should not run SBC-related commands in
config.g
but at most indsf-config.g
(see here for the list of external SBC codes). Also, most SBC commands (likeM586
) are persistent and do not need to run on reboot of the board. -
@chrishamm ahh... I see. This makes sense. I assumed the FTP server in standalone was extant in SBC mode, too, and now I see my error there. I tested this as well and it is working on my board.
Thanks for the info on best practices. I haven't seen that information on the wiki.
Best,
Garth