can't mount ts-412 on a raspberry pi3 (cifs & nfs)

Discussion about using NAS on Linux and Unix OS.
Post Reply
hitme666
New here
Posts: 3
Joined: Sat Mar 04, 2017 6:17 pm

can't mount ts-412 on a raspberry pi3 (cifs & nfs)

Post by hitme666 » Sat Mar 04, 2017 6:40 pm

Hi,
i got a TS-412 with Firmware 4.2.3,
i want to mount it on my Raspberry PI 3 with latest Noobs, Jessie.

I created a User pi with matching password on my qnap für cifs and also made nfs access (full access, no_root_squash, uid to pi - jumps back to guest on reload but was saved as pi, allowed ip's either * or 192.168.179.0/24, matching to my used ip range)

directorys on the pi3 are existent, the first share from /etc/fstab is working.

now i try for exemple:

Code: Select all

sudo mount //nas/Filme /media/plex/filme -t cifs -o username=pi,password=xxx,defaults,rw
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


this counts for all user unter Linux, Windows just shares working fine.
if the nfs part world work i would remove the cifs entrys of course, they are just there for testing

or now with nfs:

Code: Select all

sudo mount nas:/Filme /media/plex/filme -t nfs
mount.nfs: access denied by server while mounting nas:/Filme


same counts if i add the configs to the /etc/fstab

Code: Select all

//gbquadplus/Harddisk      /media/gigablue   cifs    username=root,password=xxx,rw,file_mode=0777,dir_mode=0777
//nas/Filme                  /media/plex/filme   cifs    username=pi,password=xxx,rw,file_mode=0777,dir_mode=0777
//nas/Serien                 /media/plex/serien   cifs    username=pi,password=xxx,rw,file_mode=0777,dir_mode=0777
//nas/Musik                  /media/plex/musik   cifs    username=pi,password=xxx,rw,file_mode=0777,dir_mode=0777
//nas/Daten                  /media/daten      cifs    username=pi,password=xxx,rw,file_mode=0777,dir_mode=0777
nas:/Filme                    /media/plex/filme   nfs     auto 0 0
nas:/Serien                    /media/plex/serien   nfs     auto 0 0
nas:/Musik                    /media/plex/musik   nfs     auto 0 0
nas:/Daten                    /media/daten      nfs     auto 0 0

sudo mount -a

mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount.nfs: access denied by server while mounting nas:/Filme
mount.nfs: access denied by server while mounting nas:/Serien
mount.nfs: access denied by server while mounting nas:/Musik
mount.nfs: access denied by server while mounting nas:/Daten




I don't know if its together with my issue that the nas tells me thts is can't reach the dns.
also tryed here a few things, none working.
i got a Fritz.box 7490 with upnp for nas enabled, nas is able to open ports, app downloads on nas working fine, can't access qnap cloud with it.


edit: also tested with security on:

Code: Select all

pi@raspi:~ $ sudo mount -t cifs //nas/Filme /media/plex/filme -o username=pi,password=xxx,sec=ntlm
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

hitme666
New here
Posts: 3
Joined: Sat Mar 04, 2017 6:17 pm

Re: can't mount ts-412 on a raspberry pi3 (cifs & nfs)

Post by hitme666 » Sun Mar 05, 2017 12:24 am

Fixed it with downgrade to 4.2.2.

Post Reply

Return to “Linux & Unix (NFS)”