Re: New laptop recommendations

2018-06-20 Thread Johan Mellberg
Hmm. I have that one and there’s something fishy with the graphics, when I boot the installer (6.3) I just get “static” on the built in screen. No problem with any other OS. I just tried booting OpenBSD as a test so have not investigated further, but consider it a potential issue, it might be

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Chris Cappuccio
Patrick Harper [paia...@fastmail.com] wrote: > I beg to differ, on my setup at least, the full GMaps in Chromium runs silky > smooth as intended. This is a Cayman (radeon) graphics card driving a 4K > monitor through dual 1920x2160 signals (hooray xrandr). I've never tried > Intel graphics

Re: New laptop recommendations

2018-06-20 Thread Patrick Harper
No drm support for Kaveri in OpenBSD 6.3. There is support in current now so 6.4 should work better when it arrives. -- Patrick Harper paia...@fastmail.com On Wed, 20 Jun 2018, at 14:03, Johan Mellberg wrote: > Hmm. I have that one and there’s something fishy with the graphics, when > I

FTP login delay

2018-06-20 Thread Maximilian Pichler
I've enabled ftpd and am experiencing very long delays (consistently 75 seconds) when logging in from localhost. Running nc reveals that the connection is accepted immediately, but the server waits before spitting out the 'ready' line: $ nc -4v localhost 21 Connection to localhost 21 port

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
Your script is incorrect. $ dd if=/dev/zero bs=1 | ./nread 1234567 | wc -c 0+2411 records in 0+2411 records out 2411 bytes transferred in 0.038 secs (62579 bytes/sec) 135+0 records in 135+0 records out 135 bytes transferred in 0.001 secs (126148 bytes/sec) 2546 $ man dd ... count=n

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 08:20:16PM +0200, Maximilian Pichler wrote: > On Wed, Jun 20, 2018 at 7:17 PM, Tomasz Rola wrote: > > But seriously: man sh. > > Are you saying there is a shell built-in that does this? If so, which one? => (591 13):cat nread #!/bin/sh # nread n - read up to n

Re: OpenBSD in qemu freezes randomly

2018-06-20 Thread Kapetanakis Giannis
On 20/06/18 17:03, Leo Unglaub wrote: Hey, thank you very much for the link. I have forwarded it to the support staff at the datacenter. I hope they apply it very quickly. I let you know if this fixes the problem. Thanks and greetings Leo On 06/19/18 21:21, Kapetanakis Giannis wrote: They

Re: How to search for "hostap" in man pages.

2018-06-20 Thread Ingo Schwarze
Hi Luke, Luke A. Call wrote on Sat, Jun 16, 2018 at 05:34:45PM -0600: > I think "man -K" would work on gnu/linux, The man(1) implementation used on many (but not all) Linux systems, man-db, does have a -K option since 2009. But what it does is just linearily search through the full text of all

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
POSIX says (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/head.html#tag_20_57_18) about the 'head' utility: "There is no -c option (as there is in tail) because it is not historical practice and because other utilities in this volume of POSIX.1-2017 provide similar functionality."

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Patrick Harper
The card is a FirePro V5900. Unlike the 6950/6970 it is single-slot. However, the slot below it should be kept vacant to allow for heat dissipation, which I've employed a 12cm fan to take care of. The card has a pair of DP outputs, and the monitor (MultiSync EA244UHD) has a pair of DP inputs. I

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Vijay Sankar
Quoting Solene Rapenne : Максим writes: Hello. I'm using Firefox and Chromium (from packages) to browse the internet on OpenBSD 6.3 (amd64). The problem is that their performance in OpenBSD is very poor compared to other OSes. Loading pages is slow, watching online video is possible but

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 06:50:06PM +0200, Tomasz Rola wrote: [...] > > Maybe suggest to the teacher that she sticks to numbers divisible by > 512? That is what haxorz do. But seriously: man sh. -- Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** **

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
On Wed, Jun 20, 2018 at 6:27 PM, Tomasz Rola wrote: > On my Linux box: ? > cat HUGE | /usr/bin/time dd bs=1 count=1234944 | wc -c stdin might be something much faster than your disk, in which case the relative cost of bs=1 increases. > cat HUGE | /usr/bin/time dd bs=1024 count=1206 | wc -c

Re: New laptop recommendations

2018-06-20 Thread Patrick Harper
HP EliteBook 745 G2? -- Patrick Harper paia...@fastmail.com On Wed, 20 Jun 2018, at 09:01, Thomas Frohwein wrote: > No AMD laptop recommendations in this day and age? Also buying used or > refurbished laptops on eBay is a security risk from the outset - ask > yourself how well you would be

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Maurice McCarthy
Can only suggest reading man intel and/or running $ doas fw_update beyond that you'd need someone more knowledgeable. Good Luck

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Ken M
Branching off from the CPU and X paths of analysis, have you made sure network performance is not a factor in all this? A tact also in the browser, is use the inspect tools to see the response time of the request pieces. IF it is at all network related that my yield some information. Ken On

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Thu, Jun 21, 2018 at 12:02:14AM +0200, Maximilian Pichler wrote: > Your script is incorrect. > > $ dd if=/dev/zero bs=1 | ./nread 1234567 | wc -c > 0+2411 records in > 0+2411 records out > 2411 bytes transferred in 0.038 secs (62579 bytes/sec) > 135+0 records in > 135+0 records out > 135 bytes

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Thu, Jun 21, 2018 at 12:44:14AM +0200, Tomasz Rola wrote: [...] > => (591 60): cat nread > #!/bin/sh > > # nread n - read up to n bytes from stdio, put them on to stdout > > N=$1 > > dd bs=512 count=$((N / 512)) iflag=fullblock 2>/dev/null > dd bs=1 count=$((N % 512)) iflag=fullblock

httpd directory auto index but hide the parent ..

2018-06-20 Thread Rudolf Sykora
Hello list, I have odin$ cat /etc/httpd.conf server "default" { listen on * port 80 directory auto index root "htdocs/TESLA" } odin$ and a bunch of files in the htdocs/TESLA directory. Can I somehow arrange that the parent of TESLA (i.e. "..") is not listed when the page

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Максим
fw_update was among the first commands after the install process :-) hardware acceleration definitely works. --  20.06.2018, 10:04, "Maurice McCarthy" : > Can only suggest reading man intel and/or running > $ doas fw_update > > beyond that you'd need someone more knowledgeable. > Good Luck

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Patrick Harper
Also, in the about:flags page in Chromium, try enabling the 'Override software rendering list' (#ignore-gpu-blacklist) setting. -- Patrick Harper paia...@fastmail.com On Wed, 20 Jun 2018, at 01:28, Patrick Harper wrote: > Post the contents of /var/log/Xorg.0.log > > -- > Patrick Harper

Huawei 4G stick (Hisilicon Balong V7 chipset) kernel driver

2018-06-20 Thread Denis
Huawei E3372h modem built on Hisilicon Balong V7 SOC. http://www.hisilicon.com/en/Products/ProductList/Balong Does it have (planned) a kernel driver to have it working? Thank you for answer in advance. Denis

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Patrick Harper
It's using the framebuffer driver in EFI mode, so you're getting a resolution native to the monitor but no acceleration. Try making an xorg.conf file in /etc/X11/ with the following contents: Section "Device" Identifier "drm" Driver "intel" EndSection (reboot) -- Patrick

Have a 1 Gbit connection but I not all devices are getting 1 Gbit speed from my ISP

2018-06-20 Thread Kollar Arpad
Hello: Original question: https://superuser.com/questions/1332664/have-a-1-gbit-connection-but-i-not-all-devices-are-getting-1-gbit-speed-from-my I have 3 laptops and a 1 Gbit network connection to my ISP. But when I connect my ISPs cable to the laptops ethtool

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Patrick Harper
Post the contents of /var/log/Xorg.0.log -- Patrick Harper paia...@fastmail.com On Wed, 20 Jun 2018, at 00:20, Максим wrote: > fw_update was among the first commands after the install process :-) > hardware acceleration definitely works. > > --  > > > 20.06.2018, 10:04, "Maurice

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Максим
cat /var/log/Xorg.0.log [17.555] (--) checkDevMem: using aperture driver /dev/xf86 [17.603] (--) Using wscons driver on /dev/ttyC4 [17.639] X.Org X Server 1.19.6 Release Date: 2017-12-20 [17.639] X Protocol Version 11, Revision 0 [17.639] Build Operating System: OpenBSD 6.3

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 06:01:21PM +0200, Maximilian Pichler wrote: > On Wed, Jun 20, 2018 at 5:50 PM, Solene Rapenne wrote: > > it's slow because it flushes the output every byte, what would you > > expect? Maybe you should do in a different manner. > > I know, my question is what such a

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Tomasz Rola
On Wed, Jun 20, 2018 at 06:35:49PM +0200, Maximilian Pichler wrote: > On Wed, Jun 20, 2018 at 6:27 PM, Tomasz Rola wrote: > > On my Linux box: > > ? > > > cat HUGE | /usr/bin/time dd bs=1 count=1234944 | wc -c > > stdin might be something much faster than your disk, in which case the >

20% package loss on CARP after upgrade to 6.3

2018-06-20 Thread Henrik Dige Semark
Hey everybody, I'm experiencing problems with CARP after upgrading to 6.3, it was working fine between my two servers in 6.2 but after upgrading (first backup and then master) I have a ping package loss on about 20%. It seem like the backup server tries to take the master, cause it's the only

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
On Wed, Jun 20, 2018 at 7:17 PM, Tomasz Rola wrote: > But seriously: man sh. Are you saying there is a shell built-in that does this? If so, which one?

Re: OpenBSD in qemu freezes randomly

2018-06-20 Thread Leo Unglaub
Hey, thank you very much for the link. I have forwarded it to the support staff at the datacenter. I hope they apply it very quickly. I let you know if this fixes the problem. Thanks and greetings Leo On 06/19/18 21:21, Kapetanakis Giannis wrote: They should try setting this on the host:

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Thomas Frohwein
On Wed, Jun 20, 2018 at 11:36:37AM +0300, wrote: > cat /var/log/Xorg.0.log > > [17.555] (--) checkDevMem: using aperture driver /dev/xf86 > [17.603] (--) Using wscons driver on /dev/ttyC4 > [17.639] > X.Org X Server 1.19.6 When I tried different settings with Intel

Re: Have a 1 Gbit connection but I not all devices are getting 1 Gbit speed from my ISP

2018-06-20 Thread IL Ka
> > > >Lenovo G500 with USB 3.0 Ethernet and OpenBSD 6.2 - 100mbit > >Lenovo T400 with motherboard Ethernet Ubuntu 14.04 - 100mbit > >Lenovo T560 with motherboard Ethernet Windows 10 - 1 Gbit > > > Boot all 3 laptops with OpenBSD flashdrive to see if it is OS/driver issue of hardware

How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. I can't seem to think of a faster command that also works in the presence of short reads and blocking. There is ghead -c from coreutils in ports, but this should be possible in base, no? Max

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Maximilian Pichler
On Wed, Jun 20, 2018 at 5:50 PM, Solene Rapenne wrote: > it's slow because it flushes the output every byte, what would you > expect? Maybe you should do in a different manner. I know, my question is what such a different manner might look like. :)

Re: New laptop recommendations

2018-06-20 Thread Thomas Frohwein
No AMD laptop recommendations in this day and age? Also buying used or refurbished laptops on eBay is a security risk from the outset - ask yourself how well you would be at spotting if someone had tampered e.g. with the webcam or the firmware? With new hardware, you have at least a reasonable

Re: firefox crashes when password field is focused

2018-06-20 Thread Thomas Frohwein
> Whenever I click on a password field on a website firefox crashes. > This is on current w/ newest firefox and is reproducible on every > password field on every site I tried (although usernames work fine) > and is reproducible with all combinations of settings including > default. It has

Re: How to copy n bytes from stdin to stdout?

2018-06-20 Thread Solene Rapenne
Maximilian Pichler writes: > dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. > > I can't seem to think of a faster command that also works in the > presence of short reads and blocking. There is ghead -c from coreutils > in ports, but this should be possible in base,

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Patrick Harper
I beg to differ, on my setup at least, the full GMaps in Chromium runs silky smooth as intended. This is a Cayman (radeon) graphics card driving a 4K monitor through dual 1920x2160 signals (hooray xrandr). I've never tried Intel graphics though. -- Patrick Harper paia...@fastmail.com On

Re: screenshot with maim: Invalid number of channels provided to image.

2018-06-20 Thread Riccardo Mottola
Hi, Rudolf Sykora wrote: Failed to detect a compositor, OpenGL hardware-accelleration disabled... and fix the typo? Riccardo

Re: Poor browser performance in OpenBSD

2018-06-20 Thread IL Ka
Have you tried vmstat to find bottleneck: is it CPU in userspace or in kernel or storage? Which WM are you using? Could it be WM issue? Try to use lower resolution (I know that resolution is locked for LCDs, but you can try just to make sure it is not the problem)

Re: New laptop recommendations

2018-06-20 Thread Maximilian Pichler
I'm quite happy with my Asus Zenbook 3 (UX390UA). It's thinner, lighter and more powerful than the current MacBooks and costs about 1100 EUR now. On Tue, Jun 19, 2018 at 12:37 PM, Rupert Gallagher wrote: > I'm done with my 10 years old 1200EUR MacBookPro. It served me well, every > day, but is

Re: Have a 1 Gbit connection but I not all devices are getting 1 Gbit speed from my ISP

2018-06-20 Thread flipchan
Do u run cat 6 cables ? On June 20, 2018 9:25:56 AM UTC, Kollar Arpad wrote: >Hello: > >Original question: >https://superuser.com/questions/1332664/have-a-1-gbit-connection-but-i-not-all-devices-are-getting-1-gbit-speed-from-my > > > >I have 3 laptops and a 1 Gbit

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Максим
I followed your advice: cat /etc/X11/xorg.conf Section "Device" Identifier "drm" Driver "intel" EndSection and rebooted No visual change in performance. cat /var/log/Xorg.0.log [19.136] (--) checkDevMem: using aperture driver /dev/xf86 [19.185] (--) Using wscons driver

Re: Poor browser performance in OpenBSD

2018-06-20 Thread Solene Rapenne
Максим writes: > Hello. > I'm using Firefox and Chromium (from packages) to browse the internet on > OpenBSD 6.3 (amd64). > The problem is that their performance in OpenBSD is very poor compared to > other OSes. > Loading pages is slow, watching online video is possible but the >