You are not logged in.

#1 2017-09-10 08:09:35

ab90
Member
Registered: 2017-09-06
Posts: 195

WiFi - Soft Block / Hard Block Riddle -noWiFi

rfkill list all:

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
1: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Then press FN+F2:

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes
1: asus-wlan: Wireless LAN
	Soft blocked: yes
	Hard blocked: no

"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#2 2017-09-10 08:25:47

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,654

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

https://wiki.ubuntuusers.de/rfkill/#ASUS-Notebooks

Sorry  neutral
https://www.deepl.com/translator   wink

Last edited by unklar (2017-09-10 08:28:57)

Offline

#3 2017-09-10 08:30:19

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

Danke! Englisch oder Deutsch, geht beides...


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#4 2017-09-10 08:36:24

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

lsmod | grep -i asus 
asus_wmi               22333  1 eeepc_wmi
wmi                    17147  1 asus_wmi
video                  17763  2 i915,asus_wmi
sparse_keymap          12730  1 asus_wmi
rfkill                 18387  2 cfg80211,asus_wmi

sind andere Items als beschrieben..^^


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#5 2017-09-10 09:11:11

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

rfkill cannot remove a hard block.

fwiw, i recently discovered that there's 2 rfkill kernel parameters.
If I'm reading this correctly, you might want to add

rfkill.default_state=1

to your kernel command line (grub => press 'e' to edit).
if that works, you can make it permanent.

Offline

#6 2017-09-10 09:34:11

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

i just did reboot to see the grub menu big_smile then i pressed 'e' and then  i wrote the line you posted. and left with strg+x big_smile but it didnt work


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#7 2017-09-10 09:44:47

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

Try blacklisting the asus-wmi module.

You can test this by pressing "e" with the BunsenLabs GRUB (boot) menu entry highlighted and adding this to the end of the line that starts with "linux":

modprobe.blacklist=asus-wmi

Then press <Ctrl>+x (at the same time) to boot the modified entry.

If that works, make it permanent with:

sudo tee -a /etc/modprobe.d/asus.conf <<< "blacklist asus-wmi"

Offline

#8 2017-09-10 09:53:58

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,654

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

^ es ist richtig, was ohnonot schreibt: rfkill kann nicht hard-block schalten.

Deshalb erscheint mir sein Hinweis völlig ok. wink  Kannte ich auch noch nicht.
Hast du nach dem Einfügen der genannten Kernel-Zeile auch noch ein Leerzeichen
gemacht? "Früher" war das doch mal so... 

.....
Abgesehen davon, zeigt oben dein

rfkill list

das zwei wlan-Instanzen geladen werden.
Das Wiki ist ja nicht *absolut* zu verstehen, es listet Beispiele und Regeln.

Dann sieh oben 'drüber das Beispiel mit "acer_wmi", was auf diese zwei Instanzen Bezug nimmt.


Edit: HoaS war schneller.  lol

Last edited by unklar (2017-09-10 09:55:09)

Offline

#9 2017-09-10 10:34:21

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

No, none of it did the trick hmm


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#10 2017-09-10 10:43:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

What is the `rfkill` output after the asus-wmi module is blacklisted?

Did you check if the blacklist actually worked (`lsmod`)?

Offline

#11 2017-09-10 10:49:37

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

rfkill list all
0: asus-wlan: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes

thats what i ment with riddle, either one is blocked.

EDIT: now i pressed fn+f2 again:

 rfkill list all
0: asus-wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes

Last edited by ab90 (2017-09-10 10:51:05)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#12 2017-09-10 11:17:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

Does `lsmod` show that any asus modules are still loaded?

You could try applying the blacklist to asus-wlan instead, perhaps.

Can you remove either manually while booted?

sudo modprobe -rv asus-wlan asus-wmi

Offline

#13 2017-09-10 11:42:36

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

Yes, lsmod shows asus:

 lsmod
Module                  Size  Used by
cpufreq_conservative    13872  0 
cpufreq_powersave      12422  0 
cpufreq_stats          12694  0 
cpufreq_userspace      12477  0 
iTCO_wdt               12727  0 
iTCO_vendor_support    12585  1 iTCO_wdt
arc4                   12480  2 
ath9k                  84654  0 
ath9k_common           21530  1 ath9k
eeepc_wmi              12536  0 
asus_wmi               22333  1 eeepc_wmi
ath9k_hw              380024  2 ath9k_common,ath9k
ath                    21707  3 ath9k_common,ath9k,ath9k_hw
uvcvideo               69805  0 
videobuf2_vmalloc      12720  1 uvcvideo
videobuf2_memops       12471  1 videobuf2_vmalloc
videobuf2_core         39059  1 uvcvideo
v4l2_common            12867  1 videobuf2_core
mac80211              425546  1 ath9k
lpc_ich                16616  0 
mfd_core               12537  1 lpc_ich
videodev              107701  3 uvcvideo,v4l2_common,videobuf2_core
joydev                 16847  0 
rng_core               12645  0 
media                  17842  2 uvcvideo,videodev
cfg80211              354137  4 ath,ath9k_common,ath9k,mac80211
coretemp               12708  0 
evdev                  17136  14 
pcspkr                 12531  0 
serio_raw              12737  0 
i915                  766751  3 
sparse_keymap          12730  1 asus_wmi
snd_hda_codec_realtek    62056  1 
snd_hda_codec_generic    58021  1 snd_hda_codec_realtek
rfkill                 18387  2 cfg80211,asus_wmi
ac                     12627  0 
drm_kms_helper         44450  1 i915
snd_hda_intel          26023  3 
snd_hda_controller     26262  1 snd_hda_intel
drm                   207686  5 i915,drm_kms_helper
snd_hda_codec          93797  4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
battery                13164  0 
video                  17763  2 i915,asus_wmi
snd_hwdep              12906  1 snd_hda_codec
snd_pcm                78128  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26149  1 snd_pcm
snd                    55101  13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              12890  2 snd,snd_hda_codec
i2c_algo_bit           12647  1 i915
wmi                    17147  1 asus_wmi
i2c_core               36838  6 drm,i915,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
shpchp                 30673  0 
button                 12824  1 i915
acpi_cpufreq           17050  0 
processor              27590  1 acpi_cpufreq
fuse                   81592  3 
parport_pc             26004  0 
ppdev                  16686  0 
lp                     12766  0 
parport                35213  3 lp,ppdev,parport_pc
autofs4                34865  2 
ext4                  442557  4 
crc16                  12327  1 ext4
mbcache                17027  1 ext4
jbd2                   72964  1 ext4
crc32c_generic         12576  1 
btrfs                 854794  0 
xor                    25716  1 btrfs
raid6_pq               95207  1 btrfs
usb_storage            43391  0 
sg                     25573  0 
sd_mod                 43684  6 
crc_t10dif             12399  1 sd_mod
crct10dif_generic      12517  1 
crct10dif_common       12340  2 crct10dif_generic,crc_t10dif
psmouse                93505  0 
ahci                   29134  5 
libahci                22574  1 ahci
libata                161908  2 ahci,libahci
scsi_mod              164132  4 sg,usb_storage,libata,sd_mod
ehci_pci               12464  0 
uhci_hcd               38948  0 
ehci_hcd               64933  1 ehci_pci
atl1c                  39986  0 
usbcore               171098  5 uhci_hcd,uvcvideo,usb_storage,ehci_hcd,ehci_pci
usb_common             12408  1 usbcore
thermal                17343  0 
thermal_sys            27122  3 video,thermal,processor

"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#14 2017-09-10 11:59:56

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

OK, let's test these kernel parameters (in GRUB):

modprobe.blacklist=eeepc-wmi
modprobe.blacklist=asus-wlan
modprobe.blacklist=rfkill

Looks like asus-wmi is needed by the video card for some reason.

Offline

#15 2017-09-10 12:02:03

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

what do you mean exactly by via grub? cant believe the in-grub-press-e-thing was the right address...
cant i write that via bl-text-editor in some grub file?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#16 2017-09-10 13:11:50

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

ab90 wrote:

cant i write that via bl-text-editor

If you prefer, yes.

Add any blacklists to a file at /etc/modprobe.d/asus.conf (you will have to create it yourself), use one line for each, like this:

blacklist eeepc-wmi
blacklist asus-wlan

It will take effect after a reboot, `lsmod` can be used to check if it worked.

Probably best to try one at time before mixing things up and you should at least try a "live" removal with `modprobe -rv eeepc-wmi` (or whatever) beforehand.

The GRUB method is simpler for testing because editing system files requires two reboots to try each change but you should probably do whatever you find easiest.

Offline

#17 2017-09-10 14:06:05

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

@OP: what is your laptop model?


Postpone all your duties; if you die, you won't have to do them ..

Offline

#18 2017-09-29 16:38:14

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

Did the blacklisting.
rfkill now shows

rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes

Fn+F2 doesnt do anything.

Its a eee PC 1005HA

Last edited by ab90 (2017-09-29 16:38:48)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#19 2017-09-29 16:40:42

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,069
Website

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

ab90 wrote:

Did the blacklisting

hmm

I wrote:

Probably best to try one at time before mixing things up and you should at least try a "live" removal with `modprobe -rv eeepc-wmi` (or whatever) beforehand.

Which variation of the above constitutes "did"?

Offline

#20 2017-09-30 09:17:38

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: WiFi - Soft Block / Hard Block Riddle -noWiFi

the option with creating a file.

The internet used to work some months before. Had elementary installed but one day i hammered the Fn+F2, dont know if that has to do with each other but later i noticed the internet is off and switching with Fn+F2 will only switch one of the two internet activators. But even when i installed bunsenlabs the internet wasnt accessible from beginning


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

Board footer

Powered by FluxBB