LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   PC-BSD (FreeBSD) with an Intel 2200 Pro/Wireless (https://www.linuxquestions.org/questions/%2Absd-17/pc-bsd-freebsd-with-an-intel-2200-pro-wireless-452480/)

pengu 06-07-2006 12:56 PM

PC-BSD (FreeBSD) with an Intel 2200 Pro/Wireless
 
I have a dv1000 HP Pavilion laptop with a Pro/Wireless 2200 b/g wireless card.

I just installed DesktopBSD (based on FreeBSD 5.5) and then PC-BSD (based on FreeBSD 6) and none of them detected my wireless card. Most of the drivers I have found are for linux.

I really want to try out the ports system on BSD, it looks really cool, and the pbi packages also look very quick and easy.

How can i get my wireless working with a BSD system?

PS: my card is normally detected easily by most linux systems. (Suse, MEPIS, Ubuntu)

cnjohnson 06-07-2006 02:01 PM

The driver is on your box, but you may need to read through the docs at this site. You should not need to actually build the driver even though it is in ports, but you certainly can if you choose. If you have any trouble just post here.

Cheers--
Charles

pengu 06-07-2006 03:01 PM

Thx for the reply, actually I had just found that site and was going through the steps when i ran into some trouble. So I came back hear to check for any replies.

I got through fine until it says

Code:

Then, make sure that your card is correctly recognized:
# dmesg | grep iwi
iwi0: <Intel(R) PRO/Wireless 2200BG MiniPCI> mem 0xe0206000-0xe0206fff irq 11 at device 4.0 on pci2
iwi0: Ethernet address: xx:xx:xx:xx:xx:xx

When i do so, I get no feedback

Code:

PCBSD# dmesg | grep iwi
PCBSD#


then it says

Code:

Now, you must download the firmware binary image to the adapter.
 For instance, to download firmware for BSS mode:
# iwicontrol -i iwi0 -d /usr/local/libdata/if_iwi -m bss

when i do so i get the following feedback

Code:

PCBSD# iwicontrol -i iwi0 -d /usr/local/libdata/if_iwi -m bss
iwicontrol: Command not found.
PCBSD#

any ideas?

cnjohnson 06-07-2006 08:12 PM

Please, post the output to
Code:

pciconf -lv
That will help with the diagnosis.

Cheers--
Charles

pengu 06-07-2006 09:18 PM

the output as requested

Code:

%pciconf -lv
hostb0@pci0:0:0:        class=0x060000 card=0x3080103c chip=0x35808086 rev=0x02 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82852GM/GME/GMV/PM, 855GM/GME Montara Host-Hub Interface Bridge'
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1: class=0x088000 card=0x3080103c chip=0x35848086 rev=0x02 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82852GM/GME/GMV/PM, 855GM/GME Montara System Memory Controller'
    class    = base peripheral
none1@pci0:0:3: class=0x088000 card=0x3080103c chip=0x35858086 rev=0x02 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82852GM/GME/GMV/PM, 855GM/GME Montara Configuration Process'
    class    = base peripheral
agp0@pci0:2:0:  class=0x030000 card=0x3080103c chip=0x35828086 rev=0x02 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device'
    class    = display
    subclass = VGA
drmsub1@pci0:2:1:      class=0x038000 card=0x3080103c chip=0x35828086 rev=0x02 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device'
    class    = display
uhci0@pci0:29:0:        class=0x0c0300 card=0x3080103c chip=0x24c28086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class    = serial bus
    subclass = USB
uhci1@pci0:29:1:        class=0x0c0300 card=0x3080103c chip=0x24c48086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class    = serial bus
    subclass = USB
uhci2@pci0:29:2:        class=0x0c0300 card=0x3080103c chip=0x24c78086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
    class    = serial bus
    subclass = USB
ehci0@pci0:29:7:        class=0x0c0320 card=0x3080103c chip=0x24cd8086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
    class    = serial bus
    subclass = USB
pcib1@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01
    vendor  = 'Intel Corporation'
    device  = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DBM (ICH4-M) LPC Interface Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x01018a card=0x3080103c chip=0x24ca8086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller'
    class    = mass storage
    subclass = ATA
none2@pci0:31:3:        class=0x0c0500 card=0x3080103c chip=0x24c38086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
    class    = serial bus
    subclass = SMBus
pcm0@pci0:31:5: class=0x040100 card=0x3080103c chip=0x24c58086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
    class    = multimedia
    subclass = audio
none3@pci0:31:6:        class=0x070300 card=0x3080103c chip=0x24c68086 rev=0x03 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller'
    class    = simple comms
    subclass = generic modem
rl0@pci2:0:0:  class=0x020000 card=0x3080103c chip=0x813910ec rev=0x10 hdr=0x00
    vendor  = 'Realtek Semiconductor'
    device  = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none4@pci2:6:0: class=0x028000 card=0x12f5103c chip=0x42208086 rev=0x05 hdr=0x00
    vendor  = 'Intel Corporation'
    device  = 'PRO/Wireless 2200BG Network Connection'
    class    = network
cbb0@pci2:9:0:  class=0x060700 card=0x3080103c chip=0x8031104c rev=0x00 hdr=0x02
    vendor  = 'Texas Instruments (TI)'
    class    = bridge
    subclass = PCI-CardBus
fwohci0@pci2:9:2:      class=0x0c0010 card=0x3080103c chip=0x8032104c rev=0x00 hdr=0x00
    vendor  = 'Texas Instruments (TI)'
    class    = serial bus
    subclass = FireWire
none5@pci2:9:3: class=0x018000 card=0x3080103c chip=0x8033104c rev=0x00 hdr=0x00
    vendor  = 'Texas Instruments (TI)'
    device  = 'PCIxx21 Integrated FlashMedia Controller'
    class    = mass storage
none6@pci2:9:4: class=0x080500 card=0x3080103c chip=0x8034104c rev=0x00 hdr=0x00
    vendor  = 'Texas Instruments (TI)'
    class    = base peripheral
%


pengu 06-07-2006 11:34 PM

ok, i made a stupid mistake.

somehow i switch from the ipi (2200) page to the ipw (2100) page by accident and didnt notice.

I retraced my steps and had more success.

the card seems to be recognized now.

Code:

PCBSD# ifconfig iwi0
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20e:35ff:fef3:518e%iwi0 prefixlen 64 scopeid 0x6
        inet 192.168.2.7 netmask 0xffffff00 broadcast 192.168.2.255
        ether 00:0e:35:f3:51:8e
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid KEEPOUT channel 1
        authmode OPEN privacy OFF txpowmax 100 protmode CTS
PCBSD#

however when i try the following step:
Code:

Now, you must download the firmware binary image to the adapter.
 For instance, to download firmware for BSS mode:
# iwicontrol -i iwi0 -d /usr/local/libdata/if_iwi -m bss

i get the following output:
Code:

PCBSD# iwicontrol -i iwi0 -d /usr/local/libdata/if_iwi -m bss
iwicontrol: /usr/local/libdata/if_iwi/iwi-boot.fw: No such file or directory
PCBSD#

any ideas?

p.s.: i found out that my card is the only supported card that doesent run out of the box in freeBSD. Sux.

cnjohnson 06-08-2006 02:15 PM

Quote:

Originally Posted by pengu
PCBSD# ifconfig iwi0
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20e:35ff:fef3:518e%iwi0 prefixlen 64 scopeid 0x6
inet 192.168.2.7 netmask 0xffffff00 broadcast 192.168.2.255
ether 00:0e:35:f3:51:8e
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid KEEPOUT channel 1
authmode OPEN privacy OFF txpowmax 100 protmode CTS

You have an IP address (192.168.2.7), you have an ssid (KEEPOUT), you have a channel (channel 1). So did you try
Code:

PCBSD# ifconfig iwi0 up
What happens if you do that? It looks to me as if the firmware loaded just fine. Oh, and don't worry about making "stupid mistakes." You haven't made any that I haven't made in spades. :)

Cheers--
Charles

pengu 06-08-2006 08:34 PM

just tried that and it doesent work, I have desktopBSD tools installed so I am using the networking tray program. It detects my card, and lets me scan for networks, but when I do I cannot see any networks.

I think my network is channel 11 though, not sure how to change the channel. Ill look into it and try.

cnjohnson 06-09-2006 03:39 PM

Yes, you will have to become familiar with the ifconfig man pages. The wired and wireless information are inter-mixed, so finding things can sometimes be a head ache. Report back your results.

Cheers--
Charles

pengu 06-09-2006 04:33 PM

I Got It!!!!
 
Ok I was browsing some other bsd forums and this guy posted how he got his wireless working after downloading iwi-firmware from ports. Its a simple as this.

Code:

kldload if_iwi
iwicontrol iwi0 -d /boot/firmware -m bss
ifconfig iwi0 up

after that I just hit the switch to turn on my wireless card. And I can scan for networks with the applet from DesktopBSD-Tools.

I think I am going to post another thread as a tutorial on how to set it up from scratch, as that would have really helped me.


The only thing that I am now wondering is how to get it working automaticly when I start up. If you could give any suggestions that would be great.

Thanks for all the support- Jack


All times are GMT -5. The time now is 11:15 PM.