AOA,
Dear LP Members,
I am facing a bit issue regarding mounting Samba share on a linux box.
I have shared few Directories using my Samba Server on FC9.
Now i am trying to use them in my network on FC9, i know it can be used with smbmount, however the issue is smbmount command is not available on FC9. I tried it with "yum -y install ssamba*", even then nothing came up.
I can use the share using smbclient command, but a normal person dont know about this command and how to use it.
Please help me out.
One more thing, can any one tell me how can i share a printer from Windows XP to Linux, i know how to share printer from Linux to Windows.
How to mount Samba share in linux
How to mount Samba share in linux
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: How to mount Samba share in linux
Dear mudasir,
Salam,
# yum -y install samba
Best Regards.
Salam,
I think you should try this command.mudasir wrote:"yum -y install ssamba*"
# yum -y install samba
Best Regards.
Farrukh Ahmed
AOA,
Dear Farrukh bhai,
I tried that command also, still no progress. I searched for the RPM containing smbmount, and downloaded that rpm and installed it, still its not available.
Please help me out.
Dear Farrukh bhai,
I tried that command also, still no progress. I searched for the RPM containing smbmount, and downloaded that rpm and installed it, still its not available.
Please help me out.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
How to Simple File Sharing with Samba on Fedora 9
AOA
Here is the solution for Simple File Sharing on Fedora 9
Packages Required:
*** nautilus-share
===============================================
root@shani.lp.pk:~$ yum install nautilus-share
[After installation is completed, issue the following commands]
root@shani.lp.pk:~$ mkdir /usr/local/samba/lib/usershares -p
root@shani.lp.pk:~$ chgrp yourusername /usr/local/samba/lib/usershares
[change yourusername with your actual user name.]
root@shani.lp.pk:~$ chmod 1770 /usr/local/samba/lib/usershares
[Now, we have to add a few lines in /etc/samba/smb.conf. First lets back up the original file.]
root@shani.lp.pk:~$ cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
[Lets open the file and make changes.]
root@shani.lp.pk:~$ vi /etc/samba/smb.conf
[Now navigate to line that says [global], and immediately after this line add the following lines.]
usershare path = /usr/local/samba/lib/usershares
usershare max shares = 10 # (set this as per your requirement)
Now issue the following commands:
root@shani.lp.pk:~$ service smb restart
root@shani.lp.pk:~$ killall nautilus
[Now open nautilus, and right click the folder you wish to share and click Sharing Options. Give a share name and hit OK. You have now shared the folder.]
In Windows, goto Start-->Run and type
\\fedora_system_name\share_name
In Linux. goto Nautilus and in the location bar type
smb://fedora_system_name/share_name
I hope this post will be useful.
Here is the solution for Simple File Sharing on Fedora 9
Packages Required:
*** nautilus-share
===============================================
root@shani.lp.pk:~$ yum install nautilus-share
[After installation is completed, issue the following commands]
root@shani.lp.pk:~$ mkdir /usr/local/samba/lib/usershares -p
root@shani.lp.pk:~$ chgrp yourusername /usr/local/samba/lib/usershares
[change yourusername with your actual user name.]
root@shani.lp.pk:~$ chmod 1770 /usr/local/samba/lib/usershares
[Now, we have to add a few lines in /etc/samba/smb.conf. First lets back up the original file.]
root@shani.lp.pk:~$ cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
[Lets open the file and make changes.]
root@shani.lp.pk:~$ vi /etc/samba/smb.conf
[Now navigate to line that says [global], and immediately after this line add the following lines.]
usershare path = /usr/local/samba/lib/usershares
usershare max shares = 10 # (set this as per your requirement)
Now issue the following commands:
root@shani.lp.pk:~$ service smb restart
root@shani.lp.pk:~$ killall nautilus
[Now open nautilus, and right click the folder you wish to share and click Sharing Options. Give a share name and hit OK. You have now shared the folder.]
In Windows, goto Start-->Run and type
\\fedora_system_name\share_name
In Linux. goto Nautilus and in the location bar type
smb://fedora_system_name/share_name
I hope this post will be useful.
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear mudasir,
Salam,
I think it have something to do with your system configuration. Please check your logs for more information.
Best Regards.
Salam,
I think it have something to do with your system configuration. Please check your logs for more information.
Best Regards.
Farrukh Ahmed