Link to home
Start Free TrialLog in
Avatar of markdolar
markdolarFlag for United States of America

asked on

Using netsh to create a wireless hub that connects to the Internet

Hello,

I am trying to set up a wireless hub on a Windows7 machine using netsh; this is the first time I have worked with netsh.   I am able to set up the hub and connect to it with various devices, but cannot reach the Internet with the connected devices.   The Win7 machine I am using as the hub is able to connect to the Internet through a wired LAN connection.

After executing these commands on the Win7 machine:

netsh wlan set hostednetwork mode=allow ssid="mynet" key="mynetmynet"

netsh wlan start hostednetwork

I was able to take a Windows client computer and connect the "mynet" successfully.   I look at the client's ip configuration using ipconfig and it looks correct afaik:

  Connection-specific DNS Suffix  . : mshome.net
  Link-local IPv6 Address . . . . . : fe80::5d0f:4867:ad38:13c9%4
  IPv4 Address. . . . . . . . . . . : 192.168.173.171
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 192.168.173.1

However, the link status is shown "limited".

I look at the configuration on the Win7 machine and it also seems ok:

 C:\windows\system32>netsh wlan show hostednetwork

Hosted network settings
-----------------------
    Mode                   : Allowed
    SSID name              : "mynet"
    Max number of clients  : 100
    Authentication         : WPA2-Personal
    Cipher                 : CCMP

Hosted network status
---------------------
    Status                 : Started
    BSSID                  : 70:1a:04:70:82:96
    Radio type             : 802.11g
    Channel                : 10
    Number of clients      : 1
        d8:50:e6:97:e8:03        Authenticated

However, I cannot access the Internet from the client and cannot ping the address 192.168.173.1 from the client (request time out error).

What additional steps do I need to take to get Internet access from the client?   Thanks
Avatar of Sudeep Sharma
Sudeep Sharma
Flag of India image

Could you please check the DNS on the Win 7 machine?

do ipconfig /all and see if there is any DNS server listed, if not specify some manually.

Thanks,
Sudeep
I think you need to setup your computer to bridge the wired connection and the Wifi connection.  The other option would be to setup your computer to be a router, however I don't think Windows 7 can do routing.
ASKER CERTIFIED SOLUTION
Avatar of Sudeep Sharma
Sudeep Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of markdolar

ASKER

Thanks - worked great.