hi,
i have mint 14 with Mate desktop
i need to mount 2 debian servers, both with samba installed and 100% working.
server 1 is on ip: 192.168.0.191 , need to be mounted on /home/mint/TS212
server 2 is on ip: 192.168.0.196 need to be mounted on /home/mint/TS119
i am used to make a samba location in kde like : smb://192.168.0.19X in dolphin, if i am correct.
i am not able to do that in Caja.
my question is:
how do i mount my 2 servers into Mint?
i have tried several howtoś , based on cifs-utils, like: this one]
[SOLVED] add 2 samba shares into Linux (mint)
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] add 2 samba shares into Linux (mint)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: add 2 samba shares into Linux (mint)
It's impossible to answer you question since we don't know the nature of the problem you are experiencing.
When you access the share via caja with a smb://192.168.0.100/share-name does it give you an error message?
When you access it with a "sudo mount -t cifs....." does it give you an error message?
When you access the share via caja with a smb://192.168.0.100/share-name does it give you an error message?
When you access it with a "sudo mount -t cifs....." does it give you an error message?
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: add 2 samba shares into Linux (mint)
the fact is that mount -t cifs does not work, or i do not know what credentials i need to usealtair4 wrote:It's impossible to answer you question since we don't know the nature of the problem you are experiencing.
When you access the share via caja with a smb://192.168.0.100/share-name does it give you an error message?
When you access it with a "sudo mount -t cifs....." does it give you an error message?
accessing via smb://182.168.0.16X works, without errorś
so, what credentials in mount -t cifs i need to use in order to mount, and later automount using fstab?
mount -t cifs [..............] ??
Re: add 2 samba shares into Linux (mint)
** It's the same credentials you used when accessing the share using the caja method:
For example to use the HowTo you linked to:
Where username = the one you used in caja to acces the share.
And password = the one you used in caja to access the share.
Are you sure you're not getting an error that looks something like this:
Still don't know the nature of the problem without knowing what error messages you are receiving.
For example to use the HowTo you linked to:
Code: Select all
sudo mount -t cifs //192.168.0.199/share /home/mint/TS212 -o username=some-user-name,password=some-password,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777
And password = the one you used in caja to access the share.
Are you sure you're not getting an error that looks something like this:
You need to install the following package:mount: wrong fs type, bad option, bad superblock on //192.168.0.199/share,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Code: Select all
sudo apt-get install cifs-utils
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: add 2 samba shares into Linux (mint)
This how-to is kind of dated but the underlying principles still work. My question to you is why not use NFS instead of Samba for Linux to Linux file sharing?
http://ubuntuforums.org/showthread.php?t=288534
http://ubuntuforums.org/showthread.php?t=288534
Re: add 2 samba shares into Linux (mint)
thanks for all the answers, but figured out myself:
Open Caja, by going to menu>Personal Folder
File>connect to server , Servertype = Windows Network
Server = IP of NAS
Select: Add Bookmarks
Choose a bookmarkname. like MyNas
Connect, and voila, connected to the nas, and also a bookmark to connect later
PS: migrated to kde, and in kde i am able to add, in dolphin, an entry with location smb://IP_of_NAS
works prefect
Open Caja, by going to menu>Personal Folder
File>connect to server , Servertype = Windows Network
Server = IP of NAS
Select: Add Bookmarks
Choose a bookmarkname. like MyNas
Connect, and voila, connected to the nas, and also a bookmark to connect later
PS: migrated to kde, and in kde i am able to add, in dolphin, an entry with location smb://IP_of_NAS
works prefect