More > JRiver Media Center 32 for Linux

Can't find NAS from MC

<< < (3/5) > >>

Awesome Donkey:
You have to set it up first in the /etc/fstab file.

fegelmej:
That is what I am beginning to understand.  But, when I read about this file set up, I get a little confused as I don't understand the nomenclature.

BryanC:
The fstab entry should look something like this--change your uid/gid to your user uid/gid (`id -u` and `id -g`) and make sure everything else is correct (password, username, domain, share, etc):


--- Code: ---//192.168.1.164/media /home/fegelmej/nas cifs defaults,nofail,user=Music,password=xxxx123,domain=Buffalonas,uid=1000,gid=1000 0 0
--- End code ---

Edit /etc/fstab with `sudo nano /etc/fstab`.
Add line and Ctrl-O to save, Ctrl-X to exit.
sudo systemctl daemon-reload
sudo mount -a

zybex:

--- Quote from: fegelmej on June 28, 2024, 06:50:44 pm ---But, again, you've caught me wanting.  When you say NAS hostname, I'm not sure what that is?  I use the IP address to call. The asset name used in WIN Explorer is Buffalo NAS, is this the term you're suggesting?

--- End quote ---

No, it wouldn't have a space in the name.
If you access your NAS settings via the browser (https://192.168.1.164), the hostname should be listed somewhere in the Network settings menu.

According to Buffalo:
The default product name will be "product model + last 3 digits of the MAC address". ex. TS-XHL123

fegelmej:

--- Quote from: BryanC on June 30, 2024, 09:06:24 am ---The fstab entry should look something like this--change your uid/gid to your user uid/gid (`id -u` and `id -g`) and make sure everything else is correct (password, username, domain, share, etc):


--- Code: ---//192.168.1.164/media /home/fegelmej/nas cifs defaults,nofail,user=Music,password=xxxx123,domain=Buffalonas,uid=1000,gid=1000 0 0
--- End code ---

Edit /etc/fstab with `sudo nano /etc/fstab`.
Add line and Ctrl-O to save, Ctrl-X to exit.
sudo systemctl daemon-reload

Thank.  Here's my edited /etc/fstab file
fegelmej@raspberrypi:~ $ cat /etc/fstab
proc            /proc           proc    defaults          0       0
PARTUUID=351786b4-01  /boot/firmware  vfat    defaults          0       2
PARTUUID=351786b4-02  /               ext4    defaults,noatime  0       1
//192.168.1.164/Audio /mnt/NAS cifs defaults,nofail,user=Music,password=XXXX123,domain=Buffalonas,uid=1000,gid=1000 0 0

And here's the response when I tried to mount it.  So close!

fegelmej@raspberrypi:~ $ mount -t cifs //192.168.1.164/Audio /mnt/NAS -o username=Music,password=XXXX123 #
mount.cifs: permission denied

BTW, same response if I left the username/PW off.




sudo mount -a

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version