LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-19-2007, 06:11 AM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
home network questions


Hi again, beginning to think that I'm an addict of linux. Running slackware 11 and would like to access my little home network. I have Ipcop as my firewall (an old optiplex computer), I have ClarkConnect on my home server - where I store most of my files, main computer (girlfriends computer) is a dell dimension with Xp on it, sorry to say windows lives for the moment, I have this one which is slackware 11, and finally a play computer with fedora 6 core on it. All my network is behind the firewall. Ip addresses are static for obvious reasons. On windows I can use winscp for access to my file system on ClarkConnect. On slackware, I thought I would use C onqueror being already installed as standard. Not too familar with the home network process on linux. Anyway, when I click on the samba share files icon - my windows computer comes up - no problem. How do I get at my server ClarkConnect, so that I can transfer files from this computer, how do I include this computer on the network and fedora 6core?

As always, appreciate any help I can get on this subject.

bookie

Last edited by bookie; 05-19-2007 at 06:12 AM.
 
Old 05-19-2007, 11:02 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,189

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Linux to linux file sharing is much easier with NFS than Samba. If you want to simplify things, look at the tutorials on NFS under networking on this board. NFS will work with winders also, but its payware to make it work on windoze.

Any way,
Quote:
I thought I would use C onqueror being already installed as standard.
Konqueror works well with windoze file sharing. In the location bar, the syntax is :

smb://workgroupname or

smb://servername/sharename

Either will work, the first will show all shares on a given workgroup. The second will connect to a specific share.

Other things to consider, I don't know what type of security you are using. You can set samba up without passwords, just like it will work with windoze, or you can set it up with users and passwords. If you have Users and passwords, then make sure you have added the user to samba, and you know the password.

Hope this helps.
 
Old 05-19-2007, 02:20 PM   #3
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Thanks Camorri

You have given me a little to work with - thanks. I have solved the problem of transferring files to my server with the gftp file transfer protocol. Haven't looked at the security issues that go with that program yet. I am going to take a look at NFS and see how that can help me. Even though I can get at my windows computer through samba - there appears to be some problem with it. Tried to open samba to check settings - couldn't open it due to no smb.conf being found?! Seems a bit strange that I can use samba for connection to my windows computer, but can't find the smb.conf when I try to open samba?
I would appreciate any thoughts on this.

bookie
 
Old 05-20-2007, 07:32 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,189

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
If you do not have the file /etc/samba/smb.conf my guess is you do not have the server code installed. You have only the client code.

Samba server will not start without it. Just in case it is in some strange location, open a konsole, as root do an 'updatedb' That will take a few minutes to complete if it has never been run. Then do a 'locate smb.conf' If you do not fine it then, use your package manager and install samba server.

If it was not installed, you will have to configure it. Look in the networking tutorials for some guidance. There are a ton of opions, and it can take some time to get it set up as you wish.
 
Old 05-20-2007, 09:23 AM   #5
Brad.Scalio@noaa.gov
Member
 
Registered: Jan 2007
Location: Washington DC
Distribution: RedHat & spins ... Fedora, CentOS, Mandriva
Posts: 82

Rep: Reputation: 15
try this link:

http://ubuntuguide.org/wiki/Fedora_fc5#Samba_Server
 
Old 05-20-2007, 09:27 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
reply

Thanks again for all your help. I will post the result at a point in the near future - I hope. Must give my girlfriend some attention at times - plus the weather is starting to improve, so one will come out into the day light occasionally.
bookie
 
Old 05-20-2007, 09:44 AM   #7
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Thanks

Thanks to you as well Brad Scalio. It isn't fedora that I am having a problem with at the moment, but I certainly can use that info when I add my fedora 6 core to the home network.

bookie
 
Old 05-20-2007, 10:01 AM   #8
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Camorri

I did an updatedb as suggested - took some minutes as you said. I then did the search for smb.conf and this is the result of that search:
root@Nollan:~# updatedb
root@Nollan:~# locate smb.conf
/etc/samba/smb.conf-sample
/usr/doc/samba-3.0.25/examples/LDAP/smbldap-tools-0.9.2/smb.conf
/usr/doc/samba-3.0.25/examples/dce-dfs/smb.conf
/usr/doc/samba-3.0.25/examples/tridge/smb.conf.WinNT
/usr/doc/samba-3.0.25/examples/tridge/smb.conf
/usr/doc/samba-3.0.25/examples/tridge/smb.conf.vittjokk
/usr/doc/samba-3.0.25/examples/tridge/smb.conf.fjall
/usr/doc/samba-3.0.25/examples/tridge/smb.conf.lapland
/usr/doc/samba-3.0.25/examples/smb.conf.default
/usr/man/man5/smb.conf.5.gz
/usr/share/swat/help/manpages/smb.conf.5.html
root@Nollan:~#
The thing I am not sure about is - where should I find the smb.conf? I have several instances of smb.conf but really don't know if any of them are relevant?
Do you think you could shed some light on the matter.

bookie

As a senior member, I wondered if you knew a good author who has written a good book for beginners about linux?
 
Old 05-20-2007, 11:12 AM   #9
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi Camorri

I have been testing a few things in regard to samba. I did notice that there was a /etc/samba/smb.conf-sample in the print out that I posted, so I pointed kde towards that file when trying to open samba. You can tell me if that was right or wrong. Going to do a bit of reading about samba settings.

bookie
 
Old 05-20-2007, 07:37 PM   #10
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,189

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
It would appear you do have samba server installed. The normal place to find the config file is /etc/samab/smb.conf , at least that is where it is on Mandriva and various Ubuntu systems I have used it on.

All those files in the /usr/doc path are just examples, samba doesn't look there when started.

This one; /etc/samba/smb.conf-sample is a sample file you can copy and then edit as required. Just a guess, but it looks like you never made a /etc/samba/smb.conf file. Then the server is running on defaults. I don't know what they are, there are so many. Best thing for you to do is spend some time and configure it.

There is a lot of documentation on samba, there are many things it can do. There are also tutorials on samba. This is all assuming you have files on a linux system you want to share to windoze machines.

Have you installed swat? If not, you might find it easier to install swat, and use the tools and doc to help you get your configuration going. Here is a link to a very good doc I use any time I have samba questions.

http://us1.samba.org/samba/docs/using_samba/toc.html

Hope this helps.
 
  


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
Is this a secure way to set up a home network (with network storage) ? phildacey Linux - Security 2 08-24-2006 05:25 AM
Setting up a home network - several questions tireseas Linux - Networking 3 01-28-2005 02:22 AM
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 09:26 PM
Home Network Similar to Work Network Boffy Linux - Networking 2 08-05-2004 07:52 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

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