[SOLVED] mageia-4 : wifi problem

[SOLVED] mageia-4 : wifi problem

Postby brunop » Mar 5th, '14, 12:04

Hi all,

I recently upgrade from mageia-3 to mageia-4 and since
I experience a strange problem with one of my home wifi connections.
Ethernet connection works fine but I am unable to use my usual wifi
connection : I have a freebox-v6, I can connect to the FreeWifi SSID
(which uses no key but is slow) but not to the main one SSID. I
never had this problem before (that is with mageia-1,2 and 3). If
someone can give me a clue many thanks.

Bruno

==============================================================
My laptop : a dell latitude 6420

My wifi card : Intel Corporation Centrino Ultimate-N 6300

Code: Select all
 [bruno@localhost ~]$ lspcidrake -v | grep NET
iwlwifi         : Intel Corporation|Centrino Ultimate-N 6300 [NETWORK_OTHER] (vendor:8086 device:422b subv:8086 subd:1121) (rev: 35)


I use drakx-net (networkmanager is not installed)

Some outputs of dmesg : (first ones corresponding to try to connect with my usual wifi connection
and the last ones with the FreeWifi connection (for it I needed 2 attempts)) :

Code: Select all
[ 4850.557571] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5061.839991] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5061.846562] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5061.968030] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5062.058610] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5062.065181] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5062.204283] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5146.141391] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5146.147965] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5146.273345] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5146.337898] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5146.344540] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5146.468949] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5146.487854] wlan0: authenticate with f4:ca:e5:cc:ca:11
[ 5146.514446] wlan0: send auth to f4:ca:e5:cc:ca:11 (try 1/3)
[ 5148.709481] wlan0: send auth to f4:ca:e5:cc:ca:11 (try 2/3)
[ 5150.075077] wlan0: send auth to f4:ca:e5:cc:ca:11 (try 3/3)
[ 5151.078723] wlan0: authentication with f4:ca:e5:cc:ca:11 timed out
[ 5177.183398] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5177.189969] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5177.327832] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5177.327846] wlan0: authenticate with f4:ca:e5:cc:ca:11
[ 5177.340568] wlan0: send auth to f4:ca:e5:cc:ca:11 (try 1/3)
[ 5177.343286] wlan0: authenticated
[ 5177.344299] wlan0: associate with f4:ca:e5:cc:ca:11 (try 1/3)
[ 5177.345960] wlan0: deauthenticating from f4:ca:e5:cc:ca:11 by local choice (reason=3)
[ 5177.380425] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 5177.387005] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 5177.532568] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5177.532605] wlan0: authenticate with f4:ca:e5:cc:ca:11
[ 5177.545507] wlan0: send auth to f4:ca:e5:cc:ca:11 (try 1/3)
[ 5177.549705] wlan0: authenticated
[ 5177.550245] wlan0: associate with f4:ca:e5:cc:ca:11 (try 1/3)
[ 5177.553452] wlan0: RX AssocResp from f4:ca:e5:cc:ca:11 (capab=0x401 status=0 aid=1)
[ 5177.558755] wlan0: associated
[ 5177.558858] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready



And the beginning of : journalctl -b -u network --no-pager

Maybe this one gives some useful informations from line 11 (several errors
messages appeared). Note that after I have connected an ethernet wire to
have a fast connection (then a unplug it to retry my 2 wireless connections
and see what dmesg outputs).

Code: Select all
[root@localhost bruno]# journalctl -b -u network --no-pager
-- Logs begin at mar. 2013-09-03 15:31:59 CEST, end at mer. 2014-03-05 10:27:01 CET. --
mars 05 09:12:47 localhost systemd[1]: Starting LSB: Bring up/down networking...
mars 05 09:12:47 localhost systemd-sysctl[1013]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
mars 05 09:12:47 localhost network[974]: Démarrage de l'interface loopback :  [  OK  ]
mars 05 09:12:47 localhost network[974]: Configuration du domaine réglementaire du sans-fil [  OK  ]
mars 05 09:12:47 localhost ifplugd(eth0)[1138]: ifplugd 0.28 initializing.
mars 05 09:12:47 localhost ifplugd(eth0)[1138]: Using interface eth0/5C:26:0A:86:41:87 with driver <e1000e> (version: 2.3.2-k)
mars 05 09:12:47 localhost ifplugd(eth0)[1138]: Using detection mode: SIOCETHTOOL
mars 05 09:12:47 localhost ifplugd(eth0)[1138]: Initialization complete, link beat not detected.
mars 05 09:12:47 localhost network[974]: Activation de l'interface eth0 :  [  OK  ]
mars 05 09:12:48 localhost network[974]: Activation de l'interface wlan0 :  Error for wireless request "Set Encode" (8B2A) :
mars 05 09:12:48 localhost network[974]: SET failed on device wlan0 ; Invalid argument.
mars 05 09:12:48 localhost network[974]: Successfully initialized wpa_supplicant
mars 05 09:12:48 localhost network[974]: Line 943: Too long WEP key 0 '"wycsyegefabtif0odbon"'.
mars 05 09:12:48 localhost network[974]: Line 943: failed to parse wep_key0 '"wycsyegefabtif0odbon"'.
mars 05 09:12:48 localhost network[974]: Line 946: failed to parse network block.
mars 05 09:12:48 localhost network[974]: Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
mars 05 09:12:48 localhost ifplugd(wlan0)[1212]: ifplugd 0.28 initializing.
mars 05 09:12:48 localhost ifplugd(wlan0)[1212]: Using interface wlan0/24:77:03:18:18:30 with driver <iwlwifi> (version: 3.12.13-desktop-2.mga4)
mars 05 09:12:48 localhost ifplugd(wlan0)[1212]: Using detection mode: SIOCETHTOOL
mars 05 09:12:48 localhost ifplugd(wlan0)[1212]: Initialization complete, link beat not detected.
mars 05 09:12:48 localhost network[974]: [  OK  ]
mars 05 09:12:48 localhost systemd[1]: Started LSB: Bring up/down networking.
mars 05 09:19:16 localhost ifplugd(eth0)[1138]: Link beat detected.
mars 05 09:19:17 localhost ifplugd(eth0)[1138]: Link beat lost.
mars 05 09:19:20 localhost ifplugd(eth0)[1138]: Link beat detected.
mars 05 09:19:21 localhost ifplugd(eth0)[1138]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
mars 05 09:19:23 localhost dhclient[4668]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
mars 05 09:19:23 localhost dhclient[4668]: DHCPACK from 192.168.0.254
mars 05 09:19:23 localhost ifplugd(eth0)[1138]: client: Determining IP information for eth0... done.
mars 05 09:19:23 localhost ifplugd(eth0)[1138]: Program executed successfully.
mars 05 09:32:23 localhost ifplugd(eth0)[1138]: Link beat lost.
mars 05 09:32:29 localhost ifplugd(eth0)[1138]: Executing '/etc/ifplugd/ifplugd.action eth0 down'.
mars 05 09:32:29 localhost ifplugd(eth0)[1138]: Program executed successfully.
mars 05 09:41:15 localhost ifplugd(eth0)[1138]: Link beat detected.
mars 05 09:41:16 localhost ifplugd(eth0)[1138]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
mars 05 09:41:17 localhost dhclient[10019]: DHCPREQUEST on eth0 to 255.255.255.255 port 67
mars 05 09:41:17 localhost dhclient[10019]: DHCPACK from 192.168.0.254
mars 05 09:41:17 localhost dhclient[10019]: bound to 192.168.0.28 -- renewal in 20425 seconds.
mars 05 09:41:17 localhost ifplugd(eth0)[1138]: client: Determining IP information for eth0... done.
mars 05 09:41:18 localhost ifplugd(eth0)[1138]: Program executed successfully.
Last edited by brunop on Mar 8th, '14, 00:21, edited 2 times in total.
brunop
 
Posts: 3
Joined: Mar 5th, '14, 12:01

Re: mageia-4 : wifi problem

Postby brunop » Mar 6th, '14, 14:29

Hi all,

I have seen somewhere on the net that dmesg gives the most useful informations
to debug a wifi problem but in my case when I try to connect I got not much, just :
Code: Select all
[ 9633.952093] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 9633.958700] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 9634.068761] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9634.112816] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 9634.119442] iwlwifi 0000:02:00.0: Radio type=0x0-0x3-0x1
[ 9634.249189] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


(I can see that when I click one time on the connection button for this SSID
the system tries 2 times but nothing about the reasons the connection
fails).

So what I can do/try to get more informations ? I suppose that it is not
a real wifi driver problem as it works for my FreeWifi connection, maybe
something related to the authentification with the WPA key ? or a time
delay to set or ??? (I known nothing about how this works...). If somebody
has some ideas thanks to share ;-)
Last edited by isadora on Mar 6th, '14, 14:42, edited 2 times in total.
Reason: Command-output placed between [CODE]-tags, to keep the forum readable. ;)
brunop
 
Posts: 3
Joined: Mar 5th, '14, 12:01

Re: mageia-4 : wifi problem

Postby doktor5000 » Mar 7th, '14, 21:51

brunop wrote:mars 05 09:12:48 localhost network[974]: Successfully initialized wpa_supplicant
mars 05 09:12:48 localhost network[974]: Line 943: Too long WEP key 0 '"wycsyegefabtif0odbon"'.
mars 05 09:12:48 localhost network[974]: Line 943: failed to parse wep_key0 '"wycsyegefabtif0odbon"'.
mars 05 09:12:48 localhost network[974]: Line 946: failed to parse network block.
mars 05 09:12:48 localhost network[974]: Failed to read or parse configuration '/etc/wpa_supplicant.conf'.


Best take a backup of /etc/wpa_supplicant.conf and then reinstall the package to get a clean config. As root do
Code: Select all
systemctl stop wpa_supplicant.service
mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.backup
rpm -e --nodeps wpa_supplicant
urpmi wpa_supplicant
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: 18035
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: mageia-4 : wifi problem

Postby brunop » Mar 8th, '14, 00:19

Many thanks doktor5000 it works !

all the best
Bruno
brunop
 
Posts: 3
Joined: Mar 5th, '14, 12:01


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron