Find the answer to your Linux question:
Results 1 to 8 of 8
Hi there, I am currently trying to connect to internet through my wireless card, after half day's effort I reached to this point: /******The following error appears in the dmesg ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10

    Unable to connect wireless

    Hi there,

    I am currently trying to connect to internet through my wireless card, after half day's effort I reached to this point:

    /******The following error appears in the dmesg kernel ring buffer output:
    ipw2200: ipw2200-bss.fw load failed: Reason -2
    ipw2200: Unable to load firmware: -2
    ipw2200: failed to register network device
    ipw2200: probe of 0000:02:03.0 failed with error -5*********/

    I found a solution from Intel website saying that the problem might be: "firmware in wrong location or wrong firmware version". So I proceeded to download the firmware and placed it in /lib/firmware. Also I tried to use menuconfig to enable loading firmware via hot-plug, but I think I have done something wrong when I was configuring the hotplug and firmware.

    Can anyone help me out here? I appreciate.
    My debian distribution is 2.6.32-trunk-686
    wireless card: PRO/wireless 2200 BG

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,225
    Hello and Welcome KaiChong,

    Please post the outputs asked \here so that we can see better what's happening behind the scenes

    Thank you!
    Pulso.PH

    "Rate Your Leaders. Share Your thoughts."

    nujinini
    Linux User #489667

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10
    the required info is showed as below:

    Code:
    ==================== lspci =============
    
    06:04.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)
    	Subsystem: Intel Corporation Device [8086:2742]
    06:06.0 CardBus bridge [0607]: ENE Technology Inc CB-710/2/4 Cardbus Controller [1524:1411]
    	Subsystem: Toshiba America Info Systems Device [1179:ff10]
    	Kernel driver in use: yenta_cardbus
    06:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
    	Subsystem: Toshiba America Info Systems Device [1179:ff10]
    	Kernel driver in use: 8139too
    06:0a.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) [104c:8026]
    	Subsystem: Toshiba America Info Systems Device [1179:ff10]
    	Kernel driver in use: firewire_ohci
    ====================== lsusb ==================
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    ====================== lsmod ==================
    Module                  Size  Used by
    radeon                398251  0 
    ttm                    25900  1 radeon
    drm_kms_helper         17183  1 radeon
    drm                   107511  3 radeon,ttm,drm_kms_helper
    i2c_algo_bit            3497  1 radeon
    i2c_core               12612  3 radeon,drm,i2c_algo_bit
    ppdev                   4058  0 
    lp                      5570  0 
    parport                22554  2 ppdev,lp
    sco                     5837  2 
    bridge                 32851  0 
    stp                      996  1 bridge
    rfcomm                 25063  0 
    bnep                    7376  2 
    l2cap                  21677  4 rfcomm,bnep
    crc16                   1027  1 l2cap
    bluetooth              36259  6 sco,rfcomm,bnep,l2cap
    rfkill                 10196  2 bluetooth
    acpi_cpufreq            4907  0 
    cpufreq_userspace       1444  0 
    cpufreq_powersave        602  0 
    cpufreq_conservative     4018  0 
    cpufreq_stats           1940  0 
    uinput                  4796  1 
    fuse                   43554  1 
    firewire_sbp2           9575  0 
    loop                    9721  0 
    snd_intel8x0           19523  3 
    snd_intel8x0m           8100  0 
    snd_ac97_codec         79136  2 snd_intel8x0,snd_intel8x0m
    ac97_bus                 710  1 snd_ac97_codec
    snd_pcm_oss            28479  0 
    snd_mixer_oss          10461  1 snd_pcm_oss
    snd_pcm                47362  5 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
    joydev                  6767  0 
    snd_seq_midi            3480  0 
    pcmcia                 17442  0 
    snd_rawmidi            12313  1 snd_seq_midi
    snd_seq_midi_event      3684  1 snd_seq_midi
    snd_seq                35303  2 snd_seq_midi,snd_seq_midi_event
    snd_timer              12258  3 snd_pcm,snd_seq
    ipw2200               108260  0 
    snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
    libipw                 18403  1 ipw2200
    yenta_socket           16403  1 
    rsrc_nonstatic          7057  1 yenta_socket
    pcmcia_core            20406  3 pcmcia,yenta_socket,rsrc_nonstatic
    psmouse                44409  0 
    intel_agp              20145  0 
    ac                      1640  0 
    button                  3598  0 
    snd                    33551  14 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    pcspkr                  1207  0 
    soundcore               3450  1 snd
    lib80211                2834  2 ipw2200,libipw
    snd_page_alloc          4973  3 snd_intel8x0,snd_intel8x0m,snd_pcm
    serio_raw               2916  0 
    agpgart                19516  3 ttm,drm,intel_agp
    rng_core                2178  0 
    evdev                   5609  13 
    container               1833  0 
    video                  14605  0 
    battery                 3782  0 
    processor              25803  2 acpi_cpufreq
    output                  1204  1 video
    ext3                   93828  3 
    jbd                    31965  1 ext3
    mbcache                 3762  1 ext3
    sg                     15932  0 
    sr_mod                 10770  0 
    cdrom                  26487  1 sr_mod
    sd_mod                 25717  5 
    crc_t10dif              1012  1 sd_mod
    ide_pci_generic         1924  0 
    ide_core               63842  1 ide_pci_generic
    ata_generic             2015  0 
    ahci                   26446  0 
    fan                     2586  0 
    sdhci_pci               4493  0 
    sdhci                  12075  1 sdhci_pci
    ata_piix               16513  4 
    uhci_hcd               15945  0 
    8139too                14845  0 
    mmc_core               38095  1 sdhci
    firewire_ohci          16469  0 
    libata                113728  3 ata_generic,ahci,ata_piix
    thermal                 9206  0 
    ehci_hcd               27222  0 
    led_class               1757  1 sdhci
    8139cp                 13277  0 
    mii                     2714  2 8139too,8139cp
    firewire_core          30911  2 firewire_sbp2,firewire_ohci
    crc_itu_t               1035  1 firewire_core
    thermal_sys             9378  4 video,processor,fan,thermal
    scsi_mod              101061  5 firewire_sbp2,sg,sr_mod,sd_mod,libata
    usbcore                97898  3 uhci_hcd,ehci_hcd
    nls_base                4541  1 usbcore
    ==================== dmesg - firmware =============
    [    5.722744] ipw2200 0000:06:04.0: firmware: requesting ipw2200-bss.fw
    [    5.903406] ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
    [    5.903468] ipw2200: Unable to load firmware: -2
    [   35.779463] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
    [   35.846943] radeon_cp: Failed to load firmware "radeon/R300_cp.bin"
    [   35.846952] [drm:radeon_do_init_cp] *ERROR* Failed to load firmware!
    ===================== kernel version ============
    2.6.32-trunk-686
    ===================== ifconfig ==============
    eth0      Link encap:Ethernet  HWaddr 00:a0:d1:24:00:b9  
              inet addr:192.168.0.106  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::2a0:d1ff:fe24:b9/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:491546 errors:0 dropped:0 overruns:0 frame:0
              TX packets:294967 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:607888635 (579.7 MiB)  TX bytes:24116416 (22.9 MiB)
              Interrupt:10 Base address:0xa000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:28 errors:0 dropped:0 overruns:0 frame:0
              TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:1944 (1.8 KiB)  TX bytes:1944 (1.8 KiB)
    
    ====================== iwconfig ==============
    lo	no wireless extentions
    eth0	no wireless extentions
    pan0	no wireless extentions
    I appreciate your reply, haha, hope this info can help you understand what is going on my laptop.

  4. #4
    Linux User gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    481
    If you can use a hard wired connection for a bit, it might benefit you to enable the contrib and non-free repos, and then install "firmware-ipw2x00" from the debian repos. It will put it in the right place so all you have to do is install it.
    Code:
    # apt-get install firmware-ipw2x00
    Of course, you could always download and transfer it, and then install it with dpkg.
    Code:
    # dpkg -i /path/to/firmware-ipw2x00
    Once you get it installed, then make sure to install wpasupplicant and wireless-tools as well.

    Also, make sure when you download the firmware from intel, that you not only put the file in /lib/firmware, but you will have to uncompress it as well.
    Code:
    # cd /lib/firmware
    # wget http://ipw2200.sourceforge.net/firmware.php?i_agree_to_the_license=yes&f=ipw2200-fw-3.1.tgz
    # tar xvzf ipw2100-fw-3.1.tgz
    You may have done all of this already, but I am just covering the basics. The # denotes that root is to perform these tasks.

    Oh, one more thing, you may have to add the unstable (sid) repo to be able to download the firmware from the repos. No problem, just add this to your /etc/apt/sources.list
    Code:
    deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
    You can even remove it when done if you like.
    Last edited by gruven; 06-09-2010 at 06:14 PM.

    Linux User #376741
    Preferred Linux Distro: Funtoo
    There is no need to login to the GUI as root!

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10
    Hi gruven,

    I did have done all steps you mentioned, and when I downloaded the firmware-ipw2x00 in the directory /lib/firmware, and use ring buffer
    Code:
    dmesg | grep firmware
    it prompted up with the following code
    Code:
    [    6.355800] firmware: requesting ipw2200-bss.fw
    [    6.386402] ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
    [    6.386402] ipw2200: Unable to load firmware: -2
    What should I do next?
    Thanks

  6. #6
    Linux User gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    481
    Show me what is in the firmware folder. Maybe we have a small name mismatch.
    Code:
    ls /lib/firmware
    It also could be that you have the wrong version of firmware for the kernel driver. I would download all the versions from the intel sight and test each out one by one. I don't think there were that many, maybe 5 or 6, but when/if you find the right one, it should just work.

    I will do a little research though to see what other problems it could be.

    Linux User #376741
    Preferred Linux Distro: Funtoo
    There is no need to login to the GUI as root!

  7. #7
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10
    these are the files under /lib/firmware directory
    Code:
    av7110
    cis
    dsp56k
    firmwaretesting.txt
    hp
    ipw2100-1.3.fw
    ipw2100-1.3-i.fw
    ipw2100-1.3-p.fw
    ipw2200-bss.fw
    ipw2200-ibss.fw
    ipw2200-sniffer.fw
    ipw2x00.LICENSE
    keyspan_pda
    I am trying other firmware versions, but so far it seems that these firmwares have nothing to do with the problem.

    I have installed wireless-tools and wpasupplicant

  8. #8
    Just Joined!
    Join Date
    Jun 2010
    Posts
    10

    Smile

    I just solved the firmware problem!! haha!

    Locating firmware directory is the main reason behind this problem. I changed a line in /etc/hotplug/firmware.agent from
    Code:
     #directory of the firmware files
    FIRMWARE_DIR=/usr/lib/hotplug/firmware
    to
    Code:
    FIRMWARE_DIR=/lib/firmware
    and then reboot, now the ipw2200 driver can find its firmware.

    BTW: the hotplug is a package I downloaded that used to notify hardware-related events such as plug-in.

    Thanks for all your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •