The pfSense Store

Author Topic: Intel PRO/Wireless 2200BG supported?  (Read 8690 times)

0 Members and 1 Guest are viewing this topic.

Offline Clown

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Intel PRO/Wireless 2200BG supported?
« on: July 08, 2008, 10:45:49 am »
Is the Intel PRO/Wireless 2200BG (miniPCI) supported by pfSense? Is the iwi(4) driver integrated?
http://www.freebsd.org/releases/6.3R/hardware-sparc64.html#WLAN

Tried in the ALIX board did not find the card (could also be a bios issue).

Online dotdash

  • Hero Member
  • *****
  • Posts: 1289
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #1 on: July 08, 2008, 01:18:59 pm »
IIRC, the Intel wireless cards require firmware that cannot be distributed freely. You could probably get them running on your own, but i wouldn't expect to see them in the base pfSense.

Offline David_W

  • Full Member
  • ***
  • Posts: 132
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #2 on: July 11, 2008, 08:51:38 am »
The firmware is now incorporated into the base system - see here for the announcement. You need to define a system variable (for example, in boot/loader.conf) to show your assent to the licence - though I can't remember what it is.

That said, I'm 99% sure you need FreeBSD 6.3 or 7.0 to have the firmware available. This means you'll need the pfSense 1.2 build on FreeBSD 6.3, 1.2.1-BETA or 1.3-ALPHA ALPHA. The alternative is to install the firmware from the FreeBSD port.

Online dotdash

  • Hero Member
  • *****
  • Posts: 1289
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #3 on: July 11, 2008, 08:58:24 am »
Ah, cool. I remember having to set the license accept variable before, but you used to have to copy the firmware in yourself.
The FreeBSD 7 man page says:
This driver requires firmware to be loaded before it will work.  For the
     loaded firmware to work the license at
     /usr/share/doc/legal/intel_iwi/LICENSE must be agreed to and the follow-
     ing line be added to loader.conf(5):

      legal.intel_iwi.license_ack=1


Offline chrisssooo

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #4 on: November 20, 2008, 02:43:00 pm »
Hi,
sice two days i try to activate my Intel 2200BG Card. Its dont work. For first i have install a newer version from pfsense becourse the FreeBSD version. At the moment i have installed 1.2.1 RC2. This Version have FreeBSD 7.0. At normal there must be have the Drivers/firmware in the Kernel, but nothing ... in this Version there is not. Its not possible to activate my card. What can i do? Maybe build the Kernel Modules and load it? I dont know becourse i am not a pro. Have someone a idee?

Online dotdash

  • Hero Member
  • *****
  • Posts: 1289
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #5 on: November 20, 2008, 04:54:01 pm »
The man page again:
Alternatively, to load the driver as a module at boot time, place the
     following lines in loader.conf(5):

      if_iwi_load="YES"
      wlan_load="YES"
      firmware_load="YES"

In both cases, place the following lines in loader.conf(5) to load the
    firmware modules:

      iwi_bss_load="YES"
      iwi_ibss_load="YES"
      iwi_monitor_load="YES"

You should have wlan and I think firmware, so I'd expect you would need to copy
if_iwi.ko and iwi_*.ko to /boot/kernel/ from a stock 7.0 install and add the lines to loader.conf
PS- Don't forget the license_ack line
« Last Edit: November 20, 2008, 04:55:41 pm by dotdash »

Offline chrisssooo

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #6 on: November 21, 2008, 01:14:57 am »
Hi,
thx for the answer. I have try all options from exactly the same man page without work.
My Problem is, that i dont know someone who have BSD 7.0 that can give me the modules
and also i dont find it on web :( do you know from where i can get it? Must i install
freebsd by self to ge it?

Becorse the firmware ... i have see there is a modul in the kernel who called "firmware" is it that what i need?
Quote
pfsense:/#  kldstat -v | grep firmware
247 firmware

Quote
pfsense:/#  kldstat -v | grep wlan
280 wlan_acl
281 wlan_amrr
282 wlan_ccmp
283 wlan_tkip
284 wlan_wep
285 wlan
286 wlan_scan_ap
287 wlan_scan_sta
288 wlan_xauth
« Last Edit: November 21, 2008, 01:21:08 am by chrisssooo »

Offline chrisssooo

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #7 on: November 21, 2008, 03:33:12 am »
ITS WORK NOW!

Someone from a FreeBSD IRC Channel have help me and give me this link who i can download the modules:
http://deponie.yamagi.org/freebsd/iwi/

Its work on 1.2.1 RC2 ... really fantastic!

But Question to the DEVs ... why do you not compile its in the Kernel or add the modules in pfSense?
I thing this Adapter is often avaiable.

« Last Edit: November 21, 2008, 04:11:33 am by chrisssooo »

Offline chrisssooo

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #8 on: November 21, 2008, 07:07:38 am »
Hmmm ... the drivers works, i have try ad-hoc and see it.
But is it possible that this driver (iwi) dont can do a Access Point?

Have try all settings, but when i set as Access Ponit i can see the Network with my laptop.


EDIT:
Now i have found out how i can test the card to get information what support this card:
Code: [Select]
ifconfig iwi0 list caps
iwi0=25818300<IBSS,PMGT,SHPREAMBLE,MONITOR,WPA1,WPA2,WME,BGSCAN>

The HOSTAP mode is missing ... that means definitly that the iwi driver dont support hostap.

Now i have found some drivers who make support for this card and hostap:
http://sourceforge.net/projects/ipw2200-ap

The only one big problem ist, that this driver is for Linux. Is it possible to use it and compile it in freebsd maybe?

When this dont work then i need definitly a other miniPCI WLan card :(
« Last Edit: November 21, 2008, 08:03:10 am by chrisssooo »

Online dotdash

  • Hero Member
  • *****
  • Posts: 1289
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #9 on: November 21, 2008, 10:18:11 am »
I generally use Atheros cards, so I didn't look very close at iwi, but it indeed does not support hostap.
That rules out iwi as an option if you need an AP. I would not hold my breath on anyone getting this working in the foreseeable future. On the bright side, you can get a high-power Atheros card that works out of the box for $35 http://www.netgate.com/product_info.php?cPath=26_34&products_id=348

Offline pulsar

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #10 on: November 22, 2008, 07:06:57 am »
Hi!

Is it possible to do this on an embedded system (Wrap)

If.
Can someone tell me how to do this - the simpe way - I'm not an expert.

I can logg in as root with winSCP but I can't save when I edit files.

Where do I find loader.conf(5):


Please help


The man page again:
Alternatively, to load the driver as a module at boot time, place the
     following lines in loader.conf(5):

      if_iwi_load="YES"
      wlan_load="YES"
      firmware_load="YES"

In both cases, place the following lines in loader.conf(5) to load the
    firmware modules:

      iwi_bss_load="YES"
      iwi_ibss_load="YES"
      iwi_monitor_load="YES"

You should have wlan and I think firmware, so I'd expect you would need to copy
if_iwi.ko and iwi_*.ko to /boot/kernel/ from a stock 7.0 install and add the lines to loader.conf
PS- Don't forget the license_ack line

Offline pulsar

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #11 on: November 24, 2008, 11:49:06 am »
Yes - thank you.
 :)

You really helped me.


Do anybody know if there is some other software I can install in my WRAP (flash memory) that works as AP with Intel PRO/Wireless 2915ABG

DMESG
iwi0: <Intel(R) PRO/Wireless 2915ABG> mem 0x80000000-0x80000fff irq 12 at device 13.0 on pci0

Offline Pitbull

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Intel PRO/Wireless 2200BG supported?
« Reply #12 on: January 05, 2009, 07:24:35 pm »
Hi,
i have do it on a embedded system.

You must do it over the WebGUI becourse the write permissions is only over it.
Use pfsense 1.2.1 RC2 becourse FreeBSD 7.0

Step 1:
Download the 4 Kernel modules: http://deponie.yamagi.org/freebsd/iwi/
Go in the WebGUI in "Diagnostics->Command Prompt".
Upload all 4 Kernel Modules over the "Upload" function.
The Files will be upload to /tmp/
After Upload use also in "Diagnostics->Command Prompt" the "Execute Shell command" function to move the files to the right location.
1. Type in Command: "mv /tmp/if_iwi.ko /boot/kernel/" and click on "Execute"
2. Type in Command: "mv /tmp/iwi_* /boot/kernel/" and click on "Execute"
Now the Kernel Modules are on the right location.

Step 2:
Now edit the /boot/loader.conf File.
Go on WebGUI in "Diagnostics->Edit file".
Type in the field "Save/Load from path"  this Text: "/boot/loader.conf" and click on "Load".
Add this 7 Lines at the end:
Code: [Select]
if_iwi_load="YES"
wlan_load="YES"
firmware_load="YES"
iwi_bss_load="YES"
iwi_ibss_load="YES"
iwi_monitor_load="YES"
legal.intel_iwi.license_ack=1
and click on "Save"
Reboot pfSense.

Step 3:
Now you can Assign you card in the WebGui over "Interfaces->assign" whit the "Plus" and configure it.
But when you read this Thread you must know:
ITS ONLY POSSIBLE TO SET THIS CARD TO "Infrastructure" AND "Ad-hoc" ... "Access point" DONT WORK!!!

I hope its work for you :)

Thanks a milion this worked like a charm. This should be stickied somewhere as its a sure fire and quick way to get those cards working.