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

    Wifi & Samba Share

    Scheduled Pinned Locked Moved Help and Support
    wifisamba
    17 Posts 2 Posters 3.5k 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.
    • G
      GiGo
      last edited by

      Hello all, new to the forums and new to Pi's (kind of).

      I'm hoping for a little help. I've had a couple of Pi's sitting in a box for ages and a few years ago (probably 2015) I setup a RetroPi and I remembered it didn't work so well, games didn't load etc... so I decided not to bother with it and back in the box the Pi went, waiting for me to try something else with it.

      So the time has come for me to try again at RetroPie
      I have a Raspberry Pi Model B
      I have installed RetroPie by downloading and wiriting the image to the SD card.

      I have a couple of questions if someone would be able to help me;

      1. I'm having issues with my WiFi USB dongle, it's a TP-LINK TL-WN725N V2, which didn't get recognised by RetroPie, which I understand is normal, I've done a Google and everything has gone a bit over my head, I know the adapter does work (as I used it in the Pi for something else I did a while ago). I've come across "http://downloads.fars-robotics.net/" which says which version to download etc... but I'm still confused, how do I 'install the drivers'?

      2. Once the WiFi issue is resolved (I've just cabled it to my access point at the moment) how to do map a network drive to enable me to see the ROMs I have, I'm a little confused. I have a load of ROMs on my NAS box, but I'm not sure how to point the Pi at the directory.

      Sorry if these questions seem rather n00b-ish. I just thought it about time I used the Pi thats been sat around waiting for a use for almost a half decade, I originally setup it up for Kodi many moons ago but since changed my media setup etc... so retired it and keep thinking 'i'll do that with it one day'., the day has come.....

      Thanks in advanced.

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

        @gigo said in Wifi & Samba Share:

        I'm having issues with my WiFi USB dongle, it's a TP-LINK TL-WN725N V2, which didn't get recognised by RetroPie, which I understand is normal, I've done a Google and everything has gone a bit over my head, I know the adapter does work (as I used it in the Pi for something else I did a while ago). I've come across "http://downloads.fars-robotics.net/" which says which version to download etc... but I'm still confused, how do I 'install the drivers'?

        There's a topic in the Raspberry Pi forums here with some steps, but the simpler solution seems to be:

        Also I have made a script which will automatically install the right driver version if it is available. The script can be downloaded using

         sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi
         sudo chmod +x /usr/bin/install-wifi
        

        Use command sudo install-wifi -h for details on how you can use it to download or update the wifi driver. This script will automatically determine the wifi you are using and search for the correct driver to download for the kernel version you are using. The script can also install wifi drivers for wifi modules using 8192eu, 8812au, mt7610 or mt7612 drivers.

        Once the WiFi issue is resolved (I've just cabled it to my access point at the moment) how to do map a network drive to enable me to see the ROMs I have, I'm a little confused. I have a load of ROMs on my NAS box, but I'm not sure how to point the Pi at the directory.

        See https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/.

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

          @mitu

          Thanks for that! Will test the WiFi thing out later.
          Will look into how to the samba share working too, seems a little completeled for my little mind, but sure I'll get my head around it.

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

            @mitu
            Wifi now works, the link to link to the "RetroPie DocsRunning ROMs from a Network Share" seems not to work as I guess my Synology NAS uses NFS instead of CIFS, will figure that out later.

            Thanks for your input.

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

              I am still drawing a blank :(

              I have used the code line;

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

              I am of course replacing the IP address with my own.

              But I am getting mount.error(22): Invalid Argument

              I have googled and I read that adding a vers=1.0/2.0/3.0 would possibly make it work but it doesn't, I've doubled checked the setting on my NAS and enabled version 3 but still no luck.

              I have tried removing the "password=" and it comes up asking me for the the password of the user that I have entered but it stil comes back with mount.error(22).

              Really hoping someone can tell me what I am doing wrong.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                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).

                G 1 Reply Last reply Reply Quote 0
                • G
                  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
                  • mituM
                    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
                    
                    G 1 Reply Last reply Reply Quote 0
                    • G
                      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
                      
                      G 1 Reply Last reply Reply Quote 0
                      • G
                        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.

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          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.

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            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

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

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

                              G 2 Replies Last reply Reply Quote 0
                              • G
                                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
                                • G
                                  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?

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    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.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      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.