Internet woes contd………..

Had I known before about internet connection sharing in windows xp, I would have saved some time today. But anyways it was a good learning experience.

I initially connected my laptop’s ethernet port to my pc’s port and on my laptop, gave the default gateway as my pc’s usb connection’s ip address. My idea was to direct all outgoing packets to the pc’s usb interface. But this did not work. Then after a little bit of googling came across the internet connection sharing feature in xp (not sure if the previous windows versions had this). That worked like a charm for the first time itself. So, I had the following setup working now –

Laptop’s ethernet to pc’s ethernet and then bsnl modem’s usb interface connected to pc’s usb port. And on my pc, I enabled the option Allow other network users to connect through this computer’s internet connection. This was the easiest solution but it only solves half of my problems. I will now have to sit near my pc to work πŸ™ which is pretty bad. I somehow wanted to get my wireless also working in this mode πŸ™‚ .

For the wireless to work for me, the WRT54G2 had to be brought into the picture now.  Now instead of connecting pc’s ethernet port to laptop directly, I connected it to one of the lan ports of my router and then the laptop’s port to one of the other lan ports. This works fine πŸ™‚ and I was able to access internet over both pc and laptop. Now the final issue was to get the wi-fi working.

Because of a few failed attempts in getting the wi-fi connected, I thought the access point mode was not supposed to be used. So, tried the client mode, client bridge mode, repeater mode and repeater bridge mode though knowing that these modes were for a different purpose all together. I already had a client bridge mode setup back in my flat in bangalore. But I was so frustrated that I started exploring all the available options πŸ™ . Finally when nothing worked I thought of getting back to AP mode and bingo…..it works!!!!! πŸ˜€ . Was so happy to get the wi-fi also working. Ofcourse, all this has eaten up 2.5 hours of my time but atlast got what I wanted.

So, here is the final setup just in case some one needs a similar thing to be done –

Scenario – One pc with spare ethernet card and connected to ISP over some alternative interface like USB port or another ethernet card. And need to get wi-fi access and other systems in the lan to be able to share the internet connection along with the host pc.

Solution – Enable Allow other network users to connect through this computer’s Internet connection under the  Internet Connection Sharing on the host pc. Connect the host pc’s ethernet port to one of the wired  ports (not the WAN port) of the router. Have the router in AP mode and that’s it. The wireless can now be shared among any number of laptops just like any normal connection and also other systems can be connected to the remaining wired ports of the router.

Update – Jan 4th 2010

Though the wi-fi setup works fine in the above scenario, I noticed that initially when my laptop’s wi-fi gets connected it shows the speed of the connection as 54Mbps but within few minutes it drops down to 1Mbps. And then the speed you get is worse than my reliance datacard. Also one point that I noticed was that when the desktop’s internect connection was being used, we can forget about working on the laptop over wi-fi πŸ™ . Looks like it works by statically alloting specific bandwith to each of the interfaces. Need to explore further. Will keep posting my findings here……

Leave a Reply

Your email address will not be published. Required fields are marked *