Ubuntu – cifs mount fails with “mount error(112): Host is down”


I'm trying to mount a USB drive plugged on my Technicolor router.

I have the following line in my /etc/fstab:

// /media/public cifs guest,vers=3.0 0 0

After trying resolving the issue with diffrerent instructions found from the net I have tried specifying different versions, vers=2.0, vers=2.1, but none of these have resolved the issue.

If I test with smbclient, I get the following:

sudo mount.cifs // /media/public -o username=myuser,vers=2.0
Password for myuser@//  *********
mount error(112): Host is down

Same happens with no user specified, and also with various vers= definitions.

I'm running Ubuntu 15.10.
Any ideas?

Best Answer

You can disable the entry in /etc/fstab and issue the following command

mount -t cifs // /media/public -o guest,vers=3.0

and at the same time play around with different options (behind -o). If you need feedback from you system, you might open a second terminal windows and type journalctl -fb to watch how the kernel reacts on your options given.

I explain all this because your real issue might be different with cifs than it was in my case.

I had the problem that the device offering SMB wants ver=1.0. While Ubuntu 17.04 didn't have any problems with the version (auto), the 17.10 and its kernel demands to indicate the number, as my Kernel logs shows:

Okt 25 09:06:08 gespc kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 specify vers=1.0 on mount. For somewhat newer servers such as Windows 7 try vers=2.1.

My Good luck!