FreeBSD and Intel PRO/Wireless 2200BG

Fernando Apesteguía fernando.apesteguia at gmail.com
Fri Apr 24 15:04:45 UTC 2009


On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood <djuatdelta at gmail.com> wrote:
> Also, when you enter kldstat, do you see these?
>
> iwi_bss.ko
> iwi_ibss.ko
> iwi_monitor.ko
> if_iwi.ko

No. Shouldn't they be in-kerne?

I compiled my own kernel with the settings I posted in my previous
mail, including device firmware, iwi, wlan, etc.

Cheers
>
> On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
> <fernando.apesteguia at gmail.com> wrote:
>> 2009/4/23 Daniel Underwood <djuatdelta at gmail.com>:
>>> [SOLVED]
>>>
>>> Thanks for the help, folks. It works fine now.
>>
>> I wasn't that lucky :)
>>
>> I'm using FreeBSD 7.1-RELEASE-p4 #12
>> This is my loader.conf configuration:
>>
>> legal.intel_iwi.license_ack=1
>> iwi_bss_load="YES"
>> iwi_ibss_load="YES"
>> iwi_monitor_load="YES"
>>
>> And in my kernel config I have:
>>
>> device          pci
>>
>> device          wlan            # 802.11 support
>> device          wlan_wep        # 802.11 WEP support
>> device          wlan_ccmp       # 802.11 CCMP support
>> device          wlan_tkip       # 802.11 TKIP support
>> device          wlan_amrr       # AMRR transmit rate control algorithm
>> device          wlan_scan_ap    # 802.11 AP mode scanning
>> device          wlan_scan_sta   # 802.11 STA mode scanning
>>
>> device          iwi             # For Intel Pro Wireless 2200bg
>>
>> device          firmware        # firmware assist module
>>
>> This is the output of ifconfig:
>>
>> iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        ether 00:0e:35:fd:aa:0f
>>        media: IEEE 802.11 Wireless Ethernet autoselect
>>        status: no carrier
>>        ssid "" channel 1 (2412 Mhz 11b)
>>        authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan
>>        bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 bintval 0
>>
>> After seting debug.iwi=1 this is what I get when I try to bring the
>> interface up:
>>
>> $ ifconfig iwi0 up
>>
>> iwi_newstate: INIT -> INIT flags 0x0
>> enter FW state 1
>> firmware_get: failed to load firmware image iwi_bss
>> iwi0: could not load firmware
>> exit FW state 1
>> iwi_newstate: INIT -> INIT flags 0x0
>>
>> Any ideas?
>>
>> Thanks in advance.
>>
>>>
>>> 2009/4/22 Daniel Underwood <djuatdelta at gmail.com>:
>>>> Thanks Patrick.  After updating my /boot/loader.conf, it now contains:
>>>>
>>>> legal.intel_iwi.license_ack=1
>>>> iwi_bss_load="YES"
>>>> iwi_ibss_load="YES"
>>>> iwi_monitor_load="YES"
>>>> wlan_scan_ap_load="YES"
>>>> wlan_scan_sta_load="YES"
>>>> wlan_wep_load="YES"
>>>> wlan_tkip_load="YES"
>>>> wlan_ccmp_load="YES"
>>>>
>>>> I no longer receive the error message about failing to load the
>>>> firmware. However, when I enter "ifconfig iwi0 up scan", I receive the
>>>> following in the xconsole:
>>>>
>>>> iwi0: firmware stuck in state4, resetting
>>>>
>>>> Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
>>>>
>>>> Thanks,
>>>> Daniel
>>>>
>>>> 2009/4/22 Patrick Lamaizière <patfbsd at davenulle.org>:
>>>>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>>>>> Daniel Underwood <djuatdelta at gmail.com>:
>>>>>
>>>>>> After re-reading man iwi, I noticed that it says:
>>>>>>
>>>>>> "This driver requires firmware to be loaded before it will work. You
>>>>>> need to obtain iwicontrol(8)  from the IWI web page listed below to
>>>>>> accomplish loading the firmware before ifconfig(8)  will work."
>>>>>>
>>>>>> I'm going to look into this. Sounds like this may be the problem. Do
>>>>>> you think so?
>>>>>
>>>>> No, before FreeBSD 7 you needed to download the firmware.
>>>>> There is a port in /usr/ports/net/iwi-firmware but it is only for
>>>>> FreeBSD < 7
>>>>>
>>>>> You don't need anything on FreeBSD 7.x and you it seems you are not
>>>>> using the right manual page for 7.1:
>>>>> http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
>>>>>
>>>>> Regards.
>>>>>
>>>>
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>>
>>
>


More information about the freebsd-questions mailing list