Date of yesterday

2018-04-08 Thread Max Power
Hi guys, How can I do to get yesterday's date? I need for create a backup directory. On Linux: yesterday=backup_$(date -d "yesterday" '+%Y_%m_%d') mkdir -p /raid1/backup/$yesterday Thanks for reply.

Re: Serial port pci cards.

2018-04-08 Thread lists
Sun, 8 Apr 2018 12:05:17 -0500 joshua stein > On Sun, 08 Apr 2018 at 12:19:01 -0400, Michael Price wrote: > >I am unwise in the ways of serial port pci cards. Should I be avoiding any > >particular brands? Any pointers to more information would be appreciated. > > The puc(4)

Re: 4-ports router under $150

2018-04-08 Thread flipchan
yes a apu2b4 its is very stable with openbsd6.2 and it performs rly good , im running it with cat 6 cables and i am much more happier with that one rather then my consumer router, i now have a fully working seperation of my different networks and having a rly good dhcp server rly does wonders,

Re: 4-ports router under $150

2018-04-08 Thread Joel Wirāmu Pauling
You can get 4 ports j1900's for sub $100 off ali-express. If you don't care about AES-NI they do 5gbit duplex slow path l3 forwarding just fine: If you want AES-NI then these are the Cheapest :

Re: 4-ports router under $150

2018-04-08 Thread Anatoli
Guys, thank you all for your recommendations. > I know it only has three NICs, so it's likely a non-started for the OP Yepp, there are a lot of nice devices with 3 NICs, but I need at least 4 and actually I don't need more than 5. > The Edgerouter 6 is going to be coming out shortly, that

Re: 4-ports router under $150

2018-04-08 Thread Joe Holden
On 08/04/2018 23:16, Rupert Gallagher wrote: > 963Mbps > > On Sun, Apr 8, 2018 at 18:02, Michael Price wrote: > >> Was it an apu2c4 by any chance? I was thinking about picking one of those up >> and was curious as to what kind of packet rates people were seeing with

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Gleydson Soares wrote: > Hi Patrick, > could you please test this diff? > https://marc.info/?l=openbsd-ports=152160090624047=2 The diff worked, I was able to run plumber, factotum and acme without any aborts. Thanks!

Re: 4-ports router under $150

2018-04-08 Thread Rupert Gallagher
963Mbps On Sun, Apr 8, 2018 at 18:02, Michael Price wrote: > Was it an apu2c4 by any chance? I was thinking about picking one of those up > and was curious as to what kind of packet rates people were seeing with them.

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Gleydson Soares
Hi Patrick, could you please test this diff? https://marc.info/?l=openbsd-ports=152160090624047=2

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Theo de Raadt wrote: > At the moment snapshots contain the MAP_STACK diff. Your program is > setting up threads incorrectly (it has it's own thread library?), > resulting in stacks not being mapped with MAP_STACK. Stacks must be > carefully setup now. ktrace -di may expose the memory

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Theo de Raadt
Patrick Marchand wrote: > On 04/08, Patrick Marchand wrote: > > Compilation succeeds on the april 8 snapshot > > Though now I'm getting Abort Trap whenever I try to run the plumber or > acme. I was able to compile some programs with mk though, as I compiled > both

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Patrick Marchand wrote: > Compilation succeeds on the april 8 snapshot Though now I'm getting Abort Trap whenever I try to run the plumber or acme. I was able to compile some programs with mk though, as I compiled both $PLAN9/src/cmd/upas and $PLAN9/src/cmd/upas/nfs. I've joined the

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
Compilation succeeds on the april 8 snapshot

Re: Serial port pci cards.

2018-04-08 Thread Jordon
Here’s a good start https://man.openbsd.org/puc > On Apr 8, 2018, at 11:19, Michael Price wrote: > > I am unwise in the ways of serial port pci cards. Should I be avoiding any > particular brands? Any pointers to more information would be appreciated. > > Michael

Re: 4-ports router under $150

2018-04-08 Thread Rui Ribeiro
Is that this one? https://store.ubnt.com/products/edgerouter-6-port-1 On 8 April 2018 at 01:57, Jordan Geoghegan wrote: > The Edgerouter 6 is going to be coming out shortly, that is what I am > holding out for to run my home network on. > > > > On 04/07/18 14:59, Anatoli

Unable to use vmm on Xiaomi Air laptop: failed to enter VMM mode

2018-04-08 Thread Justin Yang
Hi,all: I just bought the Xiaomi Mi Air 12.5 laptop and installed OpenBSD-current after reading this blog: https://jcs.org/2017/05/22/xiaomiair. Almost all the functions work except the vmm part. I am not able to start a guest with the error in dmesg: cpu3: failed to enter VMM mode cpu2: failed

Re: 4-ports router under $150

2018-04-08 Thread Patrick Dohman
> Jordan Geoghegan wrote: > > I'd rather be running *BSD on ANY platform rather that running some > proprietary mikrotik garbage. > The MikroTik 2011UiAS is quite respectable. It replaced a Zyxel USG that was patched to address KRACK which introduced a strange bug that left it unstable.

Re: Serial port pci cards.

2018-04-08 Thread joshua stein
On Sun, 08 Apr 2018 at 12:19:01 -0400, Michael Price wrote: I am unwise in the ways of serial port pci cards. Should I be avoiding any particular brands? Any pointers to more information would be appreciated. The puc(4) man page has a lot of brands and models that are supported.

Re: 4-ports router under $150

2018-04-08 Thread Jordan Geoghegan
On 04/08/18 09:00, Theo de Raadt wrote: Jordan Geoghegan wrote: The pc engines stuff will still have blobs in it. There's no way to have fully open firmware on a modern i-series chip based rig. At the end of the day, we all are still using proprietary hardware. Who

Serial port pci cards.

2018-04-08 Thread Michael Price
I am unwise in the ways of serial port pci cards. Should I be avoiding any particular brands? Any pointers to more information would be appreciated. Michael

Re: 4-ports router under $150

2018-04-08 Thread Michael Price
Was it an apu2c4 by any chance? I was thinking about picking one of those up and was curious as to what kind of packet rates people were seeing with them. Michael On Sun, Apr 8, 2018 at 1:41 AM, flipchan wrote: > I run a apu board with 3 ports with openbsd 6.2 and

Re: 4-ports router under $150

2018-04-08 Thread Theo de Raadt
Jordan Geoghegan wrote: > The pc engines stuff will still have blobs in it. There's no way to > have fully open firmware on a modern i-series chip based rig. At the > end of the day, we all are still using proprietary hardware. Who cares? People just want to get the job

Re: 4-ports router under $150

2018-04-08 Thread Jordan Geoghegan
Ya, pretty much what Theo said... I'd rather be running *BSD on ANY platform rather that running some proprietary mikrotik garbage. On 04/08/18 07:39, Patrick Dohman wrote: As much as I’d rather not point the blame I found the APU platform buggy when running OpenBSD. Yes there are reports

Re: 4-ports router under $150

2018-04-08 Thread Jordan Geoghegan
The pc engines stuff will still have blobs in it. There's no way to have fully open firmware on a modern i-series chip based rig. At the end of the day, we all are still using proprietary hardware. On 04/08/18 05:42, Karel Gardas wrote: On Sat, 7 Apr 2018 20:28:14 -0700 Jordan Geoghegan

Re: 4-ports router under $150

2018-04-08 Thread Theo de Raadt
Patrick Dohman wrote: > As much as I’d rather not point the blame I found the APU platform > buggy when running OpenBSD. I doubt anyone believes your extremely vague assertions. There are thousands of them running fine. > I'm currently running a MikroTik 2011UiAS that

Re: 4-ports router under $150

2018-04-08 Thread Patrick Dohman
As much as I’d rather not point the blame I found the APU platform buggy when running OpenBSD. Yes there are reports of stability with other O.S however subtle hardware/firmware bugs appeared on several OpenBSD releases. I’m actually in the other boat when it comes to hardware stability being an

Re: [patch] 6.3 relayd.conf(5) man page correction

2018-04-08 Thread Matt Schwartz
Hi Jason, When I have a moment later today I will look into it. I wasn't using the exact example from the man page because I was only proxying for one host. Since I did not have check hosts setup, that might have been the cause. Thanks On 4/8/2018 10:19 AM, Jason McIntyre wrote: On Sat,

Re: 4-ports router under $150

2018-04-08 Thread Karel Gardas
On Sat, 7 Apr 2018 20:28:14 -0700 Jordan Geoghegan wrote: > > On 04/07/18 19:01, jungle boogie wrote: > > Thus said Jordan Geoghegan on Sat, 7 Apr 2018 17:57:16 -0700 > >> The Edgerouter 6 is going to be coming out shortly, that is what I am > >> holding out for to run

Re: 4-ports router under $150

2018-04-08 Thread Karel Gardas
On Sat, 7 Apr 2018 19:01:50 -0700 jungle boogie wrote: > Thus said Jordan Geoghegan on Sat, 7 Apr 2018 17:57:16 -0700 > > The Edgerouter 6 is going to be coming out shortly, that is what I am > > holding out for to run my home network on. > > > > > > Just curious,

Re: Intel Microcode Guidance: Abandoned Processor Families and Spectre

2018-04-08 Thread Boyd Stephens
On 04/05/18 09:19, Aham Brahmasmi wrote: Hello Misc, Will OpenBSD's patches for Spectre help mitigate the risk for the processor families which are not receiving Intel's mitigation microcode for Spectre/Spectre variant 2? Backdrop Intel has issued a Microcode Revision Guidance on April 3, 2018