On 10/03/2016 09:59 AM, Joe wrote:
On Mon, 03 Oct 2016 08:05:59 -0700
Fred<f...@blakemfg.com> wrote:
Hello,
I am trying to get a D-Link DNS-321 NAS box to do NFS/CIFS on a
private network with a PC running Jessie.
FTP to the -321 works ok. In the -321 admin web page I have the NFS
server enabled. The SMB server is configured to allow r/w access to
anyone.
When I try to mount the -321 to access it:
root@ragnok:/home/fred# mount.nfs 192.168.0.32:Volume_1 /mnt/dns321 -v
mount.nfs: timeout set for Sun Oct 2 12:53:54 2016
mount.nfs: trying text-based options
'vers=4,addr=192.168.0.32,clientaddr=192.168.0.2'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=192.168.0.32'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.0.32 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.0.32 prog 100005 vers 3 prot UDP port 32770
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting
192.168.0.32:Volume_1
root@ragnok:/home/fred# mount.cifs 192.168.0.32/Volume_1 /mnt/dns321
--verbose
mount.cifs: bad UNC (192.168.0.32/Volume_1)
root@ragnok:/home/fred# mount.cifs 192.168.0.32:Volume_1 /mnt/dns321
-v mount.cifs: bad UNC (192.168.0.32:Volume_1)
What does UNC mean in the above response and where do I go from here?
Best regards,
Fred
UNC is the network path, and I don't believe it can contain ':'. It's
not obvious where that is coming from, but try with two leading '/'s.
My (Wheezy and Sid) /etc/fstab entries look like:
//192.168.1.100/Share /mnt/buffalo/share cifs user,guest,...
It does appear the path needs to be //192.168.0.32/Volume_1.
root@ragnok:/home/fred# mount.cifs //192.168.0.32/Volume_1 /mnt/dns321
Password for root@//192.168.0.32/Volume_1:
mount error(13): Permission denied
It doesn't accept the -321 admin password. Maybe the root password for
the embedded Linux OS which I don't have.
I tried running /sbin/mount.cifs as a regular user:
fred@ragnok:~$ /sbin/mount.cifs //192.168.0.32/Volume_1 /mnt/dns321
mount.cifs: permission denied: no match for /mnt/dns321 found in /etc/fstab
Directory /mnt/dns321 does exist and is in fstab. I will try working
with the fstab entry.
root@ragnok:/home/fred# showmount -e 192.168.0.32
Export list for 192.168.0.32:
/mnt/HD_a2 192.168.0.15,192.168.0.3,192.168.0.2
The directory /mnt/HD_a2 doesn't exist.
Best regards,
Fred