From owner-freebsd-questions@freebsd.org Sun Sep 27 00:32:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FF5BA0879C for ; Sun, 27 Sep 2015 00:32:25 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7113A260 for ; Sun, 27 Sep 2015 00:32:24 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8R0WMUG024815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 26 Sep 2015 19:32:23 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <56073915.6030707@hiwaay.net> Date: Sat, 26 Sep 2015 19:37:51 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 00:32:25 -0000 On 09/26/15 10:25, Adam Vande More wrote: > On Sat, Sep 26, 2015 at 8:59 AM, William A. Mahaffey III > wrote: > >> >> I am preparing a USB stick for use to install FreeBSD 9.3R on 2 new boxen >> I am bringing online. I already had the FreeBSD 9.3R img dd'ed to that >> stick last year when I provisioned this box, but for some reason, when I >> plugged the stick into my USB port today to copy some additional files to >> it (scripts to be used during installs to partition & slice up HDD's), I >> got errors in my syslog file & couldn't mount the drive for the copies. No >> problema, I'll just re-dd the image to the device & start over, all I would >> lose is output from the previous install (this box, last year this time). >> However, I notice the dd is proceeding *VERY* slowly: >> >> >> [root@kabini1, /etc, 8:47:59am] 508 % ll /dev/da0* >> crw-r----- 1 root operator 0xd2 Sep 26 08:29 /dev/da0 >> crw-r----- 1 root operator 0xcd Sep 26 08:29 /dev/da0a >> [root@kabini1, /etc, 8:48:09am] 509 % ll >> /net/q6600/home/ISOs/BSDs/FreeBSD/9.3/ >> total 1530556 >> -rw-r--r-- 1 wam users 178749440 Jul 26 2014 >> FreeBSD-9.3-RELEASE-amd64-bootonly.iso >> -rw-r--r-- 1 wam users 671152128 Jul 26 2014 >> FreeBSD-9.3-RELEASE-amd64-disc1.iso >> -rw-r--r-- 1 wam users 717373440 Jul 26 2014 >> FreeBSD-9.3-RELEASE-amd64-memstick.img >> -rw------- 1 wam users 811 Jul 26 2014 checksum.MD5.txt >> [root@kabini1, /etc, 8:48:19am] 510 % dd >> if=/net/q6600/home/ISOs/BSDs/FreeBSD/9.3/FreeBSD-9.3-RELEASE-amd64-memstick.img >> of=/dev/da0 >> 94834+0 records in >> 94834+0 records out >> 48555008 bytes transferred in 542.035379 secs (89579 bytes/sec) >> 101599+0 records in >> 101599+0 records out >> 52018688 bytes transferred in 580.466607 secs (89615 bytes/sec) >> >> I got that output by sending the SIGINFO signal to the dd process from >> another shell window. >> > Hitting Ctrl-T in the dd terminal is a lot easier. > > >> My question is: Why so slow (89-ish KB/s) ? >> > Well first off I'd tell dd to use a bigger bs like 1m. > > Update: I tried the dd again w/ 'bs=1m' & it worked much faster: [root@kabini1, /etc, 7:30:31pm] 535 % dd if=/net/q6600/home/ISOs/BSDs/FreeBSD/9.3/FreeBSD-9.3-RELEASE-amd64-memstick.img of=/dev/da0 bs=1m ^T 359+0 records in 359+0 records out 376438784 bytes transferred in 107.540613 secs (3500434 bytes/sec) 424+0 records in 424+0 records out 444596224 bytes transferred in 127.134420 secs (3497056 bytes/sec) 684+1 records in 684+1 records out 717373440 bytes transferred in 208.189064 secs (3445779 bytes/sec) [root@kabini1, /etc, 7:34:08pm] 536 % The 'ctrl-T' did not in fact return anything, but the 'killall -SIGINFO dd' from another shell window did. 3.4-ish MB/s is quite usable, so all appears well. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 00:51:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16F539CF670 for ; Sun, 27 Sep 2015 00:51:06 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8959AD4 for ; Sun, 27 Sep 2015 00:51:05 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by douhisi.pair.com (Postfix) with ESMTPSA id C082D3F738 for ; Sat, 26 Sep 2015 20:50:57 -0400 (EDT) Message-ID: <56073D71.5060404@sneakertech.com> Date: Sat, 26 Sep 2015 20:50:57 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 00:51:06 -0000 > Well first off I'd tell dd to use a bigger bs like 1m. I'll second this. I think the default for mos *nixs is 512 byte blocks, which is painfully slow. You need to manually specify bs=1M. It's also possibly the stick is just dying, but try the blocksize first. From owner-freebsd-questions@freebsd.org Sun Sep 27 01:05:14 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1178EA0A166 for ; Sun, 27 Sep 2015 01:05:14 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D77FF134 for ; Sun, 27 Sep 2015 01:05:13 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8R15Cb9005166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 26 Sep 2015 20:05:12 -0500 Subject: Re: dd question To: freebsd-questions@freebsd.org References: <5606A4FF.4090105@hiwaay.net> <56073D71.5060404@sneakertech.com> From: "William A. Mahaffey III" Message-ID: <560740C7.3060102@hiwaay.net> Date: Sat, 26 Sep 2015 20:10:41 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56073D71.5060404@sneakertech.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 01:05:14 -0000 On 09/26/15 19:57, Quartz wrote: >> Well first off I'd tell dd to use a bigger bs like 1m. > > I'll second this. I think the default for mos *nixs is 512 byte > blocks, which is painfully slow. You need to manually specify bs=1M. > > It's also possibly the stick is just dying, but try the blocksize first. I tried the 'bs=1m' & it sped things up by about 40X (from 90-ish KB/s to 3.4-ish MB/s) :-) .... All is well. As an aside, is there a way to configure the stick's FS to use/report all available space, rather than what the img was sized to, *after* dd-ing the img ? [root@kabini1, /etc, 8:09:41pm] 342 % df Filesystem Type 1024-blocks Used Avail Capacity Mounted on /dev/ada0p3 ufs 20307196 12140912 6541712 65% / devfs devfs 1 1 0 100% /dev /dev/stripe/usr_str ufs 60921596 10477380 45570492 19% /usr /dev/stripe/home_str ufs 3684793728 220043372 3169966860 6% /home procfs procfs 4 4 0 100% /proc tmpfs tmpfs 8388608 32 8388576 0% /tmp linprocfs linprocfs 4 4 0 100% /compat/linux/proc fdescfs fdescfs 1 1 0 100% /dev/fd /dev/da0a ufs 698671 651741 -8963 101% /media/sd [root@kabini1, /etc, 8:09:52pm] 343 % i.e. /media/sd shows about 698 MiB instead of full 4-ish MB it is really sized to .... TIA for any clues :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 01:06:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6574A0A269 for ; Sun, 27 Sep 2015 01:06:10 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1E7D20D for ; Sun, 27 Sep 2015 01:06:10 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by douhisi.pair.com (Postfix) with ESMTPSA id 361783F709 for ; Sat, 26 Sep 2015 21:06:09 -0400 (EDT) Message-ID: <56074100.7090802@sneakertech.com> Date: Sat, 26 Sep 2015 21:06:08 -0400 From: Quartz MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 10.2 graphics problem References: <8F541F88-2EAE-434C-B52C-43A744F54ADD@slsware.net> <1F197AA4-CE10-4195-B0D5-028C30036CAA@slsware.net> <5552406.tZCDeim3VM@amd.asgard.uk> <560486ED.3030005@sneakertech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 01:06:10 -0000 >>> Thanks for creating that. The PXE page was especially interesting. >> >> As an aside, his notes on syslinux v4 are out of date. In recent >> versions things have been rearchitected and broken out into a dozen >> support files with a different directory layout. (Just FYI in case you >> try to follow the instructions literally). > > Yes, it's a perennial problem with technical docs. Some time I need to > update that. Preferably to include UEFI PXE-boot, too. GLHF. The syslinux project has absolutely atrocious documentation, it took me like an hour of trial and error and vague error messages before I figured out all the new files you need. This is off topic, but for reference: /bios/core/pxelinux.0 /bios/com32/elflink/ldlinux/ldlinux.c32 /bios/memdisk/memdisk /bios/com32/lib/libcom32.c32 /bios/com32/libutil/libutil.c32 /bios/com32/gpllib/libgpl.c32 /bios/com32/cmenu/libmenu/libmenu.c32 /bios/com32/menu/menu.c32 /bios/com32/menu/vesamenu.c32 /bios/com32/hdt/hdt.c32 hdt needs an external file to be able to identify pci devices: http://pciids.sourceforge.net/v2.2/pci.ids gzip and put in with the other binaries. You can potentially swap lpxelinux.0 in for normal pxelinux.0 if you want to load things off http instead of tftp, but in my experience it's still very buggy (crashes HDT for example). I'd also suggest copying the lua modules over too, as that will enable your menu to call lua scripts which are FAR more functional. I installed a script that patches the 'localboot' parameter to actually work. /bios/com32/lua/src/lua.c32 /bios/com32/lua/src/liblua.c32 /bios/com32/lua/src/dmi.c32 /bios/com32/lua/src/syslinux.c32 From owner-freebsd-questions@freebsd.org Sun Sep 27 02:23:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C3F99CFB89 for ; Sun, 27 Sep 2015 02:23:06 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F12212FF for ; Sun, 27 Sep 2015 02:23:05 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.4] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id E0358F61; Sun, 27 Sep 2015 02:16:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: dd question From: "Chad J. Milios" X-Mailer: iPhone Mail (13A344) In-Reply-To: <560740C7.3060102@hiwaay.net> Date: Sat, 26 Sep 2015 22:23:03 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <5606A4FF.4090105@hiwaay.net> <56073D71.5060404@sneakertech.com> <560740C7.3060102@hiwaay.net> To: "William A. Mahaffey III" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 02:23:06 -0000 > On Sep 26, 2015, at 9:03 PM, William A. Mahaffey III wrot= e: >=20 > ... > As an aside, is there a way to configure the stick's FS to use/report all a= vailable space, rather than what the img was sized to, *after* dd-ing the im= g ? >=20 >=20 > [root@kabini1, /etc, 8:09:41pm] 342 % df > Filesystem Type 1024-blocks Used Avail Capacity = Mounted on > /dev/ada0p3 ufs 20307196 12140912 6541712 65% / > devfs devfs 1 1 0 100% /= dev > /dev/stripe/usr_str ufs 60921596 10477380 45570492 19% /u= sr > /dev/stripe/home_str ufs 3684793728 220043372 3169966860 6% /ho= me > procfs procfs 4 4 0 100% /= proc > tmpfs tmpfs 8388608 32 8388576 0% /tm= p > linprocfs linprocfs 4 4 0 100% /= compat/linux/proc > fdescfs fdescfs 1 1 0 100% /= dev/fd > /dev/da0a ufs 698671 651741 -8963 101% /= media/sd > [root@kabini1, /etc, 8:09:52pm] 343 % >=20 >=20 > i.e. /media/sd shows about 698 MiB instead of full 4-ish MB it is really s= ized to .... TIA for any clues :-). >=20 > --=20 >=20 > William A. Mahaffey III >=20 growfs will do the deed for UFS filesystems. Use the -N flag to see what it'= ll do without doing it. It may also be the case that the containing partitio= n must be expanded first using one or more incantations of gpart, bsdlabel a= nd/or fdisk in some particular order. Looks like you'd be using just bsdlabe= l for your case. Note that in the case of UFS certain parameters are chosen at creation time t= hat make growing more than an order of magnitude possibly suboptimal compare= d to a dump/restore. In your case I wouldn't worry about that.= From owner-freebsd-questions@freebsd.org Sun Sep 27 03:12:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AEB3A0AF20 for ; Sun, 27 Sep 2015 03:12:36 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6229A3D5 for ; Sun, 27 Sep 2015 03:12:36 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by vkgd64 with SMTP id d64so75208050vkg.0 for ; Sat, 26 Sep 2015 20:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vvGcC+AhyEJJ5pg3/qtz/jOC9QGzNam1ZGM89D9D8Nc=; b=w2tIoQFV2lEwO+r+6jbFM4gcyDxb5XmIVmBxZc8RdhVn9bU5twk3ZXGvRuyJuB5sLW o08GyHdgq55GFP6X0VdzP7KGN7cktJSnL9am5XS/900vVqEYNEx5lWm/EmNLeLMWi8eh FSPP0p+ElAlQ+bgKBCboClopZG0j6CkWo9M8P//8EkYuJqMfu1s/U+wfErVR6D6rHNtx 1ZgwB3K5NAfmRh22tqWC4PRcPtBzEK/WtVfw8k1TDufTaW2y52n1twJB35HOVPCus7mD IiZKw3ZEBdwR+wOIlQL0CfcYvXzj+S5KXvBTzH7EpWbxlkRPjdTloLLsZdikRi5jfamg DHBg== MIME-Version: 1.0 X-Received: by 10.31.34.7 with SMTP id i7mr7378086vki.60.1443323555266; Sat, 26 Sep 2015 20:12:35 -0700 (PDT) Received: by 10.31.232.6 with HTTP; Sat, 26 Sep 2015 20:12:35 -0700 (PDT) In-Reply-To: <56073915.6030707@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> Date: Sat, 26 Sep 2015 20:12:35 -0700 Message-ID: Subject: Re: dd question From: jungle Boogie To: "William A. Mahaffey III" Cc: "FreeBSD Questions !!!!" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 03:12:36 -0000 On 26 September 2015 at 17:30, William A. Mahaffey III wrote: > The 'ctrl-T' did not in fact return anything, but the 'killall -SIGINFO dd' > from another shell window did. 3.4-ish MB/s is quite usable, so all appears > well. Try ctrl+t with any other command that takes cpu time. For instance... cd /tmp truncate -s 1G william scp william william@host:. ctrl+t load: 0.26 cmd: ssh 7346 [select] 20.18r 0.16u 0.12s 2% 5048k repeated or periodic mashing of ctrl+t will print a new line with new information like above. -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-questions@freebsd.org Sun Sep 27 07:56:33 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93AB6A0AA3C for ; Sun, 27 Sep 2015 07:56:33 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter2.ihug.co.nz (mailfilter2.ihug.co.nz [203.109.136.2]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "Cisco Appliance Demo Certificate", Issuer "Cisco Appliance Demo Certificate" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 17070A4B for ; Sun, 27 Sep 2015 07:56:32 +0000 (UTC) (envelope-from mjl@luckie.org.nz) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=u8e7/Cz0GIS4uvXlUqP9U44Igk+lhDBJOqBxhKGQzXg= c=1 sm=2 a=kslbyZ4_AAAA:8 a=WMF924sYwNzSIIrbACwA:9 a=QEXdDO2ut3YA:10 a=j4nzMFrpAAAA:8 a=60s_DjeUu9e3y1gG37UA:9 X-IronPort-AV: E=Sophos;i="5.17,596,1437393600"; d="asc'?scan'208";a="227050992" Received: from 118-93-183-196.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.93.183.196]) by cust.filter2.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2015 20:55:20 +1300 Received: from macmini.luckie.org.nz ([192.168.3.23]) by spandex.luckie.org.nz with esmtp (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Zg6nm-0000Mq-NU for freebsd-questions@freebsd.org; Sun, 27 Sep 2015 20:55:18 +1300 To: freebsd-questions@freebsd.org From: Matthew Luckie Subject: intel atom N2600 cpu freq_levels on 10.2 Message-ID: <5607A0E2.5060908@luckie.org.nz> Date: Sun, 27 Sep 2015 20:55:14 +1300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xf51pDQT1XH7PKhkR9tH2QuotsqAoBUNi" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 07:56:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xf51pDQT1XH7PKhkR9tH2QuotsqAoBUNi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi I just updated to FreeBSD 10.2, and I'm noticing that the CPU frequency levels available are much more limited compared to FreeBSD 10.1 on the same system. For my intel atom n2600, the lowest level available is 600Mhz, whereas with 10.1 it was 75Mhz. I've put my dmesg from boot at: http://www.caida.org/~mjl/atom-2600-dmesg.txt dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 3645us dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_supported: C1/1/1 C2/2/20 C3/3/100 dev.cpu.0.freq_levels: 1600/2000 1400/1720 1200/1440 1000/1160 800/880 600/600 dev.cpu.0.freq: 600 dev.cpu.0.temperature: 34.0C dev.cpu.0.coretemp.throttle_log: 0 dev.cpu.0.coretemp.tjmax: 100.0C dev.cpu.0.coretemp.resolution: 1 dev.cpu.0.coretemp.delta: 65 dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU Is there anything simple I can do to obtain the lower CPU frequency level= s? Matthew --xf51pDQT1XH7PKhkR9tH2QuotsqAoBUNi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlYHoOYACgkQKyuDKSEQAGBRbwCdGrfuMtkBuYATISNxmTa66JkI ORIAniplxahxyXuv7acdFpicAiVqROdc =Gdyb -----END PGP SIGNATURE----- --xf51pDQT1XH7PKhkR9tH2QuotsqAoBUNi-- From owner-freebsd-questions@freebsd.org Sun Sep 27 08:00:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA207A0AE32 for ; Sun, 27 Sep 2015 08:00:43 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from b2bfep12.mx.upcmail.net (b2bfep12.mx.upcmail.net [62.179.121.57]) by mx1.freebsd.org (Postfix) with ESMTP id F3E60CAE for ; Sun, 27 Sep 2015 08:00:42 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep12.mx.upcmail.net (InterMail vM.8.01.05.18 201-2260-151-151-20140610) with ESMTP id <20150927075903.IHQC32668.b2bfep12-int.chello.at@edge11.upcmail.net> for ; Sun, 27 Sep 2015 09:59:03 +0200 Received: from [192.168.0.100] ([85.126.97.210]) by edge11.upcmail.net with edge id N7z31r0034YLlkt0B7z3B6; Sun, 27 Sep 2015 09:59:03 +0200 X-SourceIP: 85.126.97.210 From: "Dr. Nikolaus Klepp" To: freebsd-questions@freebsd.org Subject: Re: intel atom N2600 cpu freq_levels on 10.2 Date: Sun, 27 Sep 2015 09:59:04 +0200 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) References: <5607A0E2.5060908@luckie.org.nz> In-Reply-To: <5607A0E2.5060908@luckie.org.nz> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201509270959.04250.dr.klepp@gmx.at> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 08:00:43 -0000 Am Sonntag, 27. September 2015 schrieb Matthew Luckie: > Hi > > I just updated to FreeBSD 10.2, and I'm noticing that the CPU frequency > levels available are much more limited compared to FreeBSD 10.1 on the > same system. For my intel atom n2600, the lowest level available is > 600Mhz, whereas with 10.1 it was 75Mhz. > > I've put my dmesg from boot at: > > http://www.caida.org/~mjl/atom-2600-dmesg.txt > > dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 3645us > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_supported: C1/1/1 C2/2/20 C3/3/100 > dev.cpu.0.freq_levels: 1600/2000 1400/1720 1200/1440 1000/1160 800/880 > 600/600 > dev.cpu.0.freq: 600 > dev.cpu.0.temperature: 34.0C > dev.cpu.0.coretemp.throttle_log: 0 > dev.cpu.0.coretemp.tjmax: 100.0C > dev.cpu.0.coretemp.resolution: 1 > dev.cpu.0.coretemp.delta: 65 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%driver: cpu > dev.cpu.0.%desc: ACPI CPU > > Is there anything simple I can do to obtain the lower CPU frequency levels? > > Matthew > > Hi! Please take a look here: https://forums.freebsd.org/threads/cpu-consumes-more-energy-after-upgrade-from-10-1-to-10-2.52835/ Nik -- Please do not email me anything that you are not comfortable also sharing with the NSA. From owner-freebsd-questions@freebsd.org Sun Sep 27 09:01:58 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 867249D0D6F for ; Sun, 27 Sep 2015 09:01:58 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter2.ihug.co.nz (mailfilter2.ihug.co.nz [203.109.136.2]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "Cisco Appliance Demo Certificate", Issuer "Cisco Appliance Demo Certificate" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 118B9CF1 for ; Sun, 27 Sep 2015 09:01:57 +0000 (UTC) (envelope-from mjl@luckie.org.nz) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=u8e7/Cz0GIS4uvXlUqP9U44Igk+lhDBJOqBxhKGQzXg= c=1 sm=2 a=6I5d2MoRAAAA:8 a=doyTkmpqJWLeoQdW34IA:9 a=QEXdDO2ut3YA:10 a=9b5uSdaEfPq4F16by6UA:9 X-IronPort-AV: E=Sophos;i="5.17,596,1437393600"; d="asc'?scan'208";a="227056606" Received: from 118-92-42-95.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.92.42.95]) by cust.filter2.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2015 22:01:56 +1300 Received: from macair.luckie.org.nz ([192.168.2.26]) by spandex.luckie.org.nz with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1Zg7qE-0000MZ-Sw for freebsd-questions@freebsd.org; Sun, 27 Sep 2015 22:01:54 +1300 Subject: Re: intel atom N2600 cpu freq_levels on 10.2 To: freebsd-questions@freebsd.org References: <5607A0E2.5060908@luckie.org.nz> From: Matthew Luckie Message-ID: <5607B07F.8000503@luckie.org.nz> Date: Sun, 27 Sep 2015 22:01:51 +1300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5607A0E2.5060908@luckie.org.nz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SADXo5Vp3MX89i0A8264xfeg4VtmtxsLi" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 09:01:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SADXo5Vp3MX89i0A8264xfeg4VtmtxsLi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Is there anything simple I can do to obtain the lower CPU frequency lev= els? Nevermind, I found https://svnweb.freebsd.org/base?view=3Drevision&revision=3D276986 and have moved on. Sorry for the noise. Matthew --SADXo5Vp3MX89i0A8264xfeg4VtmtxsLi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlYHsIMACgkQKyuDKSEQAGDavACgvyr67/uDozXGPokxWB7ZYCW6 h6oAnjhmXfLl0/9jMnWLsKxuZax4nnaG =8VmI -----END PGP SIGNATURE----- --SADXo5Vp3MX89i0A8264xfeg4VtmtxsLi-- From owner-freebsd-questions@freebsd.org Sun Sep 27 11:10:47 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A410CA08CDA for ; Sun, 27 Sep 2015 11:10:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6966ADA2 for ; Sun, 27 Sep 2015 11:10:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 085473CC35; Sun, 27 Sep 2015 13:10:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8RBAaeF002015; Sun, 27 Sep 2015 13:10:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 27 Sep 2015 13:10:36 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150927131036.c6b2d9ce.freebsd@edvax.de> In-Reply-To: <56073915.6030707@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 11:10:47 -0000 On Sat, 26 Sep 2015 19:37:51 -0453.75, William A. Mahaffey III wrote: > Update: I tried the dd again w/ 'bs=1m' & it worked much faster: It's a more "native" block size suited for the devices in question. 512 blocks aren't much common anymore. Depending on devicees and buses, other sizes (like bs=10m) could also achieve higher speeds for processing. > The 'ctrl-T' did not in fact return anything, but the 'killall -SIGINFO > dd' from another shell window did. 3.4-ish MB/s is quite usable, so all > appears well. Ctrl+T works on FreeBSD's dd, but as far as I remember, not on Linux's where I had to do the "SIGINFO trick". You should see something like this: % dd if=/dev/zero of=/dev/null bs=1m {^T} load: 0.12 cmd: dd 2011 [running] 2.50r 0.01u 2.41s 21% 1944k 19109+0 records in 19109+0 records out 20037238784 bytes transferred in 2.499758 secs (8015671414 bytes/sec) {^C} 24797+0 records in 24797+0 records out 26001539072 bytes transferred in 3.239702 secs (8025904599 bytes/sec) % It's the same format as the final status report, prefixed by some runtime and load information -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 27 11:46:28 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4613F9D0931 for ; Sun, 27 Sep 2015 11:46:28 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 009DA1AD for ; Sun, 27 Sep 2015 11:46:27 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8RBkGRw042754 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 27 Sep 2015 05:46:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8RBkGOK042751; Sun, 27 Sep 2015 05:46:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 27 Sep 2015 05:46:16 -0600 (MDT) From: Warren Block To: Polytropon cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <20150927131036.c6b2d9ce.freebsd@edvax.de> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 27 Sep 2015 05:46:16 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 11:46:28 -0000 On Sun, 27 Sep 2015, Polytropon wrote: > On Sat, 26 Sep 2015 19:37:51 -0453.75, William A. Mahaffey III wrote: >> Update: I tried the dd again w/ 'bs=1m' & it worked much faster: > > It's a more "native" block size suited for the devices in question. > 512 blocks aren't much common anymore. It's not really about the native block size of the device, but the overhead. Copying 1M with the default blocksize takes 2,048 transactions. Setting bs=1M does it in only one. It works the same with spinning disks, although the buffer does not need to be as large. Usually 64K or 128K is enough there. Incidently, the Handbook installation chapter does show the right way to install image files. From owner-freebsd-questions@freebsd.org Sun Sep 27 13:00:00 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D64159CFE42 for ; Sun, 27 Sep 2015 13:00:00 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6032B88 for ; Sun, 27 Sep 2015 13:00:00 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8RCxv6M008924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 07:59:58 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5607E84D.1050803@hiwaay.net> Date: Sun, 27 Sep 2015 08:05:27 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 13:00:01 -0000 On 09/27/15 06:52, Warren Block wrote: > On Sun, 27 Sep 2015, Polytropon wrote: > >> On Sat, 26 Sep 2015 19:37:51 -0453.75, William A. Mahaffey III wrote: >>> Update: I tried the dd again w/ 'bs=1m' & it worked much faster: >> >> It's a more "native" block size suited for the devices in question. >> 512 blocks aren't much common anymore. > > It's not really about the native block size of the device, but the > overhead. Copying 1M with the default blocksize takes 2,048 > transactions. Setting bs=1M does it in only one. It works the same > with spinning disks, although the buffer does not need to be as large. > Usually 64K or 128K is enough there. > > Incidently, the Handbook installation chapter does show the right way > to install image files. > *Booooyah* !!!! That is almost exactly what I did, minus the 'conv=sync', & it worked AOK. I noticed that the dd-ed image had no slices: [root@kabini1, /etc, 8:02:02am] 566 % fdisk /dev/da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=471 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=471 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 0, size 50000 (24 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 [root@kabini1, /etc, 8:02:06am] 567 % bsdlabel da0 # /dev/da0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1401120 0 4.2BSD 0 0 0 c: 1401120 0 unused 0 0 # "raw" part, don't edit [root@kabini1, /etc, 8:02:08am] 568 % i.e. no da0s1, is that necessary to use the drive for install ? I also noticed that when I manually mount the drive, it reports a size much smaller than the whole drive: [root@kabini1, /etc, 8:03:48am] 569 % df Filesystem Type 1024-blocks Used Avail Capacity Mounted on /dev/ada0p3 ufs 20307196 12141044 6541580 65% / devfs devfs 1 1 0 100% /dev /dev/stripe/usr_str ufs 60921596 10477380 45570492 19% /usr /dev/stripe/home_str ufs 3684793728 220044180 3169966052 6% /home procfs procfs 4 4 0 100% /proc tmpfs tmpfs 8388608 32 8388576 0% /tmp linprocfs linprocfs 4 4 0 100% /compat/linux/proc fdescfs fdescfs 1 1 0 100% /dev/fd /dev/da0a ufs 698671 651741 -8963 101% /media/sd [root@kabini1, /etc, 8:03:49am] 569 % I.e. 698-ish MiB on a 4-ish GB (3.6-ish GiB) drive. Can I fix that in place ? I would like the rest of the drive space to possibly log details of the install in case of questions. Thanks & TIA & have a nice weekend. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 13:54:05 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB2659D0252 for ; Sun, 27 Sep 2015 13:54:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE9F278D for ; Sun, 27 Sep 2015 13:54:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id AD15B24CB8; Sun, 27 Sep 2015 15:53:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8RDrsNC002028; Sun, 27 Sep 2015 15:53:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 27 Sep 2015 15:53:54 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150927155354.7dab526a.freebsd@edvax.de> In-Reply-To: <5607E84D.1050803@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 13:54:06 -0000 On Sun, 27 Sep 2015 08:05:27 -0453.75, William A. Mahaffey III wrote: > *Booooyah* !!!! That is almost exactly what I did, minus the > 'conv=sync', & it worked AOK. I noticed that the dd-ed image had no slices: > > [...] > > i.e. no da0s1, is that necessary to use the drive for install ? This approach is called "dedicated", i. e. no slices, but the device is partitioned (even though when you only find one partition that covers the whole device: 'a' indicates a bootable partition, 'c' refers to the whole device). Slices ("MS-DOS primary partitions") are optional and have primarily been "invented" to conform to the concepts of the PC, when FreeBSD (or UNIX in general) arrived at that time. Today, we tend to use GPT partitions. :-) > I also > noticed that when I manually mount the drive, it reports a size much > smaller than the whole drive: > [...] > /dev/da0a ufs 698671 651741 -8963 101% > /media/sd You can see that the device is "full". :-) > I.e. 698-ish MiB on a 4-ish GB (3.6-ish GiB) drive. That looks like a size typically found on CDs (650 MB average). > Can I fix that in > place ? I would like the rest of the drive space to possibly log details > of the install in case of questions. Maybe the installation media, even though on writable media, is mounted ro? The easiest thing to capture logs is to perform the installation from a "fully writable" live file system, or simply mount a network resource r/w. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 27 14:00:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72DCB9D08A5 for ; Sun, 27 Sep 2015 14:00:25 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28DC2962 for ; Sun, 27 Sep 2015 14:00:24 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8RE0Mhb010994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 09:00:23 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5607F676.10307@hiwaay.net> Date: Sun, 27 Sep 2015 09:05:52 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150927155354.7dab526a.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 14:00:25 -0000 On 09/27/15 09:00, Polytropon wrote: > Maybe the installation media, even though on writable media, is > mounted ro? The easiest thing to capture logs is to perform the > installation from a "fully writable" live file system, or simply > mount a network resource r/w. How can I figure that out (mounted ro) ? I have ISO's & img's available on my LAN, can I install from them directly ? If so, how :-) (URL's welcome) ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 14:06:08 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 173329D0C2B for ; Sun, 27 Sep 2015 14:06:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE2FEC3F for ; Sun, 27 Sep 2015 14:06:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A43453CC5C; Sun, 27 Sep 2015 16:06:05 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8RE64BK002178; Sun, 27 Sep 2015 16:06:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 27 Sep 2015 16:06:04 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150927160604.f1e1c21d.freebsd@edvax.de> In-Reply-To: <5607F676.10307@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 14:06:08 -0000 On Sun, 27 Sep 2015 09:05:52 -0453.75, William A. Mahaffey III wrote: > On 09/27/15 09:00, Polytropon wrote: > > Maybe the installation media, even though on writable media, is > > mounted ro? The easiest thing to capture logs is to perform the > > installation from a "fully writable" live file system, or simply > > mount a network resource r/w. > > > How can I figure that out (mounted ro) ? I have ISO's & img's available > on my LAN, can I install from them directly ? If so, how :-) (URL's > welcome) ? Depends on how the boot process is being performed. A look in /etc/fstab or maybe (customized?) rc.diskless could tell you more. Basically, it's simple to boot the media, get to a command line, and look at the "mount -v" output. Another option woule be to use disklabel and and add a new partition, for example letter 'd', which ends at the end of the media (where 'c' usually ends). Note that no partition can be bigger than 'c' ("the whole thing"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 27 14:17:21 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F751A0A201 for ; Sun, 27 Sep 2015 14:17:21 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C822110 for ; Sun, 27 Sep 2015 14:17:20 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8REHITl022069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 09:17:19 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5607FA6E.5040600@hiwaay.net> Date: Sun, 27 Sep 2015 09:22:48 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150927160604.f1e1c21d.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 14:17:21 -0000 On 09/27/15 09:12, Polytropon wrote: > On Sun, 27 Sep 2015 09:05:52 -0453.75, William A. Mahaffey III wrote: >> On 09/27/15 09:00, Polytropon wrote: >>> Maybe the installation media, even though on writable media, is >>> mounted ro? The easiest thing to capture logs is to perform the >>> installation from a "fully writable" live file system, or simply >>> mount a network resource r/w. >> >> How can I figure that out (mounted ro) ? I have ISO's & img's available >> on my LAN, can I install from them directly ? If so, how :-) (URL's >> welcome) ? > Depends on how the boot process is being performed. A look > in /etc/fstab or maybe (customized?) rc.diskless could tell > you more. Basically, it's simple to boot the media, get to > a command line, and look at the "mount -v" output. > > Another option woule be to use disklabel and and add a new > partition, for example letter 'd', which ends at the end > of the media (where 'c' usually ends). Note that no partition > can be bigger than 'c' ("the whole thing"). If I use disklabel to add a 'd' slice, will that mess up what is already there ? What is the syntax for that, I don't see it in the disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel shows a way to initialize a whole disk using 'fdisk -BI ' & implies that this will create a 'da0s1' slice in the process. However it will also wipe out what is already there. If I do that, can I then copy the img-file contents in some way ? Thanks & TIA :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 14:43:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6757A0A12E for ; Sun, 27 Sep 2015 14:43:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E85AEE0 for ; Sun, 27 Sep 2015 14:43:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 633FE3CC00; Sun, 27 Sep 2015 16:43:36 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8REhZx7002306; Sun, 27 Sep 2015 16:43:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 27 Sep 2015 16:43:34 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150927164334.ccd67f04.freebsd@edvax.de> In-Reply-To: <5607FA6E.5040600@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 14:43:40 -0000 On Sun, 27 Sep 2015 09:22:48 -0453.75, William A. Mahaffey III wrote: > On 09/27/15 09:12, Polytropon wrote: > > On Sun, 27 Sep 2015 09:05:52 -0453.75, William A. Mahaffey III wrote: > >> On 09/27/15 09:00, Polytropon wrote: > >>> Maybe the installation media, even though on writable media, is > >>> mounted ro? The easiest thing to capture logs is to perform the > >>> installation from a "fully writable" live file system, or simply > >>> mount a network resource r/w. > >> > >> How can I figure that out (mounted ro) ? I have ISO's & img's available > >> on my LAN, can I install from them directly ? If so, how :-) (URL's > >> welcome) ? > > Depends on how the boot process is being performed. A look > > in /etc/fstab or maybe (customized?) rc.diskless could tell > > you more. Basically, it's simple to boot the media, get to > > a command line, and look at the "mount -v" output. > > > > Another option woule be to use disklabel and and add a new > > partition, for example letter 'd', which ends at the end > > of the media (where 'c' usually ends). Note that no partition > > can be bigger than 'c' ("the whole thing"). > > > If I use disklabel to add a 'd' slice, will that mess up what is already > there ? It shouldn't. It will add a new partition entry (da0d, for example) that can be initialized with newfs, so you can then mount it r/w with UFS. > What is the syntax for that, I don't see it in the > disklabel/bsdlabel man page ? Take the disklabel editor screen as an example. Make sure 'c' is as big as the whole device, then take the end of the last partition, 'a', as an offset, and add the desired size for 'd'. It will then look comparable to this: % disklabel ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 0 0 0 b: 4194304 2097152 swap c: 625142385 0 unused 0 0 # "raw" part, don't edit d: 2097152 6291456 4.2BSD 0 0 0 e: 2097152 8388608 4.2BSD 0 0 0 f: 104857600 10485760 4.2BSD 0 0 0 g: 10485760 115343360 4.2BSD 0 0 0 h: 499313265 125829120 4.2BSD 0 0 0 The size of 'c' is the size of the slice (in this case), and you can see that "offset" accumulates from the "size" column of the previous entries. It's okay to have only 'a', 'c' and 'd' entries, as long as the math magic adds up properly. :-) > The man page for disklabel/bsdlabel shows > a way to initialize a whole disk using 'fdisk -BI ' & implies that > this will create a 'da0s1' slice in the process. However it will also > wipe out what is already there. Invoke the disklabel editor: # bsdlabel -e and make the changes in $EDITOR (yes, it actually uses the editor program $EDITOR points to). See mdconfig idea following. I'm not sure if bsdlabel can operate on image files directly. > If I do that, can I then copy the > img-file contents in some way ? It's probably possible to use mdconfig to turn the image file into a device file and then modify that device file (add partitions), resulting in a change of the image file. # mdconfig -a -t vnode -u 0 -f image.dd (now /dev/md0, /dev/md0a, /dev/md0c should appear) # bsdlabel -e /dev/md0 (make changes, save & exit) (and /dev/md0d should appear) # mdconfig -d -u 0 Actually, I've never tried that, so it's more of a thought experiment than an educated and tested advice. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 27 15:03:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0A6AA0AD00 for ; Sun, 27 Sep 2015 15:03:37 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEE71A58 for ; Sun, 27 Sep 2015 15:03:37 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8RF3Zbk014049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 10:03:36 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <20150927164334.ccd67f04.freebsd@edvax.de> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <56080546.9030408@hiwaay.net> Date: Sun, 27 Sep 2015 10:09:04 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150927164334.ccd67f04.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 15:03:38 -0000 On 09/27/15 09:49, Polytropon wrote: > Take the disklabel editor screen as an example. Make sure > 'c' is as big as the whole device, then take the end of > the last partition, 'a', as an offset, and add the desired > size for 'd'. Hmmmm .... My 'c' slice is *not* the size of the whole drive: [root@kabini1, /etc, 9:54:38am] 596 % bsdlabel da0 # /dev/da0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1401120 0 4.2BSD 0 0 0 c: 1401120 0 unused 0 0 # "raw" part, don't edit [root@kabini1, /etc, 9:54:44am] 597 % 1401120 (sectors) * 512 (bytes/sector) = 7.173734e+08 Bytes or 717-ish MB (700.56 MiB), which is what I'm seeing out of my mounted drive, not the 4-ish GB (3.61-ish GiB) it should be .... I'm guessing the drive would boot & install OK, however it is convenient to be able to log the proceedings in case of questions, that is what I am getting at .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sun Sep 27 15:40:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88CF4A06063 for ; Sun, 27 Sep 2015 15:40:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A06EAA9 for ; Sun, 27 Sep 2015 15:40:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D54E23CC79; Sun, 27 Sep 2015 17:40:20 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8RFeJvu002497; Sun, 27 Sep 2015 17:40:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 27 Sep 2015 17:40:19 +0200 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150927174019.a4cfffcb.freebsd@edvax.de> In-Reply-To: <56080546.9030408@hiwaay.net> References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <20150927164334.ccd67f04.freebsd@edvax.de> <56080546.9030408@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 15:40:23 -0000 On Sun, 27 Sep 2015 10:09:04 -0453.75, William A. Mahaffey III wrote: > On 09/27/15 09:49, Polytropon wrote: > > Take the disklabel editor screen as an example. Make sure > > 'c' is as big as the whole device, then take the end of > > the last partition, 'a', as an offset, and add the desired > > size for 'd'. > > Hmmmm .... My 'c' slice is *not* the size of the whole drive: > > [root@kabini1, /etc, 9:54:38am] 596 % bsdlabel da0 > # /dev/da0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1401120 0 4.2BSD 0 0 0 > c: 1401120 0 unused 0 0 # "raw" part, > don't edit > [root@kabini1, /etc, 9:54:44am] 597 % Yes, and that's why you're seeing a partition occupied by data at 100%, but smaller than the USB drive itself. However, 'c' _can_ be the size of the media. It's not a problem when 'a' is the same size as 'c', which only means that the first partition is bootable and spans the whole available space. > 1401120 (sectors) * 512 (bytes/sector) = 7.173734e+08 Bytes or 717-ish > MB (700.56 MiB), which is what I'm seeing out of my mounted drive, not > the 4-ish GB (3.61-ish GiB) it should be .... Yes, that's the approx. 650...700 MB image which contains the partitioning information at the beginning. Keep in mind that this image, applied with dd, doesn't just contain data; it contains "meta-information" such as a boot sector and a partition table. This information is for the 700 MB amount the image requires, so the 4 GB media "looks smaller". > I'm guessing the drive > would boot & install OK, however it is convenient to be able to log the > proceedings in case of questions, that is what I am getting at .... That's a very useful feature - being able to mount an additional partition on the USB stick (no network required!) and use "script" or another program to store error logs or outputs (of "dmesg", "usbconfig" or other tools). Of course mounting the partition for access is a task up to the user, the installer will ignore it, but once it is there, it can be used, for example, if you want to copy some files before you start the installation, of have files ready you want to transfer after installation... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Sep 27 16:17:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7071CA0A6F8 for ; Sun, 27 Sep 2015 16:17:31 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9A9AC11 for ; Sun, 27 Sep 2015 16:17:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t8RGHRFS043040; Mon, 28 Sep 2015 02:17:28 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 28 Sep 2015 02:17:27 +1000 (EST) From: Ian Smith To: "William A. Mahaffey III" cc: freebsd-questions@freebsd.org, Warren Block Subject: Re: dd question In-Reply-To: Message-ID: <20150928010758.V29510@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 16:17:31 -0000 Re: freebsd-questions Digest, Vol 590, Issue 7, Message: 7 On Sat, 26 Sep 2015 11:10:40 -0453.75 [a very peculiar timezone] "William A. Mahaffey III" wrote: [cutting unmercifully to the chase] > >> I am preparing a USB stick for use to install FreeBSD 9.3R on 2 new > >> boxen I am bringing online. I already had the FreeBSD 9.3R img dd'ed > >> to that stick last year when I provisioned this box, but for some > >> reason, when I plugged the stick into my USB port today to copy some > >> additional files to it (scripts to be used during installs to > >> partition & slice up HDD's), I got errors in my syslog file & > >> couldn't mount the drive for the copies. > >> -rw-r--r-- 1 wam users 717373440 Jul 26 2014 > >> FreeBSD-9.3-RELEASE-amd64-memstick.img > Well, I got tired of waiting (again) & moved the process to my last > remaining Linux box & did the dd there. It completed OK & for grins I > inserted it back into this (FreeBSD 9.3R-p24) box. It created 2 devices: > > [root@kabini1, /etc, 11:04:30am] 529 % lltr /dev/da0* ; date > crw-r----- 1 root operator 0xd1 Sep 26 11:01 /dev/da0a > crw-r----- 1 root operator 0xd0 Sep 26 11:01 /dev/da0 > It used to create /dev/da0s1, but no matter, I manually mounted the da0a > partition & I can see stuff there, although it reports a bad FS size: No, the memstick images have always been setup as an unsliced disk; in fact they were done that way in an historical accident (in retrospect) that made them appear to sysinstall as floppy disk images, due to it already interpreting anything libdisk (prior to modern GEOM framework) found as a sliced da device as a 'real' SCSI disk, so interpreting the unsliced da devices as installation mensticks to distinguish them. My FreeBSD-9.3-RELEASE-amd64-memstick.img is just the same, and I still find it sad memsticks use nothing better .. PCBSD for example has used sliced memsticks for ages, so you can have up to 4 slices with different images (eg 9.3 and 10.x, or amd64 and i386), use boot0cfg and the booteasy boot manager to choose one, plus a spare slice for writing dmesg, boot logs and other interestubg data, so using the whole stick rather than turning your 4 to 16GB stick into a oversized floppy. > Filesystem Type Size Used Avail Capacity Mounted on [..] > /dev/da0a ufs 682M 636M -8.8M 101% /media/sd Yes, they're setup overcommitted, rather without the usual 8% reserved, using some truly filthy tricks with fdisk, bsdlabel and some instances use dd to update _parts_ of the MBR and bsdlabel. Don't go there. And you likely won't get away with writing anything 'live' to these sticks, short of using dd with 'foot-shooting' sysctl kern.geom.debugflags=16 > [root@kabini1, /etc, 11:07:56am] 531 % ll /media/sd/ ; date > total 723 > -rw-r--r-- 2 root wheel 965 Jul 10 2014 .cshrc > -rw-r--r-- 2 root wheel 253 Jul 10 2014 .profile > -r--r--r-- 1 root wheel 6197 Jul 10 2014 COPYRIGHT > -r--r--r-- 1 root wheel 8553 Jul 10 2014 ERRATA.HTM [..] > The USB drive is a 4 GB Mushkin unit. Did the naming convention for > devices change at some point in the various kernel upgrades since last > summer ? ISTR that it used to create a da0s1 device for that drive, > that's what I have in my fstab file to mount that drive manually w/o the > full mount command naming FS-type & mount point or device. Thanks for > everything so far & TIA for any more clues .... YSTRW :) Other memsticks formatted for sliced use will have a da0s1 (etc) but never these installation images. I'd love to be wrong. For example, here is a 9.2-RELEASE memstick built instead from the dvd1.iso image, but still in the same format, on an 8GB stick: smithi on t23% ll /dev/da* crw-r----- 1 root operator 0, 138 Sep 28 01:41 /dev/da0 crw-r----- 1 root operator 0, 139 Sep 28 01:41 /dev/da0a smithi on t23% fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=973 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=973 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 0, size 50000 (24 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 50000 sectors? 24 Meg? Wild, eh, and meaningless. smithi on t23% bsdlabel da0a # /dev/da0a: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 5448528 0 4.2BSD 0 0 0 c: 5448528 0 unused 0 0 # "raw" part, don't edit t23# mount /dev/da0a /media t23# df -h Filesystem Size Used Avail Capacity Mounted on [..] /dev/da0a 2.6G 2.4G -30M 101% /media gpart makes more sense of it, but I'm not sure whether gpart can be used in 'dirty tricks' mode to create these. And I've no idea whether growfs could do anything sensible about growing them; you could try. Warren? smithi on t23% gpart show da0 => 0 15646720 da0 BSD (7.5G) 0 5448528 1 freebsd-ufs (2.6G) 5448528 10198192 - free - (4.9G) cheers, Ian From owner-freebsd-questions@freebsd.org Sun Sep 27 19:07:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02EA6A0A9E1 for ; Sun, 27 Sep 2015 19:07:52 +0000 (UTC) (envelope-from scaglione.francesco@neuf.fr) Received: from smtp21.services.sfr.fr (smtp21.services.sfr.fr [93.17.128.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B384F7C1 for ; Sun, 27 Sep 2015 19:07:51 +0000 (UTC) (envelope-from scaglione.francesco@neuf.fr) Received: from filter.sfr.fr (localhost [84.98.39.207]) by msfrf2112.sfr.fr (SMTP Server) with ESMTP id 0AECE700004E for ; Sun, 27 Sep 2015 21:00:00 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=scaglione.francesco@neuf.fr Received: from X1 (207.39.98.84.rev.sfr.net [84.98.39.207]) by msfrf2112.sfr.fr (SMTP Server) with SMTP id 052BA700004D for ; Sun, 27 Sep 2015 20:59:55 +0200 (CEST) X-SFR-UUID: 20150927185957212.052BA700004D@msfrf2112.sfr.fr Date: Sun, 27 Sep 2015 20:59:51 +0200 From: francesco scaglione To: freebsd-questions@freebsd.org Subject: Upgrading php 5.4 to php 5.6 Message-Id: <20150927205951.16419674f519f7b46b4b2fad@neuf.fr> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 19:07:52 -0000 I know that this question has already come up quite a few times, I'm sorry, but I haven't found a complete answer around and so I decided to ask here. Since php 5.4 is going to be EOF soon, I wish to upgrade it on a system running FreeBSD 9.3, where nginx and php-fpm are serving a small wiki. These are the ports that depend on php 5.4: # pkg info -r php5 php5-5.4.45: php5-openssl-5.4.45 dokuwiki-20150810a php5-mbstring-5.4.45 php5-xml-5.4.45 php5-session-5.4.45 php5-zlib-5.4.45 php5-gd-5.4.45 --- I was thinking about going this way: # portmaster -o lang/php56 php5-5.4.45 and then: # portmaster -r php5 --- But... would that be enough or do I need to know something else? Thank you very much for your help, Francesco From owner-freebsd-questions@freebsd.org Sun Sep 27 19:16:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF373A0AF0D for ; Sun, 27 Sep 2015 19:16:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 67303C1E for ; Sun, 27 Sep 2015 19:16:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t8RJGDHR052390 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 27 Sep 2015 20:16:14 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t8RJGDHR052390 Authentication-Results: smtp.infracaninophile.co.uk/t8RJGDHR052390; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Upgrading php 5.4 to php 5.6 To: freebsd-questions@freebsd.org References: <20150927205951.16419674f519f7b46b4b2fad@neuf.fr> From: Matthew Seaman Message-ID: <56084077.5030607@FreeBSD.org> Date: Sun, 27 Sep 2015 20:16:07 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150927205951.16419674f519f7b46b4b2fad@neuf.fr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8GHwgNg6Omxt1vVQFG9EmlejUc9I20HDn" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 19:16:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8GHwgNg6Omxt1vVQFG9EmlejUc9I20HDn Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 27/09/2015 19:59, francesco scaglione wrote: > But... would that be enough or do I need to know something else? Add DEFAULT_VERSIONS+=3D php=3D5.6 in /etc/make.conf Cheers, Matthew --8GHwgNg6Omxt1vVQFG9EmlejUc9I20HDn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWCEB9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATScsQAJl3cWcDkeFiE+rUm+XflT+X xBCK4Smafmg3j+0dxYZJuE1PAmSD69VHAXsawvAJHqMuJP4pNLA6JenlpGIVCaTG vewBAvS6QVJXVadIad1/yGzBiPiFfPaRfHzvSRsLfozF/uyb6+N280X0+wtreyZA esx3ZSwFis9m21tzQlyDqu6Wo5FIl58TAaIStxByYpz44Qb62OZk4ZaoMh+U8l/X yverwKnjT1JgP9tCDBawKCWR1fLhYKGNMvbxT4V+O02WfyxWC2MaWXpLRjlzPK1a ui2ddzaoUOCIKG1QEpJsSM14QcoaVz5+fRSXsFCb4Bvv/F0+/HcgtzJYghgZr3dP QC11NpSp9o0axKcT1ABLMy2/rlHiXU00B2IzK6MJ57e9W78pKtHF5eUabO9IIUtj jtf+2Nb06dN4t66HZMxK7pUZC/71xeNXAoCMoRN6SNlbPz4kw1qfqnibioccSWHa v8Vdg7foZcHHsINKTfoMElugzOLtgOSpg0TWgpcJAppuWFzq+bMBEIErimvwVPBj 6Sr/1TMBR0qjUoQjIuK9S+eMR6XP0tjzDpdntDar8CPrifg4i7YSt/yqP+BHcvCl Zs64OOJYNMrlU7pYOKKKkEl0Wnylpjrq1UZ/CCpMmLS3Ve1IXels84/iud4r9wwt i0ONhFh32VUv8l4f7sw4 =yxrT -----END PGP SIGNATURE----- --8GHwgNg6Omxt1vVQFG9EmlejUc9I20HDn-- From owner-freebsd-questions@freebsd.org Sun Sep 27 19:35:46 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB0EDA0B95C for ; Sun, 27 Sep 2015 19:35:45 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B160A6C6 for ; Sun, 27 Sep 2015 19:35:45 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by ioiz6 with SMTP id z6so155420307ioi.2 for ; Sun, 27 Sep 2015 12:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=GCZVmvLXhz0s450Ne4EU0aRm0SBwQMuDx9HNaQd3wu4=; b=bvM+Sw8LadA8S6WVJDlHsJwbFw7phOyM4zgGBsrIkQBsLelOq2uzAJ1tzHRWsuHnHh kowWtTQenORnBCTjXK+yIpESioP4M8TFRmkgBFn77TY/n5q5wTrzB4QV5waxJzwyw6V3 I17hNBYIrErAkSQ1OpGDOoE5q3vNwX3iVAghdjQpQZ9IJ/2xz2wilNbNwXG3n8hc1u3c /WTVShk+EOMViSuVa5DLz6vzNHo46XEu3QLDuTEIYC3jZtQ5yiaPqqbYzNmNNHVCgNrC LagDa6D2ob+6UF/kg6KgF05zE+1HQvWaZRwfI09zED5TwfEj9bQjT15wHHG5/9Qds66x uTQg== X-Received: by 10.107.18.231 with SMTP id 100mr16216427ios.15.1443382545029; Sun, 27 Sep 2015 12:35:45 -0700 (PDT) Received: from localhost.localdomain ([2601:680:c001:e700:8a9f:faff:fe69:7e]) by smtp.googlemail.com with ESMTPSA id o74sm6774282ioo.8.2015.09.27.12.35.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Sep 2015 12:35:44 -0700 (PDT) Subject: Re: dd question To: freebsd-questions@freebsd.org References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <20150927164334.ccd67f04.freebsd@edvax.de> <56080546.9030408@hiwaay.net> From: jd1008 Message-ID: <5608450A.6010304@gmail.com> Date: Sun, 27 Sep 2015 13:35:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56080546.9030408@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 19:35:46 -0000 On 09/27/2015 09:02 AM, William A. Mahaffey III wrote: > On 09/27/15 09:49, Polytropon wrote: >> Take the disklabel editor screen as an example. Make sure >> 'c' is as big as the whole device, then take the end of >> the last partition, 'a', as an offset, and add the desired >> size for 'd'. > > Hmmmm .... My 'c' slice is *not* the size of the whole drive: > > [root@kabini1, /etc, 9:54:38am] 596 % bsdlabel da0 > # /dev/da0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1401120 0 4.2BSD 0 0 0 > c: 1401120 0 unused 0 0 # "raw" part, > don't edit > [root@kabini1, /etc, 9:54:44am] 597 % > > > 1401120 (sectors) * 512 (bytes/sector) = 7.173734e+08 Bytes or 717-ish > MB (700.56 MiB), which is what I'm seeing out of my mounted drive, not > the 4-ish GB (3.61-ish GiB) it should be .... I'm guessing the drive > would boot & install OK, however it is convenient to be able to log > the proceedings in case of questions, that is what I am getting at .... > I already explained that since you dd'ed the iso image onto the whole usb disk, you end up telling the OS your usb drive is of the size of the iso file. So, the rest of the drive is dotally invisible. What you COULD have done is first partition the usb drive to have a first partition to equal to the size of the ISO file, and then dd the iso file into THE PARTITION< and not the whole drive. If your BIOS supports it, you could then tell bios to boot from the partition. The rest of the USB stick's space would be available. From owner-freebsd-questions@freebsd.org Sun Sep 27 20:22:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 878A59D09B1 for ; Sun, 27 Sep 2015 20:22:52 +0000 (UTC) (envelope-from scaglione.francesco@neuf.fr) Received: from smtp23.services.sfr.fr (smtp23.services.sfr.fr [93.17.128.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF53117 for ; Sun, 27 Sep 2015 20:22:51 +0000 (UTC) (envelope-from scaglione.francesco@neuf.fr) Received: from filter.sfr.fr (localhost [84.98.39.207]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 60D1E7000283 for ; Sun, 27 Sep 2015 22:17:22 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=scaglione.francesco@neuf.fr Received: from X1 (207.39.98.84.rev.sfr.net [84.98.39.207]) by msfrf2304.sfr.fr (SMTP Server) with SMTP id 6DEF17000115 for ; Sun, 27 Sep 2015 22:17:18 +0200 (CEST) X-SFR-UUID: 20150927201719450.6DEF17000115@msfrf2304.sfr.fr Date: Sun, 27 Sep 2015 22:17:13 +0200 From: francesco scaglione To: freebsd-questions@freebsd.org Subject: Re: Upgrading php 5.4 to php 5.6 Message-Id: <20150927221713.0efd9fce5bee63aee801a55f@neuf.fr> In-Reply-To: <56084077.5030607@FreeBSD.org> References: <20150927205951.16419674f519f7b46b4b2fad@neuf.fr> <56084077.5030607@FreeBSD.org> X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 20:22:52 -0000 On Sun, 27 Sep 2015 20:16:07 +0100 Matthew Seaman wrote: > On 27/09/2015 19:59, francesco scaglione wrote: > > But... would that be enough or do I need to know something else? > > Add > > DEFAULT_VERSIONS+= php=5.6 > > in /etc/make.conf > > Cheers, > > Matthew Thanks Matthew, but do I need to add that even if php 5.6 is now the default version? Francesco From owner-freebsd-questions@freebsd.org Mon Sep 28 01:00:50 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D316AA0A7B7 for ; Mon, 28 Sep 2015 01:00:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B216354 for ; Mon, 28 Sep 2015 01:00:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8S10lQd040736 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 27 Sep 2015 19:00:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8S10l5x040733; Sun, 27 Sep 2015 19:00:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 27 Sep 2015 19:00:47 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <5607FA6E.5040600@hiwaay.net> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 27 Sep 2015 19:00:47 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 01:00:50 -0000 On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > If I use disklabel to add a 'd' slice, will that mess up what is already > there ? What is the syntax for that, I don't see it in the disklabel/bsdlabel > man page ? The man page for disklabel/bsdlabel shows a way to initialize a > whole disk using 'fdisk -BI ' & implies that this will create a 'da0s1' > slice in the process. However it will also wipe out what is already there. If > I do that, can I then copy the img-file contents in some way ? Thanks & TIA > :-) .... Please stop using fdisk and bsdlabel. gpart(8) does everything they do and is easier to use. Messing with a bsdlabel installer image is probably a waste of time, but yes, you can add a partition (a bsdlabel partition). Or you can probably use growfs to expand the filesystem to the size of the drive. If you already have images on the network, consider mounting them with NFS instead. From owner-freebsd-questions@freebsd.org Mon Sep 28 02:51:20 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5746A0B6C3 for ; Mon, 28 Sep 2015 02:51:20 +0000 (UTC) (envelope-from healer@rpi.edu) Received: from smtp9.server.rpi.edu (smtp9.server.rpi.edu [128.113.2.229]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "canit.localdomain", Issuer "canit.localdomain" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 80E137A7 for ; Mon, 28 Sep 2015 02:51:20 +0000 (UTC) (envelope-from healer@rpi.edu) Received: from smtp-auth1.server.rpi.edu (smtp-auth1.server.rpi.edu [128.113.2.231]) by smtp9.server.rpi.edu (8.14.3/8.14.3/Debian-9.4) with ESMTP id t8S2p42F009374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 27 Sep 2015 22:51:05 -0400 Received: from smtp-auth1.server.rpi.edu (localhost [127.0.0.1]) by smtp-auth1.server.rpi.edu (Postfix) with ESMTP id DCAF6580C9 for ; Sun, 27 Sep 2015 22:51:04 -0400 (EDT) Received: from [128.113.208.45] (vpn-208-45.net.rpi.edu [128.113.208.45]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: healer) by smtp-auth1.server.rpi.edu (Postfix) with ESMTPSA id B739E5800F for ; Sun, 27 Sep 2015 22:51:04 -0400 (EDT) Subject: Re: Problems with ZFS file servers To: freebsd-questions@freebsd.org References: <55F5CF06.5080602@rpi.edu> <1442191342.426007007.amnhjwng@frv35.fwdcdn.com> <55F62523.7010402@rpi.edu> <1442267713.360040098.um8wwy4s@frv35.fwdcdn.com> <5605A3A5.7080905@rpi.edu> <5605AD8D.4080706@FreeBSD.org> <20150925232658.GB42532@neutralgood.org> <4abb7c52.5adf5378@fabiankeil.de> From: Bob Healey Message-ID: <5608AB17.1010300@rpi.edu> Date: Sun, 27 Sep 2015 22:51:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <4abb7c52.5adf5378@fabiankeil.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Bayes-Prob: 0.0001 (Score 0, tokens from: outgoing, @@RPTN) X-Spam-Score: 0.00 () [Hold at 7.10] X-CanIt-Incident-Id: 02PmqP5HB X-CanIt-Geo: ip=128.113.208.45; country=US; region=New York; city=Troy; latitude=42.7495; longitude=-73.5951; http://maps.google.com/maps?q=42.7495,-73.5951&z=6 X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.229 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 02:51:21 -0000 My plan, which won't be implemented before 6/9/16 is to set "-tso4 -tso -txcsum -rxcsum -vlanhwtso -lro" on all the nics, and in loader.conf, set hw.igb.rxd=4096 hw.igb.txd=4096 vfs.zfs.arc_max="75% of physical mem" Any other options I may have overlooked? I've got 9 months before I get an outage window. Academia demands no downtime not caused by acts of god or facilities shutdowns. These machines have no purpose in life other than nfs, occasional rsync, and sometimes samba 3. Bob Healey Systems Administrator Biocomputation and Bioinformatics Constellation and Molecularium healer@rpi.edu (518) 276-4407 On 9/26/2015 7:04 AM, Fabian Keil wrote: > kpneal@pobox.com wrote: > >> On Fri, Sep 25, 2015 at 09:24:45PM +0100, Matthew Seaman wrote: >>> On 25/09/2015 20:42, Bob Healey wrote: >>>> I've got another machine acting up, this machine is a Sun X2250, >>>> originally was running Solaris until this summer when the owner dropped >>>> the support contract. A zpool export, reinstall to FreeBSD 10.1, and >>>> zpool import and it was back in business. Most of the requested info >>>> can be found at http://origami.phys.rpi.edu/~healer/lepton. I am >>>> working on getting cacti installed. I am currently trying to rsync a >>>> workstation to this pool so I can reload the OS. If I use >>>> --bwlimit=10240 or lower, I have no issues, but if I don't rsync freezes >>>> on me on the client side. >>> I've found, through bitter experience, that you need to apply some >>> tunings to ZFS machines, and quite possibly some kernel patches too. >>> When you're pumping wads of data into a ZFS machine at high speed, it is >>> all too easy to get it to lock up. >>> >>> First up, the default setting where ZFS grabs all but 1GB of available >>> RAM for use by the ARC is nuts. You need to chop that down and give the >>> rest of the OS a fair share of RAM to play with by setting >>> vfs.zfs.arc_max in /boot/loader.conf. What you set it to depends on the >>> application mix on your server, but somewhere around 50% of available >>> RAM seems reasonable to me. Reboot to enable that, obviously. >> My personal experience: >> >> I have swap space configured. My box has 8GB of memory, and when I save >> large mailboxes with mutt I see up to 4GB of swap space used. >> >> It may be the case that adding swap space will eliminate the need to >> limit the ARC manually in /boot/loader.conf. > Without the ARC patches or manual tuning the swap use could be the result > of the ARC failing to adapt to the memory pressure in which case even > active processes may start paging that otherwise wouldn't have to. > > In that situation, adding more swap space may degrade performance even > further as it allows the ARC to hold on to the memory even longer. > Thus I wouldn't recommend it without analysing the cause of the swap > use first. > > Fabian From owner-freebsd-questions@freebsd.org Mon Sep 28 04:10:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F70D9CF303 for ; Mon, 28 Sep 2015 04:10:37 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CEA5E61 for ; Mon, 28 Sep 2015 04:10:36 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8S4ATLd003538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 23:10:30 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5608BDB4.6060200@hiwaay.net> Date: Sun, 27 Sep 2015 23:15:58 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 04:10:37 -0000 On 09/27/15 20:07, Warren Block wrote: > On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > >> If I use disklabel to add a 'd' slice, will that mess up what is >> already there ? What is the syntax for that, I don't see it in the >> disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel >> shows a way to initialize a whole disk using 'fdisk -BI ' & >> implies that this will create a 'da0s1' slice in the process. However >> it will also wipe out what is already there. If I do that, can I then >> copy the img-file contents in some way ? Thanks & TIA :-) .... > > Please stop using fdisk and bsdlabel. gpart(8) does everything they > do and is easier to use. > > Messing with a bsdlabel installer image is probably a waste of time, > but yes, you can add a partition (a bsdlabel partition). Or you can > probably use growfs to expand the filesystem to the size of the drive. > If you already have images on the network, consider mounting them with > NFS instead. I (think I) am using them because of the way the install image is put together, & I am trying to work around a perceived issue. Better way I am looking for :-) .... I want the full space on the drive available to log the install in case I run into issues during install .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Sep 28 04:18:46 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 586F59CF982 for ; Mon, 28 Sep 2015 04:18:46 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C51517A for ; Mon, 28 Sep 2015 04:18:45 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8S4Iif8006585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 23:18:45 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5608BFA4.1080903@hiwaay.net> Date: Sun, 27 Sep 2015 23:24:14 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 04:18:46 -0000 On 09/27/15 20:07, Warren Block wrote: > Messing with a bsdlabel installer image is probably a waste of time, > but yes, you can add a partition (a bsdlabel partition). Or you can > probably use growfs to expand the filesystem to the size of the drive. > If you already have images on the network, consider mounting them with > NFS instead. How do I do that (mount images using NFS) ? Is that feasible for boot/install ? Thanks & TIA .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Sep 28 06:39:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 557F6A0A2CB for ; Mon, 28 Sep 2015 06:39:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DCB3C1439 for ; Mon, 28 Sep 2015 06:39:24 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t8S6dC3M066998 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 28 Sep 2015 07:39:13 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t8S6dC3M066998 Authentication-Results: smtp.infracaninophile.co.uk/t8S6dC3M066998; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Upgrading php 5.4 to php 5.6 To: freebsd-questions@freebsd.org References: <20150927205951.16419674f519f7b46b4b2fad@neuf.fr> <56084077.5030607@FreeBSD.org> <20150927221713.0efd9fce5bee63aee801a55f@neuf.fr> From: Matthew Seaman Message-ID: <5608E08A.3040203@FreeBSD.org> Date: Mon, 28 Sep 2015 07:39:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150927221713.0efd9fce5bee63aee801a55f@neuf.fr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o5tdisg1jI2M0ABf12nIR0FwwRcRrLfe8" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 06:39:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --o5tdisg1jI2M0ABf12nIR0FwwRcRrLfe8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 27/09/2015 21:17, francesco scaglione wrote: > On Sun, 27 Sep 2015 20:16:07 +0100 > Matthew Seaman wrote: >=20 >> On 27/09/2015 19:59, francesco scaglione wrote: >>> But... would that be enough or do I need to know something else? >> >> Add >> >> DEFAULT_VERSIONS+=3D php=3D5.6 >> >> in /etc/make.conf >> >> Cheers, >> >> Matthew >=20 > Thanks Matthew, >=20 > but do I need to add that even if php 5.6 is now the default version? Well, no, you don't need to add it again if it's already the default. You should make sure that any other DEFAULT_VERSION setting for php doesn't override what you want. Matthew --o5tdisg1jI2M0ABf12nIR0FwwRcRrLfe8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWCOCQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATGvMP/j+jSg7HW/EYWYejVa8XmBjQ c/Hzmun1TDeJzJNhuuVDE9+frXBDHNGQBieCW17ZFxc87sszL0a4JMpec/xkYEdW WswE06uFDG8CRhj66XuraGr85WTkpfN1foMPwVtWu8NNQN6EFIN79arAkllj5VRO nOA8zivoyX9J2DL00T+Vq6XSH877HwQxoy5SIhf2cczp32YBdTuueAxiMF6hZjmz UNRjYX/stoCuVsCsphXfHIlckg57htiMnkOn25VIufLU3OMZOBrO9fjTmwrx2tm8 bPRA+rBazRbTWY4sy3u43l57VpOEoFRIKWhVvSVy1nIUnTy4x0MRBsZOOSZujNCV 5k4uimfdjDhGpdx0l9CrO6NtYRNKvRD4VVOIvqH6VIhdsiAiUvqdnkMA6ljR+J0Q CGcmhzUFBmSOROPbQ2Di9MfZhRPSsatH5QzJN4D6Eb2Krrmm4xMFKZFtE5zicBGS IFoUhavKg3jGyKqI8e2iIh9/P/sc2T4CE/Yhrxr19gGFxsGQUouYnz67CxkYMxzv aPOp/Bh4HTGsAGrUpcml6YHFgJkIXJxfQvQYiCiyRopYLlzSsyja8tcfhc9uEODX jPFCZR/3/5eKGcZs+5snqUkrNM4KoY+EowVldoUhUdqlfwhsT/yM3fLBfj+CyZl3 Z7KK2KIQPlusunW/KjBv =3uES -----END PGP SIGNATURE----- --o5tdisg1jI2M0ABf12nIR0FwwRcRrLfe8-- From owner-freebsd-questions@freebsd.org Mon Sep 28 09:08:57 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3A88A0B193 for ; Mon, 28 Sep 2015 09:08:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AF131F36 for ; Mon, 28 Sep 2015 09:08:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 07D4A3CD54; Mon, 28 Sep 2015 11:08:52 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8S98p7v002382; Mon, 28 Sep 2015 11:08:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 Sep 2015 11:08:51 +0200 From: Polytropon To: Warren Block Cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150928110851.593abd75.freebsd@edvax.de> In-Reply-To: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 09:08:57 -0000 On Sun, 27 Sep 2015 19:00:47 -0600 (MDT), Warren Block wrote: > On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > > > If I use disklabel to add a 'd' slice, will that mess up what is already > > there ? What is the syntax for that, I don't see it in the disklabel/bsdlabel > > man page ? The man page for disklabel/bsdlabel shows a way to initialize a > > whole disk using 'fdisk -BI ' & implies that this will create a 'da0s1' > > slice in the process. However it will also wipe out what is already there. If > > I do that, can I then copy the img-file contents in some way ? Thanks & TIA > > :-) .... > > Please stop using fdisk and bsdlabel. gpart(8) does everything they do > and is easier to use. But it works so nicely, especially for all the many non-standard settings! :-) Sure, gpart (and in a related context, GPT) is the way to go for 99% of use cases. Somehow I still like the ability to ditch partitioning at all and just newfs a device, or make a "one big bootable partition" with two bsdlabel commands. This knowledge will soon go down the drain, together with other "old craft" of UNIX skills many decades old. :-) > Messing with a bsdlabel installer image is probably a waste of time, but > yes, you can add a partition (a bsdlabel partition). Or you can > probably use growfs to expand the filesystem to the size of the drive. It's probably much easier to create a custom bootable image (even as a live file system) which is able to run bsdinstall and maybe even has pkg and some desired packages available. For example, have created my own USB images for different purposes, and it's actually not that hard. Still the OS does not provide an easy means to do this (like a "make " command), but there are several ports to help with this task. > If you already have images on the network, consider mounting them with > NFS instead. This is only an option for networked machines. However, as soon as you're going to install packages via pkg, Internet connection (and therefore network) is mandatory, either for accessing images or to write to a "scratch space" for program outputs you want to review later. Still the idea of being able to write to the installation image (maybe to a _different_ partition on it) is good: In case no network can be reached, you can still store stuff on it - I can imagine many purposes. :-) As the installation image is best dealt with bsdlabel, resizing 'c' and adding a 'd' partition should be possible, with the commands run through a mdconfig'ured virtual node connected to the image file. As I said, I haven't tried this, but it's probably possible. In worst case, it's a "try & fail" issue. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Sep 28 12:10:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A81C9A0B28A for ; Mon, 28 Sep 2015 12:10:56 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from mail.mgedv.net (mail.mgedv.net [83.64.34.254]) by mx1.freebsd.org (Postfix) with ESMTP id 67AE81AED for ; Mon, 28 Sep 2015 12:10:55 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from my.loop (client.my.loop [255.255.255.255]) From: "no@spam@mgEDV.net" To: Subject: 10.2-RELEASE/amd64: grep regex syntax vs. grep-bug Date: Mon, 28 Sep 2015 13:37:35 +0200 Message-ID: <00e801d0f9e2$125ec430$371c4c90$@mgedv.net> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdD54LgS+P+ZaDglRtqWs3EfyB5y0g== Content-Language: de-at Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 12:10:56 -0000 hi folks, the goal: grep, that a variable contains a number and JUST digits. # setup sample variable - we're on /bin/sh @ 10.2-RELEASE/amd64. x="" # od output the content of the variable to ensure content echo "$x" | od -ctdC 0000000 \n 10 0000001 # now try /usr/bin/grep'pin (C locale) that it contains... # ^ at BOL... # [0-9] require a digit # * ... and digits following # $ ...until we reach EOL # ... but...: echo "$x" | grep -c '^[0-9]*$' 1 <== WHY? it works if i remove the *, but this would only work for 1digit nrs. is this a grep bug or my false understanding of how '*' works? From owner-freebsd-questions@freebsd.org Mon Sep 28 12:56:51 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 623DDA0AAFA for ; Mon, 28 Sep 2015 12:56:51 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 220B5148F for ; Mon, 28 Sep 2015 12:56:50 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1ZgXz0-00069o-3v>; Mon, 28 Sep 2015 14:56:42 +0200 Received: from x5ce1284f.dyn.telefonica.de ([92.225.40.79] helo=hermann) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1ZgXyz-002j6k-Sd>; Mon, 28 Sep 2015 14:56:42 +0200 Date: Mon, 28 Sep 2015 14:54:58 +0200 From: "O. Hartmann" To: FreeBSD Questions Subject: x11: howto disable rogue touchpad? Message-ID: <20150928145458.6758ca58@hermann> Organization: FU Berlin X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 92.225.40.79 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 12:56:51 -0000 Using most recent CURRENT with up-to-date ports and X11 on a Lenovo ThinkPad E540, I fight with the world biggest crap ever invented - the Lenovo TouchPad! Fighting with ghost moves of the mouse, ghost-cut-and paste, ghost jumps, I'm about to physically rip of that crap out of the notebooks chassis! I seek a way to disable that touchpad. The crap EFI firmware of that series (which seems a reduced form of the firmware of more expensive types) doesn't allow me to disable the touchpad. So there must be found a solution via X11. Does anyone do have a solution? Please contact me (set me CC, I do not subscribe the list). Thanks in advance, oh From owner-freebsd-questions@freebsd.org Mon Sep 28 12:58:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49BB9A0ABF1 for ; Mon, 28 Sep 2015 12:58:10 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1749115C7 for ; Mon, 28 Sep 2015 12:58:09 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8SCw78v026612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 Sep 2015 07:58:08 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5609395F.70803@hiwaay.net> Date: Mon, 28 Sep 2015 08:03:37 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 12:58:10 -0000 On 09/27/15 20:07, Warren Block wrote: > On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > >> If I use disklabel to add a 'd' slice, will that mess up what is >> already there ? What is the syntax for that, I don't see it in the >> disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel >> shows a way to initialize a whole disk using 'fdisk -BI ' & >> implies that this will create a 'da0s1' slice in the process. However >> it will also wipe out what is already there. If I do that, can I then >> copy the img-file contents in some way ? Thanks & TIA :-) .... > > Please stop using fdisk and bsdlabel. gpart(8) does everything they > do and is easier to use. > > Messing with a bsdlabel installer image is probably a waste of time, > but yes, you can add a partition (a bsdlabel partition). Or you can > probably use growfs to expand the filesystem to the size of the drive. > If you already have images on the network, consider mounting them with > NFS instead. > Part of the reason I ask is that I did a NetBSD 6.1.5 install early in the summer, & was able to resize the partitions there using their fdisk. However, some of the args appear to be either different functionality or missing in the FreeBSD version. It was quite helpful to log the install process & ask questions along the way with actual output info, rather than reconstructed from memory .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Mon Sep 28 13:07:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80A68A0B8B8 for ; Mon, 28 Sep 2015 13:07:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25FD11D80 for ; Mon, 28 Sep 2015 13:07:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wiclk2 with SMTP id lk2so100556919wic.1 for ; Mon, 28 Sep 2015 06:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=VGztbzfWbW2b25lGMLWz+/SyCEVFvz9Vg2CFxJba5fQ=; b=EhNmWWDvbvts5jeVGNN6xDzPqJs7pLtV70jlkG0u//iwYjrjO6eZnCOl8hQNtNScxu YeU1vaP1pJIt4YDQEkzFZB1pXEHrvaJoXtFCA6dP/Gg0zCvw5+BMZMG1YUFtU1sQmH9g W8d5yw5qWO9cGAfcMqRdwfkpI1WPPpXq//UCB3mOp1moCgAQCr+Hf89p5b8xbvblQAIy 9PvqUFKxTAfwcvEjK2PVGw55pwndaJ+gWvpH7qg+dnrFgB+eWB7Ae7dHatNQMscVY96b Yth/zfGSpM6k363hXN+we6p1h0/Ihr1ZHJe50/RMkF3a04RW/bg23rNO/zB92TcHfnJx Rvfg== X-Received: by 10.180.92.201 with SMTP id co9mr225250wib.58.1443445674559; Mon, 28 Sep 2015 06:07:54 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id x7sm18275677wia.5.2015.09.28.06.07.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2015 06:07:53 -0700 (PDT) Date: Mon, 28 Sep 2015 14:07:52 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: 10.2-RELEASE/amd64: grep regex syntax vs. grep-bug Message-ID: <20150928140752.0c182f1e@gumby.homeunix.com> In-Reply-To: <00e801d0f9e2$125ec430$371c4c90$@mgedv.net> References: <00e801d0f9e2$125ec430$371c4c90$@mgedv.net> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 13:07:56 -0000 On Mon, 28 Sep 2015 13:37:35 +0200 no@spam@mgEDV.net wrote: > hi folks, > the goal: grep, that a variable contains a number and JUST digits. > # setup sample variable - we're on /bin/sh @ 10.2-RELEASE/amd64. > x="" > # od output the content of the variable to ensure content > echo "$x" | od -ctdC > 0000000 \n > 10 > 0000001 > # now try /usr/bin/grep'pin (C locale) that it contains... > # ^ at BOL... > # [0-9] require a digit > # * ... and digits following You're confusing + and *. [0-9]* matches any number of digits including zero [0-9]+ matches one or more digits. > # $ ...until we reach EOL > # ... but...: > echo "$x" | grep -c '^[0-9]*$' > 1 <== WHY? From owner-freebsd-questions@freebsd.org Mon Sep 28 13:12:29 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F71AA0BC05 for ; Mon, 28 Sep 2015 13:12:29 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2615111E for ; Mon, 28 Sep 2015 13:12:28 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.14] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id 7805B27; Mon, 28 Sep 2015 13:06:14 +0000 (UTC) Subject: Re: 10.2-RELEASE/amd64: grep regex syntax vs. grep-bug To: "no@spam@mgEDV.net" , freebsd-questions@freebsd.org References: <00e801d0f9e2$125ec430$371c4c90$@mgedv.net> From: "Chad J. Milios" Message-ID: <56093CB4.6060606@ccsys.com> Date: Mon, 28 Sep 2015 09:12:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <00e801d0f9e2$125ec430$371c4c90$@mgedv.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 13:12:29 -0000 On 9/28/2015 7:37 AM, no@spam@mgEDV.net wrote: > hi folks, > the goal: grep, that a variable contains a number and JUST digits. > # setup sample variable - we're on /bin/sh @ 10.2-RELEASE/amd64. > x="" > # od output the content of the variable to ensure content > echo "$x" | od -ctdC > 0000000 \n > 10 > 0000001 > # now try /usr/bin/grep'pin (C locale) that it contains... > # ^ at BOL... > # [0-9] require a digit > # * ... and digits following > # $ ...until we reach EOL > # ... but...: > echo "$x" | grep -c '^[0-9]*$' > 1 <== WHY? > it works if i remove the *, but this would only work for 1digit nrs. > is this a grep bug or my false understanding of how '*' works? > you want to use + (1 or more) instead of * (0 or more) and for that youll need to add -E mode to grep as well From owner-freebsd-questions@freebsd.org Mon Sep 28 12:50:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0DE4A0A76B for ; Mon, 28 Sep 2015 12:50:56 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A69AA11D5 for ; Mon, 28 Sep 2015 12:50:56 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id A5D6FA0A76A; Mon, 28 Sep 2015 12:50:56 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A576AA0A769 for ; Mon, 28 Sep 2015 12:50:56 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 766F711D4 for ; Mon, 28 Sep 2015 12:50:56 +0000 (UTC) (envelope-from roberthuff@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=aoSLV0pV c=1 sm=1 tr=0 a=PfRRqASh+22Lc+SRmnf6GA==:117 a=PfRRqASh+22Lc+SRmnf6GA==:17 a=K-v-2zaBAAAA:8 a=L9H7d07YOLsA:10 a=sIt-5M63AAAA:8 a=kj9zAlcOel0A:10 a=ETHgZhW8F2vsBRdlSOYA:9 a=CjuIK1q_8ugA:10 a=P8RaGsrpOGEA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.231.137 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.231.137] ([209.6.231.137:35901] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTP id DB/FC-58115-7F239065; Mon, 28 Sep 2015 08:30:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22025.13047.708665.511050@jerusalem.litteratus.org> Date: Mon, 28 Sep 2015 08:30:47 -0400 To: questions@freebsd.org Subject: replacement for x11/xlogout? X-Mailer: VM 8.2.0b under 24.5.1 (amd64-portbld-freebsd10.1) X-Mailman-Approved-At: Mon, 28 Sep 2015 13:33:55 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 12:50:56 -0000 I note in this morning's updates that xlogout has been deleted. Is there an accepted replacement? It may be "cruft from 1989", but it is _not_ useless. (Unless, of course, I find something else.) Respectfully, Robert Huff From owner-freebsd-questions@freebsd.org Mon Sep 28 14:34:59 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC3F2A0AC81 for ; Mon, 28 Sep 2015 14:34:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C9099112B for ; Mon, 28 Sep 2015 14:34:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by mailman.ysv.freebsd.org (Postfix) id C5F54A0AC80; Mon, 28 Sep 2015 14:34:59 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C585FA0AC7D for ; Mon, 28 Sep 2015 14:34:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id A58A1112A for ; Mon, 28 Sep 2015 14:34:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 0834233C46; Mon, 28 Sep 2015 10:34:51 -0400 (EDT) From: Lowell Gilbert To: questions@freebsd.org Subject: Re: replacement for x11/xlogout? References: <22025.13047.708665.511050@jerusalem.litteratus.org> Date: Mon, 28 Sep 2015 10:34:51 -0400 In-Reply-To: <22025.13047.708665.511050@jerusalem.litteratus.org> (nobody's message of "Mon, 28 Sep 2015 08:30:47 -0400") Message-ID: <44pp12sjck.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 14:35:00 -0000 nobody writes: > I note in this morning's updates that xlogout has been deleted. > Is there an accepted replacement? It may be "cruft from 1989", > but it is _not_ useless. (Unless, of course, I find something > else.) I've always used xmessage for that purpose. Anything that exits when you press a button will do the same thing... From owner-freebsd-questions@freebsd.org Mon Sep 28 14:49:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9530BA0B52E for ; Mon, 28 Sep 2015 14:49:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB361775 for ; Mon, 28 Sep 2015 14:49:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 79D62A0B52D; Mon, 28 Sep 2015 14:49:37 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 796AEA0B52C for ; Mon, 28 Sep 2015 14:49:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F79F1773 for ; Mon, 28 Sep 2015 14:49:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id B298224CBB for ; Mon, 28 Sep 2015 16:49:27 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8SEnRXg002006 for ; Mon, 28 Sep 2015 16:49:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 Sep 2015 16:49:27 +0200 From: Polytropon To: questions@freebsd.org Subject: Re: replacement for x11/xlogout? Message-Id: <20150928164927.d8969193.freebsd@edvax.de> In-Reply-To: <22025.13047.708665.511050@jerusalem.litteratus.org> References: <22025.13047.708665.511050@jerusalem.litteratus.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 14:49:37 -0000 On Mon, 28 Sep 2015 08:30:47 -0400, owner-freebsd-questions@freebsd.org wrote: > > I note in this morning's updates that xlogout has been deleted. What? Couldn't it be ported to use the latest Gtk 3, with Unicode support, DBus integration and ALSA?! ;-) > Is there an accepted replacement? It may be "cruft from 1989", > but it is _not_ useless. (Unless, of course, I find something > else.) Use a program that's easy to exit. A "controlling xterm" is possible, but an xclock window, xosview, xload or anything else "simple" will do. Otherwise, use the exit function of your preferred window manager or desktop environment (via the last "exec" statement in ~/.xinitrc or ~/.xsession). Maybe even ye olde xconsole program will work... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Sep 28 14:54:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 853A9A0B918 for ; Mon, 28 Sep 2015 14:54:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1291B96 for ; Mon, 28 Sep 2015 14:54:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 3232D277EC; Mon, 28 Sep 2015 16:54:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8SEsYFx002012; Mon, 28 Sep 2015 16:54:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 Sep 2015 16:54:34 +0200 From: Polytropon To: "O. Hartmann" Cc: FreeBSD Questions Subject: Re: x11: howto disable rogue touchpad? Message-Id: <20150928165434.f43641cd.freebsd@edvax.de> In-Reply-To: <20150928145458.6758ca58@hermann> References: <20150928145458.6758ca58@hermann> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 14:54:37 -0000 On Mon, 28 Sep 2015 14:54:58 +0200, O. Hartmann wrote: > Using most recent CURRENT with up-to-date ports and X11 on a Lenovo > ThinkPad E540, I fight with the world biggest crap ever invented - the > Lenovo TouchPad! Fighting with ghost moves of the mouse, ghost-cut-and > paste, ghost jumps, I'm about to physically rip of that crap out of the > notebooks chassis! Bow down and praise the wise wisdom of the masses! ;-) > I seek a way to disable that touchpad. The crap EFI firmware of that > series (which seems a reduced form of the firmware of more expensive > types) doesn't allow me to disable the touchpad. So there must be found > a solution via X11. If I remember correctly, the integrated finger fat smear annoying device (usually called "touchpad" in this context) is being represented to the system as a PS/2 mouse (older models) or as a USB mouse (newer models). If you do _not_ load a driver for that device, it should be disabled. You should be able to do this with a partial xorg.conf. It might be possible with the HAL/DBus/ConsoleKit XML conglomerate of doom, but I can't tell you where the setting is, _if_ there is... However, this might cause problems with other pointing devices you might have installed. Especially if the touchpad is represented "in parallel" with the TrackPoint (if your model has one). It's also possible that X picks up an external USB mouse and the trackpad and "connects" it to the same (and only) pointer arrow, so this would lead to disabling _all_ pointing devices which obviously is not what you want. In short: Cut the red wire. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Sep 28 15:29:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31581A0AD92 for ; Mon, 28 Sep 2015 15:29:54 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F25351D90 for ; Mon, 28 Sep 2015 15:29:53 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: by iofb144 with SMTP id b144so179709199iof.1 for ; Mon, 28 Sep 2015 08:29:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+cbaKdAIxCph6g8ilhanT2Fi6CXCMVIKu7QyzPcpLr4=; b=DBWZWonqm3KDLqk0JQ2DshJWx6RvYKHy3ME3LVgc8goaJ0wG7EJlyhSynXMd5bhOsz n13zZx96/N+/yZ2PLyboCsTARyBdJb56/18I7lCiWph0RGwNdYb+OfSeoTpmajmwz/sW ry6+mEnhQNDQIAjAwxoWf02RNKyZyfhdedrpoPogVEg+Sta0KtXTBMl8apVMTgE+bglr JLOCCz50qs6XwP832LGgrtcqh4f0lFC3xjUIWB0j6l6e5KfI0E/h8NT82/2muPRnPHIL iZrFALPMNHFsPqa30evBxRAQnlZdTejywsg9IScg1mpSUKwVZjt98HlmgtOAro8m9IpT LG0w== X-Gm-Message-State: ALoCoQkeSD5XrJh54aseKBlBf0v7MbJmp21pl8IERhYrjPRVDulOePnhblSsX9yEeRRbc1YUIEQ7 MIME-Version: 1.0 X-Received: by 10.107.40.12 with SMTP id o12mr19855026ioo.84.1443453788905; Mon, 28 Sep 2015 08:23:08 -0700 (PDT) Received: by 10.107.15.35 with HTTP; Mon, 28 Sep 2015 08:23:08 -0700 (PDT) Received: by 10.107.15.35 with HTTP; Mon, 28 Sep 2015 08:23:08 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Sep 2015 17:23:08 +0200 Message-ID: Subject: Downtime (was Re: Problems with ZFS file servers) From: Jonathan McKeown To: Bob Healey Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 15:29:54 -0000 So your employers prefer unplanned downtime to scheduled maintenance? That, IMHO, is.... unwise. Here's an alternative take. I also worked as a sysadmin in academia (until being medically boarded with chronic illness). We have a 14-hour Major Maintenance Window from 17h30 through to 07h30 on the next morning on the 1st working Tuesday in January, and 1st Tuesday of each other month - which is non-negotiable - and a minor maint window for the same times on all remaining Tuesdays, which can be rescheduled. Not all the windows (nor all the hours in each window) are used but everyone knows they might be and plans accordingly (and a few days' advance warning is given of maintenance, with estimated outage times and durations). From owner-freebsd-questions@freebsd.org Mon Sep 28 15:13:14 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93FA5A0A43C for ; Mon, 28 Sep 2015 15:13:14 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7768615EF for ; Mon, 28 Sep 2015 15:13:14 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id 767A4A0A43B; Mon, 28 Sep 2015 15:13:14 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 760D6A0A43A for ; Mon, 28 Sep 2015 15:13:14 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A28215EE for ; Mon, 28 Sep 2015 15:13:13 +0000 (UTC) (envelope-from roberthuff@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=aoSLV0pV c=1 sm=1 tr=0 a=PfRRqASh+22Lc+SRmnf6GA==:117 a=PfRRqASh+22Lc+SRmnf6GA==:17 a=K-v-2zaBAAAA:8 a=L9H7d07YOLsA:10 a=sIt-5M63AAAA:8 a=kj9zAlcOel0A:10 a=fO24-f5vYTYLFaY5nisA:9 a=CjuIK1q_8ugA:10 a=O0x3Mzqqu7oA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.231.137 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.231.137] ([209.6.231.137:42165] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTP id 27/B4-58115-70959065; Mon, 28 Sep 2015 11:13:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22025.22791.49064.755124@jerusalem.litteratus.org> Date: Mon, 28 Sep 2015 11:13:11 -0400 To: Lowell Gilbert Cc: questions@freebsd.org Subject: Re: replacement for x11/xlogout? In-Reply-To: <44pp12sjck.fsf@be-well.ilk.org> References: <22025.13047.708665.511050@jerusalem.litteratus.org> <44pp12sjck.fsf@be-well.ilk.org> X-Mailer: VM 8.2.0b under 24.5.1 (amd64-portbld-freebsd10.1) X-Mailman-Approved-At: Mon, 28 Sep 2015 15:59:14 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 15:13:14 -0000 Lowell Gilbert writes: > > I note in this morning's updates that xlogout has been deleted. > > Is there an accepted replacement? It may be "cruft from 1989", > > but it is _not_ useless. (Unless, of course, I find something > > else.) > > I've always used xmessage for that purpose. And now I do too. Happily, Robert Huff From owner-freebsd-questions@freebsd.org Mon Sep 28 16:45:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85F36A0BBEA for ; Mon, 28 Sep 2015 16:45:09 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2001:7c0:407:1001:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B4A01B61 for ; Mon, 28 Sep 2015 16:45:09 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1ZgbY1-0007oP-Fe; Mon, 28 Sep 2015 18:45:05 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id t8SGhXHp024536 for ; Mon, 28 Sep 2015 18:43:33 +0200 (CEST) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id t8SGhX09024535 for freebsd-questions@freebsd.org; Mon, 28 Sep 2015 18:43:33 +0200 (CEST) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: replacement for x11/xlogout? Date: Mon, 28 Sep 2015 16:43:33 +0000 (UTC) Lines: 21 Message-ID: References: <22025.13047.708665.511050@jerusalem.litteratus.org> X-Trace: lorvorc.mips.inka.de 1443458613 24358 ::1 (28 Sep 2015 16:43:33 GMT) X-Complaints-To: usenet@mips.inka.de User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 16:45:09 -0000 On 2015-09-28, owner-freebsd-questions@freebsd.org wrote: > I note in this morning's updates that xlogout has been deleted. > Is there an accepted replacement? It may be "cruft from 1989", > but it is _not_ useless. You could ask the maintainer to restore the port. Would have been simpler if you had spoken up during the three months grace period, though. When I stopped running xlogout maybe a decade ago, it felt like I was the last person on earth still using it. By 2015, I didn't expect anybody to be even aware of its existence any longer. > (Unless, of course, I find something else.) Something like xlogout can't be more than a few lines in Tcl/Tk, Perl/Tk, or the like. -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@freebsd.org Mon Sep 28 17:56:26 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1006DA0A69E for ; Mon, 28 Sep 2015 17:56:26 +0000 (UTC) (envelope-from jpc@porterclark.com) Received: from mail.cluebytwelve.org (clueby12.org [198.186.190.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0C0812F8 for ; Mon, 28 Sep 2015 17:56:24 +0000 (UTC) (envelope-from jpc@porterclark.com) Received: from 24-183-226-240.dhcp.kgpt.tn.charter.com (macporter [24.183.227.103]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cluebytwelve.org (Postfix) with ESMTPSA id 88CAF1B5DD for ; Mon, 28 Sep 2015 12:48:12 -0500 (CDT) Received: by 24-183-226-240.dhcp.kgpt.tn.charter.com (Postfix, from userid 501) id E53A714885062; Mon, 28 Sep 2015 12:48:10 -0500 (CDT) Date: Mon, 28 Sep 2015 12:48:10 -0500 From: "J. Porter Clark" To: freebsd-questions@freebsd.org Subject: Cross-compiling under FreeBSD for a Linux target Message-ID: <20150928174810.GA42238@MacPorter.local> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: http://www.angelfire.com/ego/porterclark/ User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 17:56:26 -0000 Is there a way, under FreeBSD, to compile a program so that it will run on a Linux target, specifically the same 32-bit Centos 6 that the emulators/linux-c6 port uses? -- J. Porter Clark From owner-freebsd-questions@freebsd.org Mon Sep 28 18:15:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A6D2A0B1AD for ; Mon, 28 Sep 2015 18:15:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B9D41DD6 for ; Mon, 28 Sep 2015 18:15:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8SIFZcT098424 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 12:15:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8SIFZwJ098421; Mon, 28 Sep 2015 12:15:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 28 Sep 2015 12:15:35 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <5608BDB4.6060200@hiwaay.net> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <5608BDB4.6060200@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 28 Sep 2015 12:15:36 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 18:15:43 -0000 On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > On 09/27/15 20:07, Warren Block wrote: >> On Sun, 27 Sep 2015, William A. Mahaffey III wrote: >> >>> If I use disklabel to add a 'd' slice, will that mess up what is already >>> there ? What is the syntax for that, I don't see it in the >>> disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel shows a >>> way to initialize a whole disk using 'fdisk -BI ' & implies that this >>> will create a 'da0s1' slice in the process. However it will also wipe out >>> what is already there. If I do that, can I then copy the img-file contents >>> in some way ? Thanks & TIA :-) .... >> >> Please stop using fdisk and bsdlabel. gpart(8) does everything they do and >> is easier to use. > I (think I) am using them because of the way the install image is put > together, & I am trying to work around a perceived issue. Again, gpart(8) does everything they do. By that, I mean that gpart(8) can create bsdlabel partitions and MBR slices in addition to GPT and other partitioning schemes. None of these programs will resize a filesystem already present on a partition. growfs(8) does that for UFS. From owner-freebsd-questions@freebsd.org Mon Sep 28 18:18:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B716A0B352 for ; Mon, 28 Sep 2015 18:18:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C0B861F7B for ; Mon, 28 Sep 2015 18:18:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8SIISec099203 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 12:18:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8SIISvH099200; Mon, 28 Sep 2015 12:18:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 28 Sep 2015 12:18:28 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <5608BFA4.1080903@hiwaay.net> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <5608BFA4.1080903@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 28 Sep 2015 12:18:28 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 18:18:30 -0000 On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > On 09/27/15 20:07, Warren Block wrote: >> Messing with a bsdlabel installer image is probably a waste of time, but >> yes, you can add a partition (a bsdlabel partition). Or you can probably >> use growfs to expand the filesystem to the size of the drive. If you >> already have images on the network, consider mounting them with NFS >> instead. > > How do I do that (mount images using NFS) ? Is that feasible for boot/install > ? Thanks & TIA .... Set up an NFS server on the system with the images: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html That example shows sharing a CDROM image. Then mount that from the installer command line. (Untested by me, but I'd expect it to work.) From owner-freebsd-questions@freebsd.org Tue Sep 29 00:27:58 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E4F5A0BD4A for ; Tue, 29 Sep 2015 00:27:58 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (ns.umpquanet.com [98.158.10.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F1601D52 for ; Tue, 29 Sep 2015 00:27:57 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (localhost [127.0.0.1]) by ns.umpquanet.com (8.14.9/8.14.9) with ESMTP id t8T0LVFf031657 for ; Mon, 28 Sep 2015 17:21:31 -0700 (PDT) (envelope-from list@museum.rain.com) Received: (from james@localhost) by ns.umpquanet.com (8.14.9/8.14.9/Submit) id t8T0LV5B031656 for freebsd-questions@freebsd.org; Mon, 28 Sep 2015 17:21:31 -0700 (PDT) (envelope-from list@museum.rain.com) Date: Mon, 28 Sep 2015 17:21:31 -0700 From: Jim Long To: freebsd-questions@freebsd.org Subject: Slow tcp transmit speed on 10.2-STABLE Message-ID: <20150929002131.GA30896@ns.umpquanet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 00:27:58 -0000 I have one machine (jimsdesk) which achieves very poor tcp transmit rates. It receives adequately, but is universally slow (HTTP, FTP, scp, lpd, etc.) when sending. By 'slow' I mean average throughput of 10kB/sec or so on a Gigabit link. The NIC is em0, sysctl.conf is absent, and /boot/loader.conf is absent. I have captured a sample session with tcpdump, but am out of my depth in interpreting the output. Clues as to what is going on and how to remedy the problem would be greatly appreciated. Please let me know if I can provide additional information. Thank you, Jim This is copying a file out from the slow machine to a neighboring (same subnet) CentOS 7 box. I have more data/other cases if that would be helpful. Another example I can provide is waiting for lpd to spool a 25M postscript job to the printer at 10kB/sec. jimsdesk : 16:36:34 /usr/home/jim> head -100 /root/scp-poor-transmit-speed.txt 11:16:25.152095 IP (tos 0x0, ttl 64, id 1594, offset 0, flags [DF], proto TCP (6), length 60) jimsdesk.34262 > centos.ssh: Flags [S], cksum 0xb520 (correct), seq 1922228099, win 65535, options [mss 1448,nop,wscale 6,sackOK,TS val 84821251 ecr 0], length 0 11:16:25.152261 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60) centos.ssh > jimsdesk.34262: Flags [S.], cksum 0xdad9 (correct), seq 3510010142, ack 1922228100, win 14480, options [mss 1460,sackOK,TS val 69880601 ecr 84821251,nop,wscale 7], length 0 11:16:25.152320 IP (tos 0x0, ttl 64, id 1595, offset 0, flags [DF], proto TCP (6), length 52) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x3e2d (correct), seq 1, ack 1, win 1032, options [nop,nop,TS val 84821252 ecr 69880601], length 0 11:16:25.152859 IP (tos 0x0, ttl 64, id 1596, offset 0, flags [DF], proto TCP (6), length 101) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0xcb7c (correct), seq 1:50, ack 1, win 1032, options [nop,nop,TS val 84821252 ecr 69880601], length 49 11:16:25.152982 IP (tos 0x0, ttl 64, id 51718, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x4191 (correct), seq 1, ack 50, win 114, options [nop,nop,TS val 69880602 ecr 84821252], length 0 11:16:25.161224 IP (tos 0x0, ttl 64, id 51719, offset 0, flags [DF], proto TCP (6), length 75) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x4b93 (correct), seq 1:24, ack 50, win 114, options [nop,nop,TS val 69880610 ecr 84821252], length 23 11:16:25.163894 IP (tos 0x0, ttl 64, id 51720, offset 0, flags [DF], proto TCP (6), length 1488) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x97d4 (correct), seq 24:1460, ack 50, win 114, options [nop,nop,TS val 69880612 ecr 84821252], length 1436 11:16:25.391728 IP (tos 0x0, ttl 64, id 44480, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x5b7e (correct), seq 50:1486, ack 1460, win 1032, options [nop,nop,TS val 84821491 ecr 69880612], length 1436 11:16:25.391734 IP (tos 0x0, ttl 64, id 44482, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x5b7e (correct), seq 50:1486, ack 1460, win 1032, options [nop,nop,TS val 84821491 ecr 69880612], length 1436 11:16:25.391973 IP (tos 0x0, ttl 64, id 51721, offset 0, flags [DF], proto TCP (6), length 256) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0xfbae (correct), seq 1460:1664, ack 1486, win 136, options [nop,nop,TS val 69880840 ecr 84821491], length 204 11:16:25.391981 IP (tos 0x0, ttl 64, id 51722, offset 0, flags [DF], proto TCP (6), length 64) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x533f (correct), seq 1664, ack 1486, win 136, options [nop,nop,TS val 69880840 ecr 84821491,nop,nop,sack 1 {50:1486}], length 0 11:16:25.392025 IP (tos 0x0, ttl 64, id 44483, offset 0, flags [DF], proto TCP (6), length 584) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x9772 (correct), seq 1486:2018, ack 1664, win 1028, options [nop,nop,TS val 84821491 ecr 69880840], length 532 11:16:25.392146 IP (tos 0x0, ttl 64, id 51723, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x3157 (correct), seq 1664, ack 2018, win 159, options [nop,nop,TS val 69880841 ecr 84821491], length 0 11:16:25.393983 IP (tos 0x0, ttl 64, id 44484, offset 0, flags [DF], proto TCP (6), length 100) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x05f4 (correct), seq 2018:2066, ack 1664, win 1032, options [nop,nop,TS val 84821493 ecr 69880841], length 48 11:16:25.394099 IP (tos 0x0, ttl 64, id 51724, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x3123 (correct), seq 1664, ack 2066, win 159, options [nop,nop,TS val 69880843 ecr 84821493], length 0 11:16:25.402434 IP (tos 0x0, ttl 64, id 51725, offset 0, flags [DF], proto TCP (6), length 332) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x8f37 (correct), seq 1664:1944, ack 2066, win 159, options [nop,nop,TS val 69880851 ecr 84821493], length 280 11:16:25.406810 IP (tos 0x0, ttl 64, id 44486, offset 0, flags [DF], proto TCP (6), length 68) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x2254 (correct), seq 2066:2082, ack 1944, win 1032, options [nop,nop,TS val 84821506 ecr 69880851], length 16 11:16:25.446917 IP (tos 0x0, ttl 64, id 51726, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x2fb9 (correct), seq 1944, ack 2082, win 159, options [nop,nop,TS val 69880896 ecr 84821506], length 0 11:16:25.446975 IP (tos 0x0, ttl 64, id 44487, offset 0, flags [DF], proto TCP (6), length 104) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x38f3 (correct), seq 2082:2134, ack 1944, win 1032, options [nop,nop,TS val 84821546 ecr 69880896], length 52 11:16:25.447095 IP (tos 0x0, ttl 64, id 51727, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x2f5d (correct), seq 1944, ack 2134, win 159, options [nop,nop,TS val 69880896 ecr 84821546], length 0 11:16:25.447222 IP (tos 0x0, ttl 64, id 51728, offset 0, flags [DF], proto TCP (6), length 104) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x1066 (correct), seq 1944:1996, ack 2134, win 159, options [nop,nop,TS val 69880896 ecr 84821546], length 52 11:16:25.447302 IP (tos 0x0, ttl 64, id 44488, offset 0, flags [DF], proto TCP (6), length 120) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x551a (correct), seq 2134:2202, ack 1996, win 1032, options [nop,nop,TS val 84821547 ecr 69880896], length 68 11:16:25.449623 IP (tos 0x0, ttl 64, id 51729, offset 0, flags [DF], proto TCP (6), length 136) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0xdc4d (correct), seq 1996:2080, ack 2202, win 159, options [nop,nop,TS val 69880898 ecr 84821547], length 84 11:16:25.449710 IP (tos 0x0, ttl 64, id 44489, offset 0, flags [DF], proto TCP (6), length 568) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x2814 (correct), seq 2202:2718, ack 2080, win 1032, options [nop,nop,TS val 84821550 ecr 69880898], length 516 11:16:25.454138 IP (tos 0x0, ttl 64, id 51730, offset 0, flags [DF], proto TCP (6), length 536) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x275b (correct), seq 2080:2564, ack 2718, win 181, options [nop,nop,TS val 69880903 ecr 84821550], length 484 11:16:25.454476 IP (tos 0x0, ttl 64, id 44490, offset 0, flags [DF], proto TCP (6), length 632) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0xd859 (correct), seq 2718:3298, ack 2564, win 1032, options [nop,nop,TS val 84821554 ecr 69880903], length 580 11:16:25.460435 IP (tos 0x0, ttl 64, id 51731, offset 0, flags [DF], proto TCP (6), length 88) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0xb4fb (correct), seq 2564:2600, ack 3298, win 204, options [nop,nop,TS val 69880909 ecr 84821554], length 36 11:16:25.460567 IP (tos 0x0, ttl 64, id 44491, offset 0, flags [DF], proto TCP (6), length 172) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x0c71 (correct), seq 3298:3418, ack 2600, win 1032, options [nop,nop,TS val 84821561 ecr 69880909], length 120 11:16:25.499979 IP (tos 0x0, ttl 64, id 51732, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x2758 (correct), seq 2600, ack 3418, win 204, options [nop,nop,TS val 69880949 ecr 84821561], length 0 11:16:25.556097 IP (tos 0x0, ttl 64, id 51733, offset 0, flags [DF], proto TCP (6), length 104) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x67ce (correct), seq 2600:2652, ack 3418, win 204, options [nop,nop,TS val 69881005 ecr 84821561], length 52 11:16:25.556254 IP (tos 0x8, ttl 64, id 44492, offset 0, flags [DF], proto TCP (6), length 120) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x9c0a (correct), seq 3418:3486, ack 2652, win 1032, options [nop,nop,TS val 84821656 ecr 69881005], length 68 11:16:25.556375 IP (tos 0x0, ttl 64, id 51734, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x2649 (correct), seq 2652, ack 3486, win 204, options [nop,nop,TS val 69881005 ecr 84821656], length 0 11:16:25.561630 IP (tos 0x8, ttl 64, id 51735, offset 0, flags [DF], proto TCP (6), length 124) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x3a6b (correct), seq 2652:2724, ack 3486, win 204, options [nop,nop,TS val 69881010 ecr 84821656], length 72 11:16:25.580764 IP (tos 0x8, ttl 64, id 51736, offset 0, flags [DF], proto TCP (6), length 88) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x8245 (correct), seq 2724:2760, ack 3486, win 204, options [nop,nop,TS val 69881029 ecr 84821656], length 36 11:16:25.580824 IP (tos 0x8, ttl 64, id 44493, offset 0, flags [DF], proto TCP (6), length 52) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x2284 (correct), seq 3486, ack 2760, win 1031, options [nop,nop,TS val 84821681 ecr 69881010], length 0 11:16:25.580916 IP (tos 0x8, ttl 64, id 44494, offset 0, flags [DF], proto TCP (6), length 120) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0xc508 (correct), seq 3486:3554, ack 2760, win 1032, options [nop,nop,TS val 84821681 ecr 69881010], length 68 11:16:25.581162 IP (tos 0x8, ttl 64, id 51737, offset 0, flags [DF], proto TCP (6), length 88) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0xc391 (correct), seq 2760:2796, ack 3554, win 204, options [nop,nop,TS val 69881030 ecr 84821681], length 36 11:16:25.581239 IP (tos 0x8, ttl 64, id 44495, offset 0, flags [DF], proto TCP (6), length 120) jimsdesk.34262 > centos.ssh: Flags [P.], cksum 0x5c37 (correct), seq 3554:3622, ack 2796, win 1032, options [nop,nop,TS val 84821681 ecr 69881030], length 68 11:16:25.581583 IP (tos 0x8, ttl 64, id 51738, offset 0, flags [DF], proto TCP (6), length 88) centos.ssh > jimsdesk.34262: Flags [P.], cksum 0x3483 (correct), seq 2796:2832, ack 3622, win 204, options [nop,nop,TS val 69881030 ecr 84821681], length 36 11:16:25.827361 IP (tos 0x8, ttl 64, id 22148, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x95c8 (correct), seq 3622:5058, ack 2832, win 1032, options [nop,nop,TS val 84821927 ecr 69881030], length 1436 11:16:25.827367 IP (tos 0x8, ttl 64, id 22149, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x95c8 (correct), seq 3622:5058, ack 2832, win 1032, options [nop,nop,TS val 84821927 ecr 69881030], length 1436 11:16:25.827567 IP (tos 0x8, ttl 64, id 51739, offset 0, flags [DF], proto TCP (6), length 64) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x2111 (correct), seq 2832, ack 5058, win 226, options [nop,nop,TS val 69881276 ecr 84821927,nop,nop,sack 1 {3622:5058}], length 0 11:16:26.077106 IP (tos 0x8, ttl 64, id 64811, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x6252 (correct), seq 5058:6494, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881276], length 1436 11:16:26.077111 IP (tos 0x8, ttl 64, id 64813, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x6252 (correct), seq 5058:6494, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881276], length 1436 11:16:26.077352 IP (tos 0x8, ttl 64, id 51740, offset 0, flags [DF], proto TCP (6), length 52) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x1596 (correct), seq 2832, ack 6494, win 249, options [nop,nop,TS val 69881526 ecr 84822177], length 0 11:16:26.077355 IP (tos 0x8, ttl 64, id 51741, offset 0, flags [DF], proto TCP (6), length 64) centos.ssh > jimsdesk.34262: Flags [.], cksum 0x0e32 (correct), seq 2832, ack 6494, win 249, options [nop,nop,TS val 69881526 ecr 84822177,nop,nop,sack 1 {5058:6494}], length 0 11:16:26.077380 IP (tos 0x8, ttl 64, id 64815, offset 0, flags [DF], proto TCP (6), length 1488) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0x16c4 (correct), seq 13674:15110, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881526], length 1436 11:16:26.077392 IP (tos 0x8, ttl 64, id 64818, offset 0, flags [DF], proto TCP (6), length 752) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0xd74f (correct), seq 13674:14374, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881526], length 700 11:16:26.077403 IP (tos 0x8, ttl 64, id 64821, offset 0, flags [DF], proto TCP (6), length 752) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0xd74f (correct), seq 13674:14374, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881526], length 700 11:16:26.077415 IP (tos 0x8, ttl 64, id 64824, offset 0, flags [DF], proto TCP (6), length 752) jimsdesk.34262 > centos.ssh: Flags [.], cksum 0xd74f (correct), seq 13674:14374, ack 2832, win 1032, options [nop,nop,TS val 84822177 ecr 69881526], length 700 In case it is helpful: jimsdesk : 17:07:09 /usr/home/jim> pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x05771028 chip=0x01508086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x05771028 chip=0x01518086 rev=0x09 hdr=0x01 vendor = 'Intel Corporation' device = 'Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port' class = bridge subclass = PCI-PCI xhci0@pci0:0:20:0: class=0x0c0330 card=0x05771028 chip=0x1e318086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB xHCI Host Controller' class = serial bus subclass = USB none0@pci0:0:22:0: class=0x078000 card=0x05771028 chip=0x1e3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family MEI Controller' class = simple comms none1@pci0:0:22:3: class=0x070002 card=0x05771028 chip=0x1e3d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family KT Controller' class = simple comms subclass = UART em0@pci0:0:25:0: class=0x020000 card=0x052c1028 chip=0x15028086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82579LM Gigabit Network Connection' class = network subclass = ethernet ehci0@pci0:0:26:0: class=0x0c0320 card=0x05771028 chip=0x1e2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB hdac1@pci0:0:27:0: class=0x040300 card=0x05771028 chip=0x1e208086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family High Definition Audio Controller' class = multimedia subclass = HDA ehci1@pci0:0:29:0: class=0x0c0320 card=0x05771028 chip=0x1e268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB pcib2@pci0:0:30:0: class=0x060401 card=0x05771028 chip=0x244e8086 rev=0xa4 hdr=0x01 vendor = 'Intel Corporation' device = '82801 PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x05771028 chip=0x1e478086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Q77 Express Chipset LPC Controller' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x01018f card=0x05771028 chip=0x1e008086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family 4-port SATA Controller [IDE mode]' class = mass storage subclass = ATA none2@pci0:0:31:3: class=0x0c0500 card=0x05771028 chip=0x1e228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family SMBus Controller' class = serial bus subclass = SMBus atapci1@pci0:0:31:5: class=0x010185 card=0x05771028 chip=0x1e088086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family 2-port SATA Controller [IDE mode]' class = mass storage subclass = ATA vgapci0@pci0:1:0:0: class=0x030000 card=0x21201028 chip=0x67781002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Caicos [Radeon HD 7000 Series]' class = display subclass = VGA hdac0@pci0:1:0:1: class=0x040300 card=0xaa981028 chip=0xaa981002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Caicos HDMI Audio [Radeon HD 6400 Series]' class = multimedia subclass = HDA jimsdesk : 17:07:45 /usr/home/jim> uname -a FreeBSD jimsdesk 10.2-STABLE FreeBSD 10.2-STABLE #0 r286926: Wed Aug 19 11:23:10 PDT 2015 root@jimsdesk:/usr/obj/usr/src/sys/GENERIC amd64 jimsdesk : 17:07:52 /usr/home/jim> cat /var/run/dmesg.boot Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-STABLE #0 r286926: Wed Aug 19 11:23:10 PDT 2015 root@jimsdesk:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (3392.37-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306a9 Family=0x6 Model=0x3a Stepping=9 Features=0xbfebfbff Features2=0x7fbae3ff AMD Features=0x28100800 AMD Features2=0x1 Structured Extended Features=0x281 XSAVE Features=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16548806656 (15782 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard random: initialized kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xe000-0xe0ff mem 0xe0000000-0xefffffff,0xf7e20000-0xf7e3ffff irq 16 at device 0.0 on pci1 vgapci0: Boot video device hdac0: mem 0xf7e40000-0xf7e43fff irq 17 at device 0.1 on pci1 xhci0: mem 0xf7f20000-0xf7f2ffff irq 16 at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 pci0: at device 22.0 (no driver attached) pci0: at device 22.3 (no driver attached) em0: port 0xf020-0xf03f mem 0xf7f00000-0xf7f1ffff,0xf7f38000-0xf7f38fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: 5c:f9:dd:77:ba:7b ehci0: mem 0xf7f37000-0xf7f373ff irq 16 at device 26.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 hdac1: mem 0xf7f30000-0xf7f33fff irq 22 at device 27.0 on pci0 ehci1: mem 0xf7f36000-0xf7f363ff irq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 pcib2: at device 30.0 on pci0 pci2: on pcib2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf0d0-0xf0d7,0xf0c0-0xf0c3,0xf0b0-0xf0bf,0xf0a0-0xf0af irq 19 at device 31.2 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 atapci1: port 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf050-0xf05f,0xf040-0xf04f irq 19 at device 31.5 on pci0 ata4: at channel 0 on atapci1 ata5: at channel 1 on atapci1 acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range est0: on cpu0 est1: on cpu1 est2: on cpu2 est3: on cpu3 est4: on cpu4 est5: on cpu5 est6: on cpu6 est7: on cpu7 random: unblocking device. usbus0: 5.0Gbps Super Speed USB v3.0 Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20 and 24 on hdaa1 pcm2: at nid 27,33 and 25 on hdaa1 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: <0x8086> at usbus0 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen2.1: at usbus2 uhub2: on usbus2 uhub1: 8 ports with 8 removable, self powered uhub0: 3 ports with 3 removable, self powered uhub2: 3 ports with 3 removable, self powered ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 2.x device cd0 at ata3 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number HDD0H7363926C50OSA00 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed ada0: Serial Number WD-WMATV1166086 ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ugen0.2: at usbus0 SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! Timecounter "TSC-low" frequency 1696182966 Hz quality 1000 Root mount waiting for: usbus2 usbus1 usbus0 ugen2.2: at usbus2 uhub3: on usbus2 ugen1.2: at usbus1 uhub4: on usbus1 ugen0.3: at usbus0 uhub5: on usbus0 uhub5: 3 ports with 2 removable, bus powered Root mount waiting for: usbus2 usbus1 usbus0 uhub4: 6 ports with 6 removable, self powered uhub3: 8 ports with 8 removable, self powered ugen0.4: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 Trying to mount root from ufs:/dev/ada0s4a [rw]... ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ums0: on usbus0 ums0: 5 buttons and [XYZ] coordinates ID=0 uhid0: on usbus0 ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled jimsdesk : 17:10:53 /usr/home/jim> ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=4219b ether 5c:f9:dd:77:ba:7b inet 10.160.171.161 netmask 0xffffff00 broadcast 10.160.171.255 inet 172.16.0.10 netmask 0xffffffff broadcast 172.16.0.10 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active jimsdesk : 17:11:35 /usr/home/jim> netstat -in Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll em0 1500 5c:f9:dd:77:ba:7b 6002947 0 0 12590147 0 0 em0 - 10.160.171.0 10.160.171.161 520816258 - - 12588619 - - em0 - 172.16.0.10/3 172.16.0.10 363058 - - 0 - - lo0 16384 515843045 0 0 515843039 0 0 lo0 - ::1/128 ::1 148 - - 148 - - lo0 - fe80::1%lo0/6 fe80::1%lo0 0 - - 0 - - lo0 - 127.0.0.0/8 127.0.0.1 847 - - 515842897 - - From owner-freebsd-questions@freebsd.org Tue Sep 29 02:36:14 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5469A068A1 for ; Tue, 29 Sep 2015 02:36:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 94629117C for ; Tue, 29 Sep 2015 02:36:14 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8T2a9ql023034 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 20:36:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8T2a8Gu022991; Mon, 28 Sep 2015 20:36:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 28 Sep 2015 20:36:08 -0600 (MDT) From: Warren Block To: Polytropon cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: dd question In-Reply-To: <20150928110851.593abd75.freebsd@edvax.de> Message-ID: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <20150928110851.593abd75.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 28 Sep 2015 20:36:09 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 02:36:14 -0000 On Mon, 28 Sep 2015, Polytropon wrote: > On Sun, 27 Sep 2015 19:00:47 -0600 (MDT), Warren Block wrote: >> On Sun, 27 Sep 2015, William A. Mahaffey III wrote: >> >>> If I use disklabel to add a 'd' slice, will that mess up what is already >>> there ? What is the syntax for that, I don't see it in the disklabel/bsdlabel >>> man page ? The man page for disklabel/bsdlabel shows a way to initialize a >>> whole disk using 'fdisk -BI ' & implies that this will create a 'da0s1' >>> slice in the process. However it will also wipe out what is already there. If >>> I do that, can I then copy the img-file contents in some way ? Thanks & TIA >>> :-) .... >> >> Please stop using fdisk and bsdlabel. gpart(8) does everything they do >> and is easier to use. > > But it works so nicely, especially for all the many > non-standard settings! :-) > > Sure, gpart (and in a related context, GPT) is the > way to go for 99% of use cases. Somehow I still like > the ability to ditch partitioning at all and just > newfs a device, or make a "one big bootable partition" > with two bsdlabel commands. This knowledge will soon > go down the drain, together with other "old craft" > of UNIX skills many decades old. :-) You can still put a filesystem on a raw device, and gpart will happily create bsdlabels. It is a general-purpose partitioning tool, and can write at least half a dozen partitioning schemes including bsdlabel and MBR. It uses the same type of commands regardless of the partitioning scheme. > As the installation image is best dealt with bsdlabel, > resizing 'c' and adding a 'd' partition should be possible, > with the commands run through a mdconfig'ured virtual > node connected to the image file. As I said, I haven't > tried this, but it's probably possible. In worst case, > it's a "try & fail" issue. :-) Try it with gpart. Consider it a test to see if gpart really is a replacement for bsdlabel. From owner-freebsd-questions@freebsd.org Tue Sep 29 02:45:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6849CA0A0B5 for ; Tue, 29 Sep 2015 02:45:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F291C1774 for ; Tue, 29 Sep 2015 02:45:41 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8T2jeI0025326 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Sep 2015 20:45:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8T2jeqP025323; Mon, 28 Sep 2015 20:45:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 28 Sep 2015 20:45:40 -0600 (MDT) From: Warren Block To: Ian Smith cc: "William A. Mahaffey III" , freebsd-questions@freebsd.org Subject: Re: dd question In-Reply-To: <20150928010758.V29510@sola.nimnet.asn.au> Message-ID: References: <20150928010758.V29510@sola.nimnet.asn.au> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 28 Sep 2015 20:45:40 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 02:45:42 -0000 On Mon, 28 Sep 2015, Ian Smith wrote: > No, the memstick images have always been setup as an unsliced disk; Well, yes. I'd call it a "bare" bsdlabel or "dangerously dedicated". It's a bsdlabel partitioning format as they would have used before MBR existed. ... > gpart makes more sense of it, but I'm not sure whether gpart can be used > in 'dirty tricks' mode to create these. And I've no idea whether growfs > could do anything sensible about growing them; you could try. Warren? > > smithi on t23% gpart show da0 > => 0 15646720 da0 BSD (7.5G) > 0 5448528 1 freebsd-ufs (2.6G) > 5448528 10198192 - free - (4.9G) growfs is not something I use without severe provocation. At best, it leaves some things in their original locations. And some other utilities are surprised by that. Whether it will work with an installer image, who knows. I would probably use a separate bsdlabel partition if I was that desperate. The "how can I modify the FreeBSD install disk" question comes up often. It would be nice if we had something more accessible than 'make release'. mfsBSD (http://mfsbsd.vx.sk/) seems like a better basis for customization. From owner-freebsd-questions@freebsd.org Tue Sep 29 04:22:26 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42D8CA0B360 for ; Tue, 29 Sep 2015 04:22:26 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01C851288 for ; Tue, 29 Sep 2015 04:22:25 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtp (envelope-from ) id <1ZgmQp-003n42-Ao>; Tue, 29 Sep 2015 06:22:23 +0200 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1ZgmQp-003qHa-39>; Tue, 29 Sep 2015 06:22:23 +0200 Date: Tue, 29 Sep 2015 06:22:17 +0200 From: "O. Hartmann" To: David Noel , FreeBSD Questions , Polytropon Subject: Re: x11: howto disable rogue touchpad? Message-ID: <20150929062217.0c2c92f6@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: References: <20150928145458.6758ca58@hermann> Organization: FU Berlin X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 04:22:26 -0000 On Mon, 28 Sep 2015 17:33:11 -0700 David Noel wrote: > How recently did you upgrade? On a daily basis > > When did this start? Since I purchased that crap (Lenovo). It is not restricted to this model. Even the better-quality X240, which I use at work and sometimes with FreeBSD, does have the same issue. The much cheaper, more plastique version of that touchpad is in builtin in E540, L540 and some others and the fun part is: someone can provoke ghostmovement by putting hot objects in the vicinity of the touchpad. Typing, for instance, a text for a report, with hands layed down on the chassis, turns into a horror: while typing, suddenly you get close enough to the touch thing and suddenly the carret jumps randomly into another portion of the text. That happens in editors running in X11/windowmaker or any other WM I tried so far. As polytropon stated earlier, just disabling PS/2 was one of my first thoughts, so I disabled support in the kernel. But since the Lenovo's keyboard is also(!) PS/2 (not USB), I lost keyboard, too. A while ago, I also tried some recommendations I digged from the net - without success. I think I still mess up with the HAL support and the weird, mostly not-well documented way to enable/disable/configure devices, device support in its XML synatax. By the way, I try to avoid HAL. This may also cause some problems when trying suggestions. By the way - some companies around I have contact, too, also complained massiveley on that crappy touchpad - it goes up even to the high-class notebooks from Lenovo. The recently issued lines do not have that crap anymore: X250, E550, L550, W550 have a nice touchpad with the buttons separeted again and very accurate function. But: on larger notebooks, the warm hands laying down on the touchpad do the same ghostmovement as described above - but a little less inflicting. > > On 9/28/15, O. Hartmann wrote: > > Using most recent CURRENT with up-to-date ports and X11 on a Lenovo > > ThinkPad E540, I fight with the world biggest crap ever invented - the > > Lenovo TouchPad! Fighting with ghost moves of the mouse, ghost-cut-and > > paste, ghost jumps, I'm about to physically rip of that crap out of the > > notebooks chassis! > > > > I seek a way to disable that touchpad. The crap EFI firmware of that > > series (which seems a reduced form of the firmware of more expensive > > types) doesn't allow me to disable the touchpad. So there must be found > > a solution via X11. > > > > Does anyone do have a solution? Please contact me (set me CC, I do not > > subscribe the list). > > > > Thanks in advance, > > > > oh > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Tue Sep 29 05:04:38 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E666A0AEFF for ; Tue, 29 Sep 2015 05:04:38 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E09418B8 for ; Tue, 29 Sep 2015 05:04:38 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by douhisi.pair.com (Postfix) with ESMTPSA id 9BE7A3F780; Tue, 29 Sep 2015 01:04:30 -0400 (EDT) Message-ID: <560A1BDE.8030902@sneakertech.com> Date: Tue, 29 Sep 2015 01:04:30 -0400 From: Quartz MIME-Version: 1.0 To: "O. Hartmann" CC: FreeBSD Questions Subject: Re: x11: howto disable rogue touchpad? References: <20150928145458.6758ca58@hermann> <20150929062217.0c2c92f6@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20150929062217.0c2c92f6@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 05:04:38 -0000 > Typing, for instance, a text for a report, with hands layed down on the > chassis, turns into a horror: while typing, suddenly you get close enough to > the touch thing and suddenly the carret jumps randomly into another portion of > the text. That happens in editors running in X11/windowmaker or any other WM I > tried so far. Isn't there a way to hook the mouse into the keyboard key repeat delay such that the system ignores mouse input while typing? I know OSX and Windows have this built in, I swear I've seen it in X too.... maybe a gnome or kde specific thing or some package? From owner-freebsd-questions@freebsd.org Tue Sep 29 05:14:07 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E16C7A0B4F1 for ; Tue, 29 Sep 2015 05:14:07 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDEB41D43 for ; Tue, 29 Sep 2015 05:14:07 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by pablk4 with SMTP id lk4so98284287pab.3 for ; Mon, 28 Sep 2015 22:14:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=Sds/tkt3WnFpSgzX/Cqg7JHO9JSV6UTaRLYTITsgg34=; b=E+AnyyOffoC2AfHM5q3Ag6kO5cqeu4WRSoZk4Wmn18G0PIHdj6c2NQ7SXwF3RVVARe tJaaiWBHb2Z5UnO2fvujywEOaPZAhETlriFa4sPpIJCNFqwN3iolPiTd/N4ASyyn2jcF pujCe944DuRMt11n54gXmr8l/RfXflcFgVHvaGf3nStdr+Ddl0tYbUdb9IkS1x8BPAoZ 63vZqGhTZC8Sfa0qaRm5qIAccgein6RkphDbYkEVBnG6rZWnaG9xWa4kP1JKYZ/jK9QU Y9CrtY46XcP+AlCrppUYVgCgKJ+OECdVxeS9zJnQezHXVyc8m/ViVMu3Eirydu1msQQM P70w== X-Gm-Message-State: ALoCoQnlyWSrK6IWpw9ey8lLSQyQSlXsPoHaWDqAWo7R5Ph3hGHUymCQv+0P5PLT1hfbAhDVrYPj X-Received: by 10.68.68.167 with SMTP id x7mr30406209pbt.140.1443503641425; Mon, 28 Sep 2015 22:14:01 -0700 (PDT) Received: from ?IPv6:2606:6000:cd06:7f00:4dc3:5368:dc64:a62d? ([2606:6000:cd06:7f00:4dc3:5368:dc64:a62d]) by smtp.googlemail.com with ESMTPSA id x10sm22838359pas.12.2015.09.28.22.13.59 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Sep 2015 22:14:00 -0700 (PDT) To: freebsd-questions@freebsd.org From: brian Subject: DELL T110 II with e3 Xeon Message-ID: <560A1E17.3020603@brianwhalen.net> Date: Mon, 28 Sep 2015 22:13:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 05:14:08 -0000 I saw these on special today and ordered one; are there any known problems with these and FreeBSD? Brian From owner-freebsd-questions@freebsd.org Tue Sep 29 06:02:12 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D8F7A0B94D for ; Tue, 29 Sep 2015 06:02:12 +0000 (UTC) (envelope-from heiko-rhauderfehn@t-online.de) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF9AC1A9B for ; Tue, 29 Sep 2015 06:02:11 +0000 (UTC) (envelope-from heiko-rhauderfehn@t-online.de) Received: from fwd16.aul.t-online.de (fwd16.aul.t-online.de [172.20.26.243]) by mailout08.t-online.de (Postfix) with SMTP id D94013F2755 for ; Tue, 29 Sep 2015 07:54:16 +0200 (CEST) Received: from [192.168.1.253] (SyQSKwZdghuTxkz-DmzlGJT3yW3QYw3NvsQkOAJWyo4V8y16o3kPz1mI5+YM2RLQDC@[2.232.70.62]) by fwd16.t-online.de with (TLSv1:DHE-RSA-AES256-SHA encrypted) esmtp id 1Zgnrh-38xhOC0; Tue, 29 Sep 2015 07:54:13 +0200 MIME-Version: 1.0 Subject: E-mail Notice!!!(freebsd-questions@FreeBSD.org) To: freebsd-questions@FreeBSD.org From: "E-mail Administrator" Date: Tue, 29 Sep 2015 07:54:14 +0200 Message-ID: <1Zgnrh-38xhOC0@fwd16.t-online.de> X-ID: SyQSKwZdghuTxkz-DmzlGJT3yW3QYw3NvsQkOAJWyo4V8y16o3kPz1mI5+YM2RLQDC X-TOI-MSGID: 1839eb96-9d7b-4b9a-87e8-b1d6f29dd323 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 06:02:12 -0000 E-mail Notice for freebsd-questions@FreeBSD.org. = Dear freebsd-questions@FreeBSD.org, = 3840MB 4096MB = Current size Maximum size = This is to notify you that you wont be able to send or receive mails As = you have used 98% of your quota and your account will be closed. The safety of your E-mail account is important. To avoid this from happening please click here to avoid suspension of E-m= ail account. Warning!!! please do not ignore message to avoid your email -freebsd-que= stions@FreeBSD.org- account from being closed. Thanks, Mail System Admi= nistrator This notification was sent to dprince_eze@yahoo.com; =20 From owner-freebsd-questions@freebsd.org Tue Sep 29 07:52:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92D9DA0B846 for ; Tue, 29 Sep 2015 07:52:09 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (shopzeus.com [87.229.70.149]) by mx1.freebsd.org (Postfix) with ESMTP id 56A361DB4 for ; Tue, 29 Sep 2015 07:52:08 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id C136F889B808 for ; Tue, 29 Sep 2015 03:51:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1443513120; bh=7awIedQFiHlzOVe5ZbeX+oQB3phraYaYcUxItjbH+vk=; h=To:From:Subject:Date:From; b=mBZW474Pf80VwA7t8XtiP0uVY+i9uS3ZaM8e2EvQx/sQ3wea7/SDOWHcZ53OehBI3 AsMdN6zAlZH522fwSHwir9m5QNUrdj41AyL8Er0bemP2IS3QJ5WAgLFh1PEVDjF6bb bBAzya+P+gdMYGXU+02CHZsfajNdGpQCI6r3r6o6jUk1YxM8lIVuhad4Fb8hx9JUtQ mVcEzIplA4ZCyZHA9ziA7Hvxrajvh449ybmeJkGWXxlYTDPqP0QDmIr5F9EnGNYmzA d8f4uELXyBt2BSrhdbWJb4u8zuhVz6kXvU6bIduA9iEMcEmIBmPHFivPlpjiO+Cenh sjXhC+jv4jWZg== To: freebsd-questions@freebsd.org From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Subject: postfix + policyd-spf : ip address not recognized Message-ID: <560A431D.4060108@shopzeus.com> Date: Tue, 29 Sep 2015 09:51:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 07:52:09 -0000 System: FreeBSD 10.2-RELEASE-p2 Postfix version: 2.11.6 Policyd-spf version: py27-postfix-policyd-spf-python-1.2 I have added "check_policy_service unix:private/policyd-spf" to "smtpd_recipient_restrictions" in main.cf. This is what I see in the maillog: Sep 29 03:49:37 shopzeus policyd-spf[5634]: Traceback (most recent call last): Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/bin/policyd-spf", line 701, in Sep 29 03:49:37 shopzeus policyd-spf[5634]: instance_dict, configData, peruser) Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/bin/policyd-spf", line 413, in _spfcheck Sep 29 03:49:37 shopzeus policyd-spf[5634]: res = spf.check2(ip, helo_fake_sender, helo, querytime=configData.get('Lookup_Time')) Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/bin/spf.py", line 297, in check2 Sep 29 03:49:37 shopzeus policyd-spf[5634]: receiver=receiver,timeout=timeout,verbose=verbose,querytime=querytime).check() Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/bin/spf.py", line 378, in __init__ Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.set_ip(i) Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/bin/spf.py", line 405, in set_ip Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.ipaddr = ipaddress.ip_address(i) Sep 29 03:49:37 shopzeus policyd-spf[5634]: File "/usr/local/lib/python2.7/site-packages/ipaddress.py", line 163, in ip_address Sep 29 03:49:37 shopzeus policyd-spf[5634]: ' a unicode object?' % address) Sep 29 03:49:37 shopzeus policyd-spf[5634]: AddressValueError: '176.32.127.140' does not appear to be an IPv4 or IPv6 address. Did you pass in a bytes (str in Python 2) instead of a unicode object? Sep 29 03:49:37 shopzeus postfix/spawn[2227]: warning: command /usr/local/bin/policyd-spf exit status 1 Sep 29 03:49:37 shopzeus postfix/smtpd[2786]: warning: premature end-of-input on private/policyd-spf while reading input attribute name Now, this seems to be the very same error: https://bugzilla.redhat.com/show_bug.cgi?id=1230373 But here is what I also have: # pip install -U ipaddress Requirement already up-to-date: ipaddress in /usr/local/lib/python2.7/site-packages # pip install -U ipaddr Requirement already up-to-date: ipaddr in /usr/local/lib/python2.7/site-packages I think this cannot be a bug introduced 2 months ago and still not fixed? Then what is wrong here? How can I fix this? Thanks, Laszlo From owner-freebsd-questions@freebsd.org Tue Sep 29 11:37:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD167A0B037 for ; Tue, 29 Sep 2015 11:37:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D0DC1F68 for ; Tue, 29 Sep 2015 11:37:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 6C1D427852; Tue, 29 Sep 2015 13:37:14 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8TBbEdg002633; Tue, 29 Sep 2015 13:37:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 29 Sep 2015 13:37:14 +0200 From: Polytropon To: Warren Block Cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: dd question Message-Id: <20150929133714.fd62cce8.freebsd@edvax.de> In-Reply-To: References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> <5608BDB4.6060200@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 11:37:19 -0000 On Mon, 28 Sep 2015 12:15:35 -0600 (MDT), Warren Block wrote: > None of these programs will resize a filesystem already present on a > partition. growfs(8) does that for UFS. That's why my suggestion was to _add_ a new partition with bsdlabel and initialize it with newfs, rather than extending the 'a' partition with growfs (which probably is possible too). But with this approach, the installation image is kept unchanged, and the additional partition, with whatever data on it, will not interfere. The reason I mentioned bsdlabel instead of gpart in the first place is simply an illustration of my age and stupidity. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 29 11:48:29 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D109A0B963 for ; Tue, 29 Sep 2015 11:48:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39C4B1457 for ; Tue, 29 Sep 2015 11:48:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 713EC27852; Tue, 29 Sep 2015 13:48:27 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8TBmRS9002655; Tue, 29 Sep 2015 13:48:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 29 Sep 2015 13:48:27 +0200 From: Polytropon To: "O. Hartmann" Cc: David Noel , FreeBSD Questions Subject: Re: x11: howto disable rogue touchpad? Message-Id: <20150929134827.f3dbf867.freebsd@edvax.de> In-Reply-To: <20150929062217.0c2c92f6@freyja.zeit4.iv.bundesimmobilien.de> References: <20150928145458.6758ca58@hermann> <20150929062217.0c2c92f6@freyja.zeit4.iv.bundesimmobilien.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 11:48:29 -0000 On Tue, 29 Sep 2015 06:22:17 +0200, O. Hartmann wrote: > Typing, for instance, a text for a report, with hands layed down on the > chassis, turns into a horror: while typing, suddenly you get close enough to > the touch thing and suddenly the carret jumps randomly into another portion of > the text. That happens in editors running in X11/windowmaker or any other WM I > tried so far. That's unacceptable for normal use. > As polytropon stated earlier, just disabling PS/2 was one of my first thoughts, > so I disabled support in the kernel. But since the Lenovo's keyboard is also(!) > PS/2 (not USB), I lost keyboard, too. You can remove "psm" (PS/2 mouse) support independently from "kbd" (AT and PS/2 keyboard) support if you create a customized kernel. Just don't build (or at least don't load) any module that would give access to the PS/2 mouse. The keyboard, coming from "atkbd", should still work, just that "dmesg" doesn't show any PS/2 mouse ports anymore. The USB mouse (and USB keyboard) use "ukbd" and "ums" drivers. They are handled "more dynamically" than the "plain old" devices and are therefore harder to disable. :-( > A while ago, I also tried some recommendations I digged from the net - without > success. I think I still mess up with the HAL support and the weird, mostly > not-well documented way to enable/disable/configure devices, device support in > its XML synatax. You should be able to get rid of HAL because it's deprecated now. Even X builds without HAL support per default, so no problem here ("autodetect magic" gone wild). Creating a somehow "static" configuration for X is usually no problem on a laptop where hardware doesn't change on a daily basis. A partial xorg.conf should initiate only the desired input devices. > By the way, I try to avoid HAL. This may also cause some problems when trying > suggestions. When I built my system, I had to compile X and applications explicitely without HAL support. This should be the default today. So I was able to setup things "statically" - which means: setup once, keeps working. :-) > By the way - some companies around I have contact, too, also complained > massiveley on that crappy touchpad - it goes up even to the high-class > notebooks from Lenovo. Lenovo sadly doesn't make "high-class notebooks" anymore; sometimes I'd like to say: they only make "high-price notebooks", while many parts are still cheap or crappy, but with a heavy price tag attached. The times where the brand name Lenovo could be said in the same way like IBM (as in "Lenovo Thinkpad" and "IBM Thinkpad") are over. But I feel that Lenovo has recognized that problem and is working on a solution at least on some newer models now... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 29 12:07:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B60F1A0BB4C for ; Tue, 29 Sep 2015 12:07:42 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm43-vm2.bullet.mail.ne1.yahoo.com (nm43-vm2.bullet.mail.ne1.yahoo.com [98.138.120.226]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79E321596 for ; Tue, 29 Sep 2015 12:07:42 +0000 (UTC) (envelope-from axelbsd@ymail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1443528461; bh=iBtiWL0avRwEAgVeZboJ2UWEpk6OUPW1XFwu7prR2gg=; h=From:To:Subject:Date:From:Subject; b=JB4uHLBxbNOtclLNXaHnt6CIJkgkjamZZbFFTRY+MpzimtOavf6Xjc5zwWVeaf4T34ovxkpFXsto6u2ILk27zNlN1WRqUaA8FHJaVrW2t5H+UFsiJZabJ0xomkgk8+ZvHAzwEJKoBC1lrMK96TxWYxykk6OVARJmZ6lfX7266ooIFcME3nYCyxjzYq01+n6OgQZFv61j8bVo7UQYlRdfLH33LMeVJMkdqWuOvEpaURrPf3YlwqsQPzi1OwvaaQcQSKEKa65wwX0aBnPOiXmvYJ7w92+vHfF8bbl121YUoVChRskBWbHN+MnQEKByev9tmbwvkwkY6cVeosu0qkvb1A== Received: from [127.0.0.1] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 29 Sep 2015 12:07:41 -0000 Received: from [98.138.101.131] by nm43.bullet.mail.ne1.yahoo.com with NNFMP; 29 Sep 2015 12:04:47 -0000 Received: from [212.82.98.124] by tm19.bullet.mail.ne1.yahoo.com with NNFMP; 29 Sep 2015 12:04:47 -0000 Received: from [46.228.39.86] by tm17.bullet.mail.ir2.yahoo.com with NNFMP; 29 Sep 2015 12:04:47 -0000 Received: from [127.0.0.1] by smtp123.mail.ir2.yahoo.com with NNFMP; 29 Sep 2015 12:04:47 -0000 X-Yahoo-Newman-Id: 634087.65191.bm@smtp123.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: lHUnaswVM1lWTpSVG6uvudtKQ1nwN1L.Z0lGZ7RUE_Aszuh PubHfyLz9H6g.CRT..fnZ17_ZdO059KSy7X0zhIolH7Jt6SBTVkKFzl7Yeuk B_Ifgp1Xhujc_jrkSQ2hcPN4MjgdTqI5mRggTdQrNjm5W9fw5z2c5qlfAkP9 nn1YMKpu96sugQ0XjY3ZROy.IMp9UkbsgBfcs2lqqVMhLMN.yS9SPKQoZJ47 aCqZn_mnr9kz59X5gbw9dOS6t4DvNtHyUTnlq09bR4FEwLElZzrEuYLztdgj rb7Rh0W2EjlnwMjr0sAxzBegbH6NLvP4992QBZ54eSzv98jq8D_WBnWag2mM 0FXlsqFClfCNhLQ3LlnsmJUghe.yyqA6UFj8yVda1PSWvteywp8HPj0mox74 ZOURdwGNBubjpN7xCn0RJ2XIrOr17m5O3U4sTalBkTJEKXohAJidAg5JGAMx pj_yejaIfVAOHY4a.y6tl218sMpnykI.Spb18F9ZJDLe31lvUHtQTZ4wuF0y K_F_BCSu49n5ZdxAkxeZwg76_pFzXogdZOk8MZ_onBAMftceKWYEU2bDUTNw - X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u Received: from DUB118-W25 ([157.56.194.39]) by DUB004-WSS1S1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 29 Sep 2015 05:04:46 -0700 X-TMN: [WmK2IwpxSSFkQ7BoPdlvNy5h97Da7IqY] Message-ID: From: Alexandre To: FreeBSD Questions Mailing List FreeBSD Questions Mailing List Subject: SSHguard & IPFW Date: Tue, 29 Sep 2015 14:04:45 +0200 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 29 Sep 2015 12:04:46.0505 (UTC) FILETIME=[08A5D190:01D0FAAF] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 12:07:42 -0000 Hi=2C=0A= =0A= I installed and configured IPFW on my box. I installed security/sshguard-ip= fw to block unwanted SSH connections.=0A= I did not added the line sshguard_enable=3D"YES" in /etc/rc.conf.=0A= Without this line in /etc/rc.conf=2C Bots IP addresses seems to be blocked = as expected (/var/log/messages):=0A= =0A= Sep 25 18:39:27 BoxName sshguard[7243]: Blocking 62.212.230.2:4 for>945secs= : 40 danger in 4 attacks over 514 seconds (all: 80d in 2 abuses over 2059s)= .=0A= =0A= With the command $ sudo ipfw list I can see the blocked IP adresse in the = deny list : =0A= 55031 deny ip from 62.212.230.2 to me=0A= =0A= Anyone can confirm (or not if I am wrong) that the line sshguard_enable=3D"= YES" is requested only if I install security/sshguard port?=0A= =0A= =0A= About the blocking rules reservation in IPFW (from rule 55000 to 55050)=2C = anyone experienced yet full use of these rules? =0A= By default=2C fifteen addresses can be blocked together. But how SSHGUARD w= orks in this case for the newest one (51th)?=0A= =0A= Thank you in advance for your clarifications.=0A= Alexandre=0A= = From owner-freebsd-questions@freebsd.org Tue Sep 29 12:15:57 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 724ECA0A2B8 for ; Tue, 29 Sep 2015 12:15:57 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from relaygateway01.edpnet.net (relaygateway01.edpnet.net [212.71.1.210]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "*.edpnet.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCFFC2000 for ; Tue, 29 Sep 2015 12:15:56 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjgbAAuAClZNbXNd/2dsb2JhbABegyRUSx6DKrw9hXcEgVRNAQEBAQEBgQtBAQIChAgzXxMOAhEFJYhppxKPa5ANhG6Gc4ooglKBQwWVdI0OBZtEY4FKAQsBgiw8M4VVZCGCRQEBAQ X-IPAS-Result: AjgbAAuAClZNbXNd/2dsb2JhbABegyRUSx6DKrw9hXcEgVRNAQEBAQEBgQtBAQIChAgzXxMOAhEFJYhppxKPa5ANhG6Gc4ooglKBQwWVdI0OBZtEY4FKAQsBgiw8M4VVZCGCRQEBAQ X-IronPort-AV: E=Sophos;i="5.17,607,1437429600"; d="scan'208";a="353459743" Received: from 77.109.115.93.adsl.dyn.edpnet.net (HELO mordor.lan) ([77.109.115.93]) by relaygateway01.edpnet.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Sep 2015 14:14:43 +0200 Date: Tue, 29 Sep 2015 14:14:41 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: rc.d env Message-ID: <20150929121441.GL1502@mordor.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oY1uq2ONqt5kuovO" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 12:15:57 -0000 --oY1uq2ONqt5kuovO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, What's the proper way to export MY_ENV_VAR for the salt_master rc.d script ? I tried salt_master_env=3D"MY_ENV_VAR" in rc.conf and export MY_ENV_VAR=3Dtrue in /etc/rc.d/salt_master but it doesn't seems to work (ENVIRONMENT from procstat -e is empty ...) Thanks! Julien --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --oY1uq2ONqt5kuovO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJWCoCtAAoJEAi2KiTKQR5pnnAP/2w56/YFwRDdqZ18eonqELuB gQ4dp0wC2N15hJ8FTkEbceeIjxpJvVGd6+KYqRVlO/VeVT4dZ6+Ga9RgXfHOK76C 4kww9Se8dSFjzdf8lLpqhfclg4ncJumnuPrB27tIgVGIQxw62FhRD5+G2ykMhSwH nNWKZeSl+ypsl4L/dW+l0Z+nhrrDfFClGzvS7ezETj65Cp6sIqOlchcuCP2KlWV5 yQyjUD3ojtZibyXwmTIgR0RHafoVXIrZb0/KnGbhzLBDRWcgcihx3CX8tvRJrvA0 9snJkbHRsy4LwkHXxTxuYvGoblnjuEtqmsv92W36kAow4lqMOk2G8u95+2ZFAVns ovT/Mjc2rxdjekX2EkXFqMgmI9Y1XXT1heoBBApWSupBdWZOHLz2LaeRyb4WzI2L 7BVpjOBr6GJ0LOAk/hZ8yeLYfp6VjlEEW21yqRKLhsBMTqgO3gYNPUzJrATy5i9b LQ6J3TIOVD/8nO/biR3jJZ5f37dDlTUKK/eP9ibzD17ASs6rdvPsP1ov77cvk4+6 UDkn7bQTQrTi+zA4nqLLLBKlavMkSBJ9GZ4p0LgDFqgh3oFCQgaqMZTBhJj4q/2D hOCfpwp6/Zy106/5si4uKl2Mgm0SOjx2sdGaMWsvFgz+W0AVn78XHI0pv+lv1y8r kbwk7il/dz450SRlurUh =QTaH -----END PGP SIGNATURE----- --oY1uq2ONqt5kuovO-- From owner-freebsd-questions@freebsd.org Tue Sep 29 13:04:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62334A0C72F for ; Tue, 29 Sep 2015 13:04:06 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C5F4189C for ; Tue, 29 Sep 2015 13:04:05 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id c467adb2; Tue, 29 Sep 2015 08:57:24 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 26fd7aa3; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 29 Sep 2015 08:57:24 -0400 (EDT) Message-ID: <1443531575.1236.13.camel@michaeleichorn.com> Subject: Re: SSHguard & IPFW From: "Michael B. Eichorn" To: Alexandre , FreeBSD Questions Mailing List FreeBSD Questions Mailing List Date: Tue, 29 Sep 2015 08:59:35 -0400 In-Reply-To: References: Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-JUq8GJdM55sXfbbzTAQo" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 13:04:06 -0000 --=-JUq8GJdM55sXfbbzTAQo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 14:04 +0200, Alexandre wrote: > Hi, >=20 > I installed and configured IPFW on my box. I installed > security/sshguard-ipfw to block unwanted SSH connections. > I did not added the line sshguard_enable=3D"YES" in /etc/rc.conf. > Without this line in /etc/rc.conf, Bots IP addresses seems to be > blocked as expected (/var/log/messages): >=20 > Sep 25 18:39:27 BoxName sshguard[7243]: Blocking 62.212.230.2:4 > for>945secs: 40 danger in 4 attacks over 514 seconds (all: 80d in 2 > abuses over 2059s). >=20 > With the command $ sudo ipfw list I can see the blocked IP adresse in > the deny list :=20 > 55031 deny ip from 62.212.230.2 to me >=20 > Anyone can confirm (or not if I am wrong) that the line > sshguard_enable=3D"YES" is requested only if I install security/sshguard > port? Nope, sshguard_enable applies to all of them the sshguard-* ports are just sshguard with different configure options. =46rom /usr/local/etc/rc.d/sshguard (sshguard-pf, but should be the same with -ipfw): # Add the following lines to /etc/rc.conf to enable sshguard: # sshguard_enable (bool): Set to "NO" by default. # Set it to "YES" to enable sshguard At a guess something happened to kick off sshguard without the rc script, but for most setups the rc script is the proper way to start sshguard. Is there any chance that you might have followed an old guide? In sshguard < 1.5 a valid configuration option was to use syslog to kickoff sshguard and not use sshguard enable, but this is now depreciated in favor of the new 'Log Sucker' introduced in v1.5. =09 =09 > >=20 > About the blocking rules reservation in IPFW (from rule 55000 to > 55050), anyone experienced yet full use of these rules?=20 > By default, fifteen addresses can be blocked together. But how SSHGUARD > works in this case for the newest one (51th)? >=20 > Thank you in advance for your clarifications. > Alexandre > =09 > =20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" --=-JUq8GJdM55sXfbbzTAQo Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s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ZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAXEyHtl8wHAZ4DTjRt8i+vHYYZt6EXyF1uUQGEYjh IzgwkN3wfdvzp226ULs5F/QeBfciLN18CAsmJA3BVhmeBvLTz+4Zs849JVVUlAibPT7hrdWV4nvh PIjE8HHLfo4+1rqxt5bu0RFbHqtY0svu6atQbXj9pE0m+nY77bSmkCcd31XEjLz2xk6oVSomIQkj +ISyAEC+36axMpQpijF4/qTxJ1C1AA2YbpYaZMEgcwlb+862ot/7QTvozXmeYVLkdeI4u/zJWXQW 7DIuSUYFBvsbfvUhFvZGP5ndf7gpHv4YPbF8mRbDgJWtF3mdtfxgEX5Fk2Qp8fLNXK1R9uJQIwAA AAAAAA== --=-JUq8GJdM55sXfbbzTAQo-- From owner-freebsd-questions@freebsd.org Tue Sep 29 14:23:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23124A0A0FB for ; Tue, 29 Sep 2015 14:23:23 +0000 (UTC) (envelope-from Kamil.Choudhury@anserinae.net) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.228]) by mx1.freebsd.org (Postfix) with ESMTP id E4B0319BB for ; Tue, 29 Sep 2015 14:23:21 +0000 (UTC) (envelope-from Kamil.Choudhury@anserinae.net) Received: from [24.90.169.218] ([24.90.169.218:58273] helo=janus.anserinae.net) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 48/01-01395-69E9A065; Tue, 29 Sep 2015 14:22:15 +0000 Received: from JANUS.anserinae.net ([fe80::192c:4b89:9fe9:dc6d]) by janus.anserinae.net ([fe80::192c:4b89:9fe9:dc6d%11]) with mapi id 14.03.0174.001; Tue, 29 Sep 2015 10:22:01 -0400 From: Kamil Choudhury To: "freebsd-questions@freebsd.org" Subject: Intel i5-6400/Z170 motherboard compatibility check Thread-Topic: Intel i5-6400/Z170 motherboard compatibility check Thread-Index: AQHQ+sI0cmp3UMOVeEq2RJT3+NnMYw== Date: Tue, 29 Sep 2015 14:22:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=YZgz5mhf c=1 sm=1 tr=0 a=ptmppgxkUnSGcxlQ3IAUag==:117 a=ptmppgxkUnSGcxlQ3IAUag==:17 a=ayC55rCoAAAA:8 a=NUNO_Q2GAAAA:8 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=ff-B7xzCdYMA:10 a=9HXEqLulF9NApxwl2oUA:9 a=CjuIK1q_8ugA:10 a=P4PxxfKWXxIA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 14:23:23 -0000 Since the hardware combination was released not too long ago I thought I'd = =0A= double check if anyone had used the processor/motherboard combo before =0A= pulling the trigger. =0A= =0A= Ideally, I'd like to run 10.1-RELEASE, but am open to upgrading to running = =0A= 10.2. =0A= =0A= Thanks in advance, =0A= Kamil= From owner-freebsd-questions@freebsd.org Tue Sep 29 14:27:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9772A0A546 for ; Tue, 29 Sep 2015 14:27:55 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm44-vm6.bullet.mail.gq1.yahoo.com (nm44-vm6.bullet.mail.gq1.yahoo.com [67.195.87.29]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB0351C86 for ; Tue, 29 Sep 2015 14:27:55 +0000 (UTC) (envelope-from axelbsd@ymail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1443536874; bh=0bJ0IOergrNG0Hk1nT2TQpu1jqLukAIOfZm/svy6J64=; h=From:To:Subject:Date:In-Reply-To:References:From:Subject; b=ncA4VybYEIhHL78OW1F5YErM6R21zDh6tu4Zir5ogWmEopqS7Un/k/vRqhfnJuBHW+7Ts8lXG0phrI9dzORCYEXHbpxPMZg3kIANNfR0MJoHWsVRB4scWaIa+BOh/Z7xioeC8RUe+nPH9TlSKfIkF/Kz3is/4KWLUlx0H2nWlf+CO6TVwLpQtOnCSX2S4SrpinCOafDhMfRItAKmaHBWDDTzV1ig4OC+flXgubSShWU715fQa0Gc4OY82DRSaQCi826xGRdeWO7tM61wNrg3m/Fuhc4qDdEJ5Y65s2VDdZWny8BZmU2YlG3CuruOD7q45+dnna0eYdJjHgSlo1dfkw== Received: from [127.0.0.1] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 29 Sep 2015 14:27:54 -0000 Received: from [98.137.12.56] by nm44.bullet.mail.gq1.yahoo.com with NNFMP; 29 Sep 2015 14:24:58 -0000 Received: from [212.82.98.50] by tm1.bullet.mail.gq1.yahoo.com with NNFMP; 29 Sep 2015 14:24:57 -0000 Received: from [46.228.39.94] by tm3.bullet.mail.ir2.yahoo.com with NNFMP; 29 Sep 2015 14:24:57 -0000 Received: from [127.0.0.1] by smtp131.mail.ir2.yahoo.com with NNFMP; 29 Sep 2015 14:24:57 -0000 X-Yahoo-Newman-Id: 567437.18174.bm@smtp131.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: 5txbJxUVM1kZIyVzOkCqEKmeDsfjZ5ayzTtMO4QSEdy_Bea CzUEyTcouvoglNul3btBs5cCvrd9RPDU8uECdql4mBTu32Rc6zKhBpIumho_ NtvasvVVh6_tkcmQ0eYBHsKoxDZKhNlAoKo5Oq9zrlmw9JYu.o8576Q55IvP V2AYo6jK4UL_QFLsAs_79QyYPYE_IMoqvVo0v0g.YA0r5c33kTbTJubG7fyi i3Oxe6J8k.lcUAalOa_96hFm2UzkKV0k8ELtsS1o6ZLma_q7ftn_Dgqv7mvc CYz14He5nqbAkAJnIF_xGvwVmsFoWxqHVjIafK5x91Xh5ldF9gAlbGqzuPXY RDEs41snBdLP_71d_KLUEEVjaWDqJICg.t6Enz96GtwsSIsZ1xcAg29sIsBb gB3q7AMYs0dB.kogcGW3Qrb8PL8N3iCp7Hc5xhWTSD2ANmGaGoOqmUrAbbrr Y5IBcTFFvpUW29NCUcEnRcoQW9c6m.Ta3.y4e7cEUwksgLhT4uSQyJxsat34 uGG2kX6._iHtMzUPnzEl7kWaSDMVYKhwqo.lHbdVI269hcBA1BdcTMiso5YC 28g-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u Received: from DUB118-W32 ([157.56.194.39]) by DUB004-WSS1S1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 29 Sep 2015 07:24:57 -0700 X-TMN: [/Q84zp7AqKtTPWmg1tQVF/x1R+W/XoIe] Message-ID: From: Alexandre To: "Michael B. Eichorn" , "freebsd-questions@freebsd.org" Subject: RE: SSHguard & IPFW Date: Tue, 29 Sep 2015 16:24:56 +0200 Importance: Normal In-Reply-To: <1443531575.1236.13.camel@michaeleichorn.com> References: , <1443531575.1236.13.camel@michaeleichorn.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 29 Sep 2015 14:24:57.0096 (UTC) FILETIME=[9DC02880:01D0FAC2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 14:27:55 -0000 =0A= =0A= ----------------------------------------=0A= > Subject: Re: SSHguard & IPFW=0A= > From: ike@michaeleichorn.com=0A= > To: axelbsd@ymail.com=3B freebsd-questions@freebsd.org=0A= > Date: Tue=2C 29 Sep 2015 08:59:35 -0400=0A= >=0A= > On Tue=2C 2015-09-29 at 14:04 +0200=2C Alexandre wrote:=0A= >> Hi=2C=0A= >>=0A= >> I installed and configured IPFW on my box. I installed=0A= >> security/sshguard-ipfw to block unwanted SSH connections.=0A= >> I did not added the line sshguard_enable=3D"YES" in /etc/rc.conf.=0A= >> Without this line in /etc/rc.conf=2C Bots IP addresses seems to be=0A= >> blocked as expected (/var/log/messages):=0A= >>=0A= >> Sep 25 18:39:27 BoxName sshguard[7243]: Blocking 62.212.230.2:4=0A= >> for>945secs: 40 danger in 4 attacks over 514 seconds (all: 80d in 2=0A= >> abuses over 2059s).=0A= >>=0A= >> With the command $ sudo ipfw list I can see the blocked IP adresse in=0A= >> the deny list :=0A= >> 55031 deny ip from 62.212.230.2 to me=0A= >>=0A= >> Anyone can confirm (or not if I am wrong) that the line=0A= >> sshguard_enable=3D"YES" is requested only if I install security/sshguard= =0A= >> port?=0A= >=0A= > Nope=2C sshguard_enable applies to all of them the sshguard-* ports are= =0A= > just sshguard with different configure options.=0A= >=0A= > From /usr/local/etc/rc.d/sshguard (sshguard-pf=2C but should be the same= =0A= > with -ipfw):=0A= >=0A= > # Add the following lines to /etc/rc.conf to enable sshguard:=0A= > # sshguard_enable (bool): Set to "NO" by default.=0A= > # Set it to "YES" to enable sshguard=0A= >=0A= > At a guess something happened to kick off sshguard without the rc script= =2C=0A= > but for most setups the rc script is the proper way to start sshguard.=0A= >=0A= > Is there any chance that you might have followed an old guide? In=0A= > sshguard < 1.5 a valid configuration option was to use syslog to kickoff= =0A= > sshguard and not use sshguard enable=2C but this is now depreciated in=0A= > favor of the new 'Log Sucker' introduced in v1.5.=0A= >=0A= >=0A= >=0A= >>>=0A= >> About the blocking rules reservation in IPFW (from rule 55000 to=0A= >> 55050)=2C anyone experienced yet full use of these rules?=0A= >> By default=2C fifteen addresses can be blocked together. But how SSHGUAR= D=0A= >> works in this case for the newest one (51th)?=0A= >>=0A= >> Thank you in advance for your clarifications.=0A= >> Alexandre=0A= =0A= Thank you Michael for your reply.=0A= =0A= I just installed security/sshguard-ipfw using portmaster=0A= # portmaster security/sshguard-ipfw=0A= After reading the SSHGuard Documentation website once again=2C it seems I e= ffectively followed an old setup (for version 1.5 with /etc/syslod.conf mod= ification): my bad=0A= =0A= Now I added the line sshguard_enable=3D"YES" in /etc/rc.conf and keep modif= ied my ruleset /etc/ipfw-rules for SSHGuard=0A= $cmd 56000 allow ip from any to me 22 in via $pif keep-state=0A= =0A= The process is launched with these default options=2C and Log Sucker seems = to be used with -l parameter=0A= /usr/local/sbin/sshguard -b 40:/var/db/sshguard/blacklist.db -l /var/log/au= th.log -l /var/log/maillog -a 40 -p 420 -s 1200 -w /usr/local/etc/sshguard.= whitelist -i /var/run/sshguard.pid=0A= =0A= Thank you again for your help.=0A= =0A= Regards.=0A= Alexandre=0A= =0A= =0A= =0A= = From owner-freebsd-questions@freebsd.org Tue Sep 29 15:06:47 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4670A0C8A1 for ; Tue, 29 Sep 2015 15:06:47 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (oslo.ath.cx [IPv6:2a01:4f8:200:42e4::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D7A01AFE for ; Tue, 29 Sep 2015 15:06:47 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (localhost [IPv6:::1]) by oslo.ath.cx (Postfix) with ESMTP id E147614BC; Tue, 29 Sep 2015 17:06:36 +0200 (CEST) Date: Tue, 29 Sep 2015 17:06:36 +0200 From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Cc: Nagy =?iso-8859-1?B?TOFzemzz?= Zsolt Subject: Re: postfix + policyd-spf : ip address not recognized Message-ID: <20150929150636.GB85538@oslo.ath.cx> References: <560A431D.4060108@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <560A431D.4060108@shopzeus.com> User-Agent: Mutt/1.5.24+9 (2dac9fa02842) (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 15:06:47 -0000 On Tue, Sep 29, 2015 at 09:51:57AM +0200, Nagy László Zsolt wrote: > System: FreeBSD 10.2-RELEASE-p2 > Postfix version: 2.11.6 > Policyd-spf version: py27-postfix-policyd-spf-python-1.2 This is not the latest version. I have just installed 'py27-postfix-policyd-spf-python-1.3.1'. > I have added "check_policy_service unix:private/policyd-spf" to > "smtpd_recipient_restrictions" in main.cf. > > This is what I see in the maillog: > > Sep 29 03:49:37 shopzeus policyd-spf[5634]: Traceback (most recent call > last): > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/bin/policyd-spf", line 701, in > Sep 29 03:49:37 shopzeus policyd-spf[5634]: instance_dict, > configData, peruser) > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/bin/policyd-spf", line 413, in _spfcheck > Sep 29 03:49:37 shopzeus policyd-spf[5634]: res = spf.check2(ip, > helo_fake_sender, helo, querytime=configData.get('Lookup_Time')) > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/bin/spf.py", line 297, in check2 > Sep 29 03:49:37 shopzeus policyd-spf[5634]: > receiver=receiver,timeout=timeout,verbose=verbose,querytime=querytime).check() > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/bin/spf.py", line 378, in __init__ > Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.set_ip(i) > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/bin/spf.py", line 405, in set_ip > Sep 29 03:49:37 shopzeus policyd-spf[5634]: self.ipaddr = > ipaddress.ip_address(i) > Sep 29 03:49:37 shopzeus policyd-spf[5634]: File > "/usr/local/lib/python2.7/site-packages/ipaddress.py", line 163, in > ip_address > Sep 29 03:49:37 shopzeus policyd-spf[5634]: ' a unicode object?' % > address) > Sep 29 03:49:37 shopzeus policyd-spf[5634]: AddressValueError: > '176.32.127.140' does not appear to be an IPv4 or IPv6 address. Did you > pass in a bytes (str in Python 2) instead of a unicode object? > Sep 29 03:49:37 shopzeus postfix/spawn[2227]: warning: command > /usr/local/bin/policyd-spf exit status 1 > Sep 29 03:49:37 shopzeus postfix/smtpd[2786]: warning: premature > end-of-input on private/policyd-spf while reading input attribute name Remove net/py-ipaddress and try again! -- Herbert From owner-freebsd-questions@freebsd.org Tue Sep 29 15:42:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4D6AA0B463 for ; Tue, 29 Sep 2015 15:42:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FD051483 for ; Tue, 29 Sep 2015 15:42:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wiclk2 with SMTP id lk2so22240215wic.1 for ; Tue, 29 Sep 2015 08:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=cBU6R7KumTtGG5TFl0jPkq9zCfrVEAIDVISwUFZpIao=; b=UALnxQ7cSfRS2s7hGQ48OmoHTnUgsBkiZAZLFNedkHT+WkU9Up7h9TMz1eDpnl3090 55JzeE+BJ8i9l9MX3I9Q3aAK1BIqjFxLkBGy2xKO39oHi/gr9EltgUEqHQ/QwMholSTl q6JElwOv/XjDNv0dGXyBq5q1ORFWUBcZaf5uIld/5mmuf/J4ubzFG7J47E49OeCkWd// xCZ7i/7JPcnzMKXHsnMxRe7dhNq04+s/kZ2RZSP4d7ajCVhrUvN0wQzYXEk/uUVEXTYk yMPgWXSYd9Mr0R6IkVQVDywNzp+r1WQU7nW7cF8nSD/cb2R5dn+SPAcEHJp1KcVKxgHO R9NQ== X-Received: by 10.180.184.134 with SMTP id eu6mr27111655wic.77.1443541321636; Tue, 29 Sep 2015 08:42:01 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id mx19sm24523188wic.0.2015.09.29.08.41.59 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Sep 2015 08:42:00 -0700 (PDT) Date: Tue, 29 Sep 2015 16:41:54 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: rc.d env Message-ID: <20150929164154.0f9e4afc@gumby.homeunix.com> In-Reply-To: <20150929121441.GL1502@mordor.lan> References: <20150929121441.GL1502@mordor.lan> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 15:42:03 -0000 On Tue, 29 Sep 2015 14:14:41 +0200 Julien Cigar wrote: > Hello, > > What's the proper way to export MY_ENV_VAR for the salt_master rc.d > script ? > I tried salt_master_env="MY_ENV_VAR" in rc.conf try salt_master_env="MY_ENV_VAR=yes" From owner-freebsd-questions@freebsd.org Tue Sep 29 17:19:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24F2DA0C2B8 for ; Tue, 29 Sep 2015 17:19:56 +0000 (UTC) (envelope-from aesbr@bristol.ac.uk) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4FE71249 for ; Tue, 29 Sep 2015 17:19:55 +0000 (UTC) (envelope-from aesbr@bristol.ac.uk) Received: by iofb144 with SMTP id b144so18644515iof.1 for ; Tue, 29 Sep 2015 10:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bristol.ac.uk; s=google; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=PzVeUvrDcZ3/19vaUUxkVBkt2ElV4ul79ULlgtyOqHY=; b=EiSUNqq/xDwzKosCrIPVVUw8121Gn1JPyQNyo0Do7ur3NbgFYLlQwfVUZNqqlrONlb t85vngxXgub0BGXPVWIk1D5VLfI7DkkEZA2IWF+mWDTtjmc+AzDszrRZtZyEtTN/pLw8 NjeOg+zWXbB59Ar7ZmOvJRN+vUHIeBNFAMU0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=PzVeUvrDcZ3/19vaUUxkVBkt2ElV4ul79ULlgtyOqHY=; b=gQK0pzrJrOnqPYBnW4+pdbVAgm07iq/fkIHh3rYBH6PwVGdAaDnZ5LTRi7hCVKAMWs dGomrseyieFwC36GYZLHZINfuQnxDRAB6+bLZbSNboPcbFtjE9fBuLt/BHfKCP98BBX0 5mD0Ai6idO6WQt1iCpWHh1BErHkAuQJ2dlFJ7oge0w8nZ8zTYNbT4/NBLrG87+Nbgenw ym7g3GKYsLmQ5mnMsoJ/R8xQFDV9grKgfNOylpULcjOIaQFH1HB+oqfLM+JKp/qVfIhf xsLGR58XSVCgvYtwAEr2GuXQO40g1ZxI7+6IIs1GexZVFskA4cbwI8Bb5P8Xe9PsrWNl Cazg== X-Gm-Message-State: ALoCoQkN9qSmyzmTTt8miCGOCnBTPRL2P+mHHLWuR12DP2QA4Z3P5egwjVgCUgkvFYEQPOubMZkE MIME-Version: 1.0 X-Received: by 10.107.10.203 with SMTP id 72mr25255567iok.117.1443547195005; Tue, 29 Sep 2015 10:19:55 -0700 (PDT) Reply-To: Steve.Roome@bristol.ac.uk Received: by 10.36.57.85 with HTTP; Tue, 29 Sep 2015 10:19:54 -0700 (PDT) Received: by 10.36.57.85 with HTTP; Tue, 29 Sep 2015 10:19:54 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Sep 2015 18:19:54 +0100 Message-ID: Subject: Serial comms with espruino - stty? From: Stephen Roome To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 17:19:56 -0000 Hi folks, I've recently been given a tiny ARM chip on a usb board - an Espruino Pico. Unfortunately, I'm not having a lot of luck in FreeBSD with this. In Linux and OSX the device attaches as /dev/tty.something and /dev/cusomething and ... screen /dev/tty.something works great on both. In FreeBSD however it attaches via umodem as... /dev/cuaU0 /dev/ttyU0 /dev/cuaU0.lock /dev/cuaU0.init /dev/ttyU0.init and /dev/ttyU0.lock screen /dev/ttuU0 sort of works however umodem or ucom or tty or something seems to buffer the last character of input or output. i.e. typing is hard work. screen is effectively always exactly one keypress behind. I've played with the stty settings (which I think, but I'm not certain, that I have to make to /dev/ttyU0.init for them to actually be applied - hey, is this documented somewhere ???) but to no avail. Does anyone know how I affect the umodem/ucom/tty settings to make comms over screen usable. I get the same with cu as well. For bonus points. .. If after that you can suggest how to get chrome.serial javascript functions to work I'll be even more grateful - but that seems a long shot. I'm assuming this is all my fault of course. Ta Steve From owner-freebsd-questions@freebsd.org Tue Sep 29 18:03:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2029EA0AF70 for ; Tue, 29 Sep 2015 18:03:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B34FE1C38 for ; Tue, 29 Sep 2015 18:03:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by wiclk2 with SMTP id lk2so163234351wic.0 for ; Tue, 29 Sep 2015 11:02:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to :in-reply-to; bh=zhG7C7mrxZ/pBOcfMdEXLFZDwX6g4YjfuBfNRPCDDt0=; b=QXWwzODTF+jW74QvUWiT3FGKTWIk2uX8yicQseLX64zFat1qLVYXFt0IOQEnmigEn6 TCZpMidT+NUABmhChm22EVx481rdCP/1qTdzQYpkn/H/nC4caiAQPBCzcAbZq76lAdfh vVMB6nQCB2Yes5RBE6V5Toxp2Ghjl5hf7p6DT1GDHHOJMdDVOSIdYSpu6gWscFSmGYYm /AB9o2Io/sH1r6De2VzCM+DRlgIXx0xnjHEqGq7uMYBSVa9LXyBxPb6YIzkfsJl1uFTk BscIM0ra4SlWDhikdIzBxdwek4bxf0MCChmwm0W7CBicaU4QrCDR6RQyZSfc6OB7FL1e Cmpg== X-Gm-Message-State: ALoCoQlHCccVO8FrIKOxTl9W9liRQ4uVN7Ngs9PhYDkDsnQYnmsw37kySVlE823nKkP38+hVdaPo X-Received: by 10.194.108.232 with SMTP id hn8mr29873767wjb.154.1443549774012; Tue, 29 Sep 2015 11:02:54 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id jc9sm25095478wic.6.2015.09.29.11.02.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 11:02:53 -0700 (PDT) Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id t8TI2qc7040490; Tue, 29 Sep 2015 19:02:52 +0100 (BST) (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id t8TI2pTx040489; Tue, 29 Sep 2015 19:02:51 +0100 (BST) (envelope-from mexas) Date: Tue, 29 Sep 2015 19:02:51 +0100 (BST) From: Anton Shterenlikht Message-Id: <201509291802.t8TI2pTx040489@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org, Steve.Roome@bristol.ac.uk Subject: Re: Serial comms with espruino - stty? Reply-To: mexas@bris.ac.uk In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 18:03:02 -0000 >I've recently been given a tiny ARM chip on a usb board - an Espruino Pico. > >Unfortunately, I'm not having a lot of luck in FreeBSD with this. Steve, try in freebsd-arm@. Anton From owner-freebsd-questions@freebsd.org Tue Sep 29 20:49:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA54CA0B00D for ; Tue, 29 Sep 2015 20:49:03 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E4FF1DF6 for ; Tue, 29 Sep 2015 20:49:02 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id a7daf61c; Tue, 29 Sep 2015 16:49:00 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id d461d3d4; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 29 Sep 2015 16:49:00 -0400 (EDT) Message-ID: <1443559871.1236.30.camel@michaeleichorn.com> Subject: Re: postfix + policyd-spf : ip address not recognized From: "Michael B. Eichorn" To: "Herbert J. Skuhra" , freebsd-questions@freebsd.org Cc: Nagy =?ISO-8859-1?Q?L=E1szl=F3?= Zsolt Date: Tue, 29 Sep 2015 16:51:11 -0400 In-Reply-To: <20150929150636.GB85538@oslo.ath.cx> References: <560A431D.4060108@shopzeus.com> <20150929150636.GB85538@oslo.ath.cx> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-2CDzBs6v9oXwaZ70krZV" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 20:49:04 -0000 --=-2CDzBs6v9oXwaZ70krZV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 17:06 +0200, Herbert J. Skuhra wrote: > On Tue, Sep 29, 2015 at 09:51:57AM +0200, Nagy L=C3=A1szl=C3=B3 Zsolt wro= te: > > System: FreeBSD 10.2-RELEASE-p2 > > Postfix version: 2.11.6 > > Policyd-spf version: py27-postfix-policyd-spf-python-1.2 >=20 > This is not the latest version. I have just installed > 'py27-postfix-policyd-spf-python-1.3.1'.=20 Not quite correct, 10.2-RELEASE now uses quarterly ports branches by default. The version in the ports/branches/2015Q3 is indeed 1.2 while ports/head has 1.3.1 --=-2CDzBs6v9oXwaZ70krZV Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVcKyGL5gExBJWfS3q1uGFaB ie6pYtl8lZPtvN0JSfibP003RBoLgzqHJKW91RL0qNeDjKZi/5nrlU398l9UoVvLLO3KxoPBXKCx AgMBAAGjggLcMIIC2DAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHSUE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IENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEABAokJElp5VZj+9RnUesRINziDyGqqHTucK8ILFdQ fxYPwvh1iaJQa3erF3SKry6q26HhwQGywtUm69VAl8oloVI7IQVniw8amuGwsR6NIx5nQzEq5wlZ RMKViOLUMIMpzxP6bG6FxGq4WJU7yTL2mAfY2bXT26Lj2KDa7F7d/PAgh1ezbYxXGuF02aSdfwYW lqRpTvS1HpJvqMlL08FqqvSLO9Pp3BBDuFTUXMSfdEbIrbAZAemaUzDWbMoDzGiSE7k2Q+PYH1e1 tyVwWO9054oceSWKGMMA8c08Mnvfs/c5wvgRf35Ajgzqox22FbW70FJYGTJ6b7NOEd5K47ElYAAA AAAAAA== --=-2CDzBs6v9oXwaZ70krZV-- From owner-freebsd-questions@freebsd.org Tue Sep 29 22:17:50 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D4CBA0B180 for ; Tue, 29 Sep 2015 22:17:50 +0000 (UTC) (envelope-from jan.kokemueller@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F3F3183C for ; Tue, 29 Sep 2015 22:17:50 +0000 (UTC) (envelope-from jan.kokemueller@gmail.com) Received: by pablk4 with SMTP id lk4so17565911pab.3 for ; Tue, 29 Sep 2015 15:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:references:subject:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=9WSjkMz3BKaRLY9Ab/nsBiN0tNib52ELYkV9jXCq0Sw=; b=IHiQGwAHYsE3F8DClmKqWe96sqrBtPAgOTXD7oUd9l3a4qkdu33gFsjP7V9n+gXpR6 er/BF9GwfOiCdZR0ZU0j/zbpFBrK7rKwpFIYijvZGgv7Rk8wYio6JjEvAUbSHpPcgRGw Bd8prHmdMRx4OXSMWPLR8V7wyjEGGjlfSzIn0VoJMwwCmQ8jrIS5uHl5fhL4/yDN6Rbn 9VbyWF4GQ55h6DQ1QoqkxF0Nov9bPMZJl7YhkeMFAj9Qll7k9+7MNit+UXMalqGC0o6O 00vZy3AYqn1f8jVh4UxT7WykdvxW9c1xnDd6UL64YTUlIL4Nw0EfCJB6HRVlzeQDlmWw zYRg== X-Received: by 10.68.254.7 with SMTP id ae7mr418512pbd.131.1443565069900; Tue, 29 Sep 2015 15:17:49 -0700 (PDT) Received: from ?IPv6:2001:470:1f15:b1f:dc7f:be3c:ecc4:daf? ([2001:470:1f15:b1f:dc7f:be3c:ecc4:daf]) by smtp.googlemail.com with ESMTPSA id lc9sm27463977pbc.52.2015.09.29.15.17.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 15:17:49 -0700 (PDT) To: freebsd-questions@freebsd.org, ohartman@zedat.fu-berlin.de References: <20150928145458.6758ca58@hermann> Subject: Re: x11: howto disable rogue touchpad? From: =?UTF-8?Q?Jan_Kokem=c3=bcller?= Message-ID: <560B0E07.2020807@gmail.com> Date: Wed, 30 Sep 2015 00:17:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150928145458.6758ca58@hermann> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 22:17:50 -0000 > Does anyone do have a solution? Please contact me (set me CC, I do not > subscribe the list). Does "sysctl hw.psm.synaptics.touchpad_off=1" work? For this you need hw.psm.synaptics_support="1" in your /boot/loader.conf. -Jan From owner-freebsd-questions@freebsd.org Wed Sep 30 01:39:28 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84E94A0CAAC for ; Wed, 30 Sep 2015 01:39:28 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (ns.umpquanet.com [98.158.10.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 69F831DC8 for ; Wed, 30 Sep 2015 01:39:27 +0000 (UTC) (envelope-from list@museum.rain.com) Received: from ns.umpquanet.com (localhost [127.0.0.1]) by ns.umpquanet.com (8.14.9/8.14.9) with ESMTP id t8U1dLxB080819 for ; Tue, 29 Sep 2015 18:39:21 -0700 (PDT) (envelope-from list@museum.rain.com) Received: (from james@localhost) by ns.umpquanet.com (8.14.9/8.14.9/Submit) id t8U1dLjT080818 for freebsd-questions@freebsd.org; Tue, 29 Sep 2015 18:39:21 -0700 (PDT) (envelope-from list@museum.rain.com) Date: Tue, 29 Sep 2015 18:39:21 -0700 From: Jim Long To: freebsd-questions@freebsd.org Subject: Is xzgrep broken? Message-ID: <20150930013921.GA80620@ns.umpquanet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 01:39:28 -0000 xzgrep seems to crap out very quickly when reading a large-ish file containing compressed ASCII SQL data (834014732 bytes compressed). # time xzgrep 9314517 /disk1/smbd_share/backup/Daily_backup-20150927-001000.sql.xz | wc 0 0 0 real 0m0.005s user 0m0.011s sys 0m0.001s xzcat appears to do better: # time xzcat /disk1/smbd_share/backup/Daily_backup-20150927-001000.sql.xz | grep 9314517 | wc 17 374475 17592746 real 4m0.654s user 3m45.401s sys 0m26.678s # xz -l /disk1/smbd_share/backup/Daily_backup-20150927-001000.sql.xz Strms Blocks Compressed Uncompressed Ratio Check Filename 1 1 795.4 MiB 8345.1 MiB 0.095 CRC64 /disk1/smbd_share/backup/Daily_backup-20150927-001000.sql.xz Jim From owner-freebsd-questions@freebsd.org Wed Sep 30 05:38:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99F6BA0CA23 for ; Wed, 30 Sep 2015 05:38:31 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76D741B3B for ; Wed, 30 Sep 2015 05:38:31 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by pacex6 with SMTP id ex6so29145412pac.0 for ; Tue, 29 Sep 2015 22:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=DGaUBjXB4huOQ3fL909M1taiF4eLvAbNRLImEkZps1A=; b=KWC10x4rATjeRRAW0WYNWgK2dBBtBLDIrZQll+G3b4Ed1tVNKxF2XEvjqAWXUC4Mwt Ld3g6uTKlQHkqABiATp206x2AN7QKNMePFQBm0V+SpysX8g41eZjiSU1X27FTGTAoR2R ee383esL2e7ZbUkrEMrVF+6XPYNC5SYj/kxSCp37joJLGU71iJBZxFBLt8wWyYLWijy3 1nP3abiheEiRwzn1clPz1EkQsdBytlm5S/5ydX1tC01qnUxh+quz/QxTN5BJKp1D8N3r lzqXCCEMbgVMYnCvP0WBZX/qff1v9NpvwM+8j8PFWLzGsSqVzl06SEfEtm5qH7t8EohJ Wh0w== X-Received: by 10.68.192.9 with SMTP id hc9mr2546495pbc.57.1443591511054; Tue, 29 Sep 2015 22:38:31 -0700 (PDT) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id ll9sm28927716pbc.42.2015.09.29.22.38.30 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Sep 2015 22:38:30 -0700 (PDT) Message-ID: <560B7555.8090302@gmail.com> Date: Tue, 29 Sep 2015 22:38:29 -0700 From: Sergei G User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: Is AMD E2-6110 APU (Puma) Supported? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 05:38:31 -0000 I am considering getting a used Laptop with AMD E2-6110 APU for home server running FreeBSD 10.2. I am having a hard time figuring out if FreeBSD will run on it. The official supported hardware page does not list Puma APU, but that may not mean much. Thank you From owner-freebsd-questions@freebsd.org Wed Sep 30 07:42:15 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E7AA0C556 for ; Wed, 30 Sep 2015 07:42:15 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 91EEB1A11 for ; Wed, 30 Sep 2015 07:42:15 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by obbzf10 with SMTP id zf10so25125201obb.2 for ; Wed, 30 Sep 2015 00:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2dTTnJuXUixvsKobQue2cAp9xA6WKRX7lWYFm1DlDMY=; b=Hua0wO3UbwOSYAf1LxEj+JM7rp1a8OF650E/vtjcqo/ITf4Q8plxMHozEx7EXnwkj8 3tqIGxG4I+o/1HMf73PQGlFNIEiByoX/fBhRPQ7dKYn99PjnmkSJjXwjY+yg0VCsQ2zZ vGzyzBjy5rb2PP4qWHj/OKf3uJSgusN4eXyUGRtzTkOnethtv6ha6cGI78i/kcI8NhcC UJMmiO9E34EBivzDRv28OuUuk0SOZzOJQag5cUGEAr99tw54LtRQpe3URCvYJSC+DzyD Gija7qZufbWXGwqEUaSxb16jd2N/B2ZhUeUaqx653cPyNkILhrPPaaP6JtqIlpfANoB/ Crzg== X-Received: by 10.182.96.168 with SMTP id dt8mr1345449obb.36.1443598934745; Wed, 30 Sep 2015 00:42:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.110.102 with HTTP; Wed, 30 Sep 2015 00:41:55 -0700 (PDT) In-Reply-To: References: <1443531575.1236.13.camel@michaeleichorn.com> From: Nino J Date: Wed, 30 Sep 2015 09:41:55 +0200 Message-ID: Subject: Re: SSHguard & IPFW To: Alexandre Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 07:42:16 -0000 On Tue, Sep 29, 2015 at 4:24 PM, Alexandre wrote: > > >> About the blocking rules reservation in IPFW (from rule 55000 to > >> 55050), anyone experienced yet full use of these rules? > >> By default, fifteen addresses can be blocked together. But how SSHGUARD > >> works in this case for the newest one (51th)? > >> > >> Thank you in advance for your clarifications. > >> Alexandre > To answer your second question, IPFW has no problem using the same rule number for multiple rules. Thus sshguard is not limited to 50 addresses. Also, next version of sshguard won't use IPFW rules, but rather an IPFW table to insert IP addresses to be blocked. Thus it will only need a single deny rule. I'm currently using development version of sshguard which uses IPFW table and it works fine for me. Regards, -- Nino From owner-freebsd-questions@freebsd.org Wed Sep 30 09:08:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E85BAA0CDCA for ; Wed, 30 Sep 2015 09:08:29 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm42-vm1.bullet.mail.gq1.yahoo.com (nm42-vm1.bullet.mail.gq1.yahoo.com [67.195.87.152]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3CAF1335 for ; Wed, 30 Sep 2015 09:08:28 +0000 (UTC) (envelope-from axelbsd@ymail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1443604102; bh=iwNnlMOhm1rkWQa2ol9NEbILekEnu0ioOzN40+GeWH4=; h=From:To:CC:Subject:Date:In-Reply-To:References:From:Subject; b=d1qoPJmbTbKp72MEQmmXM5IfgGZdRBztkDR+jlEutrlfSSF848QxiZ2sSqkXWUD/ApwVBB/bMZZi+E3mz7wk7119RpzPTeDVQtv36krJlBHbjaISQ57eSa/QCa9V2XQPQbo6MtM/iGTlDIjO0+L8iMwrcynv6wpS1CYG94+mS1vb020tpFJazqGbO2Zxz/OkcJENzt3beH6BmKUdojGWsg5ZOGFXsU2t6zO0qaCCdwZQck42edz2awEjReLWfqx9OMtd1K01by9LrUdugR+r8Twgmrrj8TMLWPmnZ4Yzjn+bfx9n3k/qGh4crdEGdflygQeDX/dzsyJxeUMRDglyPw== Received: from [127.0.0.1] by nm42.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2015 09:08:22 -0000 Received: from [98.137.12.60] by nm42.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2015 09:05:29 -0000 Received: from [212.82.98.60] by tm5.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2015 09:05:29 -0000 Received: from [46.228.39.109] by tm13.bullet.mail.ir2.yahoo.com with NNFMP; 30 Sep 2015 09:05:29 -0000 Received: from [127.0.0.1] by smtp146.mail.ir2.yahoo.com with NNFMP; 30 Sep 2015 09:05:29 -0000 X-Yahoo-Newman-Id: 105475.62700.bm@smtp146.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: edM0HuEVM1ntMx3YgGgNwzfon407DWoKKqcWfqAmKP8a13Z WIMeI31_2b3zp1TZZI6F0w4I3FLDRnyOlnBFJzDoRKKRpcPv3nrbbn70Rk66 b_BgyONZP9dBlTkuNqN48R3rCMd9iRzeHntq5HjU7DwOTR9O8aUUK7kSXoP5 bcGtYRNcT5Y1LJGom8vBPi.MNWPpBNRTpbveSS530qks4QaTSYwkOpWliplT 5b9Wc9nfWqLlz0mgJ4N5OuyPMjy_av79ZaewtzAk6wkJjeEv4AFDbCW5O7g5 EjLYTlS0YSMgj9nCYjgtrzFnNQ5S69jm8WTZAVvOdzQ23wp3rqcj78KnJgG_ xuYkEOBwfYqI6Xt.T34XDm1_HqC1MRyTfOChUuvdi6ktcrNpx8kPi9o1okY. O0Lmdutrdy6hAuSniEvWWAj.ZTwyy0sjEm0hfMSwF7VfxiZXV4l.irOqe.hz LMHyZJQ.eIo_fghixiuGNAvyyGaloEXI.q3jcMbt9aWttz3_GtivLNv7Wiau oonCeV3IJ5Y3hV4hw7NzhfOQ.YzETZnTo5ic2T27AnRbirgD0dd2r7i_AjHc LJQ-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u Received: from DUB118-W29 ([157.56.194.39]) by DUB004-WSS1S1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 30 Sep 2015 02:05:28 -0700 X-TMN: [Yj2cqNeln4Jt0D7cNepGSHZt40jpV6wp] Message-ID: From: Alexandre To: Nino J CC: "freebsd-questions@freebsd.org" Subject: RE: SSHguard & IPFW Date: Wed, 30 Sep 2015 11:05:28 +0200 Importance: Normal In-Reply-To: References: , <1443531575.1236.13.camel@michaeleichorn.com>, , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2015 09:05:28.0583 (UTC) FILETIME=[26D6F170:01D0FB5F] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 09:08:30 -0000 Thank you Nino for your reply.=0A= Effectively today I can see a line with multiple IP addresses on the same r= ule number. =0A= =0A= About the next version of SSHGuard=2C you mean SSHGuard (for IPFW) will wor= ks the same way than SSHGuard for PF?=0A= =0A= Regards.=0A= Alexandre=0A= =0A= ----------------------------------------=0A= > From: nino80@gmail.com=0A= > Date: Wed=2C 30 Sep 2015 09:41:55 +0200=0A= > Subject: Re: SSHguard & IPFW=0A= > To: axelbsd@ymail.com=0A= > CC: freebsd-questions@freebsd.org=0A= >=0A= > On Tue=2C Sep 29=2C 2015 at 4:24 PM=2C Alexandre wrot= e:=0A= >=0A= >>=0A= >>>> About the blocking rules reservation in IPFW (from rule 55000 to=0A= >>>> 55050)=2C anyone experienced yet full use of these rules?=0A= >>>> By default=2C fifteen addresses can be blocked together. But how SSHGU= ARD=0A= >>>> works in this case for the newest one (51th)?=0A= >>>>=0A= >>>> Thank you in advance for your clarifications.=0A= >>>> Alexandre=0A= >>=0A= >=0A= > To answer your second question=2C IPFW has no problem using the same rule= =0A= > number for multiple rules. Thus sshguard is not limited to 50 addresses.= =0A= >=0A= > Also=2C next version of sshguard won't use IPFW rules=2C but rather an IP= FW=0A= > table to insert IP addresses to be blocked. Thus it will only need a sing= le=0A= > deny rule.=0A= >=0A= > I'm currently using development version of sshguard which uses IPFW table= =0A= > and it works fine for me.=0A= >=0A= > Regards=2C=0A= > --=0A= > Nino=0A= > _______________________________________________=0A= > freebsd-questions@freebsd.org mailing list=0A= > https://lists.freebsd.org/mailman/listinfo/freebsd-questions=0A= > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org"=0A= = From owner-freebsd-questions@freebsd.org Wed Sep 30 12:04:56 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C003A0C331 for ; Wed, 30 Sep 2015 12:04:56 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id BEA371C88 for ; Wed, 30 Sep 2015 12:04:55 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-169-30.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.169.30]) by ipmail06.adl2.internode.on.net with ESMTP; 30 Sep 2015 21:29:45 +0930 Subject: Re: SSHguard & IPFW To: "Michael B. Eichorn" , Alexandre , FreeBSD Questions Mailing List References: <1443531575.1236.13.camel@michaeleichorn.com> From: Shane Ambler Message-ID: <560BCEAF.20900@ShaneWare.Biz> Date: Wed, 30 Sep 2015 21:29:43 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1443531575.1236.13.camel@michaeleichorn.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 12:04:56 -0000 On 29/09/2015 22:29, Michael B. Eichorn wrote: > At a guess something happened to kick off sshguard without the rc script, > but for most setups the rc script is the proper way to start sshguard. > > Is there any chance that you might have followed an old guide? In > sshguard < 1.5 a valid configuration option was to use syslog to kickoff > sshguard and not use sshguard enable, but this is now depreciated in > favor of the new 'Log Sucker' introduced in v1.5. No need for an old guide - using syslog instructions are given by the port. cat /usr/ports/security/sshguard/files/pkg-message.in ########################################################################## Sshguard installed successfully. %%PKGMSG_FWBLOCK%% If you would like to use sshguard via syslogd, add an entry to your /etc/syslog.conf like the following: auth.info;authpriv.info |exec %%PREFIX%%/sbin/sshguard and use "/etc/rc.d/syslogd reload" to activate it. Note, you can add additional arguments to the sshguard command if you so desire. Alternatively, you can also start sshguard as a daemon by using the rc.d script installed at %%PREFIX%%/etc/rc.d/sshguard . See sshguard(8) and http://sshguard.sourceforge.net for additional info. ########################################################################## -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Wed Sep 30 12:54:20 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A0BAA0BED1 for ; Wed, 30 Sep 2015 12:54:20 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B9BEA1889 for ; Wed, 30 Sep 2015 12:54:19 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 716e41a4; Wed, 30 Sep 2015 08:54:17 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 7603b1c0; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 30 Sep 2015 08:54:16 -0400 (EDT) Message-ID: <1443617788.1236.36.camel@michaeleichorn.com> Subject: Re: SSHguard & IPFW From: "Michael B. Eichorn" To: Shane Ambler , Alexandre , FreeBSD Questions Mailing List Date: Wed, 30 Sep 2015 08:56:28 -0400 In-Reply-To: <560BCEAF.20900@ShaneWare.Biz> References: <1443531575.1236.13.camel@michaeleichorn.com> <560BCEAF.20900@ShaneWare.Biz> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-MJNaqULlVfByPrMfyUs1" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 12:54:20 -0000 --=-MJNaqULlVfByPrMfyUs1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-09-30 at 21:29 +0930, Shane Ambler wrote: > On 29/09/2015 22:29, Michael B. Eichorn wrote: >=20 > > At a guess something happened to kick off sshguard without the rc > > script, > > but for most setups the rc script is the proper way to start > > sshguard. > >=20 > > Is there any chance that you might have followed an old guide? In > > sshguard < 1.5 a valid configuration option was to use syslog to > > kickoff > > sshguard and not use sshguard enable, but this is now depreciated in > > favor of the new 'Log Sucker' introduced in v1.5. >=20 > No need for an old guide - using syslog instructions are given by the > port. >=20 > cat /usr/ports/security/sshguard/files/pkg-message.in >=20 > ####################################################################### > ### > Sshguard installed successfully. >=20 > %%PKGMSG_FWBLOCK%% >=20 > If you would like to use sshguard via syslogd, add an entry to your > /etc/syslog.conf like the following: >=20 > auth.info;authpriv.info |exec %%PREFIX%%/sbin/sshguard >=20 > and use "/etc/rc.d/syslogd reload" to activate it. Note, you can add > additional arguments to the sshguard command if you so desire. >=20 > Alternatively, you can also start sshguard as a daemon by using the > rc.d script installed at %%PREFIX%%/etc/rc.d/sshguard . >=20 > See sshguard(8) and http://sshguard.sourceforge.net for additional > info. > ####################################################################### > ### >=20 >=20 Nice catch, just filed PR #203452 to get that updated. --=-MJNaqULlVfByPrMfyUs1 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRl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d.org Wed Sep 30 14:29:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13206A0BAFF for ; Wed, 30 Sep 2015 14:29:48 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CC2A21977 for ; Wed, 30 Sep 2015 14:29:47 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 5472c232; Wed, 30 Sep 2015 10:29:39 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id cb2f64e3; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 30 Sep 2015 10:29:39 -0400 (EDT) Message-ID: <1443623511.1236.61.camel@michaeleichorn.com> Subject: Re: Is AMD E2-6110 APU (Puma) Supported? From: "Michael B. Eichorn" To: Sergei G , FreeBSD Questions Date: Wed, 30 Sep 2015 10:31:51 -0400 In-Reply-To: <560B7555.8090302@gmail.com> References: <560B7555.8090302@gmail.com> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-D6+NN1JItGxxSTuZR5WK" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 14:29:48 -0000 --=-D6+NN1JItGxxSTuZR5WK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 22:38 -0700, Sergei G wrote: > I am considering getting a used Laptop with AMD E2-6110 APU for home=20 > server running FreeBSD 10.2. I am having a hard time figuring out if=20 > FreeBSD will run on it. The official supported hardware page does not= =20 > list Puma APU, but that may not mean much. >=20 The CPU functions are certainly supported. The APU's are a CPU + GPU combo but since the CPU part uses the AMD64 instruction set it will run FreeBSD. I am pretty sure the GPU is an GCN 1.1 'Sea Islands' which is not yet supported. For a home server you will probably be fine with just the CPU functions unless you want to do something really exotic. You can always use the vesa drivers for the gpu until support lands. --=-D6+NN1JItGxxSTuZR5WK Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j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0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAgrXbwFe44NfHtyDyMALG5lt8Ffwi19pqWKSz1mQU De7vDizHbSVKEZBlspGeWfN2JBLAMqhN7D8gbq2UKlAq2w8hFPSIoiFZEX5tY8V0li1W7kKmXlyf 9XyAOtdP9+ZsfiE7ak/8Y6+xTAAIGNFN3jhAYFSTHdfOf0xWvxaY4Cd2IP9iInuMgmKVGh70B2TO MCBpiwLWQM+GbrCxj3kitz3HXl7TnYsILLT3vRtfHjd+RtE/DEVggowBcUdpUYEyCj/PGVWhBIP5 +2AqBhU2nsdpzma4ROjrlgsUPsZDso7FR3YBcrYWac+q69mrBwO04kz6emQGiPV5F3gH016jCwAA AAAAAA== --=-D6+NN1JItGxxSTuZR5WK-- From owner-freebsd-questions@freebsd.org Wed Sep 30 14:32:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63C76A0BDD9 for ; Wed, 30 Sep 2015 14:32:43 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY004-OMC4S19.hotmail.com (bay004-omc4s19.hotmail.com [65.54.190.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 517B51CA3 for ; Wed, 30 Sep 2015 14:32:42 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY169-W42 ([65.54.190.200]) by BAY004-OMC4S19.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 30 Sep 2015 07:31:37 -0700 X-TMN: [MOd+/qgp8WJcPFSfvBrsSizySRQhkx7e] X-Originating-Email: [danglingpointer@outlook.com] Message-ID: From: Dangling Pointer To: "freebsd-questions@freebsd.org" Subject: git diff encoding issue when running via Hyper-V Date: Wed, 30 Sep 2015 14:31:36 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2015 14:31:37.0303 (UTC) FILETIME=[B6B4A670:01D0FB8C] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 14:32:43 -0000 Hi=2C=20 When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10=2C the encodi= ng of `git diff` command emits cluttered text (with lots of "ESC[m" noise) = like: ESC[31m-setup_dirs()ESC[m ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m instead of: -setup_dirs()+setup_dirs2() I don't know what to make of it. I get this behavior in Hyper-V console run= ning FreeBSD's csh and bash as well as when I SSH into the VM. FWIW=2C I have never observed this issue with CentOS and Ubuntu VM running = on the system. Can somebody please let me know if this is a bug or do I need to configure = something? = From owner-freebsd-questions@freebsd.org Wed Sep 30 14:57:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A60D6A0CE91 for ; Wed, 30 Sep 2015 14:57:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66EDE188E for ; Wed, 30 Sep 2015 14:57:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9C7E32780F; Wed, 30 Sep 2015 16:57:45 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8UEviLK002123; Wed, 30 Sep 2015 16:57:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Sep 2015 16:57:44 +0200 From: Polytropon To: Dangling Pointer Cc: "freebsd-questions@freebsd.org" Subject: Re: git diff encoding issue when running via Hyper-V Message-Id: <20150930165744.3437d751.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 14:57:55 -0000 On Wed, 30 Sep 2015 14:31:36 +0000, Dangling Pointer wrote: > Hi, > When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10, the > encoding of `git diff` command emits cluttered text (with lots of > "ESC[m" noise) like: > ESC[31m-setup_dirs()ESC[m > ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m > instead of: > -setup_dirs()+setup_dirs2() > I don't know what to make of it. This looks like color codes... > Can somebody please let me know if this is a bug or do I need to > configure something? The pager (and the attached terminal emulator) should be able to convert those codes (Escape, [, code sequence) into something meaningful, usually a change of display attributes such as color, inverse, underlined (or whatever the terminal supports). In your case, those are displayed as-is. Standard FreeBSD installations usually display them as desired: -setup_dirs() <--- red text +setup_dirs2() <--- green text Note that "ESC" is wrong (or probably just a display replacement for a non-printable character): The character has to be the ESC code (ASCII #27 or 0x1b), as seen here: 00000000 1b 5b 33 31 6d 2d 73 65 74 75 70 5f 64 69 72 73 |.[31m-setup_dirs| 00000010 28 29 1b 5b 6d 0a 1b 5b 33 32 6d 2b 1b 5b 6d 1b |().[m..[32m+.[m.| 00000020 5b 33 32 6d 73 65 74 75 70 5f 64 69 72 73 32 28 |[32msetup_dirs2(| 00000030 29 1b 5b 6d 0a |).[m.| Maybe your input data got mangled somehow and the ESC character replaced by the string "ESC", just as hexdump represents it as a "." in the ASCII output column? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 30 15:28:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E653A0C3A9 for ; Wed, 30 Sep 2015 15:28:31 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY004-OMC2S27.hotmail.com (bay004-omc2s27.hotmail.com [65.54.190.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19D461A45 for ; Wed, 30 Sep 2015 15:28:30 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY169-W42 ([65.54.190.125]) by BAY004-OMC2S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 30 Sep 2015 08:27:24 -0700 X-TMN: [6wNBNAwNtfddKlkVYehNP7tWnlqwf2Ze] X-Originating-Email: [danglingpointer@outlook.com] Message-ID: From: Dangling Pointer To: Polytropon CC: "freebsd-questions@freebsd.org" Subject: RE: git diff encoding issue when running via Hyper-V Date: Wed, 30 Sep 2015 15:27:23 +0000 Importance: Normal In-Reply-To: <20150930165744.3437d751.freebsd@edvax.de> References: , <20150930165744.3437d751.freebsd@edvax.de> MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2015 15:27:24.0001 (UTC) FILETIME=[817E3D10:01D0FB94] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 15:28:31 -0000 Thanks Polytropon for your reply. I am seeing this issue with these image as are (by only installing `git` an= d no other alterations made to the OS whatsoever): ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.2-RELEASE/amd64/Lat= est/FreeBSD-10.2-RELEASE-amd64.vhd.xz.ftp://ftp.freebsd.org/pub/FreeBSD/rel= eases/VM-IMAGES/10.1-RELEASE/amd64/Latest/FreeBSD-10.1-RELEASE-amd64.vhd.xz= .=20 Should those be considered as standard installation?=20 Maybe it is related to keyboard layout as when I press Del key in text edit= or or command line=2C I get tilde (~) sign instead of getting character at = cursor deleted (so I use Backspace for deletion which works perfectly fine)= ? > Date: Wed=2C 30 Sep 2015 16:57:44 +0200 > From: freebsd@edvax.de > To: danglingpointer@outlook.com > Subject: Re: git diff encoding issue when running via Hyper-V > CC: freebsd-questions@freebsd.org >=20 > On Wed=2C 30 Sep 2015 14:31:36 +0000=2C Dangling Pointer wrote: > > Hi=2C=20 > > When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10=2C the > > encoding of `git diff` command emits cluttered text (with lots of > > "ESC[m" noise) like: > > ESC[31m-setup_dirs()ESC[m > > ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m > > instead of: > > -setup_dirs()+setup_dirs2() > > I don't know what to make of it. >=20 > This looks like color codes... >=20 >=20 >=20 > > Can somebody please let me know if this is a bug or do I need to > > configure something? >=20 > The pager (and the attached terminal emulator) should be able to > convert those codes (Escape=2C [=2C code sequence) into something > meaningful=2C usually a change of display attributes such as color=2C > inverse=2C underlined (or whatever the terminal supports). In your > case=2C those are displayed as-is. Standard FreeBSD installations > usually display them as desired: >=20 > -setup_dirs() <--- red text > +setup_dirs2() <--- green text >=20 > Note that "ESC" is wrong (or probably just a display replacement > for a non-printable character): The character has to be the ESC > code (ASCII #27 or 0x1b)=2C as seen here: >=20 > 00000000 1b 5b 33 31 6d 2d 73 65 74 75 70 5f 64 69 72 73 |.[31m-setup_= dirs| > 00000010 28 29 1b 5b 6d 0a 1b 5b 33 32 6d 2b 1b 5b 6d 1b |().[m..[32m+= .[m.| > 00000020 5b 33 32 6d 73 65 74 75 70 5f 64 69 72 73 32 28 |[32msetup_di= rs2(| > 00000030 29 1b 5b 6d 0a |).[m.| >=20 > Maybe your input data got mangled somehow and the ESC character > replaced by the string "ESC"=2C just as hexdump represents it as > a "." in the ASCII output column? >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg=2C Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe=2C Mousa=2C ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@freebsd.org Wed Sep 30 15:37:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95097A0CA8D for ; Wed, 30 Sep 2015 15:37:10 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A8B01021 for ; Wed, 30 Sep 2015 15:37:09 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 55a253d5; Wed, 30 Sep 2015 11:37:07 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 5f0ac591; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 30 Sep 2015 11:37:06 -0400 (EDT) Message-ID: <1443627558.1236.77.camel@michaeleichorn.com> Subject: Re: git diff encoding issue when running via Hyper-V From: "Michael B. Eichorn" To: Dangling Pointer , "freebsd-questions@freebsd.org" Date: Wed, 30 Sep 2015 11:39:18 -0400 In-Reply-To: References: Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-cKZy90iP5IOLmR6QoLF5" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 15:37:10 -0000 --=-cKZy90iP5IOLmR6QoLF5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-09-30 at 14:31 +0000, Dangling Pointer wrote: > Hi,=20 > When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10, the > encoding of `git diff` command emits cluttered text (with lots of > "ESC[m" noise) like: > ESC[31m-setup_dirs()ESC[m > ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m > instead of: > -setup_dirs()+setup_dirs2() > I don't know what to make of it. I get this behavior in Hyper-V console > running FreeBSD's csh and bash as well as when I SSH into the VM. > FWIW, I have never observed this issue with CentOS and Ubuntu VM > running on the system. > Can somebody please let me know if this is a bug or do I need to > configure something? > =20 I ran into something similar with shells/fish. I was able to resolve the problem by changing the charset on my FreeBSD machine to UTF-8 which is probably the charset in your CentOS and Ubuntu VMs. I dunno why or how this worked, but it might solve it. Worth a try anyway. --=-cKZy90iP5IOLmR6QoLF5 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst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ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAg1Waox+lUTE7nvZvxNusDLdH3hS1raSeN3QNAvqE HisrfaD//y+/02fHXsu/+c/olcTi6WLt+u+a8sGEfgXax2oLZMjdxFE+g1ZdfjgrR8H6aT+8fVBi By+RKlI4q/otrb6J2//Lr3HHVvSUKkRN5C2d0Wnr1VWcVZK5ATI+ttjghDOcXk14DOf65BjYbp4f +6AvVSvYQgb3SrEPNNokzjzdD79prFxDMPDm4tvyIOZ2puwgRZqsA9Ed7qOJqvsgC93YmPz30GHb oxYoHO4wUwrtXriMnhQtwYXWXj6EZtvmnlwohpPtkI8TU6wn/IvJfbOU0VPxxmLlQOSvBD5SCQAA AAAAAA== --=-cKZy90iP5IOLmR6QoLF5-- From owner-freebsd-questions@freebsd.org Wed Sep 30 15:54:38 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1340A0B95A for ; Wed, 30 Sep 2015 15:54:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 951961EE0 for ; Wed, 30 Sep 2015 15:54:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id A3CB82780F; Wed, 30 Sep 2015 17:54:36 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8UFsaNm002265; Wed, 30 Sep 2015 17:54:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Sep 2015 17:54:36 +0200 From: Polytropon To: Dangling Pointer Cc: "freebsd-questions@freebsd.org" Subject: Re: git diff encoding issue when running via Hyper-V Message-Id: <20150930175436.c1117526.freebsd@edvax.de> In-Reply-To: References: <20150930165744.3437d751.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 15:54:39 -0000 On Wed, 30 Sep 2015 15:27:23 +0000, Dangling Pointer wrote: > Thanks Polytropon for your reply. > I am seeing this issue with these image as are (by only installing `git` and no other alterations made to the OS whatsoever): > ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.2-RELEASE/amd64/Latest/FreeBSD-10.2-RELEASE-amd64.vhd.xz.ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.1-RELEASE/amd64/Latest/FreeBSD-10.1-RELEASE-amd64.vhd.xz. > Should those be considered as standard installation? Yes. As far as I know, they don't have any customization related to terminal emulation and paging. As it has been suggested by Michael B. Eichorn, you can try setting a different than the standard (US) character set and encoding, even though this _should_ not have anything to do with the problem you're seeing. For example, I could verify the correct working of the color codes in a normal xterm and on the text mode console with LC_ALL set to the (german) setting en_US.ISO8859-1. You could try en_US.UTF-8 as well. However, make sure - just to be _really_ sure - that your Git output hasn't been mangled and there are _real_ ESC characters in it, by dumping some output to a temporary file and checking it with the "hexdump -C " command as shown in my previous message. Verify that you aren't trying to solve a problem which does not exist. ;-) Regarding terminal capabilities (and color support in this context) you can simply try this: % echo "This is ^[[31mred^[[m text." When you encounter the sequence ^[, press Ctrl+V, then Escape. This will escape the escape character, and ^[ will be shown. You should see the word "red" in red color. If not - well, _then_ you're beginning to see an existing problem. :-) > Maybe it is related to keyboard layout as when I press Del key in > text editor or command line, I get tilde (~) sign instead of getting > character at cursor deleted (so I use Backspace for deletion which > works perfectly fine)? No, not related, but a separate problem. It's easy to resolve. Depending on your shell, and let's assume the C shell is still your default interactive shell: Go to the /etc/csh.cshrc file (global C shell configuration) and add after the "if ( $?tcsh ) then" block: bindkey ^? delete-char # for console bindkey ^[[3~ delete-char # for xterm Now the DEL key will work as expected. You can verify the correct setting with the "stty -a" command. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 30 16:22:05 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13466A0C97C for ; Wed, 30 Sep 2015 16:22:05 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY004-OMC2S7.hotmail.com (bay004-omc2s7.hotmail.com [65.54.190.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F21391A9C for ; Wed, 30 Sep 2015 16:22:04 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY169-W71 ([65.54.190.123]) by BAY004-OMC2S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 30 Sep 2015 09:21:57 -0700 X-TMN: [qZSIIbQGpX5rDLRKuc8H9b0JxXTPW8TJ] X-Originating-Email: [danglingpointer@outlook.com] Message-ID: From: Dangling Pointer To: Polytropon CC: "freebsd-questions@freebsd.org" Subject: RE: git diff encoding issue when running via Hyper-V Date: Wed, 30 Sep 2015 16:21:57 +0000 Importance: Normal In-Reply-To: <20150930175436.c1117526.freebsd@edvax.de> References: , <20150930165744.3437d751.freebsd@edvax.de>, , <20150930175436.c1117526.freebsd@edvax.de> MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2015 16:21:57.0857 (UTC) FILETIME=[20DD0510:01D0FB9C] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 16:22:05 -0000 Thanks guys. Here is what I have found: # cat ~/.login_conf me:\ :charset=3DUTF-8:\ :lang=3Den_US.UTF-8: I created this file then logged back in and ran: # locale LANG=3Den_US.UTF-8 LC_CTYPE=3D"en_US.UTF-8" LC_COLLATE=3D"en_US.UTF-8" LC_TIME=3D"en_US.UTF-8" LC_NUMERIC=3D"en_US.UTF-8" LC_MONETARY=3D"en_US.UTF-8" LC_MESSAGES=3D"en_US.UTF-8" LC_ALL=3D # echo "This is ^[[31mred^[[m text." prints red colored "red" text. :) # git diff &1> ../blah.txt # cat ../blah.txt shows: [...] -setup_dirs() +setup_dirs2() [...] but # git diff still emits the mangled output on stdout. The delete-key solution resolved my issue. Thanks a bunch Polytropon! > Date: Wed=2C 30 Sep 2015 17:54:36 +0200 > From: freebsd@edvax.de > To: danglingpointer@outlook.com > Subject: Re: git diff encoding issue when running via Hyper-V > CC: freebsd-questions@freebsd.org >=20 > On Wed=2C 30 Sep 2015 15:27:23 +0000=2C Dangling Pointer wrote: >> Thanks Polytropon for your reply. >> I am seeing this issue with these image as are (by only installing `git`= and no other alterations made to the OS whatsoever): >> ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.2-RELEASE/amd64/= Latest/FreeBSD-10.2-RELEASE-amd64.vhd.xz.ftp://ftp.freebsd.org/pub/FreeBSD/= releases/VM-IMAGES/10.1-RELEASE/amd64/Latest/FreeBSD-10.1-RELEASE-amd64.vhd= .xz.=20 >> Should those be considered as standard installation?=20 >=20 > Yes. As far as I know=2C they don't have any customization related > to terminal emulation and paging. >=20 > As it has been suggested by Michael B. Eichorn=2C you can try setting > a different than the standard (US) character set and encoding=2C even > though this _should_ not have anything to do with the problem you're > seeing. >=20 > For example=2C I could verify the correct working of the color codes > in a normal xterm and on the text mode console with LC_ALL set to > the (german) setting en_US.ISO8859-1. You could try en_US.UTF-8 > as well. >=20 > However=2C make sure - just to be _really_ sure - that your Git output > hasn't been mangled and there are _real_ ESC characters in it=2C by > dumping some output to a temporary file and checking it with the > "hexdump -C " command as shown in my previous message. > Verify that you aren't trying to solve a problem which does not > exist. =3B-) >=20 > Regarding terminal capabilities (and color support in this context) > you can simply try this: >=20 > % echo "This is ^[[31mred^[[m text." >=20 > When you encounter the sequence ^[=2C press Ctrl+V=2C then Escape. This > will escape the escape character=2C and ^[ will be shown. >=20 > You should see the word "red" in red color. If not - well=2C _then_ > you're beginning to see an existing problem. :-) >=20 >=20 >=20 >> Maybe it is related to keyboard layout as when I press Del key in >> text editor or command line=2C I get tilde (~) sign instead of getting >> character at cursor deleted (so I use Backspace for deletion which >> works perfectly fine)? >=20 > No=2C not related=2C but a separate problem. It's easy to resolve. > Depending on your shell=2C and let's assume the C shell is still > your default interactive shell: >=20 > Go to the /etc/csh.cshrc file (global C shell configuration) > and add after the "if ( $?tcsh ) then" block: >=20 > bindkey ^? delete-char # for console > bindkey ^[[3~ delete-char # for xterm >=20 > Now the DEL key will work as expected. You can verify the > correct setting with the "stty -a" command. >=20 >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg=2C Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe=2C Mousa=2C ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@freebsd.org Wed Sep 30 16:35:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4F66A0B0F0 for ; Wed, 30 Sep 2015 16:35:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98854109F for ; Wed, 30 Sep 2015 16:35:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 59174278A6; Wed, 30 Sep 2015 18:35:39 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t8UGZcPg002381; Wed, 30 Sep 2015 18:35:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Sep 2015 18:35:38 +0200 From: Polytropon To: Dangling Pointer Cc: "freebsd-questions@freebsd.org" Subject: Re: git diff encoding issue when running via Hyper-V Message-Id: <20150930183538.2a5041f7.freebsd@edvax.de> In-Reply-To: References: <20150930165744.3437d751.freebsd@edvax.de> <20150930175436.c1117526.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 16:35:41 -0000 On Wed, 30 Sep 2015 16:21:57 +0000, Dangling Pointer wrote: > # echo "This is ^[[31mred^[[m text." > > > > prints red colored "red" text. :) > > > > # git diff &1> ../blah.txt > > # cat ../blah.txt > > > > shows: > > > > [...] > > -setup_dirs() > +setup_dirs2() > > [...] > > > > but > > > > # git diff > > > > still emits the mangled output on stdout. This seems to suggest that git does not use the default pager for output ("cat" or "less"). When you pipe the output to one of those programs, like % git diff | cat or % git diff | less is the output different? Does the Git documentation provide some clue about the pager it uses for its diff functionality? The problem becomes more clear now. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Sep 30 16:48:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84558A0B8BE for ; Wed, 30 Sep 2015 16:48:06 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 467C71635 for ; Wed, 30 Sep 2015 16:48:05 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id d2dacf1e; Wed, 30 Sep 2015 12:48:04 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 7e33ba0b; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 30 Sep 2015 12:48:03 -0400 (EDT) Message-ID: <1443631815.1236.80.camel@michaeleichorn.com> Subject: Re: git diff encoding issue when running via Hyper-V From: "Michael B. Eichorn" To: Polytropon , Dangling Pointer Cc: "freebsd-questions@freebsd.org" Date: Wed, 30 Sep 2015 12:50:15 -0400 In-Reply-To: <20150930183538.2a5041f7.freebsd@edvax.de> References: <20150930165744.3437d751.freebsd@edvax.de> <20150930175436.c1117526.freebsd@edvax.de> <20150930183538.2a5041f7.freebsd@edvax.de> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-yJxjib4r0zrNtnqu04dZ" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 16:48:06 -0000 --=-yJxjib4r0zrNtnqu04dZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-09-30 at 18:35 +0200, Polytropon wrote: > On Wed, 30 Sep 2015 16:21:57 +0000, Dangling Pointer wrote: > > # echo "This is ^[[31mred^[[m text." > >=20 > >=20 > >=20 > > prints red colored "red" text. :) > >=20 > >=20 > >=20 > > # git diff &1> ../blah.txt > >=20 > > # cat ../blah.txt > >=20 > >=20 > >=20 > > shows: > >=20 > >=20 > >=20 > > [...] > >=20 > > -setup_dirs() > > +setup_dirs2() > >=20 > > [...] > >=20 > >=20 > >=20 > > but > >=20 > >=20 > >=20 > > # git diff > >=20 > >=20 > >=20 > > still emits the mangled output on stdout. >=20 > This seems to suggest that git does not use the default pager > for output ("cat" or "less"). When you pipe the output to one > of those programs, like >=20 > % git diff | cat >=20 > or >=20 > % git diff | less >=20 > is the output different? Does the Git documentation provide some > clue about the pager it uses for its diff functionality? git(1) uses $PAGER unless overridden using $GIT_PAGER > The problem becomes more clear now. >=20 > =20 >=20 --=-yJxjib4r0zrNtnqu04dZ Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD7nC4dakT6exnrVndlBmLrf/bLPh2qOM8YK5qKK6m33fE7AyYrwiYAWFT 3fERI7LakjaabrIoS/Y1rCdL5FaCTMOlRbZyduc8HkrgjT2JW+i4fVc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BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAeQA0GJbs6E3xyE5S6yoc7q1tIGrHvSfE7TvCYuHI Iq6GCYZf59YqzKzmdEv7ft/foYT/6V5NL0/RqynjeCa6F2N824UGSqi0HOhOrZeQwOj+/7yPJQwu ONbqttwifqySRlxYo33X2oP4A9QAdxGQOKZJ8qOSM8wBogv69K/bCzJIVJRLd6U/CxhbDa7VQLud iAuJqvN4PKodGrraBIaAZxLJliN9GSr/A1e6vZ8hkTefFRGki9SHP0pcbcsujhyMML3ovp0462W8 wYClN9Ic9T5bG2ojIlc+ZsbWQKaPaM1CnH9cAGLHgf/7O/ODLXu0Tb/v2vstM0AvedemFfN/FwAA AAAAAA== --=-yJxjib4r0zrNtnqu04dZ-- From owner-freebsd-questions@freebsd.org Wed Sep 30 16:48:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68822A0B8DB for ; Wed, 30 Sep 2015 16:48:09 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY004-OMC2S18.hotmail.com (bay004-omc2s18.hotmail.com [65.54.190.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 562871640 for ; Wed, 30 Sep 2015 16:48:09 +0000 (UTC) (envelope-from danglingpointer@outlook.com) Received: from BAY169-W16 ([65.54.190.124]) by BAY004-OMC2S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 30 Sep 2015 09:47:03 -0700 X-TMN: [Vw2j5eW5W/rsYy/Q6BhEgAt5wgj/U9JB] X-Originating-Email: [danglingpointer@outlook.com] Message-ID: From: Dangling Pointer To: Polytropon CC: "freebsd-questions@freebsd.org" Subject: RE: git diff encoding issue when running via Hyper-V Date: Wed, 30 Sep 2015 16:47:03 +0000 Importance: Normal In-Reply-To: <20150930183538.2a5041f7.freebsd@edvax.de> References: , <20150930165744.3437d751.freebsd@edvax.de>, , <20150930175436.c1117526.freebsd@edvax.de>, , <20150930183538.2a5041f7.freebsd@edvax.de> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 30 Sep 2015 16:47:03.0646 (UTC) FILETIME=[A2622FE0:01D0FB9F] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 16:48:09 -0000 Brilliant=2C this is fixed by running: # git config --global core.pager 'less -+F' I first checked with: # git diff | cat # git diff | more # git diff | less and it was showing the desired output. Setting the pager is showing colored= output! =3D) Thanks again Polytropon! I would have never known it without the "pager" ke= yword.=20 > Date: Wed=2C 30 Sep 2015 18:35:38 +0200 > From: freebsd@edvax.de > To: danglingpointer@outlook.com > Subject: Re: git diff encoding issue when running via Hyper-V > CC: freebsd-questions@freebsd.org >=20 > On Wed=2C 30 Sep 2015 16:21:57 +0000=2C Dangling Pointer wrote: >> # echo "This is ^[[31mred^[[m text." >>=20 >>=20 >>=20 >> prints red colored "red" text. :) >>=20 >>=20 >>=20 >> # git diff &1> ../blah.txt >>=20 >> # cat ../blah.txt >>=20 >>=20 >>=20 >> shows: >>=20 >>=20 >>=20 >> [...] >>=20 >> -setup_dirs() >> +setup_dirs2() >>=20 >> [...] >>=20 >>=20 >>=20 >> but >>=20 >>=20 >>=20 >> # git diff >>=20 >>=20 >>=20 >> still emits the mangled output on stdout. >=20 > This seems to suggest that git does not use the default pager > for output ("cat" or "less"). When you pipe the output to one > of those programs=2C like >=20 > % git diff | cat >=20 > or >=20 > % git diff | less >=20 > is the output different? Does the Git documentation provide some > clue about the pager it uses for its diff functionality? >=20 > The problem becomes more clear now. >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg=2C Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe=2C Mousa=2C ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@freebsd.org Wed Sep 30 17:58:43 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 061F8A0C71A for ; Wed, 30 Sep 2015 17:58:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7391A1F35 for ; Wed, 30 Sep 2015 17:58:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t8UHwW4w094136; Thu, 1 Oct 2015 03:58:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 1 Oct 2015 03:58:32 +1000 (EST) From: Ian Smith To: Nino J cc: Alexandre , freebsd-questions@freebsd.org Subject: Re: SSHguard & IPFW In-Reply-To: Message-ID: <20151001033001.R67283@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 17:58:43 -0000 In freebsd-questions Digest, Vol 591, Issue 2, Message: 14 On Wed, 30 Sep 2015 09:41:55 +0200 Nino J wrote: > On Tue, Sep 29, 2015 at 4:24 PM, Alexandre wrote: > > > > > >> About the blocking rules reservation in IPFW (from rule 55000 to > > >> 55050), anyone experienced yet full use of these rules? > > >> By default, fifteen addresses can be blocked together. But how SSHGUARD > > >> works in this case for the newest one (51th)? > > >> > > >> Thank you in advance for your clarifications. > > >> Alexandre > > > > To answer your second question, IPFW has no problem using the same rule > number for multiple rules. Thus sshguard is not limited to 50 addresses. > > Also, next version of sshguard won't use IPFW rules, but rather an IPFW > table to insert IP addresses to be blocked. Thus it will only need a single > deny rule. That's so much smarter than a fixed block of rule numbers, and you can put your table lookup or action rule/s whereever you want in rulesets. Moreover, utilities could add a 32 bit value to table entries such as a timestamp (for later expiry) or a skipto address for classification of different types of detected behaviours, whatever .. > I'm currently using development version of sshguard which uses IPFW table > and it works fine for me. I'm more paranoid and only allow addresses in a table to access sshd's port, with a couple of roaming users who need to check mail to update their IP before login .. but this is great news for sshguard users. cheers, Ian From owner-freebsd-questions@freebsd.org Wed Sep 30 19:16:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C2B7A0C283 for ; Wed, 30 Sep 2015 19:16:18 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D094C104E for ; Wed, 30 Sep 2015 19:16:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8UJG8jq073224 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Sep 2015 13:16:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8UJG7Ga073209; Wed, 30 Sep 2015 13:16:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Sep 2015 13:16:07 -0600 (MDT) From: Warren Block To: Stephen Roome cc: freebsd-questions@freebsd.org Subject: Re: Serial comms with espruino - stty? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 30 Sep 2015 13:16:08 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 19:16:18 -0000 On Tue, 29 Sep 2015, Stephen Roome wrote: > Hi folks, > > I've recently been given a tiny ARM chip on a usb board - an Espruino Pico. > > Unfortunately, I'm not having a lot of luck in FreeBSD with this. > > In Linux and OSX the device attaches as /dev/tty.something and > /dev/cusomething and ... > > screen /dev/tty.something works great on both. > > In FreeBSD however it attaches via umodem as... > > /dev/cuaU0 > /dev/ttyU0 > /dev/cuaU0.lock > /dev/cuaU0.init > /dev/ttyU0.init > and > /dev/ttyU0.lock > > screen /dev/ttuU0 sort of works however umodem or ucom or tty or something > seems to buffer the last character of input or output. i.e. typing is hard > work. screen is effectively always exactly one keypress behind. > > I've played with the stty settings (which I think, but I'm not certain, > that I have to make to /dev/ttyU0.init for them to actually be applied - > hey, is this documented somewhere ???) but to no avail. There is the "Serial Port Configuration" section of the serial chapter of the Handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html#serial-hw-config Of course it all depends on how a particular cable is wired. I got thoroughly sick of RS232 many years back, swore never to wire yet another serial cable, and began avoiding it. But every time I think it's dead forever, it comes back. Most lately, I'm trying to figure out why pasting text to a NodeMCU board acts like hardware handshaking does not work and loses pasted characters while a line is processed. Thirty years ago, having to set an EOL delay was not unexpected. Today, well, at least it can be trusted to be the same old fight to get it to work. From owner-freebsd-questions@freebsd.org Wed Sep 30 19:20:22 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5134EA0C59F for ; Wed, 30 Sep 2015 19:20:22 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 15986139A for ; Wed, 30 Sep 2015 19:20:21 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t8UJKGU8074778 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Sep 2015 13:20:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t8UJKF3o074775; Wed, 30 Sep 2015 13:20:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Sep 2015 13:20:15 -0600 (MDT) From: Warren Block To: Polytropon cc: Dangling Pointer , "freebsd-questions@freebsd.org" Subject: Re: git diff encoding issue when running via Hyper-V In-Reply-To: <20150930165744.3437d751.freebsd@edvax.de> Message-ID: References: <20150930165744.3437d751.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 30 Sep 2015 13:20:16 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 19:20:22 -0000 On Wed, 30 Sep 2015, Polytropon wrote: > On Wed, 30 Sep 2015 14:31:36 +0000, Dangling Pointer wrote: >> Hi, >> When I run FreeBSD 10.1 or 10.2 x64 via Hyper-V on Windows 10, the >> encoding of `git diff` command emits cluttered text (with lots of >> "ESC[m" noise) like: >> ESC[31m-setup_dirs()ESC[m >> ESC[32m+ESC[mESC[32msetup_dirs2()ESC[m >> instead of: >> -setup_dirs()+setup_dirs2() >> I don't know what to make of it. > > This looks like color codes... > > > >> Can somebody please let me know if this is a bug or do I need to >> configure something? > > The pager (and the attached terminal emulator) should be able to > convert those codes (Escape, [, code sequence) into something > meaningful, usually a change of display attributes such as color, > inverse, underlined (or whatever the terminal supports). FWIW, less(1) supports color codes with the -R option. From owner-freebsd-questions@freebsd.org Wed Sep 30 19:26:16 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2442AA0CC9E; Wed, 30 Sep 2015 19:26:16 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAFE71A77; Wed, 30 Sep 2015 19:26:15 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8UJQ8r0016664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 30 Sep 2015 14:26:09 -0500 To: FreeBSD Questions !!!! , FreeBSD X11 mailing list From: "William A. Mahaffey III" Subject: minor X11 issue Message-ID: <560C3750.800@hiwaay.net> Date: Wed, 30 Sep 2015 14:31:38 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 19:26:16 -0000 I pkg-upgraded everything (including X11 stuff) about a week ago & rebooted. Since then I get sporadic crashes (I think) of various screensavers. I'll leave the room, come back in an hour or 2, & the screen will be black w/ a bunch of yellow text talking about 'GLX extensions' & this window is not GLX enabled, etc. I can't find the messages logged anywhere or I would be more specific. This isn't show-stopping, but it is a glitch, I think. Need any more info for debugging, just ask. TIA & have a good one. BTW: [root@kabini1, /etc, 2:31:40pm] 366 % grep -i x11 LIST.installed.txt ghostscript9-x11-9.06_11 Ghostscript 9.x PostScript interpreter, X11 support gtk12-1.2.10_24 Gimp Toolkit for X11 GUI (previous stable version) gtk2-2.24.28_1 Gimp Toolkit for X11 GUI (previous stable version) gtk3-3.16.6 Gimp Toolkit for X11 GUI (current stable version) libICE-1.0.9_1,1 Inter Client Exchange library for X11 libSM-1.2.2_3,1 Session Management library for X11 libX11-1.6.2_3,1 X11 library libXau-1.0.8_3 Authentication Protocol library for X11 libXext-1.3.3_1,1 X11 Extension library libXinerama-1.1.3_3,1 X11 Xinerama library nethack-nox11-3.4.3_8 Dungeon explorin', slashin', hackin' game open-motif-2.3.4_2 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) t1lib-5.1.2_4,1 Type 1 font rasterization library for Unix/X11 x11perf-1.5.4 X11 server performance test program xcb-util-0.4.0_1,1 Module with libxcb/libX11 extension/replacement libraries xchat-2.8.8_2 X11 IRC client using the GTK+ 2 toolkit xproto-7.0.27 X11 protocol headers [root@kabini1, /etc, 2:31:49pm] 367 % grep -i xf86 LIST.installed.txt libXxf86dga-1.1.4_3 X DGA Extension libXxf86misc-1.0.3_3 X XF86-Misc Extension libXxf86vm-1.1.4_1 X Vidmode Extension xf86-input-keyboard-1.8.0_7 X.Org keyboard input driver xf86-input-mouse-1.9.1 X.Org mouse input driver xf86-video-ati-7.5.0_2 X.Org ati display driver xf86-video-intel-2.21.15_8 Driver for Intel integrated graphics chipsets xf86-video-mach64-6.9.4_5 X.Org mach64 display driver xf86-video-nv-2.1.20_6 X.Org nv display driver xf86-video-openchrome-0.3.3_5 X.Org openChrome display driver xf86-video-r128-6.9.2_5 X.Org r128 display driver xf86-video-vesa-2.3.3_5 X.Org vesa display driver xf86dga-1.0.3_1 Test program for the XFree86-DGA extension xf86dgaproto-2.1 XFree86-DGA extension headers xf86driproto-2.1.1 XFree86-DRI extension headers xf86miscproto-0.9.3 XFree86-Misc extension headers xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers [root@kabini1, /etc, 2:31:53pm] 368 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 2:31:56pm] 369 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Wed Sep 30 20:59:08 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FA1EA0B0E3 for ; Wed, 30 Sep 2015 20:59:08 +0000 (UTC) (envelope-from che@bein.link) Received: from mail.bein.link (bein.link [37.252.124.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 497791187 for ; Wed, 30 Sep 2015 20:59:07 +0000 (UTC) (envelope-from che@bein.link) Received: from thinkpad.localnet (home.bein.link [172.16.32.6]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bein.link (Postfix) with ESMTPSA id 185331AF179 for ; Wed, 30 Sep 2015 20:58:58 +0000 (UTC) From: Maxim V Filimonov To: "'freebsd-questions@freebsd.org'" Reply-To: che@bein.link Subject: FreeBSD and two different networks Date: Wed, 30 Sep 2015 23:58:57 +0300 Message-ID: <6371943.nqOrXjNnlq@thinkpad> User-Agent: KMail/4.14.3 (FreeBSD/10.2-RELEASE; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 20:59:08 -0000 Dear All, I have a FreeBSD machine at work. It's mostly connected to the so-called "internal" network that has a static ip: let it be 172.16.1.113/12. The default gateway for that network is 172.16.1.1. Sometimes, I need to connect this machine to another network that uses DHCP. Its network mask differs: it's 192.168.1.0/24. The second network uses DHCP. The question is: can I set both of the default gateways (skip DHCP: I can configure the interface for the "external" network manually) in some way? Can I set up some kind of a daemon that checks whether one of my gateways is accessible and forwards all of the traffic through that gateway? Thank you very much in advance. -- wbr, Maxim Filimonov From owner-freebsd-questions@freebsd.org Thu Oct 1 06:26:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 157A9A0EEC7 for ; Thu, 1 Oct 2015 06:26:02 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 86B031F2C for ; Thu, 1 Oct 2015 06:26:01 +0000 (UTC) (envelope-from taropalo@kronometrix.org) Received: from [192.168.0.30] (188-127-209-196.cust.suomicom.net [188.127.209.196]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id t916Pwqg083588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 06:25:59 GMT (envelope-from taropalo@kronometrix.org) Subject: Re: Create Ultimate Boot CD USB Stick To: freebsd-questions@freebsd.org References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> From: Aropalo Tommi X-Enigmail-Draft-Status: N1110 Message-ID: <560CD1F1.1090706@kronometrix.org> Date: Thu, 1 Oct 2015 09:25:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 06:26:02 -0000 Hi, I don't know what is UBCD stick so I don't know if this helps with the issue. I have created bootable USB stick from FreeBSD-10.2-RELEASE-amd64-disc1.i= so using script provided FreeBSD "releng/10.2/release/amd64/make-memstick.s= h" On 08/09/15 12:07, Jack L. wrote: > There is a usb image file that you can download that is already in a na= tive > usb bootable format. Just dd the memstick.img to the usb stick and it w= orks > fine. > > On Mon, Sep 7, 2015 at 11:46 PM, Quartz wrote:= > >> Is there a way to create an UBCD stick from the ISO image without usin= g >>> Linux or Windows? >>> >> UBCD uses the SYSLINUX package (specifically ISOLINUX) to boot to the = menu >> and load all its modules. I have not tested this, but it may be possib= le to >> download and run the SYSLINUX scripts directly under *BSD to create an= >> 'empty' usb stick that just boots to a dummy menu. If that works, you = can >> then just cp the config and modules from the UBCD ISO onto your stick >> afterwards and be good to go. (SYSLINUX, ISOLINUX and PXELINUX all spa= wn an >> identical environment, so you can literally copy and paste stuff betwe= en >> them). >> >> Alternatively it may be possible to just dump the contents of the ISO = to a >> directory and use the SYSLINUX scripts to make a new hybrid ISO from t= hat. >> I have a feeling this might not work though, since there has to be a r= eason >> UBCD didn't just use this feature themselves. >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > --=20 Yst=E4v=E4llisin Terveisin / Best Regards Tommi Aropalo E-mail: taropalo@kronometrix.org www.kronometrix.org From owner-freebsd-questions@freebsd.org Thu Oct 1 06:53:08 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E77B6A0615D for ; Thu, 1 Oct 2015 06:53:07 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B098A1099 for ; Thu, 1 Oct 2015 06:53:07 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by oibi136 with SMTP id i136so35765129oib.3 for ; Wed, 30 Sep 2015 23:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WtOxrxhU3PUQrCs0t9k8pU9ojxLaOciIAXWjEqBQk8A=; b=xTPLNfPzWw7gOEjQ9EVWJEy3xJPcqHl6YqOv2rRv4VjnVCVVcWK0DFdXeCiWHfBZ6h 5uy9WK0FHHPtHsEOUSqROJRLKeBbra0fYNPwn7LsXsU4JSkV3mCjFdWU/3uCCrQNL6d+ HtCrm3ZUPKC7lYaPCYvAkE3V+DSiDFeUaulCQGOa9LEeERd7c6Nh7dDQfPjRKJCwggJG eGwTPznDriMextfdtnkXBumd2mobko1pBB5OJXP7KRSFD4m2VMDMpZesVBoo59dV2o19 bZde0Gq/v/u2VY3uP52pfIzNXQci+cghbiU2NzDU+Oik3OhZz4qllhNN4+5zwELm/Wtd lb5Q== X-Received: by 10.202.223.213 with SMTP id w204mr4792351oig.84.1443682386938; Wed, 30 Sep 2015 23:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.110.102 with HTTP; Wed, 30 Sep 2015 23:52:47 -0700 (PDT) In-Reply-To: <20151001033001.R67283@sola.nimnet.asn.au> References: <20151001033001.R67283@sola.nimnet.asn.au> From: Nino J Date: Thu, 1 Oct 2015 08:52:47 +0200 Message-ID: Subject: Re: SSHguard & IPFW To: Ian Smith Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 06:53:08 -0000 On Wed, Sep 30, 2015 at 7:58 PM, Ian Smith wrote: > > I'm more paranoid and only allow addresses in a table to access sshd's > port, with a couple of roaming users who need to check mail to update > their IP before login .. but this is great news for sshguard users. > > It's not necessarily paranoid. It depends on your risk assessment. I'm primarily defending against bruteforce attacks and sshguard effectively solves that. If I were concerned about possible vulnerability in sshd that would allow an attacker to bypass the login process or crash sshd on a machine where ssh access is critical, restricting access to known IPs only would be a perfectly reasonable solution. On a side note, if I understood correctly, you're modifying IPFW rules based on a user successfully checking mail, basically a sort of port-knocking? Or I totally misinterpreted? :) -- Nino From owner-freebsd-questions@freebsd.org Thu Oct 1 06:45:12 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9E7CA0DC4F for ; Thu, 1 Oct 2015 06:45:12 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7141E1B10 for ; Thu, 1 Oct 2015 06:45:12 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by oixx17 with SMTP id x17so35578402oix.0 for ; Wed, 30 Sep 2015 23:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LVjbMVKH1WTOpsvmdM/uoo7RWY7+EJQ+enQ4M2kYy8Q=; b=mNu+pvNx8UX9YktfXmM21n1ublg5BfO0XS8Jgqqm4y3czUSXjIdbtrWcmxPtbqzLKL NATIBDH5187E3kDXGLDPmU1VHwTTZReFj7dtVk81bKH0Vy1/yQ326z0UudljciZsqwGK r1JG61BnmxSljQ4xzao6699v9emCEPNF4bBTcfnx3kwwpCZI0YN+4Hg3V+KWzOb6nwsN KrqDPZgD7eDtPZ1kgpPBm8rj+INhFuY215FSaOaBlhfpXAmh0aprUxCpXtdDYQKczl25 eptQ+Q9OyXChQFqmYSGbTrZ/6YBW4kungXgAFrZzVskk850J/cyy9H4/FtL23hSkiSrj gr+A== X-Received: by 10.202.229.207 with SMTP id c198mr4611697oih.109.1443681911724; Wed, 30 Sep 2015 23:45:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.110.102 with HTTP; Wed, 30 Sep 2015 23:44:52 -0700 (PDT) In-Reply-To: References: <1443531575.1236.13.camel@michaeleichorn.com> From: Nino J Date: Thu, 1 Oct 2015 08:44:52 +0200 Message-ID: Subject: Re: SSHguard & IPFW To: Alexandre Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 06:45:12 -0000 On Wed, Sep 30, 2015 at 11:05 AM, Alexandre wrote: > Thank you Nino for your reply. > Effectively today I can see a line with multiple IP addresses on the same > rule number. > > About the next version of SSHGuard, you mean SSHGuard (for IPFW) will > works the same way than SSHGuard for PF? > Sorry, I don't have experience with PF. -- Nino From owner-freebsd-questions@freebsd.org Thu Oct 1 08:32:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66532A0B4AB for ; Thu, 1 Oct 2015 08:32:54 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C75B01C5F for ; Thu, 1 Oct 2015 08:32:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t918Wp1R026284; Thu, 1 Oct 2015 18:32:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 1 Oct 2015 18:32:50 +1000 (EST) From: Ian Smith To: Nino J cc: User Questions Subject: Re: SSHguard & IPFW In-Reply-To: Message-ID: <20151001173313.T67283@sola.nimnet.asn.au> References: <20151001033001.R67283@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 08:32:54 -0000 On Thu, 1 Oct 2015 08:52:47 +0200, Nino J wrote: > On Wed, Sep 30, 2015 at 7:58 PM, Ian Smith wrote: > > > > > I'm more paranoid and only allow addresses in a table to access sshd's > > port, with a couple of roaming users who need to check mail to update > > their IP before login .. but this is great news for sshguard users. > > > > > It's not necessarily paranoid. It depends on your risk assessment. I'm > primarily defending against bruteforce attacks and sshguard effectively > solves that. If I were concerned about possible vulnerability in sshd that > would allow an attacker to bypass the login process or crash sshd on a > machine where ssh access is critical, restricting access to known IPs only > would be a perfectly reasonable solution. Well I'm not as concerned about sshd vulnerabilities as I am about lots of superfluous logging from (usually) oft-repeated drive-by attempts on port 22, often across all 6 IPs of a /29. And yes, I prefer using port 22, despite the relief that using alternative ports does offer, mainly to keep things simple for users. This way, all other hosts attempting connections to port 22 simply vanish. > On a side note, if I understood correctly, you're modifying IPFW rules > based on a user successfully checking mail, basically a sort of > port-knocking? Or I totally misinterpreted? :) Yes, but not modifying the ruleset, just adding addresses to table(22). This is done from a 5-minutely cron running a script that parses pop.log for successful mailchecks by specified users from their nominated ISP/s, adding their IP address with current timestamp to the table. Users know the drill and it's worked without drama since 2007, although there's now only one such login user (apart from me :) remaining in our little club. Horses for courses; sshguard is surely a useful approach for hosts with more users, where maintaining my ad-hoc solution would be more arduous. cheers, Ian From owner-freebsd-questions@freebsd.org Thu Oct 1 08:38:00 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C637A0BE9F for ; Thu, 1 Oct 2015 08:38:00 +0000 (UTC) (envelope-from kora.jenkins@googlemail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 1CDB51F10 for ; Thu, 1 Oct 2015 08:37:59 +0000 (UTC) (envelope-from kora.jenkins@googlemail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 3497216BCF6F for ; Thu, 1 Oct 2015 01:31:18 -0700 (PDT) Date: Thu, 1 Oct 2015 01:37:52 -0700 (MST) From: kora To: freebsd-questions@freebsd.org Message-ID: <1443688672992-6042436.post@n5.nabble.com> Subject: How to get libiconv on FreeBSD 10 convert utf-8 -> wchar_t ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 08:38:00 -0000 Hi, I'm new working / developing on FreeBSD. I tried to port my software written in C++ to FreeBSD 10.2. I have a "utf-8 -> wchar_t"- converting problem using the "libiconv" converter library in my C code. I have heard about a problem of that kind pending since FreeBDS 10. Has anybody a hint or solution for that problem ? Cheers Kora -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-get-libiconv-on-FreeBSD-10-convert-utf-8-wchar-t-tp6042436.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@freebsd.org Thu Oct 1 12:09:59 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC864A0B558 for ; Thu, 1 Oct 2015 12:09:59 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 836EB1D6D for ; Thu, 1 Oct 2015 12:09:59 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t91C9uvo013810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 07:09:57 -0500 Subject: Re: Create Ultimate Boot CD USB Stick To: freebsd-questions@freebsd.org References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> From: "William A. Mahaffey III" Message-ID: <560D2294.4000303@hiwaay.net> Date: Thu, 1 Oct 2015 07:15:26 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560CD1F1.1090706@kronometrix.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 12:09:59 -0000 On 10/01/15 01:32, Aropalo Tommi wrote: > Hi, > > I don't know what is UBCD stick so I don't know if this helps with the > issue. > I have created bootable USB stick from FreeBSD-10.2-RELEASE-amd64-disc1.iso > using script provided FreeBSD "releng/10.2/release/amd64/make-memstick.sh" Where is that directory (i.e. what is the rest of the URL) ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Oct 1 12:19:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF6DFA0BDEC for ; Thu, 1 Oct 2015 12:19:44 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A24813B6 for ; Thu, 1 Oct 2015 12:19:43 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id t91C8Wmr069826 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 13:08:34 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <560D2242.1010908@fjl.co.uk> Date: Thu, 01 Oct 2015 13:08:34 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: WTFM for system calls Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 12:19:44 -0000 It's probably obvious, but not quite obvious enough for me right now... Where's there a list of FreeBSD kernel (system) calls? I can't believe I've never needed one before - I guess I've just used UNIX calls (remembered from the 1980s) or got lucky with the manual. There's obviously man 2, but you really need to know the name of what you're looking for (or guess from the file names). I could also scan through the 'C' header files. The Developer's Manual mentions HOW to call a system call (and told me something shocking about Linux I hadn't realised). But nowhere can I find a list - preferably sorted in to sections with a summary, function number, symbolic name, and list of parameters. I'm looking for something a bit more informative than sys/syscall.h! I bet someone's going to refer me to a man page with a name everyone else knows but I couldn't guess. Counting down.... Thanks, Frank. From owner-freebsd-questions@freebsd.org Thu Oct 1 12:48:54 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A82C5A0D364 for ; Thu, 1 Oct 2015 12:48:54 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 416BB1257 for ; Thu, 1 Oct 2015 12:48:54 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wicfx3 with SMTP id fx3so31461238wic.1 for ; Thu, 01 Oct 2015 05:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+ZYs/VlV895UvAlLFC8lofWOTxzim/1iaX+gtB7b5nc=; b=fSt4+kds5waY8Jnuc19bwPw1oGsDC5ghOibj5+ugywfYgz1WfGBxIY/UD73kyb6LcG bK0QKshgI6hkOt33N3icx65WBDIBDvXP0kj9ljeUURNh0UmpmZCNCPRf1GDJZaBGsD7h Uuhmt1EcoETGImmfJy63e+SsvuGcp7PrMN5nchUx9CDtPIOO9efQNBQ3iAjczIxT08w/ /9Lz6Wsj+2XACCKAYDYUeB1v3E7/bMs8wOxy+x/JdWcs2cU1MO7mnyXhOyc8sV3RHqn9 mhluTiWH66N7b7sPK/p6ROVaHMYTx0nvgMyQ0W6n8Z/FIUKQa9tCwGUFv9bw5Nv+GuJi 9uTA== X-Received: by 10.180.106.4 with SMTP id gq4mr3403611wib.53.1443703732542; Thu, 01 Oct 2015 05:48:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.212.10 with HTTP; Thu, 1 Oct 2015 05:48:13 -0700 (PDT) In-Reply-To: <560D2294.4000303@hiwaay.net> References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> From: Odhiambo Washington Date: Thu, 1 Oct 2015 15:48:13 +0300 Message-ID: Subject: Re: Create Ultimate Boot CD USB Stick To: "William A. Mahaffey III" Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 12:48:54 -0000 On 1 October 2015 at 15:08, William A. Mahaffey III wrote: > On 10/01/15 01:32, Aropalo Tommi wrote: > >> Hi, >> >> I don't know what is UBCD stick so I don't know if this helps with the >> issue. >> I have created bootable USB stick from >> FreeBSD-10.2-RELEASE-amd64-disc1.iso >> using script provided FreeBSD >> "releng/10.2/release/amd64/make-memstick.sh" >> > > Where is that directory (i.e. what is the rest of the URL) ? TIA & have a > good one. > > http://code.metager.de/source/xref/freebsd/release/amd64/make-memstick.sh ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.2/ :) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@freebsd.org Thu Oct 1 13:00:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9226BA0DB0F for ; Thu, 1 Oct 2015 13:00:32 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EAD51B0F for ; Thu, 1 Oct 2015 13:00:32 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t91D0Ude010903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 08:00:31 -0500 Subject: Re: Create Ultimate Boot CD USB Stick References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> Cc: User Questions From: "William A. Mahaffey III" Message-ID: <560D2E6E.3040704@hiwaay.net> Date: Thu, 1 Oct 2015 08:06:00 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 13:00:32 -0000 On 10/01/15 07:54, Odhiambo Washington wrote: > > > On 1 October 2015 at 15:08, William A. Mahaffey III > wrote: > > On 10/01/15 01:32, Aropalo Tommi wrote: > > Hi, > > I don't know what is UBCD stick so I don't know if this helps > with the > issue. > I have created bootable USB stick from > FreeBSD-10.2-RELEASE-amd64-disc1.iso > using script provided FreeBSD > "releng/10.2/release/amd64/make-memstick.sh" > > > Where is that directory (i.e. what is the rest of the URL) ? TIA & > have a good one. > > > > http://code.metager.de/source/xref/freebsd/release/amd64/make-memstick.sh > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.2/ > :) > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." *Boooooyah* !!!! Thanks :-). -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Oct 1 13:05:06 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E8FA0DE96 for ; Thu, 1 Oct 2015 13:05:06 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9CA11F2A for ; Thu, 1 Oct 2015 13:05:05 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t91D53ik015375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 08:05:04 -0500 Subject: Re: Create Ultimate Boot CD USB Stick References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> Cc: User Questions From: "William A. Mahaffey III" Message-ID: <560D2F7F.6000202@hiwaay.net> Date: Thu, 1 Oct 2015 08:10:33 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 13:05:06 -0000 On 10/01/15 07:54, Odhiambo Washington wrote: > > > On 1 October 2015 at 15:08, William A. Mahaffey III > wrote: > > On 10/01/15 01:32, Aropalo Tommi wrote: > > Hi, > > I don't know what is UBCD stick so I don't know if this helps > with the > issue. > I have created bootable USB stick from > FreeBSD-10.2-RELEASE-amd64-disc1.iso > using script provided FreeBSD > "releng/10.2/release/amd64/make-memstick.sh" > > > Where is that directory (i.e. what is the rest of the URL) ? TIA & > have a good one. > > > > http://code.metager.de/source/xref/freebsd/release/amd64/make-memstick.sh > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.2/ > :) > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." Is there an equivalent file for 9.3R :-) ? Just checking ..... Thanks & TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Oct 1 13:13:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 414FDA0C468 for ; Thu, 1 Oct 2015 13:13:40 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1F6412EC for ; Thu, 1 Oct 2015 13:13:39 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wicfx3 with SMTP id fx3so27915231wic.0 for ; Thu, 01 Oct 2015 06:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HV/RqYGnsLLOu5xB/Ib1vSbSqZmWFRLNiS0FeSWtfMY=; b=elP3RzgUdrXZtoqUuCT66lxNLlTAlXlj0qG+AcM/bjURuAzomIZ9JyqhEc/QntYacd hUeqIDyU6KIhR6HcLEDvjieFqIPlh8Osl+HT2WmSNdWuH96EoDZRhth4jWji523dpiCv CoEXGtx9aqrHnawApZs5fZ5tXq1X23SJzvpw+PXtXGKHa/+JVWXY2tJWzw843GKxjWee uqNnPc7Un+0YGlICKpfbH90WIDNWYONm0uDAr0cxrNIt5lA6Ez0zNT6hIlsqmwGY2O3o g0kfMaORFO5ty6GLcMGXhE+JNOUoR5aEz8UIPJd9wt5m6m/hrAjtEojgvxnZPZZOW9BF qC4w== X-Received: by 10.180.184.201 with SMTP id ew9mr3549102wic.53.1443705217934; Thu, 01 Oct 2015 06:13:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.212.10 with HTTP; Thu, 1 Oct 2015 06:12:58 -0700 (PDT) In-Reply-To: <560D2F7F.6000202@hiwaay.net> References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> <560D2F7F.6000202@hiwaay.net> From: Odhiambo Washington Date: Thu, 1 Oct 2015 16:12:58 +0300 Message-ID: Subject: Re: Create Ultimate Boot CD USB Stick To: "William A. Mahaffey III" Cc: User Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 13:13:40 -0000 On 1 October 2015 at 16:03, William A. Mahaffey III wrote: > On 10/01/15 07:54, Odhiambo Washington wrote: > >> >> >> On 1 October 2015 at 15:08, William A. Mahaffey III > > wrote: >> >> On 10/01/15 01:32, Aropalo Tommi wrote: >> >> Hi, >> >> I don't know what is UBCD stick so I don't know if this helps >> with the >> issue. >> I have created bootable USB stick from >> FreeBSD-10.2-RELEASE-amd64-disc1.iso >> using script provided FreeBSD >> "releng/10.2/release/amd64/make-memstick.sh" >> >> >> Where is that directory (i.e. what is the rest of the URL) ? TIA & >> have a good one. >> >> >> >> http://code.metager.de/source/xref/freebsd/release/amd64/make-memstick.sh >> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.2/ >> :) >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> "I can't hear you -- I'm using the scrambler." >> > > > Is there an equivalent file for 9.3R :-) ? Just checking ..... Thanks & > TIA & have a good one. > > >From here -> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.3/ there is a memstick image and so it goes without saying that there is a script to achieve the same as on 10.x and it could even be the same script! Flash drives are rewriteable anyway:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@freebsd.org Thu Oct 1 13:19:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85334A0C884 for ; Thu, 1 Oct 2015 13:19:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EDB015CB for ; Thu, 1 Oct 2015 13:19:44 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t91DJfUJ027475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 08:19:42 -0500 Subject: Re: Create Ultimate Boot CD USB Stick References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> <560D2F7F.6000202@hiwaay.net> Cc: User Questions From: "William A. Mahaffey III" Message-ID: <560D32ED.30609@hiwaay.net> Date: Thu, 1 Oct 2015 08:25:11 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 13:19:44 -0000 On 10/01/15 08:19, Odhiambo Washington wrote: > > > On 1 October 2015 at 16:03, William A. Mahaffey III > wrote: > > On 10/01/15 07:54, Odhiambo Washington wrote: > > > > On 1 October 2015 at 15:08, William A. Mahaffey III > >> wrote: > > On 10/01/15 01:32, Aropalo Tommi wrote: > > Hi, > > I don't know what is UBCD stick so I don't know if > this helps > with the > issue. > I have created bootable USB stick from > FreeBSD-10.2-RELEASE-amd64-disc1.iso > using script provided FreeBSD > "releng/10.2/release/amd64/make-memstick.sh" > > > Where is that directory (i.e. what is the rest of the URL) > ? TIA & > have a good one. > > > > http://code.metager.de/source/xref/freebsd/release/amd64/make-memstick.sh > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.2/ > :) > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > > > > Is there an equivalent file for 9.3R :-) ? Just checking ..... > Thanks & TIA & have a good one. > > > From here -> > ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.3/ > there is a memstick image and so it goes without saying that there is > a script to achieve the same as on 10.x and it could even be the same > script! Flash drives are rewriteable anyway:) > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." Yes, I already have that image file, used it last year to setup this box. However, I am looking for the script used to create that image. I don't think it is the same script as above, mkimg (referenced therin) is not available on 9.3R: [root@kabini1, /etc, 8:23:44am] 613 % which mkimg mkimg: Command not found. [root@kabini1, /etc, 8:23:46am] 614 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 8:23:55am] 615 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Thu Oct 1 14:16:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3451A0D40A for ; Thu, 1 Oct 2015 14:16:41 +0000 (UTC) (envelope-from doroseracledes@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA231873 for ; Thu, 1 Oct 2015 14:16:41 +0000 (UTC) (envelope-from doroseracledes@gmail.com) Received: by wicfx3 with SMTP id fx3so30750541wic.0 for ; Thu, 01 Oct 2015 07:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:company:user-agent; bh=bLXtz8dVPl51Ye9AP2lG9+x1ziVbQSsGecwAruBCFv0=; b=rMRYSLaExcgyZh4M16fajynIFjNYZsYisd0/i3Vy3TraLn2FGEUEdGPPCRHhToO4aS /BEp/KT2ZwtBVGzXJaOloTyELjCZj6dSxsA6Ot3Rj+Cs1a51hYvzXBeVXSxLsMS0f+oy QDgzNK5zgDJQModKsSMeV5dA3DMOOtEzw1sItq6fGH+zYqKk+kzrAvTv8oavvXdVCBIF grsoO1v0cwfx0Mc+tszlhKSHxIzmz1UDYKerasHaE1z+CMEeAUgl1Z1KaZ7XlQDvdChn j8GdfReNQUbdBHFxo9ljTkVU+nOKynn67tqGLUk/P+XfUmb7lhuI7/hhslfbyQIHquPD s1og== X-Received: by 10.194.91.193 with SMTP id cg1mr12812582wjb.88.1443708999813; Thu, 01 Oct 2015 07:16:39 -0700 (PDT) Received: from rhino.ops.albourne.com ([213.140.204.96]) by smtp.gmail.com with ESMTPSA id fv13sm3421944wic.7.2015.10.01.07.16.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 07:16:39 -0700 (PDT) Date: Thu, 1 Oct 2015 17:16:35 +0300 From: Doros Eracledes To: freebsd-questions@freebsd.org Subject: HAST + ZFS reboot hang with 'All buffers synced' on 10.2-RELEASE Message-ID: <20151001141634.GA29959@rhino.ops.albourne.com> MIME-Version: 1.0 X-Operating-System: OpenBSD 5.7 Company: Albourne America LLC X-URL: http://www.albourne.com User-Agent: Mutt/1.5.23 (2014-03-12) Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 14:16:42 -0000 Hi all, I have a setup with two SuperMicro machines with an X10SRH mobo. The O/S is running on ZFS root plus a set of two HGST drives on each machine that are configured as disk0 and disk1 sets replicated with HAST and I created a raidz1 zfs pool onto those. The setup works fine otherwise and I can change between primary and backup depending on the carp status (MASTER/BACKUP) using devd. The issue I have is when I try to reboot the machine that has the zpool mounted (the primary) it gets to "All buffers synced" and it stays there.. because the machine still replies to pings the other node carp never takes over and I have to power cycle the rebooted primary to get the secondary to take over. Note that there's no difference if I do a "reboot" or a "shutdown -r now" and if the machine doesn't have the hast zpool mounted or if I disable hast it will reboot fine. I did found several posts with ZFS issues and "all buffers synced" but it looks like the issue was with upgraded systems from 9.x to 10.x, these are freshly installed 10.2 systems. https://www.reddit.com/r/freebsd/comments/2mmzzy/101release_restart_problems_anyone/ https://forums.freebsd.org/threads/all-buffers-synced-hang-on-freebsd9.31932/ I did find this post describing that the issue may be due to the shutdown order with hastd stoping before the zfs unmount) http://tuxnetworks.blogspot.com.cy/2011/12/shutdown-stalls-using-hast-zfs.html I did add a zfs unmount zpool0 in the precmd in /etc/rc.d/hastd but that didn't help (the zfs volume didn't unmount) Any help or guidance will be greatly appreciated My setup was based on this guide: http://www.aisecure.net/2012/02/07/hast-freebsd-zfs-with-carp-failover/ Best Theodoros -- -- From owner-freebsd-questions@freebsd.org Thu Oct 1 15:31:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EACE3A0CAFA for ; Thu, 1 Oct 2015 15:31:25 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB1AF1A44 for ; Thu, 1 Oct 2015 15:31:25 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t91FVOQa095021 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 1 Oct 2015 09:31:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t91FVOKN095018; Thu, 1 Oct 2015 09:31:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 1 Oct 2015 09:31:24 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: freebsd-questions@freebsd.org Subject: Re: Create Ultimate Boot CD USB Stick In-Reply-To: <560D2294.4000303@hiwaay.net> Message-ID: References: <55EDBF5A.9010808@netfence.it> <55EE8445.9070901@sneakertech.com> <560CD1F1.1090706@kronometrix.org> <560D2294.4000303@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 01 Oct 2015 09:31:24 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 15:31:26 -0000 On Thu, 1 Oct 2015, William A. Mahaffey III wrote: > On 10/01/15 01:32, Aropalo Tommi wrote: >> Hi, >> >> I don't know what is UBCD stick so I don't know if this helps with the >> issue. >> I have created bootable USB stick from FreeBSD-10.2-RELEASE-amd64-disc1.iso >> using script provided FreeBSD >> "releng/10.2/release/amd64/make-memstick.sh" > > Where is that directory (i.e. what is the rest of the URL) ? TIA & have a > good one. /usr/src/release/amd64/make-memstick.sh From owner-freebsd-questions@freebsd.org Thu Oct 1 15:43:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C91FA0D464 for ; Thu, 1 Oct 2015 15:43:48 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72A3F1221 for ; Thu, 1 Oct 2015 15:43:48 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8F41320218 for ; Thu, 1 Oct 2015 11:43:41 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Thu, 01 Oct 2015 11:43:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=JRj9QMaAjQqisVG vFbAYd2w1X1U=; b=jAa9Jmm6Vit+werW8EXz9KjAsiq0qIUAfps76OTJP5LI511 UX8mYWURoLcZAReLsIDD3zemBAAI0K1LLVhTpQzTudgOsPcDPy2QHB/kJzudNHCN mzLF3apXZqHthCxZ7iD+STisORVKjfYc0HmOML5my24a9carMGxq9KTMAAW4= Received: by web3.nyi.internal (Postfix, from userid 99) id 60A9410A64E; Thu, 1 Oct 2015 11:43:41 -0400 (EDT) Message-Id: <1443714221.3983239.398738409.5D3608D5@webmail.messagingengine.com> X-Sasl-Enc: yYGY6IIpx8AmgjsWxvws5UEEAel06JX3zid5ELn0YDdH 1443714221 From: Mark Felder To: "Michael B. Eichorn" , Alexandre , FreeBSD Questions Mailing List FreeBSD Questions Mailing List MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-6d8d90a6 Subject: Re: SSHguard & IPFW Date: Thu, 01 Oct 2015 10:43:41 -0500 In-Reply-To: <1443531575.1236.13.camel@michaeleichorn.com> References: <1443531575.1236.13.camel@michaeleichorn.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 15:43:48 -0000 On Tue, Sep 29, 2015, at 07:59, Michael B. Eichorn wrote: > > Is there any chance that you might have followed an old guide? In > sshguard < 1.5 a valid configuration option was to use syslog to kickoff > sshguard and not use sshguard enable, but this is now depreciated in > favor of the new 'Log Sucker' introduced in v1.5. > I noted a problem in the PR that was just opened: "Using sshguard via syslogd is convenient because it will auto-spawn a new process if sshguard were to die. However, if syslogd receives a HUP signal it sends a TERM to any piped children (by design). This kills sshguard, removing the entries from your firewall's sshguard table. You're now open to attacks by those on your blocklist until a new log entry makes syslogd spawn a new sshguard process. This is very bad." And syslogd can get HUPs hourly: # Rotate log files every hour, if necessary. 0 * * * * root newsyslog -- Mark Felder ports-secteam member feld@FreeBSD.org From owner-freebsd-questions@freebsd.org Thu Oct 1 16:00:34 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 465CEA0BE17 for ; Thu, 1 Oct 2015 16:00:34 +0000 (UTC) (envelope-from verde@live.fr) Received: from DUB004-OMC4S13.hotmail.com (dub004-omc4s13.hotmail.com [157.55.2.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62C7A1305 for ; Thu, 1 Oct 2015 16:00:32 +0000 (UTC) (envelope-from verde@live.fr) Received: from DUB126-W12 ([157.55.2.73]) by DUB004-OMC4S13.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 1 Oct 2015 08:59:23 -0700 X-TMN: [ZtjVqBxEKskL7Sibp31TSoJSIEm/nEWv+4oOCGdqNAM=] X-Originating-Email: [verde@live.fr] Message-ID: From: marvin nurit To: "freebsd-questions@FreeBSD.org" Subject: Probleme de telechargement/Problem to download Date: Thu, 1 Oct 2015 17:59:23 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 01 Oct 2015 15:59:23.0558 (UTC) FILETIME=[240D2460:01D0FC62] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 16:00:34 -0000 Bonjours=2C j'ai un probleme=2C je suis etudiant et ma connection etudiante= bloque les connection ftp et torrent=2C donc je voulais savoir si il n'y a= pas d'autre moyen pour telecharger freebsd? Merci d'avance pour votre reponse. Hi=2C i've a problem=2C i'm student and my student connection blocks ftp an= d torrent connections=2C so i would like to know if there's another way to = download freebsd? Thank you in advance for your reply. = From owner-freebsd-questions@freebsd.org Thu Oct 1 16:57:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 144AEA0D935 for ; Thu, 1 Oct 2015 16:57:48 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id EB4FD1E84 for ; Thu, 1 Oct 2015 16:57:47 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from anza.vindaloo.com (ool-457cdf63.dyn.optonline.net [69.124.223.99]) by yavin.vindaloo.com (Postfix) with ESMTP id 8A8C25082C for ; Thu, 1 Oct 2015 12:50:55 -0400 (EDT) Received: from hadar.local (hadar.vindaloo.com [172.24.145.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anza.vindaloo.com (Postfix) with ESMTPSA id 1761B101CD for ; Thu, 1 Oct 2015 12:50:55 -0400 (EDT) Resent-From: Christopher Sean Hilton Resent-Date: Thu, 1 Oct 2015 12:50:54 -0400 Resent-Message-ID: <20151001165054.GB1268@hadar.local> Resent-To: User Questions X-Original-To: chris@vindaloo.com Delivered-To: chris@vindaloo.com Received: from hadar.local (hadar.vindaloo.com [172.24.145.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anza.vindaloo.com (Postfix) with ESMTPSA id D378D101CD; Thu, 1 Oct 2015 12:49:40 -0400 (EDT) Date: Thu, 1 Oct 2015 12:49:35 -0400 From: Christopher Sean Hilton To: Ian Smith Subject: Protecting sshd - Was: SSHguard & IPFW Message-ID: <20151001164935.GA1268@hadar.local> References: <20151001033001.R67283@sola.nimnet.asn.au> <20151001173313.T67283@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <20151001173313.T67283@sola.nimnet.asn.au> User-Agent: Mutt/1.5.23 (2014-03-12) X-Loop: mail.vindaloo.com X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 16:57:48 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 01, 2015 at 06:32:50PM +1000, Ian Smith wrote: [ snip... ] > Well I'm not as concerned about sshd vulnerabilities as I am about lots= =20 > of superfluous logging from (usually) oft-repeated drive-by attempts on= =20 > port 22, often across all 6 IPs of a /29. And yes, I prefer using port= =20 > 22, despite the relief that using alternative ports does offer, mainly=20 > to keep things simple for users. This way, all other hosts attempting=20 > connections to port 22 simply vanish. >=20 The way I see it, reducing the flood of log entries is where SSHguard would shine but it can't really add a meaningful measure to your overall security. The crux of the issue is ssh with password auth. You are either allowing passwords or you aren't. If you aren't allowing passwords then the brute force industry chances of successfully compromising your servers are very very low and you are relatively safe. If you allow passwords, you're open to their attack and if you have any weak passwords, it's a matter of time. If you don't allow passwords then your only threat is a brute force attack using weakly generated keys. There have been a number of defects and outright attacks on public/private keys over the years. Most of them have centered on pseudo random number generation. Break the random number generator or nail down it's initial state and you limit the number of key-pairs. It is possible to do this to the point where you can make a dictionary of weak keys. For a given state that dictionary could be complete. Right now though I have seen no evidence that the ssh brute force cloud is testing keys in this manner. I am in fact surprised that the brute force cloud doesn't enumerate ssh servers that don't accept passwords and leave them alone. It seems a waste of effort to me to test passwords against a server that says 'no' to every password. They could continue testing out of hope that you have a Match clause in sshd_config that allows a subset of users to login via password or because they have a dictionary of compromised ssh keys. Maybe they just like annoying the crap out of sysadmins by filling up their logs. If you are allowing passwords, and I understand that some places "must" for various reasons, then the brute force industry may or may not have a valid username/password pair for your server in their dictionary. If they do, SSHguard will not stop them from finding it. It will probably delay them from finding it and it may delay them for months or years but it is only a delay. SSHguard triggers against invalid credentials detection in your log files. By definition, valid credentials don't generate the log entry that SSHguard needs to take action. The action that SSHguard takes it so block access to the offending IP address of a server that tries bad credentials too often. It would be naive to think that brute force mechanism can't detect when it's black-holed and try a different host. If you can't mitigate your risk by requiring keys you should require high complexity passwords and periodically use a password audit tool against your credentials database to insure that those rules are being followed. No matter what you do, you should employ defense in depth. By extending the amount of time it takes to crack your defenses SSHguard can be a part of that. It can also put your firewall back into your overall defense strategy. But at the end of the day, if you're using SSHguard as your single line of defense, you are really just hoping that a group of people who have shown amazing patience are just going to give up on attacking your defenses and move on to your neighbors because your castle is taking too long to get into.=20 There's lots of good resources on this subject. Michael Lucas' book: "SSH Mastery" is a short read and has great advice on hardening your ssh server while allowing you to continue functioning in a more secure environment. Peter Hansteen has written and talked extensively about the brute force cloud in his blog. An early article in the series is here: http://bsdly.blogspot.ca/2008/12/low-intensity-distributed-bruteforce.= html I really think that consulting one or both of these sources can go a long way towards taking informed action on this problem. --=20 Chris __o "All I was trying to do was get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)____.___o____..___..o...________ooO..._____________________ Christopher Sean Hilton [chris/at/vindaloo/dot/com] --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWDWQfAAoJEE2ar4QHIpj4/swP/2J/LuCq0VgGQ4UeCmtS2Rrm 5Kr9DjW6ik68ZsS8W98/qd4BE1zwh8jbvAXcSkKFK5h1hlQhLdlQYv1IhIY9s7Gj dCdi61Tsy+8QNWHiR4chL6F3d1jPb/whwaJa+sYn/9q5OyGKqJpv4nhE+2UZVY73 GmuLlIJxLm08n/pe1zx6g2paHUJiZaqZkDq7j/pDU4Iv1GdQXNO0TW9J+egz8Orh 6cdCaqRfmbE2MVuvMxmjO/eqDzOTYmZhNrrWpJFasoVKG0hqax3+rPCzh/vtB5bb cj9dPvzKbVqpfRw3Ng3Uu60IbgABOk/rFVfixCrAbmOR0o+PtJZje6wSe7KFUqgm 5yISqPPwN0RXALfO+95yRdWiZ/yngbBKaYQVPoMC1K8tLU36zap7t6tmS6iroXIT RtjukiX3Xs+F3hUHZSCv27uD65zwcXON4K4waxDWI4UZsciVHxgSogRaP6XrRkeg mI7v4bq3/hEP80MlaBbtbodpn3nXWrXZOnfvX7/Qck6MTV3HwyixoNFlhI5SdoxK K+zFt1IcsyJOmoFgyg7tZIdV5PO1xRSYZNObx1fXKC6mQTfZtf0dkJXfaGt9pAJi 1HHuZG9rkk/EgEYBPo2fPM6MX9BT3lKtor0Q+jMouiGti8HwPiZpXn+4JwmBRS4x THcQDu2O3e3PBdPjK2hs =Giro -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From owner-freebsd-questions@freebsd.org Thu Oct 1 17:28:15 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D91E7A0CE6D for ; Thu, 1 Oct 2015 17:28:15 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) by mx1.freebsd.org (Postfix) with ESMTP id AD6661919 for ; Thu, 1 Oct 2015 17:28:15 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from dalet402 ([96.51.17.203]) by shaw.ca with SMTP id hhbmZaUOsT2vohhbnZDrUV; Thu, 01 Oct 2015 11:25:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20150330; t=1443720332; bh=E8ASKzWrhgFL1C1hdOCwz6W/0PLcuAf5QhSrQuFyDKk=; h=From:To:References:In-Reply-To:Subject:Date; b=vL3Ithi43cUsA25LddtRhTv8sAYIvUVBpp8tz3UdjeOHYpPSs97I20VhRoF3FuBr/ fK63t/a6pDVxtb6CTHhNExnSRJLfv6GhtBY5smGm9LtymJTlpI/tBxhhMQnmLkGF3f y2iwqUNs36Tccwqfq0k6F7aAiLVRg6/mqBBr/X6ZFiMleID4+B5ru38EwylJ19KURd covK9Nq1dSkRmQZdPlBZQx8TcyS0IaoXUnUrCe1Eu8oZKwddIbJO77ykYbvLnb1ffj WCp3Dx+WPC8AGbu3inAwFJCxgALCeZEtN7XjIvmevPDo9xUG9kiR/Tc24bLOsKFwqR ujyWjO+YKf7nw== X-Authority-Analysis: v=2.1 cv=NrEbCZpJ c=1 sm=1 tr=0 a=BfPab6AX9oJ7x2B/6nUJug==:117 a=BfPab6AX9oJ7x2B/6nUJug==:17 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=JPuS8YZfOhXIrXFc5ZkA:9 a=bTzZkV7urGwb9MWW:21 a=WLe-BFDyui5s6_6z:21 a=CjuIK1q_8ugA:10 From: "Dale Scott" To: "'marvin nurit'" , "'freebsd-questions@FreeBSD.org'" References: In-Reply-To: Subject: RE: Probleme de telechargement/Problem to download Date: Thu, 1 Oct 2015 11:25:40 -0600 Message-ID: <00a501d0fc6e$32cea530$986bef90$@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 thread-index: AQH0WI0xlzPsEYb5xptv5dEVuDS3gJ4QKf9w Content-Language: en-ca X-CMAE-Envelope: MS4wfEi841WStIOqH75RXGmRHA55RDNVJK/iLG+R+FGyt9lGhyyJluL0/1Xv7ryjJX1VV7oG8DeOEl65+yEEplLdylmcaLyWzoPqVEHW1ACu2h9dJtn6mWc3S/xzrDcfJnnvxTJwybHWzj9f1cEFuAohsUnqr0aoeN3Azw8VFggItBte45429rfYGnWmbcXepMIzIQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 17:28:15 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of marvin nurit > Sent: October 1, 2015 9:59 AM > To: freebsd-questions@FreeBSD.org > Subject: Probleme de telechargement/Problem to download > > Hi, i've a problem, i'm student and my student connection blocks ftp and > torrent connections, so i would like to know if there's another way to download > freebsd? > Thank you in advance for your reply. There are http mirrors, but I've lost the bookmark and a quick google search didn't turn up anything obvious (other than the handbook entries indicating mirrors are available). Hopefully someone else will have a url handy. Good luck, I'm sure you'll enjoy using FreeBSD (especially compared to the confusion and chaos of the Linux world). --- Dale R. Scott, P.Eng. Transparency with Trust From owner-freebsd-questions@freebsd.org Thu Oct 1 18:35:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17112A0D274 for ; Thu, 1 Oct 2015 18:35:35 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D14541347 for ; Thu, 1 Oct 2015 18:35:34 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 6913520AEEB6; Thu, 1 Oct 2015 19:35:30 +0100 (BST) Date: Thu, 1 Oct 2015 19:35:30 +0100 From: Matt Smith To: Christopher Sean Hilton Cc: Ian Smith , freebsd-questions@freebsd.org Subject: Re: Protecting sshd - Was: SSHguard & IPFW Message-ID: <20151001183530.GE15788@xtaz.uk> Mail-Followup-To: Matt Smith , Christopher Sean Hilton , Ian Smith , freebsd-questions@freebsd.org References: <20151001033001.R67283@sola.nimnet.asn.au> <20151001173313.T67283@sola.nimnet.asn.au> <20151001164935.GA1268@hadar.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20151001164935.GA1268@hadar.local> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 18:35:35 -0000 On Oct 01 12:49, Christopher Sean Hilton wrote: >The crux of the issue is ssh with password auth. You are either >allowing passwords or you aren't. If you aren't allowing passwords >then the brute force industry chances of successfully compromising >your servers are very very low and you are relatively safe. If you >allow passwords, you're open to their attack and if you have any weak >passwords, it's a matter of time. There are two ports which provide a pam module which is very handy for adding two factor authentication to ssh. security/oath-toolkit is the one I use but there is also security/pam_google_authenticator. With one of these you can add a line to /etc/pam.d/sshd and use an app on your phone which supports HOTP/TOTP, I personally use the Google Authenticator app. You generate a secret and scan it into the phone with a QR code and it shows a 6 digit number which changes every 30 seconds. Then if you log in to ssh with a certificate it works like normal. If you log in to ssh with a password then it *also* asks for the latest code from your phone in addition to the password. Hugely more secure as even if somebody on the internet knows your password, it's highly unlikely they will also know the code currently displayed on your phone. -- Matt From owner-freebsd-questions@freebsd.org Thu Oct 1 19:08:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48BF9A0DCC7 for ; Thu, 1 Oct 2015 19:08:36 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id 2BA43183C for ; Thu, 1 Oct 2015 19:08:35 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from anza.vindaloo.com (ool-457cdf63.dyn.optonline.net [69.124.223.99]) by yavin.vindaloo.com (Postfix) with ESMTP id 26AA85082C for ; Thu, 1 Oct 2015 15:08:34 -0400 (EDT) Received: from [172.24.147.1] (unknown [172.24.147.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anza.vindaloo.com (Postfix) with ESMTPSA id 31FFF10111; Thu, 1 Oct 2015 15:08:33 -0400 (EDT) Subject: Re: Protecting sshd - Was: SSHguard & IPFW Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_E8697054-0D92-4AD5-91F7-6D31B2C86D7C"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Pgp-Agent: GPGMail 2.5.2 From: Christopher Hilton In-Reply-To: <20151001183530.GE15788@xtaz.uk> Date: Thu, 1 Oct 2015 15:08:32 -0400 Cc: Ian Smith , freebsd-questions@freebsd.org Message-Id: <9FCF0A95-1BB7-4660-B9BB-A897CC5ABE27@vindaloo.com> References: <20151001033001.R67283@sola.nimnet.asn.au> <20151001173313.T67283@sola.nimnet.asn.au> <20151001164935.GA1268@hadar.local> <20151001183530.GE15788@xtaz.uk> To: Matt Smith X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 19:08:36 -0000 --Apple-Mail=_E8697054-0D92-4AD5-91F7-6D31B2C86D7C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 1, 2015, at 2:35 PM, Matt Smith wrote: >=20 > On Oct 01 12:49, Christopher Sean Hilton wrote: >> The crux of the issue is ssh with password auth. You are either >> allowing passwords or you aren't. If you aren't allowing passwords >> then the brute force industry chances of successfully compromising >> your servers are very very low and you are relatively safe. If you >> allow passwords, you're open to their attack and if you have any weak >> passwords, it's a matter of time. >=20 > There are two ports which provide a pam module which is very handy for = adding two factor authentication to ssh. security/oath-toolkit is the = one I use but there is also security/pam_google_authenticator. With one = of these you can add a line to /etc/pam.d/sshd and use an app on your = phone which supports HOTP/TOTP, I personally use the Google = Authenticator app. You generate a secret and scan it into the phone with = a QR code and it shows a 6 digit number which changes every 30 seconds. >=20 > Then if you log in to ssh with a certificate it works like normal. If = you log in to ssh with a password then it *also* asks for the latest = code from your phone in addition to the password. Hugely more secure as = even if somebody on the internet knows your password, it's highly = unlikely they will also know the code currently displayed on your phone. I would add that to my bag of tricks and consider it worlds more secure = than sshd with only passwords. Is this the same Authenticator App that = Google uses for two factor? I=E2=80=99m not sure where I would put it on = the spectrum between Passwords Alone and Ssh-Keys Alone but it would be = far enough along on the More Secure side that I would trust it. Chris __o "All I was trying to do was get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)____.___o____..___..o...________ooO..._____________________ Christopher Sean Hilton [chris/at/vindaloo/dot/com] > -- > Matt --Apple-Mail=_E8697054-0D92-4AD5-91F7-6D31B2C86D7C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWDYSwAAoJEE2ar4QHIpj4tPsQALfzadtEaDiGg4K2gjCrOsxR wRgGzwXAFaOoMSCWUJhmkdaq1J0FUkqajfYWWqFYJ2huqvSwLUHsFFhL9G5jsjRu TaJjMxG1JLY03EB+uvHceujBUI1ryBHUVPzp1buabAMxhjPbrRRbD6hCyer/XnLt 5flYMq1/Uz6b68hLWHgl4zE3Uw5W7MjAt3rog2GlOim76vEJ90GQZvrSGIBLcabU AMCEVCZyaCJavtznYEtB4s4s+Wn0c/q1TbokhjMzNSN2i3y65NNqt6KcOnzcPHm7 V/OdHZCEaBBqtBUl6CeKG0YaGoRfo08wQ8fT6Rgy39n9PF648FaXkE4vNlkqHrll Mj0mEzaDSfJSavSv6XlxeUIJ5lETiz/iGNBbvqAOvGR8TKC8KgJy931VltSFlxHc e3JpmPZV9f7aY7zSXVeB1WIeQSIwf/HuI7R+FKyb0E5lmkg85+vS7vxE0MDlm/h3 V6RnroA41F0mIeKJS9sSDty7lq2RB0Mx8fmeCi5FitVoyyPQaZcFz3q4g4DmUlqH nmH4pRVqTXJE29mvS3rWHqqFwNrp4nJdtTzFaNeOU2IPN84qhKjBgThMyxA6rgOX aq6ETR4CfmfP4t1iw/yZtAsv5+8BJ4d66wRRVHcL++cgpr4qWGjSXz1wNN7xBS70 De24oIzvbcXjjUCypZhM =YVAY -----END PGP SIGNATURE----- --Apple-Mail=_E8697054-0D92-4AD5-91F7-6D31B2C86D7C-- From owner-freebsd-questions@freebsd.org Thu Oct 1 19:11:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85757A0DF7F for ; Thu, 1 Oct 2015 19:11:37 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from yavin.vindaloo.com (yavin.vindaloo.com [72.52.97.79]) by mx1.freebsd.org (Postfix) with ESMTP id 6B71D1B3E for ; Thu, 1 Oct 2015 19:11:36 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from anza.vindaloo.com (ool-457cdf63.dyn.optonline.net [69.124.223.99]) by yavin.vindaloo.com (Postfix) with ESMTP id 8DB035082C for ; Thu, 1 Oct 2015 15:11:36 -0400 (EDT) Received: from [172.24.147.1] (unknown [172.24.147.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anza.vindaloo.com (Postfix) with ESMTPSA id DBBFE10111; Thu, 1 Oct 2015 15:11:35 -0400 (EDT) Subject: Re: Protecting sshd - Was: SSHguard & IPFW Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_51810E7E-C9EB-4C80-A007-7DEDCAADE397"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Pgp-Agent: GPGMail 2.5.2 From: Christopher Hilton In-Reply-To: <9FCF0A95-1BB7-4660-B9BB-A897CC5ABE27@vindaloo.com> Date: Thu, 1 Oct 2015 15:11:35 -0400 Cc: Ian Smith , freebsd-questions@freebsd.org Message-Id: <32928E48-763C-4A0E-BC4D-6645C98EEE93@vindaloo.com> References: <20151001033001.R67283@sola.nimnet.asn.au> <20151001173313.T67283@sola.nimnet.asn.au> <20151001164935.GA1268@hadar.local> <20151001183530.GE15788@xtaz.uk> <9FCF0A95-1BB7-4660-B9BB-A897CC5ABE27@vindaloo.com> To: Matt Smith X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 19:11:37 -0000 --Apple-Mail=_51810E7E-C9EB-4C80-A007-7DEDCAADE397 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Oct 1, 2015, at 3:08 PM, Christopher Hilton = wrote: >=20 >> There are two ports which provide a pam module which is very handy = for adding two factor authentication to ssh. security/oath-toolkit is = the one I use but there is also security/pam_google_authenticator. With = one of these you can add a line to /etc/pam.d/sshd and use an app on = your phone which supports HOTP/TOTP, I personally use the Google = Authenticator app. You generate a secret and scan it into the phone with = a QR code and it shows a 6 digit number which changes every 30 seconds. >>=20 >> Then if you log in to ssh with a certificate it works like normal. If = you log in to ssh with a password then it *also* asks for the latest = code from your phone in addition to the password. Hugely more secure as = even if somebody on the internet knows your password, it's highly = unlikely they will also know the code currently displayed on your phone. >=20 > I would add that to my bag of tricks and consider it worlds more = secure than sshd with only passwords. Is this the same Authenticator App = that Google uses for two factor? I=E2=80=99m not sure where I would put = it on the spectrum between Passwords Alone and Ssh-Keys Alone but it = would be far enough along on the More Secure side that I would trust it. >=20 Duh, you could just read the email rather than skimming it and make a = smart assumption from the name "security/pam_google_authenticator". :-) Chris __o "All I was trying to do was get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)____.___o____..___..o...________ooO..._____________________ Christopher Sean Hilton [chris/at/vindaloo/dot/com] --Apple-Mail=_51810E7E-C9EB-4C80-A007-7DEDCAADE397 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWDYVnAAoJEE2ar4QHIpj4HTUP/2RCmrBV3Vm6V6gCbJaXOnVv Ax6D7IOyTeUvyD36iLyWY+gqdkNj1mvrL+f94RucEMdbz+ZASnjCa2+RguDVZ0pD SoTB2+1/Rxq6vuWhAduNEuMP3uipthMv+QyAf+S5Bmsubi3ijs8jyNvzsVo7jYjo xHAdZxbfWYoDMMrB93avLaUc3nqGvzmEGe5Omu16Jd3zpx6L1xYr/qagcDvLqma2 r+UZClQeKEA9mFlUHjgjR1qWqzQpiUcLH1PWpMEluEEYSbmMOjUfpaY2+SwLuKgz ybSCQWyhvEahVnGU+wCaorulcuxA4uz39DsRNc2aQ3yjdxLiAcDtGQOF8M4b/k30 Nwyf+NHkiwtn3axKpY6Ie1melcpauT7PxZggNJTDd3zEnTwnnUNZUfU7lhZxxO8X u0ZRpgFlWpCyM/C9TDcJJkBnyR3IkxKcKjKeMZXojv6tfiHW9N6QwLPV9aaYXUPh WNQMHqmhW/ZQUViLfXEhCQ53zpXyp5YNDLmNf41Hkz7bfMIfJBLSLkAm2wNdlKMu 3WvQ6YWUmvxE5AOKN1ClcZyo4IQYa2CBcvC8L4Y8GjybISjpdDzfJ083NjRWwz0k +X/LOQX7wZ4vppaoohuaAAaOm7ypGWTIJ1ZBEUPeW+ARKhI+M0jKlHkawhFg6Fk6 I/8k4q9SK1qWOWNi8WWu =EsJc -----END PGP SIGNATURE----- --Apple-Mail=_51810E7E-C9EB-4C80-A007-7DEDCAADE397-- From owner-freebsd-questions@freebsd.org Thu Oct 1 19:22:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22D99A0CB6D for ; Thu, 1 Oct 2015 19:22:03 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay102.isp.belgacom.be (mailrelay102.isp.belgacom.be [195.238.20.129]) by mx1.freebsd.org (Postfix) with ESMTP id B8A7E13A2 for ; Thu, 1 Oct 2015 19:22:02 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=d6O4W030xngO5QkzyDOul/vmjwC4sFqcTOV5kZr+d1k= c=1 sm=2 a=6I5d2MoRAAAA:8 a=dem_UprG048EEpymrh0A:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AkCgBHhg1W//1LsVtdAYMngTMPvXEBDYQ+gzYCgTc5FAEBAQEBAQGBCkEBAgKDXwEBBCcTHDMLGAkQAhMPKh4ZG4gXAct/AQEIAgEfi3GFFBcRAYQDAQSVeY0OWH6NOIhcgmCBDx8BAUKEBDwzhj1iglkBAQE Received: from 253.75-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.75.253]) by relay.skynet.be with ESMTP; 01 Oct 2015 21:20:49 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id t91JKmDZ088769 for ; Thu, 1 Oct 2015 21:20:48 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Thu, 1 Oct 2015 21:20:47 +0200 From: Tijl Coosemans To: freebsd-questions@freebsd.org Subject: Re: How to get libiconv on FreeBSD 10 convert utf-8 -> wchar_t ? Message-ID: <20151001212047.1f79e315@kalimero.tijl.coosemans.org> In-Reply-To: <1443688672992-6042436.post@n5.nabble.com> References: <1443688672992-6042436.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 19:22:03 -0000 On Thu, 1 Oct 2015 01:37:52 -0700 (MST) kora via freebsd-questions wrote: > I'm new working / developing on FreeBSD. > I tried to port my software written in C++ to FreeBSD 10.2. > I have a "utf-8 -> wchar_t"- converting problem using the "libiconv" > converter library in my C code. > > I have heard about a problem of that kind pending since FreeBDS 10. > Has anybody a hint or solution for that problem ? WCHAR_T conversion is not supported by FreeBSD's implementation of iconv so you must install GNU libiconv (converters/libiconv port). Then compile your code with "-I/usr/local/include" to use /usr/local/include/iconv.h instead of /usr/include/iconv.h and link your code with "-L/usr/local/lib -liconv". From owner-freebsd-questions@freebsd.org Thu Oct 1 19:52:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B82B6A0D430 for ; Thu, 1 Oct 2015 19:52:30 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from mail.eskimo.com (mail.eskimo.com [204.122.16.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9360C1A32 for ; Thu, 1 Oct 2015 19:52:30 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from shellx.eskimo.com (shellx.eskimo.com [204.122.16.2]) by mail.eskimo.com (Postfix) with ESMTP id EDAD91A3E; Thu, 1 Oct 2015 12:46:55 -0700 (PDT) Received: by shellx.eskimo.com (Postfix, from userid 51518) id A8FDF44F; Thu, 1 Oct 2015 12:46:55 -0700 (PDT) Date: Thu, 1 Oct 2015 12:46:55 -0700 From: Joseph Olatt To: Christopher Hilton Cc: Matt Smith , Ian Smith , freebsd-questions@freebsd.org Subject: Re: Protecting sshd - Was: SSHguard & IPFW Message-ID: <20151001194655.GA15842@eskimo.com> References: <20151001033001.R67283@sola.nimnet.asn.au> <20151001173313.T67283@sola.nimnet.asn.au> <20151001164935.GA1268@hadar.local> <20151001183530.GE15788@xtaz.uk> <9FCF0A95-1BB7-4660-B9BB-A897CC5ABE27@vindaloo.com> <32928E48-763C-4A0E-BC4D-6645C98EEE93@vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32928E48-763C-4A0E-BC4D-6645C98EEE93@vindaloo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.98.7 at mail.eskimo.com X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 19:52:30 -0000 On Thu, Oct 01, 2015 at 03:11:35PM -0400, Christopher Hilton wrote: > On Oct 1, 2015, at 3:08 PM, Christopher Hilton wrote: > > > >> There are two ports which provide a pam module which is very handy for adding two factor authentication to ssh. security/oath-toolkit is the one I use but there is also security/pam_google_authenticator. With one of these you can add a line to /etc/pam.d/sshd and use an app on your phone which supports HOTP/TOTP, I personally use the Google Authenticator app. You generate a secret and scan it into the phone with a QR code and it shows a 6 digit number which changes every 30 seconds. > >> > >> Then if you log in to ssh with a certificate it works like normal. If you log in to ssh with a password then it *also* asks for the latest code from your phone in addition to the password. Hugely more secure as even if somebody on the internet knows your password, it's highly unlikely they will also know the code currently displayed on your phone. > > > > I would add that to my bag of tricks and consider it worlds more secure than sshd with only passwords. Is this the same Authenticator App that Google uses for two factor? I???m not sure where I would put it on the spectrum between Passwords Alone and Ssh-Keys Alone but it would be far enough along on the More Secure side that I would trust it. > > > > Duh, you could just read the email rather than skimming it and make a smart assumption from the name "security/pam_google_authenticator". :-) Many years ago, I grew concerned about network bandwidth usage and system resource utilization due to brute force attacks. My servers were getting pounded 24x7. So, I put together a simple Two-Factor Authentication system. The system was built for my FreeBSD servers and supports the following: (a) VPN (OpenVPN) (b) SSH (c) Web Single Sign-on (WSSO) It works as follows: (1) User makes request for account. Manager/supervisor approves account. Has option to specify expiration date. User also chooses password at this time (first factor; something the user knows). (2) System will build a HTML file for user. In it is embedded a GPG block that contains the login and expiration date. This is the second factor (something the user has) (3) When the user wants to VPN, SSH or WSSO, the user double-clicks (or opens the HTML in browser) and enters his/her password. The GPG block and password are sent to web server via HTTPS. The HTML file can be placed on devices the user uses (laptop, desktop, phone, etc.) or on a USB thumb drive. (4) For SSH the system adds the user's IP to a PF table; For WSSO, a secure cookie is created; For VPN, a one-time password is displayed on the browser and IP is added to PF and a DB entry created by a custom PAM module that OpenVPN talks to during authentication. I had open-sourced the entire code and put it on SourceForge.net. The system was called Taferno (see: http://taferno.com). I have not pushed updates to the code to SourceForge in a long time. If there is interest, I will. I still use the system on my servers and hence updates have been made. The system is written in C++ (to use the GPGME libraries at that time) and some PERL. I don't have a FreeBSD port made yet. There are probably more elegent solutions available today. (SSHGuard, Google Authenticator, OTP Smart Phone apps, etc.)... When the Subject of this thread changed to "Protecting sshd", I thought I'd share what I had done. From owner-freebsd-questions@freebsd.org Thu Oct 1 20:05:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDDD9A0DE06 for ; Thu, 1 Oct 2015 20:05:23 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from douhisi.pair.com (douhisi.pair.com [209.68.5.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC06A1043 for ; Thu, 1 Oct 2015 20:05:23 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from [10.2.2.1] (pool-173-48-121-235.bstnma.fios.verizon.net [173.48.121.235]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by douhisi.pair.com (Postfix) with ESMTPSA id E8EFE3F77D; Thu, 1 Oct 2015 16:05:15 -0400 (EDT) Message-ID: <560D91FB.40208@sneakertech.com> Date: Thu, 01 Oct 2015 16:05:15 -0400 From: Quartz MIME-Version: 1.0 To: marvin nurit CC: "freebsd-questions@FreeBSD.org" Subject: Re: Probleme de telechargement/Problem to download References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 20:05:24 -0000 > Hi, i've a problem, i'm student and my student connection blocks ftp > and torrent connections, so i would like to know if there's another > way to download freebsd? Thank you in advance for your reply. Assuming only actual ftp connections are blocked (and not also any URL with 'ftp' in it), you should be able to visit: http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ http://ftp1.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ http://ftp2.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ ...etc. A lot (but not all) of the main mirrors support http connections if you just change the protocol header. From owner-freebsd-questions@freebsd.org Thu Oct 1 22:46:04 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E1C7A0E3A7 for ; Thu, 1 Oct 2015 22:46:04 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D69B018C1 for ; Thu, 1 Oct 2015 22:46:02 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id t91Mjrpb000380 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 1 Oct 2015 23:45:56 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <560DB7A3.1000707@fjl.co.uk> Date: Thu, 01 Oct 2015 23:45:55 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD and two different networks References: <6371943.nqOrXjNnlq@thinkpad> In-Reply-To: <6371943.nqOrXjNnlq@thinkpad> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 22:46:04 -0000 On 30/09/2015 21:58, Maxim V Filimonov wrote: > Dear All, > > I have a FreeBSD machine at work. It's mostly connected to the so-called > "internal" network that has a static ip: let it be 172.16.1.113/12. The > default gateway for that network is 172.16.1.1. > Sometimes, I need to connect this machine to another network that uses DHCP. > Its network mask differs: it's 192.168.1.0/24. The second network uses DHCP. > > The question is: can I set both of the default gateways (skip DHCP: I can > configure the interface for the "external" network manually) in some way? Can > I set up some kind of a daemon that checks whether one of my gateways is > accessible and forwards all of the traffic through that gateway? Thank you > very much in advance. Someone will probably know a good answer for this, but a quick and dirty way would be to run a simple script on a cron job (or from rc.local if you rebooted each time) and just ping something that's going to be different on each network. For example, try running ifconfig to set up for the first network (assuming at startup) and then ping the gateway on that. If it fails (doesn't return 0) then try the other. As the network may take a while to settle, just loop around a few times until one works. If you're thinking in terms of having two default gateways you're going the wrong way. It seems logical to be able to have two, but routing doesn't work that way. At this risk of telling you what you may already know well enough, the command to set a default gateway from the command line is "route add default 172.16.1.1". Use "route del default" first if necessary. So, for startup, you'd end up with something like (and don't quote me or expect this to be free of syntax error etc): ----------------------- while : do ifconfig ...... whatever for your WORK network sleep 10 if /sbin/ping -q -o -t 5 -c 1 172.16.1.1 >/dev/null then echo "We're connected to the work network!" route del default route add default 172.16.1.1 exit fi ifconfig ...... whatever for your HOME network sleep 10 if /sbin/ping -q -o -t 5 -c 1 192.168.1.1 >/dev/null then echo "We're connected to the home network!" route del default route add default 192.168.1.1 exit fi done ----------------------- Having this as in infinite loop is, of course, a bad idea but the exit is left as an exercise for the reader. From owner-freebsd-questions@freebsd.org Thu Oct 1 23:51:24 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A36A5A0DD08 for ; Thu, 1 Oct 2015 23:51:24 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F4831A32 for ; Thu, 1 Oct 2015 23:51:24 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: by padhy16 with SMTP id hy16so88756018pad.1 for ; Thu, 01 Oct 2015 16:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=u1IS+SqU/4B7NG0qZk1giYuXOCAtC26Kupix+nW7Kao=; b=tjluQYtBbOj7FFU1byRczNrkcmw7Fy7Tdg6GpDPTwWoFOtbAtX6arVLAVYYaRVW68K W8k6/TA+3er6JpwkNLlgDQNwuZG2XkUKdLtbOwLmughn9qCaA+BRMVEjGk2Dyi9WdlV5 +tzm0qzs7gl7mauKZo7kabGBoT5IarN7Q3hy58EeJjLFwGAT4CJcYfoH7NgHlmQCTZ4N JKxZOYZmq0hJqrgMbzubOibjcZwiWvj2X9by2U6lGGY3Fasc7pb/NQD4dfof9wrj7iuI hsX9fblkSDas7FWvRY3tJh7BmDGQeLDOZ2NncZNwM6zjNQrIC78x+4/AnfVtjgK/AYE4 Or+A== X-Received: by 10.67.1.105 with SMTP id bf9mr16049045pad.64.1443743483297; Thu, 01 Oct 2015 16:51:23 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by smtp.gmail.com with ESMTPSA id bc1sm8829237pbb.66.2015.10.01.16.51.22 for (version=TLS1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Oct 2015 16:51:22 -0700 (PDT) From: aurfalien Subject: auth sys and 16 group limit for NFS Message-Id: Date: Thu, 1 Oct 2015 16:51:20 -0700 To: FreeBSD Mailing List Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 23:51:24 -0000 Hi, First, excuse me if this is not posted on the right list. I=92ve been hitting this limit for a few years now, working around it by = simply managing LDAP group membership. But was curious if the only way = to fix is moving to kerberos for auth? Some sites say its no longer an issue in FreeBSD 9/later and newer Linux = kernels of the same vintage. But I am still hitting it. Curious of the community has some words of wisdom etc=85 Thanks in advance, - aurf "Janitorial Services" From owner-freebsd-questions@freebsd.org Fri Oct 2 03:42:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F836A0C27E for ; Fri, 2 Oct 2015 03:42:18 +0000 (UTC) (envelope-from doroseracledes@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19C621C3E for ; Fri, 2 Oct 2015 03:42:18 +0000 (UTC) (envelope-from doroseracledes@gmail.com) Received: by wicgb1 with SMTP id gb1so15161399wic.1 for ; Thu, 01 Oct 2015 20:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:message-id:date :subject:from:in-reply-to:references:to; bh=I/H00Q1VjtJdof0lRM2O4w0zoDTFmnZeFTwQcjvljKQ=; b=yj3b+fsdMFPb0c4bVCc3Dh9Od51tvq+yyjRxMgZvrFu3k3lEsoRqQoJlOwV5L8jL4l 67bu2fBT5StvsKR3yQjCDeFoKLq2u6wJw7TajbgPCZ/76V9AbD/Krkzge294ujtOeQ+f LZ1BBZxlAWGmQBsGSSpO2mGhkUFZ7+mboHYURNaUQheMyBVTAvsf9xO3Os3Kl4c9UxtC qVXUHHRpwQu06bF+AC+doLMS83wzb9ffvsIOe7OeofW3bypov3ZwOv6rlQ2qKtxkYCsQ IAF74as0ZX8W+uRFfUdIJyNdPyKWbSOvQxijF0cghK48yMb00GakyfqGssjvk7cnOcwy tkKg== X-Received: by 10.181.29.74 with SMTP id ju10mr2028543wid.5.1443757336551; Thu, 01 Oct 2015 20:42:16 -0700 (PDT) Received: from [127.0.0.1] ([213.140.204.96]) by smtp.gmail.com with ESMTPSA id go5sm6207643wib.3.2015.10.01.20.42.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Oct 2015 20:42:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.3.2.2639) Message-ID: <20151002034215.5804117.75106.9000@gmail.com> Date: Fri, 02 Oct 2015 06:42:15 +0300 Subject: Re: FreeBSD and two different networks From: doroseracledes@gmail.com In-Reply-To: <560DB7A3.1000707@fjl.co.uk> References: <6371943.nqOrXjNnlq@thinkpad> <560DB7A3.1000707@fjl.co.uk> To: Frank Leonhardt , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 03:42:18 -0000 How about dhclient enter-hooks: =E2=80=8Ehttp://www.macfreek.nl/memory/DHCP_Client_Script_Examples "If you want to have more control, e.g. only set the default route for em0,= but not for other interface, add the following lines to /etc/dhclient-ente= r-hooks: # Do not set default route on any interface except em0 if [ "$interface" !=3D "em0" ] then =C2=A0 =C2=A0 unset new_routers fi " There's also "supersede" in dhclient.conf to overwrite what dhcp provides a= nd set to something you want (think overwrite) =E2=80=8E Theodoros Sent=C2=A0from=C2=A0a=C2=A0smartphone =C2=A0=C2=A0 > Dear All, > > I have a FreeBSD machine at work. It's mostly connected to the so-called > "internal" network that has a static ip: let it be 172.16.1.113/12. The > default gateway for that network is 172.16.1.1. > Sometimes, I need to connect this machine to another network that uses DH= CP. > Its network mask differs: it's 192.168.1.0/24. The second network uses DH= CP. > > The question is: can I set both of the default gateways (skip DHCP: I can > configure the interface for the "external" network manually) in some way?= Can > I set up some kind of a daemon that checks whether one of my gateways is > accessible and forwards all of the traffic through that gateway? Thank you > very much in advance. From owner-freebsd-questions@freebsd.org Fri Oct 2 04:39:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 614FAA0C468 for ; Fri, 2 Oct 2015 04:39:09 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 45E4A180F for ; Fri, 2 Oct 2015 04:39:09 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4345EA0C467; Fri, 2 Oct 2015 04:39:09 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42D09A0C466 for ; Fri, 2 Oct 2015 04:39:09 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (eris.bzerk.org [82.95.223.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.bzerk.org", Issuer "*.bzerk.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C816C180E for ; Fri, 2 Oct 2015 04:39:08 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.9/8.14.9) with ESMTP id t924NQWC088465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 2 Oct 2015 04:23:28 GMT (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.9/8.14.9/Submit) id t924NQ6x088464 for questions@freebsd.org; Fri, 2 Oct 2015 04:23:26 GMT (envelope-from mail25@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Fri, 2 Oct 2015 04:23:26 +0000 From: Ruben de Groot To: questions@freebsd.org Subject: pkg repo broken? Message-ID: <20151002042326.GA88371@eris.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (eris.bzerk.org [127.0.0.1]); Fri, 02 Oct 2015 04:23:29 +0000 (UTC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 04:39:09 -0000 Not sure where I should report this, but: root@soekrisgw:~ # pkg install dhcp6 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.5.6 -> 1.6.0 The process will require 149 KiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y pkg: http://pkg.FreeBSD.org/FreeBSD:10:i386/latest/All/pkg-1.6.0.txz: Not Found root@soekrisgw:~ # There is a pkg-1.6.1.txz there, but it's looking for 1.6.0 hints please Ruben From owner-freebsd-questions@freebsd.org Fri Oct 2 05:15:17 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37FC6A0C0B0 for ; Fri, 2 Oct 2015 05:15:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A08A918AE for ; Fri, 2 Oct 2015 05:15:16 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (scandic865.host.songnetworks.se [212.214.188.38]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t925F4AC038840 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 2 Oct 2015 06:15:05 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t925F4AC038840 Authentication-Results: smtp.infracaninophile.co.uk/t925F4AC038840; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host scandic865.host.songnetworks.se [212.214.188.38] claimed to be liminal.local Subject: Re: pkg repo broken? To: freebsd-questions@freebsd.org References: <20151002042326.GA88371@eris.bzerk.org> From: Matthew Seaman Message-ID: <560E12CD.9080508@FreeBSD.org> Date: Fri, 2 Oct 2015 07:14:53 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151002042326.GA88371@eris.bzerk.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="979h2jnplwmCeV7cg5iWT4D9q89Mlj61K" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 05:15:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --979h2jnplwmCeV7cg5iWT4D9q89Mlj61K Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/10/2015 06:23, Ruben de Groot wrote: > There is a pkg-1.6.1.txz there, but it's looking for 1.6.0 >=20 Try running: pkg update -f first, and then retry your upgrade. Looks like your local copy of the catalogue is out of synch with the repo. That shouldn't happen, unless perhaps the clock on your machine is wrong? Cheers, Matthew --979h2jnplwmCeV7cg5iWT4D9q89Mlj61K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWDhLXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATIKgP/2T3GmWgvGkKvX2jp09O4jko VxHq/Lc0elA5xsL2E3LGdkcXTg0w01zDRnkylB6LUudGvm87HQ7zN/uby94c3FCN FCxdlFoHMYcHn7K3hQFkVEPA2zpzFQ3kl7JCHNmaKkGP9UzLdrwdUXpnSlosXiYU jX7uoyvuCuSdjZpwnMc+QJ0jgAeTOe9BltyT+jdbFe2vkWQ6dxSGvZyP/sH2tcSB 5dfK6k51T1+jFbkNoIx0k+1hJDKvbtXqgJ9o2jqdn3DBWVZVb1Mkc9BpD6gHhwth guFuuNoNIuKKtWNM/3PhzHjPF6QLuDpg6FLPGFAen7nJsqkwYRKXEZoOmBPk6DvA Y9igbwHv8x9EEgGOnvu2+g4XfrtILo8fcVeK1sUyQvKIADTdjZoxygAjXWvfaGGM frhbSTZqrGJSoS+vvEFgDyN395I9Ljxuzdo1s31YSXbU5FkO50DTupyIDo6yIJHS AxEaMirZKKasajFDvQBvd59lgfR7njRSOYpBgmsK7+P3N3/XYPDdUpc7YyL1UEp0 vaR3DC5rkndRStD2cGSCsYhDxgi6SSHPpNPM0Jm/wOyQl0beb948G/rJJbheI1J3 mQANMssqJORgrk0LDjp1sJzIRfBwp25Me5Od8OkafQl4w1XlWPul2PB8ErXiLgFG wSmDfRYmnXhOseKfbsbo =6ora -----END PGP SIGNATURE----- --979h2jnplwmCeV7cg5iWT4D9q89Mlj61K-- From owner-freebsd-questions@freebsd.org Fri Oct 2 10:24:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10C15A0D107 for ; Fri, 2 Oct 2015 10:24:45 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (shopzeus.com [87.229.70.149]) by mx1.freebsd.org (Postfix) with ESMTP id 905C4123E for ; Fri, 2 Oct 2015 10:24:44 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id 01A31889B80C; Fri, 2 Oct 2015 06:24:35 -0400 (EDT) Subject: Re: postfix + policyd-spf : ip address not recognized To: "Herbert J. Skuhra" , freebsd-questions@freebsd.org References: <560A431D.4060108@shopzeus.com> <20150929150636.GB85538@oslo.ath.cx> From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Message-ID: <560E5B61.1070109@shopzeus.com> Date: Fri, 2 Oct 2015 12:24:33 +0200 MIME-Version: 1.0 In-Reply-To: <20150929150636.GB85538@oslo.ath.cx> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 10:24:45 -0000 >> /usr/local/bin/policyd-spf exit status 1 >> Sep 29 03:49:37 shopzeus postfix/smtpd[2786]: warning: premature >> end-of-input on private/policyd-spf while reading input attribute name= > Remove net/py-ipaddress and try again! > py-ipaddress was installed using pip and not the ports tree. This is sometimes confusing: python modules can be installed with pkg, the ports tree, pip and easy_install. But py27-ipaddr was installed from the ports tree (as a dependency). For python packanges I prefer to use pip, because some pure python packages are not available from the ports tree. But sometimes they mix and I could not yet find a general good solution. After uninstalling ipaddress ("pip uninstall ipaddress") the SPF policy daemon works as expected. I think that the good solution in this case would be this: * create a patch for policyd-spf freebsd package, and remove python import statements for ipaddress package (e.g. force to use ipaddr package) * leave py27-ipaddr as a dependency for policyd-spf This python related bug was still unresolved on bugzilla two months ago. And because the new package system uses quarterly builds, the bug is still in the system. Unfortunately, I don't know how to create and submit a patch. But it would be very easy, just replacing this: ----- try: import ipaddress except ImportError: import ipaddr as ipaddress ----- Into this: ----- import ipaddr as ipaddress ----- Removing the ipaddress package is another "solution", but it not good because it can be installed as a dependency, anytime. Laszlo From owner-freebsd-questions@freebsd.org Fri Oct 2 10:33:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F475A0DAC6 for ; Fri, 2 Oct 2015 10:33:02 +0000 (UTC) (envelope-from moreno.carullo@nozominetworks.com) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0059.outbound.protection.outlook.com [157.55.234.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81777195B for ; Fri, 2 Oct 2015 10:33:00 +0000 (UTC) (envelope-from moreno.carullo@nozominetworks.com) Received: from HE1PR07MB1146.eurprd07.prod.outlook.com (10.163.178.12) by HE1PR07MB1146.eurprd07.prod.outlook.com (10.163.178.12) with Microsoft SMTP Server (TLS) id 15.1.280.20; Fri, 2 Oct 2015 10:32:49 +0000 Received: from HE1PR07MB1146.eurprd07.prod.outlook.com ([10.163.178.12]) by HE1PR07MB1146.eurprd07.prod.outlook.com ([10.163.178.12]) with mapi id 15.01.0280.017; Fri, 2 Oct 2015 10:32:49 +0000 From: Moreno Carullo To: "freebsd-questions@freebsd.org" Subject: Console -- insecure settings Thread-Topic: Console -- insecure settings Thread-Index: AQHQ/P2vuK1AiSy4c0CCfr/K8SJAxA== Date: Fri, 2 Oct 2015 10:32:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=moreno.carullo@nozominetworks.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [109.164.201.164] x-microsoft-exchange-diagnostics: 1; HE1PR07MB1146; 5:dNB5pBAo/Fgdb/CZYZQZnp5rKkEM1PTwewwuRcH4iK95CmmuMZF7onN4mlGApY2Sm7QkpVfIOVVGakok5YM84CR5kO5G+MUaUWUfV0kxd0hI9I/bUpc6G0aQaNfqJIwworGW+bEvKdKoGUQmHtXnPg==; 24:rrYuAFHSK4j1GK8KNduOruPBMrb3MMCt9L//K6D8cKNST+nDCrIg4uQgePTdLkQTHVDxx/vtzZsG47FSzPBtjwK79dmwrc2oUbi+yVeSpaE=; 20:ZmEK6ytGqMRjux3AenTW2puzgyRipSmqJwlYwdKYAGCGCH8qFS6hg4oFLsmPF7IGKuVEdjwFVYt4GOZ0FH/yow== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR07MB1146; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001); SRVR:HE1PR07MB1146; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB1146; x-forefront-prvs: 0717E25089 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(189002)(164054003)(53754006)(199003)(86362001)(83716003)(10400500002)(5002640100001)(77156002)(551544002)(5007970100001)(5004730100002)(40100003)(189998001)(19580395003)(450100001)(87936001)(92566002)(62966003)(105586002)(33656002)(106116001)(106356001)(66066001)(2351001)(2501003)(19617315012)(2900100001)(64706001)(46102003)(122556002)(5001830100001)(107886002)(101416001)(110136002)(229853001)(54356999)(16236675004)(15975445007)(11100500001)(5001920100001)(5001860100001)(50986999)(82746002)(4001540100001)(558084003)(81156007)(36756003)(5008740100001)(102836002)(97736004)(77096005)(5001960100002)(68736005)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB1146; H:HE1PR07MB1146.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nozominetworks.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nozominetworks.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2015 10:32:48.7246 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6f04d14b-0796-4b81-b7fd-779778e05341 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB1146 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 10:33:02 -0000 Hi all, I would like to set the console as insecure as documented here: https://www.freebsd.org/doc/handbook/boot-introduction.html the issue is that the system seems to ignore the setting, as the single use= r mode does NOT prompt for password. Any ideas? Thanks, Moreno From owner-freebsd-questions@freebsd.org Fri Oct 2 11:01:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA183A0D40B for ; Fri, 2 Oct 2015 11:01:44 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 71AF31BC8 for ; Fri, 2 Oct 2015 11:01:43 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id t92AwZg1086481; Fri, 2 Oct 2015 11:58:35 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: auth sys and 16 group limit for NFS To: aurfalien , FreeBSD Mailing List References: From: Arthur Chance Message-ID: <560E635A.8070505@qeng-ho.org> Date: Fri, 2 Oct 2015 11:58:34 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:01:44 -0000 On 02/10/2015 00:51, aurfalien wrote: > Hi, > > First, excuse me if this is not posted on the right list. > > I’ve been hitting this limit for a few years now, working around it > by simply managing LDAP group membership. But was curious if the > only way to fix is moving to kerberos for auth? > > Some sites say its no longer an issue in FreeBSD 9/later and newer > Linux kernels of the same vintage. > > But I am still hitting it. > > Curious of the community has some words of wisdom etc… The limit is part of the RFC specification of NFS for versions < 4. I think the usual advice is "use NFSv4" if you need more than 16 groups. I have no personal experience with NFSv4 though. > > Thanks in advance, > - aurf > > "Janitorial Services" :-) -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Fri Oct 2 11:04:29 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41EFEA0D6D0 for ; Fri, 2 Oct 2015 11:04:29 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DC8AE1D07 for ; Fri, 2 Oct 2015 11:04:28 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id t92B4QoA086511; Fri, 2 Oct 2015 12:04:26 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Probleme de telechargement/Problem to download To: Quartz , marvin nurit References: <560D91FB.40208@sneakertech.com> Cc: "freebsd-questions@FreeBSD.org" From: Arthur Chance Message-ID: <560E64BA.6000107@qeng-ho.org> Date: Fri, 2 Oct 2015 12:04:26 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560D91FB.40208@sneakertech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:04:29 -0000 On 01/10/2015 21:05, Quartz wrote: >> Hi, i've a problem, i'm student and my student connection blocks ftp >> and torrent connections, so i would like to know if there's another >> way to download freebsd? Thank you in advance for your reply. > > Assuming only actual ftp connections are blocked (and not also any URL > with 'ftp' in it), you should be able to visit: > > http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ > http://ftp1.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ > http://ftp2.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ > http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/ > ...etc. > > A lot (but not all) of the main mirrors support http connections if you > just change the protocol header. Take a look at the Handbook page on mirrors: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html Primary mirrors 4, 10 and 14 support http, as do various country mirrors including http://ftp1.fr.freebsd.org/pub/FreeBSD/ (which also supports rsync). -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Fri Oct 2 11:11:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 651AFA0DEAD for ; Fri, 2 Oct 2015 11:11:03 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (shopzeus.com [87.229.70.149]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4D11080 for ; Fri, 2 Oct 2015 11:11:03 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id 440FA889B804 for ; Fri, 2 Oct 2015 07:11:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1443784261; bh=G64JC9J0sUtq6Ag06IEnJyNW3+mAqwibo7qj5EptdF8=; h=To:From:Subject:Date:From; b=NgHKCCVEWKNzmLMJrqHtci6W7U2Bk5hbZwJU5Fqwmz/31KPkuR0Fjau+sicMJzYv0 HvXRWzYWWqB7agOxaKdyaHXlhlXvk3E/x9J5tVzfJjITfwCO5WGH0yEEe10T8HwJyJ jZRfnMGzFjxnkbyTlA+rH3EBU9Z6ECALU7Ih81fw3W2Uu4grZpc1jnd0R+idMCqZjT sU5BFqROZFyQGEDcKn99LvUBpBXGrtfyWGqwkSOdReey35btjWpW6pFynumO9wN81O NdCvvhRQi+uVSYFXYv+EdsadtzFu+yWDQq/BSGfCLYgO9EaCSsGNHqjaqryQ0yg1hz bQIMt59AjdVoQ== To: freebsd-questions@freebsd.org From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Subject: Is this an opendkim or a dns problem? Message-ID: <560E6642.6060605@shopzeus.com> Date: Fri, 2 Oct 2015 13:10:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:11:03 -0000 Log: Oct 2 07:01:04 shopzeus opendkim[2918]: 20412889B806: mail-wi0-f181.google.com [209.85.212.181] not internal Oct 2 07:01:04 shopzeus opendkim[2918]: 20412889B806: not authenticated Oct 2 07:01:09 shopzeus opendkim[2918]: 20412889B806: key retrieval failed (s=20120113, d=gmail.com): '20120113._domainkey.gmail.com' query timed out Oct 2 07:01:09 shopzeus postfix/smtpd[14570]: disconnect from mail-wi0-f181.google.com[209.85.212.181] However: # dig 20120113._domainkey.gmail.com txt ; <<>> DiG 9.10.2-P4 <<>> 20120113._domainkey.gmail.com txt ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2733 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;20120113._domainkey.gmail.com. IN TXT ;; ANSWER SECTION: 20120113._domainkey.gmail.com. 204 IN TXT "k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Kd87/UeJjenpabgbFwh+eBCsSTrqmwIYYvywlbhbqoo2DymndFkbjOVIPIldNs/m40KF+yzMn1skyoxcTUGCQs8g3FgD2Ap3ZB5DekAo5wMmk4wimDO+U8QzI3SD0" "7y2+07wlNWwIt8svnxgdxGkVbbhzY8i+RQ9DpSVpPbF7ykQxtKXkv/ahW3KjViiAH+ghvvIhkx4xYSIc9oSwVmAl5OctMEeWUwg8Istjqz8BZeTWbf41fbNhte7Y+YqZOwq1Sd0DbvYAD9NOZK9vlfuac0598HY+vtSBczUiKERHv1yRbcaQtZFh5wtiRrN04BLUTD21MycBX5jYchHjPY/wIDAQAB" ;; Query time: 0 msec ;; SERVER: 80.249.168.18#53(80.249.168.18) ;; WHEN: Fri Oct 02 07:05:36 EDT 2015 ;; MSG SIZE rcvd: 462 How can the key retrieval time out? Is it because opendkim uses a different name server? (Why would it do that?) What is happening here? Thanks, Laszlo From owner-freebsd-questions@freebsd.org Fri Oct 2 11:16:44 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB93DA0E5A9 for ; Fri, 2 Oct 2015 11:16:44 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (shopzeus.com [87.229.70.149]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1871333 for ; Fri, 2 Oct 2015 11:16:44 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id 562C6889B804 for ; Fri, 2 Oct 2015 07:16:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1443784602; bh=4ZjwYZQAG/C0L42hwgIaLJ9otDor3VXhvioFzGzXoW8=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ZnB33rFyDxJ0z8SbZESxI/IPJPo5Adf2GwkNi87wJ1R7nofO13q+hxW+6mEbhTD8h tfVxR7amh5QXp/wiJsDt83pP268UQHLeJVYoo3y8fnY7mjiHicV/Lst1wYJFb5RKm+ Zhua4MaEs9MjsMxXCoEwonfaudGRqahEoYevTbeajBc2NNRbPcY4Mf4FZew3mJJfPY HcDiAcqYt5Z2xtG8274YLxiCfK99EiFKfcqBDQTOOGScd0naCLJX/361kSvdgpmygm DaWwutGhyve36osG1wiPxMN6HJqK7MB1ZIgmzPmLt1OOVUljXDtUJW61Y18TYdCks7 68zyWC4/M84GQ== Subject: Re: Is this an opendkim or a dns problem? To: freebsd-questions@freebsd.org References: <560E6642.6060605@shopzeus.com> From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Message-ID: <560E6798.1000906@shopzeus.com> Date: Fri, 2 Oct 2015 13:16:40 +0200 MIME-Version: 1.0 In-Reply-To: <560E6642.6060605@shopzeus.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:16:44 -0000 > How can the key retrieval time out? Is it because opendkim uses a > different name server? (Why would it do that?) What is happening here? It might be because I had this in opendkim.conf: DNSTimeout 5 But I doubt it. 5 seconds is too much already. From owner-freebsd-questions@freebsd.org Fri Oct 2 11:21:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03037A0E9D3 for ; Fri, 2 Oct 2015 11:21:10 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (eris.bzerk.org [82.95.223.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.bzerk.org", Issuer "*.bzerk.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8205A1AFC for ; Fri, 2 Oct 2015 11:21:09 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.9/8.14.9) with ESMTP id t92BL1er095447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Oct 2015 11:21:03 GMT (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.9/8.14.9/Submit) id t92BL1wC095446; Fri, 2 Oct 2015 11:21:01 GMT (envelope-from mail25@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Fri, 2 Oct 2015 11:21:01 +0000 From: Ruben de Groot To: Moreno Carullo Cc: "freebsd-questions@freebsd.org" Subject: Re: Console -- insecure settings Message-ID: <20151002112101.GA95004@eris.bzerk.org> Mail-Followup-To: Ruben de Groot , Moreno Carullo , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (eris.bzerk.org [127.0.0.1]); Fri, 02 Oct 2015 11:21:06 +0000 (UTC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:21:10 -0000 On Fri, Oct 02, 2015 at 10:32:48AM +0000, Moreno Carullo typed: > Hi all, > > I would like to set the console as insecure as documented here: > https://www.freebsd.org/doc/handbook/boot-introduction.html > > the issue is that the system seems to ignore the setting, as the single user mode does NOT prompt for password. I think the documentation is wrong, because /etc/ttys is read by init, and init doesn't run in single user mode. Single user mode means /bin/sh replaces init. > Any ideas? > > Thanks, > Moreno > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Oct 2 11:52:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38160A0D620 for ; Fri, 2 Oct 2015 11:52:25 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (eris.bzerk.org [82.95.223.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.bzerk.org", Issuer "*.bzerk.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B9BB81FF4; Fri, 2 Oct 2015 11:52:24 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from eris.bzerk.org (BOFH@localhost [127.0.0.1]) by eris.bzerk.org (8.14.9/8.14.9) with ESMTP id t92BqICK095979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Oct 2015 11:52:20 GMT (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by eris.bzerk.org (8.14.9/8.14.9/Submit) id t92BqIbS095978; Fri, 2 Oct 2015 11:52:18 GMT (envelope-from mail25@bzerk.org) X-Authentication-Warning: eris.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Fri, 2 Oct 2015 11:52:18 +0000 From: Ruben de Groot To: Matthew Seaman Cc: freebsd-questions@freebsd.org Subject: Re: pkg repo broken? Message-ID: <20151002115218.GA95658@eris.bzerk.org> Mail-Followup-To: Ruben de Groot , Matthew Seaman , freebsd-questions@freebsd.org References: <20151002042326.GA88371@eris.bzerk.org> <560E12CD.9080508@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560E12CD.9080508@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Status: No, score=-11.0 required=5.0 tests=ALL_TRUSTED,AUTHD_RELAY autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on eris.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (eris.bzerk.org [127.0.0.1]); Fri, 02 Oct 2015 11:52:22 +0000 (UTC) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 11:52:25 -0000 On Fri, Oct 02, 2015 at 07:14:53AM +0200, Matthew Seaman typed: > On 02/10/2015 06:23, Ruben de Groot wrote: > > There is a pkg-1.6.1.txz there, but it's looking for 1.6.0 > > > > Try running: > > pkg update -f > > first, and then retry your upgrade. Looks like your local copy of the > catalogue is out of synch with the repo. That shouldn't happen, unless > perhaps the clock on your machine is wrong? This worked. The machine is running ntp, so the clock was ok. Something must have corrupted the pkg db when I temporarily moved /var to NFS recently. Thanks From owner-freebsd-questions@freebsd.org Fri Oct 2 12:24:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AA1EA0D33E for ; Fri, 2 Oct 2015 12:24:36 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFE1610EE for ; Fri, 2 Oct 2015 12:24:35 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: by pacex6 with SMTP id ex6so105958708pac.0 for ; Fri, 02 Oct 2015 05:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=dAZETJM7wPC8iXHf19qF3Hm5c/Up11z1aK9Dbz4xxbU=; b=C2AZ36dj729I719jiDcsiPu6agRnfjoJkf1PM+AyYOVyDji9Kf1wYvYe77ZumAhO3K NnmY9miSMjo8j9vf7tg78XYjMbJ+8LVT4sg9UMzDdD1J3IYjELPs6eypBwc7OMIOKoiE D6pdFVAbpAGqFFfkk89HNNOuDmWCaRH8wGo+pT40WBkCZPXzCOLYNK9mWeczfNNZ2Ix7 4FbQQne9Iz7RbrRn1IZVtYA1856wesHDIFBW9coP0FbHDd2e8WlzTSnpRwpe8DBiSAdN 5pEkVIlPWcqNV2K366LeGr+9/EzwL/1Uv4cOru730CCHkRJqCQSQlqFWJUFiCYT7iOzZ 2oFw== X-Received: by 10.66.228.233 with SMTP id sl9mr20026603pac.139.1443788675607; Fri, 02 Oct 2015 05:24:35 -0700 (PDT) Received: from heidegger.home (pool-98-119-79-32.lsanca.fios.verizon.net. [98.119.79.32]) by smtp.gmail.com with ESMTPSA id be3sm11779876pbc.88.2015.10.02.05.24.34 (version=TLS1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Oct 2015 05:24:34 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: auth sys and 16 group limit for NFS From: aurfalien In-Reply-To: <560E635A.8070505@qeng-ho.org> Date: Fri, 2 Oct 2015 05:24:33 -0700 Cc: FreeBSD Mailing List Message-Id: References: <560E635A.8070505@qeng-ho.org> To: Arthur Chance X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 12:24:36 -0000 Hi and thanks for getting back to me. A work around in Linux NFS server would be this; rpc.mountd --manage-gids Is there an equivalent in FreeBSD? - aurf "Janitorial Services" On Oct 2, 2015, at 3:58 AM, Arthur Chance wrote: > On 02/10/2015 00:51, aurfalien wrote: >> Hi, >>=20 >> First, excuse me if this is not posted on the right list. >>=20 >> I=92ve been hitting this limit for a few years now, working around it >> by simply managing LDAP group membership. But was curious if the >> only way to fix is moving to kerberos for auth? >>=20 >> Some sites say its no longer an issue in FreeBSD 9/later and newer >> Linux kernels of the same vintage. >>=20 >> But I am still hitting it. >>=20 >> Curious of the community has some words of wisdom etc=85 >=20 > The limit is part of the RFC specification of NFS for versions < 4. I = think the usual advice is "use NFSv4" if you need more than 16 groups. I = have no personal experience with NFSv4 though. >=20 >>=20 >> Thanks in advance, >> - aurf >>=20 >> "Janitorial Services" >=20 > :-) >=20 >=20 > --=20 > Those who do not learn from computing history are doomed to > GOTO 1 From owner-freebsd-questions@freebsd.org Fri Oct 2 12:43:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03583A0C463 for ; Fri, 2 Oct 2015 12:43:09 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBCD41A8C for ; Fri, 2 Oct 2015 12:43:07 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from [24.134.156.25] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1ZhzE8-0001pQ-6z; Fri, 02 Oct 2015 14:14:16 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Moreno Carullo" , "Ruben de Groot" Cc: "freebsd-questions@freebsd.org" Subject: Re: Console -- insecure settings References: <20151002112101.GA95004@eris.bzerk.org> Date: Fri, 02 Oct 2015 14:14:42 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <20151002112101.GA95004@eris.bzerk.org> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.7/20951/Fri Oct 2 00:49:30 2015) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 12:43:09 -0000 Am .10.2015, 13:21 Uhr, schrieb Ruben de Groot : > On Fri, Oct 02, 2015 at 10:32:48AM +0000, Moreno Carullo typed: >> Hi all, >> >> I would like to set the console as insecure as documented here: >> https://www.freebsd.org/doc/handbook/boot-introduction.html >> >> the issue is that the system seems to ignore the setting, as the single >> user mode does NOT prompt for password. > > I think the documentation is wrong, because /etc/ttys is read by init, > and init doesn't run in single user mode. > Single user mode means /bin/sh replaces init. I tried this here just now, and having set "console" to "insecure", the system prompts for the root password as documented. 10.1-RELEASE-p10 Regards, Michael >> Any ideas? >> >> Thanks, >> Moreno >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Oct 2 12:49:13 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CC7FA0C8B3 for ; Fri, 2 Oct 2015 12:49:13 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 02A961CD4 for ; Fri, 2 Oct 2015 12:49:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([193.12.234.195]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t92Cmpdb047411 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 2 Oct 2015 13:48:52 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t92Cmpdb047411 Authentication-Results: smtp.infracaninophile.co.uk/t92Cmpdb047411; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [193.12.234.195] claimed to be liminal.local Subject: Re: pkg repo broken? To: Ruben de Groot , freebsd-questions@freebsd.org References: <20151002042326.GA88371@eris.bzerk.org> <560E12CD.9080508@FreeBSD.org> <20151002115218.GA95658@eris.bzerk.org> From: Matthew Seaman Message-ID: <560E7D33.3080303@FreeBSD.org> Date: Fri, 2 Oct 2015 14:48:51 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151002115218.GA95658@eris.bzerk.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6rMwVCpPrAceQRC6L3PTQX7rHFaKbakUe" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 12:49:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6rMwVCpPrAceQRC6L3PTQX7rHFaKbakUe Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/10/2015 13:52, Ruben de Groot wrote: > This worked. The machine is running ntp, so the clock was ok. Something= must > have corrupted the pkg db when I temporarily moved /var to NFS recently= =2E Ahah! Yes, that could well cause you problems. pkg(8) should work over NFS, but it uses different locking mechanisms there. Moving your package DB between local drives and NFS should be done with great care. Cheers, Matthew --6rMwVCpPrAceQRC6L3PTQX7rHFaKbakUe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWDn0zXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATaFsP/1oFn2R3QDjXzKpDXKMwYdjM YGBWbvMWuwK+L8SEFYIe/K607bMyfENKhBk8rHWhYoBCh98UMZqyK7QbMfCsxmyz TVjeoiqm0PAO4yqQigT5RYpVEPrbkTkfHnZtH2GXvDRs1Y4VYl5naHzC0SN1ESl9 yQaICOplml99udOusAiyq8fUpLVNc4/07bYhgOabB5JNTbTepg2sqBMZUTnJANRy HXNFm3Ab2YndiK3DqXIeifIsO5JXXOW2cSgywUuLmz6S5YsizV5eoY0nV51wX7w8 1NMejkZCj0EYyVmBcGpERffcidPhloUHZu+6vwX0LPckKhM9cFoAOtRpTx4XvJ07 tolNW0VC0cKmTXqIm04xKMrYU1KK9WO8W3C4YQwG5W14QgvE9eKLq54KGAKtdY2F 4Iz/jPsWbXFve0Wbxty0z/TDlUCRBQG2bYBOXJ6xmcft7RPIeQR6R87UDbVfkT7a 3o0fJBLO00gI768MkUoUJe0aIOKyOtmIkNmaerISvI/oMnY35auwlMj+7XaYI2DY 7yc5HM5wnsIusUXcDHGI30hpy7rKWBnd/bPP7NfVpLWY3QcbCLktyJlY5kSxSfv4 bAbQNpKkDOIZ36hy0Pc0gEsWzpTV7ws5IOqz4uXdn/TEfDTox/46OPlyTCzJiFvn aDO0OHdfleYxiwWcTXmF =sJLx -----END PGP SIGNATURE----- --6rMwVCpPrAceQRC6L3PTQX7rHFaKbakUe-- From owner-freebsd-questions@freebsd.org Fri Oct 2 13:33:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D2A4A0E972 for ; Fri, 2 Oct 2015 13:33:25 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BE7E119DC for ; Fri, 2 Oct 2015 13:33:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id t92DXMAc087056; Fri, 2 Oct 2015 14:33:22 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: auth sys and 16 group limit for NFS To: aurfalien References: <560E635A.8070505@qeng-ho.org> Cc: FreeBSD Mailing List From: Arthur Chance Message-ID: <560E87A2.1090004@qeng-ho.org> Date: Fri, 2 Oct 2015 14:33:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 13:33:25 -0000 On 02/10/2015 13:24, aurfalien wrote: > Hi and thanks for getting back to me. > > A work around in Linux NFS server would be this; > > rpc.mountd --manage-gids > > Is there an equivalent in FreeBSD? No idea, I've never hit the problem of too many groups. However, FBSD is usually standards compliant, unlike Linux, so I'd presume not unless the man pages say different. -- Those who do not learn from computing history are doomed to GOTO 1 From owner-freebsd-questions@freebsd.org Fri Oct 2 14:43:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE31FA0DFED for ; Fri, 2 Oct 2015 14:43:42 +0000 (UTC) (envelope-from merritt.alex@gmail.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B236F1C82 for ; Fri, 2 Oct 2015 14:43:42 +0000 (UTC) (envelope-from merritt.alex@gmail.com) Received: by ykdg206 with SMTP id g206so110922714ykd.1 for ; Fri, 02 Oct 2015 07:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YmufYs625WPRE7YPpY2P8Buj+HlLjkT98ogI9czYVL4=; b=e1zjxhyyWLm7VVMORH1zAo+16FoDcHiTWwp7AVDgrcOcJgPaQT2jJGyWQllVVzfthl eQRszP/Ad9vLaimc24WOfF31PY6eTqEybSXQ4TrQ0zg7kxhzIidObbMiOs6Ac/mt4LgY TsJ2GQj7Kb0Z8ITw270BO5nMPBg6JRuVOfqfg5VyL3V7GLwY4hCQH0QZrUxvZxcuC6AV FnFmJkc/LG483eped/rCeq+SSEYpEo6JDzwBinChBv88Q5xSMkmtZvJnp5fyThssINAA /tSl1MUnDMSqjVq7wlPD+uQs7bPj8skl0I4dV16/hTBOaUXmA0rxRv8LTGbXfe8F+CBB zZjQ== X-Received: by 10.170.124.81 with SMTP id q78mr13691161ykb.124.1443797021956; Fri, 02 Oct 2015 07:43:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.2.194 with HTTP; Fri, 2 Oct 2015 07:43:12 -0700 (PDT) From: Alex Merritt Date: Fri, 2 Oct 2015 10:43:12 -0400 Message-ID: Subject: Explicit superpage allocation To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 14:43:43 -0000 Hi all, mmap(2) states with first use of a memory region with backing frames not yet allocated and an appropriate alignment, the kernel will automatically use a larger page when given MAP_ALIGNED_SUPER. Is there a method to explicitly request a specific page size for an anonymous memory region? I want to perform measurements using 2MB-backed regions and 1GB-backed regions, but do not want the kernel to make arbitrary decisions underneath me. I am using 10.2 and Intel hardware. Thanks, Alex From owner-freebsd-questions@freebsd.org Fri Oct 2 15:11:37 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03078A0D161 for ; Fri, 2 Oct 2015 15:11:37 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D769D1B82 for ; Fri, 2 Oct 2015 15:11:36 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D6D01A0D160; Fri, 2 Oct 2015 15:11:36 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6600A0D15F for ; Fri, 2 Oct 2015 15:11:36 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CD021B7F for ; Fri, 2 Oct 2015 15:11:36 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by wicgb1 with SMTP id gb1so37334636wic.1 for ; Fri, 02 Oct 2015 08:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=te7ITsOspGKM8EUTQvYHkZiARLBCyBE7Nz7v74OO7xU=; b=dYseHk3h9SLs+czXTUj1fLQg60d0wcq9TsgrIBV7kh/vKqt97xH0i3qRknBnu3wHCP 2onkF7o82i34fYFd49LGVmkBrhfSbH/sLY/XJxSTAi+W3atCXeTSEFHJkaKsv2+bAa3L gkUcWVfE82JLWEjucd5KUhuFAtIZMkcCIKZsL+rPtndRox2IF8TWwVtkTzRdWMi9iaaO IfyAd5QvRc1WonwsERmD8y+BtnTpMU+7N+m8/bBR41wJf5K1YXy5mMaMS8HGVgelPQFn hBA4gIbN9WjRveidzUUkhia6Hh0FG79PlZdR6Yz4uo14n2YvrN9TrxhGrwdDXaUUGL0c 2UGg== X-Received: by 10.194.184.166 with SMTP id ev6mr18341811wjc.125.1443798694651; Fri, 02 Oct 2015 08:11:34 -0700 (PDT) Received: from inverness.bcn.sia.es (252.Red-88-15-175.dynamicIP.rima-tde.net. [88.15.175.252]) by smtp.googlemail.com with ESMTPSA id t7sm8856986wib.1.2015.10.02.08.11.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 08:11:34 -0700 (PDT) To: questions@freebsd.org From: "C.L. Martinez" Subject: Using quarterly pkg repo with 10.1-RELEASE Message-ID: <560E9E9F.9040608@gmail.com> Date: Fri, 2 Oct 2015 15:11:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 15:11:37 -0000 Hi all, I think is right, but I am not sure, is it possible to use quarterly pkg repo with 10.1-RELEASE or can be used only with 10.2-RELEASE? Thanks. From owner-freebsd-questions@freebsd.org Fri Oct 2 16:02:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E54D1A0D415 for ; Fri, 2 Oct 2015 16:02:31 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C9BC81014 for ; Fri, 2 Oct 2015 16:02:31 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: by mailman.ysv.freebsd.org (Postfix) id C75C7A0D414; Fri, 2 Oct 2015 16:02:31 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABEFAA0D413 for ; Fri, 2 Oct 2015 16:02:31 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 668311012 for ; Fri, 2 Oct 2015 16:02:30 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id e2e320d6; Fri, 2 Oct 2015 12:02:22 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id f5829a66; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 2 Oct 2015 12:02:22 -0400 (EDT) Message-ID: <1443801879.3242.8.camel@michaeleichorn.com> Subject: Re: Using quarterly pkg repo with 10.1-RELEASE From: "Michael B. Eichorn" To: "C.L. Martinez" , questions@freebsd.org Date: Fri, 02 Oct 2015 12:04:39 -0400 In-Reply-To: <560E9E9F.9040608@gmail.com> References: <560E9E9F.9040608@gmail.com> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-aU2PsUXGY4lMyFSf0HW9" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 16:02:32 -0000 --=-aU2PsUXGY4lMyFSf0HW9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-10-02 at 15:11 +0000, C.L. Martinez wrote: > Hi all, >=20 > I think is right, but I am not sure, is it possible to use quarterly= =20 > pkg repo with 10.1-RELEASE or can be used only with 10.2-RELEASE? >=20 > Thanks. Yes you can, and since the Q4 branch was cut 20 hours ago the transition should be pretty smooth. To switch repos edit /etc/pkg/FreeBSD.conf to point at the quarterly repo. Change the line: url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", To: =09 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", --=-aU2PsUXGY4lMyFSf0HW9 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5z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cwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQQIDDl3GMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoT DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25p bmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50 IENBAgMOXcYwDQYJKoZIhvcNAQEBBQAEggEAOP0k8G/y+Yrcy0TRLLX43pFxFYs4KtlkPxNKmJji DMcXGqG4BLLCTBlcQhuMwsb2RdpUv8I2zd4LE7BX9WghrxhmBfToRvZZlLU/b34u/Ywg3XNM48VI HTZYLJNdQ9eEa4RHuBKkVWiT8Ut/lJouu7blWsPNKLVRkUsjFjVd2o0RqBAxuFktzCj/fkG3VQp7 rAO9fSqQ0ZlYv2K9BeEP/S/Shu9OdTc/tNSAnZED4+ztHz1GqOE5AeRSJ1ny6i8HwkVHLoMyZkcM wmcsMipYPCefUluD+3eP10cYtUIG7FhIk0+CdVd4GiRfZHksYxHx0a4EARTjZqTHBXaqB1kWSQAA AAAAAA== --=-aU2PsUXGY4lMyFSf0HW9-- From owner-freebsd-questions@freebsd.org Fri Oct 2 19:43:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8072A0D79E for ; Fri, 2 Oct 2015 19:43:10 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 608121F1C for ; Fri, 2 Oct 2015 19:43:09 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t92Jh2iF005027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 14:43:03 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: Geom question Message-ID: <560EDE45.3040605@hiwaay.net> Date: Fri, 2 Oct 2015 14:48:31 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 19:43:10 -0000 I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from a thumb drive. I would like to add a 'utils' directory w/ some scripts I wrote to automate the partitioning/slicing of the HDD's (2X on 1 box, 8X on the other), & also accumulate output from the install process in case questions arise. To that end, I am planning on partitioning/slicing a thumb drive, prepping it to be bootable following examples on the gpart man page, & copying verbatim stuff from the memstick.img for 9.3R that I downloaded a while back, as well as adding my utils directory. Reading up on gpart & geom raises 1 question: can I do all these preps on a disk image file I create w/ dd, or do i do them in place on the target memstick, then dd the results onto an on-disk image for safekeeping ? Put another way, can a disk image created by dd be a 'geom' for gpart ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Oct 2 19:47:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81783A0DB69 for ; Fri, 2 Oct 2015 19:47:02 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6A98F111B for ; Fri, 2 Oct 2015 19:47:02 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: by mailman.ysv.freebsd.org (Postfix) id 6A414A0DB68; Fri, 2 Oct 2015 19:47:02 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69DDBA0DB67 for ; Fri, 2 Oct 2015 19:47:02 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 22B5A1118 for ; Fri, 2 Oct 2015 19:47:02 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t92Jl0QR010639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 14:47:00 -0500 Subject: Re: Using quarterly pkg repo with 10.1-RELEASE To: questions@freebsd.org References: <560E9E9F.9040608@gmail.com> <1443801879.3242.8.camel@michaeleichorn.com> From: "William A. Mahaffey III" Message-ID: <560EDF33.6020109@hiwaay.net> Date: Fri, 2 Oct 2015 14:52:29 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1443801879.3242.8.camel@michaeleichorn.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 19:47:02 -0000 On 10/02/15 11:10, Michael B. Eichorn wrote: > On Fri, 2015-10-02 at 15:11 +0000, C.L. Martinez wrote: >> Hi all, >> >> I think is right, but I am not sure, is it possible to use quarterly >> pkg repo with 10.1-RELEASE or can be used only with 10.2-RELEASE? >> >> Thanks. > Yes you can, and since the Q4 branch was cut 20 hours ago the transition > should be pretty smooth. > > To switch repos edit /etc/pkg/FreeBSD.conf to point at the quarterly > repo. > > Change the line: > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > > To: > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", Is this good for 9.3R as well ? TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Oct 2 19:53:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DDD7A0E248 for ; Fri, 2 Oct 2015 19:53:25 +0000 (UTC) (envelope-from merritt.alex@gmail.com) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD321846 for ; Fri, 2 Oct 2015 19:53:25 +0000 (UTC) (envelope-from merritt.alex@gmail.com) Received: by ykdz138 with SMTP id z138so120705481ykd.2 for ; Fri, 02 Oct 2015 12:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VAC4r67SHpMfi14APpqcjVwzVxZMvbWyn3bSg7oYL7U=; b=nm88Dd9Zt1ZLbD0bsWY4E8uhU2ku0s5PfevTFxtixSNCLHMO9K7PxtYIx1hKjR6jS/ 7/MswiR9UXkTZ2M6pNY7Rqe4DhFdezgBK+ufXQ1lO3pAzgUiXsXepFlxw2wIAf2jc+h4 7tgG16xquN3Z8dqtOPujCLAKZJ3ROghwQH5rUh9Up5Wc7Y6+PDYkkcVaEmwLYv99ebLz 01XB1R9VrzYl5G9vbXNZjkaP8JGZtkdJSL2Y4oOEJ4fJSW1sm3g574srwIhKmf3akqR0 z+5NlkczKBQ+Al9ygnrP+C0vP4knlxQ0Pqwx7dx32lvLsOX0BVWwqftZk7nlljbHvsvN 6nOg== X-Received: by 10.129.48.86 with SMTP id w83mr15188314yww.105.1443815604436; Fri, 02 Oct 2015 12:53:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.2.194 with HTTP; Fri, 2 Oct 2015 12:52:55 -0700 (PDT) In-Reply-To: <560D2242.1010908@fjl.co.uk> References: <560D2242.1010908@fjl.co.uk> From: Alex Merritt Date: Fri, 2 Oct 2015 15:52:55 -0400 Message-ID: Subject: Re: WTFM for system calls To: Frank Leonhardt Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 19:53:25 -0000 On Thu, Oct 1, 2015 at 8:08 AM, Frank Leonhardt wrote: > It's probably obvious, but not quite obvious enough for me right now... > > Where's there a list of FreeBSD kernel (system) calls? > This would be sys/syscall.h as you pointed out, a very bare-bones list. > There's obviously man 2, but you really need to know the name of what > you're looking for (or guess from the file names). I could also scan > through the 'C' header files. > apropos(1) is useful for searching when you don't have exact names. > The Developer's Manual mentions HOW to call a system call (and told me > something shocking about Linux I hadn't realised). But nowhere can I find a > list - preferably sorted in to sections with a summary, function number, > symbolic name, and list of parameters. I'm looking for something a bit more > informative than sys/syscall.h! > sys/sysproto.h has the arguments and prototypes Implementations have the format sys_NAME where name is mmap, open, etc. Inline comments may exist above each system call's implementation. I find The Silver Searcher [1] to be quiet useful. From the source directory, "ag sys_open" will return results very quickly. [1] http://geoff.greer.fm/ag/ I bet someone's going to refer me to a man page with a name everyone else > knows but I couldn't guess. Counting down.... > > Thanks, Frank. > From owner-freebsd-questions@freebsd.org Fri Oct 2 20:25:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A97F0A0E9D1 for ; Fri, 2 Oct 2015 20:25:18 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AE751CD7 for ; Fri, 2 Oct 2015 20:25:18 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.4] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id 0F8EF25F; Fri, 2 Oct 2015 20:25:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Geom question From: "Chad J. Milios" X-Mailer: iPhone Mail (13A452) In-Reply-To: <560EDE45.3040605@hiwaay.net> Date: Fri, 2 Oct 2015 16:25:08 -0400 Cc: FreeBSD Questions !!!! Content-Transfer-Encoding: quoted-printable Message-Id: <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> References: <560EDE45.3040605@hiwaay.net> To: "William A. Mahaffey III" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 20:25:18 -0000 > On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III wrote= : >=20 > I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from a thum= b drive. I would like to add a 'utils' directory w/ some scripts I wrote to a= utomate the partitioning/slicing of the HDD's (2X on 1 box, 8X on the other)= , & also accumulate output from the install process in case questions arise.= To that end, I am planning on partitioning/slicing a thumb drive, prepping i= t to be bootable following examples on the gpart man page, & copying verbati= m stuff from the memstick.img for 9.3R that I downloaded a while back, as we= ll as adding my utils directory. Reading up on gpart & geom raises 1 questio= n: can I do all these preps on a disk image file I create w/ dd, or do i do t= hem in place on the target memstick, then dd the results onto an on-disk ima= ge for safekeeping ? Put another way, can a disk image created by dd be a 'g= eom' for gpart ? TIA & have a good one. >=20 > --=20 >=20 > William A. Mahaffey III In a way, yes. `mdconfig -f filename` will make your file accessible as a vi= rtual device.= From owner-freebsd-questions@freebsd.org Fri Oct 2 20:51:46 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3C42A0E2AE for ; Fri, 2 Oct 2015 20:51:46 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4F5D1C43 for ; Fri, 2 Oct 2015 20:51:46 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t92KpiZ2015508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 15:51:45 -0500 Subject: Re: Geom question References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <560EEE5F.3080904@hiwaay.net> Date: Fri, 2 Oct 2015 15:57:13 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 20:51:46 -0000 On 10/02/15 15:31, Chad J. Milios wrote: >> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III wrote: >> >> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from a thumb drive. I would like to add a 'utils' directory w/ some scripts I wrote to automate the partitioning/slicing of the HDD's (2X on 1 box, 8X on the other), & also accumulate output from the install process in case questions arise. To that end, I am planning on partitioning/slicing a thumb drive, prepping it to be bootable following examples on the gpart man page, & copying verbatim stuff from the memstick.img for 9.3R that I downloaded a while back, as well as adding my utils directory. Reading up on gpart & geom raises 1 question: can I do all these preps on a disk image file I create w/ dd, or do i do them in place on the target memstick, then dd the results onto an on-disk image for safekeeping ? Put another way, can a disk image created by dd be a 'geom' for gpart ? TIA & have a good one. >> >> -- >> >> William A. Mahaffey III > In a way, yes. `mdconfig -f filename` will make your file accessible as a virtual device. > Then to be accessed as /dev/md0 ? Any other clues/gotchas :-) ? Thanks & TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Oct 2 21:02:07 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 881A7A0E9AB for ; Fri, 2 Oct 2015 21:02:07 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57FB712EE for ; Fri, 2 Oct 2015 21:02:06 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t92L25Zs020950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 16:02:05 -0500 Subject: Re: Geom question References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <560EF0CC.80805@hiwaay.net> Date: Fri, 2 Oct 2015 16:07:34 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 21:02:07 -0000 On 10/02/15 15:31, Chad J. Milios wrote: >> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III wrote: >> >> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from a thumb drive. I would like to add a 'utils' directory w/ some scripts I wrote to automate the partitioning/slicing of the HDD's (2X on 1 box, 8X on the other), & also accumulate output from the install process in case questions arise. To that end, I am planning on partitioning/slicing a thumb drive, prepping it to be bootable following examples on the gpart man page, & copying verbatim stuff from the memstick.img for 9.3R that I downloaded a while back, as well as adding my utils directory. Reading up on gpart & geom raises 1 question: can I do all these preps on a disk image file I create w/ dd, or do i do them in place on the target memstick, then dd the results onto an on-disk image for safekeeping ? Put another way, can a disk image created by dd be a 'geom' for gpart ? TIA & have a good one. >> >> -- >> >> William A. Mahaffey III > In a way, yes. `mdconfig -f filename` will make your file accessible as a virtual device. > Thanks for the info. I proceeded w/ trying to setup /dev/md0 as a bootable disk image as follows: [root@kabini1, /etc, 3:54:31pm] 758 % dd if=/dev/zero of=/home/memstick.img count=3699 bs=1m 3699+0 records in 3699+0 records out 3878682624 bytes transferred in 8.324621 secs (465929036 bytes/sec) [root@kabini1, /etc, 3:55:23pm] 759 % cat ~wam/FreeBSD/9.3/README.createBootableMBR-SD.txt MBR: Master Boot Record is used on PCs and removable media. Requires the GEOM_PART_MBR kernel option. The GEOM_PART_EBR option adds support for the Extended Boot Record (EBR), which is used to define a logical partition. The GEOM_PART_EBR_COMPAT option enables backward compatibility for partition names in the EBR scheme. It also prevents any type of actions on such partitions. Create an MBR scheme on ada0, then create a 30GB-sized FreeBSD slice, mark it active and install the boot0 boot manager: /sbin/gpart create -s MBR ada0 /sbin/gpart add -t freebsd -s 30G ada0 /sbin/gpart set -a active -i 1 ada0 /sbin/gpart bootcode -b /boot/boot0 ada0 Now create a BSD scheme (BSD label) with space for up to 20 partitions: /sbin/gpart create -s BSD -n 20 ada0s1 Create a 1GB-sized UFS partition and a 4GB-sized swap partition: /sbin/gpart add -t freebsd-ufs -s 1G ada0s1 /sbin/gpart add -t freebsd-swap -s 4G ada0s1 Install bootstrap code for the BSD label: /sbin/gpart bootcode -b /boot/boot ada0s1 [root@kabini1, /etc, 3:55:50pm] 760 % mdconfig -f /home/memstick.img md0 [root@kabini1, /etc, 3:56:26pm] 761 % /sbin/gpart create -s MBR md0 md0 created [root@kabini1, /etc, 3:58:45pm] 762 % /sbin/gpart add -t freebsd -s 3698M md0 md0s1 added [root@kabini1, /etc, 3:59:14pm] 763 % /sbin/gpart set -a active -i 1 md0 active set on md0s1 [root@kabini1, /etc, 3:59:25pm] 764 % /sbin/gpart bootcode -b /boot/boot0 md0 bootcode written to md0 [root@kabini1, /etc, 3:59:44pm] 765 % /sbin/gpart create -s BSD md0s1 md0s1 created [root@kabini1, /etc, 3:59:57pm] 766 % /sbin/gpart add -t freebsd-ufs md0s1 md0s1a added [root@kabini1, /etc, DING!] 767 % /sbin/gpart bootcode -b /boot/boot md0s1 bootcode written to md0s1 [root@kabini1, /etc, 4:00:25pm] 768 % lltr /dev/md0*; date crw-r----- 1 root operator 0xd2 Oct 2 15:56 /dev/md0 crw-r----- 1 root operator 0xd5 Oct 2 15:59 /dev/md0s1 crw-r----- 1 root operator 0xd6 Oct 2 16:00 /dev/md0s1a Fri Oct 2 16:00:44 MCDT 2015 [root@kabini1, /etc, 4:00:44pm] 769 % mount /dev/md0s1 /media/sd/ mount: /dev/md0s1: Invalid argument [root@kabini1, /etc, 4:01:16pm] 770 % mount -t ufs /dev/md0s1 /media/sd/ mount: /dev/md0s1: Invalid argument [root@kabini1, /etc, 4:01:34pm] 771 % mount -t ufs /dev/md0s1a /media/sd/ mount: /dev/md0s1a: Invalid argument [root@kabini1, /etc, 4:01:41pm] 772 % & I appear to be stuck trying to mount the /dev/md0 device so I can copy stuff to it :-/. Any clues appreciated. TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Oct 2 21:26:04 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 176BFA0EB71 for ; Fri, 2 Oct 2015 21:26:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CDE2F138B for ; Fri, 2 Oct 2015 21:26:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t92LPthP022461 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Oct 2015 15:25:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t92LPtUv022458; Fri, 2 Oct 2015 15:25:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 2 Oct 2015 15:25:55 -0600 (MDT) From: Warren Block To: "William A. Mahaffey III" cc: FreeBSD Questions !!!! Subject: Re: Geom question In-Reply-To: <560EEE5F.3080904@hiwaay.net> Message-ID: References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EEE5F.3080904@hiwaay.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 02 Oct 2015 15:25:55 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 21:26:04 -0000 On Fri, 2 Oct 2015, William A. Mahaffey III wrote: > On 10/02/15 15:31, Chad J. Milios wrote: >>> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III >>> wrote: >>> >>> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from a >>> thumb drive. I would like to add a 'utils' directory w/ some scripts I >>> wrote to automate the partitioning/slicing of the HDD's (2X on 1 box, 8X >>> on the other), & also accumulate output from the install process in case >>> questions arise. To that end, I am planning on partitioning/slicing a >>> thumb drive, prepping it to be bootable following examples on the gpart >>> man page, & copying verbatim stuff from the memstick.img for 9.3R that I >>> downloaded a while back, as well as adding my utils directory. Reading up >>> on gpart & geom raises 1 question: can I do all these preps on a disk >>> image file I create w/ dd, or do i do them in place on the target >>> memstick, then dd the results onto an on-disk image for safekeeping ? Put >>> another way, can a disk image created by dd be a 'geom' for gpart ? TIA & >>> have a good one. >>> >>> -- >>> >>> William A. Mahaffey III >> In a way, yes. `mdconfig -f filename` will make your file accessible as a >> virtual device. >> > > Then to be accessed as /dev/md0 ? Any other clues/gotchas :-) ? Thanks & TIA > & have a good one. GPT does not work well with that. If the target device is larger, the backup GPT that is supposed to go at the very end of the disk ends up someplace before that. If the target device is smaller, well, it won't work at all. Also, avoid using dd on SSDs. In general, it's better to use higher-level things that understand the metadata, like 'gpart backup'/'gpart restore' for the partitioning information and dump/restore or 'zfs send' for the filesystems. 'gpart restore' can correctly restore the partitioning scheme onto a larger device because it understands what that data means. From owner-freebsd-questions@freebsd.org Fri Oct 2 21:28:07 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1C20A0EDF5 for ; Fri, 2 Oct 2015 21:28:07 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 85A0314FD for ; Fri, 2 Oct 2015 21:28:07 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: by mailman.ysv.freebsd.org (Postfix) id 82B60A0EDF4; Fri, 2 Oct 2015 21:28:07 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68511A0EDF3 for ; Fri, 2 Oct 2015 21:28:07 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D99914F4 for ; Fri, 2 Oct 2015 21:28:06 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-75-179-47-202.neo.res.rr.com [75.179.47.202]); by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id d9dedd72; Fri, 2 Oct 2015 17:28:04 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 4d24e7e4; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 2 Oct 2015 17:28:02 -0400 (EDT) Message-ID: <1443821416.2999.13.camel@michaeleichorn.com> Subject: Re: Using quarterly pkg repo with 10.1-RELEASE From: "Michael B. Eichorn" To: "William A. Mahaffey III" , questions@freebsd.org Date: Fri, 02 Oct 2015 17:30:16 -0400 In-Reply-To: <560EDF33.6020109@hiwaay.net> References: <560E9E9F.9040608@gmail.com> <1443801879.3242.8.camel@michaeleichorn.com> <560EDF33.6020109@hiwaay.net> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-NfU7K53djsZiNUTXi4EL" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 21:28:07 -0000 --=-NfU7K53djsZiNUTXi4EL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-10-02 at 14:52 +0000, William A. Mahaffey III wrote: > On 10/02/15 11:10, Michael B. Eichorn wrote: > > On Fri, 2015-10-02 at 15:11 +0000, C.L. Martinez wrote: > > > Hi all, > > >=20 > > > I think is right, but I am not sure, is it possible to use > > > quarterly > > > pkg repo with 10.1-RELEASE or can be used only with 10.2-RELEASE? > > >=20 > > > Thanks. > > Yes you can, and since the Q4 branch was cut 20 hours ago the > > transition > > should be pretty smooth. > >=20 > > To switch repos edit /etc/pkg/FreeBSD.conf to point at the quarterly > > repo. > >=20 > > Change the line: > >=20 > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > >=20 > > To: > > =09 > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", >=20 >=20 > Is this good for 9.3R as well ? TIA & have a good one. >=20 >=20 Looks like it. There are directories for 9 up on the mirrors with similar timestaps to the 10 quarterly files. --=-NfU7K53djsZiNUTXi4EL Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-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IoySw6RBGCCJJc7QS/zkRnJ6B5d niujq058k20ouOKL2JpRAgt8/aWCW/+ZJJztj+TVN/2TGIZUrHYSotmgQG0VS56GvIsBlzGJAs9h xlqObjW6ddXbne3A8kN0n08+BBXgv2zo7l62+K5M28l2DlVXd7rqNJazAAxUXOWrqJb0OkJGFwh/ gs7QOR2kKT7C/oaG/nuDP/zpYube3e77XvZJmcij+oaI5QxWU6ROBvkkQ8GeaSdkCJK5dhkGvAAA AAAAAA== --=-NfU7K53djsZiNUTXi4EL-- From owner-freebsd-questions@freebsd.org Fri Oct 2 21:31:00 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0325EA0D1A2 for ; Fri, 2 Oct 2015 21:31:00 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D75511916 for ; Fri, 2 Oct 2015 21:30:59 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.14] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id 94EA826C; Fri, 2 Oct 2015 21:30:57 +0000 (UTC) Subject: Re: Geom question To: "William A. Mahaffey III" References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EF0CC.80805@hiwaay.net> Cc: FreeBSD Questions !!!! From: "Chad J. Milios" Message-ID: <560EF795.6020406@ccsys.com> Date: Fri, 2 Oct 2015 17:31:01 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560EF0CC.80805@hiwaay.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 21:31:00 -0000 On 10/2/2015 5:00 PM, William A. Mahaffey III wrote: > On 10/02/15 15:31, Chad J. Milios wrote: >>> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III >>> wrote: >>> >>> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from >>> a thumb drive. I would like to add a 'utils' directory w/ some >>> scripts I wrote to automate the partitioning/slicing of the HDD's >>> (2X on 1 box, 8X on the other), & also accumulate output from the >>> install process in case questions arise. To that end, I am planning >>> on partitioning/slicing a thumb drive, prepping it to be bootable >>> following examples on the gpart man page, & copying verbatim stuff >>> from the memstick.img for 9.3R that I downloaded a while back, as >>> well as adding my utils directory. Reading up on gpart & geom raises >>> 1 question: can I do all these preps on a disk image file I create >>> w/ dd, or do i do them in place on the target memstick, then dd the >>> results onto an on-disk image for safekeeping ? Put another way, can >>> a disk image created by dd be a 'geom' for gpart ? TIA & have a good >>> one. >>> >>> -- >>> >>> William A. Mahaffey III >> In a way, yes. `mdconfig -f filename` will make your file accessible >> as a virtual device. >> > > Thanks for the info. I proceeded w/ trying to setup /dev/md0 as a > bootable disk image as follows: > > [root@kabini1, /etc, 3:54:31pm] 758 % dd if=/dev/zero > of=/home/memstick.img count=3699 bs=1m > 3699+0 records in > 3699+0 records out > 3878682624 bytes transferred in 8.324621 secs (465929036 bytes/sec) FYI, check out `man truncate` next time to save some time/space. Most file systems support what are known as "sparse" files. That dd command works just fine for this though. > [root@kabini1, /etc, 3:55:23pm] 759 % cat > ~wam/FreeBSD/9.3/README.createBootableMBR-SD.txt > > MBR: Master Boot Record is used on PCs and removable media. > Requires > the GEOM_PART_MBR kernel option. The GEOM_PART_EBR option > adds > support for the Extended Boot Record (EBR), which is used to > define a logical partition. The GEOM_PART_EBR_COMPAT option > enables backward compatibility for partition names in the EBR > scheme. It also prevents any type of actions on such > partitions. > > Create an MBR scheme on ada0, then create a 30GB-sized FreeBSD > slice, mark it active and install the boot0 boot manager: > > /sbin/gpart create -s MBR ada0 > /sbin/gpart add -t freebsd -s 30G ada0 > /sbin/gpart set -a active -i 1 ada0 > /sbin/gpart bootcode -b /boot/boot0 ada0 > > Now create a BSD scheme (BSD label) with space for up to 20 > partitions: > > /sbin/gpart create -s BSD -n 20 ada0s1 > > Create a 1GB-sized UFS partition and a 4GB-sized swap partition: > > /sbin/gpart add -t freebsd-ufs -s 1G ada0s1 > /sbin/gpart add -t freebsd-swap -s 4G ada0s1 > > Install bootstrap code for the BSD label: > > /sbin/gpart bootcode -b /boot/boot ada0s1 > > [root@kabini1, /etc, 3:55:50pm] 760 % mdconfig -f /home/memstick.img > md0 > [root@kabini1, /etc, 3:56:26pm] 761 % /sbin/gpart create -s MBR md0 > md0 created > [root@kabini1, /etc, 3:58:45pm] 762 % /sbin/gpart add -t freebsd -s > 3698M md0 > md0s1 added If you leave off the -s $SIZE option gpart will simply use up every available byte for you > [root@kabini1, /etc, 3:59:14pm] 763 % /sbin/gpart set -a active -i 1 md0 > active set on md0s1 > [root@kabini1, /etc, 3:59:25pm] 764 % /sbin/gpart bootcode -b > /boot/boot0 md0 > bootcode written to md0 > [root@kabini1, /etc, 3:59:44pm] 765 % /sbin/gpart create -s BSD md0s1 > md0s1 created > [root@kabini1, /etc, 3:59:57pm] 766 % /sbin/gpart add -t freebsd-ufs > md0s1 > md0s1a added > [root@kabini1, /etc, DING!] 767 % /sbin/gpart bootcode -b /boot/boot > md0s1 > bootcode written to md0s1 > [root@kabini1, /etc, 4:00:25pm] 768 % lltr /dev/md0*; date > crw-r----- 1 root operator 0xd2 Oct 2 15:56 /dev/md0 > crw-r----- 1 root operator 0xd5 Oct 2 15:59 /dev/md0s1 > crw-r----- 1 root operator 0xd6 Oct 2 16:00 /dev/md0s1a > Fri Oct 2 16:00:44 MCDT 2015 > [root@kabini1, /etc, 4:00:44pm] 769 % mount /dev/md0s1 /media/sd/ > mount: /dev/md0s1: Invalid argument > [root@kabini1, /etc, 4:01:16pm] 770 % mount -t ufs /dev/md0s1 /media/sd/ > mount: /dev/md0s1: Invalid argument > [root@kabini1, /etc, 4:01:34pm] 771 % mount -t ufs /dev/md0s1a /media/sd/ > mount: /dev/md0s1a: Invalid argument > [root@kabini1, /etc, 4:01:41pm] 772 % > > & I appear to be stuck trying to mount the /dev/md0 device so I can > copy stuff to it :-/. Any clues appreciated. TIA & have a good one. you need to `newfs /dev/md0s1a` first before attempting to mount it, as `gpart add -t freebsd-ufs $GEOM` only marks the meta info in the outerlying structure (the front few blocks of /dev/md0s1 in your case) and doesn't actually do what you're expecting. `man newfs` to decide that you probably want the -U flag with that and might want the -J flag as well. Cheers, -Chad From owner-freebsd-questions@freebsd.org Fri Oct 2 22:00:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E753AA0ECF7 for ; Fri, 2 Oct 2015 22:00:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 939DE1C95 for ; Fri, 2 Oct 2015 22:00:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 2B4CE2782C; Sat, 3 Oct 2015 00:00:43 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t92M0g79002154; Sat, 3 Oct 2015 00:00:42 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 3 Oct 2015 00:00:42 +0200 From: Polytropon To: "Chad J. Milios" Cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: Geom question Message-Id: <20151003000042.e821ff13.freebsd@edvax.de> In-Reply-To: <560EF795.6020406@ccsys.com> References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EF0CC.80805@hiwaay.net> <560EF795.6020406@ccsys.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 22:00:52 -0000 On Fri, 2 Oct 2015 17:31:01 -0400, Chad J. Milios wrote: > On 10/2/2015 5:00 PM, William A. Mahaffey III wrote: > > On 10/02/15 15:31, Chad J. Milios wrote: > >>> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III > >>> wrote: > >>> > >>> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from > >>> a thumb drive. I would like to add a 'utils' directory w/ some > >>> scripts I wrote to automate the partitioning/slicing of the HDD's > >>> (2X on 1 box, 8X on the other), & also accumulate output from the > >>> install process in case questions arise. To that end, I am planning > >>> on partitioning/slicing a thumb drive, prepping it to be bootable > >>> following examples on the gpart man page, & copying verbatim stuff > >>> from the memstick.img for 9.3R that I downloaded a while back, as > >>> well as adding my utils directory. Reading up on gpart & geom raises > >>> 1 question: can I do all these preps on a disk image file I create > >>> w/ dd, or do i do them in place on the target memstick, then dd the > >>> results onto an on-disk image for safekeeping ? Put another way, can > >>> a disk image created by dd be a 'geom' for gpart ? TIA & have a good > >>> one. > >>> > >>> -- > >>> > >>> William A. Mahaffey III > >> In a way, yes. `mdconfig -f filename` will make your file accessible > >> as a virtual device. > >> > > > > Thanks for the info. I proceeded w/ trying to setup /dev/md0 as a > > bootable disk image as follows: > > > > [root@kabini1, /etc, 3:54:31pm] 758 % dd if=/dev/zero > > of=/home/memstick.img count=3699 bs=1m > > 3699+0 records in > > 3699+0 records out > > 3878682624 bytes transferred in 8.324621 secs (465929036 bytes/sec) > FYI, check out `man truncate` next time to save some time/space. Most > file systems support what are known as "sparse" files. That dd command > works just fine for this though. > > [root@kabini1, /etc, 3:55:23pm] 759 % cat > > ~wam/FreeBSD/9.3/README.createBootableMBR-SD.txt > > > > MBR: Master Boot Record is used on PCs and removable media. > > Requires > > the GEOM_PART_MBR kernel option. The GEOM_PART_EBR option > > adds > > support for the Extended Boot Record (EBR), which is used to > > define a logical partition. The GEOM_PART_EBR_COMPAT option > > enables backward compatibility for partition names in the EBR > > scheme. It also prevents any type of actions on such > > partitions. > > > > Create an MBR scheme on ada0, then create a 30GB-sized FreeBSD > > slice, mark it active and install the boot0 boot manager: > > > > /sbin/gpart create -s MBR ada0 > > /sbin/gpart add -t freebsd -s 30G ada0 > > /sbin/gpart set -a active -i 1 ada0 > > /sbin/gpart bootcode -b /boot/boot0 ada0 > > > > Now create a BSD scheme (BSD label) with space for up to 20 > > partitions: > > > > /sbin/gpart create -s BSD -n 20 ada0s1 > > > > Create a 1GB-sized UFS partition and a 4GB-sized swap partition: > > > > /sbin/gpart add -t freebsd-ufs -s 1G ada0s1 > > /sbin/gpart add -t freebsd-swap -s 4G ada0s1 > > > > Install bootstrap code for the BSD label: > > > > /sbin/gpart bootcode -b /boot/boot ada0s1 > > > > [root@kabini1, /etc, 3:55:50pm] 760 % mdconfig -f /home/memstick.img > > md0 > > [root@kabini1, /etc, 3:56:26pm] 761 % /sbin/gpart create -s MBR md0 > > md0 created > > [root@kabini1, /etc, 3:58:45pm] 762 % /sbin/gpart add -t freebsd -s > > 3698M md0 > > md0s1 added > If you leave off the -s $SIZE option gpart will simply use up every > available byte for you > > [root@kabini1, /etc, 3:59:14pm] 763 % /sbin/gpart set -a active -i 1 md0 > > active set on md0s1 > > [root@kabini1, /etc, 3:59:25pm] 764 % /sbin/gpart bootcode -b > > /boot/boot0 md0 > > bootcode written to md0 > > [root@kabini1, /etc, 3:59:44pm] 765 % /sbin/gpart create -s BSD md0s1 > > md0s1 created > > [root@kabini1, /etc, 3:59:57pm] 766 % /sbin/gpart add -t freebsd-ufs > > md0s1 > > md0s1a added > > [root@kabini1, /etc, DING!] 767 % /sbin/gpart bootcode -b /boot/boot > > md0s1 > > bootcode written to md0s1 > > [root@kabini1, /etc, 4:00:25pm] 768 % lltr /dev/md0*; date > > crw-r----- 1 root operator 0xd2 Oct 2 15:56 /dev/md0 > > crw-r----- 1 root operator 0xd5 Oct 2 15:59 /dev/md0s1 > > crw-r----- 1 root operator 0xd6 Oct 2 16:00 /dev/md0s1a > > Fri Oct 2 16:00:44 MCDT 2015 > > [root@kabini1, /etc, 4:00:44pm] 769 % mount /dev/md0s1 /media/sd/ > > mount: /dev/md0s1: Invalid argument > > [root@kabini1, /etc, 4:01:16pm] 770 % mount -t ufs /dev/md0s1 /media/sd/ > > mount: /dev/md0s1: Invalid argument > > [root@kabini1, /etc, 4:01:34pm] 771 % mount -t ufs /dev/md0s1a /media/sd/ > > mount: /dev/md0s1a: Invalid argument > > [root@kabini1, /etc, 4:01:41pm] 772 % > > > > & I appear to be stuck trying to mount the /dev/md0 device so I can > > copy stuff to it :-/. Any clues appreciated. TIA & have a good one. > > you need to `newfs /dev/md0s1a` first before attempting to mount it, as > `gpart add -t freebsd-ufs $GEOM` only marks the meta info in the > outerlying structure (the front few blocks of /dev/md0s1 in your case) > and doesn't actually do what you're expecting. Also consider using GPT instead of MBR for partitioning. The corresponding virtial node would then be /dev/md0p1. See one of my previous messages for examples dealing with md's. > `man newfs` to decide > that you probably want the -U flag with that and might want the -J flag > as well. If you intend to prepare SSDs or USB thumb drives, there are some more options that can be tweaked (-m, -t, -i, maybe -L), as well as mount options when the whole thing is running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 2 22:14:47 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CBDDA0E680 for ; Fri, 2 Oct 2015 22:14:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E54EA18FC for ; Fri, 2 Oct 2015 22:14:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 03FEF2782C; Sat, 3 Oct 2015 00:14:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t92MEiut002221; Sat, 3 Oct 2015 00:14:44 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 3 Oct 2015 00:14:44 +0200 From: Polytropon To: "Moreno Carullo" Cc: "freebsd-questions@freebsd.org" Subject: Re: Console -- insecure settings Message-Id: <20151003001444.20266a03.freebsd@edvax.de> In-Reply-To: References: <20151002112101.GA95004@eris.bzerk.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 22:14:47 -0000 On Fri, 02 Oct 2015 14:14:42 +0200, Michael Ross wrote: > Am .10.2015, 13:21 Uhr, schrieb Ruben de Groot : > > > On Fri, Oct 02, 2015 at 10:32:48AM +0000, Moreno Carullo typed: > >> Hi all, > >> > >> I would like to set the console as insecure as documented here: > >> https://www.freebsd.org/doc/handbook/boot-introduction.html > >> > >> the issue is that the system seems to ignore the setting, as the single > >> user mode does NOT prompt for password. > > > > I think the documentation is wrong, because /etc/ttys is read by init, > > and init doesn't run in single user mode. > > Single user mode means /bin/sh replaces init. > > I tried this here just now, and having set "console" to "insecure", > the system prompts for the root password as documented. > > 10.1-RELEASE-p10 In worst case, check out "man 5 loader.conf" on how to require an earlier-stage password (for the boot loader); see the "password" and "bootlock_password" options for /boot/loader.conf. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 2 22:26:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9051A0D19A for ; Fri, 2 Oct 2015 22:26:42 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from cargobay.net (cargobay.net [198.178.123.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB13F1FE9 for ; Fri, 2 Oct 2015 22:26:42 +0000 (UTC) (envelope-from milios@ccsys.com) Received: from [192.168.0.14] (cblmdm72-240-160-19.buckeyecom.net [72.240.160.19]) by cargobay.net (Postfix) with ESMTPSA id 00534276; Fri, 2 Oct 2015 22:26:40 +0000 (UTC) Subject: Re: Geom question To: "William A. Mahaffey III" References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EEE5F.3080904@hiwaay.net> Cc: FreeBSD Questions !!!! From: "Chad J. Milios" Message-ID: <560F04A5.1060102@ccsys.com> Date: Fri, 2 Oct 2015 18:26:45 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 22:26:43 -0000 On 10/2/2015 5:25 PM, Warren Block wrote: > On Fri, 2 Oct 2015, William A. Mahaffey III wrote: > >> On 10/02/15 15:31, Chad J. Milios wrote: >>>> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III >>>> wrote: >>>> >>>> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably from >>>> a thumb drive. I would like to add a 'utils' directory w/ some >>>> scripts I wrote to automate the partitioning/slicing of the HDD's >>>> (2X on 1 box, 8X on the other), & also accumulate output from the >>>> install process in case questions arise. To that end, I am planning >>>> on partitioning/slicing a thumb drive, prepping it to be bootable >>>> following examples on the gpart man page, & copying verbatim stuff >>>> from the memstick.img for 9.3R that I downloaded a while back, as >>>> well as adding my utils directory. Reading up on gpart & geom >>>> raises 1 question: can I do all these preps on a disk image file I >>>> create w/ dd, or do i do them in place on the target memstick, then >>>> dd the results onto an on-disk image for safekeeping ? Put another >>>> way, can a disk image created by dd be a 'geom' for gpart ? TIA & >>>> have a good one. >>>> >>>> -- >>>> >>>> William A. Mahaffey III >>> In a way, yes. `mdconfig -f filename` will make your file accessible >>> as a virtual device. >>> >> >> Then to be accessed as /dev/md0 ? Any other clues/gotchas :-) ? >> Thanks & TIA & have a good one. > > GPT does not work well with that. If the target device is larger, the > backup GPT that is supposed to go at the very end of the disk ends up > someplace before that. If the target device is smaller, well, it > won't work at all. he's right. unless your md is exactly the correct total size, to the byte, the backup GPT header will be lost after copying to a different device. alas, it is a backup after all, unless/until the primary header suffers calamity, it'll cause you no grief. for the thorough/cautious `gpart recover da0` will fix it afterward, (assuming your data fits on the target and da0 is your usb stick). More problematic is that block sizes might mismatch. use `diskinfo -v $GEOM` to investigate, for each of your various top-level values for $GEOM. the "sectorsize" is the logical block size, which if mismatched can cause you overall configuration problems / total non-function. the "stripesize" is [if it can be detectected] your physical hardware blocksize which if mismatched will work but with abysmal performance. if stripesize is zero then nine times out of ten you can assume its the same as sectorsize. Then `gnop` is a geom layer utility for you that can fake different block sizes, so if you gnop your md0 to match your da0 you'll be able to make a proper image on md0 to transfer later to da0 > Also, avoid using dd on SSDs. dd's "conv=sparse,notrunc" mode of operation will alleviate this problem (the problem of beating it up with writes), though it'll leave sectors which are all zero on the source untouched on the target, which could be undesired. on an ssd you can TRIM the whole device first (logically zero it out without actually writing zeros) by using `camcontrol security $DEV -U user -s foo; camcontrol security $DEV -U user -e foo` replacing $DEV with ada0 (or your real target) to logically erase it. It should take no more than 5 minutes. (Despite the word "security", do not be fooled, this is a quick logical wipe and the old data can be recovered. It can do more with other options.) NOTE: while you research `man camcontrol` note theres a -u in the examples which should be -U, as I've just illustrated. This typo was fixed in HEAD and STABLE but may be in the RELEASE you're on. NOTE: cheapo usb sticks probably do not support TRIM. in general though, it's doubtful you have any real data blocks that are all zero and the un-zero'd blocks left on the target will likely all be ignored by virtue of the fact that the filesystem considers them free space. > In general, it's better to use higher-level things that understand the > metadata, like 'gpart backup'/'gpart restore' for the partitioning > information and dump/restore or 'zfs send' for the filesystems. > 'gpart restore' can correctly restore the partitioning scheme onto a > larger device because it understands what that data means. generally very good advice to follow. still, low-level hackery can be fun and educational :) Cheers. From owner-freebsd-questions@freebsd.org Fri Oct 2 22:35:33 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6311A0D987 for ; Fri, 2 Oct 2015 22:35:33 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85535143A for ; Fri, 2 Oct 2015 22:35:32 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t92MZU8A018305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 17:35:31 -0500 Subject: Re: Geom question References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EF0CC.80805@hiwaay.net> <560EF795.6020406@ccsys.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <560F06B2.4030702@hiwaay.net> Date: Fri, 2 Oct 2015 17:41:00 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560EF795.6020406@ccsys.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 22:35:33 -0000 On 10/02/15 16:37, Chad J. Milios wrote: >> [root@kabini1, /etc, 4:00:44pm] 769 % mount /dev/md0s1 /media/sd/ >> mount: /dev/md0s1: Invalid argument >> [root@kabini1, /etc, 4:01:16pm] 770 % mount -t ufs /dev/md0s1 /media/sd/ >> mount: /dev/md0s1: Invalid argument >> [root@kabini1, /etc, 4:01:34pm] 771 % mount -t ufs /dev/md0s1a >> /media/sd/ >> mount: /dev/md0s1a: Invalid argument >> [root@kabini1, /etc, 4:01:41pm] 772 % >> >> & I appear to be stuck trying to mount the /dev/md0 device so I can >> copy stuff to it :-/. Any clues appreciated. TIA & have a good one. > > you need to `newfs /dev/md0s1a` first before attempting to mount it, > as `gpart add -t freebsd-ufs $GEOM` only marks the meta info in the > outerlying structure (the front few blocks of /dev/md0s1 in your case) > and doesn't actually do what you're expecting. `man newfs` to decide > that you probably want the -U flag with that and might want the -J > flag as well. > > Cheers, > -Chad *Damn* !!!! If brains were dynamite, I couldn't blow my nose :-/ .... That worked AOK, thanks :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Fri Oct 2 23:06:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11C82A0F222 for ; Fri, 2 Oct 2015 23:06:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C744417E6 for ; Fri, 2 Oct 2015 23:06:44 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t92N6fie047618 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Oct 2015 17:06:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t92N6fmT047615; Fri, 2 Oct 2015 17:06:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 2 Oct 2015 17:06:41 -0600 (MDT) From: Warren Block To: "Chad J. Milios" cc: "William A. Mahaffey III" , FreeBSD Questions !!!! Subject: Re: Geom question In-Reply-To: <560F04A5.1060102@ccsys.com> Message-ID: References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EEE5F.3080904@hiwaay.net> <560F04A5.1060102@ccsys.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 02 Oct 2015 17:06:41 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 23:06:45 -0000 On Fri, 2 Oct 2015, Chad J. Milios wrote: >> GPT does not work well with that. If the target device is larger, the >> backup GPT that is supposed to go at the very end of the disk ends up >> someplace before that. If the target device is smaller, well, it won't >> work at all. > > he's right. unless your md is exactly the correct total size, to the byte, > the backup GPT header will be lost after copying to a different device. alas, > it is a backup after all, unless/until the primary header suffers calamity, > it'll cause you no grief. Well... due to kern.geom.part.check_integrity defaulting to 1, the system might refuse to boot. Or it might just complain, I forget. From owner-freebsd-questions@freebsd.org Sat Oct 3 03:20:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F07D0A0D120 for ; Sat, 3 Oct 2015 03:20:47 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BEBFA1D00 for ; Sat, 3 Oct 2015 03:20:47 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t933Kin6027124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 2 Oct 2015 22:20:45 -0500 Subject: Re: Geom question References: <560EDE45.3040605@hiwaay.net> <3D81C7BC-1A31-4046-88B7-50F25EA3B952@ccsys.com> <560EEE5F.3080904@hiwaay.net> <560F04A5.1060102@ccsys.com> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <560F498C.7090707@hiwaay.net> Date: Fri, 2 Oct 2015 22:26:14 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560F04A5.1060102@ccsys.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 03:20:48 -0000 On 10/02/15 17:33, Chad J. Milios wrote: > On 10/2/2015 5:25 PM, Warren Block wrote: >> On Fri, 2 Oct 2015, William A. Mahaffey III wrote: >> >>> On 10/02/15 15:31, Chad J. Milios wrote: >>>>> On Oct 2, 2015, at 3:41 PM, William A. Mahaffey III >>>>> wrote: >>>>> >>>>> I am prepping to provision 2 boxen w/ FreeBSD 9.3R, preferably >>>>> from a thumb drive. I would like to add a 'utils' directory w/ >>>>> some scripts I wrote to automate the partitioning/slicing of the >>>>> HDD's (2X on 1 box, 8X on the other), & also accumulate output >>>>> from the install process in case questions arise. To that end, I >>>>> am planning on partitioning/slicing a thumb drive, prepping it to >>>>> be bootable following examples on the gpart man page, & copying >>>>> verbatim stuff from the memstick.img for 9.3R that I downloaded a >>>>> while back, as well as adding my utils directory. Reading up on >>>>> gpart & geom raises 1 question: can I do all these preps on a disk >>>>> image file I create w/ dd, or do i do them in place on the target >>>>> memstick, then dd the results onto an on-disk image for >>>>> safekeeping ? Put another way, can a disk image created by dd be a >>>>> 'geom' for gpart ? TIA & have a good one. >>>>> >>>>> -- >>>>> >>>>> William A. Mahaffey III >>>> In a way, yes. `mdconfig -f filename` will make your file >>>> accessible as a virtual device. >>>> >>> >>> Then to be accessed as /dev/md0 ? Any other clues/gotchas :-) ? >>> Thanks & TIA & have a good one. >> >> GPT does not work well with that. If the target device is larger, >> the backup GPT that is supposed to go at the very end of the disk >> ends up someplace before that. If the target device is smaller, >> well, it won't work at all. > > he's right. unless your md is exactly the correct total size, to the > byte, the backup GPT header will be lost after copying to a different > device. alas, it is a backup after all, unless/until the primary > header suffers calamity, it'll cause you no grief. for the > thorough/cautious `gpart recover da0` will fix it afterward, (assuming > your data fits on the target and da0 is your usb stick). More > problematic is that block sizes might mismatch. use `diskinfo -v > $GEOM` to investigate, for each of your various top-level values for > $GEOM. the "sectorsize" is the logical block size, which if mismatched > can cause you overall configuration problems / total non-function. the > "stripesize" is [if it can be detectected] your physical hardware > blocksize which if mismatched will work but with abysmal performance. > if stripesize is zero then nine times out of ten you can assume its > the same as sectorsize. Then `gnop` is a geom layer utility for you > that can fake different block sizes, so if you gnop your md0 to match > your da0 you'll be able to make a proper image on md0 to transfer > later to da0 I think I am good here, although I took no explicit steps to set sector sizes (although I did carefully size md0 to (as exactly as possible) da0): [root@kabini1, /etc, 5:42:20pm] 779 % diskinfo -v /dev/md0 /dev/md0 512 # sectorsize 3878682624 # mediasize in bytes (3.6G) 7575552 # mediasize in sectors 0 # stripesize 0 # stripeoffset [root@kabini1, /etc, 10:21:06pm] 780 % diskinfo -v /dev/md1 /dev/md1 512 # sectorsize 717373440 # mediasize in bytes (684M) 1401120 # mediasize in sectors 0 # stripesize 0 # stripeoffset [root@kabini1, /etc, 10:21:18pm] 781 % diskinfo -v /dev/da0 /dev/da0 512 # sectorsize 3878682624 # mediasize in bytes (3.6G) 7575552 # mediasize in sectors 0 # stripesize 0 # stripeoffset 471 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. C1005473D05C9225 # Disk ident. [root@kabini1, /etc, 10:21:48pm] 782 % da0 is the memstick, md0 is the stuff I am prepping, md1 is the image I downloaded & will transfer to md0, along w/ some other stuff, to eventually write to da0. > >> Also, avoid using dd on SSDs. Not using a SSD here, but the warning is noted. > > dd's "conv=sparse,notrunc" mode of operation will alleviate this > problem (the problem of beating it up with writes), though it'll leave > sectors which are all zero on the source untouched on the target, > which could be undesired. on an ssd you can TRIM the whole device > first (logically zero it out without actually writing zeros) by using > `camcontrol security $DEV -U user -s foo; camcontrol security $DEV -U > user -e foo` replacing $DEV with ada0 (or your real target) to > logically erase it. It should take no more than 5 minutes. (Despite > the word "security", do not be fooled, this is a quick logical wipe > and the old data can be recovered. It can do more with other options.) > > NOTE: while you research `man camcontrol` note theres a -u in the > examples which should be -U, as I've just illustrated. This typo was > fixed in HEAD and STABLE but may be in the RELEASE you're on. > > NOTE: cheapo usb sticks probably do not support TRIM. in general > though, it's doubtful you have any real data blocks that are all zero > and the un-zero'd blocks left on the target will likely all be ignored > by virtue of the fact that the filesystem considers them free space. > >> In general, it's better to use higher-level things that understand >> the metadata, like 'gpart backup'/'gpart restore' for the >> partitioning information and dump/restore or 'zfs send' for the >> filesystems. >> 'gpart restore' can correctly restore the partitioning scheme onto a >> larger device because it understands what that data means. > > generally very good advice to follow. still, low-level hackery can be > fun and educational :) > > Cheers. > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@freebsd.org Sat Oct 3 07:49:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8070A0F7FC for ; Sat, 3 Oct 2015 07:49:18 +0000 (UTC) (envelope-from parv@pair.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.227]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3121ECF for ; Sat, 3 Oct 2015 07:49:17 +0000 (UTC) (envelope-from parv@pair.com) Received: from [66.91.233.235] ([66.91.233.235:55172] helo=holstein.holy.cow) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 33/11-20691-6C68F065; Sat, 03 Oct 2015 07:41:59 +0000 Received: by holstein.holy.cow (Postfix, from userid 1000) id B110B5CEE; Fri, 2 Oct 2015 21:42:10 -1000 (HST) Date: Fri, 2 Oct 2015 21:42:10 -1000 From: parv@pair.com To: f-q Subject: Working of "pkg audit " Message-ID: <20151003074210.GA50460@holstein.holy.cow> Mail-Followup-To: f-q MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=G9aSErU5 c=1 sm=1 tr=0 a=lTVOjstemKd+xnJOf5b3+g==:117 a=lTVOjstemKd+xnJOf5b3+g==:17 a=ayC55rCoAAAA:8 a=Ymsr-CWnAAAA:8 a=kj9zAlcOel0A:10 a=5lJygRwiOn0A:10 a=X0eaaUGMnVWRyhAD7n8A:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 07:49:18 -0000 I want to know if running "pkg audit" makes any sense for a port installed that has not been updated officially yet. Also, is it possible to supplement the vuxml catalog for such ports installed? Firefox 39 or 40 had been installed from ports. I got tired of seeing package being vulnerable on every ports tree update process that rebuilds "security/vuxml". As the "www/firefox" port has not been updated yet, so I fetched source of firefox 41.0.1; updated distinfo; installed (after rebuilding databases/sqlite3 with DBSTAT option & moving out "files/patch-bug702179" out of "files"). Now I see vulnerability warnings going back to 2004, which are just useless & rather amusing. At least the installed firefox is not vulnerable any more (yet). - parv -- From owner-freebsd-questions@freebsd.org Sat Oct 3 08:01:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34A33A0D5FB for ; Sat, 3 Oct 2015 08:01:09 +0000 (UTC) (envelope-from parv@pair.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) by mx1.freebsd.org (Postfix) with ESMTP id 04E2B129F for ; Sat, 3 Oct 2015 08:01:07 +0000 (UTC) (envelope-from parv@pair.com) Received: from [66.91.233.235] ([66.91.233.235:21705] helo=holstein.holy.cow) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 0C/D2-20691-28A8F065; Sat, 03 Oct 2015 07:57:55 +0000 Received: by holstein.holy.cow (Postfix, from userid 1000) id BA0CB5CEE; Fri, 2 Oct 2015 21:58:06 -1000 (HST) Date: Fri, 2 Oct 2015 21:58:06 -1000 From: parv@pair.com To: f-q Subject: Re: Working of "pkg audit " Message-ID: <20151003075806.GA50546@holstein.holy.cow> Mail-Followup-To: f-q References: <20151003074210.GA50460@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151003074210.GA50460@holstein.holy.cow> X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=G9aSErU5 c=1 sm=1 tr=0 a=lTVOjstemKd+xnJOf5b3+g==:117 a=lTVOjstemKd+xnJOf5b3+g==:17 a=ayC55rCoAAAA:8 a=Ymsr-CWnAAAA:8 a=kj9zAlcOel0A:10 a=5lJygRwiOn0A:10 a=6I5d2MoRAAAA:8 a=pQs5aej7AAAA:8 a=zLPl_RrunXlPxowX01UA:9 a=CjuIK1q_8ugA:10 a=WsX6kwJdmUYA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 08:01:09 -0000 Correction ... in message <20151003074210.GA50460@holstein.holy.cow>, wrote parv@p thusly... > ... > Firefox 39 or 40 had been installed from ports. I got tired of > seeing package being vulnerable on every ports tree update process > that rebuilds "security/vuxml". As the "www/firefox" port has not > been updated yet, so I fetched source of firefox 41.0.1; updated > distinfo; installed (after rebuilding databases/sqlite3 with DBSTAT > option & moving out "files/patch-bug702179" out of "files"). ... > At least the installed firefox is not vulnerable any more (yet). Apparently per pkg-version # pkg version -t 41.0.1 41.0,1 < ... & ... https://vuxml.freebsd.org/freebsd/2d56c7f4-b354-428f-8f48-38150c607a05.html ... 41.0.1 is still vulnerable. But according to ... https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox/ ... there are no outstaning vulnerabilities. Now I am confused. -- From owner-freebsd-questions@freebsd.org Sat Oct 3 09:01:55 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AE12A0E3EA for ; Sat, 3 Oct 2015 09:01:55 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01.mail.uk1.eechost.net [217.69.40.69]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD961645 for ; Sat, 3 Oct 2015 09:01:54 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [88.151.27.41] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1ZiITm-0000vv-Jd for freebsd-questions@freebsd.org; Sat, 03 Oct 2015 09:47:42 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.marelmo.com with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZiITl-0008ZJ-BQ for freebsd-questions@freebsd.org; Sat, 03 Oct 2015 08:47:41 +0000 Date: Sat, 3 Oct 2015 09:47:41 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Cross-compiling under FreeBSD for a Linux target Message-Id: <20151003094741.2b33814f3a9c08854915e24f@sohara.org> In-Reply-To: <20150928174810.GA42238@MacPorter.local> References: <20150928174810.GA42238@MacPorter.local> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 24227@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 09:01:55 -0000 On Mon, 28 Sep 2015 12:48:10 -0500 "J. Porter Clark" wrote: > Is there a way, under FreeBSD, to compile a program so that it > will run on a Linux target, specifically the same 32-bit Centos > 6 that the emulators/linux-c6 port uses? The linux-c6-devtools port appears to contain the requisite tools for the job - I've never tried it though. Failing that it is quite easy to run Centos 6 userland in a jail. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Oct 3 14:20:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72A99A0D22F for ; Sat, 3 Oct 2015 14:20:48 +0000 (UTC) (envelope-from adroitgseoservice@gmail.com) Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 427891E45 for ; Sat, 3 Oct 2015 14:20:48 +0000 (UTC) (envelope-from adroitgseoservice@gmail.com) Received: by pablk4 with SMTP id lk4so15426740pab.1 for ; Sat, 03 Oct 2015 07:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:from:to:subject:date:message-id:mime-version:content-type :thread-index:content-language; bh=0Jme307ZFzHpDlBTF55ZnKtcFBR0qkne3X3lE9SmHNA=; b=Wxcb304d3R5ZKIQqr8EYQ0GacNEYpvV4xsfhUCrIdpK+UggGZSBcCoQEBiBsjYXOig sNr+smaq3n3HmykxzyNXA3AsKwzdvIs3eTzsraEueXx5QqBpf4zmRI6x2K2kHxXCzBl4 JKl7fxa5Q58cpCHJ5lGmnjGkqkfXD8275kPScfvJnAVlHd1D5ZIdYMpf/Po9/F1he+rf HUvgTFqwrtXLwWvc6F4rCkWohiF88B9qOwV9SeHZ/W4JTSP06OLipgVKlX4NbNlQLffP dE279QEeNCvXnIj4h9s7vYQavoLi+H1DHahoaRq311Zgt69vE21hHBa8z+of63Fa69oz Ntdg== X-Received: by 10.67.22.196 with SMTP id hu4mr27047152pad.20.1443882047858; Sat, 03 Oct 2015 07:20:47 -0700 (PDT) Received: from DhrmendraPC ([14.102.105.244]) by smtp.gmail.com with ESMTPSA id qd5sm17730920pbc.73.2015.10.03.07.20.44 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Oct 2015 07:20:45 -0700 (PDT) Reply-To: From: "Reshu Rashi" To: Subject: Best Magento Ecommerce Services Date: Sat, 3 Oct 2015 19:49:09 +0530 Message-ID: <0e8f01d0fde6$a62f5690$f28e03b0$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdD95mp5ZezUF+AGRVO7IKIdcsiMDA== Content-Language: en-us X-Antivirus: avast! (VPS 151003-0, 10/03/2015), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 14:20:48 -0000 Hello I found your Magento Ecommerce website Via Google. I am Reshu Rashi, Representing India's best Magento Ecommerce Company, We have done 500 + Magento Store design and Development work, we do have our Specific expertise in Magento Store. We have exclusively excelled our proficiency in developing Magento store including Automated Integration for Magento Store with Google shopping, Review, Ajax based Pagination, Q and A module and many more. We are not only a Magento store template designer but are also engaged in delivering outstanding services for super advanced Level of customization of Magento Stores. In addition, we are known in the Industry for generating sales from Magento stores as we have developed an Advanced level of Skills for Magento Store SEO. We can make your Website Responsive to ensure the Mobile user friendliness. We have a three tier quality check system so No compromise on quality! We offer following Services: (1) Magento Store Designing Services. (2) Magento Store Development Services (3) Magento Store Re-Designing Services (4) Magento Store Advanced features Development and Integration (5) Testing of your Magento store as per the Google Guidelines to ensure its 100% perfect as per the Google Guidelines, We can do the below on one time fees: 1. Metas Analysis 2. Header Tags Optimization for all important pages 3. URL Optimization 4. Optimization of italics and bold tags 5. Optimizing HTML Code 6. Analysis of non index able attributes 7. Robots Optimization 8. Image Analysis and Optimization of Alt and Title tags 9. Hyperlink Analysis and Optimization 10. Optimization of internal Navigation /linking structure and of external Links 11. Analysis of Broken Links 12. Page Content Optimization 13. Footer Links Optimization 14. .Website URL Redirection and Solution for all error suggested by Google webmaster 15. Optimized XML Site Map Creation for Google May I know if you are interested in any of these services? Based on your response, one of our Expert Magento Store Consultant will be scheduled for further communications. For your reference our per man hour rate is US$ 13 / Hr Looking forward to your positive response. Regards, Reshu Rashi Marketing Manager --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus From owner-freebsd-questions@freebsd.org Sat Oct 3 14:38:30 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53166A0E0CD for ; Sat, 3 Oct 2015 14:38:30 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU004-OMC4S23.hotmail.com (blu004-omc4s23.hotmail.com [65.55.111.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1194115E7 for ; Sat, 3 Oct 2015 14:38:29 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU436-SMTP135 ([65.55.111.136]) by BLU004-OMC4S23.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 3 Oct 2015 07:37:22 -0700 X-TMN: [r+MSDmVHMkzuFNE2o4dVzrKAlJZ5a8jQ] X-Originating-Email: [carmel_ny@outlook.com] Message-ID: Date: Sat, 3 Oct 2015 10:37:20 -0400 From: Carmel NY To: FreeBSD FreeBSD Subject: Question about "pkg check" Organization: seibercom NET X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 03 Oct 2015 14:37:21.0891 (UTC) FILETIME=[0355DB30:01D0FDE9] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 14:38:30 -0000 FreeBSD version 10.2-RELEASE-p5 I ran "pkg check -d -a" as shown below and receive a lot of apparent error messages that I am not able to decipher. Can anyone assist me with this? My system appears to be working fine. pkg check -d -a Checking all packages: 100% libkfbapi has a missing dependency: gettext libkolab has require a missing libraries: libcurl.so.7 postfix-current has require a missing libraries: liblmdb.so >>> Missing package dependencies were detected. >>> Found 1 issue(s) in the package database. pkg: Repo FreeBSD needs schema upgrade from 2010 to 2012 but it is opened readonly pkg: need to re-create repo FreeBSD to upgrade schema version pkg: Repository FreeBSD cannot be opened. 'pkg update' required pkg: No packages available to install matching 'gettext' have been found in the repositories >>> Summary of actions performed: gettext dependency failed to be fixed >>> There are still missing dependencies. >>> You are advised to try fixing them manually. >>> Also make sure to check 'pkg updating' for known issues. I probably should add that I use "portupgrade" to maintain my system. I have several apps, like Postfix, Dovecot, etcetera that require more than the basic configuration before installation. Perhaps that means the error messages are harmless and I can ignore them. "Postfix-current" is working fine even though "pkg" claims it is missing a library. Thanks -- Carmel From owner-freebsd-questions@freebsd.org Sat Oct 3 15:21:23 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB384A0FC64 for ; Sat, 3 Oct 2015 15:21:23 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C36871D05 for ; Sat, 3 Oct 2015 15:21:23 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7E8DB203F7 for ; Sat, 3 Oct 2015 11:21:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sat, 03 Oct 2015 11:21:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=HuRh7MQQAxggwgALouuojrY1LiA=; b=tqHUZ ZiaCdBtqhQoaWRHhfYtvQyhW5VBmB+ueRIr6qMpx917ClqoMYNIjr2wZm1iTqdmr OzVpsL2ihZDzKT91q6xgn8eZcKRHQ92k+knkfYXLkoWhbALDErs78kS78bJikcyT 4UaHX9n8m1NtVyZCg+Rh9fZ4nxL1UeS0C8Oa0g= X-Sasl-enc: qVqhEvkHRFfrAIr5i/3eypac0Lm5gFnDXoZkjBiYYgZA 1443885681 Received: from [192.168.8.106] (207-118-213-125.dyn.centurytel.net [207.118.213.125]) by mail.messagingengine.com (Postfix) with ESMTPA id 4031D68013C for ; Sat, 3 Oct 2015 11:21:21 -0400 (EDT) From: Josh Paetzel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Writing to smbios from FreeBSD Message-Id: Date: Sat, 3 Oct 2015 10:21:24 -0500 To: freebsd-questions@freebsd.org X-Mailer: iPhone Mail (13A404) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 15:21:24 -0000 Our production team here at iXsystems tags out systems with serial numbers t= hat are visible from FreeBSD with dmidecode. It was recently brought to my attention that they boot systems into DOS/EFI t= o do this. Does anyone know of a way to write various SMBIOS values from within FreeBSD= ? Thanks, Josh Paetzel=