From owner-freebsd-questions@freebsd.org Sun Jun 10 05:05:54 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 512E11001F45 for ; Sun, 10 Jun 2018 05:05:54 +0000 (UTC) (envelope-from thor@irk.ru) Received: from mail.irk.ru (mail.irk.ru [195.206.40.175]) (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 CA61E6BDB7 for ; Sun, 10 Jun 2018 05:05:53 +0000 (UTC) (envelope-from thor@irk.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=irk.ru; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:To:Subject: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=Ltj0nvR4y3adqQLbCq4m0vgf6JYdR63RAbDs5om5d/g=; b=buSZZqBUEkrJyHbQQcQfvb+8Aj y2b7M9ReeDupTizupoQj9CE8OM1UQc9QQtz9pzCzmbsccTVFh8oIfBVa1fvaZeyfWaTH9pKUDy65X bksHHaq5PY7XurmgyaA6fw0H1FKVXpD11MQIsLhqS0fYBubUGXnhBrFc6/BWk2hTe0Ow=; Received: from [194.176.114.54] (helo=[192.168.1.130]) by mail.irk.ru with esmtpa (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fRsQZ-000O99-JP for freebsd-questions@freebsd.org; Sun, 10 Jun 2018 12:58:07 +0800 Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) To: freebsd-questions@freebsd.org References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> From: thor Message-ID: <8196da8f-7299-64e1-25d7-ef371421440e@irk.ru> Date: Sun, 10 Jun 2018 13:05:35 +0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 05:05:54 -0000 Had a similar problem trying to produce a port of some proggie (nomina sunt odiosa) which depends on QT5. Port mechanism built QT5 of different version from package. Solution: Fully remove the QT5. Ensure that corresponding install directories are empty or non-existent. Then reinstall QT5 from packages, then reinstall your proggies from packages. Then make "some proggie" observing that nothing including QT5 is built as a prerequisite. If something is required then stop the build and install the dependency from package. In the future it's worthy to raise the problem to QT5 packagers' level. On 05/31/18 22:37, tech-lists wrote: > Hello lists, > > context: 11.2-PRERELEASE #0 r333458 / ports r471194 > > with xpdf I get the following error: > > Cannot mix incompatible Qt library (version 0x50904) with this library > (version 0x50a01),Abort (core dumped) > > I seem to have both qt4-4.8.7 and qt5-5.10.1 installed. I didn't > install these directly though, seems they've been installed as > dependencies of other ports. I'm using MATE desktop. > > I've tried reinstalling xfdf via pkg and the port with the same > result. Is this a known problem/how can I fix? Have found no fix yet > from GIS, most seem to point to deleting and reinstalling everything. > > thanks, From owner-freebsd-questions@freebsd.org Sun Jun 10 08:31:57 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64E9A10057F6; Sun, 10 Jun 2018 08:31:57 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03olkn0817.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::817]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC5DE754F1; Sun, 10 Jun 2018 08:31:56 +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:X-MS-Exchange-SenderADCheck; bh=oWnfKezvJ1h5iaXHZHvMvY1fpMwkWFVIYk4iVTT1QAE=; b=qO+oXENLwkc82SaBzasFewfAxGHPUB+n2gbkQASzpm9KdvoUbYfS6l5nqhhwiw/Fx0aHKJHboUTuDkiaqwdoXxjxo3SqZ0RMRO2/4/yEe+sVj31DvxwtXN+rYFRFHvg3p7l//jEUM6YRlltR/ODI86qNIc6rgL+nbB09QgrqHXH4em807QNpAM7I0ItAuwndLKUOwdN9z7Ku0upYRH1fmKsG89tGUWlzq1f8lf3Q58/7myxtSxgbYgdOHnmpcy+jLV0d8UNU3mKolli7CTgNcmJ1bXnwKRQv/cNYW4SfFhmC/2rZHyn1CpydPM5UCsYwcPeo3gBynyqneywoPMT2uA== Received: from DM3NAM03FT063.eop-NAM03.prod.protection.outlook.com (10.152.82.51) by DM3NAM03HT197.eop-NAM03.prod.protection.outlook.com (10.152.83.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.841.10; Sun, 10 Jun 2018 08:31:55 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com (10.152.82.53) by DM3NAM03FT063.mail.protection.outlook.com (10.152.83.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.863.11 via Frontend Transport; Sun, 10 Jun 2018 08:31:54 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::14f9:15b9:a903:827f]) by SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::14f9:15b9:a903:827f%4]) with mapi id 15.20.0841.019; Sun, 10 Jun 2018 08:31:54 +0000 From: Carmel NY To: FreeBSD CC: "python@FreeBSD.org" Subject: py27-certbot fails to run Thread-Topic: py27-certbot fails to run Thread-Index: AQHUAJV8ZXVbQu5S50KhpdR/g26Ehw== Date: Sun, 10 Jun 2018 08:31:54 +0000 Message-ID: Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR03CA0001.namprd03.prod.outlook.com (2603:10b6:404:23::11) To SN1PR20MB2109.namprd20.prod.outlook.com (2603:10b6:802:28::14) x-mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; i686-w64-mingw32) x-incomingtopheadermarker: OriginalChecksum:33CCACEFE74C8BA806A3B6A9684D11A3EE3AF9A92B02E2371B865760425B4952; UpperCasedChecksum:DFC0861701C6357169F7A9D1C3FDDB317AE7430C67DAEE44F7A4798C7E78B576; SizeAsReceived:7360; Count:50 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [kih2gvCIUp6hfUYDhu25GMnM0VaueKKd] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM3NAM03HT197; 7:6XZtt846cKjROMlVk6EPZ30q+SPslwYBgu4mzeCDm5vNCyX39bmIBBhUKkCcSNiCkt58boSHlmwsqFawR3nMm0CB+l872bU45QzDrmI7zXhS7ovdq7jm0F9v4T93M0n3MIJaimoiQX4HGWHqJKvnqD/bF3TERP8alxEWwTHhJ+FIBMxJIyG6rX4Xfl83QPccVlAee5xUJV/i5FsRmyr7k7ZRvCGBflZxsr79Z0RZGZLx4xHvRWPWP9aaMU6Xud8K x-incomingheadercount: 50 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125500)(1701031045); SRVR:DM3NAM03HT197; x-ms-traffictypediagnostic: DM3NAM03HT197: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:DM3NAM03HT197; BCL:0; PCL:0; RULEID:; SRVR:DM3NAM03HT197; x-forefront-prvs: 0699FCD394 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(26005)(8936002)(476003)(81156014)(74316002)(6916009)(426003)(5660300001)(99286004)(102836004)(450100002)(82202002)(6346003)(97736004)(8676002)(20460500001)(2900100001)(5250100002)(14454004)(486006)(6436002)(86362001)(50226002)(305945005)(87572001)(106356001)(105586002)(104016004)(59450400001)(33656002)(7696005)(4326008)(43066004)(55016002)(25786009)(68736007)(3280700002)(386003)(3660700001); DIR:OUT; SFP:1901; SCL:1; SRVR:DM3NAM03HT197; H:SN1PR20MB2109.namprd20.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=carmel_ny@outlook.com; x-microsoft-antispam-message-info: isnLf8XhY/6fuUhv1LWT32MaQktCFaEAk8a75+5WodWee0W+Zd+Eijy5gf/fwji38Mppcrnk2CpCRDckWSIYB6lb3dNd8ogAS3twj5E6NQPl4aU/dYj4fgD6LN7GbuC0KV5GHnhelpNcwDsTUy0MXD/hAkztHVjUPR76FGjQBF3XCEB95hHAjlse4M2nVvSf Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 29570896-8037-4b72-beb0-08d5ceac9f22 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: 29570896-8037-4b72-beb0-08d5ceac9f22 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2018 08:31:54.8148 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT197 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 08:31:57 -0000 FreeBSD 11.1-RELEASE-p10 Name : py27-certbot Version : 0.25.0,1 Installed on : Sat Jun 9 17:18:31 2018 EDT Origin : security/py-certbot Yesterday I updated the security/py27-certbot port to version 0.25.0,1 without incident. When running the application via port last night, it produced this error output: Traceback (most recent call last): File "/usr/local/bin/certbot", line 6, in from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3095, in @_call_aside File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 57= 0, in _build_master ws.require(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 88= 8, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 77= 4, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'requests-toolbelt>=3D0.3.0' distribution was not found and is required by acme Is this something local to my machine only or should I file a PR against it and what can I do to alleviate the problem? --=20 Carmel From owner-freebsd-questions@freebsd.org Sun Jun 10 08:41:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2E29100663F; Sun, 10 Jun 2018 08:41:22 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 53AFB75C58; Sun, 10 Jun 2018 08:41:21 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id AE9AF20219; Sun, 10 Jun 2018 17:41:17 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 36CB62F1A4; Sun, 10 Jun 2018 17:41:17 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id EAEC32F1A3; Sun, 10 Jun 2018 17:41:16 +0900 (JST) Date: Sun, 10 Jun 2018 17:41:04 +0900 (JST) Message-Id: <20180610.174104.2014388496802246907.yasu@utahime.org> To: freebsd-questions@freebsd.org, carmel_ny@outlook.com Cc: python@FreeBSD.org Subject: Re: py27-certbot fails to run From: Yasuhiro KIMURA In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 08:41:23 -0000 From: Carmel NY Subject: py27-certbot fails to run Date: Sun, 10 Jun 2018 08:31:54 +0000 > Yesterday I updated the security/py27-certbot port to version 0.25.0,1 > without incident. When running the application via port last night, it > produced this error output: > (snip) > > Is this something local to my machine only or should I file a PR against it > and what can I do to alleviate the problem? Please update your ports tree. It was fixed with r472093. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Sun Jun 10 08:48:41 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FEA6100722F for ; Sun, 10 Jun 2018 08:48:41 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 AFC497619D for ; Sun, 10 Jun 2018 08:48: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=1528620521; x=1531212521; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=D288m44cEm0K/MSiqphHZ489M29549bLCRFGQ6LIp9c=; b=s9oQrbkJXj+X1uPZLrPo8VNhmuK8plDYFlKbHCnLr1gO8r/+0y/aBQfY+jKEOY18OoNR7gW9+A0GIWbYNVAT+M95pALBsMD0RN0RuBtM1+Okopx/n2gBItyhgiMwHTDEVxpG0vQh1aP+GWdC6tX2BGYCx3hFZXICSaWInKbh5Lo= X-Thread-Info: NDI1MC4xMi4xOGQwMDAwMDExYTU5MWQuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east.aws.in.socketlabs.com (r2.us-east.aws.in.socketlabs.com [54.85.171.149]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jun 2018 04:48:27 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jun 2018 04:48:26 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fRw1Q-0001hg-NK; Sun, 10 Jun 2018 08:48:24 +0000 Date: Sun, 10 Jun 2018 09:48:24 +0100 From: Steve O'Hara-Smith To: thor Cc: freebsd-questions@freebsd.org Subject: Re: Cannot mix incompatible Qt library (version 0x50904) with this library (version 0x50a01),Abort (core dumped) Message-Id: <20180610094824.f47483cedc99bbca6f2361f6@sohara.org> In-Reply-To: <8196da8f-7299-64e1-25d7-ef371421440e@irk.ru> References: <8993e2f6-cf57-96d2-fd2c-7da63db08673@zyxst.net> <8196da8f-7299-64e1-25d7-ef371421440e@irk.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 08:48:41 -0000 On Sun, 10 Jun 2018 13:05:35 +0800 thor wrote: > Then make "some proggie" observing that nothing including QT5 is built > as a prerequisite. If something is required then stop the build and > install the dependency from package. There's an easier way using the 'missing' make target that lists all the packages needed by a port - on a system mostly populated with packages build ports this way: cd pkg install `make missing` make install clean -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Jun 10 09:11:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C6911009B20; Sun, 10 Jun 2018 09:11:09 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-oln040092013015.outbound.protection.outlook.com [40.92.13.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F331A7740B; Sun, 10 Jun 2018 09:11:08 +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:X-MS-Exchange-SenderADCheck; bh=jjI85XL6lhwiG1iKj/LEaQG7ehNVDqr3i7w9TLFOG5Y=; b=OWOEz1pb02emeb3ETsQH+qd0Nka4ivGry0BNVNI6aPY9BSpq92nwp2X2ajxK/IlFfhMB0xPc29tlFRotyI5qZ6a8FBVw9XoFztWtXMiDNvFtQjkIuU+oISEqRbyiXmqSX4dfSLS1AmZA1y6oWUqdZUCSaKZ7b6AZTYFWUIumryJRCND1d2sfLEWlnHXHW717OrvphN4XcjlZwwmJp9h516UbPk8D6STUjWDPeq8ZGDXAMfi1JVckXCX4zgxem56r/lHKjcE8kFyG//Rbs2YZj5wkjg1CL3YRh+P6p3/HHHMI9tG7FGgz83NVDm49AHtH6XHUILdUdi/N/ark4FtcnA== Received: from CO1NAM05FT054.eop-nam05.prod.protection.outlook.com (10.152.96.60) by CO1NAM05HT059.eop-nam05.prod.protection.outlook.com (10.152.96.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.863.7; Sun, 10 Jun 2018 09:11:06 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com (10.152.96.60) by CO1NAM05FT054.mail.protection.outlook.com (10.152.96.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.863.7 via Frontend Transport; Sun, 10 Jun 2018 09:11:06 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::14f9:15b9:a903:827f]) by SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::14f9:15b9:a903:827f%4]) with mapi id 15.20.0841.019; Sun, 10 Jun 2018 09:11:06 +0000 From: Carmel NY To: FreeBSD CC: "python@FreeBSD.org" Subject: Re: py27-certbot fails to run Thread-Topic: py27-certbot fails to run Thread-Index: AQHUAJV8ZXVbQu5S50KhpdR/g26Ehw== Date: Sun, 10 Jun 2018 09:11:06 +0000 Message-ID: References: <20180610.174104.2014388496802246907.yasu@utahime.org> In-Reply-To: <20180610.174104.2014388496802246907.yasu@utahime.org> Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR17CA0011.namprd17.prod.outlook.com (2603:10b6:404:65::21) To SN1PR20MB2109.namprd20.prod.outlook.com (2603:10b6:802:28::14) x-mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; i686-w64-mingw32) x-incomingtopheadermarker: OriginalChecksum:2E510FEEB5DBD8B2FDEA176E72528C7FB715D7916EBC718FD8387EADF3A19440; UpperCasedChecksum:FBAD62EEB2562E8EEB025282478BFB24D1FF7C68177B4888EF17A3EAA16FC2AE; SizeAsReceived:7583; Count:52 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [hhHablAJIkJWf4x1t7CrC7Oxn3vpwlk6] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CO1NAM05HT059; 7:W+N7G68/DCY0b3YAyuHNUDvEEmFNZDcK3QMy8AfvcKXUj6dchazJtl3dD7WTP8xu/QvrYN5pShTxyZAs8GylmodKK7TWA8Z2VvpFE/Ak6H5Tfg8146Xh97a2EoDDfjMhVYzEIgDLNcdJ6E2Mc1aQVAQcLapB1Jphq7xAKPzdOX+rZjCe873jJAAbkgloYNFOGmnfUG4uFBz9NA7thSX2l2R1U2+8Fqx3SkAJGGJWnJwF36GDcrK3OzCTgjlKobxM x-incomingheadercount: 52 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125500)(1701031045); SRVR:CO1NAM05HT059; x-ms-traffictypediagnostic: CO1NAM05HT059: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:CO1NAM05HT059; BCL:0; PCL:0; RULEID:; SRVR:CO1NAM05HT059; x-forefront-prvs: 0699FCD394 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(76176011)(229853002)(82202002)(6916009)(20460500001)(14454004)(5250100002)(2900100001)(7696005)(74316002)(55016002)(87572001)(6436002)(8936002)(81156014)(3280700002)(3660700001)(5660300001)(6346003)(33656002)(68736007)(26005)(386003)(59450400001)(104016004)(8676002)(102836004)(97736004)(106356001)(25786009)(4326008)(6246003)(99286004)(11346002)(426003)(43066004)(305945005)(476003)(486006)(105586002)(450100002)(446003)(50226002)(86362001); DIR:OUT; SFP:1901; SCL:1; SRVR:CO1NAM05HT059; H:SN1PR20MB2109.namprd20.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; received-spf: None (protection.outlook.com: outlook.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=carmel_ny@outlook.com; x-microsoft-antispam-message-info: efDq7r3Xa7QM3lwyugpFyECgiMsp/8AK9e2j1uzaNCk2QYxvCDUYAsWmxYjXxYEITRauc8wkYUql3GXb0XaDxlqgSOwFaNtV4kuw5eeyxl9uPO/P/fvJmm3ZrIwk/xmfnF7AjrU2ADdVinaECBf7G9OlkjNRA7AT9NMOoTVcX7hjq/dG8cLxA293S3qGzB5S Content-Type: text/plain; charset="us-ascii" Content-ID: <1F659B06030322498C293A287F1EC4EE@namprd20.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: b4c55ff4-87e4-4521-5665-08d5ceb218f0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: b4c55ff4-87e4-4521-5665-08d5ceb218f0 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2018 09:11:06.4130 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM05HT059 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 09:11:09 -0000 On Sun, 10 Jun 2018 17:41:04 +0900 (JST), Yasuhiro KIMURA stated: >From: Carmel NY >Subject: py27-certbot fails to run >Date: Sun, 10 Jun 2018 08:31:54 +0000 > >> Yesterday I updated the security/py27-certbot port to version 0.25.0,1 >> without incident. When running the application via port last night, it >> produced this error output: >> =20 >(snip) >>=20 >> Is this something local to my machine only or should I file a PR against= it >> and what can I do to alleviate the problem? =20 > >Please update your ports tree. It was fixed with r472093. Yes, I see that the updated ports tree includes an update to py27-acme with then brings in py27-requests-toolbelt which solves the problem. --=20 Carmel From owner-freebsd-questions@freebsd.org Sun Jun 10 21:52:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB0B100D2EB for ; Sun, 10 Jun 2018 21:52:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1CFC7A82E for ; Sun, 10 Jun 2018 21:52:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0Lj7Eo-1fyQnN32J4-00dD1c; Sun, 10 Jun 2018 23:47:15 +0200 Date: Sun, 10 Jun 2018 23:47:15 +0200 From: Polytropon To: AikiZen Cc: freebsd-questions@freebsd.org Subject: Re: =?ISO-8859-1?Q?b=E9po?= on gdm FreeBSD 11 Message-Id: <20180610234715.d4f6eae6.freebsd@edvax.de> In-Reply-To: <20180605141026.2e1db51f@Dell-Precision> References: <20180605141026.2e1db51f@Dell-Precision> 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-Provags-ID: V03:K1:RO1EmIsk7c2e8PIXdKsHUyf/P4FGlNxjGYWdXRlNCj9eRd4AfLj BqV6QhyMOKFuNeYs9/LWr9KSAJ6P4XhwaWNx9oIlbx5U0dHL5Z3UOpa2L8nRjrlyZtHnaHk /JbvoyvGGNoyRr4YXaElvKNEUvSMlP7Nvc4wFWh4ZEf0H+NuYjALmElUWGddQyCi0K8XhNd cos/UiEcFQvrDDlfhXo0Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:A7Qvx57diE0=:KG6Q7usnnkU/3owISQ+Oxm wBdPQjFh2g2iQNl+6TpIWLW7XbxcgbAdFEIHHuZ11itjI7SFeG/x77b4VwvljlV3U/eIM8t42 kPEOp9nTarAIwU5VY7/1KPirUVJJpvDLpJxC8EdJElKstFdpGqWc8xv2eb8xUUBO8WMl/uf+g u/vHIC6ooUo01KfewTiHwM3hG4r00iWtFeJi5hxn29DoaeoWvr0Erl/X50YuGDCaJ7RCg2+2t +tuyoN5lTS7WruxZ/vlMzU7V4zfjcyJMtaO0BXxkqxYpLyWTedJjR59wCMMqVhWCWagk2efJM ZL+rikdMyTeE+ksxR3jhd+77o/CDkOvrHxFYvx87Ob0RsU/fMRWwJVTkbn+c3pakrkzbAwQ7p AqCPGppZndZHkQKtSsXMhReS1f6zTIoxQ7I1HGLFTZD7mmdFO8PNOWik1u4hrT8tKmfmoQiTZ 65iLrGKMTIOCAE/SO+G0eKDG77sl/A65kvWmNEEB1hzFrZjWMN8cj3ZEl9iQtfLALCyozwqLG ultNTC6uYxjWUcoicMaj1EFn2aLcb880TT8Vfh++SBI3oBSIcib4KkmCR3MhQGOGCFPpWKjtG SQHngFNqo6aPcVoCWMdw0wTJzLeCO2xpvkVu7zZOBXKWOrY1jA+J3UN7/IWJrbuOd0BA5obVF 1RcIZMpl7NxvqQ8AX9meznHWl+IWwNZq5r8GxxQM3pV4dUNgICfXK4B1TM40w5Sg/GQYNcFiq XvQDyrhK3YBc/b1Z X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 21:52:37 -0000 On Tue, 5 Jun 2018 14:10:43 +0200, AikiZen wrote: > my /usr/local/etc/X11/xorg.conf.d/10-keyboards.conf : > > Section "InputClass" > Identifier "Keyboards" > Driver "evdev" > Option "XKBOptions" "terminate:ctrl_alt_bksp" # and so on > > # If you save this file under xorg.conf.d/ : > Option "AutoServerLayout" "on" > > MatchIsKeyboard "on" > MatchProduct "TrulyErgonomic.com Truly Ergonomic Computer Keyboard" > > ### at-home-modifier options begin here. > # The basic option. > Option "XkbLayout" "fr" > Option "XkbVariant" "bepo" > Option "XKbOptions" "lv3:ralt_switch_multikey,numpad:pc" > Option "TransMod" "36:64" # Defines key/modifier pairs. Use xev. e.g. > Enter (real key):Alt (virtual key). EndSection If this is the whole file, something seems to be missing. Is there no "EndSection" marker? I'm using a similar approach for the regular german keyboard layout. Maybe this is helpful? % cat /usr/local/etc/X11/xorg.conf.d/keyboard-de.conf Section "InputClass" Identifier "KeyboardDefaults" Driver "keyboard" MatchIsKeyboard "on" Option "XkbLayout" "de" EndSection That's the whole file, nothing else seems to be needed. Check section 5.4.7.1. of The FreeBSD Handbook for further details. Source: https://www.freebsd.org/doc/handbook/x-config.html > my rc.conf : > [...] > keymaps="fr.bepo.kbd" This only affects console, not X. For X, there are two competing setuo mechanisms: X.org configuration file (or partial files), and HAL (for software that still uses it, for example Gnome). > gdm_enable="YES" > gnome_enable="YES" > dbus_enable="YES" > hald_enable="YES" And _here_ seems to be the "problem". HAL has been obsoleted many years ago on Linux, but it still lives on in FreeBSD's Gnome inner workings. Check the documentation on how to set the keyboard layout using HAL. Section 5.9. of The FreeBSD Handbook covers this topic. Create /usr/local/etc/hal/fdi/policy/x11-input.fdi as per the following example: pc102 fr Source: https://www.freebsd.org/doc/handbook/x11-understanding.html > ~ % cat /var/log/Xorg.0.log | grep WW > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 39.745] (WW) Unresolved symbol: fbGetGCPrivateKey > [ 39.770] (WW) VGA arbiter: cannot open kernel arbiter, no > multi-card support Those are not related to keyboard. > i search on duckduckgo but no find, > please help me, > best regard, > Aiki Zen. The FreeBSD handbook usually has this kind of (more or less) trivial information. :-) Additional resources: https://www.freebsd.org/gnome/docs/halfaq.html http://www.ping.de/sites/kite/xorg-hal-migration.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Jun 11 05:40:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE1401009D17 for ; Mon, 11 Jun 2018 05:40:52 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BF766EA75 for ; Mon, 11 Jun 2018 05:40:52 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w5B5eoq4039241 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 11 Jun 2018 05:40:50 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w5B5eob0039240 for freebsd-questions@freebsd.org; Mon, 11 Jun 2018 05:40:50 GMT (envelope-from as) Date: Mon, 11 Jun 2018 05:40:50 GMT From: Anton Shterenlikht Message-Id: <201806110540.w5B5eob0039240@jail0199.vps.exonetric.net> To: freebsd-questions@freebsd.org Subject: OT: BSD at Berkeley? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 05:40:53 -0000 I'll be at NERSC this week. I might have time to wonder around UC Berkeley. Is there anything I can still see related to BSD? Anton From owner-freebsd-questions@freebsd.org Mon Jun 11 08:49:17 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5BA81000399 for ; Mon, 11 Jun 2018 08:49:17 +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 65D1776D45 for ; Mon, 11 Jun 2018 08:49:17 +0000 (UTC) (envelope-from ole@free.de) Received: from bard (x4e306e46.dyn.telefonica.de [78.48.110.70]) by smtp.free.de (Postfix) with ESMTPSA id 8D16216869 for ; Mon, 11 Jun 2018 10:49:08 +0200 (CEST) Date: Mon, 11 Jun 2018 10:48:57 +0200 From: Ole To: freebsd-questions@freebsd.org Subject: Re: Unable to kill processes using either Ctrl-C or 'kill' Message-ID: <20180611104857.272ba600.ole@free.de> In-Reply-To: References: <9a7f62c4-80aa-7eea-91ec-6712612a0451@pobox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 08:49:17 -0000 --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sun, 3 Jun 2018 21:03:31 +0200 - Michael Schuster : > > Can you get added to sudoers? I realize that still implies a level > > of root access but I really don't know of any other way to kill > > processes which don't belong to you. I don't see why the sysadmin > > would need to reboot.=20 >=20 > most likely, being root or equivalent won't help in this case. If a > processes owner cannot kill it (using -9, which cannot be caught) that > implies that the process is hung in the kernel (signal delivery > happens when a process leaves kernel context). I got stuck in the same situation: # kill -9 91651 # ps -o pid,jid -awux | grep 91651 91651 11 root 0.0 0.0 101488 29344 - TsJ Fri05 2= :10.18 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid and I wonder if there is anything I can do to get rid of this process. I had this situation last year too and ended up in restarting the whole system. But now I can't reboot. Thanks Ole --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJbHjeDAAoJECWWkUao5JRQC+cP/RJPOilYGyvfmQz3v0GNwzNZ HPo321YyLwz9DkVSA+LaxHPU6GqDbgyZJyuf40ZtcvSp9dcVPdetWrrvpl/o3zdK 6DaAK5Z3hESZg+5V0H7Yann6vXMRh+QkncX7RwnWhQ9m9970ulJvu72e6zczN7ih o+0muk+Vhr2YYTfKtG08jOL/GW5t13yhJNA+vXgxWGTd1aGpOXN68JyFri1qQByT ND2PvjtbNNtUnaW+NkKTn6C75l41vMCGjD8ZvUQjMnLhXuMusl1LyffNhQxGU2LW gbow14K/7zSe+95NIxq2rrSj6z3LdttyJNxlSqig/VfJiiPumuLJAiomUUxRrVXc CzveWez53qW8WjEG+EQChbWZCs/4Rc9I8XlVA6DRbtsDl7f+UKPe60vJTdAjUKzn tH7bMrCNsBARbddU0cCaUtBq9sw7Sp0SxSunxBdH7HufJK88NGaj6Bzqhjc0u0+7 wT4+8zfzdM6iTtCv1okS7aPT8Nhkv9FoMRN+zWYFpsPsYGZxpj2e3yJLhEGVPCkb YLwyppcXg2rb60NDzemJawEOQpvtbeiZvM1906uWimGRG7VzZEU/3r4shCuk78y1 r1vQWfbF7rHkUvCPYQS6reVRSDQMh26jUdIE1qJDnpBWRm2xLILTmCCrsVQ5jkAW lGRUx3IitIkxSvyl1PG2 =asSV -----END PGP SIGNATURE----- --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI-- From owner-freebsd-questions@freebsd.org Mon Jun 11 09:03:33 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 019BB100288F for ; Mon, 11 Jun 2018 09:03:32 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::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 7EA3A77E49 for ; Mon, 11 Jun 2018 09:03:32 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-qt0-x22f.google.com with SMTP id h5-v6so19503162qtm.13 for ; Mon, 11 Jun 2018 02:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dpJKtTVoFT9rBYxaB9wdklV57UrynZGftCUG/52gZ8w=; b=W3TbTzbYUzX3Vks38hHnIbvvkqJZF54OteGJcIzYxDYRxIBhA/zCJ9d4HuHmm1PpDV Ru5SAPwomj4ec1cHgsm6GQwBDNn2udhfgfTLqKibyj5WQ8lkxQCfPivtVLOylVbsa3FF pq07vbBo3xRGyxuos/298nR6hi4N4kogtHgHJPJn50cL66WSrGw7r25eBkkv6u0MTvn5 Rmqq4NCSzzQZioLoXccVqSY86zURcZiWypWUNT4IbnKYHPx6QgZ2RuKGSTvF7yU+DiOy Xwe9VFreLW7wM4Vz+tkk6l6iwxFGCEqZcL+ByGadYYjzG9uIkFF0F9rUCm1K4gxMcR9v uCyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dpJKtTVoFT9rBYxaB9wdklV57UrynZGftCUG/52gZ8w=; b=S1ngk9jUKYCs64oQ1XcE7enVwbxoZoDloIiRucBVqWFOtdpuBnla1Osf0Sf6u0dzNN 758HrcpfnECYatI2Ig12aS8FvoS+2T8IsH51y7r7i20K5bdRLk5AzO+0Kgd1c0FqJdy5 qwYGmVJSfMUJwYRDGVbg1gfst/QRHdqcJD9pjKo4GRkJ3vTDVJRhJ4vOotaNyByERWJR IRfm3yhyOm477bN2kt2Uvd1Exyc//xJ2qjVtmSRR8gbw2gOn8KagRN7gQa7MoFn/IVqS OZM9H1Tmaq0myvcrDeOo0aMTbsF/Mxu7B1fBngcl5QbqOpJFaxEdOSxYPnPGgO5P6PKf Ft1A== X-Gm-Message-State: APt69E1NOPuShimwH+8DhJ6k/XHJCJmtd/gXVGLXfFX21yG+dhDaQcT4 ZH/cclcL4DJjXFGJ6CebjYFnG1RStr+/qUgXTCc= X-Google-Smtp-Source: ADUXVKJ/FJ/PGnxJ9eX7B082RYWfu9pmyqCD6jsMzVJv6xU7g6Fp4rX09B2iG5CUD24e+tTYOu+yMVFDiVxjVfphGxU= X-Received: by 2002:aed:3595:: with SMTP id c21-v6mr14810855qte.3.1528707812061; Mon, 11 Jun 2018 02:03:32 -0700 (PDT) MIME-Version: 1.0 References: <9a7f62c4-80aa-7eea-91ec-6712612a0451@pobox.com> <20180611104857.272ba600.ole@free.de> In-Reply-To: <20180611104857.272ba600.ole@free.de> From: Michael Schuster Date: Mon, 11 Jun 2018 11:03:20 +0200 Message-ID: Subject: Re: Unable to kill processes using either Ctrl-C or 'kill' To: ole@free.de Cc: freeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 09:03:33 -0000 I can think of two ways a process/thread gets "stuck" in the kernel 1) it's waiting for some kind of lock/resource to get released 2) like 1, but doing so "busy waiting" for 1), all I can think of is a kernel debugger and some fairly sophisticated twiddling of bits ... in the second case, the system's load is probably quite high, and you may be able to find out what it's doing using dtrace and a profile provider ... HTH Michael On Mon, Jun 11, 2018 at 10:50 AM Ole wrote: > Sun, 3 Jun 2018 21:03:31 +0200 - Michael Schuster > : > > > > Can you get added to sudoers? I realize that still implies a level > > > of root access but I really don't know of any other way to kill > > > processes which don't belong to you. I don't see why the sysadmin > > > would need to reboot. > > > > most likely, being root or equivalent won't help in this case. If a > > processes owner cannot kill it (using -9, which cannot be caught) that > > implies that the process is hung in the kernel (signal delivery > > happens when a process leaves kernel context). > > I got stuck in the same situation: > > # kill -9 91651 > # ps -o pid,jid -awux | grep 91651 > 91651 11 root 0.0 0.0 101488 29344 - TsJ Fri05 > 2:10.18 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid > > and I wonder if there is anything I can do to get rid of this process. > I had this situation last year too and ended up in restarting the whole > system. But now I can't reboot. > > Thanks > Ole > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' From owner-freebsd-questions@freebsd.org Mon Jun 11 09:29:36 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF9FB1005FDC for ; Mon, 11 Jun 2018 09:29:35 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp2.cretaforce.gr (smtp2.cretaforce.gr [195.201.125.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65583792AE for ; Mon, 11 Jun 2018 09:29:35 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) by smtp2.cretaforce.gr (Postfix) with ESMTP id E6C2A3E90C for ; Mon, 11 Jun 2018 12:29:23 +0300 (EEST) Received: from [192.168.2.3] (athedsl-4449129.home.otenet.gr [79.129.211.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id B95F12732E for ; Mon, 11 Jun 2018 12:29:23 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: Unable to kill processes using either Ctrl-C or 'kill' Date: Mon, 11 Jun 2018 12:29:22 +0300 References: <9a7f62c4-80aa-7eea-91ec-6712612a0451@pobox.com> <20180611104857.272ba600.ole@free.de> To: FreeBSD In-Reply-To: Message-Id: <7E248F42-B2B7-4683-814C-E9100F25EAF3@cretaforce.gr> X-Mailer: Apple Mail (2.3445.6.18) X-CretaForce-MailScanner-Information: Please contact the ISP for more information X-CretaForce-MailScanner-ID: E6C2A3E90C.A1D60 X-CretaForce-MailScanner: Found to be clean X-CretaForce-MailScanner-From: chris@cretaforce.gr X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 09:29:36 -0000 We had the same (or similar problem) problem with FreeBSD 10.3 and = creating big archives with tar sometimes was making the tar process to = hang and kill -9 was not able to stop the process. This bug was fixed in = FreeBSD 10-STABLE. > On 11 Jun 2018, at 12:03, Michael Schuster = wrote: >=20 > I can think of two ways a process/thread gets "stuck" in the kernel > 1) it's waiting for some kind of lock/resource to get released > 2) like 1, but doing so "busy waiting" >=20 > for 1), all I can think of is a kernel debugger and some fairly > sophisticated twiddling of bits ... >=20 > in the second case, the system's load is probably quite high, and you = may > be able to find out what it's doing using dtrace and a profile = provider ... >=20 > HTH > Michael >=20 > On Mon, Jun 11, 2018 at 10:50 AM Ole wrote: >=20 >> Sun, 3 Jun 2018 21:03:31 +0200 - Michael Schuster >> : >>=20 >>>> Can you get added to sudoers? I realize that still implies a level >>>> of root access but I really don't know of any other way to kill >>>> processes which don't belong to you. I don't see why the sysadmin >>>> would need to reboot. >>>=20 >>> most likely, being root or equivalent won't help in this case. If a >>> processes owner cannot kill it (using -9, which cannot be caught) = that >>> implies that the process is hung in the kernel (signal delivery >>> happens when a process leaves kernel context). >>=20 >> I got stuck in the same situation: >>=20 >> # kill -9 91651 >> # ps -o pid,jid -awux | grep 91651 >> 91651 11 root 0.0 0.0 101488 29344 - TsJ Fri05 >> 2:10.18 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid >>=20 >> and I wonder if there is anything I can do to get rid of this = process. >> I had this situation last year too and ended up in restarting the = whole >> system. But now I can't reboot. >>=20 >> Thanks >> Ole >>=20 >=20 >=20 > --=20 > Michael Schuster > http://recursiveramblings.wordpress.com/ > recursion, n: see 'recursion' > _______________________________________________ > 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 Jun 11 13:04:19 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03AF6100095C for ; Mon, 11 Jun 2018 13:04:19 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b02.edpnet.be (relay-b02.edpnet.be [212.71.1.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C711844A4 for ; Mon, 11 Jun 2018 13:04:18 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1528722247-0a7b8d4a0c553690001-jLrpzn Received: from mordor.lan (213.219.145.67.adsl.dyn.edpnet.net [213.219.145.67]) by relay-b02.edpnet.be with ESMTP id itS9leStWa1NK38G (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 11 Jun 2018 15:04:09 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Apparent-Source-IP: 213.219.145.67 Date: Mon, 11 Jun 2018 15:04:07 +0200 From: Julien Cigar To: freebsd-questions@freebsd.org Subject: upgrade of an iSCSI zpool mirror Message-ID: <20180611130407.GT48472@mordor.lan> X-ASG-Orig-Subj: upgrade of an iSCSI zpool mirror MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GAoked8QSizNecZ5" Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-Barracuda-Connect: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Start-Time: 1528722248 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.222:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 1921 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.0000 X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests=BSF_SC0_MV0713, BSF_SC0_MV0713_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.51866 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.30 BSF_SC0_MV0713_2 BSF_SC0_MV0713_2 0.20 BSF_SC0_MV0713 Custom rule MV0713 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 13:04:19 -0000 --GAoked8QSizNecZ5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, We have a "low-cost" active/passive HA ZFS based filer (with=20 NFS4/SMB/... on top) which consist of two tiny HP Proliant DL20=20 with 2 x 2 To disks in each. On the PASSIVE node two slices are exported through iSCSI, and on the ACTIVE node a zpool mirror (named "data") has=20 been created over two local slices and the two iSCSI slices.=20 Failover from ACTIVE to PASSIVE is made through CARP and a failover=20 script, while failover from OLD ACTIVE (NOW PASSIVE) to NEW ACTIVE (now=20 ACTIVE) is done manually (the failover script explicitely change the=20 advskew to avoid any possible side effects) It works well, but those are still running FreeBSD 10.3 and I'd like to upgrade to 11.x. During the upgrade process the pool should be read-only available. I planned to do something like: with F1 being the (current) ACTIVE node and F2 being the (current)=20 PASSIVE node: - stop NFS/... services on F1 - zpool export data on F1 - switch CARP roles - F1 is now the PASSIVE node and F2 is now the ACTIVE node - on F2: zpool import -o readonly=3Don data - start NFS/... services on F2 - then start to upgrade of F1 once the upgrade of F1 is finished: - stop NFS/... services on F2 - zpool export data on F2 - switch CARP roles - F2 is now the PASSIVE node and F1 is now the ACTIVE node - on F1: zpool import data - on F1: zpool detach data - start NFS/... services on F1 then start the upgrade of F2, once finished re-attach the two iSCSI disks from F2 to the data pool on F1, and run a zpool scrub Has anyone ever done something similar and/or does it sound good to you? Thanks, Julien --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --GAoked8QSizNecZ5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlsec0MACgkQsrs3EKIE I8Ddyw/+JVJ2v0ZzbFVo5i0OqjkfJyGYLw95JPGgLbPP9YogypZfyB9QTrZyH/ch 50h7lTodGBvPBGgI81OAikgzHywIRo5nPT19fgejqCU1KFX68ElEiqBU14qSLPOf hpk/sqK2eQ4VzrJJWBUUuQo4qJ+Q1dRld6PZgwguc+hjh9hl0VKTPaso34p2Ms+X B+NcsCABN5zgiPVPEZksjUu//gXL+aKcC8tqS+L5XmuFYcaWiPhRfrb1tQriULCL QS+ipYG3haHqV9zNrp4RE1ci5ZL3mOPxhhq8ViVmU1Ohtze5h3FneykHGVd7KNHh WrDIX+Qy9hgzeHbAMRwfMtzwYkPCGneZGJDsZCmYO4pP/CX2iEdXoE+Ca1Sdxx9P tZ5mZ3/NY2Wwv/79x2Eg3nMt9t25o9sloGKLt27nWOYjpR3t+yLQYzG6yWBPXH3L FuMJFdB9nr6t8FPYtsPc1a28Y/bwrT+kD+WMPo71iGJEX3pqkRijo18PVENRtGXU U2ADwJhV+05TwKY1Npp6EmvTlplq17+cvRxiZ9tNmEYajbWMFXKm7LTJ4urbpwcm 65PPE9zO6HgUnpT3fe4B/2BA1x73lvpzgxLs/ZUp+mvLxk3pHLgEIYSlGbMiXbZT 9ktY84acHn7AdHp3fVEeroAsRQ0FlkZKkCwMnMRl5dNKk4/QX+s= =YR8F -----END PGP SIGNATURE----- --GAoked8QSizNecZ5-- From owner-freebsd-questions@freebsd.org Tue Jun 12 00:10:10 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 594461013BA2 for ; Tue, 12 Jun 2018 00:10:10 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (paka.cyberleo.net [216.226.128.180]) (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 0A54486AA1 for ; Tue, 12 Jun 2018 00:10:09 +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 4AD76581FB; Mon, 11 Jun 2018 20:10:01 -0400 (EDT) Subject: Re: Unable to kill processes using either Ctrl-C or 'kill' To: Ole , freebsd-questions@freebsd.org References: <9a7f62c4-80aa-7eea-91ec-6712612a0451@pobox.com> <20180611104857.272ba600.ole@free.de> From: CyberLeo Kitsana Message-ID: <7cf1c687-f424-4612-7809-da45713588db@cyberleo.net> Date: Mon, 11 Jun 2018 19:10:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180611104857.272ba600.ole@free.de> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 00:10:10 -0000 On 06/11/2018 03:48 AM, Ole wrote: > I got stuck in the same situation: > > # kill -9 91651 > # ps -o pid,jid -awux | grep 91651 > 91651 11 root 0.0 0.0 101488 29344 - TsJ Fri05 2:10.18 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid > > and I wonder if there is anything I can do to get rid of this process. > I had this situation last year too and ended up in restarting the whole > system. But now I can't reboot. This process is stopped (state T). Sending it signal 19 (SIGCONT) might help unstick it long enough for it to receive SIGKILL. It might be a good idea to try and figure out why it got stopped in the first place, though. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Element9 Communications http://www.Element9.net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@freebsd.org Tue Jun 12 07:20:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97CCC100615D for ; Tue, 12 Jun 2018 07:20:21 +0000 (UTC) (envelope-from seller-notification@amazon.co.uk) Received: from x123.secure.ne.jp (x123.secure.ne.jp [115.146.4.7]) by mx1.freebsd.org (Postfix) with SMTP id B95AB71F6C for ; Tue, 12 Jun 2018 07:20:17 +0000 (UTC) (envelope-from seller-notification@amazon.co.uk) Received: (qmail 57562 invoked by uid 0); 12 Jun 2018 16:13:33 +0900 Received: from unknown (HELO localhost) (info@nna.eu@47.254.155.149) by 0 with SMTP; 12 Jun 2018 16:13:33 +0900 Message-ID: <0DF7BFA7B4604EED31347DC7F32EC564@localhost> From: "Amazon Europe Services" To: Subject: Suspension of your sales on Amazon Date: Tue, 12 Jun 2018 07:13:30 +0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_072C_01D4021C.DDCC98A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 07:20:22 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_072C_01D4021C.DDCC98A0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Dear freebsd-questions@freebsd.org, Your Amazon sales marketplaces can be closed. Your Amazon seller account must be verified. Please follow the invoice file of this e-mail. The Amazon Payments team Amazon Payments Europe S.C.A. (soci'et'e en commandite par actions), a li= mited partnership for shares, is a company registered in Luxembourg, Regi= stration Number (RCS Luxembourg) B 153 265, with registered office at 5 R= ue Plaetis, L-2338 Luxembourg. VAT number LU 24448288. Amazon Payments Eu= rope S.C.A. is authorized by the Commission de Surveillance du Secteur Fi= nancier as an electronic money issuer (license number 36/10). Amazon Paym= ents is a trade name of Amazon Payments Europe S.C.A. ------=_NextPart_000_072C_01D4021C.DDCC98A0 Content-Disposition: attachment; filename="Two-Step-Verification.html" MIME-Version: 1.0 Content-Type: text/plain; name="Two-Step-Verification.html" ------=_NextPart_000_072C_01D4021C.DDCC98A0-- From owner-freebsd-questions@freebsd.org Tue Jun 12 15:09:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B421101CF30 for ; Tue, 12 Jun 2018 15:09:50 +0000 (UTC) (envelope-from jude.obscure@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 1542768C4A for ; Tue, 12 Jun 2018 15:09:50 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward103j.mail.yandex.net (Yandex) with ESMTP id 3F61B34C3F21 for ; Tue, 12 Jun 2018 18:09:38 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mBUau1v7Cd-9ca0qo78; Tue, 12 Jun 2018 18:09:38 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1528816178; bh=PrcKf2G+aRQ4YAuERnU2PEYKPPOGTiaZTOPA6Q4rJXA=; h=To:From:Subject:Message-ID:Date; b=Vt/wBel/E0ocaVKkcATZxxtcKgXQKdwFmMgS8/RKldJuuzIcPXoq+wHfQ3g3QDgFk B78ur5j+4v1D08UmhXzIeCk3OBh63y2qQ3ogr6kESHFT/m2Ohbc4kj94MdAmt6ichW YdUImAGRUPFxyNAJsgJewVqgo0HmjmD8MsX+73Kk= Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id WL2dZH4YwR-9aAas8lP; Tue, 12 Jun 2018 18:09:37 +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=1528816177; bh=PrcKf2G+aRQ4YAuERnU2PEYKPPOGTiaZTOPA6Q4rJXA=; h=To:From:Subject:Message-ID:Date; b=X+o2A5rQKJKrdRlF5A3qQP64CNGU8wVqTquoyx60YsjObfOSfkXbDyeyDjtodB2+S rEzSR/I5OVgUQs7cxImvV5IWPq4Ojm4sw8JxOjQrb5uWQlK5pN1noX5KIIx6uL4rv7 jm2DG0iIcSQkPZqAI/iC91wERLuN73Zfq5LOhQpw= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.com To: freebsd-questions@freebsd.org From: Manish Jain Subject: How to detect single user mode in FreeBSD ? Message-ID: Date: Tue, 12 Jun 2018 20:38:08 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 15:09:50 -0000 Hi, I am writing an fsck wrapper which first needs to check if the system is in single user mode. Under Linux, there appears to be a sysctl that shows whether the system is in single user mode:  sysctl -n kern.singleuser. Is there some similar facility under FreeBSD too ? Thanks for any tips. Manish Jain From owner-freebsd-questions@freebsd.org Tue Jun 12 16:39:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC80010048F4 for ; Tue, 12 Jun 2018 16:39:13 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::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 7F8396CF80 for ; Tue, 12 Jun 2018 16:39:13 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id a5-v6so16420355uao.8 for ; Tue, 12 Jun 2018 09:39:13 -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=xDdA4j5OEP4P/88VTKN5o9TIqHB+3MxHHvo0fzzhrKY=; b=neB389TPnMmHwks+Ddb3xz6dsndCfwvEQrV4/3U/IWvzX+3yHgwsp852euw6hE9+Dw TOqv0skGBKr+J+6Pk/1PIMNk615uF6d51htf8rgCoqnfZnz0HFZt2J83wdtAQHsAGB8W MVb0C/q3k4N0iK2q9G/Fy7QOZ+6UKyuUO49Pf1r4GBy9XzbrVLgw1u5UJvRQh/YylLPD c7sy3+Xo4YAhAByPlG/N39NDEPIAvLGNGfnk/mQWsH/2/uQddAIPC+N5LH6WIyvztgxW w3oaoNO4XfpGoM8wOuqo4nEH/AiY5vc1MAMqS7D+F0fQMgez7LZnDwo3RLd5745tRSle vx7g== 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=xDdA4j5OEP4P/88VTKN5o9TIqHB+3MxHHvo0fzzhrKY=; b=FBr0HjUkV2ipCT0tUNb3pfTCTiVlxLFtiHx2cw4oBLui0gMHI6hX7UeTASVqBksSPQ SiMjR0L3l74k4X1RH+YKyg3kXViJPX1w+jLOAFhYCGmRpg0RAicmv6Wj6q/CVVBxVjgM v4H28Gy7KUJWFGEgiQEllN2knaqUpRO3oROwbHqjqk30qJpbf4rgDtcMpJAwCAInpgwX X5VQD+FLQFeJ9XqaSaHNol+Yf89af7bsXaoal0rYp3mzvEJwkOldZ5z3Tumg8cNUIsNH yq0e3p0ty6bfT3LpMePYi6rV4o7TLrLuC+KdFJiHR1nSuT8d16fBEBKGrIvl0rX1TEsS wrBA== X-Gm-Message-State: APt69E2jpChAPlmMRooy3OCrpFZHjGm9YC1xNB9UiokaH82quqVknAZR vX6QK2pGml01bX4VaYyx11QPOA0IGOG6nAzLhoo= X-Google-Smtp-Source: ADUXVKKpLiib73bin4KLoKschPz8YbbKinbQDUOj9JWr+uL0KRsc0c6khWIQxA0gHizTpwFYLnG83nuWiosDShkWsI8= X-Received: by 2002:a9f:3409:: with SMTP id q9-v6mr873110uab.161.1528821552702; Tue, 12 Jun 2018 09:39:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 09:39:11 -0700 (PDT) From: B J Date: Tue, 12 Jun 2018 16:39:11 +0000 Message-ID: Subject: Problems Connecting Laptop To Modem To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 16:39:14 -0000 I have several computers connected to my Internet service, though not all at once. One is an old iMac with an outdated version of OS X. i also have two towers that run FreeBSD/Mate and a laptop that has FreeBSD/Xfce. A few weeks ago, the router I had malfunctioned and I got a Cisco modem/router from my ISP. All of my machines could connect to the Internet through it, but the signal wasn't very robust. The slightest disturbance to the system, such as shutting down one of the computers, would result in the loss of that signal. i went back to my ISP and exchanged that unit for one made by Arris. I can add or remove computers from it without any problems except for the laptop. It can't seem to connect to it, at least when it's running FreeBSD/Xfce For example, I tried: service netif restart followed by pinging a website, but that didn't work. The Ethernet connector appears to be good. I tested it when I booted the machine using a live CD version of an old openSUSE distro that I happened to have on hand. I'm not sure what I should try next. Does anyone have any suggestions? I could, of course, contact my ISP, but its staff, apparently, isn't given any training on Linux and, presumably, Unix systems. To be honest, it's not all that important if I can't use the laptop right now as I've got the two tower machines. The laptop is more of a convenience than anything else. By the way, the only reason I've got Xfce on it is because it couldn't run Mate. Thanks. B. M. Jatzeck From owner-freebsd-questions@freebsd.org Tue Jun 12 16:45:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3320D10059A8 for ; Tue, 12 Jun 2018 16:45:39 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:107]) (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 B90E86DBA9 for ; Tue, 12 Jun 2018 16:45:38 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 9F255185A31 for ; Tue, 12 Jun 2018 19:45:35 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MiDQdAUikz-jZuS0Xc6; Tue, 12 Jun 2018 19:45:35 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1528821935; bh=iNRut6Qp3eCzftZrceuoBPHyux1fciQ+jzgNsWlkqNk=; h=To:From:Subject:Message-ID:Date; b=SrP8WM6ApEmyuEPYuu3X4k5L75caFlnGhD92I7xyuT6mqdAUvgStTgaUdR0h3dg+R 0TZNA8rsykaFo9gMJRgqKwUPWJXFeqBj3v0cvbu6kJU4q0FGIwv5Yds5ztaqk89vxm mCRU1OpOJLp6gpJjOwB2FwBJRkuWiEFKuL1Jlxvw= Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id GgrhrUOkhY-jYXKG2Ge; Tue, 12 Jun 2018 19:45:34 +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=1528821934; bh=iNRut6Qp3eCzftZrceuoBPHyux1fciQ+jzgNsWlkqNk=; h=To:From:Subject:Message-ID:Date; b=TSW6PdLZ52rnLmzBIolSuUM35EGNnKrL3IxSaJtZxIxMnRSFS4Y8Optk/20MDNHE6 jhXYChglEn4y5bL3+K9T8pOWJSDNuHwUe552gikbdWnFTLfwtiqCHfkG9+8I24r/ME ssDFpfwBnRhJ01Cpda5yoQzk37il8ioRzw/2mua8= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.com To: freebsd-questions@freebsd.org From: Manish Jain Subject: A tricky problem: managing ext2fs extended attributes under FreeBSD Message-ID: <3c82eecd-b839-14c8-19a0-a493de58504a@yandex.com> Date: Tue, 12 Jun 2018 22:14:06 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 16:45:39 -0000 Hi, I am running a 10.4 amd64 system in which the OS is FreeBSD. The root filesystem is UFS , whereas all my user data gets stored in an ext2fs partition. Extended attributes like unlinkable can be set with chflags under FreeBSD UFS and with chattr under Linux Ext2. There are times when I want to mark a file among my user data as non-deleteable. FreeBSD I think can set/honour flags only for UFS, not for Ext2 filesystem. Is there some way I can get Ext2 attributes to work under FreeBSD ? Thanks for any tips. Manish Jain From owner-freebsd-questions@freebsd.org Wed Jun 13 01:28:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11140101422A for ; Wed, 13 Jun 2018 01:28:53 +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 97DCE83F53 for ; Wed, 13 Jun 2018 01:28:52 +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 564203AEF8 for ; Tue, 12 Jun 2018 18:28:45 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: NIC locks up for no reason (?) Date: Tue, 12 Jun 2018 18:28:45 -0700 Message-ID: <23524.1528853325@segfault.tristatelogic.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 01:28:53 -0000 I am experiencing a really rather odd problem, and could use some helpful advice. I'm sure there is a good explanation for why this is happening, but at the moment I have no idea what it is. More than a month ago, I got myself a shiny new VM on one of the many providers of such on the Internet. I loaded up 11.1-RELEASE-p9, fiddled sshd so that it would run on a somewehat obscure unused port. Anyway, after doing the above things, all was running well, and exactly as expected for some time thereafter. (I have mostly just been using the box for some obscure research purposes.) I never set up any kind of filewall on the thing because frankly, I was doing so little with the box I didn't think I'd need one. Recently, I decided to install and run apache24, which I did. I configured that also to run on a non-standard port, since my intent was that the web stuff it would be serving up would only be stuff that I and perhaps a few close friends would look it. Apache started up just fine, and I was able to acces web content on the box via the non-standard port, from a system elsewhere on the Internet. No problem. Anyway, now it appears that the NIC on this VM system is effectively locking up from time to time, and I have no idea how to even begin to debug this problem. This happened a few days ago, and I managed to get to a virtual console, I logged in as root, and then I rebooted FreeBSD on the VM and again, all was well... for awhile. When this problem occurred before, it appeared that the (virtual) NIC of the VM was not accepting -any- packets from outside. Now the NIC has locked up again. Once again, from the outside it appears that it isn't responding to pings. or to traceroutes, or to ssh (on my non-standard port), or to attempts to telnet to the (non-standard) HTTP port I'm using. Traceroutes -out- from the VM also get absolutely nowhere... not even one hop. Pings rom the VM to its own (externally routable) IPv4 address work fine. I logged in again via the virtual console and once again, just like the last time this happened (a couple of days ago), I can see nothing obviously wrong. There's plenty of free disk space, and top is showing the CPU as being >95% idle. ifconfig output looks perfectly normal to me... the interface in question is listed as "UP". Whet the devil could be wrong? The relevant hosting company has assured me that they haven't been doing anything new or special lately. The Handbook says that (recent vintage) FreeBSD provides three different flavors of firewalls. Are any of these three enabled by default? What about TCP Wrapper? Is that enabled by default on an out-of-the-box install of 11.1-RELEASE? What else could possibly explain a NIC periodically becoming totally unresponsive... at least from the outside... apparently just because I had the audacity to install and run apache24? From owner-freebsd-questions@freebsd.org Wed Jun 13 02:54:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 046C2101AA66 for ; Wed, 13 Jun 2018 02:54:23 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-7.antispamcloud.com (out1-7.antispamcloud.com [185.201.16.7]) (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 7F86F86FEE for ; Wed, 13 Jun 2018 02:54:21 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx12.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fSvTK-0002Pg-Pf; Wed, 13 Jun 2018 04:25:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=mitjqJM3BjSzheecGEWHV68i4C5rXci8eDc3qDA4XQg=; b=bJrx3NtIObUDZi/vZ4DCF7Ll+f WfgBZI/4zRWl/mB4k/hhswsuVX0xWaZybsCX8CaWfylYtaDZwqQhcZRoth2uyUU5HFrQH/Gb/wbSW l8HqQsAlNy0j6qpNf+8v9uCNvHV1CeoK3zp+J6c3fpLdeswIDbihdg0FeXXuOlxLk720qZryu4Z9S 9KQ8a0AQm+BPVjujh1gSkZ9LXbwvlBMjNq6Q19Y2oONbb03vDjuO5SlMzUCVjimfWke/q6qTTsg0R rYdHWVRtkUWqYVb0Dc+55CQg1DogLIyS8Kn348cmO5P3+3vgfL/P5wy4pxJCpNTNJCW1yBUKFaLNl Wd85na2A==; Received: from [182.1.64.246] (port=20515 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fSvSX-0006Mr-3L; Wed, 13 Jun 2018 09:24:32 +0700 Date: Wed, 13 Jun 2018 10:24:26 +0800 From: Erich Dollansky To: B J Cc: freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: ham X-AntiSpamCloud-Outgoing-Evidence: Combined (0.02) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5oyimwkPYZrnh2Ss6gUy30h602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOyUbQzp6uNaWKWUQShrSWzm/HkqXSCguusxpiFXltuLl+kBuqA1kK+apPM/4YqUEFQTz WN0/6c1OeVx0Pev94h4T1PIIFyJaz0898mnWiL6VBMmyNbDn7R5kilAhwr3KtJJAgryuFbuuZT2x xMkTmm0Q/dmiwnPgn1JvZNT5ejEbq8cZWR20xkhRU+wteAIV/lsw7KiSeF+lpNmHLUb4eTGoQxQi BI2TokVl+i87u/cuhjH+s7IyGgYI2/48DdYq5nuEOX5X+aI07tQv+JNpJZkn7bB5bp6MFPZxaDQ+ O9lvv0hnML1BX+vWNRARolTDlD3ez4CdtXaPw7D+FGO9tGn+Yn2IUbTte+q+Nq1AtJsqX0ap+5DR uAeZYsoDEfVfSbwqyT5p50x81ZKcmzCu2U34gLU00gcBQyydDZ+JHHf+eGS2NlHalU3pouehsm1G Um4pV/hLCLtIwPJ9XBizpkcefJXHc74ik7YBZhdPEu8BxTT4PI1vyiozin+Q9Z44jwEiRQv+PVjj wa+Z5RFCOMRUrRLEbmN2hOWkm+jjl7mqPwUimsNGvJJilSn4u6QSZKUU7yRrFANDyd1rqpYpH4/t cEEdFUtlBcd/cggQO2/Ly6uSlRfEHXv0FyPlUsc0FfdjzQ6YC7Heg3Xf7O1TOd70JEGZ4rWzGZ4/ zlyCC3H2XkPAelc4WfrcoSlIb+HeUvV7WpS9s7h+Tf/hZvIbu0igyQaenMmH18/Q/rqh6KyCRQQx LY/+29TRohSqJrULEmYVBRym1GTL+3N3DlP9FRLpAXnrGA4CDNa5JkRTD9kWJR/YdqcpiEfVkaxc IKMqsCjBRB0t/r7fzY7HnTQ5j8Py3deP8vNnmz84mDUvZqxnB1hYVULyg3fWh5tbcz2mAWZJTLdd dmSmgUp4oA9rqJlne1u2s7aPHmvkjwmFXvRv X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 02:54:23 -0000 Hi, can you post the output of ifconfig as the first step? Erich On Tue, 12 Jun 2018 16:39:11 +0000 B J wrote: > I have several computers connected to my Internet service, though not > all at once. One is an old iMac with an outdated version of OS X. i > also have two towers that run FreeBSD/Mate and a laptop that has > FreeBSD/Xfce. > > A few weeks ago, the router I had malfunctioned and I got a Cisco > modem/router from my ISP. All of my machines could connect to the > Internet through it, but the signal wasn't very robust. The slightest > disturbance to the system, such as shutting down one of the computers, > would result in the loss of that signal. > > i went back to my ISP and exchanged that unit for one made by Arris. > I can add or remove computers from it without any problems except for > the laptop. It can't seem to connect to it, at least when it's > running FreeBSD/Xfce > > For example, I tried: > > service netif restart > > followed by pinging a website, but that didn't work. > > The Ethernet connector appears to be good. I tested it when I booted > the machine using a live CD version of an old openSUSE distro that I > happened to have on hand. > > I'm not sure what I should try next. Does anyone have any > suggestions? I could, of course, contact my ISP, but its staff, > apparently, isn't given any training on Linux and, presumably, Unix > systems. > > To be honest, it's not all that important if I can't use the laptop > right now as I've got the two tower machines. The laptop is more of a > convenience than anything else. > > By the way, the only reason I've got Xfce on it is because it > couldn't run Mate. > > Thanks. > > B. M. Jatzeck > _______________________________________________ > 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 Jun 13 03:04:47 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A908D101B9E6 for ; Wed, 13 Jun 2018 03:04:47 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::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 4427787AD7 for ; Wed, 13 Jun 2018 03:04:47 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id k14-v6so726715uao.12 for ; Tue, 12 Jun 2018 20:04:47 -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=2HnZVhaoW5YudWLIdQupb9j7li562j1/AVwTtBVdE+M=; b=IlnbemqN6o4pn8PLGae0PMS5REte0OVCOu64ORKcYJKFFQujkrQKdHL27kEOSQwTOi tuqn5K1vybHVVzF25WZZWIstKD3uAF/rlJBzabbrVhzaFuEhAEiO64s/fs6Cb1z4R9Vc JgZpUJ0qtxN7JfLLQDfo+5FAlrM/DMnNtxGL2YxdIkTLJXGkpUSRM93/jsuCIaq711Tx wCSVHISSILd+eVu2L3K3V+7txpBoqrHsghvBYUsvwHuQNZM08XSyHuX545ZiRqDhJtIB hJ48BQseAI1DNxXiEFdOVusDVMAXRZUqP8scWttCLRic6x75fWFiOKeaWFNMm2r8pjzJ 8H+g== 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=2HnZVhaoW5YudWLIdQupb9j7li562j1/AVwTtBVdE+M=; b=K6Ht3cq5oN412+QyvX042LbKPdSP1wMsgCvcvmU7Ryxl/QvrWw11bd8KGL3VIe4mOP PZBoTNqfIK0QxVlBE7me9r1q7ZXeefmvyXw2wksbpgi8JFsns77EuFp/lQofzIpl7Jdk ur2I2NbcJt+iryj6AOQ4lPu0UyE9mep+/lJLE3YJEcpwZkhtn3untsiFJvJNrs6LGBp0 sSguknYs1UeAwwSZDVaox4o8HB1WEXlNjk4+wnpa7Ut+ghjuzeu2fnVAJCOWiz4oDVEg Rs26/bOaOsquxk5u9p7/pAoDCnrNxISjzLtor1Cd3RwgccKuUWnegu07rSX2ae4n+cST c4/w== X-Gm-Message-State: APt69E0yYBN0WJDWJMi0cjx+beWdI7y5XSKLaQGmzsp0aR0j9PUi9QdY QeFcOBFQGTFWkk1VA7DFCLASO4Ynwvo3iAMUWkA= X-Google-Smtp-Source: ADUXVKLO05QP4nYaxvYh/YjbNltZAufWX5n6zoM4LF10vawegNz1tmYCCe4rGWvi/JQObHMzsLvjpmznJ22c82rOoIM= X-Received: by 2002:ab0:4c6c:: with SMTP id d44-v6mr2136826uag.2.1528859086378; Tue, 12 Jun 2018 20:04:46 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Tue, 12 Jun 2018 20:04:45 -0700 (PDT) In-Reply-To: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> From: B J Date: Wed, 13 Jun 2018 03:04:45 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Erich Dollansky Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 03:04:47 -0000 On 6/13/18, Erich Dollansky wrote: > Hi, > > can you post the output of > > ifconfig > > as the first step? > > Erich Here's what I got: nfe0: flags=8843 metric 0 mtu 1500 options=82008 ether 00:00:00:00:00:00 inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::b821:476f:28dd:e05a%nfe0 prefixlen 64 scopeid 0x1 nd6 options=23 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 groups: lo BMJ From owner-freebsd-questions@freebsd.org Wed Jun 13 07:33:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD16F100E48B for ; Wed, 13 Jun 2018 07:33:27 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [78.47.184.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6891F71A0E for ; Wed, 13 Jun 2018 07:33:27 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) by smtp3.cretaforce.gr (Postfix) with ESMTP id AB8273E8FD for ; Wed, 13 Jun 2018 10:33:18 +0300 (EEST) Received: from [192.168.2.3] (athedsl-128014.home.otenet.gr [85.75.75.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 8B6422734A for ; Wed, 13 Jun 2018 10:33:18 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: NIC locks up for no reason (?) Date: Wed, 13 Jun 2018 10:33:17 +0300 References: <23524.1528853325@segfault.tristatelogic.com> To: FreeBSD In-Reply-To: <23524.1528853325@segfault.tristatelogic.com> Message-Id: <45326DA0-E7D4-45EF-ADBC-E61BE54726CA@cretaforce.gr> X-Mailer: Apple Mail (2.3445.6.18) X-CretaForce-MailScanner-Information: Please contact the ISP for more information X-CretaForce-MailScanner-ID: AB8273E8FD.A2051 X-CretaForce-MailScanner: Found to be clean X-CretaForce-MailScanner-From: chris@cretaforce.gr X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 07:33:28 -0000 No firewall is enabled by default. Use the console and see the output of: dmesg also check /var/log/messages during the outage. > On 13 Jun 2018, at 04:28, Ronald F. Guilmette = wrote: >=20 >=20 > I am experiencing a really rather odd problem, and could use some > helpful advice. I'm sure there is a good explanation for why this > is happening, but at the moment I have no idea what it is. >=20 > More than a month ago, I got myself a shiny new VM on one of the > many providers of such on the Internet. I loaded up 11.1-RELEASE-p9, > fiddled sshd so that it would run on a somewehat obscure unused port. >=20 > Anyway, after doing the above things, all was running well, and = exactly > as expected for some time thereafter. (I have mostly just been using > the box for some obscure research purposes.) >=20 > I never set up any kind of filewall on the thing because frankly, > I was doing so little with the box I didn't think I'd need one. >=20 > Recently, I decided to install and run apache24, which I did. > I configured that also to run on a non-standard port, since my > intent was that the web stuff it would be serving up would only > be stuff that I and perhaps a few close friends would look it. > Apache started up just fine, and I was able to acces web content > on the box via the non-standard port, from a system elsewhere on the > Internet. No problem. >=20 > Anyway, now it appears that the NIC on this VM system is effectively > locking up from time to time, and I have no idea how to even begin > to debug this problem. This happened a few days ago, and I managed > to get to a virtual console, I logged in as root, and then I rebooted > FreeBSD on the VM and again, all was well... for awhile. >=20 > When this problem occurred before, it appeared that the (virtual) NIC > of the VM was not accepting -any- packets from outside. >=20 > Now the NIC has locked up again. Once again, from the outside it > appears that it isn't responding to pings. or to traceroutes, or to > ssh (on my non-standard port), or to attempts to telnet to the > (non-standard) HTTP port I'm using. >=20 > Traceroutes -out- from the VM also get absolutely nowhere... not even > one hop. Pings rom the VM to its own (externally routable) IPv4 > address work fine. >=20 > I logged in again via the virtual console and once again, just like > the last time this happened (a couple of days ago), I can see nothing > obviously wrong. There's plenty of free disk space, and top is = showing > the CPU as being >95% idle. >=20 > ifconfig output looks perfectly normal to me... the interface in > question is listed as "UP". >=20 > Whet the devil could be wrong? >=20 > The relevant hosting company has assured me that they haven't been = doing > anything new or special lately. >=20 > The Handbook says that (recent vintage) FreeBSD provides three = different > flavors of firewalls. Are any of these three enabled by default? = What > about TCP Wrapper? Is that enabled by default on an out-of-the-box > install of 11.1-RELEASE? >=20 > What else could possibly explain a NIC periodically becoming totally > unresponsive... at least from the outside... apparently just because > I had the audacity to install and run apache24? > _______________________________________________ > 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 Jun 13 08:26:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05EBF1012AF7 for ; Wed, 13 Jun 2018 08:26:12 +0000 (UTC) (envelope-from return-to@edm.icartisan.com) Received: from dmd232.mail78.dmdelivery.com (dmd232.mail78.dmdelivery.com [61.147.78.232]) (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 EFB6D73D56 for ; Wed, 13 Jun 2018 08:26:10 +0000 (UTC) (envelope-from return-to@edm.icartisan.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edm.icartisan.com; s=dmddkim; t=1528877213; bh=hYjo/HA8FKVbf5DsolSgpw9tSV+0qGpjKbMonBHH24U=; h=Date:Message-Id:To:From:Subject:Content-Type; b=WcoW4AFX4E/WZkuMxQ/vK3Zwj+TScrT7y7zFnw6X61zuOUgFfOJpAVYzjxyrqLgJY zjs21WRLdAw+0//M6+GbKLupM5nHBy2e1VsJFcT5v09UEv9X16C/rRr9J/4dypWht1 M4CAcB34tyedGbwiunnUj2z006a0aTQ07lIxnYHw= Date: Wed, 13 Jun 2018 16:06:53 +0800 MIME-Version: 1.0 Message-Id: To: freebsd-questions@freebsd.org From: "AUX to USB" Reply-To: "AUX to USB" Subject: No AUX in Your Car? Add One Easily X-Mailer: DMD-MTA X-Hash: S7Y1.J9ra2jwv8jWxMLUwuJ.jq3R.wzb1JRcvczkxKKSzOLEPL3k.Nz.mSm2cAEAA41 Feedback-ID: edm.icartisan.com:1:10:webpower List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Owner: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 08:26:12 -0000 Cartizan Tech (http://www.icartizan.com)=0AIf you are unable to see the mes= sage below, click here (http://edm.icartisan.com/x/?S7Y1.J9ra2jwP8fW6H_RrYm= FqYUFAAA44)=0A=0AAUX-USB for car without OEM AUX (http://www.icartizan.com/= aux-usb-audio-adapter-for-car-without-oem-aux-jack_p248.html)=0A=0ANowadays= more and more cars have canceled the 3.5mm AUX input. Do you use these dev= ices in the car?=0AHi-Fi music player? Digital TV tuner? Smartphone Screen = Mirroring or other external AV devices?=0AHow do you solve the problem of a= udio transmission to the original car stereo?=0AFM? Bluetooth? DSP? That is= not good or too expensive and complicated.=0AWhy not try our latest produc= ts: AUX-USB Audio Adapter=0APlug and play without any install is as simple = as putting a USB memory stick into a computer.=0AYour car has an extra AUX = port in a moment, and the sound quality is pretty good. The most important = is the competitive price.=0AI think it's sure to meet your market.=0ANo= w it supports the following model: BMW, Mercedes-Benz, Land Rover, Porsche,= Ford, Peugeot, Citro=C3=ABn, Renault, Nissan, Infiniti, etc.=0A=C2=A0=0A= =0AAUX-USB audio streaming adapter (http://www.icartizan.com/aux-usb-audio-= adapter-for-car-without-oem-aux-jack_p248.html)=0A=0AAUX TO USB STREAMING A= DAPTER=0ASolve the problem of OEM car stereo without 3.5mm AUX input. Proba= bly the most cost-effective solution.=0AYou are welcome to reply to this Em= ail if you have any interest, or click the button to check more information= .=0AVIEM MORE>> (http://www.icartizan.com/aux-usb-audio-adapter-for-car-wit= hout-oem-aux-jack_p248.html)=0A=0AShenzhen Cartizan Technology Co., Ltd.=0A= Address:=C2=A06F, Boshen Building, Changxing Road, Longgang District, Shenz= hen, China=0ATel: 0086 755 27888592 =C2=A0 =C2=A0 E-mail: salesa@icartizan.= com =C2=A0 =C2=A0 Web: www.icartizan.com=0AWhatsApp & Wechat: +86 158137130= 72=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0Skype: happysophia8686=0A=0AUnsubscribe = (http://edm.icartisan.com/x/plugin/?pName=3Dunsubscribe&MIDRID=3DS7Y1.J= 9ra2jwP8fW6H_RrYmFqYUFAAA44&Z=3D-25685877) if you no longer wish to rec= eive these emails.=0A From owner-freebsd-questions@freebsd.org Wed Jun 13 08:44:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A27D1014590 for ; Wed, 13 Jun 2018 08:44:28 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-7.antispamcloud.com (out1-7.antispamcloud.com [185.201.16.7]) (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 1F64A74B6A for ; Wed, 13 Jun 2018 08:44:27 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx3.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fT130-0006sW-L0; Wed, 13 Jun 2018 10:22:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=VRGkEHs+UTYAuZjRBMBwJGUGJexHbKdW/d9YhgC/jwo=; b=Iieq4IsVuJW+mscf4pCxOtxd5d hTDzHNv0Pa+Y0D+2EdMNsLciowRX+55QduZxG1HJYcchlkH2LpGcy8eN3UIIlJmm7MjWYFQwkkxSH A7HA0mz2rzwqNpQNYGDzn4DPEUFDq8DfF+SRNZ5zmCLYI1dwwAwTWCHWPRtiewhWMvK01LDy1P9yy HLlR+jalAzsmkGLUaVaM78sgUwNZ1rG9767NC8sxSs84hVCK9OPC6LNAaNqK4YV97QMlQ1i6u6bD6 YzCH4Hw7LQtWVDnwQuiifYpGI85KdtfEqQfYXYuqxdWYsxbf6PWRHogVmV8+9fQoWXkQwmo2JD5G0 JF8FfDGg==; Received: from [182.1.70.232] (port=31939 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fT12D-0003N1-07; Wed, 13 Jun 2018 15:21:43 +0700 Date: Wed, 13 Jun 2018 16:21:37 +0800 From: Erich Dollansky To: B J Cc: freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: ham X-AntiSpamCloud-Outgoing-Evidence: SB/global_tokens (0.00905904475064) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5iMrPB6l2SfB3KXeoAvVmCN602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOyUbQzp6uNaWKWUQShrSWzm/HkqXSCguusxpiFXltuLl+kBuqA1kK+apPM/4YqUEFQTz WN0/6c1OeVx0Pev94h5cHEKbD3m/B/uHXKGShRMUBMmyNbDn7R5kilAhwr3KtJJAgryuFbuuZT2x xMkTmm3ZpDNsL8qo/Gi04im2pBVVUD4ky7BX1UzjonqURLTnacWty4HeSIXN6ZxwlaZBk2hHfyM3 0MC6yRJ1K3cT80cRibeRcXFPc8cqkLwvhK2OeezUrQIHG+qb7m6rsUJYqrkBWDoGJ+0yh69KXxwj Ya+s1lKjr5bPbebPOmRT2bIcf8x7BZzVdsrUJ1TjYZWWhhRIvwk+SzBXVEwrOfaE35eVAdxCnN6c 8AwtHizUz2aXKjqsOfS1M5VyYnCojwm7ad7uG+vG3HxFIRqFGjESyKzuwXjwz+P/UJmAkSBezX3H NCCeMD2XEVnP8fAdA6vIg9fLSqUGTQkPX1jYXYC6WWTCrpsu3Ug3c0/hWWiW7GZdoV3vXga/wZaa R7j03UjqmwqtI4g+l6rCWbY0MZcgnbHsrEwezX4IOqz4meH1anIOubtHgKATdaGh8Nz7rtM2iUxa MBrgpa5IEaVvbVvsBlvJTzLiBLyoEuDLcVVq6R97P/4i9Ck1vln7cQgNlU2ieu3k7BUPP1haJIgT pSUEebIE0PlLA98uMCAIbISsyTypS+RKnFxkC8NToPUiZR05TA5RW+mklUcW8181Fz5b73ibjav1 FukY5jOxpkE999vgSs4w2qdBpl9WFoPweXLG+xt+pvlHhV6a5QjptwQBGybQFR1WTRYQgW5CxbOk DibrvtFXUrj/j04+xelFAZ4Eh2JUBj7dEdF63HgHpngSLnCgWyz6fZ9+dDG3ponuSVlpv7lTeZZM k9Opv7FUgqqB47vvJBek2Mp/Z+sVjPxvrfyoT7jXlt4salRLzlsNjTbdrQ== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 08:44:28 -0000 Hi, On Wed, 13 Jun 2018 03:04:45 +0000 B J wrote: > On 6/13/18, Erich Dollansky wrote: > > Hi, > > > > can you post the output of > > > > ifconfig > > > > as the first step? > > > > Erich > > > > Here's what I got: > > nfe0: flags=8843 metric 0 mtu > 1500 options=82008 > ether 00:00:00:00:00:00 > inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::b821:476f:28dd:e05a%nfe0 prefixlen 64 scopeid 0x1 > nd6 options=23 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > groups: lo > > BMJ doesn't look bad. Where does the IP address (192.168.0.12) come from? Fixed? What is netstat -rn saying? Erich From owner-freebsd-questions@freebsd.org Wed Jun 13 10:30:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A6C7101D96F for ; Wed, 13 Jun 2018 10:30:44 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 76E5279AAC for ; Wed, 13 Jun 2018 10:30:42 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from 124-169-216-215.dyn.iinet.net.au (HELO leader.local) ([124.169.216.215]) by ipmail06.adl6.internode.on.net with ESMTP; 13 Jun 2018 19:55:31 +0930 Subject: Re: How to detect single user mode in FreeBSD ? To: Manish Jain , freebsd-questions@freebsd.org References: From: Shane Ambler Message-ID: Date: Wed, 13 Jun 2018 19:55:29 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 10:30:44 -0000 On 13/06/2018 00:38, Manish Jain wrote: > Hi, > > > I am writing an fsck wrapper which first needs to check if the system is > in single user mode. > > Under Linux, there appears to be a sysctl that shows whether the system > is in single user > > mode:  sysctl -n kern.singleuser. Is there some similar facility under > FreeBSD too ? I don't think there is a definite way to know. Single user mode is only meant to be for interactive recovery. When in single user mode PID 1 should be "/sbin/init -s" which becomes "/sbin/init --" in multi user mode. The next closet to knowing would be looking at mount, in single user mode you will only have / mounted read only and /dev. It is rare for any system to be past single user mode with only that mount setup but the user can mount the filesystems before starting your script and still be in single user mode. You could maybe take a hint from the firstboot option. By default a file called /firstboot is created and if it exists it means the system has not been started since it was installed, then a series of setup steps can be carried out. You should note that you do not have to be in single user mode to run fsck, it is in fact designed to run in the background even after a user has logged in and started various tasks. >From man fsck - If background checking is available, fsck is invoked twice. It is first invoked at the traditional time, before the file systems are mounted, with the -F flag to do checking on all the file systems that cannot do background checking. It is then invoked a second time, after the system has completed going multi-user, with the -B flag to do checking on all the file systems that can do background checking. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Wed Jun 13 12:35:54 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99BF81006627 for ; Wed, 13 Jun 2018 12:35:54 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:108]) (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 24030803B9 for ; Wed, 13 Jun 2018 12:35:53 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 46FB24083327; Wed, 13 Jun 2018 15:35:44 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id h3IT2AZQxV-ZiIquOtN; Wed, 13 Jun 2018 15:35:44 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1528893344; bh=NyEurnz0YEpb1W8M64AxvVydzuCj/AW3UWhRy6hflnQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=fDs3X3dfvWT4TmvrEFuZUKff88LxOREgbFJzLtjYEHqPxYQkoEll7s09L6R2SXIvP Tyy6g3t2p5esB9R8mO5zmKyY66GWa5ureGBk4vLMLu1CWPGbcbiCMV17GWiTTsm/4c PVI+c8qTLXCVuEfAp9pA544/z0gA6a9sofBkKWI4= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ioCGuCqXn3-Zaomujw7; Wed, 13 Jun 2018 15:35:37 +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=1528893338; bh=NyEurnz0YEpb1W8M64AxvVydzuCj/AW3UWhRy6hflnQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=DUQGL5XtxJMjl/vlTfEJLHOD87vt6pvANkrIXAVkTSNUJDiK3dEhntipczL4JW5KW 1tvsSIwUw5pmfGVmppwMqNpHI2S1R8tuxsV+nfBs0oNoeH/KBCJUXirOQapigvmp6f FTsnA3Xz7HQDxqtob3+3kcy1y/4xiaY+o6WKK2g8= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.com Subject: Re: How to detect single user mode in FreeBSD ? To: Shane Ambler , freebsd-questions@freebsd.org References: From: Manish Jain Message-ID: Date: Wed, 13 Jun 2018 18:04:08 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 12:35:54 -0000 On 06/13/18 15:55, Shane Ambler wrote: > When in single user mode PID 1 should be "/sbin/init -s" which becomes > "/sbin/init --" in multi user mode. > > The next closet to knowing would be looking at mount, in single user > mode you will only have / mounted read only and /dev. It is rare for any > system to be past single user mode with only that mount setup but the > user can mount the filesystems before starting your script and still be > in single user mode. Hi Shane, Tx for replying. But don't you think there should ideally be a sysctl to be detect the runlevel, particularly single user mode ? It makes things easily documentible, just as when we can use sysctl to find out if the OS is virtualized (I think kern.vm_guest). Manish Jain From owner-freebsd-questions@freebsd.org Wed Jun 13 13:12:33 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E1841009B2F for ; Wed, 13 Jun 2018 13:12:33 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 BB0B081FFB for ; Wed, 13 Jun 2018 13:12:32 +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=1528895553; x=1531487553; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=vXlOZgZvhNG496+2mwFftAxzzbYYmTwKyHGzRejv4WQ=; b=pfbbAkx06pCP3aVKNEY7xgk2sH0arhXVOPekI9QbeAbjmw5lAjCgA8ZxOjyeRc26gQtSWJnsPdhayTJPS+0e1mTBh7OfyG4iqWuuxClLIQV9+bgfaeEfazSmlS5BUsXlGmxkVa+EgO4XRmylVpSJbXT9lSu97qcUlB8NeZc5Cro= X-Thread-Info: NDI1MC4xMi4xOGQwMDAwMDE1YjU1NGYuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 13 Jun 2018 09:12:19 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 13 Jun 2018 09:12:19 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fT5ZR-000BTM-Lm for freebsd-questions@freebsd.org; Wed, 13 Jun 2018 13:12:17 +0000 Date: Wed, 13 Jun 2018 14:12:17 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 13:12:33 -0000 On Wed, 13 Jun 2018 18:04:08 +0530 Manish Jain wrote: > Tx for replying. But don't you think there should ideally be a sysctl to > be detect the runlevel, particularly single user mode ? It makes things The runlevel concept comes from sysV init, it isn't a BSD thing at all. There isn't a real difference at all between single user and multi user. Single user mode is really just one of two states - before enabling ttys and running the rc scripts with start or after disabling the ttys and running the rc.shutdown script. There's nothing special about it. If you feel a need to test for single user then you should probably be testing for something else - such as whether a filesystem is mounted before running fsck on it which is what really matters and is completely independent of whether or not the system is running multi-user. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Jun 13 13:47:01 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC34D100CC20 for ; Wed, 13 Jun 2018 13:47:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 419EA83FD2 for ; Wed, 13 Jun 2018 13:46:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0LgtFa-1fzfmm3Vx8-00oGNy; Wed, 13 Jun 2018 15:46:50 +0200 Date: Wed, 13 Jun 2018 15:46:49 +0200 From: Polytropon To: Manish Jain Cc: Shane Ambler , freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180613154649.6e49eeda.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-Provags-ID: V03:K1:7dh9NRWW56nHglz/LVtBZ6Ewvyd+jwxkhxHcjaxp0I2IHJU7Xwj l0d6jd0rVc91DIPzs2cl0d4EzaMDH4Xto4As0SJ6x4HGqSB8aS15NGr2B+FksvquYAU384z /UNTjSiuzv3RLjEYvqoOxgSAaPTS6FfoxaJwbzKsxjissJs4TI5UI9pJ1OB0Dum55g2cN+v 7sUnsftZsu0Rf2o8+ehkw== X-UI-Out-Filterresults: notjunk:1;V01:K0:XyRQUGnj6vg=:y/0QhHOn5KVGuQpj1xRwzX rh+eYb3Bo95AxKgCuqCPqdTYvH+pSRU5s+IBikjqoxsju+YtZnh4wYALqN4Xr8tVq8HLthATj kL4xFEnWKAnI7zDtTyIlyZWTwO0LiJeqb2VApJ1yt5zedk/umgNjaNdcZnmayk5pZ6WXRVaOl Ui4KtHKYF4pw2gdm1A+T8P3zpeGv3hwNnUTFCa4bOggco8OlJ6o871HNdqDA1oBXdh+lSZIzI fo4WKhJvFb7FyOB1nBojtppIs6kzMFQS1Rle1LjmYJd8t4FhBYLsOx1b7rBUWgfgSuSdl20rP DxzOdGOYIIby7vFDs7ua8GGDe9GK2bZE3qe+G9ClYVPSXzyI5x19Q2QEMG87DpCedTAmrX24N dD+xXSmUah1yT/VXOTvU9N6b6TGdMtHf12gBMoHgBQbhF4styY2YkA9Ho0cWsxO43+p272hlo vtgh1tfGzZ08L230VSKJSn4YVJK/ZaPVgXlEzPxixzjHw3SYucFbJxoQvAo6kz6ElQyRX3S4C W6fLio6QYRvzPjNQlbIuc+Hh3KLrXeiljGJ9+VNv8tterrf8EJOYn4UMvy3Dc2KaBxZeUYX2X FRNPZy8FOsslVVOW0d5roVyRT/PM55yvz5eUGGil7Q+Fb1Ai37LIHs43XbtiiXMGcReoa+GBE fe3HnuamdkpaqBt00pAgzTfgPg0WLD7h9JHc5lJabJJrnVd3d5bAFHBmOST8SLWzmpcWEEA4D yDJtrcSst/ZSupKY X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 13:47:01 -0000 On Wed, 13 Jun 2018 18:04:08 +0530, Manish Jain wrote: > On 06/13/18 15:55, Shane Ambler wrote: > > When in single user mode PID 1 should be "/sbin/init -s" which becomes > > "/sbin/init --" in multi user mode. > > > > The next closet to knowing would be looking at mount, in single user > > mode you will only have / mounted read only and /dev. It is rare for any > > system to be past single user mode with only that mount setup but the > > user can mount the filesystems before starting your script and still be > > in single user mode. > > Hi Shane, > > Tx for replying. But don't you think there should ideally be a sysctl to > be detect the runlevel, particularly single user mode ? Currently, there is no such sysctl availablr (or another utility that prints the current runlevel - see runlevel- related comment later on). > It makes things > easily documentible, just as when we can use sysctl to find out if the > OS is virtualized (I think kern.vm_guest). You can probably work with the information from "man 8 init", such as If the system security level (see security(7)) is initially nonzero, then init leaves it unchanged. Otherwise, init raises the level to 1 before going multi-user for the first time. Since the level cannot be reduced, it will be at least 1 for subsequent operation, even on return to single- user. If a level higher than 1 is desired while running multi-user, it can be set before going multi-user, e.g., by the startup script rc(8), using sysctl(8) to set the kern.securelevel variable to the required security level. [...] If run as a user process as shown in the second synopsis line, init will emulate AT&T System V UNIX behavior, i.e., super-user can specify the desired run-level on a command line, and init will signal the original (PID 1) init as follows: Run-level Signal Action 0 SIGUSR2 Halt and turn the power off 1 SIGTERM Go to single-user mode 6 SIGINT Reboot the machine c SIGTSTP Block further logins q SIGHUP Rescan the ttys(5) file See "man 8 init" for further details. For details about the run-levels (which aren't that common to the FreeBSD boot & startup mechanism, which is BSD-style init, whereas runlevels appear in System V sysvinit-like mechanisms), check: https://docs.freebsd.org/doc/7.4-RELEASE/usr/share/doc/en_US.ISO8859-1/articles/linux-users/startup.html https://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-users/startup.html You could summarize it as "FreeBSD doesn't have runlevels". :-) However, you can still check for a process that is typucally run in multi-user mode. If it's _not_ running - well, you are in single-user mode. Such a test could look like this: if ! ps -auxww | grep -v "grep" | grep "adjkerntz" > /dev/null; then echo "Single user"; else echo "Multi-user"; fi In this example, a running instance of adjkerntz is being process-grepped for. Suggestion found here: https://superuser.com/questions/457111/how-to-get-run-level-in-freebsd -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jun 13 14:46:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5787101211B for ; Wed, 13 Jun 2018 14:46:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 7033686FE5 for ; Wed, 13 Jun 2018 14:46:53 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id 8132271809A for ; Wed, 13 Jun 2018 09:46:47 -0500 (CDT) Subject: Re: How to detect single user mode in FreeBSD ? To: freebsd-questions@freebsd.org References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> From: Valeri Galtsev Message-ID: Date: Wed, 13 Jun 2018 09:46:47 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 14:46:53 -0000 On 06/13/18 08:12, Steve O'Hara-Smith wrote: > On Wed, 13 Jun 2018 18:04:08 +0530 > Manish Jain wrote: > >> Tx for replying. But don't you think there should ideally be a sysctl to >> be detect the runlevel, particularly single user mode ? It makes things > > The runlevel concept comes from sysV init, it isn't a BSD thing at > all. There isn't a real difference at all between single user and multi > user. Single user mode is really just one of two states - before enabling > ttys and running the rc scripts with start or after disabling the ttys and > running the rc.shutdown script. There's nothing special about it. > > If you feel a need to test for single user then you should probably > be testing for something else - such as whether a filesystem is mounted > before running fsck on it which is what really matters and is completely > independent of whether or not the system is running multi-user. > Thanks, Steve, for great explanation! Being Linux refugee myself I know the gang from inside: we fall into wide spread of the spectrum, from learning hard (or re-learning and expanding knowledge in case of those of us who had a journey from UNIX to Linus and back) to actively demanding introduction into FreeBSD of familiar things: Linuxisms. Explanations like yours always are ultimately teach Linux refugees what FreeBSD is, and hopefully makes them (us ;-) stop demanding introduction of Linuxisms into FreeBSD. Valeri -- ++++++++++++++++++++++++++++++++++++++++ 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 Wed Jun 13 15:48:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49EC0101730A for ; Wed, 13 Jun 2018 15:48:37 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 CD69D6A0C6 for ; Wed, 13 Jun 2018 15:48:36 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from webmail.gandi.net (unknown [10.200.201.6]) (Authenticated sender: mayuresh@kathe.in) by relay1-d.mail.gandi.net (Postfix) with ESMTPA id 12BB8240004 for ; Wed, 13 Jun 2018 15:48:32 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 13 Jun 2018 21:18:28 +0530 From: Mayuresh Kathe To: freebsd-questions@freebsd.org Subject: mailx anyone? Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in Message-ID: <70677739ac5a415c5004ea551a7458b0@kathe.in> X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.2 X-Spam-Level: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 15:48:37 -0000 does anyone on this list still use mailx? if not regularly, at-least intermittently? From owner-freebsd-questions@freebsd.org Wed Jun 13 16:08:10 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E8A91019272 for ; Wed, 13 Jun 2018 16:08:10 +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 AF7006B2E2 for ; Wed, 13 Jun 2018 16:08:09 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (88-202-132-43.customer.gigaclear.net [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 A934923E01 for ; Wed, 13 Jun 2018 16:08:01 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/A934923E01; dkim=none; dkim-atps=neutral Subject: Re: mailx anyone? To: freebsd-questions@freebsd.org References: <70677739ac5a415c5004ea551a7458b0@kathe.in> From: Matthew Seaman Message-ID: Date: Wed, 13 Jun 2018 17:07:51 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <70677739ac5a415c5004ea551a7458b0@kathe.in> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 16:08:10 -0000 On 13/06/2018 16:48, Mayuresh Kathe wrote: > does anyone on this list still use mailx? > if not regularly, at-least intermittently? Given that mail(1) is part of the FreeBSD base system and is pretty much the same thing as mailx(1), then probably not that many will use mailx(1). mail(1) is something I do use intermittently. Cheers, Matthew From owner-freebsd-questions@freebsd.org Wed Jun 13 17:32:30 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2279810209A3 for ; Wed, 13 Jun 2018 17:32:30 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::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 AB39C6F7CB for ; Wed, 13 Jun 2018 17:32:29 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x22c.google.com with SMTP id o17-v6so2022797vka.2 for ; Wed, 13 Jun 2018 10:32:29 -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=djgehbNG2VKeJdyYj5P/zlAAFPjEmXx0TqYmcB0i+os=; b=eZixf67F74vnuOdg/h0zWxOhlT0e1naY87BFhP4HQ+f13guHBC6tPjj7gKgXdZOqk0 w4DM1XYGDKUb9q1or6Kyx2IVQuXV2DnDuV93NyrK3MNmeJ+7Jt8Qw2c/sfRCwuANnddk O3eoLmq+5IMVQxNSIx70pSGQ+lae3B6xjU8H8NfUcjJIkCFP+CmXY16UdgcgWXMRLBDM cobc+wFbqwCB7anzG8AmC2xKVF9SxUmV+lLhY2Ab0r82DyI7uFyxV+jt3Z8pR+zWyWKn CVFq5fs5D3TU4IHV+3fLmK4Rc/U0mpl6cccxr4svCqYxEvMeoFQ8Gp1idk1UJPDkyVLO 5A6g== 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=djgehbNG2VKeJdyYj5P/zlAAFPjEmXx0TqYmcB0i+os=; b=KM3HqGIXFbuN/yOOdZfVrGqLzki0ujL7efMPyzFy1bD7ISQLxw/xFK8VuQ9x+g5qDy U6/xO52V/159TiDHXHBlhV2iTZE132eqmZ2EpXrZm5tOVLPNxRTOero9DWpjGgsHPjL8 hWFRc+kXLEAk9Wv+wDBdThilHPBSB1IseMj/cwhx+5udlcuT96pNKkRruFGlWa9OOYMV 41W/ECSt9W9IfDyEIRgdWRv5HYEktdQqkcZPOHzYGaIZglzDi4eGmXepKZj+7q5onJFJ P+8c+maEJ1DkDTlcx4wuYau5ZSdU34Lx3CPkeGC8qA9/QgQIQCzHeuEhE6KbMrBLOghs kFkA== X-Gm-Message-State: APt69E1LAusbrze8uq8PDmHTlrAJ/wqpV2gn5gk6INqfJWi63qqGJDJf MLyHjeqRMaTDIr2L3obUvX2QMQwBbS1kDyljD4w= X-Google-Smtp-Source: ADUXVKIMUCL053NhCGBS4+Qe8RY650cUm9F4KCI03pDY8PYXmanjJDIg9QBaDsjXf1tmQOJrbkPP99vucNaCN6DODQk= X-Received: by 2002:a1f:60c5:: with SMTP id u188-v6mr3585864vkb.25.1528911148891; Wed, 13 Jun 2018 10:32:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 10:32:27 -0700 (PDT) In-Reply-To: <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> From: B J Date: Wed, 13 Jun 2018 17:32:27 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Erich Dollansky Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 17:32:30 -0000 > doesn't look bad. Where does the IP address (192.168.0.12) come from? > Fixed? I believe that's the address of the router/modem that I'm using. > > What is > > netstat -rn > > saying? 257/1528/1785 mbufs in use (current/cache/total) 256/760/1016/185606 mbuf clusters in use (current/cache/total/max) 256/756 mbuf+clusters out of packet secondary zone in use (current/cache) 0/56/56/92803 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/27497 9k jumbo clusters in use (current/cache/total/max) 0/0/0/15467 16k jumbo clusters in use (current/cache/total/max) 576K/2126K/2702K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 sendfile syscalls 0 sendfile syscalls completed without I/O request 0 requests for I/O initiated by sendfile 0 pages read by sendfile as part of a request 0 pages were valid at time of a sendfile request 0 pages were requested for read ahead by applications 0 pages were read ahead by sendfile 0 times sendfile encountered an already busy page 0 requests for sfbufs denied 0 requests for sfbufs delayed I did the same with the tower I'm presently running and I got a similar response. BMJ From owner-freebsd-questions@freebsd.org Wed Jun 13 17:43:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 967E61021960; Wed, 13 Jun 2018 17:43:22 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) (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 EDF0870315; Wed, 13 Jun 2018 17:43:21 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from webmail.gandi.net (unknown [10.200.201.8]) (Authenticated sender: mayuresh@kathe.in) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id DC3B71BF203; Wed, 13 Jun 2018 17:43:21 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 13 Jun 2018 23:13:13 +0530 From: Mayuresh Kathe To: Matthew Seaman Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: mailx anyone? Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in In-Reply-To: References: <70677739ac5a415c5004ea551a7458b0@kathe.in> Message-ID: <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.2 X-Spam-Level: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 17:43:22 -0000 On 2018-06-13 09:37 PM, Matthew Seaman wrote: > On 13/06/2018 16:48, Mayuresh Kathe wrote: >> does anyone on this list still use mailx? >> if not regularly, at-least intermittently? > > Given that mail(1) is part of the FreeBSD base system and is pretty > much the same thing as mailx(1), then probably not that many will use > mailx(1). mail(1) is something I do use intermittently. mailx is just a link to mail. :-) From owner-freebsd-questions@freebsd.org Wed Jun 13 18:46:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C7511005ACE for ; Wed, 13 Jun 2018 18:46:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9ACC773588 for ; Wed, 13 Jun 2018 18:46:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0M6AQg-1gRDBV2K6c-00y7dX; Wed, 13 Jun 2018 20:46:23 +0200 Date: Wed, 13 Jun 2018 20:46:23 +0200 From: Polytropon To: mayuresh@kathe.in Cc: freebsd-questions@freebsd.org Subject: Re: mailx anyone? Message-Id: <20180613204623.3705ae36.freebsd@edvax.de> In-Reply-To: <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> 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-Provags-ID: V03:K1:k8cT97iBwkT2IufwsLYkPYo5bqiziqGxCXG5vWcYG7CkbxZHgHR O2nLFaunLB2bSTWDntk2jWxGQqwsmFu/5bP3yZm4u+hrgf684XN+OEF3kBlMAZngdXgFynK VGNcoYANbqVFHGyx9kYCTPtUW2Jv55YcZnXQ1l1o4+/j6tS/E8LNQq1GTfNOgN1K00cXHDj HC7RHs+aUSbY+smoekecg== X-UI-Out-Filterresults: notjunk:1;V01:K0:a1R7piac+kk=:mxiJr+7TWxR7FPHL6TQvt2 cbXV9qHWqCCqDZxSpTIV4KX6qm0x6KFtnzdSGR+a4k4Ut06VlnbfmZbIo6DLeuzXA9J4fDAWd Rh38t4TxNCll3wRmr9hfEAN+/WdZy/riVGNm36c11V4gp2C7sh5LEMfuzm658XztsS9pyqOkW 4Joy60VC+l1/yu8wPTuuTERw8e32vb/g0otCyP3+2o3CqF1Mt9eGyZwzamlQ6DxaFarsBpl05 +QVFolXxMNaAj5y2UIuKeGSRI/FFVW5VfGKpubBV36NOo2/BB5lRwDyHr4LMvgMI7tsCsJvxu xy4wIr8E7144nlcUq7TouPH2QlAGkmf8rRmYz7jmZy+RHHd4tCkp5ymAU004oX7YG+XA6PeT6 f6HH20egecK7D/rXujGZYEv+695vRIyrfg5MouFXvuV4TGbI0mlAgjcfXfJiHLSH9Xgq7+tEJ Jxpqieb6as4WFRWDU9IHweUvcp7Zs4+9j9W1XCnWnXYXrjwrVKjnngkBhhG7Kr0fVT049bKmM +C0dyyqhEWpAKQ1z3uFK2wTg1MZ4lSEG40xsH3OBg9rjxZPGrpdhNdfwIREO3ozALH1H1t0K3 11rbTvxDJPhVAlx3DBes+LL+rGENqfMAsFvE/ZVqlHiRTxEmwF8bsMs/VOOc6/Q6IV7VwsDtp EXMeO1e4fIdctFSRpdF8fdFmtUwfuo3RBhwMDrTpY5PPH3Tfm4m0+cHWRK8NYnM4K2021n1rt sV2NIHQnslbtgEjs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 18:46:26 -0000 On Wed, 13 Jun 2018 23:13:13 +0530, Mayuresh Kathe wrote: > On 2018-06-13 09:37 PM, Matthew Seaman wrote: > > On 13/06/2018 16:48, Mayuresh Kathe wrote: > >> does anyone on this list still use mailx? > >> if not regularly, at-least intermittently? > > > > Given that mail(1) is part of the FreeBSD base system and is pretty > > much the same thing as mailx(1), then probably not that many will use > > mailx(1). mail(1) is something I do use intermittently. > > mailx is just a link to mail. :-) It is actually the same file; check with "ls -li". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jun 13 20:16:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 031A2101001A for ; Wed, 13 Jun 2018 20:16:22 +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 A5CA3783A8 for ; Wed, 13 Jun 2018 20:16:21 +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 CD1E7125F45; Wed, 13 Jun 2018 16:16:14 -0400 (EDT) Received: from anubis.int.theory14.net (anubis.int.theory14.net [192.168.10.50]) by remote.theory14.net (Postfix) with ESMTPS id 95AC38A97; Wed, 13 Jun 2018 16:16:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=theory14.net; s=mail; t=1528920974; bh=N9z/M7FItodlun510ngYbVB1dIVnMcIusxiiyZ+pHbA=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=o+kFxezqw0C73qhgaeem/RtZUECbauH5pU7fssNNJH2X5tyeAwqGEmqE5WjEhLGzb ARdl41XNQNGqvO/I/psSEKxtK5eK4sYSJf2JGDgHZ2A+peFNB2JJxs43M/gsg2VBjD KXxpYsslTRyMMomW7q453TulJj86qZtegwt9tJA4= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Problems Connecting Laptop To Modem From: Chris Gordon In-Reply-To: Date: Wed, 13 Jun 2018 16:16:14 -0400 Cc: Erich Dollansky , freebsd-questions Content-Transfer-Encoding: quoted-printable Message-Id: <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> To: B J X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 20:16:22 -0000 >> What is >>=20 >> netstat -rn >>=20 >> saying? >=20 > >=20 > 257/1528/1785 mbufs in use (current/cache/total) > 256/760/1016/185606 mbuf clusters in use (current/cache/total/max) > 256/756 mbuf+clusters out of packet secondary zone in use = (current/cache) > 0/56/56/92803 4k (page size) jumbo clusters in use = (current/cache/total/max) > 0/0/0/27497 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/15467 16k jumbo clusters in use (current/cache/total/max) > 576K/2126K/2702K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0 sendfile syscalls > 0 sendfile syscalls completed without I/O request > 0 requests for I/O initiated by sendfile > 0 pages read by sendfile as part of a request > 0 pages were valid at time of a sendfile request > 0 pages were requested for read ahead by applications > 0 pages were read ahead by sendfile > 0 times sendfile encountered an already busy page > 0 requests for sfbufs denied > 0 requests for sfbufs delayed >=20 That=E2=80=99s the output of netstat with the =E2=80=9C-m=E2=80=9D = option, the ask was for the output with the =E2=80=9Cn=E2=80=9D and = =E2=80=9Cr=E2=80=9D options (look at the routing table, don=E2=80=99t = resolve the addresses). Depending on your mailer and font, I can see = how it looked like an =E2=80=9Cm=E2=80=9D. Chris From owner-freebsd-questions@freebsd.org Wed Jun 13 21:20:05 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5781101857F for ; Wed, 13 Jun 2018 21:20:05 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::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 4C0927CFB2 for ; Wed, 13 Jun 2018 21:20:05 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x22c.google.com with SMTP id w8-v6so2420057vkh.4 for ; Wed, 13 Jun 2018 14:20:05 -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:content-transfer-encoding; bh=v7lMdVLXJz03YPkYdBqF6nfW4OV+Zstegpvk7HRWSzw=; b=KLUvfI3IP8HSX6L3KVluLWz+kX0zHJPHVfLQ0SAXRZgp1oW/E1IKxt2xp0Soq9YNtu JkgS1Ua/z22pq7W50ZX807eN9aCLWD50DFHOlx4YFfmYmzjmDJezoq5ARazobPzmuKck sMBOJc1i9/R7UsHPQPK7MaQy0UvKhsLLF6xhVeIUqCAXfWFtO+F6GF7mO5ruFlF4JhSe 5F8AuZQ6HZtVF3Zs8DQ02ak10LC8v1LlL1D+9hCbAZfH6s1uxuBll4N62pLMvHexyskX 00sx9DpfeqFe44KPb/yvDedNZNA2jQ3qnSIncOYQ275bLLe+CTe6INmKi2hd7qzwzimJ /DdQ== 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:content-transfer-encoding; bh=v7lMdVLXJz03YPkYdBqF6nfW4OV+Zstegpvk7HRWSzw=; b=MeZ0/wehb7Bv5PealIoHi+MTNUyEeRBZmUbiPnQy20uXaBm2dyRflihaN2HORf93Fn UOQUgq9L1Q3mUYAnyFBD2W7kRlBKOveHuNW6KnodcdQmWKsmnVY7WbwP7gCPFjzt/54b x9UnJ8o8UWVPWeq7POAmXue5CDfju+x6HGyyIn7/v0G7cwoAzDLduAsJC/H6vxwW+I9s 4az9qpote7gVTS+MVFXnlwAy91NM0oMWb6dA0odFZrLIXulUPrq4BuQjOST2CCv2S8DA LkDsLkiv7nV3t4NwcryxVmVQIXeWsN0Cy+dWXJ9YVI2FZQG/NWZlc66SJKELEJaJ6QUK oWvg== X-Gm-Message-State: APt69E3ehFiCOBZv0K6r97AzE6jo7xvVx1KtylF1HmAPuZVkfKTzgVsj F74lJ0mKc8mXIu+nDAIH4aoRy2y4LSKIIMQHqIM= X-Google-Smtp-Source: ADUXVKKwnUphmHnUmKSESqsQ1LCiMP3hJR8HEp5LomqdeYnK7yKjGwYLJmi4H/1Sb4QA/ZXVZyqbqpQtzq1twQM8Nco= X-Received: by 2002:a1f:a7c6:: with SMTP id q189-v6mr4150286vke.168.1528924804391; Wed, 13 Jun 2018 14:20:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 14:20:03 -0700 (PDT) In-Reply-To: <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> From: B J Date: Wed, 13 Jun 2018 21:20:03 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Chris Gordon Cc: Erich Dollansky , freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 21:20:05 -0000 On 6/13/18, Chris Gordon wrote: > That=E2=80=99s the output of netstat with the =E2=80=9C-m=E2=80=9D option= , the ask was for the > output with the =E2=80=9Cn=E2=80=9D and =E2=80=9Cr=E2=80=9D options (look= at the routing table, don=E2=80=99t > resolve the addresses). Depending on your mailer and font, I can see how= it > looked like an =E2=80=9Cm=E2=80=9D. That'll teach me to use Firefox on an obsolete version of OS X..... All I get from: netstat - r n is a new line with no text or characters. BMJ From owner-freebsd-questions@freebsd.org Wed Jun 13 23:20:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B71BE1022C42 for ; Wed, 13 Jun 2018 23:20:14 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::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 4C58281ACF for ; Wed, 13 Jun 2018 23:20:14 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id k3-v6so5271267iog.3 for ; Wed, 13 Jun 2018 16:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8nCtZ+l65Y0cG/wpvZLghtYdi9PtwfMyV7g4ieWPKe8=; b=JueBqmybgIIx+z6SyWH0fQvteuhYBA0os6GN964aXEEVWKkXv2/qbLggbm7hFeZq6k S2B0x4i7qZvipledJ7k2ttQYwcTPgYG47kvdwU4uD1vJM+AiG9LSglvNEL3ATy1y2+zE GY4/WQx+ZxqfOCP461ee7rBFYzD29s0TCBFEf6+GVHd6rfe9jln0u5SqXyTHWzdZ8u4Q +G8/hVOryd+EoapMZDuP6smy64lKc8WxE2vmBtjB4w4ionTcUN2wUWyVs1Pl3DEK5nmz V7vLQsJHbHQUlX0b/nxA87GPJHECiVVQtoCU/k0zHnhhPm2VMk7VBGdGeuI7Ex+kfin6 LiZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8nCtZ+l65Y0cG/wpvZLghtYdi9PtwfMyV7g4ieWPKe8=; b=udg7xLIa69Zl8onwcLvL4ptVS5Gxg2fd1nLT4ATNr31Mba5H5Nq0BoL7dxsePh2XoQ qdsZPR2OXGKBKjpEYgfXqYN50Hr1cRL2GHfw9kAPtmpjW5ZqeLBHwHOJxrmK5U9IvgUJ v9ZTwFvVCbK1c/yltJjFg4omM2q1mS1QSC+s7s0McejnPPUiD8IuSdMV5yexAKoYsBPh DepezE7DLnfALuDgNsFGUgtF3WyD1goOUYcBOR/lm6MDM6zMcQCwgEf9f38TbwdBJ+6o fDtfQBTedkK6WAir9Js/wbvjmbWuvrt5CWIK0AH/CNfN/5W9f2lCotu8jJPw8UOqoVoT GeOw== X-Gm-Message-State: APt69E2lW++W3m0CVHl2U1bfvoaA1jF4i2ggtmQ6H9fh6l94cDvA5n0B mZCvPSEtyly58+c3joLLKrUxj9CBilpmE/iiK3Y= X-Google-Smtp-Source: ADUXVKKf0PadQ5VRg+wVXxbLLCtXNWQWGc6P36BNXmeZMM5KHFeOXPlrLWn2GdXIUtnFxpzXbgv2IbnrB3c23cLlYxI= X-Received: by 2002:a6b:da15:: with SMTP id x21-v6mr177175iob.179.1528932013758; Wed, 13 Jun 2018 16:20:13 -0700 (PDT) MIME-Version: 1.0 References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> In-Reply-To: From: blubee blubeeme Date: Thu, 14 Jun 2018 07:20:17 +0800 Message-ID: Subject: Re: How to detect single user mode in FreeBSD ? To: Valeri Galtsev Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 23:20:15 -0000 On Wed, Jun 13, 2018, 22:49 Valeri Galtsev wrote: > > > On 06/13/18 08:12, Steve O'Hara-Smith wrote: > > On Wed, 13 Jun 2018 18:04:08 +0530 > > Manish Jain wrote: > > > >> Tx for replying. But don't you think there should ideally be a sysctl to > >> be detect the runlevel, particularly single user mode ? It makes things > > > > The runlevel concept comes from sysV init, it isn't a BSD thing at > > all. There isn't a real difference at all between single user and multi > > user. Single user mode is really just one of two states - before enabling > > ttys and running the rc scripts with start or after disabling the ttys > and > > running the rc.shutdown script. There's nothing special about it. > > > > If you feel a need to test for single user then you should probably > > be testing for something else - such as whether a filesystem is mounted > > before running fsck on it which is what really matters and is completely > > independent of whether or not the system is running multi-user. > > > Thanks, Steve, for great explanation! > > Being Linux refugee myself I know the gang from inside: we fall into > wide spread of the spectrum, from learning hard (or re-learning and > expanding knowledge in case of those of us who had a journey from UNIX > to Linus and back) to actively demanding introduction into FreeBSD of > familiar things: Linuxisms. Explanations like yours always are > ultimately teach Linux refugees what FreeBSD is, and hopefully makes > them (us ;-) stop demanding introduction of Linuxisms into FreeBSD. > I can't agree with you more. FreeBSD isn't a Linux distribution. > > Valeri > -- > ++++++++++++++++++++++++++++++++++++++++ > 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" > From owner-freebsd-questions@freebsd.org Wed Jun 13 23:30:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D86591000B09 for ; Wed, 13 Jun 2018 23:30:31 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::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 6BE96821DF for ; Wed, 13 Jun 2018 23:30:31 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x244.google.com with SMTP id j135-v6so6289875itj.1 for ; Wed, 13 Jun 2018 16:30:31 -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=Xlf5cG9IooWI9i/Uf+R61aKgQijVd2wQ+31+4PQ08Cg=; b=IP5HPC2sQfKmop/0LGn2LL7PvP19vKk46wPwNOqlgRTmddrQKmnlZPT3Iy2CitQZ+P IxIwWOLJUUTW9JOE63WJBhNGmibEmmBa6KlEhUckL6Ucr+7CcY0HUWozNhcH1PECnc6G Mgd2SCGXMQdGGaSHSmkZ54BwWn6s2gTfXKQfHZyHi/0C5c3uABFUWJfiuiBxM22TJWKy Shd0iwSbUtrrQoOjmAeI9Inu3UY3NpS8Rqw7zhzo/z8KAXQ8Ua9BQgbpuofa11vd3t0N niAa98Q1atpkPlwx5/SLE4QgKEeeKNAqIctDRKpfD+oekERq38FM1eT0PaoeoCxGlWQp PbAA== 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=Xlf5cG9IooWI9i/Uf+R61aKgQijVd2wQ+31+4PQ08Cg=; b=uAvAAM7we0bYmdqDediQhXMNac5TqRc8O7YFZHliLbVf/vphAK533ifXb5B1rWVkf5 z3gFgbQ+beOKLVj5UOLojxrexHJ4FSwYi5KH8HgyzZCUdF8UJVP8o273RiooI9fsz6A3 DaH/qnqp4ae81nK4fWAgQVqZ1LalWfktTSCdGyu7AsGfa4VGnYtvixHXC5gjIGNGCLCZ FY6d1Onz/Qy9sroF4Q6dufttmFZwOpMT4QVmFDkMfciWu6dJvx6xG+0wLkBgVt2Pa98f Yc7D/3xuPZIGZRP++g9I8bUo/DId35LcicVq/ynJJbOgKMfUPj6Og8yLrwuylZAyeeHB Y/rg== X-Gm-Message-State: APt69E07a1Y1tbHj6bNvPcX2qrL3eguLTE+Z1hM+ZIc2Q32r/TgOagYg irGuVm/AqD+54qjt6Ek5EabxWg== X-Google-Smtp-Source: ADUXVKK8b/cTk2DOqAqvU0SQWwgzL76Kru46Kp581ESbktUGd20JdSXH+OL+vhXXY3KQis1yr6g6aQ== X-Received: by 2002:a24:af55:: with SMTP id l21-v6mr139371iti.55.1528932630523; Wed, 13 Jun 2018 16:30:30 -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 h81-v6sm417138ith.2.2018.06.13.16.30.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 16:30:29 -0700 (PDT) Message-ID: <5B21A915.3000209@gmail.com> Date: Wed, 13 Jun 2018 17:30:29 -0600 From: JD User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 23:30:32 -0000 On 06/13/2018 05:20 PM, blubee blubeeme wrote: > On Wed, Jun 13, 2018, 22:49 Valeri Galtsev > wrote: > >> >> On 06/13/18 08:12, Steve O'Hara-Smith wrote: >>> On Wed, 13 Jun 2018 18:04:08 +0530 >>> Manish Jain wrote: >>> >>>> Tx for replying. But don't you think there should ideally be a sysctl to >>>> be detect the runlevel, particularly single user mode ? It makes things >>> The runlevel concept comes from sysV init, it isn't a BSD thing at >>> all. There isn't a real difference at all between single user and multi >>> user. Single user mode is really just one of two states - before enabling >>> ttys and running the rc scripts with start or after disabling the ttys >> and >>> running the rc.shutdown script. There's nothing special about it. >>> >>> If you feel a need to test for single user then you should probably >>> be testing for something else - such as whether a filesystem is mounted >>> before running fsck on it which is what really matters and is completely >>> independent of whether or not the system is running multi-user. >>> >> Thanks, Steve, for great explanation! >> >> Being Linux refugee myself I know the gang from inside: we fall into >> wide spread of the spectrum, from learning hard (or re-learning and >> expanding knowledge in case of those of us who had a journey from UNIX >> to Linus and back) to actively demanding introduction into FreeBSD of >> familiar things: Linuxisms. Explanations like yours always are >> ultimately teach Linux refugees what FreeBSD is, and hopefully makes >> them (us ;-) stop demanding introduction of Linuxisms into FreeBSD. >> > I can't agree with you more. FreeBSD isn't a Linux distribution. > > To the original poster of this question: Does the command who -r still work in FBSD? From owner-freebsd-questions@freebsd.org Wed Jun 13 23:40:10 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88D591001B1F for ; Wed, 13 Jun 2018 23:40:10 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001: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 1FD6D82929 for ; Wed, 13 Jun 2018 23:40:10 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id l19-v6so5304592ioj.5 for ; Wed, 13 Jun 2018 16:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d+eR5rs+83SpKP3vcH43bSiESmvC7M6S3IqP8+OveSY=; b=K/dxcCvj0NzK9VRLfsnxJ4YJYGASPwG6bMytCBBxPCa0dkhObQ7i5ZhmoGsw+kQKVm HstagCVTudtcG8ql4CnQqRjbNdXvB9DPZc/0xFwkirgd164NbJ4lmVR0Ypi56sHvVnpp FMbP0c64ahCAF6sSyVIOqChNpdTwIWXt5cJ5HcxASAVffLU40mf5VZ5szhvuFTDASgsS IsoIwRw2QSM5EMQiU8Uqi3PfqYVjNi1YI1oYa3AZ5zow1xEkaEgxd6NrIgmSSjXHZhmt ElywXwoVegZ8nQVUGLpeWYi/1uJDI2YMuP8QcW8vpQLcHYrPb6ooaxOcTOyYav1QXjkN XNhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d+eR5rs+83SpKP3vcH43bSiESmvC7M6S3IqP8+OveSY=; b=mqK90lR65yByICmQAUCS2JT7s6qJsOBG6lsdcEeHXS+Q+GRTgRorA7u5JukkToXuab L/7EMdBTat5nYVHlO+MDVuMF6q8Zz8CBSp3S/eyyrxSGbW8gdYMfWHbnx7hTxSyeT+Iw KMMpgAkrHXyF/5x7roxU2PBu7RMTSTWMmREQx7JkIVtGslN1DWUexgET3KDcev61zZf0 28YIZgolVVaYXdpQ+xSPdjo1EHiw/U6NWpvDfZe+lwZ3JbjxLw3wOicqPt6801rgPQcJ /QF9b1bxm8x6OZKM1IqNlyut8f+J92qr31ZPRMnlrA+00WKPw5HW/cBzDh0FAtfS9rj1 IQfg== X-Gm-Message-State: APt69E04SD+L3q3hkIGqF2ZpX8RsP+QwlqoVDhz0YbVghKsHmdOWyCau OtmhLusl7TOHTsagWIfs2njh9Z+w234k/DTSae4= X-Google-Smtp-Source: ADUXVKLwLuxp0sbiQeQNnHcPfUanG57dQTpbq1RRPkBmqW82oi+be9zAxGoafof4B9xcgI2hYa/y03leckOAX8jMr+s= X-Received: by 2002:a6b:dd1:: with SMTP id 200-v6mr278433ion.122.1528933209679; Wed, 13 Jun 2018 16:40:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: jungle Boogie Date: Wed, 13 Jun 2018 16:39:21 -0700 Message-ID: Subject: Re: How to detect single user mode in FreeBSD ? To: Manish Jain Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 23:40:10 -0000 On 8:10AM, Tue, Jun 12, 2018 Manish Jain wrote: > > Hi, > > > I am writing an fsck wrapper which first needs to check if the system is > in single user mode. > Describe the problem you want to solve, not how. From owner-freebsd-questions@freebsd.org Thu Jun 14 00:20:18 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B538100615A for ; Thu, 14 Jun 2018 00:20:18 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) (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 B08FA84CCC for ; Thu, 14 Jun 2018 00:20:17 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward105p.mail.yandex.net (Yandex) with ESMTP id BE26C4085581; Thu, 14 Jun 2018 03:20:14 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback1o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YF53QxkUHv-KE8KOeXE; Thu, 14 Jun 2018 03:20:14 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1528935614; bh=89dzl6rOA6LPlBBbY/6A0Pdmb2XLiqDfua/N+JtT6WA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=BfTwXAraNpmuEg//aPB2syBiQ3jwW2DbzdW34J6e836T4C43JgUM5QCVJvUbadyg/ p3LHmxK0HDFj7o4w5CB7IMCZ40KPlmU0LO+/Iw6Zdpxb/JazeWkIz3Do73pj/o5jdi F2xfTnGT7mPiUhuB7tB8cexjRmUoZSd4+NCzXK+g= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id UYKQlNNEU1-KCQqV9Vq; Thu, 14 Jun 2018 03:20:13 +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=1528935613; bh=89dzl6rOA6LPlBBbY/6A0Pdmb2XLiqDfua/N+JtT6WA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=cepOfycH2ugjVKlSxfuA40IFQYGE+ud7IYzjlc5kzVpygCMZujR043wPVpjmUy88U xn4F3NMbaqdg+APj4GEctf8eog6f1G+N1HUhXi/PKfvFHCt58WI+kT28wc1oPb7N+W WtsM7IAnEtyQIjfdOsNI4BJfGVxcvg/63FZ/Cwkc= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.com Subject: Re: How to detect single user mode in FreeBSD ? To: JD , freebsd-questions@freebsd.org References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> From: Manish Jain Message-ID: <19ab9197-de34-e853-a66f-da413a56f16d@yandex.com> Date: Thu, 14 Jun 2018 05:48:43 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5B21A915.3000209@gmail.com> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 00:20:18 -0000 On 06/14/18 05:00, JD wrote: > > > On 06/13/2018 05:20 PM, blubee blubeeme wrote: >> On Wed, Jun 13, 2018, 22:49 Valeri Galtsev >> wrote: >> >>> >>> On 06/13/18 08:12, Steve O'Hara-Smith wrote: >>>> On Wed, 13 Jun 2018 18:04:08 +0530 >>>> Manish Jain wrote: >>>> >>>>> Tx for replying. But don't you think there should ideally be a >>>>> sysctl to >>>>> be detect the runlevel, particularly single user mode ? It makes >>>>> things >>>>        The runlevel concept comes from sysV init, it isn't a BSD >>>> thing at >>>> all. There isn't a real difference at all between single user and multi >>>> user. Single user mode is really just one of two states - before >>>> enabling >>>> ttys and running the rc scripts with start or after disabling the ttys >>> and >>>> running the rc.shutdown script. There's nothing special about it. >>>> >>>>        If you feel a need to test for single user then you should >>>> probably >>>> be testing for something else - such as whether a filesystem is mounted >>>> before running fsck on it which is what really matters and is >>>> completely >>>> independent of whether or not the system is running multi-user. >>>> >>> Thanks, Steve, for great explanation! >>> >>> Being Linux refugee myself I know the gang from inside: we fall into >>> wide spread of the spectrum, from learning hard (or re-learning and >>> expanding knowledge in case of those of us who had a journey from UNIX >>> to Linus and back) to actively demanding introduction into FreeBSD of >>> familiar things: Linuxisms. Explanations like yours always are >>> ultimately teach Linux refugees what FreeBSD is, and hopefully makes >>> them (us ;-) stop demanding introduction of Linuxisms into FreeBSD. >>> >> I can't agree with you more. FreeBSD isn't a Linux distribution. >> >> > To the original poster of this question: > Does the command > who -r > still work in FBSD? > > _______________________________________________ > 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" who -r returns error From owner-freebsd-questions@freebsd.org Thu Jun 14 00:30:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC7B210073C2 for ; Thu, 14 Jun 2018 00:30:56 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) (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 D00D685764 for ; Thu, 14 Jun 2018 00:30:55 +0000 (UTC) (envelope-from jude.obscure@yandex.com) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 36CE2560538D; Thu, 14 Jun 2018 03:30:47 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TUmzGEgdN3-Ulpagk89; Thu, 14 Jun 2018 03:30:47 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1528936247; bh=gNZvxPTwLhoMIRps//P6B1kUEWpYrM9aWWTdGyaCmoY=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=iT1r8+QaUJE9LF8U8colxjPl8caM6kGeCtpb10GqI1BGQUjjx0irVp5a6RCO0sHqN gPPHG0caZ53TZ8rpAbAicC6AdIwjuT9q5L9JG71wwwjwuw+o903QGzK8zSOGjwG5Ew /aihrcrW2CsiKd2+udl2BUcqP3u3cbWXvYToA8ZE= Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fKx9EJc1b3-UjQuZEJ5; Thu, 14 Jun 2018 03:30:46 +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=1528936246; bh=gNZvxPTwLhoMIRps//P6B1kUEWpYrM9aWWTdGyaCmoY=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=FWR4xdXRzDAU1RnukNAfvdiKWxFTQ5HE2546+Wo53/dxLZObW1MZoVOsbS+R497dy MyPpHd839+QoxeJreLUv/K5TsA4FbJR4iAExXMiFjOAdQRrzC3EmKkyoSKC9AAiOUr 4BiOeU92DGkA1PXkZoFSGiK+wuTfbJsS9MgZPwrI= Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.com Subject: Re: How to detect single user mode in FreeBSD ? To: jungle Boogie Cc: FreeBSD Questions References: From: Manish Jain Message-ID: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> Date: Thu, 14 Jun 2018 05:59:16 +0530 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 00:30:56 -0000 On 06/14/18 05:09, jungle Boogie wrote: > Describe the problem you want to solve, not how. The problem is this: I am writing a shell script which can run fsck on all UFS / ext2 /ext4 hard disk partitions listed in /etc/fstab. The script should be portable and be able to run no matter whether the OS running is FreeBSD or Linux. The only thing that matters is that the commands fsck_ufs / fsck.ext2 and fsck.ext4 are available. Ideally, the script should run only under single user mode, or else bail out immediately. Linux has a clean way to find out whether the system is in single user mode. I would think, no matter what others on this list have said, sysctl under FreeBSD too should have a variable for indicating single user mode. But there currently is not any. Tx and Regards Manish Jain From owner-freebsd-questions@freebsd.org Thu Jun 14 00:48:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41FB01008E87 for ; Thu, 14 Jun 2018 00:48:22 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::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 BC65086318 for ; Thu, 14 Jun 2018 00:48:21 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x244.google.com with SMTP id l25-v6so5384306ioh.12 for ; Wed, 13 Jun 2018 17:48:21 -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=wu20MK6J7jAIgE1Q3Ei0W/WZk3uPadzx5R1RKKVg4fc=; b=g6X2sRiBi5C5//nGMPUlSLzLHKsYjMSKd4p3LnRwfvH1xgRUE/RyiWSylWczBo5jxh ZPz01H0+92Fgf4GWhSoysGU5vcQ/qUAy4F8f4JRyvTDHLM27tIIXwEJTtRR18WvtA35D XiuMuhSXDW+RfrBw3ibu1KWpcUl0JpTk1Z0PbluFWY5hLTGVmc3LZYbCQN++bXX2Bzr0 kR2wNS3qOotCsoC5z3xdtHEJGGG/UglxhP7nlpVlfsODxyxKmC/Kfq0VxuLPARnlIwhJ FSapdtR8D/RwAn/yrZRjIm6SXF/83s3iZLURUcUmVDFOP5/7QdwlNH+FKsdw29PTx1hd 612w== 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=wu20MK6J7jAIgE1Q3Ei0W/WZk3uPadzx5R1RKKVg4fc=; b=c5WFpZviix7nrUuMEa3CDYUSalQH4bESQXz3NIjHQWbd9tWrrqRh6bCdqpnek3tgYq Vf7051hDMbd7akrfTy3Ce6bHwYApP+O+zJ7VOFmTXmtQ+hp8ryTq/+8p04cDmoIKruiu qqNMVPPhyyoMIxxBKxbb9MZmBT651L1L2+dSDK3B9hYLA3RodTjU9vO8XkCFUOHEGN9R Kk2clJ78926F5AQAL1QBLHyhktCKh4msRXVuGG1dcGFFqhYHF3gqkG3Rk9+DnLevXPUK q6jb30amXrjrLER+hW5+crJwf//RxY6z/XeoTDIgZRLISXzLDW4XpxMv9tw8EF0x359C QjXg== X-Gm-Message-State: APt69E3o3e7KUf/mUz+KvVxLj/b+9GQIpRDCXqLJMKdmAfbBKPVYCb8S aNuOcOBZY/+Ok8fS2E14yh5qUg== X-Google-Smtp-Source: ADUXVKLqAfSBLnbEZv2d9U2bchnlGGRHma96KkgnLfdnRxhbW5KjQf6nt5T6NmFWdeT2K6KUVBr7KA== X-Received: by 2002:a6b:8448:: with SMTP id g69-v6mr392296iod.251.1528937300962; Wed, 13 Jun 2018 17:48:20 -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 h81-v6sm484854ith.2.2018.06.13.17.48.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 17:48:20 -0700 (PDT) Message-ID: <5B21BB53.30800@gmail.com> Date: Wed, 13 Jun 2018 18:48:19 -0600 From: JD User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? References: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> In-Reply-To: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 00:48:22 -0000 On 06/13/2018 06:29 PM, Manish Jain wrote: > On 06/14/18 05:09, jungle Boogie wrote: >> Describe the problem you want to solve, not how. > > The problem is this: > > I am writing a shell script which can run fsck on all UFS / ext2 /ext4 > hard disk partitions listed in /etc/fstab. > > The script should be portable and be able to run no matter whether the > OS running is FreeBSD or Linux. The only thing that matters is that > the commands fsck_ufs / fsck.ext2 and fsck.ext4 are available. > > Ideally, the script should run only under single user mode, or else > bail out immediately. > > Linux has a clean way to find out whether the system is in single user > mode. I would think, no matter what others on this list have said, > sysctl under FreeBSD too should have a variable for indicating single > user mode. But there currently is not any. > > Tx and Regards > Manish Jain You need to realize that to run fsck on a filesystem, it has to be UNMOUNTED, unless you provide the -n option to fsck (which means no write - so the mounted fs will not be corrupted). Lynux will not allow the unmounting of / and remounting as read only. So, you will not be able to fsck the device which provides the root fs, at least in lynux. It used to be that FBSD could run in single user mode with / mounted as ro (read only), but I have not booted my FBSD machine for quite some time, so I am not sure id FBSD 10.x will let me do that. From owner-freebsd-questions@freebsd.org Thu Jun 14 01:27:15 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9BBF100CD56 for ; Thu, 14 Jun 2018 01:27:15 +0000 (UTC) (envelope-from jungleboogie0@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 5F6FA6852A for ; Thu, 14 Jun 2018 01:27:15 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by mail-io0-x233.google.com with SMTP id s26-v6so5488514ioj.4 for ; Wed, 13 Jun 2018 18:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z1QVswpPqv37iUVBttJZv3WBnadsAxFAehacVFr5kSc=; b=J1tEwpL0svncHX2BBwtobknuNK8nm8cRfCyt7HgdaaQTzgn9XwUZ+PNaXKpPoX0Gdi ZTcaL8MAIrKF3U32iNjIwHqxtJ9ctgSim6sUexSCOdqUyPNda3AkbY739tVBaPSuOaWV A01Ns3yzVU2GIZzKcJo/+SSfTLERt+iIWV0l9C4Z2Ap3ShxW7gTxOLyw/JiLehh9X/0O +DlxbR0Rj81nAa7YdmmT67eayerH/JopLRGsmOCTeWCwaI2czx7GW4Wp3OgtSiDfqepI ASHNlDlWcwXZLBvb7sHkasGUnh1klknw7YDi4NGlRbQSPdljxGZtHU1NvTl/Ow1Ve0h1 VlfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z1QVswpPqv37iUVBttJZv3WBnadsAxFAehacVFr5kSc=; b=ZG0inBt+Y0ZGc9Cvf668h8qFcjcLUIcz1Hxmtlf+7oKqevlwoVPOZbeZDTIm/ueThP 8Eclufy6hnhivw6h+WJH+vfRvD3D5Vp0jwXiQr7Dl8dao/PWlAsBs7sspWdU8xJDVYqu TMUjCOBkQtB2qJooVJnW7JKhrTJLCmjmb+kfKs2uOa9oG5r/9xiP4NW6ntsGsFutjVfl sy0kB11JS3NTVL+xxcP7hEMfJ8FHj7XF0b7U2MJKFAYip7WWNkta9tQn6nClqEnic6Ne kVTfxkl5absJn8x271c87rwEVLJAUGkK1smFoJyyclTn1B5+zvm46urcTcuTDFmYxYBe HM1g== X-Gm-Message-State: APt69E3l2y7gMAQJJxi/XK5E8FfwMbnH70koiyURv8yIyGH21u4unm31 6SByAtTdDE6yf+9ztPYygT/z+6kVl0HRO5N6TZkVZg== X-Google-Smtp-Source: ADUXVKKQ41YclrX2acgMWPp/54fA3/REs0KoeNXg+dxRrN7058DiXEvHH5SiWFCgmaoECedi43vZoV86+Dvd1EgaM8A= X-Received: by 2002:a6b:dd1:: with SMTP id 200-v6mr545157ion.122.1528939634847; Wed, 13 Jun 2018 18:27:14 -0700 (PDT) MIME-Version: 1.0 References: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> <5B21BB53.30800@gmail.com> In-Reply-To: <5B21BB53.30800@gmail.com> From: jungle Boogie Date: Wed, 13 Jun 2018 18:26:26 -0700 Message-ID: Subject: Re: How to detect single user mode in FreeBSD ? To: JD Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 01:27:16 -0000 On 5:49PM, Wed, Jun 13, 2018 JD wrote: > > > > On 06/13/2018 06:29 PM, Manish Jain wrote: > > On 06/14/18 05:09, jungle Boogie wrote: > >> Describe the problem you want to solve, not how. > > > > The problem is this: > > > > I am writing a shell script which can run fsck on all UFS / ext2 /ext4 > > hard disk partitions listed in /etc/fstab. > > > > The script should be portable and be able to run no matter whether the > > OS running is FreeBSD or Linux. The only thing that matters is that > > the commands fsck_ufs / fsck.ext2 and fsck.ext4 are available. > > > > Ideally, the script should run only under single user mode, or else > > bail out immediately. > > > > Linux has a clean way to find out whether the system is in single user > > mode. I would think, no matter what others on this list have said, > > sysctl under FreeBSD too should have a variable for indicating single > > user mode. But there currently is not any. > > > > Tx and Regards > > Manish Jain > You need to realize that to run fsck on a filesystem, it has to be > UNMOUNTED, unless > you provide the -n option to fsck (which means no write - so the mounted > fs will not be > corrupted). > Lynux will not allow the unmounting of / and remounting as read only. > So, you will not be able to fsck the device which provides the root fs, > at least in lynux. > It used to be that FBSD could run in single user mode with / mounted as > ro (read only), > but I have not booted my FBSD machine for quite some time, so I am not > sure id > FBSD 10.x will let me do that. > > So given what JD has said, couldn't you run fsck and see what the return message is and act on that? From owner-freebsd-questions@freebsd.org Thu Jun 14 02:05:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE2CF101148F for ; Thu, 14 Jun 2018 02:05:42 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 437546AA4B for ; Thu, 14 Jun 2018 02:05:42 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id o138-v6so2744071vkd.3 for ; Wed, 13 Jun 2018 19:05:42 -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=H94xmIzP8BTOGzomH+VlX/LG4hrWWWLF0RgPRkIOHJs=; b=V7zxzbsyUHm5lgsKRpuGAlUhQczKSV23aOG0R7ywtsK6QEgrMW7bC5FNdoOS7xUUaY /uLBfrqESyhWFVC3XOUwjam5hLQLILd5JljcEk8JPQISimAlExq47UPz+yv62RfWSb0S OC6SJdX4G1mQ8axkCr8xfov7YizbHXI9/VyvuXr2qeLnESa81voPdTWnDZkiAK4mL9w6 HRzoWeF3/G3xMOv7kSeX67Y4EW1VodVewPwF+wc9q2IIAbc/FppqdlgsHInYZO19vxUu k5TOq+yyw5Dya8cSYeLw6IXRrz9VfToqKvl+yrZryuL1RYDy2yEZe36J1UIF6aXXegGM Dr5A== 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=H94xmIzP8BTOGzomH+VlX/LG4hrWWWLF0RgPRkIOHJs=; b=T2x9LXBgDTiUfqZFfUoqDy4+60jtfAztvqIi2JZ6pi9OpY7Epne+eYWV/gpjngZ9x1 v4dnPHx7jJlOxO0qql6vy3/0U2JBBnY8JKZTsPwlVZ0FKzHa1QldFiylVSwpd4v7QUnk FFUCEex39+zCOdYSPWYJywWTrtHhzZv7q6wzg3Mcy1emWwgvbGx5pZsHfbKPEaAN81OM +G+R6W8fVtWkJEEMk4/iD92lvPCP6D/BLHmt04jhpvAxrnFCIalAnD1LTK8bun85TOYe V7598sawGCuiUUwi21By5mSpa1pcz/11kaLJZVJTlffBi255PliT7u6/sTDT2UmprPnT e/rQ== X-Gm-Message-State: APt69E1+DanXmOLsSRt3C9cj0AR4DOQpJhrer+GegONjJJpBf0TLR1oa EAs/Ko5JJ8KJ36hJ4ITZegvFdAudP0EO09KivhU= X-Google-Smtp-Source: ADUXVKKGcK5p1R8+heYTCv5lebG+09KVXqJF7D0fpKB94dCu9s3erbvNmOk1fmm/1emDsGoW37dVigoDKbWWjOfbpDM= X-Received: by 2002:a1f:e2c2:: with SMTP id z185-v6mr394197vkg.35.1528941941533; Wed, 13 Jun 2018 19:05:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 19:05:40 -0700 (PDT) In-Reply-To: <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> From: B J Date: Thu, 14 Jun 2018 02:05:40 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Erich Dollansky Cc: Chris Gordon , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 02:05:42 -0000 On 6/14/18, Erich Dollansky wrote: > no space after the dash: > > netstat -rn >> >> is a new line with no text or characters. > > If this is still the same after you removed the spaces, the machine > does not know how to connect to the outside world. Here's what I got: Routing tables Internet: Destination Gateway Flags Netif Expire 127.0.0.1 link#2 UH lo0 192.168.0.0/24 link#1 U nfe0 192.168.0.12 link#1 UHS lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 link#2 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::/10 ::1 UGRS lo0 fe80::%nfe0/64 link#1 U nfe0 fe80::b821:476f:28dd:e05a%nfe0 link#1 UHS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 ff02::/16 ::1 UGRS lo0 Thanks. BMJ From owner-freebsd-questions@freebsd.org Thu Jun 14 02:41:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 666991014970 for ; Thu, 14 Jun 2018 02:41:12 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from port25.smtp.antispamcloud.com (port25.smtp.antispamcloud.com [46.165.233.176]) (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 E601D6C102 for ; Thu, 14 Jun 2018 02:41:11 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx64.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fTHFM-0009uP-1T; Thu, 14 Jun 2018 03:40:21 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=QeP8EPs4eRCqNHFuGQjA+ubHkQnymPiQBaOGXxTJ6JU=; b=GBT+K+CBZMBkg/ayBzVI5V24L1 BWlpGPjncPCf1/bLh3uqmZvD+I47tsFSRB6y5Pf8qD7kBzahGEINiQHfm34akdLerXWSynVergZNh M5lQi1eVl/A9/2hRvbd0PngT/43DaB8P1WmAQlo8FnZ33OkzDWipJp5HaunyqXjn13/945CIur+7g QkuGLvALngsQU0DxyA34VhicF3hzA9lw6hDwMwyfZpAPiGrez+UqYGOPm7QDCZHaH4fZfD/deIE9Q 7Q3Ngt3q6tHvy7RQElH4eK3Om9Ga/5tvXP7yF7MIV0Rn51h0uYUw/euxiV/2tT9eWFOBmIPT8VHJ3 CYXRt17g==; Received: from [182.1.68.111] (port=14228 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fTHEY-0002O3-3g; Thu, 14 Jun 2018 08:39:32 +0700 Date: Thu, 14 Jun 2018 09:39:28 +0800 From: Erich Dollansky To: B J Cc: Chris Gordon , freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.16) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5jRzf/nKtfOUkyNhlJ2uHpF602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOw5GMq+FYnf89l+GcCKGS1pScj4r6fSGBwH9LZYFmGbN2koUe6H4EgsR4KI2aZpsc/tY hp0qtLkrVxs7kID66VjXFT0qB5tFv92nRX4mJdp7DyAfixyRXWtdArsiYRHWk8qi8+ldBimsVmCO vSTacF/dU9SmzRhyBn8sqbqN7QI3VgW9/bktU41htiJ8fk7NkNLrygCciEZkmwxxjPu2gHLFtEkr jrzGi2OyPa6L1Kl8wiPNi3vdOuhwyviFoLAZScJMBdJa2tsOpzGNARP3D244G7njdNZShdG6npo+ iA9ohQKbbvW2sKLWr0gR92ooUokB1/R4ar1CYVgFKOoJD148kS5veKyBL4UnppPERLxYCysS8iVp KpCkKVcU3+6ajh7Mo03ta/XwHR9jeVsyd4SkrsuMWZxrTCBVt/lF9IovvKhXliG78w9pKdlOmjar uCGAKIYCs0EeYPq7nqYddPMRieCXOPyryCI7XKS8MbUlAZTPLwxEPfdK45Aa0MX9KmiH1Wgh6RAe nBR+licROGabsoO+i5l1K3eqCcE+hdbrCyHNn4y5meVp0lPaP1BSw3cCapRc6IZd7KrLHFo4cL0O Fs+OHPHsSmvWDh5duEb2TZD1/PufUiiyBq+r+eZrrQtZvR/utfm/gLRTvwaOcY+WbdaO//i+kWOM Et+B0rXs/GHA25FV+OErcXbKizqdXD15Puo4Iv61j3gPFfdEaQJQ2Hz5r5P5obSADGDTKYgi1/+Z MX3gEDW7urOPe3uFC/Uf9oDBqtClgM5jH/om1Q5nWf0nDGEr7JdJRiFiP9TKHYCg6BPcB9EQ7Kpo N9TMsfR3RNEprdXuh2bhrDe0cHjwBTL1+6vDOMemz/4I88NDhWyFjSTomonznNsZZG+Oj/+shZfF 0ZpKaS2RyHYo0eqeO8tjsLGsavlnUKC4ASQ8MS+4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 02:41:12 -0000 Hi, On Wed, 13 Jun 2018 21:20:03 +0000 B J wrote: > On 6/13/18, Chris Gordon wrote: >=20 > >=20 > > That=E2=80=99s the output of netstat with the =E2=80=9C-m=E2=80=9D opti= on, the ask was for > > the output with the =E2=80=9Cn=E2=80=9D and =E2=80=9Cr=E2=80=9D options= (look at the routing table, > > don=E2=80=99t resolve the addresses). Depending on your mailer and fon= t, I > > can see how it looked like an =E2=80=9Cm=E2=80=9D. =20 >=20 > >=20 > That'll teach me to use Firefox on an obsolete version of OS X..... >=20 > All I get from: >=20 > netstat - r n no space after the dash: netstat -rn >=20 > is a new line with no text or characters. If this is still the same after you removed the spaces, the machine does not know how to connect to the outside world. Erich From owner-freebsd-questions@freebsd.org Thu Jun 14 03:43:25 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E47F9101A812 for ; Thu, 14 Jun 2018 03:43:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 6D5396FB3F for ; Thu, 14 Jun 2018 03:43:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x22a.google.com with SMTP id n5-v6so9054141wmc.5 for ; Wed, 13 Jun 2018 20:43:24 -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=wbNdJEmwD14upZh0O4+BuO+AU6gKMyTXhKvSBpjOJTc=; b=TCbRPse+hMfkBdIaIoI0V6yrXf9lu7r16vwC1gAYabgh4jXxe6o1vMSE0KibsyMFk/ xJ5tdU4qmPhE0LzZSgRCBPLTAFGKpzKb1IH4SV8NxClRQd7hcmZMJrD6uKUInWmBSrk/ 5vyfHrTUMTPl0wWCwzTwCyf9EVuvtn60CrYSM20oTD8L1s+F7m60XyaTBBRs2lMprxaf 8gmHC4M8NEe3XVcFGBXSRLAHkylcnEnVulsofhYNd3slli+4uCCYdjt2V+DuHB13Qupy lIdtdGHaumQW90hVRzPcZLV70UWpLB5DtQtTGH4vdGfsJePgS0obw0K3xWPwkmYnztNy vbxA== X-Gm-Message-State: APt69E0CGCELS/to6yWbFjpjGWA7dx4yGYQ2+c17nSJjJz2YZgRZcaCB StWAfDUvJDJ+C/BDd5i7vQKpOg== X-Google-Smtp-Source: ADUXVKLBFoX5LMFTSwHgWAztv35m9UQurBtaRtoB9lk4k7rHAlunkNW3iI3QWIda9z0uW9EAiuwZlw== X-Received: by 2002:a1c:954d:: with SMTP id x74-v6mr434253wmd.57.1528947803102; Wed, 13 Jun 2018 20:43:23 -0700 (PDT) Received: from gumby.homeunix.com ([90.211.23.147]) by smtp.gmail.com with ESMTPSA id n11-v6sm4023204wro.13.2018.06.13.20.43.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 20:43:22 -0700 (PDT) Date: Thu, 14 Jun 2018 04:43:19 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: mailx anyone? Message-ID: <20180614044319.2f2bafa0@gumby.homeunix.com> In-Reply-To: <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 03:43:25 -0000 On Wed, 13 Jun 2018 23:13:13 +0530 Mayuresh Kathe wrote: > On 2018-06-13 09:37 PM, Matthew Seaman wrote: > > On 13/06/2018 16:48, Mayuresh Kathe wrote: > >> does anyone on this list still use mailx? > >> if not regularly, at-least intermittently? > > > > Given that mail(1) is part of the FreeBSD base system and is pretty > > much the same thing as mailx(1), then probably not that many will > > use mailx(1). mail(1) is something I do use intermittently. > > mailx is just a link to mail. :-) I've no idea about mail and mailx, but in general being implemented in the same executable doesn't imply the same behaviour. For example less and more are hard-linked, but the shared binary behaves differently according to how it's invoked. From owner-freebsd-questions@freebsd.org Thu Jun 14 03:46:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0108C101AB7F for ; Thu, 14 Jun 2018 03:46:12 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id A33EE6FCAE for ; Thu, 14 Jun 2018 03:46:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.lan (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id 2EA0833C83; Wed, 13 Jun 2018 23:46:03 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 1A2D339822; Wed, 13 Jun 2018 23:46:02 -0400 (EDT) From: Lowell Gilbert To: Polytropon Cc: mayuresh@kathe.in, freebsd-questions@freebsd.org Subject: Re: mailx anyone? References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180613204623.3705ae36.freebsd@edvax.de> Date: Wed, 13 Jun 2018 23:46:02 -0400 In-Reply-To: <20180613204623.3705ae36.freebsd@edvax.de> (Polytropon's message of "Wed, 13 Jun 2018 20:46:23 +0200") Message-ID: <44po0uyqrp.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 03:46:12 -0000 Polytropon writes: > On Wed, 13 Jun 2018 23:13:13 +0530, Mayuresh Kathe wrote: >> On 2018-06-13 09:37 PM, Matthew Seaman wrote: >> > On 13/06/2018 16:48, Mayuresh Kathe wrote: >> >> does anyone on this list still use mailx? >> >> if not regularly, at-least intermittently? >> > >> > Given that mail(1) is part of the FreeBSD base system and is pretty >> > much the same thing as mailx(1), then probably not that many will use >> > mailx(1). mail(1) is something I do use intermittently. >> >> mailx is just a link to mail. :-) > > It is actually the same file; check with "ls -li". :-) Which doesn't mean it has the same behaviour if called by different names. [See: 'w' vs. 'uptime'] In this case, though, I thought they were supposed to behave the same way in either case, and I can't find any reason to think otherwise. From owner-freebsd-questions@freebsd.org Thu Jun 14 04:01:18 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 952A7101BD95 for ; Thu, 14 Jun 2018 04:01:18 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic302-19.consmr.mail.ir2.yahoo.com (sonic302-19.consmr.mail.ir2.yahoo.com [87.248.110.82]) (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 1666170491 for ; Thu, 14 Jun 2018 04:01:17 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: xTUp5xgVM1mC6WAFIztJ.vpbGxGU0zMHhhkXSEdWVCqjPO4q8JMB7ChdqrzFcr0 JQy3FehOiT3cPzxAVQtU9EGTgB2euine..KzWB3x2hvy748T3VSIMlSCK97mOjRUqrnkukx6dWO2 r0Qc149jBUBDNDq1uj.b.8GLwyGkH_tgsMQmJI0m8yt5k4x6wPm6IxCSEEAPvHADS7D3PyIpi1pS 5dkNRRSyft4tEZMSFAwsIaI9vWcVovx8cvRGmjKAqzMT83NQkQEcdR50P3Gbs9anw99hBfTS8wSM 1.xpuCmxd9DKJp69SGR650ojwDBPvFbnX04gEeq0dVksPf2EFc3zMcSmO6fKN3yRMryoFhl2_ZKZ nHtFoXE4VTtoqcZ.3iHTyRmLiM.72wdYbY_o.NZiK41GSqlb3I6BPm5yECWMtoFtIkHo31Iz59q1 U1DA_OThuJ6nMUpZ8O0AWHqSNkyqiQD7ZUodVrgtbbaXkA7zMlBLQZWw6K918_fqsLyNiIIoN0G1 g2xZQCTw4Zg.5JRVq1OsiD.Z2eTtWcOyH6SiUuXHsYbRm0qClIoShR6_rk.awgghwpa8pSG46G7M x5.1Ol6iFatrbyOxpGINPnMmVeKUIcwn6gEqUd5hysnrgQ8LeXHK2r_ppS5e5gZw0qxadeARjzgF HZmJymluwNw9efRe3NkwpkXv8GppeXH2K5PYA2LoVo5.SjVbCqyLB9jr05gFstzNXKP5pYblGosO H1qulhOo2y8cnZHoVDlmiDcxyOCsP4B1ypIYWkjXLJzHdhToyKRAdQhDdNr55p0dx143.1B8SoEf 4VEZ1JNxGrUuSrQH_6Qk5aJwCabOlQte74.5vbPhnblBLHvBPpOnYxbIx6xmCojjmPnHWttCc1vB xH6tpSSgdzdHjnQe.wZ3sHEW5ng0rjZ4grTZvDJG02R34hWFwtSDd6bo08a6Do1veTyCh9i68yHW xKVP9jskYFV2K8_q2z7QjA3jEbg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Thu, 14 Jun 2018 04:01:16 +0000 Received: from x4db6d2d6.dyn.telefonica.de (EHLO archlinux) ([77.182.210.214]) by smtp404.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID baf0d102bd80db205e6b795a558b793d for ; Thu, 14 Jun 2018 04:01:16 +0000 (UTC) Date: Thu, 14 Jun 2018 06:01:07 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: mailx anyone? Message-ID: <20180614060107.0b8631d1@archlinux> In-Reply-To: <44po0uyqrp.fsf@lowell-desk.lan> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180613204623.3705ae36.freebsd@edvax.de> <44po0uyqrp.fsf@lowell-desk.lan> X-Mailer: Claws Mail 3.16.0git213 (GTK+ 2.24.32; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 04:01:18 -0000 On Wed, 13 Jun 2018 23:46:02 -0400, Lowell Gilbert wrote: >Polytropon writes: >> It is actually the same file; check with "ls -li". :-) > >Which doesn't mean it has the same behaviour if called by different >names. #!/bin/dash case $(basename $0) in foo) printf "foo\n";; bar) printf "bar\n";; esac exit From owner-freebsd-questions@freebsd.org Thu Jun 14 07:38:58 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC759100B79B for ; Thu, 14 Jun 2018 07:38:57 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 985857A8B0 for ; Thu, 14 Jun 2018 07:38:57 +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=1528961938; x=1531553938; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=M71GHQW0/CN4L1F4t5M0GpNBkHanWuBhDNWzRLdUfQE=; b=JjPRfXNxuBh32d/2it8X+ELUniwSj/wp8QyNZ5ZoOX555nqwt1lJLQnqVKhjJSClM12zaEaVLkn5SQAEv8zfMYXESJ281t+aPXrH/9KHC2Jmsq6MQ6LS3YaxBQQJ9SeiHAfZdt761uFK1XhEugAaj2h4OzWAC24KUf0cyMQh9yM= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAxMzc4OTEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.us-east.aws.in.socketlabs.com (r4.us-east.aws.in.socketlabs.com [52.5.202.82]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:38:42 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:38:42 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fTMq8-000K79-KK for freebsd-questions@freebsd.org; Thu, 14 Jun 2018 07:38:40 +0000 Date: Thu, 14 Jun 2018 08:38:40 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> In-Reply-To: <5B21A915.3000209@gmail.com> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 07:38:58 -0000 On Wed, 13 Jun 2018 17:30:29 -0600 JD wrote: > To the original poster of this question: > Does the command > who -r > still work in FBSD? It never did, and still doesn't. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Jun 14 07:47:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6313A100C62E for ; Thu, 14 Jun 2018 07:47:56 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 F0D4A7AEE9 for ; Thu, 14 Jun 2018 07:47: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=1528962476; x=1531554476; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=jFXSUHAiYZOyNlZnDtaC6PC6Tjxx+zXJuPC8Us22iZk=; b=aEPLwjrSYCD4HImgppvzeXhRpRMBAio6HZbJw0cu2UQ0FkmRJczE1fvIDep158ilTXjewDVedlr8v65ZcBOPU0OpSHiF41XPrB6PyKuZRyWxgSYAjSZenyEgKH+G14CG3QTQf1ck0437fk+4t6hSNkHxRhQFh5bjW8ugvp7S6Fs= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAxMzdkMGIuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r5.us-east.aws.in.socketlabs.com (r5.us-east.aws.in.socketlabs.com [52.204.195.176]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:47:54 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:47:54 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fTMz2-000K8i-D0; Thu, 14 Jun 2018 07:47:52 +0000 Date: Thu, 14 Jun 2018 08:47:52 +0100 From: Steve O'Hara-Smith To: Manish Jain Cc: jungle Boogie , FreeBSD Questions Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180614084752.bd90d2277cdcaf099c501bdc@sohara.org> In-Reply-To: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> References: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 07:47:56 -0000 On Thu, 14 Jun 2018 05:59:16 +0530 Manish Jain wrote: > On 06/14/18 05:09, jungle Boogie wrote: > > Describe the problem you want to solve, not how. > > The problem is this: > > I am writing a shell script which can run fsck on all UFS / ext2 /ext4 > hard disk partitions listed in /etc/fstab. The one mounted on / is going to be a problem in Linux. I'm not sure I see the point in such a script though, the boot time checks have always been adequate in my experience but hey you want it so fine. > The script should be portable and be able to run no matter whether the > OS running is FreeBSD or Linux. The only thing that matters is that the > commands fsck_ufs / fsck.ext2 and fsck.ext4 are available. Fine. > Ideally, the script should run only under single user mode, or else bail > out immediately. Why ? It would be far more sensible for the script to check each filesystem to see if it is mounted and run fsck if it is not. That way it will run correctly at any time, including in single user with filesystems mounted which is a perfectly feasible condition. > Linux has a clean way to find out whether the system is in single user > mode. I would think, no matter what others on this list have said, > sysctl under FreeBSD too should have a variable for indicating single > user mode. But there currently is not any. I can't think of any time when single user mode is the correct thing to be checking for before doing something. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Jun 14 07:49:48 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1109B100C950 for ; Thu, 14 Jun 2018 07:49:48 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 B1F047AFE8 for ; Thu, 14 Jun 2018 07:49:47 +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=1528962588; x=1531554588; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=YFME8jxM3pK9CTmapKVlISDD60zIqqxcEIG3P/mqbPE=; b=ouF4I5qbqGipwkPp56pap4af6RdVMd9pGn7WHX8oNkICeOwq2klfAgA7CPw2guy9Hyjpu0LDlKWjOpESr6SDi7lEMdDB+EISTe6d1OWt9hAz0YAYDIA5nYDmLjMIw5SS7A9G+puYoppoyBohzWUu+ZNjK5/1v05gxsnX1HvB85E= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAxMzdlMzMuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r5.us-east.aws.in.socketlabs.com (r5.us-east.aws.in.socketlabs.com [52.204.195.176]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:49:46 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 14 Jun 2018 03:49:46 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fTN0q-000K8x-GJ; Thu, 14 Jun 2018 07:49:44 +0000 Date: Thu, 14 Jun 2018 08:49:44 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: RW Subject: Re: mailx anyone? Message-Id: <20180614084944.e0bda010684c38d1e006ed60@sohara.org> In-Reply-To: <20180614044319.2f2bafa0@gumby.homeunix.com> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180614044319.2f2bafa0@gumby.homeunix.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 07:49:48 -0000 On Thu, 14 Jun 2018 04:43:19 +0100 RW via freebsd-questions wrote: > For example less and more are hard-linked, but the shared binary behaves > differently according to how it's invoked. For a better example look in /rescue, everything in there is the same file. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Thu Jun 14 08:02:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96F95100DF58 for ; Thu, 14 Jun 2018 08:02:14 +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 320767BF5A for ; Thu, 14 Jun 2018 08:02:13 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w5E824KW004177 for ; Thu, 14 Jun 2018 09:02:04 +0100 (BST) (envelope-from frank2@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Jun 2018 09:02:04 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: NIC locks up for no reason =?UTF-8?Q?=28=3F=29?= Organization: FJL Microsystems In-Reply-To: <23524.1528853325@segfault.tristatelogic.com> References: <23524.1528853325@segfault.tristatelogic.com> Message-ID: <723e3e676c32d6d9b18ffd189b2730a9@roundcube.fjl.org.uk> X-Sender: frank2@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 08:02:14 -0000 On 2018-06-13 02:28, Ronald F. Guilmette wrote: > I am experiencing a really rather odd problem, and could use some > helpful advice. I'm sure there is a good explanation for why this > is happening, but at the moment I have no idea what it is. > > More than a month ago, I got myself a shiny new VM on one of the > many providers of such on the Internet. I loaded up 11.1-RELEASE-p9, > fiddled sshd so that it would run on a somewehat obscure unused port. > > Anyway, after doing the above things, all was running well, and exactly > as expected for some time thereafter. (I have mostly just been using > the box for some obscure research purposes.) > > I never set up any kind of filewall on the thing because frankly, > I was doing so little with the box I didn't think I'd need one. > > Recently, I decided to install and run apache24, which I did. > I configured that also to run on a non-standard port, since my > intent was that the web stuff it would be serving up would only > be stuff that I and perhaps a few close friends would look it. > Apache started up just fine, and I was able to acces web content > on the box via the non-standard port, from a system elsewhere on the > Internet. No problem. > > Anyway, now it appears that the NIC on this VM system is effectively > locking up from time to time, and I have no idea how to even begin > to debug this problem. This happened a few days ago, and I managed > to get to a virtual console, I logged in as root, and then I rebooted > FreeBSD on the VM and again, all was well... for awhile. > > When this problem occurred before, it appeared that the (virtual) NIC > of the VM was not accepting -any- packets from outside. > > Now the NIC has locked up again. Once again, from the outside it > appears that it isn't responding to pings. or to traceroutes, or to > ssh (on my non-standard port), or to attempts to telnet to the > (non-standard) HTTP port I'm using. > > Traceroutes -out- from the VM also get absolutely nowhere... not even > one hop. Pings rom the VM to its own (externally routable) IPv4 > address work fine. > > I logged in again via the virtual console and once again, just like > the last time this happened (a couple of days ago), I can see nothing > obviously wrong. There's plenty of free disk space, and top is showing > the CPU as being >95% idle. > > ifconfig output looks perfectly normal to me... the interface in > question is listed as "UP". > > Whet the devil could be wrong? > > The relevant hosting company has assured me that they haven't been > doing > anything new or special lately. > > The Handbook says that (recent vintage) FreeBSD provides three > different > flavors of firewalls. Are any of these three enabled by default? What > about TCP Wrapper? Is that enabled by default on an out-of-the-box > install of 11.1-RELEASE? > > What else could possibly explain a NIC periodically becoming totally > unresponsive... at least from the outside... apparently just because > I had the audacity to install and run apache24? I can't think of any method whereby Apache 2.4 could do anything to the network stack, or why installing it would do something similar via a dependency. It's always possible, but I suspect your virtual machine is the problem. The simulator is never as good as the real thing. I've been making use of vultr.com's VMs for fun things, and I use 11.1-STABLE on some, running Apache 2.4 and suchlike for months without a blip on those that I don't update and reboot. I've never had a problem and I'd be happy to recommend them for this kind of thing. At $2.50/month at some locations it's a small price to pay to keep experiments off my actual hardware. Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Jun 14 08:20:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE1D6100F76C for ; Thu, 14 Jun 2018 08:20:23 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx36-out25.antispamcloud.com (mx36-out25.antispamcloud.com [209.126.121.73]) (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 40C397CAF1 for ; Thu, 14 Jun 2018 08:20:22 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx66.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fTNUR-0001ag-QV; Thu, 14 Jun 2018 10:20:20 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=RMlp1GqhccOo5AyYBhJ57aiinvvmMP52riUrf+IPxhM=; b=Oo67CQoswDZ3rVdxqNXwMD6tSy CqVATJIUAcbLpboX82sa7tlbwaVxuAscG4ZDrK4SH2Ux/Z719HRJkjZ15W7w2aSBAIu8MYcZDyRWF ECTpWDb1yP08dYC+6QVbldsoDJmFXOn8eFOF4yUS7YRlS0hBdDxAiwl0jJVTT74OvqdvouL0mYZF4 Omjk/hWVSq1esEuJyNr4vulQZa0mkrnIlppx+EW71LHNs5KGFJA2kZq7rdSAUogBfaHlvXAzohoMC hqpnig+zCboE+hoobdn5oX4mgfLo1y9LgRhXFXdulCCE/NfBL8VxTm4FygXAF6CdLshpW9oFfT16e PVM6NZ2g==; Received: from [182.1.69.182] (port=48947 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fTNTa-0009mQ-3T; Thu, 14 Jun 2018 15:19:28 +0700 Date: Thu, 14 Jun 2018 16:19:23 +0800 From: Erich Dollansky To: B J Cc: Chris Gordon , freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.12) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5oMswWsRLe+tUSGzPjCfOIp602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOw5GMq+FYnf89l+GcCKGS1pScj4r6fSGBwH9LZYFmGbN2koUe6H4EgsR4KI2aZpsc/tY hp0qtLkrVxs7kID66VjXFT0qB5tFv92nRX4mJdp7VGsidpdBx9XCEkkJ20mzRsqi8+ldBimsVmCO vSTacF8pGS/6FgHBNXHw/sIWw24xVgW9/bktU41htiJ8fk7NkNLrygCciEZkmwxxjPu2gHLFtEkr jrzGi2OyPa6L1Kl8wiPNi3vdOuhwyviFoLAZScJMBdJa2tsOpzGNARP3D244G7njdNZShdG6npo+ iA9ohQKbbvW2sKLWr0gR92ooUokB1/R4ar1CYVgFKOoJD148kS5veKyBL4UnppPERLxYCysS8iVp KpCkKVcU3+6ajh7Mo03ta/XwHR9jeVsyd4SkrsuMWZxrTCBVt/lF9IovvKhXliG78w9pKdlOmjar uCGAKIYCs0EeYPq7nqYddPMRieCXOPyryCI7XKS8MbUlAZTPLwxEPfdK45Aa0MX9KmiH1Wgh6RAe nBR+licROGYpdSSwoNX/JQLuoQOg/Yb9zrQYrb8D2DW+FmTFNdXGYOnPBBTBNdmONXGCqfxW+tdN K6EWcSVfmGTlk0Fq+uBMqWnapj58kfoQ/1d58kpOPxEJe7+Ro61ja/hPwx5/t1MuS/KSEYab4Vqs 7TuEAkTXSWFMFkI+xRLjgJf8Ow15IFd6OrI9BgIv8+qUfUQdsqReQS6fsKHB9e/ZNcECJK6iUJUu XEWO3z3Bj3aS9YwpT+uO5TcDeKjrEmYPn2IVWRvem9dFk0QltArRDZ82S6Db28gXtNNULBk6aern bbuZRgIctf3pY30jeWl57Ki2S3n/asDO0V6SUvEY03codo+QFsg2ewUQsSFul4j4JOcIDUqZKa5H XwCUMPzR8VRhZ6F6N4B5N0L32t+3ubLqofQKMS+4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 08:20:24 -0000 hI, On Thu, 14 Jun 2018 02:05:40 +0000 B J wrote: > Routing tables > > Internet: > Destination Gateway Flags Netif Expire > 127.0.0.1 link#2 UH lo0 > 192.168.0.0/24 link#1 U nfe0 > 192.168.0.12 link#1 UHS lo0 > we are coming closer. Your machine has no connection to the outside world. You could add it manually. It would be better to find the root cause and eliminate it. Can you copy /etc/rc.conf into your answer? Erich From owner-freebsd-questions@freebsd.org Thu Jun 14 13:53:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1FE31006935 for ; Thu, 14 Jun 2018 13:53:32 +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 545796B893 for ; Thu, 14 Jun 2018 13:53:32 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w5EDrPjX091129 for ; Thu, 14 Jun 2018 14:53:26 +0100 (BST) (envelope-from frank2@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Jun 2018 14:53:25 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: upgrade of an iSCSI zpool mirror Organization: FJL Microsystems In-Reply-To: <20180611130407.GT48472@mordor.lan> References: <20180611130407.GT48472@mordor.lan> Message-ID: <7ea3c3d0b1d05b032ff99fe977cf7a69@roundcube.fjl.org.uk> X-Sender: frank2@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 13:53:32 -0000 On 2018-06-11 14:04, Julien Cigar wrote: > Hello, > > We have a "low-cost" active/passive HA ZFS based filer (with > NFS4/SMB/... on top) which consist of two tiny HP Proliant DL20 > with 2 x 2 To disks in each. > > It works well, but those are still running FreeBSD 10.3 and I'd like to > upgrade to 11.x. During the upgrade process the pool should be > read-only > available. I planned to do something like: > Has anyone ever done something similar and/or does it sound good to > you? I've tried various combinations, but not that one I'm afraid. I'm not a fan of iSCSI except as a work-around, but FWIW I can't spot anything wrong with your plan, but I'm not sure where NFS fits in. You will probably want to upgrade the zpools at some point (optional). I've yet to get a fully redundant ZFS implementation up and running, as other solutions have been more useful - such as sending incremental datasets to a backup at a different location. I've also run it on top of HAST, but it scared me. One day I plan to look at heartbeat/pacemaker (available in ports/net), which is supposed to be the thing for it. In your situation, I think I'd proceed as follows: Set up a spare machine (e.g. desktop). Do a zfs send to it. Turn off samba/nfs Do a zfs send of any last minute changes. Make the spare machine live, but read-only. They relax and do whatever I wanted to reconfigure the rack servers. Just a thought! From owner-freebsd-questions@freebsd.org Thu Jun 14 14:28:24 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8559D1008F43 for ; Thu, 14 Jun 2018 14:28:24 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b03.edpnet.be (relay-b03.edpnet.be [212.71.1.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1638C6D057 for ; Thu, 14 Jun 2018 14:28:23 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1528986494-0a88184afa6f1070001-jLrpzn Received: from mordor.lan (213.219.145.67.adsl.dyn.edpnet.net [213.219.145.67]) by relay-b03.edpnet.be with ESMTP id 7g7VXdP9oflOa4xG (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Jun 2018 16:28:15 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Apparent-Source-IP: 213.219.145.67 Date: Thu, 14 Jun 2018 16:28:14 +0200 From: Julien Cigar To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: upgrade of an iSCSI zpool mirror Message-ID: <20180614142813.GB62135@mordor.lan> X-ASG-Orig-Subj: Re: upgrade of an iSCSI zpool mirror References: <20180611130407.GT48472@mordor.lan> <7ea3c3d0b1d05b032ff99fe977cf7a69@roundcube.fjl.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <7ea3c3d0b1d05b032ff99fe977cf7a69@roundcube.fjl.org.uk> User-Agent: Mutt/1.9.2 (2017-12-15) X-Barracuda-Connect: 213.219.145.67.adsl.dyn.edpnet.net[213.219.145.67] X-Barracuda-Start-Time: 1528986494 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.220:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 2958 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.0100 X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.51958 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 14:28:24 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 14, 2018 at 02:53:25PM +0100, Frank Leonhardt wrote: > On 2018-06-11 14:04, Julien Cigar wrote: > > Hello, > >=20 > > We have a "low-cost" active/passive HA ZFS based filer (with > > NFS4/SMB/... on top) which consist of two tiny HP Proliant DL20 > > with 2 x 2 To disks in each. > >=20 > > It works well, but those are still running FreeBSD 10.3 and I'd like to > > upgrade to 11.x. During the upgrade process the pool should be=20 > > read-only > > available. I planned to do something like: >=20 > > Has anyone ever done something similar and/or does it sound good to=20 > > you? >=20 > I've tried various combinations, but not that one I'm afraid. I'm not a= =20 > fan of iSCSI except as a work-around, but FWIW I can't spot anything=20 > wrong with your plan, but I'm not sure where NFS fits in. >=20 > You will probably want to upgrade the zpools at some point (optional). >=20 After some exchanges with people smarter than me in this area I got the confirmation that "There's no issue with the upgrade path." :) > I've yet to get a fully redundant ZFS implementation up and running, as= =20 > other solutions have been more useful - such as sending incremental=20 > datasets to a backup at a different location. I've also run it on top of= =20 > HAST, but it scared me. Yes, in fact all of this started after a question I started on freebsd-fs@ some years ago: https://lists.freebsd.org/pipermail/freebsd-fs/2016-June/023456.html To my suprise I had a lot of answers and it was an interresting discussion, you may want to check the whole thread if interested. >=20 > One day I plan to look at heartbeat/pacemaker (available in ports/net),= =20 > which is supposed to be the thing for it. >=20 Yep, I had an interresting exchange on IRC (#freebsd freenode) about it some days ago. It would be better than using a CARP only based solution to failover (which is quite easy to split brain). > In your situation, I think I'd proceed as follows: >=20 > Set up a spare machine (e.g. desktop). > Do a zfs send to it. > Turn off samba/nfs > Do a zfs send of any last minute changes. > Make the spare machine live, but read-only. >=20 As a security measure I have already a third "replication machine"=20 which zrep from the master, I could make the pool read-only from it > They relax and do whatever I wanted to reconfigure the rack servers. >=20 > Just a thought! Thanks :) >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlsie3oACgkQsrs3EKIE I8AYwhAA693hEsSN2CYtSsRP7dhueGUUsGdkxXioDq7uBZpDQS48AUvJ2DcQXH9E f89SSBaWHIx3y6a/jqDEl3AdUum4ehJNgyOiUv5vYdIj0auGX1SkoLSRWOH8wpeo xrcuAyQNnb8vYmMXvq/9r2NYiI/FT4T3qBS4DzPdFzkDTF4NXv/Z7tLGH3z6pbJs 30JiM38Kew4kLVJmy0l/75Soxo3SUPRaayQ8uJFs89idjk+00hFEoC+XF2HE/Avu Qg/zLVEGZDpiiDgKFNAm9OCt1PTXmtrCGCPnSdEjMPEoyLB5nd0ByqLmduFcIY0o jle99yqHZcyCtNNBTJsBhvjJgqovxnXJsHgPyrrx5Sk8RBR4jHMSLtqUd4qOJgBt bi8hbgwrIeKpSn+SKJckHucoQGxEzUhaTSAmN7r485RY6pB5PeQSUTEQ06QOJHy7 5NCp1jr5MQ0mvszCGY27+WrLUnz62SIzjEIpy0ELF/rnwJJYmKJ82vz4mhpkT+ez PozepgVr7lCVdpzulGluR8/vFWYjdM9J4f6vv+nsznjHrU6gLWb4djUWKZxDGQGD pN8XGCSdfEi8m9mnIAVzT7z/98hOxcuMp0NCsmeXWr+8OeAwiKwp7NKe/5/dm6JC 1Zl9/y9gU5L/ZUPq7AGGvM78bZjVZ7lPHuDL5b/hjakSNiZ+e2A= =BrEz -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW-- From owner-freebsd-questions@freebsd.org Thu Jun 14 15:27:29 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6A95100D9BF for ; Thu, 14 Jun 2018 15:27:29 +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 53B1270201 for ; Thu, 14 Jun 2018 15:27:29 +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 438DE62568 for ; Thu, 14 Jun 2018 11:27:22 -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 rCFUrogRGTjT for ; Thu, 14 Jun 2018 11:27:19 -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 3534A6255A for ; Thu, 14 Jun 2018 11:27:19 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 14 Jun 2018 11:27:19 -0400 Message-ID: <5387e3bd234fcae7274d3202fd89d71d.squirrel@webmail.harte-lyne.ca> Date: Thu, 14 Jun 2018 11:27:19 -0400 Subject: FreeBSD-11.1p10 and autossh 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 15:27:30 -0000 I cannot seem to configure autossh to work from anything other than the command line, which defeats the purpose. I would like it to automatically start when the system boots but I have been unsuccessful in all my attempts to date. I have tried adding this in rc.conf: autossh -M0 -f -i /root/.ssh/id_ed25519 -L 143:localhost:143 root@192.168.216.17 But there is no evidence that this even gets executed. In any case it is not running after a restart and no error messages are logged. I created a primitive rd.d script which runs but which does not establish a link between the systems. ps reports that autossh is running and that it is the parent of a process pid. But that pid does not exist and there is nothing logged anywhere that I can find to show that it ever did. The options that I pass from rc.conf to the rc.d/autossh script are: autossh_enable="YES" # enable autossh autossh_flags='-M0 -f \ -i "/root/.ssh/id_rsa" \ -o "ServerAliveInterval 30" \ -o "ServerAliveCountMax 3" \ -L "143:localhost:143" \ -N \ "root@192.168.216.17"' This starts autossh as shown below: ps -auxw | grep ssh root 2971 0.0 0.0 8332 1640 - SsJ 10:52 0:00.00 autossh: parent of 33977 (8) (autossh) root 13736 0.0 0.1 57812 4856 - SsJ 10:52 0:00.00 /usr/sbin/sshd root 32028 0.0 0.1 85228 5620 - SsJ 10:52 0:00.02 sshd: root@pts/1 (sshd) root 34983 0.0 0.0 14828 1804 1 S+J 10:52 0:00.00 grep --color ssh But there is no connection to the remote host. If I run autossh from the command line with the same options then I see this: autossh -M0 -f -i "/root/.ssh/id_rsa" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -L "143:localhost:143" -N "root@216.185.71.17"& ps -auxw | grep ssh . . . root 53110 0.0 0.0 8332 1700 - IsJ 10:56 0:00.00 autossh: parent of 53777 (1) (autossh) root 53777 0.0 0.1 24580 4380 - SJ 10:56 0:00.03 /usr/bin/ssh -i /root/.ssh/id_rsa -o ServerAliveInterval 30 -o Serv . . . The rc.d script is very basic and contains this: source /etc/rc.subr name="autossh" rcvar=autossh_enable load_rc_config $name : ${autossh_enable:="NO"} : ${autossh_pidfile:="/var/run/autossh.pid"} : ${autossh_procname:="/usr/local/bin/autossh"} start_cmd=${name}_start stop_cmd=${name}_stop pidfile=${autossh_pidfile} procname=${autossh_procname} autossh_start() { AUTOSSH_PIDFILE=${autossh_pidfile} ${autossh_procname} ${autossh_flags} AUTOSSH_DEBUG=7 AUTOSSH_LOGLEVEL=7 AUTOSSH_LOGFILE="/var/log/autossh.log" } autossh_stop() { kill -9 "$(cat ${AUTOSSH_PIDFILE})"; rm -f "${AUTOSSH_PIDFILE}" } run_rc_command "$1" But this does not work as I expect either. fROM THE CLI 'service autossh start' runs autossh but autossh does not establish an ssh connection to the target. The pid autossh claims to be the parent of does not exist when I search for it using ps. Despite the debugging and logging settings nothing appears in the autossh logfile. There is nothing in /var/log/auth.log on the target host to indicate that an ssh connection is even attempted. This is more of an annoyance than anything else but I am mystified that something as basic as this just will not run as I expect. Why does autossh work as expected when started from the command line but not otherwise?? -- *** 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 Thu Jun 14 16:33:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2758F1012104 for ; Thu, 14 Jun 2018 16:33:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B64A73385 for ; Thu, 14 Jun 2018 16:33:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPA (Nemesis) id 0M89Y1-1gOt6e2dDV-00vdmG; Thu, 14 Jun 2018 18:33:45 +0200 Date: Thu, 14 Jun 2018 18:33:44 +0200 From: Polytropon To: Lowell Gilbert Cc: mayuresh@kathe.in, freebsd-questions@freebsd.org Subject: Re: mailx anyone? Message-Id: <20180614183344.2eebdc67.freebsd@edvax.de> In-Reply-To: <44po0uyqrp.fsf@lowell-desk.lan> References: <70677739ac5a415c5004ea551a7458b0@kathe.in> <7b3cc5ce196fd216ccdd76fb340a2492@kathe.in> <20180613204623.3705ae36.freebsd@edvax.de> <44po0uyqrp.fsf@lowell-desk.lan> 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-Provags-ID: V03:K1:tUVgu3e8DuDF0ns2gJIxVci1LBMHGn8kx8/3Kcc5mzGsu2tzFts 1yEqO70hW8TNI93zklrxRzt5miri+5OB8v/F5Pgsx3vjF7Ep5E0HrtpVz7VAgu7Cml7k7q4 xfKyckpvvVCdEbQGYppBFKG1xgh1DsW+ZFtJeuUmXAxEszeTAd6RNM9K9IqAFHki2y4PjnC YBx6vOU6wxNBzVn8Sodyg== X-UI-Out-Filterresults: notjunk:1;V01:K0:13oPorBv2+o=:VRiUgL/Kc/IGV/Rvyzvzpt 33FhURxpao4pW+Kzw9G7E7kK5f0mPIZ0ocMlElhXU8q/A5yvV1WPNVDNAL6PaTFs0h17Ueuc8 g/izFikbxJMUZM6wd1LPAsdHpxb5kPdtwvU3kGk+sHsOcKnFrfKsd7NGYtZ940/pgNqqbdW3O rh1w7VPgCmJ8tijvL/X2Qdtlv3QZ4816lGWLqJdkqFO5uF5g7HDDn1EXqmhR2R+CIb7hNlV11 B/K9KPFIR8Yy4ZlXOxVhV8VWtCOPgnkJwtSLg0E8UMH2VYpKvRaeYWTKJWPPXsJRsFW104fnB LS+4PG9KMnAkWdSsTGk9V5HU3C+g/twj++RFsM81u3vparUo8kYt2rc6LYgOHUja27Wka8Eqd uVgFQYIsgPNSynJZ+PUjcpWVYs5veXa2GWMGkmy/jhKb0cnSxCq3ppmGXlbZXc07IGktIFXMu ASJoapqWZEC3+TboV/BqKo1vvRt6IOtKhC6HjwpR7AxYpS/QTuIJLgw5MxPg1uVoeNnPAyD73 ukjp9tBcKj5kQovxQXFoxYTPeOLE1BkXxA40YXcJ9h5xQk+JDaZwg0XyIV/3JEkN6ZHunbAuj 51TPPZaanDsn0ZD7AVNrpSr4kFgrHfzj0JDuNyyPy3ZuGZRIdg67t8XImnY5h9LDmhrKvJZ3q MZavwQUk/HNGTJrqy+29x1nxAQLClg2CRaMoKUQOEdj4D9NOaFUFzAz/UvnV6ouHyp77kRGx4 q2ZpvqYInq4sZBYz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:33:56 -0000 On Wed, 13 Jun 2018 23:46:02 -0400, Lowell Gilbert wrote: > Polytropon writes: > > > On Wed, 13 Jun 2018 23:13:13 +0530, Mayuresh Kathe wrote: > >> On 2018-06-13 09:37 PM, Matthew Seaman wrote: > >> > On 13/06/2018 16:48, Mayuresh Kathe wrote: > >> >> does anyone on this list still use mailx? > >> >> if not regularly, at-least intermittently? > >> > > >> > Given that mail(1) is part of the FreeBSD base system and is pretty > >> > much the same thing as mailx(1), then probably not that many will use > >> > mailx(1). mail(1) is something I do use intermittently. > >> > >> mailx is just a link to mail. :-) > > > > It is actually the same file; check with "ls -li". :-) > > Which doesn't mean it has the same behaviour if called by different names. > [See: 'w' vs. 'uptime'] Fully correct. On historical FreeBSD, there was a directory full of programs (almost) all the same size, (almost) all with different names, (almost) all pointing to the same inode entry; that was /rescue/*. Depending on argv[0], the same (!) program would act totally differently. It is not uncommon on UNIX system to "select" program functionality by program _invocation_, either via hardlink or via symlink. In some cases, it's just different names for the same program with the same behaviour, for providing backward compatibility, mostly for scripts. > In this case, though, I thought they were supposed to behave the same > way in either case, and I can't find any reason to think otherwise. According to "man mail", there is no difference in behaviour listed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jun 14 16:43:38 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFA1D1012CA4 for ; Thu, 14 Jun 2018 16:43:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28C6F739FE for ; Thu, 14 Jun 2018 16:43:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPA (Nemesis) id 0Ljgrt-1g51xL051t-00bwJi; Thu, 14 Jun 2018 18:43:30 +0200 Date: Thu, 14 Jun 2018 18:43:29 +0200 From: Polytropon To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180614184329.9646c28a.freebsd@edvax.de> In-Reply-To: <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:2Cork5QNEvbFUlqw+T2sjY75MiF0TsmbO0NqWTbMPEFQtaM6Ei+ 6TvIJhWN7BluyelIsycaYGY8uN8GeV62M9EAV3ce++lHFgHuP8tLjkgmJIVg+LCoUUkcQTC Ghnqota9w69iLC3DJ2x3f4Ngs1MIRBogD/U3vrchneWRdkc5URcL7yOmEzcUG+I+eUvA/Xg bUGX3+vIuOCBcDkrmW7dA== X-UI-Out-Filterresults: notjunk:1;V01:K0:R6cQ2Le8RQ0=:qP/xD5DCm9QK6wraPIk6ke M0mjjcZqUDCgAFUcmP+tny3RIqslQ8/DeNq8GP+07FBGpyGKBw7FHiTl4PxheiHOZw1Q/JYsY sDHHlC97kTPeiyuB3FgLJZzK84nJN4Tyi8wW27aijvC6rGDmmXRu4hbDom1b9lg0MoDe2hYf0 Cv50krZB45V5rHlaURLTYUaVYYSkSAbjwNToTiwf93GJBLmFvMM+vDPrHK6JNZmlEZgYjgaFU MgbIFxvseYfG7MAX7py41kUsOCCsbu8VBfZLac38N7s5/5iU9zLdk5aD5ZvHVif8e9mdElJaP CNRkQqKUYZvAwbj+z/BcNLiXCggO903oreQtDPJt61/GyKzl1fPRioOF/KTzDbm7LH5qGrm51 6e5ng10dE7HxWH1Xqvt/y6ltwaMQeWVxe84PzNBk/d+iNVRvzVCOCvx0rLXOCoOQJwJe4QJCN DRUVfjhZF8mI2EtdYKnQE1k4XpUNVImEBX11pBY47i8MbU+AIgiELLNXHXF77wJnJoaaJAYaC wIW4JyZ3cUpxYvv8rPwQbyvMbDk5wMOw2fxaEGyvLpSiIZNTwNwNsJG0E56UhEbPVGPrfywuj aXO/FUlGrdioz4qIOWUfoqDt42I3+0OE7zR1u/JDi6CC4m4HXA1sEreIQa8Bz2k81SJboZDOe LFAFb/wgfaIL464AOVbTBPe1+9gkinuw7YGsa2rcKtGyUCWZ4GL3py19HsyWlopFiBISnKzxd +4vmmawX30cKKg8L X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:43:38 -0000 On Thu, 14 Jun 2018 08:38:40 +0100, Steve O'Hara-Smith wrote: > On Wed, 13 Jun 2018 17:30:29 -0600 > JD wrote: > > > To the original poster of this question: > > Does the command > > who -r > > still work in FBSD? > > It never did, and still doesn't. As FreeBSD doesn't have runlevels (SysV-specific thing), no command (!) will be able to print one. Maybe this will change when FreeBSD starts using systemd... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jun 14 16:48:34 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B233F1013251 for ; Thu, 14 Jun 2018 16:48:34 +0000 (UTC) (envelope-from va6bmj@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 51D0173E04 for ; Thu, 14 Jun 2018 16:48:34 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id a5-v6so4552890uao.8 for ; Thu, 14 Jun 2018 09:48:34 -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=ujjRM+qrGsJmy2x+WUY5gR3xs8GkHGjzcgLE7/KFWkM=; b=hSwKxK+sA4T5s2Gn56Ub5uDkIsF0e2wvX9w2V88VjJIgkzjDTQR1oRSPgKcGuWaJef 0TQ69K8YebyFGq/ddxB/tXoS8pyFEiEM+meGs1pWCk90BiZpuid/TNPVx8JCkVf2lrJA H5dGDt+Sp2GfrdpOEMxlbgSlCQsDHiYLpAbUIg9w6oJHl90AfhHqkARE/rG6Dq1ZKZSl ci+ImdaAMzgs7ayqbZIQWR9V40ZcJrMB5YRE2xSS8DMcpzdWNyw0a2uvIHrPsMcFV0wP m6OmZ2yVrNQXB4JNQM6VhMgfcg/722Miox9fL1EZP/3fLsYkPh6tHH5r6rMKNTCjFFuB aTOQ== 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=ujjRM+qrGsJmy2x+WUY5gR3xs8GkHGjzcgLE7/KFWkM=; b=l4GixXNcC9SMkZVA2+Yw+BnpdBQHgZb8ptODJQevGrdl2kuTME2QIJX/3q5DiZasxj 3PLcC29JlSrt7742b2dKtmGpr5wMNSTSQOILgwna2rPNU4uo472jpgnszh5ASgzv/Vjl vDKAN30n5oQ8m2JXFkr2ZCN+VIgCW1bcCIYJK1lhLOFwYQqBL7fLcN7/kemFHY2rBjjt bIV8mvizMS/c941GsQEKI7RKnFUauDNrx+o8dK8mKL8GgKEQ97pJTpx3j/ybThNo/Lmy fbg9C/xLFTH74Id8ZWCyVNWkdFtm1yK4MuOft+I+WVxnrDu5Dp/j8nyQEVrskPQsq7ZT KPuw== X-Gm-Message-State: APt69E3+bn9GQV/zXNThjz7g8nWzgofd0qujynkUInYm3mA24dhjGhel CBaIBmIBqLkVeLLbm3ytR0CtRIukYAqm+QGzdgU= X-Google-Smtp-Source: ADUXVKKFZe5w/5YYy9p6AcDZkfYetHikhg0zos07hrNJQeULVDU1KrGP4rt9UjXH6KlAcO0/y6j5yjyIAjTukt6ajCY= X-Received: by 2002:ab0:4c6c:: with SMTP id d44-v6mr2233209uag.2.1528994913142; Thu, 14 Jun 2018 09:48:33 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 09:48:32 -0700 (PDT) In-Reply-To: <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> From: B J Date: Thu, 14 Jun 2018 16:48:32 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Erich Dollansky Cc: Chris Gordon , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:48:34 -0000 > we are coming closer. Your machine has no connection to the outside > world. You could add it manually. It would be better to find the root > cause and eliminate it. > > Can you copy /etc/rc.conf into your answer? hostname="VA6BMJ" ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" ifconfig_nfe0_ipv6="inet6 accept_rtadv" sshd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" moused_enable="YES" dbus_enable="YES" hald_enable="YES" devfs_system_ruleset="localrules" ntpd_enable="YES" BMJ From owner-freebsd-questions@freebsd.org Thu Jun 14 16:53:02 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FCB11013875 for ; Thu, 14 Jun 2018 16:53:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE84B74347 for ; Thu, 14 Jun 2018 16:53:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPA (Nemesis) id 0Ljxqo-1g4D9g2Joo-00cDTs; Thu, 14 Jun 2018 18:52:54 +0200 Date: Thu, 14 Jun 2018 18:52:54 +0200 From: Polytropon To: "Steve O'Hara-Smith" Cc: Manish Jain , FreeBSD Questions , jungle Boogie Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180614185254.6099d295.freebsd@edvax.de> In-Reply-To: <20180614084752.bd90d2277cdcaf099c501bdc@sohara.org> References: <89bc6774-aa0d-6704-71a1-6b8eea8ae3b5@yandex.com> <20180614084752.bd90d2277cdcaf099c501bdc@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:FsZ9bj5I/sfOZPs3PnYv0CNPcCmlLHq9UrEYG6cqq7JJ2mYmORq Bn9vDtrbdPNFqM9u4RhpE29m3oTZ1bIlnwK8q1SV0ez2KOqq0yPQsQiqePQETHxGhCsep3j Hm1RLkgpcqarwih57hnXEYrPKJjBL+kiIgRL8vPgPF1JIou3G5w+92suoD0KOHfylR54/MT +cVek9cYslIUC4i5E0MTQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:O2hBY5Rf2fc=:/VVNIARBqCajgrNbKmeeIi oFPBnlJjb1kMv9Nv754DGQ8PFglRu17HTr+Tkr2szfLccQslxmREIVe13o/OJETOk/Qh3okRP uSCWrBdT8efU2mGI9M8GcRn/o+ipvIu+dAEUKibysfW/tc1KkUw2QLh6va7drFVdB8Qtt9ys1 Wy4/Xuwcg1+vyRIQHh/AUV6J6O3pZV8OKdcEGdHz8JJ6x/21pkmfFRsLh6oDU5NC+gWVk074w 7tJ/Ius3nrcY0zgCWQ8ZroRrYt08x6oVNamcBYQP2NFDLc2SRwXENhZ985g/WNd2wLCYq+btZ uozMTUhulKxCuiby+FYErkBsyVONpxr5BEeJpObbgcw6LsQDa7Kx3QIGMyYqDBhPrl2Dky5py GQLM6vVYejAA71LVnvj8UfNkHKfiF4JqUTfhXN/YCES5yZnC81Kd7eaABLM8bFXvgshpovR68 OWvKH81OLixCTEDA5Q9N/cDFZtjlG+LZfsGwmUuc8jSzIKvIPlxaJhVNPSORFVfOmxRvDApBV q0pv7bmXbcRm2auSWmwYIDOeNkgtk+w4nRNP90l+YFmWVyrz34+xFdUWXD+dcQCTvsqL0bQKy 8yTy9qhz3f9XwXI1UaaMzXNyXOUxNPb19r1RugwqCIBvLVadMqgjDwV1WlOBgx17Fi0nSQf32 j1878P1PJed2r0nrOeqFDuz5RAaC+mfmj9u7fhkUEyxOFie77ctYYBdS12VmHadX0x5+879Rb pdDGekKqAxXUoBPn X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:53:02 -0000 On Thu, 14 Jun 2018 08:47:52 +0100, Steve O'Hara-Smith wrote: > On Thu, 14 Jun 2018 05:59:16 +0530 > Manish Jain wrote: > > > On 06/14/18 05:09, jungle Boogie wrote: > > > Describe the problem you want to solve, not how. > > > > The problem is this: > > > > I am writing a shell script which can run fsck on all UFS / ext2 /ext4 > > hard disk partitions listed in /etc/fstab. > > The one mounted on / is going to be a problem in Linux. > > I'm not sure I see the point in such a script though, the boot time > checks have always been adequate in my experience but hey you want it so > fine. The core idea of FreeBSD's automatic boot is that fsck will be run automatically anyway if needed. If serious problems are being encountered, the SUM "emergency" shell will be invoked, inviting the user to re-run fsck with the desired option. The choice _which_ file systems to check, with the filesystem specification needed, is obtained from /etc/fstab. So in worst case, you could do # fsck -yf manually (no script needed), if you _know_ what you're doing with this command. In worst case, don't use -y right away. Of course this implies that the needed information is already present in /etc/fstab (the FreeBSD and Linux partitions need to have a correct entry each). > > The script should be portable and be able to run no matter whether the > > OS running is FreeBSD or Linux. The only thing that matters is that the > > commands fsck_ufs / fsck.ext2 and fsck.ext4 are available. > > Fine. Doesn't Linux have a similar built-in checking mechanism? > > Ideally, the script should run only under single user mode, or else bail > > out immediately. > > Why ? It would be far more sensible for the script to check each > filesystem to see if it is mounted and run fsck if it is not. That way it > will run correctly at any time, including in single user with filesystems > mounted which is a perfectly feasible condition. It's possible to check file systems in multi-user mode as well, but as you correctly mentioned, they need to be unmounted to allow modifications (if needed). I have such a script (even though for a different purpose), it checks like this: #!/bin/sh PARTITIONS="/usr /home /export /whatever" # ... some command-line flag checking here ... for PARTITION in ${PARTITIONS}; do MOUNTED=`mount | grep "on ${PARTITION}"` if [ "${MOUNTED}" != "" ]; then if [ `id -un` = "root" ]; then # ... # do "privileged" stuff here # ... fi echo "${PARTITION} ${STATUS}" else echo "${PARTITION} currently not operational" fi done > > Linux has a clean way to find out whether the system is in single user > > mode. I would think, no matter what others on this list have said, > > sysctl under FreeBSD too should have a variable for indicating single > > user mode. But there currently is not any. > > I can't think of any time when single user mode is the correct > thing to be checking for before doing something. It is typical do resort to single-user mode in case of severe problems (or at least when expecting them); using the kernel debugger to "surprisingly" reboot the machine with unclean filesystems and then going "boot -s", followed by a problem analysis in single user mode, with the correct steps taken (file recovery, file system repair, etc.). This is convenient as it makes perfectly sure no other programs are being run that _might_ change filesystem content, which in case of an upcoming recovery is the last thing you want to happen. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Jun 14 17:07:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04F6C101498A for ; Thu, 14 Jun 2018 17:07:12 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 980C374FE6 for ; Thu, 14 Jun 2018 17:07:11 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id 5159D7180E2 for ; Thu, 14 Jun 2018 12:07:05 -0500 (CDT) Subject: Re: How to detect single user mode in FreeBSD ? To: freebsd-questions@freebsd.org References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> From: Valeri Galtsev Message-ID: <3459f887-8691-6cc6-84e4-1fa77fc66379@kicp.uchicago.edu> Date: Thu, 14 Jun 2018 12:07:05 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614184329.9646c28a.freebsd@edvax.de> 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 17:07:12 -0000 On 06/14/18 11:43, Polytropon wrote: > On Thu, 14 Jun 2018 08:38:40 +0100, Steve O'Hara-Smith wrote: >> On Wed, 13 Jun 2018 17:30:29 -0600 >> JD wrote: >> >>> To the original poster of this question: >>> Does the command >>> who -r >>> still work in FBSD? >> >> It never did, and still doesn't. > > As FreeBSD doesn't have runlevels (SysV-specific thing), > no command (!) will be able to print one. Maybe this will > change when FreeBSD starts using systemd... ;-) > Which I hope it will not. I already fled away from the mess in one place, would be sad to flee the same mess again. (Of course, I migrated server from Linux to FreeBSD long before systemd and friends era ;-) Valeri > > -- ++++++++++++++++++++++++++++++++++++++++ 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 Jun 14 18:08:13 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB2D910191D5 for ; Thu, 14 Jun 2018 18:08:13 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 77B907868A for ; Thu, 14 Jun 2018 18:08:13 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E2AFC21928 for ; Thu, 14 Jun 2018 14:08:12 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Thu, 14 Jun 2018 14:08:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=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=fm2; bh=fjRzW3eTtmzLSRDdBrNqUAFJdRosH eSojIrOhMwlSCo=; b=h/m7LRi+LrIbo0ZeHAvtUTCe1YyRek54lJ+Igtjso3jQC PsXa+YpgTNl6jTgIdo6YoFm5ZxfcH2a/Z533KELFVhP3Oi4YvYF9v8WvPi2ljksF JASByKbloz8lcEARtYm/LcS7Z4Y4cZ1ekqY71DkudDmwgxJORkZEJVig7vQAjfYF dZ9vc6/rAge8ww2Y1bC1WOJlyacU5IF+VDVx15Aayl6EI/sxr0AVYpHSg4cTTNol TFD6dqF9/F9e1WzWwNUH4EGJ09CZx+/Aw2NvEGlhAKYYlL25Nv4YCrGtF6NiaHWf BqA+Xrd0HKqzTSXX0hb7fbqA71RhCjf6M+oIFw/Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=fjRzW3 eTtmzLSRDdBrNqUAFJdRosHeSojIrOhMwlSCo=; b=Z7Okg/OOSd9plx3qVNilze MaV4xtTIwGZQzT+F++W61/A4iHSqYfU1htLhbPcESJ9/OFEWYjlTC2uCbAfRcNL+ z9szBOGxZo69SyJLjBpGpsk30Oshda5+kMUd1OfPa+1TJ/p53ZDQOX6MM2QCuCYG E91TqYzGCxZNNhDuJx3g56D0ygD+3SFRj+dz0IZMSfi5bn3jEs2tuZoECHpx26qd e1Tp4LHBSlANl1DmlgvQhcowwWtXXfc5n7YpMO3y3ikwsAoz7R8309NniqukE8uo mTMTwlMDAPELOIJTS9lwFRunUY4LA6tNc0DGXczyTRlj7uAa0oCyyWY7G4S+2C+A == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 5EB4A418C; Thu, 14 Jun 2018 14:08:12 -0400 (EDT) Message-Id: <1528999692.3556650.1408287616.420E9370@webmail.messagingengine.com> From: Dave Cottlehuber To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface - ajax-498d70f2 Subject: Re: FreeBSD-11.1p10 and autossh References: <5387e3bd234fcae7274d3202fd89d71d.squirrel@webmail.harte-lyne.ca> In-Reply-To: <5387e3bd234fcae7274d3202fd89d71d.squirrel@webmail.harte-lyne.ca> Date: Thu, 14 Jun 2018 20:08:12 +0200 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 18:08:14 -0000 On Thu, 14 Jun 2018, at 17:27, James B. Byrne via freebsd-questions wrote:> I cannot seem to configure autossh to work from anything other than > the command line, which defeats the purpose. I would like it to > automatically start when the system boots but I have been unsuccessful> in all my attempts to date. I have tried adding this in rc.conf: > > autossh -M0 -f -i /root/.ssh/id_ed25519 -L 143:localhost:143 > root@192.168.216.17 > > But there is no evidence that this even gets executed. In any case it> is not running after a restart and no error messages are logged. > > I created a primitive rd.d script which runs but which does not > establish a link between the systems. ps reports that autossh is > running and that it is the parent of a process pid. But that pid does> not exist and there is nothing logged anywhere that I can find to show> that it ever did. > > The options that I pass from rc.conf to the rc.d/autossh script are: > > autossh_enable="YES" # enable autossh > autossh_flags='-M0 -f \ > -i "/root/.ssh/id_rsa" \ > -o "ServerAliveInterval 30" \ > -o "ServerAliveCountMax 3" \ > -L "143:localhost:143" \ > -N \ > "root@192.168.216.17"' > > This starts autossh as shown below: > > ps -auxw | grep ssh > root 2971 0.0 0.0 8332 1640 - SsJ 10:52 0:00.00 > autossh: parent of 33977 (8) (autossh) > root 13736 0.0 0.1 57812 4856 - SsJ 10:52 0:00.00 > /usr/sbin/sshd > root 32028 0.0 0.1 85228 5620 - SsJ 10:52 0:00.02 sshd:> root@pts/1 (sshd) > root 34983 0.0 0.0 14828 1804 1 S+J 10:52 0:00.00 grep > --color ssh > > > But there is no connection to the remote host. If I run autossh from> the command line with the same options then I see this: > > autossh -M0 -f -i "/root/.ssh/id_rsa" -o "ServerAliveInterval 30"> -o "ServerAliveCountMax 3" -L "143:localhost:143" -N > "root@216.185.71.17"& > > > ps -auxw | grep ssh > . . . > root 53110 0.0 0.0 8332 1700 - IsJ 10:56 0:00.00 > autossh: parent of 53777 (1) (autossh) > root 53777 0.0 0.1 24580 4380 - SJ 10:56 0:00.03 > /usr/bin/ssh -i /root/.ssh/id_rsa -o ServerAliveInterval 30 -o Serv > . . . > > > The rc.d script is very basic and contains this: > > > source /etc/rc.subr > > name="autossh" > rcvar=autossh_enable > > load_rc_config $name > > : ${autossh_enable:="NO"} > : ${autossh_pidfile:="/var/run/autossh.pid"} > : ${autossh_procname:="/usr/local/bin/autossh"} > > start_cmd=${name}_start > stop_cmd=${name}_stop > > pidfile=${autossh_pidfile} > procname=${autossh_procname} > > autossh_start() { > AUTOSSH_PIDFILE=${autossh_pidfile} ${autossh_procname} > ${autossh_flags}> AUTOSSH_DEBUG=7 > AUTOSSH_LOGLEVEL=7 > AUTOSSH_LOGFILE="/var/log/autossh.log" > } > autossh_stop() { > kill -9 "$(cat ${AUTOSSH_PIDFILE})"; > rm -f "${AUTOSSH_PIDFILE}" > } > run_rc_command "$1" > > But this does not work as I expect either. fROM THE CLI 'service > autossh start' runs autossh but autossh does not establish an ssh > connection to the target. The pid autossh claims to be the parent of > does not exist when I search for it using ps. Despite the debugging > and logging settings nothing appears in the autossh logfile. There is> nothing in /var/log/auth.log on the target host to indicate that an > ssh connection is even attempted. > > This is more of an annoyance than anything else but I am mystified > that something as basic as this just will not run as I expect. Why > does autossh work as expected when started from the command line but I highly recommend spiped https://www.freshports.org/sysutils/spiped/ and leave autossh in the dust where it belongs. It has an rc.d script and is robust against failure. A+ Dave From owner-freebsd-questions@freebsd.org Fri Jun 15 01:16:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFE461001224 for ; Fri, 15 Jun 2018 01:16:14 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 054216F461 for ; Fri, 15 Jun 2018 01:16:13 +0000 (UTC) (envelope-from ah@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id w5F12IoK015716; Thu, 14 Jun 2018 19:02:19 -0600 (MDT) (envelope-from ah@dreamchaser.org) Subject: Re: Problems Connecting Laptop To Modem To: B J Cc: Erich Dollansky , Chris Gordon , freebsd-questions References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> From: Gary Aitken Message-ID: Date: Thu, 14 Jun 2018 19:01:35 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Thu, 14 Jun 2018 19:02:20 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 01:16:14 -0000 On 06/14/18 10:48, B J wrote: > > >> we are coming closer. Your machine has no connection to the outside >> world. You could add it manually. It would be better to find the root >> cause and eliminate it. >> >> Can you copy /etc/rc.conf into your answer? > > > > hostname="VA6BMJ" > ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" > ifconfig_nfe0_ipv6="inet6 accept_rtadv" > sshd_enable="YES" I think you need to also set the default router, something like: defaultrouter="192.168.0.1" (assuming that's the IP of your upstream router/modem) Gary From owner-freebsd-questions@freebsd.org Fri Jun 15 01:41:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ACFA1003AE1 for ; Fri, 15 Jun 2018 01:41:50 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::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 0AE097028C for ; Fri, 15 Jun 2018 01:41:50 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id b77-v6so4834525vkb.5 for ; Thu, 14 Jun 2018 18:41:49 -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=gprawzTM/VRoE2/ILm9ySleXH2ACvbPJvGAnmCjPpOs=; b=J+i7Gn+lT5SGpLDOZgTIpEpy2XftI9vZPHA6nrBtep8XBf26FxzXq/aS33JEJYlupb 2MjZt+NDbIhodFWsOwj/7GWK2k6e4OeO5M3JVnTXMSmzzs9phV8Sn+Je65dJrsh1GTY+ Q7kSNzttHZ59p0LkIstwtwxC/3fD7ztaC8sEvuwP2xIFBpvGj4+0elEgELqg4gATegsB MHOg3Rkm3noVu8YsgNJYmKmk6h7hB1qDqX/dieXOIgUqNIJmMNcmEFy+b98QzlCVRf8G CCODBom2swDw55Ia1USUp4IeyAGac2rWQ2O7f7EmsOJegK7dr/XWeW81axr9saXxHeJA Irew== 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=gprawzTM/VRoE2/ILm9ySleXH2ACvbPJvGAnmCjPpOs=; b=HzRGX/oSwW89bwRE92YiCby6oob2RvQtdkh+9W4GIMSk/2dJXTBcPjq2heLDnCHaXX hWb7KN2UY5dSpFHUPIJc7OO6dT/0ZUa5kQw3FljLqgrH2OcLA45AnqFV2o/DdND1OU1B jp8XI+WIuhNfGgNE/aUopEAE/sqOV0+fEGYpS+urQm4KgerHPPwhbR+q+Mpvp9gOEn0O 6b3QHFVi5nOpvG1iqq0i4mRgetFdZPT9Pq3ZNagG69SeRdsZpBu5Cbwsi6IgRCQbBdKu RUfIspb81n5BmdPPNeY46e+xsbMSVbA4U9lQIPvambNXQTxKuE1djR+HqBB2gGlOc2ye 41pQ== X-Gm-Message-State: APt69E3ApZkCUZ+fQVrapoe0pYNWleUt2VNxzxJ6WSeAM/Jj0DgiVguP qcWPW6PC46hy1j6QTrwwlI4VEhIfVgmGBXhBJRE= X-Google-Smtp-Source: ADUXVKLYmLu7fEeF4VPK7eE+P0GAnZCHlbm7/fFQHU6MmF7hGqTwjnk9K7FlfJ4E1P1gaBqNWEhNjCMCBc2ioEvKMIg= X-Received: by 2002:a1f:dd02:: with SMTP id u2-v6mr3051234vkg.135.1529026908636; Thu, 14 Jun 2018 18:41:48 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 18:41:47 -0700 (PDT) In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> From: B J Date: Fri, 15 Jun 2018 01:41:47 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Gary Aitken Cc: Erich Dollansky , Chris Gordon , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 01:41:50 -0000 On 6/15/18, Gary Aitken wrote: > I think you need to also set the default router, > something like: > > defaultrouter="192.168.0.1" (assuming that's the IP of your upstream > router/modem) That might be worth considering, but I don't have to do it with my other FreeBSD machines. BMJ From owner-freebsd-questions@freebsd.org Fri Jun 15 02:26:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 617B41008532 for ; Fri, 15 Jun 2018 02:26:53 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-4.antispamcloud.com (out2-4.antispamcloud.com [185.201.17.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 E27B871AA1 for ; Fri, 15 Jun 2018 02:26:52 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx5.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fTeRo-0001ch-5b for freebsd-questions@freebsd.org; Fri, 15 Jun 2018 04:26:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=kedqvcyx5IWK4sr4Jn3zSJk/CoE4OJumhBTmFBMoqRg=; b=AMsBawEBCAgZ70GFHYtTiU6yzU YFWyeMLXGNKtlzCOhIC5iIyt9jvlIDsBnTLUbq48Szs5M7Rt9E9DgrZnWuA+aL15YfwjbhGa+LQcJ DmsGOq8xi6r+ylrzXRIJ6rwdTqKjjo7wPuMFGl3ZYnxqqST/jHmJIQdeKNh7iHlygGBCa7XXQH6RN ZwnqO2GRzVdjjWwnwUr0maJ82K5N6DqsZuK+KxiRTBCUySmHmaLxgkhIGnQcQJkaXAStwv7VdbfZg QO/OlHHGUaUQNYuufbCiyfdTSqmMj5mi1g6IFfbMq/2Yk7CL/vvzbyyvN7kg4QNrIPrI5I0AoApo4 cx+1Js/g==; Received: from [182.1.126.57] (port=39501 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fTeQx-0006y5-1x; Fri, 15 Jun 2018 09:25:57 +0700 Date: Fri, 15 Jun 2018 10:25:48 +0800 From: Erich Dollansky To: B J Cc: Chris Gordon , freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.11) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5sGWyCD/xpI0GGpRhIwSGyl602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO16ABlNNUDIJIcF7N1k9wYur48C+/LzRqVzELXf1NLUsbNbo7palBZjCExzO+3olYlyM oxRoYD9m5LsolnffkITO4k7ydv2Rs1VgfbHBQGgnSBWlL1zfgiPkRstzHteqQSB8fSbLCu6TmzCw bzQ9nQj70WuzEeIYESIPDdUJWOBu8dWAUxLOeS4q0S4KbLwhbYne0kIuDRP46G+ctsADdxmcc53f DV8HP7yibX2Wl6OUACQHwPTDFXEPVlYw9avkW+riaoqUKgZEQHpu6RHCKS5MM8T7+jpXmHI4MwGy HmxYIoljmWydTl1dwt2GaQor/Vf8sZzUcaTKB744fVZ7GANraYGy+nbb4HZwQJOl0BfT3b8Gktja hpTcMW2iKNa6Gmvhw3LUmclvAkfNT+KUAhSP8pwYi7hJ4m1sl2vj+iM/xRamOeYDBIwBrxIWz+W8 eik4xAm9D8KTeKJT7gNACPfTsx3KBtgDA/3kdj1M8cytbSLTaylxz9P5Ta3SVmchvlKxfKUxjpSG MHdI9RGCeNtri234qUHAxSI4piC4+LUP6ocqjnNkhglkdzbmlHyatfa+B9BQVnnLKU+vM8dDl1uE X8gjAeEGU6AOWCm9EmkuZ3ciZWpDv++cKJOJHklZA3wFxoKFLXSS8h2fhhHUTcdkuzEEfDCYeSlP 9zJzzZ45PAlbDjazCbhs7qBpykynMvfHPwg2uVFVeU5Z3tvXB/OzX/zeSehu91T8w5xcheWZvhEl 4Y20Xt1fOTdq6YSkOUAPDwuTQXrMTv4HNiPj/Km1x2FUVuSWKxc9+8O3c5X7VNCtp0LErB0D1lZF 73Y8Pup96lYBSwhsWyfGTr6EecSAY4i24bKoC++p59Uhfkgca/fzJ+u9K4BM0a7D+GEand8hNrWP IdhPbSt6NUIImng= X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 02:26:53 -0000 On Thu, 14 Jun 2018 16:48:32 +0000 B J wrote: > > > > we are coming closer. Your machine has no connection to the outside > > world. You could add it manually. It would be better to find the > > root cause and eliminate it. > > > > Can you copy /etc/rc.conf into your answer? > > > > hostname="VA6BMJ" > ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" if you have this line, you have to have a line like this: defaultrouter="192.168.0.xxx" where the address has to be the address of the router this machine is connected to. A hostname entry would be nice too but I think it will not affect this problem. Erich From owner-freebsd-questions@freebsd.org Fri Jun 15 04:08:40 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFCC91012966 for ; Fri, 15 Jun 2018 04:08:39 +0000 (UTC) (envelope-from va6bmj@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 8547F75DB0 for ; Fri, 15 Jun 2018 04:08:39 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id l11-v6so5581851uak.7 for ; Thu, 14 Jun 2018 21:08:39 -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=avOexMV872fmStSsGg0uZMjlgpdWZfED8zmtWRNdjuo=; b=R85FQ7Th+C/XmjxOgMhu4/OkgA6aKrrw8vPbwouzHccZ2o6QPlfNA45aWN4i8ovzs3 v8dT96Z1GXmAIytKd20IJ4IDVjAtr5Yp2bxYwqGzMfNZ+BgEC40RIZiCEBAtOI5vKDxG 3atDSQN2PqADs4JADDtJntqJuXBvpcMztElTqQaHE+ltvnRIBb++jAZKe1BsJimE4pIv bE2B2ba4rL9gaLZVO9mjR87eVW6Vxkuvp1bGD7hPTRUFNHEtPx3CWJHvhYvLg5xUrSYj gi7GuO3t875ODOc+P4ywUKjPFcehgXheycV6+DE75IYxfuIY7ov1UBiUsRObB5S6ReCe h09A== 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=avOexMV872fmStSsGg0uZMjlgpdWZfED8zmtWRNdjuo=; b=O+MsAXlFd02mAYEaVO5LU1aBPB5cSZEVHQomPq3xBS8QG9Zh107+Q7q8f8nbYSQYG/ jnVPXKbHJZfz1yhma47xIdctg3fOncuu5pME61uP0JVA7UvipRQGT6OgV+snow66LO7r yykXqnrfEp6PxjsFHPRC1fY+/l/YO1dC8ftOrTixqZpFC+NixP7z00xC0c4oOayw6u9e hUOVtqgJj3dCTDZ0BZhjepK8gYnnaQ2YjfdgN6ka6428FybKdXwsslgkIx4YtMRuWmO8 DbO8vKarP+O7XxTDpPvpTrQZSKRgky/Y2eB7WBfCY4nnuEhenNNMtXXdoOuxHsVJptoQ Zi4w== X-Gm-Message-State: APt69E13FjaQZvMSWLZuRcGNgAtfLjPIsULxtPDyLs5Rp0UB0WulOlw1 vWMccJLe+OHXztqqn9BX+ftitTWIvitZrSkEUfU= X-Google-Smtp-Source: ADUXVKISyQGXhXGe4+l9PM0J9Wqgw1djCSG8aPicQMmZsiq+bs7uRVRdTZgYiZRlZbZhP+A67OjUUgpiHawE4PymKL8= X-Received: by 2002:ab0:15d3:: with SMTP id j19-v6mr28858uae.68.1529035718847; Thu, 14 Jun 2018 21:08:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 21:08:38 -0700 (PDT) In-Reply-To: <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> From: B J Date: Fri, 15 Jun 2018 04:08:38 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Erich Dollansky Cc: Chris Gordon , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 04:08:40 -0000 >> hostname="VA6BMJ" >> ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" > > if you have this line, you have to have a line like this: > > defaultrouter="192.168.0.xxx" > > where the address has to be the address of the router this machine is > connected to. > > A hostname entry would be nice too but I think it will not affect this > problem. That didn't change anything after I added the line to rc.conf. BMJ From owner-freebsd-questions@freebsd.org Fri Jun 15 04:38:56 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 066F51015CC6 for ; Fri, 15 Jun 2018 04:38:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F04577137 for ; Fri, 15 Jun 2018 04:38:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPA (Nemesis) id 0LbZwx-1fvdXw1WoN-00lGbU; Fri, 15 Jun 2018 06:38:47 +0200 Date: Fri, 15 Jun 2018 06:38:46 +0200 From: Polytropon To: B J Cc: freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-Id: <20180615063846.a310deb1.freebsd@edvax.de> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.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-Provags-ID: V03:K1:QjFHqkVDEen1QndhZn93NUmmxcdo8+pdVNWCfDaLz7iWz6i5TOP VyWmvxWNxL2liyMElMpLEJFnGodgZMDEgF9q9cIbPDTY2yN1uc1osqgzFllERT/vHgMT4gq /jmJKy58BUBkuhqvWfPQGRjARwDvnB3bTn9GpGM5gRCUGZ2zCnC22HtyaYS4EHJI/U4I/Ol 05Yzy4N2t6GP4De6tRI6w== X-UI-Out-Filterresults: notjunk:1;V01:K0:YJi1nmSDoLk=:QnMWjPOmHNtb0EWAN0C33O Gng1uvPyQ9QLl5PcLqfTHSDGcjGUUIug85ZWecgIq0uy9qe2cDk2M4420nSGbbZKsgHBlSaus HSVWArALDxyo//vc3kAwQGvt0Nw1FZNcR33MGp2w0lz0AECwhY2DB9aK0mazUF8oFBDmVUBU/ xriIg0YFna+QDbHfBrPfI92Mamh1R22kS9OQiEKgB3KlRyNpttppQXh+TaslgB9d8Xg4ubCM0 ZMfF8AspphnTuofJXSm7fto+qTEC2j16BiRkfXm74Y6ovJelWpCazFZ26uypJTMd6H23TgP2s OeUuzy/vB0PXGl1D5knRmmvx6q8DMSXauS00kZciF1rfqZ+SMI+FsAdzNfQ0BGv0p/5sNxf8d yqy1+kirl28AqWrsN6VJenToe/C+W5R2i7IsXHcCx/oFN/RpjNJlj2GEg30iUGNKWHtsel8At n4Ab+O2+vPeNVdYf9WO/y81ULMaQBC32vcN01J5iH0KJ/g6HHvlnCVgJhNFDxi7MkZ0PbGf2n AqX0WIE665byFkwy7Sjo9gBLri89gcv/O6wFuPSr6wgApEPHiKbtlLuZ2xbsfvO3AQPcYTIMe 5cQMr2aQfr8e1v5hBNOaM7ziKRG2hthvvCsQ090EQHGLAPnBeFOCGMAOhb4aBQmi52Qoih3rm U2RBUyqxOK/wa1U59Zkt7fY5+CJO3ccS1fEj1AlG6fgVmCPTfcbP1HU4GWukDZ6CPwgFIS5ec OD6p4TEe9AxDFgJg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 04:38:56 -0000 On Fri, 15 Jun 2018 01:41:47 +0000, B J wrote: > On 6/15/18, Gary Aitken wrote: > > > > > I think you need to also set the default router, > > something like: > > > > defaultrouter="192.168.0.1" (assuming that's the IP of your upstream > > router/modem) > > > > That might be worth considering, but I don't have to do it with my > other FreeBSD machines. Do they have fixed local addresses as well, or can you obtain settings via DHCP from your modem/router? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jun 15 05:23:34 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07331101A9A8 for ; Fri, 15 Jun 2018 05:23:34 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 A8895790F8 for ; Fri, 15 Jun 2018 05:23:33 +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=1529040214; x=1531632214; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=lb8y4XbBJuQcSxGgbKtwTBRykaHaZpgeEq07WGgIaGg=; b=dISIjuL9sAk9ZHb1ZPqbCEpHtu8Ou9uhQh5YaKpnfUqKTcwOmGTbnAW3rDPqTQ5+XWqoPKGzdlW4i9nVsIjqhk6nREMTHqgXREFXR0GhKZiUlgre7Y0eXZSkpTJKEgEkVSKQGVXmiyP/xQptW+8YHgNONUClKAuOZvMC0grs+Us= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAyODliYjguZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 01:23:17 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 01:23:16 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fThCc-0005DZ-7P; Fri, 15 Jun 2018 05:23:14 +0000 Date: Fri, 15 Jun 2018 06:23:14 +0100 From: Steve O'Hara-Smith To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" Subject: Re: FreeBSD-11.1p10 and autossh Message-Id: <20180615062314.7d7c21273719a4cf0e899915@sohara.org> In-Reply-To: <5387e3bd234fcae7274d3202fd89d71d.squirrel@webmail.harte-lyne.ca> References: <5387e3bd234fcae7274d3202fd89d71d.squirrel@webmail.harte-lyne.ca> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 05:23:34 -0000 On Thu, 14 Jun 2018 11:27:19 -0400 "James B. Byrne via freebsd-questions" wrote: > I cannot seem to configure autossh to work from anything other than > the command line, which defeats the purpose. I would like it to > automatically start when the system boots but I have been unsuccessful > in all my attempts to date. I have tried adding this in rc.conf: > > autossh -M0 -f -i /root/.ssh/id_ed25519 -L 143:localhost:143 > root@192.168.216.17 Nooooo don't do that rc.conf gets sourced all over the place. Put it in /etc/rc.local or in some user's crontab with @reboot instead. I use the latter to maintain a set of tunnels for incoming connections to my LAN PITA ISP filters. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Fri Jun 15 05:24:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4F05101AAB7 for ; Fri, 15 Jun 2018 05:24:22 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx6-out12.antispamcloud.com (mx6-out12.antispamcloud.com [95.211.2.203]) (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 707BE79165 for ; Fri, 15 Jun 2018 05:24:22 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx26.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fThDY-0000Mu-AI; Fri, 15 Jun 2018 07:24:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=eUNSzLDx+WpK49bfW5TeskwSisygLMhStQ+6vm4ZXQA=; b=HiJuSZ0INLFV+TJ9isIyUS408u oFb0Q1SqRd5jTev50L2S7k7LEI3PkeUI5I9rcGGWTe62VrObEEPP7k8ZQRZra6rO4JkAJlwSxufh/ /mluxl4aj1UyWqJWOYg0cG0f+sjzhD7ueDal8Qfd103qDkFn7KLUvhf19w+M8b1QBPROjBxbD/N+E Beh4SVFnaNxpjySuAxTmKa7LYqlIb2w3UU7t/n8Pe6QerFunuB6pbLOkmZTkuR9WKqey0/W0BioLS Z/eU0N2djTNM16EHumeJprW6JcGUbnK0gr+PnRfOCUX+SP+2KZPv7lFWQzNT0B0S1IIJYzrxI0wjW fNQ0SgQQ==; Received: from [182.1.125.159] (port=40239 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fThCl-0009Nx-Ou; Fri, 15 Jun 2018 12:23:26 +0700 Date: Fri, 15 Jun 2018 13:23:21 +0800 From: Erich Dollansky To: B J Cc: Chris Gordon , freebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-ID: <20180615132321.602ba8a9.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.14) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5qeqiEWDutv0sN6cvfrkR0N602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvOyUbQzp6uNaWKWUQShrSWzlJewXhWU0W3IU2F43mVdJMvWUAUUpk2kgnGBwYvps/Ob8n oBQDdzFRvvDLvDPhEixPn80h/zgmm3YGKysUhZZsPumU89c8OaxcWLmp7ynpEnP6th5BzCJ/iULN 9Q7WAzvaQM38wcb+2T44FBUSjCy31mA2cG6KXiOjoCsuv8MTQzXkwoATkrEQYN5aWlTKLgBOmBYm WxTgbb/iRl38Ae7Ox2b/sgrKyFkMqgsQR3MVyOeufGqQBYw64F5tvAXF/yyUW7AiZ4lDt/n1I70k Nr6Z8hAi/ZpLOSQNlpldIzkNiBFZL2ZnOriYLqEvoPsEoCSzMHBHN7zTjT43l4xqlenFamRgjDG2 7vjeaEgeFbfkF4TCfLKeOgnc5hoKuzU1JR8Z8oeVCIPzgMkbAPj3kjNx7m2Sbs+PM4cdNt7NYqjO kPjz7BY+om/60JF3AmF7WwqpIRzPIB9IMBEmfDlpeDft4MZcijcjWdxAL+C5B45Yzu8P4nKYjYBP B+IvJ5ObABvrgAFX+bN2JXR1cYhJQSy3daJIiUyP8jTJ0tXspmebnRe+5CmWR+fmyI2GDiWXFKkT vhkQ+yQOfSV4vRyI+PFK26CQT5Fmc+2IBCu9SBv35wPbA712HK6OpsvrPRHQFCbJH4rKHT/5Ri9a KLzp0/MT0gwwKpFFjW/+Wgx1zwjeLO/Ig191G/45ZuVaV7XN5GmwnR/budYqchVYcFdTZ08zUV8S hebT8U8Xw9HTDfreWaPsRoTZBD1jUMD2PjwcruHMzrS+ipRTMma8gsCSR+AgdYonWs/o15v3GHT/ icpo5/S2kNfrgP3UJHllZDSnFwfubushWaJcouvTRIGL48/4ifnL+9wgoTj4ygNPw1XfN8Hu637F zykJGLTdrh3XJJBl4UUN0kwKTOkHaQ6XvwoWGJdimYZGouioJWKkMaVHGm+U8T3Kfj7tHuHDvXqV SlU= X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 05:24:23 -0000 Hi, On Fri, 15 Jun 2018 04:08:38 +0000 B J wrote: > > > >> hostname="VA6BMJ" > >> ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" > > > > if you have this line, you have to have a line like this: > > > > defaultrouter="192.168.0.xxx" > > > > where the address has to be the address of the router this machine > > is connected to. > > > > A hostname entry would be nice too but I think it will not affect > > this problem. > > > > That didn't change anything after I added the line to rc.conf. > what address did you use? Your system might should be on DHCP but it is not. Erich From owner-freebsd-questions@freebsd.org Fri Jun 15 06:53:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EAC01023AEC for ; Fri, 15 Jun 2018 06:53:09 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BEE0A7C8E8 for ; Fri, 15 Jun 2018 06:53:08 +0000 (UTC) (envelope-from markand@malikania.fr) Received: from postfix.malikania.fr ([5.135.187.121]) by mwinf5d57 with ME id yusz1x0072dbEiD03uszm1; Fri, 15 Jun 2018 08:53:00 +0200 X-ME-Helo: postfix.malikania.fr X-ME-Auth: ZGVtZWxpZXIuZGF2aWRAb3JhbmdlLmZy X-ME-Date: Fri, 15 Jun 2018 08:53:00 +0200 X-ME-IP: 5.135.187.121 Received: from x1 (unknown [185.140.70.240]) by postfix.malikania.fr (Postfix) with ESMTPSA id D239C147432 for ; Fri, 15 Jun 2018 08:52:58 +0200 (CEST) Message-ID: <700afc2c6952dc99c5d1220453f7a59f83bef67a.camel@malikania.fr> Subject: Re: Microsoft github acquisition official From: David Demelier To: freebsd-questions@freebsd.org Date: Fri, 15 Jun 2018 08:53:12 +0200 In-Reply-To: <20180607081203.f74acbb7802284800060ad93@sohara.org> References: <20180607004713.GA5071@doctor.nl2k.ab.ca> <20180607081203.f74acbb7802284800060ad93@sohara.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.2 (3.28.2-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 06:53:09 -0000 On Thu, 2018-06-07 at 08:12 +0100, Steve O'Hara-Smith wrote: > On Wed, 6 Jun 2018 18:47:13 -0600 > The Doctor wrote: > > > On Thu, Jun 07, 2018 at 12:21:34AM +0000, Carmel NY wrote: > > > I just heard that the deal was official. Microsoft acquired > > > Github for > > > 7.5 billion dollars. > > > > > > https://www.theverge.com/2018/6/4/17422788/microsoft-github-acqui > > > sition-official-deal > > > > > > > Definitely the case! > > > > Time for an opengit.org! > > Erm Gitlab ? From the Gitlab wikipedia entry: > > ---------------- > In June 2018, the acquisition of competitor GitHub by > Microsoft[24][25] > caused a migration of over 250,000 projects to GitLab[26]. > ---------------- > Until it gets bought by facebook or amazon or anything not opensource in mind. FreeBSD already hosts their source code for now, we don't need to use a private closed source host. -- David From owner-freebsd-questions@freebsd.org Fri Jun 15 09:27:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B111C100F233 for ; Fri, 15 Jun 2018 09:27:22 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 281EC83274 for ; Fri, 15 Jun 2018 09:27:21 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w5F9R86F076189 for ; Fri, 15 Jun 2018 10:27:10 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Jun 2018 10:27:08 +0100 From: Frank Leonhardt To: Freebsd Questions Subject: ATTO UL5D Ultra320 SCSI Adapter - Help! Message-ID: X-Sender: freebsd-doc@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 09:27:22 -0000 I have an UW SCSI tape drive. I have an ATTO UL5D Ultra320 HBA from my junk box. I have a cable. The good news is that the BIOS on the HBA sees the tape drive, no problem. The bad news is that FreeBSD doesn't see the ATTO HBA. I probably need to compile in some driver or other, but it's not obvious to me which one. Can anyone help me out? Thanks, Frank. From owner-freebsd-questions@freebsd.org Fri Jun 15 09:41:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED4EB1010B3E for ; Fri, 15 Jun 2018 09:41:49 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8765483FF2 for ; Fri, 15 Jun 2018 09:41:49 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w5F9fkSP080264 for ; Fri, 15 Jun 2018 10:41:46 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Jun 2018 10:41:46 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: ATTO UL5D Ultra320 SCSI Adapter - Help! In-Reply-To: References: Message-ID: X-Sender: freebsd-doc@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 09:41:50 -0000 On 2018-06-15 10:27, Frank Leonhardt wrote: > I have an UW SCSI tape drive. I have an ATTO UL5D Ultra320 HBA from my > junk box. I have a cable. > > The good news is that the BIOS on the HBA sees the tape drive, no > problem. > > The bad news is that FreeBSD doesn't see the ATTO HBA. > > I probably need to compile in some driver or other, but it's not > obvious to me which one. Can anyone help me out? > > Thanks, Frank. Further to this, I believe this uses the LSI 53c1030 chipset, which is supported by the MPI driver on OpenBSD and MPT driver on FreeBSD, which is in the default kernel, but if I'm right then I'm still missing some vital point! From owner-freebsd-questions@freebsd.org Fri Jun 15 10:28:26 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB4BF1014D85 for ; Fri, 15 Jun 2018 10:28:26 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 63EF885B2C for ; Fri, 15 Jun 2018 10:28:26 +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=1529058506; x=1531650506; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=9YxBTJXWlubDdo+duaZ1woY1j/9qJMLa3paE9a79plM=; b=gh6Jaffn9VC4FNPwFa+/opTlBxMfGjbY2F8IQYOvJ3MinnQrMYJwYn3j3bHrxvBRREBVYeuUDV4sP183frra6A8sYRs8asRsONiaK9lTycZDxM6S0RfyrrXY2GeTsd9SNGz4PnoWQiNGnoDX3p22Tja4dnkVU5uOKJWiN+XcKN4= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAyYTUyMzcuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.us-east.aws.in.socketlabs.com (r4.us-east.aws.in.socketlabs.com [52.5.202.82]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 06:28:18 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 06:28:18 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fTlxo-0007Ws-C9 for freebsd-questions@freebsd.org; Fri, 15 Jun 2018 10:28:16 +0000 Date: Fri, 15 Jun 2018 11:28:16 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Microsoft github acquisition official Message-Id: <20180615112816.662602c7a0bd54b2a4ae9fe9@sohara.org> In-Reply-To: <700afc2c6952dc99c5d1220453f7a59f83bef67a.camel@malikania.fr> References: <20180607004713.GA5071@doctor.nl2k.ab.ca> <20180607081203.f74acbb7802284800060ad93@sohara.org> <700afc2c6952dc99c5d1220453f7a59f83bef67a.camel@malikania.fr> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 10:28:27 -0000 On Fri, 15 Jun 2018 08:53:12 +0200 David Demelier wrote: > On Thu, 2018-06-07 at 08:12 +0100, Steve O'Hara-Smith wrote: > > Erm Gitlab ? From the Gitlab wikipedia entry: > > > > ---------------- > > In June 2018, the acquisition of competitor GitHub by > > Microsoft[24][25] > > caused a migration of over 250,000 projects to GitLab[26]. > > ---------------- > Until it gets bought by facebook or amazon or anything not opensource > in mind. Gitlab is open source (and in the ports) so if it's wanted it's there. It is also a hosting service with free and paid plans, which as you say is in danger of getting snapped up by one of the giants. Both are potentially useful alternatives to Github. If I were setting up a software development startup I'd certainly consider an internal gitlab setup, I'm not so I haven't reviewed it in depth. If I were running a small open source project with a few collaborators the hosted service would be one place I'd be looking. > FreeBSD already hosts their source code for now, we don't need to use a > private closed source host. True enough, FreeBSD has hosted their source since Walnut Creek days and I doubt that will stop. Things like hosted github and gitlab are mostly suitable for smaller projects that don't want the overhead of maintaining their own infrastructure. There's a fair number of those clustered around FreeBSD. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Fri Jun 15 16:49:45 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0913E101395B for ; Fri, 15 Jun 2018 16:49:45 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 639E877F94 for ; Fri, 15 Jun 2018 16:49:44 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id w5FGnfub018398; Fri, 15 Jun 2018 10:49:41 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Subject: Re: Problems Connecting Laptop To Modem To: B J , Erich Dollansky Cc: Chris Gordon , freebsd-questions References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> Reply-To: freebsd@dreamchaser.org From: Gary Aitken Message-ID: Date: Fri, 15 Jun 2018 10:48:57 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 15 Jun 2018 10:49:42 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 16:49:45 -0000 On 06/14/18 22:08, B J wrote: > > >>> hostname="VA6BMJ" >>> ifconfig_nfe0="inet 192.168.0.12 netmask 255.255.255.0" >> >> if you have this line, you have to have a line like this: >> >> defaultrouter="192.168.0.xxx" >> >> where the address has to be the address of the router this machine is >> connected to. >> >> A hostname entry would be nice too but I think it will not affect this >> problem. > > > > That didn't change anything after I added the line to rc.conf. You can't just add the default router line without a bit of knowledge about what the IP address of the default router actually is. Do you know what the 192.168.0.* address for the router is? I suggested 192.168.0.1 because that is often the default, but not necessarily so. > That might be worth considering, but I don't have to do it with my > other FreeBSD machines. Can you post the result of "netstat -rn" from one of those other machines? Gary From owner-freebsd-questions@freebsd.org Fri Jun 15 19:00:59 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 570BE1018807 for ; Fri, 15 Jun 2018 19:00:59 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 035C77E3CB for ; Fri, 15 Jun 2018 19:00:58 +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=1529089259; x=1531681259; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=o1TeGNNw6uZIeYfr2ZT869UTQzn0Y0K4OxfmrT2sOvE=; b=wBCSPdqrjfzmjFpbuQTcaz6XQPWDwzBWKPuXap05mAerwHRkKQ3ON6UuSER6pU/wcVvbtqApz9x9n99fm9zbbWu4YDulke++M3cegiwZbzC4JouErkEDHGgpACv8nuch7hwEYsOqTbGurZIrsHgsUFTBrLZ1j0i6fFmNKz05OBM= X-Thread-Info: NDI1MC4xMi4xOGYwMDAwMDAzYzJhOGQuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 15:00:54 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 15 Jun 2018 15:00:53 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1fTtxr-000BGX-F9; Fri, 15 Jun 2018 19:00:51 +0000 Date: Fri, 15 Jun 2018 20:00:51 +0100 From: Steve O'Hara-Smith To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180615200051.8e8d73819e027b51e9d0af0e@sohara.org> In-Reply-To: <20180614184329.9646c28a.freebsd@edvax.de> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; 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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 19:00:59 -0000 On Thu, 14 Jun 2018 18:43:29 +0200 Polytropon wrote: > change when FreeBSD starts using systemd... ;-) I'll probably decamp to DragonFly or NetBSD then. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Fri Jun 15 19:24:45 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6763B101962D for ; Fri, 15 Jun 2018 19:24:45 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx2.webtent.net (mx2.webtent.net [216.139.202.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5237FAB7 for ; Fri, 15 Jun 2018 19:24:44 +0000 (UTC) (envelope-from robert@webtent.org) Received: from localhost (localhost [127.0.0.1]) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 1D45FD7FEF for ; Fri, 15 Jun 2018 15:24:00 -0400 (EDT) Received: from mx2.webtent.net ([127.0.0.1]) by localhost (mx2.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 49229-06 for ; Fri, 15 Jun 2018 15:23:59 -0400 (EDT) Received: from [192.168.1.112] (media.rfitz.com [96.254.71.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@mx2.webtent.net) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id 5FC38D7FA1 for ; Fri, 15 Jun 2018 15:23:59 -0400 (EDT) Message-ID: <5B241273.3070004@webtent.org> Date: Fri, 15 Jun 2018 15:24:35 -0400 From: Robert Fitzpatrick User-Agent: Postbox 5.0.25 (Windows/20180328) MIME-Version: 1.0 To: FreeBSD Subject: NFS to FreeNAS Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 19:24:45 -0000 I have a couple of FreeBSD 10.4 servers that have been backing up to an NFS share connected to a Linux backup server. Now I have a FreeNAS server on the network and want to switch backup to it, but get the following error when trying to mount: [tcp] data1:/mnt/DATA/backups/mx: Permission denied The fstab for both looks like this, the first works to the Linux box but the error when trying data1, the FreeNAS server: backup1:/data/backup/webtent /nfs/backup nfs rw 0 0 data1:/mnt/DATA/backups/mx /nfs/backup2 nfs rw 0 0 This is the directory for both mounts: root@mx1:~ # ls -lah /nfs total 20 drwxr-xr-x 5 root wheel 512B Jun 15 15:17 . drwxr-xr-x 19 root wheel 1.0K Apr 11 02:07 .. drwxr-xr-x 2 root wheel 512B Aug 17 2014 backup drwxr-xr-x 2 root wheel 512B Jun 15 15:17 backup2 Also, the Linux backup server is on same network and *can* mount the same NFS share on the FreeNAS server without issue. What am I missing? -- Robert From owner-freebsd-questions@freebsd.org Fri Jun 15 20:49:15 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 368B1101BA14 for ; Fri, 15 Jun 2018 20:49:15 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C180B825BD for ; Fri, 15 Jun 2018 20:49:14 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-vk0-x230.google.com with SMTP id 200-v6so6423559vkc.0 for ; Fri, 15 Jun 2018 13:49: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=+wSQ3V9eQvf+SavXie0cD8c9ej/VCUDqTuvXtQgjBh0=; b=GxzQxymKEnXyj+P3hK9zAC3vT/VdNXLvz7TrFIJ+te5oS2PweqMtimPZ9vBZn+gZvW Uxn0KTmXDMZ4yX7BDpJ1s422js3mHlWg0wI9PCCwH871QlOrupon4B882JXQ1YjmOFVC SzCAO880lL1a4Sxdnc2F17pOoc8FVydTky+MJ34b7Z0A+dcrU7/TD/n15ofIhbqyMBAK dpTCj9cqLJXUsI0XjPb4U1i6NxsM6EimLxTYo9ECL/5n+5nQfRNuEq68rL8hmvw/SAXY 4qo6Pw4r1RPMrTY24slwHDGbkNE3wDa5Z9TjvuNMo4mqIrLRj47RFnE9ibSlteUHMDkS UjzQ== 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=+wSQ3V9eQvf+SavXie0cD8c9ej/VCUDqTuvXtQgjBh0=; b=CgCgGZyTwJOF2rPfeHuVMsBEAsVdqQ6iaMEjNqeAqKESsrRTrIcRuMXqGEmniRotYn xpZ7ujXf6MTscVd+W8N9m2SVbL+v7wLoZArFuDRPIkF0+4dSM6WMehLhljK45y1qwpK2 ghh9+Rxy3Bpp13SacszkzKOEuKu9tYSN2nI2bsoIuFVxwUmVLM8YgrPsrlwNFYDnuMtU sqtbp2W+IG4uFgPnPLzXswboAlfES5iR4fvoAqr7xjiqHTUZFMoMUR5rQO2WLppuGA39 KIU4UE0awjuN+2lsV2R4S1JuMjp/kgLWRA1EeSRZKIIfDJrtv+G5+e6yhakJMJ/yyK5V 68gA== X-Gm-Message-State: APt69E1h+J5awNyHExLEgXtaXQwt+RfW0c7s13dM59+M+QnH/r1DXIAE qQvkekvYZ7qoDKJsQYSYZonmoYcfKaMzQhvaba0= X-Google-Smtp-Source: ADUXVKKueqLeoiVPpTynvG14T01CQyuRKtBIoe3kSihbEmY2acov9VWW3IhFH3s1ue/HbVANVQes66sCuFqOrshLpo8= X-Received: by 2002:a1f:a7c6:: with SMTP id q189-v6mr1964023vke.168.1529095753790; Fri, 15 Jun 2018 13:49:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Fri, 15 Jun 2018 13:49:12 -0700 (PDT) In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> From: B J Date: Fri, 15 Jun 2018 20:49:12 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: freebsd@dreamchaser.org Cc: Erich Dollansky , Chris Gordon , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 20:49:15 -0000 On 6/15/18, Gary Aitken wrote: > You can't just add the default router line without a bit of knowledge > about what the IP address of the default router actually is. Do you > know what the 192.168.0.* address for the router is? I suggested > 192.168.0.1 because that is often the default, but not necessarily so. I eventually found that 192.168.0.1 was the value from one of my tower machines. I tried other values for the last number as well and got the same result. > >> That might be worth considering, but I don't have to do it with my >> other FreeBSD machines. > > Can you post the result of "netstat -rn" from one of those other > machines? Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.0.1 UGS fxp0 127.0.0.1 link#2 UH lo0 192.168.0.0/24 link#1 U fxp0 192.168.0.12 link#1 UHS lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 link#2 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::/10 ::1 UGRS lo0 fe80::%fxp0/64 link#1 U fxp0 fe80::21a:92ff:fe10:ce8b%fxp0 link#1 UHS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 ff02::/16 ::1 UGRS lo0 I've had no problem with the machine where this came from. I just checked the laptop using a live version of Ubuntu and I was able to connect to the Internet with it. The hardware, it would seem, doesn't appear to be the main problem. BMJ From owner-freebsd-questions@freebsd.org Fri Jun 15 21:14:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFB21101CD2A for ; Fri, 15 Jun 2018 21:14:38 +0000 (UTC) (envelope-from the.gods.little.empath.7@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::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 6EE5383B0B for ; Fri, 15 Jun 2018 21:14:38 +0000 (UTC) (envelope-from the.gods.little.empath.7@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id e8-v6so10019061oii.2 for ; Fri, 15 Jun 2018 14:14:38 -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=B6Vzsycyi53/z8Iswd/LOFYnMlUrTV4VU4qJ2VHZqFY=; b=txgqrvlDk6ZlwW34GaS/sVkF2ofySVsVDCZ35PN4R3SP2FTFKmiyXrSAGsvm67UOiM r+yWvr1p7IscWlIjnRsmAXTAFTC5go1TVf1ZD77JECOmopBfdqDFF2XRkv16Zi4Ecogw z/ULI572cL/TcMrhXv8B2iZZs7JkycYvoLwX2XxKk5E7RZ7r7du6P87WjGn5LR7Gy+PY gCdhDKpnNLuJPF0FeYL7LhRfQOkoVQYA4+Yen5J7o7yfi/VqdBJqAizI5dkUyG1HV5GJ Bro6qK+6QbOU1Njt4cv39VsO2SpEcLsylSyhCWGwrrJz4YHcRt+wgUiTjy8VTFIqjpue aVlQ== 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=B6Vzsycyi53/z8Iswd/LOFYnMlUrTV4VU4qJ2VHZqFY=; b=Xq/Ey5oZE83VXLT7V93gArP9UqWf/gPesj0QIgYNeHa6Ydsimdn1h6PBtm2BM4oV5I m362JWvy0DJBqXJHYl5oHEmGVkdWC11xHqEdk/fhTPBgIIGsR8wBTQm49xzow8jW7rmz FdBiBToDv4VrhTC5UmpWqiUFJLpubAEdOIrvDZy5BdusoDFZatcPGzsUjS0Wu4Kq0FlH pQMUUWyqyQ7NKF/pU0570WN1rDcTvz2iLBIkydRF2JKlnalM7NUROD2wFZc4oO+ZMcpA nxAahECn+trBGyIJlDYLM1zuRMCSPM9hxC1sjpgGkv8OSbsx8jVOeNIUb3FUmpNFdowh 7jaA== X-Gm-Message-State: APt69E0myEUDeSZICha4l4zWtLeMdMhTjOSgmZsE9EhPrjPRtFrZkqtR icwWzjt3sD2jLMq51LGPFEHCOVjaVXaJQJCEj/s4lQ== X-Google-Smtp-Source: ADUXVKIOzb2YnBLT3QH4lIcRAGzf/JTlrWMxvu9CpUc0742Ol0olha3iyK+f5zZFm3apanjikLrpJSEuqY5yXO1cCQg= X-Received: by 2002:aca:afc9:: with SMTP id y192-v6mr1752940oie.274.1529097277622; Fri, 15 Jun 2018 14:14:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:8b70:0:0:0:0:0 with HTTP; Fri, 15 Jun 2018 14:14:37 -0700 (PDT) From: PJ Hilleges Date: Fri, 15 Jun 2018 17:14:37 -0400 Message-ID: Subject: Alternate Donation Method Request To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 21:14:39 -0000 I would request your assistance in providing an alternate payment method for a secure donation other then "Pay-Pal", that is / are none redirected links or affiliated with said "Pay-Pal". An address (direct to the FreeBSD Foundation and no post box), specific department and to the attention of, With the availability of a signature from the / an recipient, would be plausible. Preference shall be given to international; wire transfers / Postal or Bank drafts (AKA Money orders) and or alternate forms of Western Union transfer of payments insurable via couriers. Thanking you in advance for viewing this request and matter PJ Everson-Hilleges FUAD Securities From owner-freebsd-questions@freebsd.org Fri Jun 15 21:21:50 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B004A101D22E for ; Fri, 15 Jun 2018 21:21:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19CCF842D0 for ; Fri, 15 Jun 2018 21:21:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPA (Nemesis) id 0MQfGf-1fe8DL1cr7-00U4iA; Fri, 15 Jun 2018 23:21:42 +0200 Date: Fri, 15 Jun 2018 23:21:41 +0200 From: Polytropon To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180615232141.d25e83e0.freebsd@edvax.de> In-Reply-To: <20180615200051.8e8d73819e027b51e9d0af0e@sohara.org> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> <20180615200051.8e8d73819e027b51e9d0af0e@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:AkQ9XPfN25YuCnEqiF4PDKzXjMJRSQ7YzEsmc1QTg+qpVaHsSXk 7E9dg4QstjBQhK5a6vsacZOqiiJEtPhQk+bO5SVjFRYo1YTbdDiXp6nBqppfEWkg5IOkOO/ LqEQYK+ziG36yOji9YJoV+pqhOgZKAAdOumMo0vQ1Hjhme4b6hBQGneF1pnEDJ50RE09aSj HGR/LofU5vTpYW1bzN2UA== X-UI-Out-Filterresults: notjunk:1;V01:K0:sIOFHwg/mWA=:EwQPanSTssyQbuAi4/8cm8 HvRpuZqDcVrQHlu5jVqs4LZKRj4JdonPfKE3P3w/8LvhG46I65lwecDHW6XTp9xUqHEeDi5tG oxgUIWXMAJOrmGzrofOucCToGsORy3sEXP+Nc9qpIOhf+ZADBNR7Dsa6rV5sWG71O4sZbt7Id HbEAUaLd4bK5b4J/oZ/MQ2JSQyT6W76nrPea6Dm/65yZSem957Xro6jpFQFRFErvCLLdSpPEH vb0hAffEI3dwTAuhfvP84eAUmMX3ylyxhO3DH91pcFtyWk+m6WxLn1gPrc5BDyA24Xenctixo uoKxb0AaLGT1n/EvhuQttwMes4XV8rgSqOadRhRYcxrTMd2ibQ5KlCFgDCvCKrc0wWHfZpzNo BuB6UM0yBtDjOGvJ2abQeTeJAw72LzIFu0pG7Nvsus68uOnKg8+rRkReJ2nPsedoGxgS+4Lps AhVIRwnxxO+ziE8InDeOGsP+kDDoPtM9R7kbCpukEX0OFOjeX5zQesdcDOLhIyeX5T5vpNgEo t+A+cIDvBOyFPYnPmFpjN2O41vbUOBMD62gAfm7XtFX04uhXcOfAWZa7cyxlBeVpVqO9riktS Raw52NT4xd5RuCytGGn6zM6aDlfpexEouQnqz07Ttgu7X2pvzL+qMntukz8ZH3ejJtJ23eP9k aPj13yEk5o0Kax3DqUS8gtD2SSZEzTUQ3Hvr+3yPH67rMSooBgJJkDvydSwDjrNosBjHEYgPY erZmIoJVRsHknzw4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 21:21:50 -0000 On Fri, 15 Jun 2018 20:00:51 +0100, Steve O'Hara-Smith wrote: > On Thu, 14 Jun 2018 18:43:29 +0200 > Polytropon wrote: > > > change when FreeBSD starts using systemd... ;-) > > I'll probably decamp to DragonFly or NetBSD then. Luckily, systemd is highly incompatible to FreeBSD's principle designs, and it maintains a tight coupling to many Linux kernel facilities. We hopefully don't have to worry. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jun 15 21:37:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44403101D929 for ; Fri, 15 Jun 2018 21:37:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B037184F91 for ; Fri, 15 Jun 2018 21:37:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPA (Nemesis) id 0Mgw8O-1fpzXC11ge-00M6Y4; Fri, 15 Jun 2018 23:37:10 +0200 Date: Fri, 15 Jun 2018 23:37:07 +0200 From: Polytropon To: B J Cc: freebsd@dreamchaser.org, Chris Gordon , freebsd-questions , Erich Dollansky Subject: Re: Problems Connecting Laptop To Modem Message-Id: <20180615233707.8645c246.freebsd@edvax.de> In-Reply-To: References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.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-Provags-ID: V03:K1:Bl1VWHZEk9dczOZEJ4A8OCzCIclzhsCqHFDpT8Tk8sciJT/A94f RI9uUjPSGhLcNgFFlYTE2+t3lfEm2mxBCD2Z405RGXre5SLMIqR83ZCsU/S6KCfEVF2seAX xzqJL3zxxSeHuMzePdI6IvCumHfbJEDyQXl3KjttDgUDAVA0LFicUtNRuuLafftosu9Ffmv GFr2kaHjVO7zAbfRS8Ibg== X-UI-Out-Filterresults: notjunk:1;V01:K0:HSYIx7f7jh0=:0k3R7xasxAy+w8vuFJZFNP HEOsKZEwCRIhFGEeKqdyWJo4e36NNiy0qSqJyS2xwrejWJ1+/sPLitN8UHxe+RX7R48mml6Rj lWVJoZMQmJS+t0FwJSYJug82R3HqcGzDHiSfggv69MDXoHWZyorVcJclb2XCSMufyZh/Tw8LX wbChHZg+bhxjTu+mnYOpMJmaEUcYtyok/qgCAcenandDPR6ySsmm4Ga1KJwKeWSCAFlkmauyg 1gYRlwy0Lvsyq4jzCba0Du09a8uCTTqQ3Kn22ZOYudK7C1eoFkN3tnGvlqNwLh8/qRjJJVQg7 0Mb5tiGMwZXAiMeVKWmxIU7zUYoyMyVmSxbf+kZyLe1LOCQKrzXTflEgFEAdv/Jys/OWvrSr0 bzcnler8gHY6DvmuU13Qu3xSMJ5RRb1s64KoN5rywZSemo180rFYQGBo3/eDue/WiT4KIRFZc DNC6PT4STjfMin0vCioGgvU/M8QS74jV8Sfg6zvrp4bDQh1bUemBzowUo07yZJ4Z1wbbqeI6a Y5WkOQ49XKa6e0+Q8QODUapUPMeTDVm/58nRBNAbBYaN8vvB/DZq70AKNlotZHnYLdF8bfxES krzZUyge1C9cZY/N5gpQyNUN57T9Y1rmiF493CGgpVDK4oXNpQGkBkpAjfmLC0K/77lRB1wb+ rjd6Tq/3FT8hNaO2IqLBfguBwcDbb8tpH+KH3HH9jpx9XQOLAkXpZkhfJHf2vF0h7wpQFLxEm /kFrC0/Vn35/4wiW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 21:37:42 -0000 On Fri, 15 Jun 2018 20:49:12 +0000, B J wrote: > On 6/15/18, Gary Aitken wrote: > > > > > You can't just add the default router line without a bit of knowledge > > about what the IP address of the default router actually is. Do you > > know what the 192.168.0.* address for the router is? I suggested > > 192.168.0.1 because that is often the default, but not necessarily so. > > I eventually found that 192.168.0.1 was the value from one of my tower > machines. I tried other values for the last number as well and got > the same result. >From your netstat output (later on), it seems that you connect to 192.168.0.1, so if this really is the IP of one of your machines, there's a big problem with your current configuration. > >> That might be worth considering, but I don't have to do it with my > >> other FreeBSD machines. > > > > Can you post the result of "netstat -rn" from one of those other > > machines? > > > > Routing tables > > Internet: > Destination Gateway Flags Netif Expire > default 192.168.0.1 UGS fxp0 > 127.0.0.1 link#2 UH lo0 > 192.168.0.0/24 link#1 U fxp0 > 192.168.0.12 link#1 UHS lo0 > > Internet6: > Destination Gateway Flags > Netif Expire > ::/96 ::1 UGRS lo0 > ::1 link#2 UH lo0 > ::ffff:0.0.0.0/96 ::1 UGRS lo0 > fe80::/10 ::1 UGRS lo0 > fe80::%fxp0/64 link#1 U fxp0 > fe80::21a:92ff:fe10:ce8b%fxp0 link#1 UHS lo0 > fe80::%lo0/64 link#2 U lo0 > fe80::1%lo0 link#2 UHS lo0 > ff02::/16 ::1 UGRS lo0 > > I've had no problem with the machine where this came from. I just > checked the laptop using a live version of Ubuntu and I was able to > connect to the Internet with it. The hardware, it would seem, doesn't > appear to be the main problem. At the moment, it doesn't look like a hardware issue. My suggestion: Take a machine that properly connects to your modem/router and gains Internet access this way as desired. Collect information about which values exist on your network. Don't guess values. :-) The following commands should work on FreeBSD and Linux: # arp -a # netstat -rn # ifconfig -a (depending on Linux, the "ip" program has to be used instead) Even though it might sound stupid, use pen & paper to make a small diagram of your network. Write down the IPs and other elements of the configuration. If you have a Linux live system connecting without any further configuration, it's quite possible you have a DHCP server in your modem/router running. In that case, don't try to configure things manually, it will just interfere with this mechanism. Instead, use ifconfig_nfe0="DHCP" in /etc/rc.conf. A variation is ifconfig_nfe0="SYNCDHCP" Check /etc/rc.conf for duplicate entries. The _last_ entry of the same kind will be in effect, as it's basically just a shell script with assignments to shell variables. Of course you need to specify the default router address, but don't guess it - determine it from a different system. If it is the _default_ address that your modem/router uses (and you didn't change it), maybe consult its documentation, the address should be listed there. It can be things like 192.168.0.1, 192.168.1.1, 192.168.178.1, who knows. Check if HDCP populated /etc/resolv.conf. In many settings, the modem/router will also be a nameserver (even if it just "relays" your queries and the replies). This means: The IP you're seeing there is the IP of your modem/router. In worst case, don't configure anything in /etc/rc.conf and do a little experimentation. Run a tcpdump (or maybe Wireshark, ex Ethereal) on your network interface and then do all the steps manually: Configure the interface, set default routing, try to obtain an IP via DHCP (using dhclient), and see it /etc/resolv.conf gets populated (which DHCP should fill with the correct values). Then try to ping internally with IP, extermally with IP, try to resolve a hostname, ping it, open a browser for a HTTP connection, and so on. Monitor what you're doing as initially mentioned (to see if you actually _see_ what you expect, like ARP messages, a DHCP handshake, ICMP pings, and HTTP traffic). If this all works, make the settings permanent - even if you only verified that using DHCP was the correct thing to begin with. :-) Good luck! PS. "Trial & error" is not a programming concept. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Jun 15 22:08:21 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 748FA101E253 for ; Fri, 15 Jun 2018 22:08:21 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: from mail-ua0-x244.google.com (mail-ua0-x244.google.com [IPv6:2607:f8b0:400c:c08::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 EFBD785D0C for ; Fri, 15 Jun 2018 22:08:20 +0000 (UTC) (envelope-from va6bmj@gmail.com) Received: by mail-ua0-x244.google.com with SMTP id s13-v6so7355607uad.2 for ; Fri, 15 Jun 2018 15:08:20 -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=AOJL8eJU4XdOwq9dJtek73yFypn5U+K0XYE7X9mEARM=; b=tJlJwCKnWo0LNIOPXfTIv2kmECLHI0as/E3rfeeAp1EJaxUc7CLXt8uKANgWc11wL4 E8ElbfhdUhIkt9L9HM2QL7fFj3ibRA/KQgTOUNKXUkQB6FTbqGet/FNNvOT8zd3u7963 jDctsLBxVzgii68oCYMO5zqqGePUPeODb1pujkf1/9JSs/NLYXff1f2VeXKelL4ftphU CkSdVysaZKiu1qbjabwY8wRl+dp3f/bfdZRPoFynMQMhDlDsVRiHOun89ndx6j2tkqE+ D0V2QZ1pQdQSzsKJxC65QG5UMW5Iz75my0DIpzNq1+je+VXILtGdV3Xpecdmu4H+WYqX cFsw== 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=AOJL8eJU4XdOwq9dJtek73yFypn5U+K0XYE7X9mEARM=; b=hvzWY2D+0Bku/ygF6sDXaq3qyVJUeG7g+R+sDbwKpx2vrx3q2X9qnVijfddHqeoQRT rI5T/74vQWC6TUFN4kIGy2GGlmLfM4s8R24tLWNiFFtuScEzjs50Yyf6wLkquOmVc4ea MFZHBjOn8n0pMQwHmp+yQIzgYBDJgoK5ALwwwe83Z7lgpVLqHnWuCVPa9R77wTLtHF6T YXAGbvsBguY0GN/YWGyDA0xfQ9so5ajqleEPPu1lszTqkadZmCBIWZk/A8BJWw2JFJ+q g+7Aw1ZWm+InKAxWZuYkaggOv4ebcaTbpDjXfyORBKbiwMAI0SQvYYcwtAqNtsNOdizq txMA== X-Gm-Message-State: APt69E3YbR6ro9O6pXeghTHVNehpmykCCDi8r+6Pxn7wGmBGBTUc1u2x TrY65OiGkmVz3X07VyUknzzbVZS7Yg+xfwofZeK5Lg== X-Google-Smtp-Source: ADUXVKJdakdeT9MK7VkvyorbS8xQyqJBJe3Uhn6su5B7CoVmLGq81CF8KyP/3D51zLVSx0/BylfNCPRZ5XSOzAriKtk= X-Received: by 2002:ab0:4c6c:: with SMTP id d44-v6mr2312606uag.2.1529100500039; Fri, 15 Jun 2018 15:08:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:46e:0:0:0:0:0 with HTTP; Fri, 15 Jun 2018 15:08:19 -0700 (PDT) In-Reply-To: <20180615233707.8645c246.freebsd@edvax.de> References: <20180613102426.3874c581.freebsd.ed.lists@sumeritec.com> <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> <20180615233707.8645c246.freebsd@edvax.de> From: B J Date: Fri, 15 Jun 2018 22:08:19 +0000 Message-ID: Subject: Re: Problems Connecting Laptop To Modem To: Polytropon Cc: freebsd@dreamchaser.org, Chris Gordon , freebsd-questions , Erich Dollansky Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 22:08:21 -0000 > From your netstat output (later on), it seems that you > connect to 192.168.0.1, so if this really is the IP of > one of your machines, there's a big problem with your > current configuration. > At the moment, it doesn't look like a hardware issue. The laptop is second-hand. It was in rough shape when I got it from the previous owners so I'm thinking that there might be an on-board hardware malfunction. It might be the hard drive as it didn't want to boot at first because of, if I remember correctly, some corrupted sectors. I have some extra HDs on hand. I might try swapping one of those with the one that's in the machine, installing FreeBSD, and then seeing if I get the same problem. Since the laptop's not essential to what I do at home, I may as well have a bit of fun with it, right? > > My suggestion: > > Take a machine that properly connects to your modem/router and > gains Internet access this way as desired. Collect information > about which values exist on your network. Don't guess values. :-) > > The following commands should work on FreeBSD and Linux: > > # arp -a > > # netstat -rn > > # ifconfig -a > > (depending on Linux, the "ip" program has to be used instead) > > Even though it might sound stupid, use pen & paper to make a > small diagram of your network. Write down the IPs and other > elements of the configuration. > > If you have a Linux live system connecting without any further > configuration, it's quite possible you have a DHCP server in > your modem/router running. In that case, don't try to configure > things manually, it will just interfere with this mechanism. > Instead, use > > ifconfig_nfe0="DHCP" > > in /etc/rc.conf. A variation is > > ifconfig_nfe0="SYNCDHCP" > > Check /etc/rc.conf for duplicate entries. The _last_ entry > of the same kind will be in effect, as it's basically just > a shell script with assignments to shell variables. > > Of course you need to specify the default router address, but > don't guess it - determine it from a different system. If it > is the _default_ address that your modem/router uses (and you > didn't change it), maybe consult its documentation, the address > should be listed there. It can be things like 192.168.0.1, > 192.168.1.1, 192.168.178.1, who knows. > > Check if HDCP populated /etc/resolv.conf. In many settings, > the modem/router will also be a nameserver (even if it just > "relays" your queries and the replies). This means: The IP > you're seeing there is the IP of your modem/router. > > In worst case, don't configure anything in /etc/rc.conf and do > a little experimentation. Run a tcpdump (or maybe Wireshark, > ex Ethereal) on your network interface and then do all the steps > manually: Configure the interface, set default routing, try to > obtain an IP via DHCP (using dhclient), and see it /etc/resolv.conf > gets populated (which DHCP should fill with the correct values). > Then try to ping internally with IP, extermally with IP, try to > resolve a hostname, ping it, open a browser for a HTTP connection, > and so on. Monitor what you're doing as initially mentioned (to > see if you actually _see_ what you expect, like ARP messages, > a DHCP handshake, ICMP pings, and HTTP traffic). If this all > works, make the settings permanent - even if you only verified > that using DHCP was the correct thing to begin with. :-) > > Good luck! > PS. > "Trial & error" is not a programming concept. ;-) I've been writing code off and on for more than 40 years, going back to the days of WATFOR and WATFIV. Trial-and-error programming helped me finish my B. Sc. Thanks to everyone for all the advice and information. Two things have come from this. One is that I finally set up my tower machines so that the systems on them are now nearly identical to what I have on my laptop. I've been meaning to do this for years but I had little incentive to do so. The second one is that I'm learning something about networking, which should help me with what I have at home. BMJ From owner-freebsd-questions@freebsd.org Fri Jun 15 22:27:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27921101F2EB for ; Fri, 15 Jun 2018 22:27:14 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 B9CE3869C1 for ; Fri, 15 Jun 2018 22:27:13 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 20B4021A77 for ; Fri, 15 Jun 2018 18:27:07 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Fri, 15 Jun 2018 18:27:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=nr6mpE n5mz6d6EhvuFNIHc0tF/TXow8wwpC10Cqm3GE=; b=CjA+nr0fs+7MwgReuesJjb a6tGJVDEF6t4K1TYVXV9v8UxD7Rj4C9aHJsQKfGdeg6ZT8x7tkFKPZ3hoCOYvjhy SP242j/VUv7tAmxoK+h4QncP/WjEUzmLNbRd/mk5yROFdRx8jfxgRtEkv3ZgG6Fk 3By6nou17UK2Mo2FnC8fBVQ6xjEsPsO8/K/1VNf5usEwHwJMo3GoZiv3TNS64LkL GtfRx6EIW3GizQP8O9jDqg09jLa1y7mha0p5sZzp4VPjsMldF382pVHswwdGh28M ODgWCikx5fbqKuq2FIx+69QgWoEsvMtWlxXdEDDhu3eeNugWxt1bsXccZf9OSUiw == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 90DF19E106; Fri, 15 Jun 2018 18:27:06 -0400 (EDT) Message-Id: <1529101626.966595.1409703528.3672C083@webmail.messagingengine.com> From: Josh Paetzel To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-498d70f2 Subject: Re: NFS to FreeNAS In-Reply-To: <5B241273.3070004@webtent.org> Date: Fri, 15 Jun 2018 17:27:06 -0500 References: <5B241273.3070004@webtent.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 22:27:14 -0000 On Fri, Jun 15, 2018, at 2:24 PM, Robert Fitzpatrick via freebsd-questions wrote: > I have a couple of FreeBSD 10.4 servers that have been backing up to an > NFS share connected to a Linux backup server. Now I have a FreeNAS > server on the network and want to switch backup to it, but get the > following error when trying to mount: > > [tcp] data1:/mnt/DATA/backups/mx: Permission denied > > The fstab for both looks like this, the first works to the Linux box but > the error when trying data1, the FreeNAS server: > > backup1:/data/backup/webtent /nfs/backup nfs rw 0 0 > data1:/mnt/DATA/backups/mx /nfs/backup2 nfs rw 0 0 > > This is the directory for both mounts: > > root@mx1:~ # ls -lah /nfs > total 20 > drwxr-xr-x 5 root wheel 512B Jun 15 15:17 . > drwxr-xr-x 19 root wheel 1.0K Apr 11 02:07 .. > drwxr-xr-x 2 root wheel 512B Aug 17 2014 backup > drwxr-xr-x 2 root wheel 512B Jun 15 15:17 backup2 > > Also, the Linux backup server is on same network and *can* mount the > same NFS share on the FreeNAS server without issue. What am I missing? > > -- > Robert > Take a look at /var/log/messages on the FreeNAS box for errors when you mount, also paste the output of showmount -e and cat /etc/exports from the FreeNAS system. -- Thanks, Josh Paetzel From owner-freebsd-questions@freebsd.org Fri Jun 15 23:23:40 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA8D51020535 for ; Fri, 15 Jun 2018 23:23:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 549F368188 for ; Fri, 15 Jun 2018 23:23:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPA (Nemesis) id 0Lvx61-1gHrBO0aMP-017j8d; Sat, 16 Jun 2018 01:23:31 +0200 Date: Sat, 16 Jun 2018 01:23:31 +0200 From: Polytropon To: B J Cc: reebsd-questions Subject: Re: Problems Connecting Laptop To Modem Message-Id: <20180616012331.ebb8e70d.freebsd@edvax.de> In-Reply-To: References: <20180613162137.5cc6794a.freebsd.ed.lists@sumeritec.com> <3E3890A6-72F9-4D80-A021-837FFDB35A39@theory14.net> <20180614093928.6f39434e.freebsd.ed.lists@sumeritec.com> <20180614161923.5246ae81.freebsd.ed.lists@sumeritec.com> <20180615102548.1c686d1b.freebsd.ed.lists@sumeritec.com> <20180615233707.8645c246.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:ajrVKqgFmLs8VfrNDXX7MJDIg23OytVJJrbalR3V3sG0YaqcqTS nIW0q3isxdET04grd02frMC8U4fKte4OTgn5ZURwv9xSU9S+o72Y4/q4kRumsQpNCXltLvS GXe2nay9fK5k8TFaKHzAyowZX45wlN15U5o+RgVdGcdmMUBmXi+lSI2XyymOQ99YKMSlJew GfYpriXBJql1yCeaRJUXw== X-UI-Out-Filterresults: notjunk:1;V01:K0:KrZntm+/ah8=:AzlJp38+Kqv08b93+L1/4j 6eS8MuSXocU79qfvSMLPCiacRuBcxxFa4dcmxqZ04842LcaIU+CAYv8N/PBJKTWiMEOnBkbB4 Li41XSA7amJEY5HWa56JnnfijSIQgHiBpSyh3Tqbn8XmfEL3gczpq3FhkLrRfISfiTl1HvpVK X15TPA+VuJETKeUquxYJ7LGul/yQKv5SRD2nW79Kr7Z7ZkqaJ+X3lorh0it8wdrxyo92wgnby p02aShqBuEHrZTjB1LVo0XNBsw3fqdcVGXrTlKmVo/KkCZnF3FCj8fu9v6/AT1wFAhtY+PMuC NcOuSLvDG1qOfCiYu8UDQwh2AQZZimqtW66oKRXu86rO8zijRSeAOTBHsKNFdJlRJ1tWdLSpu tfR/DhPfhAgJCdEDKdVof2T0Akun7gJsg1ZQ0KBldjPpK7wrRLzbl03JO8e8CpuQgp/YYyJKX FDhYaodyEGF71FkAt+17vygDm01vbVkdM1ZI88z6ym2dfnGyyYGQg6+t0HurkjJ7Yd2Pyd0op LPRUFQH5wNQUtfOLGdMZynXSGvfdrPmeDo5M0kNkMe/5iuIK5ud0u3XM1lNMC/vvDHX+AUurn 6bsXDZTC155IarBbja0GsxY8zxhaQg+duk5bpEoKP8Ev6U8iJHOc59Y878HiHL8czJpARx/KQ 0u3lxZHAdwJktdYIXAmMOavgObg89uDJ9qpkG/tgzLU9xpwHQmyu7wK23p3d/JhjNC7AnlTD/ H1qXTEnKcPDpVLwG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 23:23:40 -0000 On Fri, 15 Jun 2018 22:08:19 +0000, B J wrote: > > > > From your netstat output (later on), it seems that you > > connect to 192.168.0.1, so if this really is the IP of > > one of your machines, there's a big problem with your > > current configuration. > > > > > At the moment, it doesn't look like a hardware issue. > > The laptop is second-hand. It was in rough shape when I got it from > the previous owners so I'm thinking that there might be an on-board > hardware malfunction. It might be the hard drive as it didn't want to > boot at first because of, if I remember correctly, some corrupted > sectors. Hard drive errors are possible, but you usually don't see them as networking issues. The easiest way to rule out this problem is to boot from a live CD / DVD / USB, either using FreeBSD or Linux. > I have some extra HDs on hand. I might try swapping one of those with > the one that's in the machine, installing FreeBSD, and then seeing if > I get the same problem. You could even keep one of those HDDs as a "test system" for further use. > Since the laptop's not essential to what I do at home, I may as well > have a bit of fun with it, right? Definitely. ;-) > > PS. > > "Trial & error" is not a programming concept. ;-) > > I've been writing code off and on for more than 40 years, going back > to the days of WATFOR and WATFIV. Trial-and-error programming helped > me finish my B. Sc. I just wanted to mention it as one of the wisdoms I learned at university. Another gem from the same professor was this: "Programming is not fixing your code until the compiler stops throwing error messages." But if it helps you achieving a goal, why not? ;-) In no way this quote was intended to belittle you. It just perfectly fit the "I randomly changed a few numbers in the IP address and it still didn't work" comment. When I did graphics programming many years ago, you sometimes really had to minimally adjust numbers in parameters to see if the result matched your expectations, simply because you could not accurately predict how certain values would affect the result of the rendering process. :-) > Two things have come from this. One is that I finally set up my tower > machines so that the systems on them are now nearly identical to what > I have on my laptop. I've been meaning to do this for years but I had > little incentive to do so. So you always have a good reference system > The second one is that I'm learning something about networking, which > should help me with what I have at home. Yes - knowing networking basics and tools is very important and usually helpful when running into issues. My suggestion always is to start at the lowest possible level and diagnose as much as possible, so you know _for sure_ with what you are dealing at a given moment. Nothing is worse than guesswork and assumptions. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Jun 16 12:41:27 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E668101599E for ; Sat, 16 Jun 2018 12:41:27 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-vk0-x241.google.com (mail-vk0-x241.google.com [IPv6:2607:f8b0:400c:c05::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 DB89280A9C for ; Sat, 16 Jun 2018 12:41:26 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-vk0-x241.google.com with SMTP id s187-v6so7142182vke.9 for ; Sat, 16 Jun 2018 05:41: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=weWFoceXUdQsWAvodsGzHoSqaggfaPmUVWcVtjvGirc=; b=qH16LhN1wYmiQexnZ5oB8w7vdhALx/+wwaQ4ms3HYsp5rz7YVWv2oB1XJuM2iwyVIk mep/SG2KQB4OwtQqZ6JEOTU3bLxUeZXkY3ONprpuhws8mSTAwh8v5nLZuZSbAwWnm/P7 PbtH3xXVgwyi5jWDxZ+c4iG0b4QzlbAr//wQ0+0lUZRtL/0DW2kqQTu5WcRzbdgA95Kl deGKLlwAp18RZd/FRKUXaitLvucJSQeO3GyoFZlTUCIcY3WLzYDhm4ixcx03RWHadyM6 NihQPi7sCN36ouzGqVM+ZW+wwgEfF90aHQkqTnDJQtWbI63VHmK+apXml0BYI0UPg9TV 4mdg== 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=weWFoceXUdQsWAvodsGzHoSqaggfaPmUVWcVtjvGirc=; b=IPfaPbj7F93ong08NhJf4LjAKHJUno2ncynG+vJJkCan80WwVIHfuO+IzUNHXt1prg LH9APaBF3D3pxxgxPg/SlwV/DSmEWSMGuwYSUzBneGgtT0f92HBop30l7jxjp9oEuyu9 0MW3KmfBeZbJ2q6LeE7hkUoVa0vbBV43DDlaon2kU1vMgXcpcjXsCdcAtuUV42x+dHxW U1oaqBgE9UsETpBcn1IxCJP4/HmzJkHBhGyfdNIy6zNNmLP6979x6L8vd1oxJPwiavRm dL36KW57LPEu1xdc795FPOXc6jtfEhgMXiqPEG66A6iR57fMMR5ehhbAGroB6gVKFLMJ waHg== X-Gm-Message-State: APt69E3n3PGDjeEaKJry6PeAcIpoBqF23L5ZHSis0QDlaoVRiP6ra0Lo aK3nvva/FoGbz/RrPVUqYSyhERIP6XW1IPkLgYg= X-Google-Smtp-Source: ADUXVKL7PLxUCMOojACnpxfMU7fyNtun14+Xcq9qo37wx0xgG3y4g6UvyPp7mQbkPS+YAFktDn/eZl7qxNyyV7/J498= X-Received: by 2002:a1f:9757:: with SMTP id z84-v6mr2915950vkd.174.1529152886044; Sat, 16 Jun 2018 05:41:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9f:21ae:0:0:0:0:0 with HTTP; Sat, 16 Jun 2018 05:41:25 -0700 (PDT) In-Reply-To: <20180615232141.d25e83e0.freebsd@edvax.de> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> <20180615200051.8e8d73819e027b51e9d0af0e@sohara.org> <20180615232141.d25e83e0.freebsd@edvax.de> From: Antonio Olivares Date: Sat, 16 Jun 2018 07:41:25 -0500 Message-ID: Subject: Re: How to detect single user mode in FreeBSD ? To: Polytropon Cc: "Steve O'Hara-Smith" , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 12:41:27 -0000 On Friday, June 15, 2018, Polytropon wrote: > On Fri, 15 Jun 2018 20:00:51 +0100, Steve O'Hara-Smith wrote: >> On Thu, 14 Jun 2018 18:43:29 +0200 >> Polytropon wrote: >> >> > change when FreeBSD starts using systemd... ;-) >> >> I'll probably decamp to DragonFly or NetBSD then. > > Luckily, systemd is highly incompatible to FreeBSD's principle > designs, and it maintains a tight coupling to many Linux kernel > facilities. We hopefully don't have to worry. :-) > > > > > -- > 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" > Resistance is futile. A BSD* variant known as systembsd is being worked on as we argue about this. https://www.reddit.com/r/linux/comments/2fsh5m/systembsd_a_systemd_compatibility_layer_for_bsd/ Then there would be no escape! And many system administrators would have to create a FreeBSDuan like the Debian ones who created Devuan to not have systemd on their FreeBSD. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Sat Jun 16 16:02:55 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA588101A7F5 for ; Sat, 16 Jun 2018 16:02:55 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx2.webtent.net (mx2.webtent.net [216.139.202.4]) by mx1.freebsd.org (Postfix) with ESMTP id 70345865F9 for ; Sat, 16 Jun 2018 16:02:54 +0000 (UTC) (envelope-from robert@webtent.org) Received: from localhost (localhost [127.0.0.1]) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 54BD9D7F08; Sat, 16 Jun 2018 12:02:16 -0400 (EDT) Received: from mx2.webtent.net ([127.0.0.1]) by localhost (mx2.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 90790-10; Sat, 16 Jun 2018 12:02:16 -0400 (EDT) Received: from [192.168.1.112] (media.rfitz.com [96.254.71.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@mx2.webtent.net) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id BC4CDD7DFD; Sat, 16 Jun 2018 12:02:15 -0400 (EDT) Message-ID: <5B2534AB.3070003@webtent.org> Date: Sat, 16 Jun 2018 12:02:51 -0400 From: Robert Fitzpatrick User-Agent: Postbox 5.0.25 (Windows/20180328) MIME-Version: 1.0 To: Josh Paetzel CC: freebsd-questions@freebsd.org Subject: Re: NFS to FreeNAS References: <5B241273.3070004@webtent.org> <1529101626.966595.1409703528.3672C083@webmail.messagingengine.com> In-Reply-To: <1529101626.966595.1409703528.3672C083@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 16:02:56 -0000 Josh Paetzel wrote: > > Take a look at /var/log/messages on the FreeNAS box for errors when you mount, also paste the output of showmount -e and cat /etc/exports from the FreeNAS system. > Thank you! Yes, I could see the connection being denied by FreeNAS in the console. Once I realized with showmount, got it working. Failed to mention my mx sub dir of backups is a dataset of its own. I was thinking the alldirs in the exports would allow it, perhaps because mx being a separate dataset in FreeNAS? Once I added mx as own share, works! -- Robert From owner-freebsd-questions@freebsd.org Sat Jun 16 16:44:20 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6382101B7B0 for ; Sat, 16 Jun 2018 16:44:19 +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 59B138794F for ; Sat, 16 Jun 2018 16:44:19 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 79B50CB8D25; Sat, 16 Jun 2018 11:44:12 -0500 (CDT) Received: from 108.68.163.235 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sat, 16 Jun 2018 11:44:12 -0500 (CDT) Message-ID: <61109.108.68.163.235.1529167452.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> <20180614184329.9646c28a.freebsd@edvax.de> <20180615200051.8e8d73819e027b51e9d0af0e@sohara.org> <20180615232141.d25e83e0.freebsd@edvax.de> Date: Sat, 16 Jun 2018 11:44:12 -0500 (CDT) Subject: Re: How to detect single user mode in FreeBSD ? From: "Valeri Galtsev" To: "Antonio Olivares" Cc: "Polytropon" , "Steve O'Hara-Smith" , "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.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 16:44:20 -0000 On Sat, June 16, 2018 7:41 am, Antonio Olivares wrote: > On Friday, June 15, 2018, Polytropon wrote: >> On Fri, 15 Jun 2018 20:00:51 +0100, Steve O'Hara-Smith wrote: >>> On Thu, 14 Jun 2018 18:43:29 +0200 >>> Polytropon wrote: >>> >>> > change when FreeBSD starts using systemd... ;-) >>> >>> I'll probably decamp to DragonFly or NetBSD then. >> >> Luckily, systemd is highly incompatible to FreeBSD's principle >> designs, and it maintains a tight coupling to many Linux kernel >> facilities. We hopefully don't have to worry. :-) >> >> >> >> >> -- >> 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" >> > > Resistance is futile. A BSD* variant known as systembsd is being worked > on > as we argue about this. > > https://www.reddit.com/r/linux/comments/2fsh5m/systembsd_a_systemd_compatibility_layer_for_bsd/ > > Then there would be no escape! And many system administrators would have > to > create a FreeBSDuan like the Debian ones who created Devuan to not have > systemd on their FreeBSD. When Linux went systemd (and yes, it is Linux, not any particular distribution, as: once in kernel, the darn code IS in kernel, and it will be tremendous effort to strip the crap out of kernel all the time, every release to maintain systemd-free distro like devuan... My thought then was: well, it pretty much looks like the deed of Linux rivals. If you can not defeat your enemy, get inside, and make them become piece of crap from inside. In every thing happening one can look at the reasons from the viewpoint: who benefits from it. Linux was "stealing" a lot of potential customers from proprietary system vendor monster[s]. We will not name the name even though one obvious is Microsoft. And after all it was Microsoft who "donated" to RedHat a big chunk on money. And do not look for time correlation, which may not appear to exist, better look at: who stuffed systemd down the throats of Linux folks. Yes, it was RedHat employee, right? And it was RedHat who was paid by MS to push Linux towards quite MS Windows looking system administration wise. And the same sickening system administration wise. Note that the REASON I alleged is there is my own opinion, and as everyone has the same and even better brain than mine, go ahead and come up with the most reasonable for you explanation. That thing done made a big wave of refugees from Linux (I fled servers from Linux to FreeBSD even earlier due to a bit different reason: I just got sick of the need to reboot Linux servers every 45 days on average due to either kernel or glibc security updates). Now this leaves everybody with: most active and opinionated about how not to and how do to administer the system sysadmins fleeing away from Linux. And more inert (sorry, folks, I may be called that myself too) and "home users" stay and adjust to new brew MS Windows like and progressing that way Linux system. It will then allow more or less unified "Linux Administration certification" similar to MS one, and same based on learning by heart where to click. And if click does not work, it is up to the support call to the vendor to resolve the issue. Which is the hiring dream for IT illiterate IT managers one can come across almost everywhere these days. Who are hired by people who don't and shouldn't have any IT knowledge on the basis of larger Certificate collection. Which leaves big boys with almost only one rival (with multiple faces): *BSD. This is why I am scared as hell to see MS donate to any of *BSDs. FreeBSD and OpenBSD got donations already, if my memory still serves me. My worst nightmare is to think what the donor will ultimately get as return for their investment. Yes, in the commercial world there is no such thing as gift or donation. Any money or favor is an investment with the goal of getting return on investment which is larger (often much larger) than investment itself. This all is dark picture, alas, but such is the reality. Everything flowerful in the end turns out to be our wishful thinking. Valeri PS I was praising RedHat for their excellent compliance to GPL, and variety of other great things, like buying out the creator of cygwin Cygnus Solutions, and keeping cywgin open source freely available, and being developed, not buried. Now though one big bad thing changes my opinion. > > 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 Sat Jun 16 17:12:27 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2407101C75D for ; Sat, 16 Jun 2018 17:12:26 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 A1D8E68773 for ; Sat, 16 Jun 2018 17:12:26 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C185321CDF; Sat, 16 Jun 2018 13:12:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 16 Jun 2018 13:12:25 -0400 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=fm3; bh=OSXQA+ BVBTH0kzCmajf0YhN9OghIESfZ/on4/saC61Q=; b=Uck62cJRPB4xxcfJBBm9HL O0PJ/nt73V921IRg6/rvpI6TH10wCBzkiufuFO7yqNEpaKsUeQ0XZgg2BGxlQj/k uA2Gfr78JTANFb9E4GQLIL/HW5v4/OTil8IaLjuHlX1EUvObkuvWam2KDF4bCqDe 0iEg4ZTr19BEoI9lnD3GwLO9znwEZqIDMbSDm+OMuurAOOsGiNqYg5G3uI8rfS8v XYJq4syhpxJkzoS6Uli8JeSh6VLOi84FkJ4jMHpqMjXD0pDh6YS2oBg23Van6cw2 2IE6yWlIIWw/tXCJa1jE0iF/lL8Lvugs6a9yYRYbtnxgmy5J4CCasFzNCkUmYJmg == X-ME-Proxy: X-ME-Sender: Received: from [192.168.0.3] (98-125-41-160.dyn.centurytel.net [98.125.41.160]) by mail.messagingengine.com (Postfix) with ESMTPA id CF09C1025D; Sat, 16 Jun 2018 13:12:24 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: NFS to FreeNAS From: Josh Paetzel X-Mailer: iPhone Mail (15F79) In-Reply-To: <5B2534AB.3070003@webtent.org> Date: Sat, 16 Jun 2018 12:10:31 -0500 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7D1659AB-6234-4DCA-9482-0D5E70E31242@tcbug.org> References: <5B241273.3070004@webtent.org> <1529101626.966595.1409703528.3672C083@webmail.messagingengine.com> <5B2534AB.3070003@webtent.org> To: Robert Fitzpatrick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2018 17:12:27 -0000 > On Jun 16, 2018, at 11:02 AM, Robert Fitzpatrick wrot= e: >=20 > Josh Paetzel wrote: >>=20 >> Take a look at /var/log/messages on the FreeNAS box for errors when you m= ount, also paste the output of showmount -e and cat /etc/exports from the Fre= eNAS system. >>=20 >=20 > Thank you! Yes, I could see the connection being denied by FreeNAS in the c= onsole. Once I realized with showmount, got it working. Failed to mention my= mx sub dir of backups is a dataset of its own. I was thinking the alldirs i= n the exports would allow it, perhaps because mx being a separate dataset in= FreeNAS? Once I added mx as own share, works! >=20 > --=20 > Robert >=20 ZFS datasets are filesystems. So they need their own export in NFS.