Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Quartz
is seeing as I'm unlikely to get any more than "up to" 76Mbps from my ISP's fibre anyway, Effectively any hardware that still boots will work as a home router. A 500mhz Pentium III with 64mb ram can handle a 100mbps connection without breaking a sweat. Decide what you want to do about a

Re: urtwn driver has problems

2015-09-20 Thread Peter Hessler
On 2015 Sep 19 (Sat) at 20:26:02 + (+), Alexey Suslikov wrote: :Stuart Henderson spacehopper.org> writes: : :> On 2015-09-18, Alexey Suslikov gmail.com> wrote: :> > I think you should try 5.8, there was stability fixes in urtwn(4). :> :> 5.8 hasn't been released yet. : :How about

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Mark Carroll
Many helpful replies so quickly, thank you. It looks like I should plan to spend more and stick with x86 if it's so much better supported. The mention of Mini-Box rang a bell as I used to have an M200 that worked well. I try to avoid diversity in both hardware and software so, if I'm spending a

Re: urtwn driver has problems

2015-09-20 Thread Alexey Suslikov
Peter Hessler theapt.org> writes: > > On 2015 Sep 19 (Sat) at 20:26:02 + (+), Alexey Suslikov wrote: > :Stuart Henderson spacehopper.org> writes: > : > :> On 2015-09-18, Alexey Suslikov gmail.com> wrote: > :> > I think you should try 5.8, there was stability fixes in urtwn(4). > :>

Re: multiple headphone sockets and sndiod on Lenovo M83/Tiny-in-One 23

2015-09-20 Thread Alexandre Ratchov
On Sun, Sep 20, 2015 at 04:43:09AM +, mark hellewell wrote: > On Sat, 19 Sep 2015 at 18:37 Remco wrote: > > > You've got 3 separate audio devices, azalia0, azalia1 and uaudio0. > > azalia0: probably HDMI audio which isn't supported yet AFAICT > > azalia1: on-board audio

Re: tame(2) will by pass systrace rules

2015-09-20 Thread Sebastien Marie
On Sun, Sep 20, 2015 at 03:28:41PM +0800, johnw wrote: > Hi all, > > I run my program will systrace, I noticed the program can by pass systrace, > If I add the tame(2) call to my program. > Hi John, Yes, it is the expected behaviour than when a program call tame(2), systrace(4) usage in this

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Karel Gardas
On Sun, Sep 20, 2015 at 3:33 AM, Predrag Punosevac wrote: > 1. I don't like diversity at home so OpenBSD would be the first choice. > 4TB HDD are cheap enough and I could mirror (RAID 1) all my personal > data on two of them. There are two options for mirroring. Either use

tame(2) will by pass systrace rules

2015-09-20 Thread johnw
Hi all, I run my program will systrace, I noticed the program can by pass systrace, If I add the tame(2) call to my program. my program will connect to inet, if I run my program will systrace, I need to add systrace rule like this "native-connect: permit", I noticed, if I add the

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Quernus
I faced a similar conundrum and in the end went for an HP Microserver G8. They have 4 sata bays, plus as card slot. They have USB3. ILO remote management. Very quiet and cheap. I pimped mine up a bit with more memory and a CPU supporting VT-d:

Re: audio codec RealTek ALC3263

2015-09-20 Thread Remi Locherer
On Sun, Sep 20, 2015 at 08:17:59AM +0200, Remi Locherer wrote: > On Sat, Sep 19, 2015 at 07:26:56PM -0400, Bryan Steele wrote: > > On Sat, Sep 19, 2015 at 06:44:13PM -0400, Bryan Steele wrote: > > > On Sat, Sep 19, 2015 at 02:38:02PM +0200, Remi Locherer wrote: > > > > Hi > > > > > > > > My Dell

Re: rc.shutdown powerdown

2015-09-20 Thread Fred
On 09/20/15 20:58, Quartz wrote: Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down should be added to this file. If

Re: speedup shutdown

2015-09-20 Thread Philip Guenther
On Sun, Sep 20, 2015 at 1:45 PM, Matthew Martin wrote: > On Sep 20, 2015 3:12 PM, "Quartz" wrote: >> >> I have a machine where tapping the front panel power button correctly > halts and powers off the machine however there's a solid 10 second

Re: update/upgrade

2015-09-20 Thread Nick Holland
On 09/20/15 20:34, Quartz wrote: >> You do that part on a bigger box, build releases there, and use >> these to update the low power devices. > > That doesn't really help the situation. These machines don't have > identical setups so you'd still have to do a lot of manual merging > and/or write

Re: speedup shutdown

2015-09-20 Thread Philip Guenther
Oops, I misdescribed init's waiting behavior: On Sun, Sep 20, 2015 at 5:59 PM, Philip Guenther wrote: ... > For power off via button, init runs "sh /etc/rc shutdown", then sends > all processes a SIGHUP, then waits 5 seconds. If there are any > processes still alive it'll

Re: speedup shutdown

2015-09-20 Thread Quartz
So, slow /etc/rc.d/* script delaying the /etc/rc shutdown step? Or do you have some daemon which isn't killed by its rc.d script, nor by SIGHUP, thus requiring SIGTERM and at least 10 seconds? This is a test system and it's pretty stock right now. Aside from the standard services like pf and

Re: speedup shutdown

2015-09-20 Thread Philip Guenther
On Sun, Sep 20, 2015 at 6:12 PM, Quartz wrote: >> So, slow /etc/rc.d/* script delaying the /etc/rc shutdown step? Or do >> you have some daemon which isn't killed by its rc.d script, nor by >> SIGHUP, thus requiring SIGTERM and at least 10 seconds? > > This is a test

Re: OT: Exists some problem with dnscrypt-proxy package?

2015-09-20 Thread frederick w. soucy
On 2015.09.20, C.L. Martinez wrote: > Hi all, > > I have installed an openbsd 5.7 VM today to do some tests with pf rules. > One of the components to I need to enable in this gateway is > unbound+dnscrypt-proxy. > > I have configured forwarding in unbound.conf: > > forward-zone: >

Re: Suspend Hangs ThinkPad T450s

2015-09-20 Thread Mark Kettenis
> From: Aaron Poffenberger > Date: Sun, 20 Sep 2015 16:39:54 -0500 > > Another issue I noted in the ThinkPad dmesg. Pulling out as separate > request for reference sake. > > Suspending now hangs system > - X11 disables correctly and screen goes dark > - Light on power

Re: update/upgrade

2015-09-20 Thread Quartz
You do that part on a bigger box, build releases there, and use these to update the low power devices. That doesn't really help the situation. These machines don't have identical setups so you'd still have to do a lot of manual merging and/or write and maintain a library of custom merge

Re: update/upgrade

2015-09-20 Thread Quartz
As it was already stated in @misc, I don't think I got that message. (?) mtier is probably as safe as relying on openbsd code. I'm not worried so much about safety in the sense of compromised code, but rather the practicalities of setting up a workflow that depends on something that can

Re: speedup shutdown

2015-09-20 Thread Quartz
For power off via button, init runs "sh /etc/rc shutdown", then sends all processes a SIGHUP, then waits 5 seconds. If there are any processes still alive it'll send SIGTERM and wait another 5 seconds. If any are still alive at that point it'll send'em all SIGKILL and wait another 5 seconds.

TEXTODROIT SERVICES

2015-09-20 Thread Textodroit Services
Textodroit Services toujours au service de la communauté / Textodroit Services always helping the community: textodr...@gmail.com Vous ne voyez pas ce message ? *Ouvrir dans un navigateur*

Re: audio codec RealTek ALC3263

2015-09-20 Thread Alexandre Ratchov
On Sat, Sep 19, 2015 at 10:59:53PM +0200, Remi Locherer wrote: > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi > azalia_reset: resetting > azalia_reset: reset counter = 5000 > azalia_reset: reset counter = 5000 > azalia0: host: High Definition Audio rev. 1.0 > azalia0:

Re: mini itx from intel

2015-09-20 Thread fRANz
On Sun, Sep 20, 2015 at 2:50 PM, frantisek holop wrote: > does anyone happen to have any of these? > http://www.intel.com/content/www/us/en/nuc/nuc-comparison.html > plz send dmesg if possible. Hello, I've got a D34010WYK, fully functional for me: OpenBSD 5.6 (GENERIC.MP)

Re: mini itx from intel

2015-09-20 Thread ludovic coues
2015-09-20 14:50 GMT+02:00 frantisek holop : > does anyone happen to have any of these? > http://www.intel.com/content/www/us/en/nuc/nuc-comparison.html > > plz send dmesg if possible. Here is a dmesg for my DN2820FYKH OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015

mini itx from intel

2015-09-20 Thread frantisek holop
does anyone happen to have any of these? http://www.intel.com/content/www/us/en/nuc/nuc-comparison.html plz send dmesg if possible. -f -- loose lips sinks ships

Re: doas as root with /sbin/shutdown + related conf syntax query

2015-09-20 Thread Theo Buehler
On Sat, Sep 19, 2015 at 02:19:19PM +0100, Toby Slight wrote: > I'm trying to let my user shutdown, reboot and suspend the computer without > entering a password. This is my doas.conf: > > permit keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel > permit nopass toby as root cmd /sbin/shutdown > permit

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread lists
On Sun, 20 Sep 2015 10:23:13 +0100 Mark Carroll wrote: > Many helpful replies so quickly, thank you. It looks like I should plan > to spend more and stick with x86 if it's so much better supported. The > mention of Mini-Box rang a bell as I used to have an M200 that worked > well.

Re: update/upgrade

2015-09-20 Thread Nick Holland
On 09/20/15 21:36, Quartz wrote: >> You think the master builds are done on a machine that is identical to >> yours at home? > > Obviously not, but that doesn't have any bearing on what I said. you rejected the right answer for wrong reasons, so what you said was unclear at best. >> Build a

Re: speedup shutdown

2015-09-20 Thread Philip Guenther
On Sun, Sep 20, 2015 at 7:24 PM, Quartz wrote: ... >> "time sh /etc/rc shutdown". See what's still running. kill -HUP everything >>> except init and your session and see what's still running 5 seconds >>> later. Hmm, you truncated the suggested steps... >> OK I'll try

Re: update/upgrade

2015-09-20 Thread Josh Grosse
On Sun, Sep 20, 2015 at 10:36:12PM -0400, Quartz wrote: > >Does your embedded storage run NOR/NAND or something like SDHC Memory > >Cards? > > > >If your systems are running SDHC you can easily create clones with a > >laptop& the DD utility. > > A couple of them do, but it doesn't matter in this

Re: speedup shutdown

2015-09-20 Thread Quartz
Hmm? How about replicate the process and observe the results? Well, I wasn't sure if that was the exact/entire process or just a summary. "time sh /etc/rc shutdown". See what's still running. kill -HUP everything except init and your session and see what's still running 5 seconds later. OK

Re: update/upgrade

2015-09-20 Thread Quartz
"world" as you appear to be using it isn't an OpenBSDism, ugh. You're right, you're right... I'm also managing several FreeBSD projects and I'm getting things mixed up. Let me go through the man pages again and try to sort things out in my head.

Re: update/upgrade

2015-09-20 Thread Rob Pierce
On Sun, Sep 20, 2015 at 10:36:12PM -0400, Quartz wrote: > >Does your embedded storage run NOR/NAND or something like SDHC Memory > >Cards? > > > >If your systems are running SDHC you can easily create clones with a > >laptop& the DD utility. > > A couple of them do, but it doesn't matter in this

Re: speedup shutdown

2015-09-20 Thread Quartz
Hmm? How about replicate the process and observe the results? Well, I wasn't sure if that was the exact/entire process or just a summary. "time sh /etc/rc shutdown". See what's still running. kill -HUP everything except init and your session and see what's still running 5 seconds later.

Re: update/upgrade

2015-09-20 Thread Quartz
Does your embedded storage run NOR/NAND or something like SDHC Memory Cards? If your systems are running SDHC you can easily create clones with a laptop& the DD utility. A couple of them do, but it doesn't matter in this case. The main issue with compiling is that it can effectively knock

Re: speedup shutdown

2015-09-20 Thread Quartz
"time sh /etc/rc shutdown". See what's still running. kill -HUP everything except init and your session and see what's still running 5 seconds later. Hmm, you truncated the suggested steps... You wrote: "Hmm? How about replicate the process and observe the results? "time sh /etc/rc

Re: update/upgrade

2015-09-20 Thread Quartz
You think the master builds are done on a machine that is identical to yours at home? Obviously not, but that doesn't have any bearing on what I said. Build a -stable release on a same platform faster machine. Now unpack the .tgz files on the target machines, copy in /bsd, /bsd.rd, reboot.

Re: update/upgrade

2015-09-20 Thread Josh Grosse
On Sun, Sep 20, 2015 at 09:36:55PM -0400, Quartz wrote: > >You think the master builds are done on a machine that is identical to > >yours at home? > > Obviously not, but that doesn't have any bearing on what I said. > > > >Build a -stable release on a same platform faster machine. Now unpack

Re: update/upgrade

2015-09-20 Thread Patrick Dohman
> On Sep 20, 2015, at 3:49 PM, Quartz wrote: > > We have a bunch of low power embedded devices that we'd like to keep > reasonably up to date, but the disk space and cpu overhead of tracking > -stable is kind of a nonstarter. Is there another/better way of doing things

Re: update/upgrade

2015-09-20 Thread Quartz
If availability is critical you might consider redundancy with CARP/pfsync. It's not critical enough to be worth dealing that. Going down for like 15 minutes is fine, but most of a day is not. In a perfect world we're looking for an update mechanism similar in speed and ease to other OSs

Re: speedup shutdown

2015-09-20 Thread Philip Guenther
On Sun, Sep 20, 2015 at 8:10 PM, Quartz wrote: "time sh /etc/rc shutdown". See what's still running. kill -HUP everything > > except init and your session and see what's still running 5 seconds > later. >> >> >> Hmm, you truncated the suggested

update/upgrade

2015-09-20 Thread Quartz
We have a bunch of low power embedded devices that we'd like to keep reasonably up to date, but the disk space and cpu overhead of tracking -stable is kind of a nonstarter. Is there another/better way of doing things these days? (Other than applying dozens of patches manually).

Re: rc.shutdown powerdown

2015-09-20 Thread Fred
On 09/20/15 21:44, Quartz wrote: On Sep 20 4:36 PM, Fred wrote: On 09/20/15 20:58, Quartz wrote: Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want

Re: update/upgrade

2015-09-20 Thread Pedro Tender
Snapshots? On Sep 20, 2015 9:54 PM, "Quartz" wrote: > We have a bunch of low power embedded devices that we'd like to keep > reasonably up to date, but the disk space and cpu overhead of tracking > -stable is kind of a nonstarter. Is there another/better way of doing >

Re: update/upgrade

2015-09-20 Thread Quartz
https://stable.mtier.org/ A cli update program that applies binary patches is pretty much perfect, but I'm not sure we want to rely on a 3rd party for that service. (And I know that a built-in update program is probably never going to happen).

Re: update/upgrade

2015-09-20 Thread Christian Weisgerber
On 2015-09-20, Quartz wrote: > We have a bunch of low power embedded devices that we'd like to keep > reasonably up to date, but the disk space and cpu overhead of tracking > -stable is kind of a nonstarter. You do that part on a bigger box, build releases there, and

xrandr: Failed to get size of gamma for output default

2015-09-20 Thread Aaron Poffenberger
I mentioned this in my dmesg for the Thinkpad T450s but thought it might also help others who have seen or may later see this issue to pull it out as a separate email. In addition to the xrandr issue below I can't change backlight settings. Noting here in case they're related. $ xrandr

Re: speedup shutdown

2015-09-20 Thread Matthew Martin
On Sep 20, 2015 3:12 PM, "Quartz" wrote: > > I have a machine where tapping the front panel power button correctly halts and powers off the machine however there's a solid 10 second delay after I press the button before anything happens. Is there any way to speed this

Re: update/upgrade

2015-09-20 Thread Kimmo Paasiala
On Sun, Sep 20, 2015 at 11:49 PM, Quartz wrote: > We have a bunch of low power embedded devices that we'd like to keep > reasonably up to date, but the disk space and cpu overhead of tracking > -stable is kind of a nonstarter. Is there another/better way of doing things >

Re: update/upgrade

2015-09-20 Thread Josh Grosse
On Sun, Sep 20, 2015 at 04:49:45PM -0400, Quartz wrote: > We have a bunch of low power embedded devices that we'd like to keep > reasonably up to date, but the disk space and cpu overhead of tracking > -stable is kind of a nonstarter. Is there another/better way of doing things > these days?

Re: update/upgrade

2015-09-20 Thread Quartz
Snapshots? Something like this? http://www.bsdnow.tv/tutorials/stable-iso Well, preferably something that doesn't require the machines to go offline for a while.

dmesg (current) Lenovo Thinkpad T450s

2015-09-20 Thread Aaron Poffenberger
* Notable Issue - Suspending now hangs system - X11 disables correctly and screen goes dark - Light on power switch begins to blink - Screen comes back on at one of the consoles - Can hear fans begin to spin up - Keyboard unresponsive - Have to force reboot - Not a

Re: update/upgrade

2015-09-20 Thread Pedro Tender
As it was already stated in @misc, mtier is probably as safe as relying on openbsd code. On Sep 20, 2015 10:29 PM, "Quartz" wrote: > https://stable.mtier.org/ >> > > A cli update program that applies binary patches is pretty much perfect, > but I'm not sure we want to

Suspend Hangs ThinkPad T450s

2015-09-20 Thread Aaron Poffenberger
Another issue I noted in the ThinkPad dmesg. Pulling out as separate request for reference sake. Suspending now hangs system - X11 disables correctly and screen goes dark - Light on power switch begins to blink - Screen comes back on at one of the consoles - Can hear fans begin to spin up

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Tim Kuijsten
Op 20-09-15 om 11:23 schreef Mark Carroll: even to the level of Intel NUCs which look pretty good if their hardware is solid. I've recently installed an Intel NUC NUC5CPYH to be used as a quiet low power sftp file server. Support for the nic is recently added and the machine works perfect

OT: Exists some problem with dnscrypt-proxy package?

2015-09-20 Thread C.L. Martinez
Hi all, I have installed an openbsd 5.7 VM today to do some tests with pf rules. One of the components to I need to enable in this gateway is unbound+dnscrypt-proxy. I have configured forwarding in unbound.conf: forward-zone: name: "." forward-addr: 127.0.0.1@4553 And I

Re: OT: Exists some problem with dnscrypt-proxy package?

2015-09-20 Thread J Sisson
With dnscrypt-proxy running, can you resolve hostnames? dig @127.0.0.1 -p 4553 somehostname.com If you can, do you have "do-not-query-localhost" set to "no" in your unbound configuration? On Sun, Sep 20, 2015 at 10:04 AM, C.L. Martinez wrote: > Hi all, > > I have

Re: audio codec RealTek ALC3263

2015-09-20 Thread Remi Locherer
On Sun, Sep 20, 2015 at 05:45:08PM +0200, Alexandre Ratchov wrote: > On Sat, Sep 19, 2015 at 10:59:53PM +0200, Remi Locherer wrote: > > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi > > azalia_reset: resetting > > azalia_reset: reset counter = 5000 > > azalia_reset: reset

speedup shutdown

2015-09-20 Thread Quartz
I have a machine where tapping the front panel power button correctly halts and powers off the machine however there's a solid 10 second delay after I press the button before anything happens. Is there any way to speed this process up?

Re: doas as root with /sbin/shutdown + related conf syntax query

2015-09-20 Thread Toby Slight
On 20 September 2015 at 14:51, Theo Buehler wrote: > On Sat, Sep 19, 2015 at 02:19:19PM +0100, Toby Slight wrote: > > I'm trying to let my user shutdown, reboot and suspend the computer > without > > entering a password. This is my doas.conf: > > > > permit keepenv { ENV PS1

Re: OT: Exists some problem with dnscrypt-proxy package?

2015-09-20 Thread Raf Czlonka
On Sun, Sep 20, 2015 at 06:04:19PM BST, C.L. Martinez wrote: > Hi all, > > I have installed an openbsd 5.7 VM today to do some tests with pf rules. > One of the components to I need to enable in this gateway is > unbound+dnscrypt-proxy. > > I have configured forwarding in unbound.conf: > >

Re: rc.shutdown powerdown

2015-09-20 Thread Quartz
Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down should be added to this file. If you have apm, you can also set

Re: rc.shutdown powerdown

2015-09-20 Thread Quartz
On Sep 20 4:36 PM, Fred wrote: On 09/20/15 20:58, Quartz wrote: Powerdown went away in July 2014. The FAQ needs to be updated then: http://www.openbsd.org/faq/faq10.html "rc.shutdown /etc/rc.shutdown is a script that is run at shutdown. Anything you want done before the system shuts down

rc.shutdown powerdown

2015-09-20 Thread Quartz
Can someone explain in better detail what exactly the "powerdown=" line in rc.shutdown does? I have a few machines that range from full apm/acpi support to hardly none, but that line doesn't seem to affect anything on any of them, regardless what it's set to or if it's omitted completely.

Re: rc.shutdown powerdown

2015-09-20 Thread Brian Conway
Powerdown went away in July 2014. https://marc.info/?l=openbsd-cvs=140532869022004=2 Also, rc.shutdown doesn't exist by default anymore (/etc/examples). Brian Conway Software Engineer, Owner RCE Software, LLC On Sun, Sep 20, 2015 at 1:01 PM, Quartz wrote: > Can

Re: urtwn driver has problems

2015-09-20 Thread Alan Corey
Any chance of the stability fixes getting released as an official patch? The problems go back to at least 5.0. I just mostly finished a clean install of 5.7 on a new drive in my 5.2 machine. I've got another new 1 TB drive for my 5.0 machine. The Firefox 5.0 in this is getting ancient anyway.