Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Ok, this is my first post on this forum, or any linux forum for that matter. go easy on my please.
anyway, I built a simple home fileserver on ubuntu with Samba. The network consists of 4 client computers (3 of them laptops, all windows) connected through a DLink DI-624 wireless router. Downloaded samba, tried to install following this guide site:
[will not let me post urls] google bit tech server, and its the 6th page of the first result
I used the config file they provided, and added 3 users to the backend.
I changed the dynamic IP of the server to a static one through a router, connecting at 192.168.0.101.
when I try to connect with it on a windows pc using \\192.168.0.101\homes, it just says that there is no such network path.
any help? first problem I have had while following the guide site.
i can provide more information as needed
If you can connect with one machine, you are in good shape.
Could you tell me what application you are connecting from in Windoze?
Quote:
when I try to connect with it on a windows pc using \\192.168.0.101\homes
I have always used My Network Places, and clicked on the icons. I just tried the above, in explorer, and I was able to connect from XP home to my server, so I know that can work.
Do you get the User and Password logon prompt? Are you able to log on?
I see you are using security=user, that should require the logon.
Typically homes is special i.e. a share called homes does not actually exist. When samba starts a share for each user is automatically created using their home directory (\home\username) so it is really \\192.168.0.101\username that you want to use and not \\192.168.0.101\homes. Of course I assume you created a regular user. It is usually defined in smb.conf as
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
I suspect that this share is not working since you do not have a valid users line or that the path line is missing.
You can use the console command testparm to test the syntax of your smb.conf file. This will show any errors. There is a web based smb.conf configuration tool called swat if your not wanting to manually make changes to the file. Be sure to restart samba for any new changes to take effect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.