• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

FTP Connection Issues in SBC-mode

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
5
295
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Garth_42
    last edited by Garth_42 1 Jan 2023, 16:43 1 Jan 2023, 16:41

    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:
    20e0be3c-5c5f-439d-a652-c3c6eba1a2f6-image.png

    Here are the FileZilla Settings:
    53f355f6-de83-4d4a-9048-bca92ca63426-image.png
    a54ecf63-188c-453b-afdc-47f186a854c5-image.png

    Here is the networking section of my config file:
    81202d5a-1642-4db4-a28f-51e023a4702a-image.png

    Let me know if I can add any more detail.

    Much Thanks,
    Garth

    Postscript: 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?

    undefined 1 Reply Last reply 1 Jan 2023, 18:02 Reply Quote 0
    • undefined
      Falcounet @Garth_42
      last edited by 1 Jan 2023, 18:02

      @Garth_42 Instead of FTP, you could use SCP (file sharing over SSH).

      undefined 1 Reply Last reply 1 Jan 2023, 18:22 Reply Quote 0
      • undefined
        Garth_42 @Falcounet
        last edited by 1 Jan 2023, 18:22

        @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/

        undefined 1 Reply Last reply 2 Jan 2023, 16:28 Reply Quote 0
        • undefined
          chrishamm administrators @Garth_42
          last edited by chrishamm 1 Feb 2023, 16:30 2 Jan 2023, 16:28

          @Garth_42 It looks like you are using wrong credentials. Like with SCP/SFTP you must use user pi with password raspberry (unless you changed it already). I tried it on my setup after running M586 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 in dsf-config.g (see here for the list of external SBC codes). Also, most SBC commands (like M586) are persistent and do not need to run on reboot of the board.

          Duet software engineer

          undefined 1 Reply Last reply 2 Jan 2023, 23:52 Reply Quote 0
          • undefined
            Garth_42 @chrishamm
            last edited by 2 Jan 2023, 23:52

            @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

            1 Reply Last reply Reply Quote 1
            1 out of 5
            • First post
              1/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA