Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, first of all, i m sorry that i have already posted one similar thread which i can't seem to be able to delete. can any one please tell me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Sep 2006
    Posts
    175

    Connecting two Fedora pcs with one crossover cable


    Hi,

    first of all, i m sorry that i have already posted one similar thread which i can't seem to be able to delete. can any one please tell me as how to delete a thread if its irrelevant.

    i have two pcs both having fedora core 5 linux. both are single boot systems ie only linux on them no windows. none of them is gonna be connected to the internet. so this is just a small home network. only the 2 pcs talking to each other only. no more pcs are gonna be added to this network as well. i have one crossover cable to connect these 2 pcs. don't have a router/switch. i want to share files between them. how do i do so? need to use nfs? struggling to get hold of any decent tutorials/step by step guides- on the net particularly with regard to fedora 5. please guide me. thanks.

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Not really sure, but a least to give you a clue
    Connect them, set some internet "safe" ips, and mount with
    Code:
    mount -t nfs ///<nameofthecomputer>/<name of the share> /media/shared1
    ps: Be sure your firewall is not blocking communication between the two computers
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Yes, you want to use nfs to share files between 2 Linux boxes. Before you can do anything, though, you need to make sure your boxes can see each other. Is networking configured on both machines? If you do 'ifconfig eth0' on each machine, does it show the IP address, netmask and all the rest? Can you "ping" each machine from the other? This is most of what you need, pretty much in order:

    1. working network card with correct module loaded ('ifconfig')
    2. correctly configured network address, etc. ('ifconfig')
    3. correct route table ('route')
    4. open firewall ports ('iptables')
    ('ping' should work, now)
    5. nfs server configured and running on the machine with files to share
    ('mount -t nfs server:/share/directory /client/mountpoint' should work, now)
    ...and to make mounting of nfs shares automatic:
    6. a directory mount point to mount the share to ('mkdir')
    7. a correct entry in /etc/fstab

    Say how far you've got and we'll go from there.
    /IMHO
    //got nothin'
    ///this use to look better

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! DNIS's Avatar
    Join Date
    Oct 2006
    Location
    PimpVille
    Posts
    14

    Exclamation Private addressing

    You probably know this but to be on a safe side use:
    PC1: 192.168.0.5 255.255.255.0
    PC2: 192.168.0.6 255.255.255.0
    or if you hate 192
    172.25.0.5 / .6 will work also

Posting Permissions

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