yes, bunty, this should work. It should also give you windows file and print sharing too.
Did you, on both laptops,
also specify
netmask 255.255.255.0? Default gateway (your modem address, usually 192.168.1.1) and dns settings also necessary for accessing net from both machines.
sometimes some non-working network stuff will start working if you have a hosts file with the concerned machines listed in it.
Ms have hidden it away, iirc (using linux) in c:\windows\system32\drivers\etc.
You can edit it in notepad (do
not use anything like word, as it must be a simple text file) and add
192.168.1.155 laptop1
192.168.1.156 laptop2
when you save it, be careful not to save it as hosts, not hosts.txt.
You can also use those names now. If you did right, you should be able to do
c:\ > ping laptop2
ping laptop2 (192.168.1.156) ... ... ...
You will see that each pc now uses the hosts file to
resolve the ip addresses.
No promises on this one ... Just sometimes it makes things work
this is
only for when you use fixed ip addresses. You can't use the hosts file with dhcp (meetdilip's no. 3 suggestion)