LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   home network questions (https://www.linuxquestions.org/questions/linux-newbie-8/home-network-questions-555100/)

bookie 05-19-2007 05:11 AM

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:confused: 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

camorri 05-19-2007 10:02 AM

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.

bookie 05-19-2007 01:20 PM

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

camorri 05-20-2007 06:32 AM

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.

Brad.Scalio@noaa.gov 05-20-2007 08:23 AM

try this link:

http://ubuntuguide.org/wiki/Fedora_fc5#Samba_Server

bookie 05-20-2007 08:27 AM

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

bookie 05-20-2007 08:44 AM

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

bookie 05-20-2007 09:01 AM

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?

bookie 05-20-2007 10:12 AM

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

camorri 05-20-2007 06:37 PM

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.


All times are GMT -5. The time now is 02:13 AM.