Use Windows 10 wifi hotspot with no internet connection












11















I'm trying to play a video game with my friends that requires a local wifi network that allows UDP broadcasts. The dorm wifi doesn't allow UDP broadcasts, so I'm trying to set up my laptop as a hotspot. Windows 10 by default allows you to share an internet connection over wifi, but you must have an internet connection to do so. Sharing the wifi connection results in a lot of problems such as constant disconnects, and I don't have access to an ethernet connection to share. Is there some way I can set up a wifi network without actually sharing an internet connection?










share|improve this question























  • It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

    – music2myear
    Apr 4 '17 at 18:34
















11















I'm trying to play a video game with my friends that requires a local wifi network that allows UDP broadcasts. The dorm wifi doesn't allow UDP broadcasts, so I'm trying to set up my laptop as a hotspot. Windows 10 by default allows you to share an internet connection over wifi, but you must have an internet connection to do so. Sharing the wifi connection results in a lot of problems such as constant disconnects, and I don't have access to an ethernet connection to share. Is there some way I can set up a wifi network without actually sharing an internet connection?










share|improve this question























  • It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

    – music2myear
    Apr 4 '17 at 18:34














11












11








11


5






I'm trying to play a video game with my friends that requires a local wifi network that allows UDP broadcasts. The dorm wifi doesn't allow UDP broadcasts, so I'm trying to set up my laptop as a hotspot. Windows 10 by default allows you to share an internet connection over wifi, but you must have an internet connection to do so. Sharing the wifi connection results in a lot of problems such as constant disconnects, and I don't have access to an ethernet connection to share. Is there some way I can set up a wifi network without actually sharing an internet connection?










share|improve this question














I'm trying to play a video game with my friends that requires a local wifi network that allows UDP broadcasts. The dorm wifi doesn't allow UDP broadcasts, so I'm trying to set up my laptop as a hotspot. Windows 10 by default allows you to share an internet connection over wifi, but you must have an internet connection to do so. Sharing the wifi connection results in a lot of problems such as constant disconnects, and I don't have access to an ethernet connection to share. Is there some way I can set up a wifi network without actually sharing an internet connection?







networking windows-10 wireless-networking






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 4 '17 at 18:30









user1224595user1224595

61115




61115













  • It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

    – music2myear
    Apr 4 '17 at 18:34



















  • It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

    – music2myear
    Apr 4 '17 at 18:34

















It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

– music2myear
Apr 4 '17 at 18:34





It might be easiest to purchase an inexpensive wifi router and set up a basic network that way.

– music2myear
Apr 4 '17 at 18:34










1 Answer
1






active

oldest

votes


















6














Two resolutions. First being easier, second being overly complex that even I don't want to approach as it requires programming.



Resolution One: You use a hostednetwork if your wireless adapter is capable. (Usually they are capable.)



1.) Open an elevated command prompt. Win+X and choose CMD (Admin) OR type in "cmd" or "command prompt" into Windows Search by typing into Start Menu and then right click "Command Prompt" and select "Run As Administrator"



2.) Check if your system is capable run this command: netsh wlan show drivers. Scroll down to Hosted network supported. If it saysYes you are in luck; if No there is no easy alternative and don't continue.



3.) Run the following command to allow and set up your hostednetwork but look below first.



netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% keyUsage=persistent


Replace %ssid% with your Wifi or "Hotspot" Name or SSID. E.g. ssid=MyGreatHotspot. Replace %pass% with your Wifi or "Hotspot" Password. It must be 8 characters long at a minimum. E.g. key=strongPasswordsAreWEAK.



4.) After that run the command, netsh wlan start hostednetwork, to start the "Hotspot" broadcast. Right now you can play without internet connection after all devices connect. Remember to check IP addresses of all your individual devices in order to connect to each other. The hotspot's IP Address usually is "192.168.137.1".



If you want to share your internet connection or for further reference, continue on:



5.) Open Run (Win + R) or by searching for Run and enter in ncpa.cpl, then press Enter. A new adapter has shown in the screen it should say something along the lines of "Microsoft Hosted Network Virtual Adapter". (Optional if you're OCD, rename that one if its says "L.A.N Connection* 15" or rather to like "Hotspot"). Right click the Internet Connect Source you want to share internet from and choose "Properties." Go to the "Sharing" Tab and checkmark or toggle on "Allow other network users to connect through this computer's Internet Connection." Apply, OK to save changes.



6.) You should be all set! :)



If you want to stop the hostednetwork, in an elevated command prompt you run the command: netsh wlan stop hostednetwork



Resolution Two: This is taken from this post from user Linard Arquit




In case writing your own application is a possibility, have
a look at the WiFi Direct API, which offers a legacy mode. Enabling
the legacy mode will create a SoftAP with the specified SSID and
password. However, specifying no password doesn't seem to be
supported.



Have a look at the IoTOnboarding sample to see the legacy mode in
action (and to have a better 'documentation' than what Microsoft
officially provides):
IotOnboarding/IoTOnboardingService/OnboardingAccessPoint.cs







share|improve this answer


























  • Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

    – KeyWeeUsr
    Jan 10 at 9:43











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1195436%2fuse-windows-10-wifi-hotspot-with-no-internet-connection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














Two resolutions. First being easier, second being overly complex that even I don't want to approach as it requires programming.



Resolution One: You use a hostednetwork if your wireless adapter is capable. (Usually they are capable.)



1.) Open an elevated command prompt. Win+X and choose CMD (Admin) OR type in "cmd" or "command prompt" into Windows Search by typing into Start Menu and then right click "Command Prompt" and select "Run As Administrator"



2.) Check if your system is capable run this command: netsh wlan show drivers. Scroll down to Hosted network supported. If it saysYes you are in luck; if No there is no easy alternative and don't continue.



3.) Run the following command to allow and set up your hostednetwork but look below first.



netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% keyUsage=persistent


Replace %ssid% with your Wifi or "Hotspot" Name or SSID. E.g. ssid=MyGreatHotspot. Replace %pass% with your Wifi or "Hotspot" Password. It must be 8 characters long at a minimum. E.g. key=strongPasswordsAreWEAK.



4.) After that run the command, netsh wlan start hostednetwork, to start the "Hotspot" broadcast. Right now you can play without internet connection after all devices connect. Remember to check IP addresses of all your individual devices in order to connect to each other. The hotspot's IP Address usually is "192.168.137.1".



If you want to share your internet connection or for further reference, continue on:



5.) Open Run (Win + R) or by searching for Run and enter in ncpa.cpl, then press Enter. A new adapter has shown in the screen it should say something along the lines of "Microsoft Hosted Network Virtual Adapter". (Optional if you're OCD, rename that one if its says "L.A.N Connection* 15" or rather to like "Hotspot"). Right click the Internet Connect Source you want to share internet from and choose "Properties." Go to the "Sharing" Tab and checkmark or toggle on "Allow other network users to connect through this computer's Internet Connection." Apply, OK to save changes.



6.) You should be all set! :)



If you want to stop the hostednetwork, in an elevated command prompt you run the command: netsh wlan stop hostednetwork



Resolution Two: This is taken from this post from user Linard Arquit




In case writing your own application is a possibility, have
a look at the WiFi Direct API, which offers a legacy mode. Enabling
the legacy mode will create a SoftAP with the specified SSID and
password. However, specifying no password doesn't seem to be
supported.



Have a look at the IoTOnboarding sample to see the legacy mode in
action (and to have a better 'documentation' than what Microsoft
officially provides):
IotOnboarding/IoTOnboardingService/OnboardingAccessPoint.cs







share|improve this answer


























  • Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

    – KeyWeeUsr
    Jan 10 at 9:43
















6














Two resolutions. First being easier, second being overly complex that even I don't want to approach as it requires programming.



Resolution One: You use a hostednetwork if your wireless adapter is capable. (Usually they are capable.)



1.) Open an elevated command prompt. Win+X and choose CMD (Admin) OR type in "cmd" or "command prompt" into Windows Search by typing into Start Menu and then right click "Command Prompt" and select "Run As Administrator"



2.) Check if your system is capable run this command: netsh wlan show drivers. Scroll down to Hosted network supported. If it saysYes you are in luck; if No there is no easy alternative and don't continue.



3.) Run the following command to allow and set up your hostednetwork but look below first.



netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% keyUsage=persistent


Replace %ssid% with your Wifi or "Hotspot" Name or SSID. E.g. ssid=MyGreatHotspot. Replace %pass% with your Wifi or "Hotspot" Password. It must be 8 characters long at a minimum. E.g. key=strongPasswordsAreWEAK.



4.) After that run the command, netsh wlan start hostednetwork, to start the "Hotspot" broadcast. Right now you can play without internet connection after all devices connect. Remember to check IP addresses of all your individual devices in order to connect to each other. The hotspot's IP Address usually is "192.168.137.1".



If you want to share your internet connection or for further reference, continue on:



5.) Open Run (Win + R) or by searching for Run and enter in ncpa.cpl, then press Enter. A new adapter has shown in the screen it should say something along the lines of "Microsoft Hosted Network Virtual Adapter". (Optional if you're OCD, rename that one if its says "L.A.N Connection* 15" or rather to like "Hotspot"). Right click the Internet Connect Source you want to share internet from and choose "Properties." Go to the "Sharing" Tab and checkmark or toggle on "Allow other network users to connect through this computer's Internet Connection." Apply, OK to save changes.



6.) You should be all set! :)



If you want to stop the hostednetwork, in an elevated command prompt you run the command: netsh wlan stop hostednetwork



Resolution Two: This is taken from this post from user Linard Arquit




In case writing your own application is a possibility, have
a look at the WiFi Direct API, which offers a legacy mode. Enabling
the legacy mode will create a SoftAP with the specified SSID and
password. However, specifying no password doesn't seem to be
supported.



Have a look at the IoTOnboarding sample to see the legacy mode in
action (and to have a better 'documentation' than what Microsoft
officially provides):
IotOnboarding/IoTOnboardingService/OnboardingAccessPoint.cs







share|improve this answer


























  • Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

    – KeyWeeUsr
    Jan 10 at 9:43














6












6








6







Two resolutions. First being easier, second being overly complex that even I don't want to approach as it requires programming.



Resolution One: You use a hostednetwork if your wireless adapter is capable. (Usually they are capable.)



1.) Open an elevated command prompt. Win+X and choose CMD (Admin) OR type in "cmd" or "command prompt" into Windows Search by typing into Start Menu and then right click "Command Prompt" and select "Run As Administrator"



2.) Check if your system is capable run this command: netsh wlan show drivers. Scroll down to Hosted network supported. If it saysYes you are in luck; if No there is no easy alternative and don't continue.



3.) Run the following command to allow and set up your hostednetwork but look below first.



netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% keyUsage=persistent


Replace %ssid% with your Wifi or "Hotspot" Name or SSID. E.g. ssid=MyGreatHotspot. Replace %pass% with your Wifi or "Hotspot" Password. It must be 8 characters long at a minimum. E.g. key=strongPasswordsAreWEAK.



4.) After that run the command, netsh wlan start hostednetwork, to start the "Hotspot" broadcast. Right now you can play without internet connection after all devices connect. Remember to check IP addresses of all your individual devices in order to connect to each other. The hotspot's IP Address usually is "192.168.137.1".



If you want to share your internet connection or for further reference, continue on:



5.) Open Run (Win + R) or by searching for Run and enter in ncpa.cpl, then press Enter. A new adapter has shown in the screen it should say something along the lines of "Microsoft Hosted Network Virtual Adapter". (Optional if you're OCD, rename that one if its says "L.A.N Connection* 15" or rather to like "Hotspot"). Right click the Internet Connect Source you want to share internet from and choose "Properties." Go to the "Sharing" Tab and checkmark or toggle on "Allow other network users to connect through this computer's Internet Connection." Apply, OK to save changes.



6.) You should be all set! :)



If you want to stop the hostednetwork, in an elevated command prompt you run the command: netsh wlan stop hostednetwork



Resolution Two: This is taken from this post from user Linard Arquit




In case writing your own application is a possibility, have
a look at the WiFi Direct API, which offers a legacy mode. Enabling
the legacy mode will create a SoftAP with the specified SSID and
password. However, specifying no password doesn't seem to be
supported.



Have a look at the IoTOnboarding sample to see the legacy mode in
action (and to have a better 'documentation' than what Microsoft
officially provides):
IotOnboarding/IoTOnboardingService/OnboardingAccessPoint.cs







share|improve this answer















Two resolutions. First being easier, second being overly complex that even I don't want to approach as it requires programming.



Resolution One: You use a hostednetwork if your wireless adapter is capable. (Usually they are capable.)



1.) Open an elevated command prompt. Win+X and choose CMD (Admin) OR type in "cmd" or "command prompt" into Windows Search by typing into Start Menu and then right click "Command Prompt" and select "Run As Administrator"



2.) Check if your system is capable run this command: netsh wlan show drivers. Scroll down to Hosted network supported. If it saysYes you are in luck; if No there is no easy alternative and don't continue.



3.) Run the following command to allow and set up your hostednetwork but look below first.



netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% keyUsage=persistent


Replace %ssid% with your Wifi or "Hotspot" Name or SSID. E.g. ssid=MyGreatHotspot. Replace %pass% with your Wifi or "Hotspot" Password. It must be 8 characters long at a minimum. E.g. key=strongPasswordsAreWEAK.



4.) After that run the command, netsh wlan start hostednetwork, to start the "Hotspot" broadcast. Right now you can play without internet connection after all devices connect. Remember to check IP addresses of all your individual devices in order to connect to each other. The hotspot's IP Address usually is "192.168.137.1".



If you want to share your internet connection or for further reference, continue on:



5.) Open Run (Win + R) or by searching for Run and enter in ncpa.cpl, then press Enter. A new adapter has shown in the screen it should say something along the lines of "Microsoft Hosted Network Virtual Adapter". (Optional if you're OCD, rename that one if its says "L.A.N Connection* 15" or rather to like "Hotspot"). Right click the Internet Connect Source you want to share internet from and choose "Properties." Go to the "Sharing" Tab and checkmark or toggle on "Allow other network users to connect through this computer's Internet Connection." Apply, OK to save changes.



6.) You should be all set! :)



If you want to stop the hostednetwork, in an elevated command prompt you run the command: netsh wlan stop hostednetwork



Resolution Two: This is taken from this post from user Linard Arquit




In case writing your own application is a possibility, have
a look at the WiFi Direct API, which offers a legacy mode. Enabling
the legacy mode will create a SoftAP with the specified SSID and
password. However, specifying no password doesn't seem to be
supported.



Have a look at the IoTOnboarding sample to see the legacy mode in
action (and to have a better 'documentation' than what Microsoft
officially provides):
IotOnboarding/IoTOnboardingService/OnboardingAccessPoint.cs








share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 12 '17 at 6:53

























answered Jul 12 '17 at 6:36









El8dN8El8dN8

1,1661518




1,1661518













  • Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

    – KeyWeeUsr
    Jan 10 at 9:43



















  • Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

    – KeyWeeUsr
    Jan 10 at 9:43

















Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

– KeyWeeUsr
Jan 10 at 9:43





Works for Win 8.1 too, you just need to wait a little for the hotspot to actually provide even the internet connection. And it might not work for multiple devices in the beginning so it needs a little bit of tweaking until you find the sweet spot where each of them is connected and has the shared connection (to the outside network) available.

– KeyWeeUsr
Jan 10 at 9:43


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1195436%2fuse-windows-10-wifi-hotspot-with-no-internet-connection%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Список кардиналов, возведённых папой римским Каликстом III

Deduzione

Mysql.sock missing - “Can't connect to local MySQL server through socket”