Monday, April 2, 2012

Share Internet from Dongle(Windows)

Once You are connected to internet through your USB dongle, go to
1) Command Prompt and type >nslookup
           nslookup is a command to query ur DNS.Copy & Save the DNS Address
2) Setup a Ad-Hoc Wifi Network
  1. Open the Start Menu.
  2. Click Control Panel.
  3. Click Network and Internet.
  4. Click Network and Sharing Center.
  5. Under Change your networking settings, click Set up a new connection or network.
  6. Select Set up a wireless ad hoc (computer-to-computer) network.
  7. Click on Next twice.
  8. Enter the Network name such as "LogicNetwork".
  9. Select the Security WAP (or WEP).
  10. Enter the Security key or password.
  11. Check Save this network check box.
  12. Click Turn on Internet connection sharing.

3)Setup a Wifi Network with Static IP
     now,
a)To change the computer’s IP address in Windows 7, type network and sharing into the Search box in the Start Menu and select Network and Sharing Center when it comes up.
1start menu
 b)Then when the Network and Sharing Center opens, click on Change adapter settings.







 
 c)Right-click on your wireless adapter and select Properties. (Not the Local Area Connection as in Picture)



In the Wireless connection Properties window highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.

 
 d)Once You get into properties...
           set ur IP address as "192.168.2.1"
           subnet mask as "255.255.255.0"
           default gateway as "192.168.2.1"


 e) and Finally in ur DNS and alternate DNS you need to setup the Address you copied in step 1 (Result of nslookup)

 4) Now you need to Bridge the Connections(Wireless Connection & LAN)
 
A network bridge is software or hardware that connects two or more networks so that they can communicate. You can create only one network bridge on a computer, but one bridge can handle any number of network connections.
  1. Open Network Connections by clicking the Start button Picture of the Start button, clicking Control Panel, clicking Network and Internet, clicking Network and Sharing Center, and then clicking Manage network connections.
  2. Hold down CTRL and select each(Wireless Network Connection and LAN) network connection that you want to add to the bridge.
  3. Right-click one of the selected network connections, and then click Bridge Connections. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.


 5) Client Setup(phone or other computer)
a) Switch on wifi in ur clinet and get into settings and setup static IP
          IP Address: "192.168.2.X" where x>1 <= 255 Ex: 192.168.2.2
          Subnet as : 255.255.255.0
          gateway :  192.168.2.1 [IP address of computer in which dongle is connected]
           preferred DNS :  whatever DNS address u got in step 1

Save all!! Connections !!
        Now The client devices shd have internet! enabled!!!
          Happy Surfing :)
          
   

          



No comments: