Re: OpenBSD VMWare ESX with SAN Failover Kernel Panic / Disk Timeout

2016-11-30 Thread Steve Shockley

On 11/29/2016 5:32 AM, Mario Bedenk wrote:

As described in the title, I'm experiencing kernel panics with OpenBSD
6.0 running in VMWare ESX when a SAN Failover happens.


Do you have softdep enabled?  I've had problems with an overloaded SAN 
(high latency) behind ESXi with OpenBSD.  Mine had a different error 
message, though.


https://marc.info/?l=openbsd-misc=142250784228719=2



6.0 thanks

2016-11-30 Thread Jonathan Thornburg
I recently did a fresh install of 6.0 (& immediate CVS-update to -stable)
on a laptop that had been at 5.8-stable.  I've been installing OpenBSD
since 2.8 (fall 2000), and I have to say this was about the cleanest
install yet.  Everything "just works" (even my various non-standard
system hacks).  A big thank-you to all the team!

ciao,
-- 
-- "Jonathan Thornburg [remove -animal to reply]" 

   Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA
   "There was of course no way of knowing whether you were being watched
at any given moment.  How often, or on what system, the Thought Police
plugged in on any individual wire was guesswork.  It was even conceivable
that they watched everybody all the time."  -- George Orwell, "1984"



Re: network address in vm by kvm - default gw

2016-11-30 Thread Aaron Mason
man hostname.if

On Sun, Nov 27, 2016 at 5:22 PM, Max Power  wrote:
> Hi guys,
> Forgive me, but I am not very expert of OpenBSD.
> Guide, about Virtual Host, show examples for all
> Operating System but not for OpenBSD. Stupid OVH!
> This is the FreeBSD 8.0 way:
>
> Contents of the file : /etc/rc.conf
> ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast
> IP.FAIL.OVER"
> static_routes="net1 net2"
> route_net1="-net GATEWAY_VM/32 IP.FAIL.OVER"
> route_net2="default GATEWAY_VM"
>
> I can not understand how/where to set the last 2 line 'route_netX'
> Please, can someone show me how to do in OpenBSD 6.0 adm64...?
>
> Thanks very much for reply.
>



-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



ASLR bypass on OpenBSD

2016-11-30 Thread minek van
Hello, 

older story: 

https://marc.info/?t=14212471776=1=1

what happened since than? 

Was the randomization increased? 

Thank you OpenBSD!



Re: subscribe too mailing lists.

2016-11-30 Thread Joe Nosay
Some of these will bounce because I was foolish and disrespectful; however,
welcome to the OpenBSD and the Open Source community.

On Mon, Nov 28, 2016 at 7:54 AM, leroy jordan 
wrote:

> Hi, All
>
> Hope to learn more info. and one day be a part of the open community.
>
> LeRoy Jordan
> MaxStream TV
> lero...@maxstreamtv.com



Re: 350MHz IBM Intel Pentium II runs 5.9 fine

2016-11-30 Thread BARDOU Pierre
It is quite stable also :)
I love this OS... Congrats to the team for all the good work.

This router is used for etherip, and works flawlessly for more than 5 years
now (and counting).
# uptime
 5:59PM  up 1890 days,  1:02, 1 user, load averages: 0.17, 0.11, 0.09
# cat /var/run/dmesg.boot
OpenBSD 4.9-stable (GENERIC.MP) #0: Wed Sep 28 10:37:22 CEST 2011
r...@rt-t-etherip1.mipih.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 3.60GHz ("GenuineIntel" 686-class) 3.61 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CNXT-ID,C
X16,xTPR
real mem  = 2147000320 (2047MB)
avail mem = 2101714944 (2004MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xec000 (56 entries)
bios0: vendor HP version "P52" date 02/14/2006
bios0: HP ProLiant DL360 G4
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SPCR MCFG APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 3.60GHz ("GenuineIntel" 686-class) 3.61 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CNXT-ID,C
X16,xTPR
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec1, version 20, 24 pins
ioapic1: misconfigured as apic 0, remapped to apid 9
ioapic2 at mainbus0: apid 10 pa 0xfec82000, version 20, 24 pins
ioapic3 at mainbus0: apid 11 pa 0xfec82400, version 20, 24 pins
acpiprt0 at acpi0: bus 1 (IP2P)
acpiprt1 at acpi0: bus 2 (ICHR)
acpiprt2 at acpi0: bus 7 (PCXA)
acpiprt3 at acpi0: bus 10 (PCXB)
acpiprt4 at acpi0: bus 6 (PTB0)
acpiprt5 at acpi0: bus 13 (PTA0)
acpiprt6 at acpi0: bus 3 (PTC0)
acpiprt7 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: FVS, 3600, 3200, 2800 MHz
acpicpu1 at acpi0: FVS, 3600, 3200, 2800 MHz
acpitz0 at acpi0: critical temperature 31 degC
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xcc000/0x1600
0xee000/0x2000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge io address conflict 0x1000/0x3000
pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0c
ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c
pci1 at ppb0 bus 13
ppb1 at pci0 dev 4 function 0 "Intel E7520 PCIE" rev 0x0c
pci2 at ppb1 bus 6
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 7
ppb3 at pci2 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci4 at ppb3 bus 10
ppb4 at pci0 dev 6 function 0 "Intel E7520 PCIE" rev 0x0c
pci5 at ppb4 bus 3
ppb5 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02
pci6 at ppb5 bus 2
ciss0 at pci6 dev 1 function 0 "Compaq Smart Array 64xx" rev 0x01: apic 9 int
0 (irq 5)
ciss0: 1 LD, HW rev 1, FW 2.80/2.80, 64bit fifo
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI2 0/direct fixed
sd0: 34727MB, 512 bytes/sec, 71122560 sec total
bge0 at pci6 dev 2 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): apic 9 int 1 (irq 5), address 00:15:60:ac:ea:1e
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci6 dev 2 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): apic 9 int 2 (irq 5), address 00:15:60:ac:ea:1d
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: apic 8 int 16
(irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 6300ESB USB" rev 0x02: apic 8 int 19
(irq 5)
"Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured
"Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: apic 8 int 23
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x0a
pci7 at ppb6 bus 1
vga1 at pci7 dev 3 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Compaq iLO" rev 0x01 at pci7 dev 4 function 0 not configured
"Compaq iLO" rev 0x01 at pci7 dev 4 function 2 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 6300ESB IDE" rev 0x02: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 

Re: 350MHz IBM Intel Pentium II runs 5.9 fine

2016-11-30 Thread butresin
On 16.11.29Tue 14:12, Craig Skinner wrote:
> 
> real mem  = 200740864 (191MB)
> avail mem = 184385536 (175MB)
...
> spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL3
> spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC100CL3
> spdmem2 at iic0 addr 0x52: 64MB SDRAM ECC PC100CL2
> spdmem3 at iic0 addr 0x55: 1GB DDR2 SDRAM PC2-5000CL5

This is odd.



trouble shooting print errors

2016-11-30 Thread frcc
  I am getting "Broken Pipe" and or "Scheduler not responding"
  when attempting to print from a laser desk printer directly 
  attached to usb.
  OpenBSD 6.0 recognizes the printer in dmesg and when plugged
  into the usb port.

  I have been running OpenBSD for several years but never tried
  to attach a printer. 

  I also have downloaded a cups ppd driver for the printer and
  placed it in the cups ppd directory.

  If someone can just point me where to research these errors
  I should be able to determine the cause and maybe get the
  brother HL2140 directly attached usb  printer working.

  I see no error messages in dmesg which relate to printing.


  Thanks in advance.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stephane HUC "CIOTBSD"
It seems Ralink chips supports Host AP!

http://man.openbsd.org/OpenBSD-current/man4/ral.4


Le 11/30/16 à 14:01, Stephane HUC "CIOTBSD" a écrit :
> It seems few atheros support HostAP mode:
> 
> http://man.openbsd.org/OpenBSD-current/man4/athn.4
> 
> AR9380 is too recent!? (and not supported by OBSD, at this time)
> 
> Le 11/30/16 à 13:38, Stefan Sperling a écrit :
>> On Wed, Nov 30, 2016 at 12:07:55PM +, C. L. Martinez wrote:
>>> Ok, I have found a good candidate: TP-LINK TL-WDN4800. According to 
>>> TP-Link's webpage uses an Atheros AR9380 chip. But, under athn(4) OpenBSD's 
>>> man page, this chip doesn't appears for OpenBSD 6.0 ... but it appears 
>>> under OpenBSD's 4.9 changelog: https://www.openbsd.org/plus49.html. Then, 
>>> is it supported or not?
>>>
>>> Thanks.
>>
>> AR9380 is not supported.
>> There is some code for these chips in CVS but it is incomplete and disabled.
>>
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinPdt or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stephane HUC "CIOTBSD"
It seems few atheros support HostAP mode:

http://man.openbsd.org/OpenBSD-current/man4/athn.4

AR9380 is too recent!? (and not supported by OBSD, at this time)

Le 11/30/16 à 13:38, Stefan Sperling a écrit :
> On Wed, Nov 30, 2016 at 12:07:55PM +, C. L. Martinez wrote:
>> Ok, I have found a good candidate: TP-LINK TL-WDN4800. According to 
>> TP-Link's webpage uses an Atheros AR9380 chip. But, under athn(4) OpenBSD's 
>> man page, this chip doesn't appears for OpenBSD 6.0 ... but it appears under 
>> OpenBSD's 4.9 changelog: https://www.openbsd.org/plus49.html. Then, is it 
>> supported or not?
>>
>> Thanks.
> 
> AR9380 is not supported.
> There is some code for these chips in CVS but it is incomplete and disabled.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinPdt or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stephane HUC "CIOTBSD"
Ok, sorry.

After searching about HostAP, as:
https://w1.fi/hostapd/

It seems Prism Chips run:
http://man.openbsd.org/OpenBSD-current/man4/wi.4
Quote: Host AP
In this mode the driver acts as an access point (base station) for
other cards. Only cards based on the Intersil chipsets support this
mode. Furthermore, this mode is not supported on USB devices.

See the list ;)

Le 11/30/16 à 13:36, Stefan Sperling a écrit :
> On Wed, Nov 30, 2016 at 01:22:11PM +0100, Stephane HUC "CIOTBSD" wrote:
>> Better use:
>>
>> - TP-Link TL-WDN3200 - run(4)
>> - TP-Link TL-WN723N v3 - urtwn(4)
>> - TP-Link TL-WN725N v2 - urtwn(4) <= i've this, and run correctly! (usb
>> dongle)
>> - TP-Link TL-WN727N v3 - run(4)
>> - TP-Link TL-WN821N v1 - otus(4), or v4 - urtwn(4)
>>
>> See: http://man.openbsd.org/?query=wireless=1
> 
> But none of these drivers support hostap mode.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinPdt or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stefan Sperling
On Wed, Nov 30, 2016 at 12:07:55PM +, C. L. Martinez wrote:
> Ok, I have found a good candidate: TP-LINK TL-WDN4800. According to TP-Link's 
> webpage uses an Atheros AR9380 chip. But, under athn(4) OpenBSD's man page, 
> this chip doesn't appears for OpenBSD 6.0 ... but it appears under OpenBSD's 
> 4.9 changelog: https://www.openbsd.org/plus49.html. Then, is it supported or 
> not?
> 
> Thanks.

AR9380 is not supported.
There is some code for these chips in CVS but it is incomplete and disabled.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stefan Sperling
On Wed, Nov 30, 2016 at 01:22:11PM +0100, Stephane HUC "CIOTBSD" wrote:
> Better use:
> 
> - TP-Link TL-WDN3200 - run(4)
> - TP-Link TL-WN723N v3 - urtwn(4)
> - TP-Link TL-WN725N v2 - urtwn(4) <= i've this, and run correctly! (usb
> dongle)
> - TP-Link TL-WN727N v3 - run(4)
> - TP-Link TL-WN821N v1 - otus(4), or v4 - urtwn(4)
> 
> See: http://man.openbsd.org/?query=wireless=1

But none of these drivers support hostap mode.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stephane HUC "CIOTBSD"
Better use:

- TP-Link TL-WDN3200 - run(4)
- TP-Link TL-WN723N v3 - urtwn(4)
- TP-Link TL-WN725N v2 - urtwn(4) <= i've this, and run correctly! (usb
dongle)
- TP-Link TL-WN727N v3 - run(4)
- TP-Link TL-WN821N v1 - otus(4), or v4 - urtwn(4)

See: http://man.openbsd.org/?query=wireless=1


Le 11/30/16 à 13:07, C. L. Martinez a écrit :
> On Wed 30.Nov'16 at 11:44:13 +0100, Stefan Sperling wrote:
>> On Wed, Nov 30, 2016 at 10:12:32AM +, C. L. Martinez wrote:
>>> I have discoverd that Asus AC88 AC3100 uses BCM4366 chip, but if I am not 
>>> wrong this chip is not supported under OpenBSD, is it right?
>>
>> Indeed, BCM4366 won't work.
>>
>> There are many Atheros AR9280 devices on sites such as ebay.
>> And some vendors like pcengines still sell cards with this chip.
>> You could also search for other chip names listed in the athn(4) man page.
> 
> Ok, I have found a good candidate: TP-LINK TL-WDN4800. According to TP-Link's 
> webpage uses an Atheros AR9380 chip. But, under athn(4) OpenBSD's man page, 
> this chip doesn't appears for OpenBSD 6.0 ... but it appears under OpenBSD's 
> 4.9 changelog: https://www.openbsd.org/plus49.html. Then, is it supported or 
> not?
> 
> Thanks.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinPdt or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread C. L. Martinez
On Wed 30.Nov'16 at 11:44:13 +0100, Stefan Sperling wrote:
> On Wed, Nov 30, 2016 at 10:12:32AM +, C. L. Martinez wrote:
> > I have discoverd that Asus AC88 AC3100 uses BCM4366 chip, but if I am not 
> > wrong this chip is not supported under OpenBSD, is it right?
> 
> Indeed, BCM4366 won't work.
> 
> There are many Atheros AR9280 devices on sites such as ebay.
> And some vendors like pcengines still sell cards with this chip.
> You could also search for other chip names listed in the athn(4) man page.

Ok, I have found a good candidate: TP-LINK TL-WDN4800. According to TP-Link's 
webpage uses an Atheros AR9380 chip. But, under athn(4) OpenBSD's man page, 
this chip doesn't appears for OpenBSD 6.0 ... but it appears under OpenBSD's 
4.9 changelog: https://www.openbsd.org/plus49.html. Then, is it supported or 
not?

Thanks.

-- 
Greetings,
C. L. Martinez



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stefan Sperling
On Wed, Nov 30, 2016 at 10:12:32AM +, C. L. Martinez wrote:
> I have discoverd that Asus AC88 AC3100 uses BCM4366 chip, but if I am not 
> wrong this chip is not supported under OpenBSD, is it right?

Indeed, BCM4366 won't work.

There are many Atheros AR9280 devices on sites such as ebay.
And some vendors like pcengines still sell cards with this chip.
You could also search for other chip names listed in the athn(4) man page.



dhcpd yacc parser

2016-11-30 Thread Jan Stary
https://www.google-melange.com/archive/gsoc/2014/orgs/openbsdfoundation/projects/gduchene.html

Did anything come out of this please?
dhcpd seems to use a handrolled parse.c

Jan



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread C. L. Martinez
On Wed 30.Nov'16 at 10:26:32 +0100, Peter N. M. Hansteen wrote:
> On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote:
> >  I would like to install OpenBSD on a HP Microserver Gen8 to act as a 
> > firewall and hostap. I am searching what components I need and I have a 
> > doubt about what wireless interface I need to buy to use it as a hostap 
> > under OpenBSD.
> 
> The Microserver Gen8s are really nice machines for the application you 
> describe, once you set the disk controller to something sensible (as 
> previously reported). 
> 
> When it comes to your primary question I don't have a good answer, but in 
> case those boards are not suppurted it's worth keeping in mind one other 
> option: get the highest quality access point or 'wireless router' you can 
> afford, configure it as access point only (no dhcp or routing, leave that to 
> the OpenBSD tools)
> 
 I agree. Microserver Gen8 is a fantastic box to deploy this type of scenarios. 
My idea is to buy a SSD drive, configure this harddisk as RAID0 in B120i and 
fire up OpenBSD ..

 I prefer to avoid to buy an access point. I can wait best support and data 
rates from OpenBSD side in future releases ...

-- 
Greetings,
C. L. Martinez



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread C. L. Martinez
On Wed 30.Nov'16 at 10:04:25 +0100, Stefan Sperling wrote:
> On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote:
> > Hi all,
> > 
> >  I would like to install OpenBSD on a HP Microserver Gen8 to act as a 
> > firewall and hostap. I am searching what components I need and I have a 
> > doubt about what wireless interface I need to buy to use it as a hostap 
> > under OpenBSD.
> > 
> >  I have found only these:
> > 
> >  - Asus PCE-AC88 Wireless 5GHz PCI-E AC3100
> >  - Asus PCE-AC68 PCI-E WiFi Dual-Band AC1900
> > 
> >  Searching in ASUS's web, I didn't find any info about what chip use these 
> > adapters. Are they supported under OpenBSD? Do you recommend any other 
> > wireless adpater (PCI-e)?? Throughput needs to be 300 Mbps, at least.
> > 
> > Thanks.
> 
> I'm afraid you won't get 300 Mbps from any wifi device on OpenBSD.
> Our 802.11n support is still in very early stages.
> 
> The best access point OpenBSD can offer uses obsolete AR9280 Atheros
> hardware with 802.11a data rates (theoretical maximum 54Mbit/s).
> 802.11n is not yet supported by any driver which has hostap support.
> 
> For your kinds of requirements, the best solution is an external
> access point connected to your OpenBSD box with gigabit ethernet.

Many thanks Stefan and Ze for your answers. But thinking about it maybe it is a 
good idea to limit throughput to 150Mbps or less at this first stage. I can 
wait until OpenBSD will support more data rates.

I have discoverd that Asus AC88 AC3100 uses BCM4366 chip, but if I am not wrong 
this chip is not supported under OpenBSD, is it right?

Thanks.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Peter N. M. Hansteen
On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote:
>  I would like to install OpenBSD on a HP Microserver Gen8 to act as a 
> firewall and hostap. I am searching what components I need and I have a doubt 
> about what wireless interface I need to buy to use it as a hostap under 
> OpenBSD.

The Microserver Gen8s are really nice machines for the application you 
describe, once you set the disk controller to something sensible (as previously 
reported). 

When it comes to your primary question I don't have a good answer, but in case 
those boards are not suppurted it's worth keeping in mind one other option: get 
the highest quality access point or 'wireless router' you can afford, configure 
it as access point only (no dhcp or routing, leave that to the OpenBSD tools)

- Peter
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stefan Sperling
On Wed, Nov 30, 2016 at 09:00:58AM +, Zé Loff wrote:
> From (at least) iwn(4) and iwm(4): 
> 
>   802.11n operation is currently limited to data rates MCS 0 to MCS 7
> 
> Which means you'll get at most 150Mbps with a 40 MHz channel under
> perfect conditions.

Well, given the lack of 40Mhz channel support, the best we can do in
theory is 72.2 Mbit/s (20 MHz channel with SGI, see mcsindex.com).
But since we don't support Tx aggregation yet either, protocol overhead
eats up a huge chunk of that.

The peak iwm(4) Tx rate I have measured with tcpbench(1) is about 20 Mbps.
Receive can be faster because 11n APs usually send aggregated frames and
we do support receiving such frames.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Stefan Sperling
On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote:
> Hi all,
> 
>  I would like to install OpenBSD on a HP Microserver Gen8 to act as a 
> firewall and hostap. I am searching what components I need and I have a doubt 
> about what wireless interface I need to buy to use it as a hostap under 
> OpenBSD.
> 
>  I have found only these:
> 
>  - Asus PCE-AC88 Wireless 5GHz PCI-E AC3100
>  - Asus PCE-AC68 PCI-E WiFi Dual-Band AC1900
> 
>  Searching in ASUS's web, I didn't find any info about what chip use these 
> adapters. Are they supported under OpenBSD? Do you recommend any other 
> wireless adpater (PCI-e)?? Throughput needs to be 300 Mbps, at least.
> 
> Thanks.

I'm afraid you won't get 300 Mbps from any wifi device on OpenBSD.
Our 802.11n support is still in very early stages.

The best access point OpenBSD can offer uses obsolete AR9280 Atheros
hardware with 802.11a data rates (theoretical maximum 54Mbit/s).
802.11n is not yet supported by any driver which has hostap support.

For your kinds of requirements, the best solution is an external
access point connected to your OpenBSD box with gigabit ethernet.



Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Zé Loff
On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote:
> Hi all,
> 
>  I would like to install OpenBSD on a HP Microserver Gen8 to act as a
>  firewall and hostap. I am searching what components I need and I have
>  a doubt about what wireless interface I need to buy to use it as a
>  hostap under OpenBSD.
> 
>  I have found only these:
> 
>  - Asus PCE-AC88 Wireless 5GHz PCI-E AC3100
>  - Asus PCE-AC68 PCI-E WiFi Dual-Band AC1900
> 
>  Searching in ASUS's web, I didn't find any info about what chip use
>  these adapters. Are they supported under OpenBSD? Do you recommend
>  any other wireless adpater (PCI-e)?? Throughput needs to be 300 Mbps,
>  at least.

>From (at least) iwn(4) and iwm(4): 

  802.11n operation is currently limited to data rates MCS 0 to MCS 7

Which means you'll get at most 150Mbps with a 40 MHz channel under
perfect conditions.  If you want that kind of bandwidth (actually, even
if you don't) I'd advise getting a dedicated access point or a wi-fi
router that you can configure as such.

Cheers
Zé

> 
> Thanks.
> 
> -- 
> Greetings,
> C. L. Martinez
> 

-- 



PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread C. L. Martinez
Hi all,

 I would like to install OpenBSD on a HP Microserver Gen8 to act as a firewall 
and hostap. I am searching what components I need and I have a doubt about what 
wireless interface I need to buy to use it as a hostap under OpenBSD.

 I have found only these:

 - Asus PCE-AC88 Wireless 5GHz PCI-E AC3100
 - Asus PCE-AC68 PCI-E WiFi Dual-Band AC1900

 Searching in ASUS's web, I didn't find any info about what chip use these 
adapters. Are they supported under OpenBSD? Do you recommend any other wireless 
adpater (PCI-e)?? Throughput needs to be 300 Mbps, at least.

Thanks.

-- 
Greetings,
C. L. Martinez