This can be done by setting up your windows machine as a very simple wireless access point, similar to the ad-hoc functionality, more difficult to set up but far more robust, i.e. any device that supports WiFi will be able to connect. It is known as 'hostednetwork' and uses the built-in Microsoft Virtual WiFi Adapter.
To set it up, bring up the elevated command prompt by pressing Win-key
, typing cmd
and hitting Ctrl-Shift-Enter
. Then enter the following command:
netsh wlan set hostednetwork mode=allow "ssid=<ssid>" “key=<passphrase>” keyUsage=persistent
Most options are quite self-explanatory, but you can get more info using netsh wlan help
. After executing this command, the hostednetwork will be stored permanently, but still needs to be started and stopped manually. You might want to create some sort of shortcut for the following commands:
netsh wlan start hostednetwork
netsh wlan stop hostednetwork
Note that these commands too must be run as admin.
At this point, a new item should have appeared in the 'network connections' section of the Windows network center. You can edit its properties, but the default settings should work just fine. Your phone should be able to detect the freshly made access point and connect to it, obtaining an IP-address in the 192.168.137.0/24 range. Don't worry though, this will not affect the wired connection on your computer, as they're both using different networks.
While a connection has been established, your pc will not allow machines on the wireless port to interface with any other ports and by extension, the internet. For this, you can use Internet Connection Sharing (ICS). Edit the properties of your wired interface, bring up the 'Sharing' tab, check the box to enable this feature and select the corresponding interface, the wireless AP that is. The interface is a bit buggy, you might need to revert, close the window and try again if you go wrong.
Voila, internet on your Android via your pc.
What OS and version?
For Windows 7, the instructions are at:
http://windows.microsoft.com/en-GB/windows-vista/Create-a-network-bridge
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 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.
BUT! There is an important warning at the bottom. So think carefully about the security of what you are doing.
Warning
You shouldn't create a bridge between an Internet connection and a
network connection because it creates an unprotected link between your
network and the Internet, which makes your network accessible to
anyone on the Internet.
UPDATE
So here's the thing, any network has resources on it that require protection. So when you bridge two networks together, you are often undoing or bypassing the security and control for BOTH of them.
In your case, you are trying to join one network to your university network, you are almost certainly breaking all sorts of rules that you have agreed to when connecting.
With what you are doing, you are allowing any machine on your own private network to connect to the university network without the controls that the university apply.
Best Answer
on the windows PC open a command prompt and run the following command:
This will display your routing table on the laptop. Look for the entry that begins with 0.0.0.0 it will appear similar to the following:
This should be pointing to the default gateway of your wireless router that is serving the internet connection. Chances are that it is currently pointing to the AD-HOC connection or you may see two entries for 0.0.0.0 with different metrics. The lowest metric is considered the 'best route' to the 0.0.0.0 network (which is your default gateway to reach networks that are not directly connected to your PC i.e. the internet) You can use the command:
Replace X with a lower number than both existing 0.0.0.0 entries to make it the preferred path to reach the internet. Also replace 192.168.0.1 with the internal IP address of the router. This will not route your internet traffic from the Xoom to the internet through the gateway, however it will allow you to access both your network and the tablet at the same time.