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.
I've done this on Debian and gentoo and am running Ubuntu on laptops.
I'd recommend Ubuntu or vanilla Debian.
The samba configuration was the tricky bit for me, but can be very straightforward.
It will depend a lot on the environment - if it's just for a small network, supporting the family windows boxes and it's behind a firewall, then it's a piece of cake (relatively).
Here's a very basic (and very insecure - but this may not be important) smb.conf
# Global parameters
[global]
workgroup = XXXXX
server string = File Store
security = SHARE
null passwords = Yes
guest account = guest
log file = /var/log/samba/log.%m
comment = Linux Samba Server
hosts allow = 192.168.0., 127.
[share]
comment = Shared files
path = /.../Share
read only = No
guest only = Yes
guest ok = Yes
I configured a server about 5 years ago and I seem to remember that some of the distros came with Samba included, and it just took a few steps to enable it while others required a seperate Samba installation. What catagory do Ubuntu and vanilla Debian fall in to?
Hmmm, good question.
I suspect that this is selectable at installation for both Debian and Ubuntu. I don't remember having to get samba separately when I set up the Debian box, but if there was a 'server' option, I would have chosen it.
On the Ubuntu laptop I'm on now, the server is not installed, but samba-common, which gives you client access to smb/windows shares, is on it. But I did a very hands-off install on the laptop, because I wanted to know what Ubuntu would be like on the 'do it all for me and don't ask me any questions' option. The answer was amazingly good (the only problem with this option was that the installation wiped my master boot record, without asking me first, which I had not wanted). But if I wanted to install the samba server on this I could do it in about 5 minutes (with a fast internet connection).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.