Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-02-2005, 10:42 AM   #1
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Setting up Samba under 5.0.4

I'm a beginner with Linux and am trying Ubuntu 5.04 after giving Fedora a go. My problem is always the same; trying to get Samba to work. The only time I ever succeeded was with Fedora Core 1 then never again.

Anyway, I used synaptic to install Samba on Ubuntu and it said the installation was successful. I then re-booted (Windows habits die hard!) but I can't get the Linux box to see the Windows boxes or vice versa.

All of the users have the same names and respective passwords on the different machines and they are all under Workgroup.

I think I may be missing something in the configuration steps, maybe not using the correct syntax to name a machine or something in trying to set up the Samba shares on the Linux machine.

Can anyone help me on this? At this point, I'm just thrashing around.

Old 07-03-2005, 09:59 PM   #2
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
I find that the best way to use SAMBA between Linux - Linux or Linux - Windows is to use IP Addresses rather than names, unless you have a good domain system set up?

Before you can use Samba, you need firstly to start the Samba service when you want it, or at boot time.

These (may not be exact..?):
/etc/init.d/smbfs start
/etc/init.d/samba start
/etc/init.d/samba-server start
will start certain parts of SAMBA for you.

Once started, any changes you make to /etc/samba/smb.conf, need to be put in place by restarting the service - just swap the word "start" with "restart" above.

If you are having more specific trouble, ie - with your smb.conf file, perhaps you could post it here? Or search the forum for more specific details. But generally as long as you and your windows machines are in the same workgroup, same subnet, and can ping one another - samba should work.
Old 07-04-2005, 12:37 AM   #3
LQ Newbie
Registered: Nov 2004
Location: Malaysia
Posts: 5

Rep: Reputation: 0
there's a section on samba here:

If you have prob seeing windows machine from linux, try this method:

above that, make sure you have configured your network correctly. try ping the network/windows machine


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
setting up samba true_atlantis Linux - Newbie 1 05-28-2004 07:53 AM
Help setting up Samba? snakeo2 Linux - Newbie 17 03-25-2004 07:32 AM
Setting up Samba Inexactitude Linux - Networking 1 10-29-2003 11:08 PM
Setting up Samba fettouhi Linux - Newbie 14 08-05-2003 08:43 AM
Setting UP samba ??? chienchie Linux - Networking 3 07-23-2003 10:19 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:58 AM.

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