Unable to connect to both ethernet and Wi-Fi simultaneously

Solved
rafimus Posted messages 29 Registration date   Status Membre Last intervention   -  
brupala Posted messages 111942 Registration date   Status Membre Last intervention   -
Dear friends, hello.
I own an HP ZBook G2 with the latest update of Windows 10 Pro 64-bit (20H2) installed.
My problem is that as soon as I plug the ethernet cable into this computer, the wifi card gets disabled. Understand me, when I check the card in the Network Connections window of Windows, it is marked as enabled (and disconnected, with a small red cross), but the wifi (icon in the Windows taskbar icon) automatically disables, as if I were disabling it myself by clicking on it. If I click on this icon to reactivate it while the RJ45 is plugged in (to anything, by the way), it turns blue for 2 seconds, then disables again. I therefore cannot connect to my wireless network when the RJ45 is plugged into the computer.
Where is the problem, you may ask?
Well, I need to use my RJ45 to operate a CNC machine with an IP address of 169.254.110.100 and a subnet mask of 255.255.0.0, not to connect to my network. But I also need my computer to be connected to my wireless network at the same time with an address of 192.168.1.xx and a subnet mask of 255.255.255.0 to work on other files while staying connected. My previous, much older HP Elitebook with Windows 10 handled this very well. This one should be capable too, but I can't manage it.
To avoid standard solutions and irrelevant questions, here is what I have already done to try to achieve this:
- Uninstalled/reinstalled the wireless card
- Updated network cards with the latest drivers
- Changed metrics in the IPV4 protocol options of the ethernet and wireless network cards to prioritize the wireless one with a smaller metric than the ethernet
- In the Windows connections manager of gpedit.msc, disabled "minimize the number of simultaneous connections to the internet or to....."
- In the properties of the wireless card: power management, unchecked the "allow the computer to turn off this device to save power" box
- Still in the properties of the card, checked for any option that disables the wireless connection when the cable is plugged in, but this option does not exist on my card.
- In the HP BIOS, unchecked the "LAN/WAN switching" box
And after all that, the wifi still disconnects when I plug in a cable!! I think I might be about to break something... with this cable!
I would have liked to resolve this by using a different network manager (HP or Intel) to see if the problem is due to Windows, which I suspect it might be, but unfortunately, I haven't found any that are compatible with Windows 10 and my network card drivers.

Does anyone have a different idea from what I've already tried, or know of a different network manager than Windows that I could integrate to confirm that the problem is indeed due to that?
Thank you from the bottom of my heart!!

5 réponses

rafimus Posted messages 29 Registration date   Status Membre Last intervention   4
 
Well, my dear Brupala, you definitely pointed me in the right direction and I just found the solution to my problem right now.
It is indeed related to HP in particular, but it is managed through the services in Windows 10 pro. I would say that HP and Windows were in cahoots to drive me crazy. And indeed, it has nothing to do with group policies which, in any case, are not configured by default. Perhaps other brands also have this nefarious setting. By the way, if we had the opposite problem and wanted to stop the wifi when a cable is inserted, there would be dozens of much simpler solutions than finding and modifying this setting!

The solution for those who have this problem and are going crazy is as follows:

- In the Windows search box, type "services.msc"
- Click on open as administrator
- For HP users, look for the line "HP LAN/WLAN/WWAN Switching UWP service." For other brands with the same problem, there should be an equivalent line; I’ll let you search for it.
- Double-click on this line, the properties window opens.
- On the "Startup type" line, choose "disabled"
- In "Service status," click on disable

And there you go, you can now enjoy both RJ45 and wifi connections at the same time. However, you will need to remember to manually stop the wifi connection when it is unnecessary.

Thanks to Brupala for encouraging me to look further and I hope this will be helpful for others.
I am considering the problem resolved.
4
brupala Posted messages 111942 Registration date   Status Membre Last intervention   14 421
 
Thank you for the feedback :-)
It will certainly be useful to some.
1
brupala Posted messages 111942 Registration date   Status Membre Last intervention   14 421
 
Hi,
I don't think the problem is due to Windows, as it's perfectly normal to have 2 connections at the same time, especially if they're not on the same network.
I'm more inclined to think it's some goofy antivirus/firewall that's a bit too intrusive, like many of them have become.
What do you have installed in that regard?
Does the PC belong to a company?

--
and... There you go!
0
rafimus Posted messages 29 Registration date   Status Membre Last intervention   4
 
@Brupala
Thank you for your lead. No antivirus installed other than Microsoft’s. Since Windows 10 and especially its latest updates, I find it quite sufficient.
As for the firewall, same, only the one from Windows. That's why I suppose it really comes from Windows 10 or one of its components. There is indeed the firewall of the livebox, but I don't see what it could have to do with it... and anyway, at home or at work, whatever I connect via ethernet (router, machine, NAS...) the Wifi transmission cuts off. Maybe it’s a setting in the Windows firewall; I’ll take a look at that and keep you posted.
It is indeed a company PC, but with a classic network, nothing very sophisticated, I can assure you because I set it up myself. There is only the livebox connected to a Zyxel switch that sends to the patch panel to distribute to computers, printers, and NAS, the livebox being the only router on the network. In fact, my home network is much more sophisticated. And I can tinker with the PC because it’s mine.

@Dhyd
It’s not Wan but indeed Wlan, I apologize for my typo in my first post regarding the “Lan/Wan switching” in the HP bios. It is indeed “Lan/Wlan switching.”
As brupala points out, we are indeed talking about Wifi and not wired network. I didn’t have major issues with my previous HP. I simply unchecked the Lan/Wlan switching and it worked perfectly. My Lan managed the machine (directly connected to the PC via RJ45) and my Wifi connected to my Wlan network, allowing me to connect to the internet and the network. It's not as complicated as if I had to manage multiple wired networks simultaneously. In fact, I just want the transmitter/receiver of my Wifi card (wifi icon in the taskbar) to remain active when I plug in an RJ45 instead of graying out and disconnecting from the network.
0
brupala Posted messages 111942 Registration date   Status Membre Last intervention   14 421
 
We could rather consider a hardware "feature" from HP; I would see that more than an obscure setting in a group policy, but well, I don’t know them all on a W10 PRO, I’ve never even looked at what was new or not in there.
You could try with a wifi/usb adapter, maybe?
0
rafimus Posted messages 29 Registration date   Status Membre Last intervention   4
 
Well, I just tested by disabling the antivirus and defender firewall, it doesn't change anything, that damn wifi icon goes gray and the wifi disconnects. Impossible to turn it back on as long as the cable is plugged in!!
0
dhyd Posted messages 752 Registration date   Status Membre Last intervention   90
 
Hello.
To manage multiple networks, the procedure is very complex with Windows 10 because it prioritizes wired connections over Wi-Fi.
To address this situation, you need a multi-WAN switch to which all existing Ethernet networks, including the 4G box, will be connected via cable.
Be careful with multi-WAN switches, as they should not be confused with most LAN switches that have one WAN port and several LAN ports.
The multi-WAN features several WAN ports and a few LAN ports. It is on the WAN ports that you will need to connect the different networks, and the multi-WAN switch will do its job to interconnect all the devices that are connected to it.
Some multi-WAN switches can be configured while others cannot, and the number of WAN and LAN ports may vary. So be cautious when purchasing.
I know from having done it for a client that TP-Link makes multi-WAN switches, but by searching with Google, you should be able to find what you need to solve your problem.
-1
brupala Posted messages 111942 Registration date   Status Membre Last intervention   14 421
 
Hi, this is crazy ...
To manage multiple networks, the process is very complex with Windows 10 because it prioritizes wired connections over Wi-Fi.

So far, so good, that's the only correct part, but then it gets really messy:
a multi-WAN switch doesn't exist; there's no WAN port on a switch.
It could be a router, but an unconfigurable router doesn't exist either.
Please review your basic concepts.
0
dhyd Posted messages 752 Registration date   Status Membre Last intervention   90 > brupala Posted messages 111942 Registration date   Status Membre Last intervention  
 
Dear brupala, before saying that I’m talking nonsense by saying that multi-WAN routing switches don't exist, you should have done a simple search online and here’s what you would have found at TP-Link
https://www.tp-link.com/fr/business-networking/load-balance-router/tl-r480t+/

There you go, happy reading to enhance your basic knowledge.
0
brupala Posted messages 111942 Registration date   Status Membre Last intervention   14 421 > dhyd Posted messages 752 Registration date   Status Membre Last intervention  
 
Yes,
so a router, not a switch, that's what I told you, review the difference between the two a bit and anyway, that's off topic, we're talking about a PC's wifi connection, not a router.
0