Networking :: connecting two computers



Thanks torp,

Will pick one up today and report back.

Picked up new cable. Store calls it 'crossover'.

Bear with me as I had never attempted to do this before.

Do I need to change the 'addresses" when using netconfig?

Tried DHCP on both but 'failed'.

Tried one higher number on second computer for the addresses but to no avail.

On the secondary computer dmesg shows "link up" etc but this does not show up on the primary.

edit: that should be netcardconfig not netconfig.

This is very basic networking.  Many books are available.  I have seen "Networking For Dummies" would be good here (I am not calling you a dummy).

You can do it two ways.

1. Get a small hub or switch.  Buy two normal ethernet cables, color means nothing.  These are the standard ones available at Best Buy, Office Depot,...

2.  Buy one special ethernet cable called a "cross-over" cable.  Just plug the two together, no hub needed.

You don't need to change the ip's, unless they are the same.
Type "ip link list" to show if connection is up, and what ip address does it have.

This only starts the connection; do you need help in playing games in lan, or sharing files or so?

Oh yea, to test the connection, you know how to ping right?

Thanks curaga,
ip link list:
1: lo: <LOOPBACK,up> mtu 16436 qdisc noqueque
link/loopback 00:00:00:00:00:00: brd 00:00:00:00:00:00
2: eth0: <BROADCAST, MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:d0:b7:3f:70:f1 brd ff:ff:ff:ff:ff:ff
3:ppp0: <POINTOPOINT, MULTICAST,NOARP,UP> mtu qdisc pfifo_fast qlen 3 link/ppp.

Just for sharing files.
Don't know how to ping yet.
On booting my Compaq PRO at "network connection F12} I get "... check media cable"

edit: above with only one computer on.
With both on results of ip link list on clone computer:
line 1 the same.
line 2 last line:
link/ether 00:18:e7:08:d9:da brd ff:ff:ff:ff:ff:ff

After years of MS Win I'm trying to learn Linux.

Edit2: with 'netcardconfig' both show the same addresses.
Both computers have 'box' as host.

Next Page...
original here.