Re: jot(1) changed behavior

2016-07-14 Thread Otto Moerbeek
On Thu, Jul 14, 2016 at 08:42:55PM -0400, Ted Unangst wrote: > Philippe Meunier wrote: > > Looking at the cvs log for jot.c, this seems to be a known change: > > > > "revision 1.27 [...] Internally, jot -r now uses arc4random_uniform() > > whenever this is clearly possible. In particular `jot

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-14 Thread Difan Zhao
Hi Pierre, I just upgraded the soekris box to openbsd 5.9 however I am still having the problem setting the rtable... # uname -a OpenBSD covebsd.cove.net 5.9 GENERIC#1561 i386 # rcctl set dhcpd200 rtable 200 usage: rcctl get|getdef|set service | daemon [variable [arguments]] rcctl

Re: ddclient failure to start

2016-07-14 Thread Brian McCafferty
On 07/14/16 19:32, Joe S wrote: >> On Jul 8, 2016, at 7:44 PM, Ed Ahlsen-Girard wrote: >> >> ddclient won't start from rc.d with this configuration: >> >> rc.conf.local: >> >> ntpd_flags= >> xdm_flags= >> httpd_flags= >> doas_flags= >> ddclient_flags=-file

Re: jot(1) changed behavior

2016-07-14 Thread Ted Unangst
Philippe Meunier wrote: > Looking at the cvs log for jot.c, this seems to be a known change: > > "revision 1.27 [...] Internally, jot -r now uses arc4random_uniform() > whenever this is clearly possible. In particular `jot -r 1 10 20' > yields an unbiased random number between 10 and 20 (both

Re: ddclient failure to start

2016-07-14 Thread Joe S
> On Jul 8, 2016, at 7:44 PM, Ed Ahlsen-Girard wrote: > > ddclient won't start from rc.d with this configuration: > > rc.conf.local: > > ntpd_flags= > xdm_flags= > httpd_flags= > doas_flags= > ddclient_flags=-file /etc/ddclient/ddclient.conf > pkg_scripts=ddclient > >

Re: jot(1) changed behavior

2016-07-14 Thread Edgar Pettijohn
On 16-07-14 17:55:00, Edgar Pettijohn wrote: > On 16-07-14 12:00:21, Philippe Meunier wrote: > > Hello, > > > > According to jot(1)'s man page: > > > > "$ jot -w %d -r 10 1 4 | sort -n | uniq -c > > 33306 1 > > 33473 2 > > 33221 3 > > > > Note that with random sequences, all numbers

Re: jot(1) changed behavior

2016-07-14 Thread Edgar Pettijohn
On 16-07-14 12:00:21, Philippe Meunier wrote: > Hello, > > According to jot(1)'s man page: > > "$ jot -w %d -r 10 1 4 | sort -n | uniq -c > 33306 1 > 33473 2 > 33221 3 > > Note that with random sequences, all numbers generated will be smaller > than the upper bound. The largest value

Re: how would you troubleshoot your wifi?

2016-07-14 Thread uma
El 2016-07-14 00:13, Miles Keaton escribió: I'm an intermediate OpenBSD user since 2001, but never needed my wifi before. When I connect to an open (no password) nwid it works fine, but when I try to connect to one with a WPA2 password, it just fails with no clues I can see. I'm using the

jot(1) changed behavior

2016-07-14 Thread Philippe Meunier
Hello, According to jot(1)'s man page: "$ jot -w %d -r 10 1 4 | sort -n | uniq -c 33306 1 33473 2 33221 3 Note that with random sequences, all numbers generated will be smaller than the upper bound. The largest value generated will be a tiny bit smaller than the upper bound. For floating

Re: openbsd.org Is Off-line

2016-07-14 Thread Mathieu KERJOUAN
Same here, confirmed with http://www.downforeveryoneorjustme.com/https://www.openbsd.org. Cordialement/Best regards, *Mathieu* *KERJOUAN * 2016-07-14 16:58 GMT+02:00 Scott Vanderbilt : > Not sure whom to report this to, but www.openbsd.org is off-line as I > write this

openbsd.org Is Off-line

2016-07-14 Thread Scott Vanderbilt
Not sure whom to report this to, but www.openbsd.org is off-line as I write this (15:57 GMT).

Re: shm_mkstemp(3) without the file name

2016-07-14 Thread Ted Unangst
bytevolc...@safe-mail.net wrote: > I see where you are coming from, but what I am getting at is, where in > the POSIX standard does it say that it needs to be anywhere in the file > system at all? If it is shared memory, then surely this doesn't require > backing up. Oh. It doesn't have to be

Re: Unable to open UPS device. [apcupsd]

2016-07-14 Thread Kirill Bychkov
On Thu, July 14, 2016 15:56, Radek wrote: > Hi, > I can not set up apcupsd to work with USB. Any help appreciated. > [...] > > #dmesg [...] > uhidev0 at uhub2 port 1 configuration 1 interface 0 "American Power Conversion > Smart-UPS 2200 FW:UPS 09.3 / ID=18" rev 2.00/1.06 addr 2 > uhidev0: iclass

[httpd] rewrite url for PHP Framework (silex / symphony...)

2016-07-14 Thread Olivier Burelli
Hello all, I am an end user that wants learn php, currently i try to follow a course. For it i try to use httpd daemon on openbsd 5.9-stable Sorry if this subject is posted yet in the past. In fact i do not really understood what about it is talked here :

Re: Install VMWare tools on Openbsd 5.9

2016-07-14 Thread Mik J
Hello,Thank you. You are right, it's working now.Thank you Le Jeudi 14 juillet 2016 14h38, trondd a écrit : On Thu, July 14, 2016 7:00 am, Mik J wrote: > Hello, > Does anyone know how to install the VMWare tools on Openbsd 5.9 ?I > understood that I will not

Unable to open UPS device. [apcupsd]

2016-07-14 Thread Radek
Hi, I can not set up apcupsd to work with USB. Any help appreciated. #grep "^[^#;]" /etc/apcupsd/apcupsd.conf UPSCABLE usb UPSTYPE usb DEVICE LOCKFILE /var/run SCRIPTDIR /etc/apcupsd PWRFAILDIR /etc/apcupsd NOLOGINDIR /etc ONBATTERYDELAY 6 BATTERYLEVEL 5 MINUTES 3 TIMEOUT 0 ANNOY 300 ANNOYDELAY

Re: Disk I/O performance of OpenBSD 5.9 on Xen

2016-07-14 Thread Maxim Khitrov
On Wed, Jul 13, 2016 at 11:47 PM, Tinker wrote: > On 2016-07-14 07:27, Maxim Khitrov wrote: > [...] >> >> No, the tests are run sequentially. Write performance is measured >> first (20 MB/s), then rewrite (12 MB/s), then read (37 MB/s), then >> seeks (95 IOPS). > > > Okay,

Re: Install VMWare tools on Openbsd 5.9

2016-07-14 Thread trondd
On Thu, July 14, 2016 7:00 am, Mik J wrote: > Hello, > Does anyone know how to install the VMWare tools on Openbsd 5.9 ?I > understood that I will not install some vmware program and rather use the > vmt driver which is enabled by default in GENERIC.I can see it's loaded at > bootup dmesg | grep

Install VMWare tools on Openbsd 5.9

2016-07-14 Thread Mik J
Hello, Does anyone know how to install the VMWare tools on Openbsd 5.9 ?I understood that I will not install some vmware program and rather use the vmt driver which is enabled by default in GENERIC.I can see it's loaded at bootup dmesg | grep vmt But what's next ?When I edit the VM parameters,

Re: shm_mkstemp(3) without the file name

2016-07-14 Thread bytevolcano
Theo de Raadt wrote: Is using ftruncate(2) to lengthen the segment the right way to do it, or is this yet another stupid limitation of POSIX shared memory? If you are getting the picture that the standards commitee cobbled together a bunch of junk and expected a good outcome, you are well on

Re: shm_mkstemp(3) without the file name

2016-07-14 Thread bytevolcano
Ted Unangst wrote: bytevolc...@safe-mail.net wrote: When I use ftruncate(2) to actually allocate the segment, the file is as long as the segment that is allocated. Even if the file is unlinked before ftruncate(2) is called, enough free space in the /tmp *file system* is required for the shared

Re: how would you troubleshoot your wifi?

2016-07-14 Thread Peter N. M. Hansteen
On Thu, Jul 14, 2016 at 01:13:21PM +0800, Miles Keaton wrote: > Any tips on how else you would troubleshoot this? Thiis is all I've got: > > # ifconfig iwm0 scan > nwid SINGTEL-1D14 chan 2 bssid 00:25:75:af:1d:15 97% 54M > privacy,short_slottime,wpa2 > > # cat /etc/hostname.iwm0 > nwid

Re: how would you troubleshoot your wifi?

2016-07-14 Thread Mihai Popescu
Do not trim your dmesg or config file to whatever you think is necessary to show. The OpenBSD version is a critical information for any serious troubleshooting operation.