Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Simple folder sharing between Ubuntu computers

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Beans
    1,117
    Distro
    Kubuntu 16.04 Xenial Xerus

    Simple folder sharing between Ubuntu computers

    Have followed the share files and folders with other compuers , which I must say is not very comprehensive.

    Are there other docs or 'how-to' to make one folder on a Ubuntu computer available (full access) to another Ubuntu Computer, across the LAN.

    I tried what was stated in that link, and got the following msg:

    'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running.
    I ticked the "allow other people to write into this folder'.

    I have the following packages installed

    libsmbclient
    nautilus-share
    samba-common
    smbclient

    The permissions on the folder are for others to 'create and delete files' at the folder access level.

    Oygle

  2. #2
    Join Date
    Sep 2006
    Location
    New Zealand (West Coast,
    Beans
    107
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Simple folder sharing between Ubuntu computers

    Quote Originally Posted by oygle View Post
    ...
    which I must say is not very comprehensive
    ...
    I think it is comprehensive, it just doesn't apply to Ubuntu 8.10 - which I presume you are using.

    From my experience the Ubuntu community is obsessed with wireless networking so responses to wired networking problems are few and far between.

    I regard the latest version of Ubuntu to be a terrific operating system (after using Windows up until about 6 months ago and as near as dammnit from day 1, except for a short excursion into OS/2), except that networking is broken.

    No matter what I do I can't get two PCs with fresh installs of 8.10 to talk to each other and share folders or, for that matter, for either if them to talk to 2 other PCs running Windows or for the Windows PCs to talk to them.

    Meanwhile the Windows PCs chat to each other quite happily.

    The new network manager in Ubuntu 8.10 has been widely applauded, but it doesn't work for me. This is no help to you, of course, but atleast you know you are not alone.

    Good luck.

    Ubuntu 8.1 Intrepid Ibex

    AMD Athlon X2 64 4800+
    Asus M2N-ME SX Plus motherboard
    Samsung 500Gb HDD Sata II (drive a)
    Western Digital 250Gb HDD Sata (drive b)
    2x1Gb DDR2 667 RAM
    Genius 5.1 Value Soundcard
    nVidia GeForce 6600 256Mb PCIe graphics card

  3. #3
    Join Date
    Dec 2005
    Beans
    1,117
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: Simple folder sharing between Ubuntu computers

    Quote Originally Posted by b9k9kiwi View Post
    I think it is comprehensive, it just doesn't apply to Ubuntu 8.10 - which I presume you are using.
    Okay, I'm trying to get from 8.04 to 8.10 via dialup.

    Quote Originally Posted by b9k9kiwi View Post
    From my experience the Ubuntu community is obsessed with wireless networking so responses to wired networking problems are few and far between.
    Well, that may help me in the future. Can't get adsl here and can't get a wireless going until I upgrade to 8.10 (all the stories I have seen is that the usb wireless modem I have is a breeze with Intrepid).

    But, yes, not much wired help. I did find a bug, see Bug #128548 in samba (Ubuntu): “Enable net usershare?”

    Quote Originally Posted by b9k9kiwi View Post
    I regard the latest version of Ubuntu to be a terrific operating system (after using Windows up until about 6 months ago and as near as dammnit from day 1, except for a short excursion into OS/2), except that networking is broken.
    I'm trying to get XP going on a dodgy HDD, and 8.04 can see it okay, using workgroups and windows networking. But that 8.04 computer can't see the other 8.04 computer, so yes, LAN networking is not real good between 2 Ubuntu boxes.

    Quote Originally Posted by b9k9kiwi View Post
    No matter what I do I can't get two PCs with fresh installs of 8.10 to talk to each other and share folders or, for that matter, for either if them to talk to 2 other PCs running Windows or for the Windows PCs to talk to them.
    When I wanted Ubuntu 7.? to talk to Windooze, all I installed was:

    samba-common
    smbclient

    I think. The 'trick' was to specify the windows workgroup name in the file smb.conf. Then I could see any Win shares in Nautilus.

    There seem to be many threads on 'peer to peer' between Win boxes, but not much, as you say, on doing it with Ubuntu.

    Quote Originally Posted by b9k9kiwi View Post
    The new network manager in Ubuntu 8.10 has been widely applauded, but it doesn't work for me. This is no help to you, of course, but at least you know you are not alone.
    That new network manager has been applauded, yes, and I hope it works to get the wireless going (when I get all the .debs for Intrepid that is) soon.

    Are there any messages in syslog or similar, when you try to access a Ubuntu share ? From memory, when I was having some Samba problems, installing smb4k solved a lot, and I _think_ I had to have it running, to get any of the Samba stuff going.

    Oygle

  4. #4
    Join Date
    Sep 2006
    Location
    New Zealand (West Coast,
    Beans
    107
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Simple folder sharing between Ubuntu computers

    I have cruised a number of Ubuntu techno-geek sites and discovered the following (which worked for me);

    Go to Places/Computer.

    Open the 'Go' menu and click on 'Location...'.

    Type in smb://x.x.x.x (where x.x.x.x is the ip number of the computer you wish to connect with) and press Enter.

    The Shares on the other computer should now appear in Nautilus and, it seems, will persist (i.e. remain displayed in Places/Computer after a reboot).

    This will do for me for now, I wonder if it will do for you.

  5. #5
    Join Date
    Jun 2008
    Beans
    19

    Re: Simple folder sharing between Ubuntu computers

    as oygle said, the trick is to specify the workgroup name in smb.conf. I have 2 dualboxes, one with fedora/xp and the other with ubuntu/xp and with all the os' in the same workgroup, I have almust no network problems with any combination... I say almust because I cant print when the printing host is xp and the guest is ubuntu, but I can browse the shares from any box with no problems.

  6. #6
    Join Date
    Dec 2005
    Beans
    1,117
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: Simple folder sharing between Ubuntu computers

    Quote Originally Posted by horacle View Post
    as oygle said, the trick is to specify the workgroup name in smb.conf. I have 2 dualboxes, one with fedora/xp and the other with ubuntu/xp and with all the os' in the same workgroup, I have almust no network problems with any combination... I say almust because I cant print when the printing host is xp and the guest is ubuntu, but I can browse the shares from any box with no problems.
    horacle, so you can browse between fedora and Ubuntu, no problems, that's interesting.

    Pity that all this relies on a name like a 'workgroup', it's so, errr, .. Windows. I would have thought that if it was Linux <---> Linux sharing, then it would not have to rely on such terminolgy.

    I know one Ubuntu box has the workgroup name the same as the XP, and I can browse a shared XP folder. I will check smb.conf in the other Ubuntu computer, and make sure the workgroup is the same.

  7. #7
    Join Date
    Dec 2005
    Beans
    1,117
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: Simple folder sharing between Ubuntu computers

    Quote Originally Posted by b9k9kiwi View Post
    I have cruised a number of Ubuntu techno-geek sites and discovered the following (which worked for me);

    Go to Places/Computer.

    Open the 'Go' menu and click on 'Location...'.

    Type in smb://x.x.x.x (where x.x.x.x is the ip number of the computer you wish to connect with) and press Enter.

    The Shares on the other computer should now appear in Nautilus and, it seems, will persist (i.e. remain displayed in Places/Computer after a reboot).
    This does work, and for me, has always worked for doing this ..

    Ubuntu ------> Windows share

    I can use the format 'smb://x.x.x.x' in Nautilus, Konqueror, KDiff3 and other tools, to access a Windows share, no problems.

    BUT, I'm trying to access a Ubuntu share, well, back one step, I need to first setup a Ubuntu share, which I can't.

    From that bug page, it seemed to be an ACL problem. The Samba people seemed to have it fixed, but it either hasn't filtered down to Ubuntu, or I'm missing something.

    Oygle

  8. #8
    Join Date
    Dec 2006
    Beans
    1,133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Simple folder sharing between Ubuntu computers

    For file sharing between linux (or other unix-like) systems a very simple method is to install openssh-server on the system with the desired files (or on all systems). Then from other systems you can access the files by Main Menu/Places/Connect to Server, select SSH as server type, fill in host name or ip address of the target system & click Connect. You will be prompted for a user name & password and will then get a file browser window opened as if you were a user logged in on the target system.

    Another program, sshfs, if installed on all client systems, will allow a remote system running ssh server to be mounted to a local mountpoint directory similar to how a disk is mounted. It can then be accessed through that mountpoint just like a local disk, using any command line program or file browser.

    Lots of people like nfs for filesharing between unix/linux systems also.
    Last edited by lswb; December 18th, 2008 at 10:30 PM.
    There are no dumb questions, just dumb answers.

  9. #9
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Simple folder sharing between Ubuntu computers

    Last edited by Iowan; December 19th, 2008 at 12:41 AM.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  10. #10
    Join Date
    Jul 2008
    Location
    Netherlands
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Simple folder sharing between Ubuntu computers

    Quote Originally Posted by oygle View Post
    Have followed the share files and folders with other compuers , which I must say is not very comprehensive.

    Are there other docs or 'how-to' to make one folder on a Ubuntu computer available (full access) to another Ubuntu Computer, across the LAN.
    I ticked the "allow other people to write into this folder'.
    I just tested it with my 8.10 desktop.
    Did choose the "allow other" option, then the question was whether i wanted to allow nautilus to make those changes, i clicked yes.

    Then i checked the permissions of that folder, and it was now 777.
    (Not very cool, the 777 hmmm

    And.. it worked. From my netbook with 8.04 i could connect and create a new folder in it.

    (I assume you connected succesfully before ?
    I had to make a samba user before it worked at all,
    didn't see that in the howto you linked to.)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •