networking (WinXP<->FC2) using samba?
I've been reading through the posts on networking because I am having troubles with finding my XP box with my Linux box. Most of the posts I am reading contain something or other about an app called Samba. I have no idea what this program does, or even how to open it, so I was hoping someone could help me out.
~Onthos |
samba is a nice interface with windows computers over a network.. it isn't an app that you can open or run like mozilla or openoffice. but there is some documentation on configuring it here
http://us2.samba.org/samba/docs/man/...TO-Collection/ you may also want to learn how to work with your fstab if you want to have a perminant connection with your win box. here is another link if you like to read http://tldp.org/HOWTO/SMB-HOWTO.html |
OK... so I'm reading those HOWTO's and I realize that it might be my linux firewall that is preventing me from networking... so how do I stop my firewall?
|
i am not familiar with FC but are you running SP2 on your WinXP box? i have found that the firewall on there drops pings and that sort of thing.
i think that the main thing you may want to do is make a folder and do something like this. you are going to need to have your winxp info like the computer name (you will need to put this in to your /etc/hosts file.) you will also need the share folder's name (case sensitive i believe). in the term as root try this Code:
mount -t smbfs -o users,rw,username="<your winxp username>",password="<the username's password>",uid=<linux username>,gid=<that username's group id> Code:
|
OK, so I typed in that string that you told me to, and I get a > prompt. I don't know what to do after that. The good news is, after I did that, my other Windows PC's now show up in the Network folder.
Which leads me to my next question. When I try to access <pc-1> (one of my Windows PC's) I get the error dialog: The folder contents could not be displayed. You do not have the permissions necessary to view the contents of "Windows Network: pc-1". What options do I need to change in Windows to allow me to access my pc-1? EDIT: exactly what do I need to put in my hosts file? Something like: 192.168.x.x pc-1.mshome pc-1 ?? |
you got the > after the command because i made some sort of error. maybe remove the "" from the username and password info....... that would be a temp fix and just to find out if you could do it anyway...... so you can see your other computer so lets make it a little more permanent. as root open your /etc/fstab and add the following line......
Code:
//<windcomputer name>/<wincomputer share name> <tab> /<path to connecting linux folder> <tab> smbfs <tab> <options..... you can get these from man mount> <tab> 0 <tab> 0 once you have that done then you should be able to use this command as user Code:
mount <path to connecting linux folder> |
OK... so I did what you told me to, but I have a few problems.
[onthos@linpc onthos]$ mount /home/onthos/shared mount: only root can mount //pc-1/drive_c on /home/onthos/shared [onthos@linpc onthos]$ su Password: [root@linpc onthos]# mount /home/onthos/shared Password: Anonymous login successful 2832: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed [root@linpc onthos]# |
i think that you are trying to get connected to //windowsxpComputer/C$. that for some reason is not allowed. you have to have an active share folder for some reason. i tried it here at home and i got the same error. outside of that i don't think i can help you.
|
I made a second share of C: called 'drive_c' just so I could test this out.
Anyway... Thanks for all your help. It was/is much appreciated. :D |
Have you ever tried using the Konquerer web browser and then going to smb:/ ? It's a quite nice gui for accessing the network.
|
i don't have konquerer installed. i use the term to access my files. i used to use kde but then i was looking for a more lean interface.
|
All times are GMT -5. The time now is 03:10 AM. |