LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-05-2021, 10:34 PM   #1
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Rep: Reputation: Disabled
MX Linux: how to enable wi-fi


I just installed MX 19.4 Patito Feo on a laptop and quickly ran into wireless issues. I was able to connect to my home wi-fi network right away, but after I restarted the computer, NetworkManager displayed wi-fi as "disconnected". There seems to be nothing that I can do to turn networking back on. Here are some of the things that I've tried:

- The GUI for NetworkManager features an "Enable Wi-Fi" check-box, but clicking it does nothing.

Code:
sudo lspci
tells me that I actually do have a wireless card and that Linux recognizes it. Of course, since I had wi-fi earlier, that's redundant as proof, but it's still useful to know.

Code:
sudo nmcli radio wifi
yields a result of "disabled", and running

Code:
sudo nmcli radio wifi on
does not change the result.

- One blog suggestion that I found was to enter:

Code:
echo "blacklist hp_wmi" | sudo tee /etc/modprobe.d/hp.conf
sudo rfkill unblock all
which did nothing for me.

- Another suggestion was to modify the /etc/network/interfaces file to contain this:

Code:
auto lo
iface lo inet loopback
 
auto wlan0
iface wlan0 inet dhcp
wpa-essid myssid
wpa-psk mypasscode
and then to run:

Code:
sudo ifdown wlan0 && sudo ifup -v wlan0
No results there, either, except multiple messages reading "Network is down".

- Entering:

Code:
nmcli dev status
yielded:

Code:
DEVICE             TYPE      STATE         CONNECTION         
eth0               ethernet  unavailable   --
wlan0              wifi      unavailable   --         
lo                 loopback  unmanaged     --
I only mention this because I've noticed that the "unavailable" state is very uncommon. The blog that suggested this command showed either "connected" or "disconnected" for most devices, and I noticed the same thing on my other computer.

- The results of

Code:
iwconfig
are interesting as well:

Code:
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
Does that "Tx-Power" thing mean that the wireless card isn't even receiving power? If so, how can I change that? And if not, is there anything else I might try? Any suggestions would be greatly appreciated.
 
Old 10-05-2021, 10:49 PM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,402

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
Forgive the obvious, but you didn't happen to bump a hardware wireless on/off switch....
 
Old 10-05-2021, 11:55 PM   #3
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
(fyi) To collect 'all' info, https://github.com/UbuntuForums/wireless-info
 
Old 10-06-2021, 11:27 AM   #4
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
Forgive the obvious, but you didn't happen to bump a hardware wireless on/off switch....
It looks like that was the problem. Can't believe I didn't think to check the hardware... Thanks!

And in case anyone else runs into this: after turning the switch on, the wireless card registered as "unmanaged". To fix it, I had to open /etc/network/interfaces and change this line:

Code:
managed=false
To:

Code:
managed=true
After restarting the computer, my wireless is working again.

Credit for the "unmanaged" solution goes to this blog:

https://www.blackmoreops.com/2013/11...managed-error/
 
Old 09-07-2022, 03:19 PM   #5
sl0wj0n
LQ Newbie
 
Registered: Sep 2011
Posts: 14

Rep: Reputation: Disabled
A grateful Thak You! . . .

Hello, all, just a very grateful & huge "THANK YOU!".
I didn't even know my ThinkPad T430 has a "Wireless radio switch", much less that I accidently turned it off. So when I found out, from this thread, I was compelled to add to it.
I changed my keyboard &, somehow, turned 'Off' the 'radio switch'; Maybe the first time, since I didn't know about it.
So this thread clued me in & I was able to solve my 'no wi-fi' issue, hence my gratitude.
Have a GREAT day, Neighbor!
 
Old 09-16-2022, 04:57 AM   #6
thugtomas
LQ Newbie
 
Registered: Sep 2022
Posts: 6

Rep: Reputation: 0
Click the Windows button -> Settings.
Select Network & Internet.
Select Wi-Fi.
Slide Wi-Fi On, then available networks will be listed. Click Connect. Disable/Enable Wi-Fi.
 
Old 09-16-2022, 09:43 AM   #7
sl0wj0n
LQ Newbie
 
Registered: Sep 2011
Posts: 14

Rep: Reputation: Disabled
Thank you!
I did not know my ThinkPad has a wi-fi switch or had forgotten it, I didn't remember it.
Turn the wi-fi switch "ON", wi-fi works.
Turn it "OFF" wi-fi will *NOT* work regardless of all other factors.
So when changing my keyboard I think I accidently switched it "OFF".
I saw that post, referring to a hardware switch, & checked on my ThinkPad T430.
It has a hardware switch for wi-fi, when I checked it was "OFF".
Turned it on, wi-fi worked.
So I posted to the thread expressing my appreciation & gratitude for the info that solved it.
 
  


Reply

Tags
mx linux, wi-fi



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
user space profiling events enable parameter behaviour not clear: /sys/kernel/debug/tracing/events/enable reset to X when set to 1 barz_83_LQ Linux - Kernel 1 11-30-2017 07:28 AM
I forgot enable "enable thin provisioning optimized storage for xendesktop" jokar.mohsen Linux - Virtualization and Cloud 21 12-03-2014 08:56 AM
how to recompile squid to enable -enable-storeio=coss ejinh Fedora 2 08-11-2010 04:15 AM

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

All times are GMT -5. The time now is 03:06 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