LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2005, 05:24 AM   #1
tableyou
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
basic running of samba n configuration


erm hi there,
im abit blur on where to find the samba file to install,and how to activate it
i downloaded the latest version of samba on to my desktop.
i do not know which directory to run the file and find the file...
can someone help me .

yep thks alot
 
Old 11-09-2005, 07:15 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Samba is a service that starts when you boot up your computer. Your first step is to configure samba. The easiest way to do this is to install "swat" which provides web based configuration and links to the samba documentation on your system.

You will also need to enable the service to start when you boot the computer. For some distributions, there is a GUI configuration program where you can start by clicking on a "Samba" server icon. The configuration dialog will gather the information needed for the smb.conf file and should set it to start automatically. Also, it should adjust your firewall on the local interface to allow it to work.

You haven't supplied any information on which distribution you are running. You will want to supply this information and maybe a short description on what you want to do and something about your network. For example, do you want to have a share the anyone can use? Do you want to access your home directory from another computer, or do you just want to share a printer.
 
Old 11-09-2005, 07:49 AM   #3
tableyou
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jschiwal
Samba is a service that starts when you boot up your computer. Your first step is to configure samba. The easiest way to do this is to install "swat" which provides web based configuration and links to the samba documentation on your system.

You will also need to enable the service to start when you boot the computer. For some distributions, there is a GUI configuration program where you can start by clicking on a "Samba" server icon. The configuration dialog will gather the information needed for the smb.conf file and should set it to start automatically. Also, it should adjust your firewall on the local interface to allow it to work.

You haven't supplied any information on which distribution you are running. You will want to supply this information and maybe a short description on what you want to do and something about your network. For example, do you want to have a share the anyone can use? Do you want to access your home directory from another computer, or do you just want to share a printer.

hey thks for replyin=)
i wanna do file,internet,print sharing
im using mandriva2005,i wonder which version is it...10.1?or 10.2
 
Old 11-10-2005, 06:50 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I don't have Mandriva, but I have used Mandrake in the past. There is a package that you can install the adds a server section of MCC. From there you can configure Samba. Unfortunately I'm not sure of the exact name of the package.
I think it is "wizdrake". If you do a search for a package with the characters "wiz" in them, then I think you can find it.

There are several ways you could configure samba. I think the easiest way would be to install the swat package if you haven't already. The opening page of swat has links to webpage man-pages on your system, as well as 2 reference books that have sample configurations. Another way is to use web-min. Webmin is a web based configuration system. It is what some people use instead of MCC to configure everything. Being web based, you can configure different computers from 1 computer using the same interface. You could also use the mandrake Samba configuration wizard, or edit the configuration file directly.

To share the internet, you need to the network configuration. It is the "gw" section that deals with masquerading (NAT). These are the samba references that I spoke of:

Using Samba, 2ed. - by Jay Ts, Robert Eckstein, and David Collier-Brown
The Official Samba HOWTO and Reference Guide
Samba 3 by Example
The Samba Developer Guide

The "Samba 3 by Example" will contain examples of various configurations. One of them should match very closely to what you want to do.

Lastly, you access swat by pointing your web browser to "http://localhost:901"
Then enter root as the user and the root password. There is also a cups interface at "http://localhost:631" to add a network printer on a remote linux system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic configuration check knoxlinuxuser Linux - Newbie 3 02-25-2005 08:07 AM
Enlightenment basic configuration jdier Linux - Software 0 12-27-2004 12:10 PM
Need help with basic sendmail configuration aznluvsmc Linux - Networking 1 12-03-2004 11:55 AM
Basic mysql configuration noahzenzen Linux - Newbie 6 07-08-2004 12:05 PM
proftpd configuration ...not so basic... zavajon Linux - Software 3 09-14-2003 06:48 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration