Giter Site home page Giter Site logo

Mister cifs mount about retronas HOT 4 CLOSED

retronas avatar retronas commented on May 13, 2024
Mister cifs mount

from retronas.

Comments (4)

birdybro avatar birdybro commented on May 13, 2024

While on the topic...

https://github.com/danmons/retronas/wiki/MiSTer-FPGA#a-note-about-mister-updates

This section should mention the startup script that is located in /media/fat/linux/_user-startup.sh

I believe you just need to rename it to user-startup.sh and add a line to run the cifs mount script and it will always mount correctly. The only exception being linux updates, so some people store a backup of their user-startup.sh. Maybe some part of this could be automated with a health check for the mount, and then RetroNAS ssh's in to fix it if it's not working?

from retronas.

danmons avatar danmons commented on May 13, 2024

Is this ok if I paste the corrected text here ? (the wiki is in read only)

Yes please, paste away.

from retronas.

willoucom avatar willoucom commented on May 13, 2024

note: in mister, most scripts can use an ini file to configure themselves, since I think this is a better solution than editing shell scripts, here are the changes I suggest.

also, the local_dir directive changes the location of the mount point, I prefer to set it to "games" so I don't have to navigate to load the games.


Edit the following configuration lines in the cifs_mount.ini configuraton scripts. You'll need to substitute in the right IP address and password. You can do this either by editing the script elsewhere and copying it over, or SSH in and run

cd /media/fat/Scripts
nano cifs_mount.ini

Navigate with the arrow keys on your keyboard and edit as you wish. When complete, press:

  • Control + x to exit
  • It will ask at the bottom of the screen : Save modified buffer?. Press y for yes.
  • It will ask at the bottom of the screen: File Name to Write: cifs_mount.ini. Press enter to confirm.
  • You will drop back to the command prompt with the file saved.

Use the following values inside your cifs_mount.ini file. For the "ipaddress" part below, substitute in your RetroNAS device's IP address. The NetBIOS name retrosmb should work too, and is convenient if your RetroNAS device changes IP address due to DHCP.

SERVER="ipaddress"
SHARE="mister"
USERNAME="pi"
PASSWORD="yourpipassword"
LOCAL_DIR="games"
WAIT_FOR_SERVER="true"
MOUNT_AT_BOOT="true"

Once saved, on reboot your MiSTer FPGA will take a few seconds to get an IP address from your DHCP server. Once done, it should automatically mount your CIFS share. (If not, you can press F12 at the main MiSTer menu, navigate to the "Scripts" folder and run the "mount_cifs.sh" script).

From there, navigate MiSTer cores as normal, and when loading ROM, ISO, BIN/CUE, VHD, etc files through the F12 menus, the contents of your NAS should appear in MiSTer.

from retronas.

sairuk avatar sairuk commented on May 13, 2024

The MiSTer FPGA page has now been updated to reflect these recommendation, thanks @willoucom

https://github.com/danmons/retronas/wiki/MiSTer-FPGA

from retronas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.