Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@HOME ~]# mount -t cifs -v //NAS_SERVER/public/ /mnt/ -o username=user,password=pass
- mount.cifs kernel mount options: ip=184.106.31.190,unc=\NAS_SERVERpublic,,ver=1,user=user,pass=********
- mount error(115): Operation now in progress
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- [root@HOME ~]# mount -t cifs -v //NAS_SERVER/public/ /mnt/ -o username=user,password=pass,ip=192.168.1.77
- ip address 192.168.1.77 override specified
- mount.cifs kernel mount options: ip=192.168.1.77,unc=\NAS_SERVERpublic,,ver=1,user=user,pass=********
- Retrying with upper case share name
- mount.cifs kernel mount options: ip=192.168.1.77,unc=\NAS_SERVERPUBLIC,,ver=1,user=user,pass=********
- mount error(6): No such device or address
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- [root@HOME ~]# smbclient -L 192.168.1.77
- WARNING: The security=share option is deprecated
- Enter user's password:
- Domain=[HOME] OS=[Unix] Server=[Samba 3.0.22]
- Sharename Type Comment
- --------- ---- -------
- IPC$ IPC IPC Service (Network Storage)
- DISK 1 Disk
- PUBLIC Disk
- ADMIN$ IPC IPC Service (Network Storage)
- Domain=[HOME] OS=[Unix] Server=[Samba 3.0.22]
- Server Comment
- --------- -------
- HOME Samba Server Version 3.6.5-85.fc16
- NAS_SERVER Network Storage
- Workgroup Master
- --------- -------
- HOME HOME
- mount error(115): Operation now in progress
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- el@defiant /mnt $ ping 192.168.13.107
- PING 192.168.13.107 (192.168.13.107) 56(84) bytes of data.
- 64 bytes from 192.168.13.107: icmp_req=1 ttl=128 time=0.366 ms
- --- 192.168.13.107 ping statistics ---
- 44 packets transmitted, 44 received, 0% packet loss, time 42999ms
- rtt min/avg/max/mdev = 0.178/0.227/0.366/0.038 ms
- [root@defiant mnt]# mount -t cifs //192.168.13.107/eric /mnt/windows -o username=eric
- Password for eric@//192.168.13.107/public: **********
- [root@defiant mnt]#
- [root@defiant windows]# ls
- testing.txt
- [root@defiant windows]#
- mount -t cifs -v //NAS_SERVER/public/ /mnt/ -o username=user,password=pass,sec=ntlm
- # mount -t cifs //192.168.0.2/media/ /mnt/cifs/media -o username=user,password=pass
- mount: mounting //192.168.0.2/media/ on /mnt/cifs/media failed: No such device or address
- #
- # mount -t cifs //192.168.0.2/media /mnt/cifs/media -o username=user,password=pass
- #
- username = foobar
- password = secret
- username=foobar
- password=secret
- mount -t cifs //remote /mnt/local -o credentials=/path/to/cifs.credo
- username=me
- password=mypassword
- domain=mydomain
- ...
- domain=mydomain
- <empty line>
- ~> mkdir /mnt/local
- ~> sudo mount -t cifs //remote /mnt/local
- ~> ln -s /mnt/local/path/to/my-folder /mnt/my-folder
Add Comment
Please, Sign In to add comment