Cannot enable shared access error 1061 - the service cannot accept control - windows-8.1

I am trying to create a hotspot from my del laptop (windows 8.1).
I enter the following in the cmd prompt:
netsh wlan set hostednetwork mode=allow ssid=Hotspot key=Password
netsh wlan start hostednetwork
Till here everything is going well. Now when I try to share my broadband connection to the Hotspot connection, I repetedly get an error message"Cannot enable shared access error 1061 - the service cannot accept control at this time".
Can somebody please help me around with this issue?

I downloaded Virtual WiFi Router and was able to activate hotspot. After that even when I deleted the Virtual WiFi Router and used the above step to establish the hotspot, it worked.

Related

why i can't able to access my local server after getting a tunnel using ngrok?

guys please anyone can help me to solve this problem, after generating link by ngrok and when I have try to access this link browser replay : server IP address could not be found
There are many reasons for this error, you can try the following steps to solve this error:
Reset IPv4 settings.
Using cmd, we can issue netsh commands to reset IPv4 settings. launch CMD prompt as administrator, and type netsh winsock reset and hit Enter. Now restart your PC. Open CMD again and type netsh int ipv4 reset reset.log and keypress Enter. Again restart your PC and check if you can connect to the internet. This will completely reset all the IP configurations and changes that we made in our system to default one for automatic resolution.
Flush DNS Cache.
You can also flush the Domain Name Server (DNS) information that is cached on your system. Open cmd as admin and type ipconfig /flushdns, If everything is running right, you should get this as output — Successfully flushed the DNS Resolver Cache.
Change IP and DNS settings.
In most cases, the options are set to default. However, if you’ve made any changes or any antivirus software has deliberately misconfigured it, then you can just revert back the changes.

how to connet wired network in fedora/ubuntu via ISP (username and password)?

I have tried to connect wired network connection using modem of ISP provider in Linux but could not see the option for Ethernet/Broadband in network connection.
While i choose add (+) option, there has been list of
VPN
Bridge
Bond
VLAN
I am ex-window user where i setup the internet connection using setup new network or connection using broadband/Adsl option in window network connection without router(only use modem provided by ISP provider).
On Ubuntu you can use the program pppoeconf (available through apt-get) which will walk you through inputting the settings necessary to establish a pppoe connection through your ISP. More documentation on this procedure is available for Ubuntu here: https://help.ubuntu.com/community/ADSLPPPoE.

Automatic DNS not work in my Laptop

I am facing an unknown problem in my laptop. i AM Using a router. From same router I connect my another PC and mobiles using same Wi-Fi. But my laptop not found internet. I have to use Manual DNS 4.2.2.1 . If I use this DNS then I can access internet. But all other my device and PC connect internet without problem. how to solve my Laptop problem. I am am using windows 8.1
Did you try to connect by Ethernet the notebook to the router?, to discard an OS problem.
The other option that you can try is deleting the WiFi config of that network.
Check if you have dhcp activated and check in your notebook if the ip is checked in automatic. Could happen that if you have manual ip, your dhcp is not in the range of your ip
DNS Doesn't connect you to the internet.
DNS Explained
It's possible you disabled DHCP in your router :P
You won't get a IP if that's the case
Please go to CMD.exe and type
ipconfig /all
Please post the following information:
DHCP Enabled
IPv4 Address
Subnet Mask
Default Gateway
DHCP Server
DNS Servers
Easy fix: Press the reset button on your router
If Only your Laptop faces this problem disable STATIC IP
Explained
Right click your network adapter
Choose "Change adapter settings"
Richt click your connected network adapter
Select "Properties"
Click on "Internet Protocol Version 4 (TCP/IPv4)
Choose Properties
Select "Obtain an IP address automatically"
Select "Obtain DNS Server address automatically"
Click "OK" then "Close"
Done.

Bridge Wifi to Raspberry Pi using Ethernet Cable

I am not finding this question in SF history, which was a surprise, so I'll go ahead and ask it.
I am working on an IoT Raspberry Pi project with Windows 10 and need to connect it to the internet via an Ethernet/USB adapter. The adapter itself is made by Belkin. Using this, I can see an ip of 169.stuff get generated for my Pi, which is a private ip. I can deploy code to that from my connected box, however other devices are not able to reach it, and it is not able to make connections out to any servers.
I'm wondering if anybody knows how to bridge the connection.
I am attempting to use the new Azure IoT Hub and the SDK with this in case that makes any differences as that is not a simple rest interface and I believe is some form of socket connection.
Additional Notes:
I have installed a DCHP Server and the Pi gets the ip address: 192.168.0.3 assigned to it. Unfortunately the Pi still can not ping external sites, such as google.com
Latest Discoveries:
I am on a corporate box, which has internet sharing disabled by the system admin. Following these instructions: http://zizhujy.com/blog/post/2013/07/07/Solved-Internet-Connection-Sharing-has-been-disabled-by-the-Network-Administrator.aspx Fails. It shuts down all connectivity to my box and I cannot ping anything or reach the internet or anything.
Thanks,
~David
The 169 address means it isn’t getting a DHCP address assigned.
Since you don't have a router for the Ethernet, you can use Internet Connection Sharing, however we will need to run the following commands against the Pi to set a static IP, gateway, and dns server, since internet connection sharing botches this up a bit at times:
Set-Item WSMan:\localhost\Client\TrustedHosts -Value 192.168.137.2
Enter-PSSession -ComputerName 192.168.137.2 -Credential 192.168.137.2\Administrator
set-executionpolicy unrestricted
netsh int ip set address "Ethernet" static 192.168.137.2 255.255.255.0 192.168.137.1
netsh int ip set dns "Ethernet" static 8.8.8.8
netsh interface ipv4 show config
set-executionpolicy remotesigned
You may need to reboot the Pi at this point then test pinging 8.8.8.8 and google.com to make sure resolution is working. You should be all set!
One other thing, if you have a group policy on the machine that is restricting Internet Connection Sharing then take a look at this article to fix the issue. Note if your organization is constantly sending down the policy then you may have to re-enable Internet Connection Sharing often which is aggravating but at least it will work.
http://zizhujy.com/blog/post/2013/07/07/Solved-Internet-Connection-Sharing-has-been-disabled-by-the-Network-Administrator.aspx
I do this by creating a DHCP server on my laptop and connecting the Pi directly to it. I followed these instructions to get it working:
Download DHCP Server for Windows. It is a 100kB download.
Go to the IPv4 properties page of the Ethernet adapter and set a fixed IP address, say 192.168.2.1
Run the DHCP Server Wizard (downloaded above)
Select the Ethernet adapter from the list shown
Save the configuration file and start up the DHCP Server
Click the 'Continue as tray app' button in the server control panel.
Boot up the Raspberry Pi
A popup notification shows the IP address assigned by the DHCP server to the Raspberry Pi.
Use a SSH client, like PuTTy, to connect to the IP address shown
Hope this works!

IIS server unavailable on a local wifi

I want to create an IIS server on my PC. I've created a wifi hotspot through netsh wlan set hostednetwork ... , and a new wifi hotspot appeared (wifi2, in which my pc was 192.168.137.1).
So I shared the connection of wifi1 (the real NIC, with ip 192.168.0.104) and I enabled sharing of HTTP service (because of the IIS server). Obviously IIS is running. wifi2 is set as a domestic net.
So, I've connected my smartphone to wifi2, and typed 192.168.137.1, the IP of my pc in wifi2, in wich it should be running the IIS server. But it respond with a timeout error. So I've typed 192.168.0.104 , the IP of wifi1, and I though my smartphone cannot reach it, because my phone is connected to wifi2, but it show the IIS home page. This is strange, but the problem is here: if I disconnect my PC from wifi1 (so there isn't an internet connection, but only a local wifi lan), from my smartphone I can't visualize anything, both 192.168.137.1 and 192.168.0.104 !
why I need an internet connection to show the IIS page?
How can I fix this problem?

Resources