LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2020, 09:06 AM   #1
SegFault1
LQ Newbie
 
Registered: Jul 2018
Distribution: Void Linux
Posts: 23

Rep: Reputation: Disabled
Wi-Fi disabled by hardware switch after laptop lid close on external wifi receiver.


Hi.

1. My laptop has a built-in Wifi-Bluetooth thingy (RTL8723BE), which is defective, due to it being so many years old. Sometimes my kernel detects it, and sometimes it doesn't. So, it's unreliable. Therefore, I got a new USB wifi receiver to replace it.

2. Everything works fine, until I close the lid of my laptop. Once I lift the lid, the NetworkManager says ''Wifi disabled by hardware switch''. And rfkill as super user gives this output,

Code:
# rfkill unblock all
# rfkill list all
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
2: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
I know that there is supposed to be a physical switch that should turn that ''Hard blocked'' to yes. But on my laptop that thing doesn't work on Linux because of some bios settings. Few ago I did my research and it seems there is no way to toggle the ''Hard blocked'', and since my internal RTL8723BE is not being used, I'm not worried. But, the external wifi-receiver is a usb device. I can remove it, I can plug it in. I am sure it is not ''Hard blocked''. Yet NetworkManager still says that ''Wifi disabled by hardware switch''.

3. I tried to restart the NetworkManager service. (I use the runit init system.)
Code:
~ $ sudo sv restart NetworkManager
Password: 
ok: run: NetworkManager: (pid 3052) 0s
Now, the NetworkManager gives a different error, ''Wifi is disabled'' and the checkboxes on 'Enable Networking' and 'Enable Wifi' is grayed out (not clickable).

It's fine if the BIOS is preventing my internal RTL8723BE from restarting, I want my external Wifi receiver to work. Anyone know the solution to this?
 
Old 09-01-2020, 09:14 AM   #2
LarryHale
LQ Newbie
 
Registered: Mar 2016
Location: Coastal South Carolina
Distribution: LM 20.4
Posts: 21

Rep: Reputation: Disabled
What linux distro and desktop?
 
Old 09-01-2020, 01:33 PM   #3
SegFault1
LQ Newbie
 
Registered: Jul 2018
Distribution: Void Linux
Posts: 23

Original Poster
Rep: Reputation: Disabled
GNOME 2 Desktop on Void Linux.
 
Old 09-01-2020, 02:39 PM   #4
LarryHale
LQ Newbie
 
Registered: Mar 2016
Location: Coastal South Carolina
Distribution: LM 20.4
Posts: 21

Rep: Reputation: Disabled
Sorry I can't help further, not familiar with Void Linux.
 
Old 09-01-2020, 03:06 PM   #5
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Never heard of Void Linux. Perhaps the distro has a website with help?
 
Old 09-02-2020, 03:13 AM   #6
SegFault1
LQ Newbie
 
Registered: Jul 2018
Distribution: Void Linux
Posts: 23

Original Poster
Rep: Reputation: Disabled
Is the problem that I described really distro related? Ok, what would you do if it was a distro you were comfterble with, say Elementary OS or Ubuntu? I'll translate that into Void's commands.
 
Old 09-02-2020, 02:03 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
AFAIU you want to blacklist the internal wifi device, so that the system only sees the USB device?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is my network card bypassing "ignore lid" settings, because download still halts when I close lid? winger9 Linux - Laptop and Netbook 5 12-11-2019 04:34 AM
[SOLVED] Internet connection quits - says WIFI is disabled by hardware switch - I don't have switch pizzipie Linux - Networking 9 08-20-2017 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration