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

Running roms from network share does not work

Scheduled Pinned Locked Moved Help and Support
networkretropie
9 Posts 2 Posters 597 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.
  • K
    KITN
    last edited by 8 Jun 2020, 13:24

    Hi there,
    I have a second Raspberry Pi (Pi4 4GB) in my network which stores my data as a network share. I want to run the games on Retropie from this network share too.

    In order to do that I followed the tutorial on Github.

    Here is the folder structure on my network share

    On "Boot Options" I selected Yes

    I did:

    sudo nano /opt/retropie/configs/all/autostart.sh
    

    This is what I added:

    sudo mount -t cifs -o username=pi,password=mypassword,nounix,noserverino //192.168.2.109/media/medienspeicher/Retropie/roms /home/pi/RetroPie/roms
    sudo mount -t cifs -o username=pi,password=mypassword,nounix,noserverino //192.168.2.109/media/medienspeicher/Retropie/BIOS /home/pi/RetroPie/BIOS
    sudo mount -t cifs -o username=pi,password=mypassword,nounix,noserverino //192.168.2.109/media/medienspeicher/Retropie/splashscreens /home/pi/RetroPie/splashscreens

    It does not work. What do I have to do in order to make it work?

    If you have done the above steps please create a new topic and add the following relevant information so that we can help narrow down the cause of your issue. Please do not add a "me too" to an old topic, as the cause of your issue may be different. Make sure your topic title summarises the issue - do not use topic titles like "HELP ME".

    Pi Model or other hardware: 3B
    RetroPie Version 4.6
    Built From: Pre made SD Image on RetroPie website
    Guide used: see abowe

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by mitu 6 Aug 2020, 14:44 8 Jun 2020, 13:43

      @KITN said in Running roms from network share does not work:

      It does not work. What do I have to do in order to make it work?

      What happens when you run the mount commands manually, from the command line/SSH session:

      sudo mount -t cifs -o username=pi,password=mypassword,nounix,noserverino //192.168.2.109/media/medienspeicher/Retropie/roms /home/pi/RetroPie/roms
      

      Do you get an error message or the command succeeds ?

      1 Reply Last reply Reply Quote 1
      • K
        KITN
        last edited by 8 Jun 2020, 13:57

        I get a error message, that the directory does not exist:

        mount error(2): No such file or directory 
        
        kevin@SIDNEZ ~ $ ssh pi@192.168.2.109
        pi@192.168.2.109's password: 
        Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l
        
        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.
        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Wed Jun  3 10:53:42 2020 from 192.168.2.125
        pi@raspberrypi:~ $ cd /media/medienspeicher/Retropie/roms/
        pi@raspberrypi:/media/medienspeicher/Retropie/roms $ 
        

        But I can connect to the directory via ssh so I think the part "//192.168.2.109/" seems to be wrong.

        M 1 Reply Last reply 8 Jun 2020, 14:18 Reply Quote 0
        • M
          mitu Global Moderator @KITN
          last edited by 8 Jun 2020, 14:18

          @KITN Is the /media/medienspeicher folder (or the RetroPie subfolder) shared by the server via Samba ?

          1 Reply Last reply Reply Quote 1
          • K
            KITN
            last edited by 8 Jun 2020, 14:26

            yes

            1 Reply Last reply Reply Quote 0
            • M
              mitu Global Moderator
              last edited by 8 Jun 2020, 14:46

              @KITN said in Running roms from network share does not work:

              yes

              Yes what ? Which folder is shared on the network ? Can you browse the shares from a PC and see a listing of the shares ? Is the pi user allowed to access the share(s) ?

              1 Reply Last reply Reply Quote 1
              • K
                KITN
                last edited by 8 Jun 2020, 14:51

                Heres the smb.conf

                [medienspeicher]
                comment = Medienspeicher
                path = "/media/medienspeicher"
                public = yes
                only guest = yes
                browseable = yes
                read only = no
                writeable = yes
                create mask = 0644
                directory mask = 0755
                force create mask = 0644
                force directory mask = 0755
                force user = pi
                force group = pi
                
                
                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by mitu 6 Aug 2020, 15:54 8 Jun 2020, 14:54

                  Alright then, so you should be accessing the file share as //<server_ip>/medienspeicher (name of the share) and not as //<server_ip>/media/medienspeicher.
                  Since you configured the share as 'guest only', you can probably remove the username and password mount options and use guest instead.

                  1 Reply Last reply Reply Quote 3
                  • K
                    KITN
                    last edited by 8 Jun 2020, 15:07

                    Now it works. Thank you very much.

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      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.

                      This community forum collects and processes your personal information.
                      consent.not_received