Murray Strome
2015-09-07 18:47:27 UTC
I tried:
sudo mount -t cifs -ousername=guest //{freenas server IP}/mnt/free-nas/Windows /Windows
and got the following:
mount: Key has expiredI guess I have done something wrong! I think it worked the first time I tried it on one computer, but now I am having problems. I may have copied something incorrectly from the session on Saturday.
I tried putting the following line into /etc/fstab:
//{NAS Server IP}/mnt/nas-server/Windows cifs defaults,username=guest,password= 0 0
and if I try
sudo mount //{NAS Server IP}/mnt/nas-server/Windows}/mnt/nas-server/Windows /Windows
or
sudo mount -t cifs //{NAS Server IP}/mnt/nas-server/Windows}/mnt/nas-server/Windows /Windows
it says
mount: wrong fs type, bad option, bad superblock on //192.168.0.118/mnt/nas-server/Windows,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
I then did dmesg | tail and this is what it tells me (I think the error -127 means key expired)
[ 2806.919769] Status code returned 0xc0000072 NT_STATUS_ACCOUNT_DISABLED
[ 2806.919774] CIFS VFS: Send error in SessSetup = -127
[ 2806.919944] CIFS VFS: cifs_mount failed w/return code = -127
I can still access the Share by smb://nas-server.local:445/Windows in Konqueror but I don't know how I can cd to it from a terminal
Can anyone spot what I am doing wrong? (the share is owned by guest and has no password)
sudo mount -t cifs -ousername=guest //{freenas server IP}/mnt/free-nas/Windows /Windows
and got the following:
mount: Key has expiredI guess I have done something wrong! I think it worked the first time I tried it on one computer, but now I am having problems. I may have copied something incorrectly from the session on Saturday.
I tried putting the following line into /etc/fstab:
//{NAS Server IP}/mnt/nas-server/Windows cifs defaults,username=guest,password= 0 0
and if I try
sudo mount //{NAS Server IP}/mnt/nas-server/Windows}/mnt/nas-server/Windows /Windows
or
sudo mount -t cifs //{NAS Server IP}/mnt/nas-server/Windows}/mnt/nas-server/Windows /Windows
it says
mount: wrong fs type, bad option, bad superblock on //192.168.0.118/mnt/nas-server/Windows,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
I then did dmesg | tail and this is what it tells me (I think the error -127 means key expired)
[ 2806.919769] Status code returned 0xc0000072 NT_STATUS_ACCOUNT_DISABLED
[ 2806.919774] CIFS VFS: Send error in SessSetup = -127
[ 2806.919944] CIFS VFS: cifs_mount failed w/return code = -127
I can still access the Share by smb://nas-server.local:445/Windows in Konqueror but I don't know how I can cd to it from a terminal
Can anyone spot what I am doing wrong? (the share is owned by guest and has no password)