Re: Quick APU2 review

2016-04-18 Thread Christian Weisgerber
Boudewijn Dijkstra: > > A "make -j4 build" took exactly 120 minutes. > > Using which physical disk type(s)? A no-name 16 GB mSATA SSD. http://www.apu-board.de/produkte/datapower-msata.html -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Quick APU2 review

2016-04-18 Thread Christian Weisgerber
On 2016-04-18, Stuart Henderson wrote: > From a different machine though. Compared to APU1 the APU2 has 4x the L2 > cache, RAM is clocked a quarter faster, twice the number of cpu cores, > and a few more cpu features (e.g. AES-NI, RDRAND). For the record: The APU2 does not have RDRAND. -- Chri

Re: Odd (incorrect?) zsh output

2016-04-18 Thread Christian Weisgerber
On 2016-04-16, Geoff Wozniak wrote: > # zsh -c 'x=$(false); echo $?' > 0 I can reproduce this. > I've done this a few times and every time it's the same: on my > Thinkpad X200 the test produces '0' whereas any other machine I > install 5.9 on it produces '1'. Very odd. What I'm seeing h

Re: systrace removed? Why?

2016-04-27 Thread Christian Weisgerber
On 2016-04-27, Marc Espie wrote: > Race-conditiony things that make you go hum, oh shit is this thing > more dangerous than what it's actually potecting. Plus semantic bugs. > Like the time we had to hunt a really weird copy bug in the qt code until > we realized it was just systrace fucking up.

Re: 5.9 discs in the wild.

2016-04-30 Thread Christian Weisgerber
Mine arrived in Germany while I was away at p2k16, but I had only ordered on the Thursday before the weekend. I successfully verified the signatures and that all files are indeed covered by them. #!/usr/bin/perl -w use File::Find; my %tree; my %skip = qw(SHA256.sig 1 TRANS.

Re: non-wintel hardware choices

2016-05-05 Thread Christian Weisgerber
On 2016-05-05, "Bryan C. Everly" wrote: > The fastest desktop that I own is a SunBlade 2500 Silver (don't let > the name throw you, it is a tower desktop machine). That machine is 12 years old. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: non-wintel hardware choices

2016-05-05 Thread Christian Weisgerber
On 2016-05-05, Gregory Edigarov wrote: > if I want to build a non-wintel system with commodity running OpenBSD > without problems, what are my options? > preferably something non-apple also, which i will be able to connect > display, mouse, and keyboard, and hopefully run X, etc. There aren't

Re: problem with packages after update

2016-05-08 Thread Christian Weisgerber
On 2016-05-08, Zoran Kolic wrote: > I see that both packages and bsd.rd are from 8th may. Someone > might know what I have to do at the moment? The amd64 packages haven't caught up with the API change yet. That will take another approx. 24 hours. -- Christian "naddy" Weisgerber

Re: TLS now supported on openbsd.org?

2016-05-09 Thread Christian Weisgerber
On 2016-05-09, arrowscr...@mail.com wrote: > - The RSA is 4096 bits. If I remember correctly, reyk@ said once > that 4096 is overkill. Any specific reason to use 4096 instead of > 2048? That was then, this is now. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: PPPoE issues

2016-05-29 Thread Christian Weisgerber
On 2016-05-29, Maurice Janssen wrote: > I'm trying to replace a PC Engines Alix board with an APU 2c4 board, but > I'm having some issues to get it up and running. Just copy the configuration. (Or the whole system for that matter.) You only need to change the interface names. > I have a fiber

Re: PPPoE issues

2016-05-30 Thread Christian Weisgerber
On 2016-05-30, Daniel Gillen wrote: >> I'm trying to replace a PC Engines Alix board with an APU 2c4 board, but >> I'm having some issues to get it up and running. >> I have a fiber connection and my ISP requires a PPPoE connection over >> VLAN 6. > I have a similar setup. For me the problem was

Re: mfs and wxallowed

2016-05-30 Thread Christian Weisgerber
On 2016-05-30, Theo de Raadt wrote: > Well, you are also going to find out you cannot set wxallowed > on some other filesystems. It only works on real FFS and real > NFS, and the purpose is for building & installation of official > binaries. > > The goal is that admins won't create filesystems l

Re: A patch for cal

2016-06-21 Thread Christian Weisgerber
Really, if you want to change cal(1) in a non-standard way, look at FreeBSD. Extensions I regularly use: * highlighting of today * -3 to also display previous and next month * ncal mode: display weeks vertically * -A (-B) to also display n months after (before) the current one Now that I think ab

Re: where is the image of openbsd arm ?

2016-06-24 Thread Christian Weisgerber
On 2016-06-24, "Jacob L. Leifman" wrote: > Is it possible to add more wired NICs to the APU? Not really. You could add more ports with a mini-PCIe dual/quad NIC, but you would have to build your own case. The APU2 is at a very sweet price/performance spot *if* it fits your requirements. > Alt

Re: where is the image of openbsd arm ?

2016-06-24 Thread Christian Weisgerber
David Vasek: > As there are two USB ports, any USB-attached ethernet adapter should work. > With a powered USB hub, probably a number of them. Am I right? If you are desperate enough. There's a dual axen(4) adapter in one package: https://www.startech.com/Networking-IO/usb-network-adapters/USB-

Re: where is the image of openbsd arm ?

2016-06-24 Thread Christian Weisgerber
On 2016-06-24, Chris Cappuccio wrote: >> Walking on the wild side, I suppose something could be done with a >> switch and vlans. > > Yeah, but now your switch is using ten times the power of your router. There are small managed switches that have a size and power profile similar to any dumb desk

Re: choosing OpenBSD for fileserver instead of FreeBSD + ZFS

2016-07-20 Thread Christian Weisgerber
On 2016-07-20, Miles Keaton wrote: > So I figure if I use OpenBSD + softraid RAID 5 (across 4 disks) and then > write my own little shell script to track the MD5 (find . -type f -exec md5 > {} \;) Note that mtree(8) can checksum files. -- Christian "naddy" Weisgerber n

Re: mss and obsd

2016-08-02 Thread Christian Weisgerber
On 2016-08-02, Friedrich Locke wrote: > sioux@etosha$ ping -s 65468 gustav.cpd.ufv.br > ping: packet size is too large: 65468 > sioux@etosha$ > > I realize the difference between 65535 and 65467 is 68 bytes. What is obsd > accounting for ? Maximum IP packet size: 65535 Maximum IP header size:

Re: cvsweb: headers of revision files are shown in plain text

2016-08-12 Thread Christian Weisgerber
On 2016-08-12, Alessandro DE LAURENZIS wrote: > Out of idea. I have no idea either. I run cvsweb on a local machine. It just works. /etc/rc.conf.local: httpd_flags= slowcgi_flags= Here's my complete httpd.conf: ---> server "default" { listen on 0.0.0.0 port 80

Re: cvsweb: headers of revision files are shown in plain text

2016-08-13 Thread Christian Weisgerber
Alessandro DE LAURENZIS: > Actually, my trial on -current was too quick; maybe there was something in > the browser's cache... Anyhow, I confirm that cvsweb works flawlessly in > -current. > > Now: any chance to have this working on the 5.9 machine? I have no memory of this being broken in the

Re: DPB can't do it's job in 6.0

2016-08-19 Thread Christian Weisgerber
On 2016-08-19, Stuart Henderson wrote: > The chroot support is currently optional, but you do need to create the > user accounts if sysmerge didn't do it for you (_pbuuld, _pfetch), and > start dpb as root. No, running dpb as root is also optional. -- Christian "naddy" Weisgerber

Re: DPB can't do it's job in 6.0

2016-08-19 Thread Christian Weisgerber
patrick keshishian: > > No, running dpb as root is also optional. > > true, but then it doesn't switch users to _p{build,fetch}. it runs > as user starting it. That is correct. Setting up your system so that dpb switches to different users is great for bulk builds but renders ports development

Re: Recent package archives?

2016-08-23 Thread Christian Weisgerber
"STeve Andre'": > Does anyone have archives of recent amd64 snapshot packages? > > I blew my aug-09 set away and I'd like libreoffice back. Anyone? amd64 libreoffice packages are available again, starting with today's (2016-08-23) package snapshot. -- Christian "naddy" Weisgerber

Re: xpdf crashes when going fullscreen

2016-08-26 Thread Christian Weisgerber
David Coppa: > Can you please try the x11/motif diff below and report back? The question isn't so much whether this fixes the xpdf problem, but whether is breaks anything else. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: i386 generic kernel compile error

2016-09-05 Thread Christian Weisgerber
On 2016-09-05, Eivind Eide wrote: > ../../../../netinet6/in6_pcb.c:211: error: expected expression before '<<' > token > ../../../../netinet6/in6_pcb.c:298: error: expected expression before '==' > token > ../../../../netinet6/in6_pcb.c:313: error: expected expression before '>>' > token CVS

Re: uaudio useless?

2014-05-19 Thread Christian Weisgerber
On 2014-05-19, Mike Larkin wrote: >> > Maybe there are audio dongles that run at hi-speed, otherwise uaudio(4) >> > looks pretty useless. > > FWIW, I have 3 different uaudio dongles and they all work fine. Well, these three don't (on USB2.0 ports): ===> HA Info NG Coax 2011 uaudio0 at uhub2 por

Re: uaudio useless?

2014-05-20 Thread Christian Weisgerber
On 2014-05-19, Mike Larkin wrote: > FWIW, I have 3 different uaudio dongles and they all work fine. It depends on the layout of your USB bus, see "usbdevs -v". On older systems with USB2, full speed devices will be attached directly to a full speed root hub and the audio dongle will work. Here'

Re: uaudio useless?

2014-05-21 Thread Christian Weisgerber
On 2014-05-21, Alexandre Ratchov wrote: > certain usb hosts don't use hubs or can work as uhci (by disabling > echi), in which case uaudio works. Others use rate matching hubs, > on which uaudio can't work yet. I disabled ehci by way of boot -c "Intel 8 Series USB" rev 0x04 at pci0 dev 29 funct

Re: Ksh line edition wrongly counts multibyte characters in 5.5-current

2014-05-22 Thread Christian Weisgerber
On 2014-05-22, M Farkas-Dyck wrote: > At ksh prompt, type a multibyte character, and move or backspace over > it, for examples: ksh's command line editor simply does not support multi-byte characters. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Snapshot and packages

2014-05-24 Thread Christian Weisgerber
On 2014-05-24, Kenneth Westerback wrote: > In this case the bump to 75.0 took place on May 12th, so that seems a > bit long, but not impossible. And the first packages of the sparc64 snapshot we published yesterday were built on May 12, so they just missed the library update. > The only solutio

Re: Shuttle DS81 and openBSD 5.5?

2014-05-28 Thread Christian Weisgerber
On 2014-05-28, Harald Dunkel wrote: > I haven't found it mentioned here yet, so I wonder if somebody > could share his experiences in running openBSD on a Shuttle DS81 > (Intel DH82H81 chipset, Haswell i3 or i5). Is the hardware "too new" > for openBSD 5.5? I wouldn't hesitate to buy it. The

Re: mount /usr

2014-06-05 Thread Christian Weisgerber
On 2014-06-05, Pieter Verberne wrote: >>> /dev/sd0a on /usr type ffs (local) > > I was thinking about a way out if this. I was remote at that moment. > It's funny because the only way out is to pull the power cable. A SSH > session was still up but I was logged in as a regular user. su and sudo

Weird disk problem

2014-06-05 Thread Christian Weisgerber
I have a 3TB disk here... sd1 at scsibus1 targ 1 lun 0: SCSI3 0/direct fixed naa.5000cca225c5fbeb sd1: 2861588MB, 512 bytes/sector, 5860533168 sectors ... that's serving as a general media dump with a single FFS2 file system on it. Filesystem SizeUsed Avail Capacity Mounted on /dev/

Re: Weird disk problem

2014-06-08 Thread Christian Weisgerber
On 2014-06-05, David Vasek wrote: > Did you try smartctl from smartmontools for a more detailed report? I assume there is a 1000-page SMART spec somewhere that would come in handy for interpreting the responses? > My favourite are: > > smartctl -a /dev/sd1c > smartctl -l scttemp /dev/sd1c Temp

Re: Weird disk problem

2014-06-08 Thread Christian Weisgerber
On 2014-06-05, "STeve Andre'" wrote: > I think you are relying on the smart system too much. Not at all, but I knew people would immediately direct me to it. > Certainly try what David said, but it's obvious that the disk is > sick despite what the smart system may say. I got a replacement dis

Re: Duplicating a disk

2014-06-11 Thread Christian Weisgerber
On 2014-06-11, Peter Fraser wrote: > To duplicate a disk I used the following: > > dd if=/dev/rsd2c of=/dev/rsd3c bs=32M seek=1 skip=1 conv=noerror Why are you skipping the first 32M? > Is there any method of coping a disk or partition, or even a file that uses > non-blocking I/O? You could us

Re: Ssh key stopped working

2014-06-13 Thread Christian Weisgerber
On 2014-06-13, Eivind Evensen wrote: > For the record, with sources upgraded and built from cvs from Sunday > I still see this, with new keys too: > > .ssh-keygen -b 16384 > Generating public/private rsa key pair. I'm wondering if this isn't a case of "don't do that then". Hmm. I guess ssh-key

Re: 8 port serial card connections

2014-06-14 Thread Christian Weisgerber
On 2014-06-14, Craig R. Skinner wrote: > To connect a Moxa 8 port serial card with octopus cable to an i386 > serial port, do I need just a DB9 (2x female) gender changer, or a null > modem cable/mini adapter as well? You need a null modem cable/adapter. A gender changer is of no use. -- Chri

Re: Ssh key stopped working

2014-06-18 Thread Christian Weisgerber
On 2014-06-13, Eivind Evensen wrote: > .ssh-keygen -b 16384 > Generating public/private rsa key pair. > > .eval `ssh-agent -c` > Agent pid 23633 > > .ssh-add taskulf > Error reading response length from authentication socket. > Could not add identity: taskulf (Or just "ssh-keygen -lf taskulf" f

Re: _XData32() crash: long* vs int* on amd64 (LP64)

2014-06-18 Thread Christian Weisgerber
On 2014-06-17, patrick keshishian wrote: > I use xsel (from ports) pretty often, and every so often it > crashes: Please sent ports problems to the ports@ list. > #0 0x05adb1e28f40 in _XData32 () from /usr/X11R6/lib/libX11.so.16.0 > (gdb) bt > #0 0x05adb1e28f40 in _XData32 () from /us

Re: ssh-add: June 26 snap cannot read an id_rsa file

2014-06-27 Thread Christian Weisgerber
On 2014-06-27, Josh Grosse wrote: > I just updated from a June 17 to June 26 snapshot. The ssh-add utility > now fails immediately: [...] > > Between these two snapshots there was a major bump for libcrypto from 28.0 > to 29.0, but that may not be relevant. It's most likely fallout from the ssh

Re: 5.5 bsd.rd fails to boot on alix

2014-06-29 Thread Christian Weisgerber
On 2014-06-29, Dewey Hylton wrote: > i have 3 alix 2d13 machines, all currently running something > between 5.1 and 5.3. each of these fails to boot the 5.5 bsd.rd > (i386). bsd.rd checksums match. each time i attempt to boot the 5.5 > bsd.rd on any of these 3 machines, i see the following two li

Re: 5.5 bsd.rd fails to boot on alix

2014-06-29 Thread Christian Weisgerber
Dewey Hylton: > > I vaguely remember that at some point there was a change that > > requires a new boot(8), otherwise a serial console won't be set > > correctly with a new kernel. > > hmmm ... would this affect both pxe and locally booting bsd.rd? It affects both pxeboot(8) and boot(8) on disk.

Re: Why doesn't GCM HTTPS work with nginx?

2014-07-02 Thread Christian Weisgerber
On 2014-07-02, Ez Egy wrote: > www.ssllabs.com: ECDHE-RSA-AES256-GCM-SHA384 > www.google.com: ECDHE-RSA-AES128-GCM-SHA256 > > We wanted to make our webserver HTTPS connection more secure (don't look at > the self-signed certificate, that doesn't count right now..) > > We are using an OpenBSD 5.4

Re: openssh

2014-07-04 Thread Christian Weisgerber
On 2014-07-03, Damien Miller wrote: >> Just out for curiosity. >> what is the fastest and lightest in cpu terms algorithm in ssh? > > In recent OpenSSH, chacha20-poly1...@openssh.com is what you want. Most likely yes, but I wouldn't entirely dismiss Nick's suggestion to test actual performance.

Re: Does the OpenBSD support well AMD's APU hardware?

2014-07-05 Thread Christian Weisgerber
On 2014-07-05, Артур Истомин wrote: >> I will share my config with you with one caveat: I'm from Alabama, and we all >> know what that means ... > > You intrigued me. What it means to be from Alabama? In Birmingham they love the governor? -- Christian "naddy" Weisgerber

Re: SSH fails to run

2014-07-06 Thread Christian Weisgerber
On 2014-07-06, Stan Gammons wrote: > I grabbed the 07-04-2014 snapshot of OpenBSD for AMD64 and was I'll guess that you mean July 4. There was no amd64 snapshot with that date, so I presume you grabbed an older one _on_ that date. > trying to get KDE4 to run and ran into some problems. One is

Re: Setup of anoncvs server

2014-07-13 Thread Christian Weisgerber
On 2014-07-13, Nick Holland wrote: > Also, if you are running your own local copy for just your use (i.e., > not exposed to the public internet) rather than setting up a complete > anoncvs mirror with chrooting and all, you may be just as or more happy > with key-based (so you don't have to enter

Re: nginx in the default newsyslog.conf

2014-08-12 Thread Christian Weisgerber
On 2014-08-11, Jan Stary wrote: > /var/www/logs/access.log 644 4 * $W0 Z /var/run/nginx.pid SIGUSR1 > /var/www/logs/error.log644 7 250 * Z /var/run/nginx.pid SIGUSR1 > > The defult configuration of nginx, however, > makes nginx run chrooted in /var/www > which makes the PID file /var/

Re: Terminate session on serial terminal (com0) when ssh disconnects

2014-08-14 Thread Christian Weisgerber
On 2014-08-12, Clint Pachl wrote: > Here's my situation: I ssh into a remote server in my group. From that > server, I connect to an adjacent, local server in the group via the > serial terminal using tip(1) or cu(1). If the ssh connection is > disconnected, the login session to the second ser

Re: Generating random.seed for network boot clients

2014-08-15 Thread Christian Weisgerber
On 2014-08-15, Theo de Raadt wrote: >> Is it safe to generate some randomness in /tftpboot/etc/random.seed for >> clients that PXE boot? > > I do not even know if that file will be read... is it? I would hope so since pxeboot complains about its absence: >> OpenBSD/amd64 PXEBOOT 3.23 boot> ca

Re: Generating random.seed for network boot clients

2014-08-15 Thread Christian Weisgerber
On 2014-08-15, Paul de Weerd wrote: > What you could do is use the -r option to tftpd(8) to hand out a new > file to each client that connects. Or just periodically (like, every > hour or every minute, depending on the load of your tftp server) > replace it with a new random file. How about mak

Re: Generating random.seed for network boot clients

2014-08-16 Thread Christian Weisgerber
On 2014-08-16, Clint Pachl wrote: >> # cd /tftpboot >> # mkfifo etc/random.seed >> # while true; do dd if=/dev/random count=1 >etc/random.seed 2>/dev/null; >> done & > > # cd /tftpboot > # mkfifo test.seed > # while :; do dd if=/tmp/counter of=test.seed 2>/dev/null; done & Careful! "dd ... >fi

Re: Generating random.seed for network boot clients

2014-08-16 Thread Christian Weisgerber
On 2014-08-16, Christian Weisgerber wrote: > How about making etc/random.seed a named pipe and feeding chunks > of /dev/random to it? I've now put this into my /etc/rc.local: ---> # Provide fresh random.seed for pxeboot if cd /tftpboot/etc; then rm

Re: Help, please, understanding AHCI error on amd64

2014-08-27 Thread Christian Weisgerber
On 2014-08-25, Dave Anderson wrote: > Yup, time for a new disk. I'm off to do some research on who makes the > most reliable ones these days. [Suggestions from anyone knowledgable > are welcome.] Here's a bold suggestion: Don't buy consumer drives. -- Christian "naddy" Weisgerber

Re: Help, please, understanding AHCI error on amd64

2014-08-27 Thread Christian Weisgerber
Paul de Weerd: > | Here's a bold suggestion: Don't buy consumer drives. > > The guys that buy LOTS disagree. > https://www.backblaze.com/blog/what-hard-drive-should-i-buy/ Oh, I know. That's a different operations model, though. When you have LOTS of drives, failures will inevitably become com

Re: Help, please, understanding AHCI error on amd64

2014-09-02 Thread Christian Weisgerber
On 2014-08-27, Geoff Steckel wrote: > This paper: > http://download.intel.com/support/motherboards/server/sb/enterprise_class_versus_desktop_class_hard_drives_.pdf > describes the different features and intended uses of > enterprise drives vs. desktop drives. The hardware requirements > for a (go

Re: httpd(8) questions

2014-09-14 Thread Christian Weisgerber
On 2014-09-14, Daniel Jakots wrote: > I set up a server: > server "default" { > listen on egress port 80 > directory auto index > root "/var/www/" > } > > But it won't listen on localhost. So is there any easy way to do it? listen on 0.0.0.0 port 80 > "host_dns: localhos

Re: ntpd not setting time under kvm-qemu

2014-09-21 Thread Christian Weisgerber
On 2014-09-21, Markus Wernig wrote: > But the system keeps constantly loosing time, at a rate of about two > seconds per minute (which of course makes it unusable). adjtime(2) can only skew the clock by a maximum of +/- 5ms each second. > Sep 21 13:12:37 secure ntpd[26259]: adjusting local cloc

Re: Thanks for ksh

2014-09-25 Thread Christian Weisgerber
On 2014-09-25, Craig R. Skinner wrote: > All the highly skilled work invested in the project, keeping ordinary > users secure, is appreciated. If this is a reference to the "ShellShock" bash bugs (CVE-2014-6271 CVE-2014-7169), I'd like to point out that, like many "bash features", exported funct

Re: OpenBSD 5.6 pre-orders in Germany possible

2014-09-30 Thread Christian Weisgerber
On 2014-09-30, Stefan Wollny wrote: >> I might have missed something, but could you provide me with an update >> on this issue? > > The openbsdstore.com has opend. So what does this mean with regard to Lehmanns? -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Publishing SSH public key fingerprints bit length?

2014-10-20 Thread Christian Weisgerber
On 2014-10-20, Craig R. Skinner wrote: > I noticed OpenBSD anon CVS SSH fingerprints have the bit length > published with the algorithm type: > http://www.openbsd.org/anoncvs.html That seems useless. > The bit length doesn't appear in the known_hosts file. Implicitly it does. Try "ssh-keygen

Re: Publishing SSH public key fingerprints bit length?

2014-10-21 Thread Christian Weisgerber
Giancarlo Razzolini: > >> I noticed OpenBSD anon CVS SSH fingerprints have the bit length > >> published with the algorithm type: > >> http://www.openbsd.org/anoncvs.html > > That seems useless. > That's not useless. SSHFP records have the algorithm type, and the > fingerprint type. But they don

Re: X11 screen blanking issue

2014-10-24 Thread Christian Weisgerber
On 2014-10-24, frantisek holop wrote: > ok, it seems a paused mplayer could be the reason. > is that expected? Yes. MPlayer disables screen blanking. When you watch a movie, you usually don't press keys or move the mouse, but you still don't want your screen to switch off. MPlayer restores th

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Christian Weisgerber
On 2014-11-01, ropers wrote: > * Has anyone here used a USB-only laptop with a USB-to-serial adapter > as a serial console? (You know, instead of hardware that has a native > RS-232 port? This is impossible. The serial part is on the wrong end. The console code would have to drive a USB device

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Christian Weisgerber
On 2014-11-01, patrick keshishian wrote: >> * Has anyone here used a USB-only laptop with a USB-to-serial adapter >> as a serial console? (You know, instead of hardware that has a native >> RS-232 port? > > Yes. I use such a setup on one "server". You need to add the > appropriate /dev/ttyUx in y

Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Christian Weisgerber
Brad Smith wrote: > > pkg_locate libuuid.so - no? > > Even if that tool was installed that would not locate anything > if the package in question is not already installed, right? Wrong. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Christian Weisgerber
Zé Loff wrote: > Not sure how advisable this is, but I'm using a gpg encrypted file, > which I keep somewhere hidden (just because). Just put them in file > foo and do 'gpg -e foo' (assuming you've already setup gpg). When you > need to look something up just do 'gpg -d foo' and the file gets > d

Re: Are there any default password managers in OpenBSD?

2013-12-07 Thread Christian Weisgerber
Christian Weisgerber wrote: > ---> > #!/bin/sh > > SAFE=$HOME/.pwsafe > TMPFILE=`mktemp /tmp/pwsafeXX` || exit 1 > > trap 'rm -P "$TMPFILE"' 0 1 2 15 > > STTY=`stty -g` > echo -n "Password: " > stty -ec

Re: PgUp and PgDown on a Serial Console?

2013-12-15 Thread Christian Weisgerber
Evan Root wrote: > Does anybody know how to scroll back in a serial line console? That's a function of your local terminal. > I have a serial line connected to my box and I'm on the ftp site > at the ftp client's command prompt wondering if anybody else > has solved the problem of 1) not having

Re: PgUp and PgDown on a Serial Console?

2013-12-16 Thread Christian Weisgerber
Evan Root wrote: > Tmux is a very good idea, I hadn't thought of it before but I'm already > using screen as the serial console client, So why don't you use screen's scrollback buffer? -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Thinkpad x220i hangs after a few days of uptime

2013-12-17 Thread Christian Weisgerber
Stuart Henderson wrote: > > i am using a Thinpad x220i and I have a weired problem. Most of the > > time, i just put my notebook into suspend mode (zzz), so, I do not often > > reboot. After 4 or 5 days, my notebook suddenly stops and I > > can't do anything except pressing the power button for 4

Re: (5.4-stable i386) framebuffer console with tmux - poor performance

2013-12-17 Thread Christian Weisgerber
Adam Jensen wrote: > I recently installed 5.4-stable on a machine with an intel graphics > device so I can tinker with the framebuffer console. > > I notice that when running tmux on the console, output to the screen is > very sluggish and text seems to scroll with a wave-like effect. The har

NSA spy catalog (was: Re: apologies for the noise (interesting article)!)

2014-01-01 Thread Christian Weisgerber
mufurcz wrote: > http://www.itnews.com.au/News/368564,server-vendors-named-in-nsa-spying-toolkit.aspx?eid=1&edate=20131231&utm_source=20131231_AM&utm_medium=newsletter&utm_campaign=daily_newsletter > That's just a summary article about Applebaum's 30C3 talk. I don't know if any part of the En

delete-old

2014-01-07 Thread Christian Weisgerber
Sometime last year I wrote: | Those who also update FreeBSD machines from source may know "make | delete-old", which offers to delete obsolete files and directories. | | Here's the same as a shell script. As posted, the script would also offer to delete files that have been moved between sets,

Re: cleaning old files

2014-01-08 Thread Christian Weisgerber
Didier Wiroth wrote: > I've been updating my computer from binaries over the years, I'm mostly > running current. > What is the best way to clean/delete old (zombie unused) binary, > libraries /etc files ...? Just yesterday I posted a script here for this purpose (delete-old), but it requires a

Re: cleaning old files

2014-01-08 Thread Christian Weisgerber
Christian Weisgerber wrote: > # cd /mnt > # rm -rf /bin /sbin > # cd /mnt/usr > # rm -rf X11R6 bin games include lib libdata libexec sbin share As several people have pointed out, this should be: # cd /mnt # rm -rf bin sbin # cd /mnt/usr # rm -rf X11R6 bin games include lib lib

Re: NIST-free crypto, autociphering, and libsodium (NaCl)

2014-01-16 Thread Christian Weisgerber
MJ wrote: > I would like to inquire as to which OpenBSD RELEASE will offer the possibility > to avoid NIST crypto for everything in Base (isakmpd, openssh, openssl, https, > nginx being the key items in mind)? What is "NIST crypto"? > As it stands, there is currently cipher-suite negotiation /

Re: NIST-free crypto, autociphering, and libsodium (NaCl)

2014-01-17 Thread Christian Weisgerber
MJ wrote: > > What is "NIST crypto"? > > Are you serious or just being facetious? I basically used it as an > umbrella term to include all of the crypto in which the US government > has had their hand involved in it's specification, implementation, > approval, standardisation, etc and so forth.

Re: Power consumption of various architectures

2014-01-21 Thread Christian Weisgerber
Juan Francisco Cantero Hurtado wrote: > > How can i find out this numbers? From power block sticker? > > I use a (good) power meter. Don't buy the cheapest one. >From time to time, c't magazine reviews the cheap wattmeters available on the German (~ European) market. Their latest test, in the

Re: NAT reliability in light of recent checksum changes

2014-01-23 Thread Christian Weisgerber
Henning Brauer wrote: > > This fundamentally weakens its usefulness, though: a correct > > checksum now implies only that the payload likely matches > > what the last NAT router happened to have in its memory, > > whereas the receiver wants to know whether what it got is > > what was originally t

Re: faq addition: working with mfs disks?

2014-01-26 Thread Christian Weisgerber
Nick Holland wrote: > First, at this point, tmpfs is hopefully going to be replacing mfs (see > mount_tmpfs(8)). A word of caution: So far, if pushed hard enough, tmpfs is (1) losing files and (2) slower than actual storage on SSD. (I haven't tried with mfs.) -- Christian "naddy" Weisgerber

Re: ntpd switching between synced and unsynced since snap from 22nd jan

2014-01-29 Thread Christian Weisgerber
Markus Lude wrote: > since updating to the latest snapshot on sparc64 from 22nd january ntpd > switches back and forth between synced and unsynced clock every few > minutes. Does anyone notice similar behavior? Yes, I see the same on -current (amd64, sparc64). -- Christian "naddy" Weisgerber

Re: The "unknown" in i386-unknown-openbsd5.4

2014-01-31 Thread Christian Weisgerber
Adam Jensen wrote: > I see the string "i386-unknown-openbsd5.4" in various places throughout > my system. What does the "unknown" part of this string refer to and is > there a canonical way to set it to something more meaningful? It is largely meaningless. Historically, it was used to distingui

They are watching you

2014-01-31 Thread Christian Weisgerber
http://www.cbc.ca/news/politics/csec-used-airport-wi-fi-to-track-canadian-travellers-edward-snowden-documents-1.2517881 If you didn't know already, this is your cue to look up ifconfig(8)'s "lladdr random". -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: The "unknown" in i386-unknown-openbsd5.4

2014-02-02 Thread Christian Weisgerber
Adam Jensen wrote: > > FreeBSD is more playful: It has ${ARCH}-portbld-freebsd > > ${OSREL} in its ports tree and ... > > I wonder how the FreeBSD guys changed it "without breaking every > gnu-configure script in existence". They didn't. I think espie is simply mistaken. FreeBSD has a check w

Re: The "unknown" in i386-unknown-openbsd5.4

2014-02-02 Thread Christian Weisgerber
Marc Espie wrote: > But there are things that actually use the "unknown". Most notorious being > gcc. Hmm... no? I'm too lazy to compile a gcc port on FreeBSD now, but as far as I can tell, it just uses... .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:L}${OSREL} .else CO

Re: The "unknown" in i386-unknown-openbsd5.4

2014-02-02 Thread Christian Weisgerber
Miod Vallat wrote: > > i386-donatetoopenbsdfoundationtoday-openbsd5.4? > > or i386-bikeshed-openbsd. What is the string equivalent of goatse or tubgirl? -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: Is [binary] package signing planned?

2014-02-04 Thread Christian Weisgerber
Kim Twain wrote: > Well, I can fetch the ports tree in a secure way, verify its integrity > and origin, You can? How? -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: macppc man on amd64

2014-02-11 Thread Christian Weisgerber
On 2014-02-11, Jan Stary wrote: > On my current/amd64 install, some manpages get installed under > /usr/share/man/man8/macppc/ - is that intentional? Yes. All man pages are installed on all archs. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: mounting CVS tree read-only?

2014-02-21 Thread Christian Weisgerber
On 2014-02-21, Fred Snurd wrote: > After studying FAQ 5.3, I am contemplating mounting /usr/src and > /usr/xenocara read-only through NFS so I can maintain a centralized > tree for multiple platforms.  Is this possible? The last time I tried to mount the source trees read-only, it worked for /us

Re: Broadcom BCM5805 crypto accelerator

2014-03-07 Thread Christian Weisgerber
On 2014-03-07, Andy Hayward wrote: > Cleaning out my firewall box (Atom 330 based) before upgrading, and I > noticed it had a BCM5805 crypto accelerator card installed. Is there any > reason to keep this these days (even an an entropy source for random(4)), > or should I just recycle it as a door

Re: FYA: http://heartbleed.com/

2014-04-09 Thread Christian Weisgerber
On 2014-04-09, Theo de Raadt wrote: >>Is there any special reason why there is no /etc/malloc.conf by >>default (linking to, say, 'S') then? > > Yes, there's a real good reason -- too much portable software > breaks. No, the performance impact of the stricter malloc options means that developers

Re: default -inet6 route removed after suspend on wifi

2014-05-12 Thread Christian Weisgerber
On 2014-04-28, Vigdis wrote: > When I suspend my laptop and resume after some time (for the test, I > waited 30 minutes), the default route is not present anymore. But this > occurs only on my wifi, not when I use a wired connection. No, it also happens on wired interfaces. IIRC, the routes you

Re: firefox-26.0p1.tgz signature verification FAIL

2014-05-14 Thread Christian Weisgerber
On 2014-05-14, Marc Espie wrote: > There's no point in providing SHA256.sig for packages. We provide the SHA256 file to allow bulk integrity checking of the packages. There may be little point in signing it, but signing it also doesn't cost us anything, so why not? -- Christian "naddy" Weisge

Re: lemote yeelong compile time

2014-05-15 Thread Christian Weisgerber
On 2014-05-15, dam...@thiriet.web4me.fr wrote: > Unfortunately, some (heavy) binaries I would need are not > in mips64el,such as icedtea-web or conkeror, both needed > to browse on-line libraries djvu. > > I think I should stick with FAQ suggestions of avoiding > compilations and choose an amd64,

uaudio useless?

2014-05-17 Thread Christian Weisgerber
I just tried to hang a USB audio dongle off my spiffy new machine, and was rudely reminded of this long-standing issue: ehci0: Error opening low/full speed isoc endpoint. A low/full speed device is attached to a USB2 hub, and transaction translations are not yet supported. Right. I had see

Re: nmea/udcf recommendation

2021-08-02 Thread Christian Weisgerber
Jan Stary: > playing with ntpd a bit, I am looking for a working > nmea or udcf sensor. Can people please recommend > an easy to use device known to work? The Gude mouseCLOCKs were discontinued years ago, so I don't think you could buy any udcf(4) hardware even if you wanted to, and udcf is liter

Re: nmea/udcf recommendation

2021-08-03 Thread Christian Weisgerber
Stuart Henderson: > > I don't have any practical experience with nmea(4), but I'd like > > to draw attention to ldattach(8)'s -t option. Unless your receiver > > offers a pulse per second signal, you are limited to a very jittery > > timestamp from the serial telegram, mirroring udcf's fundamenta

scp -M sftp

2021-08-03 Thread Christian Weisgerber
Damien Miller: > CVSROOT: /cvs > Module name: src > Changes by: d...@cvs.openbsd.org2021/08/02 17:38:27 > > Modified files: > usr.bin/ssh: scp.1 scp.c > usr.bin/ssh/scp: Makefile > > Log message: > support for using the SFTP protocol for file transfers in scp, via a

<    1   2   3   4   5   6   7   8   9   >