LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2018, 02:21 AM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,276
Blog Entries: 2

Rep: Reputation: 232Reputation: 232Reputation: 232
Post rfkill soft blocking after hardware switch unblock - all of sudden


There are similar threads, but i would not like bumping them - this didn't happen to my setup just a while back.

problem:
wifi does not work

symptoms:
when trying to start the network in /etc/rc.d the script rc.inet1 complains the RFKILL is blocking it

cause:
I accidentally flipped the RFKILL switch and suddenly all hell broke loose. Despite UN-fliping it, and rfkill ceasing the hardblock, it stubbornly raises the softblock that remains after.

testing:
One can follow the rfkill status with:
Code:
# watch -n .5 rfkill list
and operate the rfkill hardware toggle.

solution:
file:/etc/modprobe.d/rfkill.conf
Code:
options rfkill master_switch_mode=1
options rfkill default_state=0
the behavior can be further changed, but i was contended with just "restore" so hence the "1"

FWIW

Last edited by SCerovec; 09-04-2018 at 03:03 AM. Reason: typo on "toggle"
 
Old 09-06-2018, 11:07 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,276
Blog Entries: 2

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
I wonder why this thread keeps popping out as not read to me?
 
Old 09-06-2018, 11:12 AM   #3
Gordie
Member
 
Registered: Aug 2007
Posts: 406

Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by SCerovec View Post
I wonder why this thread keeps popping out as not read to me?
Until it is replied to that appears to be how things work
 
1 members found this post helpful.
Old 09-13-2018, 06:51 AM   #4
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,276
Blog Entries: 2

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
I'm still getting an soft rfkill on occasion.

Can't see in the logs what's causing it.
 
Old Today, 02:45 AM   #5
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,276
Blog Entries: 2

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
So far I found out i can detect an event passing over udev whan I enable "debug" in /etc/udev/udev.conf.

It was not TLP's fault.

Stay tuned...
 
Old Today, 02:49 PM   #6
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 456

Rep: Reputation: 142Reputation: 142
Can you run these commands and provide the output?

Code:
rfkill list all

rfkill unblock all
 
Old Today, 03:25 PM   #7
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 702

Rep: Reputation: Disabled
Some weeks ago I installed a non Slackware distro on a Panasonic Toughbook CF-52. The BIOS ACPI table does not support Linux and there never was a BIOS update. Uninteresting to your problem description except for my cure. I had to perform a specific dance to enable the wireless. Something like this:

Code:
rmmod athk52
rmmod athk
rfkill unblock all
Flip the wireless hardware switch off.
Wait about 10 seconds.
Flip the wireless hardware switch on.
modprobe athk52
I don't know if a similar dance for your lappie will help.
 
  


Reply

Tags
modprobe, netwoking, rfkill software block


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rfkill (software but not hardware) block bluetooth saves battery? stozi Linux - Newbie 1 10-12-2016 02:41 PM
RFkill is killing me, no wifi, soft block, Debian Wheezy, RTL8187 Rich3077 Linux - Newbie 13 07-29-2015 12:10 PM
Valid characters in /sys/class/rfkill/rfkill[0-9]+/name l0p3n Linux - Kernel 1 07-25-2015 09:30 AM
RFKill randomly disabled my wireless controller (soft disable) MostViktorious Linux - Networking 0 03-17-2013 11:45 PM
Soft wireless switch eremini Linux - Laptop and Netbook 1 06-25-2008 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration