Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Montowanie dysku sieciowego z routera
#4
0
Wycinek logów wskazujący przyczynę:
Cytat:09:27:29 q-desktop systemd[1]: Mounting /mnt/smb...
Jul  3 09:27:29 q-desktop systemd[1]: Starting Samba NMB Daemon...
Jul  3 09:27:29 q-desktop systemd[1]: Condition check resulted in Ubuntu Advantage GCP Auto Attach Daemon being skipped.
Jul  3 09:27:29 q-desktop systemd[1]: mintsystem.service: Succeeded.
Jul  3 09:27:29 q-desktop kernel: [    6.721191] FS-Cache: Loaded
Jul  3 09:27:29 q-desktop kernel: [    6.748582] FS-Cache: Netfs 'cifs' registered for caching
Jul  3 09:27:29 q-desktop mount[1388]: mount error(2): No such file or directory
Jul  3 09:27:29 q-desktop mount[1388]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Jul  3 09:27:29 q-desktop kernel: [    6.758180] Key type cifs.spnego registered
Jul  3 09:27:29 q-desktop kernel: [    6.758185] Key type cifs.idmap registered
Jul  3 09:27:29 q-desktop kernel: [    6.758644] CIFS: Attempting to mount //10.1.2.1/USB
Jul  3 09:27:29 q-desktop kernel: [    6.758666] 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.
Jul  3 09:27:29 q-desktop kernel: [    6.758728] CIFS VFS: Error connecting to socket. Aborting operation.
Jul  3 09:27:29 q-desktop kernel: [    6.758734] CIFS VFS: cifs_mount failed w/return code = -2
Jul  3 09:27:29 q-desktop systemd[1]: mnt-smb.mount: Mount process exited, code=exited, status=32/n/a
Jul  3 09:27:29 q-desktop systemd[1]: mnt-smb.mount: Failed with result 'exit-code'.
Jul  3 09:27:29 q-desktop systemd[1]: Failed to mount /mnt/smb.
i najważniejsza wskazówka:
Cytat: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.
czyli dodaj sobie wersję smb w pliku fstab:
Kod:
//IP_routera/dysk /mnt/smb cifs rw,vers=1.0,username=XXX,password=XXX,dir_mode=0777,file_mode=0666 0 0
lub jeśli to możliwe dodaj obsługę wyższych wersji SMB w routerze.


Wiadomości w tym wątku
Montowanie dysku sieciowego z routera - przez qczu - 01-07-2022, 19:36
RE: Montowanie dysku sieciowego z routera - przez dedito - 04-07-2022, 11:28

Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości