Connecting two linux PCs with crossover cable
hi,
i want to connect two laptop over crossover cable.one prot of laptop is connected to router through ethernet 0 and another laptop (Install Ubuntu 7.04) with ethernet 1.so I can transfer some files, and have an internet connection on the second one.Any recommendations and suggestions are appreciated.
Re: Connecting two linux PCs with crossover cable
Crossover cable since the interfaces are of same type:
Now if you could tell me what os you are using , it would have been easy NEways.don't plug the cat5 till u've set up both the machines.I prefer class C address so I am using it (U can use any if u want as long as u know wat u are doing)Go to Start > control Panel > network connections,Right Click on LAN and select properties.Under General Tab, Select Internet Protocols(TCP/IP) and then click on properties button(below it).I've attached a screen shot. DONT fill up the DNS part,Now u only need three things to get it working.
IP Address :192.168.1.7 and 192.168.1.8
Subnet : 255.255.255.0
Default Gateway : 192.168.1.1
when you have done this on both the machines. Disable any firewalls.plug-in the two cat5 jacks,Try to ping from each system to the other one.and check the connection.
Re: Connecting two linux PCs with crossover cable
hi,
You need to give manually assign the IP address. Say PC1 set the IP as 10.10.10.1 Subnet mask 255.255.255.0 and PC2 as 10.10.10.2 subnet mask 255.255.255.0Check after giving that.
Re: Connecting two linux PCs with crossover cable
i want to share files between them. how do i do so? need to use nfs?It's relatively easy to share files on Linux. You can do it many different ways. For example, you could set up an SSH server, and then you could transfer files via SFTP (very similar to FTP). Or, you could install Samba and share over SMB. NFS is probaby the easiest to use, so maybe you should try that.