Find the answer to your Linux question:
Results 1 to 3 of 3
hi there it's possible to share files between 2 pc's in different networks? i've installed 3 pcs with the following names: ubuntu, debian2, debian. the ubuntu-box recives internet form a ...
  1. #1
    Just Joined! vikko's Avatar
    Join Date
    Mar 2008
    Location
    Argentina
    Posts
    11

    sharing files between networks

    hi there

    it's possible to share files between 2 pc's in different networks?

    i've installed 3 pcs with the following names: ubuntu, debian2, debian.
    the ubuntu-box recives internet form a router and shares it by cross-over with debian2-box; which shares it with debian-box.

    so, i wonder if it's any way to share files between the ubuntu and the debian-box.

    i'm using nfs, and ive tried to made a sharing chain, but it didn't work. (when trying to mount shared folder in debian it returns me perrmisson denied error)

    how can i do it? it's possible?

    thanks in advice

    VIKKKKO

  2. #2
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    Well it is time you read the manual
    NTS or Samba is the way to go. It is too much to cover in a short note, but you have to be superuser (root) to export and mount filesystems.
    Generally as root you simply add to /etc/exports file those filesystems to be exported, and as root on the other machines you simply mount the exported file systems to a local mount point (i.e.: directory name) aka:
    "mount -t nfs debian2://filesystem-path/filesystem /localfile-system"

    You have to have rpc running on each machine.

    Use "rpcinfo -p hostname" to see that rpc services are actually running, and you may try "telnet hosthame port" to check that the services are getting thru the remote firewall(s).

  3. #3
    Just Joined! vikko's Avatar
    Join Date
    Mar 2008
    Location
    Argentina
    Posts
    11

    Cool

    i'm sorry wildpossum, i think i haven't explained the issue so well

    what i'm talking about, is sharing files between two DIFFERENT networks

    machine called debian2 has 2 eth cards, each pointing to a different network.

    box called debian is conected to one of these networks, and box called ubuntu, to the other one.

    debian2 could share by NFS, files, and internet to other boxes.

    i'm wonder how to share files between box called debian and box called ubuntu.


    the permission denied i've talked about, i think it's just because file system i'm trying to mount doesn't exists

Posting Permissions

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