This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[Solved] can't connect to CIFS after debian upgrade

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
PC_Hater
NewUser
NewUser
Posts: 5
Joined: 18 Jan 2013 15:24
Status: Offline

[Solved] can't connect to CIFS after debian upgrade

Post by PC_Hater »

My Nas4Free box is run headless and used as a music server for my Sonos hifi system so I rarely need to connect to it from any of my computers.
I upgraded debian unstable (sid) on my laptop and then discovered I was no longer able to connect to the server.
The problem was mounting the CIFS drive to my debian laptop. The reminder I had written to myself no longer worked.
I found many postings all over the place, all with slightly different variations of how to mount a CIFS drive. Many of those suggestions were either wrong or outdated.
The solution was that I had to include the security setup on the CIFS, otherwise I got Permission Denied. I found the solution at kernel.org - which is an indication of how deep I had to dig to find the right answer!

Partly to help others, and partly as an easy to find reminder to me, here is how it must be done when using debian unstable in May 2013.
1) create your mount point. I use /mnt/nas
2) sudo mount -t cifs //AUDIONAS1/SharedAudio /mnt/nas --verbose -o guest,sec=ntlm

AUDIONAS1 is the server name
SharedAudio is the directory with all the music files.
--verbose is a bit of a misnomer and doesn't tell you as much as you think it will
guest means you get in without being asked for a password
sec=ntlm tells 'something' what CIFS protocol is being used by Nas4Free. Nas4Free shows it as NT1

I am now fairly certain I could set the Max Protocol for CIFS to SMB2 and by changing the sec= part of mount it would still work.
NAS4Free Version: 9.1.0.1 - Sandstorm (revision 690)
Platform: x86-embedded on Intel Atom CPU N270 @1.60GHz
System: FOXCONN QBOX Bios: 080015 05/13/2009
RAM: 1GB
system drive: 4GB SD
data drive ada0: Hitachi Travelstor 220GB formatted as UFS (GPT and Soft Updates)

User avatar
TeoLinuX
Starter
Starter
Posts: 24
Joined: 25 Jun 2012 17:29
Location: Milan, Italy
Status: Offline

Re: [Solved] can't connect to CIFS after debian upgrade

Post by TeoLinuX »

Can I ask more about how you setup a connection to your Sonos?
Is it directly connected to the NAS (through what service?) or do you have to pass through the laptop?
Another question: in case you only use a linux laptop, did you consider using NFS sharing instead of CIFS/smb? If no, why, did you encounter any config problem?

Thank you :)
AMD A4-4000 on ASRock FM2A75M-DGS mobo + 16GB RAM + 3x 2TB Seagate Barracuda Green in ZFS raidz + 1x Samsung Spinpoint M8 500GB (UFS)
Nas4Free 10.2.0.2 x64 embedded - CIFS ; NFS ; miniDLNA ; bittorrent;
UPS: APC BE700G ; Player: mede8er MED600X3D , ChromeCast

Post Reply

Return to “CIFS/SMB (Samba)”