- This topic has 0 replies, 1 voice, and was last updated Jul 10-7:21 am by Ayzak.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Hi,
I installed new kernel 4.17.4 yesterday, and I can’t use connectshares to mount my NAS anymore.
Jul 10 13:49:27 antiX kernel: [62324.004424] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
New kernel force smb 2, 2.1 or 3 but I don’t know where can I force well version of SMB to use or force connectshares and/or my NAS (D-LINK) to use new protocol version.
Thx for watching !
Edit: I have found a temporaly solution (force old version of smb without connectshares)
#If smb's version isn't correct
#manual solution:
$- sudo mount -t cifs //192.168.1.x/dossier_partagé/ /mnt/NAS/ --verbose -o credentials=/home/user/NAS,vers=1.0
#auto solution:
#/etc/fstab pour montage auto
#-> NAS
//192.168.1.x/dossier_partagé /mnt/NAS/ cifs vers=1.0,credentials=/home/user/.smbcredentials,iocharset=utf8 0 0
#create an hide credentials files (.smbcredentials)
$-nano ~/.smbcredentials
-> username=blabla
-> password = blabla
$-chmod 600 .smbcredentials
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |