Results 1 to 4 of 4

Thread: Sharing folders on a Linux-only network.

  1. #1
    Join Date
    Nov 2005
    Location
    Delrico, Florida
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Sharing folders on a Linux-only network.

    This should be the easiest thing in the world, but for the life of me I can't get it to work. I have Ubuntu on every machine on my network (that I care about seeing; just as well if my roommates' Vista boxes can't touch my Linux-y goodness). That is, a desktop connected by wire to the router (D-Link DI-524) running Hardy, a laptop connected wirelessly running Hardy, and a laptop connected wirelessly running Intrepid. (I've tried adding wires to the laptops to no noticeable effect.)
    I have tried every tutorial I could find on these forums and beyond, but they're all focused on getting Windows boxes to see Samba shares or Samba to see Windows shares, neither of which I care about and none of which worked to make Samba see Samba shares. How far I can get in Nautilus appears to change randomly - sometimes I click "Network" from the Places menu and nothing happens, other times I can go into the workgroup and see all the computers but they're all empty when I click on them (despite having multiple shared folders). My workgroup is "WORKGROUP," the computers all had valid hostnames defined during installation (desktop is "Stationerybob", laptops are "Spottedbob" and "Thinkinbob" respectively), and my router has static IPs assigned to my Linux boxes. I have Samba, smbfs, and SWAT (which doesn't work, by the way - "swat" and "sudo swat" in terminal do nothing) installed. I tried turning the firewalls off (sudo ufw disable), but again that made no difference.

    But the most bizarre (and frustrating) thing is that if I boot into the WinXP x64 installation on my desktop, the laptops can see shared directories from it! So I seem to have no issue with that apparently difficult problem of getting Linux and Windows to cooperate, but I can't get Ubuntu to cooperate with itself. Any ideas? Ideally something human-friendly - I mean, ssh servers are an option I suppose but if that really the only way then I'd appreciate it if someone could point me in the direction of a howto on that...

  2. #2
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: Sharing folders on a Linux-only network.

    I usually use NFS:
    http://www.ubuntuforums.org/showthread.php?t=249889

    It doesn't really answer your samba problem though but it is another way to share files in Linux but won't really work with Windows. Sorry.

  3. #3
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Sharing folders on a Linux-only network.

    The problem might be there is no master for your work group. Add these to one of the samba configs -- so that machine will be the master.

    Code:
    local master = yes
    os level = 33
    domain master = yes
    preferred master = auto
    wins proxy = yes
    browseable = yes

  4. #4
    Join Date
    Nov 2005
    Location
    Delrico, Florida
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Sharing folders on a Linux-only network.

    Hmm, I tried what you said iponeverything, no luck. Nautilus will open the "Network" window, in which there is an item called "Windows Network", but it's empty, even after a reboot. Also tried
    Code:
    sudo /etc/init.d/samba stop && sudo /etc/init.d/samba start
    a few times with no luck. I've attached my smb.conf; I followed this guide, but it is pretty out of date. Irritatingly, though, "sudo dpkg-reconfigure samba" refuses to generate a new stock smb.conf, and my old one from before that tutorial is so messed up I doubt it'd be much use to go back to.
    Attached Files Attached Files

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
  •