Discussion:
FreeBSD and Intel PRO/Wireless 2200BG
Daniel Underwood
2009-04-22 19:04:09 UTC
Permalink
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<BROADCAST,SIMPLEX,MULTICAST> 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 0xc0400000 97f830 kernel
2 1 0xc0d80000 6a2c4 acpi.ko
3 1 0xc3e3c000 22000 linux.ko
4 1 0xc408f000 6000 i915.ko
5 1 0xc40a2000 f000 drm.ko
6 1 0xc4280000 f000 if_iwi.ko
7 1 0xc42ae000 30000 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
Leslie Jensen
2009-04-22 20:15:13 UTC
Permalink
Post by Daniel Underwood
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.
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> 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
firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware
ifconfig_iwi0="WPA DHCP"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"
Id Refs Address Size Name
1 18 0xc0400000 97f830 kernel
2 1 0xc0d80000 6a2c4 acpi.ko
3 1 0xc3e3c000 22000 linux.ko
4 1 0xc408f000 6000 i915.ko
5 1 0xc40a2000 f000 drm.ko
6 1 0xc4280000 f000 if_iwi.ko
7 1 0xc42ae000 30000 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
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Have you created a wpa_supplicant.conf file

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

/Leslie
Daniel Underwood
2009-04-22 20:51:27 UTC
Permalink
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="..."
}
Post by Leslie Jensen
Post by Daniel Underwood
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.
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> 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
firmware_get: failed to load firmware image iwi_bss
iwi0: could not load firmware
ifconfig_iwi0="WPA DHCP"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_tkip_load="YES"
wlan_ccmp_load="YES"
Id Refs Address    Size     Name
 1   18 0xc0400000 97f830   kernel
 2    1 0xc0d80000 6a2c4    acpi.ko
 3    1 0xc3e3c000 22000    linux.ko
 4    1 0xc408f000 6000     i915.ko
 5    1 0xc40a2000 f000     drm.ko
 6    1 0xc4280000 f000     if_iwi.ko
 7    1 0xc42ae000 30000    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
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Have you created a wpa_supplicant.conf file
http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
/Leslie
Patrick Lamaizière
2009-04-22 20:55:51 UTC
Permalink
Le Wed, 22 Apr 2009 15:04:09 -0400,
Post by Daniel Underwood
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.
Daniel Underwood
2009-04-22 21:04:41 UTC
Permalink
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
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 15:04:09 -0400,
Post by Daniel Underwood
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.
Patrick Lamaizière
2009-04-22 21:41:10 UTC
Permalink
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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.
Daniel Underwood
2009-04-22 22:15:02 UTC
Permalink
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
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
Daniel Underwood
2009-04-22 23:54:13 UTC
Permalink
[SOLVED]

Thanks for the help, folks. It works fine now.
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
Fernando Apesteguía
2009-04-23 21:20:15 UTC
Permalink
Post by 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<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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Daniel Underwood
2009-04-23 23:49:57 UTC
Permalink
What is the contents of your /etc/rc.conf file?

On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
Post by Fernando Apesteguía
Post by 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
legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
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
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
$ 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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Daniel Underwood
2009-04-23 23:55:14 UTC
Permalink
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
Post by Fernando Apesteguía
Post by 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
legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
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
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
$ 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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Fernando Apesteguía
2009-04-24 15:04:43 UTC
Permalink
Post by Daniel Underwood
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
Post by Daniel Underwood
On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
Post by Fernando Apesteguía
Post by 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
legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
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
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
$ 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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Daniel Underwood
2009-04-24 15:10:42 UTC
Permalink
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
Post by Fernando Apesteguía
Post by Daniel Underwood
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
Post by Daniel Underwood
On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
Post by Fernando Apesteguía
Post by 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
legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
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
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
$ 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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Fernando Apesteguía
2009-04-24 15:35:54 UTC
Permalink
Post by 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.)
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.
Post by Daniel Underwood
On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía
Post by Fernando Apesteguía
Post by Daniel Underwood
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
Post by Daniel Underwood
On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
Post by Fernando Apesteguía
Post by 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
legal.intel_iwi.license_ack=1
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
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
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
$ 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.
Post by Daniel Underwood
Post by Patrick Lamaizière
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
iwi0: firmware stuck in state4, resetting
Any idea what that means, or what state4 is?  (Sorry, I'm very new to FreeBSD.)
Thanks,
Daniel
Post by Patrick Lamaizière
Le Wed, 22 Apr 2009 17:04:41 -0400,
Post by Daniel Underwood
"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
http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html
Regards.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Loading...