Page 1 of 1

[SOLVED] Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 18th, '16, 02:45
by DiBosco
Folks,

I have M6 STA1 installed and working on a laptop. However, even though I can connect to the wi-fi just fine after a minute or so it just disconnects and will not reconnect. I can't even ping. Wired Internet works just fine.

There only seems to be this net applet available, not the usual Mageia network connectivity tool in the bottom toolbar that lets you right click and select wi-fi networks to connect to.

Is this just something because it's a beta version or have I got an issue here? Or is it possible to use the standard Mageia connectivity tool?

It's an Intel 3165 card and it says it's using iwlwifi module

iwlwifi-agn-ucode is installed.

Many thanks!

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 19th, '16, 16:56
by doktor5000
DiBosco wrote:There only seems to be this net applet available, not the usual Mageia network connectivity tool in the bottom toolbar that lets you right click and select wi-fi networks to connect to.

Uhmm, net_applet is the usual Mageia network connectivity tool ... although in KDE I believe the systray icon is still bugged and doesn't respond to any mouseclick.

Please provide the output of the following commands:

Code: Select all
lspcidrake -v|grep -iE "wlan|wifi|wireless|net"
ps -ef|grep -v grep|grep -iE "net|wpa"


and, as root:
Code: Select all
ifconfig -a
rfkill list all
systemctl status network.service -a
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 19th, '16, 20:51
by DiBosco
Yes, sorry, I was thinking it had loaded the plasma knetworkinterface (?) thing it looked so different, sorry.

Here's the requested info. Actually, on this session it's been up and working for a longer than it ever has before. :/



Code: Select all
[robertw@localhost ~]$ lspcidrake -v|grep -iE "wlan|wifi|wireless|net"
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:103c subd:80ba) (rev: 15)
iwlwifi         : Intel Corporation|Wireless 3165 [NETWORK_OTHER] (vendor:8086 device:3165 subv:8086 subd:4010) (rev: 81)
btusb           : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:0a2a)


Code: Select all
[robertw@localhost ~]$ ps -ef|grep -v grep|grep -iE "net|wpa"
root        28     2  0 18:40 ?        00:00:00 [netns]
systemd+  1002     1  0 18:40 ?        00:00:00 /usr/lib/systemd/systemd-networkd
root      1359     1  0 18:40 ?        00:00:00 /usr/sbin/wpa_supplicant -B -i wlo1 -c /etc/wpa_supplicant.conf -D wext
robertw   4327  4252  1 18:41 ?        00:00:01 /usr/bin/perl /usr/bin/net_applet

Code: Select all
[root@localhost robertw]# ifconfig -a
eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether fc:3f:db:34:42:27  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
        loop  txqueuelen 1  (Local Loopback)
        RX packets 856  bytes 79236 (77.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 856  bytes 79236 (77.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.144  netmask 255.255.255.0  broadcast 192.168.0.255
        ether e0:94:67:69:14:6e  txqueuelen 1000  (Ethernet)
        RX packets 3161  bytes 3619961 (3.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1749  bytes 253958 (248.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Code: Select all
[root@localhost robertw]# rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth                                                                                                                   
        Soft blocked: no                                                                                                             
        Hard blocked: no   


Code: Select all
[root@localhost robertw]# systemctl status network.service -a                                                                       
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; generated; vendor preset: enabled)
   Active: active (running) since Sat 2016-11-19 18:40:49 GMT; 6min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1030 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/network.service
           ├─1304 /sbin/ifplugd -I -b -i eno1
           ├─1359 /usr/sbin/wpa_supplicant -B -i wlo1 -c /etc/wpa_supplicant.conf -D wext
           ├─1361 /sbin/ifplugd -I -b -i wlo1
           └─2343 dhclient -1 -q -lf /var/lib/dhclient/dhclient--wlo1.lease -pf /var/run/dhclient-wlo1.pid wlo1

Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client:            ├─1539 (logfile-daemon) /var/log/squid/access.log
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client:            └─2094 (pinger)
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:51 localhost.localdomain systemd[1]: Starting LSB: St
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:51 localhost.localdomain squid[1500]: Squid Parent: w
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:51 localhost.localdomain squid[1500]: Squid Parent: (
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:56 localhost.localdomain squid[1441]: init_cache_dir
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:56 localhost.localdomain systemd[1]: squid.service: S
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Nov 19 18:40:56 localhost.localdomain systemd[1]: Started LSB: Sta
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: client: Reloading Squid
Nov 19 18:41:01 localhost.localdomain ifplugd(wlo1)[1361]: Program executed successfully.
lines 1-21/21 (END)


[
Code: Select all
root@localhost robertw]# journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
Nov 19 18:40:35 localhost.localdomain kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Nov 19 18:40:35 localhost.localdomain kernel: [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
Nov 19 18:40:35 localhost.localdomain kernel: [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
Nov 19 18:40:36 localhost.localdomain kernel: acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
Nov 19 18:40:37 localhost.localdomain kernel: [drm] Found UVD firmware Version: 1.87 Family ID: 11
Nov 19 18:40:37 localhost.localdomain kernel: [drm] Found VCE firmware Version: 52.4 Binary ID: 3
Nov 19 18:40:38 localhost.localdomain kernel: [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
Nov 19 18:40:38 localhost.localdomain kernel: input: HP Wireless hotkeys as /devices/virtual/input/input6
Nov 19 18:40:38 localhost.localdomain kernel: Intel(R) Wireless WiFi driver for Linux
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:38 localhost.localdomain kernel: ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
Nov 19 18:40:38 localhost.localdomain kernel: iwlwifi 0000:03:00.0 wlo1: renamed from wlan0
Nov 19 18:40:38 localhost.localdomain kernel: psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x0, board id: 3114, fw id: 1805562
Nov 19 18:40:38 localhost.localdomain kernel: Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
Nov 19 18:40:38 localhost.localdomain kernel: Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
Nov 19 18:40:41 localhost.localdomain service_harddrake[796]: FIREWIRE_CONTROLLER took:  0:00:00
Nov 19 18:40:47 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:47 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:47 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:47 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:49 localhost.localdomain network[1030]: Configuring wireless regulatory domain  [  OK  ]
Nov 19 18:40:49 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:49 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:49 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:49 localhost.localdomain kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
Nov 19 18:40:49 localhost.localdomain network[1030]: Bringing up interface wlo1:  Error for wireless request "Set Encode" (8B2A) :
Nov 19 18:40:49 localhost.localdomain ifplugd(wlo1)[1361]: Using interface wlo1/E0:94:67:69:14:6E with driver <iwlwifi> (version: 4.8.8-desktop-1.mga6)
Nov 19 18:41:01 localhost.localdomain kernel: IFWLOG: register target
Nov 19 18:41:01 localhost.localdomain systemd[1]: Started Network monitoring daemon (Interactive Firewall and wireless).
[

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 20th, '16, 12:22
by doktor5000
Well, I don't see any actual issue, so you would have to describe in detail what issues you get, or post logs once the issue is in place.
Apart from that, you can switch from Mageia's default net_applet to networkmanager as described here: viewtopic.php?f=25&t=5782 which is what I'd recommend.

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 23rd, '16, 02:14
by DiBosco
Unfortunately networkmanager does exactly the same thing. Networkmanager says it's connected to the wi-fi access point, but a ping just says Destination host unreachable.

When you say post logs, what exactly can I post please?

Thanks.

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 23rd, '16, 23:10
by doktor5000
At least

Code: Select all
ifconfig -a
netstat -rn
rfkill list all
systemctl status network.service -al -n100
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"

[SOLVED] Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 26th, '16, 13:28
by DiBosco
It turned out to be going into power saving mode so this stops it happening and it works fine now.

create /etc/modprobe.d/iwlwifi.conf
And put in it:

Code: Select all
options iwlmvm power_scheme=1
options iwlwifi 11n_disable=1 bt_coex_active=N swcrypto=1

Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 26th, '16, 18:23
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks.

FWIW, I've added this to https://wiki.mageia.org/en/Setup_wirele ... ic_drivers

[SOLVED] Re: Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 26th, '16, 18:45
by DiBosco
Ah, I had marked it as solved but put it in the wrong place :D

Thanks for updating the errata. Working on coming out of suspend at the moment, will post how to do that if I work it out...

Re: [SOLVED] Mageia 6 STA 1 KDE Wifi

PostPosted: Nov 26th, '16, 18:52
by doktor5000
If that's with a laptop, it might help if you would add the specific make/model but the same applies for a regular box, best add the mainboard make/model.