Nathan Cooprider wrote:

I cannot get file sharing to work between my linux laptop and my XP desktop. I can't get either one of them to recognize the other enough to talk. I have Samba on my laptop and I have read through a number of tutorials on how to configure it, but none of them have worked. Like most linux literature, a lot of it assumes a certain body of knowledge that I don't have.

The workgroup can see my samba server from windows, but when I try to access it, it says:

//Potter is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The network path was not found.

Potter is currently the host name of my laptop. I haven't found any meaningful way to change my domain (remember, I know nothing). I really don't know anything about networks whatsoever, so I'm basically taking repeated stabs in the dark.

ok here you go. Samba is very cool, but it's a mess to setup, if you don't know the secrets.

Secret #1: in order to use samba, you must have a samba user on your linux machine. The samba users are not the regular users on the machine. they are separate. So in order for each user to use samba, you have to make them samba users. It's easy:

as root:

# smbpasswd -a joeluser

smbpasswd sets their password. the -a adds them as a new samba user.

Ok so I'm on my windows machine, and then I want to access my linux laptop. I've added my linux username to samba using the command above. I've started samba with the command:

# service smb start

Ok, lets access it with Windows. I'm assuming that each computer has an ip address, and that you can ping each computer from the other. If this isn't the case. Then you've got more issues than one to address.

ok so now here we go. open an explorer window, and type in \\192.168.0.3\

(192.168.0.3 is the ip address of the Linux machine.)

If everything works out well, then it should authenticate you. Type in your linux username and samba password. Then you should see a folder with your username on it. This should be your home folder. Good luck!

Now that you can access your linux folders on your windows box, we'll talk about accessing windows shares on your linux box. (That's fun too.)

Also, look into webmin (http://webmin.com) to manage samba. Doing it with SWAT or by hand is a big freakin' mess. Start out with webmin, until you are ready for it.

Art


_______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to