RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Mount network share, Unable to find suitable address.

    Scheduled Pinned Locked Moved Help and Support
    networkshare
    8 Posts 2 Posters 2.1k Views
    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.
    • B
      Bagarn
      last edited by

      Hey!

      I'm trying to mount a network share to my retropie, tho it's not going well. I only get this message when trying to mount

      Unable to find suitable address.
      

      No error code no nothing, just this text.

      Here is my mount code

      sudo mount -t cifs  //piserver.local/RetroPie/roms /home/pi/RetroPie/roms -o username=pi,password=**
      

      Been google around for a bit and the line seems about right, not sure what to do now, i'm kinda stuck.

      A bit of a weak explanation perhaps, but this is all i get =/

      //Bagrn

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Is piserver.local name known to the RetroPie system ? If you run

        ping piserver.local
        

        do you get an IP address ?

        B 1 Reply Last reply Reply Quote 0
        • B
          Bagarn @mitu
          last edited by

          @mitu

          Yea it's known and all.
          I've tried with the ip-address as well, same message.

          I've tried some other stuff too, found out you could run
          tail /var/log/messages
          and get some error message connected to, what I assume the latest actions?

          I get this stuff.

          retropi kernel: [   71.817225] CIFS: Attempting to mount //piserver.local/RetroPie/roms
          
          retropi kernel: [   71.817362] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
          

          So naturally, I tried adding ,vers=1.0to the option. resulting in this.

          sudo mount -t cifs //piserver.local/RetroPie/roms /home/pi/RetroPie/roms -o username=pi,password=**,vers=1.0
          

          Same error message, saying unable to find....
          and the log now only says CIFS: Attempting to mount //piserver.local/RetroPie/roms

          So, there isnt really much to go on here. I tried sudo apt upgrade in case there was something new, but still the same issue.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            If the IP address is ok, is your share really called RetroPie ?

            B 1 Reply Last reply Reply Quote 0
            • B
              Bagarn @mitu
              last edited by

              pi@piserver:~/RetroPie/roms $
              I've created a folder in the home directory with that name at least, so I figure it's there. If there was some kind of permission issue surely it would say so in the logs.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Bagarn
                last edited by

                @Bagarn That's not how (SMB) shares work - you need to explicitly add the share to the smb.conf on the server where the Samba services run before any client can connect to/mount them.

                B 1 Reply Last reply Reply Quote 0
                • B
                  Bagarn @mitu
                  last edited by

                  @mitu

                  Right, so I jsut installed samba and configured it, it's working like a charm now. So sorry for wasting your time mr! I'm kinda new to Linux and stuff.

                  To be fair, the guide did not mention samba or anything like that. :D

                  Thanks for the rubberducking and help. :D

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Bagarn
                    last edited by

                    @Bagarn said in Mount network share, Unable to find suitable address.:

                    To be fair, the guide did not mention samba or anything like that. :D

                    Yes, the guide is only for the client side setup, not the server itself. Glad you got it sorted out, have fun !

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.