Another portion of data to help with it.
DEBUG AND HARDWARE INFO:
michaldybczak alienware-PC ~ journalctl -b -p3
-- Logs begin at Thu 2019-10-31 22:06:09 CET, end at Sun 2020-03-22 15:50:07 CET. --
mar 22 15:48:52 alienware-PC kernel: DMAR: [Firmware Bug]: No firmware reserved region can cover this R>
mar 22 15:48:52 alienware-PC kernel: sd 3:0:0:0: [sdd] No Caching mode page found
mar 22 15:48:52 alienware-PC kernel: sd 3:0:0:0: [sdd] Assuming drive cache: write through
mar 22 15:48:59 alienware-PC kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 022554 [>
mar 22 15:49:04 alienware-PC bluetoothd[880]: RFCOMM server failed for Headset Voice gateway: rfcomm_bi>
mar 22 15:49:04 alienware-PC bluetoothd[880]: RFCOMM server failed for :1.72/Profile/HSPHS/00001108-000>
michaldybczak alienware-PC ~ lspci -v | grep -iA 7 network
3c:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 131
Memory at dd200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: <access denied>
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
3d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
michaldybczak alienware-PC ~ lsmod | grep ath10k_pci
ath10k_pci 65536 0
ath10k_core 606208 1 ath10k_pci
michaldybczak alienware-PC ~ dmesg | grep ath10k_pci
dmesg: odczyt bufora jądra nie powiódł się: Operacja niedozwolona
michaldybczak alienware-PC ~ sudo dmesg | grep ath10k_pci
[sudo] hasło użytkownika michaldybczak:
[ 4.743487] ath10k_pci 0000:3c:00.0: enabling device (0000 -> 0002)
[ 4.744570] ath10k_pci 0000:3c:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 5.001560] ath10k_pci 0000:3c:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 5.001562] ath10k_pci 0000:3c:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
[ 5.001988] ath10k_pci 0000:3c:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[ 5.066070] ath10k_pci 0000:3c:00.0: board_file api 1 bmi_id N/A crc32 70c38a29
[ 5.138554] ath10k_pci 0000:3c:00.0: unsupported HTC service id: 1536
[ 5.158084] ath10k_pci 0000:3c:00.0: htt-ver 3.60 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 8.668697] ath10k_pci 0000:3c:00.0: unsupported HTC service id: 1536
michaldybczak alienware-PC ~ sudo lshw -c network
sudo: lshw: nie znaleziono polecenia
michaldybczak alienware-PC ~ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 14 bytes 2219 (2.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14 bytes 2219 (2.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 9c:b6:d0:07:03:85 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
michaldybczak alienware-PC ~ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
michaldybczak alienware-PC ~ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 No scan results
michaldybczak alienware-PC ~ rfkill list all
0: dell-rbtn: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
michaldybczak alienware-PC ~ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether f8:ca:b8:47:16:2c brd ff:ff:ff:ff:ff:ff
altname enp59s0
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 9c:b6:d0:07:03:85 brd ff:ff:ff:ff:ff:ff
The last one - ip link - resulted in interesting info, namely wlan0 being DOWN and DORMANT. So I tried scanning for wifi networks:
michaldybczak alienware-PC ~ sudo iw dev wlan0 scan
[sudo] hasło użytkownika michaldybczak:
command failed: Device or resource busy (-16)
The result was not surprising but this is the state that is by default after the system boot... So it's clearly something wrong. Let's try to activate it:
michaldybczak alienware-PC ~ sudo ip link set wlan0 mode default
michaldybczak alienware-PC ~ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether f8:ca:b8:47:16:2c brd ff:ff:ff:ff:ff:ff
altname enp59s0
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether 9c:b6:d0:07:03:85 brd ff:ff:ff:ff:ff:ff
Looks like I'm on a good track, from DORMANT to DEFAULT. So now scanning again:
michaldybczak alienware-PC ~ sudo iw dev wlan0 scan
BSS d0:84:b0:4f:4b:a3(on wlan0)
TSF: 116569582548 usec (1d, 08:22:49)
freq: 2412
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -56.00 dBm
last seen: 4697 ms ago
Information elements from Probe Response frame:
SSID: FunBox-4BA3
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 1
ERP: Barker_Preamble_Mode
ERP D4.0: Barker_Preamble_Mode
RSN: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x187c
HT20
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 1
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: no
* non-GF present: 1
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 4e3a423e-4c3a-4e50-be4c-4b3d673a423e
* Manufacturer: Sagemcom
* Model: F5310
* Model Number: 123456
* Serial Number: 1234
* Primary Device Type: 6-0050f204-1
* Device name:
* Config methods: Ethernet, Label
* RF Bands: 0x1
* Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
WPA: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS c4:6e:1f:7d:bc:f8(on wlan0)
TSF: 116539394542 usec (1d, 08:22:19)
freq: 2412
beacon interval: 100 TUs
capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
signal: -85.00 dBm
last seen: 23840 ms ago
SSID:
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 1
TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
Country: US Environment: Indoor/Outdoor
Channels [1 - 13] @ 20 dBm
ERP: Barker_Preamble_Mode
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
Extended supported rates: 24.0 36.0 48.0 54.0
HT capabilities:
Capabilities: 0x2c
HT20
SM Power Save disabled
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: No restriction (0x00)
HT RX MCS rate indexes supported: 0-7
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 1
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
Now I'm getting somewhere. Unfortunately, I spend hours trying to connect by using iw dev
or iwconfig
but there was always something wrong with the key format and the articles and output info was super unhelpful and confusing. For the life, I just cannot estabilish connection via cli, not that it produces error, but I couldn't figure out the correct command
I'm so close and yet so far... 
So I tried the next thing I could think of. Since the wlan0 was not DORMANT, maybe the restart service will work this time. To make the story short, it was hit and miss, because the service was meant for wl060 device, so I had to rewrite it, then after reboot wlan0 was changing name to wlan1 so I had to rewrite the service again, in the end it seemed to work fine:
michaldybczak alienware-PC ~ sudo systemctl status network-restart.service
● network-restart.service - Atheros WiFi Restart Service
Loaded: loaded (/etc/systemd/system/network-restart.service; enabled; vendor preset: disabled)
Active: deactivating (stop) since Sun 2020-03-22 17:29:28 CET; 12s ago
Process: 2101 ExecStart=/usr/bin/sudo -u $USER /bin/bash -lc nmcli networking off (code=exited, status=0/SUCCESS)
Process: 2111 ExecStart=/usr/bin/sleep 1 (code=exited, status=0/SUCCESS)
Process: 2112 ExecStart=/usr/bin/systemctl stop NetworkManager (code=exited, status=0/SUCCESS)
Process: 2114 ExecStart=/usr/bin/ip link set wlan0 down (code=exited, status=0/SUCCESS)
Process: 2118 ExecStart=/usr/bin/rmmod ath10k_pci (code=exited, status=0/SUCCESS)
Process: 2124 ExecStart=/usr/bin/sleep 1 (code=exited, status=0/SUCCESS)
Process: 2125 ExecStart=/usr/bin/rmmod ath10k_core (code=exited, status=0/SUCCESS)
Process: 2126 ExecStop=/usr/bin/sleep 5 (code=exited, status=0/SUCCESS)
Process: 2128 ExecStop=/usr/bin/modprobe ath10k_pci (code=exited, status=0/SUCCESS)
Process: 2134 ExecStop=/usr/bin/sleep 2 (code=exited, status=0/SUCCESS)
Process: 2141 ExecStop=/usr/bin/modprobe ath10k_core (code=exited, status=0/SUCCESS)
Process: 2142 ExecStop=/usr/bin/sleep 2 (code=exited, status=0/SUCCESS)
Process: 2143 ExecStop=/usr/bin/ip link set wlan1 up (code=exited, status=0/SUCCESS)
Process: 2144 ExecStop=/usr/bin/sleep 2 (code=exited, status=0/SUCCESS)
Main PID: 2125 (code=exited, status=0/SUCCESS); Control PID: 2145 (systemctl)
Tasks: 1 (limit: 9370)
Memory: 2.1M
CGroup: /system.slice/network-restart.service
└─2145 /usr/bin/systemctl start NetworkManager
mar 22 17:29:25 alienware-PC systemd[1]: Starting Atheros WiFi Restart Service...
mar 22 17:29:25 alienware-PC sudo[2101]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -lc nmcli networking off
mar 22 17:29:25 alienware-PC sudo[2101]: pam_unix(sudo:session): session opened for user root by (uid=0)
mar 22 17:29:25 alienware-PC sudo[2101]: pam_unix(sudo:session): session closed for user root
mar 22 17:29:28 alienware-PC systemd[1]: Finished Atheros WiFi Restart Service.
mar 22 17:29:28 alienware-PC systemd[1]: Stopping Atheros WiFi Restart Service...
michaldybczak alienware-PC ~ nmcli g
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
disconnected unknown connected turned on turned on turned on
The problem with it it is that the tray icon for network is disappearing and not showing up again as it should. Also when ip link is checked, the new wlan1 device is DORMANT again. I can make it DEFAULT again, but... still I can't get graphical interface to connect and I can't do it via command line.
I hope that this info will help debug it.
I'm not sure how many days I can live with without the Internet and only on live system? I'm trying to save my install, because the plethora of personalisations done over the years and I'm not sure if I can restore it so easily, with all games and so on.