Re: Machine won't boot - softraid metadata version mismatch

2018-05-04 Thread Mark Carroll
On 04 May 2018, Stuart Henderson wrote: (snip) > I'd start with an install to a new main disk, with the other drives > unplugged for safety. Once it's installed and booted, connect the > softraid drives and you'll be able to mount them. > > To figure out what needs transferring from the 5.4 install

Re: mail and newaliases do not work 6.1 and 6.2 for me

2018-05-01 Thread Mark Carroll
On 01 May 2018, Ivo Chutkin wrote: (snip) > I edit /etc/mail/aliases to set well known aliases like: > > # Well-known aliases -- these should be filled in! > root:myn...@mydomain.net > manager:root > dumper:root > > Then I run newaliases but mail is still delivered to local user. > > I also run ma

Re: Community-driven OpenBSD tutorials wiki?

2018-04-15 Thread Mark Carroll
On 14 Apr 2018, Mehma Sarja wrote: > I think what Jan is saying is sometimes we go to the hardware store for a > particular task, like weather proofing the home. And sometimes we go to the > store just to see what they have and you might want without a particular > project in mind. > > Man pages,

Re: Why are so many people running and writing about current snapshots

2018-03-25 Thread Mark Carroll
On 25 Mar 2018, Z. Ero wrote: > Is 6.3 release almost here? Is that why? If you are using your > computer for production and are not actively developing / debugging > OpenBSD why would you run a current snapshot rather than the stable > release? Just curious. It's good to run a snapshot at least

Re: Performance issues as KVM guest?

2018-01-10 Thread Mark Carroll
On 10 Jan 2018, Mike Larkin wrote: > On Wed, Jan 10, 2018 at 03:51:19PM +0000, Mark Carroll wrote: (snip) >> I wondered, is anybody else seeing significant performance problems with >> OpenBSD (or other BSDs) virtual instances since Meltdown patching? Is >> there anything to

Performance issues as KVM guest?

2018-01-10 Thread Mark Carroll
Since my hosting provider https://www.bytemark.co.uk/cloud-hosting/ patched for Meltdown last weekend I'm seeing significant performance issues with an OpenBSD virtual instance there. It seems okay after a fresh reboot but then progressively returns to being very slow: for example "sleep 1" may tak

spamd.conf with rsync and DNS-based lists

2017-11-08 Thread Mark Carroll
I am looking to expand my spamd.conf's blacklisting and I now see that some providers prefer one to rsync their blacklist rather than simply fetching it and more others make their lists queryable by DNS only. I am not missing some easy rsync syntax for spamd.conf right? It is a sufficient workarou

Re: X turn off monitors automatically, not with mplayer running

2017-10-07 Thread Mark Carroll
On 07 Oct 2017, x9p wrote: > I am trying to disable the energy saving without mplayer, so I run the > command: > > $ xset -dpms > > But it did not worked for me. Any hints on the proper way? I have an .xinitrc on one OpenBSD machine that has, xset dpms 0 0 0 xset s off The secre

Re: Wireless not working with Linksys

2017-09-23 Thread Mark Carroll
On 23 Sep 2017, Timo Myyrä wrote: > I just got Linksys 1900ACS wireless router and it works great, except with > OpenBSD. I've got Thinkpad T430s running -current and I can't get DHCP lease > from the new > router. > I noticed lines: "dhclient[22294]: fatal in iwn0: yielding responsibility" in >

Re: How do you do "family remote support"?

2017-07-11 Thread Mark Carroll
On 11 Jul 2017, Karel Gardas wrote: > On Tue, Jul 11, 2017 at 9:00 PM, Rupert Gallagher wrote: >> Never heard of VNC? > > but for this IIRC you need to know remote IP which OP told is "too > complicated" for his family members. For some people I add something in their scripts that tickles a set

Re: Rsnapshot configuration

2017-06-13 Thread Mark Carroll
On 13 Jun 2017, Predrag Punosevac wrote: (snip) > The simplest thing to do is to rsync from one system to another. Very > simple, but the problem is it's just a "dumb mirror" - there is no > history, no versions in the past (snapshots in time) and every day you > do your rsync, you risk clobbering

Re: Rsnapshot configuration

2017-06-13 Thread Mark Carroll
On 13 Jun 2017, G. wrote: > Hello! > Im trying to take daily and weekly backups of my system rsnapshot. (snip) > Im not sure if there is anything in var that i should consider backup > like sysmerge or syspatch. (snip) I have various stuff across different machines that is worth backing up in var

Re: Small Business email server using OpenSMTPD

2017-01-13 Thread Mark Carroll
On 13 Jan 2017, aretes wrote: > I'm trying to move a small business email server from an older OpenBSD using > sendmail to one with OpenBSD 6.0 using OpenSMTPD. > > The current email server has: > - a certificate (used by StartTLS) You can use openssl to set up keys and put pki directives into sm

Re: Building An Intranet For Dummies

2016-12-03 Thread Mark Carroll
On 03 Dec 2016, Predrag Punosevac wrote: > I thought I could accomplish the same using DokuWiki. As you can see > from this post > > https://forum.dokuwiki.org/thread/14277 > > things are not going quite as easy as I thought. Theoretically I should > be able to use namespaces to create tabs only v

Re: Making motd great again

2016-11-19 Thread Mark Carroll
On 19 Nov 2016, Chad Dougherty wrote: > Our developers have spent countless hours improving these > man pages so that they are clear and precise so please read them > carefully. For what it's worth, I do applaud this pointer to the documentation. There are many questions I've not sent to this lis

Re: axen(4) usb ethernet problems

2016-10-14 Thread Mark Carroll
On 13 Oct 2016, Ilya Kaliman wrote: > I have a "Plugable USB 3.0 ethernet adapter" with ASIX AX88179 > chipset. The device is successfully recognized by axen(4) driver but > behaves strangely. When I plug in the ethernet cable the ifconfig > axen0 status says active and the leds start blinking. Bu

Re: A (possibly dumb) question about unbound

2016-10-12 Thread Mark Carroll
On 12 Oct 2016, Bryan C. Everly wrote: > Could someone educate me on why unbound's configuration file is in > /var/unbound/etc instead of just straight up /etc like most other > things? Like nsd, for security unbound can run within a chroot so it then does not have access to anything outside /var

Re: Security updates and packages

2016-08-19 Thread Mark Carroll
On 19 Aug 2016, Theo de Raadt wrote: (snip) > There is no juxtaposition. I'm pretty sure that I managed to place the quotations side by side! > You are expecting a bunch of volunteers to do the massive job of > upgrading last-month's software -- and do it better than Google with > Android, or car

Re: Security updates and packages

2016-08-19 Thread Mark Carroll
On 19 Aug 2016, thu...@yeuxdelibad.net wrote: > I was wondering if packages for -release would be fixed if a security > issue is found in one of these third party programs, which could be > updated with pkg_add -u. It's a good question. I was quite amused to notice the juxtaposition of: ] Our as

Re: Freezing VMs on Bytemark Hosting

2016-07-26 Thread Mark Carroll
On 26 Jul 2016, Edd Barrett wrote: > I have a support ticket open, but we are not sure if it's an OpenBSD > problem, or something on their end. The VM is running 5.9-stable with > all patches applied. FWIW, Bytemark uses KVM + Qemu, so this question may > extend to ARP networks VMs too(?). > > Won

Re: PF and interface changing IP

2016-05-12 Thread Mark Carroll
On 12 May 2016, Gabriele Tozzi wrote: (snip) > Then I have setup PF to allow incoming ssh traffic. Here is my rule: > > pass in on pppoe0 inet proto tcp to pppoe0 port ssh keep state > > > The interface has a dynamic IP. I was relying on the "!/sbin/pfctl -f > /etc/pf.conf" rule to reload my PF whe

Re: dhclient.conf and hostname.if

2016-05-07 Thread Mark Carroll
On 07 May 2016, Stuart Henderson wrote: > On 2016-05-06, Mark Carroll wrote: (snip) >> pf ... because it otherwise doesn't realize that 'self' >> includes the address eventually assigned by PPP. > > Use "(self)" not "self". Interesting! T

Re: dhclient.conf and hostname.if

2016-05-06 Thread Mark Carroll
On 06 May 2016, Duncan Patton a. Campbell wrote: > Is there any similar tag to access the addess assigned by dhcp? > What other mechanisms exist to update dynamic dns assignments? Could ifstated(8) help here? I've separately wondered if I ought to be using it to kick pf because it otherwise doesn

Re: OpenBSD mailserver success stories ?

2016-04-26 Thread Mark Carroll
On 26 Apr 2016, stan wrote: > Given that, most of the things we are doing with FreeBSD, Apache, Samba, > NFS etc, do not concern me as to doing them with OpenBSD. but I am a bit > concerned about the mailserver. We use it for internal mail, and it gets mail > from a large variety of systems, and

Re: 5.9: sndiod won't start: unknown user _sndiop: FIXED

2016-04-23 Thread Mark Carroll
I should add, in further investigation on other OpenBSD 5.9 systems I've found one with, /etc/group:_sndiop:*:110: /etc/master.passwd:_sndiop:*:110:110::0:0:sndio privileged user:/var/empty:/sbin/nologin so that does seem to be a clue. Rerunning sysmerge I seem to be getting all this sorted now.

5.9: sndiod won't start: unknown user _sndiop

2016-04-23 Thread Mark Carroll
Since upgrading to 5.9 I noticed that sndiod wasn't starting: # ps awux | grep snd root 17168 0.0 0.0 336 1028 p0 S+p6:22PM0:00.00 grep snd # rcctl start sndiod sndiod(failed) Sound still generally seems to work in a basic way at least. I didn't see anything about it in /var/lo

Re: jabber client with conference history saving

2016-04-17 Thread Mark Carroll
On 17 Apr 2016, Joseph Oficre wrote: > Can someone give me an advice about xmpp client on OpenBSD, Im using Psi > for now, but it doesnt save messages history properly (errors only). > So i want to try another one. > Doesnt matter if console or gui, just with chatroom/private chats history > savin

Re: Making and using a release

2016-01-31 Thread Mark Carroll
On 31 Jan 2016, tro...@kagu-tsuchi.com wrote: > Yeah, you should follow the entire update process (unless you know exactly > what changed). Replace your kernel, reboot, unpack the tarballs, run > sysmerge, etc. > > Looks like someone already tweaked the FAQ. Thank you to everyone who helped me h

Re: Making and using a release

2016-01-31 Thread Mark Carroll
On 31 Jan 2016, li...@wrant.com wrote: > Sun, 31 Jan 2016 12:04:50 +0000 Mark Carroll >> http://www.openbsd.org/faq/faq5.html#Release tells me at the end that, >> >> > ... if updating a machine to a new -stable, simply unpack the tar >> > files in the roo

Re: Making and using a release

2016-01-31 Thread Mark Carroll
On 31 Jan 2016, Mark Carroll wrote: > I thought that one option might be to update my sources to the latest > OPENBSD_5_8 revision, build and install the update on one, then make the > release on it and copy and unpack it to the other machines so that they > could then have the pat

Making and using a release

2016-01-31 Thread Mark Carroll
http://www.openbsd.org/faq/faq5.html#Release tells me at the end that, > ... if updating a machine to a new -stable, simply unpack the tar > files in the root directory of the target machine. Am I right to worry that this approach wouldn't include all the patches because it won't actually update

Re: January 24 i386 snapshot - php_fpm seems not to work

2016-01-25 Thread Mark Carroll
On 25 Jan 2016, bruce wrote: (snip) > The httpd server only wants to serve static html pages. Any attempt to > retreive > a php page just gives a file not found message through the browser. (snip) Is it possible that you simply overlooked, $ pkg_info -M php Information for inst:php-5.6.11 Insta

Re: [DIFF] New Year's calendar

2016-01-04 Thread Mark Carroll
On 04 Jan 2016, Jason McIntyre wrote: > traditionally the 2nd was described as a bank holiday. now banks are > open on this day. some businesses shut. It still is a bank holiday, see https://www.gov.uk/bank-holidays#scotland Neither my Dundee employer nor my bank (Clydesdale) were open for it.

bandwidth usage limits with pf, etc.

2015-12-31 Thread Mark Carroll
I was wondering recently what the biggest bandwidth hogs were on my home network at a certain moment. On Linux I use iftop on the router for this, but I wonder in OpenBSD if, rather than install the iftop package, there's something different -- more OpenBSD-ish -- I should be doing with clients to

Re: i386 packages - snapshot 23/12/2015

2015-12-25 Thread Mark Carroll
On 25 Dec 2015, soko tica wrote: > My box updated on the same -current is running with no hasle (it has been > like that for years). The problem just appeared with the new usb stick > installs, amed at presents to introduce OpenBSD/UNIX to elementary and high > school kids. That sounds interestin

Re: No USB 3.0 on 5.8 -current Broadwell

2015-12-16 Thread Mark Carroll
On 20 Nov 2015, edward wandasiewicz wrote: > If I try to plug in various USB 3.0 umass(4) devices into a USB 3.0 or > USB 3.1 Type C port, nothing gets registered via dmesg, even if I add > > option USB_DEBUG > option UMASS_DEBUG > option XHCI_DEBUG > > and compile a kernel. No dmesg output upon a

Puzzled over setting non-VESA mode for intel in xorg.conf

2015-12-14 Thread Mark Carroll
I'm following the OPENBSD_5_8 tag for src and xenocara on a system that reports, vga1 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09 intagp at vga1 not configured pcidump reports that as, 0:2:0: Intel HD Graphics 5500 0x: Vendor ID: 8086 Product ID: 1616 I set machdep.a

Configure NTP servers from DHCP response?

2015-12-14 Thread Mark Carroll
I'm using the dhclient and ntpd from base OpenBSD 5.8. Given the apparent lack of dhclient-script or suchlike, I've added a line to the end of my hostname.if file so that, after dhcp, I have another line, !/usr/local/sbin/dhcp-ntp-update \$if where dhcp-ntp-update is a little Perl script I added

Re: Mg and extensions.

2015-12-13 Thread Mark Carroll
On 11 Dec 2015, Peter Fraser wrote: > I have been an Emac user for 20 plus years, and I often look at mg to replace > it. > The functionality of mg is getting close. I hadn't noticed this mg thing bundled with base OpenBSD. Now I'm trying it out, it's nice, thanks for the pointer, maybe I don't h

Re: Recognizing USB plug-ins

2015-11-24 Thread Mark Carroll
On 23 Nov 2015, Mihai Popescu wrote: >> OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015 > > First suggestion is to try the latest snapshot - development is going > on. Unfortunately latest is a hard thing to come back from. I can try current again though! > For the ignorant one, you

Re: Recognizing USB plug-ins

2015-11-23 Thread Mark Carroll
On 23 Nov 2015, Mihai Popescu wrote: > I had the same problem with a computer in the past - if you search the > archives, you will find details. Anyway, it was an old IBM machine and > got this problem after a BIOS update. > I retired it and got a Lenovo which is not having this problem. > > Maybe

Recognizing USB plug-ins

2015-11-23 Thread Mark Carroll
With OpenBSD 5.8 if I plug in my USB external drive then check usbdevs or sysctl hw.disknames then I don't see it and dmesg doesn't show anything. If I boot with the drive already plugged in then I see it. I am happy to mount it manually, etc., but I wonder how to get the system to notice the devic

Good experience with Intel NUC

2015-11-22 Thread Mark Carroll
I tried installing OpenBSD 5.8 on an Intel NUC5i3RYK with an ASIX AX88179 USB adapter providing a second ethernet port and a Seagate Expansion 2TB USB drive providing an extra drive, and so far it works excellently: thanks to all who got all the relevant drivers working. (dmesg sent separately) --

Re: Cheap hardware for router, perhaps fileserver?

2015-09-20 Thread Mark Carroll
Many helpful replies so quickly, thank you. It looks like I should plan to spend more and stick with x86 if it's so much better supported. The mention of Mini-Box rang a bell as I used to have an M200 that worked well. I try to avoid diversity in both hardware and software so, if I'm spending a bit

Cheap hardware for router, perhaps fileserver?

2015-09-19 Thread Mark Carroll
Having tried my first OpenBSD installation for a remote server with the smtpd, spamd, ntpd, httpd, etc. that it comes with, it's gone very nicely and I'm pleased with how it's working: my thanks to all those whose hard work is behind it. To now try out OpenBSD in a different way, I am thinking of r

Re: file sets and CVS tree

2015-09-16 Thread Mark Carroll
Josh Grosse writes: > The filesets are built when you make a release. See FAQ 5.4, and the > release(8) man page. Aha, thank you, that all makes sense. I should have also figured this from reading the last paragraph of http://www.openbsd.org/stable.html -- Mark

file sets and CVS tree

2015-09-16 Thread Mark Carroll
When I first install OpenBSD there is a phase where I choose file sets like base57.tgz which it then downloads and untars. Then for upgrades I can check out the CVS tree and build and install the patch branch or whatever. One thing that isn't yet clear to me is what one has to do with the other. F

Re: Can't ping IPv6

2015-09-16 Thread Mark Carroll
Stuart Henderson writes: > On 2015-09-16, Mark Carroll wrote: >> Maybe there's a better way to specify default routes, but that one sure >> seems to work. > > The standard method is to add it to /etc/mygate. Aha! Of course, it looks like the installer already put my

Re: Can't ping IPv6

2015-09-16 Thread Mark Carroll
Denis Fondras writes: > On Wed, Sep 16, 2015 at 07:28:48AM +0200, Remi Locherer wrote: >> Strange notation with "-". Never seen such an output from "routei show" or >> "netstat -rn" command. > > Guess it is a rdns. There is indeed one set. >> You don't have a default route set for IPv6. > > I

Re: Can't ping IPv6

2015-09-15 Thread Mark Carroll
Ha, probably it would help if I added, ifconfig vio0 vio0: flags=8843 mtu 1500 lladdr fe:ff:00:00:4f:1a priority: 0 groups: egress media: Ethernet autoselect status: active inet 5.28.62.155 netmask 0xff00 broadcast 5.28.62.255 inet6 fe80:

Can't ping IPv6

2015-09-15 Thread Mark Carroll
I have a fairly vanilla OpenBSD 5.7 installation on a machine for which my provider told me, Net : 5.28.62.155, 2001:41c9:1:41c::155 My pf.conf is simple; it still has the, block return# block stateless traffic that I suppose I got from somewhere and generally seems to work fine. I can ping