Re: How to create a network between 2 fedora computers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Patrick Boutilier wrote:



Ow Mun Heng wrote:


-----Original Message-----
From: Coume - Lubox.com [mailto:coume.mailinglists@xxxxxxxxx]
Sent: Wednesday, April 21, 2004 5:10 PM
To: Ow Mun Heng
Cc: coume.mailinglists@xxxxxxxxx; fedora-list@xxxxxxxxxx
Subject: Re: How to create a network between 2 fedora computers?



1. Get a Cross Cable
2. setup the Ips of both Pcs
eg: pc1 -> 192.168.0.1/255.255.255.0
pc2 -> 192.168.0.2/255.255.255.0
3. bring up the interface if not up already. /sbin/ifconfig eth0 up
4. try pinging the box
ping 192.168.0.2 (from pc1)
5. That shouls be it..


so exchange data, you could either try scp/ftp/samba/nfs


Hello,
thxs for your quick answer.

Where do I have to set up the IP? is it in resolv.conf?



YOu can try using IIRC /sbin/ifconfig eth0 192.168.0.1 netmask 255.255.255.0

(actually you know what.. scratch that.. I forget..)

use redhat-config-network

to determine if you have a valid ip already.. try
/sbin/ifconfig eth1



Even easier:

On pc1:

ifcfg eth0 192.168.0.1/24


On pc2:

ifcfg eth0 192.168.0.2/24

Not unless you have done something like "alias ifcfg=/sbin/ifconfig"   ;-)















[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux