LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-14-2004, 12:50 AM   #1
Rajahuroman
Member
 
Registered: May 2004
Location: Romania; Arad
Distribution: Archlinux
Posts: 91

Rep: Reputation: 15
Question about sharing files within a private network


Hello

Where I read somewhere that the fastest method for file sharing would be ftp. I'm now struggling to set up a ftp server and I will eventually do this (but I already started question about this on another thread so I won't put them here also). My question however is another one.

Do any f you know about a more practical way way of sharing files within a local network od type C running only Linux Operating Systems, other than ftp? I mean, some method using mount preferably. Is Samba the only solution?

Please give me your suggestions and maybe some pointers about how to do the things you propose.

Thank you for your time, I know it's valuable.
 
Old 08-14-2004, 01:00 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
nfs
 
Old 08-14-2004, 01:32 AM   #3
Rajahuroman
Member
 
Registered: May 2004
Location: Romania; Arad
Distribution: Archlinux
Posts: 91

Original Poster
Rep: Reputation: 15
I tried logging in as root and running

mount -t nfs 192.168.0.2:/home/rajah /home/danolar/calc2

and I got

mount: RPC: Remote system error - Connection refused

So, can somebody tell me what's next?
 
Old 08-14-2004, 02:00 AM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
You have to first "share" (it is called exporting in nfs) the part of the filesystem from the server.

To do this, modify the /etc/exports (in the server) and run
/etc/init.d/nfs-kernel-server restart
(or "/etc/init.d/nfs restart" in some distributions).

Also portmapper has to be running in both ends of the system. This can be checked by running "rpcinfo -p localhost" and "rpcinfo -p 192.168.0.2". If they are not, starting the portmapper helps. (something like: "/etc/init.d/portmap start" should do it.)

Now running the mount command again should work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing network files between Linux boxes linuxhippy Slackware 23 04-22-2005 07:03 PM
Quick Question on sharing files petergriffin Linux - Networking 5 02-23-2005 06:15 AM
sharing files overe the network naren Linux - Networking 2 03-22-2004 09:48 PM
sharing files over the network naren Linux - Software 1 02-18-2004 12:46 PM
sharing files over the network linuxfan Linux - Networking 3 10-20-2000 04:45 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration