my soekris 4801 with either a wistrom CM9 or senao 400mW miniPCI card & ath chipset are not putting out as much grunt under OpenBSD as under FreeBSD/pfSense, at least according to my end users in the downstairs flat :-)

2 questions:
is there anything simple that could quantify the power, e.g. using some feature of ports@ or openbsd?

is there anything further i could do to boost up the range? other than the 2nd aerial which has definitely helped... at least anecdotally?

$ ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0b:6b:4e:84:27
        groups: wlan
        media: IEEE802.11 autoselect hostap
        status: active
        ieee80211: nwid xxxxx chan 1 bssid 00:0b:6b:4e:84:27
        inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
        inet6 fe80::20b:6bff:fe4e:8427%ath0 prefixlen 64 scopeid 0x4

$ cat /etc/hostname.ath0
        inet 172.16.0.1 0xffffff00 NONE \
        media autoselect mediaopt hostap nwid xxxxx  -bssid -chan
        up

lastly i got a panic (something new to me) while ifconfig up'ing ath0 with various parameters. i think this should be repeatable, so i'll read through http://www.openbsd.org/report.html when i have time & come back with something more concrete; at least here it's not going to get lost/forgotten.

panic: ieee80211_newstate: bogus xmit rate 7 setup

Starting stack trace...
panic(d0bd7000,dac37960,d0bd6030,1,d0bd6030) at panic+0x71
panic(d06835ed,d068360c,7,919f7,d3d3ec00) at panic+0x71
ieee80211_rssadapt_choose(d0bd6030,4,ffffffff,919f7) at ieee80211_rssadapt_choose
ath_newstate(d0bd6030,4,ffffffff,fff30064,30) at ath_newstate+0x181
ieee80211_create_ibss(d0bd6030,d0bd6292,d08ace04,d03a09d3,d3d3ec00) at ieee80211_create_ibss+0x11b ieee80211_end_scan(d0bd6030,a012,d0be6980,d08ace04) at ieee80211_end_scan+0x21e
ath_next_scan(d0bd6000,d0b53d00,0,d08ab000,0) at ath_next_scan+0x3d
softclock(d0200058,d08a0010,10,d08a0010,d08ab000) at softclock+0x22c
Bad frame pointer: 0xd08ace24
End of stack trace.


dmesg:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
    [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  = 133787648 (130652K)
avail mem = 114675712 (111988K)
using 1663 buffers containing 6811648 bytes (6652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 20/50/29, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Cyrix GXm PCI" rev 0x00
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c5:37:30
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c5:37:31
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 10, address 00:00:24:c5:37:32
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
ath0 at pci0 dev 14 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:4e:84:27
gscpcib0 at pci0 dev 18 function 0 "NS SC1100 ISA" rev 0x00
gpio0 at gscpcib0: 64 pins
"NS SC1100 SMI" 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: <TOSHIBA THNCF512MMA>
wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 2
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 5, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at gscpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
gscsio0 at isa0 port 0x15c/2: SC1100 SIO rev 1:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f3e5 netmask ffe5 ttymask ffe7
pctr: no performance counters in CPU
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Reply via email to