Problem with Wifi Hard Blocked Rf-kill

Kernels & Hardware, configuring network, installing services

Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-08 03:43

Hi!
I have problems with my wifi, this don't can be switch on in Debian, but I can activate it in Windows. In the terminal I have written the following lines:
Code: Select all
sudo ifconfig wlo1 up
SIOCSIFFLAGS: Operation not possible due to RF-kill

and when I try to unblock:
Code: Select all
 $ sudo rfkill list
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: yes
$ sudo rfkill unblock all

nothing happens and the wifi continues turn off.
I have found others solutions in google that I have tried but without results:
  • 1) Turn on the wifi with key combination (In my notebook Fn + F12)
  • 2) Turn on the wifi from BIOS/UEFI
  • 3) Turn on the wifi in Windows and reboot
  • 4) Remove rfkill status
    Code: Select all
    #rm /dev/rfkill
    #reboot
  • 5) Restart BIOS/UEFI to defaults settings

Some information about my notebook:
Code: Select all
$ uname -a
Linux debian 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux


Code: Select all
$ sudo lsmod
Module                  Size  Used by
appletalk              36864  0
ax25                   57344  0
ipx                    28672  0
p8023                  16384  1 ipx
p8022                  16384  1 ipx
psnap                  16384  2 appletalk,ipx
llc                    16384  2 p8022,psnap
nls_ascii              16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    69632  1 vfat
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
fuse                   98304  5
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
arc4                   16384  2
kvm                   589824  0
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
rt2800pci              16384  0
rt2800mmio             20480  1 rt2800pci
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
rt2800lib              94208  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
media                  40960  2 uvcvideo,videodev
rt2x00lib              53248  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
eeprom_93cx6           16384  1 rt2800pci
mac80211              671744  3 rt2800lib,rt2x00pci,rt2x00lib
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_codec_idt      57344  1
snd_hda_codec_hdmi     49152  1
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
cfg80211              589824  2 rt2x00lib,mac80211
snd_hda_intel          36864  8
intel_cstate           16384  0
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
intel_uncore          118784  0
hp_wmi                 16384  0
crc_ccitt              16384  1 rt2800lib
sparse_keymap          16384  1 hp_wmi
rfkill                 24576  4 hp_wmi,cfg80211
snd_hwdep              16384  1 snd_hda_codec
mei_me                 36864  0
intel_rapl_perf        16384  0
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              32768  1 snd_pcm
snd                    86016  24 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
soundcore              16384  1 snd
joydev                 20480  0
lpc_ich                24576  0
efi_pstore             16384  0
mei                   102400  1 mei_me
sg                     32768  0
serio_raw              16384  0
pcspkr                 16384  0
efivars                20480  1 efi_pstore
soc_button_array       16384  0
shpchp                 36864  0
mfd_core               16384  1 lpc_ich
battery                20480  0
hp_wireless            16384  0
evdev                  24576  14
hp_accel               28672  0
lis3lv02d              20480  1 hp_accel
input_polldev          16384  1 lis3lv02d
ac                     16384  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
efivarfs               16384  1
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  2
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  3 ext4
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 45056  6
i915                 1232896  26
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
crc32c_intel           24576  4
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
ahci                   36864  5
libahci                32768  1 ahci
psmouse               135168  0
libata                249856  2 ahci,libahci
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
i2c_algo_bit           16384  1 i915
xhci_pci               16384  0
ehci_pci               16384  0
drm_kms_helper        155648  1 i915
xhci_hcd              188416  1 xhci_pci
ehci_hcd               81920  1 ehci_pci
r8169                  81920  0
mii                    16384  1 r8169
usbcore               249856  7 rt2x00lib,uvcvideo,usbhid,ehci_hcd,xhci_pci,xhci_hcd,ehci_pci
drm                   360448  8 i915,drm_kms_helper
usb_common             16384  1 usbcore
fan                    16384  0
thermal                20480  0
wmi                    16384  1 hp_wmi
video                  40960  1 i915
button                 16384  1 i915


Code: Select all
$ sudo lspci -knn | grep -EiA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
   Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:21b7]
   Kernel driver in use: r8169
   Kernel modules: r8169
02:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
   Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]
   Kernel driver in use: rt2800pci

Code: Select all
$ sudo lshw -c network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: eno1
       version: 10
       serial: fc:15:b4:fe:8a:c2
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:41 ioport:4000(size=256) memory:b2504000-b2504fff memory:b2500000-b2503fff
  *-network DISABLED
       description: Wireless interface
       product: RT3290 Wireless 802.11n 1T/1R PCIe
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlo1
       version: 00
       serial: ee:99:54:74:fe:eb
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=4.9.0-3-amd64 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:b2410000-b241ffff


Code: Select all
$ sudo dmesg|grep -Ei 'wlan|firmw|dhc'
[    0.429088] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[   15.214545] rt2800pci 0000:02:00.0 wlo1: renamed from wlan0
[   26.178457] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8168g-3.fw


Code: Select all
$ sudo cat /var/log/syslog | grep -Ei 'net|wpa|dhc'
Sep  8 13:25:24 debian systemd[1]: Starting Raise network interfaces...
Sep  8 13:25:24 debian systemd[1]: Starting Network Time Synchronization...
Sep  8 13:25:24 debian systemd[1]: Started Network Time Synchronization.
Sep  8 13:25:24 debian kernel: [    0.371764] NET: Registered protocol family 16
Sep  8 13:25:24 debian systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Sep  8 13:25:24 debian systemd[1]: Starting Network Manager...
Sep  8 13:25:24 debian systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).
Sep  8 13:25:24 debian avahi-daemon[542]: Network interface enumeration completed.
Sep  8 13:25:24 debian systemd[1]: Started Raise network interfaces.
Sep  8 13:25:24 debian kernel: [    0.658294] NET: Registered protocol family 2
Sep  8 13:25:24 debian kernel: [    0.658823] NET: Registered protocol family 1
Sep  8 13:25:24 debian kernel: [    1.484651] audit: initializing netlink subsys (disabled)
Sep  8 13:25:24 debian kernel: [    1.504931] NET: Registered protocol family 10
Sep  8 13:25:24 debian kernel: [    1.505455] NET: Registered protocol family 17
Sep  8 13:25:24 debian kernel: [    1.506024] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Sep  8 13:25:24 debian kernel: [    1.577394] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
Sep  8 13:25:24 debian kernel: [    5.657120] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 13:25:25 debian NetworkManager[541]: <info>  [1504887925.9155] NetworkManager (version 1.6.2) is starting...
Sep  8 13:25:25 debian NetworkManager[541]: <info>  [1504887925.9571] Read config: /etc/NetworkManager/NetworkManager.conf
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0066] manager[0x561a6ab49040]: monitoring kernel firmware directory '/lib/firmware'.
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0067] monitoring ifupdown state file '/run/network/ifstate'.
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0237] dns-mgr[0x561a6ab3d180]: init: dns=default, rc-manager=resolvconf
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0579] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/ieee80211/phy0/rfkill0) (driver rt2800pci)
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0581] manager[0x561a6ab49040]: WiFi hardware radio set enabled
Sep  8 13:25:26 debian NetworkManager[541]: <info>  [1504887926.0581] manager[0x561a6ab49040]: WWAN hardware radio set enabled
Sep  8 13:25:26 debian systemd[1]: Started Network Manager.
Sep  8 13:25:26 debian systemd[1]: Reached target Network.
Sep  8 13:25:26 debian systemd[1]: Starting Anonymizing overlay network for TCP...
Sep  8 13:25:26 debian systemd[1]: Starting Network Manager Wait Online...
Sep  8 13:25:26 debian systemd[1]: Starting Network Manager Script Dispatcher Service...
Sep  8 13:25:27 debian systemd[1]: Started Network Manager Script Dispatcher Service.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2567] init!
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2570] management mode: unmanaged
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2575] devices added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eno1, iface: eno1)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2575] device added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eno1, iface: eno1): no ifupdown configuration found.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2575] devices added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlo1, iface: wlo1)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2575] device added (path: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlo1, iface: wlo1): no ifupdown configuration found.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2575] devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2576] device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2576] end _init.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2576] settings: loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list. (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-settings-plugin-ifupdown.so)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2576] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2577] (1790364800) ... get_connections.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.2577] (1790364800) ... get_connections (managed=false): return empty list.
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.3495] keyfile: new connection /etc/NetworkManager/system-connections/Wi-Fi connection 1 (9346a3d9-3aaf-4027-b3c6-57b9980f7b6f,"Wi-Fi connection 1")
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.3719] keyfile: new connection /etc/NetworkManager/system-connections/Wired connection 1 (bffb5b47-a005-4298-8dfc-e6ac8998de85,"Wired connection 1")
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.4028] get unmanaged devices count: 0
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8350] settings: hostname: using hostnamed
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8351] settings: hostname changed from (none) to "debian"
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8835] dhcp-init: Using DHCP client 'dhclient'
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8836] manager: WiFi disabled by radio killswitch; enabled by state file
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8836] manager: WWAN enabled by radio killswitch; enabled by state file
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.8837] manager: Networking is enabled by state file
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9089] Loaded device plugin: NMBondDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9090] Loaded device plugin: NMBridgeDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9090] Loaded device plugin: NMEthernetDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9090] Loaded device plugin: NMInfinibandDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9091] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9091] Loaded device plugin: NMMacsecDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9091] Loaded device plugin: NMMacvlanDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9091] Loaded device plugin: NMTunDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9092] Loaded device plugin: NMVethDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9092] Loaded device plugin: NMVlanDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9092] Loaded device plugin: NMVxlanDeviceFactory (internal)
Sep  8 13:25:27 debian NetworkManager[541]: <info>  [1504887927.9324] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.0031] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.0507] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.1043] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-team.so)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.1469] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.2191] device (lo): link connected
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.2198] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.2210] manager: (eno1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.2224] device (eno1): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep  8 13:25:28 debian kernel: [   23.231129] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
Sep  8 13:25:28 debian kernel: [   23.308453] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.3718] (wlo1): using nl80211 for WiFi device control
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.3722] device (wlo1): driver supports Access Point (AP) mode
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.3734] manager: (wlo1): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/3)
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.3746] device (wlo1): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.3751] device (wlo1): set-hw-addr: set MAC address to 16:5B:D9:C0:D7:9B (scanning)
Sep  8 13:25:28 debian kernel: [   23.383359] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Sep  8 13:25:28 debian dbus[531]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service'
Sep  8 13:25:28 debian NetworkManager[541]: <info>  [1504887928.4198] ModemManager available in the bus
Sep  8 13:25:28 debian systemd[1]: Starting WPA supplicant...
Sep  8 13:25:30 debian dbus[531]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Sep  8 13:25:30 debian systemd[1]: Started WPA supplicant.
Sep  8 13:25:30 debian wpa_supplicant[635]: Successfully initialized wpa_supplicant
Sep  8 13:25:30 debian NetworkManager[541]: <info>  [1504887930.1470] supplicant: wpa_supplicant running
Sep  8 13:25:30 debian wicd[543]: Starting Network connection manager: wicd.
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2173] device (eno1): link connected
Sep  8 13:25:31 debian kernel: [   26.225655] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2180] device (eno1): state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2189] policy: auto-activating connection 'Wired connection 1'
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2201] device (eno1): Activation: starting connection 'Wired connection 1' (bffb5b47-a005-4298-8dfc-e6ac8998de85)
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2204] device (eno1): state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2205] manager: NetworkManager state is now CONNECTING
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2210] device (eno1): state change: prepare -> config (reason 'none') [40 50 0]
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2215] device (eno1): state change: config -> ip-config (reason 'none') [50 70 0]
Sep  8 13:25:31 debian kernel: [   26.229979] NET: Registered protocol family 4
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.2441] dhcp4 (eno1): activation: beginning transaction (timeout in 45 seconds)
Sep  8 13:25:31 debian kernel: [   26.292317] NET: Registered protocol family 3
Sep  8 13:25:31 debian NetworkManager[541]: <info>  [1504887931.3249] dhcp4 (eno1): dhclient started with pid 663
Sep  8 13:25:31 debian kernel: [   26.521297] NET: Registered protocol family 5
Sep  8 13:25:31 debian dhclient[663]: DHCPREQUEST of 192.168.0.21 on eno1 to 255.255.255.255 port 67
Sep  8 13:25:31 debian systemd[1]: Started Anonymizing overlay network for TCP.
Sep  8 13:25:37 debian dhclient[663]: DHCPREQUEST of 192.168.0.21 on eno1 to 255.255.255.255 port 67
Sep  8 13:25:38 debian dhclient[663]: DHCPACK of 192.168.0.21 from 192.168.0.1
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8238] dhcp4 (eno1):   address 192.168.0.21
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8238] dhcp4 (eno1):   plen 24 (255.255.255.0)
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8239] dhcp4 (eno1):   gateway 192.168.0.1
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8239] dhcp4 (eno1):   server identifier 192.168.0.1
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8239] dhcp4 (eno1):   lease time 3600
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8240] dhcp4 (eno1):   nameserver '190.160.0.13'
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8240] dhcp4 (eno1):   nameserver '189.38.95.95'
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8241] dhcp4 (eno1):   nameserver '200.30.192.14'
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8241] dhcp4 (eno1): state changed unknown -> bound
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8269] device (eno1): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8287] device (eno1): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8296] device (eno1): state change: secondaries -> activated (reason 'none') [90 100 0]
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.8301] manager: NetworkManager state is now CONNECTED_LOCAL
Sep  8 13:25:38 debian systemd[1]: Starting Network Manager Script Dispatcher Service...
Sep  8 13:25:38 debian systemd[1]: Started Network Manager Script Dispatcher Service.
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.9945] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep  8 13:25:38 debian NetworkManager[541]: <info>  [1504887938.9948] policy: set 'Wired connection 1' (eno1) as default for IPv4 routing and DNS
Sep  8 13:25:39 debian NetworkManager[541]: <info>  [1504887939.0493] device (eno1): Activation: successful, device activated.
Sep  8 13:25:39 debian NetworkManager[541]: <info>  [1504887939.0502] manager: startup complete
Sep  8 13:25:39 debian systemd[1]: Started Network Manager Wait Online.
Sep  8 13:25:39 debian systemd[1]: Reached target Network is Online.
Sep  8 13:25:39 debian dhclient[663]: bound to 192.168.0.21 -- renewal in 1500 seconds.
Sep  8 13:25:54 debian /usr/lib/gdm3/gdm-x-session[1134]: dbus-update-activation-environment: setting WINDOWPATH=2

Thanks for your help and sorry for my english.

Edit (08 Sept 2017): I changed the output of
Code: Select all
lspci
for
Code: Select all
lspci -knn | grep -EiA2 net
and I added the output of
Code: Select all
dmesg|grep -Ei 'wlan|firmw|dhc'
and
Code: Select all
cat /var/log/syslog | grep -Ei 'net|wpa|dhc'
Last edited by msnjuegos on 2017-09-08 15:43, edited 1 time in total.
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby debiman » 2017-09-08 05:38

https://askubuntu.com/questions/98702/h ... 827#578827
Hardblocked cannot be changed by software

in this case, the op had to blacklist a kernel module.
i doubt it's going to be the same as yours, but it's a started for further investigation.

ps: use 'lspci -k'
or look at this.
User avatar
debiman
 
Posts: 1173
Joined: 2013-03-12 07:18

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-08 16:10

Thanks for you reply. I edited the post to add the other information requested.
And about blacklist the kernel module, what driver do you recommend me to blacklist? rt2800pci or someother?
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby Head_on_a_Stick » 2017-09-08 16:55

msnjuegos wrote:what driver do you recommend me to blacklist?

Try blacklisting the hp-wmi module.

You could also try:
Code: Select all
# modprobe -rv hp-wmi
# rfkill unblock all
# modprobe -v hp-wmi

That may toggle the connection back on and obviate the need for a blacklist.
No code is faster than no code.

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6533
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-08 17:21

I tried to blacklist the module hp_wmi but I don't have results:

First I put in command line:
Code: Select all
$ sudo modprobe -rv hp-wmi
rmmod hp_wmi
rmmod wmi
rmmod sparse_keymap
$ sudo rfkill unblock all
$ sudo modprobe -v hp-wmi
insmod /lib/modules/4.9.0-3-amd64/kernel/drivers/platform/x86/wmi.ko
insmod /lib/modules/4.9.0-3-amd64/kernel/drivers/input/sparse-keymap.ko
insmod /lib/modules/4.9.0-3-amd64/kernel/drivers/platform/x86/hp-wmi.ko

But the wifi cannot turn on by the combination keys (fn+f12) yet. Then I reboot and nothing happens

After that I add the line
Code: Select all
blacklist hp_wmi
to
Code: Select all
/etc/modprobe.d/blacklist.conf
and reboot and nothing happens.
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby Head_on_a_Stick » 2017-09-08 17:24

^ Then try the firmware ("BIOS") solutions mentioned in @debiman's linked thread.
No code is faster than no code.

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6533
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-08 19:54

Hi, I tried the solutions of the link like restart the BIOS settings to default and Enable/Disable Wifi on BIOS, but it don't have solved my problem :/.
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby Dai_trying » 2017-09-08 21:18

msnjuegos wrote:But the wifi cannot turn on by the combination keys (fn+f12) yet.


On some laptops I have owned there was a setting in the BIOS/UEFI that could change the behaviour of the Fn key and i do recall having to change the setting to get something to work properly (might have been the wifi or sound, I don't recall exactly) it might be worth checking if your machine has such a setting and see if changing it makes a difference.
Dai_trying
 
Posts: 315
Joined: 2016-01-07 12:25

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-08 21:26

Yes, in BIOs there is a option to enable or disable the multimedia keys behaivor and I have enabled and disabled this feature, so the problem doesn't the combination keys I think.
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby debiman » 2017-09-09 06:33

incidentally, i was browsing the linux kernel command line options yesterday (*), and it has some rfkill options. maybe try that.


(*) hello HoaS! cursor blinking rate can't be influenced, but there's at least this one!
User avatar
debiman
 
Posts: 1173
Joined: 2013-03-12 07:18

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-09 14:42

Hi @debiman, I made a document:
Code: Select all
$ sudo nano /etc/modprobe.d/modprobe.conf

with this lines:
Code: Select all
options rfkill master_switch_mode=2
options rfkill default_state=1

Nothing happens :/ (I already rebooted the system). Do you know if exists other way to change this parameters?
Moreover, I actually have this this lines in /etc/modprobe.d/blacklist.conf:
Code: Select all
blacklist wmi
blacklist hp_wmi

and this lines in /etc/modprobe.d/rt2800pci.conf:
Code: Select all
#options rt2800pci 11n_disable=1
options rt2800pci nohwcrypt=1
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby debiman » 2017-09-10 10:00

msnjuegos wrote:
Code: Select all
options rfkill master_switch_mode=2
options rfkill default_state=1

try only the second line.
better yet, try only this added to your grub kernel command: rfkill.default_state=1
User avatar
debiman
 
Posts: 1173
Joined: 2013-03-12 07:18

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-10 13:00

Hi, I added to grub kernel cmd the line : rfkill.default_state=1, next to "quiet splash" in grub options (editing the file /etc/default/grub and update-grub) and nothing happens yet after reboot :?.

I was seeing the parameters of rfkill with modinfo, and it appears:
Code: Select all
$ sudo modinfo rfkill
filename:       /lib/modules/4.9.0-3-amd64/kernel/net/rfkill/rfkill.ko
license:        GPL
description:    RF switch support
author:         Johannes Berg <johannes@sipsolutions.net>
author:         Ivo van Doorn <IvDoorn@gmail.com>
depends:       
intree:         Y
vermagic:       4.9.0-3-amd64 SMP mod_unload modversions
parm:           master_switch_mode:SW_RFKILL_ALL ON should: 0=do nothing (only unlock); 1=restore; 2=unblock all (uint)
parm:           default_state:Default initial state for all radio types, 0 = radio off (uint)


Why not appears the option '1' in parm default_state, something like '1 = radio on (uint)'?
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Re: Problem with Wifi Hard Blocked Rf-kill

Postby debiman » 2017-09-10 18:38

^ in that output the master switch mode seems to have a different meaning than what is documented in the kernel options i linked earlier...
:?
User avatar
debiman
 
Posts: 1173
Joined: 2013-03-12 07:18

Re: Problem with Wifi Hard Blocked Rf-kill

Postby msnjuegos » 2017-09-11 23:47

I tried with a live CD of ubuntu 16.04 and I don't had wifi neither. It's strange that I have wifi in windows but not in linux :/.
msnjuegos
 
Posts: 10
Joined: 2017-09-07 23:05

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable