I think the easiest way is to get a wireless router. Have the desktop plugged into the router and the notebook be wireless. You can get the whole setup for around $100.
Hi. I have 2 computers at home. The desktop is connected to the internet, and I want to share the Internet.
Normally, my notebook computer is connected to the desktop using Wireless LAN (Ad-hoc mode).
However, there are times when I want to connect to the desktop (and also use the internet) using the LAN.
Any way to let ICS behave magically, i.e. when connected using WLAN, it will share using WLAN, if connected using LAN, it will share using LAN? Currently, I have to manually configure the ICS to LAN when I connect using LAN, and vice versa.
(In this case, assume I cannot have both connections at the same time, i.e. if I were to connect using LAN, I cannot have WLAN connected at the same time)
Thanks!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic