[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

disable software blocking of wifi?

From: znavko
Subject: disable software blocking of wifi?
Date: Fri, 5 Apr 2019 15:52:56 +0200 (CEST)

Hello! I am creating my own config. I've disabled networkmanager-service-type, configured wpa-supplicant (but have not yet configured dhcpcd, cause it needs networking service).
Guix reconfigures my system normally.

But during boot there is a message: rfkill: WLAN soft blocked
And that is why wpa-supplicant fails:

# reboot
# dhclient -v wlp2s0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit

RTNETLINK answers: Operation not possible due to RF-kill
Listening on LPF/wlp2s0/xx:xx:xx:xx:55
Sending on   LPF/wlp2s0/xx:xx:xx:xx:55
Sending on   Socket/fallback
DHCPREQUEST for on wlp2s0 to port 67
send_packet: Network is down
dhclient.c:2762: Failed to send 300 byte long packet over wlp2s0 interface.
receive_packet failed on wlp2s0: Network is down

# ifconfig
lo        Link encap:Local Loopback
          inet addr:  Bcast:  Mask:
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0  TX bytes:0

# rfkill list all
0: ideapad_wlan: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

# rfkill unblock wifi

# herd restart wpa-supplicant
# dhclient -v wlp2s0

So I need manually unblock wifi and restart wpa-supplicant, but it's not coveinent.

I tried this lines as I've got from here :

 (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,wmi,pata_acpi"

But adding 'wmi,pata_acpi  ' but not helped. If add ideapad_laptop to blacklist, then rfkill does not see interfaces wlan and bluetooth.

# lsmod | grep -e wmi -e acpi
wmi                    32768  1 ideapad_laptop

How to prevent rfkill blocking of wlan?

Attachment: config-wpa-2.scm
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]