Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am a linux newbie and am having a problem accessing the linux box from a windows xp box. I can access the windows xp box from linux. I can also see the debian box from windows xp in network neighborhood. When I click on it I get the message user not able to log in from this account. I guess I have to set up the user of the xp box on the linux box but have no clue how to do it.
The problem is likely with your samba configuration. Samba is the program that allows networking between windows and linux, and the fact that you can see the linux box from windows indicates that its working. The samba configuration file (smb.conf) is generally located somewhere in the /etc directory, but it can vary and I've never used debian myself. Someone else around here may know the trick, or check out the samba website.
Alternatively, you might want to check out a program called webmin (www.webmin.com). It provides a GUI via the web browser for configuring a wide variety of programs, including samba. It's basically a frontend for the config files, but I've always found it pretty useful, especially as a beginner.
Thanx I will give it a look but as a beginner I would like to learn to do it manually. If anyone else has any info on how to do it I would appreciate the input. In debian the file is located at /etc/samba/smb.conf.
The smb.conf file offers a lot of examples for you to experiment with. The easiest way to make a folder completely accessible is this entry:
public = yes
path = /path/to/shared/directory
There are many other options you can introduce for security and they are covered fully in the smb.conf man page. That man page is quite long however, so you may want to check out the documentation on the website instead.
If you really want to learn how to make Samba work for you, you can also go to Samba.org and check out the "Offical HOWTO" and "Learn By Example" in the links on the left of the homepage.
There are MANY options available to you when using Samba. I use Samba as a file server, and in a secure networking environment, you can do just a couple of simple things to make the Samba file server fairly secure for your users.
Yes, you'll need to set shares. The example above is a very simple example, but sometimes more is needed than just the smb.conf file. You may also need to set up Samba usernames and passwords for logins. Or that basic setup may work for you. It just depends on your situation. In the HOWTO section on the website I cited, there is a chapter called "Fast Start: Cure for Impatience" that will show very basic Samba setups for file servers.
The smb.conf file that should already be in your /etc/samba/ directory should also show you some different options available to you. My recommendation, however, would be for you to start off with a fresh file (though I would keep the "default" for backup), and use what you learn from the HOWTO to create a file that suits your needs.
Enjoy yourself! Samba can be really cool to play around with once you get a basic grasp of its concepts.
Glad to see you're getting the hang of it. Not to be plugging webmin or anything, but a great deal of what I learned about samba configuration was by having webmin do it for me, then checking out the smb.conf file to see what the hell happened :-)
However, there is nothing better than reading the manual. That is really one of the best parts of linux...the documentation is free and thorough, plus the community is always there to answer questions.
Anyway, keep working with it. Samba is a fantastic program (I even have it on my xbox thanks to xebian).
I have a modchip in it which allows me to run linux and therefore samba on my xbox. Its a distro called Xebian made for the xbox. Check out:
if you are interested. I put a bigger hard drive in it and use it as a "server"/backup machine. Plus Xebian comes with freevo, so my music/movie files are accessable via xbox remote through my tv and stereo.
I must say I use my xbox way more now with linux on it than I did for playing games (actually I only played halo 2, but that is a great game).