LinuxQuestions.org
Help answer threads with 0 replies.
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-28-2009, 08:37 AM   #1
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 18.04
Posts: 80

Rep: Reputation: 15
Two Xubuntu Jaunty pc's, How to connect thru lan?


I have two Xubuntu Jaunty pc's and I want to connect them for file transfer. I have samba and pyneighborhood installed. I can't make it work.

Lan cable and connection, I believe is not the culprit as I can connect to internet If used as a standalone workstation.
 
Old 08-28-2009, 10:36 AM   #2
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
How did you hook up both the pcs? to a hub?switch? Start checking from layer1 that is physical layer,check if the cable is properly plugged or not,run the command mii-tool to see if there is physical layer connectivity as such,if not then do a ifconfig -a or may ping\traceroute,more info on this would be helpful.
 
Old 08-28-2009, 11:44 AM   #3
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
If you have the LAN cable going straight from one machine to the other...

You would need a cross-over cable, and each machine would need a static IP address in the same sub-net (assuming one of the machines is not acting as a DHCP server).
 
Old 08-29-2009, 05:29 AM   #4
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 18.04
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Disillusionist View Post
If you have the LAN cable going straight from one machine to the other...
Basically this is what I want to do. I disconnected the cable from one of my pc,s and insert it to the lan port of the other. But I can't connect.

Quote:
You would need a cross-over cable, and each machine would need a static IP address in the same sub-net (assuming one of the machines is not acting as a DHCP server).
Can you please expound on this.
 
Old 08-29-2009, 08:11 AM   #5
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
The cable wiring is different. There are eight wires in a LAN cable (although only four of these are actually used). Two wires are for sending signals and two wires are for receiving signals.

Most network cables are straight connections which are used to connect a computer to a switch or a router.

The computer is expecting signals on one set of wires and the switch or router is expecting signals on another set of wires.

When you connect two computers directly together with a normal network cable the computers are both trying to send on the same wires and are therefore getting lots of traffic on the sending wires and not getting anything on the receiving wires.

You need a different type of cable to get two PC's to talk to each other (referred to as a cross-over cable). Basically the sending and receiving wires are crossed at one end.

EDIT:-

All eight wires are used if using a gigabit network.

http://www.ertyu.org/steven_nikkel/ethernetcables.html

Last edited by Disillusionist; 08-29-2009 at 01:05 PM.
 
  


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
Best Way 2 Connect 2 Linux PC'S browser Linux - Networking 12 12-24-2007 07:37 PM
connect two pc's with nfs rosariowong Slackware 8 04-22-2005 06:00 PM
connect to pc's rosariowong Slackware 1 04-20-2005 02:05 PM
Sending text messages between PC's on a LAN?/ tanveer Linux - Networking 2 01-30-2005 02:14 AM
Connect 2 Linux PC's Daisey Grey Linux - Networking 2 10-17-2001 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration