Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173172

Re: Problem getting NAS box NFS/CIFS to work with Jessie SOLVED

From Fred <fred@blakemfg.com>
Newsgroups linux.debian.user
Subject Re: Problem getting NAS box NFS/CIFS to work with Jessie SOLVED
Date 2016-10-04 04:50 +0200
Message-ID <sonXQ-4PN-25@gated-at.bofh.it> (permalink)
References <sodvr-6I1-9@gated-at.bofh.it> <sofxg-7Za-25@gated-at.bofh.it> <soibM-1ev-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/03/2016 01:16 PM, Fred wrote:
> On 10/03/2016 09:59 AM, Joe wrote:
>> On Mon, 03 Oct 2016 08:05:59 -0700
>> Fred<fred@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
The package cifs-utils must be installed.

The  /etc/fstab entry is:
//192.168.0.32/Volume_1 /mnt/dns321 cifs rw,user 0 0

Thanks for the help!
Best regards,
Fred

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-03 17:40 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Reco <recoverym4n@gmail.com> - 2016-10-03 19:30 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Joe <joe@jretrading.com> - 2016-10-03 19:50 +0200
    Re: Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-03 22:40 +0200
      Re: Problem getting NAS box NFS/CIFS to work with Jessie SOLVED Fred <fred@blakemfg.com> - 2016-10-04 04:50 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Andrew F Comly   康大成 <andrew.comly@protonmail.com> - 2016-10-04 02:30 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Dan Purgert <dan@djph.net> - 2016-10-04 16:00 +0200
    Re: Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-04 21:10 +0200

csiph-web