Why does wifi automatically turn off when eth0 is turned on?
What makes you think so? Show the full commands and their complete output where turned off wifi is visible.
I donât give any commands.
If I pull out the ethernet cable(unplag), then the wifi automaticaky turns on normally and connects to the AP.
When the ethernet cable is inserted into the laptop, the wifi does not turn on.
âEnable wifiâ - gray (unavailable for pressing)
Serg
For pressing where? You are apparently using some GUI and some desktop environment, but you did not say which one.
Your screenshot says âWi-Fi is disabled by hardware switchâ which suggests it is done by your BIOS.
I`m useing NetworkManager.
I donât want to switch to Wicked
What does sudo rfkill
return with and without wired connection?
Can you check if there are any scripts placed in /etc/NetworkManager/dispatcher.d/ or /etc/NetworkManager/conf.d/ ?
Edit: What network adapter(s) are you using?
1
When wired Plug-In:
#rfkill
ID=0 TYPE=wlan DEVICE=hp-wifi SOFT=ublocked HARD=unblocked
ID=3 TYPE=wlan DEVICE=phy SOFT=ublocked HARD=blocked
When wired UnPlug:
#rfkill
ID=0 TYPE=wlan DEVICE=hp-wifi SOFT=ublocked HARD=unblocked
ID=3 TYPE=wlan DEVICE=phy SOFT=ublocked HARD=unblocked
2
ls /etc/NetworkManager/dispatcher.d/
20-chrony autofs
( default scripts only)
ls /etc/NetworkManager/dispatcher.d/
ls: cannot access âconf.d/â: No such file or directory
3
02:0e.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM4401-B0 100Base-TX (rev 02)
10:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN (rev 01)
So, it indeed gets hard blocked which points to/confirms:
What are the default scripts? On my Gnome Tumbleweed install I donât have any scripts in there.
Is there really no /etc/NetworkManager/conf.d or did you maybe by accident check /etc/NetworkManager/dispatcer.d/conf.d as it says ls /etc/NetworkManager/dispatcher.d
above
Thank you for help.
In the BIOS was:
LAN/WLAN Switching = âEnableâ
After set to âDisableâ - problem resolved !
Thank you !