Hey, brotherS, been a while. =]Hey skwire, been a while indeed! :)
There are a bunch of ways to do this, depending on how pretty you want it. The default Windows tray icon shows the currently connected wireless network. You can easily create a batch file that runs the following command to quickly connect to your fast SSID.netsh wlan connect <FAST_SSID_NAME_HERE>
Create a shortcut to that batch file in a convenient place and run it whenever you check the tray icon and see that you're on the slower network.
If you want something more like an actual application, sure, I can do that, but I want to see if the quick'n'dirty suggestion above suffices.-skwire (March 03, 2022, 02:17 PM)
The "whenever you check the tray icon and see that you're on the slower network" thing is what I want to prevent. 8) The perfect solution would be an app that would automatically reconnect to the fast connection when possible, just letting me know that it happened, but without me having to do anything.-brotherS (March 03, 2022, 03:37 PM)
Yes and yes.The "whenever you check the tray icon and see that you're on the slower network" thing is what I want to prevent. 8) The perfect solution would be an app that would automatically reconnect to the fast connection when possible, just letting me know that it happened, but without me having to do anything.-brotherS (March 03, 2022, 03:37 PM)
When it switches to the slow network, does the fast network go missing from the list of choices you see when you click the Windows network tray icon? Also, I assume the slow and fast networks have different SSID names?-skwire (March 03, 2022, 04:31 PM)
Yes and yes.-brotherS (March 03, 2022, 04:41 PM)
I have control over the network but currently have very little time (I really appreciate your offer!), and there might be a deeper issue... see below.Yes and yes.-brotherS (March 03, 2022, 04:41 PM)
- Is this scenario something you can simulate or force to happen? That is, do you have control of whether the fast network stays or goes away?
- Are you free for some prototype testing tomorrow? I'm on Central Time in the U.S.
-skwire (March 03, 2022, 06:00 PM)
Maybe try this? I've used this a lot on a laptop where I constantly had to change network settings.Thank you, never heard of it. I've set it up and saw something weird in NetSetMan's AutoSwitch tab: while the fast SSID was available again - I could connect to it on my phone - NetSetMan didn't see it (while checking every 10 seconds), and thus failed to connect. After a few minutes, I checked the WiFi connections in Windows, and only then did the fast SSID show up there, and in NetSetMan.
https://www.netsetman.com/en/freeware
- Free
- Tray Icon
- Switch between network adapters
- Switch between networks
- Wifi Management is even a new feature
Features List
https://www.netsetman.com/en/freeware-BGM (March 03, 2022, 09:02 PM)
Thank you, never heard of it. I've set it up and saw something weird in NetSetMan's AutoSwitch tab: while the fast SSID was available again - I could connect to it on my phone - NetSetMan didn't see it (while checking every 10 seconds), and thus failed to connect. After a few minutes, I checked the WiFi connections in Windows, and only then did the fast SSID show up there, and in NetSetMan.
Is there a way to make Windows check for available networks more frequently? I didn't see a related Windows option and Google didn't offer anything useful.-brotherS (March 04, 2022, 10:15 AM)
Based on my tests yesterday, I saw the same behaviour. That said, you can still connect to a non-visible network, via netsh, so long as you know the name. Here's my logic flow for a prototype:Interesting! :) Yeah, that sounds like the perfect logic. I might have some time early afternoon tomorrow (US Central Time), how long should prototype testing take?
1. Program starts up knowing the preferred/fast network name.
2. Program checks what network it's currently on.
2a. If not the preferred network, set tray icon to red/slow, and attempt to connect to it every n number of seconds/minutes.
2b. If on the preferred network, set tray icon to green/fast, and check every n number of seconds/minutes to ensure we're still on the preferred network. If not, go back to 2.
It's a bit of brute method, but it's not resource intensive and should get the job done.-skwire (March 04, 2022, 12:59 PM)
Something much simpler to try may be the following:Yeah, I've tried that for a while, but that results in Windows being offline whenever the fast WiFi is not available, and I don't want having to manually interfere anymore. :)
Set your WiFi connection to your fastest WiFi to 'connect automatically', and the connection to your slower WiFi to 'not connect automatically'. Windows will now not so easily switch between WiFi setups any more. Whenever the fast one is available Windows will switch automagically, yet won't switch back to your slow connection.-Shades (March 04, 2022, 05:06 PM)
Interesting! Yeah, that sounds like the perfect logic. I might have some time early afternoon tomorrow (US Central Time), how long should prototype testing take?-brotherS (March 04, 2022, 04:43 PM)
It works! Awesome! (https://www.donationcoder.com/forum/esmileys/gen3/2Signs/iloveusign.gif)
- Download the attached file and extract it into its own folder somewhere.
- Run the WiFiBrute.exe file. On startup, you should see a new icon in your tray with a yellow circle. It should then pop up an input box to enter your preferred SSID. This is case-sensitive and must be exact.
- After that, it will check to see which network it's on. If it's the preferred one, the tray icon turns green, and it then checks every ten seconds to ensure it's on the preferred network (if it's available, of course).
- If the preferred network is not available, the tray icon turns read, and it tries to connect to the preferred network every ten seconds. Once it's successful, the tray icon turns green again, and you are notified with a standard Windows 10 popup that you're back on the preferred network.
You can exit the application by right-clicking the tray icon and choosing Exit. It's a very basic prototype right now, with minimal configurable options, so I'm curious to see if it does, indeed, work for you. Let me know how you get on with it.-skwire (March 05, 2022, 04:12 PM)
It works! Awesome!-brotherS (March 06, 2022, 02:31 AM)
I'm guessing you'll change it so that the wanted SSID doesn't have to be entered every time the .exe is run?-brotherS (March 06, 2022, 02:31 AM)
And may I suggest this mouse-over info:
SSID: xyz
Connection enforced: -
which will change to
SSID: xyz
Connection enforced: yyyy-mm-dd hh:mm:ss
once it enforced a connection?-brotherS (March 06, 2022, 02:31 AM)
Ah... Are there different kinds of tooltips?And may I suggest this mouse-over info:
SSID: xyz
Connection enforced: -
which will change to
SSID: xyz
Connection enforced: yyyy-mm-dd hh:mm:ss
once it enforced a connection?-brotherS (March 06, 2022, 02:31 AM)
Sure. I'll have to condense it a bit, since there is a limited amount of text allowed in that particular tooltip.-skwire (March 06, 2022, 12:33 PM)
Ah... Are there different kinds of tooltips?-brotherS (March 06, 2022, 12:41 PM)
Oh, and I just noticed that WiFiBrute wasn't running anymore, but I didn't see a crash notification while I was at the PC.-brotherS (March 06, 2022, 12:41 PM)
Cool. The biggest tray tooltip I ever saw had 6 or 7 lines IIRC. :)Ah... Are there different kinds of tooltips?-brotherS (March 06, 2022, 12:41 PM)
Tooltips are tooltips, but tray tooltips seem to have a limit to the amount of lines and text they can display. I'll play around with it.-skwire (March 06, 2022, 12:52 PM)
A few suggestions:Oh, and I just noticed that WiFiBrute wasn't running anymore, but I didn't see a crash notification while I was at the PC.-brotherS (March 06, 2022, 12:41 PM)
Hmmm...odd.
Somebody needs come up with a better name for this, too. :P-skwire (March 06, 2022, 12:52 PM)
Guess the name should start with a lower-case s, as that's a common prefix for many of Skwire's specialist tools :Thmbsup:-Ath (March 06, 2022, 03:18 PM)
Hey tomos!Grüße!-brotherS (March 07, 2022, 09:10 AM)
Guess the name should start with a lower-case s, as that's a common prefix for many of Skwire's specialist tools :Thmbsup:-Ath (March 06, 2022, 03:18 PM)
Hahaha...only because I'm rubbish at naming these things. :D-skwire (March 06, 2022, 03:42 PM)