I dont know how to add the IP address on my second pc! On my first pc when i type /etc/ifconfig this is wat i get:
----------------------
eth0 Link encap:Ethernet HWaddr 00:0F:B5:8D:89:B1
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2052 (2.0 KiB)
Interrupt:18 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:20:ED:1E:4B:64
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4761 errors:0 dropped:0 overruns:0 frame:0
TX packets:5108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2657433 (2.5 MiB) TX bytes:712386 (695.6 KiB)
Interrupt:21 Base address:0x9c00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:119353 errors:0 dropped:0 overruns:0 frame:0
TX packets:119353 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22164182 (21.1 MiB) TX bytes:22164182 (21.1 MiB)
---------------
My first pc has 2 network cards one is for the ADSL connection and other I installed it to connect to the second pc using crossover cable.
When i type in "ifup -a" in second pci get a message "doesnt have all the varibales for inet/eth0 cannot bring eth0 up"
Can you please tell me what I i have to add in /etc/network/interfaces to make my second pc communiacte with the first?
This is what i have in /etc/network/interfaces in my first pc:
----------------
auto eth0
iface eth0 inet dhcp
name Ethernet LAN card
auto eth1
iface eth1 inet dhcp
name Ethernet LAN card
----------------
For some reason what happened is my eth0 and eth1 are swapped! What I meant is before i installed my second network card, my first network card used to be "eth0" after installing the second one the new one became "eth0" and the first one the primary one which i used for adsl became "eth1" !
I think i have stuffed it up in /etc/network/interfaces
Can any one please help me out!!!! I am struggling for the past 7 hours in networking these 2 pcs. I have just started learning linux.

Quick help me greately regarded
