[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ethernet connection



Rodolfo Medina wrote:

> Some months ago I managed to connect my Hyundai and Acer laptops with an
> ethernet cable.  I can copy file from one PC to another with rsync.  The file
> `/etc/network/interfaces' is edited on the Acer as follows:
> 
> auto eth1
> allow-hotplug eth1
> iface eth1 inet static
> 	address 192.168.0.1
> 	netmask 255.255.255.0
> 
> , and on the Hyundai:
> 
> auto eth0
> allow-hotplug eth0
> iface eth0 inet static
> 	address 192.168.0.2
> 	netmask 255.255.255.0
>
> Now, I want to connect the Hyundai with an old desktop PC.  How do I
> know how to properly edit the same file?  I tried with eth0, eth1,
> 192.168.0.3, etc..., but they don't connect:


> Camaleón writes:
> 
>> You can run "/sbin/ifconfig" in the old desktop PC to find out the IP
>> address in use.


>>>From the old desktop:
>> 
>> # ifconfig
>> eth0      Link encap:Ethernet  HWaddr 00:19:cb:d7:b6:c5
>>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0


Camaleón <noelamac@gmail.com> writes:

>
> O.k. so your old desktop is not getting any IP ("127.0.0.1" is the 
> loopback address). You have to manually setup one for it.
>
> If you need further assintance for configuring your ethernet card on your 
> old desktop, just ask (also, tell us what operating system is running) :-)



Of course I need further assistance!  I have Lenny on old PC and Etch on
Hyundai.

Thanks
Rodolfo


Reply to: