Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo gedit /etc/fstab
- //servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- mount error(22): Invalid argument
- mount: only root can mount //192.168.1.71/photos on /media/photos
- //servername/sharename /media/windowsshare cifs guest,users
- //servername/sharename /home/USER/shares/I cifs guest,users,noauto
- sudo apt-get install cifs-utils
- //192.168.0.42/Media /mnt/htpc/media smbfs rw,username=root,password=openelec,uid=1000 0 0
- sudo apt-get install cifs-utils smbnetfs
- //192.168.0.42/Media /mnt/htpc/media cifs rw,username=root,password=openelec,uid=1000 0 0
- sudo apt-get install cifs-utils
- *sudo mount /mnt/musik
- mount: forkert filsystemtype, forkert tilvalg, ugyldig superblok på //172.16.34.10/musik,
- manglende tegnsæt, hjælpeprogram eller anden fejl
- (for flere filsystemer (f.eks. nfs, cifs) skal du måske
- bruge et /sbin/mount.<type>-hjælpeprogram)
- I nogle tilfælde vil du finde nyttige oplysninger i systemlogggen
- - prøv 'dmesg | tail' eller lignende*
- //192.168.1.1/smbshare/ /media/mntfolder cifs fsc,rw,_netdev,iocharset=utf8 0 0
- //192.168.1.1/smbshare/ /media/mntfolder cifs rw,_netdev,iocharset=utf8 0 0
- CIFS VFS: Unable to select appropriate authentication method!
- //192.168.1.101/Public /media/smb-public cifs credentials=/home/foo/.smbpasswd,uid=1000,gid=1000,user,sec=lanman 0 0
- //192.168.1.101/Public /media/smb-public cifs credentials=/home/foo/.smbpasswd,uid=1000,gid=1000,user,sec=ntlm 0 0
- satyadeep@satyadeep:~$ sudo mount -a
- [sudo] password for satyadeep:
- mount error(22): Invalid argument
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- 11:09 $ tail -f /var/log/kern.log
- 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
- 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
- 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.
- Mar 1 10:30:33 satyadeep kernel: [161879.206637] CIFS VFS: Unable to select appropriate authentication method!
- Mar 1 10:30:33 satyadeep kernel: [161879.206640] CIFS VFS: Send error in SessSetup = -22
- Mar 1 10:30:33 satyadeep kernel: [161879.206658] CIFS VFS: cifs_mount failed w/return code = -22
- 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.
- Mar 1 10:48:22 satyadeep kernel: [162948.219378] CIFS VFS: Unable to select appropriate authentication method!
- Mar 1 10:48:22 satyadeep kernel: [162948.219382] CIFS VFS: Send error in SessSetup = -22
- Mar 1 10:48:22 satyadeep kernel: [162948.219408] CIFS VFS: cifs_mount failed w/return code = -22
- //QQQ/share/sdm /mnt/store cifs username=XXX,password=YYY,domain=ZZZ,iocharset=utf8,sec=ntlm,vers=1.0 0 0
- satyadeep@satyadeep:~$ sudo mount -a
Add Comment
Please, Sign In to add comment