Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Fernando Apesteguía
On Fri, Apr 24, 2009 at 5:10 PM, Daniel Underwood  wrote:
> They should be, yes. I would try loading the modules (kldload) just to
> be sure. If loading the modules doesn't fix things, then it's safe to
> assume they were compiled in kernel. (But then again, I'm certainly
> not an expert in this area.)

I can't load the modules because they don't exist as modules. However,
the wireless card is detected, so the driver should be in-kernel (in
opposition to loading the GENERIC kernel which lacks the iwi driver
and my NIC is not shown by ifconfig).

The debug.iwi=1 doesn't help much. It just says it can't load the
firmware, but it doesn't give any clues about the reason.

Any ideas?

PS: jut out of curiosity, where is the firmware in the filesystem? Is
it also compiled in-kernel?

Thanks in advance.

>
> On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía
>  wrote:
>> On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood  
>> 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
>>>  wrote:
 2009/4/23 Daniel Underwood :
> [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 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 :
>> 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 :
>>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>>> Daniel Underwood :
>>>
 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@freebsd.org mailing list
> http://lists.freebsd.org/

Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Daniel Underwood
They should be, yes. I would try loading the modules (kldload) just to
be sure. If loading the modules doesn't fix things, then it's safe to
assume they were compiled in kernel. (But then again, I'm certainly
not an expert in this area.)

On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía
 wrote:
> On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood  
> 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
>>  wrote:
>>> 2009/4/23 Daniel Underwood :
 [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 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 :
> 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 :
>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>> Daniel Underwood :
>>
>>> 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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 "freebsd-questions-unsubscr...@freebsd.org"

>>>
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Fernando Apesteguía
On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood  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
>  wrote:
>> 2009/4/23 Daniel Underwood :
>>> [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 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 :
 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 :
> Le Wed, 22 Apr 2009 17:04:41 -0400,
> Daniel Underwood :
>
>> 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@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>>>
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-23 Thread Daniel Underwood
Also, when you enter kldstat, do you see these?

iwi_bss.ko
iwi_ibss.ko
iwi_monitor.ko
if_iwi.ko

On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
 wrote:
> 2009/4/23 Daniel Underwood :
>> [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 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 :
>>> 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 :
 Le Wed, 22 Apr 2009 17:04:41 -0400,
 Daniel Underwood :

> 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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-23 Thread Daniel Underwood
What is the contents of your /etc/rc.conf file?

On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
 wrote:
> 2009/4/23 Daniel Underwood :
>> [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 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 :
>>> 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 :
 Le Wed, 22 Apr 2009 17:04:41 -0400,
 Daniel Underwood :

> 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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-23 Thread Fernando Apesteguía
2009/4/23 Daniel Underwood :
> [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 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 :
>> 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 :
>>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>>> Daniel Underwood :
>>>
 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
[SOLVED]

Thanks for the help, folks. It works fine now.

2009/4/22 Daniel Underwood :
> 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 :
>> Le Wed, 22 Apr 2009 17:04:41 -0400,
>> Daniel Underwood :
>>
>>> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
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 :
> Le Wed, 22 Apr 2009 17:04:41 -0400,
> Daniel Underwood :
>
>> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Daniel Underwood :

> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
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?

Daniel

2009/4/22 Patrick Lamaizière :
> Le Wed, 22 Apr 2009 15:04:09 -0400,
> Daniel Underwood :
>
>> My /boot/loader.conf contains:
>>
>> wlan_scan_ap_load="YES"
>> wlan_scan_sta_load="YES"
>> wlan_wep_load="YES"
>> wlan_tkip_load="YES"
>> wlan_ccmp_load="YES"
>
> I do not use iwi anymore, but in the past you had to agree the firmware
> license. With a "legal.intel_iwi.license_ack=1" in bootloader.conf
>
> See man iwi.
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Patrick Lamaizière
Le Wed, 22 Apr 2009 15:04:09 -0400,
Daniel Underwood :

> My /boot/loader.conf contains:
> 
> wlan_scan_ap_load="YES"
> wlan_scan_sta_load="YES"
> wlan_wep_load="YES"
> wlan_tkip_load="YES"
> wlan_ccmp_load="YES"

I do not use iwi anymore, but in the past you had to agree the firmware
license. With a "legal.intel_iwi.license_ack=1" in bootloader.conf

See man iwi.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Daniel Underwood
Yes, and my /etc/wpa_supplicant.conf contains the following (actual
psk not shown):

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
  ssid="neuralnet"
  psk="..."
}


On Wed, Apr 22, 2009 at 4:15 PM, Leslie Jensen  wrote:
>
> Daniel Underwood skrev:
>>
>> I'm having trouble getting wireless to work on my FreeBSD laptop.
>>
>> I'm running FreeBSD 7.1-RELEASE. My wireless device is Intel
>> PRO/Wireless 2200BG.
>>
>> After typing "ifconfig iwi0", I get the following:
>>
>> iwi0: flags=8802 metric 0 mtu 1500
>>        ether 00:16:6f:91:d5:58
>>        media: IEEE 802.11 Wireless Ethernet autoselect
>>        status: no carrier
>>        ssid "" channel 1 (2412 Mhz 11b)
>>        authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
>>        scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
>>        roam:rate11b 1 roaming MANUAL bintval 0
>>
>> Now I (repeatedly) receive the following error messages in my xconsole:
>>
>> firmware_get: failed to load firmware image iwi_bss
>> iwi0: could not load firmware
>>
>> My /etc/rc.conf contains:
>>
>> ifconfig_iwi0="WPA DHCP"
>>
>> My /boot/loader.conf contains:
>>
>> wlan_scan_ap_load="YES"
>> wlan_scan_sta_load="YES"
>> wlan_wep_load="YES"
>> wlan_tkip_load="YES"
>> wlan_ccmp_load="YES"
>>
>> After typing "kldstat", I receive the following (note that iwi_bss.ko
>> exists):
>>
>> Id Refs Address    Size     Name
>>  1   18 0xc040 97f830   kernel
>>  2    1 0xc0d8 6a2c4    acpi.ko
>>  3    1 0xc3e3c000 22000    linux.ko
>>  4    1 0xc408f000 6000     i915.ko
>>  5    1 0xc40a2000 f000     drm.ko
>>  6    1 0xc428 f000     if_iwi.ko
>>  7    1 0xc42ae000 3    iwi_bss.ko
>>
>> Please help me figure this out. I've been trying to get wireless to work
>> for 3 days now, and I've searched and searched for a solution. Let me
>> know if you need more information.
>>
>> Thanks,
>> Daniel
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>
> Have you created a wpa_supplicant.conf file
>
> http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
>
> /Leslie
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-22 Thread Leslie Jensen


Daniel Underwood skrev:

I'm having trouble getting wireless to work on my FreeBSD laptop.

I'm running FreeBSD 7.1-RELEASE. My wireless device is Intel
PRO/Wireless 2200BG.

After typing "ifconfig iwi0", I get the following:

iwi0: flags=8802 metric 0 mtu 1500
ether 00:16:6f:91:d5:58
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7
roam:rate11b 1 roaming MANUAL bintval 0

Now I (repeatedly) receive the following error messages in my xconsole:

firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware

My /etc/rc.conf contains:

ifconfig_iwi0="WPA DHCP"

My /boot/loader.conf contains:

wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"

After typing "kldstat", I receive the following (note that iwi_bss.ko exists):

Id Refs AddressSize Name
 1   18 0xc040 97f830   kernel
 21 0xc0d8 6a2c4acpi.ko
 31 0xc3e3c000 22000linux.ko
 41 0xc408f000 6000 i915.ko
 51 0xc40a2000 f000 drm.ko
 61 0xc428 f000 if_iwi.ko
 71 0xc42ae000 3iwi_bss.ko

Please help me figure this out. I've been trying to get wireless to work
for 3 days now, and I've searched and searched for a solution. Let me
know if you need more information.

Thanks,
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



Have you created a wpa_supplicant.conf file

http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

/Leslie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"