Hi,Is it possible to connect 2 Linux pcs with a crossover cable? If yes, then can one of the 2 pcs become a server and another a client after doing some settings? Thanks
Is it possible to connect 2 Linux pcs with a crossover cable? If yes, then can one of the 2 pcs become a server and another a client after doing some settings? Thanks
Thanks guys,Loooks like it is a possible scenario with one pc being Windows based and another Linux based, this is so cool to know. IIt would love to set up a client server network with these 2 Linux pcs to learn other networking concepts such as DHCP, Print server, mail server, file server, web server, ftp server etc. I am sorry but would like to know whether all these set ups will be possible in my case with only 2 Linux pcs connected with a crossover cable, thanks guys, your guidance is truly appreciated....
Hi I am try to connect 2 Fedora Machines and Following is the Procedure I doneI use name for Machines are A and BStep 1: Edit File vim /etc/sysconfig/network-scripts/ifcfg-eth0 and Enter Details For Machine ADEVICE="eth0" HWADDR="" BOOTPROTO="static" ONBOOT="yes" NM_CONTROLLED="yes" TYPE=Ethernet NETMASK=255.255.255.0 IPADDR=192.168.1.1 BROADCAST=192.168.1.255 IPV4_FAILURE_FATAL=yes IPV6INIT=noStep 2: Edit File vim /etc/sysconfig/network-scripts/ifcfg-eth0and Enter Details For Machine BDEVICE="eth0" HWADDR="" BOOTPROTO="static" ONBOOT="yes" NM_CONTROLLED="yes" TYPE=Ethernet NETMASK=255.255.255.0 IPADDR=192.168.1.2 BROADCAST=192.168.1.255 IPV4_FAILURE_FATAL=yes IPV6INIT=noStep 3: Connect Both Machines With Ethernet CrossOver Cable.Step 4: [Optional] reboot.Step 5: ping 192.168.1.1 from machine B and ping 192.168.1.2 from machine AFollowing steps are the steps in case if you are still not able to Ping. It might be possible that because of network card's speed difference your machines are not able to ping. Set both machines speed constant then it might work. - On Machine A enter command: ethtool -s eth0 speed 10 duplex half - On Machine B enter command: ethtool -s eth0 speed 10 duplex halfThen repeat Step 5If your machines still not able to Ping each Other then do the following[root@localhost ravidborse]# lspci 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 06:09.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller 06:09.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller 06:09.3 Mass storage controller: Texas Instruments PCI7420/7620 Combo CardBus, 1394a-2000 OHCI and SD/MS-Pro Controller 06:0a.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)Check which drivers are loaded in dmesg | grep Ethernet lsmod | grep 8139I entered lspci command and look at the which ethernet controller is using your machines.My A Machine is using RTL8101E/8102E and Above lspci output is of Machine BDownload the respective linux drivers from the Ethernet Card Provider and install them. These drivers are very easy to install. Read readme in the drivers folder.Then Do ssh [email protected] From Machine A. You can View and copy filesBest Of Luckravidborse
This website uses affiliate links. This means that if you click on a link and make a purchase, we may receive a commission. This does not affect the price you pay for the product.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.