I am having one laptop and one desktop. laptop has internet using usb-modem.
Now i wanted to have internet on desktop.
I did this...

I connected both system using cross-over cable.
in laptop, I created interface using network manager and changed setting --
DHCP  to share data.... ip = 10.42.43.1
I configure desktop ip manually using ipconfig command, ip = 10.42.43.5 and
255.255.255.0
on desktop, i edited /etc/resolv.conf and added
nameserver 10.42.43.1
After that I create socks proxy
from desktop -->  ssh -D 9999 [email protected]

After this, on desktop, I used firefox and went to network setting , and
added socks proxy configuration like
localhost , 9999

And I got the internet ..

Is there any better way to do it.. My desktop do not have wifi..

-- 
┌─────────────────────────┐
│    Narendra Sisodiya
│    http://narendrasisodiya.com
└─────────────────────────┘

-- 
LUG@IITD - http://lug-iitd.org/Footer

Reply via email to