RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    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

    Wifi & Samba Share

    Help and Support
    wifi samba
    2
    17
    1449
    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.
    • mitu
      mitu Global Moderator @GiGo last edited by

      @gigo said in Wifi & Samba Share:

      //192.168.1.10/Storage/ROMs /home/pi/RetroPie/roms cifs username=Username,password=Password,nounix,noserverino,defaults,users,auto 0 0

      If your NAS is running NFS for file shares, why are you using CIFS/SMB to set up the share mount ? You should be using nfs as filesystem type and a different syntax for the share (server:/path/to/share).

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

        @mitu I was mistaken, I thought I had enabled NFS for something else I was working on before but I hadn't.

        I have enabled CIFS v3 but still no luck. I keep getting the 22 error.

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

          Can you post the exact mount command you're using ? Try running it first from the command line, via sudo, and add -v so you get more details. Something like:

          sudo mount -v //192.168.1.10/Storage/ROMs /home/pi/RetroPie/roms -t cifs -o username=Username,password=Password,nounix,noserverino,vers=3.0
          
          GiGo 1 Reply Last reply Reply Quote 0
          • GiGo
            GiGo @mitu last edited by

            @mitu thanks for your reply.

            I've tried using the sudo mount -v but I get "mount: bad usage" error when trying to it from the command line rather than editing the fstab.

            I'm using this in fstab

            //192.168.68.3/volume_1/ROMS /home/pi/RetroPie/roms cifs user=USERNAME,password=PASSWORD,vers=3.0,nounix,noservino
            
            GiGo 1 Reply Last reply Reply Quote 0
            • GiGo
              GiGo @GiGo last edited by

              I have just tried;

              sudo mount //192.168.68.3/volume_1/ROMS /home/pi/RetroPie/roms
              

              And it returns mount.error(2): No such file or directory.

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

                @gigo said in Wifi & Samba Share:

                And it returns mount.error(2): No such file or directory.

                What is the name of the share ? Maybe it's not volume_1 ? If you browse the same share from a PC it's working ?

                EDIT: actually, your command is wrong - you forgot to specify you want to use cifs as filesystem type. The mount command tries to find a local (on the Pi) folder named //192.168.68.3/volume_1/ROMS, which obviously doesn't exist, hence the error.

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

                  @mitu
                  Yes idiot me had it in my head it was 'volume_1' but it's 'volume1'

                  sudo mount //192.168.68.3/volume1/ROMS /home/pi/RetroPie/roms cifs user=USERNAME,password=password
                  

                  This now just gives me a 'bad usage' error

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

                    @gigo Please see the syntax of the mount command I posted earlier.

                    GiGo 2 Replies Last reply Reply Quote 0
                    • GiGo
                      GiGo @mitu last edited by

                      @mitu getting somewhere now!
                      It is still returning error(2) which I guess is refering to the NAS, but I know it's there.

                      OK so even more foolishly I remove the /volume1/ and just use /ROMS it works!

                      I assumed I had to add the /volume1/ as that what my emby setup uses for my media.

                      All working now, thank you for you help!

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

                        @mitu
                        So now it's working...... Could I take my RetroPie outside my local network but change the mouted folder so it can access it remotely? I have WebDAV enabled on my NAS, so I assuming it would be a case of just pointing it at the synology.me address I have setup?

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

                          @gigo said in Wifi & Samba Share:

                          I have WebDAV enabled on my NAS, so I assuming it would be a case of just pointing it at the synology.me address I have setup?

                          Webdav is not the same as CIFS, so the answer would be no. I'd advise against opening your local ROM folder to the internet. If you want to take your Pi on the go, then copy some ROMs locally and use that.

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

                            @mitu said in Wifi & Samba Share:

                            @gigo said in Wifi & Samba Share:

                            I have WebDAV enabled on my NAS, so I assuming it would be a case of just pointing it at the synology.me address I have setup?

                            Webdav is not the same as CIFS, so the answer would be no. I'd advise against opening your local ROM folder to the internet. If you want to take your Pi on the go, then copy some ROMs locally and use that.

                            Thanks for the heads up, really appreciate the help. Now for some retro gaming :D

                            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.