PDA

View Full Version : kubuntu to kubuntu folder sharing, need help



Noremacyug
Dec 11th 2009, 09:32 AM
ok, i just installed kubuntu 9.10 on both my laptop and netbook. i'm loving the os and have it setup to meet my needs, i'm just needing to learn how to get it to do a few things. first being, folder sharing. i've read some tutorials, posts, etc. but thus far nothing has been helpful. i'm still in the xp mindset of sharing folders so please keep that in mind, i'm still learning here.

so, how do i enable sharing? i've read that it should be native in kubuntu (for a kubuntu network), thus i shouldn't have any need for samba.

please someone that has it working, give me a walk through or point me to such info.

thanks
guy

gorgo
Dec 11th 2009, 10:46 AM
at first you need to install the package kdenetwork-filesharing. then for windows you need samba and for linux you need nfs.

after installed the package. you need to restart computer or kde to get it loading.
then open dolphin and right-click on some folder, choose properties and click on share
and at last click the button configure file sharing. then I think you will understand the rest :)

Detonate
Dec 11th 2009, 11:23 AM
This is the best NFS guide I know of. Easy to follow instructions.

http://mostlylinux.wordpress.com/network/nfshowto/

Noremacyug
Dec 11th 2009, 11:47 PM
Thanks for the replies. I looked over the nfs guide, rather longwinded. I'll give it a shot.

Is there no GUI based setup that is any easier? I thought I read that 9.10 was suppose to make sharing easier. I've even installed many of, if not all of these packages and was able to go to the properies of a folder and enable sharing. But I don't know anything past that.

Forgive me, I'm still in a xp mindset and used to GUI, not terminal.

gorgo
Dec 15th 2009, 04:21 PM
there is a gui to setup sharing between directories in kubuntu, using kdenetwork-filesharing. just use adept or synaptic to get kdenetwork-filesharing installed and also nfs, after that just right click on the folder in your homedir and then choose properties->share-> configure share, and so on, I think you will get it as soon as you see it. its not so hard at all

Noremacyug
Dec 16th 2009, 07:06 PM
Right, I've seen that and know what you're talking about. But how do I access that shared folder from the other computer?

Telengard
Dec 17th 2009, 06:03 AM
If you are using Samba then you can open Konqueror and enter smb:/ into the location bar. That should show the list of SMB workgroups available on your LAN. From there, it works almost exactly as on Windows.

Noremacyug
Dec 17th 2009, 10:11 AM
Not using samba, using nfs. How do I find a shared folder on the network with it?

Noremacyug
Dec 23rd 2009, 03:54 PM
still haven't gotten this to work. any more ideas/help? it's driving me nuts.

Telengard
Dec 23rd 2009, 04:23 PM
I don't really know anything about NFS since my LAN uses SMB shares exclusively.

Try typing remote:/ into the Konqueror location bar and see if anything is there.

Edit: You may find some helpful information in the SettingUpNFSHowTo (https://help.ubuntu.com/community/SettingUpNFSHowTo) article in Community Ubutntu Documentation.

skunk
Dec 23rd 2009, 04:52 PM
As far as I'm aware, there is no announce message in the NFS protocol. You need to setup zeroconf / bonjour / avahi if you want NFS shares to be browseable. You also might want to consider installing autofs to make it easier.

Noremacyug
Dec 24th 2009, 09:52 AM
Thanks for the replies. Do you think I'd be better off just using samba? Is that more like windows browsing between computers or does it still have it's Linux quirks. I just want be able to browse/ move/copy/cut/etc. like I could in xp. I don't want to have to remount a drive every time one computer gets rebooted or anything like that. As awful as I know it sounds, I want it to work as easily as it did with windows. So what's my best option to attain that. At first I thought using nfs would be fine. That's no longer looking to be the case.

I'm hoping that after Christmas I can take some time and really sit down and tackle this. Speaking of....... Merry Christmas and God bless!

Thanks for the the help.

droolius
Dec 24th 2009, 01:03 PM
For those of you having a hard time sharing folders with Dolphine since mine doesn't work and I've seen some posts on the subject. I decided to download nautilus and use that to set my folders to share. After downloading it type nautilus in the command line and it will run. Set your folders and your good to go.
Now you still have to set up samba smb.conf to your workgroup however you want to do it. There is lots of info on that it the documentation.

Hope this works for you. It did for me.

Droo

droolius
Dec 24th 2009, 04:31 PM
I forgot to mention it is nautilus-shares you must install from my last comment.

Telengard
Dec 24th 2009, 05:03 PM
Do you think I'd be better off just using samba?

Not necessarily. I'm sure NFS works great for those who learn how to make it work. I simply have never done so because it is preferable for me to use Samba since all three OSes on my LAN (Kubuntu, Mac OS X, and Windows) support SMB sharing with relative ease.

If you are very comfortable with the Windows way of doing things, and if you have little or no education in computer networking, then
Samba may be a better choice for you. You will still probably have need to use the command line to get things working, and more than likely you'll want to edit smb.conf. If those things seem hard to you then you'll find little comfort in switching to Samba.

THHHB
Dec 28th 2009, 02:19 PM
This is the exact problem I had a few days ago. As far as I can tell, the GUI-way does not work. Even after installing kdenetwork-filesharing, nfs-kernel-server and nfs-common, I could not share a single folder on either machine. However, there is a CLI way that is prety simple to set up.

1. Install nfs-kernel-server and nfs-common on both machines
2. Edit /etc/exports on the server. This is where you provide an entry for each folder you want to share. Could look like this for a folder called share in your /home:

/home/username/share *(all_squash,anonuid=1000,anongid=1000,async,secur e,no_subtree_check,rw)

3. Do


sudo exportfs -ra

on the server.
4. Also on the server, restart nfs

sudo /etc/init.d/nfs-kernel-server restart
5. Now on the client, do

sudo mount servername.local:/home/username/share /mount/point/on/client

This works just fine for me. It does require Step 5 every time you reboot the client, and it makes your share accessible in the whole network.
Both problems can be solved with autofs and portmap:
https://help.ubuntu.com/community/SettingUpNFSHowTo

hth