From owner-freebsd-questions@freebsd.org Sun Dec 27 14:34: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 AC07EA4DAF1 for ; Sun, 27 Dec 2015 14:34:41 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::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 4D02D1AAD for ; Sun, 27 Dec 2015 14:34:41 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id l126so238729690wml.1 for ; Sun, 27 Dec 2015 06:34:41 -0800 (PST) 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=0RyjgjvIOLPzZ8olfADjRlAsG9woJZUOrnWLs4WxQfM=; b=ihP/hchL8ke7CWopg/KwvtBzlJOYoKhjn1bmmRATeh3TY2wzHE/rccnHWVI9TqdxEH cXBee6y4bBSO9L3Pg4YdJuPh7VDEQQZbLBFO5Vs09YaTxjIdnf4+hcB1/+BvK9we//hU rymBj/h4y1DHj6nXMUcm8nYKCWOTWt4JLNoZHvNVwASI88sLG+4lgnpPxw/JlGjiWmFZ F7ZIG5v9jGOjSipBmlNLRYz66VInLNK9fXvhSpuhX24caUUN68JlmXwx/lvQLqKNdFld UpYxiaH1DcV3p3doHXIfwY+PI+ZibRCR8PxIQZ6stAH5BKOcVQWszdL+AilDT2sxJumU FKWQ== X-Received: by 10.28.49.3 with SMTP id x3mr56560718wmx.53.1451226879009; Sun, 27 Dec 2015 06:34:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.184.172 with HTTP; Sun, 27 Dec 2015 06:33:59 -0800 (PST) In-Reply-To: <566E367B.70604@calorieking.com> References: <566E367B.70604@calorieking.com> From: Odhiambo Washington Date: Sun, 27 Dec 2015 17:33:59 +0300 Message-ID: Subject: Re: Upgrade from 8.4 to 10.2 To: Gregory Orange 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: Sun, 27 Dec 2015 14:34:41 -0000 On 14 December 2015 at 06:24, Gregory Orange wrote: > On 12/12/15 19:50, Peter Harrison via freebsd-questions wrote: > >> I have a server I want to upgrade from 8.4-R to 10.2 using a binary >> upgrade. >> What's the preferred way of doing that? Ie. Should I jump to 9 first? And >> can I safely do it remotely or do I need to be on front of the console? >> > > FWIW I successfully upgraded over a dozen FreeBSD 8.4 amd64 machines > straight to 10.1 earlier this year, bypassing 9.x all together. One of the > machines had bad enough problems to require a reinstall, but it was very > old hardware and I didn't have physical access to it so I never got to the > root cause. In the end we chucked it and got a new machine anyway. > > I don't want to negate the advice of going to 9 first - I'm just sharing > my experience. > > HTH, > Greg. Greg, What procedure did you use? I have used the following before -> http://people.freebsd.org/~rse/upgrade/ to do 7->8, 8->9 but not upto 10. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." From owner-freebsd-questions@freebsd.org Sun Dec 27 22:43: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 02736A5390C for ; Sun, 27 Dec 2015 22:43:07 +0000 (UTC) (envelope-from ben.lavery@hashbang0.com) Received: from senderalt163-mail.zoho.com (senderalt163-mail.zoho.com [165.254.167.163]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD8681145 for ; Sun, 27 Dec 2015 22:43:05 +0000 (UTC) (envelope-from ben.lavery@hashbang0.com) Received: from talantinc.lan (3.154.198.146.dyn.plus.net [146.198.154.3]) by mx.zohomail.com with SMTPS id 1451256174138967.8440701346641; Sun, 27 Dec 2015 14:42:54 -0800 (PST) From: Ben Lavery Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: VirtualBox paravirtualisation for FreeBSD guest? Message-Id: Date: Sun, 27 Dec 2015 22:42:50 +0000 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-Zoho-Virus-Status: 1 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 Dec 2015 22:43:07 -0000 Hullo all, I've got a Mac Pro I use for streaming media to an AppleTV and want to = run a FreeBSD VM on the spare resources. I'm planning on using = VirtualBox and have seen in more recent versions that it offers various = paravirtualisation interfaces = (https://www.virtualbox.org/manual/ch10.html#gimproviders). Setting up = a new VirtualBox VM for various Linux distros seems to select different = paravirtualisation interfaces, but nothing but Default for FreeBSD. To install and use FreeBSD 10.2 in VirtualBox 5, am I best off to stick = with the defaults, or can I gain better performance/support by choosing = a certain paravirtualisation interface? And if so which one? I know = that GENERIC has Hyper-V support, so I=E2=80=99m wondering if that would = be a sensible option=E2=80=A6 Many thanks, Ben= From owner-freebsd-questions@freebsd.org Mon Dec 28 20:28: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 01B77A54EBC for ; Mon, 28 Dec 2015 20:28:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9E2A13C5 for ; Mon, 28 Dec 2015 20:28:44 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.203.196.186] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aDePC-0001hB-Gc; Mon, 28 Dec 2015 21:28:34 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBSKSXjq002448 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Dec 2015 21:28:33 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBSKSXQg002447; Mon, 28 Dec 2015 21:28:33 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 28 Dec 2015 21:28:33 +0100 From: Matthias Apitz To: Adam Vande More Cc: FreeBSD Questions Subject: Re: remove all installed packages Message-ID: <20151228202833.GA2425@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Adam Vande More , FreeBSD Questions References: <20151208200303.GA2194@c720-r285885-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.203.196.186 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 Dec 2015 20:28:46 -0000 El día Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande More escribió: > Much depends on what is exactly installed but in general that looks like a > pretty terrible idea. If you're willing to going that far, just recreate > the whole system. > > Otherwise pkg delete -a At the end of the day, I used this 'pkg delete -a', followed by an additional # pkg delete -f pkg and all was fine cleared and ready to be re-installed from the ports; matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045 From owner-freebsd-questions@freebsd.org Tue Dec 29 00:01: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 9FB4DA532F3 for ; Tue, 29 Dec 2015 00:01:04 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 85A6F14AD for ; Tue, 29 Dec 2015 00:01:04 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=nx1ZYcDenCgWdKaah5kdUJznSCFIaTVf9ZyskOafBoo=; b=M9iBu92NAA3Od3tW83scFb8dAh coy82ts8wpoG8panc9ywk+6dnTUIHoU3mzIW4+0In+W/cHZ4k6YgioeGIANCQMd9hlw5WxThlmoU4 gSgR2uvR0TObFViZJ8BeVTJkiQaeG9JrUEUTwUzmD1e9aZ5d1XGtCbb274g4NcCpsvGE=; Received: from [114.121.160.206] (port=26534 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aDhii-0033ri-FD; Mon, 28 Dec 2015 17:00:57 -0700 Date: Tue, 29 Dec 2015 08:00:50 +0800 From: Erich Dollansky To: Matthias Apitz Cc: Adam Vande More , FreeBSD Questions Subject: Re: remove all installed packages Message-ID: <20151229080050.1780e0fc@X220.alogt.com> In-Reply-To: <20151228202833.GA2425@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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 Dec 2015 00:01:04 -0000 Hi, On Mon, 28 Dec 2015 21:28:33 +0100 Matthias Apitz wrote: > El d=C3=ADa Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande > More escribi=C3=B3: >=20 > > Much depends on what is exactly installed but in general that looks > > like a pretty terrible idea. If you're willing to going that far, > > just recreate the whole system. > >=20 > > Otherwise pkg delete -a =20 >=20 > At the end of the day, I used this 'pkg delete -a', followed by an > additional=20 >=20 > # pkg delete -f pkg >=20 did you take a look at /use/local? It should be empty if you did not install own software. > and all was fine cleared and ready to be re-installed from the ports; >=20 This is what has to be expected. Erich From owner-freebsd-questions@freebsd.org Tue Dec 29 05:23: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 4DAD8A54095 for ; Tue, 29 Dec 2015 05:23:18 +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 177A31E8F for ; Tue, 29 Dec 2015 05:23:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3A2E03CDE6; Tue, 29 Dec 2015 06:23:09 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBT5N80e002117; Tue, 29 Dec 2015 06:23:08 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 29 Dec 2015 06:23:08 +0100 From: Polytropon To: Erich Dollansky Cc: Matthias Apitz , FreeBSD Questions Subject: Re: remove all installed packages Message-Id: <20151229062308.ebd637b9.freebsd@edvax.de> In-Reply-To: <20151229080050.1780e0fc@X220.alogt.com> References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.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=ISO-8859-1 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: Tue, 29 Dec 2015 05:23:18 -0000 On Tue, 29 Dec 2015 08:00:50 +0800, Erich Dollansky wrote: > Hi, >=20 > On Mon, 28 Dec 2015 21:28:33 +0100 > Matthias Apitz wrote: >=20 > > El d=EDa Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande > > More escribi=F3: > >=20 > > > Much depends on what is exactly installed but in general that looks > > > like a pretty terrible idea. If you're willing to going that far, > > > just recreate the whole system. > > >=20 > > > Otherwise pkg delete -a =20 > >=20 > > At the end of the day, I used this 'pkg delete -a', followed by an > > additional=20 > >=20 > > # pkg delete -f pkg > >=20 > did you take a look at /use/local? >=20 > It should be empty if you did not install own software. If I remember correctly, the system installer does create some directory structure in /usr/local, so it won't be entirely empty when the OS has been installed; /etc/mtree/BSD.local.dist should give some information. This file is also handy for preparing a new ports installation "from scratch" when /usr/local has been entirely deleted manually. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Dec 29 06:28: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 89C9DA55423 for ; Tue, 29 Dec 2015 06:28:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E4F41377 for ; Tue, 29 Dec 2015 06:28:50 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.139.117] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aDnm2-0002qW-V5; Tue, 29 Dec 2015 07:28:47 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBT6Shhu001752 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Dec 2015 07:28:43 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBT6SgZI001751; Tue, 29 Dec 2015 07:28:42 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 29 Dec 2015 07:28:42 +0100 From: Matthias Apitz To: Erich Dollansky Cc: Adam Vande More , FreeBSD Questions Subject: Re: remove all installed packages Message-ID: <20151229062841.GA1723@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Erich Dollansky , Adam Vande More , FreeBSD Questions References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151229080050.1780e0fc@X220.alogt.com> X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.117 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 Dec 2015 06:28:51 -0000 El día Tuesday, December 29, 2015 a las 08:00:50AM +0800, Erich Dollansky escribió: > Hi, > > On Mon, 28 Dec 2015 21:28:33 +0100 > Matthias Apitz wrote: > > > El día Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande > > More escribió: > > > > > Much depends on what is exactly installed but in general that looks > > > like a pretty terrible idea. If you're willing to going that far, > > > just recreate the whole system. > > > > > > Otherwise pkg delete -a > > > > At the end of the day, I used this 'pkg delete -a', followed by an > > additional > > > > # pkg delete -f pkg > > > did you take a look at /use/local? Yes, I did even a backup: # cd /usr/local # tar cf etc.tar etc # mv poudiere poudiere.saved (contains all my jails) > It should be empty if you did not install own software. No, it should not and it wasn't. The deletion did not removed config files in /usr/local/etc, for example. > > and all was fine cleared and ready to be re-installed from the ports; > > > This is what has to be expected. Yes. I svn updated /usr/ports and 'make installed' only two ports: ports-mgmt/pkg ports-mgmt/poudriere-devel and tested my old poudriere jail; it worked fine. matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045 From owner-freebsd-questions@freebsd.org Tue Dec 29 07:10: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 9F516A55FC1 for ; Tue, 29 Dec 2015 07:10:07 +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 668D6135E for ; Tue, 29 Dec 2015 07:10:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 9FFCF3CE33; Tue, 29 Dec 2015 08:10:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBT7A3hF002067; Tue, 29 Dec 2015 08:10:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 29 Dec 2015 08:10:03 +0100 From: Polytropon To: Matthias Apitz Cc: Erich Dollansky , FreeBSD Questions Subject: Re: remove all installed packages Message-Id: <20151229081003.8299f347.freebsd@edvax.de> In-Reply-To: <20151229062841.GA1723@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.com> <20151229062841.GA1723@c720-r285885-amd64> 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=ISO-8859-1 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: Tue, 29 Dec 2015 07:10:07 -0000 On Tue, 29 Dec 2015 07:28:42 +0100, Matthias Apitz wrote: > El d=EDa Tuesday, December 29, 2015 a las 08:00:50AM +0800, Erich Dollans= ky escribi=F3: > > It should be empty if you did not install own software. >=20 > No, it should not and it wasn't. The deletion did not removed config > files in /usr/local/etc, for example. This is intended. If I remember correctly, _any_ file not mentioning the checksum of the original file coming from the port or package, and any additionally supplied file will not be removed by package deletion ("user files"). --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Dec 29 08:01: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 187A9A521C4 for ; Tue, 29 Dec 2015 08:01:25 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 F12041958 for ; Tue, 29 Dec 2015 08:01:24 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=6eS6Qr5xh//8QlZbDJXf8EJYFxwEPhEOe+gGpuevSig=; b=p34bpKycayhF7S/Yw3KLwdHAXE pET4jBzQfvYsCvIMCRw5/UR4QzsURpvNvNqHCQwYRhgHDlShS01BQgrcVj2oSGH/Q4BNeSwMns9Sc JCzwUMHhLg6jqaRmAfeX3vkEC4pZXrfKjIAwYn1PVsZ+u59sFMrYTENZRNfZNjstCf/w=; Received: from [114.121.134.187] (port=36034 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aDpDf-003FKf-77; Tue, 29 Dec 2015 01:01:23 -0700 Date: Tue, 29 Dec 2015 16:01:16 +0800 From: Erich Dollansky To: Matthias Apitz Cc: Adam Vande More , FreeBSD Questions Subject: Re: remove all installed packages Message-ID: <20151229160116.4a061530@X220.alogt.com> In-Reply-To: <20151229062841.GA1723@c720-r285885-amd64> References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.com> <20151229062841.GA1723@c720-r285885-amd64> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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 Dec 2015 08:01:25 -0000 Hi, On Tue, 29 Dec 2015 07:28:42 +0100 Matthias Apitz wrote: > El d=C3=ADa Tuesday, December 29, 2015 a las 08:00:50AM +0800, Erich > Dollansky escribi=C3=B3: >=20 > > On Mon, 28 Dec 2015 21:28:33 +0100 > > Matthias Apitz wrote: > > =20 > > > # pkg delete -f pkg > > > =20 > > did you take a look at /use/local? =20 >=20 > Yes, I did even a backup: >=20 > # cd /usr/local > # tar cf etc.tar etc > # mv poudiere poudiere.saved (contains all my jails) >=20 THis is yours then. > > It should be empty if you did not install own software. =20 >=20 > No, it should not and it wasn't. The deletion did not removed config > files in /usr/local/etc, for example. >=20 I always forget this. > > > and all was fine cleared and ready to be re-installed from the > > > ports;=20 > > This is what has to be expected. =20 >=20 > Yes. I svn updated /usr/ports and 'make installed' only two ports: >=20 > ports-mgmt/pkg > ports-mgmt/poudriere-devel >=20 > and tested my old poudriere jail; it worked fine. >=20 You achieved what you wanted then. Erich From owner-freebsd-questions@freebsd.org Tue Dec 29 09:25: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 E2A99A5454F for ; Tue, 29 Dec 2015 09:25:22 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x243.google.com (mail-pa0-x243.google.com [IPv6:2607:f8b0:400e:c03::243]) (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 B87B11E31 for ; Tue, 29 Dec 2015 09:25:22 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x243.google.com with SMTP id a20so2644477pag.3 for ; Tue, 29 Dec 2015 01:25:22 -0800 (PST) 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=BzhDPfxzGwTCLFWw3o9o9mlSX0johE4LDXsoE9IR2gg=; b=JcVzFSVSUJWH/AWPInctSX2fBWBF5iUnC7fGvxe3R7klxz+EXMJygyBJsiJ+yWIPt9 IZfVwbQuHhq9pMuKOOMdPDuGyUpDdKKRDSS8ubRgAACBpPMNOvSEWwZ4dyJQmhc0shZ6 0wh96OzNo7HeO+K1Vg58QYcvQn1Nwko6uUvtjvIX9jmfRSkde0BtLGZQRGwGZMab2STY ERZpOukUtvAWwyUwOuabbhLGTALNCsbJn5EI0FN7ypNm4+lGnzcdVRUw58Ph2RNC5eZ/ jegAyB+hkZRUT7tJ/RS6KfwMMWMfAhzc5hrn9fSL+MMT/EYs/BLcP3Y0pKyXemCeogc9 Nxpw== X-Received: by 10.66.101.3 with SMTP id fc3mr44290211pab.2.1451381122450; Tue, 29 Dec 2015 01:25:22 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id b9sm23160487pas.31.2015.12.29.01.25.21 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 01:25:21 -0800 (PST) To: FreeBSD Questions From: Sergei G Subject: Newest mediawiki is not a package on FreeBSD 10.2 Message-ID: <56825181.2060509@gmail.com> Date: Tue, 29 Dec 2015 01:25:21 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.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 Dec 2015 09:25:23 -0000 Hi, I'd like to install latest mediawiki 1.26 on FreeBSD 10.2. However, the search with 'pkg search -x mediawiki' returns the following (trimmed) response: mediawiki119-1.19.24 mediawiki123-1.23.10 mediawiki124-1.24.3 mediawiki125-1.25.2 I don't see mediawiki126, but it is available in ports collection at: https://svnweb.freebsd.org/ports/head/www/mediawiki126/ I am on a standard installation and I am willing to install it inside a dedicated 10.2 jail. How do I point FreeBSD package system so it can find mediawiki126? Thank you From owner-freebsd-questions@freebsd.org Tue Dec 29 09:28: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 7A469A54632 for ; Tue, 29 Dec 2015 09:28:50 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 5222B1F19 for ; Tue, 29 Dec 2015 09:28:50 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x235.google.com with SMTP id uo6so100054470pac.1 for ; Tue, 29 Dec 2015 01:28:50 -0800 (PST) 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=mw2ZhqbHtS3cTnLRD36dEdem9WvOrq+HcH5QBMOD6OI=; b=CcvB7JjQW5EJgLyo/HFus9NsKLFslOP5YfipDLcehRIdOMzSd2ndGuYABCxIr50ZRB Xpm+k/PkQjEQxxO8rO1ukyywy4kl5gbbysYDh66V6Vhefg1D2vmCORdZlZ1iHAcne5Ca fAHjbZMia8nAmMfGxQvK/AxkRdMAOJXtAj6RtF28gOu0hrwSr3F6qtUe+dg2nzGWtikS fR9frPAycaiOCM2+HYyRlhnhXCAoawaDV7ENj1MHSXaPOqoUCis6VxWHvPyA6XMAPC+A uwDPRyfvtq5eHPwAje4011AglZ5n7Vpi+eUMg8LDanzzru770j9Pl1oyKAAGvttjGGeu nuBg== X-Received: by 10.66.222.129 with SMTP id qm1mr41009906pac.10.1451381329903; Tue, 29 Dec 2015 01:28:49 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id oj9sm3687445pab.8.2015.12.29.01.28.49 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 01:28:49 -0800 (PST) Subject: Re: remove all installed packages To: freebsd-questions@freebsd.org References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> From: Sergei G Message-ID: <56825250.9010900@gmail.com> Date: Tue, 29 Dec 2015 01:28:48 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151228202833.GA2425@c720-r285885-amd64> 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: Tue, 29 Dec 2015 09:28:50 -0000 That's my procedure as well: pkg delete -a pkg remove -f pkg I also have the following 3rd command (not sure if it matters): rm -r /var/db/pkg On 12/28/15 12:28 PM, Matthias Apitz wrote: > El día Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande More escribió: > >> Much depends on what is exactly installed but in general that looks like a >> pretty terrible idea. If you're willing to going that far, just recreate >> the whole system. >> >> Otherwise pkg delete -a > At the end of the day, I used this 'pkg delete -a', followed by an > additional > > # pkg delete -f pkg > > and all was fine cleared and ready to be re-installed from the ports; > > matthias > From owner-freebsd-questions@freebsd.org Tue Dec 29 09:35: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 25243A54992 for ; Tue, 29 Dec 2015 09:35:00 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::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 F1BB21442 for ; Tue, 29 Dec 2015 09:34:59 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pf0-x22f.google.com with SMTP id e65so72691086pfe.1 for ; Tue, 29 Dec 2015 01:34:59 -0800 (PST) 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=4ItyUkjYw5QinqLLb/Pq1kkY2UbU3iouVk9Yswda4mk=; b=Ubbu1tTPYFgY2br5tAAdkMQ9ZaeabtrZTj3bP+eF7RThAYblGm7bpnYWdQtVXqvvjm e4gOmiQjB1GXAfdNInDbm/F4QjX5lKvsfiGNqcx6mio+lTWo94mNXygTde5ZWQd2IJh4 Z4iRxtqIcgTJpomuPBpph4eYdU1ElvJg9J+9I2W2ciiyDZIXZd8a9FdrHbCKiIfLf043 9myOjFN6svEeBdOWwwu6Jz743pjX+OB89OSnnEqECEFtMsfpN2JPsZB7rriiua2GrRQy TUgvg7SbdBi02QkaK18mNtTDbLY5w98Bj9uCSfpwkF6po7q2lGUlCs/iQZB5kFO6+z9R 85uw== X-Received: by 10.98.11.135 with SMTP id 7mr85903636pfl.39.1451381699571; Tue, 29 Dec 2015 01:34:59 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id e67sm52234861pfd.7.2015.12.29.01.34.58 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 01:34:59 -0800 (PST) Subject: Re: VirtualBox paravirtualisation for FreeBSD guest? To: freebsd-questions@freebsd.org References: From: Sergei G Message-ID: <568253C2.1030503@gmail.com> Date: Tue, 29 Dec 2015 01:34:58 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.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: Tue, 29 Dec 2015 09:35:00 -0000 I am not sure what you are talking about, but I have a VM on Mac that's running with PIIX3 chipset. On 12/27/15 2:42 PM, Ben Lavery wrote: > Hullo all, > > I've got a Mac Pro I use for streaming media to an AppleTV and want to run a FreeBSD VM on the spare resources. I'm planning on using VirtualBox and have seen in more recent versions that it offers various paravirtualisation interfaces (https://www.virtualbox.org/manual/ch10.html#gimproviders). Setting up a new VirtualBox VM for various Linux distros seems to select different paravirtualisation interfaces, but nothing but Default for FreeBSD. > > To install and use FreeBSD 10.2 in VirtualBox 5, am I best off to stick with the defaults, or can I gain better performance/support by choosing a certain paravirtualisation interface? And if so which one? I know that GENERIC has Hyper-V support, so I’m wondering if that would be a sensible option… > > Many thanks, > Ben > _______________________________________________ > 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 Dec 29 09:41: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 E51B1A54C56 for ; Tue, 29 Dec 2015 09:41:14 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-pa0-x244.google.com (mail-pa0-x244.google.com [IPv6:2607:f8b0:400e:c03::244]) (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 BD66115F4 for ; Tue, 29 Dec 2015 09:41:14 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x244.google.com with SMTP id pv5so8778381pac.0 for ; Tue, 29 Dec 2015 01:41:14 -0800 (PST) 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=yd91VMJLcBLniXgi6smJuGW4Yv1LITjqA/F5GYTDTi8=; b=IbJZxOIysojFgOxiO7VicpY6m6K9mC50//6G5Q0EWXoJDWWCY5udNLVNbuRX2YD7PA BKw3FnBrZaG8pU6oalajV99Up5wC4rm0EnoFi32vsEHZ4xXw3CqXA/Wnf14mqDFblefo qTfcAi3AcVDFmcSpjV2t10kF+LXehhNoiEUrj2hJlUGR/tipw1CseHuazD3Ou3YNP0Y6 d8P6goZnxCr837ytC4QEp6qZBYt3u8sZCPmYZE7iePx6siw5wgXAqPRV0JBT9FAc5fqq 6EMKPgCTTDMklqWXLyIYFwkKlxIc1G8ZQfXuCE9v7LreAb/icfqQhQCgc/kxmSgZX3yK W5YQ== X-Received: by 10.66.227.1 with SMTP id rw1mr85618980pac.35.1451382074200; Tue, 29 Dec 2015 01:41:14 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id qy9sm35497883pab.37.2015.12.29.01.41.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 01:41:13 -0800 (PST) Subject: Re: Mysql server in a jail To: David Mehler , freebsd-questions References: From: Sergei G Message-ID: <56825537.2040701@gmail.com> Date: Tue, 29 Dec 2015 01:41:11 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.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: Tue, 29 Dec 2015 09:41:15 -0000 MySQL 5.6 on 10.2 jail; no problems with configuration that severely limits memory consumption. On 12/24/15 1:18 PM, David Mehler wrote: > Hello, > > Is anyone running MySQL 5.6 server in a jail? I'm attempting to do so > and can not get it to start. I've googled this and found others with > this problem, but they had permissions issues which I am not having. > I'm getting no MySQL output at all even when I comment out the > /dev/null options in the MySQL startup file, I have no additional > information except that the server is not starting in the jail. > > Any help appreciated. > > Thanks. > Dave. > _______________________________________________ > 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 Dec 29 09:48: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 0EDA4A54FFD for ; Tue, 29 Dec 2015 09:48:52 +0000 (UTC) (envelope-from sergeig.public@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 DC94012B4 for ; Tue, 29 Dec 2015 09:48:51 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-pa0-x241.google.com with SMTP id a20so2680045pag.3 for ; Tue, 29 Dec 2015 01:48:51 -0800 (PST) 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=PvthC5JsPHpTuAT73k3T5qdGqdzMPLo+GTvnbKSgh4A=; b=kgrtaNXcnPpEMDlHA5Ibq9JudfFO6UMZmV4ZZ1QoDzPuPM92ZzRV8me5N4huyX+Dv3 qrPIsQ8/RqD0Ye+j+UuUhksIchPMQA/erh4Dp3ZBl+CKHn5pMXRs2U5dJCOnGvsfkyBk NTwpKsyF983oWCrBMNx5u9aeilfQNwe1yapI/VQo/n6pKcNvqgx8oP6MDwcyRH2rhmMW YprqTzKKOw99So5M3swLX8Nevy+xjgwsXiLRM7UBggLKYQ7kJGTvDN/8WsR0z/k+FdMF Z2Yf0bMW9iT3P2F82MNt/EZ1BUZkvy0FZmeSxeYnpNzBS+kYQs/jhgqxTR1r1M5x2TSX Hacg== X-Received: by 10.66.140.39 with SMTP id rd7mr84884349pab.86.1451382531631; Tue, 29 Dec 2015 01:48:51 -0800 (PST) Received: from SergeiMBP.local (c-24-16-122-177.hsd1.wa.comcast.net. [24.16.122.177]) by smtp.googlemail.com with ESMTPSA id sm8sm86815206pac.43.2015.12.29.01.48.50 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 01:48:51 -0800 (PST) To: FreeBSD Questions From: Sergei G Subject: delete button in console Message-ID: <56825701.30908@gmail.com> Date: Tue, 29 Dec 2015 01:48:49 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.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 Dec 2015 09:48:52 -0000 When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt I get character '~' printed on screen. Backspace works just fine. I think even an actual console behaves the same way. Is there a way to "map" the Delete button to work appropriately? Would it be my SSH client application or FreeBSD itself? From owner-freebsd-questions@freebsd.org Tue Dec 29 10:06: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 67F29A55557 for ; Tue, 29 Dec 2015 10:06:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DD1D1C58 for ; Tue, 29 Dec 2015 10:06:39 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.139.117] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aDrAp-0001iQ-PJ for freebsd-questions@freebsd.org; Tue, 29 Dec 2015 11:06:36 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBTA6U9x018497 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 29 Dec 2015 11:06:30 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBTA6TZi018496 for freebsd-questions@freebsd.org; Tue, 29 Dec 2015 11:06:29 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 29 Dec 2015 11:06:29 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: remove all installed packages Message-ID: <20151229100629.GA18472@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <56825250.9010900@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56825250.9010900@gmail.com> X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.117 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 Dec 2015 10:06:40 -0000 El día Tuesday, December 29, 2015 a las 01:28:48AM -0800, Sergei G escribió: > That's my procedure as well: > > pkg delete -a > pkg remove -f pkg > > ... While we are at this, I was asking me how the package pkg itself is installed as the first package using the ports collection ports-mgmt/pkg; it looks like that it uses directly work/pkg*/src/pkg-static or how this works? matthias -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045 From owner-freebsd-questions@freebsd.org Tue Dec 29 10:11: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 C237FA556D3 for ; Tue, 29 Dec 2015 10:11:09 +0000 (UTC) (envelope-from ben.lavery@hashbang0.com) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CEBF1ECE for ; Tue, 29 Dec 2015 10:11:09 +0000 (UTC) (envelope-from ben.lavery@hashbang0.com) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1451383859992332.8551244370875; Tue, 29 Dec 2015 02:10:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 From: Ben Lavery Mime-Version: 1.0 Subject: Re: VirtualBox paravirtualisation for FreeBSD guest? Message-Id: Date: Tue, 29 Dec 2015 10:10:58 +0000 References: <568253C2.1030503@gmail.com> To: freebsd-questions@freebsd.org In-Reply-To: <568253C2.1030503@gmail.com> User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Zoho-Virus-Status: 1 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 Dec 2015 10:11:09 -0000 IEluIFZpcnR1YWxCb3ggNSwgZ29pbmcgaW50byB0aGUgc2V0dGluZ3MgZm9yIGEgVk0gdGhlbiBp bnRvIHRoZSBTeXN0ZW0gPiBBY2NlbGVyYXRpb24gdGFicywgdGhlcmUgaXMgYSBkcm9wIGRvd24g bWVudSB3aXRoIHRoZSBmb2xsb3dpbmcgb3B0aW9ucyBmb3Ig4oCcUGFyYXZpcnR1YWxpemF0aW9u IEludGVyZmFjZ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1xdWVzdGlvbnMNCj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55 IG1haWwgdG8gImZyZWVic2QtcXVlc3Rpb25zLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-questions@freebsd.org Tue Dec 29 10:21:19 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 D6B9BA55ADD for ; Tue, 29 Dec 2015 10:21:19 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::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 75FAF1629 for ; Tue, 29 Dec 2015 10:21:19 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id b14so7853300wmb.1 for ; Tue, 29 Dec 2015 02:21:19 -0800 (PST) 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=wlPqJhtdRsGtPsdnI0jm0VUVzmsa0ZH/Jo6pEzDtA8c=; b=p2O8wIxF+hPDq6VsfoExnSfQC22fZFFGfGPIIhkwgZIw6bKGiX7WfPxdj65+Y52LoU jmz8VA9KT615J0Bpfh3zMWEKE/Gc6Z/L2J8dgM2VJ/3PYPnbr7UotVAqarM2P9c8ytxI JQBAMMH3eK3Y28e1n75FsDXI4XK46lciWei0qh4hKR8MHgHsN6Gz4ANw57rxWHrqkIOA AYOTc8G0hkOEgJ3NeQzfPnfjYrnYtoXshdURdINudprUwLqu3NAg2GGTH1OiiYm/yzj2 a1il6YheoGniose8cIm/7ftgP6lmaTa4BWWe2wmjjqLqeEXzDMS7iQKWNZ3+t6/k1eq4 yAkw== MIME-Version: 1.0 X-Received: by 10.28.184.76 with SMTP id i73mr54629976wmf.43.1451384477953; Tue, 29 Dec 2015 02:21:17 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 29 Dec 2015 02:21:17 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 29 Dec 2015 02:21:17 -0800 (PST) In-Reply-To: References: <568253C2.1030503@gmail.com> Date: Tue, 29 Dec 2015 13:21:17 +0300 Message-ID: Subject: Re: VirtualBox paravirtualisation for FreeBSD guest? From: Anton Sayetsky To: Ben Lavery Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 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: Tue, 29 Dec 2015 10:21:19 -0000 29 =D0=B4=D0=B5=D0=BA. 2015 =D0=B3. 12:11 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Ben Lavery" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > In VirtualBox 5, going into the settings for a VM then into the System > Acceleration tabs, there is a drop down menu with the following options for =E2=80=9CParavirtualization Interface=E2=80=9D: > - None > - Default > - Legacy > - Minimal > - Hyper-V > - KVM > > It is this setting that I am wondering what to set to. If you don't know exactly what you're doing, just leave this setting as default - VM will be more stable. From owner-freebsd-questions@freebsd.org Tue Dec 29 10:26: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 78AB3A55D65 for ; Tue, 29 Dec 2015 10:26:48 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (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 3D14B1A85 for ; Tue, 29 Dec 2015 10:26:47 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aDrUL-000MWg-GP for freebsd-questions@freebsd.org; Tue, 29 Dec 2015 10:26:45 +0000 Date: Tue, 29 Dec 2015 10:26:45 +0000 From: John To: freebsd-questions@freebsd.org Subject: ath0 messages spamming /var/log/messages Message-ID: <20151229102645.GB40090@potato.growveg.org> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: john 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 Dec 2015 10:26:48 -0000 Hello list, On an acer laptop I'm running 10.2 r292394. Wireless on this is seen as Atheros AR9485 and it runs fine apart from it spamming /var/log/messages with this: Dec 29 10:12:07 acer kernel: Limiting closed port RST response from 210 to 200 packets/sec Dec 29 10:12:09 acer kernel: Limiting closed port RST response from 215 to 200 packets/sec Dec 29 10:12:11 acer kernel: Limiting closed port RST response from 220 to 200 packets/sec Dec 29 10:12:20 acer kernel: ar9300_Stub_GetAntennaSwitch: called Dec 29 10:12:20 acer kernel: ar9300_Stub_GetAntennaSwitch: called Dec 29 10:12:20 acer kernel: ar9300_Stub_GetCTSTimeout: called Dec 29 10:12:20 acer kernel: ar9300_Stub_GetCTSTimeout: called Dec 29 10:12:41 acer kernel: ar9300_Stub_GetAntennaSwitch: called Dec 29 10:12:41 acer kernel: ar9300_Stub_GetAntennaSwitch: called Dec 29 10:12:41 acer kernel: ar9300_Stub_GetCTSTimeout: called Dec 29 10:12:41 acer kernel: ar9300_Stub_GetCTSTimeout: called Dec 29 10:13:01 acer kernel: ar9300_Stub_GetAntennaSwitch: called Dec 29 10:13:01 acer kernel: ar9300_Stub_GetAntennaSwitch: called Is there a tweak or something I can invoke to stop this from happening? The on-board wifi is seen as: ath0: mem 0xf0100000-0xf017ffff irq 17 at device 0.0 on pci2 Initial output from dmesg.boot shows this: ar9300_set_stub_functions: setting stub functions ar9300_set_stub_functions: setting stub functions ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM Restoring Cal data from Flash Restoring Cal data from Flash Restoring Cal data from OTP ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: RX status length: 48 ath0: RX buffer size: 4096 ath0: TX descriptor length: 128 ath0: TX status length: 36 ath0: TX buffers per descriptor: 4 ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9485 mac 576.1 RF5110 phy 33.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 The wifi works fine apart from the chatty output. thanks, -- John From owner-freebsd-questions@freebsd.org Tue Dec 29 12:32:53 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 9A86CA5360B for ; Tue, 29 Dec 2015 12:32:53 +0000 (UTC) (envelope-from zgreenfelder@gmail.com) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (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 5CD271186 for ; Tue, 29 Dec 2015 12:32:53 +0000 (UTC) (envelope-from zgreenfelder@gmail.com) Received: by mail-qk0-x231.google.com with SMTP id n135so83716842qka.2 for ; Tue, 29 Dec 2015 04:32:53 -0800 (PST) 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=6zAm6KvOyLIQRPiTW5rw/b3pgj+MrXdFU76GAgydWSw=; b=XiLCDUA7Kqoi6F25kDmG8Yyz/qFbj6nRYyIKjofkqVVvM80Wd2ncZxxem9eInV9yd1 P5NTuiPc6RluuZYEBfW2V3Cjgemxszxu9glL9FqsCWnzySlF5E+Uzu80kD3swfzdxRfw Kad5cC5FKxwDZDtfR5riws0raQxh4TvZCvPlV0RGZlsct/OEkAFmsYarzirS/IbuxW3J vE5FuiGc63V6hswh8DgDiCY+i1vXTujK/FY2eBqcCfSpbJZFkvc7bY8V3vKXVg9/GrYh AwQ79PW8Md10wLglcXZIHaPZvnhIP6NReak5JL2K4LU9gWDh3X/n9GaiddVAefg9lftj TcMw== X-Received: by 10.55.48.130 with SMTP id w124mr75194760qkw.79.1451392372399; Tue, 29 Dec 2015 04:32:52 -0800 (PST) Received: from [192.168.10.31] (pool-96-241-237-72.washdc.fios.verizon.net. [96.241.237.72]) by smtp.googlemail.com with ESMTPSA id i136sm6884465qhc.42.2015.12.29.04.32.50 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 04:32:51 -0800 (PST) Subject: Re: delete button in console To: freebsd-questions@freebsd.org References: <56825701.30908@gmail.com> From: zep X-Enigmail-Draft-Status: N1110 Message-ID: <56827D72.4050602@gmail.com> Date: Tue, 29 Dec 2015 07:32:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56825701.30908@gmail.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: Tue, 29 Dec 2015 12:32:53 -0000 On 12/29/2015 04:48 AM, Sergei G wrote: > When I ssh to a FreeBSD machine and press 'Delete' button in csh > prompt I get character '~' printed on screen. Backspace works just fine. > > I think even an actual console behaves the same way. > > Is there a way to "map" the Delete button to work appropriately? Would > it be my SSH client application or FreeBSD itself? > _______________________________________________ I would do it at the shell, perhaps at login via .files (profile, bashrc, tshrc, all depends how you have things setup), from the command line it should be: stty erase it wouldn't be a bad idea to look through the man page. alternatively you might be able to fix the terminal type that's being detected (the TERM environment variable) or hard set it to something that will work (I tend to use the vt100, it seems pretty close to universal, xterm is also often workable) or you could change the type of terminal on your originating machine which is difficult to guess from this info. -- public gpg key id: 0x5B8147CB From owner-freebsd-questions@freebsd.org Tue Dec 29 12:53: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 D1D26A53E97 for ; Tue, 29 Dec 2015 12:53:44 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33FD71FE1 for ; Tue, 29 Dec 2015 12:53:43 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.239]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0MIAjy-1aGewI1bZ8-003wFT for ; Tue, 29 Dec 2015 13:53:36 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aDtmR-000McR-L3 for freebsd-questions@freebsd.org; Tue, 29 Dec 2015 13:53:35 +0100 Date: Tue, 29 Dec 2015 13:53:35 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: delete button in console Message-ID: <20151229125335.GA86730@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <56825701.30908@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56825701.30908@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:uGwPY3+dvHir6+Vjj6A766caOPpviuYLw5VkEkyEJd6P+d+ZpzF +yF4ef2hNjlp52ZSPyUmGk76y0fm7MiI3inWN8xZ7f0LUHHCc8vAkSctPPC5nO6HovDT3PH wvg/qcql0W08y8fPf/SaUzW51xxxzb19YarLzwatHkCuj9A+ZGXuQqAB3FqF6uYBfZ4khas I/7x0OKBVlLU8fsRM0VSg== X-UI-Out-Filterresults: notjunk:1;V01:K0:OQCwp/3d+BY=:oOk1RXKBmLx47/LUkj2L55 yKiI9iLfpvaNY6CQiyhlloyMzGOK82Od3xzWsdna09wrO0N2AcPKxRn7RQtM0TWVpx8oY8LzC Hr/zAsJNjzDROp9bEtB9DY0aSHi5wI0iI46v/uzw6g19KBgMXR8OiQM29klsqD7ZFx3AnntOA OqToyPsuZa/g7guSQFQLE/ujwH3q/4/NCarhBY7KT8UCGVLDLBc6vtcgDoWpwcOuUZPcC7c3g BKjZK23Qpnf8VCrqNOspIQW7loNVu9aFFNkGCXJ4OFItLfp3l1P0FxhwSSfwuF5annhtiolqY dKDuFi0nQxD0qs4z8w4CbakMEu0dGwV2hiwtj11etvNczw1yrJNAHAQM7ndWxxYifXTzX/OMr d5inlfZbmNJLK1vkuk2pMbV8aVOlQIhMXnkyJ3IdypXSaAEX1Qdcb4YNZyBxZjh5SpccJGH3l OSyiyS4vQznm2ZgvTJP+FsG7S4VrCxfza+Dzr7g8LWGj9oWWnzcO8lOXar9KffD1VkJnP1qzJ u4+yFDSZTQYsF0dtth/YZ259ha4aaCFY3Oom4k49xyd1Dvf2LQV4YZxkjU1eixTjZXBGFzGkd wizMEA0Rtkfr3PuaG80SOKXylgdByMvfFU2xSuP9NAnbQiYF5iy+a/5nu3fbtT3qe4J6DtOmy IhtHjhMnv6F2mNdeSyM3Sm5CFXWx6qw/zFTu5ppUGisztDARrqYiKUbe1xQ+3tg41Yk0= 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 Dec 2015 12:53:44 -0000 Hi, On Tuesday, 29. Dec 2015, 01:48:49 -0800, Sergei G wrote: > When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt > I get character '~' printed on screen. Backspace works just fine. > > I think even an actual console behaves the same way. > > Is there a way to "map" the Delete button to work appropriately? Would > it be my SSH client application or FreeBSD itself? Before you post, try to ask something like . The solution is % bindkey "\e[3~" delete-char An even superior solution is % exec zsh -l You won't regret it. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Tue Dec 29 12:58: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 71D9CA54046 for ; Tue, 29 Dec 2015 12:58:31 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::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 36164112B for ; Tue, 29 Dec 2015 12:58:30 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qg0-x233.google.com with SMTP id o11so164427352qge.2 for ; Tue, 29 Dec 2015 04:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:subject:message-id:in-reply-to:references:organization :mime-version:content-type:content-transfer-encoding; bh=bJhv3ac4DdyJeZTyjSaBSthb5zV85F6afKRRGOJWsyA=; b=WjhWcx4cn3ABlOip789JMXwdr6iL7w8gmu1wNpTGqm/EiIqhQSPgQoLSzDnOW628gC 9WuyTrKaE5TCVN5S5+c9iAR766eV23SXEfiHmiy92VM9GGqV5iDOOisHj7PWuER9j8Om kmk6bY2GqLl/D/r6Z5N+8P+ppj50gR7BYCcDc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:organization:mime-version:content-type :content-transfer-encoding; bh=bJhv3ac4DdyJeZTyjSaBSthb5zV85F6afKRRGOJWsyA=; b=Mi2dsmEkbIa7pkmYEoFFh4IVLKE5fJQbuGqfM4Y8S2yNZYapV7g9NhGoxlxzWVaREA M+1bOdu8ON7cwYkBEcZeZaSj0YI0P2vAyLr7CQ0twoRkI0P8RHMmGGG2i0AykeyYvJhb ewMbXo5/2q8zvSwN05+0cktyRXzJFXuUOoR/fcg6KQPn/VX6AXZNW6+qcRCfsBPVboBk zcyXdvhAZGloP4DaV2/+HKLkVPX0jtFcbtfxdMF8no+iLVE268oIOGV7VP3lqKba/rT3 ea6jm5IJn/K37HCnuGRZrR4+LfXOKE634XQV5yhSEqHAyULuxlEVuARO/RypL9Z1wAeq Sx5A== X-Gm-Message-State: ALoCoQktS7JStamVlhQx1zbSLx7AjNAPEO1q5l7kL1r7NV+o+4BMzBdxBuOrjN04a1MEuFvzuPNn7ZxRCGQYWmWmfeFgWmA1hQ== X-Received: by 10.140.92.84 with SMTP id a78mr65219353qge.10.1451393909694; Tue, 29 Dec 2015 04:58:29 -0800 (PST) Received: from Papi ([177.158.254.187]) by smtp.gmail.com with ESMTPSA id 63sm297138qhs.22.2015.12.29.04.58.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Dec 2015 04:58:29 -0800 (PST) Date: Tue, 29 Dec 2015 10:03:34 -0300 From: Mario Lobo To: freebsd-questions@freebsd.org Subject: Re: VirtualBox paravirtualisation for FreeBSD guest? Message-ID: <20151229100334.4b28d595@Papi> In-Reply-To: References: <568253C2.1030503@gmail.com> Organization: BSD X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.25; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Tue, 29 Dec 2015 12:58:31 -0000 On Tue, 29 Dec 2015 13:21:17 +0300 Anton Sayetsky wrote: > 29 =D0=B4=D0=B5=D0=BA. 2015 =D0=B3. 12:11 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7= =D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Ben Lavery" > =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > > > In VirtualBox 5, going into the settings for a VM then into the > > System > > Acceleration tabs, there is a drop down menu with the following > options for =E2=80=9CParavirtualization Interface=E2=80=9D: > > - None > > - Default > > - Legacy > > - Minimal > > - Hyper-V > > - KVM > > > > It is this setting that I am wondering what to set to. > If you don't know exactly what you're doing, just leave this setting > as default - VM will be more stable. > _______________________________________________ > 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" As per user manual: =E2=80=A2 --paravirtprovider none|default|legacy|minimal|hyperv|kvm: This setting speci- fies which paravirtualization interface to provide to the guest operating system. Specifying none explicitly turns off exposing any paravirtualization interface. The option default, will pick an appropriate interface depending on the guest OS type while starting the VM. This is the default option chosen while creating new VMs. The legacy option is chosen for VMs which were created with older VirtualBox versions and will pick a paravirtualization interface while starting the VM with VirtualBox 5.0 and newer. The minimal provider is mandatory for Mac OS X guests, while kvm and hyperv are recommended for Linux and Windows guests respectively. These options are explained in detail under chapter 10.4, Paravirtualization providers, page 222. --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] =20 "UNIX was not designed to stop you from doing stupid things,=20 because that would also stop you from doing clever things." From owner-freebsd-questions@freebsd.org Tue Dec 29 13:09: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 43887A54409 for ; Tue, 29 Dec 2015 13:09:05 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU004-OMC4S29.hotmail.com (blu004-omc4s29.hotmail.com [65.55.111.168]) (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 0418C1859 for ; Tue, 29 Dec 2015 13:09:04 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from BLU436-SMTP177 ([65.55.111.137]) by BLU004-OMC4S29.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 29 Dec 2015 05:07:57 -0800 X-TMN: [JhZm188ItCYpKzHZcVrfItNJPp0tqfaN] X-Originating-Email: [carmel_ny@outlook.com] Message-ID: Date: Tue, 29 Dec 2015 08:07:54 -0500 From: Carmel NY To: FreeBSD FreeBSD Subject: Question about "/usr/ports/archivers/unzip" Organization: seibercom NET X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 29 Dec 2015 13:07:56.0218 (UTC) FILETIME=[EF1561A0:01D14239] 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 Dec 2015 13:09:05 -0000 Okay, I know that UnZip 6.0, released 20 April 2009 is quite old. So I am hoping that someone here can assist me. I create and receive files created by WinZip 20.0, obviously via Windows. These files use the "zipx" format (highest compression) available under WinZIP. The problem is that occasionally I need to use these files on my FreeBSD machine. Attempting to use "unzip" causes this error message to be displayed: skipping: ZoningPermitApplication.pdf need PK compat. v6.3 (can do v4.6) skipping: WatershedApplication-ver_2.2.pdf need PK compat. v6.3 (can do v4.6) Obviously, the two files show above were files I was actually trying to unzip. I don't understand what that means. I am hoping that someone can assist me. If there is another program that I can use on FreeBSD that will unzip these files, I am certainly willing to try that route instead. I heard that "archivers/peazip" might be what I want. Has anyone used it before? -- Thanks Carmel From owner-freebsd-questions@freebsd.org Tue Dec 29 13:11: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 6A8CBA5452E for ; Tue, 29 Dec 2015 13:11:59 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::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 0A03E1ACD for ; Tue, 29 Dec 2015 13:11:59 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id b14so12867474wmb.1 for ; Tue, 29 Dec 2015 05:11:58 -0800 (PST) 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=oKXmMXrhlBpmGWKrr53rPfDwx+y5oOf/dkLESgBTOwA=; b=ViEaPAwBKELtF6FcNrNlKAVnAxnKghVntibdapn5/r2o7t94lGwNSFQVWyK2QdEnmc 745/G5cGr0P9DuA/YsG+Z99t+CQ0jy/TsIUroy8tH5x6m3kDr9DT7Hqz2P4UsngdKgHM eZZWqLjFb58mXaIm9I/oTMo7jP10bnCTnvbHBrXxy4UOAFonSlZdLdtLk2bW6vLgLGx5 aRrVv8/YpOxSwiDtGNHvT62e9EESYBtLcrkr/Yfeydo/JzakYQyWA1/dP1+cXrv25h6e 6qNVmP+p6wmfevetVUO+zXSzAqMtgZTxcivwBaKAJI57us+blG9hGuwCqIopeyv6QcIN BKdQ== MIME-Version: 1.0 X-Received: by 10.194.111.232 with SMTP id il8mr74438041wjb.150.1451394717566; Tue, 29 Dec 2015 05:11:57 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 29 Dec 2015 05:11:57 -0800 (PST) Received: by 10.194.76.207 with HTTP; Tue, 29 Dec 2015 05:11:57 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Dec 2015 16:11:57 +0300 Message-ID: Subject: Re: Question about "/usr/ports/archivers/unzip" From: Anton Sayetsky To: Carmel NY Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 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: Tue, 29 Dec 2015 13:11:59 -0000 29 =D0=B4=D0=B5=D0=BA. 2015 =D0=B3. 15:09 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Carmel NY" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > Okay, I know that UnZip 6.0, released 20 April 2009 is quite old. So I am > hoping that someone here can assist me. > > I create and receive files created by WinZip 20.0, obviously via Windows. > These files use the "zipx" format (highest compression) available under > WinZIP. > > The problem is that occasionally I need to use these files on my FreeBSD > machine. Attempting to use "unzip" causes this error message to be displayed: > > skipping: ZoningPermitApplication.pdf need PK compat. v6.3 (can do v4.6) > skipping: WatershedApplication-ver_2.2.pdf need PK compat. v6.3 (can do v4.6) > > Obviously, the two files show above were files I was actually trying to > unzip. I don't understand what that means. I am hoping that someone can > assist me. > > If there is another program that I can use on FreeBSD that will unzip these > files, I am certainly willing to try that route instead. I heard > that "archivers/peazip" might be what I want. Has anyone used it before? Try p7zip - it can extract almost everything. From owner-freebsd-questions@freebsd.org Tue Dec 29 13:31:49 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 5BACEA54DFE for ; Tue, 29 Dec 2015 13:31:49 +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 08CB21180 for ; Tue, 29 Dec 2015 13:31:48 +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 tBTDVi5E045602 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 29 Dec 2015 13:31:45 GMT (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 tBTDVi5E045602 Authentication-Results: smtp.infracaninophile.co.uk/tBTDVi5E045602; 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: remove all installed packages To: freebsd-questions@freebsd.org References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <56825250.9010900@gmail.com> <20151229100629.GA18472@c720-r285885-amd64> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56828B40.2090301@FreeBSD.org> Date: Tue, 29 Dec 2015 13:31:44 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20151229100629.GA18472@c720-r285885-amd64> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EUTgxdMWASLqmVk6L1FWffCithwJ7BPT6" X-Virus-Scanned: clamav-milter 0.99 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 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: Tue, 29 Dec 2015 13:31:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EUTgxdMWASLqmVk6L1FWffCithwJ7BPT6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 29/12/2015 10:06, Matthias Apitz wrote: > While we are at this, I was asking me how the package pkg itself is > installed as the first package using the ports collection ports-mgmt/pk= g; > it looks like that it uses directly work/pkg*/src/pkg-static =20 > or how this works? Yes -- exactly that. In fact, if you install pkg by compiling from the ports, it gets installed and registered very much in the same way as any other port, /except/ that it uses a copy of pkg-static from the port's ${WRKDIR} rather than the more usual copy found in ${LOCALBASE}/sbin/pkg-static. The bootstrap performed by pkg(7) is also essentially the same: most of what '/usr/sbin/pkg bootstrap' does directly for itself is downloading the pkg.txz tarball, verifying the signature on it and extracting a temporary copy of the pkg-static binary from it. All of the rest happens through running that copy of pkg-static(8). pkg(8) or pkg-static(8) will automatically create anything it needs under /var/db/pkg any time you invoke it when that content isn't already there. ie. it will initialise an empty local.sqlite database and create the database schema within it, amongst other actions. Cheers, Matthew --EUTgxdMWASLqmVk6L1FWffCithwJ7BPT6 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 iQJ8BAEBCgBmBQJWgotAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATpWMP/jwNpSr5JCK4vesKLg7ScuHa 3oedYZVwPMxSfHol75HYcEu2GsJRJ7e/S1KgE35VVfdlr/nklTmlloOeJAeIMdJz LWl6BgizcQh30uMx2xQhw2GJU2c5v2i4ro26QSAwAncBhv97GHRQLaqHWpiKuVFr SiK1FBRz/No/Di37wwZqsPqdrg2SJbogFaqgTH1IN+7WrIrSpcUcisY/NBBYJgY1 OmXgSDqwQodlqY/OoikkGv3fZYbUSMjd/RwZC4Cdd8aoWXqwEQqMux+GrP33MWsV 4zeU7gCU+BlxhCjIHG18VPYsj6Cn/ausGY8K7NBzAhzW7xBaB3AningV/D4arARk q1xwSCuEYuXFF/89tR6rI3HMuoQZy0UlJ2JkAurpTHX/O+tCPg33wC/C2IaoFP4b vYT8EXb9l0pot8g8PJ17EpxP5ZnTzCHVDTzTqQbeMKatsEdio2DisGahvm09iTf1 xrR3kRgplTmwzPCsZL36IdRzz662KKSOAAEk8tCQtk+IZwnqBGPTpwy34ZKnGrco MHIQFiOKiK+Og2/ENJBf/5I0u7mSBZeJb4CS7+DkKaXM0KcKakyLjJCGMZoD/XMV nDlah2kAfwkPN9iebgvh8dohiF3OT11FFN+ZJcEMypxsJtjegXZZi/Meg2rDweDv d2ixomG9QHG6E578AbTc =BioG -----END PGP SIGNATURE----- --EUTgxdMWASLqmVk6L1FWffCithwJ7BPT6-- From owner-freebsd-questions@freebsd.org Tue Dec 29 13:48: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 38B9AA55390 for ; Tue, 29 Dec 2015 13:48:24 +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 EBE9B1A59 for ; Tue, 29 Dec 2015 13:48:23 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from smtp.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 07ffc988; Tue, 29 Dec 2015 08:41:39 -0500 (EST) Received: by smtp.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 0d1083ef TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 29 Dec 2015 08:41:39 -0500 (EST) Message-ID: <1451396502.18353.9.camel@michaeleichorn.com> Subject: Re: Newest mediawiki is not a package on FreeBSD 10.2 From: "Michael B. Eichorn" To: Sergei G , FreeBSD Questions Date: Tue, 29 Dec 2015 08:41:42 -0500 In-Reply-To: <56825181.2060509@gmail.com> References: <56825181.2060509@gmail.com> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-+ZbAvWc5r+D9+yvmUb/E" X-Mailer: Evolution 3.18.3 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 Dec 2015 13:48:24 -0000 --=-+ZbAvWc5r+D9+yvmUb/E Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-12-29 at 01:25 -0800, Sergei G wrote: > Hi, >=20 > I'd like to install latest mediawiki 1.26 on FreeBSD 10.2. >=20 > However, the search with 'pkg search -x mediawiki' returns the > following=C2=A0 > (trimmed) response: >=20 > mediawiki119-1.19.24 > mediawiki123-1.23.10 > mediawiki124-1.24.3 > mediawiki125-1.25.2 >=20 > I don't see mediawiki126, but it is available in ports collection at: > https://svnweb.freebsd.org/ports/head/www/mediawiki126/ >=20 > I am on a standard installation and I am willing to install it inside > a=C2=A0 > dedicated 10.2 jail.=C2=A0=C2=A0=C2=A0How do I point FreeBSD package syst= em so it > can=C2=A0 > find mediawiki126? There is indeed a package for mediawiki126, however it was created in 2015Q4 (this quarter). 10.2 now follows the quarterly ports branches by default. As Q1 starts this week you can choose to wait a week or alternatively switch your package repo to ports/head by changing the url line in /etc/pkg/FreeBSD.conf from: =C2=A0 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", to =C2=A0 url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", --=-+ZbAvWc5r+D9+yvmUb/E Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9eY9ITMigb1OnHdU13CKO0j drgeU1nHst0qxwsIofRD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BQ cmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAw5dxjCBpwYLKoZIhvcNAQkQAgsxgZeggZQw gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUg RGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFBy aW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCSqGSIb3DQEBAQUABIIBABpzK6sD ixCMbeyqlOTv+ZJF40MDk3V5ovVNIEIR9MWwyPzYJ3/rBgtnE76gJoGadDN9drjj1DAj4Y387Fvo oX2e1DoblBPm5FNZsPH+R/oJ2t8V0zJPuKhigHTm6THp6j0W0QWA9HnVZ7szmz60DMzYPlb3eZwc j8b1ciPhrCn7yBtQdi5vvJEB69bfnGD6w4/BNiNrFrvd+UL7q/0cLhKQnfGAj3WHVtE5glz4ZVeN FvSCDz8twzbO3Nja6loRc0vWvB2fpIteHfYYhfCI8n/Abfz9TN+bzd/rB0EwMEkEaxUqCOpf8O/C 2jZ3/pPPtgb6HyhN+TxF0asNAfra+wMAAAAAAAA= --=-+ZbAvWc5r+D9+yvmUb/E-- From owner-freebsd-questions@freebsd.org Tue Dec 29 15:10:01 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 CA4CFA55192 for ; Tue, 29 Dec 2015 15:10:01 +0000 (UTC) (envelope-from russell.d.murphy@gmail.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::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 89C3E1AFD for ; Tue, 29 Dec 2015 15:10:01 +0000 (UTC) (envelope-from russell.d.murphy@gmail.com) Received: by mail-qg0-x236.google.com with SMTP id o11so166621491qge.2 for ; Tue, 29 Dec 2015 07:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=NWF9GHZO984yJNZMcktYA6///BpeClMmtMEVZSY/X4Q=; b=wEWT0d137hKdnNF9IjSJgoHv+0n4MYJVuXg65Zhzdb4mPQu8Hx/ItbRI8uWpdhmDdH aby1Tw8SQafCGYx93GRvmLbKW4zm4HEAXQlcAnCK1WFc2ek/FAS/ma1l2zDXn6EYGlNx YTC5/+nImswgZxsYmk6pdrgQmTxgwOKcmGEcVFrsVKW65VdJP9UJSlnhLIaABV0f4ICW 1yhZVLFxiHtooNdJynYz2S5Kc4az8VQWMsopbG1+gNExOUrjo3S/IhxxzpyI9tJsF8/w H0+dMleUxDhkV7bWZZtGCAGEcyW3e65HaDXmadXkGf4LdbcZPrhdvwO2xqyIu0fXPlTb 4pIQ== X-Received: by 10.140.20.80 with SMTP id 74mr27416676qgi.15.1451401800572; Tue, 29 Dec 2015 07:10:00 -0800 (PST) Received: from rdm.home (pool-72-89-192-162.nycmny.east.verizon.net. [72.89.192.162]) by smtp.gmail.com with ESMTPSA id 45sm29305852qgg.17.2015.12.29.07.09.59 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 07:09:59 -0800 (PST) From: Russell Murphy Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: freebsd-questions Digest, Vol 604, Issue 2 Date: Tue, 29 Dec 2015 10:09:59 -0500 References: To: freebsd-questions@freebsd.org In-Reply-To: X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 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: Tue, 29 Dec 2015 15:10:02 -0000 Sergei- > On Dec 29, 2015, at 7:00 AM, freebsd-questions-request@freebsd.org = wrote: >=20 > 7. Newest mediawiki is not a package on FreeBSD 10.2 (Sergei G) > From: Sergei G > Subject: Newest mediawiki is not a package on FreeBSD 10.2 > Date: December 29, 2015 at 4:25:21 AM EST >=20 > I'd like to install latest mediawiki 1.26 on FreeBSD 10.2. >=20 > I don't see mediawiki126, but it is available in ports collection at: > https://svnweb.freebsd.org/ports/head/www/mediawiki126/ I have the following installed: /home/rdmurphy # pkg info mediawiki126 mediawiki126-1.26.1 Name : mediawiki126 Version : 1.26.1 Installed on : Mon Dec 21 19:17:17 2015 EST Origin : www/mediawiki126 Architecture : freebsd:9:x86:32 Prefix : /usr/local Categories : www Licenses : GPLv2 Maintainer : wen@FreeBSD.org WWW : http://www.mediawiki.org/ Comment : Wiki engine used by Wikipedia (trimmed) Flat size : 91.6MiB Description : MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without = imposing too rigid a structure or workflow. WWW: http://www.mediawiki.org/ This is not on 10.2, though on 9 stable: /home/rdmurphy # uname -a FreeBSD knock.murphy.lan 9.3-STABLE FreeBSD 9.3-STABLE #5 r292515: Sun = Dec 20 13:30:24 EST 2015 = root@knock.murphy.lan:/usr/obj/usr/src/sys/KNOCK i386 Is it possible that you haven=E2=80=99t updated an index somewhere? Russ From owner-freebsd-questions@freebsd.org Tue Dec 29 17:07: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 9EB82A5506B for ; Tue, 29 Dec 2015 17:07:55 +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 6940D1B7B for ; Tue, 29 Dec 2015 17:07:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D95F43CEF2; Tue, 29 Dec 2015 18:07:51 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBTH7o6r002024; Tue, 29 Dec 2015 18:07:50 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 29 Dec 2015 18:07:50 +0100 From: Polytropon To: Sergei G Cc: FreeBSD Questions Subject: Re: delete button in console Message-Id: <20151229180750.187ed7c9.freebsd@edvax.de> In-Reply-To: <56825701.30908@gmail.com> References: <56825701.30908@gmail.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: Tue, 29 Dec 2015 17:07:55 -0000 On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: > When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt > I get character '~' printed on screen. Backspace works just fine. > > I think even an actual console behaves the same way. > > Is there a way to "map" the Delete button to work appropriately? Would > it be my SSH client application or FreeBSD itself? This is a thing that can be configured for the shell. I assume you're using FreeBSD's default dialog shell, the C shell. In this case, add to ~/.cshrc: bindkey ^? delete-char # for console bindkey ^[[3~ delete-char # for xterm Or to /etc/csh.cshrc, if you want to make it a global setting. You can check the success with the "stty -a" command. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Dec 29 18:29: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 38ABAA54C3F for ; Tue, 29 Dec 2015 18:29:58 +0000 (UTC) (envelope-from freebsd@ravexdata.com) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (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 D6A7F1771 for ; Tue, 29 Dec 2015 18:29:57 +0000 (UTC) (envelope-from freebsd@ravexdata.com) Received: by mail-wm0-f43.google.com with SMTP id f206so51763610wmf.0 for ; Tue, 29 Dec 2015 10:29:57 -0800 (PST) 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=uPkPZSgmU254QdzsIeqjXxZJQR+pdKhmH1oj7LDxxWM=; b=k0k3JWA6eKG0yIg2snVjSuqyzJRYfHco4HzcRs505trkt9o9YDG/owoWY+1wXrBKX+ F3U4LKLbkdDeDFuRffFWT3cUmoYxIm6+ExTkkueTmAtxwnWIqyuTr26ACvO0GxDW7aT4 B0vFMqJ4mIp2HERNqVH6Kj2tAsNZ5AJR6FiQkBXuP65fB7fZ/wQYiGRb8SHl9nVtxvjn qe8feUWhfeBgMxxvdkx/tv6q99A1Lrc5B1cJYbFbo74MqUZd+WqS3nBIEAzhbOAzJjj2 gri7265GZ+714ACGgknZPhmQnONaLX0TgFgkJrmW7BFhxAdLG624D6R1ZVJQrEkQjF8i 2S0w== X-Gm-Message-State: ALoCoQl5O0p2FKs9wHlc71d8zoP4zInNzp8mprC5bWyaxEIbdgczrwiryVqXNwFHkLFwnMBeMEd3XbCaE9IiOPj5T4fuvewnyQ== X-Received: by 10.28.221.215 with SMTP id u206mr33864199wmg.58.1451407336740; Tue, 29 Dec 2015 08:42:16 -0800 (PST) Received: from [10.30.1.6] ([104.238.169.29]) by smtp.gmail.com with ESMTPSA id b127sm4376276wmh.9.2015.12.29.08.42.15 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Dec 2015 08:42:15 -0800 (PST) To: freebsd-questions@freebsd.org From: Paul Stuffins Subject: Are Jails worth it? Message-ID: <5682B7F1.1070606@ravexdata.com> Date: Tue, 29 Dec 2015 16:42:25 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.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 Dec 2015 18:29:58 -0000 Afternoon Everyone, I have a FreeBSD VPS on Digital Ocean that runs Nginx and PHP-FPM, MariaDB is run on a separate VPS, and was wondering is it worth running NginX and PHP-FPM in separate jails, or is it not worth it and I should just keep the set up as I have it which is everything installed on the base system? Many Thanks Paul From owner-freebsd-questions@freebsd.org Tue Dec 29 18:55: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 EE232A557AE for ; Tue, 29 Dec 2015 18:55:43 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8EEF19ED for ; Tue, 29 Dec 2015 18:55:43 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.155.206.95] (2.150.57.227.tmi.telenormobil.no [2.150.57.227]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id B274876F; Tue, 29 Dec 2015 18:47:10 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Are Jails worth it? From: Terje Elde X-Mailer: iPhone Mail (13C75) In-Reply-To: <5682B7F1.1070606@ravexdata.com> Date: Tue, 29 Dec 2015 19:47:08 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9DCC5321-34EE-40F0-AFD9-5E082E47C3B0@elde.net> References: <5682B7F1.1070606@ravexdata.com> To: Paul Stuffins 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 Dec 2015 18:55:44 -0000 > On 29 Dec 2015, at 17:42, Paul Stuffins wrote: >=20 > I have a FreeBSD VPS on Digital Ocean that runs Nginx and PHP-FPM, MariaDB= is run on a separate VPS, and was wondering is it worth running NginX and P= HP-FPM in separate jails, or is it not worth it and I should just keep the s= et up as I have it which is everything installed on the base system? That depends on a lot of different things.=20 Couple of thoughts: Running jails isn't much of an effort once you're used to it.=20 But the benefit depends on what you're trying to protect. There's a world of= difference between a playpen, and health-info.=20 You could also stuff both of them in a single jail, giving you a clean host.= =20 Securing the php-installation and code is probably just as important. Look a= t it this way; jails give you isolation, but if your only thing is a php-sit= e, which two (or more) things are you trying to isolate from each other? Terje From owner-freebsd-questions@freebsd.org Tue Dec 29 19:00: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 7F7B6A55958 for ; Tue, 29 Dec 2015 19:00:46 +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 257671C2E for ; Tue, 29 Dec 2015 19:00:45 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from smtp.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 2c1db9ce; Tue, 29 Dec 2015 14:00:42 -0500 (EST) Received: by smtp.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 4e05d2d1 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 29 Dec 2015 14:00:41 -0500 (EST) Message-ID: <1451415644.18353.43.camel@michaeleichorn.com> Subject: Re: Are Jails worth it? From: "Michael B. Eichorn" To: Paul Stuffins , freebsd-questions@freebsd.org Date: Tue, 29 Dec 2015 14:00:44 -0500 In-Reply-To: <5682B7F1.1070606@ravexdata.com> References: <5682B7F1.1070606@ravexdata.com> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-Q+Yt0I1THILaGRLBObdI" X-Mailer: Evolution 3.18.3 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 Dec 2015 19:00:46 -0000 --=-Q+Yt0I1THILaGRLBObdI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-12-29 at 16:42 +0000, Paul Stuffins wrote: > Afternoon Everyone, >=20 > I have a FreeBSD VPS on Digital Ocean that runs Nginx and PHP-FPM,=C2=A0 > MariaDB is run on a separate VPS, and was wondering is it worth > running=C2=A0 > NginX and PHP-FPM in separate jails, or is it not worth it and I > should=C2=A0 > just keep the set up as I have it which is everything installed on > the=C2=A0 > base system? >=20 > Many Thanks > Paul It really is a 'depends on your threat environment' kind of thing. For most use cases what you have is fine. If you are concerned about more than the usual than maybe you would want to separate them. If you want to be able to inspect the system while under attack you will want to have the jails. It really depends, but what you have already is certainly fine for most uses so long as you keep up with your security patches and properly configure php. Ike --=-Q+Yt0I1THILaGRLBObdI Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQG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cnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJl IERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQ cmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAw5dxjCBpwYLKoZIhvcNAQkQAgsxgZeggZQw gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUg RGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFBy aW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCSqGSIb3DQEBAQUABIIBAARwf7cd XPXD89Qo2kYqcLG7DMwU7NzyI5E9aQ8wqH//5x03YC+BGLqLKPjuW+7KaPbGQOeggIxGCA3hqUa5 rk2OvszHoFK44HEDSmRH2NSq7nX2hufuwZVihAEk0A4+BMQgpJTucxaH7UHljr3r/apxNQGSkt9v qnPS+3Tg8ITVyNj9f7D87e0Kywq23+05m4lpELP4uizy1n1ybbAJY2vdc6NwDpf4UjPOjVe01Rzf eDCPDmHb+5oo1Z5qSeuocfra9BBdJ+FzZzzHaKx0fUoLdZ4dmJUSYFbFlBk97UCwz3sxYaWuMe/I 3Gjdl84Hh2KbPGkwcZwWlTevzQQQzg4AAAAAAAA= --=-Q+Yt0I1THILaGRLBObdI-- From owner-freebsd-questions@freebsd.org Tue Dec 29 20:50: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 7002CA55133 for ; Tue, 29 Dec 2015 20:50:36 +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 420D119F4 for ; Tue, 29 Dec 2015 20:50:35 +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 tBTKm220011930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 29 Dec 2015 14:48:03 -0600 Subject: Re: delete button in console References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> Cc: FreeBSD Questions From: "William A. Mahaffey III" Message-ID: <5682F182.7080603@hiwaay.net> Date: Tue, 29 Dec 2015 14:53:32 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151229180750.187ed7c9.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: Tue, 29 Dec 2015 20:50:36 -0000 On 12/29/15 11:14, Polytropon wrote: > On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: >> When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt >> I get character '~' printed on screen. Backspace works just fine. >> >> I think even an actual console behaves the same way. >> >> Is there a way to "map" the Delete button to work appropriately? Would >> it be my SSH client application or FreeBSD itself? > This is a thing that can be configured for the shell. I assume > you're using FreeBSD's default dialog shell, the C shell. In > this case, add to ~/.cshrc: > > bindkey ^? delete-char # for console > bindkey ^[[3~ delete-char # for xterm > > Or to /etc/csh.cshrc, if you want to make it a global setting. > > You can check the success with the "stty -a" command. Is this keyboard dependent ? My keyboard apparently sends '^?' for its backspace key. When I try the above, then 'stty -a', I see no setting. [wam@devbox, pre, 2:48:10pm] 2029 % bindkey '^?' delete-char . . . .... . . . [wam@devbox, pre, 2:48:10pm] 2031 % stty -a speed 38400 baud; 52 rows; 166 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk brkint -inpck ignpar -parmrk oflags: opost onlcr -ocrnl tab3 -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^@; stop = ^S; susp = ^Z; time = 0; werase = ^W; [wam@devbox, pre, 2:48:13pm] 2032 % set _ stty -a addsuffix anyerror argv () autoexpand autolist ambiguous autorehash csubstnonl cwd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/pre cwdcmd echo -n "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G" dirstack (/home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/pre /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/utils) dirw /home/wam/V8/Cnx/test/junk/cart/unstaggered dunique echo_style both edit euid 1110 euser wam fignore (.o .obj .u) filec gid 1110 group unknown histdup prev history 1000 home /home/wam killring 30 loginsh mail /var/mail/wam owd /home/wam/V8/Cnx/test/junk/cart/unstaggered/bfc/utils path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /home/wam/bin) prompt %B%{\e]2\;%n@%m %l %~%#^g\e]1\;%n@%m^g\r%}[%n@%m, %c, %p] ! %% %b prompt2 %R? prompt3 CORRECT>%R (y|n|e|a)? savehist (300 merge) shell /bin/tcsh shlvl 1 status 0 tcsh 6.18.01 term xterm time (10 whew !!!! that took (%U cpu + %S sys) sec., %E elapsed time tot, %P CPU efficiency (%X text, %D data, %M max) KB, (%I+%O) io, %F pfs + %W swaps) tty pts/2 uid 1110 user wam version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec [wam@devbox, pre, 2:50:11pm] 2033 % uname -a FreeBSD devbox 9.3-RELEASE-p30 FreeBSD 9.3-RELEASE-p30 #0: Mon Nov 2 10:11:50 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, pre, 2:50:24pm] 2034 % I am actually using rxvt, logged into another box, but it apparently advertises as xterm .... -- 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 Tue Dec 29 22:26: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 7D7C4A5302F for ; Tue, 29 Dec 2015 22:26:26 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E82771EED for ; Tue, 29 Dec 2015 22:26:25 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.11.241]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LcTL8-1ZoN9V1GQY-00jtYC for ; Tue, 29 Dec 2015 23:26:23 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aE2ik-0008rC-NI for freebsd-questions@freebsd.org; Tue, 29 Dec 2015 23:26:22 +0100 Date: Tue, 29 Dec 2015 23:26:22 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: delete button in console Message-ID: <20151229222622.GA18290@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5682F182.7080603@hiwaay.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:dfPTZbx801GstJBxDczo3jPd32r8LESuZljU1rlk1TnHli9qDdO nn9HYi1s4UaKKGd+x6G1PDNUk3qyh+1GVMeUZzg7tb6Encd8Ei7gR9KlhMVaUrWTl4UcscB zVXRudWvUqVL72iMfZuRRbZuNbNVc3jQQCk9M4MhE+LyPL5EektjIhUYa5lBrS3Z1QJC1F6 YGp0rWIvzxKRbExweA3jw== X-UI-Out-Filterresults: notjunk:1;V01:K0:owuInvnralI=:EapLg/LUhtOxI3qLg/X7/B DeNaL6qFykoehiAEnAT5ck/jPpQlGbM0c5OOTkANRMFCwAhhz0QQ3r6XNFkOaUQdUADS+UIi/ 9Tb13CB7JWWHXfSZHgoSvuE0gXdikrnfHFgbWlFoF707rlv+kklVfto9cmEsj4hB1wvRkArxL 4gpgekFRJ9KgU/MFqfdafD4n6qbRgXi5dvyZwjbqXsYNvHKtcR66qnrSvroqoM9LOzs2uqALN Fptm2VJBiTxdP1YS5EjVXs+ygwCI56g90oMN5GD5st5pOGGLpNapY6/nvAsZ3DcKYHPzY57Ng UYp8/0eU2FUDlEhyFfcVqq2EH4HJFFp6yZanMpz9ldtmOODqJ09vQfqngLEWw+n53t97d/XeS 7zEt99wTPgYJuu9tjDsGVM8YozjVOmD01e28nlz0OAhe50bEhoCYAiAiUwMEN4lwz24cl8t+y KqZdPdTcnPsUVK4tx5oOpGmOoShu5+5A4MdIN14yRTQYkva93m8hL5nNuBJmQuPtXgDtLXGnH 91a53mMd4atOAIz9aftYR3sTjFQ7dpjIf6nLZnqzjkd2eFVYBuf61yk/wAYwpkdCH0IFBVG/X NUCT8NrEO2eBMPxOpOl4fMp5kLH+zy68rljqCP2lnhRP5lLqhND3her9wzoRY/dgOKl2t3+G1 LcWfw87UXX2SBjrcXsZPtJ3nG5q77b9kjDUoTymcZU3jz4fyzX6WL+1u/J6mf0Y7T4CQ= 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 Dec 2015 22:26:26 -0000 Hi, On Tuesday, 29. Dec 2015, 14:53:32 -0553, William A. Mahaffey III wrote: > On 12/29/15 11:14, Polytropon wrote: > > On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: > >> When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt > >> I get character '~' printed on screen. Backspace works just fine. > >> > >> I think even an actual console behaves the same way. > >> > >> Is there a way to "map" the Delete button to work appropriately? Would > >> it be my SSH client application or FreeBSD itself? > > This is a thing that can be configured for the shell. I assume > > you're using FreeBSD's default dialog shell, the C shell. In > > this case, add to ~/.cshrc: > > > > bindkey ^? delete-char # for console > > bindkey ^[[3~ delete-char # for xterm > > > > Or to /etc/csh.cshrc, if you want to make it a global setting. > > > > You can check the success with the "stty -a" command. > > Is this keyboard dependent ? My keyboard apparently sends '^?' for its > backspace key. When I try the above, then 'stty -a', I see no setting. I cannot see what stty should have to do with it. stty's "erase" and "erase2" do only work when icanon is set. Unfortunately "stty -a" yields wrong results because the shell changes the parameters before entering the "stty" program. To determine the true values, do the following. $ tty /dev/pts/5 Here, 5 could be any number depending on what was allocated when the emulator window was started. Then open another terminal and ask there: $ stty -a -f /dev/pts/5 Of course, replace the 5 by the right number. You will see a "-icanon". Notice the minus in front of the property. That means every key pressed will be passed to the command line editor immediately. If icanon is on, the line must be completed by pressing enter or return (^M) and after that the characters will be passed to the input-processing program. In this mode the backspace (^H) deletes characters and the input routine will not be aware they were pressed at all. "delete-char" is a csh function (man csh). Probably there is something like delete-char-to-left that will be executed on backspace (^H). I did not find it. In Zsh its name is "backward-delete-char". By the way, you can explore the escape codes produced by arrow keys etc. using the dd program. Just say $ dd and play around with the Ins/Del/Home/End/Fx etc. keys. As long as dd runs, icanon is set. Convince yourself of that by executing the above stty command again. Leave dd by pressing Ctrl-C. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Tue Dec 29 23:16: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 E393AA542AE for ; Tue, 29 Dec 2015 23:16:51 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (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 A43FA13E6 for ; Tue, 29 Dec 2015 23:16:51 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x231.google.com with SMTP id f2so159036490vkb.3 for ; Tue, 29 Dec 2015 15:16:51 -0800 (PST) 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 :content-type; bh=CrW28VWMTyGEHbTJrmaGnHQdnpmL24Mq4kQ7zuymSTQ=; b=uC9XGKTNCA31EA6axiKTgmOW4EL3H2H58ffyPV8xb6bDYhf7mYFmfzwqj3zwx6dFY1 XLN2ERp7otFkBjvuZwduy4U7/Dsj35z3HLiNTnHCI8SmJlfCZHPEB1XpyFQ0iVROVyY/ Ik/jMny/I6KPDaxfK6uqvjmf5/zyOy6zM67gQUxMVEfHkKvs3Ze23DU9Zv+abLz1xhOg 0IycUaqfEgTfe0706+BIleuz3KVCjqRowqr2nrqtVUAhVZzv69JIlCSO7P06aB+qxCXe I/tjIbjcAYJyFTdnGLIrOtJLmKisp+F9X8V1UUI6j0VMkxhf048mp9yeT1hePf96UIKf LdwQ== MIME-Version: 1.0 X-Received: by 10.31.12.77 with SMTP id 74mr36673996vkm.28.1451431010329; Tue, 29 Dec 2015 15:16:50 -0800 (PST) Received: by 10.31.174.213 with HTTP; Tue, 29 Dec 2015 15:16:50 -0800 (PST) In-Reply-To: <20151229222622.GA18290@becker.bs.l> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> Date: Tue, 29 Dec 2015 15:16:50 -0800 Message-ID: Subject: Re: delete button in console From: Sergei G 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: Tue, 29 Dec 2015 23:16:52 -0000 Thanks all I have added bindkey "\e[3~" delete-char to my ~/.cshrc file and Delete, Home and End buttons work now. The file content is very close to the default, so I am providing portion of .cshrc for your reference: if ( $?tcsh ) then # http://stackoverflow.com/questions/1912328/how-to-map-delete-and-end-keys-on-tcsh-shell # Delete bindkey "\e[3~" delete-char # Home bindkey "\e[1~" beginning-of-line # End bindkey "\e[4~" end-of-line bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif On Tue, Dec 29, 2015 at 2:26 PM, Bertram Scharpf wrote: > Hi, > > On Tuesday, 29. Dec 2015, 14:53:32 -0553, William A. Mahaffey III wrote: > > On 12/29/15 11:14, Polytropon wrote: > > > On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: > > >> When I ssh to a FreeBSD machine and press 'Delete' button in csh > prompt > > >> I get character '~' printed on screen. Backspace works just fine. > > >> > > >> I think even an actual console behaves the same way. > > >> > > >> Is there a way to "map" the Delete button to work appropriately? Would > > >> it be my SSH client application or FreeBSD itself? > > > This is a thing that can be configured for the shell. I assume > > > you're using FreeBSD's default dialog shell, the C shell. In > > > this case, add to ~/.cshrc: > > > > > > bindkey ^? delete-char # for console > > > bindkey ^[[3~ delete-char # for xterm > > > > > > Or to /etc/csh.cshrc, if you want to make it a global setting. > > > > > > You can check the success with the "stty -a" command. > > > > Is this keyboard dependent ? My keyboard apparently sends '^?' for its > > backspace key. When I try the above, then 'stty -a', I see no setting. > > I cannot see what stty should have to do with it. stty's > "erase" and "erase2" do only work when icanon is set. > > Unfortunately "stty -a" yields wrong results because the > shell changes the parameters before entering the "stty" > program. To determine the true values, do the following. > > $ tty > /dev/pts/5 > > Here, 5 could be any number depending on what was allocated > when the emulator window was started. Then open another > terminal and ask there: > > $ stty -a -f /dev/pts/5 > > Of course, replace the 5 by the right number. You will see a > "-icanon". Notice the minus in front of the property. That > means every key pressed will be passed to the command line > editor immediately. > > If icanon is on, the line must be completed by pressing > enter or return (^M) and after that the characters will be > passed to the input-processing program. In this mode the > backspace (^H) deletes characters and the input routine will > not be aware they were pressed at all. > > "delete-char" is a csh function (man csh). Probably there is > something like delete-char-to-left that will be executed on > backspace (^H). I did not find it. In Zsh its name is > "backward-delete-char". > > By the way, you can explore the escape codes produced by > arrow keys etc. using the dd program. Just say > > $ dd > > and play around with the Ins/Del/Home/End/Fx etc. keys. As > long as dd runs, icanon is set. Convince yourself of that by > executing the above stty command again. Leave dd by pressing > Ctrl-C. > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > 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 Dec 29 23:19:49 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 C5647A54411 for ; Tue, 29 Dec 2015 23:19:49 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0: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 8734915EF for ; Tue, 29 Dec 2015 23:19:49 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id f2so159058225vkb.3 for ; Tue, 29 Dec 2015 15:19:49 -0800 (PST) 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=Q1S+QIDBPlZ6zKcTNco1jo4w0pXneW/VyrpF4addK+M=; b=nxrx9hpWlsz5gekfD1IMKfwuOLkrAoqRe3EBzmt1FM7beSWmQfRvbJv4lIg26OaI9O m8RBWhnOOg619JYX8/OTTd5Y406jGvu5upBMBUbpT0fMf85TL79RS93zA6CKbTORB7bt gJiOrE65mH1jnYlm9WHzz92s4X6CMteJkMTtSOnGK40zDHUNpkHNvUpltHn93iy2gyZB PL9s6ojltfRx1zEFrwCBhAPRLxKAJAbonFAOeKbr+Dozy3KEAkTBXYRvL+hox0ugLfLx IKsFJXt0KL7qK/sVhfPGCTHHW/zbjqqMSW+nunl91k9HVZ+cDmxPssUeHHCL3GKTZIYM cXxw== MIME-Version: 1.0 X-Received: by 10.31.2.82 with SMTP id 79mr40746257vkc.22.1451431188692; Tue, 29 Dec 2015 15:19:48 -0800 (PST) Received: by 10.31.174.213 with HTTP; Tue, 29 Dec 2015 15:19:48 -0800 (PST) In-Reply-To: <1451396502.18353.9.camel@michaeleichorn.com> References: <56825181.2060509@gmail.com> <1451396502.18353.9.camel@michaeleichorn.com> Date: Tue, 29 Dec 2015 15:19:48 -0800 Message-ID: Subject: Re: Newest mediawiki is not a package on FreeBSD 10.2 From: Sergei G To: "Michael B. Eichorn" Cc: 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: Tue, 29 Dec 2015 23:19:49 -0000 Thank you That's exactly what I wanted to know. I prefer to wait for a week. On Tue, Dec 29, 2015 at 5:41 AM, Michael B. Eichorn wrote: > On Tue, 2015-12-29 at 01:25 -0800, Sergei G wrote: > > Hi, > > > > I'd like to install latest mediawiki 1.26 on FreeBSD 10.2. > > > > However, the search with 'pkg search -x mediawiki' returns the > > following > > (trimmed) response: > > > > mediawiki119-1.19.24 > > mediawiki123-1.23.10 > > mediawiki124-1.24.3 > > mediawiki125-1.25.2 > > > > I don't see mediawiki126, but it is available in ports collection at: > > https://svnweb.freebsd.org/ports/head/www/mediawiki126/ > > > > I am on a standard installation and I am willing to install it inside > > a > > dedicated 10.2 jail. How do I point FreeBSD package system so it > > can > > find mediawiki126? > > There is indeed a package for mediawiki126, however it was created in > 2015Q4 (this quarter). 10.2 now follows the quarterly ports branches by > default. As Q1 starts this week you can choose to wait a week or > alternatively switch your package repo to ports/head by changing the > url line in /etc/pkg/FreeBSD.conf from: > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", > > to > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", From owner-freebsd-questions@freebsd.org Wed Dec 30 05:05: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 6F0EBA5673E for ; Wed, 30 Dec 2015 05:05:34 +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 369A01880 for ; Wed, 30 Dec 2015 05:05:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 5DA8A3CEDB; Wed, 30 Dec 2015 06:05:30 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBU55TKb002074; Wed, 30 Dec 2015 06:05:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 30 Dec 2015 06:05:29 +0100 From: Polytropon To: "William A. Mahaffey III" Cc: FreeBSD Questions Subject: Re: delete button in console Message-Id: <20151230060529.67a4c714.freebsd@edvax.de> In-Reply-To: <5682F182.7080603@hiwaay.net> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@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: Wed, 30 Dec 2015 05:05:34 -0000 On Tue, 29 Dec 2015 14:53:32 -0553.75, William A. Mahaffey III wrote: > On 12/29/15 11:14, Polytropon wrote: > > On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: > >> When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt > >> I get character '~' printed on screen. Backspace works just fine. > >> > >> I think even an actual console behaves the same way. > >> > >> Is there a way to "map" the Delete button to work appropriately? Would > >> it be my SSH client application or FreeBSD itself? > > This is a thing that can be configured for the shell. I assume > > you're using FreeBSD's default dialog shell, the C shell. In > > this case, add to ~/.cshrc: > > > > bindkey ^? delete-char # for console > > bindkey ^[[3~ delete-char # for xterm > > > > Or to /etc/csh.cshrc, if you want to make it a global setting. > > > > You can check the success with the "stty -a" command. > > > Is this keyboard dependent ? My keyboard apparently sends '^?' for its > backspace key. No, this is a matter of terminal emulation. The keyboard usually sends the same position code (or ASCII code) everywhere in the world. If I remember correctly, Backspace is 0x08, and Delete is something else. > When I try the above, then 'stty -a', I see no setting. > > > [wam@devbox, pre, 2:48:10pm] 2029 % bindkey '^?' delete-char > > . > . > . > > .... > > . > . > . > That may be a vi thing - I've tried it here, and backspace does not do what it usually does in vi (neither in "insert" or "vi" mode). At the regular console prompt, it works as intended (and in all other text mode editors, like ee, too). > I am actually using rxvt, logged into another box, but it apparently > advertises as xterm .... Is the .cshrc setting being made on _that_ box (the target box)? If the rxvt is configured "xterm-compatible", make sure you also have the xterm setting. Compare: bindkey ^? delete-char # for console bindkey ^[[3~ delete-char # for xterm It's helpful to define both. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Dec 30 05:10: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 3A66FA568A9 for ; Wed, 30 Dec 2015 05:10:33 +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 F1E3E19C1 for ; Wed, 30 Dec 2015 05:10:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D59783CF36; Wed, 30 Dec 2015 06:10:30 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBU5AT7C002096; Wed, 30 Dec 2015 06:10:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 30 Dec 2015 06:10:29 +0100 From: Polytropon To: Sergei G Cc: FreeBSD Questions Subject: Re: delete button in console Message-Id: <20151230061029.ff1eb4dd.freebsd@edvax.de> In-Reply-To: References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> 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 Dec 2015 05:10:33 -0000 On Tue, 29 Dec 2015 15:16:50 -0800, Sergei G wrote: > Thanks all > > I have added bindkey "\e[3~" delete-char to my ~/.cshrc file and Delete, > Home and End buttons work now. > > The file content is very close to the default, so I am providing portion of > .cshrc for your reference: > > if ( $?tcsh ) then > # > http://stackoverflow.com/questions/1912328/how-to-map-delete-and-end-keys-on-tcsh-shell > # Delete > bindkey "\e[3~" delete-char > # Home > bindkey "\e[1~" beginning-of-line > # End > bindkey "\e[4~" end-of-line > bindkey "^W" backward-delete-word > bindkey -k up history-search-backward > bindkey -k down history-search-forward > endif Yes, I have almost the same - and for longer than 6 years when the Stack Overflow article originates from, even though the notation of the Esc character is a little different (but valid). :-) Oh, by the way: Let me add a suggestion for ~/.inputrc which might be useful for programs which use the readline mechanism: "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char "\e[D": backward-char set show-all-if-ambiguous on set completion-ignore-case off See "man 3 readline" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Dec 30 14:34: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 7B53EA56D27 for ; Wed, 30 Dec 2015 14:34:02 +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 D3C641223 for ; Wed, 30 Dec 2015 14:34:01 +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 tBUEAORL007051; Thu, 31 Dec 2015 01:10:25 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 31 Dec 2015 01:10:24 +1100 (EST) From: Ian Smith To: Polytropon cc: freebsd-questions@freebsd.org, "William A. Mahaffey III" Subject: Re: delete button in console In-Reply-To: Message-ID: <20151230233402.L8562@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 Dec 2015 14:34:02 -0000 In freebsd-questions Digest, Vol 604, Issue 3, Message: 17 On Wed, 30 Dec 2015 06:05:29 +0100 Polytropon wrote: > On Tue, 29 Dec 2015 14:53:32 -0553.75, William A. Mahaffey III wrote: > > On 12/29/15 11:14, Polytropon wrote: > > > On Tue, 29 Dec 2015 01:48:49 -0800, Sergei G wrote: > > >> When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt > > >> I get character '~' printed on screen. Backspace works just fine. > > >> > > >> I think even an actual console behaves the same way. > > >> > > >> Is there a way to "map" the Delete button to work appropriately? Would > > >> it be my SSH client application or FreeBSD itself? > > > This is a thing that can be configured for the shell. I assume > > > you're using FreeBSD's default dialog shell, the C shell. In > > > this case, add to ~/.cshrc: > > > > > > bindkey ^? delete-char # for console > > > bindkey ^[[3~ delete-char # for xterm > > > > > > Or to /etc/csh.cshrc, if you want to make it a global setting. > > > > > > You can check the success with the "stty -a" command. > > > > > > Is this keyboard dependent ? My keyboard apparently sends '^?' for its > > backspace key. > > No, this is a matter of terminal emulation. The keyboard usually > sends the same position code (or ASCII code) everywhere in the > world. If I remember correctly, Backspace is 0x08, and Delete is > something else. Native delete key is 0x7f, the last ASCII character. Goes way back .. but I can't remember the EBCDIC equivalent :) > > When I try the above, then 'stty -a', I see no setting. > > > > [wam@devbox, pre, 2:48:10pm] 2029 % bindkey '^?' delete-char > > > > .... > > That may be a vi thing - I've tried it here, and backspace does > not do what it usually does in vi (neither in "insert" or "vi" mode). > At the regular console prompt, it works as intended (and in all > other text mode editors, like ee, too). > > I am actually using rxvt, logged into another box, but it apparently > > advertises as xterm .... > > Is the .cshrc setting being made on _that_ box (the target box)? > If the rxvt is configured "xterm-compatible", make sure you also > have the xterm setting. Compare: > > bindkey ^? delete-char # for console > bindkey ^[[3~ delete-char # for xterm > > It's helpful to define both. Indeed. Long ago when first getting this going, I found it necessary to explicitly add 'stty erase ^H' after fixing the delete (forward) char/s in ~/.cshrc; I forget why, but likely couldn't hurt (William) to try .. if ($?prompt) then # An interactive shell -- set some stuff up set prompt = "$USER on `/bin/hostname -s`% " set filec set history = 1200 set savehist = 900 set ignoreeof # no exit on ^D set mail = (/var/mail/$USER) if ( $?tcsh ) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward bindkey "^?" delete-char bindkey "\e[3~" delete-char bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line set autolist ambiguous endif stty erase ^H endif cheers, Ian From owner-freebsd-questions@freebsd.org Wed Dec 30 14:36: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 DF329A56E32 for ; Wed, 30 Dec 2015 14:36:41 +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 5A3EA1438 for ; Wed, 30 Dec 2015 14:36: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 tBUEacgZ007870 for ; Thu, 31 Dec 2015 01:36:38 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 31 Dec 2015 01:36:38 +1100 (EST) From: Ian Smith To: freebsd-questions@freebsd.org Subject: [OT] Light frequency or wavelength to (eg RGB) colour Message-ID: <20151231012759.I8562@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: Wed, 30 Dec 2015 14:36:42 -0000 Hi community, does anyone know of a method - preferably a formula - for converting known frequencies (or complementarily, their wavelengths) within the visible spectrum to its colour rendition in RGB, CMYK or whatever? cheers, Ian From owner-freebsd-questions@freebsd.org Wed Dec 30 14:59: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 F2AFDA556D5 for ; Wed, 30 Dec 2015 14:59:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb2-smtp-cloud2.xs4all.net (lb2-smtp-cloud2.xs4all.net [194.109.24.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 753BD12E7 for ; Wed, 30 Dec 2015 14:59:01 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud2.xs4all.net with ESMTP id zqxo1r00H07iGuj01qxpFk; Wed, 30 Dec 2015 15:57:49 +0100 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id A40C11244B; Wed, 30 Dec 2015 15:57:48 +0100 (CET) Date: Wed, 30 Dec 2015 15:57:48 +0100 From: Roland Smith To: Robert Ames Cc: "Brandon J.Wandersee" , "freebsd-questions@FreeBSD.org" Subject: Re: fonts.dir for TrueType fonts Message-ID: <20151230145748.GB84922@slackbox.erewhon.home> Mail-Followup-To: Robert Ames , "Brandon J.Wandersee" , "freebsd-questions@FreeBSD.org" References: <86twn7erh7.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! 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: Wed, 30 Dec 2015 14:59:03 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 24, 2015 at 12:39:39PM -0500, Robert Ames wrote: > > From: brandon.wandersee@gmail.com > > To: robertames@hotmail.com > > CC: freebsd-questions@freebsd.org > > Subject: Re: fonts.dir for TrueType fonts > > Date: Thu, 24 Dec 2015 10:33:40 -0600 > >=20 > >=20 > > Robert Ames writes: > >=20 > > > In the Handbook, under section "5.5.2. TrueType Fonts" it states: > > > > > >> Once the files have been copied into this directory, use ttmkfdir > > >> to create a fonts.dir, so that the X font renderer knows that these > > >> new files have been installed. ttmkfdir is available from the FreeBSD > > >> Ports Collection as x11-fonts/ttmkfdir. > > > =20 > > > ttmkdir is not in the current Ports Collection. So how does one=20 > > > create fonts.dir? > > > > > > I'm assuming the Handbook is out of date so I guess what I'm really > > > asking is how does one add TrueType fonts? > > > > Fonts I've added to ~/.fonts have always just worked, as have fonts > > installed from ports. Are you having an issue with a particular font, or > > were you just following along in the Handbook and got stuck when it > > called for x11-fonts/ttmkfdir? >=20 > Just following along in the Handbook. I've installed TrueType fonts in > /usr/local/share/fonts/TrueType/ and added a FontPath to /etc/X11/xorg.co= nf. > Was just making sure there was nothing else I needed to do. Instead of querying the X-server, most modern applications (including those built on the GTK+ and QT toolkits) these days use the fontconfig library in combination with freetype to discover fonts. By default, this is set to look for fonts in /usr/local/share/fonts and /usr/local/lib/X11/fonts and subdirectories. So any new fonts you put there should be found automatically after running fc-cache(1) to renew the cache. Like presumably many others I have a collection of fonts that I use and ins= tall on all my machines. The following is the script that I use to install these fonts = and make them visible to the system. #!/bin/sh if [ `id -u` -ne 0 ]; then echo "This script must be run as root." exit 1 fi FDIR=3D/usr/local/share/fonts/local/ # Remove all files to make sure we don't leave any cruft. rm -f $FDIR/* install -C -m 644 -v *.otf *.ttf *.pfb $FDIR # Update fontconfig cache fc-cache -svf $FDIR As you can see I don't bother using mkfontscale. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJWg/DsAAoJEED21dyjijPgyCoP/R2vXFgKvtoEaNvOPH3OkN4F SzHsHOzIlHn3JASQJfrhJF8KPjkodNtQe1+sB0DQNPQqR45f7AqHv1QwqBIVtp6C GvvK5vhLQljHRDZQnCP1KhuC7b3qlpbVoFB2UpcH/lfUVjS/A1qFPWWKTKH9T/XB a86YDZbZ86tMJtZqhxpCztH7+kZoUOYr/F7hDlMNFB8PJo4aW3MWDeIXGo4gwkXD 7d6xHdU4rUBRqXlQh14Z3nEDYpQzJqlS1g1TEfl3PnHAHWu4kMEiV26KP2Wrqsaj xInTM1JkbnGu74dC/Lj6QhBFolKC2vbkET8XVVeplrzjKhBpnf7i2VCVOefE7b4P 77GrD2sevM238nMTgYK4CgMmprZQLKmYIZ1quK+mYQq9GZPM2zvCv8D7aihevMaZ MhA5zsVjSR4EMCoFrh2tJTrbo0Zl0zmjaIb5QO2JU7mEW0JFHXb/chlhVjSjNVCM odgCOt1lWNywkwJBaOd0PfIpZTqyymW71/ARHcvcUK3562NXDahsE2UTEVN1XoLZ +WfGr9BkNZb5W9FqtOJVJC0oUQZvePuVEb0FsWmXMxRvgoVk7yMfanJYb19bQTP/ JE/Pl2v0uLOGDcCTSdTKbwZEQegj/dWHIaNUyJvxJRukYY+w6HdMKX4EZDVJKjK2 3aUxQp5r6bzmIKmwHGEK =PUxh -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o-- From owner-freebsd-questions@freebsd.org Wed Dec 30 15: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 1BC09A55B05 for ; Wed, 30 Dec 2015 15:05:14 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm37.bullet.mail.ir2.yahoo.com (nm37.bullet.mail.ir2.yahoo.com [212.82.96.62]) (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 611C81BF7 for ; Wed, 30 Dec 2015 15:05:12 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1451487733; bh=tSYJx8uZBa0fqoYpJ4bybnFrA8PO3guue3QhrgkaYpk=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=cetA0105isjJJTUhVHVCc4V5IK7PwAlMfJiwLFaNHPTpZaA+W19IjiTGf3+ZLVO5qstz4QRedvg+RaZ6sAQOqUY0mMDSdLgi2QHa1pl2fr1ycXpiP94fEYLgBLEccqa9HcL8jyg7O4rNQTNTu0AUdAshfoOT9yP9utjH77p4RCQug2kv0uHwUHNc1d9rIfIacgSBIroqqSqsGkYT4HViDyCGg1Blbqx0tNTquAiKuGOK9D0aDO7IRkGxHsPJF3DcImV7b6BVLMZC3fXMtitts5rFRciZErKXg60XwFr0NR+zOJbLFb/BMC++Drh2PzJyIPP5PNQzV5frXfyTmtD+4A== Received: from [212.82.98.49] by nm37.bullet.mail.ir2.yahoo.com with NNFMP; 30 Dec 2015 15:02:13 -0000 Received: from [46.228.39.83] by tm2.bullet.mail.ir2.yahoo.com with NNFMP; 30 Dec 2015 15:02:13 -0000 Received: from [127.0.0.1] by smtp120.mail.ir2.yahoo.com with NNFMP; 30 Dec 2015 15:02:13 -0000 X-Yahoo-Newman-Id: 227547.53977.bm@smtp120.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1_65kC4VM1mX1nbTxFSt6MzKkwX_0gNGqEs5_Ma.zVjerMc rOBMCWCkijusKCAQy3lapYhv8z6aUEYI_Avxnj45ya30MUCh6SOeQ_CQjWAf okbTomsN8brkDMKa1aN4i.JJVW42NmV0dEHcId76.Q2cZSe6MVS6H7Q1fYKe z0zQ7EpJa1hz4_keFAaVYQvkWXXi2i.LpUUjEn.4WD4CgyQ1K_deJ_BwLh4L e_c4etKShTy7Q0yPqs3O_wBxkgpDo6UwFP8LQI9t_hbP9WDpJhOQYw9A4ue4 s7rJjYhNHiif_PYbxStUVcGzi1vSv3tFBV3HAYxwuFmMe8uUpzY8IO73zoJ0 55nysyknvAv463M_C_pV1bIcnhp5m344sdlNrlg8ZZvwCrR.EHDaVhG5WBYn PVEFsvaFOW6VOu1bZvrqiYqhmtb58ldMqmPnM6JIA1Kh2SwvfrqeqUeU9LOq 8Fs98JY9Md_Ah1HPIuay.DUC8jsikB6n9sRLyF5GkujBhb5jc7uiaoAtMe_b 5rkYRDjSNOx0ubMaMUqe0Trcrnr3FgEFqn3EHgTWoR8Hs7323tcuMwPnYDc7 jFyBkBxin X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Wed, 30 Dec 2015 16:02:12 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: [OT] Light frequency or wavelength to (eg RGB) colour Message-ID: <20151230160212.5d62af6f@archlinux.localdomain> In-Reply-To: <20151231012759.I8562@sola.nimnet.asn.au> References: <20151231012759.I8562@sola.nimnet.asn.au> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; x86_64-arch-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: Wed, 30 Dec 2015 15:05:14 -0000 On Thu, 31 Dec 2015 01:36:38 +1100 (EST), Ian Smith wrote: >does anyone know of a method - preferably a formula - for converting >known frequencies (or complementarily, their wavelengths) within the >visible spectrum to its colour rendition in RGB, CMYK or whatever? I can't help you with your request. However, are you already aware that the first thing you need to do, assumed you want to see the true colours on your display, is to calibrate your display? To do this you need hardware, a colorimeter. From owner-freebsd-questions@freebsd.org Wed Dec 30 15:49:49 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 98CC2A56A30 for ; Wed, 30 Dec 2015 15:49:49 +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 6C28611B8 for ; Wed, 30 Dec 2015 15:49:49 +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 tBUFnfR3070442 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Dec 2015 08:49:41 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tBUFnfLp070439; Wed, 30 Dec 2015 08:49:41 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 30 Dec 2015 08:49:41 -0700 (MST) From: Warren Block To: Ian Smith cc: freebsd-questions@freebsd.org Subject: Re: [OT] Light frequency or wavelength to (eg RGB) colour In-Reply-To: <20151231012759.I8562@sola.nimnet.asn.au> Message-ID: References: <20151231012759.I8562@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]); Wed, 30 Dec 2015 08:49:42 -0700 (MST) 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 Dec 2015 15:49:49 -0000 On Thu, 31 Dec 2015, Ian Smith wrote: > does anyone know of a method - preferably a formula - for converting > known frequencies (or complementarily, their wavelengths) within the > visible spectrum to its colour rendition in RGB, CMYK or whatever? http://stackoverflow.com/questions/1472514/convert-light-frequency-to-rgb The first answer supplies as many formulas as anyone might want. Scroll down and there is a Pascal routine to actually do the conversion. From owner-freebsd-questions@freebsd.org Wed Dec 30 16: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 31B1AA55C2C for ; Wed, 30 Dec 2015 16:40:23 +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 AF79F1FF5 for ; Wed, 30 Dec 2015 16:40:22 +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 tBUGeJWr012325; Thu, 31 Dec 2015 03:40:19 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 31 Dec 2015 03:40:18 +1100 (EST) From: Ian Smith To: Warren Block cc: Roland Smith , freebsd-questions@freebsd.org Subject: [solved] [OT] Light frequency or wavelength to (eg RGB) colour In-Reply-To: Message-ID: <20151231033050.R8562@sola.nimnet.asn.au> References: <20151231012759.I8562@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: Wed, 30 Dec 2015 16:40:23 -0000 On Wed, 30 Dec 2015 08:49:41 -0700, Warren Block wrote: > On Thu, 31 Dec 2015, Ian Smith wrote: > > > does anyone know of a method - preferably a formula - for converting > > known frequencies (or complementarily, their wavelengths) within the > > visible spectrum to its colour rendition in RGB, CMYK or whatever? > > http://stackoverflow.com/questions/1472514/convert-light-frequency-to-rgb > > The first answer supplies as many formulas as anyone might want. Scroll down > and there is a Pascal routine to actually do the conversion. Thanks Warren .. indeed that leads into quite a number of rabbit holes. Thanks also to Roland Smith who sent me offlist (due to OT :) a link to his neat rendition in Python from apparently the same Pascal code: https://github.com/rsmith-nl/wavelength_to_rgb Thanks again folks; much easier than I thought this was going to be. cheers, Ian From owner-freebsd-questions@freebsd.org Wed Dec 30 23:27: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 C9441A564C1; Wed, 30 Dec 2015 23:27:28 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [91.121.41.56]) (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 9B35E1646; Wed, 30 Dec 2015 23:27:28 +0000 (UTC) (envelope-from trashcan@ellael.org) From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: How to define outgoing IP address? Needed to route local traffic through IPSEC tunnel. Message-Id: Date: Thu, 31 Dec 2015 00:27:18 +0100 To: freebsd-net@FreeBSD.org, freebsd-questions Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-Virus-Scanned: clamav-milter 0.99 at mail 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: Wed, 30 Dec 2015 23:27:28 -0000 Hi =E2=80=94 Is there a way to set the default outgoing IPv6 address of a network = interface? To my understanding the IPv6 address is used that is bound to = the interface by ifconfig_IFNAME_ipv6, right? I need to route all my traffic to a remote server via an IPSEC tunnel = (racoon) that has a setkey.conf as follows: spdadd fd00:1234:1234:1234::/64 fd00:abcd:abcd:abcd::/64 any -P = out ipsec = esp/tunnel/2001:dead:beaf:aaaa::a-2001:dead:beaf:bbbb::a/require; spdadd fd00:abcd:abcd:abcd::/64 fd00:1234:1234:1234::/64 any -P = in ipsec = esp/tunnel/2001:dead:beaf:bbbb::a-2001:dead:beaf:aaaa::a/require; I can use that tunnel from my jails because they have addresses from the = fd00:1234:1234:1234::/64 or fd00:abcd:abcd:abcd::/64 address space bound = to their epairXb interfaces. But, my hosts have addresses from = 2001:dead:beaf:aaaa::/56 or 2001:dead:beaf:bbbb::/56 respectively. And, = here my tunnel won't work. I did try to set a local address to ifconfig_IFNAME_ipv6, though. But = then the host is working, but the jails are failing to route through the = tunnel. I did try to add to my setkey.conf: spdadd 2001:dead:beaf:aaaa::/56 fd00:abcd:abcd:abcd::/64 any -P = out ipsec = esp/tunnel/2001:dead:beaf:aaaa::a-2001:dead:beaf:bbbb::a/require; spdadd 2001:dead:beaf:bbbb::/56 fd00:1234:1234:1234::/64 any -P = in ipsec = esp/tunnel/2001:dead:beaf:bbbb::a-2001:dead:beaf:aaaa::a/require; But that doesn't work either. Every help is highly welcome and thanks in advance. Regards, Michael From owner-freebsd-questions@freebsd.org Thu Dec 31 04:17: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 8E79CA57CC2 for ; Thu, 31 Dec 2015 04:17:35 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::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 62E7E1431 for ; Thu, 31 Dec 2015 04:17:35 +0000 (UTC) (envelope-from zagazaw2004@gmail.com) Received: by mail-ig0-x232.google.com with SMTP id ph11so191184059igc.1 for ; Wed, 30 Dec 2015 20:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=C48ICkhiU4CgfU4VyljxY7SySD+JmWWJ20lnxixjz9k=; b=sImpOU/cv5LfRNi/fQRqSiQq0KS0KLMTBbhVW0UyAacVm0QClhC3P3wbOvUdeNqXQv Rw4hauSeZSnSqkPTllI+vQEo9SAPOwhwX7x4KZ7feB6EKyuhSWoKlvpiTVv8nhnU1JRX JdSr3sVfGl0LhyCLF4/zFErChNMOawxA1UZ96Koor0ZN5BsFNsw+br/SHH8TpRddhGbz WS4VcaJClsuPuzlJMs74ucM7LfK6e6oqcpUdX1Q+pIUmL0KYF+8ssz8zkv2Yf4vq/Sni X1ai3u/rc5o7WkPNMqrydFEC6vISKXmT1Q0VApU04qY0BU5DDBVJ6x3AtmmiZnZTYgrL rX8A== MIME-Version: 1.0 X-Received: by 10.50.152.35 with SMTP id uv3mr6019106igb.13.1451535454841; Wed, 30 Dec 2015 20:17:34 -0800 (PST) Received: by 10.107.169.6 with HTTP; Wed, 30 Dec 2015 20:17:34 -0800 (PST) Date: Wed, 30 Dec 2015 22:17:34 -0600 Message-ID: Subject: Rebuilding FreeBSD! From: Yass Amed 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: Thu, 31 Dec 2015 04:17:35 -0000 Greetings, Is it possible to rebuild FreeBSD with custom settings such as different shell? Sincerely, Yass From owner-freebsd-questions@freebsd.org Thu Dec 31 04:29: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 9FC49A550A4 for ; Thu, 31 Dec 2015 04:29:26 +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 6955118EC for ; Thu, 31 Dec 2015 04:29:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C5C533CDF0; Thu, 31 Dec 2015 05:29:16 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBV4TAiZ002165; Thu, 31 Dec 2015 05:29:10 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 31 Dec 2015 05:29:10 +0100 From: Polytropon To: Yass Amed Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding FreeBSD! Message-Id: <20151231052910.358a141a.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: Thu, 31 Dec 2015 04:29:26 -0000 On Wed, 30 Dec 2015 22:17:34 -0600, Yass Amed wrote: > Is it possible to rebuild FreeBSD with custom settings such as different > shell? It is possible, but not suggested. FreeBSD comes with two stock shells: /bin/sh is the default scripting shell that many system scripts rely on, and /bin/csh is the default interactive shell. Replacing the system's scripting shell is not a good idea. If you want a different dialog shell, for example zsh or bash or fish, just install it and make it your user's new shell (use the command "chsh" to do so). You can also make it the default shell for newly added users. Just to add or replace a shell - it's probably not a good idea to rebuild the whole system. Also keep in mind that the port infrastructure and many ported 3rd party applications rely on the presence of the system's scripting shell. However, FreeBSD is open source, and you can get all the parts needed: the /usr/src tree for the OS, and /usr/ports (and the corresponding source files) for all the 3rd party software. You can the go on and start replacing shells... ;-) Honestly: FreeBSD is highly configurable. For the most things you'd probably like to customize, rebuilding the system is not required. Shells are just one example. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Dec 31 05:43: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 8421CA56873 for ; Thu, 31 Dec 2015 05:43:16 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 5AF8E1468 for ; Thu, 31 Dec 2015 05:43:16 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=/iJPBEiN1H2E98kUKxaYLs4pId6oX0MqECNMDMl5Kq0=; b=aMLz6uiCcFcXhq7r0OkmfZYKNo o7GEnHmPDEhSIwhTa2da83nNsDlwiRyoTQQ7JbCPKYATGzacM7iE1H2ycMUz/istVeMlTCm4s7A28 OHfCx+HN4or6nnz4/Uk0sFsATrgU7wVMo8cW+S3x8Ih35OaiHrNVQ/EjWe+jPur5HSTg=; Received: from [114.124.3.115] (port=41914 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aEW12-001zLp-S3; Wed, 30 Dec 2015 22:43:14 -0700 Date: Thu, 31 Dec 2015 13:42:55 +0800 From: Erich Dollansky To: Yass Amed Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding FreeBSD! Message-ID: <20151231134255.411205ba@X220.alogt.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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, 31 Dec 2015 05:43:16 -0000 Hi, On Wed, 30 Dec 2015 22:17:34 -0600 Yass Amed wrote: > Greetings, > > Is it possible to rebuild FreeBSD with custom settings such as > different shell? > why rebuild? Have a look at /etc/master.passwd. Erich From owner-freebsd-questions@freebsd.org Thu Dec 31 06:06: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 BD685A56F4D for ; Thu, 31 Dec 2015 06:06:54 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C9231F23 for ; Thu, 31 Dec 2015 06:06:53 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.9.36]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MEJKO-1aTyqD2Rr6-00FWYA for ; Thu, 31 Dec 2015 07:06:45 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aEWNo-000BBZ-W7 for freebsd-questions@freebsd.org; Thu, 31 Dec 2015 07:06:44 +0100 Date: Thu, 31 Dec 2015 07:06:44 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: Rebuilding FreeBSD! Message-ID: <20151231060644.GA42655@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:PD2D7u0ET/EPFEf4zyfLPA0bUfCIY3R8bJPoJ3KO22oLxhlIwiF ygkLC7JQHYBnEiIF0hy+PPosqetyJW765Fbcj8Wp1sYgWk2JMUeLa08oiCNyqTvXIp7P8WD gR+knA9xewntA8P8OqjgmW7cFrSEjzWNvFG7o0Wfg/vaFpzBOn7stemiDGMGmIWC8G+WAyo QQ8iuXw0dTR2czHXA4yRQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:NuNcZ3eaZQY=:FfSKDumlN1FnGAZjFCPHPJ ak2EYrVJVcA/wWQDc2BOpUMkVlxyDxbZM+r30QddQ5EoOpINwaynuAPOcDffRV7SZV0FociKe s8sRZ0MszHM/vtyL0LTeceFVLtKhOubcmzjeTjivMj+rUZ/6beZprh/9m+VWl8Df2gfUqzEmy Jx6rLW2A4k21OOs9lbJg4fuiQxH7jMtodeiw2FAgycm+IcfB2ksij7n6ob0csYqT6gukqCQQQ a7y8uNppTXAeLtFr6RP8z41mMdtathzIgA5UjnNE07p4sgNd4Lp4Lw3Rj1RiWp9vvWzy+ceRx AuoNV7Dmx3Iry4c/tAQ3D5LyIT1TTUUf42CTxVHY7BuYcxnldzYW95CTbGr+bzMm6qaEoZuQP 9fvFFWhhGP/ZGeFPFQLetfOCAh5J/xdwN0UauUhY2ZZ74JdZs9KEkq1byE2uKms9C4yzPh4/R SeaULEOkv/Fsq69qi3axVVfJ0XLd8DyqLzUdxH6hATpYR+HZuLM6bMezIX2g1mdi0ohFExOmv v5LG9WafYhTIxM6lAAlNV0g2/sOdi9GmjsxEeWWZWYw66JWZXvXhUaqkYo5eSUvKnOwg9DanD m3htogWqpPqhijaHqJwkkegA+m6DaqGbIm0bVlxrPhKCzblak5qfB90wjD8myiTquMpe9qBVY D9+3SnjYm8d0mCZe1fHHgnKU9jiRv0lPAhSD/hNcQSf5/B3NLSwk59KVT7juRj+asCSk= 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, 31 Dec 2015 06:06:54 -0000 Hi, On Wednesday, 30. Dec 2015, 22:17:34 -0600, Yass Amed wrote: > Is it possible to rebuild FreeBSD with custom settings such as different > shell? Not actually a different shell. Just install another one from ports/packages. To avoid disappointments I recommend to leave csh or sh in /etc/passwd at least for root. There's a lot of tweaks for the base system build. Have a look at "man src.conf". E. g. I'm a true hater of "locate" and I say WITHOUT_LOCATE=1 in "src.conf". Further I say WITHOUT_SENDMAIL=1 but that requires to follow strictly the instructions of the mail program alternative how to replace the base systems mechanism. The native location of the file to say things like that is "/etc/src.conf" but you can tweak that by saying "SRCCONF=/my/path/to/my/taste/of/src.conf" on the "make" command line. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Thu Dec 31 08:12:49 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 B5468A552BB for ; Thu, 31 Dec 2015 08:12:49 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 538741E89 for ; Thu, 31 Dec 2015 08:12:49 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id f206so57179178wmf.0 for ; Thu, 31 Dec 2015 00:12:49 -0800 (PST) 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 :content-type; bh=U5r2nhylrZUMp09jPqRukxZ6fILq074ZI+mmK8dsbfM=; b=CkTXULy4eausMg9nQvTV7HIrlWVhEMMGcBh+baEfbOx4aVXaDNez2RcFYjsSA+K6C/ hNlgNQnB2NoiiDrrCku6cSkAkAOe2rntk4JYlA+jbz8ZfcW++FI6WrlWtredOZSwOabZ nEwVFJCqa6cRE6GP6j/XDA1iGL/gobhw5QKeqz8L6c4NHKRV79PYYf5ZVds69spwkYEi j1JhriWyvkIpwysoGIjuAEkZRPepLepv3aRQi3mv83kOrZCpd38WjSv+PXWwFc7WuToG E/DL7VMhIIocvzohgvI9jbHy+9ihD7gwo/+bhwCtpPqY4C4+LogmoOOYsz0/v+IGq8mU fvXg== MIME-Version: 1.0 X-Received: by 10.194.192.198 with SMTP id hi6mr75323785wjc.141.1451549567616; Thu, 31 Dec 2015 00:12:47 -0800 (PST) Received: by 10.194.24.100 with HTTP; Thu, 31 Dec 2015 00:12:47 -0800 (PST) In-Reply-To: <20151231060644.GA42655@becker.bs.l> References: <20151231060644.GA42655@becker.bs.l> Date: Thu, 31 Dec 2015 09:12:47 +0100 Message-ID: Subject: Re: Rebuilding FreeBSD! From: Murk Fletcher To: 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, 31 Dec 2015 08:12:49 -0000 I always: pkg install zsh chsh -s /usr/local/bin/zsh Murk On Thu, Dec 31, 2015 at 7:06 AM, Bertram Scharpf wrote: > Hi, > > On Wednesday, 30. Dec 2015, 22:17:34 -0600, Yass Amed wrote: > > Is it possible to rebuild FreeBSD with custom settings such as different > > shell? > > Not actually a different shell. Just install another one > from ports/packages. To avoid disappointments I recommend to > leave csh or sh in /etc/passwd at least for root. > > There's a lot of tweaks for the base system build. Have a look at > "man src.conf". E. g. I'm a true hater of "locate" and I say > > WITHOUT_LOCATE=1 > > in "src.conf". Further I say > > WITHOUT_SENDMAIL=1 > > but that requires to follow strictly the instructions of the > mail program alternative how to replace the base systems > mechanism. > > The native location of the file to say things like that is > "/etc/src.conf" but you can tweak that by saying > "SRCCONF=/my/path/to/my/taste/of/src.conf" on the "make" > command line. > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de > _______________________________________________ > 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 Thu Dec 31 08:17: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 DE3B5A55569 for ; Thu, 31 Dec 2015 08:17:35 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 7CFEA10D2 for ; Thu, 31 Dec 2015 08:17:35 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id f206so86848789wmf.0 for ; Thu, 31 Dec 2015 00:17:35 -0800 (PST) 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 :content-type; bh=hAreL9NmnErVjttMJyDMhE30onPjGlNvZRIchi4YNug=; b=DrYqxhDM+C7zL0S9aS3Y9tQ9xZH+Cuu0B5/+fSxCowFcFPvVPFXJz4MiKKwMwaobUI nY8E/mLLAbsbfvQpU9U9yEju4WbU4yCCie7CYe+Lr8nK95avN8w78zuRPCH7QndLeAz2 1sKbVxYVvtmoWZQTpy+d4IJmLRh4L3uSaiVd2Y+LdicaBL21BihtWhsZQpC3N7ILpX0i DuHLdDcEe1Ruq2X2zTnyv4D9ne+fY+hRX5PSn2SuxkKOApvam6WWEGimTQjuyEHad8HH tYUGpwwtoTLkxq9UeFWXMSL0GibBabs5ypVQQ5SmYYMkKa+fTZvLBmq09RshPZFK/chs RSog== MIME-Version: 1.0 X-Received: by 10.195.12.163 with SMTP id er3mr74777327wjd.135.1451549853878; Thu, 31 Dec 2015 00:17:33 -0800 (PST) Received: by 10.194.24.100 with HTTP; Thu, 31 Dec 2015 00:17:33 -0800 (PST) In-Reply-To: References: <20151231060644.GA42655@becker.bs.l> Date: Thu, 31 Dec 2015 09:17:33 +0100 Message-ID: Subject: Re: Rebuilding FreeBSD! From: Murk Fletcher To: 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, 31 Dec 2015 08:17:36 -0000 In my opinion -- zsh is beautiful, especially once you start programming your own scripts. bash on the other hand is full of bugs and also make your scripts look ugly. Murk On Thu, Dec 31, 2015 at 9:12 AM, Murk Fletcher wrote: > I always: > > pkg install zsh > chsh -s /usr/local/bin/zsh > > Murk > > On Thu, Dec 31, 2015 at 7:06 AM, Bertram Scharpf > wrote: > >> Hi, >> >> On Wednesday, 30. Dec 2015, 22:17:34 -0600, Yass Amed wrote: >> > Is it possible to rebuild FreeBSD with custom settings such as different >> > shell? >> >> Not actually a different shell. Just install another one >> from ports/packages. To avoid disappointments I recommend to >> leave csh or sh in /etc/passwd at least for root. >> >> There's a lot of tweaks for the base system build. Have a look at >> "man src.conf". E. g. I'm a true hater of "locate" and I say >> >> WITHOUT_LOCATE=1 >> >> in "src.conf". Further I say >> >> WITHOUT_SENDMAIL=1 >> >> but that requires to follow strictly the instructions of the >> mail program alternative how to replace the base systems >> mechanism. >> >> The native location of the file to say things like that is >> "/etc/src.conf" but you can tweak that by saying >> "SRCCONF=/my/path/to/my/taste/of/src.conf" on the "make" >> command line. >> >> Bertram >> >> >> -- >> Bertram Scharpf >> Stuttgart, Deutschland/Germany >> http://www.bertram-scharpf.de >> _______________________________________________ >> 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 Thu Dec 31 10:36: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 D99B1A565DB for ; Thu, 31 Dec 2015 10:36:10 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from mail.parts-unknown.org (n4rky-1-pt.tunnel.tserv29.fmt1.ipv6.he.net [IPv6:2001:470:66:119::2]) (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 C93881443 for ; Thu, 31 Dec 2015 10:36:10 +0000 (UTC) (envelope-from benfell@parts-unknown.org) Received: from [192.168.1.75] (unknown [50.250.218.173]) by mail.parts-unknown.org (Postfix) with ESMTPSA id D3C70597931E for ; Thu, 31 Dec 2015 02:36:03 -0800 (PST) Subject: Re: Rebuilding FreeBSD! To: freebsd-questions@freebsd.org References: <20151231060644.GA42655@becker.bs.l> From: David Benfell Message-ID: <56850513.4020208@parts-unknown.org> Date: Thu, 31 Dec 2015 02:36:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151231060644.GA42655@becker.bs.l> 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, 31 Dec 2015 10:36:10 -0000 On 12/30/2015 10:06 PM, Bertram Scharpf wrote: > Not actually a different shell. Just install another one from > ports/packages. To avoid disappointments I recommend to leave csh or > sh in /etc/passwd at least for root. Having used zsh for well over a decade in both Linux and BSD systems, I have never found it necessary to leave csh or sh or bash as the root shell. Scripts all have their own #! line so they'll use the shell they're written for (pretty much always sh in FreeBSD ports and the base system as far as I know). I *do*, however, suggest keeping a copy of your preferred shell's package handy (pkg create is your friend), just in case something breaks in an upgrade. And I agree about zsh versus bash. I'm sure there are some who will disagree with me and I suppose it's possible that my notion of expected behavior is a consequence of prejudice, but I find zsh's behavior much more predictable. -- David Benfell benfell@parts-unknown.org From owner-freebsd-questions@freebsd.org Thu Dec 31 13:27: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 6E9E7A56212 for ; Thu, 31 Dec 2015 13:27:44 +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 3071114C7 for ; Thu, 31 Dec 2015 13:27:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 67E153CDA0; Thu, 31 Dec 2015 14:27:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBVDRdpv001926; Thu, 31 Dec 2015 14:27:39 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 31 Dec 2015 14:27:39 +0100 From: Polytropon To: David Benfell Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding FreeBSD! Message-Id: <20151231142739.721ca5dc.freebsd@edvax.de> In-Reply-To: <56850513.4020208@parts-unknown.org> References: <20151231060644.GA42655@becker.bs.l> <56850513.4020208@parts-unknown.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: Thu, 31 Dec 2015 13:27:44 -0000 On Thu, 31 Dec 2015 02:36:03 -0800, David Benfell wrote: > On 12/30/2015 10:06 PM, Bertram Scharpf wrote: > > Not actually a different shell. Just install another one from > > ports/packages. To avoid disappointments I recommend to leave csh or > > sh in /etc/passwd at least for root. > Having used zsh for well over a decade in both Linux and BSD systems, I > have never found it necessary to leave csh or sh or bash as the root > shell. This advice is still valid due to the following reasons: When users install additional shells, they usually go to the /usr/local subtree. When the user also has partitioned the disk so that /usr is a partition different from /, then /usr/local/bin/* won't be available in single-user mode. If the default shell points to a program in that location - well, problem. However, many shells support being installed into /bin (even though this is a slight interference with the OS), and most also support being built statically, so no 3rd party libraries in /usr/local/lib will be required. A non-existing shell will not permit a login. For the root user, which is the only one where you always want to be sure it can log in, having a shell that _might_ not be available is a bad idea. For regular users it's okay, as they usually do not log in in case of an emergency - and "emergency" often means a state of heavily reduced system functionality (only console login, no X, maybe no network, single-user mode, no daemons running, worst case). Furthermore, it's often advised not to do interactive work as the "root" user. A configurable UID 0 account is provided with the "toor" user which can easily have a custom shell. This makes sure emergency operations aren't made complicated. For everything else, there's always su, sudo, and super, with varying degrees of permissions and shell environment inheritance. > Scripts all have their own #! line so they'll use the shell > they're written for (pretty much always sh in FreeBSD ports and the base > system as far as I know). This is correct. That's why removing /bin/sh (which is, by the way, also the default dialog shell in single-user mode!) is a bad idea. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Dec 31 19:12: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 8890BA5594D for ; Thu, 31 Dec 2015 19:12:04 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp1.bway.net (smtp1.v6.bway.net [IPv6:2607:d300:1::27]) (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 67A451C68 for ; Thu, 31 Dec 2015 19:12:04 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-221.dsl.bway.net [216.220.115.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 7DE9C95854; Thu, 31 Dec 2015 14:11:53 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1451589113; bh=b/92+lb0QQbPn9p12fiKrb1Cqodf+b1sd4CNF8/jcUQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=jC9wzqByjavWHzh7ojm/4SOJ7BSnCXhoPd8A9pUqzNqaVRNFVq/7vu09CnNv2UfYU f+TbnOhuSoJYe8qvbpPzkM09eIaD0zLfcwGEzxVB8i6LRXl85uaYhAcF/mZnIO28xC r6VNulx6gxHlAjJT0UdRof51SL6ufTjjAYYIJHPU= Date: Thu, 31 Dec 2015 14:11:53 -0500 From: mfv To: Polytropon Cc: FreeBSD Questions Subject: Re: delete button in console Message-ID: <20151231141153.62eb3d0d@gecko4> In-Reply-To: <20151230061029.ff1eb4dd.freebsd@edvax.de> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> <20151230061029.ff1eb4dd.freebsd@edvax.de> Reply-To: mfv@bway.net 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, 31 Dec 2015 19:12:04 -0000 > On Wed, 2015-12-30 at 06:10 Polytropon wrote: > >On Tue, 29 Dec 2015 15:16:50 -0800, Sergei G wrote: >> Thanks all >> >> I have added bindkey "\e[3~" delete-char to my ~/.cshrc file and >> Delete, Home and End buttons work now. >> >> The file content is very close to the default, so I am providing >> portion of .cshrc for your reference: >> >> if ( $?tcsh ) then >> # >> http://stackoverflow.com/questions/1912328/how-to-map-delete-and-end-keys-on-tcsh-shell >> # Delete >> bindkey "\e[3~" delete-char >> # Home >> bindkey "\e[1~" beginning-of-line >> # End >> bindkey "\e[4~" end-of-line >> bindkey "^W" backward-delete-word >> bindkey -k up history-search-backward >> bindkey -k down history-search-forward >> endif > >Yes, I have almost the same - and for longer than 6 years when the >Stack Overflow article originates from, even though the notation of >the Esc character is a little different (but valid). :-) > >Oh, by the way: Let me add a suggestion for ~/.inputrc which might >be useful for programs which use the readline mechanism: > > "\e[A": history-search-backward > "\e[B": history-search-forward > "\e[C": forward-char > "\e[D": backward-char > set show-all-if-ambiguous on > set completion-ignore-case off > >See "man 3 readline" for details. > > > > Hello, I have similar keybindings that operate as expected for both the tty console and virtual console using xterm or urxvt. However, the following keybindings (Ctrl+right_key_pad_arrow and Crtrl+left_key_pad_arrow) do not work on the tty console: bindkey "\e[1;5C" forward-word bindkey "\e[1;5D" backward-word Even though the environment variable for the terminal is identical: # printenv | grep TERM TERM=xterm Csh is my preferred shell for both console and virutal terminal. Any suggestions for a key binding that works on the tty console similar to the virtual terminal would be appreciated. Alternatively, an explanation of why it will not work will also be appreciated. Cheers to all who celebrate the New Year using the Gregorian calendar! And thanks to all who contributed to this mailing list. Your tips and insights have been very useful. Marek From owner-freebsd-questions@freebsd.org Thu Dec 31 19:34: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 A3107A571E7 for ; Thu, 31 Dec 2015 19:34:54 +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 6AF9A1A01 for ; Thu, 31 Dec 2015 19:34:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 4ABB727828; Thu, 31 Dec 2015 20:27:54 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBVJRsw6002019; Thu, 31 Dec 2015 20:27:54 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 31 Dec 2015 20:27:54 +0100 From: Polytropon To: mfv@bway.net Cc: FreeBSD Questions Subject: Re: delete button in console Message-Id: <20151231202754.e6cbe107.freebsd@edvax.de> In-Reply-To: <20151231141153.62eb3d0d@gecko4> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> <20151230061029.ff1eb4dd.freebsd@edvax.de> <20151231141153.62eb3d0d@gecko4> 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: Thu, 31 Dec 2015 19:34:54 -0000 On Thu, 31 Dec 2015 14:11:53 -0500, mfv wrote: > Hello, > > I have similar keybindings that operate as expected for both the > tty console and virtual console using xterm or urxvt. > > However, the following keybindings (Ctrl+right_key_pad_arrow and > Crtrl+left_key_pad_arrow) do not work on the tty console: > > bindkey "\e[1;5C" forward-word > bindkey "\e[1;5D" backward-word > > Even though the environment variable for the terminal is identical: > > # printenv | grep TERM > TERM=xterm Or simply use "echo $TERM". :-) It even doesn't work with the traditional (sc-based) console where TERM=cons25l1 (or cons25 for US preference). Check the follwing in an X terminal: % cat ^[[1;5D^[[1;5C <- Ctrl + cursor keye ^[[D^[[C <- cursor keys As expected, it works. And as you can see, it's the same code sequence you have assigned (Escape [ 1 ; 5 C and D). But when you do the same in text mode, both cases will (incorrectly) be the same: % cat ^[[D^[[C <- Ctrl + cursor keys ^[[D^[[C <- cursor keys So the Control key combination isn't recognized properly. > Csh is my preferred shell for both console and virutal terminal. So I'm not the last person actually using it... ;-) > Any suggestions for a key binding that works on the tty console similar > to the virtual terminal would be appreciated. Alternatively, an > explanation of why it will not work will also be appreciated. Sorry, no idea _why_ this is, but only _that_ it is. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Dec 31 19:36: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 B8C6FA572EA for ; Thu, 31 Dec 2015 19:36:15 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16FB41AE3 for ; Thu, 31 Dec 2015 19:36:14 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.11.158]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MFwx8-1aRQar3mR4-00EyzJ for ; Thu, 31 Dec 2015 20:36:11 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aEj19-000CXh-7l for freebsd-questions@freebsd.org; Thu, 31 Dec 2015 20:36:11 +0100 Date: Thu, 31 Dec 2015 20:36:11 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: delete button in console Message-ID: <20151231193611.GA48159@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> <20151230061029.ff1eb4dd.freebsd@edvax.de> <20151231141153.62eb3d0d@gecko4> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20151231141153.62eb3d0d@gecko4> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:TTjFiXpL1DXdA5khaRKAGMfStuEx9sOs14oBjsD31eyWvKkTtoO srmRTaVOrFeBe56zki3Y5xFNcdTOERa1eBAjJm35o1om+o5x5acklzVsO2lUQs8KkfzHAI9 EXzcvmvvO94ztBjgkzWCimC6acwojLZytPEbTGMjrmiGeLLcUQTjk1hwX9OS5AtEPWfpE5Y L9UFjOpV2CXjzoQAUXj4A== X-UI-Out-Filterresults: notjunk:1;V01:K0:20WbGHLlliU=:wQ72SQyEZs53BfVDAH2t6d +vZjjwsQxI+1JMcicBTSKJxLGhus+fYXzaCcurO5BxvHbcP7SlKXNNycng3r0JpgJWeNrrFlB 9V1yjw5Tofp9f3gV2Q/ZYya1msLdQbYZzkkxnvfXnbib6BJDL0F6fwkcvFks051f6RRmnzpNr dr5xsq6z0T/YERXPLMomu51cbooBgyQfKVhgzxcFu9Ztdcfh7QL1eRKWrVCfd/LgseMvzxT4R SDIoVswIrlrvXz0edo42pLWV8jsRPcJSlEPESe9wc7VL8bpMGTw4GEPBMAI15GXHzdTvfbToT vTKvY1qWdWK7gelukOuBuf/R7K9rbcXpMp7UbX+yVCjN+eHlOx7LntG8F6ZNF/8RYprXiHh4S R/ptj9cH4R5BW2pp7oqzIhiQRfP947twJxGOxTvHgfc+fHqpi9kEMWNek2avLbSdMUFXc8Fhj QBQD4X6DikwlebuU0PUqrv3jF0LQnzUqtUDpe57fU/z2VY3UrFz8WniUkl9dQZ7D6cewjcs7h pqBq+jg52NalYRYntDuprkDcf8FLXT9Gx80fkEbPeYG/NT3cdGGPHqQIO1+fNgqbBFcfb04do csFEVv12Lw4OqakZHXn7mNOoxs7Wp0UnTwq5zVj/sRG3+r1Cw5iuNFZ57lUIkBgkpoURFKeUR I4SYbtwDlPJ9FFm9A74Wvg39V4GbhXI1fY61VjtLlyjPTJGTtZ4aLHxAZwHnyhXudVzg= 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, 31 Dec 2015 19:36:15 -0000 Hi, On Thursday, 31. Dec 2015, 14:11:53 -0500, mfv wrote: > I have similar keybindings that operate as expected for both the > tty console and virtual console using xterm or urxvt. > > However, the following keybindings (Ctrl+right_key_pad_arrow and > Crtrl+left_key_pad_arrow) do not work on the tty console: > > bindkey "\e[1;5C" forward-word > bindkey "\e[1;5D" backward-word > Does the console produce these escape sequences at all? Start "dd" and play around with the arrow keys to find out what the keys get translated to. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@freebsd.org Thu Dec 31 20:01: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 F0CCFA57C1B for ; Thu, 31 Dec 2015 20:01: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 B87E918D4 for ; Thu, 31 Dec 2015 20:01:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-17-9.dynamic.qsc.de [92.195.17.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 962523CE16; Thu, 31 Dec 2015 21:01:53 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBVK1qig001993; Thu, 31 Dec 2015 21:01:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 31 Dec 2015 21:01:52 +0100 From: Polytropon To: Bertram Scharpf Cc: freebsd-questions@freebsd.org Subject: Re: delete button in console Message-Id: <20151231210152.1a7082c9.freebsd@edvax.de> In-Reply-To: <20151231193611.GA48159@becker.bs.l> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> <20151230061029.ff1eb4dd.freebsd@edvax.de> <20151231141153.62eb3d0d@gecko4> <20151231193611.GA48159@becker.bs.l> 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: Thu, 31 Dec 2015 20:01:57 -0000 On Thu, 31 Dec 2015 20:36:11 +0100, Bertram Scharpf wrote: > Hi, > > On Thursday, 31. Dec 2015, 14:11:53 -0500, mfv wrote: > > I have similar keybindings that operate as expected for both the > > tty console and virtual console using xterm or urxvt. > > > > However, the following keybindings (Ctrl+right_key_pad_arrow and > > Crtrl+left_key_pad_arrow) do not work on the tty console: > > > > bindkey "\e[1;5C" forward-word > > bindkey "\e[1;5D" backward-word > > > > Does the console produce these escape sequences at all? No, not in "old sc" and "new vt" mode... control combinations with cursor and function keys don't seem to work in general (whereas control combination of character keys work as intended). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jan 1 07:05:35 2016 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 83457A5D0DE for ; Fri, 1 Jan 2016 07:05:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001: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 5AC281566 for ; Fri, 1 Jan 2016 07:05:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x232.google.com with SMTP id o67so386046541iof.3 for ; Thu, 31 Dec 2015 23:05:35 -0800 (PST) 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 :content-type; bh=v+5j+fBm+ptYreEjkhNH5DmGlwvdkHF6xZvHCszRgbU=; b=TsdIiByoQsOdJW009lglIpI9eAoP5SbxgA21sHhBRq9H0JiqDK08mebKR//hVdyt1x pXzUV0rQCO2NplPIqzFiGIjZ96WcwSi67KfnMqMClNbnK/fl0hGupsujkdpFkZgtjoNo V5ih/Mg9O7Q8ItiQfJUsTWoLW1BuC1ghfD1XXmpQA0Ckv39PdsYgRRDQxg/a4fg9GBnt ZWrhlZE8AsERXPX/M9PmwSV6EJ/rOuShk4TDH0+9oz2LzGrCYX1T5WDTzxM2xnpL3OiZ J0IJx60HwywDh7Hob30LnhlnveznTL/dAvDH/v9RMR28FLfmabOsnF0ERSMyIq42/BYr aCkA== MIME-Version: 1.0 X-Received: by 10.107.162.146 with SMTP id l140mr14025839ioe.123.1451631934717; Thu, 31 Dec 2015 23:05:34 -0800 (PST) Received: by 10.36.121.202 with HTTP; Thu, 31 Dec 2015 23:05:34 -0800 (PST) In-Reply-To: <20151229102645.GB40090@potato.growveg.org> References: <20151229102645.GB40090@potato.growveg.org> Date: Thu, 31 Dec 2015 23:05:34 -0800 Message-ID: Subject: Re: ath0 messages spamming /var/log/messages From: Adrian Chadd To: 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: Fri, 01 Jan 2016 07:05:35 -0000 Try updating to -head. I've implemented more of those missing routines. -a On 29 December 2015 at 02:26, John wrote: > Hello list, > > On an acer laptop I'm running 10.2 r292394. Wireless on this is seen > as Atheros AR9485 and it runs fine apart from it spamming > /var/log/messages with this: > > Dec 29 10:12:07 acer kernel: Limiting closed port RST response from > 210 to 200 packets/sec > Dec 29 10:12:09 acer kernel: Limiting closed port RST response from > 215 to 200 packets/sec > Dec 29 10:12:11 acer kernel: Limiting closed port RST response from > 220 to 200 packets/sec > Dec 29 10:12:20 acer kernel: ar9300_Stub_GetAntennaSwitch: called > Dec 29 10:12:20 acer kernel: ar9300_Stub_GetAntennaSwitch: called > Dec 29 10:12:20 acer kernel: ar9300_Stub_GetCTSTimeout: called > Dec 29 10:12:20 acer kernel: ar9300_Stub_GetCTSTimeout: called > Dec 29 10:12:41 acer kernel: ar9300_Stub_GetAntennaSwitch: called > Dec 29 10:12:41 acer kernel: ar9300_Stub_GetAntennaSwitch: called > Dec 29 10:12:41 acer kernel: ar9300_Stub_GetCTSTimeout: called > Dec 29 10:12:41 acer kernel: ar9300_Stub_GetCTSTimeout: called > Dec 29 10:13:01 acer kernel: ar9300_Stub_GetAntennaSwitch: called > Dec 29 10:13:01 acer kernel: ar9300_Stub_GetAntennaSwitch: called > > Is there a tweak or something I can invoke to stop this from > happening? The on-board wifi is seen as: > > ath0: mem 0xf0100000-0xf017ffff irq 17 at device 0.0 > on pci2 > > Initial output from dmesg.boot shows this: > > ar9300_set_stub_functions: setting stub functions > ar9300_set_stub_functions: setting stub functions > ar9300_attach: calling ar9300_hw_attach > ar9300_hw_attach: calling ar9300_eeprom_attach > ar9300_flash_map: unimplemented for now > Restoring Cal data from DRAM > Restoring Cal data from EEPROM > Restoring Cal data from Flash > Restoring Cal data from Flash > Restoring Cal data from OTP > ar9300_hw_attach: ar9300_eeprom_attach returned 0 > ath0: RX status length: 48 > ath0: RX buffer size: 4096 > ath0: TX descriptor length: 128 > ath0: TX status length: 36 > ath0: TX buffers per descriptor: 4 > ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0 > ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries > ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 RX streams; 1 TX streams > ath0: AR9485 mac 576.1 RF5110 phy 33.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 > > The wifi works fine apart from the chatty output. > > thanks, > -- > John _______________________________________________ > 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 Jan 1 16:50:55 2016 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 9C618A5D3EB for ; Fri, 1 Jan 2016 16:50:55 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001: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 6A38B1789 for ; Fri, 1 Jan 2016 16:50:55 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-ig0-x22e.google.com with SMTP id to18so192418353igc.0 for ; Fri, 01 Jan 2016 08:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=9sBjn+sTq2/34AjhbjNSEKnVMDjib3ImMhA74kLTBSY=; b=q5l9HzYgmOJlslhxNUh5No67x0j3S60+6fw7Ky3lt7nlYzptWqaAeOw2ekjSnf9V02 S+34hSvrYf2Q8rXz+iUJ4q60hXPu+SK4msLIZjAx5+Ku2kgIySZtGIdglW78HorOLUhL dMpnnGHIsV/dANF6TU7If4A7NB+TqqWZeIa+AP5OQ+qCmJyz0EIufH5x91YNnSg1jV4f v2kCKIElQTsQxNjeDvofU1KtsJ5BBholMgsSEnp7FCzdSmpj07T5mt0qYIiBhPaXplm7 74TC2mExxgC0oM5LLfSbHUmNT2+PPIGXgZPAZAPYaBhyqM+mvLiiBMJTHiuhZgIJWazR l5wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=9sBjn+sTq2/34AjhbjNSEKnVMDjib3ImMhA74kLTBSY=; b=XnY0LbwS/lSC4rApQjb73+EFUnuWHgP3IIT6lU5ssvqQC2rWyfF9m3DhpNwcbbSaD+ lpvOWN5kN3Mq1ZBwe0JMXkGKTGDC/qI4KsNA2CzNeCo0bBUHC/ZzoO0v7z5W+gfaFsE5 f7Y8YYifKwb+FQ9R8g7Lqr9jozfeOt2pb0rzNFqSAIW5hXGshotp2QfF9k8hPwet2sgy jUtVIh+kIkxnyqMoO4gf77DDT8ZbcSnm3qhlWbhvs48fTnzsXllZqW4CwX826jbenlD+ NQfbzu2dj81fByHSAea3MKQKlNbfcBUWnZcbUQCMaPsqnPX/3PHwGi9cQz0tnGa9flim +KXA== X-Gm-Message-State: ALoCoQkoaWUBKbfDBJRmEgte4Ah38K2X9sjDBAV5WTSML4t4WBzAxSsoCqd3td7VoHb2w19nIE7Pst+wfstCuynJigfAyK20Vg== MIME-Version: 1.0 X-Received: by 10.50.79.196 with SMTP id l4mr69640185igx.59.1451667054588; Fri, 01 Jan 2016 08:50:54 -0800 (PST) Received: by 10.107.152.142 with HTTP; Fri, 1 Jan 2016 08:50:54 -0800 (PST) Date: Fri, 1 Jan 2016 11:50:54 -0500 Message-ID: Subject: Collabora Online Development Edition (CODE) port for FreeBSD ? From: Alejandro Imass To: 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: Fri, 01 Jan 2016 16:50:55 -0000 Hi, Does any know if the online Collabora version of Libre Office has ported yet to FreeBSD? TIA, Alejandro Imass From owner-freebsd-questions@freebsd.org Fri Jan 1 16:57:18 2016 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 7C482A5D7CA for ; Fri, 1 Jan 2016 16:57:18 +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 622AB1DDD for ; Fri, 1 Jan 2016 16:57:18 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5FD7DA5D7C9; Fri, 1 Jan 2016 16:57:18 +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 5F69FA5D7C8 for ; Fri, 1 Jan 2016 16:57:18 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 044941DDB for ; Fri, 1 Jan 2016 16:57:17 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id f206so85046913wmf.0 for ; Fri, 01 Jan 2016 08:57:17 -0800 (PST) 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=bhoeJMdT69fMLGHrCoLq8Hm2FTe/vFRDt7/s2kBfyrY=; b=mdSnf8HuaRw9Fen7/TonYqzxm6orsXZRpaCatEwrzlD3UxyinpvkWNuxaL1jJrsyqc SRq18eMv1zk0Sjw1/T152V9KxcQorGQzzfkJ0LEDZ5hyZUloIttgNgO87mQznU2m4tij hf4udl7Jr7Ie2otbyaQuFJ5ABqhci5vhJ8Q4rphAwbeILC60wzhLG9yoGQgoTwFLz6jr JPKM6lviTuUbbkNlMF/rTh+qDTJQ7A/DIuGw7ycKVuyUFFws3yX9U+0N01eg/C47lXtX AE35X2vL2GWfSF+rW4nAmXzzzkRdFjPzG9333TZ6w+6rUBV1TTE2hxcU/3Da9DKiwSHQ 5Dxg== X-Received: by 10.28.132.146 with SMTP id g140mr42929395wmd.49.1451667436044; Fri, 01 Jan 2016 08:57:16 -0800 (PST) Received: from inverness.bcn.sia.es (153.Red-83-45-194.dynamicIP.rima-tde.net. [83.45.194.153]) by smtp.googlemail.com with ESMTPSA id r10sm49653126wjz.24.2016.01.01.08.57.15 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Jan 2016 08:57:15 -0800 (PST) To: questions@freebsd.org From: "C.L. Martinez" Subject: SERVFAIL errors with FreeBSD using unbound only Message-ID: <5686AFEA.2020501@gmail.com> Date: Fri, 1 Jan 2016 16:57:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.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, 01 Jan 2016 16:57:18 -0000 Hi all, I have configured unbound as a cache nameserver in a FreeBSD 10.2 amd64 (fully patched) host. At the same time, I am using nsd to resolve names for my internal hosts. But there is a problem: unbound doesn't works/redirect reverse queries for IP address to nsd daemon. My current unbound.conf: server: interface: 127.0.0.1 interface: 172.21.55.14 interface: ::1 do-ip6: no username: unbound directory: /var/unbound chroot: /var/unbound pidfile: /var/run/local_unbound.pid auto-trust-anchor-file: /var/unbound/root.key access-control: 0.0.0.0/0 refuse access-control: 127.0.0.0/8 allow access-control: 172.21.55.0/28 allow access-control: ::0/0 refuse access-control: ::1 allow hide-identity: yes hide-version: yes do-not-query-localhost: no include: /var/unbound/forward.conf #include: /var/unbound/lan-zones.conf include: /var/unbound/control.conf #include: /var/unbound/conf.d/*.conf stub-zone: name: "mydom.org" stub-addr: 127.0.0.1@5353 stub-zone: name: "21.172.in-addr.arpa" stub-addr: 127.0.0.1@5353 nsd is listening on localhost, port 5353. When I try to do some reverse query from a linux client: [root@cstbbvn01 ~]# nslookup > 172.21.55.14 Server: 172.21.55.14 Address: 172.21.55.14#53 ** server can't find 14.55.21.172.in-addr.arpa: SERVFAIL > 172.21.55.1 Server: 172.21.55.14 Address: 172.21.55.14#53 ** server can't find 1.55.21.172.in-addr.arpa: SERVFAIL > exit Every time, a servfail is displayed. All other queries works ok. Disabling unbound and using nsd only, all works ok also. Then, what am I doing wrong with unbound?? Thanks. From owner-freebsd-questions@freebsd.org Fri Jan 1 17:25:45 2016 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 C7DFAA5E260 for ; Fri, 1 Jan 2016 17:25:45 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) 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 B6C9711C1 for ; Fri, 1 Jan 2016 17:25:45 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: by mailman.ysv.freebsd.org (Postfix) id B4584A5E25D; Fri, 1 Jan 2016 17:25:45 +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 B2DBCA5E25A; Fri, 1 Jan 2016 17:25:45 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from bsd.zplay.eu (bsd.zplay.eu [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F019011C0; Fri, 1 Jan 2016 17:25:44 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id df4012c2; Fri, 1 Jan 2016 18:18:59 +0100 (CET) To: "C.L. Martinez" Subject: Re: SERVFAIL errors with FreeBSD using unbound only X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 01 Jan 2016 18:18:59 +0100 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Cc: questions@freebsd.org, owner-freebsd-questions@freebsd.org In-Reply-To: <5686AFEA.2020501@gmail.com> References: <5686AFEA.2020501@gmail.com> Message-ID: <02feeed81ba7d96058df2df5d4b202a3@mail.zplay.eu> X-Sender: solene@bsd.zplay.eu User-Agent: Roundcube Webmail/1.1.3 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, 01 Jan 2016 17:25:46 -0000 Le 2016-01-01 17:57, C.L. Martinez a écrit : > Hi all, > > I have configured unbound as a cache nameserver in a FreeBSD 10.2 > amd64 (fully patched) host. At the same time, I am using nsd to > resolve names for my internal hosts. > > But there is a problem: unbound doesn't works/redirect reverse > queries for IP address to nsd daemon. > > My current unbound.conf: > > server: > interface: 127.0.0.1 > interface: 172.21.55.14 > interface: ::1 > do-ip6: no > username: unbound > directory: /var/unbound > chroot: /var/unbound > pidfile: /var/run/local_unbound.pid > auto-trust-anchor-file: /var/unbound/root.key > access-control: 0.0.0.0/0 refuse > access-control: 127.0.0.0/8 allow > access-control: 172.21.55.0/28 allow > access-control: ::0/0 refuse > access-control: ::1 allow > hide-identity: yes > hide-version: yes > do-not-query-localhost: no > > > include: /var/unbound/forward.conf > #include: /var/unbound/lan-zones.conf > include: /var/unbound/control.conf > #include: /var/unbound/conf.d/*.conf > > stub-zone: > name: "mydom.org" > stub-addr: 127.0.0.1@5353 > > stub-zone: > name: "21.172.in-addr.arpa" > stub-addr: 127.0.0.1@5353 > > > nsd is listening on localhost, port 5353. When I try to do some > reverse query from a linux client: > > [root@cstbbvn01 ~]# nslookup >> 172.21.55.14 > Server: 172.21.55.14 > Address: 172.21.55.14#53 > > ** server can't find 14.55.21.172.in-addr.arpa: SERVFAIL >> 172.21.55.1 > Server: 172.21.55.14 > Address: 172.21.55.14#53 > > ** server can't find 1.55.21.172.in-addr.arpa: SERVFAIL >> exit > > > Every time, a servfail is displayed. All other queries works ok. > Disabling unbound and using nsd only, all works ok also. > > Then, what am I doing wrong with unbound?? > > Thanks. > _______________________________________________ > 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" Hi, You should add this in your unbound config file : local-zone: 21.172.in-addr.arpa. transparent Also, I am using unbound + nsd and in my config file I have forward-addr instead of stub-zone but I don't remember the difference, and as far as I remember I was using stub-zone before and it was working. From owner-freebsd-questions@freebsd.org Fri Jan 1 18:04:43 2016 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 1BA91A5EF6F for ; Fri, 1 Jan 2016 18:04:43 +0000 (UTC) (envelope-from genie@geniechka.ru) Received: from geniechka.ru (geniechka.ru [78.46.184.117]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA1F1131A for ; Fri, 1 Jan 2016 18:04:42 +0000 (UTC) (envelope-from genie@geniechka.ru) Received: from geniepc2011 (0894461339.static.corbina.ru [95.31.5.144]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by geniechka.ru (Postfix) with ESMTPSA id F11754ABCC7 for ; Fri, 1 Jan 2016 20:55:24 +0300 (MSK) Message-ID: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> From: "Eugene R" To: Subject: freebsd-update for architecture migration? Date: Fri, 1 Jan 2016 20:51:45 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 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: Fri, 01 Jan 2016 18:04:43 -0000 Hi all! I would like to suggest the the idea of extending the freebsd-update = functionality to also handle architecture migration (the most evident = use case is e.g. 9.3/i386 to 9.3/amd64 to support larger memory). In my (uniformed) opinion almost all functionality should already be = there (i.e. stage the replacement filetree, merge the configs and = carefully copy over the live system) and the process should actually be = even easier than major version upgrade on the same architecture (almost = the same configs and layouts). The manual migration procedure basically = does just that but it is rather manual, complicated and error-prone... Does it makes sense? Best wishes and Happy New Year! Eugene From owner-freebsd-questions@freebsd.org Fri Jan 1 19:46:28 2016 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 28ED8A5E8D1 for ; Fri, 1 Jan 2016 19:46:28 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) (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 F35331546 for ; Fri, 1 Jan 2016 19:46:27 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f172.google.com with SMTP id to4so210997020igc.0 for ; Fri, 01 Jan 2016 11:46:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=2ocKjKLFq63UhsFONerHU/AaOC5dQa3krkUp7L4cKxg=; b=hM9Q+5S7IJggm3F9IL5iJr2wr9HzNc2wA0XzHM7bAAefV1kfPGXPwkis2QL0JrYCUw n+woFBGLpw7+fhX79hJDV0Ne/g6i+Rbn+MnjEhvXoYy7mkXHHssU6XQrfs+gZr23vNaS XpnSqNG9eksC8FL5YKwBv1RPcNI8gUVTbYBl2aFDYal/v/L2CHM5AdrWUgrqJD6AEAU0 89jA0cTl+I7QcAWeAMfRQZlYJ/KTFbxPesyZyIJRUjaUFalAS8a+oYn2tcMU1iqTDdch oE7DwqTWCaM6inSNCvU8DERc7JEp6CwNZNxlTX8KIIHA5UAu+9mI8Z4fdWpOAvy2qmud xv4w== X-Received: by 10.50.2.66 with SMTP id 2mr71444313igs.66.1451675761154; Fri, 01 Jan 2016 11:16:01 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-131-191.mpls.qwest.net. [63.231.131.191]) by smtp.gmail.com with ESMTPSA id 75sm22618020iog.27.2016.01.01.11.15.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jan 2016 11:16:00 -0800 (PST) References: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Eugene R Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update for architecture migration? In-reply-to: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> Date: Fri, 01 Jan 2016 13:15:58 -0600 Message-ID: <86k2nt3yc1.fsf@WorkBox.Home> 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: Fri, 01 Jan 2016 19:46:28 -0000 Eugene R writes: > Does it makes sense? No. First, it could only possibly work if the foundational architecture were fundamentally the same--say, moving from x86 to x86-64. You can't move from x86 to ARM, because the live x86 system wouldn't run on the new hardware. And as x86 becomes obsolete instances of people moving from x86 to x86-64 will dwindle drastically in the near future, such that by the time the work to make this possible were finished and the new freebsd-update version released, it would no longer be useful. And I'm not sure why you think migrating to a new architecture would be simpler than just upgrading the current system, since you'd have to replace each and every file, including the kernel. You'd be replacing the currently running kernel with one specific instruction set on the live system, with a new one using a different instruction set. I would bet the system would almost certainly lock up. That's all kinda moot, though, because if you're moving from one architecture to another, then unless you've got some extraordinarily special circumstance, you're logically moving from one machine to another. A new machine with different hardware requiring different configurations and different port/package builds, and probably some other stuff you'll almost certainly forget in the process. It would be much faster to just install a new system from scratch. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Fri Jan 1 20:06:28 2016 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 8977CA5D043 for ; Fri, 1 Jan 2016 20:06:28 +0000 (UTC) (envelope-from genie@geniechka.ru) Received: from geniechka.ru (geniechka.ru [78.46.184.117]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5374A1E51 for ; Fri, 1 Jan 2016 20:06:27 +0000 (UTC) (envelope-from genie@geniechka.ru) Received: from geniepc2011 (0894461339.static.corbina.ru [95.31.5.144]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by geniechka.ru (Postfix) with ESMTPSA id B49EC4ABCCA; Fri, 1 Jan 2016 23:06:22 +0300 (MSK) Message-ID: From: "Eugene R" To: "Brandon J. Wandersee" Cc: References: <5C0285423A864DB1A8893E704BE3118C@geniepc2011> <86k2nt3yc1.fsf@WorkBox.Home> In-Reply-To: <86k2nt3yc1.fsf@WorkBox.Home> Subject: Re: freebsd-update for architecture migration? Date: Fri, 1 Jan 2016 22:35:51 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 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, 01 Jan 2016 20:06:28 -0000 Hi! As I said, mostly this is for migration from x86 to amd64, when the hardware is basically the same. Many people think (thought) that for a <=3GB memory machine (physical or virtual) using amd64 does not make sense (and makes some overhead) even though it would run perfectly well on any x86-type machine made in recent 10 years or so. But when going to 4 or 8 GB or just changing the virtual server, all the memory above 3GB is wasted. When upgrading from 8.x to 9.x or 10.x you also have to change the kernel and everything. And of course the problem is not installing the bare new system, but installing and configuring all the system and third-party software components to get the same running environment. Otherwise you might say "why anyone needs upgrade option, just reinstall everything from scratch" =)) Best wishes Eugene -----Original Message----- From: Brandon J. Wandersee Sent: Friday, January 01, 2016 10:15 PM To: Eugene R Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update for architecture migration? Eugene R writes: > Does it makes sense? No. First, it could only possibly work if the foundational architecture were fundamentally the same--say, moving from x86 to x86-64. You can't move from x86 to ARM, because the live x86 system wouldn't run on the new hardware. And as x86 becomes obsolete instances of people moving from x86 to x86-64 will dwindle drastically in the near future, such that by the time the work to make this possible were finished and the new freebsd-update version released, it would no longer be useful. And I'm not sure why you think migrating to a new architecture would be simpler than just upgrading the current system, since you'd have to replace each and every file, including the kernel. You'd be replacing the currently running kernel with one specific instruction set on the live system, with a new one using a different instruction set. I would bet the system would almost certainly lock up. That's all kinda moot, though, because if you're moving from one architecture to another, then unless you've got some extraordinarily special circumstance, you're logically moving from one machine to another. A new machine with different hardware requiring different configurations and different port/package builds, and probably some other stuff you'll almost certainly forget in the process. It would be much faster to just install a new system from scratch. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Fri Jan 1 20:25:18 2016 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 B6CD7A5D75D for ; Fri, 1 Jan 2016 20:25:18 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp2.bway.net (smtp2.v6.bway.net [IPv6:2607:d300:1::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 956D31512 for ; Fri, 1 Jan 2016 20:25:18 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-226.dsl.bway.net [216.220.115.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 14D2095885; Fri, 1 Jan 2016 15:25:07 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1451679907; bh=43b05SVWOQ5GPR+jow9iKH23jtFp0ezG5bXCk1oxYNU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=aeYLPs2e1t+NS79jxS4lOjsMRoGXUu5Yr+jvkPrTe9eZCXy80HWeeHPTybjdU2A3J pbc8sMH01tatXA1mjnmITLSb3GqVImSzS0saOB3yYETaSMeTWrFc1x32gmPO4XthS/ S1plfG2aRfvyEX4zOhG+p7FFnzJuE4GIeac9se/Y= Date: Fri, 1 Jan 2016 15:25:06 -0500 From: mfv To: Polytropon Cc: FreeBSD Questions Subject: Re: delete button in console Message-ID: <20160101152506.4c61846d@gecko4> In-Reply-To: <20151231202754.e6cbe107.freebsd@edvax.de> References: <56825701.30908@gmail.com> <20151229180750.187ed7c9.freebsd@edvax.de> <5682F182.7080603@hiwaay.net> <20151229222622.GA18290@becker.bs.l> <20151230061029.ff1eb4dd.freebsd@edvax.de> <20151231141153.62eb3d0d@gecko4> <20151231202754.e6cbe107.freebsd@edvax.de> Reply-To: mfv@bway.net 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, 01 Jan 2016 20:25:18 -0000 > On Thu, 2015-12-31 at 20:27 Polytropon wrote: > >On Thu, 31 Dec 2015 14:11:53 -0500, mfv wrote: >> Hello, >> >> I have similar keybindings that operate as expected for both the >> tty console and virtual console using xterm or urxvt. >> >> However, the following keybindings (Ctrl+right_key_pad_arrow and >> Crtrl+left_key_pad_arrow) do not work on the tty console: >> >> bindkey "\e[1;5C" forward-word >> bindkey "\e[1;5D" backward-word >> >> Even though the environment variable for the terminal is identical: >> >> # printenv | grep TERM >> TERM=xterm > >Or simply use "echo $TERM". :-) > >It even doesn't work with the traditional (sc-based) console >where TERM=cons25l1 (or cons25 for US preference). > >Check the follwing in an X terminal: > > % cat > ^[[1;5D^[[1;5C <- Ctrl + cursor keye > ^[[D^[[C <- cursor keys > >As expected, it works. And as you can see, it's the same code >sequence you have assigned (Escape [ 1 ; 5 C and D). > >But when you do the same in text mode, both cases will (incorrectly) >be the same: > > % cat > ^[[D^[[C <- Ctrl + cursor keys > ^[[D^[[C <- cursor keys > >So the Control key combination isn't recognized properly. > > > >> Csh is my preferred shell for both console and virutal terminal. > >So I'm not the last person actually using it... ;-) > > > >> Any suggestions for a key binding that works on the tty console >> similar to the virtual terminal would be appreciated. >> Alternatively, an explanation of why it will not work will also be >> appreciated. > >Sorry, no idea _why_ this is, but only _that_ it is. > > > Hello Polytropon, Thanks for the clarification. I've verified you key strokes on my host and the results are identical. I also tried a different console driver, that is vt, and also different terminals from termcap (vt102) and the result is the same. Perhaps the cause is at a lower level. Cheers ... Marek From owner-freebsd-questions@freebsd.org Sat Jan 2 09:22:41 2016 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 7BD1AA5F937 for ; Sat, 2 Jan 2016 09:22:41 +0000 (UTC) (envelope-from jeson20021@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::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 4FACF1A4F for ; Sat, 2 Jan 2016 09:22:41 +0000 (UTC) (envelope-from jeson20021@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id 65so131795058pff.3 for ; Sat, 02 Jan 2016 01:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:mime-version:to:from:subject:date :content-transfer-encoding:content-type; bh=FQqqsthfVygSAblLv2VSVzMOMbd32W8qaWqysn+tZiU=; b=Mwiu9UHAQynmiLDJKyIPJWNqeTJskBzNcnngijpH9NPkdH0AOMxvG5jwmIoeio+AkU GpJkA2IUQsBz3HNDSiBZolSc6Oay5evFaFl+S4YhbvIYNMY/p1vwwVGE7j+jwWFzR1K8 tybh37wILKg6jCipJNWmItZu0BZlGxnksCrsJyKIZcfz0UcTMGm3fvnGZQrtzxEdFRSJ NBTYXKVM7wHbdUbTWcJ6/+ZHrftZQcMh9gaCg0VO+3vB57s07KIeDhAAUEq9QbsudO1H nyW+dllr3inx3ZpAXSq8tCruwGZ6qbUOqCI+sm/uDuVERfQhEKlL3WL/uhBL/1L4Uewj 8U3A== X-Received: by 10.98.2.78 with SMTP id 75mr80332270pfc.14.1451726560790; Sat, 02 Jan 2016 01:22:40 -0800 (PST) Received: from [192.168.0.2] ([202.5.50.145]) by smtp.gmail.com with ESMTPSA id a15sm86860734pfj.31.2016.01.02.01.22.38 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Jan 2016 01:22:40 -0800 (PST) Message-ID: <568796e0.0f12620a.43ade.3457@mx.google.com> To: From: jeson dutta Subject: Standalone FTP server for installs. Date: Sat, 2 Jan 2016 15:22:17 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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, 02 Jan 2016 09:22:41 -0000 From owner-freebsd-questions@freebsd.org Sat Jan 2 09:27:35 2016 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 B37D9A5FAB6 for ; Sat, 2 Jan 2016 09:27:35 +0000 (UTC) (envelope-from artem@artem.ru) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.181.169]) by mx1.freebsd.org (Postfix) with ESMTP id 5B05D1BA1 for ; Sat, 2 Jan 2016 09:27:34 +0000 (UTC) (envelope-from artem@artem.ru) Received: from smtp5.mail.ru (smtp5.mail.ru [94.100.179.24]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id B29BCE1BD46 for ; Sat, 2 Jan 2016 12:27:26 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=qVMORUvyOJBlsanApVGy+fVaXawqekrShrUqjEorOPg=; b=qAy70cJoyAfNa9utgzJVH3SbBr/SbOGzn2Lshp/8dlssJhw8d9EL/UfSFd+By73itOd+l3gGNn0k8KNtcLqF8Qt4IzCnKPHspkPPmp0DG1EELbldjT8WicX5OLWSrg2MlvgdmNQmLBCSGUfBwHXVFo/GbeYksWAgKlKE/oZ+UL4=; Received: from [109.188.125.25] (port=26062 helo=[192.168.0.12]) by smtp5.mail.ru with esmtpa (envelope-from ) id 1aFISz-0005NU-C2 for freebsd-questions@freebsd.org; Sat, 02 Jan 2016 12:27:17 +0300 To: freebsd-questions@freebsd.org From: Artem Kuchin Subject: Internal local ip address for host only Message-ID: <56879844.1030901@artem.ru> Date: Sat, 2 Jan 2016 12:28:36 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mras: Ok 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, 02 Jan 2016 09:27:35 -0000 I have a didicated server inside provider's network. I have igb0 interface Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0 interface inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1 inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2 inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3 But this is wrong, because there can be another server with the same ips in the local network and in fact during boot i get Jan 1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP address 10.0.0.1 on igb0! So, how i can i make perfectly virtual nic visible only inside my host? Artem From owner-freebsd-questions@freebsd.org Sat Jan 2 10:39:52 2016 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 C4C01A5EFBA for ; Sat, 2 Jan 2016 10:39:52 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9625919F3 for ; Sat, 2 Jan 2016 10:39:52 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTP id 2E6FC27429; Sat, 2 Jan 2016 11:33:41 +0100 (CET) Date: Sat, 2 Jan 2016 11:33:51 +0100 From: Marko Turk To: Artem Kuchin Cc: freebsd-questions@freebsd.org Subject: Re: Internal local ip address for host only Message-ID: <20160102103351.GA1907@vps.markoturk.info> References: <56879844.1030901@artem.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <56879844.1030901@artem.ru> 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: Sat, 02 Jan 2016 10:39:52 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 02, 2016 at 12:28:36PM +0300, Artem Kuchin wrote: > I have a didicated server inside provider's network. > I have igb0 interface > Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0= =20 > interface >=20 > inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1 > inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2 > inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3 >=20 > But this is wrong, because there can be another server with the same ips= =20 > in the local network and > in fact during boot i get >=20 > Jan 1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP=20 > address 10.0.0.1 on igb0! >=20 > So, how i can i make perfectly virtual nic visible only inside my host? >=20 Hi, add aliases to lo0 or maybe use epair(4). BR, Marko --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWh6eOAAoJEHg6bF2mqM2ItOEQALSjv2E5L0oSjLpv86NuWjqD DhugGsa/+aLSRANQJm02slIT2qSH5AvH/LkhwbSqk1ZHOIZ5odGMeO8dJ7sMrkTN O27i3EwEF5iWGXmOiDiLx7pp8HnQE38WnTNup6iZor74OG78qXI9gbeb6RBcLrIm KJtGYJkFdm6zOJCvjKLi8KAmguBXCJpEv+PWAYCFyqv9M/3L3Rs2Wt0NRbwOa3N1 Cme+2HpHsIy4OjSLi8dY41AkTpgY1DYXP8722xrsPq9bWtKR+22E9TdsLNAtrnux 7AGip3Ykdi2Jtcy6v8ffkJhOUMXyfLrdSy6o9fCj2npMKLE1jbJk3WkaY/XS9bOx B3IgrnY9NHtNqXcR1Wgsf2N/AsHmJDp4Y4fJzCXWeHss1Up0r2tJfhxgMAcAXr04 3MuHbQ+xZ+Bqx1zvlifjcaO3hxR6v40OEmPkRb5iNbZ9jazqvEnNCcRTH0wAjhd2 BbvLnLVtY5QgXUE1Yg1mIGcpbxpKJRpYHVg1CmbZVx9sXWOUqHSTDCNq0x7VUBsL iQ0rA9WOUjLIsDYcw8TNws7wg6P4MRCw/YW1M8AGjvY66r38chLrHHIrn956rcUd TYd04la/1Z0IhnuD6JYqaRiJ4vk0l3kYGo78eCqNIs4SOtKHvrzSo+pwTzkV5pAM 6sCwvhMXV5tb2y3IbcBf =NRgu -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-questions@freebsd.org Sat Jan 2 12:09:13 2016 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 B411CA5EC6B for ; Sat, 2 Jan 2016 12:09:13 +0000 (UTC) (envelope-from lcdaccessory@gmail.com) Received: from msr12.hinet.net (msr12.hinet.net [168.95.4.112]) by mx1.freebsd.org (Postfix) with ESMTP id 63FAC1363 for ; Sat, 2 Jan 2016 12:09:12 +0000 (UTC) (envelope-from lcdaccessory@gmail.com) Received: from ericpc (1-173-100-211.dynamic.hinet.net [1.173.100.211]) by msr12.hinet.net (8.14.9/8.14.9) with ESMTP id u02ANtpo015126 for ; Sat, 2 Jan 2016 18:23:55 +0800 (CST) Message-ID: <410-2201616210253893@ericpc> From: lcdaccessory@gmail.com To: freebsd-questions@freebsd.org Subject: freebsd-questions antiblue protect eye for distributor Date: Sat, 2 Jan 2016 18:25:03 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=136 Content-Transfer-Encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDrMTGxcK4NuWyrvXS9jCDE29sLF5+3cTiwOgx49N8lgDGKNbMvKT8 igTWjB1LbjEX9LBUXLl9irmB8SBTFyMnh5BApET3vsusIDavgKbEgnMHwWw2ARmJT6cOMILY IgKKEmfONILFhQUcJOafOcQCYrMIqEjc6vvFAtErKHFy5hMgm4ODWUBV4tN/fZAws4C2xLKF r5knMHLOQlI1C6FqFpKqBYzMqxhFcosTdYtziw11TfQyMvNSS/SAeBMj0JMr4tm9djCePWl4 iJGJg/MQowAHoxIP76RHIWFCrIllxZW5IHHuQ4ySHExKorzHZ7aHCfEl5adUZiQWZ8QXleak Fh9ilODgURLhPbcYKMdbXJCYW5yZDpPS4OAQmHh5zT5GKZa8/LxUJQneGSBlgkWp6akVaZk5 JalFEKWnGI05Vky9vpaJY8GP22uZhMDKpcR5v4OUC4BMzSjNg6uGRc8lRlkpYd7y+UA1PAWp RbmZJajyrxjFgf4R5j0LMoUnM68E7rRXQFczAV0tVwl2dUkiQgoAJXpYawECAAA= 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, 02 Jan 2016 12:09:13 -0000 Dear freebsd-questions MD, New LCD/LED TV defender blocker for year 2016=2E huge profits reserve for first distributor there, a lots request from end-= users especial for antiblue protector=2E New and hottest model refer to http://www=2Eemetal=2Etw/protect/p1-blue=2E= htm=20 inquire email to Eric from eMetal Technology www=2Elcdaccessory=2Ecom info@emetal=2Etw=20 From owner-freebsd-questions@freebsd.org Sat Jan 2 14:37:16 2016 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 99D84A5F5EC for ; Sat, 2 Jan 2016 14:37:16 +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 3F6BC1EF1 for ; Sat, 2 Jan 2016 14:37:15 +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 u02EZ9AS066364; Sat, 2 Jan 2016 14:35:10 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Internal local ip address for host only To: Artem Kuchin , freebsd-questions@freebsd.org References: <56879844.1030901@artem.ru> From: Arthur Chance Message-ID: <5687E01D.1080008@qeng-ho.org> Date: Sat, 2 Jan 2016 14:35:09 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56879844.1030901@artem.ru> 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: Sat, 02 Jan 2016 14:37:16 -0000 On 02/01/2016 09:28, Artem Kuchin wrote: > I have a didicated server inside provider's network. > I have igb0 interface > Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0 > interface > > inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1 > inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2 > inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3 > > But this is wrong, because there can be another server with the same ips > in the local network and > in fact during boot i get > > Jan 1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP > address 10.0.0.1 on igb0! > > So, how i can i make perfectly virtual nic visible only inside my host? Create a new loopback device: ifconfig lo1 create or to make it happen at boot time, add cloned_interfaces="lo1" to /etc/rc.conf -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point. From owner-freebsd-questions@freebsd.org Sat Jan 2 18:19:26 2016 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 170E6A5F607 for ; Sat, 2 Jan 2016 18:19:26 +0000 (UTC) (envelope-from artem@artem.ru) Received: from fallback7.mail.ru (fallback7.mail.ru [94.100.181.128]) by mx1.freebsd.org (Postfix) with ESMTP id B1190122A for ; Sat, 2 Jan 2016 18:19:25 +0000 (UTC) (envelope-from artem@artem.ru) Received: from smtp12.mail.ru (smtp12.mail.ru [94.100.181.93]) by fallback7.mail.ru (mPOP.Fallback_MX) with ESMTP id 689F615047BF0 for ; Sat, 2 Jan 2016 21:19:17 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=80p2CHicyotAgsKbQzPs+exksR6JgT2Xa6XgCYBcy/U=; b=suTtHTQOPJsu+RjAP7XxZVHDTnqYnvwGPLtWuYRPpZfKLirw5r0N/EPTdQg014oYupf7/DEPaxFDkKBqcAEV3WXFI3K7YMSrMALbaNGUgHR6+Ows+0forrFkREMgdJoWwlzUibVNLFPCF6GTQk534y8v5itj+2D+iT13AKj7bHc=; Received: from [109.188.125.25] (port=33051 helo=[192.168.0.12]) by smtp12.mail.ru with esmtpa (envelope-from ) id 1aFQlf-0008IQ-1L for freebsd-questions@freebsd.org; Sat, 02 Jan 2016 21:19:07 +0300 Subject: Re: Internal local ip address for host only To: freebsd-questions@freebsd.org References: <56879844.1030901@artem.ru> <5687E01D.1080008@qeng-ho.org> From: Artem Kuchin Message-ID: <568814D4.2060904@artem.ru> Date: Sat, 2 Jan 2016 21:20:04 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <5687E01D.1080008@qeng-ho.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mras: Ok 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, 02 Jan 2016 18:19:26 -0000 02.01.2016 17:35, Arthur Chance пишет: > On 02/01/2016 09:28, Artem Kuchin wrote: >> I have a didicated server inside provider's network. >> I have igb0 interface >> Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0 >> interface >> >> inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1 >> inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2 >> inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3 >> >> But this is wrong, because there can be another server with the same ips >> in the local network and >> in fact during boot i get >> >> Jan 1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP >> address 10.0.0.1 on igb0! >> >> So, how i can i make perfectly virtual nic visible only inside my host? > > Create a new loopback device: > > ifconfig lo1 create > > or to make it happen at boot time, add > > cloned_interfaces="lo1" > > to /etc/rc.conf > > Thank you. Done it this way. Works fine.