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 ...
- 06-09-2008 #1
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
- 06-09-2008 #2
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).
- 06-10-2008 #3
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


Reply With Quote
