there are two computer

wireless internet accessible notebook.

desktop with no wireless card (but just normal lan card).

I connect two computer with lan cable, and I want to use internet in desktop computer through the notebook's wireless lan

what kind of setting do I have to do?

desktop's OS is Ubuntu, and notebook's one are Ubuntu, Windows XP.

link|improve this question
I swear I've seen a question just like this before. Try searching around; see if you can find it. – nhinkle Apr 7 '11 at 21:01
feedback

migrated from stackoverflow.com Apr 7 '11 at 20:42

This question came from our site for professional and enthusiast programmers.

1 Answer

Configure you laptop and desktop like this:

Laptop:

IP: 192.168.0.1
MASK: 255.255.255.0

Desktop:

IP:192.168.0.2
MASK:255.255.255.0
GATEWAY:192.168.0.1
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.