LinuxQuestions.org
Help answer threads with 0 replies.
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 08-31-2020, 03:23 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,291

Rep: Reputation: 52
wifi is disabled - can't find how to enable it


Lenovo T500 THINKPAD and Vodafone R216H wifi modem with Debian 9 and MATE
This laptop used to automatically detect the wifi modem but refuses to do so now saying
Code:
wifi is disabled
although it still has Vodafone name and password unchanged in the parameters.
It is definitely not a matter of installing an incompatible wifi hardware but I cannot find how to "enable" wifi.
The only thing I have done regarding wifi was to adjust user settings to disable a user access to wifi to prevent the abuse of phone data allocation while the laptop was used by someone else in another place but now returned to its original place of usage.

Has anyone any advice on how to solve the problem?

Thank you for your help.
 
Old 08-31-2020, 04:58 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Assuming that there is no physical switch on the modem that may be off, then you should look in your network manager to re enable wifi, (you don't say which network manager you are using, so can't give a specific answer).
 
Old 08-31-2020, 08:43 AM   #3
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
You said you changed the settings to prevent someone from using wifi. Change those settings back to what they were.
 
Old 08-31-2020, 08:46 AM   #4
biker_rat
Member
 
Registered: Feb 2010
Posts: 373

Rep: Reputation: 220Reputation: 220Reputation: 220
There is a physical switch to disable wifi on some laptops. Make sure that you have not thrown it by accident. Run rfkill as superuser or sudo to see if it is blocked there, and unblock if needed. Run ifconfig (as su ) to see what the name of your wifi device is and to see if it is up and to make it up if it isn't. Make sure whatever you are using to configure wifi is using that correct device name. This a way to troubleshoot on slack. If systemd makes this advice outdated on debian, maybe someone else can correct me.

Last edited by biker_rat; 08-31-2020 at 08:51 AM.
 
Old 08-31-2020, 02:40 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Some of those have to have bluetooth enabled in bios also ??
Edit, dang didn't know it was a usb gizmo. Thought it was wifi.

Last edited by jefro; 09-01-2020 at 02:28 PM.
 
Old 08-31-2020, 08:05 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,386
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
The command lspci issued in a terminal should reveal which wireless chipset your computer contains. You may have to issue the command as root.
 
Old 09-01-2020, 12:38 AM   #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
^ not in this case.
It's one of those 4G modems that create a wifi hotspot; completely detached from the computer (except charging via USB):
https://wirelessgear.com.au/vodafone...g-r216h-modem/

Since all it does is create a wifi hotspot, troubleshooting is limited to
a) your network manager's wifi settings
b) the modem's settings (encryption, SSID name etc.)
 
Old 09-01-2020, 03:17 AM   #8
SegFault1
LQ Newbie
 
Registered: Jul 2018
Distribution: Void Linux
Posts: 23

Rep: Reputation: Disabled
Hi.

Co-incidentally, I was going to create this exact thread. Here is some more info. Please help.

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, 05:21 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
SegFault1 you need to start a new thread. Your problem even through it may be similar, the solution may be totally different, and reduces confusion for those providing answers to this thread.

Last edited by colorpurple21859; 09-01-2020 at 05:23 AM.
 
Old 09-01-2020, 08:43 AM   #10
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Quick answer - plug in your USB dongle before starting up your computer - the system should load a driver for it, then you configure your network.
 
Old 09-01-2020, 11:06 AM   #11
biker_rat
Member
 
Registered: Feb 2010
Posts: 373

Rep: Reputation: 220Reputation: 220Reputation: 220
If the dongle and the internal wifi are using diffent kernel driver modules, blacklist the the kernel driver module for your internal wifi card. Most likely, if this is done, linux will act like it is not there.
 
Old 09-01-2020, 02:30 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I'm confused. I assume you can access this via a usb cable to get it to work but also you wish to now connect it to wifi.
You said you played with some settings. Can you create a new user and see if that new user has proper settings to make it work?
 
Old 09-02-2020, 05:14 AM   #13
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,291

Original Poster
Rep: Reputation: 52
Thank you for the answers.
The laptop has wifi "Intel Corporation Ultimate N Wifi Link 5300" (no need for a dongle) which worked before with Vodafone wifi modem R216h, this modem works with my desktop and sent this message. I only have wifi Internet.
The network manager is the Gnome network manager.

The only thing I changed between the time it worked and the time it did not worked was to ensure user user2 had no access to wifi and accidentally wipe out the small wifi data allocation of user1/root. user1 was the main user defined at the time of the installation with settings not changed since the time of the OS installation (user1 having access to wifi). User1 is now the only user and has correct permissions.

Nothing I tried worked although some suggestions could not be tried without installing software (ifconfig deprecated and replaced by ip).
I decided to cheat and tried reinstalling Debian 9 but it could not communicate with the wifi network even though I position the wifi modem's antenna within 3 metres of it. Install found and used the non-free firmware iwiwifi-500 on a usb and was happy with that but then it choked on the WIFI KEY. I took screenshots of the messages supposed to have been saved in /var/log/netcfg-wpa but after rebooting, I found there was no such directory.
Issuing service network-manager restart only gives a message that the network has been disconnected.

Last edited by rblampain; 09-02-2020 at 07:49 AM.
 
Old 09-02-2020, 01:25 PM   #14
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
That suggests to me that there may be a physical switch somewhere on the laptop that enables/disables wifi. I have no idea where it would be, but perhaps reading the manual for the laptop would help find it.

After some digging on the Lenovo website, I can't find a T500 manual, but for a T520 and others there is a switch at the top of the screen which controls wifi. It appears to be a slider switch, as far as I can tell from a poor .pdf image. Try sliding that switch and see if wifi is enabled.
 
1 members found this post helpful.
Old 09-02-2020, 08:11 PM   #15
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,291

Original Poster
Rep: Reputation: 52
Unbelievable! That's what it was, a tiny slider switch. Slided it and now I got wifi. What was the logic behind having a switch for wifi is hard to figure out.
 
  


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
Ubuntu 20LTS dual boot Laptop Dell Inspiron 5548 I can not turn on wifi and in wifi settings indicates no wifi device was found Shra94 Linux - Hardware 1 05-19-2020 04:22 PM
DWA-131 Access Point - Debian : interface state UNINITIALIZED->DISABLED , AP-DISABLED mr.simo Linux - Networking 1 03-22-2018 03:29 PM
If root account is removed/disabled, can malware enable root or get just as powerful? Ulysses_ Linux - Security 34 05-08-2017 12:59 PM
[SOLVED] HP 3115m: WiFi disabled by keyboard hotkey / won't enable in Mint 18.1 Serena laserhawk64 Linux Mint 3 03-16-2017 01:30 AM
HD access disabled, can I enable it? JoeFisher57 Linux - Hardware 10 12-31-2007 08:37 PM

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

All times are GMT -5. The time now is 12:50 AM.

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