More > JRiver Media Center 32 for Linux
Can't find NAS from MC
fegelmej:
Just upgraded to Pi5. Thanks to this forum for helping me get MC 32 installed on RPi OS. Current issue is finding the files on my NAS. The drive can be found with its IP address in the OS File manager, but when trying to add it to auto import, MC says file cannot be found. When I use the Media Network menu, it sees all devices on the LAN, except for the NAS. Any suggestions on how to get MC to recognize the NAS? Thanks.
BryanC:
You need to mount your network share. I'm assuming you are using SAMBA/SMB/CIFS. You can mount it manually to test and then add it to /etc/fstab to mount it automatically at boot.
The mount command will look something like this:
--- Code: ---mkdir ~/nas # make the mount point
mount.cifs //192.168.0.67/media ~/nas -o username=yourusername,password=yourpassword123 # mount the share
--- End code ---
Then you will access your files at ~/nas.
fegelmej:
Bryan, really appreciate the support. I am a novice at Linux, and generally rusty at command prompts. Using your template above I get the following:
fegelmej@raspberrypi:~ $ mkdir ~/nas # make the mount point
mount.cifs //192.168.1.164/media ~/nas -o username=Music,password=[removed] # mount the share
mkdir: cannot create directory ‘/home/fegelmej/nas’: File exists
mount.cifs: permission denied: no match for /home/fegelmej/nas found in /etc/fstab
fegelmej@raspberrypi:~ $
Can you help guide me? Are those # looking for my particulars? If so, I'm not sure what they are calling for. Or, can you point me towards a resource? Thanks in advance.
BryanC:
The comments may have messed up the command or we got really unlucky and you already had a 'nas' directory there, this should work:
--- Code: ---mkdir ~/nas_share && mount -t cifs -o username=Music,password=yourpassword123,uid=$(id -u fegelmej),gid=$(id -g fegelmej) //192.168.1.164 ~/nas_share
--- End code ---
You should just need to change the password.
fegelmej:
Thank you. But something is still missing. I wish I could parse it, but appreciate your working this with me.
fegelmej@raspberrypi:~ $ mkdir ~/nas_share && mount -t cifs -o username=Music,password=[removed],uid=$(id -u fegelmej),gid=$(id -g fegelmej) //192.168.1.164 ~/nas_share
mount.cifs: permission denied: no match for /home/fegelmej/nas_share found in /etc/fsta
It's there sometimes, and not others??
Navigation
[0] Message Index
[#] Next page
Go to full version