Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page sharing files between networks
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 06-09-2008   #1 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Argentina
Posts: 10
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
vikko is offline   Reply With Quote
Old 06-09-2008   #2 (permalink)
Just Joined!
 
wildpossum's Avatar
 
Join Date: Apr 2008
Location: Sydney/Australia
Posts: 85
Send a message via Skype™ to wildpossum
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).
__________________
Grahame
AMD Phenom(QuadCore), 8GB ram, 3ware RAID6, HD3850(512MB) ...etc.
wildpossum is offline   Reply With Quote
Old 06-10-2008   #3 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Argentina
Posts: 10
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
vikko is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 04:36 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0