Gentoo Archives: gentoo-user

From: "Ivan T. Ivanov" <iivanov@××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Wifi, problem, problem, problem
Date: Thu, 19 Dec 2013 14:21:00
Message-Id: 1387462766.2920.35.camel@iivanov-dev.int.mm-sol.com
In Reply to: Re: [gentoo-user] Wifi, problem, problem, problem by Florian HEGRON
1 On Thu, 2013-12-19 at 15:09 +0100, Florian HEGRON wrote:
2 > On 2013-12-19 14:51, Ivan T. Ivanov wrote:
3 > > On Thu, 2013-12-19 at 14:19 +0100, Florian HEGRON wrote:
4 > >
5 > >
6 > > <snip>
7 > >
8 > > > >
9 > > > > I had to enable wireless extension option on Network Support ->
10 > > > > Wireless
11 > > > >
12 > > > > So I enable my card support, and I reboot (I already emerge
13 > > > > ipw2200-firmware).
14 > > > >
15 > > > > #dmesg | grep 2200
16 > > > > [ 1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
17 > > > > 1.2.2k
18 > > > > [ 1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
19 > > > > [ 1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
20 > > > > Connection
21 > > > > [ 61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
22 > > > > -2
23 > > > >
24 > > > > This means that driver can not find ipw2200-bss.fw file (probably
25 > > > > part of sys-firmware/ipw2200-firmware) to load it to wireless card
26 > > > > RAM chip. Ensure that you have that file, usually it is localed
27 > > > > in /lib/firmware.
28 > > > >
29 > > > This file is present, I checked.
30 > > >
31 > > >
32 > > > How did you build this driver? I mean as module or it is
33 > > > build in ([M] or [*]). If it is build in it is possible
34 > > > that root file system is not mounted when driver loads.
35 > > > Try to build it as module.
36 > > >
37 > > >
38 > > > Regards,
39 > > > Ivan
40 > >
41 > > Built-in and I don't have initramfs. I will test with module
42 > > compilation
43 > > and may be with an initramfs. What do you think ?
44 > >
45 > > If you don't have initramfs till now you would not needed it just for
46 > > this.
47 > >
48 > > Build driver as module, ensure that you have correct entry in
49 > > /etc/conf.d/modules [1] [2] (this will auto load wifi driver).
50 > > And you should be fine. Just for the test you can load it by hand
51 > >
52 > > # modprobe "ipw2200-driver-name"
53 > >
54 > > Regards,
55 > > Ivan
56 > >
57 > > [1] https://wiki.gentoo.org/wiki/OpenRC/Baselayout_1_to_2_migration
58 > > [2]
59 > >
60 > > $ cat /etc/conf.d/modules
61 > > modules="ipw2200-driver-name"
62 > >
63 >
64 > Ok, where can I find the driver-name ?
65
66 I am pretty sure it's name will be ipw2200 :-)
67
68 $ cd /usr/src/linux
69
70 $ grep -r ipw2200 * | grep Kconfig
71 drivers/net/wireless/ipw2x00/Kconfig: See <file:Documentation/networking/README.ipw2200> for
72 drivers/net/wireless/ipw2x00/Kconfig: <http://ipw2200.sf.net/>. See the above referenced README.ipw2200
73 drivers/net/wireless/ipw2x00/Kconfig: Enables promiscuous/monitor mode support for the ipw2200 driver.
74 drivers/net/wireless/ipw2x00/Kconfig: % modprobe ipw2200 rtap_iface=1
75 drivers/net/wireless/ipw2x00/Kconfig: % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
76
77 Regards.
78
79 >
80 > Thanks.
81 >