Re: Best way to monitor battery status on laptop

2017-07-26 Thread Manuel Solis
Hello, Check the apm(8) and see if it is what you need. http://man.openbsd.org/apm.8 Manuel > El 26/07/2017, a las 19:11, Carlos Cardenas escribió: > > Howdy. > > Been using my toughbook with OpenBSD more and more and one of the things > that I seem to be missing is

Re: octeon port, ubiquity edgerouter

2017-07-26 Thread Peter J. Philipp
On Wed, Jul 26, 2017 at 12:20:23AM +0200, Doggie wrote: > W dniu 2017-07-25 o 19:39, Peter J. Philipp pisze: > > Actually I bought the silent fans. So I don't have to write any code, > > too bad the foxconn fans are a misdesign. I'll maintenance this router > > next week for the new fans. I'm

Re: Recommendation on OpenBSD host

2017-07-26 Thread Laurent Jucquois
I'm happy to discover some new hosting possibilities but I'm kinda surprised of the pricing of those offers. So even though it's not in Romania or Iceland, I would suggest having a look at https://www.netcup.de which ist hosted in Germany. Their offer is, imho, very fair, the customer service

Re: octeon port, ubiquity edgerouter

2017-07-26 Thread Joe Holden
On 26/07/2017 00:56, jungle Boogie wrote: > On 25 July 2017 at 15:20, Doggie wrote: >> W dniu 2017-07-25 o 19:39, Peter J. Philipp pisze: >>> >>> Actually I bought the silent fans. So I don't have to write any code, >>> too bad the foxconn fans are a misdesign. I'll

Re: octeon port, ubiquity edgerouter

2017-07-26 Thread Doggie
W dniu 2017-07-26 o 03:25, Theo de Raadt pisze: Wow. So there is a series of self-education problems hiding behind this conversation. There is a completely proprietary HW-assist platform that the vendor has as a blob. You want us to use that? You want a blob? You think it will be reverse

Calculate the frequency of the tsc timecounter

2017-07-26 Thread Adam Steen
Hi Is there an easy/accurate way to calculate the tsc timecounter frequency? like Time Stamp Counters on Linux. (on a Sandy Bridge cpu) Another reference Converting Sandy Bridge TSC to wall clock time

vmd on Proliant DL360p Gen8: panic

2017-07-26 Thread Joaquín Herrero Pintado
Hi, I'm just trying vmm from OpenBSD 6.1 on a HP Proliant DL360p Gen8 and I'm having some issues I want to share just to help developers. I will be glad in using this machine to host a bunch of OpenBSD machines with relayd, httpd, etc to host services and help balancing other services from my

Re: Using queueing on asynchronous interface

2017-07-26 Thread Stuart Henderson
On 2017-07-25, Kaya Saman wrote: > My goal is to use a different queue for up/down were I can change the > max bandwidth accordingly. Queuing is done outbound, your "in" queues actually need to be on the outbound interfaces. The trick is that "queue foo on em0" and "queue

Re: octeon port, ubiquity edgerouter

2017-07-26 Thread Rui Ribeiro
I also migrated a TP-Link with proprietary acceleration to OpenWRT. But then tweaked it, and on the plus side, put a *BSD* box/router on front of it doing NAT, which is what the acceleration was for. As usually, you cannot expect deploying a system, namely a *wrt/Linux system in a machine with

NAT Address Pool question

2017-07-26 Thread Eric Johnson
Yesterday I switched from using a single address for NAT to an address pool. I used the round-robin for the address pool with sticky-address in the pf file. It seemed logical to me to add each IP address in the address pool to interface with ifconfig. I noticed a few minutes ago that I had

Re: Recommendation on OpenBSD host

2017-07-26 Thread Artur Pędziwilk
> On 26 Jul 2017, at 03:01, i3j...@airmail.cc wrote: > > Hey list. I need a server to host a very simple website. > I've been looking for a OpenBSD host that offers 'full' control > over the machine though SSH. Anyone has recommendations? > My needs: simple low traffic httpd(8) website (no

Re: fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-26 Thread Jon S
Problem solved/workaround: running fsck /dev/... worked. The problem seemd to be with running fsck_ffs /dev/... On 25 Jul 2017 5:17 pm, "Jon S" wrote: No. Filesystem is FFS. The os is 4.9 or later but not above 5.4 afaik. I will have physical access to the host tomorrow.

Re: fsck_ffs: cannot alloc 131427074 bytes for lncntp

2017-07-26 Thread Todd C. Miller
On Wed, 26 Jul 2017 17:24:14 +0200, Jon S wrote: > Problem solved/workaround: running fsck /dev/... worked. The problem seemd > to be with running fsck_ffs /dev/... That is because the fsck front-end will increase the resource limits before executing fsck_ffs. You should never invoke

Re: NAT Address Pool question

2017-07-26 Thread Sebastian Benoit
Eric Johnson(eri...@colossus.gruver.net) on 2017.07.26 03:48:16 -0500: > > Yesterday I switched from using a single address for NAT to an address > pool. I used the round-robin for the address pool with sticky-address in > the pf file. > > It seemed logical to me to add each IP address in the

Re: Recommendation on OpenBSD host

2017-07-26 Thread Chris Wojtyna
On Wed, Jul 26, 2017 at 01:01:20AM +, i3j...@airmail.cc wrote: > Hey list. I need a server to host a very simple website. > I've been looking for a OpenBSD host that offers 'full' control > over the machine though SSH. Anyone has recommendations? > My needs: simple low traffic httpd(8) website

Re: OpenBSD 6.1 installation, on dedicated server, using qemu not working.

2017-07-26 Thread flipchan
I got openbsd 6.1 amd64 working with qemu try that On July 25, 2017 9:30:08 PM GMT+02:00, Mxher wrote: >Hello, > >I'm renting a dedicated server from a web host that unfortunately does >not propose OpenBSD installation. > >So I'm installing OpenBSD using qemu from my host rescue

Re: Using queueing on asynchronous interface

2017-07-26 Thread Kaya Saman
Many thanks Stuart! On 07/26/2017 11:37 AM, Stuart Henderson wrote: On 2017-07-25, Kaya Saman wrote: My goal is to use a different queue for up/down were I can change the max bandwidth accordingly. Queuing is done outbound, your "in" queues actually need to be on the

Re: "Re: stub-addr in unbound.conf & unbound man page wording"

2017-07-26 Thread Damian McGuckin
On Wed, 26 Jul 2017, Damian Haehlen wrote: do-not-query-localhost: no Damian - that fixed it. Not that I have a clue what is going on there. The default interface is 127.0.0.1 so I am amazed that it gets into a list that you cannot query by default. Yet again - I was doing something

"Re: stub-addr in unbound.conf & unbound man page wording"

2017-07-26 Thread Damian Haehlen
Hi Damian This helped me: do-not-query-localhost: no Greetings Damian

Re: "Re: stub-addr in unbound.conf & unbound man page wording"

2017-07-26 Thread Amelia A Lewis
On Thu, 27 Jul 2017 04:58:02 +1000 (AEST), Damian McGuckin wrote: > On Wed, 26 Jul 2017, Damian Haehlen wrote: > >> do-not-query-localhost: no That seems like one of those awkwardly-phrased directives. "Do you not deny Satan and all his works?!" "YES! Wait, what? I mean, no, NO! I mean, deny,

Re: Recommendation on OpenBSD host

2017-07-26 Thread Thomas Smith
Linode works pretty well for me; I understand that some have EC2 working as well, but I’ve not taken the time to try that. There area a couple of different ways, as well, with Linode to create base images and speed new server deployments. I personally store my base images off-line and copy up

Re: OpenBSD 6.1 installation, on dedicated server, using qemu not working.

2017-07-26 Thread Mxher
On 07/26/2017 05:24 PM, flipchan wrote: > I got openbsd 6.1 amd64 working with qemu try that > Unfortunately this is what I'm trying already. I will configure the console output to the serial port and hope the web host will agree to check it :| Thanks > On July 25, 2017 9:30:08 PM

Re: stub-addr in unbound.conf & unbound man page wording

2017-07-26 Thread Theo de Raadt
> then a 'dig' or 'nslookup' fails even though I can get to port 8053 on > 127.0.0.1. This is due to the socket pledge code, with SOCK_DNS. This area was damaged during the transition to pledge, and hasn't been repaired. Maybe one day. But for the moment, it is not getting fixed because it

Re: NAT Address Pool question

2017-07-26 Thread Eric Johnson
On Wed, 26 Jul 2017, Sebastian Benoit wrote: > Eric Johnson(eri...@colossus.gruver.net) on 2017.07.26 03:48:16 -0500: > > > > Yesterday I switched from using a single address for NAT to an address > > pool. I used the round-robin for the address pool with sticky-address in > > the pf file. > >

stub-addr in unbound.conf & unbound man page wording

2017-07-26 Thread Damian McGuckin
STUB-ADDR (of unbound.conf): 127.0.0.1@PORT (fails) --- I can run NSD on port 8053 on the interface 127.0.0.1 for a domain say turkeys.com.au I can then query hat externally (with 'pf' doing an 'rdr' from some external IP 'rdr'd to

Re: Using queueing on asynchronous interface

2017-07-26 Thread Kaya Saman
[snip] I'm finding that I don't really need much in the way of "downstream" queueing though. It might be needed in special cases but using mikeb's shiny new fq-codel code in -current, one single queue definition on the upstream interface is keeping traffic flowing nicely. queue hfsq-em1 on em1

Re: stub-addr in unbound.conf & unbound man page wording

2017-07-26 Thread Damian McGuckin
Theo, On Wed, 26 Jul 2017, Theo de Raadt wrote: This is due to the socket pledge code, with SOCK_DNS. This area was damaged during the transition to pledge, and hasn't been repaired. I am not convinced it is. But I can always be proven wrong and often am. I think my problem is purely an

Re: NAT Address Pool question

2017-07-26 Thread Eric Johnson
On Wed, 26 Jul 2017, me wrote: > ... > > It worked fine. And when I checked the environment variables, SSH_CLIENT > showed the address. So I was connecting from an address that was not > assigned to any interface! Never mind. I figured it out. The computer I was connected to was on the

Re: Recommendation on OpenBSD host

2017-07-26 Thread Kirill Miazine
* i3j...@airmail.cc [2017-07-26 01:01]: > Hey list. I need a server to host a very simple website. > I've been looking for a OpenBSD host that offers 'full' control > over the machine though SSH. Anyone has recommendations? > My needs: simple low traffic httpd(8) website (no javascript), > even a

Re: FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: Unable to create temporary file, Check permissions in temporary files directory.

2017-07-26 Thread Stephane HUC "PengouinBSD"
Hi, all. Sorry for the latence! Yes, i'm sure all ENV* variables are absolute to the system root. As explain on the php-fpm.conf, only few directives are relative to be chroot. [quote] (...) ; Per pool prefix ; It only applies on the following directives: ; - 'access.log' ; - 'slowlog' ; -

diff exit status

2017-07-26 Thread Ibrahim Khalifa
Hi, If you run diff against two directories where you have file(s) and the only difference is that you have file(s) that only exists in one of the directories, diff will exit with 0. If you use -N och -P it will however exit with 1. Reading through the man-page, I can’t find any reference that

Best way to monitor battery status on laptop

2017-07-26 Thread Carlos Cardenas
Howdy. Been using my toughbook with OpenBSD more and more and one of the things that I seem to be missing is simple battery status (percent remaining, if it's being charged, etc...) in my tmux(1) or wmii(1) session. Using sysctl(1) on hw.sensors.acpiac* and hw.sensors.acpibat* gets me the info I

Re: diff exit status

2017-07-26 Thread Ted Unangst
Ibrahim Khalifa wrote: > Hi, > > If you run diff against two directories where you have file(s) and the only > difference is that you have file(s) that only exists in one of the > directories, diff will exit with 0. If you use -N och -P it will however exit > with 1. > > Reading through the