Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-20 Thread Florian HEGRON

Hello list !

Yesterday, I win !

:)

I just test to build as [M]odule the firmware.

It's good for me because I don't want to have a permanently connexion.


I think that I will test the second method just for fun :


On 12/19/13 17:50, Bruce Hill wrote:
 I *believe* if you have the driver built into your kernel:
 CONFIG_IPW2200=y then you need to have the firmware listed with
 these 2 lines: CONFIG_EXTRA_FIRMWARE=ipw2200-bss.fw
 CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/ (Something similar to
 the CONFIG_EXTRA_FIRMWARE line. I don't use ipw2200 and that might
 not be the proper way. You said the file is there, you checked, so
 you should know the proper path and syntax.)


and I will learn that :
Have a look at the section Code Listing 2.10: Enabling external 
firmware

here:

http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1chap=7




Thank you all for your help.
I am happy that I spent the time to discover this distro and its 
community.







Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-20 Thread Bruce Hill
On Thu, Dec 19, 2013 at 07:17:55PM +, Mick wrote:
 On Thursday 19 Dec 2013 15:18:15 the wrote:
  On 12/19/13 17:50, Bruce Hill wrote:
   I *believe* if you have the driver built into your kernel:
   CONFIG_IPW2200=y then you need to have the firmware listed with
   these 2 lines: CONFIG_EXTRA_FIRMWARE=ipw2200-bss.fw
   CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/ (Something similar to
   the CONFIG_EXTRA_FIRMWARE line. I don't use ipw2200 and that might
   not be the proper way. You said the file is there, you checked, so
   you should know the proper path and syntax.)
  
  iirc I tried specifying extra firmware but it didn't load.
 
 
 Have a look at the section Code Listing 2.10: Enabling external firmware 
 here:
 
   http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1chap=7
 
 Don't forget to recompile and *boot* the newly configured kernel after you do 
 this.

Good post, Mick. It seems the amd64 Handbook is neutered concerning this.
Perhaps someone decided genkernel was a substitute for properly configuring a
custom kernel? If so, they should spend a day in #gentoo on IRC to help all
those poor blokes arriving with failure due to genkernel.

Cheers,
Bruce
-- 
List replies preferred.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Florian HEGRON



On 2013-12-18 10:06, Florian HEGRON wrote:

On 2013-12-18 09:59, Randolph Maaßen wrote:
On Dec 18, 2013 9:27 AM, Florian HEGRON hog...@iiiha.com wrote:



 On 2013-12-17 11:48, Neil Bothwick wrote:

 On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

 In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
 Intel Pro/Wireless 2100.

 The kernel has a separate option for IPW2200.


 I don't find the ipw2200 option (nano .config, ^W ipw2200).
Don't edit .config directly, that leads to breakage in dependencies.
ipw2200 in kernel 3.12.0 at device drivers  networking support 
wireless lan  intel pro/wireless 2200bf and 2915abg network
connection, direct beneeth ipw 2100. If you don't see it, search for
ipw2200 (using /) and have a look for missing dependencies.
 I find ipw2200-firmware with emerge.

 I don't really understand what do the kernel support, and what do
the firmware. So I am a little disappointed.
The kernel provides the funcionality for tou operating system to run
this hardware and the firmware is the software that runs on the chip.
Like in a car, you as operating system must know what each button does
and the car must know what it has to do when you press a button.

 Thanks for help.



hth
Randolph Maaßen

Ok thanks, I will see.

I know what is actually a firmware.
But I don't understand. I need to emerge a firmware which will be
stored directly on my hardware ? Firmwares that I know (many
intelligent devices) are in the devices. There is a specific procedure
to upgrade this (when it's possible).


Thanks,



I found the line !!

I had to enable wireless extension option on Network Support - Wireless

So I enable my card support, and I reboot (I already emerge 
ipw2200-firmware).


#dmesg | grep 2200
[1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 
1.2.2k

[1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network 
Connection
[   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason 
-2

[   61.409941] ipw2200: Unable to load firmware: -2
[   61.411877] ipw2200: probe of :06:04.0 failed with error -5


It's not explicit for me. -2, -5, Where are errors descriptions ?


Anybody can explain to me the firmware goal ?

For me a firmware is a internal software of a device. So I don't really 
understand.



Thank you !!



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Ivan T. Ivanov

Hi Florian,

On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:

 
 
 I found the line !!
 
 I had to enable wireless extension option on Network Support - Wireless
 
 So I enable my card support, and I reboot (I already emerge 
 ipw2200-firmware).
 
 #dmesg | grep 2200
 [1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 
 1.2.2k
 [1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
 [1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network 
 Connection
 [   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason 
 -2

This means that driver can not find ipw2200-bss.fw file (probably 
part  of sys-firmware/ipw2200-firmware) to load it to wireless card
RAM chip. Ensure that you have that file, usually it is localed
in /lib/firmware. 


 [   61.409941] ipw2200: Unable to load firmware: -2
 [   61.411877] ipw2200: probe of :06:04.0 failed with error -5
 
 
 It's not explicit for me. -2, -5, Where are errors descriptions ?
 
 
 Anybody can explain to me the firmware goal ?
 
 For me a firmware is a internal software of a device. So I don't really 
 understand.

You can look at wireless card as CPU with just RAM (there are
some other chips of course), so firmware is code which have to be
executed by this specialized CPU in order to control RF stuff. And 
because code is not saved to non-volatile storage it have to be loaded
to RAM every time after card is powered up. Driver itself just 
ensure proper communication between networking stack and CPU on 
wireless card.

Regards,
Ivan

 
 
 Thank you !!
 





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Neil Bothwick
On Thu, 19 Dec 2013 09:08:21 +0100, Florian HEGRON wrote:

 Anybody can explain to me the firmware goal ?
 
 For me a firmware is a internal software of a device. So I don't really 
 understand.

Manufacturers often move some of the internal software from the device to
the driver, especially when they sell the same device in markets with
different regulations. The firmware is built into the Windows drivers so
they can produce one device for all markets and only change the supplied
drivers.

It also makes bug fixing easier, so they can spend less time and money on
testing, letting the users find the bugs and fix firmware issues with
driver updates.


-- 
Neil Bothwick

Microsoft is to Software as McDonalds is to Cuisine


signature.asc
Description: PGP signature


Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Florian HEGRON



On 2013-12-19 09:47, Ivan T. Ivanov wrote:

Hi Florian,


Hi

On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:



I found the line !!

I had to enable wireless extension option on Network Support - 
Wireless


So I enable my card support, and I reboot (I already emerge
ipw2200-firmware).

#dmesg | grep 2200
[1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
1.2.2k
[1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
Connection
[   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
-2

This means that driver can not find ipw2200-bss.fw file (probably
part  of sys-firmware/ipw2200-firmware) to load it to wireless card
RAM chip. Ensure that you have that file, usually it is localed
in /lib/firmware.


This file is present, I checked.




[   61.409941] ipw2200: Unable to load firmware: -2
[   61.411877] ipw2200: probe of :06:04.0 failed with error -5


It's not explicit for me. -2, -5, Where are errors descriptions ?


Anybody can explain to me the firmware goal ?

For me a firmware is a internal software of a device. So I don't really
understand.

You can look at wireless card as CPU with just RAM (there are
some other chips of course), so firmware is code which have to be
executed by this specialized CPU in order to control RF stuff. And
because code is not saved to non-volatile storage it have to be loaded
to RAM every time after card is powered up. Driver itself just
ensure proper communication between networking stack and CPU on
wireless card.

Regards,
Ivan



Very good explain ! Thank you !




I don't understand the error because I have the firmware.

Thank you for help.



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Ivan T. Ivanov


Hi, 

On Thu, 2013-12-19 at 09:54 +0100, Florian HEGRON wrote: 
 
 On 2013-12-19 09:47, Ivan T. Ivanov wrote:
  Hi Florian,
  
 Hi
  On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:
  
  
  
  I found the line !!
  
  I had to enable wireless extension option on Network Support - 
  Wireless
  
  So I enable my card support, and I reboot (I already emerge
  ipw2200-firmware).
  
  #dmesg | grep 2200
  [1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
  1.2.2k
  [1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
  [1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
  Connection
  [   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
  -2
  
  This means that driver can not find ipw2200-bss.fw file (probably
  part  of sys-firmware/ipw2200-firmware) to load it to wireless card
  RAM chip. Ensure that you have that file, usually it is localed
  in /lib/firmware.
  
 This file is present, I checked.
 

How did you build this driver? I mean as module or it is
build in ([M] or [*]). If it is build in it is possible
that root file system is not mounted when driver loads.
Try to build it as module.


Regards,
Ivan





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Florian HEGRON



On 2013-12-19 12:05, Ivan T. Ivanov wrote:

Hi,

On Thu, 2013-12-19 at 09:54 +0100, Florian HEGRON wrote:

On 2013-12-19 09:47, Ivan T. Ivanov wrote:
 Hi Florian,

Hi
 On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:



 I found the line !!

 I had to enable wireless extension option on Network Support -
 Wireless

 So I enable my card support, and I reboot (I already emerge
 ipw2200-firmware).

 #dmesg | grep 2200
 [1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
 1.2.2k
 [1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
 [1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
 Connection
 [   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
 -2

 This means that driver can not find ipw2200-bss.fw file (probably
 part  of sys-firmware/ipw2200-firmware) to load it to wireless card
 RAM chip. Ensure that you have that file, usually it is localed
 in /lib/firmware.

This file is present, I checked.


How did you build this driver? I mean as module or it is
build in ([M] or [*]). If it is build in it is possible
that root file system is not mounted when driver loads.
Try to build it as module.


Regards,
Ivan


Built-in and I don't have initramfs. I will test with module compilation 
and may be with an initramfs. What do you think ?


Thanks.



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Bruce Hill
On Thu, Dec 19, 2013 at 02:19:17PM +0100, Florian HEGRON wrote:
  
   This means that driver can not find ipw2200-bss.fw file (probably
   part  of sys-firmware/ipw2200-firmware) to load it to wireless card
   RAM chip. Ensure that you have that file, usually it is localed
   in /lib/firmware.
  
  This file is present, I checked.
  
  
  How did you build this driver? I mean as module or it is
  build in ([M] or [*]). If it is build in it is possible
  that root file system is not mounted when driver loads.
  Try to build it as module.
  
  
  Regards,
  Ivan
 
 Built-in and I don't have initramfs. I will test with module compilation 
 and may be with an initramfs. What do you think ?

I *believe* if you have the driver built into your kernel:
CONFIG_IPW2200=y
then you need to have the firmware listed with these 2 lines:
CONFIG_EXTRA_FIRMWARE=ipw2200-bss.fw
CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/
(Something similar to the CONFIG_EXTRA_FIRMWARE line. I don't use ipw2200 and
that might not be the proper way. You said the file is there, you checked, so
you should know the proper path and syntax.)

But if you have the driver built as a module in your kernel:
CONFIG_IPW2200=m
then you odn't have to have those 2 lines above, and the firmware will get
loaded properly. On my systems I have drivers requiring firmware as modules
(m) in my kernel, and not firmware directory listed in the kernel config.

Sounds like the easiest thing for you is to try CONFIG_IPW2200=m in your
kernel. When you boot with it as a module, issue:
dmesg | grep firmware
and you should have a line similar to:
[6.007039] usb 1-2: r8712u: Loading firmware from rtlwifi/rtl8712u.bin
which would match your ipw2200-bss.fw

You don't need an initramfs just to load a module for a wireless chipset. The
initramfs is only needed to load modules required to boot your system.

Cheers,
Bruce
-- 
List replies preferred.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Ivan T. Ivanov
On Thu, 2013-12-19 at 14:19 +0100, Florian HEGRON wrote: 
 

snip

  
   I had to enable wireless extension option on Network Support -
   Wireless
  
   So I enable my card support, and I reboot (I already emerge
   ipw2200-firmware).
  
   #dmesg | grep 2200
   [1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
   1.2.2k
   [1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
   [1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
   Connection
   [   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
   -2
  
   This means that driver can not find ipw2200-bss.fw file (probably
   part  of sys-firmware/ipw2200-firmware) to load it to wireless card
   RAM chip. Ensure that you have that file, usually it is localed
   in /lib/firmware.
  
  This file is present, I checked.
  
  
  How did you build this driver? I mean as module or it is
  build in ([M] or [*]). If it is build in it is possible
  that root file system is not mounted when driver loads.
  Try to build it as module.
  
  
  Regards,
  Ivan
 
 Built-in and I don't have initramfs. I will test with module compilation 
 and may be with an initramfs. What do you think ?

If you don't have initramfs till now you would not needed it just for this.

Build driver as module, ensure that you have correct entry in 
/etc/conf.d/modules [1] [2] (this will auto load wifi driver). 
And you should be fine. Just for the test you can load it by hand

# modprobe ipw2200-driver-name

Regards,
Ivan

[1] https://wiki.gentoo.org/wiki/OpenRC/Baselayout_1_to_2_migration
[2]  

$ cat /etc/conf.d/modules
modules=ipw2200-driver-name

 
 Thanks.
 





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Florian HEGRON

On 2013-12-19 14:51, Ivan T. Ivanov wrote:

On Thu, 2013-12-19 at 14:19 +0100, Florian HEGRON wrote:


snip

 
  I had to enable wireless extension option on Network Support -
  Wireless
 
  So I enable my card support, and I reboot (I already emerge
  ipw2200-firmware).
 
  #dmesg | grep 2200
  [1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
  1.2.2k
  [1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
  [1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
  Connection
  [   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
  -2
 
  This means that driver can not find ipw2200-bss.fw file (probably
  part  of sys-firmware/ipw2200-firmware) to load it to wireless card
  RAM chip. Ensure that you have that file, usually it is localed
  in /lib/firmware.
 
 This file is present, I checked.


 How did you build this driver? I mean as module or it is
 build in ([M] or [*]). If it is build in it is possible
 that root file system is not mounted when driver loads.
 Try to build it as module.


 Regards,
 Ivan

Built-in and I don't have initramfs. I will test with module 
compilation

and may be with an initramfs. What do you think ?

If you don't have initramfs till now you would not needed it just for 
this.


Build driver as module, ensure that you have correct entry in
/etc/conf.d/modules [1] [2] (this will auto load wifi driver).
And you should be fine. Just for the test you can load it by hand

# modprobe ipw2200-driver-name

Regards,
Ivan

[1] https://wiki.gentoo.org/wiki/OpenRC/Baselayout_1_to_2_migration
[2]

$ cat /etc/conf.d/modules
modules=ipw2200-driver-name



Ok, where can I find the driver-name ?

Thanks.



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Ivan T. Ivanov
On Thu, 2013-12-19 at 15:09 +0100, Florian HEGRON wrote: 
 On 2013-12-19 14:51, Ivan T. Ivanov wrote:
  On Thu, 2013-12-19 at 14:19 +0100, Florian HEGRON wrote:
  
  
  snip
  
   
I had to enable wireless extension option on Network Support -
Wireless
   
So I enable my card support, and I reboot (I already emerge
ipw2200-firmware).
   
#dmesg | grep 2200
[1.180583] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,
1.2.2k
[1.180643] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
Connection
[   61.408070] ipw2200: ipw2200-bss.fw request_firmware failed: Reason
-2
   
This means that driver can not find ipw2200-bss.fw file (probably
part  of sys-firmware/ipw2200-firmware) to load it to wireless card
RAM chip. Ensure that you have that file, usually it is localed
in /lib/firmware.
   
   This file is present, I checked.
  
  
   How did you build this driver? I mean as module or it is
   build in ([M] or [*]). If it is build in it is possible
   that root file system is not mounted when driver loads.
   Try to build it as module.
  
  
   Regards,
   Ivan
  
  Built-in and I don't have initramfs. I will test with module 
  compilation
  and may be with an initramfs. What do you think ?
  
  If you don't have initramfs till now you would not needed it just for 
  this.
  
  Build driver as module, ensure that you have correct entry in
  /etc/conf.d/modules [1] [2] (this will auto load wifi driver).
  And you should be fine. Just for the test you can load it by hand
  
  # modprobe ipw2200-driver-name
  
  Regards,
  Ivan
  
  [1] https://wiki.gentoo.org/wiki/OpenRC/Baselayout_1_to_2_migration
  [2]
  
  $ cat /etc/conf.d/modules
  modules=ipw2200-driver-name
  
 
 Ok, where can I find the driver-name ?

I am pretty sure it's name will be ipw2200 :-)

$ cd /usr/src/linux

$ grep -r   ipw2200 * | grep Kconfig
drivers/net/wireless/ipw2x00/Kconfig:  See 
file:Documentation/networking/README.ipw2200 for 
drivers/net/wireless/ipw2x00/Kconfig: http://ipw2200.sf.net/.  See the 
above referenced README.ipw2200 
drivers/net/wireless/ipw2x00/Kconfig: Enables promiscuous/monitor mode 
support for the ipw2200 driver.
drivers/net/wireless/ipw2x00/Kconfig:% modprobe ipw2200 rtap_iface=1
drivers/net/wireless/ipw2x00/Kconfig:% echo 1  
/sys/bus/pci/drivers/ipw2200/*/rtap_iface

Regards.

 
 Thanks.
 





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/19/13 17:19, Florian HEGRON wrote:
 
 
 On 2013-12-19 12:05, Ivan T. Ivanov wrote:
 Hi,
 
 On Thu, 2013-12-19 at 09:54 +0100, Florian HEGRON wrote:
 
 On 2013-12-19 09:47, Ivan T. Ivanov wrote:
 Hi Florian,
 
 Hi
 On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:
 
 
 
 I found the line !!
 
 I had to enable wireless extension option on Network Support
 - Wireless
 
 So I enable my card support, and I reboot (I already emerge 
 ipw2200-firmware).
 
 #dmesg | grep 2200 [1.180583] ipw2200: Intel(R)
 PRO/Wireless 2200/2915 Network Driver, 1.2.2k [1.180643]
 ipw2200: Copyright(c) 2003-2006 Intel Corporation [
 1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network 
 Connection [   61.408070] ipw2200: ipw2200-bss.fw
 request_firmware failed: Reason -2
 
 This means that driver can not find ipw2200-bss.fw file
 (probably part  of sys-firmware/ipw2200-firmware) to load it to
 wireless card RAM chip. Ensure that you have that file, usually
 it is localed in /lib/firmware.
 
 This file is present, I checked.
 
 
 How did you build this driver? I mean as module or it is build in
 ([M] or [*]). If it is build in it is possible that root file
 system is not mounted when driver loads. Try to build it as
 module.
 
 
 Regards, Ivan
 
 Built-in and I don't have initramfs. I will test with module
 compilation and may be with an initramfs. What do you think ?

When I was installing gentoo on my netbook I had to compile
the wifi driver as a module because it couldn't load
firmware if it was built in. Didn't find any other solution.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSswJNAAoJEK64IL1uI2haU3MH/R0oz6EPdbOayVIzISH83Oi8
MF7GY0HPAEt17csCVe7Ft+uCu95JoF9tAxyrqZLpX9ifIDSi/aQ9siPPr7ixsYdk
v/63Tves60vHldnaHINbVsGMWlkgcPmEhJQL8VPQEdC6E4Zbe5VtVJg4kgzFZKiF
pEvivuk4tVwoInCra++rU6wsPwBqYnTo5eFXbZHTKF+bVHRyXBLZR/MBCEzh4ZE7
cou7ZmZOFV2q3heMrsmbLzvyNJFX71lCWNLJ+BQ7+4HevgeitLP1llzp/YtweoXo
uw/y3cXp8vH8vknezdXIzEa/S4LoL33mg0aOnYrJjHeQSLQ8gULoHN+RAvcvrvs=
=HpqD
-END PGP SIGNATURE-



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Ivan T. Ivanov
On Thu, 2013-12-19 at 18:27 +0400, the wrote: 
 On 12/19/13 17:19, Florian HEGRON wrote:
  
  
  On 2013-12-19 12:05, Ivan T. Ivanov wrote:
  Hi,
  
  On Thu, 2013-12-19 at 09:54 +0100, Florian HEGRON wrote:
  
  On 2013-12-19 09:47, Ivan T. Ivanov wrote:
  Hi Florian,
  
  Hi
  On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:
  
  
  
  I found the line !!
  
  I had to enable wireless extension option on Network Support
  - Wireless
  
  So I enable my card support, and I reboot (I already emerge 
  ipw2200-firmware).
  
  #dmesg | grep 2200 [1.180583] ipw2200: Intel(R)
  PRO/Wireless 2200/2915 Network Driver, 1.2.2k [1.180643]
  ipw2200: Copyright(c) 2003-2006 Intel Corporation [
  1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network 
  Connection [   61.408070] ipw2200: ipw2200-bss.fw
  request_firmware failed: Reason -2
  
  This means that driver can not find ipw2200-bss.fw file
  (probably part  of sys-firmware/ipw2200-firmware) to load it to
  wireless card RAM chip. Ensure that you have that file, usually
  it is localed in /lib/firmware.
  
  This file is present, I checked.
  
  
  How did you build this driver? I mean as module or it is build in
  ([M] or [*]). If it is build in it is possible that root file
  system is not mounted when driver loads. Try to build it as
  module.
  
  
  Regards, Ivan
  
  Built-in and I don't have initramfs. I will test with module
  compilation and may be with an initramfs. What do you think ?
 
 When I was installing gentoo on my netbook I had to compile
 the wifi driver as a module because it couldn't load
 firmware if it was built in. Didn't find any other solution.

There is another solution already explained by @Bruce Hill
earlier in this thread.

Regards.

 





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Florian HEGRON



On 2013-12-19 15:39, Ivan T. Ivanov wrote:

On Thu, 2013-12-19 at 18:27 +0400, the wrote:
On 12/19/13 17:19, Florian HEGRON wrote:


 On 2013-12-19 12:05, Ivan T. Ivanov wrote:
 Hi,

 On Thu, 2013-12-19 at 09:54 +0100, Florian HEGRON wrote:

 On 2013-12-19 09:47, Ivan T. Ivanov wrote:
 Hi Florian,

 Hi
 On Thu, 2013-12-19 at 09:08 +0100, Florian HEGRON wrote:



 I found the line !!

 I had to enable wireless extension option on Network Support
 - Wireless

 So I enable my card support, and I reboot (I already emerge
 ipw2200-firmware).

 #dmesg | grep 2200 [1.180583] ipw2200: Intel(R)
 PRO/Wireless 2200/2915 Network Driver, 1.2.2k [1.180643]
 ipw2200: Copyright(c) 2003-2006 Intel Corporation [
 1.182617] ipw2200: Detected Intel PRO/Wireless 2200BG Network
 Connection [   61.408070] ipw2200: ipw2200-bss.fw
 request_firmware failed: Reason -2

 This means that driver can not find ipw2200-bss.fw file
 (probably part  of sys-firmware/ipw2200-firmware) to load it to
 wireless card RAM chip. Ensure that you have that file, usually
 it is localed in /lib/firmware.

 This file is present, I checked.


 How did you build this driver? I mean as module or it is build in
 ([M] or [*]). If it is build in it is possible that root file
 system is not mounted when driver loads. Try to build it as
 module.


 Regards, Ivan

 Built-in and I don't have initramfs. I will test with module
 compilation and may be with an initramfs. What do you think ?

When I was installing gentoo on my netbook I had to compile
the wifi driver as a module because it couldn't load
firmware if it was built in. Didn't find any other solution.

There is another solution already explained by @Bruce Hill
earlier in this thread.

Regards.


I will test the two solutions.
I will write the results.

Regards,



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/19/13 17:50, Bruce Hill wrote:
 I *believe* if you have the driver built into your kernel: 
 CONFIG_IPW2200=y then you need to have the firmware listed with
 these 2 lines: CONFIG_EXTRA_FIRMWARE=ipw2200-bss.fw 
 CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/ (Something similar to
 the CONFIG_EXTRA_FIRMWARE line. I don't use ipw2200 and that might
 not be the proper way. You said the file is there, you checked, so 
 you should know the proper path and syntax.)
iirc I tried specifying extra firmware but it didn't load.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSsw41AAoJEK64IL1uI2hafhUH/02BVz5M9HKqwtmg3isS5B/Q
662KBG3pjg2hn8b9trM+Mro0j410sQcIWXI+CEK8dpAue9p8kCAf4y1OixXt4Sv2
0CSxuvzXfwqnoAdm/3MuBsV4etBkNbwK9IghRcwH0R2jaN+I72uz8AzbuQU8C80k
V1jaZxQGZ50i+zCEnkJiPxiMMjTIf9Eg1R5HQ+k8I6IwhZjJu1rkEJ82cdEb3OsU
e+2Ask6Xzj2Fdv5xjdNc7UtDPnMIMhOBsX6XDtJm6sbgjKA/lH/RUzHARRlEkBi3
7uUAsLnod/ZoEwWZe8rrB3dsg4YpRi1GWFkpDPck905r3c4M8hXXFYLuRKgLWps=
=M/Ut
-END PGP SIGNATURE-



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-19 Thread Mick
On Thursday 19 Dec 2013 15:18:15 the wrote:
 On 12/19/13 17:50, Bruce Hill wrote:
  I *believe* if you have the driver built into your kernel:
  CONFIG_IPW2200=y then you need to have the firmware listed with
  these 2 lines: CONFIG_EXTRA_FIRMWARE=ipw2200-bss.fw
  CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware/ (Something similar to
  the CONFIG_EXTRA_FIRMWARE line. I don't use ipw2200 and that might
  not be the proper way. You said the file is there, you checked, so
  you should know the proper path and syntax.)
 
 iirc I tried specifying extra firmware but it didn't load.


Have a look at the section Code Listing 2.10: Enabling external firmware 
here:

  http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1chap=7

Don't forget to recompile and *boot* the newly configured kernel after you do 
this.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-18 Thread Florian HEGRON



On 2013-12-17 11:48, Neil Bothwick wrote:

On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
Intel Pro/Wireless 2100.

The kernel has a separate option for IPW2200.


I don't find the ipw2200 option (nano .config, ^W ipw2200).
I find ipw2200-firmware with emerge.

I don't really understand what do the kernel support, and what do the 
firmware. So I am a little disappointed.


Thanks for help.





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-18 Thread Randolph Maaßen
On Dec 18, 2013 9:27 AM, Florian HEGRON hog...@iiiha.com wrote:



 On 2013-12-17 11:48, Neil Bothwick wrote:

 On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

 In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
 Intel Pro/Wireless 2100.

 The kernel has a separate option for IPW2200.


 I don't find the ipw2200 option (nano .config, ^W ipw2200).
Don't edit .config directly, that leads to breakage in dependencies.
ipw2200 in kernel 3.12.0 at device drivers  networking support  wireless
lan  intel pro/wireless 2200bf and 2915abg network connection, direct
beneeth ipw 2100. If you don't see it, search for ipw2200 (using /) and
have a look for missing dependencies.
 I find ipw2200-firmware with emerge.

 I don't really understand what do the kernel support, and what do the
firmware. So I am a little disappointed.
The kernel provides the funcionality for tou operating system to run this
hardware and the firmware is the software that runs on the chip. Like in a
car, you as operating system must know what each button does and the car
must know what it has to do when you press a button.

 Thanks for help.



hth
Randolph Maaßen


Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-18 Thread Florian HEGRON



On 2013-12-18 09:59, Randolph Maaßen wrote:

On Dec 18, 2013 9:27 AM, Florian HEGRON hog...@iiiha.com wrote:



 On 2013-12-17 11:48, Neil Bothwick wrote:

 On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

 In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
 Intel Pro/Wireless 2100.

 The kernel has a separate option for IPW2200.


 I don't find the ipw2200 option (nano .config, ^W ipw2200).
Don't edit .config directly, that leads to breakage in dependencies.
ipw2200 in kernel 3.12.0 at device drivers  networking support 
wireless lan  intel pro/wireless 2200bf and 2915abg network
connection, direct beneeth ipw 2100. If you don't see it, search for
ipw2200 (using /) and have a look for missing dependencies.
 I find ipw2200-firmware with emerge.

 I don't really understand what do the kernel support, and what do
the firmware. So I am a little disappointed.
The kernel provides the funcionality for tou operating system to run
this hardware and the firmware is the software that runs on the chip.
Like in a car, you as operating system must know what each button does
and the car must know what it has to do when you press a button.

 Thanks for help.



hth
Randolph Maaßen


Ok thanks, I will see.

I know what is actually a firmware.
But I don't understand. I need to emerge a firmware which will be stored 
directly on my hardware ? Firmwares that I know (many intelligent 
devices) are in the devices. There is a specific procedure to upgrade 
this (when it's possible).



Thanks,



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-17 Thread Florian HEGRON



On 2013-12-16 21:27, Mick wrote:

On Monday 16 Dec 2013 15:56:35 Rick Zero_Chaos Farina wrote:
On 12/16/2013 10:43 AM, Florian HEGRON wrote:
 My problem :
 Recently, I decided to install Gentoo on an old acer laptop.
 And as everydays, when I try to install my wifi device on a Gnu/linux
 distro, I have a problem.
 The wireless card is Intel Pro 2200BG.


 I tried to follow the simple wiki page

 : https://wiki.gentoo.org/wiki/Wifi

 It appears easy because my card is in the list.
 I config my kernel as indicated. I tried too to active the support of
 all proposed wifi device.
 I rebooted on the new compiled kernel.
 I emerge sys-firmware/iwl2000-ucode without problem.
 After a reboot, I tried to use ifconfig -a but I only see my lo,
 enp6s8 (ethernet), and sit0 (ipv6 I think).
 I tried to unmerge sys-firmware/iwl2000-ucode and emerge
 sys-kernel/linux-firmware but nothing more.

 Hi,

 did you try:  # rfkill list ?  === no ²

 What is the goal of this command ?
 In which package it is because I haven't this.

 If I have a result with this command, what do I have to do ?

 I will try to try today.

 Thank you.

I would suggest modprobe ipw2200 then dmesg | grep ipw2200 and see
what is going on.  might not see your hardware at all, might have a
firmware issue, might be broken.  dmesg will show more.

if you need help please reboot, modprobe ipw2200, and then provide
dmesg output to the list.

-Zero

Only to add that getting WiFi to work is not too complicated, but you 
will

need to follow some basic steps to get it going:

1. Check that the wireless card's driver is installed in the kernel.  
You can
install this as a module if you do not use wireless all the time, 
otherwise
build it in the kernel.  If it is installed as a module, then modprobe 
it and

check in dmesg to see that it is loaded.

2. Check that the relevant firmware is also installed and loaded.

3. Check that the card is switched on on the laptop (there may be some 
button
to switch on the hardware).  The rfkill package can be used to check 
this:


$ eix -l rfkill
[I] net-wireless/rfkill
Available versions:
0.4
0.5
Installed versions:  0.5(14:34:30 06/29/13)
Homepage:
http://wireless.kernel.org/en/users/Documentation/rfkill
Description:  Tool to read and control rfkill status through 
/dev/rfkill



Now the card should be listed in ifconfig.  Set up your network 
management
solution to configure your desired wireless access point and 
encryption:


https://wiki.gentoo.org/wiki/Network_management

Hope this helps.



Thank you for help.

Sorry I can't copy/past because I haven't configured MUA on my laptop.

In fact I have the Inter Pro/Wirelles 2200BG and the kernel support 
Intel Pro/Wireless 2100.


When I add the support as module, it's not loaded. Where I buit-in it, 
the dmesg just say me that he can't load the firmware.



May be my card is not supported ?





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-17 Thread Peter Humphrey
On Tuesday 17 Dec 2013 10:44:46 Florian HEGRON wrote:

 When I add the support as module, it's not loaded. Where I buit-in it,
 the dmesg just say me that he can't load the firmware.

Sounds like you need to emerge sys-firmware/ipw2100-firmware.

-- 
Regards
Peter




Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-17 Thread Neil Bothwick
On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

 In fact I have the Inter Pro/Wirelles 2200BG and the kernel support 
 Intel Pro/Wireless 2100.

The kernel has a separate option for IPW2200.


-- 
Neil Bothwick

Top Oxymorons Number 1: Microsoft Works


signature.asc
Description: PGP signature


Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-17 Thread Florian HEGRON

oh I didn't find it.

I will watch in text mode (nano .config).

I hope that I could test this evening.

Thank you !



On 2013-12-17 11:48, Neil Bothwick wrote:

On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:

In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
Intel Pro/Wireless 2100.

The kernel has a separate option for IPW2200.




[gentoo-user] Wifi, problem, problem, problem

2013-12-16 Thread Florian HEGRON

Hello,

First :
I use Gentoo since few weeks.
It's very technical distro. I learn about linux, and many tools. I 
really learn to do what I want.

It's a good distro !


My problem :
Recently, I decided to install Gentoo on an old acer laptop.
And as everydays, when I try to install my wifi device on a Gnu/linux 
distro, I have a problem.

The wireless card is Intel Pro 2200BG.


I tried to follow the simple wiki page 
: https://wiki.gentoo.org/wiki/Wifi

It appears easy because my card is in the list.
I config my kernel as indicated. I tried too to active the support of 
all proposed wifi device.

I rebooted on the new compiled kernel.
I emerge sys-firmware/iwl2000-ucode without problem.
After a reboot, I tried to use ifconfig -a but I only see my lo, enp6s8 
(ethernet), and sit0 (ipv6 I think).
I tried to unmerge sys-firmware/iwl2000-ucode and emerge 
sys-kernel/linux-firmware but nothing more.




Anybody has an idea ?

Thank you !



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-16 Thread Mehdi Chemloul
Le 16/12/2013 15:36, Florian HEGRON a écrit :
 Hello,

 First :
 I use Gentoo since few weeks.
 It's very technical distro. I learn about linux, and many tools. I
 really learn to do what I want.
 It's a good distro !


 My problem :
 Recently, I decided to install Gentoo on an old acer laptop.
 And as everydays, when I try to install my wifi device on a Gnu/linux
 distro, I have a problem.
 The wireless card is Intel Pro 2200BG.


 I tried to follow the simple wiki page
 : https://wiki.gentoo.org/wiki/Wifi
 It appears easy because my card is in the list.
 I config my kernel as indicated. I tried too to active the support of
 all proposed wifi device.
 I rebooted on the new compiled kernel.
 I emerge sys-firmware/iwl2000-ucode without problem.
 After a reboot, I tried to use ifconfig -a but I only see my lo,
 enp6s8 (ethernet), and sit0 (ipv6 I think).
 I tried to unmerge sys-firmware/iwl2000-ucode and emerge
 sys-kernel/linux-firmware but nothing more.



 Anybody has an idea ?

 Thank you !

Hi,

did you try:  # rfkill list ?  === no ²

for exemple:

 rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

MFG



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-16 Thread Florian HEGRON


My problem :
Recently, I decided to install Gentoo on an old acer laptop.
And as everydays, when I try to install my wifi device on a Gnu/linux
distro, I have a problem.
The wireless card is Intel Pro 2200BG.


I tried to follow the simple wiki page
: https://wiki.gentoo.org/wiki/Wifi
It appears easy because my card is in the list.
I config my kernel as indicated. I tried too to active the support of
all proposed wifi device.
I rebooted on the new compiled kernel.
I emerge sys-firmware/iwl2000-ucode without problem.
After a reboot, I tried to use ifconfig -a but I only see my lo,
enp6s8 (ethernet), and sit0 (ipv6 I think).
I tried to unmerge sys-firmware/iwl2000-ucode and emerge
sys-kernel/linux-firmware but nothing more.



Hi,

did you try:  # rfkill list ?  === no ²


What is the goal of this command ?
In which package it is because I haven't this.

If I have a result with this command, what do I have to do ?

I will try to try today.

Thank you.





Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-16 Thread Rick Zero_Chaos Farina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/16/2013 10:43 AM, Florian HEGRON wrote:

 My problem :
 Recently, I decided to install Gentoo on an old acer laptop.
 And as everydays, when I try to install my wifi device on a Gnu/linux
 distro, I have a problem.
 The wireless card is Intel Pro 2200BG.


 I tried to follow the simple wiki page
 : https://wiki.gentoo.org/wiki/Wifi
 It appears easy because my card is in the list.
 I config my kernel as indicated. I tried too to active the support of
 all proposed wifi device.
 I rebooted on the new compiled kernel.
 I emerge sys-firmware/iwl2000-ucode without problem.
 After a reboot, I tried to use ifconfig -a but I only see my lo,
 enp6s8 (ethernet), and sit0 (ipv6 I think).
 I tried to unmerge sys-firmware/iwl2000-ucode and emerge
 sys-kernel/linux-firmware but nothing more.
 
 Hi,

 did you try:  # rfkill list ?  === no ²
 
 What is the goal of this command ?
 In which package it is because I haven't this.
 
 If I have a result with this command, what do I have to do ?
 
 I will try to try today.
 
 Thank you.
 
 
 
 
I would suggest modprobe ipw2200 then dmesg | grep ipw2200 and see
what is going on.  might not see your hardware at all, might have a
firmware issue, might be broken.  dmesg will show more.

if you need help please reboot, modprobe ipw2200, and then provide
dmesg output to the list.

- -Zero
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSryKzAAoJEKXdFCfdEflKuMAP/13YIiRgHjW51KJytc1wI2N0
VnIayMeNY2OWwNljSbgASPpmYELu8DREC9NfCMG5FKoGXS9MzVdBI9CbBKq2rcWY
wXTC2sMFXqlaiuYdTK8LFRhVMt0Ce5LHOD4sq3e3H9gs2+sU25bV1BRiQd0PoP62
PSnHT93K3AjX1/xXIK3+a+IeBo0xkEIxiNTSoQl50vhcwWx2DJVI8Na0gvKzsw6s
SCq85Ki5xrBoflXXWfWy4sTijcggV/15Uv+LRAr9JKDH9nRxesGQx7Td9WWhzhQA
clUmg1h/9F21YYIEOu6GTtYVtSw8GYBhsD5PO5rrM9GtOwySwvZPUXvG19qYItbm
j+c191N+JYwx61kECe8A+mP2q2ujku5+4K7JfEpcvirIQO/dz0lO1kUZBglP60D0
aW0Y26V3s/qS2PBcd/Qh6MLVdU7cfKBLhmkZIIlZ7e7x8v49ivfNfcF4zfzt7t5P
mbEUBGN4hT1ViVmmUSYQ5HXz+k4UU2ocbHKUo3FnDP3IKUyksqp5kon6BmI2igPj
ZswOebL9bw3OVCsMrnGz/XWSmMiKLNPwe7FSphXUWsyc+4fEWPglnpG8YIoculjq
Hdz87h7tINWXtW+nAPxLXakPwE6hHo5Z2POGQSJfkuDQyt+9fLv0oFfEj+7efwWE
35k23vfsNrkYhz2HBYhT
=TDM+
-END PGP SIGNATURE-



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-16 Thread Mick
On Monday 16 Dec 2013 15:56:35 Rick Zero_Chaos Farina wrote:
 On 12/16/2013 10:43 AM, Florian HEGRON wrote:
  My problem :
  Recently, I decided to install Gentoo on an old acer laptop.
  And as everydays, when I try to install my wifi device on a Gnu/linux
  distro, I have a problem.
  The wireless card is Intel Pro 2200BG.
  
  
  I tried to follow the simple wiki page
  
  : https://wiki.gentoo.org/wiki/Wifi
  
  It appears easy because my card is in the list.
  I config my kernel as indicated. I tried too to active the support of
  all proposed wifi device.
  I rebooted on the new compiled kernel.
  I emerge sys-firmware/iwl2000-ucode without problem.
  After a reboot, I tried to use ifconfig -a but I only see my lo,
  enp6s8 (ethernet), and sit0 (ipv6 I think).
  I tried to unmerge sys-firmware/iwl2000-ucode and emerge
  sys-kernel/linux-firmware but nothing more.
  
  Hi,
  
  did you try:  # rfkill list ?  === no ²
  
  What is the goal of this command ?
  In which package it is because I haven't this.
  
  If I have a result with this command, what do I have to do ?
  
  I will try to try today.
  
  Thank you.
 
 I would suggest modprobe ipw2200 then dmesg | grep ipw2200 and see
 what is going on.  might not see your hardware at all, might have a
 firmware issue, might be broken.  dmesg will show more.
 
 if you need help please reboot, modprobe ipw2200, and then provide
 dmesg output to the list.
 
 -Zero

Only to add that getting WiFi to work is not too complicated, but you will 
need to follow some basic steps to get it going:

1. Check that the wireless card's driver is installed in the kernel.  You can 
install this as a module if you do not use wireless all the time, otherwise 
build it in the kernel.  If it is installed as a module, then modprobe it and 
check in dmesg to see that it is loaded.

2. Check that the relevant firmware is also installed and loaded.

3. Check that the card is switched on on the laptop (there may be some button 
to switch on the hardware).  The rfkill package can be used to check this:

$ eix -l rfkill
[I] net-wireless/rfkill
 Available versions:  
0.4
0.5
 Installed versions:  0.5(14:34:30 06/29/13)
 Homepage:
http://wireless.kernel.org/en/users/Documentation/rfkill
 Description:  Tool to read and control rfkill status through /dev/rfkill


Now the card should be listed in ifconfig.  Set up your network management 
solution to configure your desired wireless access point and encryption:

  https://wiki.gentoo.org/wiki/Network_management

Hope this helps.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.