Page 1 of 2

[SOLVED] No wifi after updating to Mageia 4

PostPosted: Apr 25th, '14, 11:23
by evaldas
Hi,

after updating my laptop to Mageia 4, Network manager is not listing any wifi networks. It looks like it does't communicate with wifi card.
Ethernet and Wimax USB device are controled well using Network manager

Re: No wifi after updating to Mageia 4

PostPosted: Apr 25th, '14, 23:26
by doktor5000
Which media did you use to install Mageia originally, and which desktop environment are you using? Please provide the output of the following commands:

Code: Select all
lspcidrake -v | grep -i net
ps -ef | grep -v grep | grep -ie net -e wpa


and, as root:
Code: Select all
journalctl -b -u network --no-pager -a
systemctl status network.service -a
journalctl -b | grep -i firmware

Re: No wifi after updating to Mageia 4

PostPosted: Apr 27th, '14, 13:05
by evaldas
lspcidrake -v | grep -i net
Code: Select all
atl1c           : Qualcomm Atheros|AR8151 v2.0 Gigabit Ethernet [NETWORK_ETHERNET] (vendor:1969 device:1083 subv:17aa subd:21ee) (rev: c0)
iwlwifi         : Intel Corporation|Centrino Wireless-N 1000 [Condor Peak] [NETWORK_OTHER] (vendor:8086 device:0084 subv:8086 subd:1315)


ps -ef | grep -v grep | grep -ie net -e wpa
Code: Select all
root        16     2  0 Apr25 ?        00:00:00 [netns]
namai     2582  2170  0 Apr25 ?        00:00:23 /usr/bin/perl /usr/bin/net_applet


journalctl -b -u network --no-pager -a
Code: Select all
-- Logs begin at Tr 2013-09-04 21:56:50 EEST, end at Sk 2014-04-27 13:57:28 EEST. --
Bal 25 12:01:35 localhost.localdomain network[838]: Iškeliama loopback sąsaja:  [ GERAI  ]
Bal 25 12:01:35 localhost.localdomain network[838]: Configuring wireless regulatory domain  [ GERAI  ]
Bal 25 12:01:35 localhost.localdomain ifplugd(eth0)[1411]: ifplugd 0.28 initializing.
Bal 25 12:01:35 localhost.localdomain ifplugd(eth0)[1411]: Using interface eth0/04:7D:7B:91:74:A3 with driver <atl1c> (version: 1.0.1.1-NAPI)
Bal 25 12:01:35 localhost.localdomain ifplugd(eth0)[1411]: Using detection mode: SIOCETHTOOL
Bal 25 12:01:35 localhost.localdomain ifplugd(eth0)[1411]: Initialization complete, link beat detected.
Bal 25 12:01:35 localhost.localdomain ifplugd(eth0)[1411]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Bal 25 12:01:35 localhost.localdomain network[838]: Iškeliama sąsaja eth0:  [ GERAI  ]
Bal 25 12:01:36 localhost.localdomain network[838]: Iškeliama sąsaja eth1:  KLAIDA: [/etc/sysconfig/network-scripts/ifup-eth] Device eth1 does not seem to be present, delaying initialization.
Bal 25 12:01:36 localhost.localdomain /etc/sysconfig/network-scripts/ifup-eth[1883]: Device eth1 does not seem to be present, delaying initialization.
Bal 25 12:01:36 localhost.localdomain network[838]: [NEPAVYKO]
Bal 25 12:01:36 localhost.localdomain network[838]: Iškeliama sąsaja wlan0:  RTNETLINK answers: Operation not possible due to RF-kill
Bal 25 12:01:36 localhost.localdomain network[838]: RTNETLINK answers: Operation not possible due to RF-kill
Bal 25 12:01:36 localhost.localdomain network[838]: Error for wireless request "Set Encode" (8B2A) :
Bal 25 12:01:36 localhost.localdomain network[838]: SET failed on device wlan0 ; Invalid argument.
Bal 25 12:01:36 localhost.localdomain ifplugd(wlan0)[1934]: ifplugd 0.28 initializing.
Bal 25 12:01:36 localhost.localdomain ifplugd(wlan0)[1934]: Using interface wlan0/74:E5:0B:D2:1C:10 with driver <iwlwifi> (version: 3.12.13-desktop-2.mga4)
Bal 25 12:01:36 localhost.localdomain ifplugd(wlan0)[1934]: Using detection mode: SIOCETHTOOL
Bal 25 12:01:36 localhost.localdomain ifplugd(wlan0)[1934]: Initialization complete, link beat not detected.
Bal 25 12:01:36 localhost.localdomain network[838]: [ GERAI  ]
Bal 25 12:01:36 localhost.localdomain systemd-sysctl[1947]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
Bal 25 12:01:36 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Bal 25 12:01:36 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Bal 25 12:01:36 localhost.localdomain systemd[1]: Unit network.service entered failed state.
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: DHCPACK from 192.168.2.1
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: bound to 192.168.2.106 -- renewal in 41744 seconds.
Bal 25 12:01:36 localhost.localdomain ifplugd(eth0)[1411]: client: Determining IP information for eth0... done.
Bal 25 12:01:37 localhost.localdomain ifplugd(eth0)[1411]: Program executed successfully.


systemctl status network.service -a
Code: Select all
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Pn 2014-04-25 12:01:36 EEST; 2 days ago
   CGroup: /system.slice/network.service
           ├─1411 /sbin/ifplugd -I -b -i eth0
           ├─1934 /sbin/ifplugd -I -b -i wlan0
           └─2060 dhclient -1 -q -lf /var/lib/dhclient/dhclient--eth0.lease -...

Bal 25 12:01:36 localhost.localdomain network[838]: [ GERAI  ]
Bal 25 12:01:36 localhost.localdomain systemd-sysctl[1947]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
Bal 25 12:01:36 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Bal 25 12:01:36 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Bal 25 12:01:36 localhost.localdomain systemd[1]: Unit network.service entered failed state.
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: DHCPACK from 192.168.2.1
Bal 25 12:01:36 localhost.localdomain dhclient[1498]: bound to 192.168.2.106 -- renewal in 41744 seconds.
Bal 25 12:01:36 localhost.localdomain ifplugd(eth0)[1411]: client: Determining IP information for eth0... done.
Bal 25 12:01:37 localhost.localdomain ifplugd(eth0)[1411]: Program executed successfully.


journalctl -b | grep -i firmware
Code: Select all
Bal 25 12:01:07 localhost.localdomain kernel: [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
Bal 25 12:01:07 localhost.localdomain kernel: psmouse serio5: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
Bal 25 12:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: loaded firmware version 39.31.5.1 build 35138 op_mode iwldvm


well, a lot of information. I don't understand anything in this... Although I still beleive Mageia is better than Win7 which I use at work. And providing it is community driven it looks even more better

Re: No wifi after updating to Mageia 4

PostPosted: Apr 27th, '14, 14:27
by doktor5000
Please show the output as root of
Code: Select all
cat /etc/udev/rules.d/70-persistent-net.rules
rfkill list all
ls -al /etc/sysconfig/network-scripts/ifcfg-wl*
cat /etc/sysconfig/network-scripts/ifcfg-wl*

Re: No wifi after updating to Mageia 4

PostPosted: Apr 27th, '14, 18:04
by evaldas
Code: Select all
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# Drakx-net rule for eth0 (04:7d:7b:91:74:a3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:7d:7b:91:74:a3", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x0084 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="74:e5:0b:d2:1c:10", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x148e:0x099a (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:42:02:c3:74", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


Code: Select all
0: tpacpi_bluetooth_sw: Bluetooth
   Soft blocked: yes
   Hard blocked: yes
1: phy0: Wireless LAN
   Soft blocked: yes
   Hard blocked: no

[/code]

Code: Select all
-rwx------ 1 root root 328 Kov 25 20:21 /etc/sysconfig/network-scripts/ifcfg-wlan0*


Code: Select all
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=yes
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=Wasia
WIRELESS_ENC_KEY=s:XXXXXXXX
WIRELESS_ENC_MODE=restricted
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
NM_CONTROLLED=no
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=yes
PEERNTPD=no

Re: No wifi after updating to Mageia 4

PostPosted: Apr 27th, '14, 19:39
by doktor5000
What happens if you run the following as root
Code: Select all
rfkill unblock all

Re: No wifi after updating to Mageia 4

PostPosted: Apr 28th, '14, 15:44
by evaldas
[SOLVED] it just works. Thank you!

Re: No wifi after updating to Mageia 4

PostPosted: Apr 28th, '14, 18:23
by tom_
please prefix with [SOLVED] the subject of your first post

Re: No wifi after updating to Mageia 4

PostPosted: Apr 28th, '14, 20:17
by evaldas
well, it turned that it is too early to celebrate
After reload of computer situation remained the same as previous.
after
Code: Select all
rfkill unblock all
wifi works again untill next reload :(
Also physical button controling wifi on/of doesn't work

Re: No wifi after updating to Mageia 4

PostPosted: Apr 28th, '14, 20:53
by doktor5000
What laptop make & model do you use?
Also please show the output of
Code: Select all
journalctl -ab | grep -i kill

Re: No wifi after updating to Mageia 4

PostPosted: Apr 28th, '14, 22:36
by evaldas
Code: Select all
Bal 28 21:11:12 localhost.localdomain kernel: thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
Bal 28 21:11:40 localhost.localdomain network[890]: Iškeliama sąsaja wlan0:  RTNETLINK answers: Operation not possible due to RF-kill
Bal 28 21:11:40 localhost.localdomain network[890]: RTNETLINK answers: Operation not possible due to RF-kill


it is lenovo e320

Re: No wifi after updating to Mageia 4

PostPosted: May 16th, '14, 17:33
by evaldas
hello,

maybe someone could advise how to unblock wifi softblock and make physical button wifi on/of working.
all was ok in mageia 3 but these problems appeared after update to mageia 4

Re: No wifi after updating to Mageia 4

PostPosted: May 16th, '14, 23:26
by ozky
evaldas wrote:maybe someone could advise how to unblock wifi softblock and make physical button wifi on/of working.


It depends on computer so it's hard to say what keys is used to unblock it.

Re: No wifi after updating to Mageia 4

PostPosted: May 18th, '14, 15:37
by doktor5000
You could simply put the unblock all command it in /etc/rc.d/rc.local
Check also viewtopic.php?f=41&t=4734

Re: No wifi after updating to Mageia 4

PostPosted: May 18th, '14, 20:32
by evaldas
I can't find file rc.local
[root@localhost rc.d]# ls
init.d/ rc1.d/ rc3.d/ rc5.d/ rc7.d/ rcS.d@
rc0.d/ rc2.d/ rc4.d/ rc6.d/ rc.alsa_default*

Re: No wifi after updating to Mageia 4

PostPosted: May 18th, '14, 20:58
by doktor5000
Check the linked thread - you need to create that file and make it executable.

Re: No wifi after updating to Mageia 4

PostPosted: May 26th, '14, 21:24
by evaldas
hmm... I would be very thankfull if someone writes how to create that file step by step
I am considerig also to buy a referense book. Maybe someone could recomend any?

Re: No wifi after updating to Mageia 4

PostPosted: May 26th, '14, 21:33
by doktor5000
As root run
Code: Select all
echo "rfkill unblock all" > /etc/rc.d/rc.local && chmod +x /etc/rc.d/rc.local


For a reference book, a reference about what exactly? Try http://rute.2038bug.com/index.html.gz
Also check viewtopic.php?p=48481#p48481

Re: No wifi after updating to Mageia 4

PostPosted: May 30th, '14, 07:25
by evaldas
hmm... output was nothing
I think I need to create file, but I am not sure what program I should use and what exactly needs to writen in this file

Re: No wifi after updating to Mageia 4

PostPosted: May 30th, '14, 11:50
by tom_
that command writes "rfkill unblock all" in file /etc/rc.d/rc.local,
then (&&) adds the executable flag to the same file (chmod +x /etc/rc.d/rc.local)

you need only to test if it works

Re: No wifi after updating to Mageia 4

PostPosted: May 30th, '14, 12:05
by doktor5000
Well you asked for how to create that file step by step - I've posted the command to do it in one step.
You didn't mention you also want some output.

Please show the output of
Code: Select all
cat /etc/rc.d/rc.local
ls -al /etc/rc.d/rc.local

Re: No wifi after updating to Mageia 4

PostPosted: May 30th, '14, 14:38
by evaldas
Code: Select all
[namai@localhost ~]$ cat /etc/rc.d/rc.local
rfkill unblock all
[namai@localhost ~]$ ls -al /etc/rc.d/rc.local
-rwxr-xr-x 1 root root 19 Geg 27 16:00 /etc/rc.d/rc.local*
[namai@localhost ~]$

but still no wifi...

Re: No wifi after updating to Mageia 4

PostPosted: May 31st, '14, 00:50
by doktor5000
You did reboot your box in between? As that's only run on bootup.

Also please show the output as root of
Code: Select all
systemctl status rc-local.service

Re: No wifi after updating to Mageia 4

PostPosted: May 31st, '14, 17:52
by evaldas
Code: Select all
rc-local.service - /etc/rc.d/rc.local Compatibility
   Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
   Active: failed (Result: exit-code) since Št 2014-05-31 18:48:21 EEST; 5min ago
  Process: 3811 ExecStart=/etc/rc.d/rc.local start (code=exited, status=203/EXEC)

Geg 31 18:48:21 localhost.localdomain systemd[1]: Starting /etc/rc.d/rc.local...
Geg 31 18:48:21 localhost.localdomain systemd[1]: rc-local.service: control p...
Geg 31 18:48:21 localhost.localdomain systemd[1]: Failed to start /etc/rc.d/r...
Geg 31 18:48:21 localhost.localdomain systemd[1]: Unit rc-local.service enter...
Hint: Some lines were ellipsized, use -l to show in full.

Re: No wifi after updating to Mageia 4

PostPosted: May 31st, '14, 23:17
by ozky
You need to add top of rc.local #!/bin/sh until it won't work.
http://www.scrye.com/wordpress/nirik/20 ... in-fedora/