Jonathan Weiss wrote:

Jonathan Weiss wrote:

Cheers,

I have a Problem with a WRAP board (dmesg attached) and a MiniPCI WLAN card.
The card is a Wistron CM9. My /etc/hostname.ath0 looks like this:

#cat /etc/hostname.ath
inet 192.168.1.1 255.255.255.0 NONE media autoselect \
mediaopt hostap nwid wrap chan 11

#ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
      address: 00:0b:6b:35:b0:1b
      ieee80211: nwid wrap chan 11 bssid 00:0b:6b:35:b0:1b
      media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap)
      status: active
      inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
      inet6 fe80::20b:6bff:fe35:b01b%ath0 prefixlen 64 scopeid 0x1

But I cannot join the network and also cannot see it with a WLAN-scanner
(Kismac on a PowerBook with OS X).

Lately there have been some reports about problems with WRAP/ath/OpenBSD.

Does ath in hostap mode works in 3.7 or do I have to upgrade to current?

I am still getting *my* feet wet with wireless in OpenBSD, but the ath
device in my ThinkPad required that I update to -current (per Theo's
suggestion).  After that, I haven't had any problems with joining
networks or creating them.  I just tested setting up a network with the
ThinkPad and it worked fine.  I last updated Sunday, so I imagine it
still works.


I upgraded to Current:
OpenBSD 3.7-current (GENERIC) #214: Thu Jun 30 11:43:53 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133804032 (130668K)
avail mem = 115535872 (112828K)

But still, no wireless network and I now get this:
# wicontrol ath0 wicontrol: SIOCGWAVELAN (0xfd0b): Invalid argument


Why are you using "wicontrol"?

man wicontrol:

"The wicontrol command controls the operation of WaveLAN/IEEE wireless networking devices via the wi(4) and awi(4) drivers."

you are using an ath device not awi or wi. Also, use ifconfig to control athX in configuring it for host-based AP mode. Look at the end of "man ath" and you will find very good instructions on how to do so.

Steve Fettig

With 3.7 I got no error.
--
Jonathan Weiss
[EMAIL PROTECTED]
http://blog.innerewut.de


Steve Fettig


Greets,
Jonathan

---------------------------
OpenBSD 3.7-current (GENERIC) #214: Thu Jun 30 11:43:53 MDT 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by National Semi ("Geode by NSC"
586-class) 267 MHz
cpu0: FPU,TSC,MSR,CX8,CMOV,MMX
cpu0: TSC disabled
real mem  = 133804032 (130668K)
avail mem = 115535872 (112828K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(fa) BIOS, date 05/02/05, BIOS32 rev. 0 @ 0xfc5f2
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
ath0 at pci0 dev 13 function 0 "Atheros AR5212" rev 0x01: irq 12
ath0: AR5212 5.9 phy 4.3 rf5112 3.6, FCC1A, address 00:0b:6b:35:b0:1b
sis0 at pci0 dev 14 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq
10, address 00:0d:b9:01:92:d0
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 15 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq
9, address 00:0d:b9:01:92:d1
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 16 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq
11, address 00:0d:b9:01:92:d2
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI/ACPI" rev 0x00 at pci0 dev 18 function 1 not configured
pciide0 at pci0 dev 18 function 2 "NS SCx200 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SAMSUNG CF/ATA>
wd0: 1-sector PIO, LBA, 497MB, 1018080 sectors
wd0(pciide0:0:0): using PIO mode 4
"NS SCx200 AUDIO" rev 0x00 at pci0 dev 18 function 3 not configured
geodesc0 at pci0 dev 18 function 5 "NS SC1100 X-Bus" rev 0x00: iid 6
revision 3 wdstatus 0
ohci0 at pci0 dev 19 function 0 "Compaq USB OpenHost" rev 0x08: irq 9,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at gscpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
gscsio0 at isa0 port 0x2e/2: SC1100 SIO rev 1: ACB1 ACB2
iic0 at gscsio0
iic1 at gscsio0
lmtemp0 at iic1 addr 0x48: LM77
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask e3ef netmask ffef ttymask ffef
pctr: no performance counters in CPU
nvram: invalid checksum
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
clock: unknown CMOS layout

Reply via email to