Guest User

Untitled

a guest
Feb 28th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. sudo gedit /etc/fstab
  2.  
  3. //servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
  4.  
  5. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  6. mount error(22): Invalid argument
  7.  
  8. mount: only root can mount //192.168.1.71/photos on /media/photos
  9.  
  10. //servername/sharename /media/windowsshare cifs guest,users
  11.  
  12. //servername/sharename /home/USER/shares/I cifs guest,users,noauto
  13.  
  14. sudo apt-get install cifs-utils
  15.  
  16. //192.168.0.42/Media /mnt/htpc/media smbfs rw,username=root,password=openelec,uid=1000 0 0
  17.  
  18. sudo apt-get install cifs-utils smbnetfs
  19.  
  20. //192.168.0.42/Media /mnt/htpc/media cifs rw,username=root,password=openelec,uid=1000 0 0
  21.  
  22. sudo apt-get install cifs-utils
  23.  
  24. *sudo mount /mnt/musik
  25. mount: forkert filsystemtype, forkert tilvalg, ugyldig superblok på //172.16.34.10/musik,
  26. manglende tegnsæt, hjælpeprogram eller anden fejl
  27. (for flere filsystemer (f.eks. nfs, cifs) skal du måske
  28. bruge et /sbin/mount.<type>-hjælpeprogram)
  29. I nogle tilfælde vil du finde nyttige oplysninger i systemlogggen
  30. - prøv 'dmesg | tail' eller lignende*
  31.  
  32. //192.168.1.1/smbshare/ /media/mntfolder cifs fsc,rw,_netdev,iocharset=utf8 0 0
  33.  
  34. //192.168.1.1/smbshare/ /media/mntfolder cifs rw,_netdev,iocharset=utf8 0 0
  35.  
  36. CIFS VFS: Unable to select appropriate authentication method!
  37.  
  38. //192.168.1.101/Public /media/smb-public cifs credentials=/home/foo/.smbpasswd,uid=1000,gid=1000,user,sec=lanman 0 0
  39.  
  40. //192.168.1.101/Public /media/smb-public cifs credentials=/home/foo/.smbpasswd,uid=1000,gid=1000,user,sec=ntlm 0 0
  41.  
  42. satyadeep@satyadeep:~$ sudo mount -a
  43. [sudo] password for satyadeep:
  44. mount error(22): Invalid argument
  45. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  46.  
  47. 11:09 $ tail -f /var/log/kern.log
  48. Mar 1 10:06:51 satyadeep kernel: [160456.442423] input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:0461:4D81.0003/input/input13
  49. Mar 1 10:06:51 satyadeep kernel: [160456.442670] hid-generic 0003:0461:4D81.0003: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-1.2/input0
  50. Mar 1 10:30:33 satyadeep kernel: [161879.205573] 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.
  51. Mar 1 10:30:33 satyadeep kernel: [161879.206637] CIFS VFS: Unable to select appropriate authentication method!
  52. Mar 1 10:30:33 satyadeep kernel: [161879.206640] CIFS VFS: Send error in SessSetup = -22
  53. Mar 1 10:30:33 satyadeep kernel: [161879.206658] CIFS VFS: cifs_mount failed w/return code = -22
  54. Mar 1 10:48:22 satyadeep kernel: [162948.218284] 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.
  55. Mar 1 10:48:22 satyadeep kernel: [162948.219378] CIFS VFS: Unable to select appropriate authentication method!
  56. Mar 1 10:48:22 satyadeep kernel: [162948.219382] CIFS VFS: Send error in SessSetup = -22
  57. Mar 1 10:48:22 satyadeep kernel: [162948.219408] CIFS VFS: cifs_mount failed w/return code = -22
  58.  
  59. //QQQ/share/sdm /mnt/store cifs username=XXX,password=YYY,domain=ZZZ,iocharset=utf8,sec=ntlm,vers=1.0 0 0
  60.  
  61. satyadeep@satyadeep:~$ sudo mount -a
Add Comment
Please, Sign In to add comment