How can I share the Internet over an Ad-Hoc network?

1

2

I have created an Ad-hoc network between 2 computers based on these instructions.

I am connected to a LAN port in my hostel; all the rooms have one LAN port each. I want to share this connection with my roomie, and since we both have laptops I thought an Ad-hoc network ought to solve the problem - I've used this before but on another set of laptops.

Currently my computer (a Dell Inspiron 1525) is connected to the LAN port; my friend's computer is an IBM Thinkpad R51. I shared the LAN connection and next tried to follow all the above link's instructions but the Dell drivers don't give me the wireless networks option when I right click on Wireless network connection > Properties.

alt text

It only has the General and Advanced options, but there is another utility through which I created an Ad-Hoc network.

alt text

I also connected the other computer to this wireless network but my friend still can't browse the Internet through this connection. When I checked the packets of data on the wireless connection it has only sent some packets of data but can't receive any.

How do I solve this?

I know I could set up a network using a hub/switch but I don't want to invest further money into this as we are only here for a few weeks, and we both have the necessary hardware to network wirelessly.

rzlines

Posted 2009-08-05T06:13:39.513

Reputation: 7 006

1Not sure what your problem/quesion is, have you created an Ad hoc connection and are both computers connected to it? – Move More Comments Link To Top – 2009-08-05T06:21:43.927

1Are you using Window to mange your wireless connection or a third party application that came with your dell? – Move More Comments Link To Top – 2009-08-05T06:23:36.153

yes i have created an ad-hoc network and both the computers are connected to it.. – rzlines – 2009-08-05T06:25:25.603

3rd party application which came with dell as i have no access to the windows - wireless network option (the one in the pic in my post) – rzlines – 2009-08-05T06:26:48.157

1Does your wired LAN connection have the hand under the icon. The one that indicates you are sharing the Wired connection? – Move More Comments Link To Top – 2009-08-05T06:50:54.120

yes i have shared it.. and it has the hand – rzlines – 2009-08-05T06:53:51.023

1Do you have any kind of network sharing enabled on the other laptop – Move More Comments Link To Top – 2009-08-05T07:38:55.707

nope.. no network sharing whatsoever this is the first network (wireless or wired) the other laptop has connected to – rzlines – 2009-08-05T07:45:37.717

1open the cmd promt and ping googe.com from the slave laptop and post what happens – Move More Comments Link To Top – 2009-08-05T07:47:41.053

ping request could not find host google.com – rzlines – 2009-08-05T07:52:25.703

1on host computer from cmd promt ipconfig what is your ip address – Move More Comments Link To Top – 2009-08-05T07:56:44.493

1then ping your ip from slave computer – Move More Comments Link To Top – 2009-08-05T07:58:08.903

getting request timed out error ... one more thing i have to connect via proxy in order to access the internet is that something there that i have to do? – rzlines – 2009-08-05T08:28:34.620

that is how all computers connect to the internet from this hostel there are set of predefined proxies around 6 of them .. we can use any to connect to the internet there is no direct internet connection allowed everything is routed via proxies – rzlines – 2009-08-05T08:31:02.507

1did you ever get it working? – Move More Comments Link To Top – 2009-08-06T05:41:15.213

yea i did get it working but that was on a home internet was sharing it between my bro and i that's how i knew ad hoc was possible – rzlines – 2009-08-06T10:44:28.447

Answers

2

You should be aware that the ad-hoc part of the 802.11 standard (wireless) is very poorly implemented by some wireless network device manufactures. Thus it is not uncommon at all to encounter two laptops which are simple incapable of communication with each other over an ad-hoc network.

I work with ad-hoc networks almost daily, I'm studying networks and distributed systems. And from experience with many poor ad-hoc implementations, we always make a point of using the same 802.11 hardware for all units we want to communicate in an ad-hoc network.

Bjarke Freund-Hansen

Posted 2009-08-05T06:13:39.513

Reputation: 1 151

1

I have done this the other way around, by connecting an ethernet cable to my Xbox and sharing my Wireless internet connection. You should be able to do it the other way around.

You should open your Local Area Connection properly and check the "Share this connection" option. That will turn your wireless connection into a DHCP server that will other computers to connect and get an IP address. Your computer will act as a NAT and route traffic through the Ethernet.

Chris Thompson

Posted 2009-08-05T06:13:39.513

Reputation: 4 765

i have checked the "share this connection" option on LAN and what do you mean by the other way around? – rzlines – 2009-08-05T06:24:29.800

1

Turn off firewall on both computers. If that works configure them to allow the connection and turn them back on.

Move More Comments Link To Top

Posted 2009-08-05T06:13:39.513

Reputation: 1 415

nope, still nothing tried pinging too.. still getting the request timed out error – rzlines – 2009-08-05T08:38:29.603

should i manually enter settings in tcp/ip settings in the wireless adapter settings? – rzlines – 2009-08-05T08:50:05.677

1You can try that, but the host computer should be handing out IP addresses for computer connected to the wireless network and the slave computer should connect using the settings of the host. Actually now that I think about it, put the proxy settings in the slave computer. – Move More Comments Link To Top – 2009-08-05T16:21:36.313

oh i got too fed up of debugging .. just went an bought myself a fast ethernet switch, thanks for all your help larry.. much appreciated – rzlines – 2009-08-06T10:45:23.547