Determining if a package is installed (regardless of version)

2019-03-26 Thread Adam Steen
Hi All I need to determine if a package is installed, lets use autoconf as an example I can run "pkg_info -mqP" and get back list of packages, i.e. devel/autoconf/2.69 shells/bash sysutils/coreutils x11/dmenu x11/dstat x11/dwm . . . devel/git,-main devel/gmp,-main sysutils/firmware/intel

Re: authentication methods: how do they work?

2019-03-26 Thread Boris Epstein
Thanks. It makes sense to be able to select login methods under some circumstances - but do I have an option of forcing the user to log in using a predetermined set of methods (for instance, password and then a secure key, or password and Yubkey, or password and SSL key)? On Tue, Mar 26, 2019 at

Broadcom BCM4356, bwfm0: could not read io type

2019-03-26 Thread Joel Carnat
Hi, I took my working 6.5-BETA disk out of a ThinkPad X230i and pluggued it in a ThinkPad X260. The system boots ok and I can get an X session. But the wireless card doesn't seem to work. # dmesg bwfm0 at pci2 dev 0 function 0 "Broadcom BCM4356" rev 0x02: msi bwfm_pci_intr: handle MB data

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Jason McIntyre
On Tue, Mar 26, 2019 at 10:45:40PM +0100, J??r??me FRGACIC wrote: > Thanks for all your replies. > > > it means the optcode does alllow or prevent media removal it depends on > > the prevent bits in the cdb but you basically just have a 00 for allow > > or a 01 for prevent in the cdb. Anyway

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Jérôme FRGACIC
Thanks for all your replies. it means the optcode does alllow or prevent media removal it depends on the prevent bits in the cdb but you basically just have a 00 for allow or a 01 for prevent in the cdb. Anyway since sense already told you the request is illegal you have to figure out what

Re: GMA500 drivers

2019-03-26 Thread Mihai Popescu
> The idea was to take the crappy binary blobs from Debian and wrap that into > something decent. > Reading up on OpenBSD driver management however ... Whenever you try to wrap something crappy it still remains crappy and it still smells. Your point, if any, is weird.

Re: authentication methods: how do they work?

2019-03-26 Thread Todd C . Miller
On Tue, 26 Mar 2019 11:11:35 -0400, Daniel Jakots wrote: > On Tue, 26 Mar 2019 10:01:59 -0400, Boris Epstein > wrote: > > > Hello listmates, > > > > Let's say I have the following configured in my /etc/login.conf > > > > auth-defaults:auth=password,skey,yubikey > > > > Would that mean either

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Edgar Pettijohn
On Mar 26, 2019 9:41 AM, Markus Rosjat wrote: > > Hi, > > might not to much help but > > Am 26.03.2019 um 14:57 schrieb Maurice McCarthy: > > I never looked at your dmesg earlier. These lines > > > > cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e > >  SENSE KEY: Illegal

Re: authentication methods: how do they work?

2019-03-26 Thread Daniel Jakots
On Tue, 26 Mar 2019 10:01:59 -0400, Boris Epstein wrote: > Hello listmates, > > Let's say I have the following configured in my /etc/login.conf > > auth-defaults:auth=password,skey,yubikey > > Would that mean either password, or skey, or Yubikey, or should they > all be satisifed? Either.

Re: load balancing outgoing traffic with 4 uplinks

2019-03-26 Thread Thomas Huber
I just read some tutorials and (again) the "Book _great_ Book of PF" and simplified my pf.conf and still everthing works fine: int_if = "{ vlan32, vlan64 }" int_lan = "{ 10.10.10.0/24, 10.64.0.0/10}" table { 0.0.0.0/8 10.0.0.0/8 127.0.0.0/8 169.254.0.0/16 \ 172.16.0.0/12

Re: openbgpd; strip private ASNs from bgp updates

2019-03-26 Thread Denis Fondras
On Tue, Mar 26, 2019 at 02:54:38PM +0100, open...@kene.nu wrote: > Hello, > > Is there a way to make openbgpd strip private ASNs from updates it > sends to certain neighbors? > I am using openbgpd on my edge routers and distribute routes generated > internally to the rest of the world. However,

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Markus Rosjat
sorry it might got a bit confusing Am 26.03.2019 um 15:41 schrieb Markus Rosjat: cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e SENSE KEY: Illegal Request the opcode is for the cdb prevent allow media removal so I assume your hardware got a problem with the cdb send by

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Markus Rosjat
Hi, might not to much help but Am 26.03.2019 um 14:57 schrieb Maurice McCarthy: I never looked at your dmesg earlier. These lines cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e SENSE KEY: Illegal Request the opcode is for the cdb prevent allow media removal so I assume

Re: video decoding and playback in OpenBSD

2019-03-26 Thread Mihai Popescu
On Mon, Mar 25, 2019 at 7:46 PM Alexandre Ratchov wrote: > This surprises me, your CPU doesn't seem that slow. I decided to do more tests after your opinion and I had a nice surprise too. My desktop with video VGA and DP outputs is connected to an 1680x1050 display, with VGA and DVI inputs

authentication methods: how do they work?

2019-03-26 Thread Boris Epstein
Hello listmates, Let's say I have the following configured in my /etc/login.conf auth-defaults:auth=password,skey,yubikey Would that mean either password, or skey, or Yubikey, or should they all be satisifed? Also, is there a way to specify that different users have different requirements as

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Maurice McCarthy
I never looked at your dmesg earlier. These lines cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e SENSE KEY: Illegal Request suggest the Openbsd system finds something wrong with your hardware. I'm not clever enough to speculate further. Sorry.

openbgpd; strip private ASNs from bgp updates

2019-03-26 Thread openbsd
Hello, Is there a way to make openbgpd strip private ASNs from updates it sends to certain neighbors? I am using openbgpd on my edge routers and distribute routes generated internally to the rest of the world. However, the internal routers use private ASNs and this is obviously frowned upon by my

Re: GMA500 drivers

2019-03-26 Thread Normen Wohner
> On 26 Mar 2019, at 13:30, Jonathan Gray wrote: > > > There is no suitably licensed driver to port. And no documentation to > write one from scratch. > I’m not looking to make this an upstream thing. The idea was to take the crappy binary blobs from Debian and wrap that into something

Re: httpd acme-client renew multiple domains

2019-03-26 Thread Markus Rosjat
Hi Mischa, if you like some python i got a small script for multiple domain cert renew on my github. I hope its ok to post the link here https://github.com/rosjat/scripts/blob/master/shell/OpenBSD/acme_renew its nothing fancy and you can modify it for your need or may make it better :)

Re: video decoding and playback in OpenBSD

2019-03-26 Thread Dumitru Moldovan
On Mon, Mar 25, 2019 at 06:05:58PM +0200, Mihai Popescu wrote: Hello, I am trying to find some hardware for an OpenBSD multimedia computer. I plan to attach it on a HDMI TV and play youtube on it, 1080p@30fps or more. No 4K involved. My thinking is to go for an AMD A8-6500 processor, but I am

Re: Documentation request: wscons API

2019-03-26 Thread Leonid Bobrov
On Tue, Mar 26, 2019 at 10:04:02AM +0100, Martin Husemann wrote: > On Tue, Mar 26, 2019 at 10:51:35AM +0200, Leonid Bobrov wrote: > > Hi, dear NetBSD and OpenBSD communities. > > > > I need to work with wscons, but I don't want to guess by examples > > how to work with it, can you please provide

Documentation request: wscons API

2019-03-26 Thread Leonid Bobrov
Hi, dear NetBSD and OpenBSD communities. I need to work with wscons, but I don't want to guess by examples how to work with it, can you please provide documentation for its API?

Re: Is there the ability to read and write raw RAM contents?

2019-03-26 Thread Otto Moerbeek
On Mon, Mar 25, 2019 at 05:26:54PM -0400, Z Ero wrote: > I understand this would be a severe security/stability issue in many > cases but for some applications it would be interesting/useful if one > could dd and grep, etc, RAM on a live system. Is there any way to do > this on OpenBSD? Or is