I have to use a wired conection to my PC and i'd like to connect my android phone to the internet over Wi-Fi. I tried using the new Wireless Hosted Network functionality in Windows 7, but my phone can't connect - it gets stuck at "Obtaining IP address...". The AP is working - it is visible in the list, but i can't connect.

I'm using the following comands(as administrator):

netsh wlan set hostednetwork mode=allow ssid=name key=password
netsh wlan start hostednetwork

Output of netsh wlan show hostednetwork:

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

Hosted network status
---------------------
    Status                 : Started
    BSSID                  : 70:f3:95:ad:a4:62
    Radio type             : 802.11n
    Channel                : 13
    Number of clients      : 1
        f0:08:f1:2f:aa:b7        Authenticated

My network adapter: Broadcom 4313 802.11b/g/n.

link|improve this question
Your information is kind of cryptic. But I believe PleaseStand nails it on the head with Internet Connection Sharing. When you say "I have to use a wired conection to my PC . . .", I'm assuming you mean a wired connection to the Internet and not the phone :) Cause I can totally see someone thinking a USB is a Wired Connection. – surfasb Sep 24 '11 at 19:08
feedback

1 Answer

up vote 0 down vote accepted

You will have to either bridge your wired and wireless interfaces or use Internet Connection Sharing.

Note: Use "Change adapter settings" instead of "Manage network connections"; Microsoft's web site refers to Windows Vista rather than Windows 7.

If you are doing this with the ICS approach, you need to make sure the ICS is set up before you start the hosted network with the "netsh wlan start hostednetwork" command. (I have tested this for 64-bit Windows 7 with the Internet connection provided via a USB-tethered Huawei smartphone.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.