Bug 5549 - wifi for Centrino Advanced-N 6025 can't be set up: "unable to find network interface"
Summary: wifi for Centrino Advanced-N 6025 can't be set up: "unable to find network in...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Olivier Blin
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 5311 5565 (view as bug list)
Depends on:
Blocks: 5015
  Show dependency treegraph
 
Reported: 2012-04-22 10:09 CEST by Béat E
Modified: 2012-07-01 21:53 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Output lspcidrake & dmesg (72.64 KB, text/plain)
2012-04-22 13:58 CEST, Béat E
Details
install iwlwifi-agn-ucode for iwlwifi module (1.26 KB, patch)
2012-04-29 14:42 CEST, Luc Menut
Details | Diff

Description Béat E 2012-04-22 10:09:52 CEST
Description of problem:

When I want to set up a new wireless network in mcc my wifi card (Intel Corporation Centrino Advanced-N 6025) gets detected properly. But afterwards it says "Unable to find network interface for selected device (using iwlwifi driver)." It's impossible set up the wifi.

This bug looks similar to bug 5311. But I'm not sure whether it is really the same bug.


How reproducible:
I can reproduce this only on a fresh install of Mageia 2 Beta 3. I updated my new Beta 3 installation with cauldron and there's still the same problem.
I have Mageia installed on the same computer another time. There the wifi worked properly before upgrading to Beta 3. And after the upgrade wifi still works fine. 

Steps to Reproduce:
1. fresh install of Mageia 2 Beta 3 and updating it with cauldron
2. go to mcc and configure a new network
3. in the dialog âSelect the network interface to configure wirelessâ I see my wifi card (Intel Corporation Centrino Advanced-N 6025) I choose it and click on the continue button
4. I get the following message: Unable to find network interface for selected device (using iwlwifi driver).
Comment 1 Manuel Hiebel 2012-04-22 12:30:36 CEST
Can you *attach* the output of 'lspcidrake -v',  'dmesg' and 'rpm -qa | grep iwl'

(also note that there were some update yesterday)

Keywords: (none) => NEEDINFO

Comment 2 Béat E 2012-04-22 13:58:46 CEST
Created attachment 2067 [details]
Output lspcidrake & dmesg

My system is up-to-date. In the attached text you'll find the output of of 'lspcidrake -v' and 'dmesg'. There was no output of the command 'rpm -qa | grep
iwl'.
Comment 3 Manuel Hiebel 2012-04-22 22:58:22 CEST
does it work if you install iwlwifi-6000-ucode ?
Comment 4 Olivier Blin 2012-04-23 01:57:58 CEST
I've committed a potential fix in drakx-net r4188 and in meta-task release 43, to properly install the iwlwifi firmware package (it was checking for iwlagn driver, while it has been renamed to iwlwifi

Status: NEW => ASSIGNED
CC: (none) => mageia, tmb
Assignee: bugsquad => mageia

Comment 5 Manuel Hiebel 2012-04-24 00:39:16 CEST
*** Bug 5565 has been marked as a duplicate of this bug. ***

CC: (none) => kelk1

Comment 6 Manuel Hiebel 2012-04-24 00:40:01 CEST
*** Bug 5311 has been marked as a duplicate of this bug. ***

CC: (none) => yves.brungard_mageia

Comment 7 Béat E 2012-04-24 21:17:38 CEST
I installed all the new packages and tried to install my wifi card afterwards. It was still the same way as I described in comment 1.

Then I installed iwlwifi-6000-ucode. There is no change. It still isn't possible to install my wifi card. There was again this message: Unable to find network interface for selected device (using iwlwifi driver).
Comment 8 papoteur 2012-04-25 14:36:52 CEST
@ Béat E
You must use the driver: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-6000g2a-ucode-17.168.5.3.tgz

note 6000g2a

Did you use this one?
Comment 9 Béat E 2012-04-25 21:13:04 CEST
I'm a simple user (not a developer) I don't know what to do with the downloaded driver. And I'm quite sure that this won't be the final solution. But if it helps to fix the problem for the official release of mageia 2 I won't mind to install the driver. But you need to tell me what to do.

I have been using mageia 1 and didn't have a problem to set up my wifi. The necessary packages were installed automatically. There a installation on my laptop which I updated from mageia 1 to cauldron. There the wifi works. Only when starting with a fresh installation of Beta 3 wifi can't be set up.
Comment 10 Béat E 2012-04-27 08:02:08 CEST
I tried to set up my wifi with the newest packages installed. After choosing the network interface to configure. I see a window saying "Looking for required software and drivers..." and then a second window saying:

"Some packages (iwlwifi-wifi-ucode) are required but aren't available. These packages can be found in Mageia, or in the official non-free package repository.

The following component is missing: /lib/firmware/iwlwifi-5000-5.ucode

The required files can also be installed from this URL:
http://intellinuxwireless.org/"

Afterwards I installed iwlwifi-5000-ucode from the nonfree package repository hoping that this would help. Now I get the following message "Unable to find network interface for selected device (using iwlwifi driver). It still isn't possible to set up the wifi card.
Comment 11 Sander Lepik 2012-04-27 08:24:38 CEST
I don't see package iwlwifi-wifi-ucode in the repos, but there is iwlwifi-agn-ucode. So i think drak* tools are searching for wrong package.

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik

Comment 12 Sander Lepik 2012-04-27 08:26:13 CEST
*** Bug 5311 has been marked as a duplicate of this bug. ***
Comment 13 Béat E 2012-04-27 09:17:56 CEST
I made a fresh mageia 1 install in order to see the difference to mageia 2 Beta 3. In the first dialog "Select the network interface to configure" there's a different description for my wifi: Intel Corporation 6000 Series Gen2. 

Then I get stuck with an error message similar to the one in comment 10. After that I configured the media sources for install and update (Full set of sources). Afterward I tried to set up my wifi again. After selecting my network interface (Intel Corporation 6000 Series Gen2) some packages (at least some iwlwifi packages) get installed automatically. And after installing them I get to the window where I can select my network. A few steps later I have a working wifi connection. :)

I don't know whether it is helpful. This is the output of rpm -qa | grep iwl now:

iwlwifi-6030-ucode-17.168.5.2-1.mga1
iwlwifi-6050-ucode-41.28.5.1-3.mga1
iwlwifi-3945-ucode-15.32.2.9-2.mga1
iwlwifi-5150-ucode-8.24.2.2-2.mga1
iwlwifi-1000-ucode-128.50.3.1-2.mga1
iwlwifi-5000-ucode-8.83.5.1-2.mga1
iwlwifi-6005-ucode-17.168.5.2-1.mga1
iwlwifi-agn-ucode-1.0-8.mga1
iwlwifi-4965-ucode-228.61.2.24-2.mga1
iwlwifi-100-ucode-39.31.5.1-1.mga1
iwlwifi-6000-ucode-9.221.4.1-2.mga1
Comment 14 Thomas Backlund 2012-04-27 17:31:28 CEST
Yeah, Intel screwed up iwlwfi ucode versioning in 3.3 series kernels.

I fixed one of them in 3.3.3-1.mga2, but the 6000 series need another fix I have queued for 3.3.4-1.mga2

as for the complaint of missing "iwlwifi-wifi-ucode", it's a change in drakx-net that need to be fixed properly
Comment 15 Luc Menut 2012-04-29 14:36:53 CEST
With kernel-firmware-nonfree-20120421-3.mga2, all ucode firmwares supported by iwlwifi driver are now marged in the package iwlwifi-agn-ucode.
wireless.pm should be modify to reflect this change.
The proposed patch in attachment fixes this bug for me (Intel wifi 5100 AGN on Dell Latitude E4300).

please, review before commit

Hardware: i586 => All
Blocks: (none) => 5015
CC: (none) => lmenut

Comment 16 Luc Menut 2012-04-29 14:42:37 CEST
Created attachment 2135 [details]
install iwlwifi-agn-ucode for iwlwifi module

This patch:
- install iwlwifi-agn-ucode for iwlwifi kernel module
- remove ipw3945 section, as it isn't available in new kernels and seems deprecated

modinfo -F firmware iwlwifi
iwlwifi-5150-2.ucode
iwlwifi-5000-5.ucode
iwlwifi-6000g2b-6.ucode
iwlwifi-6000g2a-5.ucode
iwlwifi-6050-5.ucode
iwlwifi-6000-4.ucode
iwlwifi-100-5.ucode
iwlwifi-1000-5.ucode
iwlwifi-135-6.ucode
iwlwifi-105-6.ucode
iwlwifi-2030-6.ucode
iwlwifi-2000-6.ucode
Comment 17 Thomas Backlund 2012-04-29 23:16:22 CEST
Patch is not correct.

iwlwifi 3945 and 4965 are still separate firmware tarballs as they also have separate kernel modules
Comment 18 Luc Menut 2012-04-29 23:31:23 CEST
(In reply to comment #17)
> Patch is not correct.

where ?

> 
> iwlwifi 3945 and 4965 are still separate firmware tarballs as they also have
> separate kernel modules

IIUC, kernel modules are respectively iwl3945 and iwl4965
/sbin/modinfo -F firmware iwl3945
iwlwifi-3945-2.ucode
/sbin/modinfo -F firmware iwl4965
iwlwifi-4965-2.ucode

that's why I kept for them:

    (map {
        my ($version, $ucode_api, $ucode_version) = @$_;
        $ucode_version ||= $version;
        {
            name => "iwl${version}",
            description => "Intel(R) PRO/Wireless ${version}",
            url => "http://intellinuxwireless.org/",
            firmware => {
                package => "iwlwifi-${version}-ucode",
                test_file => "iwlwifi-${ucode_version}${ucode_api}.ucode",
            },
            sleep => 1,
        };
    } ([ 3945, '-2' ], [ 4965, '-2' ])),
Comment 19 Thomas Backlund 2012-04-29 23:51:30 CEST
Well, you did for iwlwifi-agn-ucode:

test_file => "iwlwifi-*.ucode",

wich would match if the user had installed iwlwifi-4965-2.ucode (even if he did not need it)

and it wouldn't install iwlwifi-agn-ucode even if the user really needed it
Comment 20 Luc Menut 2012-04-30 00:09:24 CEST
(In reply to comment #19)
> Well, you did for iwlwifi-agn-ucode:
> 
> test_file => "iwlwifi-*.ucode",
> 
> wich would match if the user had installed iwlwifi-4965-2.ucode (even if he did
> not need it)
> 
> and it wouldn't install iwlwifi-agn-ucode even if the user really needed it

OK, you are right.
I don't know how to fix this, because test_file is also use to say to the user which file to download and manually install if the package is not available (e.g. non-free media disabled).
If we blindly put in test_file a firmware from iwlwifi-agn-ucode e.g. iwlwifi-5150-2.ucode, this firmware filename will be given to user for all the wifi cards that use iwlwifi module, which will be wrong for all the cards that use another firmwares than iwlwifi-5150-2.ucode.
Comment 21 Olivier Blin 2012-04-30 00:26:22 CEST
The test file is only to speed-up the check "is the iwlwifi-agn-ucode package already installed?", so it will be correct for cards using agn but not specifically 5150.

Closing as fixed, since drakx-net has been submitted with a fix on 2012-04-28 already.

Please reopen if it does not fix your issue.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 22 Luc Menut 2012-04-30 01:06:58 CEST
(In reply to comment #21)
> The test file is only to speed-up the check "is the iwlwifi-agn-ucode package
> already installed?", so it will be correct for cards using agn but not
> specifically 5150.
> 
> Closing as fixed, since drakx-net has been submitted with a fix on 2012-04-28
> already.
> 
> Please reopen if it does not fix your issue.

wireless.pm from libdrakx-net-1.9-1.mga2 (2012-04-28) doesn't work for me (Intel wifi 5100 AGN on Dell Latitude E4300), and probably for all iwlwifi users.
msg: Unable to find network interface for selected device (using iwlwifi driver).

    (map {
        my ($version, $ucode_api, $ucode_version) = @$_;
        $ucode_version ||= $version;
        {
            name => "iwl${version}",
            description => "Intel(R) PRO/Wireless ${version}",
            url => "http://intellinuxwireless.org/",
            firmware => {
                package => "iwlwifi-${version}-ucode",
                test_file => "iwlwifi-${ucode_version}${ucode_api}.ucode",
            },
            sleep => 1,
        };
    } ([ 3945, '-2' ], [ 4965, '-2' ], [ 'agn', '-5', 5000 ])),

IIUC, this code handles iwlagn kernel module, but not iwlwifi kernel module.

for kernel module iwlwifi, the firmware package is iwlwifi-agn-ucode, so ${version} can't be used both for name and package.
that's why, I added a separate entry for the general case of iwlwifi.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 23 Olivier Blin 2012-04-30 02:05:16 CEST
Right, should be hopefully good in 1.10

Options for iwlagn/iwlwifi now look like this:

          {
            'url' => 'http://intellinuxwireless.org/',
            'name' => 'iwlwifi',
            'firmware' => {
                            'test_file' => 'iwlwifi-5000-5.ucode',
                            'package' => 'iwlwifi-agn-ucode'
                          },
            'description' => 'Intel(R) PRO/Wireless agn',
            'sleep' => 1
          },

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 24 Luc Menut 2012-04-30 22:19:36 CEST
(In reply to comment #23)
> Right, should be hopefully good in 1.10
> 

It works fine for me.
Thanks
Comment 25 papoteur 2012-05-18 17:34:56 CEST
A user had a problem with the Centrino 6200.
The driver to use is the iwlwifi-6000-ucode-9.221.4.1
The installer didn't find it.

Version: drakx-net-1.12-1.mga2

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 26 Manuel Hiebel 2012-05-19 00:26:12 CEST
(In reply to comment #25)
> A user had a problem with the Centrino 6200.
> The driver to use is the iwlwifi-6000-ucode-9.221.4.1
> The installer didn't find it.
> 
> Version: drakx-net-1.12-1.mga2

are you sure the nonfree repo was enable ?
Comment 27 papoteur 2012-05-19 12:00:22 CEST
The user said that non-free repo was activated.
He get this message during configuration:
5:23:03 drakconnect[6908]: running: /bin/rpm -q --qf %{name}
15:23:20 drakconnect[6908]: running: dmidecode
15:23:20 drakconnect[6908]: Found settings for driver "iwlwifi" in category "network::connection::wireless"
15:23:20 drakconnect[6908]: No kernel_module package for module "iwlwifi" is required, skipping
15:23:20 drakconnect[6908]: No tools package for module "iwlwifi" is required, skipping
15:23:20 drakconnect[6908]: Required firmware package for module "iwlwifi" is already installed, skipping
15:23:20 drakconnect[6908]: Loading module iwlwifi
15:23:21 drakconnect[6908]: Settings for driver "iwlwifi" applied
Comment 28 Marja Van Waes 2012-05-26 13:06:42 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 29 papoteur 2012-06-30 21:04:09 CEST
No news from the user. He installed manually the driver.
Comment 30 papoteur 2012-06-30 21:05:36 CEST
http://www.mageialinux-online.org/forum/topic-12571-2+carte-wifi-intel-centrino-advanced-n-6200.php

Status: REOPENED => RESOLVED
Resolution: (none) => OLD

Comment 31 Olivier Blin 2012-07-01 21:53:42 CEST
The user had an old iwlwifi-5000-ucode (8.83.5.1-1-mdv2011.0.noarch) package installed, which is now not in the repo anymore, and is obsoleted by iwlwifi-agn-ucode anyway, so the right package should now be picked up automatically.

Note You need to log in before you can comment on or make changes to this bug.