Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Toggling internet connection if not working
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
ok really simple. the drivers you sent me are not packaged. so what you will do is uninstall the drivers. be sure to have windows delete the old driver. if you used the setup utility then do an uninstall from add/remove programs,
once that is done go into device manager if the card does not show up you will have to scan for hardware changes. at this point windows will either install some drivers or it will have a nice yellow exclamation. then right click the network card. click on update. and then select that you want to install it form your computer. navigate to the location where you have that broadcom package. go into the drivers folder then the win7 folder and click ok and let it do it's thing. this will only install the raw driver. no added programs/utilities. be sure to naviage thro0ugh the wifi settings by right clicking on the wifi symbol in your system tray. turn off anything pertaining to it changing the connection to get a better one. you want it to stay put.
give that a go and see what happens.. and FYI i believe those are the most up to date drivers for that card.
once that is done go into device manager if the card does not show up you will have to scan for hardware changes. at this point windows will either install some drivers or it will have a nice yellow exclamation. then right click the network card. click on update. and then select that you want to install it form your computer. navigate to the location where you have that broadcom package. go into the drivers folder then the win7 folder and click ok and let it do it's thing. this will only install the raw driver. no added programs/utilities. be sure to naviage thro0ugh the wifi settings by right clicking on the wifi symbol in your system tray. turn off anything pertaining to it changing the connection to get a better one. you want it to stay put.
give that a go and see what happens.. and FYI i believe those are the most up to date drivers for that card.
Re: Toggling internet connection if not working
Same thing again. Let me tell you exactly what I did. I looked for the driver in the Add or Remove programs, couldn't find it - Uninstalled the driver from Device Manager - Scanned for hardware changes, it showed the Broadcom driver again - Update - Browsed to the Win7 folder, installed it - Restarted laptop and modem. "Look for other wireless networks" box in the Wireless Properties is unticked. Did I miss anything?
I opened Chrome to test, and got another "Momentary pause" right away, it usually happens once a few minutes and lasts about 10 seconds. These started happening when I started using the Broadcom driver, I didn't get them before. I ran Windows Diagnostics right away - http://puu.sh/wCT5b/baf90a38c8.png. It won't let me attach the full error report here, so I'm mailing it to you.
I opened Chrome to test, and got another "Momentary pause" right away, it usually happens once a few minutes and lasts about 10 seconds. These started happening when I started using the Broadcom driver, I didn't get them before. I ran Windows Diagnostics right away - http://puu.sh/wCT5b/baf90a38c8.png. It won't let me attach the full error report here, so I'm mailing it to you.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
according to what that is saying there seems to be an issue with your internet connection device
Have you tried restarting the piece of equipment supplied to you by your ISP?
Have you tried restarting the piece of equipment supplied to you by your ISP?
Re: Toggling internet connection if not working
Yup, several times. I haven't tried reseting it, though. Will do that now.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
Preformer wrote:Yup, several times. I haven't tried reseting it, though. Will do that now.
well if you reset it you could potentially have to setup the thing again
But i do want you to do something for me.
open a cmd prompt and key in the following. this is going to flush the DNS resolver cache on the computer. and it will also force a refresh of your DHCP addresses. the one with the /all is then going to list all of the connections. so you will have to locate your WiFi card in the list. I am going to have you change your card over to static IP addressing. what you are going to need to know is the current IP address it will usually begin with 192.168.1 or 10.0.0 if it is either of those. then you will want to use those same first 3 sets of numbers. then pick a number between 200 and 254 for the 4th. also make note of the current default gateway. it will typically be 192.168.1.1 or 10.0.0.1 then go into your network properties and then edit the properties for IPV4 and turn off dynamic for both DNS and the IP settings. set your IP address according but the end result will be something like what you see below. the DNS entries below will be the same no matter what IP your computer currently has
ip = 192.168.1.221
subnet mask = 255.255.255.0
default gateway = 192.168.1.1
dns server 1 = 8.8.8.8
dns server 2 = 8.8.4.4
here are those commands you will need to run before you change the IP address. we just want to make sure that is updated and refreshed so you will grab the proper numbers.
Code: Select all
ipconfig /flushdns
ipconfig /release
ipconfig/renew
ipconfig /all
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
also. if you would please. who is your internet service provider? and if you could can you please locate the label on your router and see if you can find out the manufacturer and model number for me.
Re: Toggling internet connection if not working
Did everything like you said. I will test it for a while now. I'm from India, and I use the government's internet service, called BSNL. My router is Iball Baton ib-wra150n.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
ok keel. give it a go and see if it drops out. I am hoping that you will be good to go.
Re: Toggling internet connection if not working
Same problem man. I don't know what to do anymore. Sorry I didn't update sooner.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
is the hiccuping gone and just the disconnecting is left?
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
and I hate to be the bearer of bad news. But I have a dell 15r that had this exact same problem. I ended up replacing the network card with an Intel one and the problem never happened again. and on that card I had tried everything as well. I can't remember what the model number of the card was. but if i happen to come across the card i will let you know. and that could be the only solution to fix your problem.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
The only way I will be able to create a macro for you so that EG will be able to enable or disable a network adapter is you will have to run EventGhost as Administrator. if you are ok with that I will make up a macro for you and you can use either the Timer plugin or SchedulGhost plugin to have it run the macro at a specific time.
Re: Toggling internet connection if not working
Will do, thanks! I wanted it to run every 2 minutes automatically, without me having to do anything, not at a scheduled time. It'll ping Google to see if the Internet is running, and toggle it twice if it isn't.
Can I ask some general EG questions here if its allowed? I'll edit them out if that won't do.
How do I start EG on admin privileges on boot without my permission?
When I started using EG at first and made my xml file it started automatically on boot. But after some months it started opening an untitled EG instead, so I have to open my xml everytime. How do I fix this?
Can I ask some general EG questions here if its allowed? I'll edit them out if that won't do.
How do I start EG on admin privileges on boot without my permission?
When I started using EG at first and made my xml file it started automatically on boot. But after some months it started opening an untitled EG instead, so I have to open my xml everytime. How do I fix this?
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
my suggestion for you is to be running EG 0.5 because this has concessions in it specific for your needs
inside of EG click on the File Dropdown and then Options.
check the Autostart EG and user "Your UserName"
at that point save and close EG this will update the autoload settings.
then if you click on your start button. and click on all programs and find the startup group. and in there will be an eventghost icon. right click the icon and click properties.
under the compatibility tab you will find the checkbox to run it as an administrator. the thing here is it is going to ask you for a password. each and every time EG loads.
i do not know if that would be acceptable to you. because if you reboot the computer remotly you will be unable to enter the password. so I am thiniking we should simply give the the useraccount you login with express permissions to access the bits we need.
You will have to give me a bit to locate the exact permissions needed to be able to restart the network card.
inside of EG click on the File Dropdown and then Options.
check the Autostart EG and user "Your UserName"
at that point save and close EG this will update the autoload settings.
then if you click on your start button. and click on all programs and find the startup group. and in there will be an eventghost icon. right click the icon and click properties.
under the compatibility tab you will find the checkbox to run it as an administrator. the thing here is it is going to ask you for a password. each and every time EG loads.
i do not know if that would be acceptable to you. because if you reboot the computer remotly you will be unable to enter the password. so I am thiniking we should simply give the the useraccount you login with express permissions to access the bits we need.
You will have to give me a bit to locate the exact permissions needed to be able to restart the network card.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Toggling internet connection if not working
I do not know if you are familiar with windows permissions at all but here located in this doc
https://technet.microsoft.com/en-us/lib ... 71551.aspx
it will explain how to set WMI permissions
for simplified instructions
click start in the search for programs key in wmimgmt.msc then press return
in the left pane you will see Console Root. and then below that it WMI Control (Local)
you will want to right click on the WMI Control (Local) and then click on properties.
then click on the Security tab.
expand the Root tree item by clickong on the + next to it. and a whole list of items will appear.
locate the tree item CIMV2 and left click it once. then click on the Security button at the bottom of that window.
You will want to add a user. so click on the Add button. In the white box enter your username and then click on Check Names.
once it locates your username click on the OK button. and now you can see your username was added to the list.
at this point i want you to highlight the user you just added. and in the list of permissions below the Groups or usernames put a check in the Execute Methods Allow column. and then click on apply.
what this is going to do is by default any user is allowed to list WMI objects. and WMI does is it provides access to an internal windows database of pretty much every single thing in your computer. the CIMV2 namespace is where all of the devices are stored. normally we would be able to locate the network card no problem. but in that network card we are able to tell it to Enable and Disable. those 2 things we need to do to it are called methods. so by normal permissions the only user account authorized to do this would have been the Administrator. we now just added your username to the list of being allowed to. so now we can access the network card and we have the ability to enable and disable it.
with your specific problem we can use the ping plugin to ping your local router. no need to ping google. but we will want to make sure that it is specifically a problem with the connection and not DNS. so next time it stops working i want you to open a command window and type in ping 192.168.1.1 i believe that is your local router. and see if you get an answer. if you do then that means that your connection is working but something in the DNS got goofed up instead. I do not believe this is the case. but we want to make 100% certain.
once you have the things above done. I will set up a script to restart the network card. I am going to need to know a few things about the network card. this will require you to go into Device Manager. and locate the network card and right click it then click on properties. once in the properties dialog click on the Details tab. and below are the things i will need. you will have to scroll through the Property drop down to find the specific once and once you select it then you can copy and information that it brings up and paste it into a forum post. please either list them in the same order as i do here. or specifically tell me which ones they are.
Device Description
Display Name (there could be more then 1 of these so list them all)
Physical Device Object Name
Hardware Ids (just the first one in the list)
once you gather this last bit of information for me i will make the script for you that will disable the card and then re enable it when you lose connection
I know this seems like a lot. but it really isn't and will go pretty quickly. but if you do the things with the forum open you can follow right along and it should only take maybe 5 minutes if that. the command line thing with ping can be done after you post the rest of the information. we do not have to wait for that. that specific bit is only going to let us know how we are actually going to have to trigger the macro and that can be adjusted pretty easily.
https://technet.microsoft.com/en-us/lib ... 71551.aspx
it will explain how to set WMI permissions
for simplified instructions
click start in the search for programs key in wmimgmt.msc then press return
in the left pane you will see Console Root. and then below that it WMI Control (Local)
you will want to right click on the WMI Control (Local) and then click on properties.
then click on the Security tab.
expand the Root tree item by clickong on the + next to it. and a whole list of items will appear.
locate the tree item CIMV2 and left click it once. then click on the Security button at the bottom of that window.
You will want to add a user. so click on the Add button. In the white box enter your username and then click on Check Names.
once it locates your username click on the OK button. and now you can see your username was added to the list.
at this point i want you to highlight the user you just added. and in the list of permissions below the Groups or usernames put a check in the Execute Methods Allow column. and then click on apply.
what this is going to do is by default any user is allowed to list WMI objects. and WMI does is it provides access to an internal windows database of pretty much every single thing in your computer. the CIMV2 namespace is where all of the devices are stored. normally we would be able to locate the network card no problem. but in that network card we are able to tell it to Enable and Disable. those 2 things we need to do to it are called methods. so by normal permissions the only user account authorized to do this would have been the Administrator. we now just added your username to the list of being allowed to. so now we can access the network card and we have the ability to enable and disable it.
with your specific problem we can use the ping plugin to ping your local router. no need to ping google. but we will want to make sure that it is specifically a problem with the connection and not DNS. so next time it stops working i want you to open a command window and type in ping 192.168.1.1 i believe that is your local router. and see if you get an answer. if you do then that means that your connection is working but something in the DNS got goofed up instead. I do not believe this is the case. but we want to make 100% certain.
once you have the things above done. I will set up a script to restart the network card. I am going to need to know a few things about the network card. this will require you to go into Device Manager. and locate the network card and right click it then click on properties. once in the properties dialog click on the Details tab. and below are the things i will need. you will have to scroll through the Property drop down to find the specific once and once you select it then you can copy and information that it brings up and paste it into a forum post. please either list them in the same order as i do here. or specifically tell me which ones they are.
Device Description
Display Name (there could be more then 1 of these so list them all)
Physical Device Object Name
Hardware Ids (just the first one in the list)
once you gather this last bit of information for me i will make the script for you that will disable the card and then re enable it when you lose connection
I know this seems like a lot. but it really isn't and will go pretty quickly. but if you do the things with the forum open you can follow right along and it should only take maybe 5 minutes if that. the command line thing with ping can be done after you post the rest of the information. we do not have to wait for that. that specific bit is only going to let us know how we are actually going to have to trigger the macro and that can be adjusted pretty easily.
