[SOLVED] No wifi after updating to Mageia 4

[SOLVED] No wifi after updating to Mageia 4

Postby evaldas » Apr 25th, '14, 11:23

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
Last edited by evaldas on Jun 1st, '14, 21:35, edited 1 time in total.
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » Apr 25th, '14, 23:26

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » Apr 27th, '14, 13:05

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » Apr 27th, '14, 14:27

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*
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » Apr 27th, '14, 18:04

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
Last edited by doktor5000 on Apr 27th, '14, 19:07, edited 1 time in total.
Reason: key deleted for privacy reasons
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » Apr 27th, '14, 19:39

What happens if you run the following as root
Code: Select all
rfkill unblock all
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » Apr 28th, '14, 15:44

[SOLVED] it just works. Thank you!
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby tom_ » Apr 28th, '14, 18:23

please prefix with [SOLVED] the subject of your first post
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: No wifi after updating to Mageia 4

Postby evaldas » Apr 28th, '14, 20:17

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » Apr 28th, '14, 20:53

What laptop make & model do you use?
Also please show the output of
Code: Select all
journalctl -ab | grep -i kill
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » Apr 28th, '14, 22:36

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby evaldas » May 16th, '14, 17:33

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby ozky » May 16th, '14, 23:26

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: No wifi after updating to Mageia 4

Postby doktor5000 » May 18th, '14, 15:37

You could simply put the unblock all command it in /etc/rc.d/rc.local
Check also viewtopic.php?f=41&t=4734
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » May 18th, '14, 20:32

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*
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » May 18th, '14, 20:58

Check the linked thread - you need to create that file and make it executable.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » May 26th, '14, 21:24

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?
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » May 26th, '14, 21:33

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » May 30th, '14, 07:25

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
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby tom_ » May 30th, '14, 11:50

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
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: No wifi after updating to Mageia 4

Postby doktor5000 » May 30th, '14, 12:05

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » May 30th, '14, 14:38

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...
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby doktor5000 » May 31st, '14, 00:50

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No wifi after updating to Mageia 4

Postby evaldas » May 31st, '14, 17:52

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.
evaldas
 
Posts: 167
Joined: Feb 9th, '14, 19:06

Re: No wifi after updating to Mageia 4

Postby ozky » May 31st, '14, 23:17

You need to add top of rc.local #!/bin/sh until it won't work.
http://www.scrye.com/wordpress/nirik/20 ... in-fedora/
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Next

Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron