Announcement

Collapse
No announcement yet.

Sharing folders - stumped

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sharing folders - stumped

    I've spent six hours so far trying to figure out how to share a directory between two kubuntu boxes.

    Situation: wired network. Both machines have internet. Box 1 has 9.1 installed. Box 2 has a failed 9.04>9.10 upgrade (and an XP partition) and won't boot Linux. A live CD will boot and I can see all my files. I posted my situation on the Boot issues forum and have had no replies, so I want to copy /home directory over the network from box 2 to box 1 and wipe the partition to install 9.1 from zero.

    I've been following the NFS howto on Little Girl's Mostly Linux Blog but get the error "/home/ubuntu does not offer nfs support".

    Is there a better way to do this?

    I've successfully set up samba shares before, that was a piece of wees. I cannot believe I'm having so much more trouble getting linux to talk to linux than linux to Windows!

    Oh yeah, the HDD in Box 1 is IDE and the one Box 2 is SATA, otherwise I'd be done now

    Thanks for any help!
    Matt

    #2
    Re: Sharing folders - stumped

    I share files between machines using FTP. On one Linux box I've installed proftpd and then I can access that machine from any machine which can run an FTP client. All MS-Windows and Unix/Linux machines that I've seen have an excellent FTP client available from the command line. From a Linux box, Konqueror is also very good if you like drag and drop. MS-Windows has a good GUI FTP client too, but I don't know what it is called. BTW, if you do decide to try proftpd note that you want to choose "standalone" in the install options.

    PS: Many people use samba, but I just thought I'd talk about something I understand since it is also a solution.

    - Ole

    Comment


      #3
      Re: Sharing folders - stumped

      Originally posted by Ole Juul
      PS: Many people use samba, but I just thought I'd talk about something I understand since it is also a solution.
      - Ole
      So can I use Samba to go Linux<>Linux or does there have to be a Windows box in there? All info I find on Samba is Windows-related, so I assume that's what it was designed for.

      Comment


        #4
        Re: Sharing folders - stumped

        the home your trying to share. (from the live disk)

        is not the home you want, first off you will need to mount your internal HD. (look in dolphin on the right and click it to mount the drive). after mounting, note the path of the drive should be some thing like /media/disk , then try to share /media/disk/home (assuming /media/disk is the mount point). from a live cd you have not hd mounted the "hd" it sees where /home/ubuntu is located is on a ram disk.

        it might accually be faster to set up an ssh server on the box booted from the live cd then run on your client

        scp -r ubuntu@<serverip>:<path to folder you want>/* <path on client to save>
        Mark Your Solved Issues [SOLVED]
        (top of thread: thread tools)

        Comment


          #5
          Re: Sharing folders - stumped

          Originally posted by sithlord48
          the home your trying to share. (from the live disk)
          is not the home you want, first off you will need to mount your internal HD.
          Aah, crucial info - would not have thought of this!

          it might accually be faster to set up an ssh server on the box booted from the live cd then run on your client

          scp -r ubuntu@<serverip>:<path to folder you want>/* <path on client to save>
          I'll try this - busy at the mo but have time over the holidays to sort this out. Looking forward to the end of my Windows purgatory!

          I'm still a little fuzzy on whether you can use SMB shares to go from Linux<>Linux

          Thanks for help!
          Matt

          Comment


            #6
            Re: Sharing folders - stumped

            I'm still a little fuzzy on whether you can use SMB shares to go from Linux<>Linux
            Yes.

            But, personally, I prefer to move files from box to box with sftp from the command line. Install the openssh client and server packages. I use Samba only when I have to transfer something to my wife's windoze box.

            Comment


              #7
              Re: Sharing folders - stumped

              Samba may seem hard to setup, but it really isn't Kubuntu 8.04 Hardy Heron has a nice GUI tool named File Sharing in System Settings which makes it even easier, but I know that doesn't really help you on Karmic.

              The easiest thing to do is enable Samba's default Homes share, which only requires two simple edits of /etc/samba/smb.conf. The Homes share enables you to access the home directory of any Kubuntu user by name, which is what most people would want to do anyway.

              Read the Setting Up Samba article in Community Ubuntu Documentation for detailed instructions.
              Welcome newbies!
              Verify the ISO
              Kubuntu's documentation

              Comment

              Working...
              X