Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hey, I'm a Linux n00b and I just put Mandrake 10 on a P3-733 machine w/ 128MB RAM. Nothing too weak, nothing too special. Anyway, I have 6 WinXP boxes around and this one Linux box with a bigass hard drive, and I want to make it a file server. I have a folder /home/user/netshare that I want ANYBODY on the network to have access to with TOTAL read permission, no writing to it. If it's even an option for Linux, I'd like to have it not even HAVE a username or password prompt when they try to access it. I know Win2K and XP can do it, I want it an open share. Just "oh, there it is - click and you have files" from any computer. If that's possible, I think I may have figured TWO ways of doing it, but both lead to dead ends. I got Samba installed and up and running, and I can SEE the linux box on the network, but Windoze gives me "access not available, make sure you have permission" or something like that. I can edit the smb.conf file, that's how I got it to show up in WORKGROUP instead of MDKGROUP, OR I could go through the Samba Server Wizard in Mandrake Control Center, but I get stuck at the part where it asks you to put in users and groups and tells you groups must be preceeded by @ and gives you "fred@wheel" as an example. And I get no change when I click next and have no idea what I'm putting in those lines. Help! Thank you.
And I get into it, it doesn't show a password prompt, takes me right to the folder. Yay! Only problem now is that the contents of /home/user/netshare aren't THERE. Just a "Printers and Faxes" icon. None of the files or folders that are present in the actual folder on the Linux box. Any ideas?
Last edited by CaptainRegular; 08-02-2004 at 08:52 PM.
[global]
workgroup = WORKGROUP
security = share
guest ok = yes
guest account = tim
guest = tim
[linux]
path = /home/tim/netshare
writeable = no
I was able to access it just like I wanted. From one computer. Only one that I can tell (laptop, wireless, XP) gives me no access. It also says in addition to \\Localhost not accessible, might not have permission to use the resource, blah blah. "You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again."
Does this mean on this one XP machine? I have NO idea why this would happen now? Thanks for all your help, and if you have any suggestions, I would appreciate them on this issue, although it sounds more like Windoze than anything else.
Last edited by CaptainRegular; 08-03-2004 at 06:51 PM.
on mine i enabled the guest account, and allowed the "no password" function, then mapped guest = guest, and made the share directory = /home/guest/share and set 777 permissions, and writeable is set to yes (cause we swap files back and forth)
Demonbane big thanx for the security = share tip, that was the only thing keeping mine from working properly to let a winblows computer link up with mine, the old method of using my little 128M jump drive just wasn't cutting it!
Last edited by Ghost_runner; 08-03-2004 at 08:05 PM.
Screeching halt! After a reboot of the linux box, but of course NO changes to the working smb.conf file or any other network setting, it DOESN'T WORK AGAIN! WTF?!?!?! The file is this EXACTLY, like cut and paste exactly.
[global]
workgroup = WORKGROUP
security = share
guest ok = yes
guest account = tim
guest = tim
[linux]
path = /home/tim/netshare
writeable = no
And I get the SAME DAMN MESSAGE I was getting before about the not accessable and bull$h1t. Linux sure as hell is the opposite of Windows, usually Windows STOPS working UNTL you reboot it, here stuff works fine if I don't and stops working if I do. Apparently, I REALLY need to invest in a battery backup. Any thoughts? I SWEAR, it was working on at least 2 of the Windows XP boxes, and one was my girlfriends laptop that wasn't setup or rebooted or had anything special done to it.
EDIT: I figured out how to start and stop samba in the GUI, that made it a little easier. And I added all 3 "guest" lines to the share part at the bottom (duplicated, probably redundant) but it works like it did the first time it worked. I now believe the only problem is with my wifi laptop. (It has trouble running the network wizard, and I can't get it to do stuff it should manually, it has other problems, I smell a format one of these days.)
Last edited by CaptainRegular; 08-03-2004 at 09:21 PM.
Samba uses your hostname as the netbios name(Computer name in Windows) by default, make sure it's not the same as any other boxes. It has to be unique on your LAN, otherwise strange things can happen.
To set a different netbios name in Samba put this in smb.conf:
Thanks! The whole "Samba 3.0.2a Localhost" was kinda bugging me. And the whole folder works perfectly now, even after rebooting. This site and the people on it are just...awesome.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.