you can also write to Janusz Gumkowski <janusz.gumkow...@am.torun.pl> it seems he solve this problem in few days ago
2009/5/6 Andrej Elizarov <vigilan...@gmail.com> > Try make link to net with WEP or without authentication at all. > When i setup bwi(4) there was two issues for me: dhcp ip leasing and > wep authentication. > Can't tell in details, just don't remember, but you can digg in this > direction. > > 2009/5/6 José Brandão <ze.bran...@gmail.com> > > Hello, >> >> This is my first post, so forgive me if I inadvertently commit a >> "gaffe". >> >> I am looking for advice regarding the setting-up of my wireless network >> card with wpa. >> >> I have installed the current release OpenBSD 4.5 on my asus A6 laptop. >> So far as I can tell, everything works perfectly except for the >> Intel pro/wireless 2200BG wireless nic (driver iwi, device iwi0) that >> I have been unable >> to put to work. >> >> As per man page instructions, I have installed into "/etc/firmware" the >> files from "iwi-firmware-3.0p0.tgz". >> >> I have created the "/etc/hostname.iwi0" file with contents: >> >> dhcp NONE NONE NONE nwid my_essid wpa \ >> wpapsk $(wpa-psk my_essid my_passphrase) >> >> At boot-time, when comes the time to initialize the network, the following >> message is printed: >> >> iwi0: no link ............. sleeping >> >> I have also tried to activate the card with the instruction: >> >> ifconfig iwi0 -bssid chan 6 nwid WirelessFromTVCabo\ >> -nwkey txpower 20 wpa wpaakms psk wpagroupcipher ccmp\ >> wpaprotos wpa2 wpapsk $(wpa-psk my_essid my_passphrase) >> dhclient iwi0 >> >> with the same results. >> >> The previous commands closely reproduce the setup on a debian >> installed on another partition. >> >> The output of "dmesg" is: >> >> OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009 >> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC >> cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" >> 686-class) 1.61 GHz >> cpu0: >> >> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI, >> MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 >> real mem = 535654400 (510MB) >> avail mem = 509669376 (486MB) >> mainbus0 at root >> bios0 at mainbus0: AT/286+ BIOS, date 03/17/05, SMBIOS rev. 2.3 @ >> 0xf5b40 (35 entries) >> bios0: vendor American Megatrends Inc. version "0204" date 03/17/2005 >> bios0: ASUSTeK Computer Inc. A6G >> apm0 at bios0: Power Management spec V1.2 >> apm0: AC on, no battery >> acpi at bios0 function 0x0 not configured >> pcibios at bios0 function 0x1a not configured >> bios0: ROM list: 0xc0000/0x10000 >> cpu0 at mainbus0: (uniprocessor) >> cpu0: Enhanced SpeedStep 1600 MHz (1340 mV): speeds: 1600, 1400, >> 1200, 1000, 800, 600 MHz >> pci0 at mainbus0 bus 0: configuration mode 1 (bios) >> pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02 >> intelagp0 at pchb0 >> agp0 at intelagp0: aperture at 0xe0000000, size 0xc400000 >> "Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured >> "Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured >> ppb0 at pci0 dev 1 function 0 "Intel 82855GME AGP" rev 0x02 >> pci1 at ppb0 bus 1 >> vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M10" rev 0x00 >> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >> wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >> radeondrm0 at vga1: irq 5 >> drm0 at radeondrm0 >> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 5 >> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 5 >> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: irq 5 >> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 4 >> ehci0: timed out waiting for BIOS >> usb0 at ehci0: USB revision 2.0 >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 >> ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83 >> pci2 at ppb1 bus 2 >> rl0 at pci2 dev 0 function 0 "Realtek 8139" rev 0x10: irq 5, >> address 00:11:d8:bf:2b:3d >> rlphy0 at rl0 phy 0: RTL internal PHY >> iwi0 at pci2 dev 4 function 0 "Intel PRO/Wireless 2200BG" rev >> 0x05: irq 5, address 00:12:f0:3c:7e:1b >> cbb0 at pci2 dev 5 function 0 "Ricoh 5C476 CardBus" rev 0xac: >> couldn't map interrupt >> cbb1 at pci2 dev 5 function 1 "Ricoh 5C476 CardBus" rev 0xac: >> couldn't map interrupt >> "Ricoh 5C552 Firewire" rev 0x04 at pci2 dev 5 function 2 not configured >> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03: >> 24-bit timer at 3579545Hz >> pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: >> DMA, channel 0 configured to compatibility, channel 1 configured to >> compatibility >> wd0 at pciide0 channel 0 drive 0: <IC25N060ATMR04-0> >> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors >> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 >> atapiscsi0 at pciide0 channel 1 drive 0 >> scsibus0 at atapiscsi0: 2 targets >> cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW TS-L532A, TC51> >> ATAPI 5/cdrom removable >> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev >> 0x03"Intel 82801DB Modem" rev 0x03 at pci0 dev 31 function 6 not >> configured >> usb1 at uhci0: USB revision 1.0 >> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> usb2 at uhci1: USB revision 1.0 >> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> usb3 at uhci2: USB revision 1.0 >> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >> isa0 at ichpcib0 >> isadma0 at isa0 >> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo >> pckbc0 at isa0 port 0x60/5 >> pckbd0 at pckbc0 (kbd slot) >> pckbc0: using irq 1 for kbd slot >> wskbd0 at pckbd0: console keyboard, using wsdisplay0 >> pmsi0 at pckbc0 (aux slot) >> pckbc0: using irq 12 for aux slot >> wsmouse0 at pmsi0 mux 0 >> pcppi0 at isa0 port 0x61 >> midi0 at pcppi0: <PC speaker> >> spkr0 at pcppi0 >> lpt0 at isa0 port 0x378/4 irq 7 >> it0 at isa0 port 0x2e/2: IT8705F rev 2, EC port 0x290 >> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >> pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/65536 >> pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B >> pcmcia0 at pcic0 controller 0 socket 0 >> pcmcia1 at pcic0 controller 0 socket 1 >> pcic0: irq 9, polling enabled >> biomask ed75 netmask ed75 ttymask ffff >> mtrr: Pentium Pro MTRR support >> ugen0 at uhub0 port 6 "Acer Labs ALI M5603C" rev 2.00/1.02 addr 2 >> uhidev0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x04f3 >> product 0x0103" rev 1.10/1.05 addr 2 >> uhidev0: iclass 3/1 >> ukbd0 at uhidev0: 8 modifier keys, 6 key codes >> wskbd1 at ukbd0 mux 1 >> wskbd1: connecting to wsdisplay0 >> uhidev1 at uhub1 port 2 configuration 1 interface 1 "vendor 0x04f3 >> product 0x0103" rev 1.10/1.05 addr 2 >> uhidev1: iclass 3/0, 2 report ids >> uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0 >> uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 >> uhidev2 at uhub2 port 2 configuration 1 interface 0 "Logitech >> Optical USB Mouse" rev 2.00/3.40 addr 2 >> uhidev2: iclass 3/1 >> ums0 at uhidev2: 3 buttons, Z dir >> wsmouse1 at ums0 mux 0 >> softraid0 at root >> root on wd0a swap on wd0b dump on wd0b >> radeondrm0: Setting GART location based on new memory map >> >> From the previous, the iwi0 device is located at >> PCI2, dev 4, with irq 5. >> >> On the other hand, a dmesg on debian will output >> [ 10.538003] ieee80211_crypt: registered algorithm 'NULL' >> [ 10.542520] ieee80211: 802.11 data/management/control stack, >> git-1.1.13 >> [ 10.542573] ieee80211: Copyright (C) 2004-2005 Intel >> Corporation <jketr...@linux.intel.com> >> [ 10.636988] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network >> Driver, 1.2.2kmprq >> [ 10.637049] ipw2200: Copyright(c) 2003-2006 Intel Corporation >> [ 10.637171] ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 18 >> (level, low) -> IRQ 18 >> [ 10.673943] ipw2200: Detected Intel PRO/Wireless 2200BG Network >> Connection >> [ 10.674035] firmware: requesting ipw2200-bss.fw >> [ 10.704639] intel_rng: FWH not detected >> [ 10.756572] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 >> (30-Apr-2008) >> [ 10.756694] iTCO_wdt: Found a ICH4-M TCO device (Version=1, >> TCOBASE=0xe460) >> [ 10.756766] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) >> >> That is, on debian, the irq 18 is used. >> >> For the sake of completeness, the output of iwconfig on debian is: >> >> eth2 IEEE 802.11g ESSID:"my_essid" >> Mode:Managed Frequency:2.437 GHz Access Point: >> 00:18:39:2A:6E:C2 >> Bit Rate:36 Mb/s Tx-Power=20 dBm Sensitivity=8/0 >> Retry limit:7 RTS thr:off Fragment thr:off >> Encryption key:encrypt_key Security mode:open >> Power Management:off >> Link Quality=73/100 Signal level=-55 dBm Noise level=-92 >> dBm >> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 >> Tx excessive retries:0 Invalid misc:0 Missed beacon:1 >> >> and ifconfig on debian: >> >> eth2 Link encap:Ethernet HWaddr 00:12:f0:3c:7e:1b >> inet addr:192.168.1.100 Bcast:192.168.1.255 >> Mask:255.255.255.0 >> inet6 addr: fe80::212:f0ff:fe3c:7e1b/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1 >> RX packets:4432 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:2321 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:2227764 (2.1 MiB) TX bytes:453534 (442.9 KiB) >> Interrupt:18 Base address:0x2000 Memory:feafe000-feafefff >> >> Needless to say, the wireless card works on debian. >> >> Would some kind soul point me in the right direction? >> >> Best regards, >> >> Josi Brandco >> >> >