home networking....

Tez binary_y2k2 at blueyonder.co.uk
Wed Jun 14 04:06:28 UTC 2006


Ron wrote:
> On Tuesday 13 June 2006 9:27 pm, you wrote:
>   
>> Ron wrote:
>>     
>>> Thank you for the response.  I did what you suggested and found samba in
>>> kcontrol.  I changed a few things, but I was mainly flying blind and, not
>>> surprisingly, it didn't work.  Since I found samba in kcontrol, does that
>>> mean that samba is installed?  Do I still need to install Samba?  Also,
>>> when I search for shares in kcontrol, it shows something, but it doesn't
>>> allow me to change anything even if I put in the root password.  If you
>>> would like, I can post screen shots of what I have.  Not sure if that
>>> would be a lot of help to you though.
>>>
>>> Ron
>>>       
>> You will have the samba-client package installed as default but if you
>> want you XP machine to access files on your Kubuntu box then you will
>> need to install the package "samba", you may also want smbclient and smbfs.
>>
>>     
>
> Right on.  I installed the package samba and I can now see the folders that I 
> want to share.  When I double click on the folder, in XP, it asks for a 
> password.  I set the password everyplace that I could find in kcontrol for 
> samba, but it still will not allow me to view the contents of the folder.  
> Does this have something to do with my security level?  Also, what is 
> smbclient and smbfs?  Will I need those to get my Kubuntu box to share some 
> of the files that I need to share?
>
>   
smbclient is kind of like ftp but for samba, it's used by some apps for 
samba, like smb4k,
also when you change your security level, or any setting in samba, 
you'll need to restart
or reload samba, you can do this in some part of kcontrol but I think 
it's easier to do it in
a terminal. Just type "sudo /etc/init.d/samba reload" then check if it 
works after that.
>> When you have installed samba you can configure it in kcontrol, you'll
>> need to set the workgroup you want to belong to (MSHOME is default for
>> XP), set the NetBIOS name (the name of your Kubuntu box) and you can set
>> the server string (equivalent to machine description in XP).
>> Then you will need to set the security level, you will probably only
>> want ether User or Share you can find out more on the different levels
>> at: http://samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SECURITY
>>     
>
> Thank you for that website.  I read it over, but I don't understand those man 
> pages very well.  From what I gathered, I think that I want either User or 
> Share, but I have changed it to both and it still won't let me view the 
> contents of the shared folders.  What am I doing wrong??
>   
In my 2 PC network I use share level security because I don't neet too 
much security as I
know who's using the server. Again I think you need to just reload the 
server.
>> if you have multiple interfaces on your Kubuntu box you may also want to
>> look at "Interfaces" section in the "Advanced" tab and put something
>> like "eth0, lo" and replace "eth0" with your INTERNAL network interface,
>> and check the box where it says "Bind interfaces only"//. This will make
>> samba only listen on the internal network and stop people being able to
>> connect to (or try to connect to) your shares.
>>     
>
> Color me stupid, but what do you mean by "multiple interfaces"?  I just have a 
> DSL modem/router.  Is that what you mean by interface?
>
>   
What I mean is what XP says are "Network Connections".
E.g. on my system I have 1 Ethernet card and 1 USB cable modem, so I 
have 2 interfaces.
My Ethernet card it connected to my XP pc by a network cable, so I don't 
need a router.
My Ethernet card is eth0 as it's the 1st device the system sees when it 
boots up, the cable
modem is eth1. So I want a device asking for a connection from eth0 (the 
home network)
to be able to, but I don't want anyone asking for a connection from eth1 
(Internet) to be
able to access any shares (or even know that I have any). So in the 
"Interfaces" section I
have it saying "lo, eth0" and I have the "Bind interfaces only" box 
checked. This makes it
so samba will only listen for a request on eth0 and lo. lo is the 
"loopback address" same
as 127.0.0.1 so you can connect to yourself basically.

Tez






More information about the kubuntu-users mailing list