PDA

View Full Version : Wireless card (RTL8188CE) hardware blocked, error: SIOCSIFFLAGS



coffee
2018-04-15, 02:13
My wireless card (Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter rev 01 (rtl8192ce driver) ) worked perfectly well on Lenovo e325 with windows 7 but after doing a clean install of Kali 64bit 2018.1 on hdd it is now hardware blocked.

I have tried with resetting the bios settings. In essence I tried unblocking with rfkill and that didn´t work. I have also tried with restarting the network-manager and wlan interface. I have pressed the hardware switch.

Commands I tried:


#airmon-ng check kill



------------------------------------------
#airmon-ng start wlan0



PHY Interface Driver Chipset

phy0 wlan0mon rtl8192ce Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

------------------------------------------
#ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:9a:8f:4e:60:eb txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 140 bytes 9488 (9.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 140 bytes 9488 (9.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

------------------------------------------
#iwconfig

eth0 no wireless extensions.

lo no wireless extensions.

wlan0mon IEEE 802.11 Mode:Monitor Tx-Power=off
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on

------------------------------------------
#ifconfig wlan0

wlan0: error fetching interface information: Device not found

------------------------------------------
#rfkill list all

0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
------------------------------------------
#rfkill unblock all

------------------------------------------
#rfkill list all

0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
------------------------------------------
#rfkill unblock 1

------------------------------------------
#rfkill list all

0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: yes
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

------------------------------------------
#rfkill unblock wifi

------------------------------------------
#rfkill list wlan

1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
------------------------------------------
#ifconfig wlan0mon down

------------------------------------------
#ifconfig wlan0mon up

SIOCSIFFLAGS: Operation not possible due to RF-kill

------------------------------------------
#rmmod ath5k

rmmod: ERROR: Module ath5k is not currently loaded
------------------------------------------
#modprobe ath5k

------------------------------------------
#rm /dev/rfkill

------------------------------------------
#iwconfig wlan0mon txpower auto

------------------------------------------
#modinfo ath5k

filename: /lib/modules/4.14.0-kali3-amd64/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
license: Dual BSD/GPL
description: Support for 5xxx series of Atheros 802.11 wireless LAN cards.
author: Nick Kossifidis
author: Jiri Slaby
alias: pci:v0000168Cd0000FF1Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000014sv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000011sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000207sv*sd*bc*sc*i*
depends: mac80211,cfg80211,ath
intree: Y
name: ath5k
vermagic: 4.14.0-kali3-amd64 SMP mod_unload modversions
parm: nohwcrypt:Disable hardware encryption. (bool)
parm: fastchanswitch:Enable fast channel switching for AR2413/AR5413 radios. (bool)
parm: no_hw_rfkill_switch:Ignore the GPIO RFKill switch state (bool)
------------------------------------------
#modprobe ath5k nohwcrypt

------------------------------------------
#rfkill list wlan

Can't open RFKILL control device: No such file or directory
------------------------------------------
#service network-manager restart

------------------------------------------
#ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:9a:8f:4e:60:eb txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 176 bytes 12192 (11.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 176 bytes 12192 (11.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

------------------------------------------
#iwconfig

eth0 no wireless extensions.

lo no wireless extensions.

wlan0mon IEEE 802.11 Mode:Monitor Tx-Power=off
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on

------------------------------------------
#rmmod -f iwlwifi

------------------------------------------
#iw dev wlan0mon del

------------------------------------------
#iw phy phy0 interface add wlan0 type managed

------------------------------------------
#iwconfig

eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on

------------------------------------------
#iwconfig wlan0 txpower auto

------------------------------------------
#service network-manager restart

------------------------------------------
#rmmod -f ath9k

rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'ath9k': No such file or directory
rmmod: ERROR: could not remove module ath9k: No such file or directory
------------------------------------------
#modprobe ath9k

------------------------------------------
#lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
02:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
------------------------------------------
#airmon-ng check


Found 2 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

PID Name
7245 wpa_supplicant
7341 NetworkManager

------------------------------------------
#aireplay-ng --test wlan0

ioctl(SIOCSIFFLAGS) failed: Operation not possible due to RF-kill
------------------------------------------

when123
2018-05-13, 00:43
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
git checkout origin/extended -b extended
sudo make install
sudo modprobe -r rtl8822be


depmod -a

update-initramfs -u

reboot

when123
2018-05-13, 00:43
sorry rtl8188ce