Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have just got my rh8 box to share my winxp internet connection. thanks to linuxquestions.org now i want to share my xp files. ive been trying to read man pages on samba and online how to's. and i still dont understand samba.
i think on linux. you have to configure a file smb.conf which i cannot find (or i have to create it?) put the ip addresse, the folder i want to share for linux, passwords and more stuff that i dont understand. then start up the two samba daemons smbd and nmbd. then i should be able to use mozilla to access the shared folder in windows??
i think for windows. xp already has a shared folder. im not sure if theres any thing that has to be configured there
thats about as far as i can understand or not understand. any clarity would help thanks
the file will be /etc/smb.conf or /etc/samba/smb.conf or something very similar. it will be there IF you have alerady got samba installed, which you *probably* do you start the samba SERVER with "service smb start" or "/etc/init.d/smb start" but to share the files on windows, i.e. linux is the samba CLIENT you mount it:
mount -t smbfs //windowsserver/share /mnt/samba -o username=blah,password=blah
check the mount and samba manpages and docs for more information
i was trying to start it in the menu. it would start up mozilla then i get a message that it could not connect. the address in the search box is not the windows comp ip? or the linux comp?? is that because no file system has been mounted?
mount -t smbfs //windowsserver/share /mnt/samba -o username=blah,password=blah
username and password is this for the linux comp or windows
in my windows comp i can see another network called Mygroup but i dont have access to it. is this because i havent mount the linux file system with samba so windows cant see my linux comp? when i mount a drive do i only mount the folder i want windows access or do i mount everything
thanks
not sure which 1 is smb.conf
ermm, none of them as none of them are called smb.conf... those are the programs for samba, and they aren't in /etc either...
what were you starting in what menu? there's no way at all that that could load mozilla... please try to clarify what you are talking about a little more.
you don't maount the remote folder, you mount the SHARE, which is just coincidentally a folder (and thus everything beneath it)
yeah sorry bout that i found the smb.conf file my win comp can see the network but not my comp. i started smb and mounted my linux comp. not sure where to look to fix the problem.
thanks
If you can't see see the Linux box, that means that it is a WINS problem. I forget how long it takes for a Windows machine to refresh WINS. You can do a an nbtstat -R at the command line in Windows to do a refresh or just restart the PC.
When you browse the network, WINS is actually use to see the other nodes (computers) on the LAN. I hope I didn't confuse you.
i can see my linux box in mshome network but i cant access it. the error message is like duplicate names exists on the network. so ichange the name of my winxp box. when i restart linux does it unmount and turn samba off?
i changed the workgroup to mshome in smb.conf if that has anything to do with the problem. please let me know
thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.