Re: Beg for Atheros wifi driver

2018-04-16 Thread edgar
On Apr 15, 2018 10:05 PM, Stuart Longland wrote: > > On 16/04/18 08:08, Manuel Solis wrote: > > Sorry for that, i havent figure it out, maybe i should reinstall windows to > > get the info > >  My bad. > > Does `lspci` work on pcidump(8) OpenBSD?  Failing that,

Re: Beg for Atheros wifi driver

2018-04-16 Thread IL Ka
Almost all drivers in OpenBSD report themselves, so you can grep your dmesg for message like "foo0 at pci0 dev0 function 0 [PCI Device name from PCI configuration space] " $ man autoconf $ man dmesg Except dmesg, this information is reported to userspace via /dev/pci and could be read with

Re: Way to specify offset suggestion autoalignment multiple in disklabel(8)? (w.o. paper, pen and a 2:nd computer)

2018-04-16 Thread Sebastian Benoit
Tinker(t1...@protonmail.ch) on 2018.04.16 03:30:37 -0400: > Hi, > > When in "disklabel -E" for instance in the OS installer, being able to > specify that I want the partition offsets to be multiples of 2048 would > be useful. why? to whom?

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Stuart Henderson
On 2018-04-16, Daniel Santos wrote: > Anyway my point now is not to configure another Zabbix but another > enterprise software suite (Pydio) with PHP 7.x on OpenBSD 6.3 in the > same KVM environment. > > This would include: > -Lighttpd > -php7.x and some modules > -needs cifs

Re: DMESG / syslog

2018-04-16 Thread IL Ka
Hello. This is "kern" facility. # touch /var/log/dmesg And then add "kern.* /var/log/dmesg" to your "syslog.conf". Restart syslog and anything printed by kernel will go to /var/log/dmesg But note that when booting, kernel does not have access to syslog, so it stores messages in its internal

Re: trouble installing php on 6.3

2018-04-16 Thread IL Ka
Hm.. sounds strange then. Did you try to call "pkg_add libxml"? If not, then try and in case of success try pkg_add php again If it does not work, then lets do the following: To make sure libxml is deleted # pkg_delete libxml use different mirror # echo

Re: Community-driven OpenBSD tutorials wiki?

2018-04-16 Thread Mehma Sarja
It is meant as a play on words, a light hearted comment. I see too many "shit" and "fuck" comments in posts these days from people trying to sound important when the subject matter is not. Mehma --- On Mon, Apr 16, 2018, 1:20 AM Stuart Henderson wrote: > On 2018-04-14,

Re: trouble installing php on 6.3

2018-04-16 Thread IL Ka
php depends on libxml, pkg_add tries to download it, and downloaded archive is broken. pkg_add uses "/etc/installurl" to find website to download packages. You may try different website (echo "https://ftp.openbsd.org/pub/OpenBSD/; > /etc/installurl) Also, try to download this file and unpack

DMESG / syslog

2018-04-16 Thread sven falempin
Dear readers, This question is probably answer somewhere but i m afraid to follow any non openBSD style answer. How do it get DMESG messages in my log ( like when a usb is attached ) syslog *.* does not contain them right ? Best, -- --

Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Pavel Korovin
On 04/16, Henrik Friedrichsen wrote: > - Is there a way to match all hosts that are not "status.affekt.org"? > That way I don't have to write a filter rule for every subdomain Didn't test, just the idea: 1. You put your default host (i.e. one that will respond to all http requests which do not

Re: trouble installing php on 6.3

2018-04-16 Thread Michael Maurer
On 16 April 2018 at 17:42, IL Ka wrote: > php depends on libxml, pkg_add tries to download it, and downloaded > archive is broken. > pkg_add uses "/etc/installurl" to find website to download packages. You > may try different website (echo

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Claudio Jeker
On Mon, Apr 16, 2018 at 11:12:32AM -0400, sven falempin wrote: > On Mon, Apr 16, 2018 at 10:33 AM, Claudio Jeker > wrote: > > > On Mon, Apr 16, 2018 at 04:15:42PM +0200, Daniel Santos wrote: > > > I looking for some experience sharing from those who also run OpenBSD > >

Re: Community-driven OpenBSD tutorials wiki?

2018-04-16 Thread IL Ka
woman (with out man) is tool used in Emacs to read manual pages with out of actually running man https://www.gnu.org/software/emacs/manual/html_mono/woman.html :) On Mon, Apr 16, 2018 at 6:25 PM, Mehma Sarja wrote: > It is meant as a play on words, a light hearted

Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
Thanks again. This worked in case anyone is looking for it: http protocol "monit" { match request forward to match request header "Host" value "status.affekt.org" forward to } The order is important, if put in reversed the "status.affekt.org" forward will be overwritten. Now all I

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread sven falempin
On Mon, Apr 16, 2018 at 10:33 AM, Claudio Jeker wrote: > On Mon, Apr 16, 2018 at 04:15:42PM +0200, Daniel Santos wrote: > > I looking for some experience sharing from those who also run OpenBSD > inside > > KVM on Linux. > > > > I was running 5.2 and now 6.2 inside KVM

Re: Beg for Atheros wifi driver

2018-04-16 Thread Paul de Weerd
On Mon, Apr 16, 2018 at 01:05:37PM +1000, Stuart Longland wrote: | On 16/04/18 08:08, Manuel Solis wrote: | > Sorry for that, i havent figure it out, maybe i should reinstall windows to | > get the info | > My bad. | | Does `lspci` work on OpenBSD? Failing that, boot a Linux LiveCD and run |

pfstat package dependencies missing on 6.3 amd64

2018-04-16 Thread mabi
Hello, It looks like some package dependencies are missing on the package repository of 6.3 amd64 or pfstat dependencies is broken. See below: $ doas pkg_add -v pfstat quirks-2.414 signed on 2018-03-28T14:24:37Z quirks-2.414: ok pfstat-2.5p2:libiconv-1.14p3: ok pfstat-2.5p2:png-1.6.34: ok

OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Daniel Santos
I looking for some experience sharing from those who also run OpenBSD inside KVM on Linux. I was running 5.2 and now 6.2 inside KVM on a Linux wheezy host with 3.2 kernel. This system was used as an all in one Zabbix monitoring server, which included the full stack required to run a central

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Claudio Jeker
On Mon, Apr 16, 2018 at 04:15:42PM +0200, Daniel Santos wrote: > I looking for some experience sharing from those who also run OpenBSD inside > KVM on Linux. > > I was running 5.2 and now 6.2 inside KVM on a Linux wheezy host with 3.2 > kernel. > > This system was used as an all in one Zabbix

Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Pavel Korovin
Henrik, Regarding cut off responses, I didn't have such problems, maybe it was fixed since 2016. Regarding multi-site setup, I have something like this: --- httpd.conf --- ### default site behind relayd server "waste.tristero.se" { alias "tristero.se" listen on 127.0.0.1 port 80

trouble installing php on 6.3

2018-04-16 Thread Michael Maurer
I'm having trouble setting up php on a fresh install of 6.3. This is what I get - burt# pkg_add php quirks-2.414 signed on 2018-03-28T14:24:37Z Ambiguous: choose package for php a 0: 1: php-5.6.34 2: php-7.0.28 Your choice: 1 Fatal error: Ustar

Re: Beg for Atheros wifi driver

2018-04-16 Thread Stuart Longland
On 16/04/18 08:08, Manuel Solis wrote: > Sorry for that, i havent figure it out, maybe i should reinstall windows to > get the info > My bad. Does `lspci` work on OpenBSD? Failing that, boot a Linux LiveCD and run `lspci` there, it'll tell you the chipset; `dmesg` might give you some more

Re: Beg for Atheros wifi driver

2018-04-16 Thread Janne Johansson
2018-04-16 5:05 GMT+02:00 Stuart Longland : > On 16/04/18 08:08, Manuel Solis wrote: > > Sorry for that, i havent figure it out, maybe i should reinstall windows > to > > get the info > > My bad. > > Does `lspci` work on OpenBSD? Failing that, boot a Linux LiveCD and

Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
Hey Pavel, thanks for your response. I have adapted my configuration and came up with this: ext4="51.15.10.194" ext6="2001:bc8:2d08::1" table { "127.0.0.1" } table { "127.0.0.1" } http protocol "monit" { match request header "Host" value "status.affekt.org" forward to match request

Re: pfstat package dependencies missing on 6.3 amd64

2018-04-16 Thread edgar
Do you have the X sets installed? I'm not at my computer but fontconfig sounds like something that would be in the base x install. On Apr 16, 2018 8:48 AM, mabi wrote: > > Hello, > > It looks like some package dependencies are missing on the package repository > of 6.3 amd64

Re: pfstat package dependencies missing on 6.3 amd64

2018-04-16 Thread mabi
Sorry my bad these are actually system libraries and not packages missing. Indeed I do not have X tgz packages installed yet. ​​ ‐‐‐ Original Message ‐‐‐ On April 16, 2018 3:48 PM, mabi wrote: > ​​ > > Hello, > > It looks like some package dependencies are

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Kapetanakis Giannis
On 16/04/18 18:40, Claudio Jeker wrote: really depends on the KVM/linux version Don't forget to set "options kvm-intel preemption_timer=0" for modprobe on newer linux kernels. After that it seems to work nicely. This module option (according to lists) is about timing issues with kvm and

question regarding architecture mailing lists

2018-04-16 Thread Diana Eichert
I subscribe to the OpenBSD arm list but was wondering what the appropriate mon-misc list would be for mips based h/w, ex: Cavium Octeon. Sometimes I don't want to pollute misc@ with h/w specific questions. thanks diana PS Anyone seen this hardware,

Re: question regarding architecture mailing lists

2018-04-16 Thread Tom Smyth
Hi Diana That Mikrotik router board is based on originally a tilera chip the chip owner which was sold to ez chip which then sold to mellanox. Im not sure what mellanox are doing with the tech The chip was a tile architecture meaning adding additional cores was easy (ier) for the manufacturer

Kakoune editor on openbsd

2018-04-16 Thread Patrick Marchand
So I'd like to try the kakoune editor on openbsd 6.3-current. For now I've identified two files that stop me from compiling the project, The first one is the makefile, which requires gmake and has a os specific command for finding ncursesw and the second one is the file.cc file in the

Re: OpenBSD + 3G/4G USB modem

2018-04-16 Thread MS
Thanks a lot! You Sir are a hero! :) I will try it and let you know about the problems/results. One more thing though, how do I know which USB port is which cuaXX? If I connect to cua00 it seems to start conversation but the whole thing freezes. cuaU0 gives not configured info. Thanks, MS

Re: OpenBSD vs Linux KVM Guest Performance and Stability

2018-04-16 Thread Claudio Jeker
On Mon, Apr 16, 2018 at 11:10:46PM +0300, Kapetanakis Giannis wrote: > On 16/04/18 18:40, Claudio Jeker wrote: > > > >>really depends on the KVM/linux version > >> > >Don't forget to set "options kvm-intel preemption_timer=0" for modprobe on > >newer linux kernels. After that it seems to work

aesni/crypto related kernel panic on 6.3

2018-04-16 Thread mabi
Hi, I finally replaced my old OpenBSD 5.0 firewall with 6.3 which also serves as a site-to-site VPN using now iked instead of isakmpd. The problem is that when I start a big transfer over the VPN to the remote site, also an OpenBSD 6.3 firewall, the kernel panics. Crazy enough I tried to

Re: question regarding architecture mailing lists

2018-04-16 Thread Theo de Raadt
Diana Eichert wrote: > Hi Tom > > Thanks for educating the misc@ masses on Tile hardware. Unfortunately I don't think misc@ will do much with the info.

Re: Kakoune editor on openbsd

2018-04-16 Thread Stuart Henderson
On 2018-04-16, Patrick Marchand wrote: > So trying again I looked closer at what the function was doing and how > it was implemented for freebsd and dragonflybsd. The function > tries to find the executable path of kak, but the freebsd way of doing > it doesnt work

Re: question regarding architecture mailing lists

2018-04-16 Thread Theo de Raadt
Diana Eichert wrote: > On Mon, 16 Apr 2018, Theo de Raadt wrote: > > > Diana Eichert wrote: > > > >> Hi Tom > >> > >> Thanks for educating the misc@ masses on Tile hardware. > > > > Unfortunately I don't think misc@ will do much with the info. > > I

Re: question regarding architecture mailing lists

2018-04-16 Thread Diana Eichert
On Mon, 16 Apr 2018, Theo de Raadt wrote: Diana Eichert wrote: Hi Tom Thanks for educating the misc@ masses on Tile hardware. Unfortunately I don't think misc@ will do much with the info. I doubt they will either, however my original question still stands. Is there

carp ssh setup

2018-04-16 Thread jungle Boogie
Hi All, I have a very simple carp setup - basically I want ssh access if the master goes offline. In theory, this are functioning correctly. In practice, it seems the backup is taking over way too often - the backup takes over way too often, even when I'm ssh'd to the master device. master: inet

Re: OpenBSD + 3G/4G USB modem

2018-04-16 Thread Roderick
On Mon, 16 Apr 2018, MS wrote: I will try it and let you know about the problems/results. I am curious to see your tutorial at the end. :) One more thing though, how do I know which USB port is which cuaXX? Just plug the modem in a USB Port and see dmesg. You can also see "man ucom".

Re: question regarding architecture mailing lists

2018-04-16 Thread Diana Eichert
Hi Tom Thanks for educating the misc@ masses on Tile hardware. I have quite a bit of experience with Tile h/w prior to the EZchip sale, however we could no longer work with the hardware after the sale. There was anotherBSD Tile-GX port, however it was never committed to their tree. g.day

Re: firefor memory usage (Was Re: swapctl question)

2018-04-16 Thread Otto Moerbeek
On Sun, Apr 15, 2018 at 08:49:34AM +0200, Otto Moerbeek wrote: > On Sun, Apr 15, 2018 at 12:42:10AM -0500, Z Ero wrote: > > > Also, why is Firefox 58 taking up about 2 gb of ram when I have 8 > > (non-multimedia) tabs open? > > Isn't confusing toi ask a new qustion with the same Subject. > >

Re: vgafb manpage is in wrong place, should I report it?

2018-04-16 Thread Stuart Henderson
On 2018-04-14, IL Ka wrote: > Installation process asked me if I want my X11 to be "started by xdm(1)" > and it should be rephrased to "started by display manager xenodm(1) (xdm > clone)" > since there is no xdm(1) The installer question already asks about xenodm not

Re: Listen-on parameter in iked.conf

2018-04-16 Thread Stuart Henderson
On 2018-04-15, mabi wrote: > I just moved from isakmpd to iked and could not find the parameter name in > iked.conf in order to tell iked on which IP it should listen. With > isakmpd.conf I would use the following: > > [General] > Listen-on= 123.123.123.123 > >

adb 5.1.1.4 and Android 8

2018-04-16 Thread dmitry.sensei
Hi!. The current version of the adb does not work with Android 8.0 In Linux, I updated the version of the utilities to the latest version. Can someone compile the latest version for OpenBSD? -- Dmitry Orlov

Re: Listen-on parameter in iked.conf

2018-04-16 Thread mabi
On April 16, 2018 9:05 AM, Stuart Henderson wrote: > There is not, but the main place this is needed is for setting the > > "from" address for outgoing packets. isakmpd uses the "default" address > > for this, which is often wrong on a multihomed system so it's necessary

Re: Beg for Atheros wifi driver

2018-04-16 Thread Antal Ispanovity
Hi, this one works fine for me with the urtwn(4) driver: https://www.asus.com/Networking/USBN10_NANO/ I tried it on 6.2 and 6.3. You might need to do fw_update(1), but you can do that from an USB stick as well. By the way, you just need to have a look at this page, click on a driver and you can

Way to specify offset suggestion autoalignment multiple in disklabel(8)? (w.o. paper, pen and a 2:nd computer)

2018-04-16 Thread Tinker
Hi, When in "disklabel -E" for instance in the OS installer, being able to specify that I want the partition offsets to be multiples of 2048 would be useful. Right now, when in "a" (add partition), i transcribe the suggested offset to another computer, on the other computer calculate its value

Re: Way to specify offset suggestion autoalignment multiple in disklabel(8)? (w.o. paper, pen and a 2:nd computer)

2018-04-16 Thread Stuart Henderson
On 2018-04-16, Tinker wrote: > When in "disklabel -E" for instance in the OS installer, being able to > specify that I want the partition offsets to be multiples of 2048 would > be useful. > > Right now, when in "a" (add partition), i transcribe the suggested > offset to

Re: Community-driven OpenBSD tutorials wiki?

2018-04-16 Thread Stuart Henderson
On 2018-04-14, Mehma Sarja wrote: > Man pages, as opposed to woman pages, help one accomplish a task. What do you mean, "as opposed to woman pages"? In this context it is simply short for "manual".

Re: Way to specify offset suggestion autoalignment multiple in disklabel(8)? (w.o. paper, pen and a 2:nd computer)

2018-04-16 Thread Tinker
On April 16, 2018 4:07 PM, Stuart Henderson wrote: > On 2018-04-16, Tinker t1...@protonmail.ch wrote: > > When in "disklabel -E" for instance in the OS installer, being able to > > specify that I want the partition offsets to be multiples of 2048 would > > be useful. > > >

Re: OpenBSD 6.3, pppoe and IPv6 - default route missing

2018-04-16 Thread Edmund Craske
On Fri, Apr 13, 2018, at 10:55 AM, Daniel Gillen wrote: > Hi > > Just upgraded to 6.3 and it works for me. Here is my config: > --- /etc/pf.conf > if_ext="pppoe0" > icmp6_types="{ 1, 2, 133, 134, 135, 136 }" > pass in quick on $if_ext inet6 proto icmp6 from any to { ($if_ext), > ff02::1/16 }

Re: question regarding architecture mailing lists

2018-04-16 Thread Tom Smyth
Hello Theo, Diana, Yeah .. it was one of those Misc Responses where I responded to a PS with a n essay ... :) basically i was putting a stick in the ground saying "Here be trouble!!"... and offering my humble experience as a MikroTik User for those who might think the tilera would be super

Re: Kakoune editor on openbsd

2018-04-16 Thread Patrick Marchand
> On 04/16, Stuart Henderson wrote: > > On 2018-04-16, Patrick Marchand wrote: > > So trying again I looked closer at what the function was doing and how > > it was implemented for freebsd and dragonflybsd. The function > > tries to find the executable path of kak, but

OpenVPN error (code=49) flushing routes /sh /etc/netstart seems to fix

2018-04-16 Thread Tom Smyth
Lads, and ladies, I was wondering if anyone else comes across this issue where Openvpn client gives the following error 04:38:33 78906 openvpn[56335]: Control Channel Authentication: using '/etc/openvpn/tlsauth.pem' as a OpenVPN static key file Apr 16 04:38:33 78906 openvpn[56335]: UDPv4 link

10 GigE -T cards (Aquantia/Tehuti based cheaper models).

2018-04-16 Thread Karel Gardas
Hello, I'm curious if anybody here is working on support for cheaper 10 GigE-T Base cards. So far it looks like Tehuti 40xx chipset cards are cheaper than venerable Intel's X5xx and Aquantia AQ107 based are even cheaper. I'm asking since for example Aquantia starts to appear on some boards so

Re: Migrating nginx config to OpenBSD's httpd

2018-04-16 Thread Henrik Friedrichsen
On Fri, Apr 13, 2018 at 02:30:18PM +0300, Pavel Korovin wrote: > Hi Carlos, > > There's no analog of proxy_pass in httpd(8). relayd(8) is your friend. So far I have not been able to emulate proxy_pass with relayd. I came across two issues: - relayed HTTP requests resulted in cut off responses,

CPUTYPE in mk.conf to set -march like in FreeBSD?

2018-04-16 Thread IL Ka
In FreeBSD they have /etc/make.conf You set CPUTYPE= there, and /usr/share/mk/bsd.cpu.mk will read it, and set -march for CPUCFLAGS This variable is used by ports, kernel, and any random Makefile may use it. (There are similar things in Linux Gentoo also) But OpenBSD /etc/mk.conf does not have

Re: CPUTYPE in mk.conf to set -march like in FreeBSD?

2018-04-16 Thread Theo de Raadt
IL Ka wrote: > In FreeBSD they have /etc/make.conf > You set CPUTYPE= there, and > /usr/share/mk/bsd.cpu.mk will read it, and set -march for CPUCFLAGS > > This variable is used by ports, kernel, and any random Makefile may use it. > (There are similar things in Linux