> Currently, I have an ethernet card (NE2000-compatible) which is
connected
> with my DSL modem via an RJ45 patch cable. I want to connect my
partner's
> laptop (running Windows XP) to my computer. I think, the easiest way
would
> be to install another ethernet card in my computer and connect this via
an
> RJ45 patch cable to the laptop (whose ethernet card, unfortunately, only
> has an RJ45 socket).
>
> My question is: How do I have to set up my system so that it's able to
> communicate with the laptop? Which files do I have to edit in which way?
> Which tools do exist, maybe? Are there easier ways to connect, maybe
> without a second ethernet card?
You can certainly put another network card in your computer, and use a
crossover cable to attach it to the network card in your friend's
computer. However, you can probably pick up an ethernet hub just as
cheaply as another network card, it will allow you to connect more
machines, and it's less hastle.
As for the routing, it's not the best way, but in a pinch, you can run
an ethernet cable from your DSL modem to an ethernet hub/switch. Then run
ethernet cables from the hub/switch to your machine, and another to your
friend's machine. On your machine, enable NAT. Your machine will act as
a gateway to your friend's machine. Again, it's not an ideal situation,
but it does work, it's easy, and it's cheap. As for enabling NAT, well,
there's no other option than for you to follow the steps in the NAT howto.
Now, that being said, once you have the ethernet cable run, you
*probably* don't need to do any configuration on your linux machine at
all. If you have an external (standalone) DSL modem, it is probably
capable of handling the NAT and routing itself. That means that once the
ethernet connections are made through a hub or switch, your friend would
simply adjust the IP settings on his machine and be good.
steve
|