How can I share a connection between two computers?

Both computers are running openSUSE 11, and the network is setup and working on both computers. One is a laptop with a wireless and wired; the other’s a desktop with only a wired.
So heres the problem: I just installed openSUSE on the desktop and I need to start installing packages and stuff from the repo’s. Now I’m not close to the router and figured that this would be easier, but I’m having a bit of trouble.
I know that the new network manager can handle multiple interfaces, but for some reason when I connect laptop to the other pc through wired I lose internet even though the wireless connection is still up. And more importantly, I can’t figure out how to get internet on the other computer.
So, can someone help me? Or am I crazy and is this not even possible? :stuck_out_tongue:

It is possible and the easiest way is to use a router. But if you had one I suppose you would mention that or indeed you would already be connected nicely and …

OK you must be talking about internet connection sharing with the notebook being the server and the tin box being the client and with a crossover cable running between the second network intreface on the laptop to the wired interface on the tin box.

So maybe this will help:
openSUSE ICS: Internet Connection Sharing (Linux IP Masquerading) with Suse or Windows Servers

The trick is to use different IP subnets for wired and wireless, assuming the wireless is the link to the internet. And the IP address of the wired card in the lappy becomes the gateway for the network card in the tin box.

If the server is Suse you enable IP masquerading. If it’s windows that happens by choosing to “share the Internet connection”

I hope that’s what you were atlking about

Luck
Swerdna

http://en.opensuse.org/ICS