From owner-freebsd-questions@freebsd.org Sun Oct 8 05:59:51 2017 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 2D056E286C3 for ; Sun, 8 Oct 2017 05:59:51 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta02.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 018C0668CE for ; Sun, 8 Oct 2017 05:59:50 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.2] ([76.183.153.52]) by cmsmtp with ESMTPA id 14cme1QZxZeM714cpesIXY; Sun, 08 Oct 2017 05:59:44 +0000 Date: Sun, 08 Oct 2017 00:59:39 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: FreeBSD Questions cc: mutt-users@mutt.org Subject: Scripting problem Message-ID: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfI8EerNuLiAiRahvH2RnaoE+sdwLki2QmFxwKxO2C9Hr8RK+mbydavd/QLoUez/kGmz10KhhBDMo7PVjP1vRCOV4+BXAZ/cQE2n8Vu/W5NEh1GL4swbG qbVpekzMu2yULGfoG2ZvavmDk9A65/Xe0vZy+pQDmkiDW0jC1AaRLq3lrQpCb3wVJYJoEKVhMtEqu4k59B1azxXy9/gkFWjJvbQ= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 05:59:51 -0000 I'm writing a bash script to create a db backup and email it to me once a day. I'm munged some parts to not reveal details I'm having a problem with this line: /usr/local/bin/mutt -s $SUBJECT -i $MESSAGE -a $FILENAME -- pschmehl@tx.rr.com < /dev/null Right before this line are these lines: MESSAGE="path/to/message.txt" ADDRESS="pschmehl@mydomain" SUBJECT="Today's db backup" >From the commandline this runs fine, but the script returns an error: Error sending message, child exited 67 (User unknown.). Could not send the message. The mail is sent, and when it's received, the subject line is Today's. When I look in the maillog, mutt tried to send email to db@hostname and backup@hostname. I changed the subject to Backup, and the error goes away. I'm running FreeBSD 10.3-RELEASE and the script is written in bash. Why would mutt do this? Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Sun Oct 8 06:14:09 2017 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 3A3E5E28E31 for ; Sun, 8 Oct 2017 06:14:09 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta03.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A302C6A370 for ; Sun, 8 Oct 2017 06:14:08 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.2] ([76.183.153.52]) by cmsmtp with ESMTPA id 14qieYWOTzkqU14qlerA0h; Sun, 08 Oct 2017 06:14:07 +0000 Date: Sun, 08 Oct 2017 01:14:04 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-ID: <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> In-Reply-To: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfLbsy/XcuQI2cB1YVlS6ooomvOXNVHXoX4szGqkEZ4sdEq5JCd6P6Rvx3UimdaoIQDQbUbhH6KDJVIsf6HWlmPi7KtsAfWkWZSOrE+c+FaLARkSMytQ4 RLmErb4foYjefcHVjFc+qsWY2CqNgWXTXbfKENtngVDM6mfvgNB8Y/bowt4arZKqLnseSPkn9v5peg== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 06:14:09 -0000 --On October 8, 2017 at 6:08:51 AM +0000 Manish Jain wrote: > > I do not use mutt (one of the most unfriendly Unix apps) so I cannot > comment on what is the problem here. But I would to suggest one thing to > you for CLI mail : use the port/pkg smtp-cli > > Here is a working sample for mail with attachment (bundled into the bash > shell array att) : > > smtp-cli \ > --ipv4 \ > --auth \ > --server="$SMTP" \ > --port=$PORT \ > --user="$fromaddr" \ > --pass="$password" \ > --from="$fromname <$fromaddr>" \ > --to="$sendto" \ > --subject="$subject" \ > "${att[@]}" > > If this solves your problem, good luck : - ) > I guess I should have pointed out that I'm sending mail on localhost, so there's no auth involved. I'm using mutt because mailx doesn't appear to have the ability to attach files. I solved the problem by using a one word subject. It's weird that Mutt is somehow parsing the words in the subject and using them as recipients. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Sun Oct 8 06:08:56 2017 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 9DCC4E28C40 for ; Sun, 8 Oct 2017 06:08:56 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-oln040092070056.outbound.protection.outlook.com [40.92.70.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D2C968B0D for ; Sun, 8 Oct 2017 06:08:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HWgE/ZBvx3sw3jMYMMv8rwd8Zf1mV3J7hUneJa8COzo=; b=lJNaT2rLGYdDmqog9QLfBUeV/TmNsRf/IeqKDChgLpNWbLC0VXll264NR+uQJJsiWzGtFqsKvxCIgqEeMdNgqTV4PR5vJkzQvxpi63LoXzddQ+MMJKISzPfTBxpMum5FxH41pWeIZXtbBOsfVq7ToQhSjy3S+Z9E9CspJciiRspn8cENABz0L5ojBBnTgawBcSfJ7qyUbBbtr7E1s21fvwFElVAoJFSHtpJBjnbJn7lsKzxxgAq/KWFyO+Fho8jlJMVfq+dEMpkwrKAc38OQANWWOSnkYWs5aBrS55o9983TBYf/l+sVKpArU6d+/ItQ9PU6N+w+C3VYBQeOiIgpCw== Received: from DB5EUR03FT062.eop-EUR03.prod.protection.outlook.com (10.152.20.54) by DB5EUR03HT172.eop-EUR03.prod.protection.outlook.com (10.152.21.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.77.10; Sun, 8 Oct 2017 06:08:52 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.20.60) by DB5EUR03FT062.mail.protection.outlook.com (10.152.20.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.77.10 via Frontend Transport; Sun, 8 Oct 2017 06:08:52 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0077.019; Sun, 8 Oct 2017 06:08:52 +0000 From: Manish Jain To: Paul Schmehl , "freebsd-questions@freebsd.org" Subject: Re: Scripting problem Thread-Topic: Scripting problem Thread-Index: AQHTP/rIfcyoxyLX7ESYBCQUNaL7AqLZd7KA Date: Sun, 8 Oct 2017 06:08:51 +0000 Message-ID: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> In-Reply-To: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: tx.rr.com; dkim=none (message not signed) header.d=none;tx.rr.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:79CEFEC38D887B401BC168CE0C690FA8A788472E08E4A029A8E5DA8F61E7ACE4; UpperCasedChecksum:254842FA8AE4877C66ECEB1DC40E3F0EB4992FD15C916CB6C858DE74558FA498; SizeAsReceived:7073; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [F5fIl9my/yPP6kCHnQG3RVsEJjSm4450] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5EUR03HT172; 6:MwR+yO2IomCDKphKjcJueOEqBrpedE9lmGJYcNOL0MHD6CEonlcjGarRmdu1GU5totMq0XjAvBKTDdA4Nl3R0fVZSbtVjun5AloFd+g4IzVRIaBcaELJ0uxYy8hepbCFPjRfLIUm3p8emd/O5NCk0gHk6+gTzm+G4WuFqmYcxv/0lz2TOtygCGUkq2KXj2t66ab2bxvnbONGKaIyY2crj+xXuA2K39SPUUO2o9VNVd3gUys11D8HcLmH+9bZA3/iIrn2v2NbCx2B1bqvxOL5HsqKkT1RwBNaNKNV7ny43s7fW2U8NxHVcTxazONwVf6E/H//rLkp+tzsgH3CprEeag==; 5:21n5a0i6ynWkcuX432gV/C+2lwQfUpXp+zk0EwJiPkf2uvq8D63FKWsvRD+PCwaePg0qU1n/p98YREKh3s95VXoyFrOM+jeMiKQ9WsdQAsd3CedJ6DakKYK6nESYzCV7y2Xhfz+zHOIGXSv98+XyhQ==; 24:21bVcLxygGBESKaP6mUIkS2rBMbeNS8/KxYgZOLceYC/N8J6r2zVIyzvjfxICS4YiSZGPMf8ep5N6zaWQQU/xJNi5IDo+dC8sx+skakropM=; 7:vbPxEPOdJ/91n4Rw5Fcos1k1HF4IYmiTfk+lb1Eoo+Z/6bIj0npGmC8PJskQ7zvoX3s2RoX2U8kqhpR8OG5+ObyHJBx5LKc99MbNvrxpt2B9ssxN2YtYtC88auso6SAqexKt1mFygBjb85HpxndBEwZifav5sG9wcPvLusc6zLVvuAZbEqT4gWIOxs6/PgnfmtQOADn4fkprg79Nyy/5g+4sA8x1luUYndLXskVkbBI= x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 25d813c3-953b-429c-4a8b-08d50e130c1c x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:DB5EUR03HT172; x-ms-traffictypediagnostic: DB5EUR03HT172: x-exchange-antispam-report-test: UriScan:(153516341915823)(150554046322364); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:DB5EUR03HT172; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5EUR03HT172; x-forefront-prvs: 0454444834 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:DB5EUR03HT172; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2017 06:08:52.0797 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT172 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 06:08:56 -0000 DQpPbiAxMC8wOC8xNyAxMToyOSwgUGF1bCBTY2htZWhsIHdyb3RlOg0KPiBJJ20gd3JpdGluZyBh IGJhc2ggc2NyaXB0IHRvIGNyZWF0ZSBhIGRiIGJhY2t1cCBhbmQgZW1haWwgaXQgdG8gbWUgb25j ZSANCj4gYSBkYXkuIEknbSBtdW5nZWQgc29tZSBwYXJ0cyB0byBub3QgcmV2ZWFsIGRldGFpbHMN Cj4gDQo+IEknbSBoYXZpbmcgYSBwcm9ibGVtIHdpdGggdGhpcyBsaW5lOg0KPiANCj4gL3Vzci9s b2NhbC9iaW4vbXV0dCAtcyAkU1VCSkVDVCAtaSAkTUVTU0FHRSAtYSAkRklMRU5BTUUgLS0gDQo+ IHBzY2htZWhsQHR4LnJyLmNvbSA8IC9kZXYvbnVsbA0KPiANCj4gUmlnaHQgYmVmb3JlIHRoaXMg bGluZSBhcmUgdGhlc2UgbGluZXM6DQo+IE1FU1NBR0U9InBhdGgvdG8vbWVzc2FnZS50eHQiDQo+ IEFERFJFU1M9InBzY2htZWhsQG15ZG9tYWluIg0KPiBTVUJKRUNUPSJUb2RheSdzIGRiIGJhY2t1 cCINCj4gDQo+PiBGcm9tIHRoZSBjb21tYW5kbGluZSB0aGlzIHJ1bnMgZmluZSwgYnV0IHRoZSBz Y3JpcHQgcmV0dXJucyBhbiBlcnJvcjoNCj4gDQo+IEVycm9yIHNlbmRpbmcgbWVzc2FnZSwgY2hp bGQgZXhpdGVkIDY3IChVc2VyIHVua25vd24uKS4NCj4gQ291bGQgbm90IHNlbmQgdGhlIG1lc3Nh Z2UuDQo+IA0KPiBUaGUgbWFpbCBpcyBzZW50LCBhbmQgd2hlbiBpdCdzIHJlY2VpdmVkLCB0aGUg c3ViamVjdCBsaW5lIGlzIFRvZGF5J3MuIA0KPiBXaGVuIEkgbG9vayBpbiB0aGUgbWFpbGxvZywg bXV0dCB0cmllZCB0byBzZW5kIGVtYWlsIHRvIGRiQGhvc3RuYW1lIGFuZCANCj4gYmFja3VwQGhv c3RuYW1lLg0KPiANCj4gSSBjaGFuZ2VkIHRoZSBzdWJqZWN0IHRvIEJhY2t1cCwgYW5kIHRoZSBl cnJvciBnb2VzIGF3YXkuDQo+IA0KPiBJJ20gcnVubmluZyBGcmVlQlNEIDEwLjMtUkVMRUFTRSBh bmQgdGhlIHNjcmlwdCBpcyB3cml0dGVuIGluIGJhc2guDQo+IA0KPiBXaHkgd291bGQgbXV0dCBk byB0aGlzPw0KDQpJIGRvIG5vdCB1c2UgbXV0dCAob25lIG9mIHRoZSBtb3N0IHVuZnJpZW5kbHkg VW5peCBhcHBzKSBzbyBJIGNhbm5vdCANCmNvbW1lbnQgb24gd2hhdCBpcyB0aGUgcHJvYmxlbSBo ZXJlLiBCdXQgSSB3b3VsZCB0byBzdWdnZXN0IG9uZSB0aGluZyB0byANCnlvdSBmb3IgQ0xJIG1h aWwgOiB1c2UgdGhlIHBvcnQvcGtnIHNtdHAtY2xpDQoNCkhlcmUgaXMgYSB3b3JraW5nIHNhbXBs ZSBmb3IgbWFpbCB3aXRoIGF0dGFjaG1lbnQgKGJ1bmRsZWQgaW50byB0aGUgYmFzaCANCnNoZWxs IGFycmF5IGF0dCkgOg0KDQpzbXRwLWNsaSBcDQoJLS1pcHY0IFwNCgktLWF1dGggXA0KCS0tc2Vy dmVyPSIkU01UUCIgXA0KCS0tcG9ydD0kUE9SVCBcDQoJLS11c2VyPSIkZnJvbWFkZHIiIFwNCgkt LXBhc3M9IiRwYXNzd29yZCIgXA0KCS0tZnJvbT0iJGZyb21uYW1lIDwkZnJvbWFkZHI+IiBcDQoJ LS10bz0iJHNlbmR0byIgXA0KCS0tc3ViamVjdD0iJHN1YmplY3QiIFwNCgkiJHthdHRbQF19Ig0K DQpJZiB0aGlzIHNvbHZlcyB5b3VyIHByb2JsZW0sIGdvb2QgbHVjayAgOiAtICkNCg0KUmVnYXJk cw0KTWFuaXNoIEphaW4NCg== From owner-freebsd-questions@freebsd.org Sun Oct 8 07:55:06 2017 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 B9070E2C116 for ; Sun, 8 Oct 2017 07:55:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98D8C84066 for ; Sun, 8 Oct 2017 07:55:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Sun, 08 Oct 2017 09:54:14 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 0BA113CBF9; Sun, 8 Oct 2017 09:54:13 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v987sDTL002354; Sun, 8 Oct 2017 09:54:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Oct 2017 09:54:13 +0200 From: Polytropon To: Paul Schmehl Cc: FreeBSD Questions , mutt-users@mutt.org Subject: Re: Scripting problem Message-Id: <20171008095413.b0700f43.freebsd@edvax.de> In-Reply-To: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 705446A35B9 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1557 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 07:55:06 -0000 On Sun, 08 Oct 2017 00:59:39 -0500, Paul Schmehl wrote: > I'm writing a bash script to create a db backup and email it to me once a > day. I'm munged some parts to not reveal details > > I'm having a problem with this line: > > /usr/local/bin/mutt -s $SUBJECT -i $MESSAGE -a $FILENAME -- > pschmehl@tx.rr.com < /dev/null > > Right before this line are these lines: > MESSAGE="path/to/message.txt" > ADDRESS="pschmehl@mydomain" > SUBJECT="Today's db backup" > > From the commandline this runs fine, but the script returns an error: > > Error sending message, child exited 67 (User unknown.). > Could not send the message. > > The mail is sent, and when it's received, the subject line is Today's. When > I look in the maillog, mutt tried to send email to db@hostname and > backup@hostname. > > I changed the subject to Backup, and the error goes away. This proves you have a quoting problem. Enclose the parameters in the mutt call in "...", like this: /usr/local/bin/mutt -s "$SUBJECT" -i "$MESSAGE" -a "$FILENAME" -- pschmehl@tx.rr.com < /dev/null When the variables are being evaluated by the shell, the quotes during assignment are removed, and you you get is /usr/local/bin/mutt -s Today's db backup -i path/to/message.txt -a /whatever/filename/there.is -- pschmehl@tx.rr.com < /dev/null The unterminated ' is handled more or less gracefully, but it probably interferes with mutt's address detection. You can now easily recognize the problem. > I'm running FreeBSD 10.3-RELEASE and the script is written in bash. Do you have any reasons not to stick to default sh? Do you use any features specific to bash? > Why would mutt do this? Well, actually mutt doesn't do it - it's the shell that just does what you told it to. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 8 08:00:31 2017 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 BD63FE2C4E7 for ; Sun, 8 Oct 2017 08:00:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 035216CC for ; Sun, 8 Oct 2017 08:00:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 08 Oct 2017 10:00:21 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7D1FC3CC3F; Sun, 8 Oct 2017 10:00:18 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9880Hql002396; Sun, 8 Oct 2017 10:00:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Oct 2017 10:00:17 +0200 From: Polytropon To: Paul Schmehl Cc: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-Id: <20171008100017.30ab5987.freebsd@edvax.de> In-Reply-To: <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 0FD016AB096 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.9029 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 08:00:31 -0000 On Sun, 08 Oct 2017 01:14:04 -0500, Paul Schmehl wrote: > I guess I should have pointed out that I'm sending mail on localhost, so > there's no auth involved. I'm using mutt because mailx doesn't appear to > have the ability to attach files. You can attach files with classic mail / mailx, but you'd have to create the headers yourself and maybe use b64encode, so your solution really looks more comfortable. > I solved the problem by using a one word subject. It's weird that Mutt is > somehow parsing the words in the subject and using them as recipients. As I said, mutt doesn't do that. Always keep in mind that space (or whitespace in general) is the option delimiter in sh and bash. So when you issue mutt -s Foo Bar Baz [...] the -s parameter will be "Foo" only (without the quotes). Then mutt will receive the parameters "Bar" and "Baz" which it treats as addresses (because there is no option switch infront of them, so they have to be addresses, see "man mutt" for synopsis). To deal with this problem, make the shell submit the whole string as _one_ parameter: mutt -s "Foo Bar Baz" [...] Now -s will receive "Foo Bar Baz" (without the quotes). Use double quotes because you want shell expansion / variable evaluation. It's not mutt's fault. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 8 08:24:02 2017 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 5EE95E2D774 for ; Sun, 8 Oct 2017 08:24:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6DBC6595B for ; Sun, 8 Oct 2017 08:24:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 08 Oct 2017 10:23:58 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 010113CBF9; Sun, 8 Oct 2017 10:23:57 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v988Nv2e002766; Sun, 8 Oct 2017 10:23:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Oct 2017 10:23:57 +0200 From: Polytropon To: "Thomas Mueller" Cc: freebsd-questions@freebsd.org Subject: Re: Screen Saver under FreeBSD 11.1 Message-Id: <20171008102357.efdcaf63.freebsd@edvax.de> In-Reply-To: <201710080816.v988Gpas002745@r56.edvax.de> References: <201710080816.v988Gpas002745@r56.edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 5F0196A35E5 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1460 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 08:24:02 -0000 On Sun, 08 Oct 2017 08:10:25 +0000, Thomas Mueller wrote: > > from Manish Jain: > > > On 10/05/17 18:32, Eduardo Lemos de Sa wrote: > > > I have used FreeBSD 11.1 (release/amd64) since some months. Everything > > > seems to working good, but I couldn't find a way get screensaver working. I > > > added into my /etc/rc.conf: > > > > saver="blank" > > > blanktime="120" > > > > > rebooted several times, but simply it did not work. Under X11, I could have > > > xscreensaver working (and to reinforce security, I am working under X11 > > > enviroment to have screen locked). Please, could you give some advise to > > > solve this? > > > > Thanks in advance > > > > My best regards > > > > Eduardo > > > Getting the saver to work in console mode is difficult nowadays - > > perhaps even impossible. > > > The only way you can get saver to work in console mode is to add this to > > /boot/loader.conf and reboot : > > > kern.vty=sc > > > The default console driver under 11.x is vt. If you use sc, your saver > > will begin to work, but then X will refuse to start (happens under > > 10.3/11.0). If you manage to get it to work under 11.1 - good luck ! > > Same symptoms occur with NetBSD with DRMKMS, which is their name for vt or newcons. > > I can only guess it would occur with Linux too and would not fight it. I'd say it's already present in Linux for a long while, but as Linux is already quite X-centric (at least the desktop distros, obviously), it is not a problem over there. Hardly anyone uses Linux in text mode. :-) > X will not start from sc in FreeBSD or NetBSD. Exactly, that's why the traditional text mode has been lost in FreeBSD, as soon as your system should run X. > I have wondered if console screensaver could be made to work with > vt or DRMKMS, but then there is the danger of not being able to > come back from screenblanking. This special sympton has been occuring when using sc with X (at a time where you could actually _start_ X from sc), but switching back from X to sc left the screen blank. With vt, you are always in graphics mode (there is no text mode anymore), so I'd assume that blanking and returning is not a problem here (no mode-switching). > I no longer use sc in FreeBSD. It only works for systems that do not run X. > In NetBSD, I like booting into 1920x1080 video mode for console > and getting 67 (?) rows and 240 columns. And that is exactly what I personally have problems with. The system boots with 80x25 text mode, then 80x25 graphics mode, then blanks for several seconds, and finally returns with tiny letters in an unpleasant font. On the laptop's native display, it becomes unreadable. So say goodbye to text mode, use X with xterms (or any other terminal application), where it's far easier to get a readable font at a terminal size you want, be it 80x25 or 132x67. And use xlock / xlockmore / xscreensaver instead. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 8 08:10:37 2017 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 5A9D5E2CAF4 for ; Sun, 8 Oct 2017 08:10:37 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 19BD330F8 for ; Sun, 8 Oct 2017 08:10:35 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([74.134.208.22]) by cmsmtp with ESMTP id 16fLevo6HDCdC16fNeSwSm; Sun, 08 Oct 2017 08:10:29 +0000 Date: Sun, 08 Oct 2017 08:10:25 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: Screen Saver under FreeBSD 11.1 References: X-CMAE-Envelope: MS4wfOo7M5x3lZwGAQRUzE36CD1LwKWkQ1hRO5PvsE35h6aHNbx9RTbIL6lnhTsWYqg0LLwKpbSoVLwTyyETZm7ZkjQLGN8U1ht0QK+Czr/ry6btgZdeVZpG XExC+D6mYdMqark5xCJ2vt4my50RmUhBNZ4L+Wup8mF+DUGnCxC5x8nGvMOc+xNGego0cm7c760PCw== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 08:10:37 -0000 from Manish Jain: > On 10/05/17 18:32, Eduardo Lemos de Sa wrote: > > I have used FreeBSD 11.1 (release/amd64) since some months. Everything > > seems to working good, but I couldn't find a way get screensaver working. I > > added into my /etc/rc.conf: > > saver="blank" > > blanktime="120" > > rebooted several times, but simply it did not work. Under X11, I could have > > xscreensaver working (and to reinforce security, I am working under X11 > > enviroment to have screen locked). Please, could you give some advise to > > solve this? > > Thanks in advance > > My best regards > > Eduardo > Getting the saver to work in console mode is difficult nowadays - > perhaps even impossible. > The only way you can get saver to work in console mode is to add this to > /boot/loader.conf and reboot : > kern.vty=sc > The default console driver under 11.x is vt. If you use sc, your saver > will begin to work, but then X will refuse to start (happens under > 10.3/11.0). If you manage to get it to work under 11.1 - good luck ! Same symptoms occur with NetBSD with DRMKMS, which is their name for vt or newcons. I can only guess it would occur with Linux too and would not fight it. X will not start from sc in FreeBSD or NetBSD. I have wondered if console screensaver could be made to work with vt or DRMKMS, but then there is the danger of not being able to come back from screenblanking. I no longer use sc in FreeBSD. In NetBSD, I like booting into 1920x1080 video mode for console and getting 67 (?) rows and 240 columns. 1920x1080 is my monitor's native mode and recommended by the manufacturer (LG). Tom From owner-freebsd-questions@freebsd.org Sun Oct 8 08:37:46 2017 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 891CFE2DFE7 for ; Sun, 8 Oct 2017 08:37:46 +0000 (UTC) (envelope-from srs0=lsqs=bh=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 523F468AEA for ; Sun, 8 Oct 2017 08:37:45 +0000 (UTC) (envelope-from srs0=lsqs=bh=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3y8xZq21tCz2fk5d for ; Sun, 8 Oct 2017 01:37:39 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Static IP Addresses Message-Id: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> Date: Sun, 8 Oct 2017 01:37:39 -0700 To: "freebsd-questions@freebsd.org Questions" X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 08:37:46 -0000 I have a remote backup machine that is on a dynamic IP address = allocation. The address doesn't seem to change very often. However, = after a few days from a boot, the static aliases on the LAN vanish. = Since I only have very infrequent access to it I can't say for sure what = happened. The logs seem to indicate that the interface went down and = then came back up. However, some of the static aliases were gone. This = is a bit of a guess as to when it happened. I have dhclient.conf set = with entries like: alias { interface "bge0"; fixed-address 192.168.0.205; option subnet-mask 255.255.255.255; } I understood from the man pages that was the way to have dhclient add in = the static addresses if it changed anything. Is there something more = that I should have done? -- Doug From owner-freebsd-questions@freebsd.org Sun Oct 8 11:17:21 2017 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 A5F27E31BE2 for ; Sun, 8 Oct 2017 11:17:21 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-cmomta01.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F1BA36BB41 for ; Sun, 8 Oct 2017 11:17:20 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from raspberrypi.bildanet.com ([65.186.81.207]) by cmsmtp with ESMTP id 19a2e4jE9zawl19a5eJY0t; Sun, 08 Oct 2017 11:17:13 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1e19a2-0007oY-Iu for freebsd-questions@freebsd.org; Sun, 08 Oct 2017 11:17:10 +0000 Subject: Re: Scripting problem To: freebsd-questions@freebsd.org References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> From: Baho Utot Message-ID: Date: Sun, 8 Oct 2017 07:17:10 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfGKoCzwmtJZfDgMZiUbcpc3ym+uX86LFKMrqBJPVp0plTrF/UXyNliKU4Jb4DGx2GAhI0Uc91adP4ehgI/caqLfy1QG2iEn3JoxP8b/LxSmG0OfvTsjw gsXtZXnbelvL1Y9sCI9X4y7zbyxf9JRQRG+izNguUFr+Q5YPoOvg8fgq5lOtpv5APtPRE6otoegSFxorq9UTD/+Alx0NoIv0BIY= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 11:17:21 -0000 On 10/08/17 02:14, Paul Schmehl wrote: > --On October 8, 2017 at 6:08:51 AM +0000 Manish Jain > wrote: > >> >> I do not use mutt (one of the most unfriendly Unix apps) so I cannot >> comment on what is the problem here. But I would to suggest one thing to >> you for CLI mail : use the port/pkg smtp-cli >> >> Here is a working sample for mail with attachment (bundled into the bash >> shell array att) : >> >> smtp-cli \ >>     --ipv4 \ >>     --auth \ >>     --server="$SMTP" \ >>     --port=$PORT \ >>     --user="$fromaddr" \ >>     --pass="$password" \ >>     --from="$fromname <$fromaddr>" \ >>     --to="$sendto" \ >>     --subject="$subject" \ >>     "${att[@]}" >> >> If this solves your problem, good luck  : - ) >> > I guess I should have pointed out that I'm sending mail on localhost, so > there's no auth involved. I'm using mutt because mailx doesn't appear to > have the ability to attach files. > > I solved the problem by using a one word subject. It's weird that Mutt > is somehow parsing the words in the subject and using them as recipients. > In bourne shell quoting is your friend. Have a look at variable expansion. From owner-freebsd-questions@freebsd.org Sun Oct 8 12:28:28 2017 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 71FE4E33F97 for ; Sun, 8 Oct 2017 12:28:28 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d: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 C36447F88C for ; Sun, 8 Oct 2017 12:28:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id l194so11490607qke.13 for ; Sun, 08 Oct 2017 05:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=iPMXPzhnOsWf+EImLN28xKH/mNwcM4+367RYDkP77Qc=; b=lMmNZVmQiL9i2mMK8ozkyENxn2V9Xw3tV3zsvUoWP3J2CHgrxiBISlYR3oGLG31P3U iVf3oqYq7q/cJ3iZZ0arotD/OuMReAnO4BXPmhHPecDE8XQcz/V76I8rxFRvXugoSnw3 GH31cRFOHe/0SGaJ/lMTLCq6XzegKcj9bpepo6VI5RLig6QPGKzvLKO7UTz2qIYXl1NB L0dShDGkyyDbcZmEZc/CsPLNjcHxup7IwXoLHIzILNDZQ3hlvjvxmIc5DkkC7U76+dqp tBlZZEL4jSo7UwOFjui2QzpBnQPoaABL1lKRSdyFsnKEp+NCrCkQQCU6xKQM5EKoZScY Iz/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=iPMXPzhnOsWf+EImLN28xKH/mNwcM4+367RYDkP77Qc=; b=KiWEiVZgpfCBJmbGO1/mbT2UPQgXi9sa+teIwMkQJlVhbBS1jT9swCVvdLsS906CUc 6mdXcLzFzTh9dnEQoNkWxqpyNA+sz/PKa3PGMI+Sdm7qOjKAXVBFEYns1AUtmbseGoOS VT4PfmmGO+MolGSoxFtHHJts/7TGHjoLfFT/iWSDWzBT8q1Brul4k0SWKueYQv7IGTRX gNvW7ZU/qUciIGkEoMqFnkPoQYCvtvtg4QubrWPge3l/soJoGF2C6PzXtpn82xBvfLi8 lJDUq231ik+CEVpwYZTdeH8GJNCuATpJnBL25u8GpELhqmcKExuyKH2y4JiC0QSnCp3s aHCA== X-Gm-Message-State: AMCzsaX4ozB0WO/nvBqB4evmoLeakdDQmi0Is+yN8HhI6hdJRV1Xmv+S P+HuJA9Ru4FG0kkoqyKRdUSCZg== X-Google-Smtp-Source: AOwi7QDP7+w8Ao3iEBmvv9B0/vX4TomeNyNOJprX5RktUSeN9osWHDl+1RK7V98XPvNnvP4bVjLDjQ== X-Received: by 10.55.102.215 with SMTP id a206mr5584233qkc.269.1507465706756; Sun, 08 Oct 2017 05:28:26 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id m66sm3434279qkf.23.2017.10.08.05.28.25 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Oct 2017 05:28:26 -0700 (PDT) Message-ID: <59DA19E8.5000602@gmail.com> Date: Sun, 08 Oct 2017 08:28:24 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: forcing new dynamic ip address Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 12:28:28 -0000 Hello List; I have a "home service" account from my ISP. The ISP issues an dynamic ip address which has not changed in 12 years. My host has 2 NICs, one which is not used. I know if I plug the internet cable into the un-used NIC and make the appropriate config changes and reboot I will get a different dynamic ip address. Is there a simpler way to expire the lease to force the ISP dhcp to refresh with a different dynamic ip address? The goal is to have a cron job that gets a different dynamic ip address assigned to my host's front door every a week. Just another level of security to make it very hard for the script kiddies from finding any open ports I may have. Thanks for the help. From owner-freebsd-questions@freebsd.org Sun Oct 8 12:37:36 2017 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 4298BE3439D for ; Sun, 8 Oct 2017 12:37:36 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from voyageurs.rail.eu.org (voyageurs.rail.eu.org [IPv6:2001:bc8:30d3::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3A648180B for ; Sun, 8 Oct 2017 12:37:35 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from [IPv6:2001:bc8:30d3:3040:6267:20ff:fede:1808] (unknown [IPv6:2001:bc8:30d3:3040:6267:20ff:fede:1808]) by voyageurs.rail.eu.org (Postfix) with ESMTPSA id 2D7212CC056E for ; Sun, 8 Oct 2017 14:37:32 +0200 (CEST) Subject: Re: forcing new dynamic ip address To: freebsd-questions@freebsd.org References: <59DA19E8.5000602@gmail.com> From: Erwan David Message-ID: <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> Date: Sun, 8 Oct 2017 14:37:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59DA19E8.5000602@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rail.eu.org; s=mail; t=1507466252; bh=d9PEVoYDUwEqiP3xxFQ09dYz8yD2RfNIIxV+ZFfgWcI=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=dKA13ZnwVXinRbZDoQGT5yLiVirh8xDH6eYvTQA64is+FTYYdJKjjO8SRq9XYFAh2d7+cklWFKSJusHkBx3DXtOjVolJWYVYigcu72bJYwJ+JoiDAAKAgRH7ZNuhKxUmh8eYOiSHHr7B21doL8Eu5sbtLAMAsSzQ9jkSzzSW4EM= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 12:37:36 -0000 Le 10/08/17 à 14:28, Ernie Luzar a écrit : > Hello List; > > I have a "home service" account from my ISP. The ISP issues an dynamic > ip address which has not changed in 12 years. > > My host has 2 NICs, one which is not used. I know if I plug the internet > cable into the un-used NIC and make the appropriate config changes and > reboot I will get a different dynamic ip address. > > Is there a simpler way to expire the lease to force the ISP dhcp to > refresh with a different dynamic ip address? > > The goal is to have a cron job that gets a different dynamic ip address > assigned to my host's front door every a week. > > Just another level of security to make it very hard for the script > kiddies from finding any open ports I may have. > > Thanks for the help. > DHCP protocol states that the server should try to give you the same IP address. And dhcp servers keep track of the addresses they allocated in the past, to give them back if possible. From owner-freebsd-questions@freebsd.org Sun Oct 8 12:42:12 2017 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 29266E346D7 for ; Sun, 8 Oct 2017 12:42:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::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 4E6208298F for ; Sun, 8 Oct 2017 12:42:11 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk0-x233.google.com with SMTP id 17so21449980qkq.8 for ; Sun, 08 Oct 2017 05:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=0OmhgTzDkptFVV0srrNrPvu8wiOmRqcAKAi4hshHg14=; b=m25Y2Xn9p8l0yNWP3GYxT9/t1Tdb68/Flz8jD3oUsbKMwLoy9IB1cUOHZDBHpBx7gR 7xIRfWvE9rlA/qJ3tzsmufSHoastUqMx0jFDTgQ3h7yMtocUAsTCxbZ1C/mWjQLqXALl cBHDdMp7pz6h1cnwNX0UCWL58re768DoJ8CkwUbaXdxmeuwSlfbNdhXDWoJ4C1GK4kXN wRd99jJU+9KuKKQDp/IV4uyoXF455XA+5SEGOjBCUQv0qKOxQXk9XyrXTh5St0U9zCCI JKxO4OuNozzNKjIvT5FeUAfQd+5AmRP4aEW7oc8fOEQwYw8DXa4z1rqGBnSFQ8V9DOPt XwvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=0OmhgTzDkptFVV0srrNrPvu8wiOmRqcAKAi4hshHg14=; b=TmZKAQO0ixY1eMqbh9CTAkmtyNAsQZtkGkS6YX7Sk7SpJfMGT54jlzasY0jv0UPuk+ xq22vkN+skuUawI/daReNvPldMgM2WjZBnKhPg/vpjTL60fA4vgKLYUVjRsiq4/H4Ozb 1G4jRjH3CSr2lH2fQVB8F1/Ud0UUIibNtPZtdZqQf0FnjFER5JX0hZ9ZB9ELsSLQPwwB bcw/0YRwumEiC45AoDpDDEA0YK2aq+5dWXvj0+2OE5tbP4D9664kmrD6eUUJxH46vw79 RAAAwPqqQDD/bQrKRPjP3o5XUZ29pVI+oodYK/1TRHUCNfbZsM4a8krwlfnUXNZM+LWZ AKYQ== X-Gm-Message-State: AMCzsaVBAMYe/Vjx+ofVhZwUknG1ixmQuybOBmuKBVoeCUksBsNC6bDi zXEf3MCT+EVbCGGPrqEW8tPUcw== X-Google-Smtp-Source: AOwi7QC76eqnN7mrIhqWtZbqMXk4/ERpVC8k+rvkEmIMR+4Xu1qYYNggkCAuPvdLZVNDlw26SEQRgA== X-Received: by 10.55.118.7 with SMTP id r7mr5831507qkc.276.1507466530290; Sun, 08 Oct 2017 05:42:10 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id s22sm985341qta.67.2017.10.08.05.42.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Oct 2017 05:42:09 -0700 (PDT) Message-ID: <59DA1D20.3090108@gmail.com> Date: Sun, 08 Oct 2017 08:42:08 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Erwan David CC: freebsd-questions@freebsd.org Subject: Re: forcing new dynamic ip address References: <59DA19E8.5000602@gmail.com> <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> In-Reply-To: <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 12:42:12 -0000 Erwan David wrote: > Le 10/08/17 à 14:28, Ernie Luzar a écrit : >> Hello List; >> >> I have a "home service" account from my ISP. The ISP issues an dynamic >> ip address which has not changed in 12 years. >> >> My host has 2 NICs, one which is not used. I know if I plug the internet >> cable into the un-used NIC and make the appropriate config changes and >> reboot I will get a different dynamic ip address. >> >> Is there a simpler way to expire the lease to force the ISP dhcp to >> refresh with a different dynamic ip address? >> >> The goal is to have a cron job that gets a different dynamic ip address >> assigned to my host's front door every a week. >> >> Just another level of security to make it very hard for the script >> kiddies from finding any open ports I may have. >> >> Thanks for the help. >> > > DHCP protocol states that the server should try to give you the same IP > address. And dhcp servers keep track of the addresses they allocated in > the past, to give them back if possible. > Yes I know that. The question is there a way to request their dhcp server to over ride that default behavior? From owner-freebsd-questions@freebsd.org Sun Oct 8 13:27:41 2017 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 77481E354D2 for ; Sun, 8 Oct 2017 13:27:41 +0000 (UTC) (envelope-from reichert@numachi.com) Received: from away.numachi.com (away.numachi.com [66.228.38.138]) by mx1.freebsd.org (Postfix) with SMTP id 0DC53675D0 for ; Sun, 8 Oct 2017 13:27:39 +0000 (UTC) (envelope-from reichert@numachi.com) Received: (qmail 25237 invoked from network); 8 Oct 2017 13:20:58 -0000 Received: from unknown (HELO meisai.numachi.com) (71.168.69.18) by away.numachi.com with SMTP; 8 Oct 2017 13:20:58 -0000 Received: (qmail 22768 invoked by uid 1001); 8 Oct 2017 13:20:58 -0000 Date: Sun, 8 Oct 2017 09:20:58 -0400 From: Brian Reichert To: Polytropon Cc: tech-lists , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: console-only freebsd Message-ID: <20171008132058.GL32581@numachi.com> References: <20171007142019.GA19356@v007.zyxst.net> <20171007164308.e960781e.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171007164308.e960781e.freebsd@edvax.de> User-Agent: Mutt/1.5.9i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 13:27:41 -0000 On Sat, Oct 07, 2017 at 04:43:08PM +0200, Polytropon wrote: > On Sat, 7 Oct 2017 15:20:19 +0100, tech-lists wrote: > > what program or port would one use to view a gif or jpg file? > > Additional thought: > > With vt, default text modes are typically much bigger than > the traditional 80x25 of sc. With the "block graphics" and > maybe ASCII art + foreground / background color attributes, > maybe there is a viewer that converts the image into "text > with control characters" that can be displayed directy in > the vt text mode, without using any graphics? > > Just a stupid thought... ;-) I wonder if AA-lib is still viable; it was fun to play with back in the day: :) http://aa-project.sourceforge.net/index.html > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Brian Reichert BSD admin/developer at large From owner-freebsd-questions@freebsd.org Sun Oct 8 14:24:02 2017 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 512A2E370C8 for ; Sun, 8 Oct 2017 14:24:02 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93E6A74CD0 for ; Sun, 8 Oct 2017 14:24:01 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1507472634; x=1510064634; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=9yS6DA9fnVxzpKuc+Qe7GayxeyIBAH3bFBrmcPkPImM=; b=anfU+lIbHBQSEvJbkVgXDAQ1dseOXGYv5qkxM2I/zqj3rRcDfJ4OHM/mlfgGQralA6Be07lfbdAYvChJmG6xmj+0Dz8Uj/QlSXHmn3htHcA45oe5Q4yAdhSFQ5/KdHW9Nz7fJfSaEl/W/SxJnwVt3ja6MJtJWCppQi2zPJHNTRM= X-Thread-Info: NDI1MC4xMi5lMzAwMDAwMDM5ZWNkNC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.us-east.aws.in.socketlabs.com (r3.us-east.aws.in.socketlabs.com [54.165.229.15]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 8 Oct 2017 09:23:29 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r3.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 8 Oct 2017 09:23:35 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e1BYL-000POO-4l for freebsd-questions@freebsd.org; Sun, 08 Oct 2017 13:23:33 +0000 Date: Sun, 8 Oct 2017 14:23:33 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: forcing new dynamic ip address Message-Id: <20171008142333.2647f15d14519940910e4da5@sohara.org> In-Reply-To: <59DA1D20.3090108@gmail.com> References: <59DA19E8.5000602@gmail.com> <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> <59DA1D20.3090108@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 14:24:02 -0000 On Sun, 08 Oct 2017 08:42:08 -0400 Ernie Luzar wrote: > Yes I know that. The question is there a way to request their dhcp > server to over ride that default behavior? You could randomise the MAC address you present. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Oct 8 15:04:35 2017 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 3909AE38040 for ; Sun, 8 Oct 2017 15:04:35 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mgm51.net (oneyou.mgm51.net [IPv6:2607:f2f8:af30::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oneyou.mgm51.net", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4F0D81BFE for ; Sun, 8 Oct 2017 15:04:34 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:558:6017:94:dcf8:7895:7e0c:8951]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sentry.24cl.com", Issuer "Mike's Certificate Authority" (verified OK)) by oneyou.mgm51.net (Postfix) with ESMTPS id 3y96975YHKz1DbD for ; Sun, 8 Oct 2017 11:04:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mgm51.com; s=mgm51-02; t=1507475067; bh=/WuMuDFA9F6YmAuKXWld27WYuunDnEN1ADBha0FGmM8=; h=Subject:To:From:Message-ID:Date; b=DOye9X3YZkML92W9topHpICYySmkFKh9pDt8a2Pkzb/W6exHTIlYKstf/j25Moelf VJ74sUfZU5qd81l42tvrpkmKy9dcOrtApmq61HFdpK4tLj7mppOlVrag0b1oskOJOP fI4LpETNFwjl152mBBb29TmdRTvQEiptLUcpNkhBtl/t4W+H3BA9fZr7tjVQO8PHiL sOk5zvgLmcHEHLSFqsyX07fbNgheYdtLuV90ubNhTxbYS0u0k9xk+GchjE+vcPSTDq iysIunZzobYx8r/JDnuJX9euu17M7kOR9eNbBg5StRIRHYk4zTWMr4Z4cTlHLtTu0I OQxq3H74lCf2A== Received: from [IPv6:fdcf:b715:2f4d:1:284b:aacb:7e09:6920] (unknown [IPv6:fdcf:b715:2f4d:1:284b:aacb:7e09:6920]) by sentry.24cl.com (Postfix) with ESMTP id 3y96965WYczWPc4 for ; Sun, 8 Oct 2017 11:04:26 -0400 (EDT) Subject: Re: forcing new dynamic ip address To: freebsd-questions@freebsd.org References: <59DA19E8.5000602@gmail.com> From: Mike Message-ID: <259de481-2286-589f-ae18-8922d473813e@mgm51.com> Date: Sun, 8 Oct 2017 11:04:26 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59DA19E8.5000602@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 15:04:35 -0000 On 10/8/2017 8:28 AM, Ernie Luzar wrote: > Hello List; > > I have a "home service" account from my ISP. The ISP issues an dynamic > ip address which has not changed in 12 years. > > My host has 2 NICs, one which is not used. I know if I plug the internet > cable into the un-used NIC and make the appropriate config changes and > reboot I will get a different dynamic ip address. > > Is there a simpler way to expire the lease to force the ISP dhcp to > refresh with a different dynamic ip address? > > The goal is to have a cron job that gets a different dynamic ip address > assigned to my host's front door every a week. > > Just another level of security to make it very hard for the script > kiddies from finding any open ports I may have. > > Thanks for the help. I have a few old NICs that i keep, not because I need to use them, but because i want to be able to use their MAC address. Then I use one of the MAC addresses in rc.conf, e.g., ifconfig_em0="DHCP lladdr yo:ur:MA:C:ad:dr:es" My ISP assigns a new IP address when the DHCP server sees a new MAC address. From owner-freebsd-questions@freebsd.org Sun Oct 8 16:22:08 2017 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 BC942E3981A for ; Sun, 8 Oct 2017 16:22:08 +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 49BDE6D76B for ; Sun, 8 Oct 2017 16:22:07 +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 v98GM3pi067399 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 8 Oct 2017 10:22:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v98GM2nT067396; Sun, 8 Oct 2017 10:22:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Oct 2017 10:22:02 -0600 (MDT) From: Warren Block To: Fabian Keil cc: Jonathan Bond-Caron , "freebsd-questions@freebsd.org" Subject: Re: GELI disk and glabel label In-Reply-To: <20171007133532.0c647a07@fabiankeil.de> Message-ID: References: <20171007133532.0c647a07@fabiankeil.de> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Sun, 08 Oct 2017 10:22:03 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 16:22:08 -0000 On Sat, 7 Oct 2017, Fabian Keil wrote: > Jonathan Bond-Caron wrote: > >> I was trying to organize hard disk using labels and labelled two geli >> disks: https://marc.info/?l=freebsd-questions&m=147526341300616&w=2 > > Note that this post seems to be about gpt labels, > not about glabel labels. > > They are not the same kind of label (and there are various other > types of labels in FreeBSD). As you have just discovered, sometimes > the difference matters. > >> glabel secure /dev/da1 >> galbel backups /dev/da2 >> >> The problem is now I can't mount them :/ >> geli attach -k /root/geli.key >> geli: Cannot read metadata from /dev/da1 > > As Bernt already explained, that's the expected behaviour. > > While it's possible to relocate the geli metadata, before adding a > "glabel label", the process is a bit tedious and I wouldn't recommend > trying it unless you already know that your backups work. It should not need to be relocated. The problem is using the wrong device. Both geli and glabel create a new device in /dev. That device is one block smaller than the source device. If you continue to refer to the root device, new metadata will overwrite the old. Instead, use the newly-created device. For example: Create a glabel device on /dev/da1 called foo: glabel label foo /dev/da1 There is now a device called /dev/label/foo. It is one block smaller than /dev/da1 to prevent writing to the metadata at the end. Use this new device for further work, like creating a geli device (which will be called .eli). If you mistakenly create another GEOM device on the raw /dev/da1, it will overwrite the metadata that is already at the end, as happened here. From owner-freebsd-questions@freebsd.org Sun Oct 8 16:54:27 2017 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 AA658E3A2C8 for ; Sun, 8 Oct 2017 16:54:27 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 523CE74947 for ; Sun, 8 Oct 2017 16:54:26 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.2] ([76.183.153.52]) by cmsmtp with ESMTPA id 1Enme4BkPDCdC1EnpeUW0f; Sun, 08 Oct 2017 16:51:45 +0000 Date: Sun, 08 Oct 2017 11:51:42 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Polytropon cc: FreeBSD Questions Subject: Re: Scripting problem Message-ID: In-Reply-To: <20171008095413.b0700f43.freebsd@edvax.de> References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <20171008095413.b0700f43.freebsd@edvax.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfBiKO1FnL3sBOdh1cIa4PiyeVaIj1jT2AJ7MO+MQTSswD2fZkt2e0SpXgQePsvG6WC0mAtH4shsTl0ZZUvn/LiT7jHSaSiAYLnekpqNs2Qe5yTZ2EnVk z0jikv06qjreAWLau7ORiDBSD4rnOgZkiVNygwZLRjlfj8wCWOhYvvuovxSKid6NWb82JOgx/SWjgkCTLcLKJfEiH1t+FNoKIvHC5lHh9xDsSa6NY/OGWZXH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 16:54:27 -0000 --On October 8, 2017 at 9:54:13 AM +0200 Polytropon wrote: > On Sun, 08 Oct 2017 00:59:39 -0500, Paul Schmehl wrote: >> I'm writing a bash script to create a db backup and email it to me once >> a day. I'm munged some parts to not reveal details >> >> I'm having a problem with this line: >> >> /usr/local/bin/mutt -s $SUBJECT -i $MESSAGE -a $FILENAME -- >> pschmehl@tx.rr.com < /dev/null >> >> Right before this line are these lines: >> MESSAGE="path/to/message.txt" >> ADDRESS="pschmehl@mydomain" >> SUBJECT="Today's db backup" >> >> From the commandline this runs fine, but the script returns an error: >> >> Error sending message, child exited 67 (User unknown.). >> Could not send the message. >> >> The mail is sent, and when it's received, the subject line is Today's. >> When I look in the maillog, mutt tried to send email to db@hostname and >> backup@hostname. >> >> I changed the subject to Backup, and the error goes away. > > This proves you have a quoting problem. Enclose the parameters > in the mutt call in "...", like this: > > /usr/local/bin/mutt -s "$SUBJECT" -i "$MESSAGE" -a "$FILENAME" -- > pschmehl@tx.rr.com < /dev/null > > When the variables are being evaluated by the shell, the quotes > during assignment are removed, and you you get is > > /usr/local/bin/mutt -s Today's db backup -i path/to/message.txt -a > /whatever/filename/there.is -- pschmehl@tx.rr.com < /dev/null > Thanks. I was unaware of this. > The unterminated ' is handled more or less gracefully, but it > probably interferes with mutt's address detection. You can > now easily recognize the problem. > > > >> I'm running FreeBSD 10.3-RELEASE and the script is written in bash. > > Do you have any reasons not to stick to default sh? Do you use > any features specific to bash? > None other than I've always written bash scripts. > > >> Why would mutt do this? > > Well, actually mutt doesn't do it - it's the shell that just does > what you told it to. ;-) I see that now. Thanks for educating me. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Sun Oct 8 16:54:43 2017 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 D88ABE3A2E8 for ; Sun, 8 Oct 2017 16:54:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 57FE274A8C for ; Sun, 8 Oct 2017 16:54:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v98GsfEF076890 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 8 Oct 2017 10:54:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v98GsfhA076887; Sun, 8 Oct 2017 10:54:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Oct 2017 10:54:41 -0600 (MDT) From: Warren Block To: Alessandro La Rosa cc: freebsd-questions@freebsd.org Subject: Re: info about freebsd download In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Sun, 08 Oct 2017 10:54:41 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 16:54:44 -0000 On Fri, 6 Oct 2017, Alessandro La Rosa wrote: > hi, i am alessandro la rosa, i am writing you because i downloaded many > times freebsd and masterized it on dvd, but it seem to be always a > corrupted download, where i can find a good iso to download and masterize? Corrupted in what way? The most common error is burning the image onto a CD or DVD as a file, rather than creating a CD or DVD as an image. How to do this correctly depends on the application being used to write the DVD. From owner-freebsd-questions@freebsd.org Sun Oct 8 17:01:42 2017 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 72CD9E3A894 for ; Sun, 8 Oct 2017 17:01:42 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta01.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 32B177643E for ; Sun, 8 Oct 2017 17:01:41 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.2] ([76.183.153.52]) by cmsmtp with ESMTPA id 1Eume4Iy9DCdC1EupeUXg2; Sun, 08 Oct 2017 16:59:00 +0000 Date: Sun, 08 Oct 2017 11:58:57 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-ID: <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> In-Reply-To: <20171008100017.30ab5987.freebsd@edvax.de> References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfEGD61d4gvtLzjZD+CYkTso513YgVQpluRnp5GUJpf9MjwEeHnaD1MVw0GBrpIV9qgrsrWPv9GQU/KAU8EHnRyMhIPgKePXXhgX0FhErSdRckr5AgDdF ZCgpAGIiFip1FTVlGAAO4DI85nK3xLHDPHr6zrTjBrVpjaYXHCPOts1lpZ6I9kv2yaaiCDy6RSVtpQhjKOXqxwXf//IUh3OsSihaNW5SQv2vEq+EWLczkicR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 17:01:42 -0000 --On October 8, 2017 at 10:00:17 AM +0200 Polytropon wrote: > On Sun, 08 Oct 2017 01:14:04 -0500, Paul Schmehl wrote: >> I guess I should have pointed out that I'm sending mail on localhost, so >> there's no auth involved. I'm using mutt because mailx doesn't appear to >> have the ability to attach files. > > You can attach files with classic mail / mailx, but you'd have > to create the headers yourself and maybe use b64encode, so your > solution really looks more comfortable. > > > >> I solved the problem by using a one word subject. It's weird that Mutt >> is somehow parsing the words in the subject and using them as >> recipients. > > As I said, mutt doesn't do that. Always keep in mind that space > (or whitespace in general) is the option delimiter in sh and bash. > So when you issue > > mutt -s Foo Bar Baz [...] > > the -s parameter will be "Foo" only (without the quotes). Then > mutt will receive the parameters "Bar" and "Baz" which it treats > as addresses (because there is no option switch infront of them, > so they have to be addresses, see "man mutt" for synopsis). > > To deal with this problem, make the shell submit the whole string > as _one_ parameter: > > mutt -s "Foo Bar Baz" [...] > > Now -s will receive "Foo Bar Baz" (without the quotes). Use double > quotes because you want shell expansion / variable evaluation. > > It's not mutt's fault. :-) I've considered myself a journeyman in FreeBSD, having used it for about twenty years now. I guess I need to go back to being an apprentice. I obviously don't understand how the shell works yet. Oh well, you're never too old to learn. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Sun Oct 8 18:07:07 2017 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 998DCE3C1CE for ; Sun, 8 Oct 2017 18:07:07 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5E84647D3 for ; Sun, 8 Oct 2017 18:07:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sun, 8 Oct 2017 11:02:01 -0700 Subject: Re: Static IP Addresses To: freebsd-questions@freebsd.org References: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> From: David Christensen Message-ID: <5c8f65ba-7d76-ccea-28f5-0d9cb7af9300@holgerdanske.com> Date: Sun, 8 Oct 2017 11:02:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 18:07:07 -0000 On 10/08/17 01:37, Doug Hardie wrote: > I have a remote backup machine that is on a dynamic IP address allocation. The address doesn't seem to change very often. However, after a few days from a boot, the static aliases on the LAN vanish. Since I only have very infrequent access to it I can't say for sure what happened. The logs seem to indicate that the interface went down and then came back up. However, some of the static aliases were gone. This is a bit of a guess as to when it happened. I have dhclient.conf set with entries like: > > alias { > interface "bge0"; > fixed-address 192.168.0.205; > option subnet-mask 255.255.255.255; > } > > > I understood from the man pages that was the way to have dhclient add in the static addresses if it changed anything. Is there something more that I should have done? When building a computer, I normally have the installer create the DHCP client stuff and then I create fixed leases on the DHCP server. David From owner-freebsd-questions@freebsd.org Sun Oct 8 20:09:53 2017 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 4644CE3EE5A for ; Sun, 8 Oct 2017 20:09:53 +0000 (UTC) (envelope-from deltaski@earthlink.net) Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) (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 861AF83CAF for ; Sun, 8 Oct 2017 20:09:52 +0000 (UTC) (envelope-from deltaski@earthlink.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1507493392; bh=H5hC5zIjml2tYnbW0Gi62dGfAYAWWfGjF0Wd oVMqVdo=; h=Received:To:From:Subject:Message-ID:Date:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Language:X-ELNK-Trace:X-Originating-IP; b=Au8te/JvkJ5QlYCv qR+KinkZ+NXwo/eXgMwed7HIs2DjP8aHvoqWFxZKJWtSn5ciD0MXqA0UIvlG9+VdUnZ qeYPiKsINevybvrrTGIuy4rxzbkWd4sxIqJAwBq8krfK6CEIjxvyHdYfbblZK92eTr7 lgDNc2OOLuviyOoBPaqmawzL4gI3UUr83CKOaz2nu71MAluQg0zKAm8rNtQ5L/XfpX6 AWh5xHS19nxQ7u0JexhDO9FxDSj2IdwogeDpxe4zb3QDL8DSv62ZdwFcnEeXI2kQQv5 o5fJSbsSxyz0TeP87z9N0owds3JDe8I2mRpd50KyBxflWVrgQ338aU9yfg== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=n7rZMb7WQC0rYsyRpeZfroyzw/Tjy6fZCE5NllmbiU88RqewdW8q9eZcTerOfUPZpDHXmLAEIsrYffoDnkoXaeGJOj/3Ti2rBI4K7K8q4dDjQD1Pa5aqce/PkhHBJtTrYfWzU/6HbJDJWN7mt0uqSfy7KGummwLxBtQl0MlPiA+JrGbq8sUI3yidKRkYYqFMZZMQYM3nFEg1oaATt54je1ajYn4Z4Q9JrCSEiaLNPO2vHhR9gO5srY2Ss3G58wV2Htl3b4UAaBevvWQpq1YsEeK4cdFWTDyeevpJfwolBmLbxx4K5lcN4diqUdCgfhZrGjPN7JoWW7nIoFPQxfUmJA==; h=Received:To:From:Subject:Message-ID:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Language:X-ELNK-Trace:X-Originating-IP; Received: from [172.78.51.153] (helo=[192.168.1.45]) by elasmtp-masked.atl.sa.earthlink.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4) (envelope-from ) id 1e1HtQ-0001w9-T4 for freebsd-questions@FreeBSD.org; Sun, 08 Oct 2017 16:09:45 -0400 To: freebsd-questions@FreeBSD.org From: donald Subject: screen saver? Message-ID: <326c66b9-7fc6-3f18-3b80-48abaf09e479@earthlink.net> Date: Sun, 8 Oct 2017 16:09:59 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-ELNK-Trace: 1e868faae89dbb8d1aa676d7e74259b7b3291a7d08dfec79fccbec63871d779d273f2f5f6f94158c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 172.78.51.153 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 20:09:53 -0000 I am new to BSD 11.1 and am trying to get the screen saver to work. After searching, I came across the following: saver_enable="YES"        saver="daemon"    blanktime="300" entered into the /etc/rc.conf file This does not work. Could anyone point me in the correct direction?      Thanks in advance From owner-freebsd-questions@freebsd.org Sun Oct 8 20:23:32 2017 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 2ADA4E3F312 for ; Sun, 8 Oct 2017 20:23:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC47B2541 for ; Sun, 8 Oct 2017 20:23:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 08 Oct 2017 22:23:27 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 55F093CBF9; Sun, 8 Oct 2017 22:23:30 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v98KNPCb003008; Sun, 8 Oct 2017 22:23:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Oct 2017 22:23:25 +0200 From: Polytropon To: donald Cc: freebsd-questions@freebsd.org Subject: Re: screen saver? Message-Id: <20171008222325.2dce1041.freebsd@edvax.de> In-Reply-To: <326c66b9-7fc6-3f18-3b80-48abaf09e479@earthlink.net> References: <326c66b9-7fc6-3f18-3b80-48abaf09e479@earthlink.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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with A88AD6A35CA X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1327 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 20:23:32 -0000 On Sun, 8 Oct 2017 16:09:59 -0400, donald wrote: > I am new to BSD 11.1 and am trying to get the screen saver to work.=20 > After searching, I came across the following: saver_enable=3D"YES"=A0=A0= =A0 =A0=A0=A0=20 > saver=3D"daemon"=A0=A0=A0 blanktime=3D"300" entered into the /etc/rc.conf= file=20 > This does not work. Could anyone point me in the correct direction?=A0=A0= =A0=A0=A0=20 The classic screensaver only works with the traditional text mode console subsystem sc; with the new vt (newcons), it doesn't. Put this into /boot/loader.conf: kern.vty=3Dsc Note: This will probably cause X to stop working. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Oct 8 23:10:42 2017 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 06F29E4243A; Sun, 8 Oct 2017 23:10:42 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::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 3B1EA6533C; Sun, 8 Oct 2017 23:10:41 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id l40so13787229uah.2; Sun, 08 Oct 2017 16:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=LIJW2tTbsVfPTvYKkmbsP6M+JOEBs1H4ii6pbbQ47jY=; b=hY/74676ooscy8jDi3beJo2EYOPkuaGyjU9C1xx3n5prIL8SHY289+ZNVP58xjKHNE U2m6/276GqwaNwdq6Xwnw3/Kgfig25o/MmVd178NBvULTkLsyUnHLqrRZLErk5W6hp5C DqaWJh9QZKXInxK2FzOUkT8mPwySKTdcYqbs8svViZcjO0uFJ/AaZeaTjZfii27HwwoW LfEHkTt41+lTuclmof89SeKP82OwRw9XwwQaCHR/jDTvJAC3BMl6PrmrTv4C+LUBEHMT ExolCb0ppsCLZiz79u0bkGObQIuEqJZYkiH37JPTuuDjhoVMcYZf4bAtxiKo2Wmpb0O1 Yp9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=LIJW2tTbsVfPTvYKkmbsP6M+JOEBs1H4ii6pbbQ47jY=; b=TpTgNbATw0k/AMDL73ZlyxKtnvzb3cA403eBWczYg4aeqNClnj4UonnVUBARjNkUUT p84bhdX4RQxbwnxH6o5VKEkBgq6VoP5PtErNafSBBy0famtQBW2JnHEkhvl3sB/r+OeG mXqiQ1bXmE6BjA2J2Zb4Y3bkZEUzGKMc+scINdYWrsD304wr6WNob9Mrq8ewYz5jXnx3 Nd1ojlJQPeSM/LY+G5x747psYzOe7JFSgjY3t8fDqdwfY3sEe8l2QUDfiiHcyhCaFLh9 3VOUyEY7L3bf9eYZoYLz0dMl1UxUA5RHd01y4YaD8+cCLR5tiDFm6aINi0ktYYvyOhKd zoLQ== X-Gm-Message-State: AMCzsaWpgcvlntTt79KNcl6Qg76SVRL0C/f4agTES345n7LzbOsxkuOC I7frARchlx82QwjDgoW+mpsfTNM+dnbYxKtb0DfUMA== X-Google-Smtp-Source: AOwi7QD00n6cGj+f0I1JjLpvEog6ZFvY6Js3BmFQlpzD9VkfwXjQYthpM07zZthR3IOV51NDhxV580ioe8HRFkFa5A4= X-Received: by 10.176.90.151 with SMTP id w23mr2783127uae.179.1507504239884; Sun, 08 Oct 2017 16:10:39 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Sun, 8 Oct 2017 16:10:19 -0700 (PDT) From: Tomasz CEDRO Date: Mon, 9 Oct 2017 01:10:19 +0200 X-Google-Sender-Auth: FRChozrdBxqRtc-f65YMOQSXlFo Message-ID: Subject: automount usb msdosfs no partition table To: trasz@freebsd.org, FreeBSD Questions Mailing List , FreeBSD Stable Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 23:10:42 -0000 Hello world :-) I need to configure automount for a testing machine. It seems to work fine, except for two issues: 1. Mount point does not disappear after device disappears, what makes things harder to script when device is gone. automount -c does not remove the mountpoint, only restarting the service does. It is a bug or feature? 2. Automounter does not mount USB Pendrive / MSDOSFS devices that does not have a parition table. Some USB Drives does not have valid partition table, they appear as /dev/da0 and can be mounted with mount_msdosfs /dev/da0 /mnt, but they are not recognised by automounter.. how can I make it work with such devices? Any hints appreciated :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Sun Oct 8 23:58:20 2017 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 C4A37E43291 for ; Sun, 8 Oct 2017 23:58:20 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 06D066FFE2 for ; Sun, 8 Oct 2017 23:58:19 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x236.google.com with SMTP id j140so6539704itj.1 for ; Sun, 08 Oct 2017 16:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=p+V4j1/sGyFGk40qIKxP4yBSO68n0u+ohd72q3SocIU=; b=Okrq84Wk5CZBiyi+SrTHPaj0yFoBRqXG5F14W+4VkrsFyP9VTRJtSI90443/rs1tcy OcCuTeDgVVnpilaaQ9V4GwOwtqI73bzKT6+W5X1VdiOxEFgLhB36k/hHgRf4bHEnk2o6 rozMBuEx1S6KcfiPd0x8cE+zSKDboI2PV2/89vsum1Uo0fIRBQU/7rM6m73nfE/g0l+y g51UeVhLiIa2ruj+UdjsGiKHi9KV6ycY6OFPDeV52IY094SqH0Bt1v3/aM+VAG/tbEj9 UDWYq4gWNi9ngKhVjCRjbX37kAxxUB4fYCzx20hig82W/Buk+D4w6TsDnz1R8yY0q2UQ Ofsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=p+V4j1/sGyFGk40qIKxP4yBSO68n0u+ohd72q3SocIU=; b=SAIysRP2uCFRRpi1KoYlOo0Kw5mDgPtuap0PdTnEQgteSrwTJt7gfPxwEYbEg147tO bcWWdseVlSFpPUwc1dXnL9N0DJFzojWo7o80woHS/K1Rx4VZGRa+e6qKsHYrV0J0Vgvj oF+VT7L8Fd8F2nJ4xIQt90wo34PGcChQJTEk9HxpE2csVXYahkQ31r0VS/Ucn6W6dmBe 2eDBTOowqZTFjS8HVaqEcjgL7kQzZrgvdfWJwYaC3An35PX2FmYFqWa6PNOkN/WyUdNk GpFtcSJ6QJcrdGWHzHtCIhcPZUpNrFGdSic0WTwMOLLPQpAsbT8F92DzXFHMHBheECdz mpdg== X-Gm-Message-State: AMCzsaVK2t3s2A0tc4drUa5OH2I8/ACpbfhQJ1FicOExVJKXEJHks3vp j1Sf3tq3wJMXZyJyqdc2oDzOQPkG X-Google-Smtp-Source: AOwi7QB1ALd0JpCIrxj9Bt88c/l7e0ys/L9Pliq9OCXln0nHLxH8Vre3uLWWWpjRkKNFEAzhrD5BiA== X-Received: by 10.36.155.130 with SMTP id o124mr12092877itd.69.1507507099112; Sun, 08 Oct 2017 16:58:19 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-192.neo.res.rr.com. [65.25.55.192]) by smtp.googlemail.com with ESMTPSA id g81sm2178088ioe.50.2017.10.08.16.58.18 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Oct 2017 16:58:18 -0700 (PDT) Message-ID: <59DABB98.6040009@gmail.com> Date: Sun, 08 Oct 2017 19:58:16 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Mike CC: freebsd-questions@freebsd.org Subject: Re: forcing new dynamic ip address References: <59DA19E8.5000602@gmail.com> <259de481-2286-589f-ae18-8922d473813e@mgm51.com> In-Reply-To: <259de481-2286-589f-ae18-8922d473813e@mgm51.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 23:58:20 -0000 Mike wrote: > On 10/8/2017 8:28 AM, Ernie Luzar wrote: >> Hello List; >> >> I have a "home service" account from my ISP. The ISP issues an dynamic >> ip address which has not changed in 12 years. >> >> My host has 2 NICs, one which is not used. I know if I plug the internet >> cable into the un-used NIC and make the appropriate config changes and >> reboot I will get a different dynamic ip address. >> >> Is there a simpler way to expire the lease to force the ISP dhcp to >> refresh with a different dynamic ip address? >> >> The goal is to have a cron job that gets a different dynamic ip address >> assigned to my host's front door every a week. >> >> Just another level of security to make it very hard for the script >> kiddies from finding any open ports I may have. >> >> Thanks for the help. > > > I have a few old NICs that i keep, not because I need to use them, but > because i want to be able to use their MAC address. > > Then I use one of the MAC addresses in rc.conf, e.g., > > ifconfig_em0="DHCP lladdr yo:ur:MA:C:ad:dr:es" > > My ISP assigns a new IP address when the DHCP server sees a new MAC address. > > Thank you. This is the solution I was looking for. I tested it and it works. But I have to first cycle the cable modem's power off/on to signal the isp network that new hardware is being used and prepare to do dhcp function. From owner-freebsd-questions@freebsd.org Mon Oct 9 00:09:01 2017 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 7566BE4388C for ; Mon, 9 Oct 2017 00:09:01 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E82937235C for ; Mon, 9 Oct 2017 00:09:00 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id n195so6662937itg.1 for ; Sun, 08 Oct 2017 17:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=980oQpygbOwF/XiqaADQUEfTTQsLQC3UobX7zzHypHU=; b=TKab+CUg0gW5QFP+vt9bzFRQWHkmFKrPqYW5fREEkQiVTGLEMdlxqxSQSzYG0A3xrD krSBOAJXEHckCZkcT8HCOzRE9b/f/hLPcInvlJKRN+PxUN/eA6kOJCYPBMIyOf12wJKm 0agZHNWGiZYQhuE/A4doOq8QwlO2dq8xQd07hoCiqpXGAnnHvs6nOJKv8hlzS/bGMcrP NC9ZtWEd/AAQUY5JMOGwl91TnItErpGQCYveNqrIm4K3GiiyrMO3ZPaJGF3mQkGojd0I mXJOxfJbrW/oeQt7pX3ykXlzODw9rWjefz/2d2vXG6/Tkf1YtoxlQFavnCY6uy0UEZy5 G7cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=980oQpygbOwF/XiqaADQUEfTTQsLQC3UobX7zzHypHU=; b=LYCQmrCJdRrX599zl5851WnGXVA0V2HENBhZf13Z+ITscfaJdJUIGN+enWx/SFfR8w DdjP6K9OO3WlIw76LROluZuFfyMzgeSOmRo78qexbARM3YLVfrYqa32hCeFrVi5LcOqe n1quRMO1QdqvtZxjkByiXvi3rQQrC6gkFmhvcchr8n6RIdL+Kj2OKMVfoGzluvod9ZW3 92pjjxtvipzj7mbATzYRiBoxgAvkpo4RXsXlEMxhhqO59y/kvfrbqSyBfGB4YM0eUoZb qNm+hv/lvl3HqutGBQoiazYZAkLIep/Svbi4BEYQhxZS2UcmWDumddjp5yEQWqD2B9sJ C/rg== X-Gm-Message-State: AMCzsaVX0HEOgZdhG8VCw+VRlLn114nXbyD5KETVDyAWXEV2V7rHMDwh lQeeDQynQtuudM7v8Qo2pj6ve0HG X-Google-Smtp-Source: AOwi7QBZj7NkPAYAK/CC5lwlONEEptuEp0CbKdScNDoe+2dVxKyFdxqSpcSu5dJMZVz3PPCL6Kduqw== X-Received: by 10.36.250.139 with SMTP id v133mr3012063ith.13.1507507740112; Sun, 08 Oct 2017 17:09:00 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-192.neo.res.rr.com. [65.25.55.192]) by smtp.googlemail.com with ESMTPSA id m7sm3049991ita.2.2017.10.08.17.08.59 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Oct 2017 17:08:59 -0700 (PDT) Message-ID: <59DABE19.2070704@gmail.com> Date: Sun, 08 Oct 2017 20:08:57 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: unbound trust-anchor Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 00:09:01 -0000 If I comprehend the unbound-anchor man page correctly, at unbound start time a trust-anchor is fetched from a unbound website. This is required for dnssec. Is this really necessary. I do not like any software application to be dialing home. Way to easy for that website to become compromised and bad things happen to my host. Can unbound function without this dial home feature? How would I go about disabling it. From owner-freebsd-questions@freebsd.org Mon Oct 9 00:12:05 2017 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 5F7F2E43B6E for ; Mon, 9 Oct 2017 00:12:05 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067022.outbound.protection.outlook.com [40.92.67.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A14B072DDC for ; Mon, 9 Oct 2017 00:12:03 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mf/OvlYmlCy2d3IgHwScAnxIxEH9qIXKinFi4TIHPww=; b=gL8JFg6s/Cg8TLKE17OUEoOnYDu343fddI10t0Nci7gN18h5d6amEoXfg0fH1zsdjcatS7gvdfjoTWyC6wRC8tRv2NxjX378ppmrZjHiKX9uto6MQBnYyrt9Cwaw45zOKiWTp2FrGWixwrsy26p4amR63B1UyepxQMZY8baIkbobWQJlUVJ7wtZubKsF6QQ3jWdpUd1EQHdwCrDGgxOdbALwHQiHkorNEOT/jYIviAcNkGysaP/bPq4Klrd/mf8CBbuGyrWCo8EgTEXRKeXQrXXvztHur9m+8E9DE16rj/MdKg8zn4A9PLkzuzbfcJjJKNNpoJnN2Dl10O+Q/hNC5Q== Received: from HE1EUR02FT005.eop-EUR02.prod.protection.outlook.com (10.152.10.54) by HE1EUR02HT064.eop-EUR02.prod.protection.outlook.com (10.152.11.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.77.10; Mon, 9 Oct 2017 00:12:01 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.10.52) by HE1EUR02FT005.mail.protection.outlook.com (10.152.10.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.77.10 via Frontend Transport; Mon, 9 Oct 2017 00:12:01 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0077.020; Mon, 9 Oct 2017 00:12:01 +0000 From: Manish Jain To: donald , "freebsd-questions@FreeBSD.org" Subject: Re: screen saver? Thread-Topic: screen saver? Thread-Index: AQHTQHGJi8V1KesgpUGjBC0n2eHBTqLapWSA Date: Mon, 9 Oct 2017 00:12:01 +0000 Message-ID: References: <326c66b9-7fc6-3f18-3b80-48abaf09e479@earthlink.net> In-Reply-To: <326c66b9-7fc6-3f18-3b80-48abaf09e479@earthlink.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: earthlink.net; dkim=none (message not signed) header.d=none;earthlink.net; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:E95949B06E085B39BABFA42EFEAE692017D95805BBC38E3BB5519C15FC0EB6C5; UpperCasedChecksum:F2E93454A61DEA7181B6E8FFB3094D367C1095F689C67176C828B7C2277F6B29; SizeAsReceived:7057; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Oz6UlKjmpIusIQJR0S/kh29WpmUkXwLr] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT064; 6:cqnTKDMiQWcVJfh1PABnFvQFfQribPEeZRU9USxvt5iT2w5MYk24EQ2qVSiVxzZZdikHUHabx911ey3W64syr3JqiqrSlC43y2FQC2JXGGMh29z14dB74ITSh48l4Tpiar0OIlH6fvgauzpJb4SDNTdVwNPv3TvWTR9mF9XqREa/6OUWlWk1Wptw6FDpJKoHAkE+18V63zaBTN7tPXiKUcdI42VTjXssWJEP5WUDu+/WZv2ctzdzgHh5sph4MTbEpzPWbH/rHE6fRG3j3LoZBPqD9DckUIfrBq8dbUnhWrlmuvmD4+IFLojlp3PiBgfy5uSPhe5HcKbx1Gsi7hYEFQ==; 5:nWdY/MO/e5nvYFRuHZdXpgwMX53eqU3I8dLP9dDgiSf/uxXvN671F4VhZ0fziKRQw4nBoBTwb28aPMT8yOHfjVc3SyxVYYbGm/xML8elLXk/ecrh0aFEtENDSoYT0n8RcmmumIrQDEPqU/n8ACOAPw==; 24:gt+Hj1Q3m4kIBX7bdH8ZjO9VHhBPR/PPWKHlj6jCamzz/n6eC2hwq3cdUGXC6kM95gkFcalzfq16+3vUKkmekiEFLMF5UQucFIDklK/bgXc=; 7:clXNn+ReIJ9FdYw4oqydmztqKmJLYl3Uu724quHeJG8Pjlqi1NstYKusxbeMPImpP403tXDGuCYLw5xJdODf2GjruKjOpJAIKmDcE+XrktThoKfMkDat2c5rqK5EmIrg9hvr1BCKfIIdpNFjNMEdJAePDlhNo4vkrL6hurcYsz1V+uI/maZLIs527EETd05h3sZ/FFEhqG+qwKQPwypabaIDtNDzzwJijuiv89Wuflg= x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: d1c78972-cd19-4881-6fc5-08d50eaa5ca5 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:HE1EUR02HT064; x-ms-traffictypediagnostic: HE1EUR02HT064: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:HE1EUR02HT064; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1EUR02HT064; x-forefront-prvs: 045584D28C x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT064; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2017 00:12:01.2649 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT064 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 00:12:05 -0000 DQoNCk9uIDEwLzA5LzE3IDAxOjM5LCBkb25hbGQgd3JvdGU6DQo+IEkgYW0gbmV3IHRvIEJTRCAx MS4xIGFuZCBhbSB0cnlpbmcgdG8gZ2V0IHRoZSBzY3JlZW4gc2F2ZXIgdG8gd29yay4gDQo+IEFm dGVyIHNlYXJjaGluZywgSSBjYW1lIGFjcm9zcyB0aGUgZm9sbG93aW5nOiBzYXZlcl9lbmFibGU9 IllFUyIgDQo+IHNhdmVyPSJkYWVtb24iICAgIGJsYW5rdGltZT0iMzAwIiBlbnRlcmVkIGludG8g dGhlIC9ldGMvcmMuY29uZiBmaWxlIA0KPiBUaGlzIGRvZXMgbm90IHdvcmsuIENvdWxkIGFueW9u ZSBwb2ludCBtZSBpbiB0aGUgY29ycmVjdCBkaXJlY3Rpb24/IA0KPiBUaGFua3MgaW4gYWR2YW5j ZQ0KDQpUaGlzIGp1c3QgY2FtZSB1cCBhIGNvdXBsZSBvZiBkYXlzIGJhY2suIEkgd2lsbCBxdW90 ZSBteXNlbGYgOg0KDQo8PDwNCkdldHRpbmcgdGhlIHNhdmVyIHRvIHdvcmsgaW4gY29uc29sZSBt b2RlIGlzIGRpZmZpY3VsdCBub3dhZGF5cyAtIA0KcGVyaGFwcyBldmVuIGltcG9zc2libGUuDQoN ClRoZSBvbmx5IHdheSB5b3UgY2FuIGdldCBzYXZlciB0byB3b3JrIGluIGNvbnNvbGUgbW9kZSBp cyB0byBhZGQgdGhpcyB0byANCi9ib290L2xvYWRlci5jb25mIGFuZCByZWJvb3QgOg0KDQprZXJu LnZ0eT1zYw0KDQpUaGUgZGVmYXVsdCBjb25zb2xlIGRyaXZlciB1bmRlciAxMS54IGlzIHZ0LiBJ ZiB5b3UgdXNlIHNjLCB5b3VyIHNhdmVyIA0Kd2lsbCBiZWdpbiB0byB3b3JrLCBidXQgdGhlbiBY IHdpbGwgcmVmdXNlIHRvIHN0YXJ0IChoYXBwZW5zIHVuZGVyIA0KMTAuMy8xMS4wKS4gSWYgeW91 IG1hbmFnZSB0byBnZXQgaXQgdG8gd29yayB1bmRlciAxMS4xIC0gZ29vZCBsdWNrICENCiA+Pj4N Cg0KUmVnYXJkcw0KTWFuaXNoIEphaW4NCg== From owner-freebsd-questions@freebsd.org Mon Oct 9 00:54:23 2017 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 57C9BE4452F for ; Mon, 9 Oct 2017 00:54:23 +0000 (UTC) (envelope-from freebsd@theory14.net) Received: from bacon.theory14.net (bacon.theory14.net [45.55.200.27]) by mx1.freebsd.org (Postfix) with ESMTP id 05525801EC for ; Mon, 9 Oct 2017 00:54:22 +0000 (UTC) (envelope-from freebsd@theory14.net) Received: from remote.theory14.net (remote.theory14.net [173.79.116.36]) by bacon.theory14.net (Postfix) with ESMTPSA id 01C2C1260DC; Sun, 8 Oct 2017 20:44:49 -0400 (EDT) Received: from anubis.int.theory14.net (anubis.int.theory14.net [192.168.10.50]) by remote.theory14.net (Postfix) with ESMTPS id B43B6949B; Sun, 8 Oct 2017 20:44:48 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: unbound trust-anchor From: Chris Gordon In-Reply-To: <59DABE19.2070704@gmail.com> Date: Sun, 8 Oct 2017 20:44:48 -0400 Cc: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <7E539C26-2B8C-4647-9A70-EE2D330EB7D7@theory14.net> References: <59DABE19.2070704@gmail.com> To: Ernie Luzar X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 00:54:23 -0000 > On Oct 8, 2017, at 8:08 PM, Ernie Luzar wrote: >=20 > If I comprehend the unbound-anchor man page correctly, at unbound = start time a trust-anchor is fetched from a unbound website. This is = required for dnssec. Is this really necessary. I do not like any = software application to be dialing home. Way to easy for that website to = become compromised and bad things happen to my host. This function is to get the trust anchors for DNSsec validation. If you = don=E2=80=99t want to use DNSsec, then you don=E2=80=99t need them. If = you=E2=80=99re going to disable this then be sure you do NOT have DNSsec = validation enabled in your configuration. For those that want to do DNSsec validation, this automatic anchor = retrieval is very nice. In fact ICANN just announced delaying rolling = over the root zone KSKs since there were too many resolvers that had not = updated their trust anchors and they didn=E2=80=99t want all of those = DNS resolvers to suddenly stop working. The default site where the file is pulled is data.inana.org. This is = not a site associated with unbound but with IANA. I understand and = agree with your desire to minimize where your machine(s) pull data, but = for me having working DNSsec validation out weights the risks of getting = a =E2=80=9Ccompromised=E2=80=9D trust anchor. Note that if you have a = compromised/corrupt trust anchor, DNSsec validation will fail and DNS = wouldn=E2=80=99t work for you. Though DNS not working would be a very = =E2=80=9Cbad=E2=80=9D thing, it would be quick to diagnose and fix. > Can unbound function without this dial home feature? > How would I go about disabling it. Take a look at /usr/local/etc/rc.d/unbound. You could just modify this = and then make sure you don=E2=80=99t have validation enabled in = unbound.conf. Chris= From owner-freebsd-questions@freebsd.org Mon Oct 9 03:10:19 2017 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 C21EBE46667 for ; Mon, 9 Oct 2017 03:10:19 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9040A7D812 for ; Mon, 9 Oct 2017 03:10:19 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sun, 8 Oct 2017 20:10:12 -0700 From: David Christensen Subject: Re: Static IP Addresses To: freebsd-questions@freebsd.org References: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> <5c8f65ba-7d76-ccea-28f5-0d9cb7af9300@holgerdanske.com> <5ADA2DB6-BD27-4AB1-861F-EA70C9174ACD@lafn.org> Message-ID: Date: Sun, 8 Oct 2017 20:10:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <5ADA2DB6-BD27-4AB1-861F-EA70C9174ACD@lafn.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 03:10:19 -0000 On 10/08/17 12:15, Doug Hardie wrote: >> On Oct 8, 2017, at 11:02, David Christensen >> >>> On 10/08/17 01:37, Doug Hardie wrote: I have a remote backup >>> machine that is on a dynamic IP address allocation. The address >>> doesn't seem to change very often. However, after a few days >>> from a boot, the static aliases on the LAN vanish. Since I only >>> have very infrequent access to it I can't say for sure what >>> happened. The logs seem to indicate that the interface went >>> down and then came back up. However, some of the static aliases >>> were gone. This is a bit of a guess as to when it happened. I >>> have dhclient.conf set with entries like: alias { interface >>> "bge0"; fixed-address 192.168.0.205; option subnet-mask >>> 255.255.255.255; } I understood from the man pages that was the >>> way to have dhclient add in the static addresses if it changed >>> anything. Is there something more that I should have done? >> >> When building a computer, I normally have the installer create the >> DHCP client stuff and then I create fixed leases on the DHCP >> server. > > Neat approach. However, in this case, it would raise the cost of > the internet connection and since its not mine, I don’t have that > luxury. Please reply to list. Please configure your mail client to not include e-mail addresses. I have a SOHO LAN and my connection to the Internet is via a modem/ firewall/ router appliance provided by telephone company (AT&T). The firewall/ router functions are fairly limited, and I wonder about its security. So, I put a second NIC into an old computer run a pfSense: https://www.pfsense.org/ pfSense rocks. :-) David From owner-freebsd-questions@freebsd.org Mon Oct 9 07:28:47 2017 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 AF055E27F72 for ; Mon, 9 Oct 2017 07:28:47 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (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 C87906F7C7 for ; Mon, 9 Oct 2017 07:28:46 +0000 (UTC) (envelope-from igorr@pochta-mx.canmos.ru) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 9FA2C2DBBC22; Mon, 9 Oct 2017 10:28:31 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by pochta-mx.canmos.ru (Postfix) with ESMTPS; Mon, 9 Oct 2017 10:28:31 +0300 (MSK) Date: Mon, 9 Oct 2017 10:28:31 +0300 (MSK) From: "Igor V. Ruzanov" X-X-Sender: igorr@pochta.canmos.ru To: Chris Gordon cc: Ernie Luzar , "freebsd-questions@freebsd.org" Subject: Re: unbound trust-anchor In-Reply-To: <7E539C26-2B8C-4647-9A70-EE2D330EB7D7@theory14.net> Message-ID: References: <59DABE19.2070704@gmail.com> <7E539C26-2B8C-4647-9A70-EE2D330EB7D7@theory14.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-GPG-PUBLIC-KEY: 1024D/F433BDD5 2009-06-17 Igor V. Ruzanov X-GPG-FINGERPRINT: 5030 C793 4238 FAFF 827F 0E99 FDCE 63DD F433 BDD5 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 07:28:47 -0000 On Sun, 8 Oct 2017, Chris Gordon wrote: | |> On Oct 8, 2017, at 8:08 PM, Ernie Luzar wrote: |> |> If I comprehend the unbound-anchor man page correctly, at unbound start time a trust-anchor is fetched from a unbound website. This is required for dnssec. Is this really necessary. I do not like any software application to be dialing home. Way to easy for that website to become compromised and bad things happen to my host. | |This function is to get the trust anchors for DNSsec validation. If you don’t want to use DNSsec, then you don’t need them. If you’re going to disable this then be sure you do NOT have DNSsec validation enabled in your configuration. | |For those that want to do DNSsec validation, this automatic anchor retrieval is very nice. In fact ICANN just announced delaying rolling over the root zone KSKs since there were too many resolvers that had not updated their trust anchors and they didn’t want all of those DNS resolvers to suddenly stop working. Totally agree with Chris. This is hot example of the resolver that "don’t want to use DNSsec" for some non-objective reasons ;) In general DNSSEC introduction is very similar to "slow start" of ISDN technology meny years ago: "It Still Does Nothing" | |The default site where the file is pulled is data.inana.org. This is not a site associated with unbound but with IANA. I understand and agree with your desire to minimize where your machine(s) pull data, but for me having working DNSsec validation out weights the risks of getting a “compromised” trust anchor. Note that if you have a compromised/corrupt trust anchor, DNSsec validation will fail and DNS wouldn’t work for you. Though DNS not working would be a very “bad” thing, it would be quick to diagnose and fix. | |> Can unbound function without this dial home feature? |> How would I go about disabling it. | |Take a look at /usr/local/etc/rc.d/unbound. You could just modify this and then make sure you don’t have validation enabled in unbound.conf. | |Chris |_______________________________________________ |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 Mon Oct 9 08:24:11 2017 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 81D7BE2915E for ; Mon, 9 Oct 2017 08:24:11 +0000 (UTC) (envelope-from mike@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk (outmx-028.london.gridhost.co.uk [95.142.156.253]) (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 DAA877F9A7 for ; Mon, 9 Oct 2017 08:24:09 +0000 (UTC) (envelope-from mike@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 62F4E21E15721 for ; Mon, 9 Oct 2017 09:17:07 +0100 (BST) Received: from [192.168.1.13] (helo=milibyte.co.uk) by curlew.milibyte.co.uk with esmtp (Exim 4.89) (envelope-from ) id 1e1TM0-0000jQ-Oc for freebsd-questions@freebsd.org; Mon, 09 Oct 2017 09:24:00 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 09 Oct 2017 09:24 +0100 Message-ID: <1920706.4AQDsyKOQm@curlew.lan> User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: <59DABB98.6040009@gmail.com> References: <59DA19E8.5000602@gmail.com> <259de481-2286-589f-ae18-8922d473813e@mgm51.com> <59DABB98.6040009@gmail.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: mike@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: forcing new dynamic ip address X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 08:24:11 -0000 On Sunday 08 Oct 2017 19:58:16 Ernie Luzar wrote: > Thank you. This is the solution I was looking for. I tested it and it > works. But I have to first cycle the cable modem's power off/on to > signal the isp network that new hardware is being used and prepare to do > dhcp function. Could you set up a cron job to telnet into your router and issue the commands to disconnect and reconnect to the WAN. -- Mike Clarke From owner-freebsd-questions@freebsd.org Mon Oct 9 11:50:25 2017 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 169ADE2DD3B for ; Mon, 9 Oct 2017 11:50:25 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 6120A6824A for ; Mon, 9 Oct 2017 11:50:24 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x234.google.com with SMTP id 97so8548669iok.7 for ; Mon, 09 Oct 2017 04:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=nQF3Enq6mJ9R03g3K0WJ8B4XVYPHJzaShdVN4o9t2wU=; b=j1OCVOYBRAE+LC0vDa80pDuxD9EbPzqhbS6tTRbljfbKHNy4vQ8q+u4v6cYUVMkdvc l4W1vozKQDdonxMq2lNSE85qP+NEJJERaXkzVHJ7KJOl1x4B5RdvahdcLrmUK3St10dN 3ze0l8rBJe3QklMSfq5lclJnniOUuN14ZCObVU8tYit1cGJAYAwUm106X5es+HRxfGMz 8/trZTeBp4d4/lKwmmICWdkJeeMPFcu54E3j4Yw2BtG6oPZDxA4SmlzlLw/3BvedMAUq Dsmiyn6QB0D9gMmybadxvSO0g6aOmOURYKm7jW1kz6MV+xBBgIGhHOKRImu8UHS7xfy0 aTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=nQF3Enq6mJ9R03g3K0WJ8B4XVYPHJzaShdVN4o9t2wU=; b=g+6ZONYFBDZtQ1PVoEmf6O3gp2eG2frnDL9by9eHQd06rpvEp4q9boX5aFMBSjTPlC ApWYThy0YrGsV0ytU18Hn2gLU/DpxXzezLjAxAGvIn+L52Prnq1zL9n1/9OPj14YVwpK VJBu2yyh9/UoqllZDjyIrnOrXxwDczrphAJz1QmLoLlcxythCPWjGUv9UgjCuAPyJF9v zxzywvO4/MZCG9XRGhYlHh07fZzAnAJ/FIxY+jodk1nWrpg9zL4CHbr86v6upUSaqVyu U0xygCwS8vvTyeQ/6jFaVGGl7ANN73SbfuLGAZzeJH2Tf+2JJMVQYehV8WyvZwJnVnxA JAbQ== X-Gm-Message-State: AMCzsaWqj+Aa9rAfIYriUGSlQs7SwreMEe5Rm4jnwyeKHN9DMzkyMGl1 JrUbO6BthlIdw00PxQrMJzVT/A== X-Google-Smtp-Source: AOwi7QAS3PAVCOrM+5+SksF2kLCr15JZdm/Duij45t5tF/dOEsxWQxhtRZ1ssiWwMjRdboVJR2jPig== X-Received: by 10.107.171.7 with SMTP id u7mr11437958ioe.21.1507549823795; Mon, 09 Oct 2017 04:50:23 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-192.neo.res.rr.com. [65.25.55.192]) by smtp.googlemail.com with ESMTPSA id n4sm3665160ioe.71.2017.10.09.04.50.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 04:50:23 -0700 (PDT) Message-ID: <59DB627C.4030409@gmail.com> Date: Mon, 09 Oct 2017 07:50:20 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Mike Clarke CC: freebsd-questions@freebsd.org Subject: Re: forcing new dynamic ip address References: <59DA19E8.5000602@gmail.com> <259de481-2286-589f-ae18-8922d473813e@mgm51.com> <59DABB98.6040009@gmail.com> <1920706.4AQDsyKOQm@curlew.lan> In-Reply-To: <1920706.4AQDsyKOQm@curlew.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 11:50:25 -0000 Mike Clarke wrote: > On Sunday 08 Oct 2017 19:58:16 Ernie Luzar wrote: >> Thank you. This is the solution I was looking for. I tested it and it >> works. But I have to first cycle the cable modem's power off/on to >> signal the isp network that new hardware is being used and > prepare to do >> dhcp function. > > Could you set up a cron job to telnet into your router and issue the > commands to disconnect and reconnect to the WAN. > There is no router between freebsd host and internet. From owner-freebsd-questions@freebsd.org Mon Oct 9 12:20:10 2017 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 EE950E2EDA3 for ; Mon, 9 Oct 2017 12:20:10 +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 8A5FA6F2CE for ; Mon, 9 Oct 2017 12:20:10 +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 v99CK3kv000879 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 9 Oct 2017 06:20:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v99CK3ia000860; Mon, 9 Oct 2017 06:20:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 9 Oct 2017 06:20:03 -0600 (MDT) From: Warren Block To: Paul Schmehl cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Scripting problem In-Reply-To: <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> Message-ID: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Mon, 09 Oct 2017 06:20:04 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 12:20:11 -0000 On Sun, 8 Oct 2017, Paul Schmehl wrote: > --On October 8, 2017 at 10:00:17 AM +0200 Polytropon > wrote: >> >> Now -s will receive "Foo Bar Baz" (without the quotes). Use double >> quotes because you want shell expansion / variable evaluation. >> >> It's not mutt's fault. :-) > > I've considered myself a journeyman in FreeBSD, having used it for about > twenty years now. I guess I need to go back to being an apprentice. I > obviously don't understand how the shell works yet. > > Oh well, you're never too old to learn. Quoting is sh's biggest weakness. Well, that and lack of basic data structures, and the weak logical structures, and so on. Someone once said that if a script is longer than twenty lines or so, it probably ought to be done in a real scripting langugage. That was me, but Stephen Bourne has also said it. Yes, that Stephen Bourne. From owner-freebsd-questions@freebsd.org Mon Oct 9 12:46:48 2017 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 37CB5E2FA8F for ; Mon, 9 Oct 2017 12:46:48 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic305-21.consmr.mail.ne1.yahoo.com (sonic305-21.consmr.mail.ne1.yahoo.com [66.163.185.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 035E374F42 for ; Mon, 9 Oct 2017 12:46:47 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-YMail-OSG: 0EeKTToVM1lAStTfp9CBfFux.blM8ZmVvzlqq.t1l9G0.0dyDIdZ6n3NckkMWyV MQuxvTmRMvzQgZK6ITbvbQXUAfZBpb_ULxEfKMD8gXZPk8n3wWNqyrXs0mzdt3ehOK2jaOhHwT4V bvM8zCRYjWQtw5QaWqTJgYWjR8zJ1.o1TIH8N0WApYCgPs_L4E7j_d1VcIrmN2sspk_qMeAxM7Cl nzCYpzdWktV7yZiiKYGzwL8a5mESRhIxPbeVbBkN.q1iTZgu8VuOANnPZBBgR79j0eLg18WsZcGl czApTm6NaqXjZnHSVxHwEESLJClLAgGJNxrYUIww5jJUsPZIpzOJgSucNwSr6_EnFqaE2ydWmC5B wH8pdAfyfUfnQ3c3XsPKsT1.8Dids1aD8qwMh8aEUsxUL31E2FINYboShGrAqJdYjlEAC6gjJpL1 PUf.kL4NrT7jRCv44a0fz0oEqm4gf0qZtebVFQJ2jAiE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Mon, 9 Oct 2017 12:46:41 +0000 Date: Mon, 9 Oct 2017 12:46:36 +0000 (UTC) From: Paul Pathiakis Reply-To: Paul Pathiakis To: Warren Block , Paul Schmehl Cc: Polytropon , "freebsd-questions@freebsd.org" Message-ID: <1984508980.4145408.1507553196491@mail.yahoo.com> In-Reply-To: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> Subject: Re: Scripting problem MIME-Version: 1.0 X-Mailer: WebService/1.1.10668 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 12:46:48 -0000 =20 Quoting is sh's biggest weakness.=C2=A0 Well, that and lack of basic data= =20 structures, and the weak logical structures, and so on. ### Well, yes and no.=C2=A0 I consider it both a strength and a weakness. I= find sh to be exactly what I think of a scripting language to be... glue.= =C2=A0 I don't expect to write a fully versed program in sh.=C2=A0 I wouldn= 't be using sh for that.=C2=A0 I find sh to be that 'tool' to use when I wa= nt to call other tools and utilities.=C2=A0 (sed, awk, tr, etc)=C2=A0 ### I think people have gone way too far in creating 'scripting' languages = that are more programming languages than scripting.... Personally, I tried = learning PERL which tries to be everything to regex.=C2=A0 The problem?=C2= =A0 Lack of coherence... "I can do this 5 different ways in PERL"=C2=A0 Is = that supposed to be a good thing when all five seem to execute at different= speeds, using different resources, etc? (apologies to Larry Wall and the r= est) ### Again, this comes back to "Cathedral and Bazaar".... just because you c= an deviate from proven practices and procedures to do something 'creative' = or 'different'=C2=A0 is not necessarily a good thing.=C2=A0 In fact, it can= be a detriment.=C2=A0 Bourne shell continues to live a very healthy life.= =C2=A0 PERL seems to be dying and there's a huge amount of code around writ= ten by people who didn't know the reasons behind using one tool or another = and really didn't understand software engineering, how to write a proper pr= ogram, execution times, etc.=C2=A0 (Everyone I come in contact with... I pr= each 'portability'.=C2=A0 Sh runs everywhere and is POSIX.=C2=A0 BASH is a = superset and using it's extended features can make it non-portable and BASH= is not the default everywhere.=C2=A0 If I take a Bash script and try to ru= n it under sh... it breaks most of the time.=C2=A0 I have only had 1-2 time= s where a bourne shell would not run under BASH. Someone once said that if a script is longer than twenty lines or so, it=20 probably ought to be done in a real scripting langugage.=C2=A0 That was me,= =20 but Stephen Bourne has also said it.=C2=A0 Yes, that Stephen Bourne. ### I'll go off a little on this with kind of a corollary....=C2=A0 No sh s= cript should be more than 20 lines, however, I typically will call shell sc= ripts from other scripts.=C2=A0 But I do agree, if you want to program, use= a programming language.=C2=A0 (IMHO, C is still the best, most powerful la= nguage around but, again, read a book, talk to the people who are in the kn= ow - My 'C' guru is a guy who has written code that utterly shocked me in i= ts elegance, execution, and simplicity - and the occasional "You can do som= ething like that in C?" thoughts running through my head.) #### and, again, this is just my very humble opinion.=C2=A0 I'm not a great= programmer, but I know a little C and sh.... _______________________________________________ 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= " =20 From owner-freebsd-questions@freebsd.org Mon Oct 9 13:44:51 2017 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 08CF6E30B45 for ; Mon, 9 Oct 2017 13:44:51 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout0702.bt.lon5.cpcloud.co.uk (rgout0702.bt.lon5.cpcloud.co.uk [65.20.0.142]) by mx1.freebsd.org (Postfix) with ESMTP id E62DF1546 for ; Mon, 9 Oct 2017 13:44:49 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com X-Junkmail-Premium-Raw: score=8/50, refid=2.7.2:2017.10.9.131816:17:8.129, ip=, rules=__HAS_MSGID, __SANE_MSGID, __HAS_FROM, __FRAUD_WEBMAIL_FROM, __TO_MALFORMED_2, __TO_NO_NAME, DATE_TZ_NA, __CT, __CTYPE_MULTIPART_ALT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __HAS_X_MAILER, __MIME_VERSION, MIME_LOWER_CASE, __MIME_TEXT_P2, __MIME_TEXT_H2, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __HAS_HTML, HTML_NO_HTTP, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML, __TAG_EXISTS_HTML, __RATWARE_SIGNATURE_3_N1, __SXL_SIG_TIMEOUT[05a8dbb5854cf6a75464f37fffff665f.sig.cal1.sophosxl.com], BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, __MIME_TEXT_H, __MIME_TEXT_P, NO_URI_HTTPS, BODY_SIZE_7000_LESS Received: from minerva (207.242.201.20) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 598528DE0661F77F for freebsd-questions@freebsd.org; Mon, 9 Oct 2017 14:38:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507556690; bh=7/XTI+UY5OTAnNC83EPB/oFIFkvTnHOcG9+ASxNkEr0=; h=Message-ID:Subject:From:To:Date:X-Mailer:Mime-Version; b=RhKrPwgv2YNEMLmA0pjiB6PQiKeS0UL4BTdy4SpWtAf6VNn1F5uHq/olU+sJnRck/3DJcLy/XyuWhwLcLuyxgkoQWgQWzjnrR/5EllwoxbyU//qaLjFIeg8eP7TqYG/XtK/TaommleoapjWLofixg4cgYB4h7L/8tEEb0nqf1i8= Message-ID: <1507556303.29148.15.camel@btinternet.com> Subject: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 From: James Geering To: freebsd-questions@freebsd.org Date: Mon, 09 Oct 2017 09:38:23 -0400 X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 13:44:51 -0000 Hi All, I have just noticed that WindowMaker 0.95.8 has been released in the freshports site; previously I was incorrectly trying to build this myself from the windowmaker site. So now I see I'm able to utilise the binary package manager directly. freeBSD Version 11.1-release #0 r321309 amd64. WindowMaker 0.95.7. When I run "pkg version -vL=" the output does indeed show that windowmaker-0.95.7_5 requires updating to 0.95.8, however, when I try and run "pkg upgrade windowmaker" it reports that it I already have the latest version. I also perform a "portsnap fetch update" but this did not change. the outcome. What am I missing here please? - it seems like these steps should work. Many thanks, James From owner-freebsd-questions@freebsd.org Mon Oct 9 14:18:06 2017 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 4081EE31522 for ; Mon, 9 Oct 2017 14:18:06 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 55FFF68378 for ; Mon, 9 Oct 2017 14:18:05 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x230.google.com with SMTP id i124so22875636wmf.3 for ; Mon, 09 Oct 2017 07:18:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3SEuZFlQGuCMPw9S6s+6qBH+HBQjYLhnjLtdEsMV/UQ=; b=UqW+V/Dgnoydqyvi93Xrlc7mBPNfjkTIxwh7bIp3/AoBPfk5ZQumzD03+P6VYJx7+1 iGN/yt4iZE2RfX/1DTZdJ5ca4UkYhkZS9zoxu+qRQzNHtsDBNw/rUvSFBB5h1qaHntgM hLVVThbZNqi7jSNxlroQ0r/TGZuEufR3P8fKxCyCfej1hxgKnWunVvR7Ss75uiPvm4Ms VT3b1IdERYKZIc4P3vRpia52ZQPhARd/58q3z/3cprTthTAe3Je3cp5f2XWWY2vE3Y3D emQFAOv0HxRffAgMqwvfJduCgf4dFBvzhjdOaFS7kpjMxr9R8zXnq2g5l41CBLEClEsN v32A== X-Gm-Message-State: AMCzsaUHYF1KN74yxryY9ewmn+pz0661jrIc2gxl2/AizNU9yqJhH/fp l6uJ7fV+xnIMXKQhT6YlkhVgyQ== X-Google-Smtp-Source: AOwi7QAIeXnbdfV4X+lMzB0sNEYCt1T8ZkckQpWv6f53ZTlhA1yQiCp9FmkLoqAqJ7eKx4GwNX9b2A== X-Received: by 10.80.145.148 with SMTP id g20mr3003852eda.140.1507558683281; Mon, 09 Oct 2017 07:18:03 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id h56sm10155202ede.15.2017.10.09.07.18.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 07:18:02 -0700 (PDT) Date: Mon, 9 Oct 2017 15:17:51 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-ID: <20171009151751.3800f84c@gumby.homeunix.com> In-Reply-To: <1984508980.4145408.1507553196491@mail.yahoo.com> References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> <1984508980.4145408.1507553196491@mail.yahoo.com> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 14:18:06 -0000 On Mon, 9 Oct 2017 12:46:36 +0000 (UTC) Paul Pathiakis via freebsd-questions wrote: > =20 > I find sh to be that 'tool' to use > when I want to call other tools and utilities.=C2=A0 (sed, awk, tr, etc) > ### I think people have gone way too far in creating 'scripting' > languages that are more programming languages than scripting.... > Personally, I tried learning PERL which tries to be everything to > regex.=C2=A0 The problem?=C2=A0 Lack of coherence... "I can do this 5 dif= ferent > ways in PERL"=C2=A0 Is that supposed to be a good thing when all five seem > to execute at different speeds, using different resources, etc? The same is true of shell scripting, and my understanding is that perl was designed to reproduce this for the benefit of experienced shell scripters.=20 From owner-freebsd-questions@freebsd.org Mon Oct 9 14:29:16 2017 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 6FACDE3182F for ; Mon, 9 Oct 2017 14:29:16 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud7.xs4all.net (lb3-smtp-cloud7.xs4all.net [194.109.24.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C76FF6AE1F for ; Mon, 9 Oct 2017 14:29:15 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud7.xs4all.net with ESMTP id 1Z2Ke45FcVNbY1Z2LeMikj; Mon, 09 Oct 2017 16:28:05 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v99ES3a2066000 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 9 Oct 2017 16:28:03 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Mon, 9 Oct 2017 16:28:03 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: James Geering cc: freebsd-questions@freebsd.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 In-Reply-To: <1507556303.29148.15.camel@btinternet.com> Message-ID: References: <1507556303.29148.15.camel@btinternet.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfJD7zFgeH0zLOjn6F4NJHbRJxrRewITyWpkoCmpdGumrxodf8qvQz4af6gDJ1TyS+8c8pzJT8bLa2tZJnlzAhXhFQei46yH3Edl6pI9n4J8zog+WgywH 5m+CWkgcM6iFETsNcm5PWPNrnyCO4LrcbS5g/AdDn4jqPlvGHClo3k4lCm0q3JrWyCgZfn78nDafMnCEAZVKN2sb84DOYIaYEVc= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 14:29:16 -0000 On Mon, 9 Oct 2017, the wise James Geering wrote: > Hi All, I have just noticed that WindowMaker 0.95.8 has been released in > the freshports site; previously I was incorrectly trying to build this > myself from the windowmaker site. So now I see I'm able to utilise the > binary package manager directly. > > freeBSD Version 11.1-release #0 r321309 amd64. WindowMaker 0.95.7. > > When I run "pkg version -vL=" the output does indeed show that > windowmaker-0.95.7_5 requires updating to 0.95.8, however, when I try > and run "pkg upgrade windowmaker" it reports that it I already have the > latest version. I also perform a "portsnap fetch update" but this did > not change. the outcome. What am I missing here please? - it seems like > these steps should work. Many thanks, James The x11-wm/windowmaker port has been updated, but the pkg isn't available yet. If I'm correct, the pkg repository is updated every 3 months, so it would be available in Q4. If you want to use windowmaker 0.95.8 now, best thing to do is use the port. Regards, Marco -- Aim for the moon. If you miss, you may hit a star. -- W. Clement Stone From owner-freebsd-questions@freebsd.org Mon Oct 9 14:29:50 2017 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 CE7DAE3187F for ; Mon, 9 Oct 2017 14:29:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B2396AFA8 for ; Mon, 9 Oct 2017 14:29:50 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B80175FF7 for ; Mon, 9 Oct 2017 14:29:46 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 To: freebsd-questions@freebsd.org References: <1507556303.29148.15.camel@btinternet.com> From: Matthew Seaman Message-ID: Date: Mon, 9 Oct 2017 15:29:37 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507556303.29148.15.camel@btinternet.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 14:29:51 -0000 On 09/10/2017 14:38, James Geering wrote: > When I run "pkg version -vL=" the output does indeed > show that windowmaker-0.95.7_5 requires updating to 0.95.8, > however, when I try and run "pkg upgrade windowmaker" it reports > that it I already have the latest version. > I also perform a "portsnap fetch update" but this did not change. > the outcome. > What am I missing here please? - it seems like these steps should work. Try: pkg version -vR= which will look for available updates from the packages in the repository catalogue. It is possible for an update to the ports to take a few days before it appears as a compiled package. In which case, just wait for a day or so, and then try again. Also, check whether you are using the *latest* package set, rather than the default *quarterly* package set -- the Windowmaker update won't be merged into the quarterly packages before next January unless there's some security vulnerability affecting it. portsnap will get you a copy of the ports /sources/ which is a separate thing from installing a package from the FreeBSD repositories. Pkgs are built out of ports, but having the ports sources on your system does not automatically do anything useful for you unless you intend to start building your own packages. Cheers, Matthew From owner-freebsd-questions@freebsd.org Mon Oct 9 14:33:44 2017 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 348C1E31B7E for ; Mon, 9 Oct 2017 14:33:44 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CA6506C086 for ; Mon, 9 Oct 2017 14:33:43 +0000 (UTC) (envelope-from vivek@khera.org) Received: by mailman.ysv.freebsd.org (Postfix) id BB55CE31B7D; Mon, 9 Oct 2017 14:33:43 +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 BADFAE31B7C for ; Mon, 9 Oct 2017 14:33:43 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 2E6D86C07A for ; Mon, 9 Oct 2017 14:33:43 +0000 (UTC) (envelope-from vivek@khera.org) Received: by mail-wm0-x22f.google.com with SMTP id q132so24065387wmd.2 for ; Mon, 09 Oct 2017 07:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khera.org; s=google11; h=mime-version:from:date:message-id:subject:to; bh=uKZPAT8cNHm33WyiDa2zeQjUrTASfOPCfrOKFRSGcKQ=; b=Jjjk3REIB4cBhRREMVrBlQE1rY+4LN7Z3iLxrGNlHf0Ger2LMweRY9DMyrJZVinX0L XePMX9pJ/6XcuOdLYhD4WiokeoRI2wXetmcl5i9C8DQriKDD8eS9TNL5eMa9JvaV9CbF S+UPUM+Kq9oDbNUcw296/Zpcq8kMdZTBox51A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uKZPAT8cNHm33WyiDa2zeQjUrTASfOPCfrOKFRSGcKQ=; b=pzKTz9SmWNUIfCQUbgelVUT7uY7s7sbcAHZihGj7iVvU3ZZ5hkH4oeK9SP2Bx3W27C EPsaav8gIN+niveuLjscTuVptKaRL5SOahRc/+Bo1bv67ANp6Ie/Ux3qV410UWMBur73 cszEnR3BzWDvGBoscchRN/7THq5s7KGXgpylnIYIPrL/ixG8BAJojUONbdP2X4Yab7Su /MT1/Ce8+YiQ4yU1Q0jjGOl4uADsy5QqU28YOdUwt0FUxf3/YlsFG4cIjCghCVHf3Cl/ 9Fjzt02LBs/IEaxhlhPP+VjfdcBTyTKKfHQBN6kk/XTVNhoMZJ3TXbGQEFXstgnk7lWL SrBg== X-Gm-Message-State: AMCzsaV7ESYQCEBBKaW4UWIEhh/GFhkoxVozI22yy8swYzhsblCPWJpM xG9/uOcHTPWwnYq6Gt4AWvA2hGyNOI2wqSUxs/mErA== X-Google-Smtp-Source: AOwi7QAJjnD0q5O8EAHpX5ZgJf6i8y008gqjiMkhGg4VgFW0H7pzgswOBP+UGc1cOk5Ql0UFI/rkBTUujda/ImJUb0k= X-Received: by 10.28.212.210 with SMTP id l201mr7745265wmg.98.1507559620976; Mon, 09 Oct 2017 07:33:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.137.212 with HTTP; Mon, 9 Oct 2017 07:33:40 -0700 (PDT) From: Vick Khera Date: Mon, 9 Oct 2017 10:33:40 -0400 Message-ID: Subject: freebsd-update not updating /usr/src/UPDATING To: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 14:33:44 -0000 For many years now, I've been managing my FreeBSD servers right from source (since 4.11 days). I'm now re-booting the way I manage my server since I now only have one to worry about instead of dozens, and I want to do it using binary updates and packages for everything. I do still want up-to-date source tree for reference and to build a customized kernel. To that end, I'm using freebsd-update to manage the binary and source components. It appears that my source tree is updated, however the UPDATING file itself is not updated. I checked the /var/db/freebsd-update contents and I do not see any reference to patching this file. Is that an oversight or is that just not expected to get patched? As it stands right now, my source tree is for 11.1-p1 but the UPDATING file has no notes on it. This seems inconsistent to me. From owner-freebsd-questions@freebsd.org Mon Oct 9 14:48:42 2017 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 1B5BFE322F0 for ; Mon, 9 Oct 2017 14:48:42 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::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 C96B06F423 for ; Mon, 9 Oct 2017 14:48:41 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id g18so13201148itg.5 for ; Mon, 09 Oct 2017 07:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=RWkLRdiNsbGu782bHmynetgydHoA0eUjQDRZ+rAvzyc=; b=udKINg1CvnST8UnqzAzuS1zavJCNIMByg3JpJRXG2j4Ljm1A1UlLFKT7vHsSuCGN7b 3wOvqCv52h48k43lvC9uNHWFdzPeMMXh28FR53Zcy5sBnVZkCdvQfDbCCClvoyVAxFXO HZfjiCfm/rBNe9xM9Tll8OyBjP6dIVge+BFCwl8gIqQToYbWwISVgbfXVUHPPBokGiT/ Nl0td24QMlog/034I78yptU9YIsBIfPRNtSdGIR9A/30MZg6p/FsmCXFHBWMhCykIa+r jTakKdaSlYJeVVqOGtYxd3Cc5aR+mx3Q97ihZotFTZEGfppre32jWCG8Z+v46t3+96Fm 78MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=RWkLRdiNsbGu782bHmynetgydHoA0eUjQDRZ+rAvzyc=; b=IyduTbvObkKPtnogSiTTVcr7C5oDXz8kVv6Wfqh+DOEQWkzGcetQa7H0Z2vMUZS9o9 UQQxe+aBGx49y8lnoNispI5iZDadSzZ8z875coGl07GTKpYEsRSiWMrACKsmW+NzyIzC BYVlLiKSITM7VNvUk7c0BK5QccJP5psE2S6kdn7ulbBNlRKXnsBJMHfJMqHaoOZVbdvW QzESUeWtRdOqIiwVcrRVUwWJmZml/9GA4zQGYu+56/GruPKMU1fdIxxf/d8UBcHmwgQu FKD/noN89aCAN5V/y0JsLVZY4NtVVjd2RRzDVY64zOQtmGqb0y2QoWfTerMWd1Nuz5+w 1z/g== X-Gm-Message-State: AMCzsaUh2TYS12aQu7tMS013eDmVWcTPVwj2khIugTzdl+z6CKMonbKX uSNkh0k279p7AqDuGyksSwYbeQ== X-Google-Smtp-Source: AOwi7QCjAsZiirbrA9NW9dsLiJ5yxKApjg30TtbRRqgI3PBt8Pnj3/fMJiHXoo2Ta/y7qMI20yavVw== X-Received: by 10.36.69.100 with SMTP id y97mr14380823ita.50.1507560520990; Mon, 09 Oct 2017 07:48:40 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-192.neo.res.rr.com. [65.25.55.192]) by smtp.googlemail.com with ESMTPSA id w132sm4013578itf.4.2017.10.09.07.48.40 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 07:48:40 -0700 (PDT) Message-ID: <59DB8C43.8070405@gmail.com> Date: Mon, 09 Oct 2017 10:48:35 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "Igor V. Ruzanov" CC: Chris Gordon , "freebsd-questions@freebsd.org" Subject: Re: unbound trust-anchor References: <59DABE19.2070704@gmail.com> <7E539C26-2B8C-4647-9A70-EE2D330EB7D7@theory14.net> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 14:48:42 -0000 Igor V. Ruzanov wrote: > On Sun, 8 Oct 2017, Chris Gordon wrote: > > | > |> On Oct 8, 2017, at 8:08 PM, Ernie Luzar wrote: > |> > |> If I comprehend the unbound-anchor man page correctly, at unbound start time a trust-anchor is fetched from a unbound website. This is required for dnssec. Is this really necessary. I do not like any software application to be dialing home. Way to easy for that website to become compromised and bad things happen to my host. > | > |This function is to get the trust anchors for DNSsec validation. If you don’t want to use DNSsec, then you don’t need them. If you’re going to disable this then be sure you do NOT have DNSsec validation enabled in your configuration. Is the unbound.conf auto-trust-anchor-file parameter the parameter needed to enable trust anchors and if it's missing disables trust anchors? I do not have a auto-trust-anchor-file parameter in my unbound.conf file. > | > |For those that want to do DNSsec validation, this automatic anchor retrieval is very nice. In fact ICANN just announced delaying rolling over the root zone KSKs since there were too many resolvers that had not updated their trust anchors and they didn’t want all of those DNS resolvers to suddenly stop working. > > Totally agree with Chris. This is hot example of the resolver that "don’t > want to use DNSsec" for some non-objective reasons ;) In general > DNSSEC introduction is very similar to "slow start" of ISDN technology > meny years ago: "It Still Does Nothing" > > | > |The default site where the file is pulled is data.inana.org. This is not a site associated with unbound but with IANA. I understand and agree with your desire to minimize where your machine(s) pull data, but for me having working DNSsec validation out weights the risks of getting a “compromised” trust anchor. Note that if you have a compromised/corrupt trust anchor, DNSsec validation will fail and DNS wouldn’t work for you. Though DNS not working would be a very “bad” thing, it would be quick to diagnose and fix. It's not a question of getting a “compromised” trust anchor. It's the packet conversation being intercepted and continuing after the anchor has completed downloading. This gives the hackers complete access to my box until I reset the firewall internal keep-state tables. The fetch anchor function is an ideal single intrusion point situation offering high gain for penetration effort extended. I have been running Freebsd since release 3.0 with the same ipfilter firewall and have never had any intruders or any thing more that script-kiddies pounding ports 21 22, 23, 25, and 80. All the inbound ports from the public are closed. On the same day I enabled the package version of unbound I started to see failed login attempts to ftp and ssh which is only available to the LAN. I have now through the process of trial & error narrowed the likely candidate to unbound with this fetch anchor function being the target of current investigation. If the symptoms stop after disabling the fetch anchor function, then I will have something to officially report. If the symptoms continue then I will disable and uninstall the unbound port all together as the final test to see if the unbound port itself is compromised. > | > |> Can unbound function without this dial home feature? > |> How would I go about disabling it. > | > |Take a look at /usr/local/etc/rc.d/unbound. You could just modify this and then make sure you don’t have validation enabled in unbound.conf. > | > |Chris Local_unbound and unbound should be pretty much configured the same way. But comparing /usr/local/etc/rc.d/unbound to /etc/rc.d/local_unbound it's very easy to see their completely different. /usr/local/etc/rc.d/unbound should check the unbound.conf file looking for the auto-trust-anchor-file parameter and if there then do the fetch anchor function otherwise skip it. From owner-freebsd-questions@freebsd.org Mon Oct 9 15:15:07 2017 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 48D19E32DBA for ; Mon, 9 Oct 2017 15:15:07 +0000 (UTC) (envelope-from kab00m@lich.phys.spbu.ru) Received: from skeleton.phys.spbu.ru (skeleton.phys.spbu.ru [195.19.241.202]) (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 69AB975693 for ; Mon, 9 Oct 2017 15:15:05 +0000 (UTC) (envelope-from kab00m@lich.phys.spbu.ru) Received: from skeleton.phys.spbu.ru (localhost [127.0.0.1]) by skeleton.phys.spbu.ru (Postfix) with ESMTP id 02A02902B1 for ; Mon, 9 Oct 2017 18:08:15 +0300 (MSK) (envelope-from kab00m@lich.phys.spbu.ru) Received: from laura.ws.pu.ru (laura [172.27.209.137]) by skeleton.phys.spbu.ru (Postfix) with SMTP id B8D1B8FE0C for ; Mon, 9 Oct 2017 18:08:14 +0300 (MSK) (envelope-from kab00m@lich.phys.spbu.ru) Date: Mon, 9 Oct 2017 18:08:14 +0300 From: Dima Veselov To: freebsd-questions@freebsd.org Subject: gif(4) MTU problem Message-ID: <20171009150814.GA29277@laura.ws.pu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: St.Petersburg State University User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 15:15:07 -0000 Greetings! Am here today to share a problem I can't solve by myself. For some reason connections which have 1240(1284) bytes packets are dropped between gif and real (igb) interfaces. The configuration is the following (and it was working before): A net 172.22.22.0/24 | 172.22.22.1 (igb1) FreeBSD host (with pf) 172.22.22.2 (gif0) IPSEC transport mode External IP (igb0) | Internet | External IP (vlan1122) IPSEC transport mode 172.20.27.10 (gif0) NetBSD host (with ipf) 172.20.27.10 (vlan27) | B net 172.20.0.0/16 When host in A try to reach host in B - it freeze and cannot connect. tcpdump says that TCP connection begin and stall when B try to reply with packets of 1240 bytes size. Most of interesting part of the story is that 1240-byte response can be seen from B to gif0 of FreeBSD host, it does not go out on igb1, i.e. on very last piece of direct cable. 17:22:50.109790 AF IPv4 (2), length 224: 172.20.24.187.22 > 172.22.22.60.4219: Flags [P.], seq 1484:1664, ack 645, win 30016, length 180 17:22:50.110272 AF IPv4 (2), length 56: 172.22.22.60.4219 > 172.20.24.187.22: Flags [.], ack 24, win 65512, options [nop,nop,sack 1 {1484:1664}], length 0 17:22:50.320582 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 17:22:50.743342 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 17:22:51.589444 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 17:22:53.281611 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 17:22:56.661635 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 17:23:03.430137 AF IPv4 (2), length 1284: 172.20.24.187.22 > 172.22.22.60.4219: Flags [.], seq 24:1264, ack 645, win 30016, length 1240 B will retry its 1240-byte packet until issuing reset. Even more - when A try to reach B once again - connection establishing and work well until closure, but most big packet will be not more than 1170. Both gif mtu are set to 1280 bytes, real interfaces are 1500. pf has "scrub in all" statement, however i tried with or without it. All other cases like B to A or A to NetBSD or B to FreeBSD work well. Also this servers have other similar gif interfaces and they all work well. Also I don't know why - but both FreeBSD and NetBSD can't set mtu for gif interface lower than 1280 despite of man page telling it should be possible. I totally lost about this problem and would love to get some help. Thanks in advance. -- Sincerely yours From owner-freebsd-questions@freebsd.org Mon Oct 9 15:16:35 2017 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 57402E32E9C for ; Mon, 9 Oct 2017 15:16:35 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout03.bt.lon5.cpcloud.co.uk (rgout0302.bt.lon5.cpcloud.co.uk [65.20.0.208]) by mx1.freebsd.org (Postfix) with ESMTP id 8046F75CE6 for ; Mon, 9 Oct 2017 15:16:33 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva (207.242.201.20) by rgout03.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 58A82A5C18B40794; Mon, 9 Oct 2017 16:16:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507562194; bh=eLUSpsDnG2MmtvkjBdIzNhyPUSRS55VMfY8rCcgcwGg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=ciImo9xX6aduYwMswxNOfDnCoU391lNUQq5GLx/h58rxp4gLPX4LdQbtFdJa6NM1LGQ6PuNl7KtnGVsLIge8cUOT7tcNm2qZZDoN6OacRy6enlINh90bOS0H+yh11yDCH8pDUzPdOtbtypG5kaDJKBp+43pigE5d1MPVtRZLomA= Message-ID: <1507562180.29148.17.camel@btinternet.com> Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 From: James Geering To: Marco Beishuizen Cc: freebsd-questions@freebsd.org Date: Mon, 09 Oct 2017 11:16:20 -0400 In-Reply-To: References: <1507556303.29148.15.camel@btinternet.com> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 15:16:35 -0000 Ah ok thank you, so I think you mean I have to get explicitly the windowmaker port using SVN ? and then build it locally? -----Original Message-----From: Marco Beishuizen Reply-to: Marco Beishuizen To: James Geering Cc: freebsd-questions@freebsd.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 Date: Mon, 9 Oct 2017 16:28:03 +0200 (CEST) On Mon, 9 Oct 2017, the wise James Geering wrote: > Hi All, I have just noticed that WindowMaker 0.95.8 has been released in > the freshports site; previously I was incorrectly trying to build this > myself from the windowmaker site. So now I see I'm able to utilise the > binary package manager directly. > > freeBSD Version 11.1-release #0 r321309 amd64. WindowMaker 0.95.7. > > When I run "pkg version -vL=" the output does indeed show that > windowmaker-0.95.7_5 requires updating to 0.95.8, however, when I try > and run "pkg upgrade windowmaker" it reports that it I already have the > latest version. I also perform a "portsnap fetch update" but this did > not change. the outcome. What am I missing here please? - it seems like > these steps should work. Many thanks, James The x11-wm/windowmaker port has been updated, but the pkg isn't available yet. If I'm correct, the pkg repository is updated every 3 months, so it would be available in Q4. If you want to use windowmaker 0.95.8 now, best thing to do is use the port. Regards, Marco From owner-freebsd-questions@freebsd.org Mon Oct 9 15:36:21 2017 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 0A192E33550 for ; Mon, 9 Oct 2017 15:36:21 +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 9A0377E4DA for ; Mon, 9 Oct 2017 15:36:20 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-188.dsl.bway.net [216.220.115.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 5312A95854 for ; Mon, 9 Oct 2017 11:36:05 -0400 (EDT) Date: Mon, 9 Oct 2017 11:36:04 -0400 From: mfv To: freebsd-questions@freebsd.org Subject: Re: automount usb msdosfs no partition table Message-ID: <20171009113604.3a6d2455@gecko4> In-Reply-To: References: 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 15:36:21 -0000 > On Mon, 2017-10-09 at 01:10 Tomasz CEDRO wrote: > >Hello world :-) > >I need to configure automount for a testing machine. It seems to work >fine, except for two issues: > >1. Mount point does not disappear after device disappears, what makes >things harder to script when device is gone. automount -c does not >remove the mountpoint, only restarting the service does. It is a bug >or feature? > >2. Automounter does not mount USB Pendrive / MSDOSFS devices that does >not have a parition table. Some USB Drives does not have valid >partition table, they appear as /dev/da0 and can be mounted with >mount_msdosfs /dev/da0 /mnt, but they are not recognised by >automounter.. how can I make it work with such devices? > >Any hints appreciated :-) >Tomek > Hello Tomek, The port/package, sysutils/automount, is able to do what you want. It automatically mounts MSDOS or gpart partioned USB thumb drives. Alas, it does not automatically mount CD/DVDs which require command line intervention. My configuration file (/usr/local/etc/automount.conf) differs from the sample as follow: MNTPREFIX=/media USERUMOUNT=YES ATIME=NO REMOVEDIRS=YES USER= NOTIFY=YES A devd configuration file that was installed by pkg was not changed. It is located at /usr/local/etc/devd/automount_devd.conf. My GUI desktop of choice is XFCE4 which has a plugin that recognises automatically mounted devices. It is possible to use this plugin to umount a USB thumb drive OR use the command line in a virtual terminal to umount in the traditional way. Cheers ... Marek From owner-freebsd-questions@freebsd.org Mon Oct 9 16:15:44 2017 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 9B433E34FEB for ; Mon, 9 Oct 2017 16:15:44 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D1DC634D3 for ; Mon, 9 Oct 2017 16:15:43 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x22a.google.com with SMTP id 47so14695732uas.8 for ; Mon, 09 Oct 2017 09:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=hErvtjF1LhvV1OEwB9upW8JrwY0l3/RrGEsU1Et2Tm0=; b=tQOyQtX7Rta98m9QXibFpY3ueposriNpfi2MA9UyIB/sI8/53G28UNyala//iaywvK nz9UjvgHqAvY5vsKIlZPqG04x6Op5/T/mp24/zJAsjU5rboyYyCyV3Y9K7gGFToKnbBq VxS1ZadIDCIbNnxSlimDCyxixk41M6fpHZiDkwpjmmfeBMxspTnGtGg090YIbgzhYNi+ ptboWATiZn+XZK3wxXXb53b5vown0pDwXqA7EjHwViXvy7mPW2dIr3VJIErV0NODhQ4o hO/eyTxyA1Ccgf0z8KnQtfJhfVCSvaidcAljNBMzJo+oZDZmJiAcphAJmZR4RZn+BOqQ 09Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hErvtjF1LhvV1OEwB9upW8JrwY0l3/RrGEsU1Et2Tm0=; b=b4dAVz4PJ1Fz8NOhmbjivcNEuSFmBy/tU2wo0qgY8VAXloAoM6G2k2BC7wByTXoihy gY+VGwVwaqPe6T2tx17I1hmPLIAolWLFu6OEjQPRw2OhInJGaBtB7sz+npHXhUiZ45NN vC7/MuHmoLxEbLqljkPjLhSmUOAI+b9tNX4eiGWlecAza7gOOyREYjZrRnDOHsEMUvhl WI1c/f4MiubA/RrFugjrhx1NY1ZcD/QboxL+nmXWJx7CbOI+COLlnbAi1AD1xeZWzCea goIJ1mNwVazemfDAk39noF4iYHQCZqgSqSzS3KWTfVUVjnxE/wmmEMISUrH6EYoeY0Nj 0Qow== X-Gm-Message-State: AMCzsaXXiZl3OKLSFCLEC9CabgGHkhOZ2oeyLLcxgeS0XnQRBkUFQr+d 1Xhv0ZAiWHkUOY0LovNZkwyW+4Im6ubINrl+NmM= X-Google-Smtp-Source: AOwi7QDL3br1uS0GHRJoYq8Yl4TDhhspebl5fkYreUHB+hCf9lolfEJOgonA4Vm8yusObAXnnsTtXlOLFL5H7FeMoe8= X-Received: by 10.176.25.212 with SMTP id r20mr5830721uai.97.1507565742838; Mon, 09 Oct 2017 09:15:42 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Mon, 9 Oct 2017 09:15:22 -0700 (PDT) In-Reply-To: <20171009113604.3a6d2455@gecko4> References: <20171009113604.3a6d2455@gecko4> From: CeDeROM Date: Mon, 9 Oct 2017 18:15:22 +0200 X-Google-Sender-Auth: Wnbqflo9pSzOYtWiEP-QqKYVDOc Message-ID: Subject: Re: automount usb msdosfs no partition table To: mfv@bway.net Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 16:15:45 -0000 On Mon, Oct 9, 2017 at 5:36 PM, mfv via freebsd-questions wrote: >> On Mon, 2017-10-09 at 01:10 Tomasz CEDRO wrote: >>Hello world :-) >>I need to configure automount for a testing machine. It seems to work >>fine, except for two issues: >>1. Mount point does not disappear after device disappears, what makes >>things harder to script when device is gone. automount -c does not >>remove the mountpoint, only restarting the service does. It is a bug >>or feature? >>2. Automounter does not mount USB Pendrive / MSDOSFS devices that does >>not have a parition table. Some USB Drives does not have valid >>partition table, they appear as /dev/da0 and can be mounted with >>mount_msdosfs /dev/da0 /mnt, but they are not recognised by >>automounter.. how can I make it work with such devices? >>Any hints appreciated :-) >>Tomek > Hello Tomek, > The port/package, sysutils/automount, is able to do what you want. It > automatically mounts MSDOS or gpart partioned USB thumb drives. Alas, > it does not automatically mount CD/DVDs which require command line > intervention. > My configuration file (/usr/local/etc/automount.conf) differs from the > sample as follow: > MNTPREFIX=/media > USERUMOUNT=YES > ATIME=NO > REMOVEDIRS=YES > USER= > NOTIFY=YES > A devd configuration file that was installed by pkg was not changed. > It is located at /usr/local/etc/devd/automount_devd.conf. > My GUI desktop of choice is XFCE4 which has a plugin that recognises > automatically mounted devices. It is possible to use this plugin to > umount a USB thumb drive OR use the command line in a virtual terminal > to umount in the traditional way. > Cheers ... > Marek Hello Marek! Czesc czolem :-) :-) Thank you for your feedback! I will compare the ports configuration with default system automount package.. maybe I will discover a way to auto-mount drives with no partition table which unforunately happens quite often for FAT drives.. -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Mon Oct 9 16:27:57 2017 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 71CC6E35709 for ; Mon, 9 Oct 2017 16:27:57 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::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 A209666661 for ; Mon, 9 Oct 2017 16:27:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x231.google.com with SMTP id 101so9296904ioj.3 for ; Mon, 09 Oct 2017 09:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=6OpTHMSc2nkbR+XDt6S4YE+A90LI33YlSt4f6kweCHs=; b=n2VA9PJG/aG0leVYQbv93hR32yx6Xmf+eVPHsDT2uZjMeRmagm63rAZ99OISmSvw8s TbHT312liJ98ZMj9PrYqLlVJSZqPtDG9CjatB42wZqyN83EupN+lo7zeYTrVFRxV6aUv kESZLFIRHD/bBFg62vGwuyllMnsY/890q7/jNgL2kaOugptz9LydHgrWXSVs3c14vUTy e5NeO+WapTqnjmBfgM1wWi8Rysgsn2gBeJyqSzEa//vntKobQFADSuJilVfGHfgpet1/ 4/j7ziEsGvPnswCLqPvTmseOHfWEkU2j1pQhjfDLBu03mrXYCFt/dgC7hD43ZMV6JsCi PU6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=6OpTHMSc2nkbR+XDt6S4YE+A90LI33YlSt4f6kweCHs=; b=s10to965dqhlXn6m8Z2mhnsvykUdxOmlH2i5r/mVbEpRqP74ieBQGdNL5lKUcTl4To GTvei1Rt6I+ZInowx1t5QamxFwxHG9YBv5Z3khysqjX6XKPj/xxHzdN/n0j+reLkf/UE JKfYVcmVWQoUEBiLIOqHFH2ViOS42ihoiXqAs2ImYjsuqI4iSmu0jslQkyIlmdCrnTGL 3cXWsMy+Z+EZyFRqwa+gy8HWWLzAtRjZ4hqx9SSe5pS+58Wak/SQBkS2XscZMFTaNQHC 83wiQn1k7dnBpDVr0v2dFfxjNkBEeuqAWB0LGfaLvzVMb6mZFGftx5f4RTJvNHLYqLmn 4Qdg== X-Gm-Message-State: AMCzsaXe7tLS2H5SCHRNxLfDXSe9ZquuUnxPFPeg82lIAj+rShnd3VKw Q5KYdnJxjN/5olOXrQ7zud6R6Q== X-Google-Smtp-Source: AOwi7QBz2Top0bh0UY9kaIlX+ln/aO/g+Ap0a+KLeu0Kf/I6xnCHXiF7nEZ+CgAc+GmXP1uFA/jlYw== X-Received: by 10.107.166.197 with SMTP id p188mr14255694ioe.53.1507566475884; Mon, 09 Oct 2017 09:27:55 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-192.neo.res.rr.com. [65.25.55.192]) by smtp.googlemail.com with ESMTPSA id w195sm2404333ita.44.2017.10.09.09.27.55 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 09:27:55 -0700 (PDT) Message-ID: <59DBA387.4050108@gmail.com> Date: Mon, 09 Oct 2017 12:27:51 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: How to recover data from dead hard drive. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 16:27:57 -0000 A while back I remember reading a post giving the steps and software to use to recover data from a dead H.D. Could that be reposted again. From owner-freebsd-questions@freebsd.org Mon Oct 9 16:42:34 2017 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 5E2FAE35EAA for ; Mon, 9 Oct 2017 16:42:34 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb1-smtp-cloud8.xs4all.net (lb1-smtp-cloud8.xs4all.net [194.109.24.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.xs4all.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7536A1F8 for ; Mon, 9 Oct 2017 16:42:32 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud8.xs4all.net with ESMTP id 1b8JeWRdwg5cR1b8KeIG5h; Mon, 09 Oct 2017 18:42:25 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v99GgMQ2069990 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 9 Oct 2017 18:42:23 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Mon, 9 Oct 2017 18:42:22 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan Reply-To: Marco Beishuizen To: James Geering cc: freebsd-questions@freebsd.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 In-Reply-To: <1507562180.29148.17.camel@btinternet.com> Message-ID: References: <1507556303.29148.15.camel@btinternet.com> <1507562180.29148.17.camel@btinternet.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-CMAE-Envelope: MS4wfPS+Cr39hqc1RdeXZlxQAGazQsSv0PJPUa6yhF/IzGIVaePLVSuCIeB7haKKJ2sjWIJf/Mn6VoouzNDeHH33KcM1THwDO7rU66QsOPH4FOzXOrbB6ZQ3 voKN9I6xJ2aZUKROeMsNMki9FJMs//xWxzvgnmQXuZlWy/h5aHZXemJJw/47YQetj/Lm3W5HW+guu0VpxZfQ5qOQYw93NZS/IJA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 16:42:34 -0000 On Mon, 9 Oct 2017, the wise James Geering wrote: > Ah ok thank you, so I think you mean I have to get explicitly the > windowmaker port using SVN ? and then build it locally? If you want to use ports then you have to update your local portstree and build it locally. If you want to use the pkg then you have to wait until the windowmaker pkg arrives in the pkg repository. Perhaps best thing to do first is to read the handbook about pkg/ports: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Regards, Marco -- I'm going to give my psychoanalyst one more year, then I'm going to Lourdes. -- Woody Allen From owner-freebsd-questions@freebsd.org Mon Oct 9 16:44:39 2017 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 DABC0E35FA8 for ; Mon, 9 Oct 2017 16:44:39 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 E203C6AAF8 for ; Mon, 9 Oct 2017 16:44:36 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v99GiRqj080755 for ; Mon, 9 Oct 2017 18:44:27 +0200 (CEST) (envelope-from bah@bananmonarki.se) To: freebsd-questions@freebsd.org From: Bernt Hansson Subject: Avidemux problem. Message-ID: <774a0d56-5f82-84b1-57d2-c531cd12c926@bananmonarki.se> Date: Mon, 9 Oct 2017 18:44:27 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 16:44:40 -0000 Hello list! Trying to install avidemux. It build and install no problem. Well not quite true. I build with make DISABLE_VULNERABILITIES=yes BUT it does not build the binary and subsequently do not install the binary. pkg install avidemux do not install the binary either. Or is there some similar program to avidemux, that is simple? Avidemux did work earlier this year with make DISABLE_VULNERABILITIES=yes. These are in portstree. |/avidemux |/avidemux-cli |/avidemux-plugins |/avidemux-qt4 |/avidemux2 |/avidemux2-plugins |/avidemux26 |/avidemux26-cli |/avidemux26-plugins |/avidemux26-qt4 From owner-freebsd-questions@freebsd.org Mon Oct 9 16:56:44 2017 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 D2595E362DF for ; Mon, 9 Oct 2017 16:56:44 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 1691A6D583 for ; Mon, 9 Oct 2017 16:56:44 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id n22so13714950uaj.13 for ; Mon, 09 Oct 2017 09:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/znVWwc3XsVhGwJbFITQU9pxb+ULGNDd5uHQlUeJjrc=; b=sLNnCj87UcsHVPQ6UpgvoyR+hEFt+PkQDjpWH8Z48kjvKqtWZQB3/6ntbEJkE4mjU3 li9dykJVc7SNKE0kSethInt7IAY835/B0xRYGPRZSgnO+DShrlkStLSNOSpbgLugJZ0j EqytQucwi63Y9hRlcs+0Eb0dpz9sMpSkLRpOsVupkJrKheisQNou2k5wOs0BMfqNdbmH yWvN99C2Q8ceYDN0VD/VKcOXBu2qallQQqs77cRnhnhRJx9k5Yai8mxqG565lXPljXvV 5tDckpPNqouLiPNd/8vkHDARse0WNgr7VN78MXAjVMDDckgcdQqKJO5kXtQWKxuL1Bz7 ZpyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/znVWwc3XsVhGwJbFITQU9pxb+ULGNDd5uHQlUeJjrc=; b=DUlgJ9RWxMD74iTetFzIit+CWs9rmaT3xU3FTRi2Hh4Kk8dmWWdPcWQCh9jeuGdxmN WIGvSuOgxumbz8SlG6UT3EPU3fp0iU17p7bJ713i2iJCOHyaCgSBg2CVTsSgY8Es64vU mfcDrxkrDnJy9spgHfdNwhcHJHl6/e/b3F1foUIOsiaUR95loIRUINSo82RcQEKPEGc9 lyBjOBp49X5p73o7IeVp29FDsn7jCs/tzmep92CQTNOZJOFV4LHtgqwWwwBYNdn8nz34 IxP+ykLGZQixeZEF6zbW2cO+ScS6bbHrlQ54LRxzaWSHNzrfhd1Xwm8PKES6IVDtCFqH K9qQ== X-Gm-Message-State: AMCzsaUcmNe+Aj2Raqw/mSo1FsvoADz9HcrmXe37bFHcqwlBlCcIPGbe Y37Y1bpAFV0o4kFJ+BxoT9aty1jPWhAlF1+QRf8= X-Google-Smtp-Source: AOwi7QBWt5RV/VO6A8Etuyfw1CCPlhWqIJBgUff5pyXe8N9039dfFtZPMZTU99SOmGDfXpvly7E6lzpfOmE52c66vPA= X-Received: by 10.176.75.152 with SMTP id v24mr3033339uaf.43.1507568202922; Mon, 09 Oct 2017 09:56:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.19.15 with HTTP; Mon, 9 Oct 2017 09:56:42 -0700 (PDT) From: Antonio Olivares Date: Mon, 9 Oct 2017 11:56:42 -0500 Message-ID: Subject: problems with pkg: Operation timed out To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 16:56:45 -0000 Dear FreeBSD users, I want to update the packages in my pc and I keep getting operation timed out. Is there a way for pkg to update the packages and avoid this message? I have tried for 3 hrs and it stops at the same place, it fetches llvm-* and then it says operation timed out. I have run pkg clean, but the error persists. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Mon Oct 9 17:02:42 2017 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 8E984E3674A for ; Mon, 9 Oct 2017 17:02:42 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout0704.bt.lon5.cpcloud.co.uk (rgout0704.bt.lon5.cpcloud.co.uk [65.20.0.144]) by mx1.freebsd.org (Postfix) with ESMTP id E8B1C6EDB9 for ; Mon, 9 Oct 2017 17:02:41 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva (207.242.201.20) by rgout07.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 598528DE06672C78; Mon, 9 Oct 2017 18:02:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507568562; bh=/RywQEoGHFK7k+kuWT12zUjtqHgAogE1vGke3WI9no4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=tTsVIU+ibNohE6cpyjXbcwexBSF0mfH2Kt6ttyzItotCLf9TkR+5fLOGCKMSUFHAeS1uuQzrvWFOwea0f0NPccPFGUhwz8diqkr7IIj3d2RF9opnyJx6ufgmKdZ+BdBBRxp8z106hoaWHQK5tlgLEeZa/eqbnWaSpfaRIjTZADA= Message-ID: <1507568551.29148.20.camel@btinternet.com> Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 From: James Geering To: Marco Beishuizen Cc: freebsd-questions@freebsd.org Date: Mon, 09 Oct 2017 13:02:31 -0400 In-Reply-To: References: <1507556303.29148.15.camel@btinternet.com> <1507562180.29148.17.camel@btinternet.com> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 17:02:42 -0000 Marco, thank you! By the way I've read a lot of the documentation and it is excellent; even so it still leaves one with pockets of misunderstandings or conceptual voids. As a new user to freeBSD one has so many questions that it is easy to miss the wood for the trees. Many thanks! -----Original Message-----From: Marco Beishuizen Reply-to: Marco Beishuizen To: James Geering Cc: freebsd-questions@freebsd.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 Date: Mon, 9 Oct 2017 18:42:22 +0200 (CEST) On Mon, 9 Oct 2017, the wise James Geering wrote: > Ah ok thank you, so I think you mean I have to get explicitly the > windowmaker port using SVN ? and then build it locally? If you want to use ports then you have to update your local portstree and build it locally. If you want to use the pkg then you have to wait until the windowmaker pkg arrives in the pkg repository. Perhaps best thing to do first is to read the handbook about pkg/ports: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Regards, Marco From owner-freebsd-questions@freebsd.org Mon Oct 9 17:03:41 2017 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 505E4E3681B for ; Mon, 9 Oct 2017 17:03:41 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068015.outbound.protection.outlook.com [40.92.68.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E23EB6F147 for ; Mon, 9 Oct 2017 17:03:39 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=00Tn91I3m1xxu3iehf9f8dT4tqk/tP0a5I+yUkyrmC8=; b=b4xz1WlSVxWoKtqo234AIT3FcHF8PvHJsTy/0ax6RIg1E21pi3V7L4bmEQ4BloYhyGjqQpeHTWtr007CUsegY43KqWgpdPmSqEdRPk9rSS6LweyxxWjAhsjxIi+MTHNkmHePxY5vGQ8xpWw3BLMQoNPUWZ7wgiMa+BH6zKjI7ul2n8JN2/UZGW17GKARCR6dW6/Uf2cjMfWW1dTrI4B+EFvZSHxZKxDJmpqduhgRZJw0ecgE2O4wZZlkrzcAKTINNjN7QgSaG3MHgYNqa6a6QthDtrl/W1n4hR/KPadYhg8UlsXbLRWYbpV/kDV+UmMzmVohwPCPP6DqR/rlGOW/kA== Received: from VE1EUR02FT023.eop-EUR02.prod.protection.outlook.com (10.152.12.57) by VE1EUR02HT247.eop-EUR02.prod.protection.outlook.com (10.152.13.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.77.10; Mon, 9 Oct 2017 17:03:36 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.12.56) by VE1EUR02FT023.mail.protection.outlook.com (10.152.12.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.77.10 via Frontend Transport; Mon, 9 Oct 2017 17:03:36 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::4056:cb8a:42d3:8cb%13]) with mapi id 15.20.0077.020; Mon, 9 Oct 2017 17:03:36 +0000 From: Manish Jain To: Antonio Olivares , FreeBSD Questions Subject: Re: problems with pkg: Operation timed out Thread-Topic: problems with pkg: Operation timed out Thread-Index: AQHTQR/Dzj6zqdPzcU6n1cNFbfSZP6LbvqwA Date: Mon, 9 Oct 2017 17:03:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:EB7340E6F6CDD9A3D35B2D94627ABDC334746223DEA08DFCDD4E445641AD7807; UpperCasedChecksum:93CF36E799B0F655C68580E73F96F94E5F6A38363E65554C0A969736C63F4744; SizeAsReceived:7140; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [t7e0pGluOVOmtpr+tz4ztDLaMGh2+fC/] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VE1EUR02HT247; 6:9bDJHEMhmEQomeGy/cE/GSYt8kzB+isTkSowbVsPkEilYaTvlWq4rvKSQGTXx5Tp8RzIabeJ7ZW3d766qISssFT6i7/tw4U8Aq8/Fexz/8/ulbCTNvmZnxNTlT1WIQcqbMdswbGCX4J4XzbYIXZ/2Fa2WDLoKwWpViEzoaW60e2Adxr9ggCiCOKa6XAfJlqYtpFOT0/gkDenImyxY8HU6ossxkgps5AAB5W/+XNuTScXe+5IiZbk6RGH9HREcbK2cW9XGhpCKsuKYNBB0lDL4pDQ5DtY5l6QOeIPW1G9w3SGi2dLVBS21A9iMnYhc0pavssq9P/3nzHKpmlgW9AOAQ==; 5:yhMDHFEyv3TyBsDpjIbRTUezT3XutDaDkguz/pcxpkE2E7QFMfiachNKazRgvTmof+wsrI0WVx+navkaj+J+qKUiniTj5nzYzE/z7gNH7y3B1EuG9UR4NQW3oE41Yi2mK/EArz+gHPzyKT/5uazlLw==; 24:D+37cOM77JT8X3Jun891ttcgnKzN7KOaP7PA6/aHRL0nrCeDuv//5qZ+qHsl1I/46IxoJFyrFNq8jTjNTur6r35NCXeL0bltwkcoBDt7zIs=; 7:PY6NusyU5k2FwxRjUxLufCgJLGoYkrZA44kckMHmCnRK2ByOVjePSFbpIvYCyMUG8GSo9uv7q8rbTVJ+UWvEvbAq7T88Pz+UQndO5g32AfdKAdzPIfsnbRndU9/YSLcRU3225Yk+jjFi1j057z/mXH6wYkkxopzWUC+43lEw+kVlSGRdksUov7GymMMiSbx6IN/sXDUzPo4wocuT02TOVMZYKNfqwpsA6ZLpcfNnQzI= x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 75812a16-e7a6-4e26-e899-08d50f37ae1a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:VE1EUR02HT247; x-ms-traffictypediagnostic: VE1EUR02HT247: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:VE1EUR02HT247; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VE1EUR02HT247; x-forefront-prvs: 045584D28C x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:VE1EUR02HT247; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2017 17:03:36.7816 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT247 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 17:03:41 -0000 DQoNCk9uIDEwLzA5LzE3IDIyOjI2LCBBbnRvbmlvIE9saXZhcmVzIHdyb3RlOg0KPiBEZWFyIEZy ZWVCU0QgdXNlcnMsDQo+IA0KPiBJIHdhbnQgdG8gdXBkYXRlIHRoZSBwYWNrYWdlcyBpbiBteSBw YyBhbmQgSSBrZWVwIGdldHRpbmcgb3BlcmF0aW9uDQo+IHRpbWVkIG91dC4gIElzIHRoZXJlIGEg d2F5IGZvciBwa2cgdG8gdXBkYXRlIHRoZSBwYWNrYWdlcyBhbmQgYXZvaWQNCj4gdGhpcyBtZXNz YWdlPyAgSSBoYXZlIHRyaWVkIGZvciAzIGhycyBhbmQgaXQgc3RvcHMgYXQgdGhlIHNhbWUgcGxh Y2UsDQo+IGl0IGZldGNoZXMgbGx2bS0qIGFuZCB0aGVuIGl0IHNheXMgb3BlcmF0aW9uIHRpbWVk IG91dC4gIEkgaGF2ZSBydW4NCj4gcGtnIGNsZWFuLCBidXQgdGhlIGVycm9yIHBlcnNpc3RzLg0K DQpJIGFtIG5vdCBjZXJ0YWluIHdoZXRoZXIgdGhpcyBpcyB0aGUgcmlnaHQgYXBwcm9hY2gsIGJ1 dCB3aGVuIEkgZmFjZWQgDQp0aGF0IGVycm9yICh3aXRoIGxsdm0pLCBJIGRpZCB0aGlzIDoNCg0K b3BlbiB1cCBhbiBhZGRpdGlvbmFsIHRlcm1zIChBbHQgKyBGMikNCg0KSW4gdGhhdCB0ZXJtaW5h bCwgcnVuIDogcGluZyBwa2cuZnJlZWJzZC5vcmcNCg0KUmV0dXJuIHRvIHRoZSBGMSB0ZXJtaW5h bCBhbmQgdGhlbiBydW4gOg0KDQpwa2cgZmV0Y2ggbGx2bQ0KDQpJZiB0aGF0IHNvbHZlcyB5b3Vy IHByb2JsZW0sIGRvIGxldCBtZSBrbm93Lg0KTWFuaXNoIEphaW4NCg0K From owner-freebsd-questions@freebsd.org Mon Oct 9 17:14:46 2017 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 6F55DE36E2A for ; Mon, 9 Oct 2017 17:14:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4CB271928 for ; Mon, 9 Oct 2017 17:14:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Mon, 09 Oct 2017 19:14:36 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 14DF83CC3F; Mon, 9 Oct 2017 19:14:36 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v99HEZuh004347; Mon, 9 Oct 2017 19:14:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Oct 2017 19:14:35 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: How to recover data from dead hard drive. Message-Id: <20171009191435.145c9dd2.freebsd@edvax.de> In-Reply-To: <59DBA387.4050108@gmail.com> References: <59DBA387.4050108@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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 59D2F6A3592 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1505 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 17:14:46 -0000 On Mon, 09 Oct 2017 12:27:51 -0400, Ernie Luzar wrote: > A while back I remember reading a post giving the steps and software to > use to recover data from a dead H.D. Last time it appeared: Subject: Re: Recovering data from a broken HDD Date: Mon, 18 Sep 2017 01:17:47 +0200 > Could that be reposted again. Sure. :-) System: dd fsck_ffs clri fsdb fetch -rR recoverdisk Ports: ddrescue dd_rescue ffs2recov magicrescue testdisk The Sleuth Kit: fls dls ils autopsy scan_ffs recoverjpeg foremost photorec fatback Proprietary (free test version for diagnostics): SysDev Laboratories LLC "UFS Explorer" Most tools require you to know what you're doing, so learning how to use those tools appears to be mandatory. As I said, work with (a copy of) the copy of the disk if possible, so in worst case you can start from the beginning without feeling guilty that you did something wrong. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Oct 9 17:47:18 2017 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 5A715E3786D for ; Mon, 9 Oct 2017 17:47:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11807742A8 for ; Mon, 9 Oct 2017 17:47:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id 47so14855754uas.8 for ; Mon, 09 Oct 2017 10:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fGBaOOv04bxWYF4feM+E76yKbGcgQ5o7KRtGHRuqIZg=; b=WdKpDCBkXS2RSq+EB2qWvxsYcSdFasCyP8somBZ9ulvktO4E1SBQJxfib7JMnSlPdM TULP/XhM22JxUIk+OpDODSxk4A5ggMIWItV9+V7YEpKzSS5oYbCfjzzg8euO6cI8727g sDN2vts7xYnkZZhW120ZC0itV+X1LbkSWfUXJAsONgEgcVBqcL4kUMOvg402FEITlXsw z2WAdxnmlXLfHAkACcBCMxJxZy+5m4/ztMSWZEm1BrkOzBlhIfq/+vQfUDpiC0+TB6DP hA6XVbRFrkBOm5tAgkK6CYh3Ni5Mz5FQM+C/luj+ksnzYDGKHlOKs2GLkc8/nZYoa3g8 BPhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fGBaOOv04bxWYF4feM+E76yKbGcgQ5o7KRtGHRuqIZg=; b=S57Y3CN1DffXpkUAyefIbO/qBNenBSJGMqe7Wc9o5VWaLbKWkmn4bqA0Z5zPKf/STj fKAiKTJEYsnlEMNiWlGZKSAMvCrya8D6VOwaupy8VETHKYTSUHpW0vJdRWkCt603wp24 ovhfwSfS7F4dJbxOowkyuZ7/C88kx+taSuhPbfkAMyeXkYOdj7cJTILIEt9VRe+qezRe VmjoFfOUAm+raZObJR5V0Je/S8jFuN+85/v08uWGB6J5up0LhEM7CI959AF7JUPXYVZZ Fylqairwlneqgs38YpSybyFhs6q8k/MBmZkcxNVg7DbA5mOPk3HzGNLdKQxBNKFAdGGl ALiw== X-Gm-Message-State: AMCzsaWiRXaZQJTZTOemojBg6umca/6NXcjxhyoQTZ3hQrrqJXsvCsYw 5q8R3vMMcmQQzO/bWaB6idFNuR1MpPnHNdbqH/E= X-Google-Smtp-Source: AOwi7QBGk+SiAK8R5uivMfcdhXefFnOp9BgobDEboQpjMKgIBA3YA6oAg2Bohje+aFhmo8/1zosEXzAGS+baN3XEKIk= X-Received: by 10.176.75.152 with SMTP id v24mr3134663uaf.43.1507571236922; Mon, 09 Oct 2017 10:47:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.19.15 with HTTP; Mon, 9 Oct 2017 10:47:16 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Mon, 9 Oct 2017 12:47:16 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: Manish Jain Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 17:47:18 -0000 On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain wrote: > > > On 10/09/17 22:26, Antonio Olivares wrote: >> Dear FreeBSD users, >> >> I want to update the packages in my pc and I keep getting operation >> timed out. Is there a way for pkg to update the packages and avoid >> this message? I have tried for 3 hrs and it stops at the same place, >> it fetches llvm-* and then it says operation timed out. I have run >> pkg clean, but the error persists. > > I am not certain whether this is the right approach, but when I faced > that error (with llvm), I did this : > > open up an additional terms (Alt + F2) > > In that terminal, run : ping pkg.freebsd.org > > Return to the F1 terminal and then run : > > pkg fetch llvm > > If that solves your problem, do let me know. > Manish Jain > It times out :( root@aceraspire:~ # ping pkg.freebsd.org PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes ^C --- pkgmir.geo.freebsd.org ping statistics --- 18 packets transmitted, 0 packets received, 100.0% packet loss root@aceraspire:~ # pkg fetch llvm40 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following packages will be fetched: New packages to be FETCHED: llvm40-4.0.1_1 (271 MiB: 100.00% of the 271 MiB to download) Number of packages to be fetched: 1 The process will require 271 MiB more space. 271 MiB to be downloaded. Proceed with fetching packages? [y/N]: y Fetching llvm40-4.0.1_1.txz: 100% 107 MiB 413.9kB/s 04:31 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out if I try to update regularly, I get : Installed packages to be REINSTALLED: wx28-gtk2-common-2.8.12_7 (direct dependency changed: gstreamer) wx28-gtk2-2.8.12_7 (direct dependency changed: gstreamer) qt5-multimedia-5.7.1_1 (direct dependency changed: gstreamer1-plugins) libdca-0.0.5_1 liba52-0.7.4_3 gstreamer-0.10.36_6 db5-5.3.28_6 Number of packages to be installed: 14 Number of packages to be upgraded: 75 Number of packages to be reinstalled: 7 The process will require 11 MiB more space. 713 MiB to be downloaded. Proceed with this action? [y/N]: y [1/96] Fetching llvm40-4.0.1_1.txz: 100% 82 MiB 477.0kB/s 03:00 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out root@aceraspire:~ # Best Regards, Antonio From owner-freebsd-questions@freebsd.org Mon Oct 9 18:59:40 2017 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 9770EE39167 for ; Mon, 9 Oct 2017 18:59:40 +0000 (UTC) (envelope-from amy.chadwell@targetedleadboosters.com) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::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 69E69770BE for ; Mon, 9 Oct 2017 18:59:40 +0000 (UTC) (envelope-from amy.chadwell@targetedleadboosters.com) Received: by mail-pf0-x241.google.com with SMTP id b85so9398611pfj.1 for ; Mon, 09 Oct 2017 11:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=targetedleadboosters-com.20150623.gappssmtp.com; s=20150623; h=return-receipt-to:from:to:subject:date:message-id:mime-version :thread-index:content-language:disposition-notification-to; bh=ZY/2ghGrIYBFzbqoB1hsYLRLRVzFowfwDCnqbRWRI2A=; b=sYSfmyU8sidNr+9SvoaqTsYD3uFWCeRyisUyYGdaISwy1qhiXsqjdlwNAiRaEHsTlb SLSN3vEIAYxZoMs8/snpCGCcvF7U47Mez1cELzJgR98Z0SLSBAVRoluJBrMKCfT4wAcF Ox/UiPHhan5GIAXWu0dOECoJDJxsiPTcpeuKADmQYtOmki+IlZB2vtp26pueNnGu9DtV GxpBDF3RQgA5QfdjnZHEmEPabYfBR4NlNfb/bGLe/c0XBEYBpoW08EQbC/OBqtw+bzxk WLlCHXIXwzieN/tEVYPiASr8ixuSaDiAlxM1VHqkrSEKfHyC/UKDKxLWZtIFHkQKiwCJ 7QyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:return-receipt-to:from:to:subject:date :message-id:mime-version:thread-index:content-language :disposition-notification-to; bh=ZY/2ghGrIYBFzbqoB1hsYLRLRVzFowfwDCnqbRWRI2A=; b=UBuTAXG3yC+C00lllCF8k+jM1nh7dGpSVDO4zJ9H5RJowXsdLCpHwjI8TDucrWRuyT aE3fu4h+9zk0f31sP6uATEGaclOgTj1+2tGs9LYNSpaDyeL4dUy0mGgn9JxeJbk3Vgi5 8Jr8AL7mBQXK8dAtJalvUBCW7pZL2MAodDeIdQG/28WbkRFSs43gtTctI5ubou8UcUd5 6y+1sAVZKzACRbur7kwa2YUspUmitP9ppZ0Jh3UAN5AfrEEUZlWwIEY/nrUaV9wNoIJH v8Pzp6Xg0djAPTLSsqEEjH/iv8tNfH96KfpkyCX/TGr8UzPEpXvBJdEiMQ7UWHUWz8o8 cLSg== X-Gm-Message-State: AMCzsaW3TpjMH4wN2XRx4mXmbowgN/BLtozuP+1WGsICKKQetJi5ob8S GIwRcCM69rZrEpqPV3viOlDSMq5M X-Google-Smtp-Source: AOwi7QBJ8Vn0c5vpdUdGaRTyC/VcXrLfWSkBXLEfEbA8za2yvCxbrUK0dYNF0Ek+uBDtpGxrNHPl1Q== X-Received: by 10.98.65.218 with SMTP id g87mr11053776pfd.105.1507575579650; Mon, 09 Oct 2017 11:59:39 -0700 (PDT) Received: from adminPC ([103.210.133.124]) by smtp.gmail.com with ESMTPSA id h10sm13287294pgq.86.2017.10.09.11.59.38 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 11:59:38 -0700 (PDT) From: "Amy Chadwell" To: Subject: Plastimagen Mexico 2017 Attendees List? Date: Mon, 9 Oct 2017 14:59:30 -0400 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdNBL5Ly6jmi4udASXyMMcDQJuPQ2Q== Content-Language: en-us X-Antivirus: AVG (VPS 171009-2, 10/09/2017), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 18:59:40 -0000 Hello, Would you be interested in reaching out to Plastimagen Mexico 2017 Attendees List? When: 07 - 10 November 2017 Where: Mexico City, Mexico Who is Attending: 30,000 Confirmed Attendees Lists include:- Company Name, Contact Name, Title, Address, Web Site, Phone Number, Fax Number, Verified E-mail Address, Employee Size, Revenue size, SIC Code, Industry Type, NAICS Code, E-mail verification result. Thank you and I look forward to hear from you. Regards, Amy Chadwell Marketing Consultant Disclaimer: We have clearly mentioned the source email id, also clearly mentioned the subject line and there is no misleading information of any form. We have found your email address through our marketing efforts on the web, if you are not interested, Please reply with "Remove" in the subject line and we will ensure that you do not receive any further promotional email from our end. --- This email has been checked for viruses by AVG. http://www.avg.com From owner-freebsd-questions@freebsd.org Mon Oct 9 19:53:46 2017 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 CCC4DE3A632 for ; Mon, 9 Oct 2017 19:53:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay14.qsc.de (mailrelay14.qsc.de [212.99.163.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44E0D7D10E for ; Mon, 9 Oct 2017 19:53:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay14.qsc.de; Mon, 09 Oct 2017 21:53:37 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 726E43CBF9; Mon, 9 Oct 2017 21:53:38 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v99JrVF9007699; Mon, 9 Oct 2017 21:53:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Oct 2017 21:53:31 +0200 From: Polytropon To: Bernt Hansson Cc: freebsd-questions@freebsd.org Subject: Re: Avidemux problem. Message-Id: <20171009215331.09fbb037.freebsd@edvax.de> In-Reply-To: <774a0d56-5f82-84b1-57d2-c531cd12c926@bananmonarki.se> References: <774a0d56-5f82-84b1-57d2-c531cd12c926@bananmonarki.se> 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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay14.qsc.de with B95EF743C41 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1352 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 19:53:46 -0000 On Mon, 9 Oct 2017 18:44:27 +0200, Bernt Hansson wrote: > Hello list! > > Trying to install avidemux. It build and install no problem. > > Well not quite true. I build with make DISABLE_VULNERABILITIES=yes > > BUT it does not build the binary and subsequently do not install the binary. > pkg install avidemux do not install the binary either. > > Or is there some similar program to avidemux, that is simple? Is the correct name "avidemux2", which typically installs (depending on configuration) the avidemux2_gtk and avidemux2_cli binary? > These are in portstree. > > |/avidemux <--- a meta-port? > |/avidemux-cli > |/avidemux-plugins > |/avidemux-qt4 > |/avidemux2 <--- probably this one > |/avidemux2-plugins > |/avidemux26 > |/avidemux26-cli > |/avidemux26-plugins > |/avidemux26-qt4 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Oct 9 22:00:12 2017 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 684D4E3D346; Mon, 9 Oct 2017 22:00:12 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::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 24757819EB; Mon, 9 Oct 2017 22:00:12 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by mail-vk0-x235.google.com with SMTP id q80so1491585vka.7; Mon, 09 Oct 2017 15:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=IAuxZTrA0qDAUpr1dmoTt4nLPnweB+JcAe6cqfN5C50=; b=hocv10mrtBgAHMGV2/2I0gg5JsPoMcy2vnMr31cQ3j0ZZ0NJHBGb9O0AZCYZ4mevJr kjahJma3PUSAsJUcD/+/x85xsiQdXBmk3wHec6t3NgZ2GvpV2CCQx2RS5geyfCfpZpou TChnzLJdOADP02MS/90JUmYZg2Wy+UINT4Z5dunI9fs6HkdDvU5Q/9FCNekDNSNqzOJZ mAHnDtBqu7ftq3lXQy4YHdoFOls4P/FDo5b8o09I6C0Pyhq947nzPtz3wJmrajjQaizj rdY3XdEEyQ6Mpd2hvFcvCj2GeM3ABqAFjc28EDPdwWtYv1xT2V0xqje8zncJ1jUXuVuu 1vxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=IAuxZTrA0qDAUpr1dmoTt4nLPnweB+JcAe6cqfN5C50=; b=dQuv2ua4s0MwwWZ2VcfXWFsvJ7Av7Uyi/JAtamUeHQQZnhO3ZeOhcw0bT2m0gh+deP DbMhuSyBeMdmtF3KrRuyQz37UpgKzTCwC+30H67LTT7NLqJMWJYA4Zj9ElwemP6rArLy d7LxFg2uD1maPt9XXfX8gz9DChi2fsoEtMV82bdSLm7YCLSi2bkfq0njrnZA5fDfK8F/ pVekQ9F+QKj4BscG4JmFzHSfULR7o2G7zNwlk5tjhcVqJO53uOuW4Qr9R5FqKeUa9K1/ nwQ3cy2dQ1cM/VtsjQcuwS6h/I9d2WsFjjYPoeFjdR+fLzVergD35MU2pFl2AHRMXHPt cEQA== X-Gm-Message-State: AMCzsaXHaS/Xkj671DtrSSoqBfG7Xt+q0yRekhQKMnCH9VytDbR4n9S0 w05Ps9QWCHjN+IL2KsXjvUlf2MmrR1idV1OYXIrrCQ== X-Google-Smtp-Source: AOwi7QD9kItVVQtRs1ptJK/wwl9p1HoJHByK4fRl4h4lkAQIDbNWlWUmCalz5OG7qPXuGYkQhZR3PjaMLTjgQQibZ5w= X-Received: by 10.31.166.66 with SMTP id p63mr5217131vke.42.1507586410764; Mon, 09 Oct 2017 15:00:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.50.129 with HTTP; Mon, 9 Oct 2017 14:59:30 -0700 (PDT) From: grarpamp Date: Mon, 9 Oct 2017 17:59:30 -0400 Message-ID: Subject: Power9 Inexpensive Development Testbed To: freebsd-hardware@freebsd.org Cc: freebsd-questions@freebsd.org, info@freebsdfoundation.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 22:00:12 -0000 With Power8 aging and Power9 shipping... Consider picking up a couple of these to support the development of getting FreeBSD going on the bare iron without hypervisor. FreeBSD being a member already, good support for this effort should be available from the OpenPOWER Foundation / IBM. They seem to want to make Power9 and beyond happen in a big way. Linux also has support for Power9. A barebones selfbuilt machine for the dev cluster would cost about $3200-$3500, and/or donation could be solicited from OpenPOWER Foundation. https://raptorcs.com/TALOSII/ https://raptorcs.com/content/base/faq.html https://github.com/open-power https://github.com/openbmc https://wikipedia.org/wiki/POWER9 https://www.nextplatform.com/?s=power9 https://openpowerfoundation.org/ Just an FYI for those unfamiliar, including potential users. This thread could be updated to list other Power9 hardware sources as they become known by the FreeBSD community. From owner-freebsd-questions@freebsd.org Mon Oct 9 23:19:53 2017 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 62C03E3EC9B for ; Mon, 9 Oct 2017 23:19:53 +0000 (UTC) (envelope-from heriyulistio.wb@gmail.com) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::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 E02BF849D5 for ; Mon, 9 Oct 2017 23:19:52 +0000 (UTC) (envelope-from heriyulistio.wb@gmail.com) Received: by mail-lf0-x231.google.com with SMTP id d10so26690591lfg.11 for ; Mon, 09 Oct 2017 16:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=Ms+LL5D2EuOSdyr65RFsmc63p1cnn7goH7WVId+zPjcmwLW0UyW6XDYGpGVekLqEFm HjhIgj5e/Uvg9RyvXz1z15JLc1w3Io5/zCd0km8z5FhF2EDFHu5afEcV4mmeN86pfCW+ 5t2q3bTc/kpfaTBBkDKNFkc1l5k8oSqVuePHW20jUilpE61bofMNjOu/6iOUWo59BPCu u+E/nuk0ja8seuqOlsOm8kkef+1+MIUuXT+H2T8BMOJsDR02J9bDdZIXfnmnyyFO3xhw h4VyiErKren6jw1yK8/9LH6oOPSNWVDS/Cw0EemuKwEnwht2ReD3lCV5GKtBojzQfesk AQVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=Tj4ZEYx4W/tyu3lGmkNTBlQreBzFJNZxYvvjNmZbOg5MnSArV3BYmJYdPUczyVjmML pw3O0KDf4MXKwUjJcdlRwrudTl+We5RhO3vdAu6CRtMb1H12Xd1jgGvPsy4/ob6G1bht i1jKSkQl12cXfEWGm8RkknMNVSDTTEgqybAZW6hkbPeazprokCYFWGu3o+zAL/2fAGlu 0xCc3vmQHV+j7u4LXxcc0LSF0nSsFriQMWWVV6RU9MpfvCJUk/HA7TB2v3UA+IoNUivj Q286NCIMfisxNhM/xDdatGhNOyc0RHRxvjFzI7MjO+ujcHQnrCbAA1lmLkmyHof0cP3h fPFQ== X-Gm-Message-State: AMCzsaXXPzaj3o//qpkAtyNIaPCwYbtydac2zhtgqNY/scbQlkWFCs70 P3aV0pllHFPTiRy555iryGNuTPFFzNFwmcmfsFU= X-Google-Smtp-Source: AOwi7QC5Kuo2RY46Gve36ZlhQDmhepnSFkHyoORJuoj6ztzeixJjXUWmV01tWpdrSkd2V1acSv5ytFwk7t4Tuqe2niE= X-Received: by 10.46.68.8 with SMTP id r8mr5347972lja.27.1507591191049; Mon, 09 Oct 2017 16:19:51 -0700 (PDT) MIME-Version: 1.0 From: Heri Yulistio Panai Date: Mon, 09 Oct 2017 23:19:40 +0000 Message-ID: Subject: Google Earthen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 23:19:53 -0000 From owner-freebsd-questions@freebsd.org Tue Oct 10 00:38:30 2017 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 B326CE40603 for ; Tue, 10 Oct 2017 00:38:30 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) Received: from exchipmx02.lsuhsc.edu (exchipmx02.lsuhsc.edu [155.58.210.29]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "exchipmx02.lsuhsc.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59CB328F8 for ; Tue, 10 Oct 2017 00:38:29 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2B7AADsFNxZkBkNOptcGQEBAQEBAQEBAQEBBwEBAQEBhEGBFQeDc5wJlj2CBAEJGAuESU8CGoQgQxQBAgEBAQEBAQETAQEBARQRKC+FGAEBAQEDAQEhERogCwwEAgEIEQQBAQECAgYLEgMCAgIlAQkBFAEICAIEAQcGAQQBBxUEig8FC6gGgieIFgEHgwkBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBQkBgQSCH4ICgVKFEoQ/EgERAgEIGBUoglQvgjIFoS8GAodchwGZE5VagTk2IIEEC3oTSYUqgXN2CIZugRABAQE X-IPAS-Result: A2B7AADsFNxZkBkNOptcGQEBAQEBAQEBAQEBBwEBAQEBhEGBFQeDc5wJlj2CBAEJGAuESU8CGoQgQxQBAgEBAQEBAQETAQEBARQRKC+FGAEBAQEDAQEhERogCwwEAgEIEQQBAQECAgYLEgMCAgIlAQkBFAEICAIEAQcGAQQBBxUEig8FC6gGgieIFgEHgwkBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBQkBgQSCH4ICgVKFEoQ/EgERAgEIGBUoglQvgjIFoS8GAodchwGZE5VagTk2IIEEC3oTSYUqgXN2CIZugRABAQE Received: from exchmr05.lsuhsc.edu ([155.58.13.25]) by exchipmx02.lsuhsc.edu with ESMTP/TLS/AES256-SHA; 09 Oct 2017 19:37:18 -0500 Received: from ExchMR05.lsuhsc.edu (155.58.13.25) by ExchMR05.lsuhsc.edu (155.58.13.25) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 9 Oct 2017 19:37:18 -0500 Received: from SH-EXCHHUB2.master.lsuhsc.edu (155.58.112.72) by ExchMR05.lsuhsc.edu (155.58.13.25) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Mon, 9 Oct 2017 19:37:18 -0500 Received: from SH-EXCHMB2.master.lsuhsc.edu ([169.254.2.5]) by SH-ExchHub2.master.lsuhsc.edu ([155.58.112.72]) with mapi id 14.03.0361.001; Mon, 9 Oct 2017 19:37:18 -0500 From: "Mire, John" To: Ernie Luzar , Erwan David CC: "freebsd-questions@freebsd.org" Subject: RE: forcing new dynamic ip address Thread-Topic: forcing new dynamic ip address Thread-Index: AQHTQDD3NGoKUJdp5EC/NDps10yn/aLaN9kAgAABSwCAAgXOUA== Date: Tue, 10 Oct 2017 00:37:17 +0000 Message-ID: <0B62814C161EBA4BB69C995965D04C70F00305DB@SH-ExchMB2.master.lsuhsc.edu> References: <59DA19E8.5000602@gmail.com> <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> <59DA1D20.3090108@gmail.com> In-Reply-To: <59DA1D20.3090108@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.10.7] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 00:38:30 -0000 VXNlZCBhIC9ldGMvZGFpbHkubG9jYWwgZW50cnkgdG8gZ2VuZXJhdGUgbmV3IG1hYyBhZGRyZXNz IHRvIGdldCBhIG5ldyBJUCBhZGRyZXNzIGZyb20gbXkgSVNQLCAgeW91IGNvdWxkIHJ1biBhIGNy b24gam9iIHRvIGRvIGl0IGluc3RlYWQuDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpG cm9tOiBvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyBbbWFpbHRvOm93bmVyLWZy ZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnXSBPbiBCZWhhbGYgT2YgRXJuaWUgTHV6YXINClNl bnQ6IFN1bmRheSwgT2N0b2JlciA4LCAyMDE3IDA3OjQyDQpUbzogRXJ3YW4gRGF2aWQgPGVyd2Fu QHJhaWwuZXUub3JnPg0KQ2M6IGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnDQpTdWJqZWN0 OiBSZTogZm9yY2luZyBuZXcgZHluYW1pYyBpcCBhZGRyZXNzDQoNCipFWFRFUk5BTCBFTUFJTDog RVZBTFVBVEUqDQoNCkVyd2FuIERhdmlkIHdyb3RlOg0KPiBMZSAxMC8wOC8xNyDDoCAxNDoyOCwg RXJuaWUgTHV6YXIgYSDDqWNyaXQgOg0KPj4gSGVsbG8gTGlzdDsNCj4+DQo+PiBJIGhhdmUgYSAi aG9tZSBzZXJ2aWNlIiBhY2NvdW50IGZyb20gbXkgSVNQLiBUaGUgSVNQIGlzc3VlcyBhbiANCj4+ IGR5bmFtaWMgaXAgYWRkcmVzcyB3aGljaCBoYXMgbm90IGNoYW5nZWQgaW4gMTIgeWVhcnMuDQo+ Pg0KPj4gTXkgaG9zdCBoYXMgMiBOSUNzLCBvbmUgd2hpY2ggaXMgbm90IHVzZWQuIEkga25vdyBp ZiBJIHBsdWcgdGhlIA0KPj4gaW50ZXJuZXQgY2FibGUgaW50byB0aGUgdW4tdXNlZCBOSUMgYW5k IG1ha2UgdGhlIGFwcHJvcHJpYXRlIGNvbmZpZyANCj4+IGNoYW5nZXMgYW5kIHJlYm9vdCBJIHdp bGwgZ2V0IGEgZGlmZmVyZW50IGR5bmFtaWMgaXAgYWRkcmVzcy4NCj4+DQo+PiBJcyB0aGVyZSBh IHNpbXBsZXIgd2F5IHRvIGV4cGlyZSB0aGUgbGVhc2UgdG8gZm9yY2UgdGhlIElTUCBkaGNwIHRv IA0KPj4gcmVmcmVzaCB3aXRoIGEgZGlmZmVyZW50IGR5bmFtaWMgaXAgYWRkcmVzcz8NCj4+DQo+ PiBUaGUgZ29hbCBpcyB0byBoYXZlIGEgY3JvbiBqb2IgdGhhdCBnZXRzIGEgZGlmZmVyZW50IGR5 bmFtaWMgaXAgDQo+PiBhZGRyZXNzIGFzc2lnbmVkIHRvIG15IGhvc3QncyBmcm9udCBkb29yIGV2 ZXJ5IGEgd2Vlay4NCj4+DQo+PiBKdXN0IGFub3RoZXIgbGV2ZWwgb2Ygc2VjdXJpdHkgdG8gbWFr ZSBpdCB2ZXJ5IGhhcmQgZm9yIHRoZSBzY3JpcHQgDQo+PiBraWRkaWVzIGZyb20gZmluZGluZyBh bnkgb3BlbiBwb3J0cyBJIG1heSBoYXZlLg0KPj4NCj4+IFRoYW5rcyBmb3IgdGhlIGhlbHAuDQo+ Pg0KPiANCj4gREhDUCBwcm90b2NvbCBzdGF0ZXMgdGhhdCB0aGUgc2VydmVyIHNob3VsZCB0cnkg dG8gZ2l2ZSB5b3UgdGhlIHNhbWUgDQo+IElQIGFkZHJlc3MuIEFuZCBkaGNwIHNlcnZlcnMga2Vl cCB0cmFjayBvZiB0aGUgYWRkcmVzc2VzIHRoZXkgDQo+IGFsbG9jYXRlZCBpbiB0aGUgcGFzdCwg dG8gZ2l2ZSB0aGVtIGJhY2sgaWYgcG9zc2libGUuDQo+IA0KDQpZZXMgSSBrbm93IHRoYXQuIFRo ZSBxdWVzdGlvbiBpcyB0aGVyZSBhIHdheSB0byByZXF1ZXN0IHRoZWlyIGRoY3Agc2VydmVyIHRv IG92ZXIgcmlkZSB0aGF0IGRlZmF1bHQgYmVoYXZpb3I/DQoNCl9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fDQpmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9y ZyBtYWlsaW5nIGxpc3QgaHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZv L2ZyZWVic2QtcXVlc3Rpb25zDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJl ZWJzZC1xdWVzdGlvbnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciDQo= From owner-freebsd-questions@freebsd.org Tue Oct 10 01:04:26 2017 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 96E57E40C3D for ; Tue, 10 Oct 2017 01:04:26 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (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 12741347B for ; Tue, 10 Oct 2017 01:04:24 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v9A14GOD082142; Tue, 10 Oct 2017 03:04:16 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: Avidemux problem. To: Polytropon Cc: freebsd-questions@freebsd.org References: <774a0d56-5f82-84b1-57d2-c531cd12c926@bananmonarki.se> <20171009215331.09fbb037.freebsd@edvax.de> From: Bernt Hansson Message-ID: Date: Tue, 10 Oct 2017 03:04:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171009215331.09fbb037.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 01:04:26 -0000 On 10/09/17 21:53, Polytropon wrote: > On Mon, 9 Oct 2017 18:44:27 +0200, Bernt Hansson wrote: >> Hello list! >> >> Trying to install avidemux. It build and install no problem. >> >> Well not quite true. I build with make DISABLE_VULNERABILITIES=yes >> >> BUT it does not build the binary and subsequently do not install the binary. >> pkg install avidemux do not install the binary either. >> >> Or is there some similar program to avidemux, that is simple? > Is the correct name "avidemux2", which typically installs > (depending on configuration) the avidemux2_gtk and avidemux2_cli > binary? No, unfortunately, avidemux2, avidemux26 and avidemux26_qt4 gives this error: ===> avidemux2-2.5.6_5 is marked as broken: USES=gmake is incompatible with cmake's ninja-generator. *** Error code 1 Stop. > These are in portstree. > |/avidemux <--- a meta-port? > |/avidemux-cli > |/avidemux-plugins > |/avidemux-qt4 > |/avidemux2 <--- probably this one > |/avidemux2-plugins > |/avidemux26 > |/avidemux26-cli > |/avidemux26-plugins > |/avidemux26-qt4 > > From owner-freebsd-questions@freebsd.org Tue Oct 10 01:23:08 2017 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 BC758E41B3C for ; Tue, 10 Oct 2017 01:23:08 +0000 (UTC) (envelope-from jbondc@gdesolutions.com) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0125.outbound.protection.outlook.com [104.47.33.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5330863359 for ; Tue, 10 Oct 2017 01:23:07 +0000 (UTC) (envelope-from jbondc@gdesolutions.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdesolutions.onmicrosoft.com; s=selector1-gdesolutions-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oN0oakCyzvHQhSg/WQwo/76lR3WjYaaFeVQbBidU93k=; b=CF1xCNtb3WARW00SP1XmCfseZSU/BweuiJBUJe2sLpMjBe/Fey0oqvVgbEREmok7aa1dBo/4KABLkkpZR/dmEKHpmhAy3Mh5bd2r4b9tzGZyAy+YqXGOvYOuoROuaXDaiXc4gh0T2Fw7YEN640mTQep3wroKvIExluoLqr1JoW4= Received: from CY4PR17MB1111.namprd17.prod.outlook.com (10.173.181.149) by CY4PR17MB1109.namprd17.prod.outlook.com (10.173.181.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 10 Oct 2017 01:23:05 +0000 Received: from CY4PR17MB1111.namprd17.prod.outlook.com ([10.173.181.149]) by CY4PR17MB1111.namprd17.prod.outlook.com ([10.173.181.149]) with mapi id 15.20.0077.020; Tue, 10 Oct 2017 01:23:04 +0000 From: Jonathan Bond-Caron To: Fabian Keil CC: "freebsd-questions@freebsd.org" Subject: RE: GELI disk and glabel label Thread-Topic: GELI disk and glabel label Thread-Index: AdM9dRRnyDZ9MsQsQ3+sTn56pFgJ6AB6028AAIC2j5A= Date: Tue, 10 Oct 2017 01:23:04 +0000 Message-ID: References: <20171007133532.0c647a07@fabiankeil.de> In-Reply-To: <20171007133532.0c647a07@fabiankeil.de> Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jbondc@gdesolutions.com; x-originating-ip: [96.20.150.93] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR17MB1109; 6:n4WNAyDU0zH7WhEm11JjA4P527jyHv/R0MUOx/jN3h3XP20mOW+ZZ+hw3+q+S0xw+KvdbAV7/EYKdNtl5OmDCuek/2xsqlTzyuxtMkRE3/2M6aV4srUIQcicuU/IVmj+7uAWpErWW1KPzLTSETlxY2XLksUyII3osMIU5Yt8KqHq/MC7R01H3gmvceFb2p96U/s645BUFHrsSSSMLHjDlz2XrjYsPXG3gCdtKpmi0VGwZsumFLjEIGmyrZ2hCpm+5VdyT+kDEfmPAhssu2Dv06yMVxkscJw3nrBxRu9GiYWH9w92MRVxShImackkquFcbJBfTK5fgce/mOBeJmucIw==; 5:0jTtOvkm7VxS8GtZtF5w6AtGhZNX1RR2kGMr6326rou/xK4ukOlPDBgsRQZkPz4hh37MpqdSe2PMTY8THTXbIV8wq9XIMdoKGVBlc+247u5jJBRXIDn/pxsggoqL5gNIkVYP6/lx+1qDit/9rGbfrw==; 24:KJwdAJByBPYq8jFn6jymt8OJo2CXx1ZIW0eh1vd2qkIx/t+3THvNLOlkQI3EyT3yYMkgAl7VZcYh+6M8xnJBbnnxJiejdDuDR2POrEwast8=; 7:W2g9xV9ZG7DIE8D2PJVThYo8nRLd+QuoDNRRtJma4F2alxZXftmA7GHZde/LqpNPf8fMTmEvdHNzUwmyYKnRkThjp1sij0yEazeBCBgTBG5wLpOmRU6H8HvCFQLLjOe+1DKt5tfZqGiXZdanvkO136C2bsj0Rn9m/iwVVVyK36A5iuXfaeDpUlawL1SgHRhGrgc4e5CO9sWVdnCapfUMuqvqoA9udJciTsPqHQ/qgEs= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: b0cb2139-71f7-43c6-50de-08d50f7d74c7 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017082002075)(2017052603199)(201703131423075)(201702281549075); SRVR:CY4PR17MB1109; x-ms-traffictypediagnostic: CY4PR17MB1109: x-exchange-antispam-report-test: UriScan:(158342451672863)(20558992708506)(166708455590820); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(2016111802025)(201703131423075)(201703061421075)(20161123562025)(20161123560025)(20161123558100)(6043046)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR17MB1109; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR17MB1109; x-forefront-prvs: 04569283F9 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(199003)(189002)(97736004)(8676002)(508600001)(6916009)(25786009)(3280700002)(105586002)(106356001)(2950100002)(33656002)(3660700001)(77096006)(966005)(5890100001)(229853002)(7696004)(2900100001)(4326008)(54356999)(6436002)(50986999)(76176999)(6306002)(9686003)(189998001)(6506006)(86362001)(101416001)(53936002)(7736002)(81166006)(74316002)(102836003)(6246003)(68736007)(14454004)(305945005)(55016002)(66066001)(99286003)(2906002)(5660300001)(8936002)(6116002)(3846002)(81156014); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR17MB1109; H:CY4PR17MB1111.namprd17.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: gdesolutions.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: gdesolutions.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2017 01:23:04.2417 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6942206e-827e-4487-a23d-4a96c873f8cd X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR17MB1109 X-Mailman-Approved-At: Tue, 10 Oct 2017 10:46:36 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 01:23:08 -0000 PiANCj4gPiBnbGFiZWwgc2VjdXJlIC9kZXYvZGExDQo+ID4gZ2xhYmVsIGJhY2t1cHMgL2Rldi9k YTINCj4gPg0KPiA+IFRoZSBwcm9ibGVtIGlzIG5vdyBJIGNhbid0IG1vdW50IHRoZW0gOi8gZ2Vs aSBhdHRhY2ggLWsgL3Jvb3QvZ2VsaS5rZXkNCj4gPiBnZWxpOiBDYW5ub3QgcmVhZCBtZXRhZGF0 YSBmcm9tIC9kZXYvZGExDQo+IA0KPiBBcyBCZXJudCBhbHJlYWR5IGV4cGxhaW5lZCwgdGhhdCdz IHRoZSBleHBlY3RlZCBiZWhhdmlvdXIuDQo+IA0KPiANCj4gSWYgeW91IGhhdmUgYSBiYWNrdXAg b2YgdGhlIHdob2xlIGRpc2ssIHlvdSBjYW4gZXh0cmFjdCB0aGUgZ2VsaSBtZXRhZGF0YQ0KPiB3 aXRoICJnZWxpIGJhY2t1cCAuLi4iIGFuZCByZXN0b3JlIGl0IHdpdGggImdlbGkgcmVzdG9yZSAu Li4iDQo+IHdoaWNoIHdpbGwgYWxzbyBvdmVyd3JpdGUgdGhlICJnbGFiZWwgbGFiZWwiLg0KPiAN Cg0KVGhhbmtzLCB0aGFua2Z1bGx5IGl0J3MgYSB2aXJ0dWFsaXplZCBzZXJ2ZXIgc28gaXQgd2Fz IGVhc3kgdG8gbW91bnQgdGhlIGJhY2t1cCBvZiB0aGUgZGlza3MgYW5kIGdlbGkgYmFja3VwIHRo ZW4gcmVzdG9yZS4NCg0KZ2VsaSBiYWNrdXAgL2Rldi9kYTYgL3RtcC9kYTEubWV0YQ0KZ2VsaSBi YWNrdXAgL2Rldi9kYTcgL3RtcC9kYTIubWV0YQ0KZ2VsaSByZXN0b3JlIC90bXAvZGExLm1ldGEg L2Rldi9kYTEgDQpnZWxpIHJlc3RvcmUgL3RtcC9kYTIubWV0YSAvZGV2L2RhMg0KDQpObyBsb3Nz IG9mIGRhdGEg8J+Yig0KDQpJdCB3b3VsZCBiZSBuaWNlIGlmIGdsYWJlbCB3b3VsZCBwcmV2ZW50 IHRoZSBsYWJlbGxpbmcgb2YgYSBnZWxpIGRpc2ssIGlmIHNvbWVvbmUgaXMgYWR2ZW50dXJvdXM6 DQpodHRwczovL2dpdGh1Yi5jb20vZnJlZWJzZC9mcmVlYnNkL2Jsb2IvbWFzdGVyL3NiaW4vZ2Vv bS9jbGFzcy9sYWJlbC9nZW9tX2xhYmVsLmMjTDEzMQ0KDQpJJ20gdGhpbmtpbmcgaWYgZWxpX21l dGFkYXRhX2RlY29kZShidWYsICZtZCkgaXMgc3VjY2Vzc2Z1bCwgaXQgcmVwb3J0cyBhbiBlcnJv cjoNCmh0dHBzOi8vZ2l0aHViLmNvbS9mcmVlYnNkL2ZyZWVic2QvYmxvYi8zODZkZGFlNTg0NTkz NDFlYzU2NzYwNDcwNzgwNTgxNGEyMTI4YTU3L3Vzci5zYmluL2ZzdHlwL2dlbGkuYw0KDQpUaGFu a3MgZm9yIGZlZWRiYWNrIQ0KSm9uDQoNCg0K From owner-freebsd-questions@freebsd.org Tue Oct 10 10:53:35 2017 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 502DDE2C813 for ; Tue, 10 Oct 2017 10:53:35 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A9887691B for ; Tue, 10 Oct 2017 10:53:34 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1e1rmA-0007dM-I9 for freebsd-questions@freebsd.org; Tue, 10 Oct 2017 12:28:38 +0200 Date: Tue, 10 Oct 2017 12:28:38 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Vocabulary trainer for English Message-ID: <20171010102838.GA27422@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 10:53:35 -0000 Hello, Do we have something in our ports (or any other software which runs on FreeBSD) and which could be used as a trainer for English vocabularity: - based on German / Englich word pairs - based on a given list of the pairs (we have this already in libreoffice based on the lessions of the school) - put words entered corretcly somehow at the end, i.e. asking for words typed-in wrong more often... Ofc, I could write something in shell for this, but maybe we have such beast. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-176-38902045 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign From owner-freebsd-questions@freebsd.org Tue Oct 10 11:19:13 2017 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 3C5E0E2D654 for ; Tue, 10 Oct 2017 11:19:13 +0000 (UTC) (envelope-from cameron@cskk.homeip.net) Received: from nsstlmta06p.bpe.bigpond.com (nsstlmta06p.bpe.bigpond.com [203.38.21.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 259BF7C293 for ; Tue, 10 Oct 2017 11:19:09 +0000 (UTC) (envelope-from cameron@cskk.homeip.net) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep13p-svc.bpe.nexus.telstra.com.au with ESMTP id <20171010061117.YKHL8742.nsstlfep13p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com>; Tue, 10 Oct 2017 17:11:17 +1100 X-RG-Spam: Unknown X-Junkmail-Premium-Raw: score=9/83, refid=2.7.2:2017.10.10.55415:17:9.112, ip=, rules=__HAS_FROM, __TO_MALFORMED_2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __HAS_CC_HDR, __MULTIPLE_RCPTS_CC_X2, __CC_NAME, __CC_NAME_DIFF_FROM_ACC, LEO_OBFU_SUBJ_RE, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __HAS_MSGID, __SANE_MSGID, __HAS_REPLYTO, __MIME_VERSION, __CT, __CT_TEXT_PLAIN, __CD, __IN_REP_TO, __USER_AGENT, __REFERENCES, __ANY_URI, __URI_NO_WWW, __FRAUD_MONEY_CURRENCY_DOLLAR, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, __NO_HTML_TAG_RAW, BODY_SIZE_1900_1999, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_P1, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, __FRAUD_MONEY_CURRENCY, BODY_SIZE_5000_LESS, IN_REP_TO, MSG_THREAD, __TO_REAL_NAMES, __CC_REAL_NAMES, MULTIPLE_REAL_RCPTS, LEGITIMATE_SIGNS, MULTIPLE_RCPTS, BODY_SIZE_2000_LESS, __MIME_TEXT_P, REPLYTO_FROM_DIFF_ADDY, REFERENCES, NO_URI_HTTPS, BODY_SIZE_7000_LESS X-Authentication-Info: Submitted using ID cskk@bigpond.com Received: from buttercup (1.144.52.22) by smtp.telstra.com (9.0.019.16-1) (authenticated as cskk) id 59D67F01017E0D81; Tue, 10 Oct 2017 17:11:16 +1100 Received: from fleet-wk-wifi.l (fleet-wk-wifi [172.16.3.7]) by buttercup (Postfix) with ESMTP id 802447FCAA; Tue, 10 Oct 2017 17:11:14 +1100 (AEDT) Received: by fleet-wk-wifi.l (Postfix, from userid 501) id 5E9BE8F94B06; Tue, 10 Oct 2017 17:11:14 +1100 (AEDT) Date: Tue, 10 Oct 2017 17:11:14 +1100 From: Cameron Simpson To: Polytropon Cc: Paul Schmehl , FreeBSD Questions , mutt-users@mutt.org Subject: Re: Scripting problem Message-ID: <20171010061114.GA58401@cskk.homeip.net> Reply-To: mutt-users@mutt.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171008095413.b0700f43.freebsd@edvax.de> User-Agent: Mutt/1.5.24 (2015-08-30) References: <20171008095413.b0700f43.freebsd@edvax.de> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 11:19:13 -0000 On 08Oct2017 09:54, Polytropon wrote: >On Sun, 08 Oct 2017 00:59:39 -0500, Paul Schmehl wrote: >> I'm having a problem with this line: >> /usr/local/bin/mutt -s $SUBJECT -i $MESSAGE -a $FILENAME -- >> pschmehl@tx.rr.com < /dev/null Your variable substitutions are not quoted, as mentioned. That is critical. The shell is a tool for assembling command string arrays, and quoting is used to demark single strings. [...] >This proves you have a quoting problem. Enclose the parameters >in the mutt call in "...", like this: > > /usr/local/bin/mutt -s "$SUBJECT" -i "$MESSAGE" -a "$FILENAME" -- pschmehl@tx.rr.com < /dev/null > >When the variables are being evaluated by the shell, the quotes >during assignment are removed, and you you get is > > /usr/local/bin/mutt -s Today's db backup -i path/to/message.txt -a /whatever/filename/there.is -- pschmehl@tx.rr.com < /dev/null > >The unterminated ' is handled more or less gracefully, but it >probably interferes with mutt's address detection. You can >now easily recognize the problem. No, mutt noever considers it for addresses, because it is the subject string. There's no "more or less gracefully", it is just a string. The mutt command is invoked as an array of strings, thus (one per line): /usr/local/bin/mutt -s Today's db backup -i path/to/message.txt -a /whatever/filename/there.is -- pschmehl@tx.rr.com There is no subsequent parsing or weird interpretation. >> I'm running FreeBSD 10.3-RELEASE and the script is written in bash. Just say "/bin/sh". It may be implemented by bash on your system, but it is generally the Bourne shell. Nothing you're doing requires bash itself, but all UNIX systems have /bin/sh. >Do you have any reasons not to stick to default sh? Do you use >any features specific to bash? Ah, I see this has also been maddresses. Cheers, Cameron Simpson (formerly cs@zip.com.au) From owner-freebsd-questions@freebsd.org Tue Oct 10 13:21:32 2017 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 C9CE1E31894 for ; Tue, 10 Oct 2017 13:21:32 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-03.niklaas.eu (mx.box-hlm-03.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:feaa:e902]) (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 729BE820E4 for ; Tue, 10 Oct 2017 13:21:31 +0000 (UTC) (envelope-from stdin@niklaas.eu) X-Virus-Scanned: amavisd-new at niklaas.eu From: Niklaas Baudet von Gersdorff To: Date: Tue, 10 Oct 2017 15:21:21 +0200 Message-ID: <15f06726468.2778.b334e9d67e1f36e0ba2f4a838a661d2c@niklaas.eu> In-Reply-To: <20171010102838.GA27422@sh4-5.1blu.de> References: <20171010102838.GA27422@sh4-5.1blu.de> Subject: Re: Vocabulary trainer for English MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 13:21:33 -0000 Hi, take a look at freshports.org/games/anki/ You'll find vocabulary lists on the project's website. Sorry for tofu -- sending from mobile phone. Niklaas On October 10, 2017 12:53:55 Matthias Apitz wrote: > > Hello, > > Do we have something in our ports (or any other software which runs on > FreeBSD) and which could be used as a trainer for English vocabularity: > > - based on German / Englich word pairs > - based on a given list of the pairs (we have this already in libreoffice > based on the lessions of the school) > - put words entered corretcly somehow at the end, i.e. asking for words > typed-in wrong more often... > > Ofc, I could write something in shell for this, but maybe we have such > beast. > > Thanks > > matthias > -- > Matthias Apitz | /"\ ASCII Ribbon Campaign: > E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail > WWW: http://www.unixarea.de/ | X - No proprietary attachments > phone: +49-176-38902045 | / \ - Respect for open standards > | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign > _______________________________________________ > 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 Oct 10 14:29:18 2017 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 9C903E33464 for ; Tue, 10 Oct 2017 14:29:18 +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 25E33844F6 for ; Tue, 10 Oct 2017 14:29:17 +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 v9AET5WT033964; Wed, 11 Oct 2017 01:29:05 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 11 Oct 2017 01:29:05 +1100 (EST) From: Ian Smith To: tech-lists cc: freebsd-questions@freebsd.org Subject: Re: console-only freebsd In-Reply-To: <20171010134149.GB70456@acer.zyxst.net> Message-ID: <20171011005715.D20901@sola.nimnet.asn.au> References: <20171007142019.GA19356@v007.zyxst.net> <3849a428c5f41c728effa2f85510c26e@ultimatedns.net> <20171010134149.GB70456@acer.zyxst.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 14:29:18 -0000 [ bit OT for freebsd-stable@ methinks, so replying to questions@ ] On Tue, 10 Oct 2017, tech-lists wrote: > On Mon, Oct 09, 2017 at 07:58:12AM -0700, Chris H wrote: > > > You might also find this article by Warren Block of value: > > > > http://www.wonkity.com/~wblock/docs/html/hiresconsole.html > > interesting, I guess that's another way of looking at it. Bear in mind though > that the cpu really is low powered. On top of that, it's a netbook so > keeping power consumption low is important Are you using powerd(8) to moderate CPU speed (so, power) when not so busy? Also many useful tips in https://wiki.freebsd.org/TuningPowerConsumption > In the meantime I've found that links2 might do what I want as it supports > text and graphics in svga/framebuffer. > > thanks for the suggestion More likely for it and similar things to work using sc rather than vt ? cheers, Ian From owner-freebsd-questions@freebsd.org Tue Oct 10 15:17:14 2017 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 B9B24E346A2 for ; Tue, 10 Oct 2017 15:17:14 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A187E6F for ; Tue, 10 Oct 2017 15:17:14 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 365AD20DF8 for ; Tue, 10 Oct 2017 11:17:13 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 10 Oct 2017 11:17:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=f6GfGDblil4buk168IPy09kvHac8HeEfGAiAck5KN dg=; b=vgPYmChlxHYkYVdM+Qa1NHuAFwlPWV1WnDV82/s5ZyesfjunC1K8zW+Ey l8D+o5J5kSer81pFFaAMtVfJQ8dlImJuk4k3PZfrOOdZaJtWFi+gXMUlf81LTN6O VtioTYzaKdDtogdzBYBZCxXZ4Nm9sGNwtWqWj1Tp0G/uT5oMVSdUkHsva+VVJvJ6 gwDq/b6bBWlWh+FAMxvFg/CHLy/Sn91yzvyBD1vlTSN6AfgwzUgvrAvkPYMGUPxN zw87hiQC6HnBh1HAO4egG45hoYHfEDVnOC4iLSugg+hE7eDkGIC/LgeD/R2RvX09 G+XzdZWnyNaLSqoWG4qKlJ0RNFPyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=f6GfGDblil4buk168I Py09kvHac8HeEfGAiAck5KNdg=; b=NpQKVCenjiSEWQGNGPMCgcUBN2FulOGwGJ 0IxusGeroFDLgqMabtX8+pul/ZwAqCK+Rh47RjpXIP/NINVWE6Za/9sQDHxxdK3I V7S4eL/TJwICxWAj62PcqBDcNtZnqfTJy9F6h9CavWXUW0w81W8Fs3z5QxCgzF6N /xuCYYDIhMKOlsARnOuuuhngY/HPvVqFlBWvmiiGwWfqffulLKRezmuXmdjh2N3O CEkyqKBmpwAlKtUPgoCGTjz50daeLrtGu7xUnsw9fT7tzO0EDitxOFd8aXsVYI6z 1o+qAnxiXqANkBSjcqKdmF2w1FsaWFXmgP4beUNBLSrz57tUgfww== X-ME-Sender: X-Sasl-enc: +kx5AQCSHqzc77oR7KgKeLkS28vmvmggKc4so0BlhyY0 1507648632 Received: from acer.zyxst.net (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 9EAA87FA8A for ; Tue, 10 Oct 2017 11:17:12 -0400 (EDT) Date: Tue, 10 Oct 2017 16:17:10 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: console-only freebsd Message-ID: <20171010151710.GC53732@acer.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20171007142019.GA19356@v007.zyxst.net> <3849a428c5f41c728effa2f85510c26e@ultimatedns.net> <20171010134149.GB70456@acer.zyxst.net> <20171011005715.D20901@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171011005715.D20901@sola.nimnet.asn.au> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 15:17:14 -0000 On Wed, Oct 11, 2017 at 01:29:05AM +1100, Ian Smith wrote: > >>On Tue, 10 Oct 2017, tech-lists wrote: > >Are you using powerd(8) to moderate CPU speed (so, power) when not so busy? > >Also many useful tips in https://wiki.freebsd.org/TuningPowerConsumption that's another ball of string. The cpu is AMD C-70 APU and powerd/cpufreq doesn't seem to recognise it. Think I'll need to ask -hardware about it. > > In the meantime I've found that links2 might do what I want as it supports > > text and graphics in svga/framebuffer. > > > > thanks for the suggestion > >More likely for it and similar things to work using sc rather than vt ? not sure. The present console is "like" a graphical console. I'm a bit out of my depth here.The following graphical modules are loaded at boot time: radeonkms.ko (which then loads:) radeonkmsfw_PALM_pfp.ko radeonkmsfw_PALM_me.ko radeonkmsfw_SUMO_rlc.ko without these loaded, it looks like a blocky text mode console. I've not experimented yet with sc rather than vt, or with links -g in either environment. -- J. From owner-freebsd-questions@freebsd.org Tue Oct 10 15:33:53 2017 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 233A0E34E14 for ; Tue, 10 Oct 2017 15:33:53 +0000 (UTC) (envelope-from j.geering@btinternet.com) Received: from rgout02.bt.lon5.cpcloud.co.uk (rgout0206.bt.lon5.cpcloud.co.uk [65.20.0.205]) by mx1.freebsd.org (Postfix) with ESMTP id 97EBE1954 for ; Tue, 10 Oct 2017 15:33:51 +0000 (UTC) (envelope-from j.geering@btinternet.com) X-OWM-Source-IP: 207.242.201.20 (US) X-OWM-Env-Sender: j.geering@btinternet.com Received: from minerva (207.242.201.20) by rgout02.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as j.geering@btinternet.com) id 59D91D9400485225; Tue, 10 Oct 2017 16:12:44 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1507649632; bh=qWF8jze3L7zKoKbV67uEoE4bSb0oOBlimYdUvC5dyEo=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:X-Mailer:Mime-Version; b=j29DgaSUeIIZmlyLBOrRfbwe1BTKXtXXjGUJ8OY8AB3DK4UbkXDyl23sUc0KYP/F28ldPZhSj9hNiWzygXTRVwL+LhKDlETgwtL41RuSIEG5dgiwCWilmZ57Z4l0fD8MY2+TAHPCARVqRluE/QsHXym7k3GakTfxEGnfjd1Bpf8= Message-ID: <1507648362.12939.3.camel@btinternet.com> Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 From: James Geering To: Marco Beishuizen Cc: freebsd-questions@freebsd.org Date: Tue, 10 Oct 2017 11:12:42 -0400 In-Reply-To: References: <1507556303.29148.15.camel@btinternet.com> <1507562180.29148.17.camel@btinternet.com> X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 15:33:53 -0000 Hi, Another newbie questions I'm afraid but I cannot find the answer in the documentation or from google. I am performing an svn checkout on the ports/head and of course am asked to accept the ECDSA key fingerprint. I'd rather not do this blindly and so would like to check the fingerprint as per normal. However, I cannot find a list of fingerprints for the FreeBSD servers. Where can I find these please so that I can add it to my known hosts. Thank you. -----Original Message-----From: Marco Beishuizen Reply-to: Marco Beishuizen To: James Geering Cc: freebsd-questions@freebsd.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 Date: Mon, 9 Oct 2017 18:42:22 +0200 (CEST) On Mon, 9 Oct 2017, the wise James Geering wrote: > Ah ok thank you, so I think you mean I have to get explicitly the > windowmaker port using SVN ? and then build it locally? If you want to use ports then you have to update your local portstree and build it locally. If you want to use the pkg then you have to wait until the windowmaker pkg arrives in the pkg repository. Perhaps best thing to do first is to read the handbook about pkg/ports: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Regards, Marco From owner-freebsd-questions@freebsd.org Tue Oct 10 15:47:45 2017 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 92302E35962 for ; Tue, 10 Oct 2017 15:47:45 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 52E8725D7 for ; Tue, 10 Oct 2017 15:47:44 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D286B61A9 for ; Tue, 10 Oct 2017 15:47:40 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Cannot pkg upgrade WindowMaker 0.95.7 -> 0.95.8 To: freebsd-questions@freebsd.org References: <1507556303.29148.15.camel@btinternet.com> <1507562180.29148.17.camel@btinternet.com> <1507648362.12939.3.camel@btinternet.com> From: Matthew Seaman Message-ID: <0c758985-915d-b275-261e-459679cadbfc@FreeBSD.org> Date: Tue, 10 Oct 2017 16:47:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507648362.12939.3.camel@btinternet.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 15:47:45 -0000 On 10/10/2017 16:12, James Geering wrote: > Another newbie questions I'm afraid but I cannot find the answer in the > documentation > or from google. > I am performing an svn checkout on the ports/head and of course am asked > to accept > the ECDSA key fingerprint. I'd rather not do this blindly and so would > like to check the > fingerprint as per normal. However, I cannot find a list of > fingerprints for the FreeBSD > servers. Where can I find these please so that I can add it to my known > hosts. FreeBSD servers have SSHFP records in the DNS -- so you can do eg. % dig +short SSHFP repo.freebsd.org 3 1 36B341D17435A6DF1380C9E706FEE1715626AFBB 1 2 65A5148D5FA17B02DA6BE9640BE654BE90CF87BC4F633D62BCBB882D EE8BF74F 1 1 A137868F78A49B2DCCB3B48B270991B39A92508A 2 1 8EE4E20F3AE231F3C496493D3F38565A093478CD 2 2 0B7936D1466DA23BA5F5BBCDC1B24F3DDA014323790BA511F7B06AAC 493E8C6B 4 2 BABD9D9AA10F0A8BD4BDB799F020B691FF293B52A9679E79C6140F3E 3A1220E1 3 2 64BAB351F14A5152982C5FF022EA9A78B4534A428C2564C711CD6D12 2DF807C8 4 1 F8BAE3FBBA737BEC38B7E80F57421C8B58DD3AB7 Now, you can go grovelling about in the documentation about SSHFP records to work out how those transform into the SSH fingerprints you would see from your desktop, but a much better way is to get ssh itself to lookup and verify the SSHFP records against the server's key. In your ~/.ssh/config or the /etc/ssh/ssh_config file add a section: Host *.freebsd.org VerifyHostKeysDNS yes This assumes you have a DNSSEC enabled resolver configured. If you're unsure that you do (or maybe even what that means), a quick solution is to add local_unbound="YES" to /etc/rc.conf, and then run: # service local_unbound setup # service local_unbound start Et voilà Cheers, Matthew From owner-freebsd-questions@freebsd.org Tue Oct 10 15:57:09 2017 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 DCA21E35D9D for ; Tue, 10 Oct 2017 15:57:09 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A0EB2A83 for ; Tue, 10 Oct 2017 15:57:08 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id EF060622FE for ; Tue, 10 Oct 2017 11:48:43 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wyWbCaQnszxD for ; Tue, 10 Oct 2017 11:48:42 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 499F8622BE for ; Tue, 10 Oct 2017 11:48:42 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 10 Oct 2017 11:48:42 -0400 Message-ID: <4934738cf7426fd4904a9eae8a8844e3.squirrel@webmail.harte-lyne.ca> Date: Tue, 10 Oct 2017 11:48:42 -0400 Subject: Why can mate not mount this USB flash memory? From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 15:57:10 -0000 dmesg: ugen3.2: at usbus3 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:5:0: Attached to scbus5 da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 da0: Removable Direct Access SPC-2 SCSI device da0: Serial Number 50E549C20210BF10A9BC4174 da0: 40.000MB/s transfers da0: 60017MB (122915328 512 byte sectors) da0: quirks=0x3 /var/log/messages Oct 10 10:56:58 vhost04 kernel: ugen3.2: at usbus3 Oct 10 10:56:58 vhost04 kernel: umass0: on usbus3 Oct 10 10:56:58 vhost04 kernel: umass0: SCSI over Bulk-Only; quirks = 0x8100 Oct 10 10:56:58 vhost04 kernel: umass0:5:0: Attached to scbus5 Oct 10 10:56:58 vhost04 kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 Oct 10 10:56:58 vhost04 kernel: da0: Removable Direct Access SPC-2 SCSI device Oct 10 10:56:58 vhost04 kernel: da0: Serial Number 50E549C20210BF10A9BC4174 Oct 10 10:56:58 vhost04 kernel: da0: 40.000MB/s transfers Oct 10 10:56:58 vhost04 kernel: da0: 60017MB (122915328 512 byte sectors) Oct 10 10:56:58 vhost04 kernel: da0: quirks=0x3 ll /media total 1 -rwxrwxrwx 1 root wheel 0 Sep 26 15:13 .hal-mtab-lock drwxr-xr-x 2 root wheel 2 Sep 26 10:25 usbkey cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2.eli none swap sw 0 0 /dev/ada1p2.eli none swap sw 0 0 fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 Mate error: usb drive 'Unable to mount location' Can't mount file This drive has previously mounted successfully in mate but now it does not. In fact I cannot mount ANY usb flash drives from mate. New, previously unused, usb keys do nothing more than display the usb drive icon when inserted. New drives do not even give the error message when trying to mount hem manually from inside nautilus. I can mount these devised from the console using: mount -t msdosfs /dev/da0s1 /media/usbkey and the data thereon is then made accessible within mate as /usbdrive. All these problems started after I once attempted to copy the contents of one usb flash drive to another on this system. Mate did not like that as I reported at the time but it seems that something basic got borked and nothing dealing with usb keys in Mate has worked right since. Is there some sort of 'reset' switch for mate? I mean, short of doing the MicroSoft thing and removing and re-instaling the entire software package? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Tue Oct 10 16:19:21 2017 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 1A54CE3651C for ; Tue, 10 Oct 2017 16:19:21 +0000 (UTC) (envelope-from markham@ssimicro.com) Received: from barracuda.ssimicro.com (barracuda.ssimicro.com [96.46.39.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD1763647 for ; Tue, 10 Oct 2017 16:19:20 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507652351-08e7172d0bd8ccf0001-jLrpzn Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id ByKsl4jZ0naPUdIz (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 10 Oct 2017 12:19:12 -0400 (EDT) X-Barracuda-Envelope-From: markham@ssimicro.com X-Barracuda-Effective-Source-IP: mail.ssimicro.com[64.247.129.10] X-Barracuda-Apparent-Source-IP: 64.247.129.10 Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by mail.ssimicro.com (8.15.2/8.15.2) with ESMTPSA id v9AGJBvn033411 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 10 Oct 2017 10:19:11 -0600 (MDT) (envelope-from markham@ssimicro.com) Subject: Re: Scripting problem To: freebsd-questions@freebsd.org X-ASG-Orig-Subj: Re: Scripting problem References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> From: markham breitbach Message-ID: Date: Tue, 10 Oct 2017 10:19:11 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507652352 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://barracuda.ssimicro.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 1985 X-Virus-Scanned: by bsmtpd at ssimicro.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43769 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 16:19:21 -0000 The easiest way to attach files in mailx is to use uuencode. something like this: dbdump.sh | uuencode dbdump.sql=A0 | mail -s "DB backup for today" myemail@example.com -M On 2017-10-08 12:14 AM, Paul Schmehl wrote: > --On October 8, 2017 at 6:08:51 AM +0000 Manish Jain > wrote: > >> >> I do not use mutt (one of the most unfriendly Unix apps) so I cannot >> comment on what is the problem here. But I would to suggest one thing = to >> you for CLI mail : use the port/pkg smtp-cli >> >> Here is a working sample for mail with attachment (bundled into the ba= sh >> shell array att) : >> >> smtp-cli \ >> =A0=A0=A0=A0--ipv4 \ >> =A0=A0=A0=A0--auth \ >> =A0=A0=A0=A0--server=3D"$SMTP" \ >> =A0=A0=A0=A0--port=3D$PORT \ >> =A0=A0=A0=A0--user=3D"$fromaddr" \ >> =A0=A0=A0=A0--pass=3D"$password" \ >> =A0=A0=A0=A0--from=3D"$fromname <$fromaddr>" \ >> =A0=A0=A0=A0--to=3D"$sendto" \ >> =A0=A0=A0=A0--subject=3D"$subject" \ >> =A0=A0=A0=A0"${att[@]}" >> >> If this solves your problem, good luck=A0 : - ) >> > I guess I should have pointed out that I'm sending mail on localhost, > so there's no auth involved. I'm using mutt because mailx doesn't > appear to have the ability to attach files. > > I solved the problem by using a one word subject. It's weird that Mutt > is somehow parsing the words in the subject and using them as recipient= s. > > Paul Schmehl, Retired > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > 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 Oct 10 17:13:29 2017 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 EB092E37D24 for ; Tue, 10 Oct 2017 17:13:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA11D649E2 for ; Tue, 10 Oct 2017 17:13:29 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1023420A11 for ; Tue, 10 Oct 2017 13:13:28 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 10 Oct 2017 13:13:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=XeimpdayMJ5gKMr2zGsP8C4dacoIue10PudvmZI/H Xs=; b=F4EHm7mhPsK7xLgn26yHx18D4sh9xxVgSTJ1haV7JCvk3Wc4VvHeSxLju SraiovkySZJsSSrNZboPqct1KPZ3F3Z/xfaj2lHPSRI7nJ+uyGVCw7xpMNU37BUh P+Ol8JYy+eCn3Yr55tWgvPVgph1dkqdafAY7Ac51j5x3toajCe0zPeS7OpaPm7LK UpavakHLb/5NMIyufOE9Azq9Xc2yRj7A1zfYJ6BAMOLKkMlmNK9OSuvNu3YjYLwu p1IV/vPh/6XyPChbh6W01B3agQX1/R3Bmbby/AVljwR+t+z7HcGPiZ2mmIcXo67q Dq4buoCKbGfq1Yi0WYeDNyqtlzHcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=XeimpdayMJ5gKMr2zG sP8C4dacoIue10PudvmZI/HXs=; b=Pm2/zCMRsZAZdZNGFKnGeuh8QWPBBx1MHk iqEY0lehWwGDRM34iYstOMBV1DNh74PnwlYd0uYIx8yc/aIotG9mYTQLzUaNSmYr gLWJHR3v6zsybAaDWOE7UCf/uc2m8qSftEPjIMZmsQL/QqnUr6TsOt0FGSFaDYNG zMjDvvhYEmwmkq3XSeUJ3NRfwm71sa9+sdIfdaRtDfKF8yL0dqZovdj/hSbR0yGD j52iwdRI+SkGpSvh6FmrvkwwoH2Nu1fymzdHxrWWIPEOR8CE3k/J609nuR1nKBmq wd0NOamSyJNVPqglhCYPSlmN8aulEf0QTHkZbjxIH4OzcB9j0qdg== X-ME-Sender: X-Sasl-enc: YUuFnRSSmUj66EFZ7givcqd/S77oCzyFcDWQ+SZul6SO 1507655607 Received: from acer.zyxst.net (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 8B9947F96D for ; Tue, 10 Oct 2017 13:13:27 -0400 (EDT) Date: Tue, 10 Oct 2017 18:13:25 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: console-only freebsd Message-ID: <20171010171325.GA90359@acer.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20171007142019.GA19356@v007.zyxst.net> <3849a428c5f41c728effa2f85510c26e@ultimatedns.net> <20171010134149.GB70456@acer.zyxst.net> <20171011005715.D20901@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171011005715.D20901@sola.nimnet.asn.au> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 17:13:30 -0000 On Wed, Oct 11, 2017 at 01:29:05AM +1100, Ian Smith wrote: >More likely for it and similar things to work using sc rather than vt ? you're right. Much simpler to stick with a minimal xorg. thanks, -- J. From owner-freebsd-questions@freebsd.org Tue Oct 10 23:00:18 2017 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 3ADEEE3F78A for ; Tue, 10 Oct 2017 23:00:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F113170417 for ; Tue, 10 Oct 2017 23:00:17 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id q190so35978vkd.13 for ; Tue, 10 Oct 2017 16:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rr8gnIZUsTz/FsXlTJSc7MM0jGfwudeXO9UIg6CRmRo=; b=Xshizoj7vUisCU4OCIw5Q76AXE5iG5AXzKFCjWH9zGKVlnyjEO6TQpXkTGblRYMm/s 2TPtXYwMJBevK2TaxuhS+Q+i5c5G1l9uIWIfciYKviEgfikJZwJmj0gAxuMkPEsvuo32 jysvDS9ttpLqPCrC4I28tTJ/+SR3Pf999JTUQRCg6YuLT6ghJHex64Glq6G//ojWZTDj WxUtpDhVLMP7nZn/jzM0FeBI1RM/7qyUP7VgtMsStiolzm7WSD9fuYfHLcqzeKLFCc4Q db+eYwhsDgdk/AJoRIJ8AI3vL4Ity5S6jl+nuGWLMXbqXEAIK5bjZf5zM9JolWxu/mJQ K77Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rr8gnIZUsTz/FsXlTJSc7MM0jGfwudeXO9UIg6CRmRo=; b=jXi8CCHg77XM+dRHCeCIwwSXximVBmcr8Z+agngnlqk/xzo+ENXgru9pGE6JKXc+J1 42Db1NjG79cHHt4xaejcujdTCGaVFHMUwuiT/KukB3viQcAaP8oTsWO+d7D4Ix3thJDb 7agGWn/BZ/P4uF9dkjR/cQUSPcdUatTuzEgm6Ld1dQ+SpR89TqdV+ARgWkl/qNFRRE4r h2+k+60Qp8cQwdSEWpduf8OJw4PhNt4So9e3fYEDYhdgzPp5z+DdSIDxE82+0HiXHTqm ViGm8YZIAiWiRUhUbAjdMayqFe7e9ZsRO/TMh8NABcEwAP7nbHGsyCdRpNBleLdQqoc7 7OsA== X-Gm-Message-State: AMCzsaXkV4bd9h+2DCNC72H2hqC8W4/rsl0EFwIaeQ0t9WRqyW5LTPaK R8l8QyRPQW5RoIT3CNKnXL9mgyPX4C85fj0l5VA= X-Google-Smtp-Source: AOwi7QBFG8Y8zqoEoCj3ALQdLcbKe2jXVx93oVEPLBLX4vzkSkuXLbW2Q0b0qQFw0+c0iYNT4af5rmvIHUKm8+Ek78I= X-Received: by 10.31.33.3 with SMTP id h3mr6532763vkh.125.1507676416662; Tue, 10 Oct 2017 16:00:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Tue, 10 Oct 2017 16:00:16 -0700 (PDT) From: Antonio Olivares Date: Tue, 10 Oct 2017 18:00:16 -0500 Message-ID: Subject: Clang equivalents to gcc options To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 23:00:18 -0000 Dear FreeBSD users, I kindly ask for equivalent options when compiling c programs. I was able to find an equivalent clang for $ c++ -o prog prog.cpp $ clang++ -o prog prog.cpp Will do the job, but for say $ gcc -o What would the equivalent clang expression be? Thanks in advance, Antonio From owner-freebsd-questions@freebsd.org Tue Oct 10 23:09:32 2017 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 6F04DE3FABB for ; Tue, 10 Oct 2017 23:09:32 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23DE270828 for ; Tue, 10 Oct 2017 23:09:32 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id h34so60768uaa.6 for ; Tue, 10 Oct 2017 16:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0C8e5314NGNoGM5YdDqUW8kCqYzITsmzI8OcJi9R5zQ=; b=GuMnG462KS9Hbgk/C8mzcrSzcxFkVGhk9ZXt4iAgbuE6ZCoAJyJMm1+GizsVu+TWTw HOlIGciJxgdqrcAe8nRe36yXsKw+LefxwB99886CRSVH4a9kSTuexxmgTo28rk7hhQOL 081v3ptA94HadkATn36cL9cdjsMv52mWjEq5AH/K1/8LKU+9LRDL/oSca2jZ5FrwsLVn whPnZgcz+n6yV/FBCYMD6LatuUuLQDzEKIT7EBsEXEg5mJv2QKvU3mx4G01gMv3JzcV9 dkq19G2Y9mreg5vwN0LZAYo9CqJk6kcwLeuL/OpxrJdCupUm5VraOldcmK9VlJkBfjNY 9UDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0C8e5314NGNoGM5YdDqUW8kCqYzITsmzI8OcJi9R5zQ=; b=IE7fMWo4ZvBcIJdI+WQfmE4xjK8Lyoah1WQN5yHdIZOIOeY/n6rW9USiuXYjjL7toc pOmDZHRu+66LZxwgFx+6SELo9DvVjrQDKaZX/7ycCzBITp7N6jVKkWPVRBGtcyo8fmia jA8BMyBEhLN4qYNVN2aFZcXt3pmLRvH+0b3ca1NeCSq9u6qlEgaDD4jPY55T7BBNfR8m xz8/cLRs6/iG1B8XfSBSUNgUep1PK7N32hQIMqD3E3WOAsoArjFAkGW3ybiLVteGO9Lk 6b8C91f980VNF+ITBXexk8Vve1aj06pn7vjyFlT27ptdxTp5Mg9naaPuAikDaw+o0E6h Hcfg== X-Gm-Message-State: AMCzsaWs9IL1mUcsZdj/NxJJpMwIXh5hSyFT5I5IrBXGEhDkZFriLw1m GmgRKuc56wvRJDOqLIZKElemnUXqCtTkDWDSFa4= X-Google-Smtp-Source: AOwi7QCsfd9d923mObPFq4G4YHHx5ftAmuOxzM0DQiH2Yy8yNLE5rpVYjnxK2FqmRCP2HLECMc3ZTYZQXC578owtxOo= X-Received: by 10.176.75.152 with SMTP id v24mr6603896uaf.43.1507676970910; Tue, 10 Oct 2017 16:09:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Tue, 10 Oct 2017 16:09:30 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Tue, 10 Oct 2017 18:09:30 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: Manish Jain Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 23:09:32 -0000 On Monday, October 9, 2017, Antonio Olivares wrote: > On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain > > wrote: > > > > > > On 10/09/17 22:26, Antonio Olivares wrote: > >> Dear FreeBSD users, > >> > >> I want to update the packages in my pc and I keep getting operation > >> timed out. Is there a way for pkg to update the packages and avoid > >> this message? I have tried for 3 hrs and it stops at the same place, > >> it fetches llvm-* and then it says operation timed out. I have run > >> pkg clean, but the error persists. > > > > I am not certain whether this is the right approach, but when I faced > > that error (with llvm), I did this : > > > > open up an additional terms (Alt + F2) > > > > In that terminal, run : ping pkg.freebsd.org > > > > Return to the F1 terminal and then run : > > > > pkg fetch llvm > > > > If that solves your problem, do let me know. > > Manish Jain > > > It times out :( > > root@aceraspire:~ # ping pkg.freebsd.org > PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes > ^C > --- pkgmir.geo.freebsd.org ping statistics --- > 18 packets transmitted, 0 packets received, 100.0% packet loss > root@aceraspire:~ # pkg fetch llvm40 > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following packages will be fetched: > > New packages to be FETCHED: > llvm40-4.0.1_1 (271 MiB: 100.00% of the 271 MiB to download) > > Number of packages to be fetched: 1 > > The process will require 271 MiB more space. > 271 MiB to be downloaded. > > Proceed with fetching packages? [y/N]: y > Fetching llvm40-4.0.1_1.txz: 100% 107 MiB 413.9kB/s 04:31 > pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ > llvm40-4.0.1_1.txz: > Operation timed out > > > if I try to update regularly, I get : > > Installed packages to be REINSTALLED: > wx28-gtk2-common-2.8.12_7 (direct dependency changed: gstreamer) > wx28-gtk2-2.8.12_7 (direct dependency changed: gstreamer) > qt5-multimedia-5.7.1_1 (direct dependency changed: > gstreamer1-plugins) > libdca-0.0.5_1 > liba52-0.7.4_3 > gstreamer-0.10.36_6 > db5-5.3.28_6 > > Number of packages to be installed: 14 > Number of packages to be upgraded: 75 > Number of packages to be reinstalled: 7 > > The process will require 11 MiB more space. > 713 MiB to be downloaded. > > Proceed with this action? [y/N]: y > [1/96] Fetching llvm40-4.0.1_1.txz: 100% 82 MiB 477.0kB/s 03:00 > pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ > llvm40-4.0.1_1.txz: > Operation timed out > root@aceraspire:~ # > > Best Regards, > > > Antonio > I try and try again and keep getting timed out error. Is there another way to fetch/ download the file? I was going to attempt to download it with wget? But I am unsure how to do it? Is there a way to skip this file? And get it later? I have successfully updated on amd64 bit machine, but this machine is different I had trouble before but was able to update, this time I have not succeeded. Thanks Manish for your suggestion, but it times out as well, if I could run a command to persist till the package downloads it would help. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Wed Oct 11 06:51:59 2017 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 89A74E48407 for ; Wed, 11 Oct 2017 06:51:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F199680F1B for ; Wed, 11 Oct 2017 06:51:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 11 Oct 2017 08:51:50 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B70703CC3F; Wed, 11 Oct 2017 08:51:49 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9B6pnfI002150; Wed, 11 Oct 2017 08:51:49 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 11 Oct 2017 08:51:49 +0200 From: Polytropon To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: Clang equivalents to gcc options Message-Id: <20171011085149.e64d8d03.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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 201AD6A362B X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1483 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 06:51:59 -0000 On Tue, 10 Oct 2017 18:00:16 -0500, Antonio Olivares wrote: > I kindly ask for equivalent options when compiling c programs. > I was able to find an equivalent clang for > $ c++ -o prog prog.cpp > $ clang++ -o prog prog.cpp > Will do the job, but for say > $ gcc -o > What would the equivalent clang expression be? It's the same option: -o ; just specifying -o without anything else results in an error (both gcc and clang). Example: % gcc -o gcc: argument to '-o' is missing >From the clang documentation: -o Write output to file. https://clang.llvm.org/docs/CommandGuide/clang.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Oct 11 10:17:02 2017 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 54854E27501 for ; Wed, 11 Oct 2017 10:17:02 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:c:538::194]) (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 1A9BE2CC0 for ; Wed, 11 Oct 2017 10:17:01 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) X-Originating-IP: 209.85.192.178 Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) (Authenticated sender: moi@erwan.legrand.name) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 6CD6BC5A7E for ; Wed, 11 Oct 2017 12:16:57 +0200 (CEST) Received: by mail-pf0-f178.google.com with SMTP id e64so868823pfk.9 for ; Wed, 11 Oct 2017 03:16:57 -0700 (PDT) X-Gm-Message-State: AMCzsaXnNc5ES9WGDifS6fFx2yFaMDEwbarA5HEvGtgIMTfvT8QP2xHQ vWXN2oPkoF7nH6v+KK+LHUkS2slKV0XzYpTsN8U= X-Google-Smtp-Source: AOwi7QDwMlSr2BZfIPQyM5idJY30ReupvXXLC8xsflJ3AA5SdzCK93tmByMeU+Em9WKpaFuiW8nWgGDLSDJbKlab7L0= X-Received: by 10.84.132.78 with SMTP id 72mr14758560ple.185.1507717015636; Wed, 11 Oct 2017 03:16:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.155.10 with HTTP; Wed, 11 Oct 2017 03:16:55 -0700 (PDT) In-Reply-To: References: From: Erwan Legrand Date: Wed, 11 Oct 2017 12:16:55 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: problems with pkg: Operation timed out To: Antonio Olivares Cc: Manish Jain , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 10:17:02 -0000 This appears to be a networking issue. Try running "traceroute pkg.freebsd.org" in order to find out where the problem is located. That being said, I would read the comment in /etc/pkg/FreeBSD.conf and then try one of these mirrors: * pkg0.bme.freebsd.org * pkg0.isc.freebsd.org * pkg0.nyi.freebsd.org * pkg0.twn.freebsd.org * pkg0.ydx.freebsd.org This will probably allow you to work around the problem. On Wed, Oct 11, 2017 at 1:09 AM, Antonio Olivares wrote: > On Monday, October 9, 2017, Antonio Olivares > wrote: > >> On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain >> > wrote: >> > >> > >> > On 10/09/17 22:26, Antonio Olivares wrote: >> >> Dear FreeBSD users, >> >> >> >> I want to update the packages in my pc and I keep getting operation >> >> timed out. Is there a way for pkg to update the packages and avoid >> >> this message? I have tried for 3 hrs and it stops at the same place, >> >> it fetches llvm-* and then it says operation timed out. I have run >> >> pkg clean, but the error persists. >> > >> > I am not certain whether this is the right approach, but when I faced >> > that error (with llvm), I did this : >> > >> > open up an additional terms (Alt + F2) >> > >> > In that terminal, run : ping pkg.freebsd.org >> > >> > Return to the F1 terminal and then run : >> > >> > pkg fetch llvm >> > >> > If that solves your problem, do let me know. >> > Manish Jain >> > >> It times out :( >> >> root@aceraspire:~ # ping pkg.freebsd.org >> PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes >> ^C >> --- pkgmir.geo.freebsd.org ping statistics --- >> 18 packets transmitted, 0 packets received, 100.0% packet loss >> root@aceraspire:~ # pkg fetch llvm40 >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up to date. >> All repositories are up to date. >> The following packages will be fetched: >> >> New packages to be FETCHED: >> llvm40-4.0.1_1 (271 MiB: 100.00% of the 271 MiB to download) >> >> Number of packages to be fetched: 1 >> >> The process will require 271 MiB more space. >> 271 MiB to be downloaded. >> >> Proceed with fetching packages? [y/N]: y >> Fetching llvm40-4.0.1_1.txz: 100% 107 MiB 413.9kB/s 04:31 >> pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ >> llvm40-4.0.1_1.txz: >> Operation timed out >> >> >> if I try to update regularly, I get : >> >> Installed packages to be REINSTALLED: >> wx28-gtk2-common-2.8.12_7 (direct dependency changed: gstreamer) >> wx28-gtk2-2.8.12_7 (direct dependency changed: gstreamer) >> qt5-multimedia-5.7.1_1 (direct dependency changed: >> gstreamer1-plugins) >> libdca-0.0.5_1 >> liba52-0.7.4_3 >> gstreamer-0.10.36_6 >> db5-5.3.28_6 >> >> Number of packages to be installed: 14 >> Number of packages to be upgraded: 75 >> Number of packages to be reinstalled: 7 >> >> The process will require 11 MiB more space. >> 713 MiB to be downloaded. >> >> Proceed with this action? [y/N]: y >> [1/96] Fetching llvm40-4.0.1_1.txz: 100% 82 MiB 477.0kB/s 03:00 >> pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ >> llvm40-4.0.1_1.txz: >> Operation timed out >> root@aceraspire:~ # >> >> Best Regards, >> >> >> Antonio >> > > I try and try again and keep getting timed out error. Is there another way > to fetch/ download the file? I was going to attempt to download it with > wget? But I am unsure how to do it? Is there a way to skip this file? > And get it later? I have successfully updated on amd64 bit machine, but > this machine is different I had trouble before but was able to update, this > time I have not succeeded. Thanks Manish for your suggestion, but it times > out as well, if I could run a command to persist till the package downloads > it would help. > > Best Regards, > > > Antonio > _______________________________________________ > 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 Wed Oct 11 10:20:39 2017 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 C7BB1E27676; Wed, 11 Oct 2017 10:20:39 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 7B6F02E10; Wed, 11 Oct 2017 10:20:39 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id l40so775289uah.2; Wed, 11 Oct 2017 03:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=YogWfiEdm6E51B+tKy5zDdYwcF04FrTdJjDwq23hMyc=; b=RcHH5bBo8WxgIQ37OjZybwL2fEK5a5BTTkPjM8hmdyCu1BuDhwsZDTvkZwMZT554Xc XrZpmVddqAscyVg54TwtcNGWNOKK0zh2AiJxGvL+J7xHGs+t4A1I3JvAaYOuRF4c7BDJ jHqG7mJuAxb10mDYqHVXqxmnEYpzqkYjC+moa5VUNGLWVwVVNlbMb9lQl67ZLTIKbIaf 5IQ+lFDaS7ez5LoMJ0DlGcmCEC9pVWAndFwUrQ8oBCxqofGWnaowpB8Q0s0MR5jbdT8y IeuUZgRMLzXDK1mnavB3zqlaSJ8Bz0ynWe52qcfvfWrtZMV/vW3LmqEsXB20WcpZema3 P8jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=YogWfiEdm6E51B+tKy5zDdYwcF04FrTdJjDwq23hMyc=; b=W9Hn6DZmt4dY3WEDbAOTUPvL+fetRP0IJ8uiT5q7sfrlWJ/sYwNBLn2ZqgvxO2sDHi o2IUOxaW1qpaBrJnBaPhJRAAKJ68mz34AOtVoRnmzQb7vWhNvjrxiwuSv8HYRCi8cyLw hYgg6G53H54qHITraoUJtzN1fYXTHwutZ52gvZNpcf0C0JiQmZMfxzZuNmbXW8/44SUo qn6UCLAGS4POJ1t3Z1RGF0qMxWGE7tP+k/Be76zRX/Fg4dOKyZu6c3RWpJjUW/TqWrex cdhyw9Z1Pe387sRwbTSBkIHfNRVBwcik1YynPxR3riUXH2wWY5A6ybvU0kRbTT7HV8bW 0yAg== X-Gm-Message-State: AMCzsaUu+iVkylGLbhvgAnLcWFBOdjQS5XbdA14+47f0S/7UBbX6z4/j iQEWVJuY4lzyhHqb6ttIzAD8paKpsYg5MuR8mEQr0A== X-Google-Smtp-Source: AOwi7QD1/9wuHOxxM9hQRn5l6whP58BheBBKYKSH5O40tJuBExOVyUFN0a1ljfeiv4B4qWAK4vsJYk56vI00iBI8K9E= X-Received: by 10.176.85.15 with SMTP id t15mr10768765uaa.172.1507717238498; Wed, 11 Oct 2017 03:20:38 -0700 (PDT) MIME-Version: 1.0 Sender: etnapierala@gmail.com Received: by 10.176.66.67 with HTTP; Wed, 11 Oct 2017 03:20:38 -0700 (PDT) In-Reply-To: References: From: Edward Napierala Date: Wed, 11 Oct 2017 11:20:38 +0100 X-Google-Sender-Auth: pB6DZLKMDZyHejsOTe5iTKj3q0w Message-ID: Subject: Re: automount usb msdosfs no partition table To: Tomasz CEDRO Cc: FreeBSD Questions Mailing List , FreeBSD Stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 10:20:39 -0000 2017-10-09 0:10 GMT+01:00 Tomasz CEDRO : > Hello world :-) > > I need to configure automount for a testing machine. It seems to work > fine, except for two issues: > > 1. Mount point does not disappear after device disappears, what makes > things harder to script when device is gone. automount -c does not > remove the mountpoint, only restarting the service does. It is a bug > or feature? > Bug, or perhaps a missing feature. No known workaround at this point, I'm afraid. > 2. Automounter does not mount USB Pendrive / MSDOSFS devices that does > not have a parition table. Some USB Drives does not have valid > partition table, they appear as /dev/da0 and can be mounted with > mount_msdosfs /dev/da0 /mnt, but they are not recognised by > automounter.. how can I make it work with such devices? > It should just work: [trasz@v2:~]% ll /media total 5 drwxr-xr-x 3 root wheel 512 Oct 6 15:38 . drwxr-xr-x 21 root wheel 1024 Oct 5 23:58 .. [trasz@v2:~]% doas mdconfig -s1g md0 trasz@v2:~]% doas newfs_msdos /dev/md0 newfs_msdos: cannot get number of sectors per track: Operation not supported newfs_msdos: cannot get number of heads: Operation not supported /dev/md0: 2096576 sectors in 65518 FAT16 clusters (16384 bytes/cluster) BytesPerSec=512 SecPerClust=32 ResSectors=1 FATs=2 RootDirEnts=512 Media=0xf0 FATsecs=256 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=2097152 [trasz@v2:~]% ll /media total 5 drwxr-xr-x 3 root wheel 512 Oct 6 15:38 . drwxr-xr-x 21 root wheel 1024 Oct 5 23:58 .. drwxr-xr-x 3 root wheel 512 Oct 10 06:50 md0 [trasz@v2:~]% With the pendrive plugged in, can you do "gpart show", "/etc/autofs/special_media" (as root), and paste the output? From owner-freebsd-questions@freebsd.org Wed Oct 11 12:10:25 2017 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 03291E2A614 for ; Wed, 11 Oct 2017 12:10:25 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (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 C11D565755 for ; Wed, 11 Oct 2017 12:10:24 +0000 (UTC) (envelope-from ole@free.de) Received: from bard (x4db6c45d.dyn.telefonica.de [77.182.196.93]) by smtp.free.de (Postfix) with ESMTPSA id 56DE2CE72 for ; Wed, 11 Oct 2017 14:03:00 +0200 (CEST) Date: Wed, 11 Oct 2017 14:02:56 +0200 From: Ole To: FreeBSD Questions Subject: munin-node with postgresql96-client Message-ID: <20171011140256.595a09b5.ole@free.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/6ySUvd2UX4=kU4hXJdSv6vQ"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 12:10:25 -0000 --Sig_/6ySUvd2UX4=kU4hXJdSv6vQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, i try to build sysutils/munin-node with postgresql96-client as dependency. I added to my /etc/make.conf=20 DEFAULT_VERSIONS+=3D psql=3D9.6 But if I run=20 /usr/ports/sysutils/munin-node # make config-recursive install clean It still want to build postgresql95-client Thanks=20 Ole --Sig_/6ySUvd2UX4=kU4hXJdSv6vQ Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZ3ghzAAoJECWWkUao5JRQ2JwP/0DbrVxi019O6rQUW6R7O8vb realkbLs0uMDA9r8U+sC5hQuogmnzEV02otQykEJ7gK45KPGZsYVPp1eDlzJOKn4 wRUeI24VEO8chaKO1hpldWQRg7Kq+o+ZaHYxoI82EbKdIla7JAaLMsfnZii3Qxf1 40JyZK82c3GOIiZaLjy3wf2VTJO+9ypxu4KqKvippgo57PSwc8ZP3fD3Mkd2dCNw yFrsKR6688ZnebEoDa8y95zotTVTKSZfs2HRDf0BBX0d7L2/0nob2zgT8R/3abaY s1G8+SefjBLzjF6KlZRWSdG8/yMsg3uoXGNJiB0h9oWu9bDVsUfLIVws7dfkW3Aj d8ZyjqFJFF7oQVbTthYSHofFmn6YK+pDBEFoNce+LZE0xZBrIt3oASSvM36hq4xM QZxnk7CGp+GKrW0WudQFRUSYnS2lHTkvbEOBBSCxk4uzf+Ke11TpQgFUYmewJKTQ zB0mVIr44pCuPg+jxNy3nv/hL/4sy3gpz/tpKGDZHCFcdkKuyunozvKseX6+b18J EBOXvdEb+u2GPvLOJAhWs1pEyPxAUzBLGtnEJ0IzqYPLF8BbUVoOzjJS598Z6EVe 1UK3yMT2oK58p+o+ZZF5h6VvL//vLVJlC0bJ6GcKQYfCBhM/sOqDlgfTvZMxxcL1 4n4an62/lip4unVrij9t =ohYH -----END PGP SIGNATURE----- --Sig_/6ySUvd2UX4=kU4hXJdSv6vQ-- From owner-freebsd-questions@freebsd.org Wed Oct 11 12:25:29 2017 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 9AA10E2AEB6 for ; Wed, 11 Oct 2017 12:25:29 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 320AC65F75 for ; Wed, 11 Oct 2017 12:25:29 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v9BCP9OY058173 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 11 Oct 2017 14:25:09 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v9BCP9Lm058170; Wed, 11 Oct 2017 14:25:09 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 11 Oct 2017 14:25:09 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Ole cc: FreeBSD Questions Subject: Re: munin-node with postgresql96-client In-Reply-To: <20171011140256.595a09b5.ole@free.de> Message-ID: References: <20171011140256.595a09b5.ole@free.de> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.2 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 mail.fig.ol.no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 12:25:29 -0000 On Wed, 11 Oct 2017 14:02+0200, Ole wrote: > i try to build sysutils/munin-node with postgresql96-client as > dependency. > > I added to my /etc/make.conf > DEFAULT_VERSIONS+= psql=9.6 Try: DEFAULT_VERSIONS+= pgsql=9.6 Your's are missing a g. -- Trond. From owner-freebsd-questions@freebsd.org Wed Oct 11 13:07:41 2017 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 94B33E2BCED for ; Wed, 11 Oct 2017 13:07:41 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::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 433FE67513 for ; Wed, 11 Oct 2017 13:07:41 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id s41so1021222uab.10 for ; Wed, 11 Oct 2017 06:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+wX/g61PoMmHaaNWW9n86f16gsjErctJI0edJ/K4weA=; b=st8/tz/pXfSH/VZ7d9GTo8/js/ApxYo7gIbJIHmCYUMaWjG84geuCGZrRhGxpxExmH 9kBdnVbuO+8B8VUc+Zk+ahdJLiU2UHka/FtxyKYoSBsj8ffWgcdGxyuPYFINiuA/JZXb C/hg1L6310hB8KNRsfpo4BYylOM23ownbWI/E2FV4IQjrShyAm0PjPuPiNfR5uQ/lbKi siYACFziPSGDWxBPWd74mDFsaHYVIbo5TNO7c4qmPS5rzwtmuQS52QDEukeChFdQK/x6 WMRhj/MMkyIfQQQ8eSI83GggZDmPsZxaCkzMsowTSE8JeSTBa7DEqR9dTQZ6FPFhleF/ NVfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+wX/g61PoMmHaaNWW9n86f16gsjErctJI0edJ/K4weA=; b=lxx4xy4NZ5nKilCG+7tZaFQ65hTh+lBEKCDlTebO8HmGLrL6MhBBwYxAXhiORBVuwd bA8xZbmwR9r98PlCeUAuqY26zN81eVkq5uA+FjAmWqA/7j84AArQsrMZJsU9gxmnbEFs 8nLZIreVGmgwkEf5pRWbOEPDBekpryipcYDmjn9+Gxmzc236ALCZIPYtz3FRvvSNEZzl XEBAksVYb6vXce5gw3ilfDjrYfRsOApzZ6FV4cOI3Fi0yK3ADCu/FiGvHxR76uVArE0i EUgUGicgmdmTybCbPQfwbe56FgyozNfdoBBZBUSoWl/ClWyfKQNBCnhbuAB4quYmNZ6n 9+Dg== X-Gm-Message-State: AMCzsaUqGQkEWhBrzsAwG3btS+iJjVK0NvuR5Gtqtnzfwx13xS3dVThO 0enftLeuURhodrPAUPuMz15k98EAcknmMTMlzGw= X-Google-Smtp-Source: AOwi7QBa0JkDTOQ3Lv+Y0NmnvQsU6lwjVgpGSmTGAEIUgF4tZQYfcbIQl6yfwWFRRHGOn9vDZ/hW9mfOeDw77MPsyGA= X-Received: by 10.176.85.196 with SMTP id w4mr10249058uaa.75.1507727260099; Wed, 11 Oct 2017 06:07:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Wed, 11 Oct 2017 06:07:39 -0700 (PDT) In-Reply-To: References: From: Antonio Olivares Date: Wed, 11 Oct 2017 08:07:39 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: Erwan Legrand Cc: Manish Jain , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 13:07:41 -0000 On Wed, Oct 11, 2017 at 5:16 AM, Erwan Legrand wrote: > This appears to be a networking issue. Try running "traceroute > pkg.freebsd.org" in order to find out where the problem is located. > > That being said, I would read the comment in /etc/pkg/FreeBSD.conf and > then try one of these mirrors: > * pkg0.bme.freebsd.org > * pkg0.isc.freebsd.org > * pkg0.nyi.freebsd.org > * pkg0.twn.freebsd.org > * pkg0.ydx.freebsd.org > > This will probably allow you to work around the problem. > >Number of packages to be installed: 14 Number of packages to be upgraded: 75 Number of packages to be reinstalled: 7 The process will require 11 MiB more space. 713 MiB to be downloaded. Proceed with this action? [y/N]: y [1/96] Fetching llvm40-4.0.1_1.txz: 100% 49 MiB 588.4kB/s 01:28 pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/llvm40-4.0.1_1.txz: Operation timed out root@aceraspire:~ # traceroute pkg.freebsd.org traceroute to pkgmir.geo.freebsd.org (96.47.72.71), 64 hops max, 40 byte packets 1 10.155.142.1 (10.155.142.1) 0.914 ms 9.633 ms 0.952 ms 2 172.17.0.1 (172.17.0.1) 4.262 ms 2.012 ms 1.911 ms 3 * * * 4 * * * 5 * * * 6 * *^C Thanks, Antonio > On Wed, Oct 11, 2017 at 1:09 AM, Antonio Olivares > wrote: >> On Monday, October 9, 2017, Antonio Olivares >> wrote: >> >>> On Mon, Oct 9, 2017 at 12:03 PM, Manish Jain >>> > wrote: >>> > >>> > >>> > On 10/09/17 22:26, Antonio Olivares wrote: >>> >> Dear FreeBSD users, >>> >> >>> >> I want to update the packages in my pc and I keep getting operation >>> >> timed out. Is there a way for pkg to update the packages and avoid >>> >> this message? I have tried for 3 hrs and it stops at the same place, >>> >> it fetches llvm-* and then it says operation timed out. I have run >>> >> pkg clean, but the error persists. >>> > >>> > I am not certain whether this is the right approach, but when I faced >>> > that error (with llvm), I did this : >>> > >>> > open up an additional terms (Alt + F2) >>> > >>> > In that terminal, run : ping pkg.freebsd.org >>> > >>> > Return to the F1 terminal and then run : >>> > >>> > pkg fetch llvm >>> > >>> > If that solves your problem, do let me know. >>> > Manish Jain >>> > >>> It times out :( >>> >>> root@aceraspire:~ # ping pkg.freebsd.org >>> PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes >>> ^C >>> --- pkgmir.geo.freebsd.org ping statistics --- >>> 18 packets transmitted, 0 packets received, 100.0% packet loss >>> root@aceraspire:~ # pkg fetch llvm40 >>> Updating FreeBSD repository catalogue... >>> FreeBSD repository is up to date. >>> All repositories are up to date. >>> The following packages will be fetched: >>> >>> New packages to be FETCHED: >>> llvm40-4.0.1_1 (271 MiB: 100.00% of the 271 MiB to download) >>> >>> Number of packages to be fetched: 1 >>> >>> The process will require 271 MiB more space. >>> 271 MiB to be downloaded. >>> >>> Proceed with fetching packages? [y/N]: y >>> Fetching llvm40-4.0.1_1.txz: 100% 107 MiB 413.9kB/s 04:31 >>> pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ >>> llvm40-4.0.1_1.txz: >>> Operation timed out >>> >>> >>> if I try to update regularly, I get : >>> >>> Installed packages to be REINSTALLED: >>> wx28-gtk2-common-2.8.12_7 (direct dependency changed: gstreamer) >>> wx28-gtk2-2.8.12_7 (direct dependency changed: gstreamer) >>> qt5-multimedia-5.7.1_1 (direct dependency changed: >>> gstreamer1-plugins) >>> libdca-0.0.5_1 >>> liba52-0.7.4_3 >>> gstreamer-0.10.36_6 >>> db5-5.3.28_6 >>> >>> Number of packages to be installed: 14 >>> Number of packages to be upgraded: 75 >>> Number of packages to be reinstalled: 7 >>> >>> The process will require 11 MiB more space. >>> 713 MiB to be downloaded. >>> >>> Proceed with this action? [y/N]: y >>> [1/96] Fetching llvm40-4.0.1_1.txz: 100% 82 MiB 477.0kB/s 03:00 >>> pkg: http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly/All/ >>> llvm40-4.0.1_1.txz: >>> Operation timed out >>> root@aceraspire:~ # >>> >>> Best Regards, >>> >>> >>> Antonio >>> >> >> I try and try again and keep getting timed out error. Is there another way >> to fetch/ download the file? I was going to attempt to download it with >> wget? But I am unsure how to do it? Is there a way to skip this file? >> And get it later? I have successfully updated on amd64 bit machine, but >> this machine is different I had trouble before but was able to update, this >> time I have not succeeded. Thanks Manish for your suggestion, but it times >> out as well, if I could run a command to persist till the package downloads >> it would help. >> >> Best Regards, >> >> >> Antonio >> _______________________________________________ >> 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 Wed Oct 11 13:48:29 2017 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 EF4BBE2CC88 for ; Wed, 11 Oct 2017 13:48:29 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org (oyapock.aktivix.org [162.247.75.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D12BE68A0E for ; Wed, 11 Oct 2017 13:48:29 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org by oyapock.aktivix.org with esmtpsa; Wed, 11 Oct 2017 14:05:04 +0100 Received: from aland by apple.rat.burntout.org with local (Exim 4.84_2) (envelope-from ) id 1e2GhF-0001eN-D3; Wed, 11 Oct 2017 14:05:13 +0100 Date: Wed, 11 Oct 2017 14:05:12 +0100 From: Kate Dawson To: freebsd-questions@freebsd.org Subject: FreeBSD ZFS file server with SSD HDD Message-ID: <20171011130512.GE24374@apple.rat.burntout.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mR8QP4gmHujQHb1c" Content-Disposition: inline OpenPGP: id=E81A4BBA;url=hkp://pool.sks-keyservers.net User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 13:48:30 -0000 --mR8QP4gmHujQHb1c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi,=20 Currently running a FreeBSD NFS server with a zpool comprising=20 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip set (= RAID 10 ) An additional 2x 960GB SSD added. These two SSD are partitioned with a small partition begin used for a ZIL log, and larger partion arranged for L2ARC cache.=20 Additionally the host has 64GB RAM and 16 CPU cores (AMD Opteron 2Ghz) A dataset from the pool is exported via NFS to a number of Debian Gnu/Linux hosts running a xen hypervisor. These run several disk image based virtual machines In general use, the FreeBSD NFS host sees very little read IO, which is to = expected as the RAM cache and L2ARC are designed to minimise the amount of read load on the disks. However we're starting to see high load ( mostly IO WAIT ) on the Linux virtualisation hosts, and virtual machines - with kernel timeouts occurring resulting in crashes and instability. I believe this may be due to the limited number of random write IOPS availa= ble on the zpool NFS export.=20 I can get sequential writes and reads to and from the NFS server at speeds that approach the maximum the network provides ( currently 1Gb/s + Jumbo Frames, and I could increase this by bonding multiple interfaces to= gether. ) However day to day usage does not show network utilisation anywhere near this maximum. If I look at the output of `zpool iostat -v tank 1 ` I see that every five seconds or so, the numner of write operation go to > 2k I think this shows that the I'm hitting the limit that the spinning disk can provide in this workload. As a cost effective way to improve this ( rather than replacing the whole chassis ) I was considering replacing the 1TB HDD with 1TB SSD, for the improved IOPS.=20 I wonder if there were any opinions within the community here, on=20 1. What metrics can I gather to confirm the disk write IO as bottleneck? 2. If the proposed solution will have the required effect? That is an decrease in the IOWAIT on the GNU/Linux virtualization hosts. I hope this is a well formed question. Regards,=20 Kate Dawson --=20 "The introduction of a coordinate system to geometry is an act of violence" --mR8QP4gmHujQHb1c Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJZ3hcCAAoJEAGiBQHoGku6jeIQAJpEA+BgNn+aRCFPGYbDGZqf ptOk9NWFr1nIjZE3P9SdnOF19abfodGf+i28WAmSqhnHU/qx9lKHWW4y/Tu7/bIe uXlBELEZ//tdlcgDYYsBuoaDDy8bj8XE71vPCcwky956h56D97gesZtf070TSrWu AI0pCQdl9SGE98a4bbWUTkMEYVT3K014gTOosxuSwY4hbVmFFDjDQCy+yAURJDsa QrDBjRDKUTcLvBnunpVvKNjFVbi8zHrEfSlMzxWcZVVS5IKFlb1ew2dvPhO3x6B4 ahkjwELze12fhFUwMgDUZ502h5UgVjOUe/AbkT+K2vwyGB791MoetwocBZ422rnL ucfG5C3TH0WtfOgAC07/9m98CGy5ZU7O+OeG14CnbIcps0gSoI1ZMvF1/9itSOnn RpO3Y/6DZksplHOmpm+YfjSVlcM0tS9yKCMhFGWT5uX6KfboDO5q2YVyw+Wuy31t r1AerPGtPBmR44n1lofZaPeJB3j3P57tXzzkEadbYPrOQ1aSyQ78fnbp9+kGmWPq MhNzZCGajixhilDSxz/cbH6G3+I3jM5/FLA4/u8EhHCxuiOyQju2dwo5m6IPFfof iCjxWlUXezb6vHos95wutG06wIegGiXXIrR/nF6a1sik8OCkZxfWcJYLRDMItlh4 j8Un9Tsd8xJzQm2G2Qxg =2kGf -----END PGP SIGNATURE----- --mR8QP4gmHujQHb1c-- From owner-freebsd-questions@freebsd.org Wed Oct 11 14:41:14 2017 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 9D367E2DE22 for ; Wed, 11 Oct 2017 14:41:14 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::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 639226A80E for ; Wed, 11 Oct 2017 14:41:14 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id k70so10741674itk.0 for ; Wed, 11 Oct 2017 07:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wL/PC9oalEeOeW0w4O2PnEy28XvFJXT2OH3c/FYSHvo=; b=e1B3xWrXzckcaUHQ4wwKK8dOeMYqlVsgMCA9VtMn5rvFIen9Quzpn7J1TZcqtQHsGQ +hC0XBIqW35btHhiTC9AbteEDxKWLZR4i3Y98ArPO9xSDa8/tRHzhnno/beMpMGAhuGf B5u0nEtkBrYykfwVyQQp4v0DqzCjrxCHbQgmf//H0EX2wF8/Tsz+j6kFc2X3mZWhm8vV Qn4mqWGzPtS2mJ5GRN8KdxBfCQTDIw47MdYTZtw1MWbWhMqj7vu0dz6u7kJTeHMbUuwV eR/eDdw7lpSI+p4Jc/hCT1qjsrjE2639iFJrPFwirvx3RZgcX79QxeS/rzkGGUZCipip sxew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wL/PC9oalEeOeW0w4O2PnEy28XvFJXT2OH3c/FYSHvo=; b=f9N85bZKrxfwNzCkimsQHXrkyWflQkDrqT/NgUOB40LPUB/OmOXawjRFYv2ewcKgTt d/Y9ComhPDYpQ9kJVnyJbR+AtDCtxiW1v4jWlFz3b5xUkvYRu0KPRy44JOz7sNLyC5eo 1EqVTUe4lgbTkzFYXmf8MfYfDB3foh1xbuOXw755r5ORD701rkwvesOdKXW0ZpejgKFC 16HAY8lx0EJksG2hTRMEjHT7M7NAc1lninN9OnKojIEMtPBogU2W5UG5lMf41FboLH39 DlqeiM5+78XNPfHnomfwXMhxDk3kXtJWIr65dmRYZ4rpU9pSNETzZie3zmtueam/MAzJ IwVw== X-Gm-Message-State: AMCzsaWFqq8n3yLDIO8PraLqeU2vpBj0qcCGt9bkjnGyPPsqOkTbDsvx vRfm6qBR2nAKrlecVZDhKBUTm8JmwHyMCiypuXcj5w== X-Google-Smtp-Source: AOwi7QAvtD4ZulWZI0hkIe/Sxx9tSmG3Q8a46U2chbQaDRc0g19cYvwKocYxTqRxjnDCebV/dF99frZEWF3hoe2V6Dc= X-Received: by 10.36.176.70 with SMTP id b6mr24676634itj.26.1507732873730; Wed, 11 Oct 2017 07:41:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.176.201 with HTTP; Wed, 11 Oct 2017 07:41:13 -0700 (PDT) In-Reply-To: <20171011130512.GE24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> From: Adam Vande More Date: Wed, 11 Oct 2017 09:41:13 -0500 Message-ID: Subject: Re: FreeBSD ZFS file server with SSD HDD To: Kate Dawson Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 14:41:14 -0000 On Wed, Oct 11, 2017 at 8:05 AM, Kate Dawson wrote: > Hi, > > Currently running a FreeBSD NFS server with a zpool comprising > > 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip set > ( RAID 10 ) > > An additional 2x 960GB SSD added. These two SSD are partitioned with a > small partition begin used for a ZIL log, and larger partion arranged for > L2ARC cache. > > Additionally the host has 64GB RAM and 16 CPU cores (AMD Opteron 2Ghz) > > A dataset from the pool is exported via NFS to a number of Debian > Gnu/Linux hosts running a xen hypervisor. These run several disk image > based virtual machines > > In general use, the FreeBSD NFS host sees very little read IO, which is to > expected > as the RAM cache and L2ARC are designed to minimise the amount of read > load > on the disks. > > However we're starting to see high load ( mostly IO WAIT ) on the Linux > virtualisation hosts, and virtual machines - with kernel timeouts > occurring resulting in crashes and instability. > > I believe this may be due to the limited number of random write IOPS > available > on the zpool NFS export. > > I can get sequential writes and reads to and from the NFS server at > speeds that approach the maximum the network provides ( currently 1Gb/s > + Jumbo Frames, and I could increase this by bonding multiple interfaces > together. ) > > However day to day usage does not show network utilisation anywhere near > this maximum. > > If I look at the output of `zpool iostat -v tank 1 ` I see that every > five seconds or so, the numner of write operation go to > 2k > > I think this shows that the I'm hitting the limit that the spinning disk > can provide in this workload. > I doubt that is the cause. It is more likely you have vfs.zfs.txg.timeout set to the default. Have you tried any other zfs or nfs tuning? If so, please share those details. Does gstat reveal anything useful? -- Adam From owner-freebsd-questions@freebsd.org Wed Oct 11 14:56:38 2017 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 B3726E2E65C for ; Wed, 11 Oct 2017 14:56:38 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) Received: from sonic315-20.consmr.mail.ne1.yahoo.com (sonic315-20.consmr.mail.ne1.yahoo.com [66.163.190.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8602E6B252 for ; Wed, 11 Oct 2017 14:56:38 +0000 (UTC) (envelope-from pathiaki2@yahoo.com) X-YMail-OSG: huf3rKoVM1m7ea8O8NP8W4rzU6zVCU.FCqGarKtdrZBBKw3GhxB9roiMqjFyQiF axScei0qgVPmg7PkQNDPP1y5iUVXN98QdprYYkYen_xzGLJVmHjGMFg9gwd_f.1SFFe5.DdrCIPq fDC1erOoP9la_76QGufoSaU1ZEiOp098eDXIx.vvBNNPp5V24_3M3sCAlnWRSU1iTApvH8adO45S zF2PSW7icEhSZLuOJKDVKgL4vIu0VgWHoDFWIUvcnchoVzBjd9TxKpfZ_1p1zsFLPj1x6BUR__dW 6iUCWHkTs5k9slAIfh_EzbzK_mDpbPxQgP2cvrx3Jt_8thOh.ufKWLkbYYIV61KEBumvIHwfRApE bgHx7c_0iNSKKZfAinwJhsx9QlePd0wjgJh2a9sUeVD6SawfD8rPMxifZJIhYtLzlK_BYJIOnWYE l8DegY8nR0W2qZKmNxW7MW_fpONupAPuJl52.I3Q65rA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 11 Oct 2017 14:56:31 +0000 Date: Wed, 11 Oct 2017 14:56:30 +0000 (UTC) From: Paul Pathiakis Reply-To: Paul Pathiakis To: Adam Vande More , Kate Dawson Cc: FreeBSD Questions Message-ID: <447544877.450092.1507733790531@mail.yahoo.com> In-Reply-To: References: <20171011130512.GE24374@apple.rat.burntout.org> Subject: Re: FreeBSD ZFS file server with SSD HDD MIME-Version: 1.0 X-Mailer: WebService/1.1.10726 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 14:56:38 -0000 Hi, This is sort of a complementary answer. Seems like a cool setup.=C2=A0=C2= =A0 One thing as an SA is to do detailed operational awareness with history for= things.=C2=A0 (aka a solid SNMP monitoring tool with graphing so that you = can see what is happening at exactly that time regarding network status, I/= O status, CPU + resources as well as other detail. )=C2=A0 There's a good a= mount like Zabbix, Nagios, Munin, Ganglia, etc in ports/pkgs.=C2=A0 - My fa= vorite is OpenNMS which I was going to do the port for but ran out of time.= =C2=A0=C2=A0 They support point-in-time graphing.=C2=A0 Once you resolve this issue, get= some tool up and running so you can 'see' status on everything at that tim= e. (an you can give read-only access to management so they can ooo and ahhh= at it.)=C2=A0 It is very useful to see where the bottleneck is... if there= is one...=C2=A0 otherwise, tuning parameters for everything (ZFS, NFS, NIC= , etc) will have to tried as you can't easily narrow down where the problem= is.=C2=A0 Just trying to help in the long term. P. From: Adam Vande More To: Kate Dawson =20 Cc: FreeBSD Questions Sent: Wednesday, October 11, 2017 10:41 AM Subject: Re: FreeBSD ZFS file server with SSD HDD =20 On Wed, Oct 11, 2017 at 8:05 AM, Kate Dawson wrote: > Hi, > > Currently running a FreeBSD NFS server with a zpool comprising > > 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip set > ( RAID 10 ) > > An additional 2x 960GB SSD added. These two SSD are partitioned with a > small partition begin used for a ZIL log, and larger partion arranged for > L2ARC cache. > > Additionally the host has 64GB RAM and 16 CPU cores (AMD Opteron 2Ghz) > > A dataset from the pool is exported via NFS to a number of Debian > Gnu/Linux hosts running a xen hypervisor. These run several disk image > based virtual machines > > In general use, the FreeBSD NFS host sees very little read IO, which is t= o > expected > as the RAM cache=C2=A0 and L2ARC are designed to minimise the amount of r= ead > load > on the disks. > > However we're starting to see high load ( mostly IO WAIT ) on the Linux > virtualisation hosts, and virtual machines - with kernel timeouts > occurring resulting in crashes and instability. > > I believe this may be due to the limited number of random write IOPS > available > on the zpool NFS export. > > I can get sequential writes and reads to and from the NFS server at > speeds that approach the maximum the network provides ( currently 1Gb/s > + Jumbo Frames, and I could increase this by bonding multiple interfaces > together. ) > > However day to day usage does not show network utilisation anywhere near > this maximum. > > If I look at the output of `zpool iostat -v tank 1 ` I see that every > five seconds or so, the numner of write operation go to > 2k > > I think this shows that the I'm hitting the limit that the spinning disk > can provide in this workload. > I doubt that is the cause.=C2=A0 It is more likely you have vfs.zfs.txg.timeout set to the default.=C2=A0 Have you tried any other zfs or nfs tuning?=C2=A0= If so, please share those details. Does gstat reveal anything useful? --=20 Adam _______________________________________________ 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= " =20 From owner-freebsd-questions@freebsd.org Wed Oct 11 15:07:53 2017 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 835C3E2EBCB for ; Wed, 11 Oct 2017 15:07:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 525206B889 for ; Wed, 11 Oct 2017 15:07:52 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6D91A213D5 for ; Wed, 11 Oct 2017 11:07:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 11 Oct 2017 11:07:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=y9HO1wvtTfcKKuYmFC0rG0ab+YPr21ZTM6hVWpSOSgw=; b=YodnTMIx qLwNf9DZlmWqLuLwzeSyOE24L2vWiDOl0NXiFc+jHIzIjyx6poYIgkqnpCM78/cQ I9mph/Lm9fNCtTqKgssJhpx9uLNrgkQvOxT+V/b3YTnLxXdvQ7P/D3OlaXtCvGLp nBeWu5l0L4FEHSWRnC+I0sP/I6TTtAniMwyL8/u4CWbmq/VfFlQg/iIEJspP6OlO f/50mYnbjbyPZCTgxDEnMZxgHkfEuJLDLPF85XRBmrqzstewoLRXro1GOh/etPze sdJWApxq+Vu2YsuGzzwLEAeTeicZo9zXMgK/2F4peg3nBMs24UB+4/HpE1x6E6gj 9WF/fUJMA1ikCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=y9HO1wvtTfcKKuYmFC0rG0ab+YPr2 1ZTM6hVWpSOSgw=; b=LO7xrg3627lAMzuZDoKiO4W7hsbnWao9Br1vGyCJr0RsW KLZ0GB6SUcqQh8znM33XVMuilgWyHmwkoZG5RYTrgNePfXkvqtyPVb3m2T54of15 FHl+qX2TDrKZLT5d78Dj//1bM2w0Mb6fBYvDF4NkF2sAqTItOCZIRqDKUpt24TLA 3nx8DsKw+8GBwvhH8r7D1H6W+9B/mnKdTuht8Im6HM6o26nPaHE31/Dl5L2ea7GO jr/mqUbxtaPD/KVZ5LMLq69ZMjQWunTJSKzrXZCMAO/xPwVD6NnXOo2IGZbliZ8j UZ0pOZdtVMDZtsgKtt3Su7bA49Xv9LhUh14z9i6fw== X-ME-Sender: Received: from acer.zyxst.net (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id DE4A1247F0 for ; Wed, 11 Oct 2017 11:07:45 -0400 (EDT) Date: Wed, 11 Oct 2017 16:07:44 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: problems with pkg: Operation timed out Message-ID: <20171011150743.GA23107@acer.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 15:07:53 -0000 Hi, On Wed, Oct 11, 2017 at 08:07:39AM -0500, Antonio Olivares wrote: >root@aceraspire:~ # traceroute pkg.freebsd.org >traceroute to pkgmir.geo.freebsd.org (96.47.72.71), 64 hops max, 40 byte packets > 1 10.155.142.1 (10.155.142.1) 0.914 ms 9.633 ms 0.952 ms > 2 172.17.0.1 (172.17.0.1) 4.262 ms 2.012 ms 1.911 ms > 3 * * * > 4 * * * > 5 * * * > 6 * *^C That indicates a problem with your internet connection (or whatever is after 172.17.0.1) rather than pkg.freebsd.org -- J. From owner-freebsd-questions@freebsd.org Wed Oct 11 15:59:44 2017 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 B88E5E2FC19 for ; Wed, 11 Oct 2017 15:59:44 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D4186CD03 for ; Wed, 11 Oct 2017 15:59:44 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x229.google.com with SMTP id 47so1369506uas.8 for ; Wed, 11 Oct 2017 08:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=k22AdLBmykisjUEPM2KVWD/T3jkPfuwXJpK5h9XSgyE=; b=Jxj+josW7zp1ZSnqtBWU9rsXc7uz5HFL/Oxr5Ex4KHP7aCKvY5ovPx1NsmnXPfvsmZ E2+EBNy0eJGm7CW5kdl6xX1GMDZXsCD3nSMFZdkJSvHPeaxqSyANkGOQAiMURJO5y46I o93rwHyCoScHgrq3PfuPFxhQkCbAwNjns8e0Za4ZABvuz+WSXMo7K6hZV5OdIoUPoVsu 2PDNjotAa2cSj7Z9rFqMApdCJkNNWHPcoltZLp6p/OF6xBIjQJvnWjYKg4Oun0QVSLGx MF2S4YeWXp5MdKSE59zibtXtYGdq19TSAxDmCCf3F/5YoKl0LH+Exwl8T48OhnqZkfZA cfQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=k22AdLBmykisjUEPM2KVWD/T3jkPfuwXJpK5h9XSgyE=; b=d9DWnIj7xVcs7it+0tVsdBo9o5OevgK/HGIgAn1VDjXIjTWjte1cVSTit4a66SN9dD SOGvCSgn7vbecleBGkWHgDQ1ZWwK/b7Rzos+Y1cVjA07zAdKalWpiN4Ch0RTvmGs5kqP skqHZ/0x5cHr39oTT9oksu5ENA+CYIzo0FASgTWDx23kfqYpWwslImGbNhZzmhp67Nfh iJUK9+4x0jyfOq6LS1NW0+zp2NnS3oFnHHE52IYsTy359W/23le8iiVzeQX2GEqGyOxj NJziX+aD/GGJypFvkjESVBYMgdjnoxKK6XWkGWzXXwdMY3uEC2DtzjQBrlGC1YCJJQi3 5SxA== X-Gm-Message-State: AMCzsaW4jxOG4d1DMlLQHZLLFYZic0RJwyAUS4yC5geE+Xlomdt0y97y jSSQfVByT2LIguL+BNyyNmxfJ2nw1l8cgoh/Pd4= X-Google-Smtp-Source: AOwi7QB5zRsgGStd5E/ISqFApCdn01mFTSXdKfFlI1KYTX9KJKna/RLIMl08OS3gLqjumbAoaKttE06BytQTLb2Uq3c= X-Received: by 10.176.85.196 with SMTP id w4mr78966uaa.75.1507737583252; Wed, 11 Oct 2017 08:59:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Wed, 11 Oct 2017 08:59:42 -0700 (PDT) In-Reply-To: <20171011150743.GA23107@acer.zyxst.net> References: <20171011150743.GA23107@acer.zyxst.net> From: Antonio Olivares Date: Wed, 11 Oct 2017 10:59:42 -0500 Message-ID: Subject: Re: problems with pkg: Operation timed out To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 15:59:44 -0000 On Wed, Oct 11, 2017 at 10:07 AM, tech-lists wrote: > Hi, > > On Wed, Oct 11, 2017 at 08:07:39AM -0500, Antonio Olivares wrote: > >> root@aceraspire:~ # traceroute pkg.freebsd.org >> traceroute to pkgmir.geo.freebsd.org (96.47.72.71), 64 hops max, 40 byte >> packets >> 1 10.155.142.1 (10.155.142.1) 0.914 ms 9.633 ms 0.952 ms >> 2 172.17.0.1 (172.17.0.1) 4.262 ms 2.012 ms 1.911 ms >> 3 * * * >> 4 * * * >> 5 * * * >> 6 * *^C > > > That indicates a problem with your internet connection (or whatever is after > 172.17.0.1) rather than pkg.freebsd.org > -- > J. > > _______________________________________________ > 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" How can I fix this? The school has put a firewall in place that prevents many websites and getting files from ftp. What would I need to tell to our school's network administrator? Thanks for helping, Antonio From owner-freebsd-questions@freebsd.org Wed Oct 11 16:01:39 2017 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 68948E2FE54 for ; Wed, 11 Oct 2017 16:01:39 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 EFBD06CFA5 for ; Wed, 11 Oct 2017 16:01:38 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id q124so6115109wmb.0 for ; Wed, 11 Oct 2017 09:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:subject:date:message-id:to :mime-version; bh=DhECRLcFXPOvo9vPIjNhOYPCR45qC0kEhNv8T14CUdM=; b=jg54HolPbT+mfmczWIjpuf4BDahlZelwkf1DcN6TmOQYWNAlakHi7sUQN+nJm2aP+j +hdiC3hMbE6unDHuXcUTrxYQOPCYtYIVIIFv3RqwXqCS5kzACynqJrsQtAwwHU0h9Gq6 2epiZL9tV7YvIQcTAbxktsRJVOkXU9vSACeR/7jXQV+x6MY/cW8Z3pV1Kmxuaez7nMGe b72Lss0ukmVVQ05mCU0bPj46zbteOauzUfQO+1NcYzNfjVgdSUod80HSiMA1K9sNb328 osWnSl71iUfuLZGllGyPW6imWCBOmbRhKYSrA5QiI7ysp8b4C1TluGzy93pyZTeHRhzd 1MQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject:date :message-id:to:mime-version; bh=DhECRLcFXPOvo9vPIjNhOYPCR45qC0kEhNv8T14CUdM=; b=kBk+ovWlcQnatGRteGcOKJmBIKi3hfiSKd1CmhfLP6L0UkE/ynWLNh7cHjpvY+dNC4 F27ilqXN6NZ/iYTZVoz/H2asgtUsKIc5Mg+dfwqCZPddtPXExTtIpdg9ip6qlUqU1U+W Kjd8YX4pcaDDX8OvQE0i6NqEEDRW9Z4/LTWu/Czd9rYcLlrRjRfLErUa8l9fllRQTi8E Uhvke9rB19AHVkBYCdnBAyCtQS3nmS/2iLK2CvfO035zKHMxPglkFgRoudc6E15BRXbL Qkc308NEmhb/LWrhusJwtBJPpwzgTefn+cqHp+dljdbSx+8jbPDH7nltzWSfZt3DXkJv km3Q== X-Gm-Message-State: AMCzsaU1iBSbpvGzQn2z703I53MGHNLw+7dMIKVkys0oACrXt+ostTM1 cMtk7H7e4G/hjQ34jatFLkKlCA== X-Google-Smtp-Source: AOwi7QB1oYiOHIQdNQV4EOsi6waiphYkBlwvFrqS+O9bOkZSh5v40th+Vu1jFbKToNUqdkkG790jBw== X-Received: by 10.223.163.29 with SMTP id c29mr60824wrb.267.1507737697140; Wed, 11 Oct 2017 09:01:37 -0700 (PDT) Received: from macbookvittorio-002.homenet.telecomitalia.it (host224-33-dynamic.20-87-r.retail.telecomitalia.it. [87.20.33.224]) by smtp.gmail.com with ESMTPSA id o138sm11739133wmg.36.2017.10.11.09.01.36 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 09:01:36 -0700 (PDT) From: Victor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Howto configure an Apple bluetooth keyboard on macbook Date: Wed, 11 Oct 2017 18:01:35 +0200 Message-Id: <212CA098-19A4-445B-BAA7-B87BD0C742BF@gmail.com> To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 16:01:39 -0000 I've just installed FreeBSD 11.1 on a disk partition of my Macbook 2007 = (the white one). Now, via refind, I can boot either Mac OS X or FreeBSD. The BT Logitech mouse automagically has been connecting and working = correctly since my very first boot into BSD while The Apple BT keyboard = doesn't want to connect and, frankly, I don't know very much about = bluetooth in FreeBSD. Here it is the relevant info (at least, IMHO) The BT device in the Macbook is Address: 00-1F-5B-7B-37-0F Maker: Cambridge Silicon Radio victor@bsd:~ % uname -a FreeBSD bsd 11.1-RELEASE FreeBSD 11.1-RELEASE #1: Wed Oct 11 06:54:05 = CEST 2017 root@bsd:/usr/obj/usr/src/sys/MIOKERNEL amd64 victor@bsd:~ % kldstat Id Refs Address Size Name ................................... 8 1 0xffffffff82c51000 3650 ums.ko 9 1 0xffffffff82c55000 2986 uhid.ko 10 1 0xffffffff82c58000 56a1 atp.ko 11 1 0xffffffff82c5e000 1c393 ng_btsocket.ko 12 1 0xffffffff82c7b000 107f ng_bluetooth.ko 13 1 0xffffffff82c7d000 c57d netgraph.ko 14 1 0xffffffff82c8a000 97ea4 i915kms.ko 15 1 0xffffffff82d22000 54e57 drm2.ko 16 4 0xffffffff82d77000 2731 iicbus.ko 17 1 0xffffffff82d7a000 1c51 iic.ko 18 1 0xffffffff82d7c000 1e60 iicbb.ko 19 1 0xffffffff82d7e000 bb55 tmpfs.ko .......................... victor@bsd:~ % dmesg |grep "ugen" ugen0.1: at usbus0 ugen5.1: at usbus5 ugen2.1: at usbus2 ugen4.1: at usbus4 ugen3.1: at usbus3 ugen6.1: at usbus6 ugen1.1: at usbus1 ugen0.2: at usbus0 ugen6.2: at usbus6 ugen6.3: at usbus6 ugen5.2: at usbus5 ugen5.3: at usbus5 Being 78:ca:39:4f:b1:91 the address of the keyboard, in = /etc/bluetooth/hcsecd.conf I added=20 .............................. device { bdaddr 78:ca:39:4f:b1:91; name "Apple Keyboard"; key nokey; pin "0000"; } (I had a go also putting pin to "none" to no avail) ........................ and in /etc/bluetooth/hosts ................. 78:ca:39:4f:b1:91 Then rebooting with mouse and keyboard activated the latter doen't = connect at all but keeps blinking.=20 Is there anyone out there that can help me to fix the problem? Ciao Vittorio From owner-freebsd-questions@freebsd.org Wed Oct 11 16:22:18 2017 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 1AE5BE305F4 for ; Wed, 11 Oct 2017 16:22:18 +0000 (UTC) (envelope-from christina.grme@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::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 9606E6DCC4 for ; Wed, 11 Oct 2017 16:22:17 +0000 (UTC) (envelope-from christina.grme@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id j73so911914lfg.0 for ; Wed, 11 Oct 2017 09:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x/3XIGFdr4VCDDZIFSv5dctkc5eWtWpaYLsXkGmojEA=; b=TlaWW3khk0XeQ9h5Zdtt0jfH5KrsyMuIHKlC8Zy7bq4sEvxl+41vACdC42Lb0a+8La mcadhAaBJ4aAWqwGqiX4X7OjFep48d93OJaLdX576sovpzSLjGEdEIuQjIdalREOZqnn 78XlH8Yq4Vjk7Z9OFuyunLd7WtIebC8LP+aBCdqwhxTCze0wjYb2nsRxZCthm85xRTKS jUKhnopXrvF5cdv69sYr+J9ZxXywA+ph8D60WsK/LZhd1U/e3aIJ+xq0vrwap8DTN/eO f4U7kymT/Z4KRSuCR3HOz6ZtyXs9eVEoJCRRacLf+V2Yw3wXGDXBy4NSnjYLNwY7qF/p fQEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x/3XIGFdr4VCDDZIFSv5dctkc5eWtWpaYLsXkGmojEA=; b=mwuIhfOEVOj6P37fbOVRsGcskpa39z9l8cNbDs2KH+9q3ZIyL6Ks7nglYgjPpenjCg 6E7CNYBzqqToCQ28jzJwt4r9Jyq3qZ4AZqZ8Y0iWaW2gb1SwGEMVBWX20SypCjSKlV2L uYqqmyxahEGUKBWZModkmvUbb2W9gpPj14QmqlCWu3LCxG2LJAYmGZnxh7LHOpKWaIim IhnB6/y+izn2I4a5MSdk3yyTjI8VIYCj9YaQ3FUucW2JwDCl46iqJSe03Fol6rSGMNau FR6xD30rAT3wZ8BdAVJpZ1x6ZqMfgUDhYuhTzA8saBGL+Wn4JEcDwvUKOUzSE47kojcv 3AxA== X-Gm-Message-State: AMCzsaVh5JAb+j9G3nmY15gmyWsNdLk8hJM6mgdxTxWtpnYxpPr+9FSc aHY9ScTJmK9MyI0FAPz/X+J+Rg/TBmUoVltP02El6A== X-Google-Smtp-Source: AOwi7QAGX65g1NaQ2TBg24xcBxobuEqzbH5z7pPgPti71D3tyrzyowzo4miwNXBVrvRUN7eKdBatUXnE3cgiUrcAKrw= X-Received: by 10.46.64.141 with SMTP id r13mr73099lje.112.1507738935525; Wed, 11 Oct 2017 09:22:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.179.1.5 with HTTP; Wed, 11 Oct 2017 09:22:15 -0700 (PDT) From: Christina Grimmie Date: Wed, 11 Oct 2017 22:22:15 +0600 Message-ID: Subject: A tip I got on Netflix that smvn.ru users might want to know To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 16:22:18 -0000 Hi , I saw you mentioned Netflix on your page here smvn.ru/en-books/handbook/nutshell.html I'm not sure you are aware, but for users outside the US, almost 90% of the movie and tv shows catalog is blocked. I was traveling outside the US and it was a real nightmare to watch my favorite shows, but I found a cool workaround. So, when I saw you mentioned Netflix, I thought other users of your site might be interested as well if you mention it to them. There are a few solutions, they are all listed here very clearly https://www.vpnmentor.com/blog/unblock-netflix-if-you-reside-outside-the-us/ I personally use a VPN, but I guess you can just share this article with your users and let them pick the solution that works for them. I hope I returned the favor, Best, Christina From owner-freebsd-questions@freebsd.org Wed Oct 11 17:08:54 2017 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 94B7CE31660 for ; Wed, 11 Oct 2017 17:08:54 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd04131.aruba.it (smtpcmd04131.aruba.it [62.149.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id 071636F0D8 for ; Wed, 11 Oct 2017 17:08:53 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from macbookvittorio-002.homenet.telecomitalia.it ([87.20.33.224]) by smtpcmd04.ad.aruba.it with bizsmtp id LH7j1w00b4q8drK01H7jpx; Wed, 11 Oct 2017 19:07:44 +0200 From: Victor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Howto configure an Apple bluetooth keyboard on macbook Date: Wed, 11 Oct 2017 19:07:43 +0200 Message-Id: <0674E022-F011-4A21-91C9-007C9007580E@gmail.com> To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1507741664; bh=Pyn+mYP6fST8AxL+18PutitwsJ6gOp2y512MOTOaayA=; h=From:Content-Type:Subject:Date:To:Mime-Version; b=cVoY8hdVMrdJZ0Y9OQgat0nkwKUKDZcK3ox3bJLeugvBCsBteCOR4niyKb4d74RqW WZTrBhPYvBlpRxH0Fg7vA+oZ84Qg4cbuJmvnNp1YrW4G6+qaqpqf+5UOXTAE9/hOw6 qjejbOcZzihyoRnSZxoW1weXFZ0uCLOYrxHqZXLKh5TA9wJaHQTU+oMdGKS+O+JoQP 3MlMwLNj0SZh987A52uv7NhwlSQmo5O4rT9+akQ59oV7fmUHZbq7ZBas4usgiuVI+y sh82N2nceks6U+KjIkQ3C779FjxqMoONHS/UN09r0mQwi+GohgdPKSZ8sFX1Qr+nXo ssarskYyMs6uQ== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 17:08:54 -0000 I've just installed FreeBSD 11.1 on a disk partition of my Macbook 2007 = (the white one). Now, via refind, I can boot either Mac OS X or FreeBSD. The BT Logitech mouse automagically has been connecting and working = correctly since my very first boot into BSD while The Apple BT keyboard = doesn't want to connect and, frankly, I don't know very much about = bluetooth in FreeBSD. Here it is the relevant info (at least, IMHO) The BT device in the Macbook is Address: 00-1F-5B-7B-37-0F Maker: Cambridge Silicon Radio victor@bsd:~ % uname -a FreeBSD bsd 11.1-RELEASE FreeBSD 11.1-RELEASE #1: Wed Oct 11 06:54:05 = CEST 2017 root@bsd:/usr/obj/usr/src/sys/MIOKERNEL amd64 victor@bsd:~ % kldstat Id Refs Address Size Name ................................... 8 1 0xffffffff82c51000 3650 ums.ko 9 1 0xffffffff82c55000 2986 uhid.ko 10 1 0xffffffff82c58000 56a1 atp.ko 11 1 0xffffffff82c5e000 1c393 ng_btsocket.ko 12 1 0xffffffff82c7b000 107f ng_bluetooth.ko 13 1 0xffffffff82c7d000 c57d netgraph.ko 14 1 0xffffffff82c8a000 97ea4 i915kms.ko 15 1 0xffffffff82d22000 54e57 drm2.ko 16 4 0xffffffff82d77000 2731 iicbus.ko 17 1 0xffffffff82d7a000 1c51 iic.ko 18 1 0xffffffff82d7c000 1e60 iicbb.ko 19 1 0xffffffff82d7e000 bb55 tmpfs.ko .......................... victor@bsd:~ % dmesg |grep "ugen" ugen0.1: at usbus0 ugen5.1: at usbus5 ugen2.1: at usbus2 ugen4.1: at usbus4 ugen3.1: at usbus3 ugen6.1: at usbus6 ugen1.1: at usbus1 ugen0.2: at usbus0 ugen6.2: at usbus6 ugen6.3: at usbus6 ugen5.2: at usbus5 ugen5.3: at usbus5 Being 78:ca:39:4f:b1:91 the address of the keyboard, in = /etc/bluetooth/hcsecd.conf I added=20 .............................. device { bdaddr 78:ca:39:4f:b1:91; name "Apple Keyboard"; key nokey; pin "0000"; } (I had a go also putting pin to "none" to no avail) ........................ and in /etc/bluetooth/hosts ................. 78:ca:39:4f:b1:91 Then rebooting with mouse and keyboard activated the latter doen't = connect at all but keeps blinking.=20 Is there anyone out there that can help me to fix the problem? Ciao Vittorio From owner-freebsd-questions@freebsd.org Wed Oct 11 17:30:10 2017 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 9DDCEE31C49 for ; Wed, 11 Oct 2017 17:30:10 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "Starfield Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DC756FAC9 for ; Wed, 11 Oct 2017 17:30:10 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Wed, 11 Oct 2017 10:30:03 -0700 Subject: Re: FreeBSD ZFS file server with SSD HDD To: freebsd-questions@freebsd.org References: <20171011130512.GE24374@apple.rat.burntout.org> From: David Christensen Message-ID: Date: Wed, 11 Oct 2017 10:30:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171011130512.GE24374@apple.rat.burntout.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 17:30:10 -0000 On 10/11/17 06:05, Kate Dawson wrote: > Currently running a FreeBSD NFS server with a zpool comprising > 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip set ( RAID 10 ) That should do 6+ Gb/s. bonnie++ should be able to measure that. (It's been a while, but I seem to recall that bonnie++ expects raw drives and nukes your data. So, it could take some effort to use it.) https://www.coker.com.au/bonnie++/ > An additional 2x 960GB SSD added. These two SSD are partitioned with a > small partition begin used for a ZIL log, and larger partion arranged for > L2ARC cache. Assuming the ZIL is mirrored, that should do 5+ Gb/s. Assuming the L2ARC is striped, that should do 10+ Gb/s. I dont' know how to test ZIL and L2ARC in isolation, but dbench should be able to test what ZFS exposes, both locally and over NFS: https://dbench.samba.org/ > Additionally the host has 64GB RAM and 16 CPU cores (AMD Opteron 2Ghz) That should do 20+ Gb/s. Memtest86+ will be to measure: http://www.memtest.org/ > A dataset from the pool is exported via NFS to a number of Debian > Gnu/Linux hosts running a xen hypervisor. These run several disk image > based virtual machines > > In general use, the FreeBSD NFS host sees very little read IO, which is to expected > as the RAM cache and L2ARC are designed to minimise the amount of read load > on the disks. > > However we're starting to see high load ( mostly IO WAIT ) on the Linux > virtualisation hosts, and virtual machines - with kernel timeouts > occurring resulting in crashes and instability. > > I believe this may be due to the limited number of random write IOPS available > on the zpool NFS export. > > I can get sequential writes and reads to and from the NFS server at > speeds that approach the maximum the network provides ( currently 1Gb/s > + Jumbo Frames, and I could increase this by bonding multiple interfaces together. ) > > However day to day usage does not show network utilisation anywhere near > this maximum. > > If I look at the output of `zpool iostat -v tank 1 ` I see that every > five seconds or so, the numner of write operation go to > 2k > > I think this shows that the I'm hitting the limit that the spinning disk > can provide in this workload. > > As a cost effective way to improve this ( rather than replacing the > whole chassis ) I was considering replacing the 1TB HDD with 1TB SSD, > for the improved IOPS. > > I wonder if there were any opinions within the community here, on > > 1. What metrics can I gather to confirm the disk write IO as bottleneck? > > 2. If the proposed solution will have the required effect? That is an > decrease in the IOWAIT on the GNU/Linux virtualization hosts. I infer your network to be: - 1 host running FreeBSD (freebsd-version? uname -a?) and an NFS server (version?). - N (how many?) Debian GNU/Linux hosts (/etc/debian-version? uname -a?), each running a Xen hypervisor (version?) and an NFS client. - The VM's are configured to see their drives as local devices (e.g. the VM's are not running NFS clients connected to the FreeBSD NFS server). - Gigabit switch (make? model?). - 1 Gigabit connection between switch and each host. As you have correctly stated, you need visibility on the relevant performance metrics to make informed decisions. In addition to the above tools: - For networking, I'd try netstat: http://netstat.net/ - For drive I/O, I use nmon on Debian: https://en.wikipedia.org/wiki/Nmon - I believe iostat is available on both: https://en.wikipedia.org/wiki/Iostat - For CPU's, RAM, and swap, I use top. https://en.wikipedia.org/wiki/Top_(software) - You seem to have found at least one ZFS tool. As others have stated, you will want to ensure that all the pieces are reasonably in tune -- VM, NFS client, Xen, Debian networking, switch, FreeBSD networking, NFS server, ZFS, etc.. I'd start by looking for errors and/or warnings in the usual places (dmesg, /var/log, etc.). I typically leave the settings at the installer defaults, unless I have some compelling reason to make a change (at least one reader made a suggestion). Be sure to keep good notes if you're going to muck with the settings. As for 'zpool iostat -v tank 1', I suspect ZFS is telling you that it is flushing writes to the HDD's every five seconds. If flushes always complete before the next scheduled flush, replacing the HDD's with SSD's probably will not help with the VM IO WAIT and kernel timeout problems. But, if the flushes are overrunning each other during peak usage, you may have found the bottleneck. That said, I suspect that the root cause of the VM IO WAIT and kernel timeout problems is that the virtual machines need a low latency connection to their system drives, temporary file systems, and/or swap devices, and they aren't getting it. I would not bet on NFS to provide this, even with SSD's instead of HDD's. I would bet on local resources. I suggest: 1. Put 2 mirrored SSD's in each Xen server. 2. Put VM system drives on the local SSD mirror. 3. Put VM /tmp file systems on the local SSD mirror, or on RAM: https://en.wikipedia.org/wiki/Tmpfs 4. Put VM swap devices on the local SSD mirror, or on RAM: https://en.wikipedia.org/wiki/Zram 5. Put VM data drives on NFS. I am unsure if it is better to do the "on RAM" and "on NFS" ideas at the Xen level or within each VM. Performance is one consideration. Others considerations are security and accountability -- e.g. do customers have root on the VM's? To improve NFS performance: 1. Enlarging the pipe between the NFS server and the switch -- bonding (your idea), upgrade to 10 Gb/s, etc.. 2. Enlarge the pipes between the Xen hosts and the switch. 3. Add NIC's to the NFS server, add switches, and divide up the Xen hosts across the switches. 4. Add NIC's to the NFS server, one per Xen host, and make direct connections between the NFS server and each Xen host. Please let us know how it goes. :-) David From owner-freebsd-questions@freebsd.org Wed Oct 11 18:08:07 2017 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 5DE80E32805 for ; Wed, 11 Oct 2017 18:08:07 +0000 (UTC) (envelope-from markham@ssimicro.com) Received: from barracuda.ssimicro.com (barracuda.ssimicro.com [96.46.39.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27E6D70C52 for ; Wed, 11 Oct 2017 18:08:06 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507745282-08e7172d0be954a0001-jLrpzn Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id 4OdxmzJRvz7arkRv (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 11 Oct 2017 14:08:02 -0400 (EDT) X-Barracuda-Envelope-From: markham@ssimicro.com X-Barracuda-Effective-Source-IP: mail.ssimicro.com[64.247.129.10] X-Barracuda-Apparent-Source-IP: 64.247.129.10 Received: from yk-office-dhcp-64-247-130-165.ssimicro.com (yk-office-dhcp-64-247-130-165.ssimicro.com [64.247.130.165]) (authenticated bits=0) by mail.ssimicro.com (8.15.2/8.15.2) with ESMTPSA id v9BI81Vj022716 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 11 Oct 2017 12:08:01 -0600 (MDT) (envelope-from markham@ssimicro.com) Subject: Re: FreeBSD ZFS file server with SSD HDD To: freebsd-questions@freebsd.org X-ASG-Orig-Subj: Re: FreeBSD ZFS file server with SSD HDD References: <20171011130512.GE24374@apple.rat.burntout.org> From: markham breitbach Message-ID: Date: Wed, 11 Oct 2017 12:08:01 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507745282 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://barracuda.ssimicro.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 6981 X-Virus-Scanned: by bsmtpd at ssimicro.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43806 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 18:08:07 -0000 I ran into some problems of disks choking on heavy IO under VMware. It turned out to be an issue with firmware on the SSDs and backplane in a Dell server. It's probably worth making sure those are all up to date. -M On 2017-10-11 11:30 AM, David Christensen wrote: > On 10/11/17 06:05, Kate Dawson wrote: >> Currently running a FreeBSD NFS server with a zpool comprising >> 12 x 1TB hard disk drives are arranged as pairs of mirrors in a strip >> set ( RAID 10 ) > > That should do 6+ Gb/s. > > > bonnie++ should be able to measure that. (It's been a while, but I > seem to recall that bonnie++ expects raw drives and nukes your data. > So, it could take some effort to use it.) > > https://www.coker.com.au/bonnie++/ > > >> An additional 2x 960GB SSD added. These two SSD are partitioned with a >> small partition begin used for a ZIL log, and larger partion arranged >> for >> L2ARC cache. > > Assuming the ZIL is mirrored, that should do 5+ Gb/s. > > > Assuming the L2ARC is striped, that should do 10+ Gb/s. > > > I dont' know how to test ZIL and L2ARC in isolation, but dbench should > be able to test what ZFS exposes, both locally and over NFS: > > https://dbench.samba.org/ > > >> Additionally the host has 64GB RAM and 16 CPU cores (AMD Opteron 2Ghz) > > That should do 20+ Gb/s. > > > Memtest86+ will be to measure: > > http://www.memtest.org/ > > >> A dataset from the pool is exported via NFS to a number of Debian >> Gnu/Linux hosts running a xen hypervisor. These run several disk image >> based virtual machines >> >> In general use, the FreeBSD NFS host sees very little read IO, which >> is to expected >> as the RAM cache and L2ARC are designed to minimise the amount of >> read load >> on the disks. >> >> However we're starting to see high load ( mostly IO WAIT ) on the Linux >> virtualisation hosts, and virtual machines - with kernel timeouts >> occurring resulting in crashes and instability. >> >> I believe this may be due to the limited number of random write IOPS >> available >> on the zpool NFS export. >> >> I can get sequential writes and reads to and from the NFS server at >> speeds that approach the maximum the network provides ( currently 1Gb/s >> + Jumbo Frames, and I could increase this by bonding multiple >> interfaces together. ) >> >> However day to day usage does not show network utilisation anywhere near >> this maximum. >> >> If I look at the output of `zpool iostat -v tank 1 ` I see that every >> five seconds or so, the numner of write operation go to > 2k >> >> I think this shows that the I'm hitting the limit that the spinning disk >> can provide in this workload. >> >> As a cost effective way to improve this ( rather than replacing the >> whole chassis ) I was considering replacing the 1TB HDD with 1TB SSD, >> for the improved IOPS. >> >> I wonder if there were any opinions within the community here, on >> >> 1. What metrics can I gather to confirm the disk write IO as bottleneck? >> >> 2. If the proposed solution will have the required effect? That is an >> decrease in the IOWAIT on the GNU/Linux virtualization hosts. > > > I infer your network to be: > > - 1 host running FreeBSD (freebsd-version? uname -a?) and an NFS > server (version?). > > - N (how many?) Debian GNU/Linux hosts (/etc/debian-version? uname > -a?), each running a Xen hypervisor (version?) and an NFS client. > > - The VM's are configured to see their drives as local devices (e.g. > the VM's are not running NFS clients connected to the FreeBSD NFS > server). > > - Gigabit switch (make? model?). > > - 1 Gigabit connection between switch and each host. > > > As you have correctly stated, you need visibility on the relevant > performance metrics to make informed decisions. In addition to the > above tools: > > - For networking, I'd try netstat: > > http://netstat.net/ > > - For drive I/O, I use nmon on Debian: > > https://en.wikipedia.org/wiki/Nmon > > - I believe iostat is available on both: > > https://en.wikipedia.org/wiki/Iostat > > - For CPU's, RAM, and swap, I use top. > > https://en.wikipedia.org/wiki/Top_(software) > > - You seem to have found at least one ZFS tool. > > > As others have stated, you will want to ensure that all the pieces are > reasonably in tune -- VM, NFS client, Xen, Debian networking, switch, > FreeBSD networking, NFS server, ZFS, etc.. I'd start by looking for > errors and/or warnings in the usual places (dmesg, /var/log, etc.). I > typically leave the settings at the installer defaults, unless I have > some compelling reason to make a change (at least one reader made a > suggestion). Be sure to keep good notes if you're going to muck with > the settings. > > > As for 'zpool iostat -v tank 1', I suspect ZFS is telling you that it > is flushing writes to the HDD's every five seconds. If flushes always > complete before the next scheduled flush, replacing the HDD's with > SSD's probably will not help with the VM IO WAIT and kernel timeout > problems. But, if the flushes are overrunning each other during peak > usage, you may have found the bottleneck. > > > That said, I suspect that the root cause of the VM IO WAIT and kernel > timeout problems is that the virtual machines need a low latency > connection to their system drives, temporary file systems, and/or swap > devices, and they aren't getting it. I would not bet on NFS to > provide this, even with SSD's instead of HDD's. I would bet on local > resources. I suggest: > > 1. Put 2 mirrored SSD's in each Xen server. > > 2. Put VM system drives on the local SSD mirror. > > 3. Put VM /tmp file systems on the local SSD mirror, or on RAM: > > https://en.wikipedia.org/wiki/Tmpfs > > 4. Put VM swap devices on the local SSD mirror, or on RAM: > > https://en.wikipedia.org/wiki/Zram > > 5. Put VM data drives on NFS. > > > I am unsure if it is better to do the "on RAM" and "on NFS" ideas at > the Xen level or within each VM. Performance is one consideration. > Others considerations are security and accountability -- e.g. do > customers have root on the VM's? > > > To improve NFS performance: > > 1. Enlarging the pipe between the NFS server and the switch -- > bonding (your idea), upgrade to 10 Gb/s, etc.. > > 2. Enlarge the pipes between the Xen hosts and the switch. > > 3. Add NIC's to the NFS server, add switches, and divide up the Xen > hosts across the switches. > > 4. Add NIC's to the NFS server, one per Xen host, and make direct > connections between the NFS server and each Xen host. > > > Please let us know how it goes. :-) > > > David > _______________________________________________ > 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 Wed Oct 11 18:56:30 2017 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 C0802E33C9A; Wed, 11 Oct 2017 18:56:30 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::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 893F072C38; Wed, 11 Oct 2017 18:56:30 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 97so2867308iok.7; Wed, 11 Oct 2017 11:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=VBGCCYZdewrnw72YBWbnP4cMY9abY1vRfgu9jU0gHDk=; b=lxR/pFN5W73fveCxga5coJzFUDvUAr7ZJq3lBZDy9onnsiZHODoegi/BQ7l7hilBRR jlyxUvuSSBtydzcvIYWVRPxI4SQuputhspDtSpKaHBCWt6nJSlUVlt1KguSR/9uHBK/X 3cSjnE3L67O2w31DFIRsZXO0+/KZiF4UvsZcFTACl9rizppPmY36I8DWCk0L6ZeWOVoL l90JsjI6L/J3EC6pApU0DiIInw1cMTxTDnldp0H0QPJu/H/1VMXtCSpnVKsVT2evR3pt 1LOz3VyyFcw40jCRGNtEKyAYVl14xGVJobJgUNcM6W4qa0cK0nQGKVfVo9ISScKYZeGw THMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=VBGCCYZdewrnw72YBWbnP4cMY9abY1vRfgu9jU0gHDk=; b=VCwIGZXcdyVNMnFA6pGdCbQxBD2pDNJlQb/NDp5a7cARth79oW3Ge+yicTKpZrl/SZ v1ZsRiigvAUtacvHNP5uSm7EFUpOaQx9mb+VBuQdduzioBE5rS0iLn6BMXQw/nOiVIUM cr6E/yALguBTpth7x2YaRheS3LNXINVeHTSle5wuzk5yDqqMxHZut5RIYvDHPI0vbJGZ mTU95SWDUpdC8Nh0EkTCczA0eVxxnivIEWXMU1M8gCDbJBIt/hwThuBqtNvPbeVSAk8j hRzqVBRTCNBIUd08BU687w5Glqy79M/BcdlvwlGDPh8i+DKPjXCmCbRfED7he4Yr0Hyl fe7w== X-Gm-Message-State: AMCzsaUD6HJOu1jYEiMDGMfsRS8WGlDqMz3ink9p5R4XkP2E9RHaag7V qFRhQYNN4pBGwMHSWl5r7k2Fww== X-Google-Smtp-Source: AOwi7QCPMeuis72K0cnjk584nSHPZoSrMpb1K+RdCE5mpgGaq+rFy4fw1tZVPt/wXa3OkwFUqNJ36g== X-Received: by 10.107.15.170 with SMTP id 42mr306990iop.141.1507748189942; Wed, 11 Oct 2017 11:56:29 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-4.neo.res.rr.com. [65.25.55.4]) by smtp.googlemail.com with ESMTPSA id e99sm5416855itd.40.2017.10.11.11.56.29 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 11:56:29 -0700 (PDT) Message-ID: <59DE695A.7020702@gmail.com> Date: Wed, 11 Oct 2017 14:56:26 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , "ports@FreeBSD.org" Subject: pkg for dovecot2 missing Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 18:56:30 -0000 This new pkg repository is missing dovecot2. How can I target the previous repository, I know its there. From owner-freebsd-questions@freebsd.org Wed Oct 11 19:01:21 2017 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 6583BE33FBF for ; Wed, 11 Oct 2017 19:01:21 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 338C272FE1 for ; Wed, 11 Oct 2017 19:01:20 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B0369215E0 for ; Wed, 11 Oct 2017 15:01:19 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 11 Oct 2017 15:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=PYyGxmo8+JSKlF10Pgf2b2UlHmoT7kO66uTxuJaqwqA=; b=FQk2qZIA oUywsEDZ2aPZ8e4bOA04giDbu6IMwT/W9NbF5eZSud5r1vwJBuRLKQDcGR3uVEma UyEF/YS2uzgmrSnZBNgUd3WOwZhyN/hUr2abgjegCFn0BJvPk9G1CvIAdn6tF1B+ BlO7lYXMyWuUvbGpBHYmTdT2sMzzTJuQwJU1PHyVpTGZUFFCXQTeRIVIhirIxUW0 9zC65+Tty05/nLefkut0R0JQ23DalhZJBEaaSV2emUtMk3bHNaVAxqwvGJ1V73jl 8yBih7h9cBFI+tTy9oXBpFNO5xZ902ticIv6BUShPaIDgzJXZUpBKsZQOg7EOmHS Fe7GwLT5IXfb7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=PYyGxmo8+JSKlF10Pgf2b2UlHmoT7 kO66uTxuJaqwqA=; b=eK2Dx4x04aKTh2Ol8rkcWki+Yra5vemdlDYLrh+lIi6ZD 3V9P53dgF7Ozpscm1tXsdZHCb0KJwPRAxTR/Qavl0iUXQn/yVD7V6iErlB9Wymp1 v4kbDpSEPkGS3gwb2s5MQ+NTTHBQj+cON+BRbVf6Iq1yp1Ud3xtkw/B+IPpW3BQz 4X8JVNkc6tbQueLZO8rMV7yoldE4Xl8YHFzZ4D6fBt2lBWZ7jikN0PoneeeQkHIv cewjSn9GoVK81qaFj47h3Sf5t3oCMnDJIu6R90L1mQIpykuyKen0y/VinLHwyeDU gH8MvFSbCmVv9MXHcQS0GfJqYbmaUh5t6+wjXY7zA== X-ME-Sender: Received: from acer.zyxst.net (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 28C99246D5 for ; Wed, 11 Oct 2017 15:01:19 -0400 (EDT) Date: Wed, 11 Oct 2017 20:01:17 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: problems with pkg: Operation timed out Message-ID: <20171011190116.GA54264@acer.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20171011150743.GA23107@acer.zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 19:01:21 -0000 On Wed, Oct 11, 2017 at 10:59:42AM -0500, Antonio Olivares wrote: >How can I fix this? The school has put a firewall in place that >prevents many websites and getting files from ftp. What would I need >to tell to our school's network administrator? I'm not sure. Ask them to allow *.freebsd.org ? They might have the sort of setup that only connects to their network, i.e. an *intranet* so what you're asking might not even be possible with their system, by design and/or by policy. Your example showed that you weren't even able to traceroute. If you can access some sites but not others on the internet, it might be the case that everything is blacklisted (blocked) if it doesn't appear on a whitelist (allowed), so you'd need to ask your network admin to whitelist *.freebsd.org by the way, pkg uses http in a standard configuration. -- J. From owner-freebsd-questions@freebsd.org Wed Oct 11 19:05:44 2017 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 C4593E3418D; Wed, 11 Oct 2017 19:05:44 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (unknown [IPv6:2001:470:1f0f:3ad:bb:dcff:fe50:d900]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3DF17331E; Wed, 11 Oct 2017 19:05:44 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Content-transfer-encoding:Content-type:Mime-version:In-Reply-To: References:Message-ID:To:From:Subject:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=NrXMz+aansF09h/uMMei+ik19OTiV/KsLZ7vwbZSb/4=; b=hcJtXkQprPsMqokSDSfcq9d2LO hfm59jGR6rdJha+PdAuVO/WFmXvRLMQ6YZY0/rZLrwRteDw0pyi8dqZT8TkPJNF5gF6cCWXGkb0Aw x37f3pzqiCr8GLlOwCYiqH2EaaxDE0Et3tEG+wQ25/OFkUCqQ7/N6bm9tNIbacqBcvbM=; Received: from [74.203.163.58] (port=23587 helo=[10.106.10.51]) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e2MK7-000JoY-ID; Wed, 11 Oct 2017 14:05:43 -0500 User-Agent: Microsoft-MacOutlook/10.7.0.171008 Date: Wed, 11 Oct 2017 14:05:13 -0500 Subject: Re: pkg for dovecot2 missing From: Larry Rosenman To: Ernie Luzar , "freebsd-questions@freebsd.org" , "ports@FreeBSD.org" Message-ID: Thread-Topic: pkg for dovecot2 missing References: <59DE695A.7020702@gmail.com> In-Reply-To: <59DE695A.7020702@gmail.com> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 19:05:44 -0000 Dovecot2 was renamed to dovecot in July. As was dovecot2-pigeonhole -> dovecot-pigeonhole. --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 =20 =20 =EF=BB=BFOn 10/11/17, 1:56 PM, "Ernie Luzar" wrote: This new pkg repository is missing dovecot2. How can I target the=20 previous repository, I know its there. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org= " =20 From owner-freebsd-questions@freebsd.org Wed Oct 11 19:20:31 2017 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 1C055E346A9; Wed, 11 Oct 2017 19:20:31 +0000 (UTC) (envelope-from SRS0=ro/S=BK=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D518873BEB; Wed, 11 Oct 2017 19:20:30 +0000 (UTC) (envelope-from SRS0=ro/S=BK=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id BEAC828423; Wed, 11 Oct 2017 21:20:26 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2E1AE28416; Wed, 11 Oct 2017 21:20:26 +0200 (CEST) Subject: Re: pkg for dovecot2 missing To: Ernie Luzar , "freebsd-questions@freebsd.org" , "ports@FreeBSD.org" References: <59DE695A.7020702@gmail.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <59DE6EF9.9040802@quip.cz> Date: Wed, 11 Oct 2017 21:20:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <59DE695A.7020702@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 19:20:31 -0000 Ernie Luzar wrote on 2017/10/11 20:56: > This new pkg repository is missing dovecot2. How can I target the > previous repository, I know its there. Dovecot2 was renamed to Dovecot (mail/dovecot). You should read /usr/ports/UPDATING Miroslav Lachman From owner-freebsd-questions@freebsd.org Wed Oct 11 23:02:01 2017 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 43C2DE39B12 for ; Wed, 11 Oct 2017 23:02:01 +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 1826480DF0 for ; Wed, 11 Oct 2017 23:02:00 +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 v9BN1tw1090262 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 11 Oct 2017 17:01:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v9BN1t1J090259; Wed, 11 Oct 2017 17:01:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 11 Oct 2017 17:01:55 -0600 (MDT) From: Warren Block To: Paul Pathiakis cc: Paul Schmehl , Polytropon , "freebsd-questions@freebsd.org" Subject: Re: Scripting problem In-Reply-To: <1984508980.4145408.1507553196491@mail.yahoo.com> Message-ID: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> <1984508980.4145408.1507553196491@mail.yahoo.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Wed, 11 Oct 2017 17:01:55 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 23:02:01 -0000 On Mon, 9 Oct 2017, Paul Pathiakis wrote: >> Quoting is sh's biggest weakness. Well, that and lack of basic data >> structures, and the weak logical structures, and so on. > > ### Well, yes and no. I consider it both a strength and a weakness. I find sh to be exactly what I think of a scripting language to be... glue. I don't > expect to write a fully versed program in sh. I wouldn't be using sh for that. I find sh to be that 'tool' to use when I want to call other tools and > utilities. (sed, awk, tr, etc) > > ### I think people have gone way too far in creating 'scripting' languages that are more programming languages than scripting.... Personally, I tried > learning PERL which tries to be everything to regex. The problem? Lack of coherence... "I can do this 5 different ways in PERL" Is that supposed to be a > good thing when all five seem to execute at different speeds, using different resources, etc? (apologies to Larry Wall and the rest) The multiple domains that are utterly different are not just in Perl. In sh, you can use sed and awk, which have very little overlap. In fact, you pretty much have to use sed *and* awk, because each is not quite powerful enough to do particular jobs. Or use Perl, which is a superset of both. The trouble with sh is that it is so weak that it takes a lot of code to accomplish anything. That comes back to haunt the programmer in the long term, because simpler, shorter programs that use more powerful constructs are much easier to maintain. Perl is much-maligned, but every time I rewrite a shell script in Perl it gets shorter and easier to maintain. Or longer and more powerful. Python and Ruby are similar. >> Someone once said that if a script is longer than twenty lines or so, >> it probably ought to be done in a real scripting langugage. That was >> me, but Stephen Bourne has also said it. Yes, that Stephen Bourne. > > ### I'll go off a little on this with kind of a corollary.... No sh script should be more than 20 lines, however, I typically will call shell scripts from > other scripts. But I do agree, if you want to program, use a programming language. (IMHO, C is still the best, most powerful language around but, again, > read a book, talk to the people who are in the know - My 'C' guru is a guy who has written code that utterly shocked me in its elegance, execution, and > simplicity - and the occasional "You can do something like that in C?" thoughts running through my head.) The distinction between programming and "scripting" has always been artificial to me. You write a series of instructions for a computer, that's a program. Give me powerful tools, I'm not interested in doing it the hard way to build character. I have enough character. What I want back is the time I spend trying to fix sh scripts. From owner-freebsd-questions@freebsd.org Thu Oct 12 00:42:29 2017 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 94414E3B5F7 for ; Thu, 12 Oct 2017 00:42:29 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from sonic303-7.consmr.mail.bf2.yahoo.com (sonic303-7.consmr.mail.bf2.yahoo.com [74.6.131.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57B728391C for ; Thu, 12 Oct 2017 00:42:28 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1507768947; bh=HwabE3LY4EIgVmvS+gZMAnxZx81voA2cD1Mw8s6Pfy8=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=Iad6PlcYrl4H4iMdm4k7PLcNXRGIreqFRFVRyaGFew9nlYYtJjIoNNXrK9TCJYI6MwJpaw+wenOsGWW731cwgpa9Yz81LqMTe8o9bMUtSJZo9fYEJhWrMJS6QO8JJUgDSbNEYjZyVGBGa1ChKh5qX/ZscRshZzf0rJ2VcZFtdHbBHI91QepwfevHCdOVXpu/Zf0IMCRfLGo25XnrdlLL4ORszmIqroGRLW28V1uvqvmSZbqddRJ0wId1umxDkS1Mvj/sNFduFjPcJmEO1qDxkVaX0n9PovtS/rTjJ7vli7CwUq+lD+9K1q7b6dJ1QKxdfs+QzC+qJqkhFaqbCBhzWw== X-YMail-OSG: GgEzF24VM1lLgXamiw8G1HAcfRUxwKxlWqH2drzJDRj281zGXiHc_4FHbbzd2tO qq3E.iuvdFT4LhdiLP4F3ehoAn65fJ0ns0k15Q__K5h6Uc4WB5gEl3KfvEUCkPiUcz69AQl.F3av BAsF1gHrvtodVCbWAaSBQYsBVFQ5cI.v8nnpY7t0E68jmEn7eddz7GoCknQxPtMLN6AOiVwSOhBc YLoaxOom5sY1kcvAsGaaedANWDUGnV.0XdOzAszsCHmj7Gq4eSgUxeVaHGiCxLWAvBfDmpr17Q4m Lei4QOfTKQn94btX0ImFGQb2n7trriIn8b9DvwBdY8xke4zTI4IvymD4sb8b.68kEhlgxvb_IeLh h2JzHm8QSVJmgRFXQE.x.Fmw1TkorFEQkcb62hmr30jLGAjVTC5YIdBtYy6ISAhvmnF0_AuM4yf. xwCp.J69K0NnZ0EDdFXjUnXaQdTd6tde8eThS5XS7kbUhBQa1bHbfy0t42YrxNg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Thu, 12 Oct 2017 00:42:27 +0000 Date: Thu, 12 Oct 2017 00:12:03 +0000 (UTC) From: Jin Guojun Reply-To: Jin Guojun To: "freebsd-questions@freebsd.org" Message-ID: <364661189.192364.1507767123121@mail.yahoo.com> Subject: pkg install gnuplot for 10.4 fails since last night MIME-Version: 1.0 References: <364661189.192364.1507767123121.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10726 YahooMailNeo Mozilla/5.0 (X11; FreeBSD amd64; rv:56.0) Gecko/20100101 Firefox/56.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 00:42:29 -0000 Does this site get hacked? or Is it a maintenance issue? It was working Yesterday afternoon, but failed around evening time. -Jin pkg install gnuplot-5.0.7 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating database digests format: 100% The following 17 package(s) will be affected (of 0 checked): New packages to be INSTALLED: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gnuplot: 5.0.7 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 wx28-gtk2: 2.8.12_7 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 wx28-gtk2-common: 2.8.12_7 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 pangox-compat: 0.0.2_2 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gstreamer-plugins: 0.10.36_8,3 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gstreamer: 0.10.36_6 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libGLU: 9.0.0_3 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libIDL: 0.8.14_3 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gconf2: 3.2.6_5 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dconf: 0.24.0_1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ORBit2: 2.14.19_2 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libmspack: 0.5 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lua52: 5.2.4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libgd: 2.2.4_1,1 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 webp: 0.6.0_4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 giflib: 5.1.4 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tex-kpathsea: 6.2.1_1 Number of packages to be installed: 17 The process will require 56 MiB more space. 10 MiB to be downloaded. Proceed with this action? [y/N]: y [1/17] Fetching gnuplot-5.0.7.txz: 100%=C2=A0=C2=A0=C2=A0 2 MiB 314.1kB/s= =C2=A0=C2=A0=C2=A0 00:06=C2=A0=C2=A0=C2=A0=20 pkg: cached package gnuplot-5.0.7: size mismatch, fetching from remote [2/17] Fetching gnuplot-5.0.7.txz: 100%=C2=A0=C2=A0=C2=A0 2 MiB 209.4kB/s= =C2=A0=C2=A0=C2=A0 00:09=C2=A0=C2=A0=C2=A0=20 pkg: cached package gnuplot-5.0.7: size mismatch, cannot continue From owner-freebsd-questions@freebsd.org Thu Oct 12 03:34:01 2017 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 971BFE41E97 for ; Thu, 12 Oct 2017 03:34:01 +0000 (UTC) (envelope-from whereisalext@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 24E9563AFE for ; Thu, 12 Oct 2017 03:34:01 +0000 (UTC) (envelope-from whereisalext@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id b189so9303040wmd.4 for ; Wed, 11 Oct 2017 20:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=n1mrc22uJJocfqt08PwCxW9s04U8iwDHqiRPVvDxV1s=; b=lEfopt53QpWPDXD602zGMJTJsBpXhJ1ZR2Jm4PkZTmSCmV89xBYHK9col3LcAAzG/G ygexVmTUm2ZR2bYGaPo4yjBILaOtc1VddZF0J+BtdP99OgQEZgu8xzi2kswamd+TjTVO BSj7JeajoXIAZXfqH/FCJbVbUx8ONzJ+GmhsCNn0ldTzPsvDvZoid8P/E0G4ZFs5bo6N DrJ6fNS0lSE7QkiHeB9A76M1lJoeIFoXCf8wSIQjg14cPqOlh+tuw1gRUNWjddaoR+Bh vORhsdHo5Cwfc4XKxHGwMPMdc+SnBLlK7PElmzAFcAiG7SFUiWcJt5Gv14fhE/B4P7GB uiRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=n1mrc22uJJocfqt08PwCxW9s04U8iwDHqiRPVvDxV1s=; b=E0pM2GWOiGH/tdzHUeSs8WhdzKpyVlv6bvYTg1POzdMhtBjd0YdI7KyVqZvuMrPKEu jUrD8LsI1626I0fuieEj6CivR2jHaQ3giVu8T0vXHGRbpu0Bx3SzXB08Dw+/7pHrnZXW H2R/QXgrle+Tc7RqSmXLNnS3Jaj9cIjQboRM++9W2DfA9seApbrOz1TaV8xWjaAHHJ9A YU7YXgrRDS0ulFpGov6ElMseH3eqc0lmiKGZDz31mTBM5ijF6Dx4fty6XzY3wr4GHluh Ch65b4a7kSke6gw1iv/Slcs/EcgAtB88thSCnaRjm/V/IFGrmWdIXy3rIqVu7HARXQ7o yfSA== X-Gm-Message-State: AMCzsaVs3fm9tEekGF8S0auREjNeeFvVElzcMCD3r3y5hHSvY/3gFM6h tWWyHcGHtRs971iV7By4GLAS5KG/GlAxoBxxWK9ruw== X-Google-Smtp-Source: AOwi7QAAm7s4B8IOKZMsMIjfqS7cgIQOnLa6u7Vnz0allz0zWRROOMJx5xPKO9di/4T8XncY3w9SdE/7QeaN+kgFA+k= X-Received: by 10.223.139.18 with SMTP id n18mr54730wra.223.1507779239568; Wed, 11 Oct 2017 20:33:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.185.73 with HTTP; Wed, 11 Oct 2017 20:33:59 -0700 (PDT) From: Elxa Kiltse Date: Wed, 11 Oct 2017 20:33:59 -0700 Message-ID: Subject: new GPT/UFS ssd drive not booting To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 03:34:01 -0000 Hello, I installed a new ssd, following the instructions at: http://www.wonkity.com/~wblock/docs/html/ssd.html It all went fine, but when I try to boot the system it says: Trying to mount root from ufs:/dev/ufs/gptroot ROOT MOUNT ERROR: If you have invalid mount options, reboot, and first try the following from the loader prompt: set vfs.root.mountfrom.options=rw Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/gptroot vfs.root.mountfrom.options=rw "gpart show" gives me this on the original hdd: => 34 5860533101 ada1 GPT (2.7T) 34 64 1 (null) (32K) 98 1950 - free - (975K) 2048 2097152 2 gptroot (1.0G) 2099200 8388608 3 (null) (4.0G) 10487808 83886080 4 gptusr (40G) 94373888 5766159247 5 gpthome (2.7T) the ssd gpart looks like this: => 34 1953525101 ada0 GPT (932G) 34 6 - free - (3.0K) 40 1024 1 ssdboot (512K) 1064 984 - free - (492K) 2048 4194304 2 ssdrootfs (2.0G) 4196352 1048576000 3 ssdvarfs (500G) 1052772352 900752783 4 ssdusrfs (430G) I modified my /boot/loader.conf with these lines: vfs.root.mountfrom=ufs:/dev/gpt/ssdrootfs vfs.root.mountfrom.options=rw but still no luck. Even with the loader.conf lines it's still trying to load /dev/ufs/gptroot. Any idea how I can get the ssd to be recognized by the loader system? Thanks From owner-freebsd-questions@freebsd.org Thu Oct 12 05:04:29 2017 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 58365E43933 for ; Thu, 12 Oct 2017 05:04:29 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 447B765C7B for ; Thu, 12 Oct 2017 05:04:28 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id DCCF73AF00 for ; Wed, 11 Oct 2017 21:57:28 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Unbound(8) caching resolver no workie on fresh install :-( Date: Wed, 11 Oct 2017 21:57:28 -0700 Message-ID: <1468.1507784248@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 05:04:29 -0000 I just installed a fresh 11.1-RELEASE system onto a pristine drive. (Be patient with me please. I haven't done this in a long while.) All seems to be working well, however I noticed the new install option to enable a local caching resolver, and I said to myself "Yea! Sounds great to me!" So I enabled that. After the install finished and I booted the new system, I immediately got some console errors indicating that the various default NTP servers (I also enabled NTP) were not resolving. :-( So, um, what gives? This particular machine is, for the moment, NAT'd/DHCP'd behind my trusty Linksys E4200. Do I need to poke a hole in that so that the UDP DNS query replies can actually make it all the way back to this box? Or is there something I need to diddle under /etc/unbound that isn't just ready to go, out of the box? From owner-freebsd-questions@freebsd.org Thu Oct 12 05:06:11 2017 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 EB0DFE43AD3 for ; Thu, 12 Oct 2017 05:06:11 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4A0165DCA for ; Thu, 12 Oct 2017 05:06:11 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt0-x22a.google.com with SMTP id v41so1347827qtv.12 for ; Wed, 11 Oct 2017 22:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mRLyTYYqfk2GFnMBm+VUoQH7eU9PR68tEUO7B2o68zs=; b=2IjvcO6BMxpaweap7WtofQdVlZV2KaHDryTnJBiL4CI872xPi2jo5UjOXULM/yyx+Y q/33ofl1ntT5BqO+HfA5V6dXrpbuqKWlbUtfubLr1D7Up5aytD0uZlDxVh/2lib52ck6 f59z+/ejdbQB98nb259cqxUsc+QkvqvOWTmgSNlGrUc08LgKcT+e8JseaVQ0sKmiIEvW HVQGlaRFTkZmhpmW1VhpTaSKe2uIhHU6ZZzUn9GLd1a5tbG1AMHmWdY/YgmkxrIwH/N9 DWTcBbnMbzQEYZ9zWgJYb49PI0GEou0aIrjkQqw902DpuzUxWDKyO+a/Uau0VvF9ijrC ZUTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mRLyTYYqfk2GFnMBm+VUoQH7eU9PR68tEUO7B2o68zs=; b=RxIkmBtm276aJ9dZPhxWV2+CRIDqURX2P4DX93X1SuICPuSC8ZKaLOHOB27UmplB3X R0/Vfo4SkYXx9w22W0iJu4yIoqNTFV7CZSOoIc0CD1A3NM07Ouz4URRxj0r2PoifhspC NJFnbwFEjs/HKXCtqRzY74vrD9iXNE2lBOSPXp7f7p89EvSvnTsehDmEqoILdX7VxHKQ glr50tRz1tCUfWQyeMtrVW6j+Szb7MRZrxtAsadi90Xk3++nLwtCBIsiwVrlnLb9QW/v nCQ6ol66lai3/Fm+6FeA85R4aGP7UIVX7MBWFTGpbwECIuO5Xjza0Q9583jpbqUqSIuG AeKA== X-Gm-Message-State: AMCzsaWwan8Gc97YMrtLF6Zwtv35yvLVv1nHAk+p2mdTAvgmi915OojD ivHvG4yjzkwcjfP9+zLYggaA7hy/eTXNMgpYmKUxYA== X-Google-Smtp-Source: AOwi7QDQaWpKtzfcnPLix/hUgBgo3yGr0evxwAkR1+vmBtCgPd8rY34YVxXB1IQiX0606HKYagj13dyLiowTbZBCIio= X-Received: by 10.237.63.129 with SMTP id s1mr1403966qth.89.1507784770147; Wed, 11 Oct 2017 22:06:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.46.194 with HTTP; Wed, 11 Oct 2017 22:06:09 -0700 (PDT) In-Reply-To: References: From: Michael Sierchio Date: Wed, 11 Oct 2017 22:06:09 -0700 Message-ID: Subject: Re: new GPT/UFS ssd drive not booting To: Elxa Kiltse Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 05:06:12 -0000 On Wed, Oct 11, 2017 at 8:33 PM, Elxa Kiltse wrote= : > > the ssd gpart looks like this: > > > =3D> 34 1953525101 ada0 GPT (932G) > > 34 6 - free - (3.0K) > > 40 1024 1 ssdboot (512K) > > 1064 984 - free - (492K) > > 2048 4194304 2 ssdrootfs (2.0G) > > 4196352 1048576000 3 ssdvarfs (500G) > > 1052772352 900752783 4 ssdusrfs (430G) > > > I modified my /boot/loader.conf with these lines: > > > vfs.root.mountfrom=3Dufs:/dev/gpt/ssdrootfs > > vfs.root.mountfrom.options=3Drw > > Give this a try: vfs.root.mountfrom=3D"ufs:/dev/ada0p2" --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Thu Oct 12 05:32:30 2017 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 F141DE4431F for ; Thu, 12 Oct 2017 05:32:30 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id DF2D5668F1 for ; Thu, 12 Oct 2017 05:32:30 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 34BCB3AF00 for ; Wed, 11 Oct 2017 22:32:30 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Another 11.1-RELEASE install minor annoyance (ntpd) Date: Wed, 11 Oct 2017 22:32:29 -0700 Message-ID: <1675.1507786349@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 05:32:31 -0000 I dunno what went wrong here. During my fresh install of 11.1-RELEASE I explicity selected that I wanted ntpd to run, and sure enough, in my /etc/rc.conf file I see the line: ntpd_enable="YES" but "ps -ax | fgrep ntp" shows nothing running, and the time on this system is way way WAY off. What did I do wrong? Is this another case where I have to poke an appropriate hole in my Linksys E4200 router config, ya know, to make NTP work? From owner-freebsd-questions@freebsd.org Thu Oct 12 05:53:27 2017 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 7AD31E44B77 for ; Thu, 12 Oct 2017 05:53:27 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::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 0F752673BF for ; Thu, 12 Oct 2017 05:53:27 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id i124so9825590wmf.3 for ; Wed, 11 Oct 2017 22:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VTEi7rT3DbpTJ8mKyi2RvThwTlIqT5MwGoDmmyBnrHo=; b=jkYniQX0/ZnbJI9vPyGpOi90fdIm/Y3LqsYqNcuHZIjs8inJxLbYWUOZ+DfBVM3rsc Mdt/y08NXjfEkWR9uAphMvSEsqiwQi6EooWrQI9FLWG9ciTmKmV5DtczxZOmF+rgiZSY G0O2nhZo7Wvfuf7prmDbAONZshE2izt6wy1uKHk5CuAMNN6sTKmlt2y6YefW1ukKqGpy qijkd3iUriIrTNboRPbDnwMqYy+xJ5Xp/b2OQeyVdvrrtwLi21V9XGA666zAU8LZlDqz m1UnSr358GJFObDeQ5sV7eWv98qfAh/FKz9Yv6VDq5hqQs2raXnzHk5ebp1Wz+P5OgHH xVaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VTEi7rT3DbpTJ8mKyi2RvThwTlIqT5MwGoDmmyBnrHo=; b=hhGgiz6/9dieG8hEMTuZQTafwU7k7d4b3eB15vG1h7VJ1DXMjxq2zMYNxXPyGD04fP k1+i617sIuAtDq3dhv/SUW3AJmv/gGLDb5j0MrGeCfLyE2kq2230oCMpsaGvgSkOobSM u4WG3W6nHkMzZ0YGD5DljAFKp3/fjPTBHYH1xnt88CwAqIKP2ZRX0UpsC3a9PsNS5ZI1 2kmmK8Wpwy5a7k2bZLC99H8j4zLlHdgAhEoT52q2Deca0odT1XXxo/QeGJ2p3GJYGL0f 0mPqAxNr94Id0eGljv5B0NoAd2aSKk+ed0f3zsVgR7bl42VUfruonrgIZVQgyCsbwXOl ZBtg== X-Gm-Message-State: AMCzsaXoOJv4gw+X6M/3I1j1TnWaf6ugalD5XNLwAwhi1a2sMPzm5WmX u69feIuCDpa2sPjgu4x0SbTXY54ScTtackTNk7lw124w X-Google-Smtp-Source: ABhQp+Tg6Wz5rePv963V9Dm0Pb4puKPZ1OLxkm6Y+aji35X1DcDp0Rjyg2xGORUWXhFmZa354iug0+bVvDLUmJj1pDQ= X-Received: by 10.28.66.16 with SMTP id p16mr922970wma.11.1507787605560; Wed, 11 Oct 2017 22:53:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.197.196 with HTTP; Wed, 11 Oct 2017 22:53:25 -0700 (PDT) In-Reply-To: <1675.1507786349@segfault.tristatelogic.com> References: <1675.1507786349@segfault.tristatelogic.com> From: Kent Kuriyama Date: Wed, 11 Oct 2017 19:53:25 -1000 Message-ID: Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) To: "Ronald F. Guilmette" Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 05:53:27 -0000 What is happening is that your system clock is so far off that ntpd starts up and then shutdown because the time delta is too great. I just enable ntpdate. In /etc/rc.conf I have the lines: ntpdate_enable="YES" ntpdate_flags="-b" # Causes ntpdate to step the time regardless of delta Reboot the system, this should fix your problem. Kent On Wed, Oct 11, 2017 at 7:32 PM, Ronald F. Guilmette wrote: > > I dunno what went wrong here. During my fresh install of 11.1-RELEASE > I explicity selected that I wanted ntpd to run, and sure enough, in my > /etc/rc.conf file I see the line: > > ntpd_enable="YES" > > but "ps -ax | fgrep ntp" shows nothing running, and the time on this > system is way way WAY off. > > What did I do wrong? > > Is this another case where I have to poke an appropriate hole in my > Linksys E4200 router config, ya know, to make NTP work? > > _______________________________________________ > 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 Oct 12 07:17:56 2017 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 0E9BCE4665F for ; Thu, 12 Oct 2017 07:17:56 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1E8769798 for ; Thu, 12 Oct 2017 07:17:55 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1507792674; x=1510384674; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=YJfBxvV4FPQzz6fUyUxCLnDxj5NSnEB4tEje4JAihXY=; b=S8UHsaHQDPwZ/h1kVpdd3PM1u0t9PK9uYKjcq1So4qcD8d6uoRI82bVuHO4V8pAHh+Uyyldj/RA0zgGsqFKVKDJUwA58CH2iVkVeUxyYMyh/t5312r2QgcaR3ucaH1ZXtdCaBZHuh63zwUrb5ncjjWmuzhpoQ0AXMOqfBpSBCfc= X-Thread-Info: NDI1MC4xMi5lNTAwMDAwMDA1ZGU3Zi5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r5.us-west-2a.aws.in.socketlabs.com (r5.us-west-2a.aws.in.socketlabs.com [52.39.5.146]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 12 Oct 2017 03:17:36 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 12 Oct 2017 03:17:37 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e2XkN-0008l8-71 for freebsd-questions@freebsd.org; Thu, 12 Oct 2017 07:17:35 +0000 Date: Thu, 12 Oct 2017 08:17:35 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Scripting problem Message-Id: <20171012081735.4a3e2f9e19e8c1fb50d0c7c1@sohara.org> In-Reply-To: References: <7AB396F429EEB6890100F082@Pauls-MacBook-Pro.local> <8C8E7D66788801594EC0FC4C@Pauls-MacBook-Pro.local> <20171008100017.30ab5987.freebsd@edvax.de> <88D321A2CCD516AEF39DE8C3@Pauls-MacBook-Pro.local> <1984508980.4145408.1507553196491@mail.yahoo.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 07:17:56 -0000 On Wed, 11 Oct 2017 17:01:55 -0600 (MDT) Warren Block wrote: > Perl is much-maligned, but every time I rewrite a shell script in Perl > it gets shorter and easier to maintain. Or longer and more powerful. > Python and Ruby are similar. The group of people determined to cram as much functionality into as few bytes of source as possible (eg RSA encryption in a .sig block) did Perl's reputation no favours. You can write hideously unreadable executable line noise in Perl, but you can also write wonderfully clear and expressive code that is a joy to work with. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Oct 12 08:27:01 2017 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 5F876E47F2B for ; Thu, 12 Oct 2017 08:27:01 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::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 2A30B6C716 for ; Thu, 12 Oct 2017 08:27:01 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: by mail-io0-x233.google.com with SMTP id i38so4654563iod.2 for ; Thu, 12 Oct 2017 01:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=ip+FoFPE8FhwzXjk19ozRaH0hX2vZtVfP96A/lxlr+Y=; b=QxYEQgiAA7MLzFwyCewfk9H3kK1SS/hASHMPNs6fqh2uwhexImoKVPJuIjl5JhpRKa +ruPFHxdm1aeTU+bIr+BNgXSpfT5gdqkhyUjxCsYN0HBVLwN/sG8ico6CgW53qRbTseL CDeVmry56V1DUT4paaBSE7liedRsb4wpww806GT2ZwV1Kre/AzLIa5BzV6F2jHC8qA4/ l2uf8YIkE+TSo7wWrJ4ipooSmigeeRwz7YJsn13hz6wLU1Hggx3ziP/jxGyxIcdnLIga BHOiKiflUrFajH46DUbKcRSUwpUPNwtdYq0iKq9mZ/IBwDcrNs7BiAQWby3jZu8J72ve j7sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ip+FoFPE8FhwzXjk19ozRaH0hX2vZtVfP96A/lxlr+Y=; b=pxdzOJlQZkbQsabEyqyb/kVoEXZ1d2R0s+OqiAvhGpouJOGP5KuUKWh3OCU5jHeXxZ Wfzk8KRCMjaLrWFvAV72zN05PdiIvKr1c1UZX2LJLoXuDQpQIFwNJrg6MZTqt70WCjvs SE2VT/DNaA1AJUZVXi6gK7j1WJ1LJOBGoXuR4Aq36qBMR/7tJOWq4CmFbEzaM3CCEkYe i4wFv2VAoyZKkLHTwWUqCJBGWw9yOk5hHxCkao3RIO1j7buVhDyWsTKGwdA8ai4xJ145 Pa5Oix1qfXlEeVnJY5uHbjGRteU8TaiGRDV2msDpSpD9JSbbSj57D1ThXrotwZa4UmHh H/kA== X-Gm-Message-State: AMCzsaXaN79Fb/PmUM686QPhUKpMTphcJW2qRB9osWQE003TTkJ9rPyZ qKs3sHT2KE4x6IZxt0y79kiqeKybdhygbrGuM5c= X-Google-Smtp-Source: AOwi7QDVI0/r9oMSq/twjO+onV1DxXn9X2n8Mw/3knfnD06zF/vb+2lYkPw0i+l+YMcw+XkY6utoJ0YVztoxo9/EQjg= X-Received: by 10.107.147.132 with SMTP id v126mr2095616iod.51.1507796819982; Thu, 12 Oct 2017 01:26:59 -0700 (PDT) MIME-Version: 1.0 Sender: fluca1978@gmail.com Received: by 10.79.164.93 with HTTP; Thu, 12 Oct 2017 01:26:19 -0700 (PDT) From: Luca Ferrari Date: Thu, 12 Oct 2017 10:26:19 +0200 X-Google-Sender-Auth: Iqu211Gsy3feQ2ebczu6DRFJQf8 Message-ID: Subject: about KDE 5 To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 08:27:01 -0000 Hi all, I'm wondering to convert my desktop machine to FreeBSD, but I'm quite used to Plasma/KDE 5...so before I nuke my system, anyone has experience or war stories about making it working under 11-release? Thanks, Luca From owner-freebsd-questions@freebsd.org Thu Oct 12 09:02:47 2017 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 99004E48D8A for ; Thu, 12 Oct 2017 09:02:47 +0000 (UTC) (envelope-from ik@sjmulder.nl) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E05E6D9CF for ; Thu, 12 Oct 2017 09:02:46 +0000 (UTC) (envelope-from ik@sjmulder.nl) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 63A8E20BF9 for ; Thu, 12 Oct 2017 05:02:45 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 12 Oct 2017 05:02:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sjmulder.nl; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=/5rRjWEagMBQmAJTMA17yppuMCercpfFfxyZ98a37z0=; b=WgUNm xLpidJ/5IOThbku4Kz5HAkYvcsRGvVPfApqt9iE9UaUWmq3LHfIf7xFPFnpEam6P aTtSWG3C1/WmbMWlR8RHJvQxNUm8MdA8Ls7dD2dOLZepl1fs/9OGI1nChsS8NrJK UwpbLLM3gpmEExfua2Xmah1PqdB7vuCV/OpDkk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=/5rRjWEagMBQmAJTMA17yppuMCerc pfFfxyZ98a37z0=; b=I++2lWS/ABvNTqaqSWa9WIJx9WPVGnGQXZKPOnZFachkL 3nV/5Ws11cSdLzO+s6wSZPFinxCzEkjCDfB+1oeJfP/itQTb4v7nFns4qi+YDIWR kGRvIupJkJPPoUuHpZC6JlRFZsmJxfig0lpjk67kwnBLQmLgoGxSOas+96tNbo+E 7m0qbiPbSROgxmeFE+ZtGycjada4G4PofMpDhqILzR60I5Z2YTXI9ucQ6/9ArBur HA5W0lHjEmznJoTzjLIoLrEpXoY6pmlpWAqTreMAyuK8mt1VPt2qzJ/DZEYrTyKR ErB8O3P7ep+O6zeWcPGZjbD8CGyQQVuQJZmdeoGuQ== X-ME-Sender: Received: from [10.50.6.46] (unknown [87.213.224.178]) by mail.messagingengine.com (Postfix) with ESMTPA id E73E124732 for ; Thu, 12 Oct 2017 05:02:44 -0400 (EDT) To: freebsd-questions@freebsd.org From: "Sijmen J. Mulder" Subject: Should I use mdoc for user programs? Message-ID: Date: Thu, 12 Oct 2017 11:02:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 09:02:47 -0000 Hi, Is it considered bad form to use mdoc, rather than some other man format, for documenting non-system programs? I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD General Commands Manual" which does not seem appropriate. Regards, Sijmen From owner-freebsd-questions@freebsd.org Thu Oct 12 09:17:33 2017 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 24D44E49269 for ; Thu, 12 Oct 2017 09:17:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 925C66E213 for ; Thu, 12 Oct 2017 09:17:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Thu, 12 Oct 2017 11:17:22 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 233853CBF9; Thu, 12 Oct 2017 11:17:21 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9C9HLW0002941; Thu, 12 Oct 2017 11:17:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Oct 2017 11:17:21 +0200 From: Polytropon To: "Sijmen J. Mulder" Cc: freebsd-questions@freebsd.org Subject: Re: Should I use mdoc for user programs? Message-Id: <20171012111721.509a17b5.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-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 72D596A4EF3 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1352 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 09:17:33 -0000 On Thu, 12 Oct 2017 11:02:49 +0200, Sijmen J. Mulder wrote: > Is it considered bad form to use mdoc, rather than some other man > format, for documenting non-system programs? No, many programs from the ports collection provide a manpage in the standard format (for example "man opera" which is far from being a system program). > I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD > General Commands Manual" which does not seem appropriate. If I remember correctly, you can easily redefine them: .Dd .Ot
"" .Os <OS> This will generate the following layout: <name>(<section>) <title of manual page> <name>(<section>) ... your manual page text here ... <OS> <date> <OS> If you simply use .Os, the page title will be derived from the 2nd parameter to .Dt, i. e., the section number. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 12 09:35:11 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 75802E497C8 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 09:35:11 +0000 (UTC) (envelope-from ik@sjmulder.nl) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DB8C6EA2D for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 09:35:10 +0000 (UTC) (envelope-from ik@sjmulder.nl) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0601120C0F; Thu, 12 Oct 2017 05:35:10 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 12 Oct 2017 05:35:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sjmulder.nl; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=pwE6rhn0R3KEPLoNklHK43pgIx UDyc4tyS8RW1umgFg=; b=VogsdqpscevZY2ISi8eqAxNLmogrYOm/VlGEg23OvS +WAbbGGGDJEc1c95G7R+aoLoETYQeqStYqh+b5qSzwu6LRY6IhiVPwGSmSAHnkAS ro31IKlJsY8z5Fnf7FMgBWhT7Y8MmpkGNcm1axq6OndsHuYU1FnKTcJFXhkZOYVr Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=pwE6rh n0R3KEPLoNklHK43pgIxUDyc4tyS8RW1umgFg=; b=BiYzG4/8OEFWHpdm+X1XA/ F6B/Y5wze4z811PVjQS4N9fTD3RW0Zt2dQPnYSg58NqEUkHOyacqvwzC0Q435k7c vQqgGccM3bXeEm/UYoSEhAUzQOdxIfAN7FdvnCRwzkleAt3/N24wNuBoMzQHJhBb 6XvvWtZhYgM+BY4EDpDkGcdwe25M0QUR/FQsZdLkEOVdhXswAtYcMieJ/oD9YUZT um3vIi/uNSsVjYbQ3f1jMtyQsKEa/p0wSTM89HBJLPM3ykASB6/tWmGIrtB5B1DB c14gSUdRhFMyj20xCgm5FBbRh9M/JykEX6qCMN61iulrYnXAq75cLAWUYBN/SphA == X-ME-Sender: <xms:TTffWU1r_Z7dvhW-jqr0ygZsXDCOUSu0Ew60ABRBRTA65AILy0GGyQ> Received: from [10.50.6.46] (unknown [87.213.224.178]) by mail.messagingengine.com (Postfix) with ESMTPA id 79C892479F; Thu, 12 Oct 2017 05:35:09 -0400 (EDT) Subject: Re: Should I use mdoc for user programs? To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <20171012111721.509a17b5.freebsd@edvax.de> From: "Sijmen J. Mulder" <ik@sjmulder.nl> Message-ID: <054bc713-af5d-3193-3e5f-485f83b35b99@sjmulder.nl> Date: Thu, 12 Oct 2017 11:35:13 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171012111721.509a17b5.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 09:35:11 -0000 Op 12-10-2017 om 11:17 schreef Polytropon: > No, many programs from the ports collection provide a manpage in the > standard format (for example "man opera" which is far from being a > system program). That manpage is not using mdoc (different macros) but I see that the output is very similar, including the FreeBSD OS name. I'll just keep it at that, then. Thanks. From owner-freebsd-questions@freebsd.org Thu Oct 12 10:05:53 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 5B2E3E4A39C for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 10:05:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7C926FD72 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:05:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Thu, 12 Oct 2017 12:05:43 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id EAB283CBF9; Thu, 12 Oct 2017 12:05:41 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9CA5fso003270; Thu, 12 Oct 2017 12:05:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Oct 2017 12:05:41 +0200 From: Polytropon <freebsd@edvax.de> To: "Sijmen J. Mulder" <ik@sjmulder.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Should I use mdoc for user programs? Message-Id: <20171012120541.391b2396.freebsd@edvax.de> In-Reply-To: <054bc713-af5d-3193-3e5f-485f83b35b99@sjmulder.nl> References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <20171012111721.509a17b5.freebsd@edvax.de> <054bc713-af5d-3193-3e5f-485f83b35b99@sjmulder.nl> Reply-To: Polytropon <freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 3F529683743 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:1.143 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 10:05:53 -0000 On Thu, 12 Oct 2017 11:35:13 +0200, Sijmen J. Mulder wrote: > Op 12-10-2017 om 11:17 schreef Polytropon: > > No, many programs from the ports collection provide a manpage in the > > standard format (for example "man opera" which is far from being a > > system program). > > That manpage is not using mdoc (different macros) but I see that the > output is very similar, including the FreeBSD OS name. I'll just keep it > at that, then. Well, I just mentioned Opera as an example of a non-system manpage. I've not verified that they're using mdoc. My home system has an older version of Opera, and it does not mention the OS name in the header or footer (just "OPERA(1)"). I usually take the examples at /usr/share/examples/mdoc/ as a template and redefine .Dd, .Ot., and .Os as needed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 12 10:38:22 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 2FD0BE4AF70 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 10:38:22 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org (oyapock.aktivix.org [162.247.75.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F14070C63 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:38:20 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org by oyapock.aktivix.org with esmtpsa; Thu, 12 Oct 2017 11:38:06 +0100 Received: from aland by apple.rat.burntout.org with local (Exim 4.84_2) (envelope-from <k4t@3msg.es>) id 1e2asU-0005Kq-Af; Thu, 12 Oct 2017 11:38:10 +0100 Date: Thu, 12 Oct 2017 11:38:09 +0100 From: Kate Dawson <k4t@3msg.es> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD ZFS file server with SSD HDD Message-ID: <20171012103809.GF24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> <CA+tpaK3Cga3SKmbKnRts_SSp=D4qk9p+aTzNBZeEqDuvQGVd9A@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KJY2Ze80yH5MUxol" Content-Disposition: inline In-Reply-To: <CA+tpaK3Cga3SKmbKnRts_SSp=D4qk9p+aTzNBZeEqDuvQGVd9A@mail.gmail.com> OpenPGP: id=E81A4BBA;url=hkp://pool.sks-keyservers.net User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 10:38:22 -0000 --KJY2Ze80yH5MUxol Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 11, 2017 at 09:41:13AM -0500, Adam Vande More wrote: > On Wed, Oct 11, 2017 at 8:05 AM, Kate Dawson <k4t@3msg.es> wrote: >=20 > > Hi, > > > > If I look at the output of `zpool iostat -v tank 1 ` I see that every > > five seconds or so, the numner of write operation go to > 2k > > > > I think this shows that the I'm hitting the limit that the spinning disk > > can provide in this workload. > > >=20 > I doubt that is the cause. It is more likely you have >=20 > vfs.zfs.txg.timeout This is set to 5=20 I may try decreasing it and seeing how things go for a few hours. >=20 > set to the default. Have you tried any other zfs or nfs tuning? If so, > please share those details. vfs.zfs.l2arc_noprefetch=3D0 zfs get sync tank/exports/xendomu NAME PROPERTY VALUE SOURCE tank/exports/xendomu sync disabled local >=20 > Does gstat reveal anything useful? >=20 Thanks for this tool... on regular occasions drives show high percentage bu= sy dT: 1.001s w: 1.000s filter: eli = = L(q) ops/s r/s kBps ms/r w/s kBps = ms/w %busy Name 5 247 0 0 0.0 247 15160 16.2 69.1| da2.eli = =20 0 304 0 0 0.0 304 16219 14.1 71.6| da3.eli 0 240 0 0 0.0 240 15108 16.3 66.6| da4.eli 2 231 0 0 0.0 231 16695 16.1 65.0| da5.eli 1 227 0 0 0.0 227 16703 16.5 66.7| da9.eli 0 304 0 0 0.0 304 16219 13.8 72.7| da8.eli 0 193 0 0 0.0 193 15872 20.2 65.8| ada0.eli 3 263 0 0 0.0 263 13878 15.7 70.7| ada2.eli 0 193 0 0 0.0 193 15872 20.4 64.6| ada1.eli 3 269 0 0 0.0 269 13914 14.7 69.9| ada3.eli 0 256 0 0 0.0 256 16139 16.4 71.5| ada4.eli 0 258 0 0 0.0 258 16139 16.6 72.5| ada5.eli dT: 1.001s w: 1.000s filter: eli L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name 0 265 6 739 36.8 257 19425 17.5 103.0| da2.eli 0 260 1 108 18.0 258 21643 25.8 87.1| da3.eli 0 268 8 927 29.4 258 19437 20.2 95.0| da4.eli 1 305 14 1754 32.6 289 21379 17.6 101.2| da5.eli 0 300 8 871 34.8 290 21391 20.1 98.4| da9.eli 0 273 15 1786 30.2 257 21635 19.7 94.1| da8.eli 0 292 13 1378 29.5 278 21731 22.9 103.0| ada0.eli 0 285 10 1187 30.2 273 21003 16.5 77.7| ada2.eli 0 290 10 1091 40.0 279 21731 20.6 97.7| ada1.eli 0 269 4 384 33.4 263 21015 19.7 112.2| ada3.eli 0 251 5 619 23.0 245 21343 21.4 89.0| ada4.eli 0 250 7 791 31.7 242 21199 21.7 88.3| ada5.eli Here is some 30s or so of `zpool iostat tank 1 ` root@blue:/tank/exports/xendomu/restore # zpool iostat tank 1 capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- tank 3.39T 2.05T 80 521 7.04M 13.8M tank 3.39T 2.05T 2 0 160K 0 tank 3.39T 2.05T 8 1.74K 461K 45.4M tank 3.39T 2.05T 107 1.04K 11.9M 25.0M tank 3.39T 2.05T 29 0 2.48M 0 tank 3.39T 2.05T 27 0 1.38M 0 tank 3.39T 2.05T 4 0 116K 0 tank 3.39T 2.05T 15 1.52K 1.27M 23.4M tank 3.39T 2.05T 12 0 846K 0 tank 3.39T 2.05T 901 0 108M 0 tank 3.39T 2.05T 14 0 814K 0 tank 3.39T 2.05T 1 1.34K 95.8K 103M tank 3.39T 2.05T 249 1.90K 29.2M 114M tank 3.39T 2.05T 530 0 59.4M 0 tank 3.39T 2.05T 3 0 180K 0 tank 3.39T 2.05T 83 0 7.47M 0 tank 3.39T 2.05T 4 2.80K 355K 106M tank 3.39T 2.05T 5 229 263K 3.09M tank 3.39T 2.05T 2 0 116K 0 tank 3.39T 2.05T 4 0 180K 0 tank 3.39T 2.05T 7 0 439K 0 tank 3.39T 2.05T 5 1.46K 447K 24.0M tank 3.39T 2.05T 1 0 43.9K 0 tank 3.39T 2.05T 106 0 11.7M 0 tank 3.39T 2.05T 15 0 814K 0 tank 3.39T 2.05T 12 0 974K 0 tank 3.39T 2.05T 10 1.74K 675K 29.7M tank 3.39T 2.05T 6 0 236K 0 tank 3.39T 2.05T 37 0 1.67M 0 tank 3.39T 2.05T 7 0 747K 0 tank 3.39T 2.05T 2 0 67.9K 0 tank 3.39T 2.05T 0 2.58K 0 90.9M tank 3.39T 2.05T 19 1.38K 1.49M 20.6M tank 3.39T 2.05T 1 0 140K 0 tank 3.39T 2.05T 0 0 43.9K 0 tank 3.39T 2.05T 3 0 164K 0 tank 3.39T 2.05T 61 3.36K 3.55M 78.4M regards,=20 Kate Dawson --=20 "The introduction of a coordinate system to geometry is an act of violence" --KJY2Ze80yH5MUxol Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJZ30YLAAoJEAGiBQHoGku6sHMP/1cowvRVr4ym7qD3VIhRO9lv BPZFsnZ+9I2t2GfQx9RwIVGo+RcYzjxrMjaAYqh/Pi9/g7ZHCF8a10NVlPOMpa1y f1F5CY5FdS+RAh2HngDtWfunec9fASPm4/sHGF88eey7RildUZKelK/y4+HiWCfp 8suJAiPKCpKJWlYsyen/PXQFPGts7URQ50GTC3jlnUIoa87u0O42nzinfh2JsywH esUBt4hllv9BBZhSZvVga/ZggN0YP52gLC+BU4+88gSazuGTPBuZmFVPMbMjM92R YHV7frdnvrvgD8bdUTSpYUOza69GiOSIjSDqy4WPUT67FiwzAsuPRoD3kJFChFsG SmIAKVByAQYf8k6t1BuwwjZNnjpFMPtclYNX6l1XcYq0nPfe77ejDp8C5l5K9fQX 6INA5fQRRoAMjtvMS+zYBG4pUdVPG6EN/buQlcomKQXtv+YbQ7OLbCY584l/vWew 0Qnn1SxLJmGCUF8eocRZpO8mrWlUmclT3rmA1WgRRzOn/XAKWFZNDTCV/mo1iNfE 4jcmlUTNWsv8jAbkHAgwuyhGYQRNNTfXMDwbQT2DCE9ad+1JxA62ElcXcWPx6XhS 8n1O+ho6pDbzcGbfZmzsX1+h+eKAt2C/NUqf3VbAWZCASyIYqkQSYi5UuG3xP5Py PAWVsFIKbBjhILEIoLmU =/Ky4 -----END PGP SIGNATURE----- --KJY2Ze80yH5MUxol-- From owner-freebsd-questions@freebsd.org Thu Oct 12 10:58:11 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 22CA0E256E9 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 10:58:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DD7C771599 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:58:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 598366445 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:58:07 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) To: freebsd-questions@freebsd.org References: <1675.1507786349@segfault.tristatelogic.com> <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> From: Matthew Seaman <matthew@FreeBSD.org> Message-ID: <1a28e7a4-f3a0-0ad4-bc73-f2af6d366ac4@FreeBSD.org> Date: Thu, 12 Oct 2017 11:58:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 10:58:11 -0000 On 12/10/2017 06:53, Kent Kuriyama wrote: > What is happening is that your system clock is so far off that ntpd starts > up and then shutdown because the time delta is too great. > > I just enable ntpdate. In /etc/rc.conf I have the lines: > > ntpdate_enable="YES" > ntpdate_flags="-b" # Causes ntpdate to step the time regardless of delta > > Reboot the system, this should fix your problem. > > Kent > > On Wed, Oct 11, 2017 at 7:32 PM, Ronald F. Guilmette <rfg@tristatelogic.com> > wrote: > >> >> I dunno what went wrong here. During my fresh install of 11.1-RELEASE >> I explicity selected that I wanted ntpd to run, and sure enough, in my >> /etc/rc.conf file I see the line: >> >> ntpd_enable="YES" >> >> but "ps -ax | fgrep ntp" shows nothing running, and the time on this >> system is way way WAY off. >> >> What did I do wrong? >> >> Is this another case where I have to poke an appropriate hole in my >> Linksys E4200 router config, ya know, to make NTP work? Nowadays, use of ntdate(8) is discouraged. The upstream has been threatening to delete it from the distribution for years. Instead, just give ntpd(8) the flags that allow it to reset the clock by an arbitrary amount on startup. In /etc/rc.conf thats: ntpd_enable="YES" ntpd_sync_on_start="YES" All your Linksys needs for NTP support is to allow UDP to any, port 123. And the response packets, obviously. Cheers, Matthew From owner-freebsd-questions@freebsd.org Thu Oct 12 11:11:31 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 5DD0CE26025 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 11:11:31 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CE897222E for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 11:11:31 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 801936453 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 11:11:29 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( To: freebsd-questions@freebsd.org References: <1468.1507784248@segfault.tristatelogic.com> From: Matthew Seaman <matthew@FreeBSD.org> Message-ID: <098539ec-6a14-00f3-f5e7-bd197d63e499@FreeBSD.org> Date: Thu, 12 Oct 2017 12:11:29 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1468.1507784248@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 11:11:31 -0000 On 12/10/2017 05:57, Ronald F. Guilmette wrote: > > I just installed a fresh 11.1-RELEASE system onto a pristine drive. > (Be patient with me please. I haven't done this in a long while.) > > All seems to be working well, however I noticed the new install option > to enable a local caching resolver, and I said to myself "Yea! Sounds > great to me!" So I enabled that. > > After the install finished and I booted the new system, I immediately > got some console errors indicating that the various default NTP servers > (I also enabled NTP) were not resolving. :-( > > So, um, what gives? This particular machine is, for the moment, NAT'd/DHCP'd > behind my trusty Linksys E4200. Do I need to poke a hole in that so that the > UDP DNS query replies can actually make it all the way back to this box? > Or is there something I need to diddle under /etc/unbound that isn't just > ready to go, out of the box? This is something I've observed too -- it's an ordering or timing problem with the startup scripts -- ie. ntpd(8) gets started before local_unbound is properly ready to answer queries. However, the effect is largely cosmetic. ntpd will complain about resolving server names on startup, but as soon as unbound gets going, ntpd should connect and sync up. I suspect you were being misled by the other problem you posted about where ntpd was dying shortly after startup because the clock was way off -- these error messages are not related to why ntpd is failing. As for local_unbound, if you can resolve hostnames into IP numbers 'host www.freebsd.org' from the command line, then you can be pretty sure that local_unbound is working OK. local_unbound defaults to using any resolvers found in /etc/resolv.conf as forwarders -- so if your local DHCP server says to use a specific resolver, it will -- but you can override that by setting local_unbound_forwarders in /etc/rc.conf to a list of IP numbers for the DNS resolvers you'ld like to use. local_unbound will in fact work perfectly happily without any forwarders, but there isn't a flag to force that behaviour. Cheers, Matthew From owner-freebsd-questions@freebsd.org Thu Oct 12 12:18:44 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 4A0F9E27F95 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 12:18:44 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.home.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 C705B748C8; Thu, 12 Oct 2017 12:18:42 +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 v9CC8muW046125; Thu, 12 Oct 2017 13:08:48 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) To: Matthew Seaman <matthew@FreeBSD.org>, freebsd-questions@freebsd.org References: <1675.1507786349@segfault.tristatelogic.com> <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> <1a28e7a4-f3a0-0ad4-bc73-f2af6d366ac4@FreeBSD.org> From: Arthur Chance <freebsd@qeng-ho.org> Message-ID: <add10e8c-7a2b-a30d-7c51-c644e11fe77c@qeng-ho.org> Date: Thu, 12 Oct 2017 13:08:48 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1a28e7a4-f3a0-0ad4-bc73-f2af6d366ac4@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 12:18:44 -0000 On 12/10/2017 11:58, Matthew Seaman wrote: > On 12/10/2017 06:53, Kent Kuriyama wrote: >> What is happening is that your system clock is so far off that ntpd starts >> up and then shutdown because the time delta is too great. >> >> I just enable ntpdate. In /etc/rc.conf I have the lines: >> >> ntpdate_enable="YES" >> ntpdate_flags="-b" # Causes ntpdate to step the time regardless of delta >> >> Reboot the system, this should fix your problem. >> >> Kent >> >> On Wed, Oct 11, 2017 at 7:32 PM, Ronald F. Guilmette <rfg@tristatelogic.com> >> wrote: >> >>> >>> I dunno what went wrong here. During my fresh install of 11.1-RELEASE >>> I explicity selected that I wanted ntpd to run, and sure enough, in my >>> /etc/rc.conf file I see the line: >>> >>> ntpd_enable="YES" >>> >>> but "ps -ax | fgrep ntp" shows nothing running, and the time on this >>> system is way way WAY off. >>> >>> What did I do wrong? >>> >>> Is this another case where I have to poke an appropriate hole in my >>> Linksys E4200 router config, ya know, to make NTP work? > > Nowadays, use of ntdate(8) is discouraged. The upstream has been > threatening to delete it from the distribution for years. Hasn't this been the case for about a decade now, and yet it still works? > Instead, just give ntpd(8) the flags that allow it to reset the clock by > an arbitrary amount on startup. In /etc/rc.conf thats: > > ntpd_enable="YES" > ntpd_sync_on_start="YES" >From memory (so not necessarily accurate), ntpd -g can do a large adjustment some time after the ntpd rc script has returned. If you use dovecot for IMAP it didn't use to like negative time steps and would simply die when that happened. I believe it's not quite as draconian these days, but I prefer it if the system clock is set accurately before the rc script returns, rather than some random time later. Using ntpdate first means the clock will only be slewed, not stepped. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy). From owner-freebsd-questions@freebsd.org Thu Oct 12 12:45:16 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 072B6E28AFD for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 12:45:16 +0000 (UTC) (envelope-from g8kbvdave@googlemail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::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 8CD76758BB for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 12:45:15 +0000 (UTC) (envelope-from g8kbvdave@googlemail.com) Received: by mail-wm0-x236.google.com with SMTP id u138so12828423wmu.5 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 05:45:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=b5KKzxy+laRnYdmfVohx/bGNIMlZD/PV28z7JisHTDg=; b=L4Z3LfJ1yTmvvYuKrxKREshl3X0GylKjkJA23CM/fm2OWbAppvQ122ToDSrGsVN9YF mtVOVYc0RmbQ9V5Rk0JsQ2YUeNYPkz1UmUvNYuLv6BdQzUT+k+CEgVXjpW7VeX7ntkoX 4+7HUXGUI7LSMXKG9duFbuwCFrIorvM3gHjoHG+6T/cZcvYgoSHc4ef6NPIGSqKSoaIV 7pBB6UcTTL2DrZGdWWAc9T/rQK9b3xkCBognlbAtsSktLcOb7zIETh/5916kp6k6ywqY FUW/g9dYXVmvjyk+UZF1sL4wg75/wGuVQUOdvXi359WQc4f+MKryqiXQubz3vVv/pjmh 0DTQ== X-Gm-Message-State: AMCzsaUdXVfy9nh/6lYzJD6SXKO/KdIeun9AgcyUit48OjIwVuHf4vkm WGMHv3zp4WrPaJQ6owXvy0LsxM4a X-Google-Smtp-Source: AOwi7QCODndHkTPsoZXHM+NqwMwkWxGhD9j5e/duEJ5g8TmNxjDLI0Hg26MUeVk0gRJvKlb9o/nT8A== X-Received: by 10.223.163.208 with SMTP id m16mr2406019wrb.63.1507812313423; Thu, 12 Oct 2017 05:45:13 -0700 (PDT) Received: from [192.168.2.52] ([217.41.35.220]) by smtp.gmail.com with ESMTPSA id r44sm23455401wrb.37.2017.10.12.05.45.11 for <freebsd-questions@freebsd.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Oct 2017 05:45:12 -0700 (PDT) Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) To: freebsd-questions@freebsd.org References: <mailman.116.1507809602.41581.freebsd-questions@freebsd.org> From: Dave B <g8kbvdave@googlemail.com> Message-ID: <bddc1b51-8dc1-6591-0008-5e4b5e1f3048@googlemail.com> Date: Thu, 12 Oct 2017 13:45:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <mailman.116.1507809602.41581.freebsd-questions@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Content-Language: en-GB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 12:45:16 -0000 On 12/10/17 13:00, freebsd-questions-request@freebsd.org wrote: > All your Linksys needs for NTP support is to allow UDP to any, port 123. > And the response packets, obviously. > > Cheers, > > Matthew Usually, that will be the normal default NAT router behaviour, incoming packets from a requested site (as signified by previous outgoing packets to the same site) will pass back into the LAN unmolested and be directed to the requesting local IP address. Unless you or someone else has intentionally blocked NTP traffic at your border. (I've yet to find even an ISP supplied box that has NTP blocked, as a "user".) About the only time (pun unintended) you need to poke a hole in a border/gateway/firewall, is if you want to run a publicly accessible NTP (or any other) server. Then, you do need to poke a hole (usually port 123 for NTP) so the great unwashed web can reach into your shiny new machine. In such cases, it's also wise to keep all the NTPD baggage up to date. I'm not aware of any current issues, but in the not too distant past "there have been some issues that were exploited for DDoS atacks!" (I don't know. Is it possible to jail a NTP server?) PS: I take it you know about the NTP pool project? Not suggesting you join it (unless you wish to) but as an external resource for a LAN based machine to sync to, it is a superbly reliable resource. Virtually guaranteed to be a better source of time than your ISP's servers (that here in the UK seem to reside on already very busy border/gateway machines.) PPS: If you have an unreliable or a throttled internet service. There is the option of using a GPS receiver that also has a PPS signal output, so your local NTP server stays accurate, even if it can't reach out to other NTP servers.. For example... http://www.satsignal.eu/ntp/FreeBSD-GPS-PPS.htm (Old in respect to FreeBSD, but the principles are sound.) But we're getting well into "Time Nuts" territory in that case. It was the need for an accurate and more importantly "stable" local time source (that didn't drift +- some seconds during the day, due to my own ISP "messing things about") that I learnt about FreeBSD in the first place. Regards to All. Dave B. From owner-freebsd-questions@freebsd.org Thu Oct 12 13:04:09 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 F23D9E290DA for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 13:04:08 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 9C9E5763E5 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 13:04:08 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id v27so2971163uav.7 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 06:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ahQR1vRYGoFf032YiX9Ppil1BgImzzYF+DpYpLXNR3Q=; b=deYyBqb6qPsKoQgW1X5wtJLdLvLf1Z7CoQQcVXaqKUjU16pcnVkvqilXbvP51a9vWW dWmjKRnzYzJDmCnVZXd9oTMdFPLemMDVuscb8IAZQrqn65H+tg099cUAjfWxjc4W+2fz uH2NAccJcjgjAV2fPGqnis8wOM4g/5N0TlGMvVK9IGg9yDtCsV5yCc6v7DyvcUl9dqwn FHv20gQtldLWrbAHlyYIRJA9vEjeXMs22B3mqfNnH4m0XwQcdrcr6+JdEV5VAZONGRQC Aebr9j22aQCirpgkDUS4ZGxR8rZs6/v4QTW3kvSrJb1vP3ls8kJFDJJgklZ3G+cAWWlZ Fjtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ahQR1vRYGoFf032YiX9Ppil1BgImzzYF+DpYpLXNR3Q=; b=O510b04mFCbV6vN39gAIlhc6B6mL+t8RqejXV1T2x3NrgsEKahs+rg6F57hBLnT0AB T8SFFQa4JYS3dOYQTZW2IDyj699GYbNC5XjCqT67vbH7+tPfLhKVohonjDRgU4LQIOa2 WjW837mEWJ8IC+VblPetn63VOuUTZ2Z1Un1nNmS4f77aHlKf4fuSR6JFGhZ2KVJAgFk2 vwgbREc4NxZ+a/GP/suJKnRqBrsksueMHFFmDhVos42BZzIsfRwWyRXj64h+lmc+TVTJ rJEXgF5322IBkO86pMm0dyu07aincKmdjcHbuCkj/QWAnupxEDMoQKELZFofqOpmR+Qa p15A== X-Gm-Message-State: AMCzsaX29vGAFKNr2TYuALsigJK8mJ4Gag45RTSzN0q/SZg1GVlFGvAf coCPwDkzXTQghBw8d736Xqqvb8ndU7LsgHlbrtQ= X-Google-Smtp-Source: AOwi7QDOrgoy00Mpk6Tq8eib+9H0yIxDd/eFQh+xO+TTSp5qy5yi1Tkk2LUiWpsitXlUkF61UcLcSuT1yub03gIrGjw= X-Received: by 10.176.25.69 with SMTP id u5mr194651uag.0.1507813447291; Thu, 12 Oct 2017 06:04:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Thu, 12 Oct 2017 06:04:06 -0700 (PDT) In-Reply-To: <CAKoxK+4Th3mAGAjwbm8VetnLqPEDs4TMrL6fYEDwEQJ0GESP6Q@mail.gmail.com> References: <CAKoxK+4Th3mAGAjwbm8VetnLqPEDs4TMrL6fYEDwEQJ0GESP6Q@mail.gmail.com> From: Antonio Olivares <olivares14031@gmail.com> Date: Thu, 12 Oct 2017 08:04:06 -0500 Message-ID: <CAJ5UdcO7fPJkKJ-ZXeNtn5tf-s_ko1QXRm3zSL=22FHV=4x=tg@mail.gmail.com> Subject: Re: about KDE 5 To: Luca Ferrari <fluca1978@infinito.it> Cc: freebsd-questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 13:04:09 -0000 On Thu, Oct 12, 2017 at 3:26 AM, Luca Ferrari <fluca1978@infinito.it> wrote: > Hi all, > I'm wondering to convert my desktop machine to FreeBSD, but I'm quite > used to Plasma/KDE 5...so before I nuke my system, anyone has > experience or war stories about making it working under 11-release? > > Thanks, > Luca > _______________________________________________ > 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" I have not run kde since old kde 3 on freebsd, but I saw a bsdnow where using area51 you can get kde + plasma and all the goodies: http://www.jupiterbroadcasting.com/117311/to-hier-is-unix-bsd-now-206/ I hope it provides a good howto so you can get the latest kde on FreeBSD :) Best Regards, Antonio From owner-freebsd-questions@freebsd.org Thu Oct 12 13:15:56 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 2C067E2942C for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 13:15:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 D8B9B769C7; Thu, 12 Oct 2017 13:15:55 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x236.google.com with SMTP id j140so6806788itj.1; Thu, 12 Oct 2017 06:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=x1FMdAgxp+I19/D/WZbF8CH7WnSGhpuZTsltMxrerbA=; b=OHxkz7Reoq6cwzqoz7IqUXa9xLm9hA9T4D3DgDjoCZFqaXByDoGfa5Vj867SFsIJ1F AI99Jq4K0BiqG266oDbZkQ81RzZxvD0JXUReSwjoJ2wQqw2t2wUofcu2l+ulpB3jG/+E wf6MO1tzLlm3710GuLIVPAKkTxeFuZkO7JMEO6K8SWtA3/vglDynPeHydHo9YqZQB98F MRkIu/v1FR7I0N+k2JiFmMmsgCxEzwyuXLERgy4TmLyMzGaV+zIYQtUYWXhPDjY8oynu 3rsJ6Hhxfs8WumGctTIvN40T55SEI5d5G3Nk9As2ds0l/CEtBFShKobxkwzW7IXMPAOT 7YOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=x1FMdAgxp+I19/D/WZbF8CH7WnSGhpuZTsltMxrerbA=; b=HSaebFEbXLe5ksHEPNDX7Vw8+98JFjBZjwCf9OSQHuMAn+tbyQELbYXw08yvU86Xlr h3Sqs1YgHh9Zh7R4o2oskWmcB0UZrPrqBoh64seTHrFDjVNzyI1JIx3o06J/zZ9mUYPF Xklm9PWgiD7aVWZOHOcX+KDLDd2RpUPjS6HvDBCk+eb3eM7MuOhKeiwz2l5RGCSWxw6S swvRu1NKXP1jywwKMUklgM1BlQ3/adNCLtI27NXmOCdtVJ8XIpfXxnSK06htS2mW+4NP Pf+oZY5g7YH/fSAwEB12eHIhdZB/BYHmyXK1m+VJJ9r2ojiofObVYeBf7ANo6AQyw/cg iL7w== X-Gm-Message-State: AMCzsaXievN7f7AjfY8CC3ZU46P/UoaTCEe8nwbbf0g5RWuVb6FTHrRu Z4uU0U6W7mrCj8S+o12eu90Ltw== X-Google-Smtp-Source: AOwi7QAQX3hcKm6H5alHM7byVjeCPWjtotJ0H8tGS88YCvaHS4X4qC+RYOVlP+6LAYoeZfd3mcG7Fw== X-Received: by 10.36.79.22 with SMTP id c22mr3298668itb.102.1507814155057; Thu, 12 Oct 2017 06:15:55 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-4.neo.res.rr.com. [65.25.55.4]) by smtp.googlemail.com with ESMTPSA id e89sm102088itd.3.2017.10.12.06.15.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Oct 2017 06:15:54 -0700 (PDT) Message-ID: <59DF6B07.4030102@gmail.com> Date: Thu, 12 Oct 2017 09:15:51 -0400 From: Ernie Luzar <luzar722@gmail.com> User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Matthew Seaman <matthew@FreeBSD.org> CC: freebsd-questions@freebsd.org Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( References: <1468.1507784248@segfault.tristatelogic.com> <098539ec-6a14-00f3-f5e7-bd197d63e499@FreeBSD.org> In-Reply-To: <098539ec-6a14-00f3-f5e7-bd197d63e499@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 13:15:56 -0000 Matthew Seaman wrote: > On 12/10/2017 05:57, Ronald F. Guilmette wrote: >> I just installed a fresh 11.1-RELEASE system onto a pristine drive. >> (Be patient with me please. I haven't done this in a long while.) >> >> All seems to be working well, however I noticed the new install option >> to enable a local caching resolver, and I said to myself "Yea! Sounds >> great to me!" So I enabled that. >> >> After the install finished and I booted the new system, I immediately >> got some console errors indicating that the various default NTP servers >> (I also enabled NTP) were not resolving. :-( >> >> So, um, what gives? This particular machine is, for the moment, NAT'd/DHCP'd >> behind my trusty Linksys E4200. Do I need to poke a hole in that so that the >> UDP DNS query replies can actually make it all the way back to this box? >> Or is there something I need to diddle under /etc/unbound that isn't just >> ready to go, out of the box? > > This is something I've observed too -- it's an ordering or timing > problem with the startup scripts -- ie. ntpd(8) gets started before > local_unbound is properly ready to answer queries. > > However, the effect is largely cosmetic. ntpd will complain about > resolving server names on startup, but as soon as unbound gets going, > ntpd should connect and sync up. > > I suspect you were being misled by the other problem you posted about > where ntpd was dying shortly after startup because the clock was way off > -- these error messages are not related to why ntpd is failing. > > As for local_unbound, if you can resolve hostnames into IP numbers 'host > www.freebsd.org' from the command line, then you can be pretty sure > that local_unbound is working OK. local_unbound defaults to using any > resolvers found in /etc/resolv.conf as forwarders -- so if your local > DHCP server says to use a specific resolver, it will -- but you can > override that by setting local_unbound_forwarders in /etc/rc.conf to a > list of IP numbers for the DNS resolvers you'ld like to use. > local_unbound will in fact work perfectly happily without any > forwarders, but there isn't a flag to force that behavior. > > Cheers, > > Matthew unbound has a built-in "root-zone" function which negates the need for a forward-zone: section at all. Is there a rc.conf parameter to enable that function for local_unbound? From owner-freebsd-questions@freebsd.org Thu Oct 12 13:23:49 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 29095E297F5 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 13:23:49 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B25276FC7 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 13:23:47 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from procyon.local ([5.138.255.62]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MAyZg-1eAIsK3hZM-00A1Hd; Thu, 12 Oct 2017 15:18:29 +0200 Subject: Re: Should I use mdoc for user programs? To: "Sijmen J. Mulder" <ik@sjmulder.nl>, freebsd-questions@freebsd.org References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> From: Yuri Pankov <yuripv@gmx.com> Message-ID: <ad6d583f-db2e-a149-105d-b7c3b8894959@gmx.com> Date: Thu, 12 Oct 2017 16:18:28 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KZwZzjmpuQTrQkOq7HnJ9U20TAt0eDP7xQX3HS0SXEfjdVIFP/v JstgjBqG8kXRz7zJbnUm2JgSEso1KOBXRXiTKw40VvyBZ061QhUfETJIPZ5RNIokRjwCbvX ZN5+IlCwKG4BFZR+jnlhjISJLt2h4DDVYfAMRSh3YHFvEMwFXIg21ts5waVn5YHIMBH6rXH X3XOaS3gIkB77lKK648JQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:D0/WwZCvXW0=:OWCt04wVPgYfuz87GKyChC JBlGJoA3i3w9rKRWX3iT36T5rDSDwa1I73T8HdJ19ZDj6EEO7KN4aWwj7c9gycrJC9Fmg/1qq qbDUTpw36hXQPXfEBUKUkL3reu/NcmjM7pxv3dfW9swdXigxSgzO0q/aWKNBqZA3gTA1Sqqcv GtxYitsnniQltITdJs9Js3HCFTVd5xhwTvuvRiXRPrf3zeTocH3qld7mC5NDYR2FZSy125Zmp d2QBG08CwSks9R+J9MLw3Yt8o8cv2iSpTxc3rL73CEvg2jWn7/jrLTwPntkdeJqBwAPgFaOrc JK9wQdPqIFEKn0l166t5EbDc+coFtloKvOkfH895ZXJeM3TwEI6Mw0U4C5AC/rRu97eY/Lrn9 VtEsF8gtYI3yTpAjiqwo4Fy453Y+0Pw6xBd3C2eAV/YdrpOT7yS27wfOKFnRWOXfw81zWJYxJ Ke9pynX7NaeclpQeEU78m2J63cfAOQVSvA9BNUipG2rTRC05tP5qbhBln1RC5PJJaxl1qD7n6 D4tOiKIyijryFcHPXpkgy7QWp4yxnBgQyI8CrtJJuTk3bERWlaq8pgs1oImGkBKehSESReUgW UDAXJFx5fzJZvhQHIiLEGRfSxYhF6ohLuzn71CgziEEfqdTkYx2K+fQk6iiWso2AEgLgfTax0 B0GkoIiUf9384tPLQATH6L5ylM8Ot+i0AOakcY4v6XXqjaWr0UArmhPhPgmvyrUqzxoo/XRau +dKYtRcWJkLhrryRDvwJox0ZtLUrk4nLMIn141y3tCTutRF1b6RKxH5/g54YU77sXDaOLoRPt ke6drxbCOINLQvwe8EYtUZo/Zr17a99y1S3pZj2x28xcUhGpX8= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 13:23:49 -0000 On Thu, 12 Oct 2017 11:02:49 +0200, Sijmen J. Mulder wrote: > Hi, Yes, you should. > Is it considered bad form to use mdoc, rather than some other man > format, for documenting non-system programs? No. > I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD > General Commands Manual" which does not seem appropriate. It's not about the .Os macro, rather it's man-section-to-name mapping done by the formatter used, i.e. when using mandoc(1), on FreeBSD section 1 man pages would say "FreeBSD General Commands Manual", on illumos exactly the *same* man page would say just "User Commands" (for mandoc this can be customized editing one of the source files currently). .Os macro defines the OS name shown in the footer, and (yet again) for mandoc default value can be set while compiling. From owner-freebsd-questions@freebsd.org Thu Oct 12 13:32:55 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 D200BE29CE8 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 13:32:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::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 990F777504 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 13:32:55 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id j140so6866600itj.1 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 06:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WVkJYkXMWWMuvSiQKPaHoslqsZxL7GMF8JQtvlrYCg8=; b=ueXBYhdYcARqs+RLEvy7XEd78YVPp+BJjo6D6sjJMJOMC9PYRCM9u8ZyCE4X/6PWig 6oRtkkJNbvQgH3tKq/y/WxexVoMpv07bT9nR9wSNBJq7jgfqGj3bc4qjGs951pNwSxf3 GCihw3p1HMpEY3/jdq6IPl0orqrq8ivILlPMaBCN09dIIYScwPWhhzbYXQG9KiID6rIP eFSe1d9hFb4igk5QIhpewWdfZeULY6aN5hj+Nyxi4H714nu69QPCnQ7kzut6dqzK4NCq rtqDiGzugTJFwKYsE905beURaJZPZ59wlUEosf+flRSddTGnpLunKQa4aYIaq9F5sFgz YVjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WVkJYkXMWWMuvSiQKPaHoslqsZxL7GMF8JQtvlrYCg8=; b=h5fYZJzJhNKI/jam1NDoGxDxioIcj2til6kthAZ4gAvvbyXcC5tjCU+XTm5AItybQZ J8KaEYTcwlK0s2UsWyrBR3X/1IJXEC9A6NfABXxFUlLhp6Nz1OM/R8qMU31ahW7/7I0o LxMY5/c6zmZxDD78tiom4fBOwEJDsEd6PDVWzJYeAFbgPhf6G/IpS1x3ZTh2FqGur+ob Mwqnb+Y2nLyX0LGojrTQEzdglsHF5mnjjMUix5rNq3HGSPEgXbNUy2h/g9eVKFk1YKVW R7inRSX1Y+KEddljf9wkCACRv/ffp3yoPZCYHhWLy9QL5JmrqBqBhRihVni8dwFPfVpw KVzw== X-Gm-Message-State: AMCzsaVvLIu26pZz8sVSrnGFYaEyxGVOjUK8TvhLPgFBisYWvSvUbSzc rO3aY2eWp0CnbPbP2h1k506V+Iymzi6P1uAn+EemVg== X-Google-Smtp-Source: AOwi7QDIh58ErE800kRkQx/bnGtbWN6Iei9C8/NsV0/kDCodRvfaHSaBF7PCFwg5cb3mkBcLSf5GzYAUZVm3gSSe9SM= X-Received: by 10.36.252.68 with SMTP id b65mr1053573ith.151.1507815174848; Thu, 12 Oct 2017 06:32:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.176.201 with HTTP; Thu, 12 Oct 2017 06:32:54 -0700 (PDT) In-Reply-To: <20171012103809.GF24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> <CA+tpaK3Cga3SKmbKnRts_SSp=D4qk9p+aTzNBZeEqDuvQGVd9A@mail.gmail.com> <20171012103809.GF24374@apple.rat.burntout.org> From: Adam Vande More <amvandemore@gmail.com> Date: Thu, 12 Oct 2017 08:32:54 -0500 Message-ID: <CA+tpaK19v2H0MPOkEKQ7sgJ9hvf4XNgikhhiXVeON3ifK9hwQw@mail.gmail.com> Subject: Re: FreeBSD ZFS file server with SSD HDD To: Kate Dawson <k4t@3msg.es> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 13:32:55 -0000 On Thu, Oct 12, 2017 at 5:38 AM, Kate Dawson <k4t@3msg.es> wrote: > > > > > set to the default. Have you tried any other zfs or nfs tuning? If so, > > please share those details. > > > vfs.zfs.l2arc_noprefetch=0 > > zfs get sync tank/exports/xendomu > NAME PROPERTY VALUE SOURCE > tank/exports/xendomu sync disabled local > > > > > > Does gstat reveal anything useful? > > > > Thanks for this tool... on regular occasions drives show high percentage > busy > The output from arc_summary.pl may be useful to understand ZFS's performance as well. -- Adam From owner-freebsd-questions@freebsd.org Thu Oct 12 14:34:48 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 DD153E2B0B5 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 14:34:48 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8196A7D66B for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 14:34:48 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9CEYl4g088533 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:34:47 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9CEYbWh031933; Thu, 12 Oct 2017 10:34:38 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: FreeBSD ZFS file server with SSD HDD To: Kate Dawson <k4t@3msg.es>, freebsd-questions@freebsd.org References: <20171011130512.GE24374@apple.rat.burntout.org> <CA+tpaK3Cga3SKmbKnRts_SSp=D4qk9p+aTzNBZeEqDuvQGVd9A@mail.gmail.com> <20171012103809.GF24374@apple.rat.burntout.org> From: Mike Tancsa <mike@sentex.net> Organization: Sentex Communications Message-ID: <6ac05886-7dfd-b7f8-3183-398479647b69@sentex.net> Date: Thu, 12 Oct 2017 10:34:37 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171012103809.GF24374@apple.rat.burntout.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 14:34:49 -0000 On 10/12/2017 6:38 AM, Kate Dawson wrote: > > > > dT: 1.001s w: 1.000s filter: eli > L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name > 0 265 6 739 36.8 257 19425 17.5 103.0| da2.eli > 0 260 1 108 18.0 258 21643 25.8 87.1| da3.eli > 0 268 8 927 29.4 258 19437 20.2 95.0| da4.eli > 1 305 14 1754 32.6 289 21379 17.6 101.2| da5.eli > 0 300 8 871 34.8 290 21391 20.1 98.4| da9.eli > 0 273 15 1786 30.2 257 21635 19.7 94.1| da8.eli > 0 292 13 1378 29.5 278 21731 22.9 103.0| ada0.eli > 0 285 10 1187 30.2 273 21003 16.5 77.7| ada2.eli > 0 290 10 1091 40.0 279 21731 20.6 97.7| ada1.eli > 0 269 4 384 33.4 263 21015 19.7 112.2| ada3.eli > 0 251 5 619 23.0 245 21343 21.4 89.0| ada4.eli > 0 250 7 791 31.7 242 21199 21.7 88.3| ada5.eli There is some blocking, but the throughput is not that high (kBps). Not sure if all the crypto (geli) has some impact on that. Are you using cryptodev and aesni.ko ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Thu Oct 12 15:32:56 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 01389E2CEC3 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 15:32:56 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 BE8A980F25 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 15:32:55 +0000 (UTC) (envelope-from freebsd@erwanlegrand.com) X-Originating-IP: 209.85.192.180 Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) (Authenticated sender: moi@erwan.legrand.name) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 3132141C09B for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 17:32:53 +0200 (CEST) Received: by mail-pf0-f180.google.com with SMTP id t188so2823743pfd.10 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 08:32:52 -0700 (PDT) X-Gm-Message-State: AMCzsaVg9QSA3aR8LI+8LZ30qpnFAddyKAWBKFnYkdH2C711sqMkQ2AC 9Ko5r/oO9DnYAOz7VgFPk2OCm1eusYrrnLVIDsM= X-Google-Smtp-Source: AOwi7QA5qfbPjXfVtW86i3CkBtU4np76VHVw1EdezyJC5Ht6cWduhyLpMpMgzBxNb8UUbakBlba3LAKRSf6gwO5lphQ= X-Received: by 10.159.198.140 with SMTP id g12mr558279plo.34.1507822371396; Thu, 12 Oct 2017 08:32:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.155.10 with HTTP; Thu, 12 Oct 2017 08:32:50 -0700 (PDT) In-Reply-To: <1468.1507784248@segfault.tristatelogic.com> References: <1468.1507784248@segfault.tristatelogic.com> From: Erwan Legrand <freebsd@erwanlegrand.com> Date: Thu, 12 Oct 2017 17:32:50 +0200 X-Gmail-Original-Message-ID: <CA+4G5KY727cJ=Lp-hU77DH03d+Kw9iHD9cpBUqT24h7jWDPYLw@mail.gmail.com> Message-ID: <CA+4G5KY727cJ=Lp-hU77DH03d+Kw9iHD9cpBUqT24h7jWDPYLw@mail.gmail.com> Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( To: "Ronald F. Guilmette" <rfg@tristatelogic.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 15:32:56 -0000 On Thu, Oct 12, 2017 at 6:57 AM, Ronald F. Guilmette <rfg@tristatelogic.com> wrote: > After the install finished and I booted the new system, I immediately > got some console errors indicating that the various default NTP servers > (I also enabled NTP) were not resolving. :-( This could happen if you forward queries to servers which strip DNSSEC signatures. If that is the case, you have two options: either you stop forwarding to these servers or your disable the DNSSEC support in Unbound. From owner-freebsd-questions@freebsd.org Thu Oct 12 16:21:00 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 B2EF4E2E325 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 16:21:00 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4DC82E9B for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 16:20:59 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 213D63AF83; Thu, 12 Oct 2017 09:20:58 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: Kent Kuriyama <kent.kuriyama@gmail.com> cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) In-Reply-To: <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> Date: Thu, 12 Oct 2017 09:20:57 -0700 Message-ID: <3967.1507825257@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 16:21:00 -0000 In message <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> Kent Kuriyama <kent.kuriyama@gmail.com> wrote: >What is happening is that your system clock is so far off that ntpd starts >up and then shutdown because the time delta is too great. > >I just enable ntpdate. In /etc/rc.conf I have the lines: > >ntpdate_enable="YES" >ntpdate_flags="-b" # Causes ntpdate to step the time regardless of delta > >Reboot the system, this should fix your problem. Ah, yep. That certainly cleared up the problem. Thanks. P.S. One cannot help but wonder why ntpdate isn't enabled by default, since it is clearly so useful. Should I file a formal PR to make this suggestion? From owner-freebsd-questions@freebsd.org Thu Oct 12 16:51:58 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 9FE3FE2EB34 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 16:51:58 +0000 (UTC) (envelope-from kent.kuriyama@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 32A0983B11 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 16:51:58 +0000 (UTC) (envelope-from kent.kuriyama@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id b189so14772598wmd.4 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 09:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PJtfFEuX8IY0OBXJIwtJN1QNGtDpee80DX7ZJCqsSPY=; b=d0LMgabEb7azmR1Qn5RM5+NBBr4wwJn9dPsES866J1y8BimGQVaCH0YJAXcIBIZfnP iAN+r1z7G70KnAZXt3r1E3FBNU3lppk9uKgIwiZ6Hh4KW/JblOAVDV6NXM8b5bYordJL q9nHnWWQuMqHVXn7dzmm2gtJElSOcrBTs1RhLk//3kqnlJG+Vs73Pv/l4QmPxxuspx/o 7MPnuOdTRuSKRfuqa+wvp7G0JBhnnpAT7BnoXgcX8daMdmLYiOkm9V8VB5ExZ98HJs0Y 8UIQ1XVybl377qLTi1ped6BKa/qfTV6x5DwBCEMaNc8YJVLU07HfxeUZ151Hs9Zs0wIB gdsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PJtfFEuX8IY0OBXJIwtJN1QNGtDpee80DX7ZJCqsSPY=; b=Wx77obIW1Kkg2t5X8rbHgSEt9IDRfX8NoUyNL8Pl+DeZ6mXOhpqPMd42hesUOLmG/f Fxmd3MeZzyPVpvYtQtDfbw7ToF5ymIGBeivM1x2SCSg/npGWe6aMiktlRiHezQJbWupA 5p19oe2yTsqE46YR/LMitshdaVetezkCJoqUgTigZCgD9AExhOSqCsSm+b61bUJCjlaN KA71raznqnzne1Ft71lqEpqJ9VSeG0BGuchXgExkEJyNOaTQixKXIYqIwbn9bD/8bzRw AD1p81Fv5OMs01oUZRLsqrxpRqDGg23K1S4y2ztEH2bi8Onu6xqiYr92pToTKggYwRsF AvLA== X-Gm-Message-State: AMCzsaX7xOQae7rlpEre1aZ0bABxe2VqnkJU3j0Tgs6Xt+toBg6zxrEo I9SDsUIkh1wvN18rgFk7k2WFnjRYizQQt2DVR1A= X-Google-Smtp-Source: AOwi7QDSvLSKRCYHfkvSZASRJdqYx7RlYM21cPJoaFUti82I4sASwWZXxBMIdqOVx0tahVEQSKDk28ftAB1x3O8Wz68= X-Received: by 10.223.135.90 with SMTP id 26mr2474078wrz.114.1507827116219; Thu, 12 Oct 2017 09:51:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.197.196 with HTTP; Thu, 12 Oct 2017 09:51:55 -0700 (PDT) In-Reply-To: <3967.1507825257@segfault.tristatelogic.com> References: <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> <3967.1507825257@segfault.tristatelogic.com> From: Kent Kuriyama <kent.kuriyama@gmail.com> Date: Thu, 12 Oct 2017 06:51:55 -1000 Message-ID: <CACArijD0LgS731K7Xdh+OcQ1Cicx0k9yzBKiVniW74b2WosmUA@mail.gmail.com> Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) To: "Ronald F. Guilmette" <rfg@tristatelogic.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 16:51:58 -0000 The danger of enabling ntpdate (or configuring ntpd to accept large time deltas) is that you are putting a great deal of trust in the ntp time source. If the time source is off, in-correct time will be propagated to your entire network. This actually happened to a large Windows enterprise. The GPS linked ntp server freaked out and advanced 17 years into the future. Because the Windows domain controllers were configured to blindly accept the ntp server time, everyone's clock was advanced 17 years. This caused all kinds of problems since certificates were now considered expired. Enabling ntpdate must be done knowing what the possible consequences are. In my case I don't run a large enterprise ;-). On Thu, Oct 12, 2017 at 6:20 AM, Ronald F. Guilmette <rfg@tristatelogic.com> wrote: > > In message <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+ > gmcRD_KO6gzAA@mail.gmail.com> > Kent Kuriyama <kent.kuriyama@gmail.com> wrote: > > >What is happening is that your system clock is so far off that ntpd starts > >up and then shutdown because the time delta is too great. > > > >I just enable ntpdate. In /etc/rc.conf I have the lines: > > > >ntpdate_enable="YES" > >ntpdate_flags="-b" # Causes ntpdate to step the time regardless of > delta > > > >Reboot the system, this should fix your problem. > > > Ah, yep. That certainly cleared up the problem. Thanks. > > > P.S. One cannot help but wonder why ntpdate isn't enabled by default, > since it is clearly so useful. Should I file a formal PR to make this > suggestion? > -- Kent, kent.kuriyama@gmail.com (858) 522 9582 From owner-freebsd-questions@freebsd.org Thu Oct 12 16:58:26 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 CB28DE2EEA9 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 16:58:26 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id B254584055 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 16:58:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 6361F3AF79 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 09:58:25 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( In-Reply-To: <CA+4G5KY727cJ=Lp-hU77DH03d+Kw9iHD9cpBUqT24h7jWDPYLw@mail.gmail.com> Date: Thu, 12 Oct 2017 09:58:25 -0700 Message-ID: <4172.1507827505@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 16:58:26 -0000 In message <CA+4G5KY727cJ=Lp-hU77DH03d+Kw9iHD9cpBUqT24h7jWDPYLw@mail.gmail.com> Erwan Legrand <freebsd@erwanlegrand.com> wrote: >On Thu, Oct 12, 2017 at 6:57 AM, Ronald F. Guilmette ><rfg@tristatelogic.com> wrote: >> After the install finished and I booted the new system, I immediately >> got some console errors indicating that the various default NTP servers >> (I also enabled NTP) were not resolving. :-( > >This could happen if you forward queries to servers which strip DNSSEC >signatures. If that is the case, you have two options: either you stop >forwarding to these servers or your disable the DNSSEC support in >Unbound. OK, this is a little bit confusing to me, so please bear with me... My *router* (Linksys E4200) has been configured to tell DHCP clients to use the two public name servers of OpenDNS, i.e. 208.67.222.222 and 208.67.220.220. However I'm unclear on what, if anything, this ha to do with the Unbound(8) caching resolver. During this (fresh) install, I -never- explicitly selected any option that would obcviously hav the effect of telling unbound to forward/route all of its DNS queries through any other specific name servers). So why on earth would it be doing so? I mean I -thought- that this was (mostly) the whole point of running a local caching resolver, i.e. that *it* would do all of the DNS lookups itself, traversing/descending its way, as necessary, down from the root zone servers until it found what it was looking for. I don't know if the OpenDNS server strip DNSSEC stuff or not, but again, I don't see why Unbound(8) should even be using those servers anyway. Just because my router is giving those two specific IPv4 addresses to each of its DHCP clients, that doesn't mean that any of those clients are in any way forced to use them. And I don't see why Unbound(8) would be doing so. If it isn't, and if unbound is, as I believed, traversing the DNS tree itself, starting from the root each time, then there is nobody and nothing between it and the authoritative servers for whatever it happens to be looking for -- thus, no filtering of DNSSEC, and thus, the resolutions failures I described are still mysterious... to me anyway. What am I missing? From owner-freebsd-questions@freebsd.org Thu Oct 12 17:50:11 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 C9643E30204 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 17:50:11 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 9625613B9 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 17:50:10 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 1B9D93AF79 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 10:50:10 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: freebsd-questions@freebsd.org Subject: Install-time "hardening" options Date: Thu, 12 Oct 2017 10:50:09 -0700 Message-ID: <4436.1507830609@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 17:50:11 -0000 OK, I admit that I'm way behind the times, but yesterday was the first time I ever saw all of these new "harding" options an install time, i.e. the ones shown in the second screenshot here: https://forums.freebsd.org/threads/57807/ Anyway, I've got to say that I'm perplexed by most or all of these, *not* because I don't understand at least something about what each one is all about, but rather, I'm perplexed because I'm not even sure why most or all of these are even options. Maybe somebody can & will explain. I look at each one of these "hardening" options and I think that there is only one current and obvious answer, i.e. it should -always- be disabled, for all installations, or else it should always be enabled for all installations. Let's go through them one by one... (*) Hide processes running as other users Well, I mean, yea. Obviously. If you ain't root, then processes belonging to other users are none of your damn business. So, um, why is this even optional? (*) Hide processes running as other groups This one is a bit tricker, and I don't know the Right Answer. (*) Disable reading kernel message buffers for unprivledged users Why would anyone NOT want this altogether sensible restriction imposed? (*) Disable process debugging facilities for unprivledged users WTF?? If it's your process, why should I care what you do to it? Why would anyone want to *prevent* any user from debugging a program, ever? This makes no sense. (*) Randomize the PID of newly created processes Really? Are there are known exploits which rely on the predictability of spawned PIDs?? Name three. Otherwise, this option is just silly. (*) Insert stack guard page ahead of growable segments The only case where I could see this NOT being a good idea would be in some limited embedded contexts where main memory is really scarce. But unless I'm wrong, that *ain't* what the general releases of FreeBSD are targeting. (There are specialized fBSD distros for that.) So again, why is this even optional? It makes no sense. (*) Clean the /tmp filesystem on system startup Really? Are there are known exploits which rely on the crap leftovers in /tmp between reboots and which are NOT completely thwarted by simply setting file permissions and ownership properly? (*) Disable opening Syslogd network socket (disables remote logging) Unbelievable! This was a a well-known and well-documented security hole / exploit twenty years ago already! And it had -been- a well- known and well-documented security hole for about a decade already when, about 15 years ago, I personally made one whole hell of a lot of sysadmins all over the Internet hopping mad when I started writing console log message to them, each and every time one of their dumb ass end-luser spammers spammed me. I can't believe that the -default- on FreeBSD is apparently to leave the Syslog open to trivial UDP invasion by every Tom, Dick, and Harry on the whole bloody Internet. Sheer madness! (*) Disable Sendmail service This seems like a rather bizzare "hardening" option. What I mean is that for the sake of people who are ernestly concerned about security, I can think of a whole host of other "secure" alternatives, other than just simply not running Sendmail. The first one that comes to mind is running Postfix instead. And also, of course, where is the option to run Sendmail, or Postfix, or any of the numerous other common daemons within isolated jails? Forgive me, but it just seems rather stingy to only offer the security- conscious sysadmin -only- the option to not run Sendmail (but I guess that's better than nothing). Just my two cents... worth what you paid for them. From owner-freebsd-questions@freebsd.org Thu Oct 12 18:09:52 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 77AA8E30B74 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 18:09:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4D522515 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 18:09:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Thu, 12 Oct 2017 20:09:43 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4F79F3CBF9; Thu, 12 Oct 2017 20:09:42 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9CI9fv1002069; Thu, 12 Oct 2017 20:09:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Oct 2017 20:09:41 +0200 From: Polytropon <freebsd@edvax.de> To: Yuri Pankov <yuripv@gmx.com> Cc: "Sijmen J. Mulder" <ik@sjmulder.nl>, freebsd-questions@freebsd.org Subject: Re: Should I use mdoc for user programs? Message-Id: <20171012200941.49fed687.freebsd@edvax.de> In-Reply-To: <ad6d583f-db2e-a149-105d-b7c3b8894959@gmx.com> References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <ad6d583f-db2e-a149-105d-b7c3b8894959@gmx.com> Reply-To: Polytropon <freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 9A86D6A359F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1540 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 18:09:52 -0000 On Thu, 12 Oct 2017 16:18:28 +0300, Yuri Pankov wrote: > On Thu, 12 Oct 2017 11:02:49 +0200, Sijmen J. Mulder wrote: > [...] > > I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD > > General Commands Manual" which does not seem appropriate. > > It's not about the .Os macro, rather it's man-section-to-name mapping > done by the formatter used, i.e. when using mandoc(1), on FreeBSD > section 1 man pages would say "FreeBSD General Commands Manual", on > illumos exactly the *same* man page would say just "User Commands" (for > mandoc this can be customized editing one of the source files currently). According to "man mdoc", it's easy to redefine .Dt at the beginning of the document (just like .Dt or Dd). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 12 18:35:14 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 ADA4AE317EC for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 18:35:14 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 815263954 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 18:35:13 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 5A8FBCB8D07; Thu, 12 Oct 2017 13:11:41 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 12 Oct 2017 13:11:41 -0500 (CDT) Message-ID: <12891.128.135.52.6.1507831901.squirrel@cosmo.uchicago.edu> In-Reply-To: <4436.1507830609@segfault.tristatelogic.com> References: <4436.1507830609@segfault.tristatelogic.com> Date: Thu, 12 Oct 2017 13:11:41 -0500 (CDT) Subject: Re: Install-time "hardening" options From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: "Ronald F. Guilmette" <rfg@tristatelogic.com> Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 18:35:14 -0000 On Thu, October 12, 2017 12:50 pm, Ronald F. Guilmette wrote: > > OK, I admit that I'm way behind the times, but yesterday was the first > time I ever saw all of these new "harding" options an install time, > i.e. the ones shown in the second screenshot here: > > https://forums.freebsd.org/threads/57807/ > > Anyway, I've got to say that I'm perplexed by most or all of these, *not* > because I don't understand at least something about what each one is > all about, but rather, I'm perplexed because I'm not even sure why > most or all of these are even options. Maybe somebody can & will > explain. I agree in general, but disagree or rather have comments on some points > > I look at each one of these "hardening" options and I think that there > is only one current and obvious answer, i.e. it should -always- be > disabled, for all installations, or else it should always be enabled > for all installations. Let's go through them one by one... > > (*) Hide processes running as other users > > Well, I mean, yea. Obviously. If you ain't root, then processes > belonging to other users are none of your damn business. So, um, > why is this even optional? > > (*) Hide processes running as other groups > > This one is a bit tricker, and I don't know the Right Answer. > > (*) Disable reading kernel message buffers for unprivledged users > > Why would anyone NOT want this altogether sensible restriction > imposed? > > (*) Disable process debugging facilities for unprivledged users > > WTF?? If it's your process, why should I care what you do to it? > Why would anyone want to *prevent* any user from debugging a program, > ever? This makes no sense. Not necessarily. The process may be yours, but the code you run may be proprietary, and if you are let debug that, you may potentially discover something that vendor wants to hide from you. I know, it probably is built without dtrace for production use, still... Wherever I don't comment I 100% agree. > > (*) Randomize the PID of newly created processes > > Really? Are there are known exploits which rely on the > predictability > of spawned PIDs?? Name three. Otherwise, this option is just silly. > > (*) Insert stack guard page ahead of growable segments > > The only case where I could see this NOT being a good idea would be > in some limited embedded contexts where main memory is really scarce. > But unless I'm wrong, that *ain't* what the general releases of > FreeBSD > are targeting. (There are specialized fBSD distros for that.) So > again, > why is this even optional? It makes no sense. I personally have mixed feeling about this. > > (*) Clean the /tmp filesystem on system startup > > Really? Are there are known exploits which rely on the crap > leftovers > in /tmp between reboots and which are NOT completely thwarted by > simply > setting file permissions and ownership properly? > > (*) Disable opening Syslogd network socket (disables remote logging) > > Unbelievable! This was a a well-known and well-documented security > hole / exploit twenty years ago already! And it had -been- a well- > known and well-documented security hole for about a decade already > when, about 15 years ago, I personally made one whole hell of a lot > of sysadmins all over the Internet hopping mad when I started writing > console log message to them, each and every time one of their dumb > ass > end-luser spammers spammed me. > > I can't believe that the -default- on FreeBSD is apparently to leave > the Syslog open to trivial UDP invasion by every Tom, Dick, and Harry > on the whole bloody Internet. Sheer madness! > > (*) Disable Sendmail service > > This seems like a rather bizzare "hardening" option. What I mean is > that for the sake of people who are ernestly concerned about > security, > I can think of a whole host of other "secure" alternatives, other > than > just simply not running Sendmail. The first one that comes to mind > is > running Postfix instead. And also, of course, where is the option > to run Sendmail, or Postfix, or any of the numerous other common > daemons within isolated jails? > > Forgive me, but it just seems rather stingy to only offer the > security- > conscious sysadmin -only- the option to not run Sendmail (but I guess > that's better than nothing). I have mixed feelings here as well, even though I always replace sendmail with postfix since forever. I frankly do not know why sendmail is there by default. Old UNIX tradition (and yes, I did pass configuration of sendmail in my sysadmin's exam, but I still prefer human readable configs of postfix. Not to mention architecture with security in mind). Thanks for sharing! Valeri > > Just my two cents... worth what you paid for them. > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Thu Oct 12 18:40:00 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 BF49DE31950 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 18:40:00 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23BE03AFB for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 18:39:59 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from procyon.local ([5.138.255.62]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LjZhg-1dRBic2EI4-00bYs9; Thu, 12 Oct 2017 20:39:54 +0200 Subject: Re: Should I use mdoc for user programs? To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org, "Sijmen J. Mulder" <ik@sjmulder.nl> References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <ad6d583f-db2e-a149-105d-b7c3b8894959@gmx.com> <20171012200941.49fed687.freebsd@edvax.de> From: Yuri Pankov <yuripv@gmx.com> Message-ID: <696e0fb1-7cbb-31d2-2105-8166a4c3d53e@gmx.com> Date: Thu, 12 Oct 2017 21:39:53 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171012200941.49fed687.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:1t7td4NQpw2MtXLnJ3f7olJh+F2Z5Ic5uvUTDVxDVqk7Dkm1Jev 9WBJF5mVUv4u+lrL1PwC8SaNAUkXunrLpZOMz/JQ4IYkIUGFK16HgaJIQdUQ83b2D1cyQ9t 2gC90f08LtyiKYz4ZPynRb2SdtK7yA8gcFSeJ8CNrXfrcSOV2zH/CiRZCzL+gHXsw78ROFm r+0BZwTB+6Wm7c5okP0sg== X-UI-Out-Filterresults: notjunk:1;V01:K0:KbNnHYOPbHo=:+GHwNmd6/zLkHKcqs6M3ru rxrgpzDijpR2GZojc14JnWdKEtD2Zh/rcYF+iCcNX+0MbnXQmgHkoKjcTAEhM8hHomaQrgSB3 IePDvJ2eG5VLTnamkflyvKC5TUDnx0tdfIQYVctTxVkQZl7majl017moKrXeEGwbH3Abf59C/ 7YjnLlKUTvmrWrq0YqY1TqgAtwr+v8OA5ss8OTzw1pz+9sj8yNs1KMHQqkL86RorjmLp63ICr CAhmCbKTZqRB60LWCiSNByXqrE96tGdW1vNe/HS4iGtigEFyO+t1s63H3740luisrZdd7MGBn 26vJxOvrkGlXrwl4oTieeOaTDjdGVHPBhuF1h/P8F09HHg24+NOrm5fByGWEZgzuTxxGQYt3W UBX4+UoktFKRxU4gOtJSDk2C9//JP6Sx06q/3hX+phBq5RvB8L+LB+huCqt4Cm7SpdzLYuw85 kotO/84f3aThdUO79J7fccQJzDwVxlFpInoLTF0Qt2Wq2MMtUTloTAj2NbPaQVjiE/aeZj77j x7OeP6rv9DhsdJhYc3inl39R4NWQrQF6quoR2bfDvffC2scOpHMejbqE4MT4CBkmeikwhTdh/ PQ+RM20jPqW63YyH5hkIsKFGMvEwxmiZYOfuJPMWtQpUCuxBY25/zq1ycD0zVVjael6zC5jif uHcoC61WivIbYxYM/2Ue9Z6qrFZCdb7FlsTdGHV0fpNmbwgeiHx+J/OL9tGUtWaqSU601AD73 td0k2Q2qIU88habMG9eBMRCUbnxfe/FdsRbO3EKhKv1TVL9XxwEV9XOhbmvZpvyPv8m3GiWEL c06vMdpYT4AqqtQFqiBx1mSyuP3ii6Cr1hOgDpZmMgITT/8uNI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 18:40:00 -0000 On Thu, 12 Oct 2017 20:09:41 +0200, Polytropon wrote: > On Thu, 12 Oct 2017 16:18:28 +0300, Yuri Pankov wrote: >> On Thu, 12 Oct 2017 11:02:49 +0200, Sijmen J. Mulder wrote: >> [...] >>> I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD >>> General Commands Manual" which does not seem appropriate. >> >> It's not about the .Os macro, rather it's man-section-to-name mapping >> done by the formatter used, i.e. when using mandoc(1), on FreeBSD >> section 1 man pages would say "FreeBSD General Commands Manual", on >> illumos exactly the *same* man page would say just "User Commands" (for >> mandoc this can be customized editing one of the source files currently). > > According to "man mdoc", it's easy to redefine .Dt at the beginning > of the document (just like .Dt or Dd). Indeed, my answer was more about that output shouldn't stop the OP from using mdoc. And redefining the section name rarely serves any purpose; if you absolutely need it, go with a new section (yes, I know it's bad). From owner-freebsd-questions@freebsd.org Thu Oct 12 19:45:52 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 DB095E33066 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 19:45:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B5564B11 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 19:45:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Thu, 12 Oct 2017 21:45:49 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2C10A3CBF9; Thu, 12 Oct 2017 21:45:47 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9CJjlhp001966; Thu, 12 Oct 2017 21:45:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Oct 2017 21:45:47 +0200 From: Polytropon <freebsd@edvax.de> To: Yuri Pankov <yuripv@gmx.com> Cc: freebsd-questions@freebsd.org, "Sijmen J. Mulder" <ik@sjmulder.nl> Subject: Re: Should I use mdoc for user programs? Message-Id: <20171012214547.2ceef598.freebsd@edvax.de> In-Reply-To: <696e0fb1-7cbb-31d2-2105-8166a4c3d53e@gmx.com> References: <cd1d3215-bfcd-57bf-89ec-c78981c60381@sjmulder.nl> <ad6d583f-db2e-a149-105d-b7c3b8894959@gmx.com> <20171012200941.49fed687.freebsd@edvax.de> <696e0fb1-7cbb-31d2-2105-8166a4c3d53e@gmx.com> Reply-To: Polytropon <freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 7B7AF6A3598 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1663 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 19:45:53 -0000 On Thu, 12 Oct 2017 21:39:53 +0300, Yuri Pankov wrote: > On Thu, 12 Oct 2017 20:09:41 +0200, Polytropon wrote: > > On Thu, 12 Oct 2017 16:18:28 +0300, Yuri Pankov wrote: > >> On Thu, 12 Oct 2017 11:02:49 +0200, Sijmen J. Mulder wrote: > >> [...] > >>> I noticed that the required .Os macro (man 7 mdoc) outputs "FreeBSD > >>> General Commands Manual" which does not seem appropriate. > >> > >> It's not about the .Os macro, rather it's man-section-to-name mapping > >> done by the formatter used, i.e. when using mandoc(1), on FreeBSD > >> section 1 man pages would say "FreeBSD General Commands Manual", on > >> illumos exactly the *same* man page would say just "User Commands" (for > >> mandoc this can be customized editing one of the source files currently). > > > > According to "man mdoc", it's easy to redefine .Dt at the beginning > > of the document (just like .Dt or Dd). > > Indeed, my answer was more about that output shouldn't stop the OP from > using mdoc. And redefining the section name rarely serves any purpose; > if you absolutely need it, go with a new section (yes, I know it's bad). This is possible, but if you can, use the established categories. Binaries (programs in general) to section 1, files to section 5, and so on. Ports-supplied manpages go to /usr/local/share/man anyways (instead of the OS location at /usr/share/man). Using "custom sections" like "3X" (found in "man curs_attr", for example) is possible as well. To avoid confusion with OS-provided tools, it will probably help to change the information in the header and footer which mdoc generates automatically when the default macros are being used. With "man mdoc" and the examples in /usr/share/examples/mdoc usable templates can be easily created. A nice example is "man mplayer", where the header and footer are: MPlayer(1) The Movie Player MPlayer(1) The MPlayer Project 2009-03-25 MPlayer(1) The macros at the beginning of the manpage allow conveniently changing anything that's needed - _if_ it is required or desired. Nothing is hidden, nothing is revealed. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 12 20:38:09 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 EDD7DE34170 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 20:38:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CBDB6643E for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 20:38:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9CKc8mp076285 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 16:38:08 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9CKc5K6036600; Thu, 12 Oct 2017 16:38:05 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: Install-time "hardening" options To: "Ronald F. Guilmette" <rfg@tristatelogic.com>, freebsd-questions@freebsd.org References: <4436.1507830609@segfault.tristatelogic.com> From: Mike Tancsa <mike@sentex.net> Organization: Sentex Communications Message-ID: <21945e9b-6573-5f8d-9b6d-26bbb8bfd748@sentex.net> Date: Thu, 12 Oct 2017 16:38:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <4436.1507830609@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 20:38:10 -0000 On 10/12/2017 1:50 PM, Ronald F. Guilmette wrote: > > (*) Hide processes running as other users > > Well, I mean, yea. Obviously. If you ain't root, then processes > belonging to other users are none of your damn business. So, um, > why is this even optional? One thing to be aware of is if you do any sort of process monitoring via nagios/nrpe, things wont work by default. But yes, a good idea. Just a little extra work for nrpe clients. > (*) Disable opening Syslogd network socket (disables remote logging) Is not the default -s and this options makes it -ss. "disable remote logging" as in the host you are configuring cannot send out messages to other syslogd servers. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Thu Oct 12 20:45:18 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 EB308E34549 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 20:45:18 +0000 (UTC) (envelope-from prvs=145167c601=vogelke@pobox.com) Received: from SCOTT-MAIL6.AFNOC.AF.MIL (scott-mail6.afnoc.af.mil [131.9.253.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "SCOTT-MAIL6.AFNOC.AF.MIL", Issuer "SCOTT-MAIL6.AFNOC.AF.MIL" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E79166952 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 20:45:17 +0000 (UTC) (envelope-from prvs=145167c601=vogelke@pobox.com) Received: from us.af.mil (unknown [131.9.254.140]) by SCOTT-MAIL6.AFNOC.AF.MIL with smtp (TLS: TLSv1/SSLv3,256bits,DHE-RSA-AES256-SHA) id 1315_3787_2dcc584c_52c8_4256_8074_ff1992109ead; Thu, 12 Oct 2017 20:45:02 +0000 Received: from ([131.9.40.227]) by 52vejx-mr-006.us.af.mil with SMTP id 2X21FN1.319850813; Thu, 12 Oct 2017 15:44:56 -0500 Received: (qmail 11820 invoked by uid 100); 12 Oct 2017 20:44:55 -0000 From: "Karl Vogel" <vogelke@pobox.com> Date: Thu, 12 Oct 2017 16:44:55 -0400 To: freebsd-questions@freebsd.org Subject: Re: Another 11.1-RELEASE install minor annoyance (ntpd) Message-ID: <20171012204455.GA10740@bsd118.wpafb.af.mil> Reply-To: vogelke@pobox.com References: <CACArijC-urzJYRuA9TanUjan5EFRcStMr=rQ+gmcRD_KO6gzAA@mail.gmail.com> <3967.1507825257@segfault.tristatelogic.com> <CACArijD0LgS731K7Xdh+OcQ1Cicx0k9yzBKiVniW74b2WosmUA@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <CACArijD0LgS731K7Xdh+OcQ1Cicx0k9yzBKiVniW74b2WosmUA@mail.gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 20:45:19 -0000 Some NTP observations: ntpdate can be a lifesaver. Sometimes after installing a new system, I'll see tons of crap dumped in the system logs: ntpd[743]: frequency error -512 PPM exceeds tolerance 500 PPM The only workaround I've found is to run ntpdate every 30/60 minutes via cron. I'm pretty sure the clock chip is just too cheap to work and play nicely with ntpd. Setting the tolerance higher using (say) "ntptime -f 520" hasn't worked. Also, you may shoot yourself in the foot if you use a lot of servers: http://lists.centos.org/pipermail/centos/2010-August/098092.html Date drift and ntpd Warren Young <warren@etr-usa.com> Thu Aug 12 17:41:17 EDT 2010 Some HOWTOs tell you that more time servers is better, on a standard knee-jerk redundancy theory, but they're ignoring two things. First, you already have a fallback: the system's built-in clock. It's perfectly fine to run on that while you ride out your time server's downtime. Second, ntpd, internally, is built on a phase-locked loop, which is supposed to stabilize its time corrections in the face of jitter and other bad things out in the real world. Like anything based on a negative feedback loop, however, it can be destablized with certain inputs. Giving ntpd two or more servers is a pretty good way to destabilize its PLL in the real, non-ideal world we find on the modern Internet. To anyone considering flaming me, please read this first: http://queue.acm.org/detail.cfm?id=1773943 At minimum, read the section "One server is enough". The bit on PLLs about halfway down is also directly relevant. In the "One server is enough" section: So far we have discussed synchronizing to a single server. Surely one could connect to multiple servers and select among them to obtain even better results? In principle this is true; in Internet practice, at least with the current state of the art, it is most definitely not, for two reasons. Most fundamentally, switching servers implies a change in path asymmetry and hence a jump in the clock. Imagine a server-selection algorithm that is moving around among candidate servers of similar quality. The result is constant jumping?a classic case of asymmetry jitter. Such jitter is not hard to observe in ntpd, where a connection to multiple peers is in fact recommended. Second, once performance is tuned to close to system and network noise limits, any disruption at all will downgrade it. Ceasing to query a server for a time and then returning to it, for example, qualifies as a moderate to large disruption. The take-home message for administrators is this: if you want to improve your system clock performance, just make sure the configuration points only to a single (nearby) server. -- Karl Vogel I don't speak for the USAF or my company Teenage girl creates sustainable, renewable algae biofuel under her bed --Extreme Tech headline, 19 March 2013 From owner-freebsd-questions@freebsd.org Thu Oct 12 21:07:03 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 4D463E34AA6 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 21:07:03 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 0CAF4671F5 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 21:07:02 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 8158E3AF83 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 14:07:00 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: freebsd-questions@freebsd.org Subject: Re: Install-time "hardening" options In-Reply-To: <12891.128.135.52.6.1507831901.squirrel@cosmo.uchicago.edu> Date: Thu, 12 Oct 2017 14:07:00 -0700 Message-ID: <5132.1507842420@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 21:07:03 -0000 In message <12891.128.135.52.6.1507831901.squirrel@cosmo.uchicago.edu>, "Valeri Galtsev" <galtsev@kicp.uchicago.edu> wrote: >> (*) Disable process debugging facilities for unprivledged users >> >> WTF?? If it's your process, why should I care what you do to it? >> Why would anyone want to *prevent* any user from debugging a program, >> ever? This makes no sense. > >Not necessarily. The process may be yours, but the code you run may be >proprietary, and if you are let debug that, you may potentially discover >something that vendor wants to hide from you. I know, it probably is built >without dtrace for production use, still... How likely is it that ALL of these conditions will ever apply? (*) The vendor thinks he can hide his (compiled) secrets simply by disallowing *run-time* tracing... ignoring the possibility of simple decompilation of the associated binary. (*) The vendor thinks... for some reason... that he will somehow obtain the willing participation (or at least the acquiescence) of -every- sysadmin running -every- system onto which the program in question will ever be installed, i.e. that 100% of such admins will choose to hobble their systems, in this particular way (disallowing unprivledged process tracing), for the benefit of the vendor, possibly at the expense of the local user base. (*) The vendor -does- obtain willing (co-conspiratorial) participation on the parts of one or more sysadmins in this silly security-thru- obscurity scheme. And remember, all of the above has to happen in the context of a FreeBSD system, where binary-only proprietary products... secret or otherwise... are both largely non-existant and also rather an anathema to free software generally, and to FreeBSD specifically. In short, while I thank you or your comment, I would still assert that disabling non-privledged users from tracing/debugging their own running processes seems unlikely to be a thing that any sane sysadmin would voluntarily choose to do. >> (*) Insert stack guard page ahead of growable segments >>... >I personally have mixed feeling about this. By all means, please elaborate. Under what scenarios, if any, would the use of stack guards -not- be an exceptionally desirable thing? (I've already conceeded that memory-limited embedded uses are a special case. But there are specialized distros for that.) >> (*) Disable Sendmail service >>... >I have mixed feelings here as well, even though I always replace sendmail >with postfix since forever. As do I, also since forever. >I frankly do not know why sendmail is there by default. We agree. >Old UNIX tradition (and yes, I did pass configuration of sendmail >in my sysadmin's exam, but I still prefer human readable configs of >postfix. Not to mention architecture with security in mind). Yes. I also was effectively forced to learn Sendmail's "chicken scratches" configuration language, back in the day, and I still have my first edition 1993 Bat Book sitting right here on my desk. But for the past many years its sole purpose has been to act as a paperweight, to keep certain otherwise skittish cables in their proper places, in which capacity its heft and ponderous weight have proven invaluable. Postfix is clearly the better choice, both for config readability and also for security. So there's that. But also, like I said, we could have some much better install-time "hardening" option, in particular options to run various standard daemons inside of jails. If there were such options, I wouldn't criticize those as much as the current set of "hardening" options, because even though it is clear that it would be better, security-wise, to run every daemon in a jail that can be run in a jail, I for one would generally opt not to do so, just because I don't think the additional complexity would buy me much, speaking only for myself. If I was a sysadmin at, say, either Sony or Sandia Labs or Equifax, then I would almost certainly take a different view. Regards, rfg From owner-freebsd-questions@freebsd.org Thu Oct 12 21:26:47 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 31568E35243 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 21:26:47 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFAD667C2E for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 21:26:46 +0000 (UTC) (envelope-from starikarp@yandex.com) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward103j.mail.yandex.net (Yandex) with ESMTP id 22BEF34C4DBB; Fri, 13 Oct 2017 00:26:43 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id i89fElvTBD-QhhKLv9Y; Fri, 13 Oct 2017 00:26:43 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1507843603; bh=DAIdaKaSXnTuYYDcDrQ9b4eaUEpW2X3aNwdMeF/d86E=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References; b=purFD6Uo2tWozr2u3aZBg9eDavjLHGIereP6LrB1sNd8Rq87Szdc5+3xXTR2G/n7i HqxPbixDjv++60f7psEFb5Y+UQwk9qFFs6MLUwa0vVNw9nhpsfzyrg5mGcNg0Cha+a qQ08u5OD4yT6avhcVwFW7V81fAbyx0sLcR5Qta38= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Z0gSoN37wG-QduGskMZ; Fri, 13 Oct 2017 00:26:40 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1507843600; bh=DAIdaKaSXnTuYYDcDrQ9b4eaUEpW2X3aNwdMeF/d86E=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References; b=uhqimi8FwIVIE6UkBu5JBgLP5qOvo2FS0NlJHZ66M3UWtmGRM62eUWPrqqQJGLz18 1c+UqV4S/kGQ/tXKWC44XMTNO+OIdB41iFVTy0OTu0p+PzC9mwMo4/EpNxQWB4oMXz bry4vgqolsLTlm1nZ5Ch5/upiWEjo+csjN7YDZ/g= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.com Message-ID: <1507843597.63805.1.camel@yandex.com> Subject: Re: about KDE 5 From: Stari Karp <starikarp@yandex.com> To: Luca Ferrari <fluca1978@infinito.it>, freebsd-questions <freebsd-questions@freebsd.org> Date: Thu, 12 Oct 2017 17:26:37 -0400 In-Reply-To: <CAKoxK+4Th3mAGAjwbm8VetnLqPEDs4TMrL6fYEDwEQJ0GESP6Q@mail.gmail.com> References: <CAKoxK+4Th3mAGAjwbm8VetnLqPEDs4TMrL6fYEDwEQJ0GESP6Q@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 21:26:47 -0000 On Thu, 2017-10-12 at 10:26 +0200, Luca Ferrari wrote: > Hi all, > I'm wondering to convert my desktop machine to FreeBSD, but I'm quite > used to Plasma/KDE 5...so before I nuke my system, anyone has > experience or war stories about making it working under 11-release? > > Thanks, > Luca > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb > sd.org" More about on FreeBSD Forum: https://forums.freebsd.org/threads/47280/page-5 From owner-freebsd-questions@freebsd.org Thu Oct 12 21:31:26 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 89163E3552C for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 21:31:26 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-cmomta01.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 578E7681A9 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 21:31:25 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from raspberrypi.bildanet.com ([65.186.81.207]) by cmsmtp with ESMTP id 2l3GeZ7MtH48O2l3JeJC9P; Thu, 12 Oct 2017 21:30:01 +0000 Received: from [192.168.1.143] by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from <baho-utot@columbus.rr.com>) id 1e2l4W-0001RT-8s for freebsd-questions@freebsd.org; Thu, 12 Oct 2017 21:31:16 +0000 Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( To: freebsd-questions@freebsd.org References: <4172.1507827505@segfault.tristatelogic.com> From: Baho Utot <baho-utot@columbus.rr.com> Message-ID: <b1f2d83e-d09f-42ad-f03d-26b6995c141f@columbus.rr.com> Date: Thu, 12 Oct 2017 17:31:32 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <4172.1507827505@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-CMAE-Envelope: MS4wfAJVLSEjN0xUJVaiJKAq38ogvBQ6nrxPs+NJESCcKYM67RNIt7kYcgFs/4s2AcA5sN8w8wH1qwX5Z+C/tkSIpRRuajg9bFUD+6qP9GVTjRcznw2SUrcz xtNgidpbSIkPlKyYIzZW381JfPjLKMsmD/f3WFnkr+9xLcUL6tAnGIdNU0tQ3SDQsqwKiZeiPnHbO9sKuo2Ce/7dAv6srUc+oak= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 21:31:26 -0000 On 10/12/2017 12:58 PM, Ronald F. Guilmette wrote: > In message <CA+4G5KY727cJ=Lp-hU77DH03d+Kw9iHD9cpBUqT24h7jWDPYLw@mail.gmail.com> > Erwan Legrand <freebsd@erwanlegrand.com> wrote: > >> On Thu, Oct 12, 2017 at 6:57 AM, Ronald F. Guilmette >> <rfg@tristatelogic.com> wrote: >>> After the install finished and I booted the new system, I immediately >>> got some console errors indicating that the various default NTP servers >>> (I also enabled NTP) were not resolving. :-( >> This could happen if you forward queries to servers which strip DNSSEC >> signatures. If that is the case, you have two options: either you stop >> forwarding to these servers or your disable the DNSSEC support in >> Unbound. > OK, this is a little bit confusing to me, so please bear with me... > > My *router* (Linksys E4200) has been configured to tell DHCP clients > to use the two public name servers of OpenDNS, i.e. 208.67.222.222 > and 208.67.220.220. > > However I'm unclear on what, if anything, this ha to do with the Unbound(8) > caching resolver. > > During this (fresh) install, I -never- explicitly selected any option that > would obcviously hav the effect of telling unbound to forward/route all > of its DNS queries through any other specific name servers). So why on > earth would it be doing so? Because the base system uses unbound as the resolver. > > I mean I -thought- that this was (mostly) the whole point of running a > local caching resolver, i.e. that *it* would do all of the DNS lookups > itself, traversing/descending its way, as necessary, down from the root > zone servers until it found what it was looking for. > > I don't know if the OpenDNS server strip DNSSEC stuff or not, but again, > I don't see why Unbound(8) should even be using those servers anyway. > Just because my router is giving those two specific IPv4 addresses to > each of its DHCP clients, that doesn't mean that any of those clients > are in any way forced to use them. And I don't see why Unbound(8) would > be doing so. > > If it isn't, and if unbound is, as I believed, traversing the DNS tree itself, > starting from the root each time, then there is nobody and nothing between > it and the authoritative servers for whatever it happens to be looking > for -- thus, no filtering of DNSSEC, and thus, the resolutions failures > I described are still mysterious... to me anyway. > > What am I missing? > _______________________________________________ > 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 Oct 12 21:32:18 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 6E7FBE355E4 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 21:32:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 5B13A682FE for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 21:32:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 7EE4F3AEFC for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 14:32:17 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: freebsd-questions@freebsd.org Subject: Re: Install-time "hardening" options In-Reply-To: <21945e9b-6573-5f8d-9b6d-26bbb8bfd748@sentex.net> Date: Thu, 12 Oct 2017 14:32:17 -0700 Message-ID: <5273.1507843937@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 21:32:18 -0000 In message <21945e9b-6573-5f8d-9b6d-26bbb8bfd748@sentex.net>, Mike Tancsa <mike@sentex.net> wrote: >> (*) Disable opening Syslogd network socket (disables remote logging) > >Is not the default -s and this options makes it -ss. "disable remote >logging" as in the host you are configuring cannot send out messages to >other syslogd servers. Was that a question or a statement? If you are assering that indeed, yes, star'ing this specific "hardening" option just causes the local machine to -not- send -outbound- syslog messages, then certainly, that is indeed a horse of a different color from what I was talking about, which was -accepting- -inbound- syslog messages/packets. At the very least, the wording on this option should be clarified to make it apparent if the thing being disabled in this case is inbound syslog messages or outbound ones. From owner-freebsd-questions@freebsd.org Thu Oct 12 21:50:52 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 35ACCE35E21 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 21:50:52 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 09C1169350 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 21:50:51 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 9CB99CB8D07; Thu, 12 Oct 2017 16:50:50 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Thu, 12 Oct 2017 16:50:50 -0500 (CDT) Message-ID: <12473.128.135.52.6.1507845050.squirrel@cosmo.uchicago.edu> In-Reply-To: <5132.1507842420@segfault.tristatelogic.com> References: <5132.1507842420@segfault.tristatelogic.com> Date: Thu, 12 Oct 2017 16:50:50 -0500 (CDT) Subject: Re: Install-time "hardening" options From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: "Ronald F. Guilmette" <rfg@tristatelogic.com> Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 21:50:52 -0000 On Thu, October 12, 2017 4:07 pm, Ronald F. Guilmette wrote: > > In message <12891.128.135.52.6.1507831901.squirrel@cosmo.uchicago.edu>, > "Valeri Galtsev" <galtsev@kicp.uchicago.edu> wrote: > >>> (*) Disable process debugging facilities for unprivledged users >>> >>> WTF?? If it's your process, why should I care what you do to it? >>> Why would anyone want to *prevent* any user from debugging a >>> program, >>> ever? This makes no sense. >> >>Not necessarily. The process may be yours, but the code you run may be >>proprietary, and if you are let debug that, you may potentially discover >>something that vendor wants to hide from you. I know, it probably is >> built >>without dtrace for production use, still... > > How likely is it that ALL of these conditions will ever apply? > > (*) The vendor thinks he can hide his (compiled) secrets simply by > disallowing *run-time* tracing... ignoring the possibility of > simple decompilation of the associated binary. > > (*) The vendor thinks... for some reason... that he will somehow > obtain the willing participation (or at least the acquiescence) > of -every- sysadmin running -every- system onto which the > program in question will ever be installed, i.e. that 100% of > such admins will choose to hobble their systems, in this > particular > way (disallowing unprivledged process tracing), for the benefit > of the vendor, possibly at the expense of the local user base. > > (*) The vendor -does- obtain willing (co-conspiratorial) > participation > on the parts of one or more sysadmins in this silly > security-thru- > obscurity scheme. > > And remember, all of the above has to happen in the context of a FreeBSD > system, where binary-only proprietary products... secret or otherwise... > are both largely non-existant and also rather an anathema to free software > generally, and to FreeBSD specifically. > > In short, while I thank you or your comment, I would still assert that > disabling non-privledged users from tracing/debugging their own running > processes seems unlikely to be a thing that any sane sysadmin would > voluntarily choose to do. I probably gave not the best example, and even though it is hard to disagree with your argument, I still have my opinion without change. I probably should mention that I wasn't always UNIX person, and while running Linux boxes (and definitely not using FreeBSD jail on these ;-) I had to run mail, web, server, and had regular user logins on some of these boxes. And as I was running these in assumption that bad guys are already inside, I had quite a few thing made not feasible for my users. One of which: they were not able to run anything of their own, (all places users can write were mounted noexec, nosuid, nosgid, nodev). Now you know where I'm coming from, hence my attitude about debugging, at least on some machines. > >>> (*) Insert stack guard page ahead of growable segments >>>... >>I personally have mixed feeling about this. > > By all means, please elaborate. > > Under what scenarios, if any, would the use of stack guards -not- be an > exceptionally desirable thing? (I've already conceeded that > memory-limited > embedded uses are a special case. But there are specialized distros for > that.) Well, I actually have a mixed feelings about stack guards themselves, I do not feel they give good protection for other memory areas, be those areas just few addresses away or far-far away. But that must be just my ignorance, and you, as system architecture expert, are quite likely right, no matter what I feel like. > >>> (*) Disable Sendmail service >>>... >>I have mixed feelings here as well, even though I always replace sendmail >>with postfix since forever. > > As do I, also since forever. > >>I frankly do not know why sendmail is there by default. > > We agree. > >>Old UNIX tradition (and yes, I did pass configuration of sendmail >>in my sysadmin's exam, but I still prefer human readable configs of >>postfix. Not to mention architecture with security in mind). > > Yes. I also was effectively forced to learn Sendmail's "chicken > scratches" > configuration language, back in the day, and I still have my first edition > 1993 Bat Book sitting right here on my desk. But for the past many years > its sole purpose has been to act as a paperweight, to keep certain > otherwise > skittish cables in their proper places, in which capacity its heft and > ponderous weight have proven invaluable. > > Postfix is clearly the better choice, both for config readability and > also for security. > > So there's that. > > But also, like I said, we could have some much better install-time > "hardening" > option, in particular options to run various standard daemons inside of > jails. Hm, I have mixed feelings here as well. All of us use jails, and we do as elaborate setup for each particular box as we feel necessary. And we use different ways of creating and maintaining jails. Say, some like ezjail, I set up jails "by the book" - which fools me into thinking that what I made is more transparent for me. I would rather have default installation produce plain, simple, and straightforward system (easy to master, administer, and further configure and expand for newcomers, - and I consider myself "newcomer" often as well, so you can safely ignore what person who most likely is ignorant - I - says ;-) Thanks for all your insights you have shared! Valeri > > If there were such options, I wouldn't criticize those as much as the > current > set of "hardening" options, because even though it is clear that it would > be better, security-wise, to run every daemon in a jail that can be run in > a jail, I for one would generally opt not to do so, just because I don't > think the additional complexity would buy me much, speaking only for > myself. > If I was a sysadmin at, say, either Sony or Sandia Labs or Equifax, then I > would almost certainly take a different view. > > > Regards, > rfg > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Thu Oct 12 23:03:06 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 1A325E373F0 for <freebsd-questions@mailman.ysv.freebsd.org>; Thu, 12 Oct 2017 23:03:06 +0000 (UTC) (envelope-from markham@ssimicro.com) Received: from barracuda.ssimicro.com (barracuda.ssimicro.com [96.46.39.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ssimicro.com", Issuer "RapidSSL SHA256 CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBF086B989 for <freebsd-questions@FreeBSD.org>; Thu, 12 Oct 2017 23:03:05 +0000 (UTC) (envelope-from markham@ssimicro.com) X-ASG-Debug-ID: 1507849376-08e7172d0cfbb970001-nG3My6 Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by barracuda.ssimicro.com with ESMTP id 2eXCG2rksMA6nzvP (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <freebsd-questions@FreeBSD.org>; Thu, 12 Oct 2017 19:02:57 -0400 (EDT) X-Barracuda-Envelope-From: markham@ssimicro.com X-Barracuda-Effective-Source-IP: mail.ssimicro.com[64.247.129.10] X-Barracuda-Apparent-Source-IP: 64.247.129.10 Received: from markham.ssimicro.com (markham.ssimicro.com [64.247.130.99]) (authenticated bits=0) by mail.ssimicro.com (8.15.2/8.15.2) with ESMTPSA id v9CN2qxK082248 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <freebsd-questions@FreeBSD.org>; Thu, 12 Oct 2017 17:02:56 -0600 (MDT) (envelope-from markham@ssimicro.com) From: markham breitbach <markham@ssimicro.com> Subject: poudriere in a jail To: freebsd-questions@FreeBSD.org X-ASG-Orig-Subj: poudriere in a jail Message-ID: <bb368a20-769c-c3ba-7e37-31706c1fb41a@ssimicro.com> Date: Thu, 12 Oct 2017 17:02:52 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Barracuda-Connect: mail.ssimicro.com[64.247.129.10] X-Barracuda-Start-Time: 1507849377 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://barracuda.ssimicro.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 2533 X-Virus-Scanned: by bsmtpd at ssimicro.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43843 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 12 Oct 2017 23:03:06 -0000 I posted this to freebsd-pkg, but got no response. I'm hoping someone here might have some ideas. TIA! I am trying to run poudriere in a jail, but when I try to run a build it just gives me a whole lot of this and dies without. ``` # poudriere bulk -f /usr/local/etc/poudriere.d/pkglist.txt -j 10amd64 [00:00:00] ====>> Creating the reference jail...chflags: /poo/data/.m/10amd64-default/ref/rescue/expr: Read-only file system chflags: /poo/data/.m/10amd64-default/ref/rescue/clri: Read-only file system chflags: /poo/data/.m/10amd64-default/ref/rescue/vi: Read-only file system ... snip ... [00:00:51] ====>> Cleaning up [00:00:51] ====>> Unmounting file systems chflags: /poo/data/.m/10amd64-default/ref/rescue/expr: Read-only file system chflags: /poo/data/.m/10amd64-default/ref/rescue/clri: Read-only file system ... snip ... ``` I have used the same configuration outside of the jail and it works fine. My jail has the following configuration: ``` devfs_ruleset=0 nodying enforce_statfs=0 host=new ip4=new ip6=disable jid=77 linux=new name=bob_ssimicro_com osreldate=1003000 osrelease=10.3-RELEASE-p11 parent=0 path=/usr/jails/bob.ssimicro.com nopersist securelevel=-1 allow.chflags allow.mount allow.mount.devfs allow.mount.fdescfs allow.mount.linprocfs allow.mount.linsysfs allow.mount.nullfs allow.mount.procfs allow.mount.tmpfs allow.mount.zfs allow.noquotas allow.noraw_sockets allow.noset_hostname allow.nosocket_af allow.nosysvipc children.cur=0 children.max=10 cpuset.id=4 host.domainname="" host.hostid=0 host.hostname=bob host.hostuuid=00000000-0000-0000-0000-000000000000 ip4.addr=xx.xx.xx.xx,127.0.0.1 ip4.saddrsel ip6.addr= ip6.saddrsel linux.osname=Linux linux.osrelease=2.6.32 linux.oss_version=198144 ``` I am not using ZFS. Here is my poudriere.conf ``` #ZPOOL=tank NO_ZFS=yes # ZROOTFS=/poudriere FREEBSD_HOST=ftp://ftp.freebsd.org BASEFS=/poo POUDRIERE_DATA=${BASEFS}/data USE_PORTLINT=no USE_TMPFS=yes DISTFILES_CACHE=/usr/ports/distfiles CHECK_CHANGED_OPTIONS=verbose CHECK_CHANGED_DEPS=yes PKG_REPO_SIGNING_KEY=/usr/local/etc/ssl/keys/repo.key ``` Some other useful information: ``` # uname -a FreeBSD bob.ssimicro.com 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # poudriere version 3.1.19 ``` I would really like to have this working inside a jail. Any suggestions are greatly appreciated. Thanks, -Markham From owner-freebsd-questions@freebsd.org Fri Oct 13 00:43:07 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 E5DFEE38F5F for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 00:43:07 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::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 93BD86DD61 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 00:43:07 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22d.google.com with SMTP id z4so4233061uaz.5 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 17:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Vu/ZhKHAkrI8HSwYYMHk9E3Kv9K7Fty+q7UWfjCbCko=; b=VBjvyHNpd6bdfBHAidZ3/PUz1EVadNuyf7umId3drc/3Ag5/xARQPMJpDHraqXAQz3 vlTR8dp78l4hpQFyzQbxk70cVZLDg/cK0mIh3HO3pCCYpbosCJUThN5dB40PpRNxUTqC P33lgrI5cl1CHhw20pwDwj4ZhgKyVxOqS9UFhvBdGgDPajm5pFGSfyzkt2HkIo+FrSZr 2k4AUNE8qFKHvA7fINT7yLT/UPgBfbZ00NcS8NBT83X9jf6cEQzo3fqTLbBvTCBBm/hK iQ3ElzguvSD2ULYyZCS/JfBqa43JL9rrpouVuqu3JJfmPOJH/EUb2LGjdFgUBLVcrwLQ vTUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Vu/ZhKHAkrI8HSwYYMHk9E3Kv9K7Fty+q7UWfjCbCko=; b=JmfXfRGw+LptY/Zl/E/NUl/9QeZwzZGnu7yU+Y29dIt0e4F3ox89VmnW633lHo8hmq LRN9dh7vkYxHtiqwvNuZgfxfyCMIHlWnYoly/btAJH39nLfH/35qRey3T3r4E93MhIkT i5iBRRzD5K7DYwBFcAwFUCUdeyFI55/1QfJNP6P8keIZse9TvCAvaQXaHTKW/PHU9dJK dd0Skb4Az2H1SSPHDxj5zIfioFtLmLDxI3v25rRP6lleCCAp7+26x8NUOTCwqcDlS7UQ +eanshiVAtiHl8u+n/Ys7bLyFKtCUsGyL1iMj+CPNtT88Egrr4pTkB6XH03GTi15vgEV 73Kg== X-Gm-Message-State: AMCzsaUSvnZLXUSC/zlrVuCTqIAmMWY0os5+gFGi2C4upy7ylUmutomM kbtTLTFESbFZSk2MvcNB6rnjMaa/cdOim89HlM4= X-Google-Smtp-Source: AOwi7QB8o2BxQhkuAhD9S21U/9V/Bir8RkwG6w9qVhkr4UfvyLZaMOkycnCzOyF28QyeaKr5JbDPorrbLl3HtOM8U5U= X-Received: by 10.176.89.46 with SMTP id n43mr1814535uad.30.1507855386351; Thu, 12 Oct 2017 17:43:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Thu, 12 Oct 2017 17:43:05 -0700 (PDT) From: Antonio Olivares <olivares14031@gmail.com> Date: Thu, 12 Oct 2017 19:43:05 -0500 Message-ID: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> Subject: Redirection in websites To: FreeBSD Questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 00:43:08 -0000 Dear FreeBSD users, Something strange is going on when I try to visit a website. I type www.duckduckgo.com in the address bar, and instead of getting duckduckgo, I see google. I do the same but visting www.yandex.com, and I get google.com. Except for yahoo, I cannot access the other sites like I used to. I cannot run ftp from a latex site, I get operation timed out error messages when running # pkg upgrade Some of my friends say that it is a conspiracy, 1984 by George Orwell is happening. I am a mathematics teacher and our network at school is not behaving normally. I asked kindly to administrators to open some opensource sites, and some pages which were rated unknown by the software. But, I cannot do normal things like update my machines because someone believes I am downloading illegal materials/files. Is there a way to configure tor network on my amd64 bit machine to bypass these troubles? I am not doing anything wrong but I don't feel good not updating my machines and that redirection is also not good. If tor is not viable, are there any wireless broadband providers that respect the user's freedom, then I can get one device and connect from it to access the sites that I need also update my machines. Friends tell me that such companies do not exist. I hope that is not the case. Thanks for your advice, suggestions and hints. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Fri Oct 13 01:09:13 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 9DF56E39618 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 01:09:13 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 876826E565 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 01:09:12 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 409AA3AF79 for <freebsd-questions@freebsd.org>; Thu, 12 Oct 2017 18:09:12 -0700 (PDT) From: "Ronald F. Guilmette" <rfg@tristatelogic.com> To: freebsd-questions@freebsd.org Subject: Re: Install-time "hardening" options In-Reply-To: <12473.128.135.52.6.1507845050.squirrel@cosmo.uchicago.edu> Date: Thu, 12 Oct 2017 18:09:11 -0700 Message-ID: <6000.1507856951@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 01:09:13 -0000 In message <12473.128.135.52.6.1507845050.squirrel@cosmo.uchicago.edu>, "Valeri Galtsev" <galtsev@kicp.uchicago.edu> wrote: >On Thu, October 12, 2017 4:07 pm, Ronald F. Guilmette wrote: >>>> (*) Insert stack guard page ahead of growable segments >>>>... >>>I personally have mixed feeling about this. >> >> By all means, please elaborate. >> >> Under what scenarios, if any, would the use of stack guards -not- be an >> exceptionally desirable thing? (I've already conceeded that >> memory-limited >> embedded uses are a special case. But there are specialized distros for >> that.) > >Well, I actually have a mixed feelings about stack guards themselves, I do >not feel they give good protection for other memory areas, be those areas >just few addresses away or far-far away. Well, no single technique is going to solve everything, but I'd rather have this one than nothing. >But that must be just my >ignorance, and you, as system architecture expert, are quite likely right, >no matter what I feel like. I have never and would never claim to be "architecture expert". Even if you were to catch me at my most braggadocious moment, I would only claim to be the World's Second Foremost authority (on nothing in particular) ranking just behind this fellow: https://en.wikipedia.org/wiki/Irwin_Corey (Actually, now that he has passed away, earlier this year, I guess that I can now lay claim to being the World's Foremost Authority.) >Thanks for all your insights you have shared! Likewise. Regards, rfg From owner-freebsd-questions@freebsd.org Fri Oct 13 06:53:44 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 4A014E3EE30 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 06:53:44 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D18CE76D24 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 06:53:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:49c8:5041:57cb:af84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id F0B2E6599 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 06:53:40 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Install-time "hardening" options To: freebsd-questions@freebsd.org References: <5273.1507843937@segfault.tristatelogic.com> From: Matthew Seaman <matthew@FreeBSD.org> Message-ID: <f53d3a86-4904-dd3f-2829-ac82fb4d9377@FreeBSD.org> Date: Fri, 13 Oct 2017 07:53:27 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5273.1507843937@segfault.tristatelogic.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vJlvi0j6DaBf5tmqAMIDhUWu9M8KBUrEL" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 06:53:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vJlvi0j6DaBf5tmqAMIDhUWu9M8KBUrEL Content-Type: multipart/mixed; boundary="kMfxNFm9RCBQvD7KqwHuMXoFXCMXCbT61"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <f53d3a86-4904-dd3f-2829-ac82fb4d9377@FreeBSD.org> Subject: Re: Install-time "hardening" options References: <5273.1507843937@segfault.tristatelogic.com> In-Reply-To: <5273.1507843937@segfault.tristatelogic.com> --kMfxNFm9RCBQvD7KqwHuMXoFXCMXCbT61 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 12/10/2017 22:32, Ronald F. Guilmette wrote: >=20 > In message <21945e9b-6573-5f8d-9b6d-26bbb8bfd748@sentex.net>,=20 > Mike Tancsa <mike@sentex.net> wrote: >=20 >>> (*) Disable opening Syslogd network socket (disables remote logging)= >> >> Is not the default -s and this options makes it -ss. "disable remote >> logging" as in the host you are configuring cannot send out messages t= o >> other syslogd servers. >=20 > Was that a question or a statement? >=20 > If you are assering that indeed, yes, star'ing this specific "hardening= " > option just causes the local machine to -not- send -outbound- syslog > messages, then certainly, that is indeed a horse of a different color > from what I was talking about, which was -accepting- -inbound- syslog > messages/packets. >=20 > At the very least, the wording on this option should be clarified to > make it apparent if the thing being disabled in this case is inbound > syslog messages or outbound ones. syslogd -ss disables any sort of syslog transmission over the network, in either direction. All you can do is write to local files or (the little used facility to) pipe syslog into an application. Cheers, Matthew --kMfxNFm9RCBQvD7KqwHuMXoFXCMXCbT61-- --vJlvi0j6DaBf5tmqAMIDhUWu9M8KBUrEL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZ4GLvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATDWYQAKOkzL1fOoou1ER+BMWOVB5G /rr6aUci42ejg7+CGn8+LlVlNz+6T5LfJuR9otB/ZYvTvfVSNL40YqTLfjBV8GL3 Gb3o/oFLmZX0ziRnl4pYjTTSpvhHSjHJBx3ffyuCIAZPM1jl6ywDy2zw5PMB7AFW ueh6GcfmmLbRZ7ygDdM3ZcoiWMjXBTYYTZukugdxchkpY09zuPYTHBUrPZO2CXiz y1kclwmilJEsuVivLfT2FEPGnt94uYGGNPhxHlRUr8rJNrm4TluxcgEigQuRMFXU bJZKZfhnZYo2ujXgrq6MCpMdjoHdhDeK71yTdRYN2tyjoWKDa1FDzINE6lZC94nl SfprIUmMMnn8YfGtKUoznkvqCL7ueTk8P2w5onKQE0Tq2RoIvut5dQEKR0yxjf1u xYib/i5I/YBDo4V4tuZm0CFqWCerOEqzj+bYG+lCYstApRm8aNHf9CJz9DGVgJWm gVYCaiCcVTS6mW9BT0JKHpEaItY1VoeHEAyoeaEwUUoEWhnwG7V3+JU+3Qz6D9gt P7cPSzdKrkGojzGQbypNAuYXZ+1R1kgCodiKJ9jQCWPUF/alq1CwaFa22QSjf3rz SSx5GMd5PFSpn11r+vN0/rfIrhD6j4muoNbJsVVXC7UqgaSn7OHUuqm+oCSd8dEJ EmZkNfYfc+EL4tqkXfHq =AESy -----END PGP SIGNATURE----- --vJlvi0j6DaBf5tmqAMIDhUWu9M8KBUrEL-- From owner-freebsd-questions@freebsd.org Fri Oct 13 07:16:43 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 ADDE5E3F423 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 07:16:43 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 56F4877570 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 07:16:43 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id v9D7GWb8050010 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 09:16:33 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id v9D7GWrt050007 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 09:16:32 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 13 Oct 2017 09:16:32 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: Install-time "hardening" options In-Reply-To: <4436.1507830609@segfault.tristatelogic.com> Message-ID: <alpine.BSF.2.21.1710130858070.44721@mail.fig.ol.no> References: <4436.1507830609@segfault.tristatelogic.com> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 07:16:43 -0000 On Thu, 12 Oct 2017 10:50-0700, Ronald F. Guilmette wrote: > > OK, I admit that I'm way behind the times, but yesterday was the first > time I ever saw all of these new "harding" options an install time, > i.e. the ones shown in the second screenshot here: > > https://forums.freebsd.org/threads/57807/ > > Anyway, I've got to say that I'm perplexed by most or all of these, *not* > because I don't understand at least something about what each one is > all about, but rather, I'm perplexed because I'm not even sure why > most or all of these are even options. Maybe somebody can & will > explain. > > I look at each one of these "hardening" options and I think that there > is only one current and obvious answer, i.e. it should -always- be > disabled, for all installations, or else it should always be enabled > for all installations. Let's go through them one by one... > > (*) Hide processes running as other users > > Well, I mean, yea. Obviously. If you ain't root, then processes > belonging to other users are none of your damn business. So, um, > why is this even optional? Maybe it's a system for your own personal use, not some system for the many. > (*) Hide processes running as other groups > > This one is a bit tricker, and I don't know the Right Answer. > > (*) Disable reading kernel message buffers for unprivledged users > > Why would anyone NOT want this altogether sensible restriction imposed? > > (*) Disable process debugging facilities for unprivledged users > > WTF?? If it's your process, why should I care what you do to it? > Why would anyone want to *prevent* any user from debugging a program, > ever? This makes no sense. > > (*) Randomize the PID of newly created processes > > Really? Are there are known exploits which rely on the predictability > of spawned PIDs?? Name three. Otherwise, this option is just silly. > > (*) Insert stack guard page ahead of growable segments > > The only case where I could see this NOT being a good idea would be > in some limited embedded contexts where main memory is really scarce. > But unless I'm wrong, that *ain't* what the general releases of FreeBSD > are targeting. (There are specialized fBSD distros for that.) So again, > why is this even optional? It makes no sense. > > (*) Clean the /tmp filesystem on system startup > > Really? Are there are known exploits which rely on the crap leftovers > in /tmp between reboots and which are NOT completely thwarted by simply > setting file permissions and ownership properly? When building ports a lot of crap ends up in /tmp only to be removed manually. Why not automate this to some extent? > (*) Disable opening Syslogd network socket (disables remote logging) > > Unbelievable! This was a a well-known and well-documented security > hole / exploit twenty years ago already! And it had -been- a well- > known and well-documented security hole for about a decade already > when, about 15 years ago, I personally made one whole hell of a lot > of sysadmins all over the Internet hopping mad when I started writing > console log message to them, each and every time one of their dumb ass > end-luser spammers spammed me. > I can't believe that the -default- on FreeBSD is apparently to leave > the Syslog open to trivial UDP invasion by every Tom, Dick, and Harry > on the whole bloody Internet. Sheer madness! Anyone in their right mind would employ some sort of (centralised) packet filtering, usually on their router or core switch. This would include blocking any outside access to UDP port 514. Once your network grows beyond a few FreeBSD hosts, it makes sense to have a central syslog host. Such a thing helped me determine hardware failure and not sabotage as the cause when one of our web servers died a couple of years ago. The last messages from the web server was about a USB device disappearing and reappearing. I also checked the logs of the security system to verify no illegal access to our server room. > (*) Disable Sendmail service > > This seems like a rather bizzare "hardening" option. What I mean is > that for the sake of people who are ernestly concerned about security, > I can think of a whole host of other "secure" alternatives, other than > just simply not running Sendmail. The first one that comes to mind is > running Postfix instead. And also, of course, where is the option > to run Sendmail, or Postfix, or any of the numerous other common > daemons within isolated jails? > > Forgive me, but it just seems rather stingy to only offer the security- > conscious sysadmin -only- the option to not run Sendmail (but I guess > that's better than nothing). This largely depends on your needs. I have all local email forwarded to the root account on a central host, and I don't mind running sendmail for that purpose, or whatever FreeBSD ships with. This makes it easier to review all runs of periodic(8) across all my systems. > Just my two cents... worth what you paid for them. -- Trond. From owner-freebsd-questions@freebsd.org Fri Oct 13 07:35:22 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 70006E3F820 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 07:35:22 +0000 (UTC) (envelope-from khaelin@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::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 EF05577BC0 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 07:35:21 +0000 (UTC) (envelope-from khaelin@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id i124so19182254wmf.3 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 00:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=Q7g2kXFWlSg1KswayX/VyUF3dpsmgLPz9L4sLvyGTcc=; b=Xo8u7RUWIiAoDdNjxF1WfMy3XQwj63qv+u1fnmKAN0nBitGMHJSNZ48Jmv2OTcAsMq vTBZEoAngtBXr1zUlZ08QT42HUwhtjwFLiwD9UBg+SRo9w0isXHkj3H683aM0gopoV+S tbyauybuNZYQHOTNGvsgbEOazEFmEASDzUW9WWl/faamSKb4vxNBiJd5ckNzVansk5Tn RGdmfYxIH1658QEWMWC3eZeLUM3jt+H/+E6MwKAwvf5v6W6+7dPtGoP5vMrBFfQ0xIsh kMj/pjhmZ5dOKwg3pfZXJafFkWOvrriN38AQcyrJBHwaOJwoOa7IixsVYl/ZP8VakHSa FdNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=Q7g2kXFWlSg1KswayX/VyUF3dpsmgLPz9L4sLvyGTcc=; b=dG/CARwa7j94qMM4ZM0ICSMyQ68zNqjPdiiNSPCqXlRWsSEtD1drUDJSLAqTEDdrM9 h8zY75aBIReiECpoFPr2KRx1tiwCgUfSqrTfdk3u8lieMbqbIt9AqqlYVic9a+53SJ5P /hAHHbuCRHnS5ovvHIFZydf0kxpNbwuJM/z7Jjz7/aoy2FdhPbIc3qXimDCk8iNXsPwN 7I73cCytDPo2bfw70gTlfEg0+/kZ6QimxfD/bZcEUp9TdgKUp4xWSYCbBbXYU1EjrHPa 5RU6Tyw4oJmzL0NZqaJDLhrBUIKvt3n/RneMMCHfHhxORt4mptV0qNHUBE/KCALfaTex mYlQ== X-Gm-Message-State: AMCzsaVbsQqfVcD1yXD4vjCR3aIxIhrDD3WfooPFhsv3lcOrsIQwAdsq rkcRTfMwz5xh2OwpiayTFiMiCmYN X-Google-Smtp-Source: ABhQp+RxntgTEEGnZIfuWJG3vEZBXQXZNHPiHbDS7F4POryxoAWfmdIblFEuD4cZEupfMKM4FRaCaA== X-Received: by 10.28.238.73 with SMTP id m70mr614452wmh.23.1507880120280; Fri, 13 Oct 2017 00:35:20 -0700 (PDT) Received: from valhala (2a01cb0405243e002fb920d2e225066d.ipv6.abo.wanadoo.fr. [2a01:cb04:524:3e00:2fb9:20d2:e225:66d]) by smtp.gmail.com with ESMTPSA id r63sm968821wmg.13.2017.10.13.00.35.19 for <freebsd-questions@freebsd.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 00:35:19 -0700 (PDT) Date: Fri, 13 Oct 2017 09:35:18 +0200 From: Nicolas Martyanoff <khaelin@gmail.com> To: freebsd-questions@freebsd.org Subject: freebsd stable images in google cloud Message-ID: <20171013073518.GA796@valhala> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 07:35:22 -0000 Hi, The FreeBSD project releases RELEASE gcloud images. I found out that it also regularly releases STABLE images[1], which is very good. However it seems they have no associated image family[2]. Having stable image families, for example 'freebsd-11-1-stable' for all 11.1 stable images, would allow users to use "the last stable 11.1 image available". This would make life easier, for example when one uses scripts to build images and want these images to be based on the last stable version. Is there someone in particular in charge of these stable images ? Maybe I could help. Regards, [1] gcloud compute images list --project freebsd-org-cloud-dev --filter="name~'^freebsd-.*-stable-'" [2] https://cloud.google.com/compute/docs/images#image_families -- Nicolas Martyanoff http://snowsyn.net khaelin@gmail.com From owner-freebsd-questions@freebsd.org Fri Oct 13 09:43:09 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 3DF50E42F90 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 09:43:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC27881121 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 09:43:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Fri, 13 Oct 2017 11:43:04 +0200 Received: from r56.edvax.de (port-92-195-251-69.dynamic.qsc.de [92.195.251.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 288313CC42; Fri, 13 Oct 2017 11:43:03 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9D9h3Ea002473; Fri, 13 Oct 2017 11:43:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 13 Oct 2017 11:43:03 +0200 From: Polytropon <freebsd@edvax.de> To: Antonio Olivares <olivares14031@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Redirection in websites Message-Id: <20171013114303.3a1f17da.freebsd@edvax.de> In-Reply-To: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> Reply-To: Polytropon <freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 6E23A683483 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1480 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 09:43:09 -0000 On Thu, 12 Oct 2017 19:43:05 -0500, Antonio Olivares wrote: > Something strange is going on when I try to visit a website. I type > www.duckduckgo.com in the address bar, and instead of getting duckduckgo, I > see google. I do the same but visting www.yandex.com, and I get google.com. Interestingly, I have seen this strange behaviour on tablets and on smartphones (in their respective web browsers); it also happens when you enter an IP, for example 192.168.100.1 (to connect to a Fritz!Box) - and you get Google search results. This must be some "helpful modern setting"... What web browser are you using? > Some of my friends say that it is a conspiracy, 1984 by George Orwell is > happening. It's happening all the time, and nobody cares. > I am a mathematics teacher and our network at school is not > behaving normally. School networks hardly do, because their administration suffers from a severe lack of professionals. :-) > I asked kindly to administrators to open some > opensource sites, and some pages which were rated unknown by the software. > But, I cannot do normal things like update my machines because someone > believes I am downloading illegal materials/files. "Believe" is the "know" of the stupid ones. :-) > Is there a way to > configure tor network on my amd64 bit machine to bypass these troubles? I > am not doing anything wrong but I don't feel good not updating my machines > and that redirection is also not good. As lomng as HTTPS traffic isn't blocked in general, that would probably be possible. Tunneling via "fake HTTP" would also be possible (except they have strict whitelisting in place). > If tor is not viable, are there any wireless broadband providers that > respect the user's freedom, then I can get one device and connect from it > to access the sites that I need also update my machines. You can use your private smartphone to connect to the Internet, and connect your computer via WLAN to the smartphone. That will be slow, but you are independent from your local network. Adding a USB stick with a LTE connection is also possible. > Friends tell me > that such companies do not exist. I hope that is not the case. There are no such "companies per se", but you can do it on your own (with the help of the companies who sell you the devices needed). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Oct 13 11:12:46 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 064EDE44BAF for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 11:12:46 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AF9A8E8 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 11:12:45 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.90]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9DB3Oks015531 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 12:03:27 +0100 (BST) (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: <20171009191435.145c9dd2.freebsd@edvax.de> References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> MIME-Version: 1.0 Subject: Re: How to recover data from dead hard drive. From: "Frank Leonhardt (m)" <frank2@fjl.co.uk> Date: Fri, 13 Oct 2017 12:03:11 +0100 CC: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Message-ID: <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 11:12:46 -0000 Good list that. ddrescue is, IME, the place to start. Or have I confused it with dd_rescue again :-) But what do you mean by dead? If its not spinning or not recognized by the system as existing, you'll get nowhere with software. I transplant the platters to a new IDENTICAL drive mechanism and work from that. You can by an identical drive from companies who stock samples them "just in case". Unsurprisingly, they're not cheap. And transferring platters is not easy. I also have some expensive licensed software for recovering incomplete file systems, and charge Windows users like a wounded rhinoceros when they need their data back. On 9 October 2017 18:14:35 BST, Polytropon <freebsd@edvax.de> wrote: >On Mon, 09 Oct 2017 12:27:51 -0400, Ernie Luzar wrote: >> A while back I remember reading a post giving the steps and software >to >> use to recover data from a dead H.D. > >Last time it appeared: > >Subject: Re: Recovering data from a broken HDD >Date: Mon, 18 Sep 2017 01:17:47 +0200 > > > >> Could that be reposted again. > >Sure. :-) > >System: > dd > fsck_ffs > clri > fsdb > fetch -rR <device> > recoverdisk > >Ports: > ddrescue > dd_rescue > ffs2recov > magicrescue > testdisk > The Sleuth Kit: > fls > dls > ils > autopsy > scan_ffs > recoverjpeg > foremost > photorec > fatback > >Proprietary (free test version for diagnostics): > > SysDev Laboratories LLC "UFS Explorer" > >Most tools require you to know what you're doing, so learning >how to use those tools appears to be mandatory. As I said, work >with (a copy of) the copy of the disk if possible, so in worst >case you can start from the beginning without feeling guilty >that you did something wrong. ;-) > > >-- >Polytropon >Magdeburg, Germany >Happy FreeBSD user since 4.0 >Andra moi ennepe, Mousa, ... >_______________________________________________ >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" -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@freebsd.org Fri Oct 13 11:52:51 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 3CF8EE45BB5 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 11:52:51 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D85181AAB for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 11:52:50 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.93]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9DBqlg6023691 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 13 Oct 2017 12:52:48 +0100 (BST) (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> References: <59DA19E8.5000602@gmail.com> <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: forcing new dynamic ip address From: "Frank Leonhardt (m)" <frank2@fjl.co.uk> Date: Fri, 13 Oct 2017 12:18:55 +0100 To: Erwan David <erwan@rail.eu.org>, freebsd-questions@freebsd.org Message-ID: <9E9FD41B-997F-4506-AAF7-C70F038BBF70@fjl.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 11:52:51 -0000 On 8 October 2017 13:37:30 BST, Erwan David <erwan@rail.eu.org> wrote: >Le 10/08/17 à 14:28, Ernie Luzar a écrit : >> Hello List; >> >> I have a "home service" account from my ISP. The ISP issues an >dynamic >> ip address which has not changed in 12 years. >> >> My host has 2 NICs, one which is not used. I know if I plug the >internet >> cable into the un-used NIC and make the appropriate config changes >and >> reboot I will get a different dynamic ip address. >> >> Is there a simpler way to expire the lease to force the ISP dhcp to >> refresh with a different dynamic ip address? >> >> The goal is to have a cron job that gets a different dynamic ip >address >> assigned to my host's front door every a week. >> >> Just another level of security to make it very hard for the script >> kiddies from finding any open ports I may have. >> >> Thanks for the help. >> > >DHCP protocol states that the server should try to give you the same IP >address. And dhcp servers keep track of the addresses they allocated in >the past, to give them back if possible. Hate to be a pendent, but it may not be a DHCP server giving you the IP address unless you're running Ethernet. In some parts of the world people do run PPPoE instead of ATM, so it might conceivability work this way. Most DSL use LCP to configure IP address IME. Once you go past the modem socket it doesn't look like Kansas any more. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@freebsd.org Fri Oct 13 12:34:41 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 464C0E46FA8 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 12:34:41 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A2A63160 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 12:34:40 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1507898077; x=1510490077; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=w6A6TthE7NbZncSm9XKuWDsVGY9SlSNR17rLXmQygVw=; b=YydK/lEnMBtGZAVFLqdnJZayblsMQALETod7A2omS4M1miSp/YZcoCRkaAt7PeQczzGSMo0FC4qQ/fp8U9M36SzfdUF6DGZ15V0+z02CzLz+WH+Q2z6LcgGYTLg16TGvcAThpwqPJAzEcX5gj6h6B+a4ayUbgbgMq06GpE7h4PM= X-Thread-Info: NDI1MC4xMi5lNTAwMDAwMDBlMjYyOC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r6.us-west-2a.aws.in.socketlabs.com (r6.us-west-2a.aws.in.socketlabs.com [52.40.216.92]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 13 Oct 2017 08:34:16 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r6.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256) Fri, 13 Oct 2017 08:34:20 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from <steve@sohara.org>) id 1e2zAO-000Kn1-4l; Fri, 13 Oct 2017 12:34:16 +0000 Date: Fri, 13 Oct 2017 13:34:16 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Cc: Polytropon <freebsd@edvax.de> Subject: Re: Redirection in websites Message-Id: <20171013133416.d9f29e7e9dd287a0ee655e43@sohara.org> In-Reply-To: <20171013114303.3a1f17da.freebsd@edvax.de> References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> <20171013114303.3a1f17da.freebsd@edvax.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 12:34:41 -0000 On Fri, 13 Oct 2017 11:43:03 +0200 Polytropon <freebsd@edvax.de> wrote: > On Thu, 12 Oct 2017 19:43:05 -0500, Antonio Olivares wrote: > > Something strange is going on when I try to visit a website. I type > > www.duckduckgo.com in the address bar, and instead of getting > > duckduckgo, I see google. I do the same but visting www.yandex.com, > > and I get google.com. > > Interestingly, I have seen this strange behaviour on tablets > and on smartphones (in their respective web browsers); it also > happens when you enter an IP, for example 192.168.100.1 (to > connect to a Fritz!Box) - and you get Google search results. > This must be some "helpful modern setting"... A common arrangement these days is that the URL bar is also a search box which will often return the first hit as a page but not always (the algorithm is not clear to me). Giving a full URL complete with the http:// goes direct everything else is search assisted. > > Some of my friends say that it is a conspiracy, 1984 by George Orwell is > > happening. > > It's happening all the time, and nobody cares. Most browsers let you change the search engine used in the URL bar (some are stubborn), I have mine set to startpage. -- Steve O'Hara-Smith <steve@sohara.org> From owner-freebsd-questions@freebsd.org Fri Oct 13 13:00:17 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 D83D1E477E1 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 13:00:17 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 848893E22 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 13:00:17 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x22a.google.com with SMTP id w45so5228493uac.3 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 06:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VAfzd+WvVDzppm76KM5pYL21yBgpQX1mu1KK6ci+NI0=; b=uidgWFcmluOhkZPmrEQBs/Vu9eAPWlCiUQtnzUQUnTXcNCtiNQeW/Oa4JQkzqqR0td MiHB1FOAtJERV3Z77djG3hqmud9bH961nanQc3r6VBrHjWpGZUKkniShrNRZoCuZr0y/ Ij6iOfH5d4UYItx4bDsha4Fx3rKgYa5Fde5a9WzRdpaTioI2rtivNfPSEVraXpHutRTs W4PHTJ7WSzGCX8SIbuk/PYJspqtTia8DHEpwS2Ncs+KEww4A4a2rE5dBIXCiJqoPrQ9z +zJuE+qw67t5w4lQbhTno3MIDJBeKrLs1gKzHIBT2uf85aMsDzWuevrmaP4HPCYynWnL yBsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VAfzd+WvVDzppm76KM5pYL21yBgpQX1mu1KK6ci+NI0=; b=OspCw4/1JTNaGAcuvigqkPAF99V576mc+9PWZe27Gcu8jfFzFbQQ2G4OkJ9AVStpRg bIuRedL1qhaGCOY8nfMvPphOrqVhFfa5WgL4FeVe9IhcO5Kgn7d/chDReX9fjmTMkHf2 VuwWjm+J46s2rHvWu0P4YnxxhjFmgauXk/O1GXxDnTJJECbA8i0NN9ohd2Ur5WhGoTtm oEZAQdnrMDFj6RbYsgpvL6N8PgOjtLEmcVFM9UYrycOC+g1BvfnNtLPrxVTxbB9CvqWz CW+mcLUdBgL7tgeC7d4oDiA+l9idQmQBW7UQk/3dWxhuVnrDp9xdJN/dZYiomEQ8f495 zfFg== X-Gm-Message-State: AMCzsaX3r0hmviX0H4wjXKLceNv7fcXacoW8cHrNA7kJIqz7PL2vRl9z eNWgwj4bFtFdWyQR6Ds3zyIbS0v9Ao5Ow4p2K1liRQ== X-Google-Smtp-Source: AOwi7QCSIoPZXfKUDo+yDTRWNaVOJCDmSCwRpY0S85GzjzsOHc4BPzJdLS+W4LaLnTG7xqZZBCUdteX7/0vAtwHLTBE= X-Received: by 10.159.58.201 with SMTP id q9mr1066516uag.98.1507899616186; Fri, 13 Oct 2017 06:00:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Fri, 13 Oct 2017 06:00:15 -0700 (PDT) In-Reply-To: <20171013114303.3a1f17da.freebsd@edvax.de> References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> <20171013114303.3a1f17da.freebsd@edvax.de> From: Antonio Olivares <olivares14031@gmail.com> Date: Fri, 13 Oct 2017 16:00:15 +0300 Message-ID: <CAJ5UdcN4Yi+3GONkqOays=gSLi88wDJAAMyxjfkeQWkHOJg1fw@mail.gmail.com> Subject: Re: Redirection in websites To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 13:00:18 -0000 On Fri, Oct 13, 2017 at 12:43 PM, Polytropon <freebsd@edvax.de> wrote: > On Thu, 12 Oct 2017 19:43:05 -0500, Antonio Olivares wrote: >> Something strange is going on when I try to visit a website. I type >> www.duckduckgo.com in the address bar, and instead of getting duckduckgo, I >> see google. I do the same but visting www.yandex.com, and I get google.com. > > Interestingly, I have seen this strange behaviour on tablets > and on smartphones (in their respective web browsers); it also > happens when you enter an IP, for example 192.168.100.1 (to > connect to a Fritz!Box) - and you get Google search results. > This must be some "helpful modern setting"... I run a ping yandex.com and I get [austrumi@ ~]$ ping www.yandex.com PING www.yandex.com (213.180.204.62) 56(84) bytes of data. but it stays there and does not get more hits, I type the full address and I get a censorship page from the school. See page attached if permitted by school. The other pages do the same. > > What web browser[austrumi@ ~]$ ping www.yandex.com PING www.yandex.com (213.180.204.62) 56(84) bytes of data. are you using? > Using mozilla-firefox and/or firefox-esr because I need java plugin for school stuff. > > > >> Some of my friends say that it is a conspiracy, 1984 by George Orwell is >> happening. > > It's happening all the time, and nobody cares. This is real sad, but what can one do, if the people do not care that their rights are being taken away by others. > > > >> I am a mathematics teacher and our network at school is not >> behaving normally. > > School networks hardly do, because their administration suffers > from a severe lack of professionals. :-) > > > >> I asked kindly to administrators to open some >> opensource sites, and some pages which were rated unknown by the software. >> But, I cannot do normal things like update my machines because someone >> believes I am downloading illegal materials/files. > > "Believe" is the "know" of the stupid ones. :-) > > > >> Is there a way to >> configure tor network on my amd64 bit machine to bypass these troubles? I >> am not doing anything wrong but I don't feel good not updating my machines >> and that redirection is also not good. > > As lomng as HTTPS traffic isn't blocked in general, that would > probably be possible. Tunneling via "fake HTTP" would also be > possible (except they have strict whitelisting in place). > > > >> If tor is not viable, are there any wireless broadband providers that >> respect the user's freedom, then I can get one device and connect from it >> to access the sites that I need also update my machines. > > You can use your private smartphone to connect to the Internet, > and connect your computer via WLAN to the smartphone. That will > be slow, but you are independent from your local network. This may be my only option, but the connections in school from cell phone are not very strong :( > > Adding a USB stick with a LTE connection is also possible. > > > >> Friends tell me >> that such companies do not exist. I hope that is not the case. > > There are no such "companies per se", but you can do it on > your own (with the help of the companies who sell you the > devices needed). > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... I switched my startup page to duckduckgo.com, but no matter what I do I still get google.com. I will have to be careful with what I do from now on. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Fri Oct 13 14:25:29 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 3108EE49863 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 14:25:29 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org (oyapock.aktivix.org [162.247.75.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 106EA66CD7 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 14:25:28 +0000 (UTC) (envelope-from k4t@3msg.es) Received: from oyapock.aktivix.org by oyapock.aktivix.org with esmtpsa; Fri, 13 Oct 2017 15:25:09 +0100 Received: from aland by apple.rat.burntout.org with local (Exim 4.84_2) (envelope-from <k4t@3msg.es>) id 1e30tp-0005BF-J9; Fri, 13 Oct 2017 15:25:17 +0100 Date: Fri, 13 Oct 2017 15:25:16 +0100 From: Kate Dawson <k4t@3msg.es> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD ZFS file server with SSD HDD Message-ID: <20171013142516.GH24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> <CA+tpaK3Cga3SKmbKnRts_SSp=D4qk9p+aTzNBZeEqDuvQGVd9A@mail.gmail.com> <20171012103809.GF24374@apple.rat.burntout.org> <6ac05886-7dfd-b7f8-3183-398479647b69@sentex.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MP5ln1Rcf9Bvi+ZW" Content-Disposition: inline In-Reply-To: <6ac05886-7dfd-b7f8-3183-398479647b69@sentex.net> OpenPGP: id=E81A4BBA;url=hkp://pool.sks-keyservers.net User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 14:25:29 -0000 --MP5ln1Rcf9Bvi+ZW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2017 at 10:34:37AM -0400, Mike Tancsa wrote: >=20 > There is some blocking, but the throughput is not that high (kBps). Not > sure if all the crypto (geli) has some impact on that. Are you using > cryptodev and aesni.ko ? The processors are quite old ( Opteron 6128 ) and I don't think they support aesni.ko or other hardware crypto acceleration.=20 My thinking was not the raw throughput being the bottleneck, but number of operations per second. Thanks,=20 Kate Dawson --=20 "The introduction of a coordinate system to geometry is an act of violence" --MP5ln1Rcf9Bvi+ZW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJZ4MzMAAoJEAGiBQHoGku6FqYQAJUB+JgXuekiG7Sny6CPf8sc 261Lax3c6xlJJ2aDhIRURbPJ7jgNuX4b1jfWq5H0fyvyahurdm8crTtOkQ7cdxvD pfUqbT/HdFxYSq0rT+EomnoQtEpWxyLyeG6KU6bdZLOBg7Sj+QnP15JALVA91ieU jAmx3izPECMS5umY8Vdz1UgF46HXqiokVeOJ4rwT/GsEjI6QFXBYpMNK8tg9eejV +AJJWMG8DqO2fdLqitMXimfZJtPKPqhEOQBZnSDMs61sUqgREsOOCxhfb2z013iB L1bw9BQo+IOKC9K7LSkWHYrczT9KWP3zuE8OXSXux+wAJnyj7/m/AojhdASXOvKt w29o3FRxTnw58mijwzZIKRHMUNFUiSBpp94CXCzPg8c0C8aZmCJ7jFxRQHTAsDJq Q8KZVsTSspJrFzsMnb3NqItgGCZO9fgEcJ13bM+HNHOhWa6xUzwSvHkrih0iaXE8 Ae64hol+eS8RLHHtMlNKFuSTcdzCBw/3w8h8POeZNrzA6S9mU1Zew7qtYoEqF0IJ V3+AT1Bm5l2PlxendIjmWPBL1NUMCYgVQSoQN4DZa3MvNp8X68HBeIbdyZ4VPT9i b4zRMM173TCuelJ/dtEP3PfYMXsNKB0dsdztRbcQi05MAJCLnHqZD5z7rmkV1UYg tUhRDQiMYP1z5Uz57ZJQ =ZBhA -----END PGP SIGNATURE----- --MP5ln1Rcf9Bvi+ZW-- From owner-freebsd-questions@freebsd.org Fri Oct 13 15:11:05 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 E68ECE4A763 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 15:11:05 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id B9E456890E for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 15:11:05 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 69B04CB8D07; Fri, 13 Oct 2017 10:11:04 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 13 Oct 2017 10:11:04 -0500 (CDT) Message-ID: <14314.128.135.52.6.1507907464.squirrel@cosmo.uchicago.edu> In-Reply-To: <CAJ5UdcN4Yi+3GONkqOays=gSLi88wDJAAMyxjfkeQWkHOJg1fw@mail.gmail.com> References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> <20171013114303.3a1f17da.freebsd@edvax.de> <CAJ5UdcN4Yi+3GONkqOays=gSLi88wDJAAMyxjfkeQWkHOJg1fw@mail.gmail.com> Date: Fri, 13 Oct 2017 10:11:04 -0500 (CDT) Subject: Re: Redirection in websites From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: "Antonio Olivares" <olivares14031@gmail.com> Cc: "Polytropon" <freebsd@edvax.de>, "FreeBSD Questions" <freebsd-questions@freebsd.org> Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 15:11:06 -0000 On Fri, October 13, 2017 8:00 am, Antonio Olivares wrote: > On Fri, Oct 13, 2017 at 12:43 PM, Polytropon <freebsd@edvax.de> wrote: >> On Thu, 12 Oct 2017 19:43:05 -0500, Antonio Olivares wrote: >>> Something strange is going on when I try to visit a website. I type >>> www.duckduckgo.com in the address bar, and instead of getting >>> duckduckgo, I >>> see google. I do the same but visting www.yandex.com, and I get >>> google.com. >> >> Interestingly, I have seen this strange behaviour on tablets >> and on smartphones (in their respective web browsers); it also >> happens when you enter an IP, for example 192.168.100.1 (to >> connect to a Fritz!Box) - and you get Google search results. >> This must be some "helpful modern setting"... > I run a ping yandex.com and I get > > [austrumi@ ~]$ ping www.yandex.com > PING www.yandex.com (213.180.204.62) 56(84) bytes of data. > but it stays there and does not get more hits, I type the full address > and I get a censorship page from the school. See page attached if > permitted by school. > The other pages do the same. > >> >> What web browser[austrumi@ ~]$ ping www.yandex.com > PING www.yandex.com (213.180.204.62) 56(84) bytes of data. > are you using? >> > Using mozilla-firefox and/or firefox-esr because I need java plugin > for school stuff. >> >> >> >>> Some of my friends say that it is a conspiracy, 1984 by George Orwell >>> is >>> happening. >> >> It's happening all the time, and nobody cares. > This is real sad, but what can one do, if the people do not care that > their rights are being taken away by others. >> I'm sure people already answered that redirect can happen on the perimeter firewall of one's network or on the side of [rogue] network provider. So, I'll only comment on the conspiracy. I personally consider it quite likely that google collects data for "big brother". All mentioning of that are "shushed down", but they kind of are supported by, say, reasoning: you are offered to use "free services" (that cost provider - google a lot!), who is paying for that and why? I only know one source of uncounted and unaccounted for money: taxpayer's money. Another thing I observed myself as sysadmin: gmail accepts all messages, even for users that do not exist, and only then it replies you with non-delivery message for non existing users. Why accept ALL messages? To just extract information, or someone can think of another reason? All browsers for quite some time do the following by default: if you type wrong URL, they do google search on that and give you results of search. Instead of right thing: giving me error that that domain does not exist. What was the reason to introduce this sort of behavior? But alas, people are already conditioned en masse to not think of anything, to do what they need to do by doing google search first... As someone just asked another person (who was looking up one's the Departmental website on google): do you guys ask google how much money do you have left in your wallet? Oh well, I guess the saddest lesson of history is that people do not learn lessons of history (then get what they deserve). </rant> (I should have opening "rant" tag somewhere, but it was hard to figure where to put it ;-) Valeri >> >> >>> I am a mathematics teacher and our network at school is not >>> behaving normally. >> >> School networks hardly do, because their administration suffers >> from a severe lack of professionals. :-) >> >> >> >>> I asked kindly to administrators to open some >>> opensource sites, and some pages which were rated unknown by the >>> software. >>> But, I cannot do normal things like update my machines because someone >>> believes I am downloading illegal materials/files. >> >> "Believe" is the "know" of the stupid ones. :-) >> >> >> >>> Is there a way to >>> configure tor network on my amd64 bit machine to bypass these troubles? >>> I >>> am not doing anything wrong but I don't feel good not updating my >>> machines >>> and that redirection is also not good. >> >> As lomng as HTTPS traffic isn't blocked in general, that would >> probably be possible. Tunneling via "fake HTTP" would also be >> possible (except they have strict whitelisting in place). >> >> >> >>> If tor is not viable, are there any wireless broadband providers that >>> respect the user's freedom, then I can get one device and connect from >>> it >>> to access the sites that I need also update my machines. >> >> You can use your private smartphone to connect to the Internet, >> and connect your computer via WLAN to the smartphone. That will >> be slow, but you are independent from your local network. > This may be my only option, but the connections in school from cell > phone are not very strong :( >> >> Adding a USB stick with a LTE connection is also possible. >> >> >> >>> Friends tell me >>> that such companies do not exist. I hope that is not the case. >> >> There are no such "companies per se", but you can do it on >> your own (with the help of the companies who sell you the >> devices needed). >> >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... > > I switched my startup page to duckduckgo.com, but no matter what I do > I still get google.com. > I will have to be careful with what I do from now on. > > Best Regards, > > > Antonio > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Fri Oct 13 15:31:24 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 8DD4DE4AFFA for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 15:31:24 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 6195069D26 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 15:31:23 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 20EEDCB8D07; Fri, 13 Oct 2017 10:31:23 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Fri, 13 Oct 2017 10:31:23 -0500 (CDT) Message-ID: <55023.128.135.52.6.1507908683.squirrel@cosmo.uchicago.edu> Date: Fri, 13 Oct 2017 10:31:23 -0500 (CDT) Subject: Re: Redirection in websites From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: galtsev@kicp.uchicago.edu Cc: "Antonio Olivares" <olivares14031@gmail.com>, "Polytropon" <freebsd@edvax.de>, "FreeBSD Questions" <freebsd-questions@freebsd.org> Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> <20171013114303.3a1f17da.freebsd@edvax.de> <CAJ5UdcN4Yi+3GONkqOays=gSLi88wDJAAMyxjfkeQWkHOJg1fw@mail.gmail.com> <14314.128.135.52.6.1507907464.squirrel@cosmo.uchicago.edu> In-Reply-To: <14314.128.135.52.6.1507907464.squirrel@cosmo.uchicago.edu> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 15:31:24 -0000 On Fri, October 13, 2017 10:11 am, Valeri Galtsev wrote: > > On Fri, October 13, 2017 8:00 am, Antonio Olivares wrote: >> On Fri, Oct 13, 2017 at 12:43 PM, Polytropon <freebsd@edvax.de> wrote: >>> On Thu, 12 Oct 2017 19:43:05 -0500, Antonio Olivares wrote: >>>> Something strange is going on when I try to visit a website. I type www.duckduckgo.com in the address bar, and instead of getting duckduckgo, I >>>> see google. I do the same but visting www.yandex.com, and I get google.com. >>> Interestingly, I have seen this strange behaviour on tablets >>> and on smartphones (in their respective web browsers); it also happens when you enter an IP, for example 192.168.100.1 (to >>> connect to a Fritz!Box) - and you get Google search results. >>> This must be some "helpful modern setting"... >> I run a ping yandex.com and I get >> [austrumi@ ~]$ ping www.yandex.com >> PING www.yandex.com (213.180.204.62) 56(84) bytes of data. >> but it stays there and does not get more hits, I type the full address and I get a censorship page from the school. See page attached if permitted by school. >> The other pages do the same. >>> What web browser[austrumi@ ~]$ ping www.yandex.com >> PING www.yandex.com (213.180.204.62) 56(84) bytes of data. >> are you using? >> Using mozilla-firefox and/or firefox-esr because I need java plugin for school stuff. Antonio, there is one thing you may want to try: use tor web browser, or tor itself. If you will be able to get one of the above ways on tor network, you will be able to do what you want the way you want. Look at torproject website for more information: https://www.torproject.org/ Valeri >>>> Some of my friends say that it is a conspiracy, 1984 by George Orwell is >>>> happening. >>> It's happening all the time, and nobody cares. >> This is real sad, but what can one do, if the people do not care that their rights are being taken away by others. > > I'm sure people already answered that redirect can happen on the perimeter > firewall of one's network or on the side of [rogue] network provider. So, > I'll only comment on the conspiracy. I personally consider it quite likely > that google collects data for "big brother". All mentioning of that are "shushed down", but they kind of are supported by, say, reasoning: you are > offered to use "free services" (that cost provider - google a lot!), who is paying for that and why? I only know one source of uncounted and unaccounted for money: taxpayer's money. Another thing I observed myself as sysadmin: gmail accepts all messages, even for users that do not exist, > and only then it replies you with non-delivery message for non existing users. Why accept ALL messages? To just extract information, or someone can think of another reason? > > All browsers for quite some time do the following by default: if you type > wrong URL, they do google search on that and give you results of search. Instead of right thing: giving me error that that domain does not exist. What was the reason to introduce this sort of behavior? > > But alas, people are already conditioned en masse to not think of anything, to do what they need to do by doing google search first... As someone just asked another person (who was looking up one's the > Departmental website on google): do you guys ask google how much money do > you have left in your wallet? > > Oh well, I guess the saddest lesson of history is that people do not learn > lessons of history (then get what they deserve). > > </rant> > > (I should have opening "rant" tag somewhere, but it was hard to figure where to put it ;-) > > Valeri > >>>> I am a mathematics teacher and our network at school is not >>>> behaving normally. >>> School networks hardly do, because their administration suffers from a severe lack of professionals. :-) >>>> I asked kindly to administrators to open some >>>> opensource sites, and some pages which were rated unknown by the software. >>>> But, I cannot do normal things like update my machines because someone >>>> believes I am downloading illegal materials/files. >>> "Believe" is the "know" of the stupid ones. :-) >>>> Is there a way to >>>> configure tor network on my amd64 bit machine to bypass these troubles? >>>> I >>>> am not doing anything wrong but I don't feel good not updating my machines >>>> and that redirection is also not good. >>> As lomng as HTTPS traffic isn't blocked in general, that would probably be possible. Tunneling via "fake HTTP" would also be >>> possible (except they have strict whitelisting in place). >>>> If tor is not viable, are there any wireless broadband providers that respect the user's freedom, then I can get one device and connect from >>>> it >>>> to access the sites that I need also update my machines. >>> You can use your private smartphone to connect to the Internet, and connect your computer via WLAN to the smartphone. That will be slow, but you are independent from your local network. >> This may be my only option, but the connections in school from cell phone are not very strong :( >>> Adding a USB stick with a LTE connection is also possible. >>>> Friends tell me >>>> that such companies do not exist. I hope that is not the case. >>> There are no such "companies per se", but you can do it on >>> your own (with the help of the companies who sell you the >>> devices needed). >>> -- >>> Polytropon >>> Magdeburg, Germany >>> Happy FreeBSD user since 4.0 >>> Andra moi ennepe, Mousa, ... >> I switched my startup page to duckduckgo.com, but no matter what I do I still get google.com. >> I will have to be careful with what I do from now on. >> Best Regards, >> Antonio >> _______________________________________________ >> 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" > > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Fri Oct 13 16:24:49 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 2E16EE265D9 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 16:24:49 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::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 F177E6BCBD for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 16:24:48 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: by mail-oi0-x22c.google.com with SMTP id n82so15131739oig.3 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 09:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=motumweb-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=GJkANfFbq3fAki5+VuLiwIuhheBkLh9tP4+0J5j0z/E=; b=0hBYE+MdQcGSz8uFcH/iWKdWWuObThqgrZPuf47JUhU0u6dSL/4fO8Oowc3eKOwRQg 1ssRrfU/AlsEqhwRqBzA9AIXA6byPU88xCHYsuy7Y+opoLBE3ZtNnRZJwDjCprLJ2kll eS+49DUHl1LW3owK0A8TCp57qEWUnyzFLBsTVMGT26y8f8Cb+8mxTeKaIEuTZ+KanYH+ 8vdv0yClCpzBDRxNspxqCvpe+/ut5J0nGC4H0WTkGZmRqX6U5GoWU5Uky7jWqvGBoN4z pRsuLhhAy+0RQFgXYJ3/gjDUbtihHQxSvo4yuVDY7VHsAucWf5rEAcB3knMhc8rAvL6s iIrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GJkANfFbq3fAki5+VuLiwIuhheBkLh9tP4+0J5j0z/E=; b=pjhAmiTbRaOlg4RwxsFyNim05JPhbY4ag8h4BEKBcZzuKP3AAZJK0BSeZtt+4ha9rz RiiLYwaYLE0EfugdB4fW+idAdI0rH4t2SLW/HsG28PNOVe8gxHlEIA7nqFwltz3NrM7S lknSDuTw/XK6HcYzlkJ3vhzoq8gYPyW1Qy8xG1yUnhtCa5IiFPXAV++RMCTupweUsY+N EWGUgs9HKuOrfSVPpUnlqxP7iQqMKXGHgradyInY7ecO23yz96WjNgaIXiw9ixmZcwYA w2eYDfd09XDb0XdlEu66BkSVf0aP1wYdiGeph/ny0lUq8ApeXQs3AbrPeQ3IeaCU1qw3 4UQg== X-Gm-Message-State: AMCzsaUxtC0Cpjam1QeSHlfm+yAJBkVCVV0g2C/bkTF5p7gGypPEA8Cg i+G9i1HfdugEzHeIpUuF5BZlK5KFEQ== X-Google-Smtp-Source: ABhQp+T179P0bxjwFUAoumNXfsFkxsgICbULsnKv4vk6vdpB0aYVndQAofnilTotf5Nemc26/qByww== X-Received: by 10.202.72.146 with SMTP id v140mr1040498oia.365.1507911888054; Fri, 13 Oct 2017 09:24:48 -0700 (PDT) Received: from [192.168.11.2] ([187.210.81.114]) by smtp.googlemail.com with ESMTPSA id j20sm467693oih.49.2017.10.13.09.24.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 09:24:47 -0700 (PDT) Subject: Re: Redirection in websites To: Antonio Olivares <olivares14031@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> References: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> From: =?UTF-8?B?RWZyYcOtbiBEw6ljdG9y?= <efraindector@motumweb.com> Message-ID: <06f2aef8-cdd2-e2f5-878e-a0f3dad4fb95@motumweb.com> Date: Fri, 13 Oct 2017 11:24:46 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <CAJ5UdcP5aPjY+AUpTzTM7kP_W0AYZEcdLRGAhVot5zYw7AzU0Q@mail.gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: es-ES X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 16:24:49 -0000 Hello Antonio. You could setup a VPN server on your home (listening on a port that is not blocked on the school network like 443). Then connect your device to that VPN and that way all the traffic will be redirected and encrypted and it will be like you are navigating from home. If the connection on your home is not that great, you could search for a VPS provider (to setup the VPN yourself) or search for a VPN provider that meet your needs. Best regards, Efrain El 12/10/2017 a las 07:43 p. m., Antonio Olivares escribió: > Dear FreeBSD users, > > Something strange is going on when I try to visit a website. I type > www.duckduckgo.com in the address bar, and instead of getting duckduckgo, I > see google. I do the same but visting www.yandex.com, and I get google.com. > Except for yahoo, I cannot access the other sites like I used to. I cannot > run ftp from a latex site, I get operation timed out error messages when > running > # pkg upgrade > > Some of my friends say that it is a conspiracy, 1984 by George Orwell is > happening. I am a mathematics teacher and our network at school is not > behaving normally. I asked kindly to administrators to open some > opensource sites, and some pages which were rated unknown by the software. > But, I cannot do normal things like update my machines because someone > believes I am downloading illegal materials/files. Is there a way to > configure tor network on my amd64 bit machine to bypass these troubles? I > am not doing anything wrong but I don't feel good not updating my machines > and that redirection is also not good. > > If tor is not viable, are there any wireless broadband providers that > respect the user's freedom, then I can get one device and connect from it > to access the sites that I need also update my machines. Friends tell me > that such companies do not exist. I hope that is not the case. Thanks for > your advice, suggestions and hints. > > Best Regards, > > > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Oct 13 16:57:30 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 260ECE272B8 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 16:57:30 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF1A06D1AD for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 16:57:29 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.88]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9DGvEg3074783 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 13 Oct 2017 17:57:15 +0100 (BST) (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: <20171013134316.GG24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> <DB4BCEA2-406C-4CCB-AC7F-60C0DCFD6212@fjl.co.uk> <20171013134316.GG24374@apple.rat.burntout.org> MIME-Version: 1.0 Subject: Re: FreeBSD ZFS file server with SSD HDD From: "Frank Leonhardt (m)" <frank2@fjl.co.uk> Date: Fri, 13 Oct 2017 17:55:39 +0100 To: Kate Dawson <k4t@3msg.es>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Message-ID: <E7BA6E8B-262E-42CE-9BB3-65847AA89498@fjl.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 16:57:30 -0000 On 13 October 2017 14:43:16 BST, Kate Dawson <k4t@3msg.es> wrote: >On Fri, Oct 13, 2017 at 01:04:50PM +0100, Frank Leonhardt (m) wrote: >> >> >> This all matters A LOT if you're using ZFS to back a virtual HD for a >VM. Things lke vSphere make every NFS write synchronous. Given the >guest OS is probably using a file format that makes this pointless adds >insult to injury. ZFS writing every block to a CoW file will fragment >it all to hell and back. >> >> So, throwing hardware at it isn't going to solve the underlying >problem. You need to sort out the sync writes. If your file store is on >a UPS, ignore them (I comment out the code). And store your virtual HD >on UFS if possible. > >Thanks, > >sync is disabled on the dataset, I think it's all async. The VM's all >have journalled files systems, and the the system is UPS backed. > >NFS is mounted async - I think that is the default for Debian Linux > >My understanding is that ZFS will always be consistent, however in the >case of catastrophic shutdown some data may not be written to disk, and >we will just have to take our chances. > >A key reason for ZFS being chosen was snapshots. Otherwise I think >GNU/Linux would have been chosen over FreeBSD and ZFS > >Thanks for the detailed info on ZIL/SLOG > > >Regards, > >Kate Dawson >> -- >> Sent from my Android device with K-9 Mail. Please excuse my brevity. > >-- >"The introduction of a coordinate system to geometry is an act of >violence" -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@freebsd.org Fri Oct 13 17:22:44 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 2FE61E27ED3 for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 17:22:44 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D952E6E0EF for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 17:22:43 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.154.179.141] ([85.255.236.88]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v9DHMTwF078862 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 13 Oct 2017 18:22:30 +0100 (BST) (envelope-from frank2@fjl.co.uk) User-Agent: K-9 Mail for Android In-Reply-To: <20171013134316.GG24374@apple.rat.burntout.org> References: <20171011130512.GE24374@apple.rat.burntout.org> <DB4BCEA2-406C-4CCB-AC7F-60C0DCFD6212@fjl.co.uk> <20171013134316.GG24374@apple.rat.burntout.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: FreeBSD ZFS file server with SSD HDD From: "Frank Leonhardt (m)" <frank2@fjl.co.uk> Date: Fri, 13 Oct 2017 18:18:21 +0100 To: Kate Dawson <k4t@3msg.es>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Message-ID: <267A5351-9CA8-4C43-8A3E-5B1CF6E79030@fjl.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 17:22:44 -0000 On 13 October 2017 14:43:16 BST, Kate Dawson <k4t@3msg.es> wrote: >On Fri, Oct 13, 2017 at 01:04:50PM +0100, Frank Leonhardt (m) wrote: >> >> >> This all matters A LOT if you're using ZFS to back a virtual HD for a >VM. Things lke vSphere make every NFS write synchronous. Given the >guest OS is probably using a file format that makes this pointless adds >insult to injury. ZFS writing every block to a CoW file will fragment >it all to hell and back. >> >> So, throwing hardware at it isn't going to solve the underlying >problem. You need to sort out the sync writes. If your file store is on >a UPS, ignore them (I comment out the code). And store your virtual HD >on UFS if possible. > >Thanks, > >sync is disabled on the dataset, I think it's all async. The VM's all >have journalled files systems, and the the system is UPS backed. > >NFS is mounted async - I think that is the default for Debian Linux > >My understanding is that ZFS will always be consistent, however in the >case of catastrophic shutdown some data may not be written to disk, and >we will just have to take our chances. > >A key reason for ZFS being chosen was snapshots. Otherwise I think >GNU/Linux would have been chosen over FreeBSD and ZFS > >Thanks for the detailed info on ZIL/SLOG > Hi Katie, My reply was supposed to go to questions but Android mail trouble! Yes, your understanding of ZFS is correct. And also misleading. The file structure will be consistent and have no write holes. But this isn't true at the application level. Suppose you have two files. The application wants to write a corresponding entry in both. If the power fails after the first write, one file will be fully updated, and the second will be fully NOT updated. Its a matter of good application design as to what happens when the power is restored. At least ZFS guarantees its structure is correct. No amount of OS cleverness on fancy hardware is going to save you from a sloppy application. You said you were running VMs using Xen. I use Xen out of preference, but I must admit I've never checked to see if all its writes are sync. When I want performance, I don't use a VM on the first place. But let's assume it does. If you have Windows running it won't like any interruption to its disk activity. The backing file may be consistent, but its contents won't be. But that's a hit from using Windows however you do it. You mentioned you had disabled sync in the dataset. I bet you hardly noticed a difference, right? It has three modes; sync nothing, sync everything and sync when asked. It's not that clear that the default is to only sync when asked, and I'd be inclined to keep it that way. Your problem is more likely NFS. Your client asks for a sync for every write because it's lazy. This request goes all the way over the network to ZFS, which probably deals with it fairly quickly. However the client has to wait for the confirmation to get all the way back to its OS before it returns from the system call, only to get another block to write and start the journey again. That's POSIX for you. In application programmers only did a sync write when necessary it'd be fine. But they don't. There is a tuneable to tell NFS to lie, if you don't care about POSIX compliance. Unfortunately I'm on a train and can't remember the detail, but its somewhere on my blog (I think). You'll find it improves matters around 300%. Regards, Frank. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-questions@freebsd.org Fri Oct 13 17:58:16 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 8CA95E2897B for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 13 Oct 2017 17:58:16 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::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 52A596F056 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 17:58:16 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x235.google.com with SMTP id n195so12273775itg.0 for <freebsd-questions@freebsd.org>; Fri, 13 Oct 2017 10:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=//7XxsPpvd+uocYY/xlYONlKcSgVcshk2dPiYs5HnZ4=; b=oY2N3Vzq22nwj7PEXRdTgJufI7oEpVhvf+vX6830lJjyQ713hB4/g+nYXZWSrcvscR p4JLfmck7QeUYl6fY5KpMmBknX0TyL+t7q9qdZNpAciLZkxlZ1XsCWB5nljAmbv/AnBU xWZBSJ/uz+KqV1pZvdWFtS7fRqmnfw6YNQd19h+odhXySPOdcpC2HxolF3QRc8H+1jDE ugAdvwjxlco/+Tfe4DmxZKpMOKEJGSoUHJXbEopvxCOBq44R0/hom5T9cGHxgmb6iTM4 T25qyv7HZr+30GkTH4Lww2II/JEhsctTbZLCPi4bpDQUdTna7qhyvRagEiHVcabCpEhz jNbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=//7XxsPpvd+uocYY/xlYONlKcSgVcshk2dPiYs5HnZ4=; b=cnrYcylj4T1FyHFVjB8tK4gYgeLBmFgXz/eziEaZmw9Z7zjiMHIwHgtWkkFrq4uXEX a+0W7GfPHtctxJMjnmY2WomTMM9Zoh0XoZmdmSlGfftKOb+ZVE87+QLU9cjeQ6Oae39J bk8zx2+vzur9XHkIIQUYjP4se3egdQwQnxixQNbRPeOc1khgoP08G4RXoqKFKPQaT665 BycgIDjtJyV+wyVAoHkUgo5FAKJgARqf5uqfHw6m+6NaZXGNJ6RYj7qXNQoPm+7Edun1 IQTw8qvPGDn+OoJ7inQXRnf7Zz0f3t7QgvyXT+HmKi2aRQUi323MMKMM0SzrWWmGSZqR T6/A== X-Gm-Message-State: AMCzsaWYXXS1QIjHKl0Q184p209qQN4hvtAIepVqUVKGQDb9K4ZVug40 40uVxBYBOUctMYYf5SvizG1Wng== X-Google-Smtp-Source: AOwi7QDVuF6yI2OPOr1lnmH5gk/QmAOrqvM0mFLpmQ3/fOhRGYooRuJZ+sZ/1H6GT6C0D9VCT60q4g== X-Received: by 10.36.152.133 with SMTP id n127mr1700511itd.17.1507917495654; Fri, 13 Oct 2017 10:58:15 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id u2sm748270iou.81.2017.10.13.10.58.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 10:58:15 -0700 (PDT) To: FreeBSD Users <freebsd-questions@freebsd.org>, CentOS mailing list <centos@centos.org> From: JD <jd1008@gmail.com> Subject: NPR Says Russian Software Company Behind Hacks Is No Longer a Corporate Underwriter Message-ID: <59E0FEB6.7050801@gmail.com> Date: Fri, 13 Oct 2017 11:58:14 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 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.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Oct 2017 17:58:16 -0000 http://freebeacon.com/issues/npr-says-russian-software-company-behind-hacks-is-no-longer-a-corporate-underwriter/ From owner-freebsd-questions@freebsd.org Sat Oct 14 10:14:28 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 900E3E43861 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 10:14:28 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-oln040092010095.outbound.protection.outlook.com [40.92.10.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 510B26B65E for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 10:14:27 +0000 (UTC) (envelope-from carmel_ny@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4r2ce+f+FJKb0JGT2CixPflwUJ3keDe61H6lxe/iZg0=; b=VXR+EopwGWZoDm8ROk4ndZY1s3fi8IJ0o2ASH3tCNd59y7r+teOhTq1eFG5hfFwtoogu1RFs0y9zjCTbiC/RJFZ/4LoVM4P4mujAsNb6RzwcZ694+ZEuFQaT2w7SEam0XVHAApNHbNycWZiTYlJCJBC5I9D5IUutkOqTUSQupUaQI8FDkJ2hIteX2OfNWMWFTnRqVRZRwop9MhrskkfOojabuBdqdbqqvrLp53gH4ckpkf5uoUcQLuXkoDDgwJdjphoS84H4t7XQGtrUklQ7MMYqv/zCPP1TQL84Sene5fTiE/Zzys2mjaleor09d9ecSxkMO+dXa3QamcfBxRgZkA== Received: from CO1NAM04FT041.eop-NAM04.prod.protection.outlook.com (10.152.90.57) by CO1NAM04HT190.eop-NAM04.prod.protection.outlook.com (10.152.90.176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.77.10; Sat, 14 Oct 2017 10:14:26 +0000 Received: from BN6PR2001MB1730.namprd20.prod.outlook.com (10.152.90.55) by CO1NAM04FT041.mail.protection.outlook.com (10.152.91.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.77.10 via Frontend Transport; Sat, 14 Oct 2017 10:14:26 +0000 Received: from BN6PR2001MB1730.namprd20.prod.outlook.com ([10.172.31.146]) by BN6PR2001MB1730.namprd20.prod.outlook.com ([10.172.31.146]) with mapi id 15.20.0077.022; Sat, 14 Oct 2017 10:14:26 +0000 From: Carmel NY <carmel_ny@outlook.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: How to recover data from dead hard drive. Thread-Topic: How to recover data from dead hard drive. Thread-Index: AQHTRNU2Y7I619ygX0qTiXK5Jkx1kg== Date: Sat, 14 Oct 2017 10:14:26 +0000 Message-ID: <BN6PR2001MB1730D947FADA3A9DC9A370A480490@BN6PR2001MB1730.namprd20.prod.outlook.com> References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> In-Reply-To: <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> Reply-To: FreeBSD <freebsd-questions@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=outlook.com; x-incomingtopheadermarker: OriginalChecksum:14C9ED5ADB47C511F84979E470BBEEEF18E02213CFE5699305D9AB96772AF7D3; UpperCasedChecksum:ADA0F46C6095E3B9AE2F916B6385DE570A49063E522E537670B2A334C7AF35D2; SizeAsReceived:7106; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [gvwtaKR10hjBS0W5UGQn4/PYAzG+exMF] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CO1NAM04HT190; 6:vCJCR5LM0wI5McGn2WI485EPUxfVTpoEiSoHqxlqzFTii+47tgxYwH2ZVO8XYJdHAMStKj0HP9yMDUCTAcj3lesvZw+iUHLp8KpWekblBYTVaO/jpmT6w0alOyS5Q3hgQoZzly8ta6kN0IWkz3mis4WgHLEA5hDoANWhiXBE/dVEn6jU35vPvXItzmVmy4pkV59Y9Hycv0KBJH+3d1e/C97hXKo22CHTqrRYMQN2vm7Idzqs/BUI9dW29IRdqM0R4xjyECisjMocBhspgZt8t3lAS8jQ8BRrDH7RC6Q/+c39GS8K0y6LyNv39az4fxvYv4DNgq0TjSsA4uyuIp98HA==; 5:IMQvjFVrvbUDga8PZJKjDce4snLMeWxwVad6pqvyJ2yEBMvyiSkhSL2EQTg10/LvwRiB8/ZoIytMhjYMb+z6NQFhTr42YoubrUMFEt3rL07s1w1bysEjgLrs7E4RRk26Flfb4bJNatZzMzM2gNbRXw==; 24:/9YqqaJqtTfEQI4YSv1T7JFCYk2xPJQP+rhy70cH1Uq+aeSylB0MJvx9rFD4+FDnmdeRKO5W0z754vL1dz0sT0Pw/dOvIyBzFIbuuTPzSZc=; 7:veXd6azn7yqHeTOJU5aCItIFyik8OojZ4k2dA7XLl/lRwdgX6pjeW5ocNCAor787l56wiRebL3SK3AtzD8HuDCu59qHnoYORkaQfuBieH6n4rj1I3djsGV5O6ia/8s/L8Kyua3vpFTE+TR+ke4dKyRGWzy5T8BhS9cBjdzfyXkyaZSOA1t05KlwPm1mAwYwCP6zjPnoDaQIHF2jOB/yLrbKk8SNNQzAOFpSddnrARs4= x-incomingheadercount: 47 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: fde44521-fc71-446d-59a8-08d512ec58db x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045); SRVR:CO1NAM04HT190; x-ms-traffictypediagnostic: CO1NAM04HT190: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:CO1NAM04HT190; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO1NAM04HT190; x-forefront-prvs: 046060344D x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:CO1NAM04HT190; H:BN6PR2001MB1730.namprd20.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <7C54A8E0733C7E45AB9EB16C461CB685@namprd20.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2017 10:14:26.4207 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT190 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 10:14:28 -0000 On Fri, 13 Oct 2017 12:03:11 +0100, Frank Leonhardt (m) stated: >Good list that. ddrescue is, IME, the place to start. Or have I confused i= t >with dd_rescue again :-) > >But what do you mean by dead? If its not spinning or not recognized by the >system as existing, you'll get nowhere with software. I transplant the >platters to a new IDENTICAL drive mechanism and work from that. You can by= an >identical drive from companies who stock samples them "just in case". >Unsurprisingly, they're not cheap. And transferring platters is not easy. > >I also have some expensive licensed software for recovering incomplete fil= e >systems, and charge Windows users like a wounded rhinoceros when they need >their data back. Years ago, I used "Spinrite" to recover a damaged drive. It worked better t= han anything else on the market, at least for me, at the time. I don't think it has been maintained in over a decade though. Personally, I fail to understand why anyone with any "mission critical" system would not be using some form of RAID. It doesn't make any sense to m= e. Even my Laptop is configured to automatically back up data to a cloud servi= ce. Even if the drive went south, I could restore all of my data. --=20 Carmel From owner-freebsd-questions@freebsd.org Sat Oct 14 01:50:55 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 874F0E34827; Sat, 14 Oct 2017 01:50:55 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-ua0-x242.google.com (mail-ua0-x242.google.com [IPv6:2607:f8b0:400c:c08::242]) (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 477F781B71; Sat, 14 Oct 2017 01:50:55 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: by mail-ua0-x242.google.com with SMTP id s41so6448755uab.10; Fri, 13 Oct 2017 18:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3rlXma3ZwBMFSoOR5TTiOnZPidAOhB9tJ+FPyeAyXFQ=; b=fr0C/hNRNWEQW1RU6h7LD0R6uT3llP8Wy9Tpu0Oh9PdursOxT4uo1xeKtXNm/co1xx 7A0Mvu0NQBAFTNqIOW35nQNVsVj9G88fPddlT/gnXIECvBsjo2adKDGuR3oXaYVkHbjz 6sSAOLY/mCTcso8iM+4ONWgqtmUxWJSxy1HzKZjDC/DD6d7ergEYWtSfldPx8hrdULR+ DP0C4AyaXKl4KnBwMV9/wHijsg0U1vz9iluEi67kT2Pu64EJTonIp9lC06eAeARJ2ld1 H/eOdUA6syNdV0p7Y/J/l1xxXL4OO3JlxKfJBlZMtsGkBo73oSRB5PmD+x6sgt/D5wsx 7eZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3rlXma3ZwBMFSoOR5TTiOnZPidAOhB9tJ+FPyeAyXFQ=; b=edGtfLpK4991C2KLABOe+WwwUBAFaY+B2ZXtfuFlE0ubD9hF8h5K6Jy6t/sfEX2fph AJL4+uKnZOLeqpI6fNwweBgOKwfJCJma99EMPpvzqilXs1pSexysqU19qSSqU5KxD786 XIYhNZZjhSL/T/Hfmbt0wHqZ4hJYsz1Fa/TpoeDWGoi15JQwkgRZiNfSaXjwRcmJ2wK/ pZpYelVDrhqkrC7PGWfs4CVUDTGtx829DBQA62cmvdWK0nXCm5C2ao+Mw3bRtsvXHayR rVBbfYDshgYOF6T6yHRfw/F8x2Mry2fs/H1CwYuRd2OE2gb0jtkOM00Cl3aGP1YvmnkF k0Ag== X-Gm-Message-State: AMCzsaXUoc1D8YNL2my5Vv3h98e9jdLTNCFUW+VxxmNdWGE1d4nXI9Ox LJk0x4xuHk26VLe3OtsrcVGCYW6Lotnh7Wm+LEZgQA== X-Google-Smtp-Source: AOwi7QBi2etPYGXUWLktm2EaxQ5mJD4Hkqcg24ZeeF0xdLJtWzL3Jf2RgbW+lNRSOLYU9J3DGTJe4S6Vzf4SC4oxN4E= X-Received: by 10.176.75.195 with SMTP id b3mr2628042uag.51.1507945853438; Fri, 13 Oct 2017 18:50:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.50.129 with HTTP; Fri, 13 Oct 2017 18:50:13 -0700 (PDT) In-Reply-To: <CAD2Ti2_kLWPQ4z5uPfc-YmbZYjYaKzqLHMOMaR+5Ku7mk1wR+w@mail.gmail.com> References: <CAD2Ti2_kLWPQ4z5uPfc-YmbZYjYaKzqLHMOMaR+5Ku7mk1wR+w@mail.gmail.com> From: grarpamp <grarpamp@gmail.com> Date: Fri, 13 Oct 2017 21:50:13 -0400 Message-ID: <CAD2Ti29pAzag6eGoxRnSw1tSmd-hk2XAxak4huVusi+poMEmFQ@mail.gmail.com> Subject: Re: Power9 Inexpensive Development Testbed To: freebsd-hardware@freebsd.org Cc: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, freebsd-performance@freebsd.org, info@freebsdfoundation.org Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Sat, 14 Oct 2017 10:39:19 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 01:50:55 -0000 On Mon, Oct 9, 2017 at 5:59 PM, grarpamp <grarpamp@gmail.com> wrote: > With Power8 aging and Power9 shipping... Consider picking up a > couple of these to support the development of getting FreeBSD going > on the bare iron without hypervisor. FreeBSD being a member already, > good support for this effort should be available from the OpenPOWER > Foundation / IBM. They seem to want to make Power9 and beyond happen > in a big way. Linux also has support for Power9. > > A barebones selfbuilt machine for the dev cluster would cost about > $3200-$3500, and/or donation could be solicited from OpenPOWER > Foundation. > > https://raptorcs.com/TALOSII/ > https://raptorcs.com/content/base/faq.html > https://github.com/open-power > https://github.com/openbmc > https://wikipedia.org/wiki/POWER9 > https://openpowerfoundation.org/ > > Just an FYI for those unfamiliar, including potential users. > > This thread could be updated to list other Power9 > hardware sources as they become known by > the FreeBSD community. Adding some more "official" links about this CPU and platform for anyone interested. Some of them may refer to Power8, which can be viewed as carrying over plus better to Power9. The Open Power Foundation / IBM full release, marketing, and public availability of Power9 seems to be set for 2018q1. So expect more vendors and so forth at that time. *** Note that this platform apparently does not have any closed source firmware / microcode or BIOS blobs. That means no Intel AMT / ME, no AMD PSP, etc. Programming documentation should be available. And seems to perform competetively on a number of fronts / tasking. *** https://www.crowdsupply.com/raptor-computing-systems/talos-secure-workstation https://www.raptorengineering.com/TALOS/op_qemu_gl.php https://www.raptorengineering.com/content/base/canary.htm https://secure.raptorcs.com/blog/08212017001.php https://social.raptorengineering.io/main/public https://www.reddit.com/user/madscientist159 https://twitter.com/RaptorEng https://twitter.com/RaptorCompSys https://www.reddit.com/user/stwcx https://wikipedia.org/wiki/OpenPOWER_Foundation https://www.ibm.com/power/operating-systems/linux https://www.ibm.com/Search/?q=power9 https://twitter.com/ibmpowerlinux http://tyan.com/campaign/OpenPOWER/ http://www.fsf.org/resources/hw/endorsement/respects-your-freedom https://www.fsf.org/blogs/licensing/only-a-short-time-left-to-pre-order-the-talos-ii-pre-orders-end-september-15th You can search some third party sites for performance, news, and reviews. Search on "openpower" or "power9". https://twitter.com/search?q=power9 https://www.nextplatform.com/?s=power9 https://www.servethehome.com/?s=openpower https://www.anandtech.com/SearchResults?q=openpower http://www.storagereview.com/search/node/openpower https://hn.algolia.com/?query=power9&sort=byDate&prefix&page=0&dateRange=all&type=story Some articles that have appeared... https://www.nextplatform.com/2016/04/06/inside-future-google-rackspace-power9-system/ https://www.nextplatform.com/2017/09/19/power9-rollout-begins-summit-sierra/ https://blog.rackspace.com/the-latest-zaius-barreleye-g2-open-compute-openpower-server https://www.enterprisetech.com/2014/07/15/open-sourced-bios-helps-power8-compete-x86/ http://www.theplatform.net/2015/03/23/inside-the-rackspace-openpower-megaserver/ https://news.ycombinator.com/item?id=12351319 https://news.ycombinator.com/item?id=14956257 https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.8-More-POWER9 https://www.phoronix.com/scan.php?page=news_item&px=Power-Changes-Linux-4.12 https://www.phoronix.com/scan.php?page=news_item&px=Raptor-Talos-2-Teaser https://www.phoronix.com/scan.php?page=news_item&px=Talos-2-POWER9-Pre-Order https://www.phoronix.com/scan.php?page=news_item&px=Talos-2-FSF-RYF-Possible FreeBSD status... https://wiki.freebsd.org/POWER8 https://www.freebsdnews.com/2015/03/04/freebsd-power8-its-alive-2/ https://svnweb.freebsd.org/base?view=revision&revision=279189 https://www.freebsd.org/news/status/report-2015-01-2015-03.html#FreeBSD-on-POWER8 https://reviews.freebsd.org/search/query/oIdoWWKTe71p/ Sorry don't know which list is best, perhaps hardware@? Anyway, happy hacking :) From owner-freebsd-questions@freebsd.org Sat Oct 14 03:49:45 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 6679AE3A35C; Sat, 14 Oct 2017 03:49:45 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [192.108.105.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 448E616B6; Sat, 14 Oct 2017 03:49:44 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (bones.soaustin.net [192.108.105.22]) by mail.soaustin.net (Postfix) with ESMTPSA id 4791ABFC; Fri, 13 Oct 2017 22:49:38 -0500 (CDT) Date: Fri, 13 Oct 2017 22:49:37 -0500 From: Mark Linimon <linimon@lonesome.com> To: grarpamp <grarpamp@gmail.com> Cc: freebsd-hardware@freebsd.org, freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org, info@freebsdfoundation.org, freebsd-questions@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Power9 Inexpensive Development Testbed Message-ID: <20171014034936.GA18066@lonesome.com> References: <CAD2Ti2_kLWPQ4z5uPfc-YmbZYjYaKzqLHMOMaR+5Ku7mk1wR+w@mail.gmail.com> <CAD2Ti29pAzag6eGoxRnSw1tSmd-hk2XAxak4huVusi+poMEmFQ@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <CAD2Ti29pAzag6eGoxRnSw1tSmd-hk2XAxak4huVusi+poMEmFQ@mail.gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Sat, 14 Oct 2017 10:39:27 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 03:49:45 -0000 A few of us FreeBSD/powerpc64 fans are watching the developments closely. mcl From owner-freebsd-questions@freebsd.org Sat Oct 14 13:33:12 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 421AFE47F9B for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 13:33:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::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 08C4770CDA for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 13:33:12 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id n195so14347095itg.0 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 06:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=rs5xVVB4g+khd07O3qGUD5sBKI/mat6p9ICp9Hc1u8w=; b=XBIRmCMxZApprTe2KHGhw1LYbjh7fZCNAtoz6sQtdbVBnUvAl2AEJUP6JbRZtQ+nwM 7L6ZFMTpMzxrR1pWR9P8K8Uy8F07sbaaOuP3GvKGG02RYsbtmdnii8V9NvalXHaJ+hBV 3JmQ3ZwD+aA/4shTyqtw5/2Ofrkm4jAvhyzwVGRmILayeJwT70gjZIUwfdNDTv+Kcu7T 9kwsayob4aa3Co0gba0GniAqfWoK33EVMPzN0R9YMUOAZWzDFeF+fzi6EnbxvEl75YSm G2+4N6ztZm/IAZiiirPWn+HEA9ENeEDPEoIrvz1wpoBGe604N9Ow2Mq2Y17wcoi3jGxH qsBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=rs5xVVB4g+khd07O3qGUD5sBKI/mat6p9ICp9Hc1u8w=; b=Rn0P3Sh/bIQ3xN7Pyn++FRKqn3rd5GIl7TP0ThcOa4RNmfQdAesgO455M6eSnryx4q 0PN9KimPpx+JzVFlysTm7GtrwYvxj8hyknc0nE5lM2IduwUeZJrxYA9HUM4FoN+6dXDa nfjWFaNEWVOGBiQD8IixIw15UWb3dfC2cA38zUQZ4v/IvSLY7X/wsq0i5DRCErJ/lh+u O8AO1Ln6PQW/GNxUGC7enmIP+r20CmH/MibyRpGdAo79i5qtPL8KWbhySFjxAjakZfeN /TTmsnvfzApjIKO/cPRiuXEb184/l9YPWUgmMD6r2ljijwLNnulurTLyUppnWErPh1BE 0hBg== X-Gm-Message-State: AMCzsaXoGzx4Gdwi6VAq25844NdtuRD/zfVzNOM56vbGO5v2aU0XY6Uk u25FhI7RDpfrkDxI0WCq0AMWRw== X-Google-Smtp-Source: ABhQp+SMvE/Hic5pBwLe/JLMF0gHACbPZo7Dbw+RqK6WZZTYOLMkdKcWn14aE2BDP4wITjgl4kv0Wg== X-Received: by 10.36.11.197 with SMTP id 188mr4691457itd.42.1507987991242; Sat, 14 Oct 2017 06:33:11 -0700 (PDT) Received: from [10.0.10.3] (cpe-65-25-55-4.neo.res.rr.com. [65.25.55.4]) by smtp.googlemail.com with ESMTPSA id i130sm1731090itf.42.2017.10.14.06.33.10 for <freebsd-questions@freebsd.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 14 Oct 2017 06:33:10 -0700 (PDT) Message-ID: <59E21214.4020509@gmail.com> Date: Sat, 14 Oct 2017 09:33:08 -0400 From: Ernie Luzar <luzar722@gmail.com> User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: How to recover data from dead hard drive. References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> <BN6PR2001MB1730D947FADA3A9DC9A370A480490@BN6PR2001MB1730.namprd20.prod.outlook.com> In-Reply-To: <BN6PR2001MB1730D947FADA3A9DC9A370A480490@BN6PR2001MB1730.namprd20.prod.outlook.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 13:33:12 -0000 Carmel NY wrote: > On Fri, 13 Oct 2017 12:03:11 +0100, Frank Leonhardt (m) stated: > >> Good list that. ddrescue is, IME, the place to start. Or have I confused it >> with dd_rescue again :-) >> >> But what do you mean by dead? If its not spinning or not recognized by the >> system as existing, you'll get nowhere with software. I transplant the >> platters to a new IDENTICAL drive mechanism and work from that. You can by an >> identical drive from companies who stock samples them "just in case". >> Unsurprisingly, they're not cheap. And transferring platters is not easy. >> >> I also have some expensive licensed software for recovering incomplete file >> systems, and charge Windows users like a wounded rhinoceros when they need >> their data back. > > Years ago, I used "Spinrite" to recover a damaged drive. It worked better than > anything else on the market, at least for me, at the time. I don't think it > has been maintained in over a decade though. > > Personally, I fail to understand why anyone with any "mission critical" > system would not be using some form of RAID. It doesn't make any sense to me. > Even my Laptop is configured to automatically back up data to a cloud service. > Even if the drive went south, I could restore all of my data. > I never said the hard drive in question was even on a Freebsd system or "mission critical". So your barking up the wrong tree. I friend of mine went through a devoice a few years back. He did not get his personal xp pc in the settlement, only the hard drive which makes a squealing noise when running. He tried to install it into his dell desktop. But not being a computer geek he know nothing about master/slave on the ribbon or the jumpers on the H.D. Have no idea what damage he may have caused doing this. He told me it was dead and he wanted his data recovered. I used a ata to usb adapter and connected it my win10 lap top and was surprised when it spin right up and indeed it was noisy. Win 10 automatically ran disk scan on it and fixed the damaged index. I had to muck around a bit to copy off 12gb which was everything but 2 router manuals in pdf format. In my book that is a successfully data recovery. Never needed to use freebsd to recover data. The lesson here is try the simple recover stuff first, especially if it's a Microsoft drive. Thanks to Polytropon from Magdeburg, Germany for his post listing the freebsd tools for data recovery. From owner-freebsd-questions@freebsd.org Sat Oct 14 14:22:39 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 AF71EE489C3 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 14:22:39 +0000 (UTC) (envelope-from austin@adwordtop.com) Received: from a2nlsmtp01-01.prod.iad2.secureserver.net (a2nlsmtp01-01.prod.iad2.secureserver.net [198.71.224.24]) (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 6B34271CD2 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 14:22:38 +0000 (UTC) (envelope-from austin@adwordtop.com) Received: from a2plcpnl0628.prod.iad2.secureserver.net ([198.71.237.21]) by : HOSTING RELAY : with SMTP id 3NJjeD6Gm5tA13NJjeVGoz; Sat, 14 Oct 2017 07:21:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=adwordtop.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:Reply-To:From:To:Date:Sender:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tAiw5ZWL/3YaN0k4pyTrz0dSNoVItRvsBXAlAfzu7As=; b=YMMIAiio0tP/9M4M001RSX70ui gy49UVfuP0l2HMpxN48x2TkPV65uaiMOCKfbLwkcB5e7tpFBtXi5v0J0PfaduTra/RzJiah1S6a1l MemAG/U1nKkzuPgwU4fDqbnCKvbdqRjCEW2+6ehTFnbmtVeXx2NZhFrHrwItLrfA/xm1ZYKDbla7l y0ma1p/m/TaV9ZHx90cuMyBscqcwufl3WJKNdji4xwFQKjnJSI+Qb9zPX7qAOayrPpAYbd/Ug5amo 8iSu4TKmcH3lN9PSKF2Dzi4UUtFHSAgsx9RzfOLD76QbRH38OXxDCep1GbfbPvQ72xSZVzQu1lz/J NtZ0WQUQ==; Received: from [127.0.0.1] (port=43549 helo=adwordtop.com) by a2plcpnl0628.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88) (envelope-from <austin@adwordtop.com>) id 1e3NJj-004JA2-8G for freebsd-questions@freebsd.org; Sat, 14 Oct 2017 07:21:31 -0700 Date: Sat, 14 Oct 2017 14:21:26 +0000 To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> From: "austin@adwordtop.com" <austin@adwordtop.com> Reply-To: "austin@adwordtop.com" <austin@adwordtop.com> Subject: Clear and top visibility for your web page Message-ID: <aa44fa83c3ad512032f7be07192dc243@adwordtop.com> X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0628.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - adwordtop.com X-Get-Message-Sender-Via: a2plcpnl0628.prod.iad2.secureserver.net: authenticated_id: austin@adwordtop.com X-Authenticated-Sender: a2plcpnl0628.prod.iad2.secureserver.net: austin@adwordtop.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfCsocZoPk5YApXkXgfziJpsWCkUTQZw0akqiLm5Dt9/wzHhzACHGcG4770ELVzECb8/Le7x3YcHf84Nn6Kq+rOxooA7DbkZmvlNDUSCoifRMG6NLfLgj naNqI3mxn5ecP4Gt0HDzeMN1BjgRrMdR0ayiAxCx4Ua14awaOhYIw/UfP2fG+Q9s3w+tver/AqqvTSJc4lcH9HyEVMdgwYitvKmFie1AoWlwAqfANMxTJFTl Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 14:22:39 -0000 Freebsd-questions, Is there an expert technology in our very challenging, data-driven business that has learned how to drive more web traffic, and has data and examples to prove it. This is the question that every online business owner makes to cause on a daily basis. Luckily, yes, there is a unique technique to make your web page place on the top of Google, Yahoo, and Bing. If you want to drive more web traffic to your web page, we can show you improved technique to modify your ads and placement. Let us introduce you to our new revolutionary method of getting keyword targeted traffic to your website from all known search engines, without Pay Per Click. We give you exclusive rights to keywords during full year and we guarantee you a minimum amount of traffic on given keywords. You can see the Demo on our website: - Go to our website and click on DEMO link. - Fill a form with your website freebsd org and keyword. - Click on VIEW ONLINE DEMO and see result page. Thank you for your time, Austin Rush From owner-freebsd-questions@freebsd.org Sat Oct 14 18:28:41 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 00FCEE2931A for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 18:28:41 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::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 93C0577BB7 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 18:28:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x243.google.com with SMTP id f4so27017229wme.0 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 11:28:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ru3fdwxoGkeXT6i86jFAAE0fGRQgAgfyHVFRFNq7sAU=; b=fTmiivMBCTPpxo4khtCvxLW7zF9yB1AuEYdBxNYqfphTnR3BBlhrhB1pt0eiI8W5Qw 2uDz/l0TO14c0a61IZU0ubJJthfyeGzjxwX3ryxwReGHrImauvYvJrGqTCwVRtB3fqoH CQKyT5TyyUX0EXoH3oWOkNXCf0UTSldk7v3ciXVCZx8p7cwXpz8O9XBH/+e+KdR1IU24 GoldbGFP5/5LrBM6fVi7HDbDDNEl5CKdYQpBI/0Pu3Tl9S5ynJkr1bIbUZXj27Y7HIV2 tsMdkU8RdLMvmcp8JaFt0S6KcHBm8dBfR37jJ+Ynmk5EutyGqjvGTpBIxDAsn+Ij00w3 ZNdQ== X-Gm-Message-State: AMCzsaUrZVmLDoAKluricV569ksCJenJmqyfZc6ur1A2lGORtVBUJIZk xaJyxoO3ZZ+a6Tsz/hXQVUFoqw== X-Google-Smtp-Source: ABhQp+RCRSgedd/TbxmVJ4bKmDnbMA7y8HwI9J5qCJpMvizQHRSgYb/TbNVGt/Z0PcbjL7P5S+nBQQ== X-Received: by 10.28.54.154 with SMTP id y26mr4439009wmh.15.1508005718706; Sat, 14 Oct 2017 11:28:38 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id j13sm1636280wrb.18.2017.10.14.11.28.36 for <freebsd-questions@freebsd.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 11:28:37 -0700 (PDT) Date: Sat, 14 Oct 2017 19:28:33 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: forcing new dynamic ip address Message-ID: <20171014192833.4c38649e@gumby.homeunix.com> In-Reply-To: <9E9FD41B-997F-4506-AAF7-C70F038BBF70@fjl.co.uk> References: <59DA19E8.5000602@gmail.com> <7531e98e-6910-0853-b4e2-a3fe92bfb694@rail.eu.org> <9E9FD41B-997F-4506-AAF7-C70F038BBF70@fjl.co.uk> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) 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.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 18:28:41 -0000 On Fri, 13 Oct 2017 12:18:55 +0100 Frank Leonhardt (m) wrote: > On 8 October 2017 13:37:30 BST, Erwan David <erwan@rail.eu.org> wrote: > >DHCP protocol states > > > Hate to be a pendent, but it may not be a DHCP server giving you the > IP address unless you're running Ethernet. In some parts of the world > people do run PPPoE instead of ATM, so it might conceivability work > this way. AFAIK PPPoE uses LCP. I would have thought the distinction would be between PPP variants using LCP and bridging using DHCP. > Most DSL use LCP to configure IP address IME. Once you go > past the modem socket it doesn't look like Kansas any more. From owner-freebsd-questions@freebsd.org Sat Oct 14 19:50:06 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 5D091E2B205 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 19:50:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay13.qsc.de (mailrelay13.qsc.de [212.99.187.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD2617E6E2 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 19:50:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay13.qsc.de; Sat, 14 Oct 2017 21:49:29 +0200 Received: from r56.edvax.de (port-92-195-74-193.dynamic.qsc.de [92.195.74.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 9936F3CBF9; Sat, 14 Oct 2017 21:49:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v9EJnQNr003036; Sat, 14 Oct 2017 21:49:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 14 Oct 2017 21:49:26 +0200 From: Polytropon <freebsd@edvax.de> To: Ernie Luzar <luzar722@gmail.com> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: How to recover data from dead hard drive. Message-Id: <20171014214926.2fed03aa.freebsd@edvax.de> In-Reply-To: <59E21214.4020509@gmail.com> References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> <BN6PR2001MB1730D947FADA3A9DC9A370A480490@BN6PR2001MB1730.namprd20.prod.outlook.com> <59E21214.4020509@gmail.com> Reply-To: Polytropon <freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay13.qsc.de with D3A8768345F X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1557 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 19:50:06 -0000 On Sat, 14 Oct 2017 09:33:08 -0400, Ernie Luzar wrote: > I friend of mine went through a devoice a few years back. He did not get > his personal xp pc in the settlement, only the hard drive which makes > a squealing noise when running. He tried to install it into his dell > desktop. But not being a computer geek he know nothing about > master/slave on the ribbon or the jumpers on the H.D. Have no idea what > damage he may have caused doing this. Usually none, except he did something forcedly with the power connector (Molex plug). Using a wrong master / slave configuration with (parallel) ATA drives usually results in no reaction of the drive, i. e., none of the connected drives is being recognized. Putting the 40 pin cable wrong may cause the drive to not spin up. > He told me it was dead and he wanted his data recovered. "My grandfather is dead, but I want him to answer my questions." :-) Of course the expectation to get data from "dead drives" is not fully wrong, but it's not something you do as a side project, in 10 minutes... > I used a ata to usb adapter and connected it my win10 lap top [...] Don't do that. Connecting a drive intended to be recovered to a "Windows" PC may destroy the last remains of your data if you aren't careful (and even if you are, it can still happen). Use a machine with as few automatisms and as much control of your own as possible. Unsurprisingly, "Windows" does not fulfill this requirement. > [...] and was > surprised when it spin right up and indeed it was noisy. At least it runs. Again, this _could_ damage data, but if the drive runs, you have a good chance to acquire an image (if the basic read operation of the drive does still work). > Win 10 > automatically ran disk scan on it and fixed the damaged index. And this kind of automatisms could - given a specific situation you cannot imagine or exclude - damage your data. Avoid any write access to the drive, not "repair", no "fixed", it could go wrong and you have "successfully" destroyed what could have been recovered. > I had to > muck around a bit to copy off 12gb which was everything but 2 router > manuals in pdf format. Luckily! So there probably just was some MFT damage (common on NTFS-formatted drives) that could be repaired, and no data was overwritten. Data loss is common on NTFS when a few filesystem inconsistencies appear (can be damaged files, files disappearing, and so on). The simple kind of errors can be repaired by "Windows" and usually result in only a minor data loss - hopefully it didn't affect the data you're most interested in... > In my book that is a successfully data recovery. Definitely. You were just lucky that you didn't shoot your foot with this careless approach. :-) > Never needed to use freebsd to recover data. I've been using FreeBSD data recovery tools for many years now, including for my own purposes and for clients. It could recover things that "professional software" (read: cheap as well as expensive crap for "Windows") couldn't even detect. There are great tools - depending on what went wrong - to recover data from hard disks, USB sticks, SD cards, or optical media. Some of them are filesystem-agnostic, and others are filesystem- specific. You have to know about the problem in order to choose the correct tool. If you don't know, first make an 1:1 copy and work with the image. In this case, if you've accidentally done something wrong, reset the image (for example with a 2nd copy of it) and try something different. However, there are programs like Spinrite or UFS Explorer which can be really helpful, even in their trial versions. You don't need a "Windows" license to run them, as wine is fully sufficient for that. > The lesson here is try the simple recover stuff first, especially if > it's a Microsoft drive. The lesson is to never trust a system that you do not control. The lesson also is not to bet on pure luck. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Oct 14 20:21:25 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 79839E2B9D6 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 20:21:25 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A26C7F40F for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 20:21:25 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 72EBC20940 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 16:21:18 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 14 Oct 2017 16:21:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=WBcieGyJHexLYGkrPPoBud3uf4QagO/EicTitcKacrc=; b=CTkddU03 cVQy1gJrogIrh2etjzCXqsJVQ/BCDZkKTWbg5e43X9+/B6cQk50I71IUOKHbq3/N aW+E+k22SevsPouR4uhzIo2TTMfFGGN+tUkdrRRupVgwAroUt96dCezNvzgBUaHz Q3lyUFRopAWs6r2LP0E/HavAg85jvl71clvcTbpDyrfImak+166mgQHZA/hr9o2/ TgWpMPK0N9Ay4cV7vV9e8nJ2hj8iX9joVP8krGgoHEMK7/9RMKkxLBc1V35QaRFV o586V/zd+xsJ1aa9i05dk3RJBBCH0oxHHITvdq0ygH0HNbepWhLOdio1JIst3ulQ ZLBDFh18e12FMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=WBcieGyJHexLYGkrPPoBud3uf4Qag O/EicTitcKacrc=; b=jDd6pbqqyoXXfi69JUwGL3cYYmoHB4Rd2j3ejPmAwh10o cYkO8nj04JBVkH/TVVrR5MQV5Pd82NEMyrQtq9mIo0vQ5XfXZ0z1nsOH3syNPcSc DGOsO/HRSOdELuvBCkx8HbjmKayfItmkwlPeBiEMOrnzGXrsP9oppgBq0Xd7wdNT ujKa5jBE6+Gl1q+UckYSE8Vd0bV8lNkfDpzjII5/1+adAiyLiIJSvpVou1PKn/1k ORhsTddJp95EOgDddpJ47gjLgJHYGnQbQNP4RmlGjVSDya8bDwGTYRYCdoPPBBsV yEI5WKL71yeHeMDF4xpIME/s8stjlzXQp8mg4zEnw== X-ME-Sender: <xms:vnHiWW5vhuYzcZghO5iRE48__1Ugfsdlm9oZzqg1xVY0uG1_rTOdpA> Received: from acer.zyxst.net (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id BE24924737 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 16:21:17 -0400 (EDT) Date: Sat, 14 Oct 2017 21:21:15 +0100 From: tech-lists <tech-lists@zyxst.net> To: freebsd-questions@freebsd.org Subject: Re: How to recover data from dead hard drive. Message-ID: <20171014202115.GA92751@acer.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <59DBA387.4050108@gmail.com> <20171009191435.145c9dd2.freebsd@edvax.de> <72772933-C642-43DB-AFD6-6B5D40EEF39E@fjl.co.uk> <BN6PR2001MB1730D947FADA3A9DC9A370A480490@BN6PR2001MB1730.namprd20.prod.outlook.com> <59E21214.4020509@gmail.com> <20171014214926.2fed03aa.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171014214926.2fed03aa.freebsd@edvax.de> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 20:21:25 -0000 Interesting thread. I have a similar problem, this time with a failing (now failed) disk that had freebsd-11-stable installed with the root-on-ZFS option. I manged to dd over ssh an image of the disk. However, I've not been able yet to mount the image to get the data. I think it's ZFS in the image that's causing the issue. I've tried to spin up the image in bhyve on another system. It gets past the demon graphic, tries to boot but drops to the mountroot or mfsroot (can't remember exactly) prompt. No matter what I enter there, it still won't boot. What it defaults to is what it used successfully when it was on the (now failed) hardware. Can anyone tell me how to mount and recover the image? many thanks, -- J. From owner-freebsd-questions@freebsd.org Sat Oct 14 21:43:30 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 D11FBE2D7C1 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 21:43:30 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 6FEE28150A for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 21:43:30 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x242.google.com with SMTP id u138so26957996wmu.5 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 14:43:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CZd/J1bWpC51st/Mdzv6tf9makvdkgUywLq5108K3Dw=; b=I+kchpi+S7hEg/GiL3uKOhOSoGqv5XU3Ly7q3wThEj/V28cBpfIsIbxD6/2MrsbHDM WdYtUFEEavuTgTRPpwr2GqLklMESI14EhzhIwVhQoCYNbpPuuifQufhxrSN9aT4qTWaX uQg6UiMpxknuaKAg8DsxiY64pFGSQW34gykZBfeq0S6dmWKAESpnoHhNj2WSTeMklput npEjlBLUHRHy41Kh4bIYMgTA4/GZPIS9MK+vIxV6VwPbJ70wGH5uaYzQJ2EBHuaepE33 niLiiKqLe7qv+Bbfj98e8KD6RiXMu1xx2zGwocM5CxNHDyeGdCRUUJaEvix9lIjnSsWB Ttcw== X-Gm-Message-State: AMCzsaXITS17vQi/383+Q5hPf++WiLkDgFtHB59LfATzgiIC9dTZMUz6 6cxH/HAKUJziD6x78avkAjieew== X-Google-Smtp-Source: ABhQp+SSDvTl9BBeguYbwQTcVHjyFSsc124rpEyFaO8Lz8cUqjBe8268zkjEMK2tzgc5gxSguHoj+A== X-Received: by 10.28.175.197 with SMTP id y188mr3758792wme.20.1508017408501; Sat, 14 Oct 2017 14:43:28 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id e77sm6878102wmi.16.2017.10.14.14.43.26 for <freebsd-questions@freebsd.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Oct 2017 14:43:27 -0700 (PDT) Date: Sat, 14 Oct 2017 22:43:23 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( Message-ID: <20171014224323.1ed35da3@gumby.homeunix.com> In-Reply-To: <b1f2d83e-d09f-42ad-f03d-26b6995c141f@columbus.rr.com> References: <4172.1507827505@segfault.tristatelogic.com> <b1f2d83e-d09f-42ad-f03d-26b6995c141f@columbus.rr.com> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) 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.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 21:43:30 -0000 On Thu, 12 Oct 2017 17:31:32 -0400 Baho Utot wrote: > On 10/12/2017 12:58 PM, Ronald F. Guilmette wrote: > > During this (fresh) install, I -never- explicitly selected any > > option that would obcviously hav the effect of telling unbound to > > forward/route all of its DNS queries through any other specific > > name servers). So why on earth would it be doing so? > > Because the base system uses unbound as the resolver. That doesn't explain why it forwards by default. Is ISP cache poisoning entirely a thing of the past? IIRC there are also attacks where a DSL router is hacked and reconfigured to give bogus DNS servers via DHCP. There's also the issue that mail servers should avoid using shared caches because of per IP address limits on blocklists. Linux resolver packages that set-up forwarding without making it clear have been a problem for a while now. From owner-freebsd-questions@freebsd.org Sat Oct 14 23:15:48 2017 Return-Path: <owner-freebsd-questions@freebsd.org> 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 85C87E2F1F1 for <freebsd-questions@mailman.ysv.freebsd.org>; Sat, 14 Oct 2017 23:15:48 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (paka.cyberleo.net [216.226.128.180]) by mx1.freebsd.org (Postfix) with ESMTP id 6911483690 for <freebsd-questions@freebsd.org>; Sat, 14 Oct 2017 23:15:46 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.4] (vitani.den.cyberleo.net [216.80.73.130]) by mail.cyberleo.net (Postfix) with ESMTPSA id C713630855; Sat, 14 Oct 2017 19:08:28 -0400 (EDT) Subject: Re: Unbound(8) caching resolver no workie on fresh install :-( To: RW <rwmaillists@googlemail.com>, freebsd-questions@freebsd.org References: <4172.1507827505@segfault.tristatelogic.com> <b1f2d83e-d09f-42ad-f03d-26b6995c141f@columbus.rr.com> <20171014224323.1ed35da3@gumby.homeunix.com> From: CyberLeo Kitsana <cyberleo@cyberleo.net> Message-ID: <64e5525d-fd1c-6e9b-526c-0d9c4e8f788c@cyberleo.net> Date: Sat, 14 Oct 2017 18:08:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171014224323.1ed35da3@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 14 Oct 2017 23:15:48 -0000 On 10/14/2017 04:43 PM, RW via freebsd-questions wrote: > On Thu, 12 Oct 2017 17:31:32 -0400 > Baho Utot wrote: > >> On 10/12/2017 12:58 PM, Ronald F. Guilmette wrote: > >>> During this (fresh) install, I -never- explicitly selected any >>> option that would obcviously hav the effect of telling unbound to >>> forward/route all of its DNS queries through any other specific >>> name servers). So why on earth would it be doing so? >> >> Because the base system uses unbound as the resolver. > > That doesn't explain why it forwards by default. FreeBSD's local_unbound setup will, by default, forward to the nameservers provided by DHCP or hardcoded in the config files, rather than doing full lookups by itself. See below for why this is safe. > Is ISP cache poisoning entirely a thing of the past? IIRC there are > also attacks where a DSL router is hacked and reconfigured to give bogus > DNS servers via DHCP. Properly implemented DNSSEC mitigates cache-poisoning or DNS redirection attacks, as any answers not properly signed by the authority for the name you're looking up (and every parent up to the root zone) will be rejected. The name will simply fail to resolve, rather than returning corrupt, forged, or tampered results. FreeBSD implemented local_unbound specifically to add DNSSEC validation to machines that rely on external recursing nameservers, like those provided by your ISP. DNSSEC is slow, as any given validation requires many lookups and cryptographic operations to chain the signature to a trusted root, so any local caching is beneficial. Offloading the validation to a single local caching daemon is much easier and less error-prone than dealing with the complexities of adding validation and cache management to a library that is loaded into pretty much every process on your machine. > There's also the issue that mail servers should avoid using shared > caches because of per IP address limits on blocklists. Linux resolver > packages that set-up forwarding without making it clear have been a > problem for a while now. -- Fuzzy love, -CyberLeo <CyberLeo@CyberLeo.Net> Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Element9 Communications http://www.Element9.net Furry Peace! - http://www.fur.com/peace/