[Solved] WiFi Radio Off on Atheros AR242x/AR542

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[Solved] WiFi Radio Off on Atheros AR242x/AR542

Postby R_Head » Feb 27th, '16, 17:31

Used the search feature and went through a lot or rabbit holes.

Short version of the story....

The laptop has a Radio On / Off button, is lit (blue) cannot be turned off manually; just does nothing. Only time that goes amber is during reboot.
The MCC shows the wireless adapter and seems to be acting normal. However, not able to see any available networks.
The NIC (RJ45) works, no issues there.

Gives me the impression that is turned off and I have no idea on how to turn it on.

OS is Mageia 5 (updated to latest changes)
Kernel 4.1.15-desktop-2.mga5

Code: Select all
Using iwconfig command:
wls1 IEEE 802.11bg  ESSID: off/any
       Mode: Managed  Access Point: Not-Associated   Tx-Power=off
       Retry short limit:7    RTS thr:off    Fragment thr:off
       Encryption key:off
       Power Management:off

%%%%%%%%%%%%%%%%%%%%%

rfkill list command:
0: hp-wifi: Wireless LAN
           Soft blocked:  yes
           Hard blocked: no

1: phy0: Wireless LAN
           Soft blocked:  no
           Hard blocked: yes

%%%%%%%%%%%%%%%%%%%%%

After using rfkill unblock 0:
0: hp-wifi: Wireless LAN
           Soft blocked:  no
           Hard blocked: no

1: phy0: Wireless LAN
           Soft blocked:  no
           Hard blocked: yes

%%%%%%%%%%%%%%%%%%%%%

After using rfkill unblock 1:
0: hp-wifi: Wireless LAN
           Soft blocked:  no
           Hard blocked: no

1: phy0: Wireless LAN
           Soft blocked:  no
           Hard blocked: yes


Thanks in advance.
Last edited by R_Head on Feb 27th, '16, 22:49, edited 3 times in total.
R_Head
 
Posts: 74
Joined: May 20th, '12, 21:17

Re: WiFi Radio Off on Atheros AR242x/ar 542

Postby doktor5000 » Feb 27th, '16, 18:04

See https://wiki.mageia.org/en/Setup_wirele ... ic_drivers - 8. bullet point.
You probably need to blacklist the dmi module that adds that pseudo hp-wifi rfkill interface.

Can you show the output as root of
Code: Select all
lsmod|grep -iE "dmi|hp"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: WiFi Radio Off on Atheros AR242x/ar 542

Postby R_Head » Feb 27th, '16, 18:14

Code: Select all
lsmod|grep -iE "dmi|hp"
snd_hda_codec_hdmi     49152  1
snd_hda_codec         106496  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
snd_hda_core           32768  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
snd_pcm               102400  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd                    69632  16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
rfkill                 24576  3 cfg80211,hp_wmi
wmi                    20480  1 hp_wmi
shpchp                 32768  0
R_Head
 
Posts: 74
Joined: May 20th, '12, 21:17

Re: WiFi Radio Off on Atheros AR242x/AR542

Postby doktor5000 » Feb 27th, '16, 19:25

You would need to blacklist the hp_wmi module as explained in the above mentioned link. Then try again after a reboot, if it still doesn't work, please again "rfkill list all" output.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: WiFi Radio Off on Atheros AR242x/AR542

Postby R_Head » Feb 27th, '16, 22:48

Never done this before so took me a bit to understand.

Ran the command
Code: Select all
echo "blacklist-wmi" >> /etc/modprobe.d/blacklist-mga.conf


Rebooted the system

Run this command
Code: Select all
rfkill list all
0: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no


Using the control network configuration GUI all available networks shows up.

Thanks Doc, seems to be in order.
R_Head
 
Posts: 74
Joined: May 20th, '12, 21:17

Re: WiFi Radio Off on Atheros AR242x/AR542

Postby doktor5000 » Feb 27th, '16, 22:55

R_Head wrote:Ran the command
Code: Select all
echo "blacklist-wmi" >> /etc/modprobe.d/blacklist-mga.conf



Nope, it should be

Code: Select all
echo "blacklist hp_wmi" >> /etc/modprobe.d/blacklist-mga.conf


You should also remove the line you added to /etc/modprobe.d/blacklist-mga.conf with your command, as it's not valid.

Or what you posted does not match what you typed on your box.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [Solved] WiFi Radio Off on Atheros AR242x/AR542

Postby R_Head » Feb 27th, '16, 23:04

Is working that way... so if is wrong, how that happen?
R_Head
 
Posts: 74
Joined: May 20th, '12, 21:17


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest