From owner-freebsd-questions@freebsd.org Sun May 3 06:36:52 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C7462D58F4 for ; Sun, 3 May 2020 06:36:52 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49FGVV6wMPz4JtP for ; Sun, 3 May 2020 06:36:50 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 3D82310276A for ; Sun, 3 May 2020 08:36:49 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sepxCYM-pUCR for ; Sun, 3 May 2020 08:36:48 +0200 (CEST) Received: from [192.168.178.78] (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id CB242102769 for ; Sun, 3 May 2020 08:36:48 +0200 (CEST) Subject: Re: sym0 weirdness From: "Christoph P.U. Kukulies" To: freebsd-questions@freebsd.org References: <373ced34-1fe5-c385-e2c4-20cc6f46d9f0@kukulies.org> <4f1729b9-5c8c-26d1-8a64-e7c17eecffb2@kukulies.org> Message-ID: Date: Sun, 3 May 2020 08:36:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49FGVV6wMPz4JtP X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [1.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.53)[-0.528,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.67)[0.666,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.98), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 06:36:52 -0000 FWIW: I  booted Ubuntu 16.04 on this machine from a USB Stick and sym0 is recognized and attached properly. -- Christoph / / / / //Am 02.05.2020 um 17:59 schrieb Christoph Kukulies: > Another gotcha: > > I had some other cards using the Symbios 53C810, this time an ASUS SC-200 PCI board and tried that with the GENERIC > kernel (which has the sym driver built in). > > The ASUS SC-200 board isn’t recognized at all by the kernel. > > > I’m baffled. (!?) > > — > Christoph > >> Am 02.05.2020 um 13:08 schrieb Christoph P.U. Kukulies : >> >> Seems that HTML coded Email doesn't get through. Should have known that :) >> >> Here is the content: >> >> >> Am 02.05.2020 um 10:27 schrieb Christoph P.U. Kukulies: >>> I'm trying to connect and detect some SCSI device on an externanally connected SCSI bus. >>> >>> Controller is a Symbios PCI card 2520. >>> >>> With the cable connected and one device at the end of the bus (1,5m cable, internally terminated by the SCSI2D controller card), I'm always getting camcontrol rescan all to hang, üroducing lots of errers then in the dmesg. >>> >>> This is the picture right after system boot: >>> >>> sym0: <810> mem 0xc0000000-0xc000000f irq 20 at device 5.0 on pci4 >>> sym0: No NVRAM, ID 7, Fast-10, SE, parity checking >>> CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff. >>> sym0: CACHE INCORRECTLY CONFIGURED. >>> device_attach: sym0 attach returned 6 >>> >>> >>> Now, when I use camcontrol to detect my SCSI devices connected to sym0, all I get listed are my hard disks: >>> >>> >>> # camcontrol devlist >>> at scbus0 target 0 lun 0 (ada0,pass0) >>> at scbus1 target 0 lun 0 (ada1,pass1) >>> at scbus2 target 0 lun 0 (ada2,pass2) >>> at scbus3 target 0 lun 0 (ada3,pass3) >>> at scbus7 target 0 lun 0 (pass4,da0) >>> # camcontrol devlist -b 1 >>> scbus0 on ahcich0 bus 0 >>> scbus1 on ahcich1 bus 0 >>> scbus2 on ahcich2 bus 0 >>> scbus3 on ahcich3 bus 0 >>> scbus4 on ahcich4 bus 0 >>> scbus5 on ahcich5 bus 0 >>> scbus6 on ata1 bus 0 >>> scbus7 on umass-sim0 bus 0 >>> scbus-1 on xpt0 bus 0 >>> >>> Clueless. >>> >>> >>> -- >>> >>> Christoph >>> From owner-freebsd-questions@freebsd.org Sun May 3 12:43:27 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D3AC2DC94B for ; Sun, 3 May 2020 12:43:27 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-oln040092009074.outbound.protection.outlook.com [40.92.9.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FQdT6qvvz4ctR for ; Sun, 3 May 2020 12:43:25 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aX+k/BSEosEu8/LbW2x612paWKmMnp37t0HmYeUzvPu0xhJrwX42oRyyCXKsbUMo12YciyWo17Kn9mYiInD7fBM5OHmHTGpybSRoqa0D7KJ2PMjTTXwALtLJOp8+D5I42bKa1568iMyrIeLQXtQ0pvjKe3EQo2SnhA2MLmQm2BqN/5B59lREZTY1SXcLGOyTTKPq40fzuFEZ3IQaMKKEM+MyL+FRQWNN/uk4eAS5vg3oOl1vJLZnLL7OIHXbwEPX1GhE9xTVYvA6yL5SR07aHEk6ly9jeO1/IfJkconmbOCI01VXuWGLAjwTH6m+EIL3W3IpAwBM9ATUTEoF3SJ9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=reDXlj0+GWuajhEl4HaTVby7a2Mqu7HbysXpDO25f7g=; b=QsY/ECn8EgCXS0D/B89uikPRswhpyPxR53rBwmbMQLFPCNm4fFTdKmB/UGCJcVW620jPXCgpNEtO63tPoyid8e1xC+ZVf2VZWXKEC77DdXo7/xy2pIZMt5LKhmyAg1bQ03euB8X1HlY4oh7pV/nzHbdmOjlxrluLAdgXC2W8iI7jvwReyWPiNuYgKfA7aSPlWE2/U0fQbFyHwrNnqrqUEjnDMy4QI08SbPq3ssZebJvk2Ng7v/rKW4zUGm9kXf1Z7BdnggMm8vae6DQq5fLJlS0dIoB3NUuO21cfiIsVwXkem5w/ZE8Hs1DTElZRoIy0B/fdrmq/nr+0jpvgGR/Kdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=reDXlj0+GWuajhEl4HaTVby7a2Mqu7HbysXpDO25f7g=; b=JICOH5Mg8JOYoXg1Itl5D6zL796jhiXCyacbXI1eY66iHi53I/8CyiIyFPZGRijUWAm9eGgkMl8nvxJDEEyVOfoCVUeUDJ0j58BuCoCSJnkxJR9ZdsBuP2tk6qoUKgi39dw5nCfpOKmA91fe6oTMwfp39pxKdC9VpFKBlcP/xG3xJr9XJn1ufuwTENAjTU63XL43jD2jwE1rPuXqmGO7nhdfPNHt8UUY/ts0yf9nd7bmr4q5X/LHw2vMIev6RI93eanb2k/Q1iBfYdlYB8ts12Soeb43hBEE9EmQbqDt1fJyV5u2jUx6hAdcYCQSU4zkyXvxLJUf2vHG6bYy9AK2XA== Received: from CO1NAM04FT053.eop-NAM04.prod.protection.outlook.com (10.152.90.53) by CO1NAM04HT223.eop-NAM04.prod.protection.outlook.com (10.152.91.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Sun, 3 May 2020 12:43:24 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e4d::51) by CO1NAM04FT053.mail.protection.outlook.com (2a01:111:e400:7e4d::335) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27 via Frontend Transport; Sun, 3 May 2020 12:43:24 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2958.029; Sun, 3 May 2020 12:43:24 +0000 From: Brandon helsley To: "freebsd-questions@freebsd.org" Subject: Compiz fusion Thread-Topic: Compiz fusion Thread-Index: AQHWIUhUrbJytDocSEeuusO4C+Ye6w== Date: Sun, 3 May 2020 12:43:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:5E7B7078C047BB16E5647CE74D3F2217B809A9B057F6161EDFCD44729036DDC7; UpperCasedChecksum:E4D528AF00CB384CBA277173BBB75741886A7DDF1A676206D0CA42FD726AD230; SizeAsReceived:6664; Count:42 x-tmn: [ziUM5Mp698syYuDYqx/NbyPzCxd0TaXIO9vOM8rmGRE=] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 8a7de7ce-c122-4889-bf23-08d7ef5f91c1 x-ms-traffictypediagnostic: CO1NAM04HT223: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OoygX9qO+M36N2XtW9+e1ip8aCRYV2E3CZYP/aQdgxmWwHEEMVEnva6ekTioiPOoMzqfvMjhLpk7f+TLL/zaD3AwEPNbSmNxHwhnpuRGvEO5Kh9zkxVm9ZaPHJTVe91GY8cJZRGwyQWJrMnpjYRPa+58QqIGEDLb2J2Y6I1nP4MDMzpJR+DEE9uZ2KC6DoqENr4Sa2TMnTpJmcXnXOZ5USYA8/c2hAaKlzhVuIkWYtSRh4hSkKHnMZ9z/egKCMu7 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: I4lc6Kzeh2JWhTgb+jNU2YEHsyF9sz8y1VMYqZXEMh4REcEa24rDZP8d91gWXqggGiTxRJ0pDoWurEOL46I/TpvCfPvIiQoNtZtAGlfg/p4NbYgBalm6anlPx1/7wj0KWTlTCJ19wONRIuySBJU5Vw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8a7de7ce-c122-4889-bf23-08d7ef5f91c1 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2020 12:43:24.1890 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT223 X-Rspamd-Queue-Id: 49FQdT6qvvz4ctR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=JICOH5Mg; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.9.74 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; MIME_TRACE(0.00)[0:+,1:+,2:~]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[74.9.92.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.72), asn: 8075(-3.22), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.9.92.40.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 12:43:27 -0000 Compiz fusion is a none working port on fresh ports. How am I supposed to s= et the graphics? Sent from Outlook Mobile From owner-freebsd-questions@freebsd.org Sun May 3 12:55:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E14772DCEA3 for ; Sun, 3 May 2020 12:55:49 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FQvn0WGBz4dmy for ; Sun, 3 May 2020 12:55:48 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wr1-x42f.google.com with SMTP id l18so6849074wrn.6 for ; Sun, 03 May 2020 05:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NuVrOE2ebTT7NWTRXbiciQwi+hzJxQB84/KVFPB9Bic=; b=XWFRkIAyBh1qnPyQbR6Kt1li8dfDrUMgPYmH3cZKwbR/ybmTgeLhbW1DhvxuLZiUiT hT/YKuX6nVV0VwMmti8iWKu6xNAyMG9hTBe6c9XE6BJqy92EYYVdEj3iAn6TnAWstKPX tcTqSn4NfU0t5U8ln4OpNbGERt+le61vrTi8QnCrxY1J3oi9EqiINqqXA0/C6Y6DDVtG KfxrvsoZdAtEj1810rUlFm3ojysA91CO7I2yIa8QpB3EJSgsx1UhcfRz0Rs6w62m5k3A 8uyiwTP9K7YG9XAxs3kF+6XM5AaqE6QSKDaeYjMQWO/pcSUw3HF6tXPtFqirCthmKzxG K+0Q== 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=NuVrOE2ebTT7NWTRXbiciQwi+hzJxQB84/KVFPB9Bic=; b=Sg9ekxHXSfsTwiMsoKyTnZrEjqRdHXYIAVB+DOhcz+p7WGUyRpDC20TA9SPHZH3eiI s+cMdWANLB7mqfRMd6p9MJoUVPoEa0yEvivdu3cfM+uVmW831yDKv1OW4VPZiEtax54J QYBy+YbLOiwRY8J5YpeVvVgYvfztvXiX+uytc4zR3ItT2uigzG0o/7zvIYgxyvnEQabT /F/FMrjVRy7GkgKOQYYv0iOkFRjPrQUMDOy5f5NefVxlV4fl8j99l9Zrur96GE+t3QAV hfr99xm8qP0nrhJ8/ilvoVUBMXZXXzOtcNcmha17FZuDXDKy7m3RsiLWaWAdUGq5aYl7 XT7g== X-Gm-Message-State: AGi0PubK2mm/QjkaNYJG+8Qxxw8y4rrjyOxiT074j+jK/6pqORbBQsGh CpiJfR+0zs8yvHdoTSolhRimT+InsjhaMtLOB8QIfQ== X-Google-Smtp-Source: APiQypIrolSylV8i6oSXG6jBAK/p/OmmwLM7pJ//XOZwg8sXLjpRQDk1znXVTYg2DByx6x/YlEhgxJBFoMnKHxP24cc= X-Received: by 2002:a5d:4005:: with SMTP id n5mr13813058wrp.242.1588510547354; Sun, 03 May 2020 05:55:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Sun, 3 May 2020 14:55:04 +0200 Message-ID: Subject: Re: Compiz fusion To: Brandon helsley Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49FQvn0WGBz4dmy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=XWFRkIAy; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::42f) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-4.66 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[f.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.36)[ip: (-9.03), ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 12:55:49 -0000 On Sun, May 3, 2020 at 2:43 PM Brandon helsley wrote: > Compiz fusion is a none working port on fresh ports. How am I supposed to set the graphics? https://www.freebsd.org/doc/handbook/x11.html is your friend :-) 1. Install Xorg (pkg install xorg). Do not install xf86-video drivers, only modesetting driver, the new way Xorg works. 2. Install DRM KMS video driver for your hardware (pkg install drm-kmod) and make it load on startup (according to instructions that shows up after install, or read them here /usr/ports/graphics/drm-fbsd12.0-kmod/pkg-message). 3. Install any of the dozens available windows managers, for instance XFCE4 (pkg install -x xfce4) is small rapid and works fine. 4. Startx :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Sun May 3 12:56:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8D8452DCF77 for ; Sun, 3 May 2020 12:56:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FQwm6b9Yz4dsh for ; Sun, 3 May 2020 12:56:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.226.107]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MyK1E-1jEd6A0EVY-00yiBR; Sun, 03 May 2020 14:56:38 +0200 Date: Sun, 3 May 2020 14:56:37 +0200 From: Polytropon To: Brandon helsley Cc: "freebsd-questions@freebsd.org" Subject: Re: Compiz fusion Message-Id: <20200503145637.72e6febc.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:egGdUDg6Ehmhm8pwSsokQidsGpMs71juFrCDwvpVqhDMLWtzQI8 EXBStBc/fFxAl0uGnn/vyBj6efYyBo2AWEsIZo+GnGsra0quLob5YySKKvBxByi5rxE5+40 V+ed2nwk/B63iHuWK860hKl1B4iZyjSud8lQyKqwsbrwcdD6ahkwcX00nkbfsXJF6H4b9Ph o4bWSd1YrW/s8wNIYSJnQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qSnClo8g8Mo=:IX4HPoCI11Aco4eUCqDu72 7qyI6c+HfKJmxTzA9LkUuBHpEU+FNnYb5fqYarHlknvs1fWP6LP+QgIP2oof7DhPVQRE31FrZ BigdbuMU5/+p1tWn4Nz2O+DwwNcEyLadsVfhq/cIDsm0/SdQKba9c4vidDZekaTyoKpbsAFvK H3D/0YtQC/AXG2kXaEidGBhidUcJvYFsgZMxy7bTefnwLgUn8RTnm+cjIgMHRETC300XNMY29 FLuu6Cl8j6Yf7Zh22dcLyYe5KuI/2uf+IMqsBUYQIB1MMoXPC9mX3ZZ6qddZNzRHj0QZcV7M/ ERdqa4CVFkQsYfoPhPaJAo7T06b1KElk2OOnvJsml8/E7cmeWEE1wsQY4hf3EPQ7hxMZwkegA OysQc8f8x9DwJ03dTKKsm7vVGCHYLmfkgk2UDlg6ddLJGfX9IPLoCsk5QeX+Zq+/uWz8HIsJq IxmJrzYW1HWa2BQhZglOUGbr8A4puXeY+O8arm+9bjVkc9oVAMy6dYGXvU3KWUy8INW0Qqbz3 qvJB1CHmtIq3x3+5kS5gqigg4H7TpPYNezGtyj6WoxGQKxvwHUDatA877/0fMFLVY0436V3wu qzgV6itCUmqBTif6voxgbVYCJG6AIEHa8tDbE+MA+iFO7pSO30dMmAQf0XZv2myQupzPgDvbO I44fTL5gaYB8Tcb9iD+FKnozxER/LA9u6mtIwOwcnfdoMBehractGAEtRwhNR8ZymfzOEuwcw Is2t6nNFVsG4KsRt8kPCDZm3PVoYkmQGHdII3qHo11tYQ/7BS4t3fITeYtq1IlN6P+MazaVbk oXxZWjjAEqns/4lE4kBXKANO+FD58t9wcNH5YoAuJqBJcbfvVOmdK+x1QAttkXu+mtVcUaGB4 JeNiQGRhbe3/C2dGN7fQ== X-Rspamd-Queue-Id: 49FQwm6b9Yz4dsh X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.68 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[hotmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[107.226.5.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.08)[0.076,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.987,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[135.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.22)[ip: (0.27), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 12:56:42 -0000 On Sun, 3 May 2020 12:43:24 +0000, Brandon helsley wrote: > Compiz fusion is a none working port on fresh ports. I've checked https://www.freshports.org/x11-wm/compiz-fusion as well as https://www.freshports.org/x11-wm/compiz - where does it say it's not working? >From the description "This is a metaport for compiz-fusion." and "No installation instructions: this port has been deleted. The package name of this deleted port was: PKGNAME: compiz-fusion" I'd guess that "compiz" is the "new" name of the port and package you should install to get the Compiz environment. > How am I supposed to set the graphics? Follow https://www.freebsd.org/doc/handbook/x-compiz-fusion.html and keep in mind that no package "compiz-fusion" does exist (representing the metaport); however, you can install the required components. Check # pkg search compiz and decide what you need to install additionally if installing "compiz" leaves you with some missing part. NB: The manual does _not_ reflect the correct procedure related to ports / packages. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun May 3 14:06:52 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDB2A2DE7C5 for ; Sun, 3 May 2020 14:06:52 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.9]) (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 49FSTl2h39z3FdZ for ; Sun, 3 May 2020 14:06:50 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: (wp-smtpd smtp.wp.pl 29924 invoked from network); 3 May 2020 16:06:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1588514808; bh=Iv9FzNeJT4/qFUYUV/B56UX+CWDhye9aw3WYVQLny+I=; h=Subject:To:Cc:From; b=RY46o5mVeRCJvRXh/ZJBSPu1nCjpuRylvCnAL4xKMKw7imo/YLlmQk761W9Oapvt+ DEQefGamQlOiV5649Q4TjwikV/UuM/B5H5WrFUvMvaoq7JvZt36CIxhDN5BVxU2DIw P/moW4d12409tn3VorFrji1QG92AYxi12LWsXid8= Received: from aayy197.neoplus.adsl.tpnet.pl (HELO [10.0.0.81]) (ipluta@wp.pl@[83.6.136.197]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 3 May 2020 16:06:48 +0200 Subject: Re: How to get rid of an unavailable pool? To: =?UTF-8?Q?Trond_Endrest=c3=b8l?= Cc: freebsd-questions@freebsd.org References: <32264a1f-3bcf-9d74-603d-c201bffd256c@wp.pl> From: "Ireneusz Pluta/wp.pl" Message-ID: <092e9379-37cf-f839-e4e4-eeb1e8821f1a@wp.pl> Date: Sun, 3 May 2020 16:05:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: 86b5c01729ca29dce6e0ec0cd811570c X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [QcO0] X-Rspamd-Queue-Id: 49FSTl2h39z3FdZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wp.pl header.s=1024a header.b=RY46o5mV; dmarc=pass (policy=none) header.from=wp.pl; spf=pass (mx1.freebsd.org: domain of ipluta@wp.pl designates 212.77.101.9 as permitted sender) smtp.mailfrom=ipluta@wp.pl X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.77.96.0/19]; FREEMAIL_FROM(0.00)[wp.pl]; DKIM_TRACE(0.00)[wp.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[wp.pl,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[wp.pl]; ASN(0.00)[asn:12827, ipnet:212.77.101.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[wp.pl.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[wp.pl:s=1024a]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-7.50), ipnet: 212.77.101.0/24(-3.95), asn: 12827(-2.85), country: PL(0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.101.77.212.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[9.101.77.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 14:06:53 -0000 W dniu 2020-05-02 o 10:03, Trond Endrestøl pisze: > On Sat, 2 May 2020 06:15+0200, Ireneusz Pluta wrote: > >> Hi group, >> >> (Sorry if this post appears twice. The first one, initially sent from another >> email account, does not seem to appear.) >> >> I have (or rather had) a pool like this: >> >> $ sudo zpool status -v t >>   pool: t >>  state: UNAVAIL >> status: One or more devices are faulted in response to IO failures. >> action: Make sure the affected devices are connected, then run 'zpool clear'. >>    see: http://illumos.org/msg/ZFS-8000-HC >>   scan: none requested >> config: >> >>         NAME                     STATE     READ WRITE CKSUM >>         t                        UNAVAIL      0     0 0 >>           mirror-0               UNAVAIL      0     0 0 >>             4304281762335857859  REMOVED      0     0 0  was /dev/da5 >>             1909766900844089131  REMOVED      0     0 0  was /dev/da10 >> >> errors: Permanent errors have been detected in the following files: >> >>         :<0x0> >>         :<0x1b> >>         t:<0x0> >> >> That was a temporary test pool. I forgot to destroy  or at least export the >> pool before pulling these da5 and da10 drives out of the drivebay of the >> server. Now it can't be exported or destroyed, the respective zpool operations >> hust hang. How to get rid now of this pool, preferably without reboot? The da5 >> and da10 are no longer available to be put back, as they have been already >> moved elsewhere, and are now part of another pool. >> >> I guess the pool got stuck at the time of running >> /etc/periodic/security/100.chksetuid, when find operation within it tried to >> traverse into the mountpoint of the pool. >> >> The system is FreeBSD 11.2. >> >> Thanks >> >> Irek > The pool might still be listed in /boot/zfs/zpool.cache. The only way > I can think of to get rid of the old pool, is to delete this file and > reboot. If you have more pools than your root pool, you should reboot > to singleuser mode, mount the root fs read-write, import the > remaining pools, and either exit the SUS shell or reboot. Trond, thank you for your advice. Yes, that state was unrecoverable without reboot. Additionally I found this little thread https://www.databaseusers.com/article/5971869/Cannot+export+%27backup%27%3A+pool+I+O+is+currently+suspended, whose last post helped me a lot with understanding what was going on under the hood, and why. So I followed the procedure carefully, taking special care of first stopping important applications and unmounting other big and valuable datasets. Forced hard reset was necessary, the reboot command just froze. However, there was one exception: I skipped deleting  /boot/zfs/zpool.cache, to avoid falling into single user mode and importing my pools manually (I felt very uncomfortable going to do that remotely, with that crappy IPMIView console redirection). The system booted cleanly with all pools imported. The UNAVAIL pool got imported too, however, it did not get mounted, so there was no chance of any I/O attempt to it. The first thing I did after login was: `zpool destroy t`, which worked cleanly. Prior to doing all that, I reproduced that state and excercised the procedure on a virtual machine. Thanks again Irek From owner-freebsd-questions@freebsd.org Sun May 3 15:01:04 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 280312DF9B8 for ; Sun, 3 May 2020 15:01:04 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49FThG523Xz3J3W for ; Sun, 3 May 2020 15:01:02 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id EDF4210276A for ; Sun, 3 May 2020 17:01:01 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IT9hBwjl47yp for ; Sun, 3 May 2020 17:01:01 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id 83FE9102769 for ; Sun, 3 May 2020 17:01:01 +0200 (CEST) From: Christoph Kukulies Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: sym0 weirdness Date: Sun, 3 May 2020 17:01:01 +0200 References: <373ced34-1fe5-c385-e2c4-20cc6f46d9f0@kukulies.org> <4f1729b9-5c8c-26d1-8a64-e7c17eecffb2@kukulies.org> To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: <70108D3F-D8BF-4A3F-BDC3-0383158BA60E@kukulies.org> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49FThG523Xz3J3W X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [2.12 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.540,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.87)[0.871,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.97), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 15:01:04 -0000 I can say that things have resolved magically. I tweaked around in the = ASRock BIOS with some SHARE Memory parameter - isnt=E2=80=99t that = something that has got to do with mapping memory space of controllers = into CPU address space? Switched that to 32M rather than AUTO,=20 IIRC. Anyway everything is working now as it should. =E2=80=94 Christoph > Am 03.05.2020 um 08:36 schrieb Christoph P.U. Kukulies = : >=20 > FWIW: I booted Ubuntu 16.04 on this machine from >=20 > a USB Stick and sym0 is recognized and attached properly. >=20 >=20 > -- > Christoph > / > / > / > / > //Am 02.05.2020 um 17:59 schrieb Christoph Kukulies: >> Another gotcha: >>=20 >> I had some other cards using the Symbios 53C810, this time an ASUS = SC-200 PCI board and tried that with the GENERIC >> kernel (which has the sym driver built in). >>=20 >> The ASUS SC-200 board isn=E2=80=99t recognized at all by the kernel. >>=20 >>=20 >> I=E2=80=99m baffled. (!?) >>=20 >> =E2=80=94 >> Christoph >>=20 >>> Am 02.05.2020 um 13:08 schrieb Christoph P.U. Kukulies = : >>>=20 >>> Seems that HTML coded Email doesn't get through. Should have known = that :) >>>=20 >>> Here is the content: >>>=20 >>>=20 >>> Am 02.05.2020 um 10:27 schrieb Christoph P.U. Kukulies: >>>> I'm trying to connect and detect some SCSI device on an = externanally connected SCSI bus. >>>>=20 >>>> Controller is a Symbios PCI card 2520. >>>>=20 >>>> With the cable connected and one device at the end of the bus (1,5m = cable, internally terminated by the SCSI2D controller card), I'm always = getting camcontrol rescan all to hang, =C3=BCroducing lots of errers = then in the dmesg. >>>>=20 >>>> This is the picture right after system boot: >>>>=20 >>>> sym0: <810> mem 0xc0000000-0xc000000f irq 20 at device 5.0 on pci4 >>>> sym0: No NVRAM, ID 7, Fast-10, SE, parity checking >>>> CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff. >>>> sym0: CACHE INCORRECTLY CONFIGURED. >>>> device_attach: sym0 attach returned 6 >>>>=20 >>>>=20 >>>> Now, when I use camcontrol to detect my SCSI devices connected to = sym0, all I get listed are my hard disks: >>>>=20 >>>>=20 >>>> # camcontrol devlist >>>> at scbus0 target 0 lun 0 = (ada0,pass0) >>>> at scbus1 target 0 lun 0 = (ada1,pass1) >>>> at scbus2 target 0 lun 0 = (ada2,pass2) >>>> at scbus3 target 0 lun 0 = (ada3,pass3) >>>> at scbus7 target 0 lun 0 = (pass4,da0) >>>> # camcontrol devlist -b 1 >>>> scbus0 on ahcich0 bus 0 >>>> scbus1 on ahcich1 bus 0 >>>> scbus2 on ahcich2 bus 0 >>>> scbus3 on ahcich3 bus 0 >>>> scbus4 on ahcich4 bus 0 >>>> scbus5 on ahcich5 bus 0 >>>> scbus6 on ata1 bus 0 >>>> scbus7 on umass-sim0 bus 0 >>>> scbus-1 on xpt0 bus 0 >>>>=20 >>>> Clueless. >>>>=20 >>>>=20 >>>> -- >>>>=20 >>>> Christoph >>>>=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun May 3 17:13:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F30012E31A8 for ; Sun, 3 May 2020 17:13:08 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49FXcg5Dj2z3xxp for ; Sun, 3 May 2020 17:13:07 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=iseh/mSMaygqDprW/JhSVKsBs0/CcC56kO2/cAw0bss=; b=mL15DeUIXlG9wsxJFqWqzHyA4T sG7UgtB16jiTFqd0i7zWgzQ1JuwMZBObNYMp75YMwCVPz5sAdc9vdijvWvsiMYVmbUWcB209worwz ovoxp1cm1YS9bGK8ojdfXmmhzALWtpLawLH6Z+ehUAtxj7EJQq2R+uReEDZWTLAaR5yk=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jVIAl-000DJX-Os for freebsd-questions@freebsd.org; Mon, 04 May 2020 00:12:59 +0700 Date: Mon, 4 May 2020 00:12:59 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Brother HL-L2340D printer and lpd? Message-ID: <20200503171259.GA48627@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49FXcg5Dj2z3xxp X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=mL15DeUI; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.21), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 17:13:09 -0000 --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, I'm trying to use a Brother HL-L2340D printer as a simple networked line printer with lpd. I've successfully used HP and Canon printers like that with a simple printcap like this: # by VAS lp|Brother HL-L2340D series:\ :sh:\ :rp=3DTEXT_P1:\ :rm=3D192.168.1.74:sd=3D/var/spool/output/lpd1:lf=3D/var/log/lpd-er= rs: but the story with Brother HL-L2340D is different. When fed some input=20 with "lptest |lpr", it just spits out 3 empty pages. I've never seen anything like that before. I'm wondering if someone has this printer and made it work as a line printer. From the specification at https://support.brother.com/g/b/spec.aspx?c=3Dus&lang=3Den&prod=3Dhll2340dw= _us_eu_as it should support LPD. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJervubAAoJEA2k8lmbXsY0ovcIAJ8u1X25D+DTFEAMF9/YUOZ2 5XjQjTfeK/MyEU8NwLckqGeaarv2P7FrwXLN2HkUPtpt8iaQhAnxL4cXYYloA1Gx QPw9Nqfzxd8Hu1Dz8uLakhD2lsYAKMoTKIwRueA4/Bgwzp8C11Ek655ZXv/cm1/Y EsMJwJFZQxSDNFycbakHfuicd8Ql9Zcm4sTpIugP71kUgAu9AcxXcqbykDHw0zgC DUhe8X3IBoojTM8vLavsoFweepibxwTP3khjZ8P9K0JojJnGn1F/gppvJIbvvvQj 5tBK3mei2EtdFbqcHk5im5YhKq1jfyooG/AcSQ51XHjqr66zrl0zP7mcYsvotrA= =O27B -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- From owner-freebsd-questions@freebsd.org Sun May 3 17:24:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B803E2E3491 for ; Sun, 3 May 2020 17:24:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FXt84FL3z3yNc for ; Sun, 3 May 2020 17:24:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.226.107]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MDy9C-1jLMCn06rs-009wh6; Sun, 03 May 2020 19:24:45 +0200 Date: Sun, 3 May 2020 19:24:44 +0200 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200503192444.2d700440.freebsd@edvax.de> In-Reply-To: <20200503171259.GA48627@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> 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:Sj7M/AT5lNHoPNLcOjQRRC6AKGjbWsji8+JD6+WgqMe0mAWzEwz 4Dg/VEIf0UVCLplmsXCfc6ZxuFV0dq1XH26mTxcVYbH3JzSkh0HykG+k96s0ZfeB2ZcjcBo 8LuM1Z3ORdePsM40QIUvtTeEL+pCf3JEx7NFcjOF48ssndCV0VimrPy1HTxSqcyBXQi+ZJB gW/gUBAVHd9InYkkV/cXg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ue0JgEpFXBo=:MSe80UdTLDt3cTxY9FvhNy koE/0jZM23zR2Wlg5k4TpXU3QNRcFxIbAll63F7m4kslya8QnRPClLreJC0nFSWNOh9cseaF4 +G1qDSm/twyKaoaF+tRC63j74WFM5o+v4XXaDcdhWJtR0a0npqG6f/xxr+BxlnvFlJsSx7JlN 9h4mxffEV3VeI4kuVeq7Y2y6XwxlcQq35RAdvlUKbya0WhXMPfWIx7euf6HlGaG+67F4kpsSb swofJ/e6SXb2RDXZbEkEbBV5SzGDW4l00xwsk1FD0c4Of6bBfTTfNZ9MNdA3vpkityS0n79Ck tjGHd4Qs1sNFANcqhFBhqE0Pzief7UGosmvn9AZIe69XuomkRcRHIgfxSa62yQLwvWjJodzjU qn9tOwgJkWo4bD1q6+uz9fP9FJRICRz8zdSoF9hlnj2gxvynhYCoNtCaf43TXhBDerXnDIaAe Leua5HTs17AW/3IJALAHvogZgx673Fdld4POxR/Opqyou2ShyPne1Czh96/M81bnZXlML23ii BXVtwlQ2DQNypjpaukSY8YZMoLD5Z70tj8xKjpXFXegrP3EfOSGH0NL/ilPb4BQM/HB3ltUeG fQLlawkl+CHt+JFvZuYGwMF+5ncf0vfLO03OIFOPxDedWtI9Vvd2y2xpyNrxf/wVa9Z7isIQe Tsd+iVTi4YkPEEgqLvBf+nbgldKga5CzsZswGD1Vve4S9foCzFypNkFhj7tGk5BdDSTwjMJtL hKdvvasJ2zzxKhKFd8i2bgZJQymGF6jWtLMCJepTqHimI80WUXkHNA+83nCJ9MVHT6QZtqk+F o6bAfWz+ur9Cu0SeTURCFJyi2jh+LBvKfb6orY1hTZJE2pXhnPofA++CMYCszxMzlZac2l+ X-Rspamd-Queue-Id: 49FXt84FL3z3yNc X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.24) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[107.226.5.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.49)[0.486,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.998,0]; RCVD_IN_DNSWL_NONE(0.00)[24.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.05)[ip: (-0.54), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 17:24:49 -0000 On Mon, 4 May 2020 00:12:59 +0700, Victor Sudakov wrote: > Dear Colleagues, > > I'm trying to use a Brother HL-L2340D printer as a simple networked > line printer with lpd. I've successfully used HP and Canon printers like > that with a simple printcap like this: > > # by VAS > lp|Brother HL-L2340D series:\ > :sh:\ > :rp=TEXT_P1:\ > :rm=192.168.1.74:sd=/var/spool/output/lpd1:lf=/var/log/lpd-errs: > > but the story with Brother HL-L2340D is different. When fed some input > with "lptest |lpr", it just spits out 3 empty pages. I've never seen > anything like that before. It's possible that your previous printers could understand regular (unformatted) ASCII text, but the new one doesn't. > I'm wondering if someone has this printer and made it work as a line > printer. > > From the specification at > https://support.brother.com/g/b/spec.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as > it should support LPD. It's not a matter of supporting LPD - it's the question which printer language the printer can process. The default output format for programs is PS. According to the above specification, the printer does not understand PS. However, it supports PCL, and tools like gs (GhostScript) should be able to convert PS to PCL. This is what you need to send to the printer. I assume you're not using CUPS? In this case, a PPD file for this printer would probably be the easiest thing, but you can get around using CUPS of course. Maybe this example can help: First verify that the printer really understands PCL. You can use nc (netcat) to send it some data directly. If it works, instantiate a simple printer filter in /etc/printcap, for example: Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :rm=192.168.100.100:\ :rp=raw:\ :lp=:\ :if=/opt/libexec/ps2pcl-dup.sh:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: Then rebuild printcap.db. Make sure the required directories do exist. Here is the printer filter, /opt/libexec/ps2pcl-dup.sh: #!/bin/sh /usr/bin/printf "\033&k2G" || exit 2 /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ -sDEVICE=ljet4d -sPAPERSIZE=a4 -r600x600 \ -dDuplex=true \ -sOutputFile=- - && exit 0 exit 2 I use that one with a HP Laserjet 4000 DN. There is also a filter (and printer) for non-duplex, it's simply missing the -dDuplex=true entry. ;-) Adjust parameters you need, for example if you don't have standard A4 paper or need a different resolution. It might even be possible that you can use this example 1:1, if the Brother HL-L2340D speaks PCL in a similar way to the HP Laserjet 4000 DN - see the "ljet4d" device format, which works both for a Laserjet 4 and a Laserjet 4000 (I have both). Sidenote: That Laserjet printer can understand PS, PCL, and ASCII text (including escape sequences for formatting etc., or real plain text without any preprocessing). For more inspiration, check: http://www.wonkity.com/~wblock/docs/html/lpdprinting.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun May 3 17:50:28 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D9A332E3D8D for ; Sun, 3 May 2020 17:50:28 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49FYRl1sp9z40kY for ; Sun, 3 May 2020 17:50:26 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 743B63CEED for ; Sun, 3 May 2020 10:50:20 -0700 (MST) Subject: Re: Brother HL-L2340D printer and lpd? To: freebsd-questions@freebsd.org References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> From: "Russell L. Carter" Message-ID: Date: Sun, 3 May 2020 10:50:20 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200503192444.2d700440.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49FYRl1sp9z40kY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-4.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[pinyon.org]; IP_SCORE(-2.76)[ip: (-9.29), ipnet: 65.101.0.0/18(-4.30), asn: 209(-0.15), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 17:50:28 -0000 On 2020-05-03 10:24, Polytropon wrote: > On Mon, 4 May 2020 00:12:59 +0700, Victor Sudakov wrote: >> Dear Colleagues, >> >> I'm trying to use a Brother HL-L2340D printer as a simple >> networked line printer with lpd. I've successfully used HP and >> Canon printers like that with a simple printcap like this: >> >> # by VAS lp|Brother HL-L2340D series:\ :sh:\ :rp=TEXT_P1:\ >> :rm=192.168.1.74:sd=/var/spool/output/lpd1:lf=/var/log/lpd-errs: >> >> but the story with Brother HL-L2340D is different. When fed some >> input with "lptest |lpr", it just spits out 3 empty pages. I've >> never seen anything like that before. > > It's possible that your previous printers could understand regular > (unformatted) ASCII text, but the new one doesn't. > > > >> I'm wondering if someone has this printer and made it work as a >> line printer. >> >> From the specification at >> https://support.brother.com/g/b/spec.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as >> it should support LPD. > > It's not a matter of supporting LPD - it's the question which printer > language the printer can process. The default output format for > programs is PS. According to the above specification, the printer > does not understand PS. However, it supports PCL, and tools like gs > (GhostScript) should be able to convert PS to PCL. This is what you > need to send to the printer. > > I assume you're not using CUPS? In this case, a PPD file for this > printer would probably be the easiest thing, but you can get around > using CUPS of course. > > Maybe this example can help: > > First verify that the printer really understands PCL. You can use nc > (netcat) to send it some data directly. If it works, instantiate a > simple printer filter in /etc/printcap, for example: > > Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ > :rm=192.168.100.100:\ :rp=raw:\ :lp=:\ > :if=/opt/libexec/ps2pcl-dup.sh:\ :sd=/var/spool/lpd/Laserjet:\ > :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ > :mx#0:\ :sh: > > Then rebuild printcap.db. Make sure the required directories do > exist. Here is the printer filter, /opt/libexec/ps2pcl-dup.sh: > > #!/bin/sh /usr/bin/printf "\033&k2G" || exit 2 /usr/local/bin/gs -q > -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ -sDEVICE=ljet4d > -sPAPERSIZE=a4 -r600x600 \ -dDuplex=true \ -sOutputFile=- - && exit > 0 exit 2 > > I use that one with a HP Laserjet 4000 DN. There is also a filter > (and printer) for non-duplex, it's simply missing the -dDuplex=true > entry. ;-) > > Adjust parameters you need, for example if you don't have standard A4 > paper or need a different resolution. > > It might even be possible that you can use this example 1:1, if the > Brother HL-L2340D speaks PCL in a similar way to the HP Laserjet 4000 > DN - see the "ljet4d" device format, which works both for a Laserjet > 4 and a Laserjet 4000 (I have both). Sidenote: That Laserjet printer > can understand PS, PCL, and ASCII text (including escape sequences > for formatting etc., or real plain text without any preprocessing). > > > > For more inspiration, check: > > http://www.wonkity.com/~wblock/docs/html/lpdprinting.html > > > I print to an HL-L2340DW by using CUPS to remotely print to a Debian CUPS that has it configured as a "driverless" printer: https://wiki.debian.org/CUPSDriverlessPrinting I mention this because otherwise it seems like a real hassle to install using the Brother drivers. There are entries in the lists where we went through what it would take... a real maintenance PITA, no thanks. And I don't believe there should be any problem doing what works in Debian on FreeBSD. I tried very hard to get driverless working on FreeBSD but failed, and I think it's because of the versions: Debian: 2.3.1, FreeBSD: 2.2.13 <- up-to-date However, I am no expert, so I might have done something stupid somewhere. Anyway, options all seem to work, eg two sided printing. Russell From owner-freebsd-questions@freebsd.org Sun May 3 18:47:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E65AA2E536B for ; Sun, 3 May 2020 18:47:11 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49FZjC2CZmz4441 for ; Sun, 3 May 2020 18:47:10 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=8ofUUbiIBZAqTEvyP031E7gKKM2Xue1HCZrHfiQRzE4=; b=R4ZxexDm6Kr0Cxaf7rwmznDtjD aBzeUdpZ95qoRTvujXUIxu3+wi2cBih8zuH4TJ+XUX5/4BinRciu42ud9uBPS/zFJJPuy3z0YTvv7 NxOqJmf5ODC0Qies7qcO3SAPBVe4cvcf6W0TKDRhddlSjaLtk6w9AJPFersoI3qYtjj4=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jVJdt-000F16-Qf; Mon, 04 May 2020 01:47:09 +0700 Date: Mon, 4 May 2020 01:47:09 +0700 From: Victor Sudakov To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200503184709.GA52059@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20200503192444.2d700440.freebsd@edvax.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49FZjC2CZmz4441 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=R4ZxexDm; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.21), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 18:47:12 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon wrote: > On Mon, 4 May 2020 00:12:59 +0700, Victor Sudakov wrote: > > Dear Colleagues, > >=20 > > I'm trying to use a Brother HL-L2340D printer as a simple networked > > line printer with lpd. I've successfully used HP and Canon printers like > > that with a simple printcap like this: > >=20 > > # by VAS > > lp|Brother HL-L2340D series:\ > > :sh:\ > > :rp=3DTEXT_P1:\ > > :rm=3D192.168.1.74:sd=3D/var/spool/output/lpd1:lf=3D/var/log/lp= d-errs: > >=20 > > but the story with Brother HL-L2340D is different. When fed some input= =20 > > with "lptest |lpr", it just spits out 3 empty pages. I've never seen > > anything like that before. >=20 > It's possible that your previous printers could understand > regular (unformatted) ASCII text, but the new one doesn't. I've never seen a network printserver (and I've seen a few) which would not understand plain ASCII text. I did not even imagine that such an abomination is at all possible. It's true, I've heard about GDI winprinters with LPT interfaces, but a networked printer?=20 >=20 > > I'm wondering if someone has this printer and made it work as a line > > printer. > >=20 > > From the specification at > > https://support.brother.com/g/b/spec.aspx?c=3Dus&lang=3Den&prod=3Dhll23= 40dw_us_eu_as > > it should support LPD. >=20 > It's not a matter of supporting LPD - it's the question which > printer language the printer can process. The default output > format for programs is PS. According to the above specification, > the printer does not understand PS. However, it supports PCL, > and tools like gs (GhostScript) should be able to convert PS > to PCL. This is what you need to send to the printer. Indeed, it probably does not understand PostScript, though it does have a PostScript queue for some reason. But what's the point of running an LPD server on port 515/tcp and not understanding ASCII text? LPD is an acronym of "Line Printer Daemon" BTW. The text queue is here: https://imgur.com/upHVJ2g.png >=20 > I assume you're not using CUPS? In this case, a PPD file for > this printer would probably be the easiest thing, but you can > get around using CUPS of course. No, I don't use CUPS, I think it's a monster. >=20 > Maybe this example can help: >=20 > First verify that the printer really understands PCL. You can > use nc (netcat) to send it some data directly. If it works, > instantiate a simple printer filter in /etc/printcap, for example: Could you please generate a small one-page PCL file for me so that I could test it? I suppose I should netcat it to the 9100 (raw) port, right? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJerxGtAAoJEA2k8lmbXsY0WLMH/3tfUqdeOAWYi+h0nQEMMwxG X/DI2rq4BIiVPcgQDw33qLQwXj+0E4/x8prLf54gIzIFDwNRXI60Mu6XD/+T5Aa2 H/mvQ91578KO+bhIAM5KQnuHELhUSQFxCb4vf3cGfnNRTwfKm2d20vt+kRXmR2PD /2Zzotevr28AHQQ9HQOOeYe4deZk4xFoFTXPmjlHDST3Avdc/p2ykFo+GRnTvole b/2MVDVuGhLIDPuEVGtULmgyMHkMx+byx9G72sqPedYMC+wZAqTU8XXWVKpby/Vn Y9eY3N67EUkP4Lw0tGzg2ZJ8RTVn6egtXAZ/h41EtBgKN0fDBn9pGo/pXSdj7Vc= =Un6/ -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-questions@freebsd.org Sun May 3 18:55:23 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F7702E55ED for ; Sun, 3 May 2020 18:55:23 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49FZtf5HBcz44Q4 for ; Sun, 3 May 2020 18:55:22 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=2+6UKF45IeLgeLVdXoqpZfSLrlCxpKeAhZ0cwlOQ1Is=; b=JNjKizlbRBlIdrZNN5AyEUpTp0 tYYycqtHcduG9tDSHjRucfc6L/SA/0lvHxLy4eea3ge/ybkMdGPH/VLdSa3E+S09H3LbAPxb5FqvS wqo/U6SZVJ0R/sTHyZILf/28qDS8dv5gyav6bfjCQ7Dekk0dL5CLIjdNWg/sdn8DxbWQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jVJlp-000FAc-CD for freebsd-questions@freebsd.org; Mon, 04 May 2020 01:55:21 +0700 Date: Mon, 4 May 2020 01:55:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200503185521.GB52059@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49FZtf5HBcz44Q4 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=JNjKizlb; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.21), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 18:55:23 -0000 --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Russell L. Carter wrote: >=20 > I print to an HL-L2340DW by using CUPS to remotely print to > a Debian CUPS that has it configured as a "driverless" printer: >=20 > https://wiki.debian.org/CUPSDriverlessPrinting Is it connected to the Debian system as a local (USB) printer or a networked printer?=20 Nevertheless, I don't want fancy graphics from it, I just need a line printer to print out configs, logs and such. It comes as a surprise to me that I would need "drivers" to print ascii text. It's something every printer understands, including my first dot matrix Epson in 1992 or something where you could print with "type file.txt > lpt1" in DOS. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJerxOZAAoJEA2k8lmbXsY0no8H/jcIoGeWVonSougCFrjU+HTW RW7ynMVWDY3aPnnT8uazzTWL//seHnjyLYnSQBjV7tUX1VNAUhXFu2XZtBB9eZnE iIVQeQqCiPwDx8BX2NHH7NIhXPKNrHhR4OLAAC9vjHIx7W3ICR5Lr9JM8m0wVDGr x6VhdGYhhV2St0WZUEn/OvQadxS6j255/4N0WQfbT6cGqGQGMeVa+zdV9ql2QxaF 1QPv85heTShVzb8HX2nZIu07cxmEdu/C6bFNjZCwSLvTOGYCkHSKP3IYfTbf1/DR j5hR4ZXsjzDhxdu825fWQCOyGDKtM5/c8Yl0XHE6xQswtQ78pPh0gysbz10ekCw= =ElbN -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd-- From owner-freebsd-questions@freebsd.org Sun May 3 19:56:20 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C2202E64FE for ; Sun, 3 May 2020 19:56:20 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49FcDz0lFfz4748 for ; Sun, 3 May 2020 19:56:18 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 0083010276A for ; Sun, 3 May 2020 21:56:17 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6K0jT99WZTzf for ; Sun, 3 May 2020 21:56:16 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id A217A102769 for ; Sun, 3 May 2020 21:56:16 +0200 (CEST) From: Christoph Kukulies Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: dd: /dev/cd0: Invalid argument Message-Id: Date: Sun, 3 May 2020 21:56:16 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49FcDz0lFfz4748 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [1.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.62)[-0.622,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.79)[0.788,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.97), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 19:56:20 -0000 I got a bit further with seeing my old SCSI-Periphals on the external = SCSI bus connected to the sym0 (ASUS SC-200 Interface). I can dd one of the disks connected there (/dev/da0) completely (2GB) But I cannot dd if=3D/dev/cd0 of=3Dcd_dump=20 Doing this, I=E2=80=99m getting=20 $ dd if=3D/dev/cd0 of=3Dcd_dump dd: /dev/cd0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000199 secs (0 bytes/sec) $=20 What=E2=80=99s wrong? /dev/da0 and /dev/cd0 are both character devices. = I can well cat /dev/cd0 >dump . =E2=80=94 Christoph From owner-freebsd-questions@freebsd.org Sun May 3 20:45:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D18142E77C6 for ; Sun, 3 May 2020 20:45:42 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49FdKy0Czhz49dc for ; Sun, 3 May 2020 20:45:41 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 1851F10276A for ; Sun, 3 May 2020 22:45:41 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8ZnD-z3mSiq6 for ; Sun, 3 May 2020 22:45:40 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id BDF98102769 for ; Sun, 3 May 2020 22:45:40 +0200 (CEST) From: Christoph Kukulies Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: dd: /dev/cd0: Invalid argument Date: Sun, 3 May 2020 22:45:40 +0200 References: To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: <620830DD-8E3C-445F-9FF5-5CDE1A51D1D2@kukulies.org> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49FdKy0Czhz49dc X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [2.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.61)[-0.608,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.85)[0.849,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.96), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 20:45:42 -0000 Aah, I got it: dd if=3D/dev/cd0 of=3Dcd0_dump ibs=3D2048 =E2=80=94 Christoph > Am 03.05.2020 um 21:56 schrieb Christoph Kukulies : >=20 > I got a bit further with seeing my old SCSI-Periphals on the external = SCSI bus connected to the sym0 (ASUS SC-200 Interface). >=20 > I can dd one of the disks connected there (/dev/da0) completely (2GB) >=20 > But I cannot dd if=3D/dev/cd0 of=3Dcd_dump=20 >=20 > Doing this, I=E2=80=99m getting=20 >=20 > $ dd if=3D/dev/cd0 of=3Dcd_dump > dd: /dev/cd0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000199 secs (0 bytes/sec) > $=20 >=20 > What=E2=80=99s wrong? /dev/da0 and /dev/cd0 are both character = devices. I can well cat /dev/cd0 >dump . >=20 >=20 > =E2=80=94 > Christoph >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun May 3 22:04:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5229F2BB4BC for ; Sun, 3 May 2020 22:04:03 +0000 (UTC) (envelope-from arne@Steinkamm.COM) Received: from mail.steinkamm.com (mail.steinkamm.com [194.127.175.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "steinkamm.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Fg4H5X6Rz4NFY for ; Sun, 3 May 2020 22:03:59 +0000 (UTC) (envelope-from arne@Steinkamm.COM) Received: from trajan.stk.cx (trajan.stk.cx [10.8.8.110]) by basis.steinkamm.com (8.15.2/8.15.2) with ESMTPS id 043M3nLN025711 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 4 May 2020 00:03:49 +0200 (CEST) (envelope-from arne@steinkamm.com) Received: from trajan.stk.cx (localhost [127.0.0.1]) by trajan.stk.cx (8.15.2/8.15.2) with ESMTPS id 043M3mVs033616 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 4 May 2020 00:03:48 +0200 (CEST) (envelope-from arne@trajan.stk.cx) Received: (from arne@localhost) by trajan.stk.cx (8.15.2/8.15.2/Submit) id 043M3aHs033189; Mon, 4 May 2020 00:03:36 +0200 (CEST) (envelope-from arne) Date: Mon, 4 May 2020 00:03:36 +0200 From: Arne Steinkamm To: Christoph Kukulies Cc: freebsd-questions@freebsd.org, arne@steinkamm.com Subject: Re: dd: /dev/cd0: Invalid argument Message-ID: <20200503220336.GG82984@trajan.stk.cx> Reply-To: arne@Steinkamm.COM References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt@Trajan/1.12.1 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on basis.steinkamm.com X-Rspamd-Queue-Id: 49Fg4H5X6Rz4NFY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of arne@Steinkamm.COM has no SPF policy when checking 194.127.175.194) smtp.mailfrom=arne@Steinkamm.COM X-Spamd-Result: default: False [-0.02 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[arne@Steinkamm.COM]; NEURAL_HAM_MEDIUM(-0.86)[-0.864,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[Steinkamm.COM]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.35)[-0.351,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.02)]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[freebsd-questions@Steinkamm.COM,arne@Steinkamm.COM]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34646, ipnet:194.127.175.0/24, country:DE]; FROM_NEQ_ENVFROM(0.00)[freebsd-questions@Steinkamm.COM,arne@Steinkamm.COM]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 22:04:03 -0000 Hi, On Sun, May 03, 2020 at 09:56:16PM +0200, Christoph Kukulies wrote: > I got a bit further with seeing my old SCSI-Periphals on the external SCSI bus connected to the sym0 (ASUS SC-200 Interface). > > I can dd one of the disks connected there (/dev/da0) completely (2GB) > > But I cannot dd if=/dev/cd0 of=cd_dump > > Doing this, I???m getting > > $ dd if=/dev/cd0 of=cd_dump > dd: /dev/cd0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000199 secs (0 bytes/sec) > $ > > What???s wrong? /dev/da0 and /dev/cd0 are both character devices. I can well cat /dev/cd0 >dump . The blocksize of CDs is 2k so use 2k or a multiplier of it. dd if=/dev/cd0 ibs=2k of=cd_dump .//. Arne -- Arne Steinkamm | Home: Mail: arnesteinkammcom From owner-freebsd-questions@freebsd.org Mon May 4 05:43:20 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C21182C4BD8 for ; Mon, 4 May 2020 05:43:20 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) by mx1.freebsd.org (Postfix) with ESMTP id 49FsGH2bGxz3DdB for ; Mon, 4 May 2020 05:43:19 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.foucry.net (mithril.foucry.net [127.0.0.1]) by mithril.localdomain (Postfix) with ESMTP id 1AD69182D4 for ; Mon, 4 May 2020 07:43:12 +0200 (CEST) Date: Mon, 4 May 2020 07:43:12 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: Local_unbound and (opn)vpn Message-ID: <20200504054312.GA73151@mithril.foucry.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49FsGH2bGxz3DdB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=foucry.net (policy=none) X-Spamd-Result: default: False [-1.62 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; DMARC_POLICY_SOFTFAIL(0.10)[foucry.net : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_IP_A(1.00)[mithril.localdomain]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mithril.localdomain]; IP_SCORE(-1.02)[ipnet: 80.67.160.0/19(-2.85), asn: 20766(-2.25), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; TAGGED_FROM(0.00)[freebsd]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 05:43:20 -0000 Dear All, I need your advice and experience about local_unbound aشs vpn (in my case it's openvpn). When local_unbound it use the /var/unbound/forward.conf file to learn the DNS server to query for the zone ".". When I launch the vpn (all the internet traffic DOES NOT GO THROUG THE VPN), I need to forward query for the compagny internal zone to the internal DNS. I can modify the file /var/unbound/forward.conf like this: forward-zone: name: "." forward-addr: 192.168.1.113 # this ひs my pihole address forward-zone: name: "cie.local" forward-addr: 192.168.127.23 forward-addr: 192.168.127.46 And restart local_unboound and it's works. But when I restart mや laptop, the start process of local_unbound is to rewrite the forward.conf file and my add is overwrite. There is a conf.d folder inside /var/unbound. I suppose I can use it in order to make my forward zone persistant. I don't find anything about the format of those files I can put in (may be the same as forward.conf) of the name of the file (cie.conf in this case?). So I need your experience and advice. Thanks in advance and take care. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Mon May 4 06:27:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 090152C5974 for ; Mon, 4 May 2020 06:27:08 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FtDp6RChz3GFQ for ; Mon, 4 May 2020 06:27:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.24.37]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MMXDj-1jlEQr0dyZ-00JZI7; Mon, 04 May 2020 08:27:02 +0200 Date: Mon, 4 May 2020 08:27:00 +0200 From: Polytropon To: "Russell L. Carter" Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200504082700.fc5186e2.freebsd@edvax.de> In-Reply-To: References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.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:UBNrpIO5HU0QemrUtZA2Mm44MH3clhe4FUEGTuQ/BMO/quRWUbq 0NDd77bjqfvvgTKOQfa0vjPnjMprfMxrWXFacdxEEch1TTFNJGQlTLmLIGMCzHs4ECu/1/8 pmpKYfvhn/FTGyOGfTnKGdmNshCr1f3NvON47NCKyvcNW/5f1BlLFeQNlSf9puBYKkzxyeM 8MAzvPrB0J4P7ybEyod1w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wrvmwvV7TV4=:VBRR1bo/q/sEqeJKh5CPVJ /pqjrVkZT6ktbj8B9T3TRwOWgC8FyAegfjK4EwbK5PYZtznTpN5NZCdvB6TufhSb/H8ubAbZx Fq4+v4TN3xF6ehcnaT25zSG+McB2wHNtx49AaYCl+cksCiGdiyNCtiwCIUHK7aIyZUgV8fbDj ZipdfDWhHqmRbLZjowEJPplz9ndPmhQc4nogWcWmRMvLg5jUtUMiGSUUJs6Iqd0uEWr0gRLIs TNDhHPp6HTlWhGT93AIOJb3QTrlhQou+qVC9XwAKD5Xqv7JKpenm+XxV6nx/zcVJjdyeeDS78 w1OoHixS5hqYRimVNU8eg67Fs2zBQH3sKR3iJowSeEbly329qV0hCJkmQ46D41Eqnzy22hyIR q3EaIdcIvFlUVxZURdv5lk/c9gsf1nn9ZHQBbOlyopLSBa+JnyvdOZ6dumk1f/eUDvH57dmrU UT2qvudrbSxCko1hZomuZGBluokZI9oZWrm/YDlAlObb6MbueWfcQLdyokYkp3zy6mwtR8xUq W1wgDbk+WtzvchPg9X8CcinUr0tEqijenFchocr3xvVDE9bb2pWsAVCuRNSPwIcGH3BZd1hpb 3dsmvzhMhUdavb9v5/tlHUtoHE8yb+9L4Mei700xa6minMU0gfH6+MChDDEqkC0E7lAKjqMk7 VRD34OlSK6++1agKv8WywAEWDkAILr1ysEpmk14AnHNvoDhIkYsxLq8FIcaFyyRv+1HS13yu1 BXQTYn9h0rKF1LlBp7Arsm40RNKMobuLKBtOjO06VKfWyliRN+Tyq5+dglW8g6K6CQ/9W3fgy N/f7JPU15373dgxRclJCEVgjjraA9RPTiMSFQ45XEdn5z6D0ZxdQQw+i6xa/yGzsWPjJK+E X-Rspamd-Queue-Id: 49FtDp6RChz3GFQ X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[37.24.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.92)[0.920,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[131.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.39)[ip: (1.14), ipnet: 212.227.0.0/16(-1.22), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 06:27:08 -0000 On Sun, 3 May 2020 10:50:20 -0700, Russell L. Carter wrote: > I print to an HL-L2340DW by using CUPS to remotely print to > a Debian CUPS that has it configured as a "driverless" printer: > > https://wiki.debian.org/CUPSDriverlessPrinting > > I mention this because otherwise it seems like a real hassle to > install using the Brother drivers. There are entries in the lists > where we went through what it would take... a real maintenance > PITA, no thanks. I have never really dealt with manufacturer-supplied drivers, because CUPS brings everything you need, and you can install HP printer libraries if required (especially for multifunction inkpee printers). In worst case, I unpack the printer driver and take the PPD for CUPS - and it works. > And I don't believe there should be any problem doing what works > in Debian on FreeBSD. I tried very hard to get driverless working > on FreeBSD but failed, and I think it's because of the versions: > > Debian: 2.3.1, FreeBSD: 2.2.13 <- up-to-date > > However, I am no expert, so I might have done something stupid > somewhere. > > Anyway, options all seem to work, eg two sided printing. Everything wirll work as long as the printer gets data it can understand, no matter which protocol is used. The Brother printer mentioned here seems to understand PCL, which is more than enough to drive all its features, and generating PCL is definitely not a problem with CUPS (or gs). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon May 4 06:38:50 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EE78F2C5E70 for ; Mon, 4 May 2020 06:38:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FtVL0TcZz3Gsf for ; Mon, 4 May 2020 06:38:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.24.37]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mo7Bb-1iog8a0mrb-00peNL; Mon, 04 May 2020 08:38:47 +0200 Date: Mon, 4 May 2020 08:38:46 +0200 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200504083846.47e256ab.freebsd@edvax.de> In-Reply-To: <20200503184709.GA52059@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503184709.GA52059@admin.sibptus.ru> 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:pjLcCsww3JnTfdW/bnn/EOPhsXG+k4xH4QYvXyMdIfeLPahV44k 8PcfjDxo7xd2kxR6CDqRxhoceOIysFpbvkJHYyvbqcu/PD2xvW9uBNA2PuyLPxlMaskOvEe SIrb7R3uj93N9gkbARiKIvki5Q3wWz25/y0A+fLs5S3PmLK+BQB2N2tvhCiFQCLUOSCYyMw fQHNCES2r0RJRboKdPjjw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:WMwhbOlE1g0=:OlDDUTeFoXm+HxfzrF4IAp xdolkGntRZC8dHj9YxDfFzCESDGvi4o0CI61gia/ly/wU7x6+J/tkJ9SszE+wCKGTcKprwey6 guFghCClarz9hhq+YP1RTQb723Tg38lhLtKCVe4yyuaB7Sg7UdmBaZD9c2rxAOI9cSJGm80su dN1XTqchGq3mijXJyU7y/DSrn0AHIHP9DkgpQ/zORL5Hs59KLI24Y3VFB0S4befX5p+br3qgD ZFzOvrBxVNPl7LR03MZ57N3ZEy4jL+TfufO/9o++nyFMin3jz6IInd0lvJK/B1Zo2GjfiDGNt Y21JnQIIw0/0nh01ZtErwNHZyu4fBMXCRvzFit0ivov3PddyOpcsjdj7VFy8+Mz8G1H3Crtcl EjUeUCrGJHVw+Tjke8GM6THTm+ptWipO6mzukbtD24p6FPQLL3cOZZ/cIMPKaChlc4R8Ll83I k6TlMtCjYAgfVXeg6imOFjhaTwgDaqRIkUxa3AKPlcbrqbn3BQjiEOGkrS+fAn789BTkAbZ2a ftrvUr+RAsGEfLaT+EiWfs9VIuv1fPGZLefAE3JvvLa9JH41LYnf6SLGpAnSTirV/fLshbNSa /3arCg158EDbx44Zjxr3vOwpENnVG1KGaD6Nz2qSRkRwu8g69rfu1XXnMuUciY8KoICbdk69C lqqHLS9tiTbogZQ6w7FQTQk4dakImIykU1wzXtNYBz4fEKBj7OGWZB3taGKNlZHO69CVRP5pR 1tkfSNki+AS7gaJLnwt3CPLZ1Z36q/k6Gwdt4NzNG4Y6PYltsMUekWbtBYluX0u69dCHth7p2 PxjJuyU8+xoScgpZnLweVIhNLdxaVnNWKxdWv3iX10MFdT2pMm8icP/i76Yta0t3p6nOoQleV QC3ijHlAdFaMfccrGAEAPE5ncygBR5Fh/SPkDOnxpyNh3s26q+d3v06Hq/UPF1 X-Rspamd-Queue-Id: 49FtVL0TcZz3Gsf X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.46)[ip: (1.50), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.946,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[134.126.227.212.rep.mailspike.net : 127.0.0.19]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 06:38:51 -0000 On Mon, 4 May 2020 01:47:09 +0700, Victor Sudakov wrote: > Polytropon wrote: > > On Mon, 4 May 2020 00:12:59 +0700, Victor Sudakov wrote: > > > Dear Colleagues, > > > > > > I'm trying to use a Brother HL-L2340D printer as a simple networked > > > line printer with lpd. I've successfully used HP and Canon printers like > > > that with a simple printcap like this: > > > > > > # by VAS > > > lp|Brother HL-L2340D series:\ > > > :sh:\ > > > :rp=TEXT_P1:\ > > > :rm=192.168.1.74:sd=/var/spool/output/lpd1:lf=/var/log/lpd-errs: > > > > > > but the story with Brother HL-L2340D is different. When fed some input > > > with "lptest |lpr", it just spits out 3 empty pages. I've never seen > > > anything like that before. > > > > It's possible that your previous printers could understand > > regular (unformatted) ASCII text, but the new one doesn't. > > I've never seen a network printserver (and I've seen a few) which would > not understand plain ASCII text. I did not even imagine that such an > abomination is at all possible. It's the common situation for inkpee printers (or anything that is "consumer-oriented"). Office printers usually speak PS and PCL, and modern ones speak PDF. For processing text, they need some internal fonts. Maybe it was cheaper to get rid of the little text font engine? > It's true, I've heard about GDI winprinters with LPT interfaces, > but a networked printer? I can just imagine that "cost reduction" and "leave out all the things our users aren't going to use" have been strong drivers in constructing that printer... :-) > > > I'm wondering if someone has this printer and made it work as a line > > > printer. > > > > > > From the specification at > > > https://support.brother.com/g/b/spec.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as > > > it should support LPD. > > > > It's not a matter of supporting LPD - it's the question which > > printer language the printer can process. The default output > > format for programs is PS. According to the above specification, > > the printer does not understand PS. However, it supports PCL, > > and tools like gs (GhostScript) should be able to convert PS > > to PCL. This is what you need to send to the printer. > > Indeed, it probably does not understand PostScript, though it does have > a PostScript queue for some reason. > > But what's the point of running an LPD server on port 515/tcp and not > understanding ASCII text? LPD is an acronym of "Line Printer Daemon" > BTW. The text queue is here: https://imgur.com/upHVJ2g.png You see, it's got a web interface, and to make room for that, something else had to be removed. ;-) Some printers are abre to "switch personality" depending on the input they receive, i. e., when you send PS, they start interpreting it with their internal PS processor, but when you send PCL, they handle it accordingly, and for ASCII text, they use the default fixed-width font and just print it. For some models, this personality can be explicitely chosen by the user by addressing a specific TCP port for each type of input. For your printer, sending PCL to port 9100 of its IP should probably be the easiest thing. Let system's lpd manage the printer queue locally. > > I assume you're not using CUPS? In this case, a PPD file for > > this printer would probably be the easiest thing, but you can > > get around using CUPS of course. > > No, I don't use CUPS, I think it's a monster. I can fully understand that statement. :-) > > Maybe this example can help: > > > > First verify that the printer really understands PCL. You can > > use nc (netcat) to send it some data directly. If it works, > > instantiate a simple printer filter in /etc/printcap, for example: > > Could you please generate a small one-page PCL file for me so that I > could test it? I suppose I should netcat it to the 9100 (raw) port, right? Correct - and by the way, that's the typical way of doing printer diagnostics. You prepare some input, usually PS, PCL, ASCII, PDF, and then send it directly to the printer. If it is any good, it should at least understand _one_ format. The PCL is non-ASCII, so I will send it offlist. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon May 4 06:50:58 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CEF82C62D8 for ; Mon, 4 May 2020 06:50:58 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FtmK2nHnz3HSN for ; Mon, 4 May 2020 06:50:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.24.37]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1My2pz-1jE5572uXH-00zVms; Mon, 04 May 2020 08:50:54 +0200 Date: Mon, 4 May 2020 08:50:53 +0200 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200504085053.9bcf8d9d.freebsd@edvax.de> In-Reply-To: <20200503185521.GB52059@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> 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:Ry3fyLj2UctHCOjXeT9885Xy9ErM/+Tk0eKjyDmQxwEgunjJXft Y6R9EVVi+QUzPAaOuq8n6XZcS3FyJUBabFdsJ6Vbi69IxuXm4AluRtbcBiubQQ6OKfBOiPu VUb+tMAbpXR8Y+UQgNPbivfxu2VhOORRRm8QHPR6/ZoiYKx4KaGLvlLOobatIUyTaKCttPO CEkp3N24sA1lOZ4krM3ZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/LeN9T3vt40=:KDyuGRP104WLE5DW/zvFzH 9QdWEQHhuiek0POK2JYLrmmRUjtFoLR2Iz6QpBfY4sW4QV1nwoYtpETpQNEGsLtXd20MFc58K BgbcLVSv9+3lHN0ulcD0YScd3n3Q5h/j0WcAKpCUkZMRyGmOyZLPdZqiMjjgnC77p/YBh35i8 NFnSSlKeX3Jcp8d9QI7Zben3REOS6Y8BT5TfX9hJJ8z4md8qCxnHR9aJ4BzaYSzaH05QloHyJ pthqauFElvHGFQzPdT2KTHJfcxH3/yyS+Omj8uTRfGvCi5VYSo5vgzyUIBQ8FWesvSP80MjTo rH2FrYO6K2nDtrpOWnZlTXylCfr5jJuC38FbRMQX4+hKLUabqA+wKEKlHnbSOh24xORyHxDxv 8XN3Mcob/Wzs9x/oJkPxzGg9PhA833rKJbpHaj8NgtJdTEbhIUZ33kJO0fCldvgEbFoUZEQXJ fyll65ad0ttDK1y1/MTy1bRhNGu6vZlNY1SVAQoyRrGMCxlZhvdzwH6/HPZPAMWZJ2mdtk5BB ibY/rquR2Ca8TMdVyMlPtcBKnuT3GdpUntD/0OBPPF0o6AP8/nUV99DWqihorWE+i7NZHIrZC qkpHwZ/Vk2Lxi7FpoUp5PdKudwSVSQuLZJ1vLR3WoNexWYbQhF6OxFCWeWWD8PZ3mwXqz1hh1 Nw30EuGQkv4Lu08OFwSAPllFu3NdvBBoWbcX2pScXcXhpmGBiwElVsZWD4B9fDTsi/w6gmMvj 6YDp0v5RS3o84JivMblLswKiVNGHF/qkCNjeeBE1TYVtYHqLRVHUIb+6YO3cPcnyMWhRL3jln H0e1eiMQAIvXoS20tngYMM0FX6ZWvGc7zP8IXZonCucfiC5sbyTIpBlyLWv/WdOQ2CEWLDT X-Rspamd-Queue-Id: 49FtmK2nHnz3HSN X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[37.24.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.832,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.26)[ip: (0.49), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 06:50:58 -0000 On Mon, 4 May 2020 01:55:21 +0700, Victor Sudakov wrote: > Russell L. Carter wrote: > > > > I print to an HL-L2340DW by using CUPS to remotely print to > > a Debian CUPS that has it configured as a "driverless" printer: > > > > https://wiki.debian.org/CUPSDriverlessPrinting > > Is it connected to the Debian system as a local (USB) printer or a > networked printer? > > Nevertheless, I don't want fancy graphics from it, I just need a line > printer to print out configs, logs and such. It comes as a surprise to > me that I would need "drivers" to print ascii text. It's something every > printer understands, including my first dot matrix Epson in 1992 or > something where you could print with "type file.txt > lpt1" in DOS. That would probably have been: > TYPE FILE.TXT > LPT1: or maybe > COPY FILE.TXT PRN: Note the : in the "special file name" and the fact that those are still reserved names in current "Windows" versions. ;-) However, it's really scary that a printer like the one mentioned here does not seem to understand ASCII text, even though it supports PCL standard (as shown on the specification page). Maybe font licenses were too expensive... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon May 4 08:07:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8AA902C8772 for ; Mon, 4 May 2020 08:07:31 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) by mx1.freebsd.org (Postfix) with ESMTP id 49FwSf3Gycz3Mnh for ; Mon, 4 May 2020 08:07:30 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.foucry.net (mithril.foucry.net [127.0.0.1]) by mithril.localdomain (Postfix) with ESMTP id 79E641833B for ; Mon, 4 May 2020 10:07:28 +0200 (CEST) Date: Mon, 4 May 2020 10:07:28 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: Re: Local_unbound and (opn)vpn Message-ID: <20200504080728.GC73151@mithril.foucry.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20200504054312.GA73151@mithril.foucry.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200504054312.GA73151@mithril.foucry.net> X-Rspamd-Queue-Id: 49FwSf3Gycz3Mnh X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=foucry.net (policy=none) X-Spamd-Result: default: False [-1.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; DMARC_POLICY_SOFTFAIL(0.10)[foucry.net : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_IP_A(1.00)[mithril.localdomain]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mithril.localdomain]; IP_SCORE(-1.02)[ipnet: 80.67.160.0/19(-2.84), asn: 20766(-2.24), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; TAGGED_FROM(0.00)[freebsd]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 08:07:31 -0000 Le lundi 04 mai 2020 à 07:43:12 (+0200), Jacques Foucry à écrit: > Dear All, Well forgot my question. The solution was in this mail :-) I was thinking duriong writing but not testing before sending it. The conf.d/ is used for local configuration ans should not be changed where local_unbound start. Sorry to have diatrib you from your important job for such idiot question. > > I need your advice and experience about local_unbound aشs vpn (in my case it's > openvpn). > > When local_unbound it use the /var/unbound/forward.conf file to learn the DNS > server to query for the zone ".". > > When I launch the vpn (all the internet traffic DOES NOT GO THROUG THE VPN), I > need to forward query for the compagny internal zone to the internal DNS. > > I can modify the file /var/unbound/forward.conf like this: > > forward-zone: > name: "." > forward-addr: 192.168.1.113 # this ひs my pihole address > forward-zone: > name: "cie.local" > forward-addr: 192.168.127.23 > forward-addr: 192.168.127.46 > > And restart local_unboound and it's works. > > > But when I restart mや laptop, the start process of local_unbound is to > rewrite the forward.conf file and my add is overwrite. > > There is a conf.d folder inside /var/unbound. I suppose I can use it in order > to make my forward zone persistant. I don't find anything about the format of > those files I can put in (may be the same as forward.conf) of the name of the > file (cie.conf in this case?). > > > So I need your experience and advice. > > Thanks in advance and take care. > > -- > Jacques Foucry > _______________________________________________ > 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" ---end quoted text--- -- Jacques Foucry From owner-freebsd-questions@freebsd.org Mon May 4 09:49:41 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AEFD22CAAD5 for ; Mon, 4 May 2020 09:49:41 +0000 (UTC) (envelope-from 4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@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-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49FykW4LlWz3xwj for ; Mon, 4 May 2020 09:49:39 +0000 (UTC) (envelope-from 4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@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=1588585780; x=1591177780; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=wPLsx5X3Kcw9HUm/4IyqUNvHjr41V8xcTUOi/S3Q9Uo=; b=hlzPEej3hHs686JIa0o1klPy1KsqBF4kCfs7OsrmF+EUUKapGFT7HbCIE/WqOhU+zuoFBANeYwJ8iKqvwT5mk+uZLaRVs2qewrBpygZ0AOSvJFUVoZ1/6Bj6t3n9IHgV5oK54iAH+4F2VTScnviJLqPr7ds2SCcNGtTo89V8c4I= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDQ4YmIxN2YuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 4 May 2020 05:49:37 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 4 May 2020 05:49:37 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jVXjE-0007dy-07 for freebsd-questions@freebsd.org; Mon, 04 May 2020 10:49:36 +0100 Date: Mon, 4 May 2020 10:49:35 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Local_unbound and (opn)vpn Message-Id: <20200504104935.c3106837a6582028853b623f@sohara.org> In-Reply-To: <20200504080728.GC73151@mithril.foucry.net> References: <20200504054312.GA73151@mithril.foucry.net> <20200504080728.GC73151@mithril.foucry.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49FykW4LlWz3xwj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=hlzPEej3; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@email-od.com X-Spamd-Result: default: False [-1.66 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.02)[ip: (-0.21), ipnet: 142.0.176.0/22(0.30), asn: 7381(0.08), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c100048bb17f.9468f4bbc0bd83e5a8dd386164b83335@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 09:49:41 -0000 On Mon, 4 May 2020 10:07:28 +0200 Jacques Foucry wrote: > Well forgot my question. The solution was in this mail :-) > > I was thinking duriong writing but not testing before sending it. Doing this in person is a powerful debugging technique known as 'cardboard man debugging' because the person having the problem explained to feels like they could have been a cardboard cutout. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon May 4 10:01:55 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 290902CB04B for ; Mon, 4 May 2020 10:01:55 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Fz0d6dFbz3yZm for ; Mon, 4 May 2020 10:01:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.24.37]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N30VJ-1j1KWg2lDR-013QWv; Mon, 04 May 2020 12:01:51 +0200 Date: Mon, 4 May 2020 12:01:51 +0200 From: Polytropon To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: Local_unbound and (opn)vpn Message-Id: <20200504120151.d82a5a04.freebsd@edvax.de> In-Reply-To: <20200504104935.c3106837a6582028853b623f@sohara.org> References: <20200504054312.GA73151@mithril.foucry.net> <20200504080728.GC73151@mithril.foucry.net> <20200504104935.c3106837a6582028853b623f@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:99HGg8ohaln0dpXpfoqnecTo+2+F2/IAZ7jQxxRWw9qmDgfvYBZ njohcHxnta2feRI3VDsJb7EPnP+DuWGvTeYqz+qLFChOr9AeXOOaiwSKcG4xOjLF+Q81V+x xKTuzU6pOiHBpPvpy9QT/yvBZdiSRytmWn4tVn6bkiXR/y8RcOrwh0Ue8n+AFfXpOrq8vsb PzyRbY+PWz1mCsikKOnfg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qAo0Ez1cfHQ=:HUJKDK0un0VgQKCEKyLshM 4X62Nf8vnCmb6YHIqHCZQErNT64o2a0UBqecZO8tFnjskPy7MBCgCz9oTApthjaaDovSeEUEg eEfVm1QVvV5A+P0mFTKzxztWp/zJTUqly4fTOpe3aE+MDym4jBZFMt7j17wX9AYTsXN0h4F6J NQBJwCQUzz0TWbYzeCa20MDz0riScK6U9Z+5/u6PY4+nG8hESXnaU6jev+4heSwJ1DTDctfDr uV3a1X8aD+YCYo+eXnG1/KSd8ktAgJtL/RjRiHRLnwROyO5WOfqbjqz9EFbqLCic1B4PFa0up ouOoqypUa0OdwUhhA1Z3zDuqWrHb5Rs7o6OWX+YGmD0LpEtN/TFRYgFs26Gx6WE/XFKbw77aM +oefH5d5aHTcaq4cv+75BK1tDcDGC0JHVmTiWmR/opfxw8/PEHExEnpz1yB1H/F/au+j9bFmz yxzDCqnF+01VROskQEsrgaATa0ZrimzlxnYVt3d9PnhtN2wRuYGNylTQinl2IOSzEk+RdaIqM TD5dPetVhCD9GfcTFf4EMdEEo4nNnji9S6YMV9XbazbmFQUIps4y+8EE6GVRAkpUkVpsjgbVA wdtxhRc3PvCsMCay4bTg3DibTD7HU8zVYZZtZfHd20qXdyLQqO9VFq26IyL9JE/54BAEKZYE5 St84o65qIhuXtXBazA4huGgMNQ17cGfdrpSlslDCuI8y0KCMHhUmiF3j77K69TKt0f6FbrEKQ fVWo23hHxnCrn93NeQbyL+IzKeFFUfp5s88i7dkewkwBI5iTC415Q/QBFHYIhHEkRB4u9Ar5o piZIxDg+bAsvK4rxaAXFruUCtE1A9/wwMoxxeydhSxsh6nJNxXJ8AsjAiMaFrqhkQsCCO0z X-Rspamd-Queue-Id: 49Fz0d6dFbz3yZm X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[37.24.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.992,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[131.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.39)[ip: (1.13), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.03), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 10:01:55 -0000 On Mon, 4 May 2020 10:49:35 +0100, Steve O'Hara-Smith wrote: > On Mon, 4 May 2020 10:07:28 +0200 > Jacques Foucry wrote: > > > Well forgot my question. The solution was in this mail :-) > > > > I was thinking duriong writing but not testing before sending it. > > Doing this in person is a powerful debugging technique known as > 'cardboard man debugging' because the person having the problem explained > to feels like they could have been a cardboard cutout. If I remember correctly, the modern terminology for this kind of action is "rubberducking". It's also available as a web-based cloud-hosted ML VR SaaS, of course... ;-) Sidenote: When you're able to explain something, no matter if to a real person or a bardboard cutout, a rubber duck or your cat, you have proven that you actually understand what you're dealing with. Requesting explanations is also a good method to filter for "knowledge actors" (impostors who think their expensive suit, their shiny certificate or their gorgeous job title can compensate their lack of knowledge). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon May 4 10:14:38 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B29402CB6A2 for ; Mon, 4 May 2020 10:14:38 +0000 (UTC) (envelope-from 4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@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-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49FzHL08tzz40YG for ; Mon, 4 May 2020 10:14:37 +0000 (UTC) (envelope-from 4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@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=1588587278; x=1591179278; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=hrtSbX5vwk03+BWQfVxETmhITSJnQpd39Og4CarIKJk=; b=Iit4FhvuEkNgb4MCCnlsfEwZOfRHdASIx/S95VtTMuGEl7hB7HKDVzP/Ias8EknNJIPZPZLjEO3hsODvte9p+yGSM4LbTV1rpPFR51MqVezBXzAg8TTnKAJ22WdoPBterH5g8kxhVsNltvCwMekhuq1JR/qWY20u/a+8FNf6n7k= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDQ4YzhjZmUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 4 May 2020 06:14:35 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 4 May 2020 06:14:35 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jVY7N-0007kQ-RV; Mon, 04 May 2020 11:14:33 +0100 Date: Mon, 4 May 2020 11:14:33 +0100 From: Steve O'Hara-Smith To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Local_unbound and (opn)vpn Message-Id: <20200504111433.6176fee26e4f284108323517@sohara.org> In-Reply-To: <20200504120151.d82a5a04.freebsd@edvax.de> References: <20200504054312.GA73151@mithril.foucry.net> <20200504080728.GC73151@mithril.foucry.net> <20200504104935.c3106837a6582028853b623f@sohara.org> <20200504120151.d82a5a04.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49FzHL08tzz40YG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=Iit4Fhvu; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@email-od.com X-Spamd-Result: default: False [-1.65 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.978,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; IP_SCORE(0.02)[ip: (-0.21), ipnet: 142.0.176.0/22(0.30), asn: 7381(0.08), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c100048c8cfe.be1370b02639a277bbbbe73279fa5423@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 10:14:38 -0000 On Mon, 4 May 2020 12:01:51 +0200 Polytropon wrote: > On Mon, 4 May 2020 10:49:35 +0100, Steve O'Hara-Smith wrote: > > On Mon, 4 May 2020 10:07:28 +0200 > > Jacques Foucry wrote: > > > > > Well forgot my question. The solution was in this mail :-) > > > > > > I was thinking duriong writing but not testing before sending it. > > > > Doing this in person is a powerful debugging technique known as > > 'cardboard man debugging' because the person having the problem > > explained to feels like they could have been a cardboard cutout. > > If I remember correctly, the modern terminology for this > kind of action is "rubberducking". It's also available as > a web-based cloud-hosted ML VR SaaS, of course... ;-) Some people just can't resist over-engineering a solution. Eliza would do fine and happily run locally (even running the original under emulation would barely show as load on the cheapest smartphone around today). -- 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 Mon May 4 10:19:52 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF9482CB987 for ; Mon, 4 May 2020 10:19:52 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) by mx1.freebsd.org (Postfix) with ESMTP id 49FzPN0rZXz40pV for ; Mon, 4 May 2020 10:19:51 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.foucry.net (mithril.foucry.net [127.0.0.1]) by mithril.localdomain (Postfix) with ESMTP id B6B1718370; Mon, 4 May 2020 12:19:50 +0200 (CEST) Date: Mon, 4 May 2020 12:19:50 +0200 From: Jacques Foucry To: Polytropon Cc: Steve O'Hara-Smith , freebsd-questions@freebsd.org Subject: Re: Local_unbound and (opn)vpn Message-ID: <20200504101950.GE73151@mithril.foucry.net> Mail-Followup-To: Polytropon , Steve O'Hara-Smith , freebsd-questions@freebsd.org References: <20200504054312.GA73151@mithril.foucry.net> <20200504080728.GC73151@mithril.foucry.net> <20200504104935.c3106837a6582028853b623f@sohara.org> <20200504120151.d82a5a04.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200504120151.d82a5a04.freebsd@edvax.de> X-Rspamd-Queue-Id: 49FzPN0rZXz40pV X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=foucry.net (policy=none) X-Spamd-Result: default: False [-1.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; DMARC_POLICY_SOFTFAIL(0.10)[foucry.net : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HFILTER_HELO_IP_A(1.00)[mithril.localdomain]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mithril.localdomain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.01)[ipnet: 80.67.160.0/19(-2.82), asn: 20766(-2.23), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; TAGGED_FROM(0.00)[freebsd]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 10:19:53 -0000 Le lundi 04 mai 2020 12:01:51 (+0200), Polytropon crit: > On Mon, 4 May 2020 10:49:35 +0100, Steve O'Hara-Smith wrote: > > On Mon, 4 May 2020 10:07:28 +0200 > > Jacques Foucry wrote: > > > > > Well forgot my question. The solution was in this mail :-) > > > > > > I was thinking duriong writing but not testing before sending it. > > > > Doing this in person is a powerful debugging technique known as > > 'cardboard man debugging' because the person having the problem explained > > to feels like they could have been a cardboard cutout. > > If I remember correctly, the modern terminology for this > kind of action is "rubberducking". It's also available as > a web-based cloud-hosted ML VR SaaS, of course... ;-) It's happend very often to me, specially when I write a mail. The solution came just when the mail is sent :-) May be should to more to my cats :-) Take care. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Mon May 4 14:52:21 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B7042D203F for ; Mon, 4 May 2020 14:52:21 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:101]) (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 49G5Rl6RPbz4JC1 for ; Mon, 4 May 2020 14:52:19 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward101p.mail.yandex.net (Yandex) with ESMTP id DDF8626429BB for ; Mon, 4 May 2020 17:52:14 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback5g.mail.yandex.net (mxback/Yandex) with ESMTP id 8pVjDqU5Rs-qE6O00rk; Mon, 04 May 2020 17:52:14 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.kz; s=mail; t=1588603934; bh=UTExidXtQtW1XD5j96rSQBNMOsDSId9bnyOPYJO44MY=; h=Message-Id:Date:Subject:To:From; b=Ce9GGPBY5w1JIG9icBIJc7mdnVEMTZo8nDSgNfTX0GE6aSGSgCmQN5TxnGtrbMnlN rAaxbM3NLqGY+sg7fpEVTxRUPcdCmxb34RmQpBLYkiKe1zJVYeXthTPOvbAQJn8MLb QXkewqnpm+JLz1RjPlx6hISf09al5lfdw9mqBgvA= Received: by myt5-094cfe5c1616.qloud-c.yandex.net with HTTP; Mon, 04 May 2020 17:52:14 +0300 From: Nikita Stepanov Envelope-From: nikitastepanov113@yandex.ru To: freebsd-questions@freebsd.org Subject: How to resize NTFS disk partition in freebsd? X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 04 May 2020 20:52:14 +0600 Message-Id: <3456081588603934@myt5-094cfe5c1616.qloud-c.yandex.net> X-Rspamd-Queue-Id: 49G5Rl6RPbz4JC1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.kz header.s=mail header.b=Ce9GGPBY; dmarc=pass (policy=none) header.from=yandex.kz; spf=pass (mx1.freebsd.org: domain of nikitastepanov113@yandex.kz designates 2a02:6b8:0:1472:2741:0:8b7:101 as permitted sender) smtp.mailfrom=nikitastepanov113@yandex.kz X-Spamd-Result: default: False [-5.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.kz:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0:1000::/52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.63)[ip: (-9.56), ipnet: 2a02:6b8::/32(-4.77), asn: 13238(-3.85), country: RU(0.01)]; DKIM_TRACE(0.00)[yandex.kz:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.kz,none]; MIME_HTML_ONLY(0.20)[]; RCVD_IN_DNSWL_LOW(-0.10)[1.0.1.0.7.b.8.0.0.0.0.0.1.4.7.2.2.7.4.1.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:~]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 14:52:21 -0000 From owner-freebsd-questions@freebsd.org Mon May 4 15:36:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 072392D2F7B for ; Mon, 4 May 2020 15:36:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49G6Qw6HjDz4LkD for ; Mon, 4 May 2020 15:36:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.24.37]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1N7iT4-1j1XDb2SZO-014n8w; Mon, 04 May 2020 17:36:37 +0200 Date: Mon, 4 May 2020 17:36:37 +0200 From: Polytropon To: Nikita Stepanov Cc: freebsd-questions@freebsd.org Subject: Re: How to resize NTFS disk partition in freebsd? Message-Id: <20200504173637.aed317fe.freebsd@edvax.de> In-Reply-To: <3456081588603934@myt5-094cfe5c1616.qloud-c.yandex.net> References: <3456081588603934@myt5-094cfe5c1616.qloud-c.yandex.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:DLe0I0AoGM35aGGMWkDlfVDeCEvsSvfEr5kP1GRsqkd20tbTU7D 20IFYpEuPCCE9SbBHr+xexxF4Ci6KKZf0PJntEsx/s0wTbD2QLnZaDQMR57eY/qu4ENX4iT flWCSInNyWCWUZV4nn5LtKUWBYOngg4XX4lBpeLmUgooncrfhW3AHlWsPnMXat8W9MVj1zX /fI472BdieXOBYuiVASOA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MvLWixIiJkc=:meM+UWAtqt6g7+PAxad9it Z5NwrVRAwwj1w91AG7xXoxbwtoBcQfk7AKsDH/LAd5x4/LJONuXqKlSTYeimaNRCLydOxPNo3 6QlvvmmNIBiyCfIXvV26f37KkqI6L5+RBt5obeoG8G1+YK2hMPn+W3GCa9SukIWW66KAhVJ32 JG+MWTbMixL8T3SI08YJ3ZtuxfM3VoI64kSLampV5h+tQeHieOKiV/KC6qwfNfHrWeaa+9hPn FoAj3bSY0qlWleqhtoHZJFelaU1gW7k617yYxCYXv0ArUtD5iiCh3vYY1dlPVER5lkKaM8Eh/ j3ofrQvz1DUiC5VAaec7Aur74OBDVq9bqs5s/tm+AgRj3XOgh+iKTF5n2iswWjj6yE6dRoOrL c9lwY4rOvTSa5TyWx48LDYfB0+s4p6PAYAEQ08V+03fKrgcjVIfJa6eOVbSjsfcGYb/S0ChCg YrCipqBewPaeZdw2Rnw1r7tnxJvqj1hXs3uD7wnxmccDEv0KXeO/iBwaeYxQOogSSm2vpSeUK lzsMkJ09KokDTZgKBzC+ylFiRa64SKuuvm+sP2X5ragH+w2Y+HRaPHkDERQgkBfx4aYNJQ86J ESGmzWhK+/8Y+Ovy/sC4B5O85RqfwrV25i9bNjoOPYR7vCCtR/UXppidTjExyFnSBLGePTCbP m+g6pTovc1eMz1eNxIXBVMJEKxRh89ZV1j8BhhTD7/AXZqeQZRnFBdHtZrD1zLGr9XDucNfiG APQLbazLByTZVzwWoAm9Bd3iqvOTeoNavz1YFUJglwTI/vfO/4P8z+FmJRyrSJcWVkQTU5uNH XeGO9ZUrouTAo3XCLVZlePjFmIpfKtb8nJltJf7FOQHW3IuT/VQnTjPnIMZ2plcB5BzCOKq X-Rspamd-Queue-Id: 49G6Qw6HjDz4LkD X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.82 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[37.24.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.96)[0.958,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[130.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.47)[ip: (1.52), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.03), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 15:36:42 -0000 On Mon, 04 May 2020 20:52:14 +0600, Nikita Stepanov wrote: > [nothing] As mentioned before, it's not polite (and not helpful) to write the question in the subject line and leave the message empty. For resizing NTFS partitions, I suggest taking a look at GPartEd. There is a live CD / USB image that you can boot from, and use that to resize the partition. FreeBSD's tools, such as gpart and traditional fdisk, are not really the right tools for this task, even though it _might_ be possible to still use them. Resizing non-BSD partitions with a BSD system is not entirely impossible, but you should use a better tool if it is available. Keep in mind that resizing partitions and filesystems (!), no matter if extending or shrinking them, is not a trivial task, so always have a backup. ;-) Sidenote: The UBCD has also GPartEd, if I remember correctly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon May 4 15:55:32 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8FF62D3458 for ; Mon, 4 May 2020 15:55:32 +0000 (UTC) (envelope-from goksin.akdeniz@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49G6rg3tQjz4McL for ; Mon, 4 May 2020 15:55:31 +0000 (UTC) (envelope-from goksin.akdeniz@gmail.com) Received: by mail-lj1-x22e.google.com with SMTP id u6so10180222ljl.6 for ; Mon, 04 May 2020 08:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:to:references:from:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to; bh=mAa8l71cjsHVD+E8NWK+MFYkp0gDMpn5SLGh/LIpa/c=; b=Xgibg80r2BmHdyTn1UdLumOIXRE3+gHuL+Lo6zzq21Mz9ZIZWa+GHptOiUg08s8ON9 tdQ4KcMqNSl8acSjmZRmnVjnyVadgaJechpW9h20YguvfppmJxpSYlO/1KoF0Iuu09ew U4v5ymMrBv5k3NYE4leJCQxwaTu4HOhrNgbAeFxJOP8Yr359DPanvORI86dIUbeLHFGa JBO3jhB4BYah7ls95UJluYMw7XCukYwttNQbJq1r5vbrTeqvvIZHKXafbVgqEMIgZvjq SD/0H94Bc/SOOu1ZNPECbJ/eMNOWujQvhwhXn2g+2DGPb7c8hrGXG8M1gD4cl/1bKcT+ eA9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:to:references:from:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to; bh=mAa8l71cjsHVD+E8NWK+MFYkp0gDMpn5SLGh/LIpa/c=; b=RiuxfU5LbqV4SYB7zteTIVpdZdkvHoQNo8KAzeFWY6e7YslGtVFBEAT2bDd1Nek2FI cDpWUv8w+6/5e97y9ntAnqlB9HXUm1KxVl9xcTOBaPz7X0b9i718erhNpIaNzkutLn5X WptY2vAO0e6Ne07h0CAua4o84LXDwbUmWGloSZz9vhD77Z7H5Rn9CiE8Uu46vpyJqLCW aaNVl2xFByz/xQJ1ZKA/MF5JVtX00o9Yp+oJFFEnr+73/EKK7VI2OL0BkKDZtSb5IyGo Opg6kno37wV+STqfBhzn0CyrZpgZB/jDvvbWz7mDmN5vqW8Em4mBiRWo+7BZYC+IJawy fndA== X-Gm-Message-State: AGi0PuZ/urSRVIRAqKpxm/lvoECRteGcLZCJQaRyGTJo7ImLuV2I565O U1trdGkyiaWeZe6Ac20+77hEoZgSK7s= X-Google-Smtp-Source: APiQypKeULBPbhy+HGIRNhATUS5WJMoOFWXD5Fcp3UzTyZUzoqECK0dCufYqKS5wnMDI/sSFl4uKGQ== X-Received: by 2002:a2e:8901:: with SMTP id d1mr10860017lji.37.1588607729403; Mon, 04 May 2020 08:55:29 -0700 (PDT) Received: from tardis.goksinakdeniz.net ([24.133.100.234]) by smtp.gmail.com with ESMTPSA id l8sm8425246ljo.5.2020.05.04.08.55.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2020 08:55:27 -0700 (PDT) Reply-To: goksin.akdeniz@gmail.com To: freebsd-questions@freebsd.org References: <3456081588603934@myt5-094cfe5c1616.qloud-c.yandex.net> <20200504173637.aed317fe.freebsd@edvax.de> From: =?UTF-8?Q?G=c3=b6k=c5=9fin_Akdeniz?= Autocrypt: addr=goksin.akdeniz@gmail.com; keydata= mQINBF4/GCMBEADoPTh9sRfUKEuJSaZ7RYj2M5zC7IL3dMZgorCWqbnmKgXZssTttZxA3Wk1 Jk7Qzfs86EJ620ft8S8tRup1awX55m5ukGycSWCikJQvWerXmolkPftr7qZnU3IH+dyEDadk sNU0lAqtfVHYYwe2fp77mV1pQLKDe7UcUhq3ca5+vXVlcOraLgt6G0qbB4USmORspeL+vmAZ Nde0o6UYRkGKTDtc8vVd79H5eJfFXVyzF8c2P4YzqruSyxY66bQ4yfM1FZ7kYA0XZC2sJE3b x5n1maGGMM1nuxUCj7LPzfFuzuDYY3+6twWLNdIMCJSELvsuEIaFWLh1Xu4F8jnm/OPlaeI0 SjQqyxrBBAW9FGzAEZVKdWf3RlYmV4KHPpwk3Plnbvr7cS/+PnsbUVbxRFgNwDWLn1ax9w1R UYQjRoVFeuziJ+dQcr7GZNtEP1JOg/mUAiatzhMZgFGEzQ9iqh2pnSnnEmHW/dzbAELjka4y H/mXzlN9OBKDB4SCHELnMZUQJGvpGjakxc2AIH6x/+vp8vjlWbErBeNgZOn3Yx6FdNko1SVq 8UwoVCJ6wLKudSq/xtsMufvlmm7ie3lKbbOwIymnjYmoFAtU4P8ejIqupD1/Niy3pNdBcgTj tZFproJ01ice/EaH8LqLTaSr0uV45Yqt2xY14Pei8iEkFpS9AwARAQABuQINBF4/GCMBEACy 4+D5HgCVq3IDqcZTYbM2mNXZDjo5Jsp0J+TUA7g7X+pQRZKDzVf36Kf7RakmFSDUEfm4o1PB GnEnrUtfS2HmnHA016MLgXaH808fTrjSTnXPu7uVe3UHYZOFhQ+tMskF+G4Ectws0PGrJ+RH pDbJJRfBraJoTgQw3ojVCQeR4DyNvTkCVEz7AKbClUpU1dl79RRzEOpDbKaKqdVZop7VIFKl LcN7TvSla/HjsUiJ6/FdbN55haCpFU1UpKY6rsJo2TT5pg9v4gmMTUO5ZOqbYrgTiQtTD1pP AYgs41bk2L25SJtvrj0CXMMDyk/CFR/v7w/vgMDgU2pOHmOnE9I5eG/LjCv5GkOhvhOpZ3UC 1gzXtz8SJadCf+T3Lcwp9F5OVLzZ4ohBUASRWlv/YU05l4s3ZP6+DkAQmumXb/Loig+Eyk2F l2MT0+MARnnqzjewaZwdHlc8rhwrHEgs8MDPzOkKMBu5KV3VVojqYmukzM5TTsgXOkfV3xqC 3+Ro9Z3VSB1R1+HjMe/LUFtJsNYCPR1F8fEfwIDTKBah1bH3SeMa4Ah/YWkCy5Mi7tQX4hDj RqOt8DbPLDM9RTpIlYi2okGS6escFxjmoRCHasifHQkhq1vsMMk26ln2na2GGfX0ghsVdrMB 0I21PRTzUPJr8Tuy4UwBBhUG1JOjU8DFRwARAQABiQI8BBgBCAAmFiEE0z4nkxf6AKy0OOBA 9OHupVtvkQoFAl4/GCMCGwwFCQHhM4AACgkQ9OHupVtvkQrSkw/+LfC58L1Zfry5G8AJ6U37 7+YkPagza9IRZr9PGceNV+uTOhWORwb56rlN77R+SzbZr+LzxCF4LhPbeyQLzDQtpVlPU/Ji /UKnp4S2XeyBeFx6TLEAOJBMTmz9fBZ+vUZH1qxlneVrfrjuY1A5Eg/e2f/HBUux+Razq3so RwScjSBIsUe76wLpmZOo6pK28DT9HDTtP6BWXW5LnIf55BFoI+AcUFZWr3f8tb/X2uDfZnwY J989lX3c3Q/fKi13+WAD49sh9E6dH7H6V5eiYAk7sRaJXXLgejrO/hKHvlMaTI4URsG+C0CD eYkTrblupTcyTw2O++/NzZ51Q4JF2rmk3nw8sqpTEWx0mHXHcMXPS1hGxmF6oBr7isPn+unr FYS2RXnfphr1HMTsiuSQA2rF1/yRo+BLhfETITrt2cpisN0zQ3J8e7BavBoeOjUqx/ewSewA Ey6vlhrBXJuG6uVIJP/dXbGVvWQf13Gq3Vj1FHHHVffOz+mC3SwDxj7dOIVe6/aBMZO3nKpT p241Vc9Zl/XrswvOWoj5XtEGBiBh/BLWM+CVj/xe5uDiTM1klrW6Gf0bHurYiSbv6BjtLRrQ T2COMJaykOUv4Eiicx3nwUsRxh/O0FbLhWy6sk29Z/ch7Sn028WT72xaiDXWzEKi7Ep2XA2h 0utgbPlWVtl3QD8= Subject: Re: How to resize NTFS disk partition in freebsd? Message-ID: <49f51164-f10e-e666-cf01-0d8e889d06bd@gmail.com> Date: Mon, 4 May 2020 18:55:21 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200504173637.aed317fe.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1g0SroSY5qqIquQXKRkdqkQ7ieBIFranc" X-Rspamd-Queue-Id: 49G6rg3tQjz4McL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xgibg80r; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of goksinakdeniz@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=goksinakdeniz@gmail.com X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[goksin.akdeniz@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FREEMAIL_REPLYTO(0.00)[gmail.com]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[234.100.133.24.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.27), ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 15:55:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1g0SroSY5qqIquQXKRkdqkQ7ieBIFranc Content-Type: multipart/mixed; boundary="vzERO1XwdolnDEqWwuhMTIYGdFDV3S21L"; protected-headers="v1" From: =?UTF-8?Q?G=c3=b6k=c5=9fin_Akdeniz?= Reply-To: goksin.akdeniz@gmail.com To: freebsd-questions@freebsd.org Message-ID: <49f51164-f10e-e666-cf01-0d8e889d06bd@gmail.com> Subject: Re: How to resize NTFS disk partition in freebsd? References: <3456081588603934@myt5-094cfe5c1616.qloud-c.yandex.net> <20200504173637.aed317fe.freebsd@edvax.de> In-Reply-To: <20200504173637.aed317fe.freebsd@edvax.de> --vzERO1XwdolnDEqWwuhMTIYGdFDV3S21L Content-Type: text/plain; charset=utf-8 Content-Language: tr Content-Transfer-Encoding: quoted-printable 4.05.2020 18:36 tarihinde Polytropon yazd=C4=B1: > On Mon, 04 May 2020 20:52:14 +0600, Nikita Stepanov wrote: >=20 > For resizing NTFS partitions, I suggest taking a look at GPartEd. > There is a live CD / USB image that you can boot from, and use > that to resize the partition. FreeBSD's tools, such as gpart and > traditional fdisk, are not really the right tools for this task, > even though it _might_ be possible to still use them. Resizing > non-BSD partitions with a BSD system is not entirely impossible, > but you should use a better tool if it is available. >=20 Yes a tool exists. It is on Windows. I assume that partition is a part of a number of windows partitions or it may have a windows installation on it. Start windows to and goto administrative tools, run defrag tool. It will gather all files into one single block and free disk space. After that you can run disk managemnt tool and resize the partition. This tool is available on Windows 8.1 and 10. Here is a web page with screen shots. I have a non English install and may guide you wrong. https://www.howtogeek.com/101862/how-to-manage-partitions-on-windows-with= out-downloading-any-other-software/ --=20 https://www.goksinakdeniz.net/p/genel-gpg-anahtarm.html --vzERO1XwdolnDEqWwuhMTIYGdFDV3S21L-- --1g0SroSY5qqIquQXKRkdqkQ7ieBIFranc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE0z4nkxf6AKy0OOBA9OHupVtvkQoFAl6wOu0ACgkQ9OHupVtv kQpZ8A/5ASRGjidT4FmVY6j1jh8woifxvsB/XIIld24w1ahMfmsi9wJBRSxC1X/W lCobSMO0JgwzOmJlAPB0zBZS1pOm8dF/a6XRmxLXR3eyKLKBTAuVfcmZ5JBF1Rwe P45vmJ8gYlxpWdx0hxK3sMQAmvb4IjJ30LR8StPIViepKI/w1Wt9AocgmO1OX/N0 UYWL3HH4m4i6Ba8HQ/YH3pLpQDru1Vs8dmmBw8LVKl2M0J0Q3wndapOAoA/kv4xU nNDl2G97UE3zJrblSNrYHQ/ITqK4mHDpJ4tqDjUappEkXid+zxf4s+U2sKPlo+rb 6IlVTWDFMges/NA8cO3JsDeqOF52+Ab4nqsWyyur+K1OYQZxy4RFNrFncb4TcIbN L2zI9HJf+4i1IEZeEhniw59tKjtyDQww93IEO8S+bx1j/8YtnD5kC8YFvCcM7S+k MGjMPfSjvJME2EpS0wpY4bLIdkOKMXeQl6jFrPFbx6SEboR4EjO54npXvZ5nGIz4 dxxoSKFtRLuU4v8MV4k3kCk5/CyKexzB6MR/j5qn491o+j5MDEPkhw4RoYJXpH4Z OQvZ/BXJQ1A7aIFF0/sy8N+q11YY+N99Lx3lFL8cAp2ReKH0Nx2PaPXsRmKGGxgv N5uJwr45U6mgKwlmq7u6pVxvsYq5Houhp36mSHrL+8kQ6WU3zOc= =KBPF -----END PGP SIGNATURE----- --1g0SroSY5qqIquQXKRkdqkQ7ieBIFranc-- From owner-freebsd-questions@freebsd.org Mon May 4 19:11:01 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3CDC2D787F for ; Mon, 4 May 2020 19:11:01 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GCBF057Yz4byj for ; Mon, 4 May 2020 19:11:00 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 49GCBD2d00z1XDM for ; Mon, 4 May 2020 15:11:00 -0400 (EDT) Subject: Re: Brother HL-L2340D printer and lpd? To: freebsd-questions@freebsd.org References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> From: Kurt Hackenberg Message-ID: <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> Date: Mon, 4 May 2020 15:10:58 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200504085053.9bcf8d9d.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GCBF057Yz4byj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-4.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[89.1.84.166.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[89.1.84.166.list.dnswl.org : 127.0.5.2]; DMARC_NA(0.00)[panix.com]; IP_SCORE(-3.37)[ip: (-9.44), ipnet: 166.84.0.0/16(-4.08), asn: 2033(-3.27), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2020 19:11:01 -0000 On 2020-05-04 02:50, Polytropon wrote: > However, it's really scary that a printer like the one mentioned > here does not seem to understand ASCII text, even though it > supports PCL standard (as shown on the specification page). PCL was originally ASCII with proprietary escape sequences mixed in, but that spec page says that printer understands PCL 6, which apparently is a stack-based graphics language like PostScript, except binary. It's supposed to include backward compatibility with PCL 5, but doesn't always. So possibly what that printer understands has nothing to do with ASCII. https://en.wikipedia.org/wiki/Printer_Command_Language I don't like it either, but there is heavy pressure to hold down the cost of printers. From owner-freebsd-questions@freebsd.org Tue May 5 01:39:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 513552C9E13 for ; Tue, 5 May 2020 01:39:37 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2083.outbound.protection.outlook.com [40.92.41.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GMpc0Gqnz45cD for ; Tue, 5 May 2020 01:39:35 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N48X/Jt2tZsA0cP1FulfIrQVzxvVPe9omYrhNt8B9PXjficU2QLXFPFZTP2G5u4OaWlLT9lEidlEsFeqpmdTLleYX/rLhR2WWfNr0On1hcijlUfVEaiVoxGtINd375qUy+O7yCVeK8it00ScxV8hbs4uLNUxQYE2J5xo0zS1HEFSmrnj6D7+RJJoKKUTopUb60Tp6/zda5LvgCw7kf7N6BXlxFO7HHJOcj0/eGxldAXhZPVeSj40e3io/WH96BO8F3RkfGqw/Sw2tO20iI+AXY+Obxuy0CQYnCL3YzpZw7mcWskhEywCwqMAa9eUhPxQX9EowhYoTs5ZzEZMCnjsqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=54+EaAodmM9vnTDrlZAuOQhDjvBo67lS5dKUXWC1Ajc=; b=LtS+DjK2PIzkDyuoYoe/6xtKP8YZ8tHZIGY5ndRubyFLug4eeBLSCLCcC/KVs8dymBuwaRQ5XHOhtmpNFWhIqKAOMi0WtaN5RNo/cVwYLU90cWuSuL/wBGkvicoE14iuDwAp7JzmX4Y9nuS12nLyPM4HRVtko+UtTCH73VqzvniFFvP5JHeJyBRUK9WbzL/YGnL2w5f1faaoZa4s+RtKHCxv9CmLHOxVuuz0tzpl2l0oneFF8GT5n7VTcNvnfDfxNRDp1EqTMpoJme5cyURGYyRZem4VCS6hMXdKr7glEujRVkejvLoKBbm++HB25+OOEJAXaHeMRRDb7VmfyPmP5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=54+EaAodmM9vnTDrlZAuOQhDjvBo67lS5dKUXWC1Ajc=; b=moLyOWcZEv1pkB/tsCPYhLUKS+7Byl/Qya6alwQOMGLjXZa426G5skUt5PomPn891RGYoYEjqmD4S+WxMAMX6vGko/XKf7XlpQmlZe07X6qLs5XVuh/9xYtYClqn7THOTtUnFIcPfGzXrjSVZpFzBReNZtFK265yhJIM2MFQ1YDGMa8C3ETWaLcq00oepKOe6iQy301wwfbsI/P68Y77uIeGS81m2EVMIcqxzxnxEYG/OIIuoMzG1qKcN9j4+xaEWegIQDhm1j7k8M4C6cfJ6mhi9QeovcJGptdMg69hxTCN3u9xKCsus/d7xek0TQaK6lOEQZEql+O2VFOFAy0Rnw== Received: from MW2NAM10FT010.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::4f) by MW2NAM10HT234.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Tue, 5 May 2020 01:39:34 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e87::48) by MW2NAM10FT010.mail.protection.outlook.com (2a01:111:e400:7e87::391) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Tue, 5 May 2020 01:39:34 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2958.030; Tue, 5 May 2020 01:39:34 +0000 From: Brandon helsley To: "freebsd-questions@freebsd.org" Subject: Networking Routing Firewalling Thread-Topic: Networking Routing Firewalling Thread-Index: AQHWInxk1mlu0GWmyEWxNsQxsUO6Ng== Date: Tue, 5 May 2020 01:39:34 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:92E1F8B31A99D2846FD7DE5A8A03A3458B32B5C068EEE5D40A401EA57DF00106; UpperCasedChecksum:80D31FD877671704CBD6B07D9A59CE875F56FBF335397FD4C5F7C9A661EAE00E; SizeAsReceived:6683; Count:42 x-tmn: [HqeZWm0rH/ObErvfauICEb2ZetvRtgED] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 1f9655be-0923-4459-dc72-08d7f0952a39 x-ms-traffictypediagnostic: MW2NAM10HT234: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uA8i68KRo6l5z+oIkQZqcrUGFAM/ASj5eEl5ls4FyBDB2F4DdjBlvclfan2V6LsJ6F0bfLguxS4cZoorg8LLbKKYi6J4Mu3dYAkifrgqV+OsEsX5wKM/m0OvYuRe3S8bfYhGU7GnJDOeRFi2EPjtmPT6Tzd7959H/tzU5qCreHLoTHeyAyvmDBIjOB509l9F/WjWG1kchXMqBECsS76ulRCxfRr+HquPxA25k2FjxDFVdo3DFXN/F+cpVuJxxVsC x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: mDY8apmmnmqUNYz+4gOjxJV+tX3By/omzBbrM3+dVOED+267HPe2LQMY27Yv7AH6qcnn2UFR6fhJzkadjSL67KxIEcwLoZArYuPchLKrlhHrIyb4F0HlLAcW6En0EpCWNzFkNsO20xPYGd/ZGmqXdQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 1f9655be-0923-4459-dc72-08d7f0952a39 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 01:39:34.4693 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM10HT234 X-Rspamd-Queue-Id: 49GMpc0Gqnz45cD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=moLyOWcZ; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.41.83 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; MIME_TRACE(0.00)[0:+,1:+,2:~]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[83.41.92.40.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.72), asn: 8075(-3.22), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[83.41.92.40.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 01:39:37 -0000 I don't always get a response but while I'm getting a little more familiar = with networking and jails, especially from absolute freebsd and these maili= ng lists I thought I would ask a few questions. First of all, what are some beginner networking tasks I could complete whil= e getting familiar? Second, if I'm only using one network interface card at a time, are there s= till networking tasks I can complete and build a stronger connection to the= internet with? Third, if learning to use ping and route but don't quite undserstand it's a= pplication yet. If I set up dns and dhcp can I set up a third ip that's ipv= 6 for the hell of it? Sent from Outlook Mobile From owner-freebsd-questions@freebsd.org Tue May 5 05:12:22 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E38FE2D6FDE for ; Tue, 5 May 2020 05:12:22 +0000 (UTC) (envelope-from quantafac@ubiquitous.ninja) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 49GSX55n3Sz4KK0 for ; Tue, 5 May 2020 05:12:21 +0000 (UTC) (envelope-from quantafac@ubiquitous.ninja) X-Originating-IP: 75.111.230.228 Received: from [10.0.0.62] (75-111-230-228.lbbkcmtk04.res.dyn.suddenlink.net [75.111.230.228]) (Authenticated sender: steven@ubiquitous.ninja) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id DDE7920002; Tue, 5 May 2020 05:12:18 +0000 (UTC) Subject: Re: Networking Routing Firewalling To: Brandon helsley , "freebsd-questions@freebsd.org" References: Reply-To: quantafac@ubiquitous.ninja From: Quantafac Organization: Ubiquitous Ninja Message-ID: <1d54d723-493c-4dd5-6866-e0146829ecdc@ubiquitous.ninja> Date: Tue, 5 May 2020 00:12:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GSX55n3Sz4KK0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of quantafac@ubiquitous.ninja designates 217.70.183.200 as permitted sender) smtp.mailfrom=quantafac@ubiquitous.ninja X-Spamd-Result: default: False [-2.19 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[quantafac@ubiquitous.ninja]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:217.70.183.192/28:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RBL_MAILSPIKE_BAD(1.00)[200.183.70.217.rep.mailspike.net : 127.0.0.12]; FREEMAIL_TO(0.00)[hotmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[200.183.70.217.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[228.230.111.75.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ubiquitous.ninja]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.09)[ip: (-2.57), ipnet: 217.70.176.0/20(-1.59), asn: 29169(-1.28), country: FR(-0.00)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 05:12:23 -0000 Brandon, Yes there are networking tasks that you can learn with a single interface. * You can setup virtual networks using jails using manual addressing to play with different configurations to better understand what each setting does. Try to ping your different jails to see if you set it up properly and it acts as you expect. * Sub-netting * Routing * Telnet * SSH ping is used to verify that basic network connectivity exists with your target. It essentially verifies that there is a path to get there and how long it took. It is usually the first tool in troubleshooting a network connection. Can it ping? Are you losing any pings? Are the ping times high? traceroute shows you the route ping takes to get to it's target. If you lose connection to a device you want to make sure the path to get to it is good and hopefully find where it is getting dropped so you know where to start looking. route is used to modify the network path (route) that is taken to reach any particular network (most often the internet) or target system. netstat -r will show you your systems current routing table configuration. Not sure what you mean on your last question. DNS is not an IP but is a service that holds records that point to IPs or other names/aliases. You can have an IPv4 and an IPv6 address active on the same interface. You can actually have multiple IPs of either type setup on a single interface if you want. I would recommend you understand the basics of networking first. IPs, subnets, gateways, routes and what they do. This is an in depth guide on TCP/IP it will tell you more than you might ever want to know about the protocols. http://tcpipguide.com/free/index.htm An entertaining intro to IPv6 networking https://www.networkingwithfish.com/understanding-ipv6-the-journey-begins/ I like Eli the Computer Guy on Youtube. He has a pretty good intro to networking here. https://www.youtube.com/watch?v=rL8RSFQG8do&t=1369s --- Thanks, Steven On 5/4/20 8:39 PM, Brandon helsley wrote: > I don't always get a response but while I'm getting a little more familiar with networking and jails, especially from absolute freebsd and these mailing lists I thought I would ask a few questions. > > First of all, what are some beginner networking tasks I could complete while getting familiar? > > Second, if I'm only using one network interface card at a time, are there still networking tasks I can complete and build a stronger connection to the internet with? > > Third, if learning to use ping and route but don't quite undserstand it's application yet. If I set up dns and dhcp can I set up a third ip that's ipv6 for the hell of it? > > Sent from Outlook Mobile > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue May 5 05:40:00 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D42BF2D7AA2 for ; Tue, 5 May 2020 05:40:00 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GT800N8Wz4LXX for ; Tue, 5 May 2020 05:39:59 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x143.google.com with SMTP id m5so1128496ilj.10 for ; Mon, 04 May 2020 22:39:59 -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=0/H3W7nz1194VppBLWR+j6JM8kYBc7zjbCUbTF3os7Y=; b=RtEuXbtjyJTTZvAeEJajlSXPAtt4W+2TgK4Jy7nbtmdg/PJhgWtY6lGDnJngPR1Hdp 5nuDZFOGBXHGI+zz7WZ1l12kZnLLvFGndluQzykWEKIrHjxGw+ePiUWdTy0N5GiLtDur gcZgMaquo7wzCuM2FGvtO0zTUhIsifP04Qw3RMcNSonnXFeDxq3lRc1BkMElvydLXPLf aLQ8lmG8Fblp1ExRO4+oZ1RnLy0FpIclfF5w/Kw0XfAqTGHM65zO+3PmE0PEnUodBZFE vgeC9H61IQYLrXZZ/C/FUlD9ButGJdSxjqSyDwBZlMaNlMOW7uz78Tzhkz+I/1WdxF4O l87A== 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=0/H3W7nz1194VppBLWR+j6JM8kYBc7zjbCUbTF3os7Y=; b=O6PCYg+S3RT/4God4tv9jtHyUfPpKZ3jTzxi0kZb8QYllhevoMPY1pGBzTVAPpwlp+ Gfae9eczEbk7Ewwu3GJp1wvpetHFlNr2j6wSycsC1ozmt0dZYZzF50V9W+nhDZPfbQ9y 1qrCQWyt8akPviSL6UN8EmwychAnVlghIfpURlfWvOt2caybc2w5gKziWe2j1B+KR8/z PmCw2TBvpahUtYE20C32KVYPUwnJFaRN8tA8SGrZtUgLdzCKL1Cc9S8KQKD+wRI8Rx7r GCzeucIko+p5UcHcvYulHDhQY6UCNS8FGk72cUL2UW5msNUqFleOQ6sgjbvFVIVzffIO Bqzg== X-Gm-Message-State: AGi0PuaTGXrQEyQFmBoR+WmuAEtz+e98fBqAZ560rYVBKDWorgk++O3R YcclmDJX3X+h1R9OKht/9BKQIwa9AvU2V0UMvC7BDwop4ouliQ== X-Google-Smtp-Source: APiQypLH5JsVb7GaqAqdtH79b8V2LP1sE0QP9PvV0BuBzE7Uv14vyz1fOdDXcH7o22rJZXx2LmPIvqi4wlEuS060p+A= X-Received: by 2002:a92:750b:: with SMTP id q11mr2074399ilc.50.1588657198555; Mon, 04 May 2020 22:39:58 -0700 (PDT) MIME-Version: 1.0 From: Michael Schuster Date: Tue, 5 May 2020 07:39:47 +0200 Message-ID: Subject: missing X11 mouse cursor w. FreeBSD 12.1 (GhostBSD 20.03) To: freeBSD Mailing List X-Rspamd-Queue-Id: 49GT800N8Wz4LXX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=RtEuXbtj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::143 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (0.18), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 05:40:00 -0000 Hi, I have an ancient Lenovo T60(p?) with a radeon graphics adapter (ATI Mobility FireGL V5250) that I installed the latest build of GhostBSD (20.03, uses FreeBSD 12.1-STABLE) on. With the radeon driver (xf86-video-amdgpu-19.1.0_1), display resolution seems right, but the mouse cursor isn't visible. In /var/log/messages, I see tons of "error: [drm:pid2974:radeon_crtc_cursor_move] *ERROR* radeon_crtc_cursor_move: x(-1) < 0" messages (w/o newline, in case that matters). I installed drm-fbsd12.0-kmod-4.16.g20200221, which did the trick once (but that installation had to be removed after an update that caused a kernel crash at boot); this time round, it doesn't seem to be working, so this may be a necessary but not sufficient element. from rc.conf: kld_list="linux linux64 cuse /boot/modules/radeonkms.ko" I've done quite a bit of searching, so far w/o success ... Does anyone have suggestions for me how to get the cursor back? I'd really like to stick to BSD (ZFS alone is worth the effort, and if I get boot environments sorted out too, so much the better!) ... TIA Michael -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' From owner-freebsd-questions@freebsd.org Tue May 5 05:44:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1CDB62D7E78 for ; Tue, 5 May 2020 05:44:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GTFR1ShLz4Lwd for ; Tue, 5 May 2020 05:44:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd2e.google.com with SMTP id z2so699351iol.11 for ; Mon, 04 May 2020 22:44:43 -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=u5fFkO0xxmVfVX+Jb/DXtD7uA8CmTMeZWRaBF9WPCkA=; b=PhIiEXJOLIW+G+i5P+8rHogVBq2v7SxmnD7hvb+NV8DmwsT2fOaa3GNGOchdXw/8gr LWVFSXtHCT56fKf6qFZRN7X+Hvda6ss1z+34Q5WVILhqQgLvFy7v385j3VpWAhLx3il/ KaMASJnsp3k+um7JAa66T62K8wjqkuIxCeBiVAps6VNOyexidnvu6nemNCpOjCEqkq4O x67pqWlXwaSEsgwqttvjl1wYvb/lOjipLiO6aNKNIHHeM7Bkx9d9jxYb1gGZUTawKTt2 DGfv924Trcd8FC26bO+GvCu7yar5YPfkFQ/T5cBGdV3ahl3leWA0hg6ge8Lw4bZjPUCL +Y2A== 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=u5fFkO0xxmVfVX+Jb/DXtD7uA8CmTMeZWRaBF9WPCkA=; b=FOd3D9MFq03SViDrTVVTT1/baMF/7Ty77DPRdO2qBlFNakd1bZjLbbPLdV8YDE/IrJ +Ve6ccCychW+4OEAq4Tr6j69dk4mpXOfnj1EBdMsAyGPfGhT3NVE393aM5mCb0Sz3yKJ DE3T3eJ09M5slIG+F6mhlG1s31PCsCSJC5OlEfD4ag0sN5lxvaCYnYMgj0cQpY7YLQWI SKOtFqdt5MPHyNlyDgmeoZ43jnUx0iyPkrmvW2oUqAStvD8UXPYq5GzTP43nvYbYwaLS L2qnfOm5zUboUY2zYPlQTcyExMCk8q7OBYSyCNo3xRdiTDTtnQJxpQUFXFisleoWJh6U SswA== X-Gm-Message-State: AGi0Pub2BH7/ZdhRMlPVKpIHb6JmW1Qj8lA7crZIj0Jvtoaxg4XC61ma wR4GgrhEP5xPFs1YHstjfMFP55QPAc5a1deWMK73vSGA X-Google-Smtp-Source: APiQypJu2yANfMNjC6rwzjWqDS6kdeyt94kX2xgFKC7mg3gzIR/SKz0WHZsaTidU1DGxsrHeJA8jBPe8ZVKU/F3xmnw= X-Received: by 2002:a5d:9c09:: with SMTP id 9mr1847624ioe.26.1588657482105; Mon, 04 May 2020 22:44:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aryeh Friedman Date: Tue, 5 May 2020 01:44:30 -0400 Message-ID: Subject: Re: Networking Routing Firewalling To: Brandon helsley Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 49GTFR1ShLz4Lwd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PhIiEXJO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d2e as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-6.15), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 05:44:44 -0000 On Mon, May 4, 2020 at 9:39 PM Brandon helsley wrote: > I don't always get a response but while I'm getting a little more familiar > with networking and jails, especially from absolute freebsd and these > mailing lists I thought I would ask a few questions. > > First of all, what are some beginner networking tasks I could complete > while getting familiar? > This is a advanced beginner project but might be a good goal to strive for since it will demostrate the full power of networking and segmenting your machine into several "machines". Note you should only do this if you have 4 or more cores, more then 4 GB of RAM and 100+ GB of disk available: Set up and configure the following virtual machines using byhve: File/Print/DNS server running FreeBSD A Linux machine that uses shared (with the server above) set of common home directories (via NFS) A Windows machine that has access the home directories on the server above (via CIFS/Samba) > Second, if I'm only using one network interface card at a time, are there > still networking tasks I can complete and build a stronger connection to > the internet with? > The above setup does just that. -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Tue May 5 06:50:53 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45A2D2D9FFF for ; Tue, 5 May 2020 06:50:53 +0000 (UTC) (envelope-from 4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@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-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GVjm2F9kz4Q89 for ; Tue, 5 May 2020 06:50:51 +0000 (UTC) (envelope-from 4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@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=1588661452; x=1591253452; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=8O5J4iaLmFVcn4iz+UoRgWKlXx5gz91liw3DU3lzGJs=; b=uZHsuUc9iZ2TZn0xfI8bZSgBh4Y2XptFD3ZPh63LEAb9y1/Evp9sG4s2dErxTiU53pK8CL4TPA+jvj2dX3B9Zd2vp9MlUqNyVlvBIdW5Y9gqnM8IXD7Yw/UM8txPg++GcNCb1Gu1HPI+pe4uFHQjrtdv2Rm5CI130Tm0hLs7QnE= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDRhZTA3NGUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 May 2020 02:50:42 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 May 2020 02:50:42 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jVrPc-000CXN-Pd for freebsd-questions@freebsd.org; Tue, 05 May 2020 07:50:40 +0100 Date: Tue, 5 May 2020 07:50:40 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Networking Routing Firewalling Message-Id: <20200505075040.76b1bd1da33be994bdc3eed9@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GVjm2F9kz4Q89 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=uZHsuUc9; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@email-od.com X-Spamd-Result: default: False [-1.66 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.02)[ip: (-0.21), ipnet: 142.0.176.0/22(0.30), asn: 7381(0.08), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c10004ae074e.609eaafdaa14da7a55f332c575e25c9f@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 06:50:53 -0000 On Tue, 5 May 2020 01:44:30 -0400 Aryeh Friedman wrote: > This is a advanced beginner project but might be a good goal to strive for > since it will demostrate the full power of networking and segmenting your > machine into several "machines". Note you should only do this if you > have 4 or more cores, more then 4 GB of RAM and 100+ GB of disk available: For a lighter alternative follow Quantafac's suggestion of building a network of jails - many years ago I simulated a complete two site system with two sets of database, middleware and web front end servers running at each site on a single machine and used it to test all the failover scenarios (including the cross coupled dual master failover database arrangement). It went into production as two physical machines at each site, each one running one copy of the stack in three jails. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue May 5 07:57:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A35E52DB651 for ; Tue, 5 May 2020 07:57:03 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GXB634f7z4Tl5 for ; Tue, 5 May 2020 07:57:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1M3D7V-1jYtFc3N3F-003gTn; Tue, 05 May 2020 09:56:57 +0200 Date: Tue, 5 May 2020 09:56:57 +0200 From: Polytropon To: Kurt Hackenberg Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200505095657.b436931b.freebsd@edvax.de> In-Reply-To: <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.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:g9376uV1obJC7ZI22sqHF1+QXjres87YGh8+6jEvRcT6o3vPKFt SkvbcFMONaS5BaKNWIPJOmuiDHicSxGFLJoIExPtQ/R5omkg74sXgF8Z+BemOmEu98bOZ4R BfNYoCt8RzCVzQyWdH+f/W0wNVfXtpadgwoQyQrsyqWa7Xb0V2I/O/znVvWdRjOctYwtA1V z+UPntJ8aZ5XJ9NJXiRog== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FjKn8dxRLwU=:RCqZFiF/Hf3vEFlLpPHSaG 3xmHUR7G6fe19zmodz5CknYwXzlp0KPMU+8VCv1f0IoFD8rx0QHWn2xwyIajJb6L5d6fbqG6R VIfc4cKY6wddswWtVxkmtNIabOs6CbOxYG1n32iln0VmR/qE6FKzGMv4y4waaxN6AR7IUEf4C 6x+m6IFlfdLrc9oFArZjoTd7+glnIP+bx8bS1s3CMiegO7MS6Lx521Y08tMbkNgxINqBnGej/ 9xpjPoWhNpWKvoQmYJ18nvdL1rscA5nGk995/u3UD5Ieq+YIiEjwfN1xPMCgdZGjEafdT/pTy HXSHE+zfTScyUFsfbLETsUw6bH9yvvdi31yIXtEnu9zVrnh+M72KsXt5z0PaDk6johbZnq6lK n6oSnQTZDvQRL7eED28nUvIdPLxZtDM51pl+8gBmmEwDAMWmpnHtI7vmaEzDFHNXqdeIVPyjT 4FccSajANH9Hcz/K4IbDAdisXFYk5FNU7gQKs1ulxGoH5x13y7BUM7X3Lefa2x+kKfKyd1bVV Hpi2xrMYzAmRrUEgegcReuE0inp77L4JMjfnQwyp6bsGXwkmLlcQBx8BkJMLxcf2HwwBYnQTC h5tC/0QnjcaScMi4hk9IvR+nSNJYIYhU0yI6xznkEBEiuY476BMckkTCBrj8uBdjXNtP7f7Be SiwV+j1ybLvgFyTS5JhJg5dCDZ7Qfq+rQepARJhEbPNzDIy7VZyxzD0nuedhaJ91+rYWeN5+B Wk+9uwY7cwVZ6/Ie2lwHnpIxDRm5iiaaKASBzXF6GioBUs9VdbO9IDez2IS7Q/LnfmSlZFY1s dIU5Sh8JEPNGtTlzq59jCpFw78CXiWQ9YqDd7xA5fx8JH8rRWlPS2GJ/3e9ETGPbu4rYG/g X-Rspamd-Queue-Id: 49GXB634f7z4Tl5 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[16.9.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.909,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.26)[ip: (0.47), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 07:57:03 -0000 On Mon, 4 May 2020 15:10:58 -0400, Kurt Hackenberg wrote: > On 2020-05-04 02:50, Polytropon wrote: > > > However, it's really scary that a printer like the one mentioned > > here does not seem to understand ASCII text, even though it > > supports PCL standard (as shown on the specification page). > > > PCL was originally ASCII with proprietary escape sequences mixed in, but > that spec page says that printer understands PCL 6, which apparently is > a stack-based graphics language like PostScript, except binary. It's > supposed to include backward compatibility with PCL 5, but doesn't > always. So possibly what that printer understands has nothing to do with > ASCII. > > https://en.wikipedia.org/wiki/Printer_Command_Language > > I don't like it either, but there is heavy pressure to hold down the > cost of printers. Thank you, that is an important note! PCL backward compatibility might be the reason why the printer accepts PCL intended for a Laserjet 4 (I don't know, maybe PCL 3?), but doesn't actually print anything. So the printer filter will have to explicitely output PCL 6. That could be achieved using a different output device for gs, or using CUPS in combination with the PPD file provided by Brother. This of course brings you all the "joy" of using CUPS... ;-) Maybe this thread can also help: https://lists.freebsd.org/pipermail/freebsd-questions/2017-July/277994.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 08:43:06 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20A742DC9CD for ; Tue, 5 May 2020 08:43:06 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49GYCF0T1nz4Xpm for ; Tue, 5 May 2020 08:43:04 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 6CDC810276A for ; Tue, 5 May 2020 10:42:57 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id snkeCaT4Km48 for ; Tue, 5 May 2020 10:42:56 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id BF70A102769 for ; Tue, 5 May 2020 10:42:56 +0200 (CEST) From: Christoph Kukulies Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: g_vfs_done() ada2p1 error = 5 Message-Id: <2ED6F7F2-0F70-49F0-AF9F-E6E4CE11B2C3@kukulies.org> Date: Tue, 5 May 2020 10:42:56 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49GYCF0T1nz4Xpm X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [1.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.742,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.53)[0.530,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.96), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 08:43:06 -0000 I have a GPT partitioned SSD here which was serving as a boot volume of = my previously installed FreeBSD 8.0 and now, as I have 12.1 installed and booting from that I = have mounted this SD into=20 my running system. In my system log I=E2=80=99m seeing the following error message (and = when I try to mount that partition, I=E2=80=99m getting an INPUT/OUTPUT error also): g_vfs_done():ada2p1[READ(offest=3D262144, length=3D8192)]error =3D 5 ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 ada2: ACS-2 ATA SATA 3.x device ada2: Serial Number S1D5NSAD779704E ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 114473MB (234441648 512 byte sectors) ada2: quirks=3D0x3<4K,NCQ_TRIM_BROKEN> $ gpart list ada2 Geom name: ada2 modified: false state: OK fwheads: 16 fwsectors: 63 last: 234441614 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada2p1 Mediasize: 65536 (64K) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 1024 Mode: r0w0e0 efimedia: HD(1,GPT,8d4f6bbc-XXXX-XXXX-9255-0025238adc5e,0x22,0x80) rawuuid: 8d4f6bbc-XXXX-XXXX-9255-0025238adc5e rawtype: 83bd6b9d-XXXX-XXXX-be0b-001560b84f0f label: (null) length: 65536 offset: 17408 type: freebsd-boot index: 1 end: 161 start: 34 2. Name: ada2p2 Mediasize: 114890309632 (107G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 1024 Mode: r1w1e1 efimedia: = HD(2,GPT,8d50616c-XXXX-XXXX-9255-0025238adc5e,0xa2,0xd5fff80) rawuuid: 8d50616c-88db-XXXX-XXXX-0025228adc5e rawtype: 516e7cb6-XXXX-XXXX-8ff8-00022d09712b label: (null) length: 114890309632 offset: 82944 type: freebsd-ufs index: 2 end: 224395297 start: 162 3. Name: ada2p3 Mediasize: 4294967296 (4.0G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 1024 Mode: r0w0e0 efimedia: = HD(3,GPT,8d526158-XXXX-XXXX-9255-0025228adc5e,0xd600022,0x800000) rawuuid: 8d526158-88db-XXXX-XXXX-0025228adc5e rawtype: 516e7cb5-XXXX-XXXX-8ff8-00022d09712b label: (null) length: 4294967296 offset: 114890392576 type: freebsd-swap index: 3 end: 232783905 start: 224395298 Consumers: 1. Name: ada2 Mediasize: 120034123776 (112G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r1w1e2 $=20 What does this error message mean? How do I get rid of it? =E2=80=94 Christoph From owner-freebsd-questions@freebsd.org Tue May 5 08:50:36 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 47A462DCC0D for ; Tue, 5 May 2020 08:50:36 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GYMv0lwVz4Y5h for ; Tue, 5 May 2020 08:50:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MdeSn-1iwYX2246D-00ZjXi; Tue, 05 May 2020 10:50:33 +0200 Date: Tue, 5 May 2020 10:50:33 +0200 From: Polytropon To: Christoph Kukulies Cc: freebsd-questions@freebsd.org Subject: Re: g_vfs_done() ada2p1 error = 5 Message-Id: <20200505105033.ff69a110.freebsd@edvax.de> In-Reply-To: <2ED6F7F2-0F70-49F0-AF9F-E6E4CE11B2C3@kukulies.org> References: <2ED6F7F2-0F70-49F0-AF9F-E6E4CE11B2C3@kukulies.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=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:66pbVkILnTnAdlDa1WzsyCvtqyJb812Vq4IjGOd3yNif/fzPvZu tm2tMQ+o6CYRuUBHkrFPM7RvOIC6lvSjJHv8I66qsw42QAlhA7vC5OxyXF8xZz3ZWbF+aDe 23LrkL516VMMlbS7hoFkKm+IZLWA1ynLYNKsr0bDZobcaZVSPY7N7cQI6yz/MQdbgaffYaL uTPtAZE2kc/fiO31H7IWQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3SUJnNC2Gq8=:Xc1jEKCq9GKnKboAmVp6aA ZqwQFZJ+v5X/TKPREVWBIcBTxS5enuAac569pELYxTeWwMrEsqmS/WKwm0hu0GSdIOU+211iq E8Kh206ZPkKHkkMoKmOoc3IEkN1Jk1dKXZLDIqaJTn6J5JKCdwDNJ41kg2ISrOYKkUd5NRJwQ SZMsY105cJhxvRqrLouaZ/iXlfYb87OkCs5ukXm6zTZ4H76cGK+he0MxpuQhLA0z7hw64n/F0 DrWUIfufxy78MlNFHOPdEkbxTISqt3hUDta0Hs9KMna2gUFkiXiye2wwrnDY9vyqqwUVwrWBk 1tJagxyiIy1QQ+i3mbAThXKiGmNySGo6s06URPhFodfRfc/NtFgFIp5J+fgVLoJOgGPHi+SeR zOyNgnHmy1Gw9EQ79LrOfnXV1i6RQTj5SmZN9pkUouZemcWEiXyIfuc2z8rPnS4chEpYsLGT3 inQWqvbJrATDq5G8oYd/GMJwpKrRUJAYWuU+vyYcaPjU0/xJhwny5k3SfRZOjzA22rrg7eElQ xRgOvZGZcFVpW+3A1U8xIpFUYxmU75h6rGCnvfXA9rSgttDfpMTGmC4mVglbo1BtDF8Fosy5a 3DOCcs0TEwEU7+BcZJS4CbbAIzL5BM0Bi17vAmBpAz6bs7AjmOYLgDOouXzzlfuVKSV/ZAR9H mcWg+e05Pwio358Jj5vYfGZQVgOB5pGqSz+qDuzWLn1rpOWX0GOGB1t+xv/zsgGNxu7wX4NqC kuYiPFgXpIDQa/wjbPJ5o+ugy3BmUCiPC8kvE7KyLLIYg73C55Epd2Cdt9eWwE8u1qVg7KRPl Y70kc4NZTikcTTS8Yqv2o6Zu/7x2YezaC/KST0rvcIRZoJKW0ElLeQ29q7d0yo87ccgEbmE X-Rspamd-Queue-Id: 49GYMv0lwVz4Y5h X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[16.9.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.27)[0.275,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.978,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.26)[ip: (0.47), ipnet: 212.227.0.0/16(-1.20), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 08:50:36 -0000 On Tue, 5 May 2020 10:42:56 +0200, Christoph Kukulies wrote: > I have a GPT partitioned SSD here which was serving as a boot > volume of my previously installed > FreeBSD 8.0 and now, as I have 12.1 installed and booting from > that I have mounted this SD into > my running system. > > In my system log I’m seeing the following error message (and when > I try to mount that partition, I’m getting an > INPUT/OUTPUT error also): > > g_vfs_done():ada2p1[READ(offest=262144, length=8192)]error = 5 > > ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 > [...] > > What does this error message mean? How do I get rid of it? Could it be that the SSD has reached the end of its lifetime? I've seen similar messages on regular hard disks which were about to die... Can you check the SSD with smartctl and see if there is something suspicious? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 09:17:18 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E0662DDEF2 for ; Tue, 5 May 2020 09:17:18 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49GYyh4Gmwz4b8Y for ; Tue, 5 May 2020 09:17:16 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id E3E9310276A; Tue, 5 May 2020 11:17:15 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90OWrG1h7IEk; Tue, 5 May 2020 11:17:15 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id 13535102769; Tue, 5 May 2020 11:17:15 +0200 (CEST) From: Christoph Kukulies Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: g_vfs_done() ada2p1 error = 5 Date: Tue, 5 May 2020 11:17:14 +0200 In-Reply-To: <20200505105033.ff69a110.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org To: Polytropon References: <2ED6F7F2-0F70-49F0-AF9F-E6E4CE11B2C3@kukulies.org> <20200505105033.ff69a110.freebsd@edvax.de> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49GYyh4Gmwz4b8Y X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [4.57 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[kukulies.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.79)[0.789,0]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.993,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.95), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:17:18 -0000 > Am 05.05.2020 um 10:50 schrieb Polytropon : >=20 > On Tue, 5 May 2020 10:42:56 +0200, Christoph Kukulies wrote: >> I have a GPT partitioned SSD here which was serving as a boot >> volume of my previously installed >> FreeBSD 8.0 and now, as I have 12.1 installed and booting from >> that I have mounted this SD into=20 >> my running system. >>=20 >> In my system log I=E2=80=99m seeing the following error message (and = when >> I try to mount that partition, I=E2=80=99m getting an >> INPUT/OUTPUT error also): >>=20 >> g_vfs_done():ada2p1[READ(offest=3D262144, length=3D8192)]error =3D 5 >>=20 >> ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 >> [...] >>=20 >> What does this error message mean? How do I get rid of it? >=20 > Could it be that the SSD has reached the end of its lifetime? Hope not. Was trusting that FreeBSD takes care of saving SSDs from = degrading over time. > I've seen similar messages on regular hard disks which were > about to die... Can you check the SSD with smartctl and see > if there is something suspicious? >=20 The output of smartctl is overwhelming :) Happen to know what I should = look for? smartctl 7.1 2019-12-30 r5022 [FreeBSD 12.1-RELEASE amd64] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, = www.smartmontools.org =3D=3D=3D START OF INFORMATION SECTION =3D=3D=3D Model Family: Samsung based SSDs Device Model: Samsung SSD 840 EVO 120GB Serial Number: S1D5NSAD978704E LU WWN Device Id: 5 002538 8a002c09c Firmware Version: EXT0AB0Q User Capacity: 120,034,123,776 bytes [120 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Tue May 5 11:11:45 2020 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled =3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: = Disabled. Self-test execution status: ( 0) The previous self-test routine = completed without error or no self-test = has ever=20 been run. Total time to complete Offline=20 data collection: ( 4200) seconds. Offline data collection capabilities: (0x53) SMART execute Offline immediate. Auto Offline data collection = on/off support. Suspend Offline collection upon = new command. No Offline surface scan = supported. Self-test supported. No Conveyance Self-test = supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging = supported. Short self-test routine=20 recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 70) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control = supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE = UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always = - 0 9 Power_On_Hours 0x0032 091 091 000 Old_age Always = - 42753 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always = - 69 177 Wear_Leveling_Count 0x0013 099 099 000 Pre-fail Always = - 2 179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always = - 0 181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always = - 0 182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always = - 0 183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always = - 0 187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always = - 0 190 Airflow_Temperature_Cel 0x0032 073 057 000 Old_age Always = - 27 195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always = - 0 199 CRC_Error_Count 0x003e 100 100 000 Old_age Always = - 0 235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always = - 51 241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always = - 1078954976 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute = delay. >=20 >=20 > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, =E2=80=A6 =E2=80=94 Christoph From owner-freebsd-questions@freebsd.org Tue May 5 09:41:22 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B060F2DEEEC for ; Tue, 5 May 2020 09:41:22 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::606]) (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 49GZVT3GnXz4dj1 for ; Tue, 5 May 2020 09:41:21 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward103o.mail.yandex.net (Yandex) with ESMTP id B741F5F851AD for ; Tue, 5 May 2020 12:39:16 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback12j.mail.yandex.net (mxback/Yandex) with ESMTP id KXiPVhMG1g-dGtqgJhG; Tue, 05 May 2020 12:39:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.kz; s=mail; t=1588671556; bh=3GV4pk1VWK8sYp+Yavt9p//iVIygh+IV79r3J4opm4E=; h=Message-Id:Date:Subject:To:From; b=wQlcVZcA8KzxG5m9NMa969Ymx8AaxhIL7nG8l7oJ8pv0MfPeiERdENUSwKj7QzGWe Gk689MaXdfrKadHhXjFvTDveMrgVF1WE2OiCElsYZByQG6GTEU0HPZA/h4MJptzjeg dF1t70G7MVznU+1utVK9EgHdyXfcI8OJY6zm4SXg= Received: by myt2-8316c2cade1b.qloud-c.yandex.net with HTTP; Tue, 05 May 2020 12:39:16 +0300 From: Nikita Stepanov Envelope-From: nikitastepanov113@yandex.ru To: freebsd-questions@freebsd.org Subject: Does swap increase freebsd performance? X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 05 May 2020 15:39:16 +0600 Message-Id: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> X-Rspamd-Queue-Id: 49GZVT3GnXz4dj1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.kz header.s=mail header.b=wQlcVZcA; dmarc=pass (policy=none) header.from=yandex.kz; spf=pass (mx1.freebsd.org: domain of nikitastepanov113@yandex.kz designates 2a02:6b8:0:1a2d::606 as permitted sender) smtp.mailfrom=nikitastepanov113@yandex.kz X-Spamd-Result: default: False [-5.36 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.kz:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0:1000::/52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.66)[ip: (-9.66), ipnet: 2a02:6b8::/32(-4.77), asn: 13238(-3.85), country: RU(0.01)]; DKIM_TRACE(0.00)[yandex.kz:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.kz,none]; RCVD_IN_DNSWL_NONE(0.00)[6.0.6.0.0.0.0.0.0.0.0.0.0.0.0.0.d.2.a.1.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.0]; MIME_HTML_ONLY(0.20)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:~]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; RCVD_TLS_LAST(0.00)[] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:41:22 -0000 From owner-freebsd-questions@freebsd.org Tue May 5 09:47:40 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F22662DF272 for ; Tue, 5 May 2020 09:47:40 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GZdm1NThz4f4f for ; Tue, 5 May 2020 09:47:40 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x844.google.com with SMTP id i68so1402109qtb.5 for ; Tue, 05 May 2020 02:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=/FnuvKKUSfp1vwa10EXljbGjK03A8hlIGcxr/aEVaVo=; b=HOQJ+cUf7puv7rM4TAz1WaXb6OUOi45A7f3+/CLwF7TAorEvoFGeGmryd9rXBFvVO7 ry6I/jl4nGJ+BRY52lSq6Tp9d5s36C1/wF2s75HZz2IxUX9tid83b4aSQYauFjHntm7Q rGltjkAPobANZGW75pHgQcYNpNhD1a87Zj+6M= 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:reply-to:organization:mime-version; bh=/FnuvKKUSfp1vwa10EXljbGjK03A8hlIGcxr/aEVaVo=; b=IgIHBJmmIFwuYLWsVKWMCUEFQyx3qVKNU+ldHNs3ecyR/O5mIpw2+WS4/fLC4P1jFe 21sKH9u6g+N+qrb5MgdRG/TDuOfQ1grVNcD4tI7SjVPyC32V++F/nnVKngt0lg4+FETF +uJpi8wbC/2fu5/mTBAOAAB6g1HiTvwRDNNbQ/fvPBrZ2T64FPJNk2y45YxbFoYbx452 WaocwBjqEK+7RqRH6BXiyNbxn6aCETrYz7pAOxp2HFSrRJrVHryFhaZlFcWNhq91FHWg SMMG6fzR8XeAXEe+QKB2P6VpqawgC65naDd1er3iHL5K1fIgGFdgrsRQYyXrlwmgvQS4 o8oQ== X-Gm-Message-State: AGi0PuZaqxT1Kx4XXgQ82u6JPYm76ZcSoYa3RBxpjEzSCYUSP8Q0QPI0 ynUXz2lS/VDm/V5RHKZIdxTrDHfXVXg= X-Google-Smtp-Source: APiQypKsN36azx0sMVftLIMr9JLJyvcs4LGIRt+FjMlhs5ksLgeRp2VFGkMAoIjN4dbkjiGmtcOv+g== X-Received: by 2002:aed:3b75:: with SMTP id q50mr1678125qte.23.1588672059064; Tue, 05 May 2020 02:47:39 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id 10sm1462968qtp.4.2020.05.05.02.47.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 02:47:38 -0700 (PDT) Received: from localhost (hp-envy.seibercom.net [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 49GZdj0R9Fz1ZVv for ; Tue, 5 May 2020 05:47:37 -0400 (EDT) Date: Tue, 5 May 2020 05:47:29 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200505054729.00000035@seibercom.net> In-Reply-To: <20200505095657.b436931b.freebsd@edvax.de> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> <20200505095657.b436931b.freebsd@edvax.de> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/mHHMn6+I6KntCT8hx+=KKCm"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 49GZdm1NThz4f4f X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=HOQJ+cUf; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::844 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [1.25 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; REPLYTO_EQ_TO_ADDR(5.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.16)[ip: (0.02), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[4.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:47:41 -0000 --Sig_/mHHMn6+I6KntCT8hx+=KKCm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 5 May 2020 09:56:57 +0200, Polytropon commented: >On Mon, 4 May 2020 15:10:58 -0400, Kurt Hackenberg wrote: >> On 2020-05-04 02:50, Polytropon wrote: >> =20 >> > However, it's really scary that a printer like the one mentioned >> > here does not seem to understand ASCII text, even though it >> > supports PCL standard (as shown on the specification page). =20 >>=20 >>=20 >> PCL was originally ASCII with proprietary escape sequences mixed in, >> but that spec page says that printer understands PCL 6, which >> apparently is a stack-based graphics language like PostScript, >> except binary. It's supposed to include backward compatibility with >> PCL 5, but doesn't always. So possibly what that printer understands >> has nothing to do with ASCII. >>=20 >> https://en.wikipedia.org/wiki/Printer_Command_Language >>=20 >> I don't like it either, but there is heavy pressure to hold down the=20 >> cost of printers. =20 > >Thank you, that is an important note! PCL backward compatibility >might be the reason why the printer accepts PCL intended for a >Laserjet 4 (I don't know, maybe PCL 3?), but doesn't actually >print anything. So the printer filter will have to explicitely >output PCL 6. That could be achieved using a different output >device for gs, or using CUPS in combination with the PPD file >provided by Brother. This of course brings you all the "joy" >of using CUPS... ;-) > >Maybe this thread can also help: > >https://lists.freebsd.org/pipermail/freebsd-questions/2017-July/277994.html Poly, I know you are going to disagree with me here vehemently, but the problems expressed by the OP are one of the reasons I so detest 'printing' under FreeBSD. This is 2020, not 1820. There is absolutely no reason that a user should have to go through all this effort required to print, or FAX, or Scan or Copy a document. I have used Brother printers for years and generally like them far better than HP or other manufacturers, but that is a personal preference. In cases where 'Brother' does supply a PPD, I, unfortunately, have to use 'cups' to utilize that file. If there is no readily available PPD via Brother for a particular printer, I extract it from the 'printer driver' cd supplied by Brother for the device or download the driver from Brother and extract the PPD from it. Obviously, that requires a Windows machine. If you don't happen to have on handy, I am sure you must know a friend or two who does and is willing to help you out. In any case, this will only assist you with printing. All of the other functions that are readily available on a Windows machine are usually cloaked away from FreeBSD operators. Brother does supply some utilities for Linux and Debian, but not FreeBSD. I had a telephone conversation several years ago with a Brother technician. I asked him directly why they did not support FreeBSD more aggressively. He stated that he used Linux on his home machine. He went on to say that FreeBSD does not adhere to common standards. I assume he meant 'Linux' standards. He claimed that writing drivers for FreeBSD were not cost-effective since they would require constant maintenance and that the market share for FreeBSD did not justify the cost. He also claimed that ripping the PPD from a Windows driver was probably the best idea if Brother did not supply a PPD for the product. He also stated that Brother did supply PPD's for their better model printers. Of course, that doesn't help with the other functions. I know you are going to tell me that there are programs available that will allow faxing or scanning, but they are way more trouble than I am willing to put up with. Plus, they are usually separate programs that typically do not work well together. I have not seen any that would enable me to do a copy and attach it to email or convert to another format easily, if at all. The bottom line is 'time is money,' and I am not at all interested in writing a 'conf' or XML file to perform a function that I can already do on a Windows machine without any of the aggravation. Now with the advent of 'cloud printing,' I can see things only getting more perverse. In my opinion, the FOSS community has never put any real effort into creating an environment where 'printing' and the olla podrida of other functions that a modern printer can perform, are not considered of any real importance. I find it troublesome that the concept of "It should just work" has never entered the lexicon of so many users. --=20 Jerry --Sig_/mHHMn6+I6KntCT8hx+=KKCm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl6xNjEACgkQOHMGOIfe xWQZEwf9H14LVPerb6ZMVFaDG4mpiErPnS21kIBQBLgC936NvlMyls8hceBiD2gu Q2x1fp72XOwTvV/j2KkeguJ0/RWABgTSC3YSwKp/wL1KOGlQrj8Krl12igW/nxes 5fDT5umVnIhRt2lDd5nfXvLthVpVx0f4QQxGkS0nm41k7VDZgY/7I+joTU4jmYa7 BXU+Fw/8pc0/iXN2/3zS/WHRRJDXlCgbd2sDHbNL7bnKHd+uPfu5AVtoDEGLluNl XcP/t0HyRBsXoe6oO/kZ9nL5w5nv5j5HoeU6yJXJdR8Gbe3BrrkRiXmaGYRevBYI kPdsw0BR8dTFjjERTS6Ee615+J7CAQ== =NXsm -----END PGP SIGNATURE----- --Sig_/mHHMn6+I6KntCT8hx+=KKCm-- From owner-freebsd-questions@freebsd.org Tue May 5 09:53:59 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D0452DF6CE for ; Tue, 5 May 2020 09:53:59 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GZn22DDxz4fYv for ; Tue, 5 May 2020 09:53:58 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd2c.google.com with SMTP id 19so1281241ioz.10 for ; Tue, 05 May 2020 02:53:58 -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=d6oX72Uok+QlqtOi/DWzZx47gOLV+tDcUXs+bswNUKo=; b=tRtYAU5QXvZBJPxkJXj2q6DfrgMZ1K7Kb5q7K2zshvsVHiQQgoI3HK4/0fZjqDyjrm M/G/Svt9Eer0ZsQqZzP8etUWXxW+Ka+j2WarLA/WU0WnQfdIxeleiDMY8bBd7bOi9K1G g/GwguI5aFNvo1SP7gfQxJWsDmPm6SqAAz+1YxhlKdyLjx2QnA2c7GZQEfECQqyXbCFR vlLMR/2TNC2v+NX10JNPbug3kCQeKnpUT7veMI4Nbs5uNL60LEIWWlVPGr97shtIdxfW AOQvoiWCTwJmA8wwB9MuatTHZ3FjSuN2c5rnK6eCUqBqcbx2craSlN6VCqACwggHb5ik 74WA== 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=d6oX72Uok+QlqtOi/DWzZx47gOLV+tDcUXs+bswNUKo=; b=WPrr2VDoB25BNw+WcI2ky0OjIdaFDuOW9gcsYrCTVYI8G7vzs6L2cItfDalif777PB GGyixOQVJPTy4wnFFyZmIYnj4LF7YJqqgeWUyuk8nkaqWy5J6d+TDgACxHjhFvSHv2iE vX+uLz/URdDA0pBqdlRgDhR9XQivYIpbkSmxw7qJkS2tlWjuM0BrLievbg8vCovjFx18 mmd3WveecjLGo4sNSrl6ZZ/1ILmAQgRIB3jIxtTfPUSO1liGiPmjFY1D4DqEDbZEnZNI 9fAxhL2uG2xkTimE4er4xzRUonCm8x3W6MFkjT6C+LCNOgCaYLoiWtxyC+Uu+K7O/TxG ZWvQ== X-Gm-Message-State: AGi0PuZ0ed0DetaFCLI3/cHTrA1Jz2DRQP1o35FO7wnnQPEgcWJ2dxSx 5tkHuVpINVyJ2CXvEm9xXPWeG0vN4XD3779TP7M= X-Google-Smtp-Source: APiQypK0778w81svUi2+dkdTffOLwhNDJUDgoCVw2LIGqLMaIddimAlHErZlVcAbAJz+IrTSKIzLyCobfS6wA+eNULc= X-Received: by 2002:a5d:8986:: with SMTP id m6mr2503432iol.174.1588672436758; Tue, 05 May 2020 02:53:56 -0700 (PDT) MIME-Version: 1.0 References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> In-Reply-To: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> From: Aryeh Friedman Date: Tue, 5 May 2020 05:53:45 -0400 Message-ID: Subject: Re: Does swap increase freebsd performance? To: Nikita Stepanov Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 49GZn22DDxz4fYv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tRtYAU5Q; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d2c as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-6.35), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:53:59 -0000 Depends on what you mean by improve performance... if you mean raw speed then no it doesn't (it slows it down if you ever need to actually use the swap space)... if you mean the amount of "RAM" then yes it does On Tue, May 5, 2020 at 5:41 AM Nikita Stepanov wrote: > > _______________________________________________ > 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" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Tue May 5 09:56:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 72AE12DF7E3 for ; Tue, 5 May 2020 09:56:49 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.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 49GZrJ1Tdbz4fgd for ; Tue, 5 May 2020 09:56:47 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from mxback23g.mail.yandex.net (mxback23g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:323]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 03B994AC4040 for ; Tue, 5 May 2020 12:43:55 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback23g.mail.yandex.net (mxback/Yandex) with ESMTP id xghrgmBTER-hseK5PK3; Tue, 05 May 2020 12:43:54 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.kz; s=mail; t=1588671834; bh=kdmtqbv9RPATIKsBkwy2s3ia3xt0CRBoAkjHH5WeZYQ=; h=Message-Id:Date:Subject:To:From; b=BJr6T8h+2QCT1SYTWDuzjhMIzJ0msP6svdzBjTh1pGcH1nYyYCgTrIiQdoTWpiDWF Bivc3whl0i5LHIXSoaH4ii8bS3vzLUcLMwiePskQq3PTc4/taE0qPHU1JB4sOu/nQj HRkhhX1CVDd0T82Q/cnfMHiQcelspnD/LBe5MghY= Received: by sas1-55829ddbd171.qloud-c.yandex.net with HTTP; Tue, 05 May 2020 12:43:54 +0300 From: Nikita Stepanov Envelope-From: nikitastepanov113@yandex.ru To: freebsd-questions@freebsd.org Subject: Which version of freebsd Is faster: amd64 or i386? X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 05 May 2020 15:43:54 +0600 Message-Id: <4323681588671834@sas1-55829ddbd171.qloud-c.yandex.net> X-Rspamd-Queue-Id: 49GZrJ1Tdbz4fgd X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.kz header.s=mail header.b=BJr6T8h+; dmarc=pass (policy=none) header.from=yandex.kz; spf=pass (mx1.freebsd.org: domain of nikitastepanov113@yandex.kz designates 37.140.190.180 as permitted sender) smtp.mailfrom=nikitastepanov113@yandex.kz X-Spamd-Result: default: False [-5.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.kz:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.140.128.0/18:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-3.68)[ip: (-9.69), ipnet: 37.140.128.0/18(-4.88), asn: 13238(-3.85), country: RU(0.01)]; DKIM_TRACE(0.00)[yandex.kz:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.kz,none]; RCVD_IN_DNSWL_NONE(0.00)[180.190.140.37.list.dnswl.org : 127.0.5.0]; MIME_HTML_ONLY(0.20)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13238, ipnet:37.140.128.0/18, country:RU]; SUBJECT_ENDS_QUESTION(1.00)[] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:56:49 -0000 From owner-freebsd-questions@freebsd.org Tue May 5 09:59:16 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1E942DF915 for ; Tue, 5 May 2020 09:59:16 +0000 (UTC) (envelope-from 4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@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-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GZv72sk6z4fn3 for ; Tue, 5 May 2020 09:59:15 +0000 (UTC) (envelope-from 4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@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=1588672755; x=1591264755; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=gVwQz5gxnPXHrKvd2bc28gwo2aRI+CxxlodZMbIwY1g=; b=VXfLoXbp5sjVwZFU12eMR6zCk3ce9yDd2Dkv87GHmceDfweVSswMFDL3xSA7Jp4/y3EIOqQzBzA+qDsF4FBjxM5GmeBg5yoRuK9soSHcWaRRMaaXKH0RriZIa9S+bSqCSpYZcdtqENGjQBN/LM3b94Wk4t4Gdrf62E7v4/tfQIk= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDRiMGE3ZmEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= 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); Tue, 5 May 2020 05:59:04 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 May 2020 05:59:03 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jVuLu-000DQD-1y; Tue, 05 May 2020 10:59:02 +0100 Date: Tue, 5 May 2020 10:59:01 +0100 From: Steve O'Hara-Smith To: Nikita Stepanov Cc: freebsd-questions@freebsd.org Subject: Re: Does swap increase freebsd performance? Message-Id: <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> In-Reply-To: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GZv72sk6z4fn3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=VXfLoXbp; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@email-od.com X-Spamd-Result: default: False [-0.62 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sohara.org]; NEURAL_HAM_LONG(-0.98)[-0.976,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; IP_SCORE(0.02)[ip: (-0.21), ipnet: 142.0.176.0/22(0.29), asn: 7381(0.08), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@email-od.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c10004b0a7fa.65bc3198ac22ebcef2b175f8f30e74c4@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 09:59:16 -0000 On Tue, 05 May 2020 15:39:16 +0600 Nikita Stepanov wrote: We seem to be getting a rash of bodyless messages with the question in the subject. Please type a body with your question even if it is a repeat of the subject. Swap can increase performance by making more of the memory available for active use. Many programs have memory allocated that is very rarely used or even only used at startup, pushing this out to swap frees physical memory for more active use such as caching. Whether this makes a difference to performance or not depends greatly on the workload, or more importantly the memory pressure the workload produces. If there is plenty of memory then swap won't help and there is overhead involved in writing pages out to swap so it will reduce performance very slightly. If there is just about enough memory then swap will make it more useful and increase performance. This 'sweet spot' is in reality often quite wide depending on the benefits of caching on workload and so forth. If there is insufficient memory then swap will keep things working but performance will suffer badly. This can be very important in the face of an unusual load spike. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue May 5 10:09:39 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 852CA2E0222 for ; Tue, 5 May 2020 10:09:39 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gb763DD4z3CYd for ; Tue, 5 May 2020 10:09:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1M1ZQT-1jYNDo3FWd-003287; Tue, 05 May 2020 12:09:35 +0200 Date: Tue, 5 May 2020 12:09:35 +0200 From: Polytropon To: Nikita Stepanov Cc: freebsd-questions@freebsd.org Subject: Re: Does swap increase freebsd performance? Message-Id: <20200505120935.4e1dbb6e.freebsd@edvax.de> In-Reply-To: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:KIBm7YWkWbmER0MleVNMNvzOUmTJDllSchwhcMbPx/NUA7ewR3j I22bcKKgvwQ0d7SAGvN96h5ct7V7JGdGPkTIgQsqigE7oPEbWenyKXw0p5IOi9mLCivruds nAU9sG5utcRT66DAB4aK72CJOzk7hcd5cbz9z2v3D97QN3Ip5mlSSHOYOvXl4Sh8gyllfal Br3AGZVvvHsy+Hn+xWZEg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:fhaMzr0D0+Y=:DzCTeiNatmpFWmLrLyyAZc ny+4VB9fcF8SjO0VteTBstXGgS19SsekO6dpkh9nkXEMrLGTBZZ67++78AxsUUBLs5+pIqNGD 5/sZFGviAlSnpUyrskBZA8L+zmrOSygQ4WqxLHW8W/Qu8jGpw+ZCgIRN7ivQJoDxx3kTvH30U J2Ge3JDsAeawRil5g2tWSkQHVjAig+nkuKz7aoSTx1WioDCsn3GH+vJDqlR5aNNSTSisP+HXF uNYZTzfGlo/MA/8YB/ZQXBkbR81xFyGUl0p5JK5UbHZlbs72lE/lEPzLWfbhd1RRP7ksD9CgL aQzUc7ZMFqtGI4uJIwd7+5tVbZuubuUNdHjSGOMfBVLJVtgoDqSOM2F3Hp5N6JBKxSJKjngu8 0uR9rMhOTiOfkUIcL4yWgmmCI8ta4HZwHPoGzyaXZS8OZA4qI2c19gyPI9c0RA0AhZBu52q1S TFCNUy5K/dWbAzR4w6pDWUnYgHR2NQVm7NwKhX3An+YirGrGzeiLbdOe7bbRGRBpOQumFHVgk H3MoPRykY1kMgoUyFiOgEmjekFO22gXScWteU2ke/0tOD6bE2yFOKWr2EGowChmhRZVNjMOY6 S4bR7HKt6T9d40P8HpgtKB+IzmFWJTqrt4ftKkg8Mqv8QQoHb+3fTkpZUYw3oQNsIQn0u/grG twSYQYjJwlqkowX0Of8uM9LRNT8xM78h8fZlsjA2skalfuoBLT8UVpCZCui0ic/xDRspgEHsS 0MMeVaXm9M41TiReLjZ+jVkwHnzw354lS/rsYiYAMQVvN7y2WepTlbmSdMaZ80ojXE3uGRMLA 7A6kDM3IrMQoQ7MTf9kqW7su7P/Q99n70ZA5okdT7JUp4ak4WtRDzJ49J/W8br96c8LVYxz X-Rspamd-Queue-Id: 49Gb763DD4z3CYd X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.76 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.42)[ip: (-0.19), ipnet: 217.72.192.0/20(0.29), asn: 8560(2.04), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.937,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[73.192.72.217.rep.mailspike.net : 127.0.0.19]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:09:39 -0000 On Tue, 05 May 2020 15:39:16 +0600, Nikita Stepanov wrote: > [nothing] Generally speaking, swap is only significant when the system runs out of RAM and needs to swap. It doesn't make anything faster or slower. Swap is disk I/O, which is slower than memory I/O, so when swap is being used, the system is slower, but still responsive - the opposite of being non-responsive and maybe crashing / blocking due to running out of memory. You _can_ understand the presence and use of swap as an increase of performance, compared to that alternative. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 10:12:31 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2FF42E061F for ; Tue, 5 May 2020 10:12:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GbBQ2gW0z3D97 for ; Tue, 5 May 2020 10:12:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1N8XDT-1j0zkr11CD-014SZU; Tue, 05 May 2020 12:12:28 +0200 Date: Tue, 5 May 2020 12:12:27 +0200 From: Polytropon To: Nikita Stepanov Cc: freebsd-questions@freebsd.org Subject: Re: Which version of freebsd Is faster: amd64 or i386? Message-Id: <20200505121227.82020fc8.freebsd@edvax.de> In-Reply-To: <4323681588671834@sas1-55829ddbd171.qloud-c.yandex.net> References: <4323681588671834@sas1-55829ddbd171.qloud-c.yandex.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:hzptdKFmtzETWMmfvCLyZOVexWUnMY5kCk4Xl3PGTZLMwTpF4Jq 8Cqu3TkwM77GohxwITe8chIBeZCyyKTtBdU0vyAoY84CChR0cUTiWSSoC9M3BVIdtUegDhv tOK5+W5EHlFLAlcMj2vu7NcUpOgLzMluGRjcvXAcLPHP2XRL3EjP5Kh7Ez3/AqsNzd+SHDX i9LS4lhyExY4seLtKWrAg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qxnMq3PGheY=:2v+5d/voaz7HidWJlb/rF3 DdrJcMVCTkgD2DAb7Xd8ZTrc2ksPrqg3ljwrL11gjlrA1XMa6X3QQJp0nA9oBOxGm5zpqNDLG Rk+jPu+h/cIeseriSnNtpbVb2GLA1CZlFeu16d9cjKSTGUNPAyqj8gfRGBnizTo2LKhwDKNCU +lkZ7gjYdPnc6/G8lmIT0G+xJSKyuhq2AhKSpd5ZyF2Ga3Qyk8+HKPT2jI3q6eRCgl6lRtj/z tXirYUFlQ3mO3QaLfCwYIpBSvlI+8Zap8GbpZiBWZkfwBswmZYKy6vBaF0QnUhIjWrKXVHgOA ooTX+OBlmcoYsi90//KvlzMFoMiKsq9WxBqYg2ugN+X1Zw9BMQLc8pQZF5E3v2qlbq0jbyJLg nfHgGeFkvnWOOWs7qC/5+RRmZOTSlgud7APTpz/qzGRJ2e4c0XkjN8AiNIIB2a19IISuHCyAQ S8ulC9x8rDiMKUxK8brQMvz8HAKkXYE3vX/zpYiervcdPAQgW/LdM0p2DPr4HtOj0l724/vgW cFENW65y6puTuLOKXFxC02mucVA2E3rPHmsXeZItGYqGbYO+dc0QuUMF3sdnjZPJLAJ963tKC yivgOa0m/OEdDGW6mqkAowCesL7QX/RB9mCRkz+Xr0gY4ZJfAObZOunN20ousIcaecF+/ifiS y1quBiGY/FATbu++qkEt023FC38omF1JUjo9E9NxLFAs3avhrDsvxj3YYWsAgPn2h1e9cF7pR mk4FUV5os4+qw7nZ1xNRbK9ONbGU8988uiH+ZrOcNruAig3NVg9r6MhnTpwA3jwXHGbCLKAH0 xg78H7f0whP2mB/DH+dS6qgpfATB07EL66l5eDepoCFov4Ban7PtFs4+fOb4xLbgs6fImjG X-Rspamd-Queue-Id: 49GbBQ2gW0z3D97 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[16.9.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.60)[0.596,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.995,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[13.17.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.08)[ip: (-0.41), ipnet: 212.227.0.0/16(-1.20), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:12:31 -0000 On Tue, 05 May 2020 15:43:54 +0600, Nikita Stepanov wrote: > [nothing] Depends. On a amd64-capable system, using i386 might be interesting because less RAM is needed; I don't know about execution speed of 32 bit code on a 64 bit CPU. If the system does not have more than approx. 4 GB, i386 won't reach the maximum amount of memory it can manage without PAE. So maybe on older 64 bit system it might actually be an advantage to use i386, as long as you don't need any specific software that's only available on amd64. On a i386-capable system, amd64 of course won't even work. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 10:16:50 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE2072E07F3 for ; Tue, 5 May 2020 10:16:50 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49GbHP5sBQz3DNk for ; Tue, 5 May 2020 10:16:49 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=MR6+AeLzHH2v4osHuPXLl/OX50Si9tg+MlfSbJiBwOI=; b=Sjyc6tDniJnc3K0CId1llA7Qig 09IejzhC+32OV8c2loeK1fULvKTK0hnBxbSsxlTooyO/hWF5Zg71tnyDSsBZqi00hKHpqqULW4v0a tLLmFiAMQJ3KbQkvH8FEbr7I8LxX64C3Q/IBdYOto5bP5zC6z5FNKIlBgYpJQmw/haQY=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jVud0-0004Kh-Ia; Tue, 05 May 2020 17:16:42 +0700 Date: Tue, 5 May 2020 17:16:42 +0700 From: Victor Sudakov To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200505101642.GA16244@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <20200504085053.9bcf8d9d.freebsd@edvax.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49GbHP5sBQz3DNk X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Sjyc6tDn; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.19), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:16:50 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon wrote: > On Mon, 4 May 2020 01:55:21 +0700, Victor Sudakov wrote: > > Russell L. Carter wrote: > > >=20 > > > I print to an HL-L2340DW by using CUPS to remotely print to > > > a Debian CUPS that has it configured as a "driverless" printer: > > >=20 > > > https://wiki.debian.org/CUPSDriverlessPrinting > >=20 > > Is it connected to the Debian system as a local (USB) printer or a > > networked printer?=20 > >=20 > > Nevertheless, I don't want fancy graphics from it, I just need a line > > printer to print out configs, logs and such. It comes as a surprise to > > me that I would need "drivers" to print ascii text. It's something every > > printer understands, including my first dot matrix Epson in 1992 or > > something where you could print with "type file.txt > lpt1" in DOS. >=20 > That would probably have been: >=20 > > TYPE FILE.TXT > LPT1: >=20 > or maybe >=20 > > COPY FILE.TXT PRN: >=20 > Note the : in the "special file name" and the fact that those > are still reserved names in current "Windows" versions. ;-) I'm almost sure the colon after "LPT1" or "PRN" was not required, those were reserved device names even without a colon. >=20 >=20 > However, it's really scary that a printer like the one mentioned > here does not seem to understand ASCII text, even though it > supports PCL standard (as shown on the specification page). I've been unable to print anything PCL on it (thank you for your samples, but no success so far). > Maybe font licenses were too expensive... ;-) I would not mind uploading fonts into a line printer. I used to do that a couple of times from a printcap filter, to print Cyrillic on a Laser Jet printer without Cyrillic characters. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJesT0KAAoJEA2k8lmbXsY0jsAH/AhakQ6eB0GMA9qYZ2oyayOB P92HMY3pYSwQs9whdJkMLzwwCIYw/Jx6n5lqHEilIRTmtYNcFeg2QE4D7goL2IiQ B6ruMxnFrTUsOdPZefea+dSn1fqH1lJ8Lm6lX/G1gMq3mYaWLy2XFDOEkYqnRypZ oDxrIZ4OnpcH0lEVPyghoA7ChzkgvxTUvYKvQv57wp1CDzgpyn2B7FDjEnpPr+ZF 4e/ydXeycbJ3Pvf0z6gm4zFYT2RlB+fdq6wtXO4ILi0b0T4AaDCfo6+RXjuxv0oN QyqD3M3FflKPAVsko2G9WriYx8W3rnRVJpEaq3tvwVMw1uo8aRfWhAx5/nx6CV8= =FHh0 -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- From owner-freebsd-questions@freebsd.org Tue May 5 10:17:59 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E8FB2E092F for ; Tue, 5 May 2020 10:17:59 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GbJk0jmsz3DVs for ; Tue, 5 May 2020 10:17:58 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm1-x32b.google.com with SMTP id x4so1667112wmj.1 for ; Tue, 05 May 2020 03:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=oY1fXaq1UrK0tNhe35U8egLfRwwuv5PN/45MJynpXy8=; b=JAPg8Oz1mum6w682bh42H1DfbPKjprgRbc6VAYEAlgpjNGw5mn+OvvAlZ29TefHxGl bvE/NCK3XHg1xZDjDooeA2sswGe5iHlNkkWTprvM46IqAACn/Houw1xaxKru8HK4LhuH GLLkEolgivTVyLB2bTHT0vmVPzYFQoGBeOFaKTyTTJjZV/MFl3n/XgYh7PoyUDQc9KnX 64Jf+TrAWwVCSp9KSegX2WBZIf07IlV9rGPb5xYo4Sf+EusVZFUmWg7PMRSn7QddImG6 IxR5ki+BBVQB3g+ycG+n5t5EYUmcC3pLZzFFuIi8CHZVgNOYa0l4Oxmk1lzL777UD41f tW7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=oY1fXaq1UrK0tNhe35U8egLfRwwuv5PN/45MJynpXy8=; b=Vv/gwHW6xIznpD2cPRGJ5pnjd6IW0Myg9bfwg8cniTzenbke/Wnr97+2ZWLnWjprpX qbPYk4zK9UF90APE37sBZbcjPcfD8lsXL+LmR+Gn0ilvtErOep7kKqg7tdku7leVwj4f B8gaHACXpXxpepjfeIA2Epo1gLQc44lP0sMupvVY4UdYJQ2ZPUEtkHHSsXfmhYZSOew/ kTftVVRpmsB78S6q20c+UY4N/fetTxgxivrc7Z6rbejjbAamc9ywcgpB6OQ4tFsgyG+v uxR2gFybkq4Q0r/nFtIs+8/hdP7GNB8sVjREFvo/k10o77AzGkVjwtxcEn/X2g3pJOgx 3CHg== X-Gm-Message-State: AGi0PuaDTz4MPbHLp+c6MYXMRYKpGBvsuJLRRfVn7/Dnn1nxuGyE5zSk F5vDooGCCTZedWNibe/AySAqfwJl//4= X-Google-Smtp-Source: APiQypLqGl5437qPdKNvvmMe2TwGaeaq6snsfoxabdkxeAtRoun9lsJ30EHsm7aEUuX87kl3+Rehvg== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr2591242wme.71.1588673875737; Tue, 05 May 2020 03:17:55 -0700 (PDT) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id x23sm2909745wmj.6.2020.05.05.03.17.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 May 2020 03:17:55 -0700 (PDT) Subject: Re: Networking Routing Firewalling To: freebsd-questions@freebsd.org References: From: Johan Hendriks Message-ID: Date: Tue, 5 May 2020 12:17:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Rspamd-Queue-Id: 49GbJk0jmsz3DVs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JAPg8Oz1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johhendriks@gmail.com designates 2a00:1450:4864:20::32b as permitted sender) smtp.mailfrom=johhendriks@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.12), ipnet: 2a00:1450::/32(-2.31), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[b.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:17:59 -0000 Op 05-05-2020 om 03:39 schreef Brandon helsley: > I don't always get a response but while I'm getting a little more familiar with networking and jails, especially from absolute freebsd and these mailing lists I thought I would ask a few questions. > > First of all, what are some beginner networking tasks I could complete while getting familiar? > > Second, if I'm only using one network interface card at a time, are there still networking tasks I can complete and build a stronger connection to the internet with? > > Third, if learning to use ping and route but don't quite undserstand it's application yet. If I set up dns and dhcp can I set up a third ip that's ipv6 for the hell of it? > > Sent from Outlook Mobile > _______________________________________________ > 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" > Getting into networking is something you learn by doing it and doing it a lot. Beginner networking tasks are setting up a network between two or more machines all in the same network like 192.168.0.0/24. Then try to put them in there own network and use route to let them talk to eachother. like one machine in 192.168.0.0/24 and the second machine in 192.168.1.0/24 and so on. Then you can try to get things working using smaller network segments like 192.168.0.1/29 and a network of 192.168.0.8 /29 and so on and make sure they do not overlap and let them communicate, test with ping. The second question is somewhat unclear to me. Do you have multiple Nics in your machine? If so, you can use the second NIC for testing. The third question, ping is just a basic tool you can use to test basic network functionality. route is a tool to make sure that your network knows where to go if it needs to go to an address not in your own network. DNS is not so much networking, it just resolves names to IP addresses. DHCP you can use to give hosts an IP address instead of giving them a static one. You can give an NIC or any interface like a bridge or a epair an ipv6 address. Here is an nice article about networking https://issue.freebsdfoundation.org/publication/?m=33057&i=651491&p=19&ver=html5 Good luck. From owner-freebsd-questions@freebsd.org Tue May 5 10:21:11 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D0CE02E0B72 for ; Tue, 5 May 2020 10:21:11 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GbNQ5T8Qz3DmL for ; Tue, 5 May 2020 10:21:10 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Tue, 05 May 2020 10:21:03 +0000 To: Steve O'Hara-Smith From: Lorenzo Salvadore Cc: Nikita Stepanov , freebsd-questions@freebsd.org Reply-To: Lorenzo Salvadore Subject: Re: Does swap increase freebsd performance? Message-ID: In-Reply-To: <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Rspamd-Queue-Id: 49GbNQ5T8Qz3DmL X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.81 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[phascolarctos@protonmail.ch]; R_DKIM_ALLOW(-0.20)[protonmail.ch:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[protonmail.ch.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[protonmail.ch:+]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; IP_SCORE(-3.71)[ip: (-9.80), ipnet: 185.70.40.0/24(-4.89), asn: 62371(-3.91), country: CH(0.04)]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[134.40.70.185.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[134.40.70.185.rep.mailspike.net : 127.0.0.17] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:21:11 -0000 =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Tuesday 5 May 2020 11:59, Steve O'Hara-Smith wrote: > On Tue, 05 May 2020 15:39:16 +0600 > Nikita Stepanov nikitastepanov113@yandex.kz wrote: > > We seem to be getting a rash of bodyless messages with the question > in the subject. Please type a body with your question even if it is a > repeat of the subject. I might be wrong, but I think I read something about Nikita's mails not hav= ing a body for technical issues. If that's indeed the case Nikita, you might like to contact postmaster@free= bsd.org to try to solve the problem, in the hope that you actually can write a mess= age with a body at least to postmaster... If not you can try opening a bug report on https://bugs.freebsd.org/bugzilla/ and making sure to put postmaster in the= CC list. Lorenzo Salvadore From owner-freebsd-questions@freebsd.org Tue May 5 10:25:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C5492E0ED1 for ; Tue, 5 May 2020 10:25:15 +0000 (UTC) (envelope-from 4250.82.1d4c10004b23344.21cc0c5554af96cb68580ba45e374cd0@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-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GbT6629Tz3FNh for ; Tue, 5 May 2020 10:25:14 +0000 (UTC) (envelope-from 4250.82.1d4c10004b23344.21cc0c5554af96cb68580ba45e374cd0@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=1588674315; x=1591266315; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=kAqFAxs+Jl9z/Z1vEI4ItAxWVUbJgo885NC6bTpBTKw=; b=iqehyqlNsGpxh+eKiY5Y5C0mia0Dfr3X0l3hscPwr+WGkpzYqYmRfbGOsWygpL8hdwQBQZyBXBPZwIlJCdenOMPPR7UbrFR/X4H7tqOIZJtILBeAvJ6qhMr3/v4Xq8tqkOkU1oQvHbTwV8uWdqmYKTClzOEe+cvEPz/wn2n7Zc0= X-Thread-Info: NDI1MC45Mi4xZDRjMTAwMDRiMjMzNDQuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 May 2020 06:25:03 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 5 May 2020 06:25:03 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jVul4-000DXF-3f; Tue, 05 May 2020 11:25:02 +0100 Date: Tue, 5 May 2020 11:25:01 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Jerry Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200505112501.cd4d6226a1edd5b4290e2b11@sohara.org> In-Reply-To: <20200505054729.00000035@seibercom.net> References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> <20200505095657.b436931b.freebsd@edvax.de> <20200505054729.00000035@seibercom.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49GbT6629Tz3FNh X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:25:15 -0000 On Tue, 5 May 2020 05:47:29 -0400 Jerry wrote: > In any case, this will only assist you with printing. All of the other > functions that are readily available on a Windows machine are usually > cloaked away from FreeBSD operators. Brother does supply some utilities > for Linux and Debian, but not FreeBSD. Right here you describe the crux of the problem - Windows does not support a million printers and scanners perfectly, manufacturers go to great lengths to support Windows, some lengths to support IOS and Android, lesser lengths to support Linux desktops and generally no effort whatsoever to support anything else. This is of course a perfectly valid commercial standpoint. The sad truth is that if you use something that the printer manufacturers are not willing to go to great lengths to support then you are best looking to more expensive equipment that supports documented standards and using it, or doing what I do to support a Brother inkjet and run a CUPS server under Linux (well actually a jail with a Linux userland) and CUPS clients on the FreeBSD boxes. Yes it is a pain - but suggesting that the FOSS community has put insufficient effort into achieving the impossible is not reasonable. If the market is too small to be worthwhile for the manufacturers to support and they are unwilling to release detailed documentation then nobody can do anything about it. The seamless environment for printing, scanning, faxing and email integration can be achieved but it is not effortless. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue May 5 10:33:49 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F21C22E1378 for ; Tue, 5 May 2020 10:33:49 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gbg05pQLz3G9f for ; Tue, 5 May 2020 10:33:48 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 9AD4710645; Tue, 5 May 2020 11:33:41 +0100 (BST) Subject: Re: g_vfs_done() ada2p1 error = 5 To: Christoph Kukulies , Polytropon Cc: freebsd-questions@freebsd.org References: <2ED6F7F2-0F70-49F0-AF9F-E6E4CE11B2C3@kukulies.org> <20200505105033.ff69a110.freebsd@edvax.de> From: Arthur Chance Message-ID: <24144a81-1f6e-206b-73ab-85846ce6db50@qeng-ho.org> Date: Tue, 5 May 2020 11:33:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 49Gbg05pQLz3G9f X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-4.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[qeng-ho.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.42)[ip: (-7.87), ipnet: 217.155.0.0/16(-3.94), asn: 13037(-0.24), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 10:33:50 -0000 On 05/05/2020 10:17, Christoph Kukulies wrote: > > >> Am 05.05.2020 um 10:50 schrieb Polytropon : >> >> On Tue, 5 May 2020 10:42:56 +0200, Christoph Kukulies wrote: >>> I have a GPT partitioned SSD here which was serving as a boot >>> volume of my previously installed >>> FreeBSD 8.0 and now, as I have 12.1 installed and booting from >>> that I have mounted this SD into >>> my running system. >>> >>> In my system log I’m seeing the following error message (and when >>> I try to mount that partition, I’m getting an >>> INPUT/OUTPUT error also): >>> >>> g_vfs_done():ada2p1[READ(offest=262144, length=8192)]error = 5 >>> >>> ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 >>> [...] >>> >>> What does this error message mean? How do I get rid of it? >> >> Could it be that the SSD has reached the end of its lifetime? > > > Hope not. Was trusting that FreeBSD takes care of saving SSDs from degrading over time. It's good, but FreeBSD can't prevent wear and tear. SSDs have a finite lifetime and all an OS can do is not decrease it. >> I've seen similar messages on regular hard disks which were >> about to die... Can you check the SSD with smartctl and see >> if there is something suspicious? >> > > > The output of smartctl is overwhelming :) Happen to know what I should look for? The attributes section is often the place to start. You can see just that by giving the -A flag to smartctl. > smartctl 7.1 2019-12-30 r5022 [FreeBSD 12.1-RELEASE amd64] (local build) > Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Family: Samsung based SSDs > Device Model: Samsung SSD 840 EVO 120GB > Serial Number: S1D5NSAD978704E > LU WWN Device Id: 5 002538 8a002c09c > Firmware Version: EXT0AB0Q > User Capacity: 120,034,123,776 bytes [120 GB] > Sector Size: 512 bytes logical/physical > Rotation Rate: Solid State Device > Device is: In smartctl database [for details use: -P show] > ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c > SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) > Local Time is: Tue May 5 11:11:45 2020 CEST > SMART support is: Available - device has SMART capability. > SMART support is: Enabled > > === START OF READ SMART DATA SECTION === > SMART overall-health self-assessment test result: PASSED > > General SMART Values: > Offline data collection status: (0x00) Offline data collection activity > was never started. > Auto Offline Data Collection: Disabled. > Self-test execution status: ( 0) The previous self-test routine completed > without error or no self-test has ever > been run. > Total time to complete Offline > data collection: ( 4200) seconds. > Offline data collection > capabilities: (0x53) SMART execute Offline immediate. > Auto Offline data collection on/off support. > Suspend Offline collection upon new > command. > No Offline surface scan supported. > Self-test supported. > No Conveyance Self-test supported. > Selective Self-test supported. > SMART capabilities: (0x0003) Saves SMART data before entering > power-saving mode. > Supports SMART auto save timer. > Error logging capability: (0x01) Error logging supported. > General Purpose Logging supported. > Short self-test routine > recommended polling time: ( 2) minutes. > Extended self-test routine > recommended polling time: ( 70) minutes. > SCT capabilities: (0x003d) SCT Status supported. > SCT Error Recovery Control supported. > SCT Feature Control supported. > SCT Data Table supported. > > SMART Attributes Data Structure revision number: 1 > Vendor Specific SMART Attributes with Thresholds: > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE > 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 > 9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 42753 > 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 69 > 177 Wear_Leveling_Count 0x0013 099 099 000 Pre-fail Always - 2 > 179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0 > 181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0 > 182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0 > 183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0 > 187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0 > 190 Airflow_Temperature_Cel 0x0032 073 057 000 Old_age Always - 27 > 195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0 > 199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0 > 235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 51 > 241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 1078954976 Attributes 177, 179, 181, 182, 183 & 241 are interesting for SSDs. You've not used any of your spare blocks, and you've had ~1 billion writes. For comparison I've got a 840 PRO in one of my machines and that's showing a wear leveling count of 17 and ~4 billion writes. >From Samsung's documentation (found via an online forum) ID # 177 Wear Leveling Count This attribute represents the number of media program and erase operations (the number of times a block has been erased). This value is directly related to the lifetime of the SSD. The raw value of this attribute shows the total count of P/E Cycles. Each MLC NAND cell can be erased ~10,000 times before it stops reliably holding charge. Given your wear leveling count is 2 you should be a long way off end of life. > SMART Error Log Version: 1 > No Errors Logged > > SMART Self-test log structure revision number 1 > No self-tests have been logged. [To run self-tests, use: smartctl -t] > > SMART Selective self-test log data structure revision number 1 > SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS > 1 0 0 Not_testing > 2 0 0 Not_testing > 3 0 0 Not_testing > 4 0 0 Not_testing > 5 0 0 Not_testing > Selective self-test flags (0x0): > After scanning selected spans, do NOT read-scan remainder of disk. > If Selective self-test is pending on power-up, resume after 0 minute delay. > -- Fat Earther: One who believes the world is round but has put on too much weight round the middle. From owner-freebsd-questions@freebsd.org Tue May 5 11:05:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34D1A2E1E6D for ; Tue, 5 May 2020 11:05:02 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) by mx1.freebsd.org (Postfix) with ESMTP id 49GcM035t3z3Hwc for ; Tue, 5 May 2020 11:04:59 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.foucry.net (mithril.foucry.net [127.0.0.1]) by mithril.localdomain (Postfix) with ESMTP id 9F89718970; Tue, 5 May 2020 13:04:51 +0200 (CEST) Date: Tue, 5 May 2020 13:04:51 +0200 From: Jacques Foucry To: Steve O'Hara-Smith Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200505110451.GA81209@mithril.foucry.net> Mail-Followup-To: Steve O'Hara-Smith , freebsd-questions@freebsd.org References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> <20200505095657.b436931b.freebsd@edvax.de> <20200505054729.00000035@seibercom.net> <20200505112501.cd4d6226a1edd5b4290e2b11@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200505112501.cd4d6226a1edd5b4290e2b11@sohara.org> X-Rspamd-Queue-Id: 49GcM035t3z3Hwc X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=foucry.net (policy=none) X-Spamd-Result: default: False [-0.59 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; DMARC_POLICY_SOFTFAIL(0.10)[foucry.net : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; HFILTER_HELO_IP_A(1.00)[mithril.localdomain]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mithril.localdomain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.01)[ipnet: 80.67.160.0/19(-2.81), asn: 20766(-2.22), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR]; TAGGED_FROM(0.00)[freebsd]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 11:05:02 -0000 Le mardi 05 mai 2020 à 11:25:01 (+0100), Steve O'Hara-Smith à écrit: > On Tue, 5 May 2020 05:47:29 -0400 > Jerry wrote: > > > In any case, this will only assist you with printing. All of the other > > functions that are readily available on a Windows machine are usually > > cloaked away from FreeBSD operators. Brother does supply some utilities > > for Linux and Debian, but not FreeBSD. > > Right here you describe the crux of the problem - Windows does not > support a million printers and scanners perfectly, manufacturers go to great > lengths to support Windows, some lengths to support IOS and Android, lesser > lengths to support Linux desktops and generally no effort whatsoever to > support anything else. > > This is of course a perfectly valid commercial standpoint. > > The sad truth is that if you use something that the printer > manufacturers are not willing to go to great lengths to support then you > are best looking to more expensive equipment that supports documented > standards and using it, or doing what I do to support a Brother inkjet and > run a CUPS server under Linux (well actually a jail with a Linux userland) > and CUPS clients on the FreeBSD boxes. > > Yes it is a pain - but suggesting that the FOSS community has put > insufficient effort into achieving the impossible is not reasonable. If the > market is too small to be worthwhile for the manufacturers to support and > they are unwilling to release detailed documentation then nobody can do > anything about it. In fact the "Linux community" reproduice de same errors as the "windwos commutiy" does. We (the FreeBSD users) are, as you saird a very small part of unix user. And many, many people knows "Linux" but does not إave a single idea about "Unix". Worst, some knows "debian" and that all, they cannot use another distro so let imagine using another Unix like system (*BSD, Solaris, AІX, HP-UX or even OSX). That the same for manufæcturer, they are mainћtream, Microsoft's products first, then Apple's products, may be Linux product… and that all. > > The seamless environment for printing, scanning, faxing and email > integration can be achieved but it is not effortless. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Tue May 5 13:01:47 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A19C2E5F91 for ; Tue, 5 May 2020 13:01:47 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) 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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gfxk2kMNz3xyQ for ; Tue, 5 May 2020 13:01:45 +0000 (UTC) (envelope-from nikitastepanov113@yandex.kz) Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 0C8F24D406C2 for ; Tue, 5 May 2020 16:01:18 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback9j.mail.yandex.net (mxback/Yandex) with ESMTP id kUU9jvI4uN-1Hb0pnRm; Tue, 05 May 2020 16:01:17 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.kz; s=mail; t=1588683677; bh=yWDI9LqJ+YhHj9yW3QS8Xkw7DA2ThOpTzb//JRUvu84=; h=Message-Id:Date:Subject:To:From; b=uSbnTIMbweI39qAOmp0Ga9L7E1HqosiNZwBW27dnNFBnX+FqmYSJyLyeuRixVuWZh IjBAILWW5yR9Kiv3aUz8pxkHi5ZCFPjP6wwWkcRDWJ9Jp02So7eFjNmyfAs/6OUMqS Wu0c9AsdnFJzShy7mjQSA1ajXIpbWr4CCegQ9EpY= Received: by sas1-ffdbcd5f1d77.qloud-c.yandex.net with HTTP; Tue, 05 May 2020 16:01:17 +0300 From: Nikita Stepanov Envelope-From: nikitastepanov113@yandex.ru To: freebsd-questions@freebsd.org Subject: Which ufs Is faster: ufs1 or ufs2? X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 05 May 2020 19:01:17 +0600 Message-Id: <4603761588683677@sas1-ffdbcd5f1d77.qloud-c.yandex.net> X-Rspamd-Queue-Id: 49Gfxk2kMNz3xyQ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.kz header.s=mail header.b=uSbnTIMb; dmarc=pass (policy=none) header.from=yandex.kz; spf=pass (mx1.freebsd.org: domain of nikitastepanov113@yandex.kz designates 77.88.28.108 as permitted sender) smtp.mailfrom=nikitastepanov113@yandex.kz X-Spamd-Result: default: False [-5.37 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.kz:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:77.88.0.0/18]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-3.67)[ip: (-9.68), ipnet: 77.88.0.0/18(-4.85), asn: 13238(-3.85), country: RU(0.01)]; DKIM_TRACE(0.00)[yandex.kz:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.kz,none]; RCVD_IN_DNSWL_NONE(0.00)[108.28.88.77.list.dnswl.org : 127.0.5.0]; MIME_HTML_ONLY(0.20)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:~]; ASN(0.00)[asn:13238, ipnet:77.88.0.0/18, country:RU]; RCVD_TLS_LAST(0.00)[] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:01:47 -0000 From owner-freebsd-questions@freebsd.org Tue May 5 13:10:20 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D95882E6302 for ; Tue, 5 May 2020 13:10:20 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from mail.kukulies.org (mail.kukulies.org [116.203.115.43]) by mx1.freebsd.org (Postfix) with ESMTP id 49Gg7b5Mfjz3ySS for ; Tue, 5 May 2020 13:10:19 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from localhost (localhost [127.0.0.1]) by mail.kukulies.org (Postfix) with ESMTP id 1DFE010276A for ; Tue, 5 May 2020 15:10:18 +0200 (CEST) Received: from mail.kukulies.org ([127.0.0.1]) by localhost (mail.kukulies.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B4DnebGks2nN for ; Tue, 5 May 2020 15:10:17 +0200 (CEST) Received: from christophs-mbp.fritz.box (p57A1FCC2.dip0.t-ipconnect.de [87.161.252.194]) by mail.kukulies.org (Postfix) with ESMTPSA id A4CA1102769 for ; Tue, 5 May 2020 15:10:17 +0200 (CEST) From: Christoph Kukulies Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Probe0 sym0 Error 5 unretryable error Message-Id: <83C5D2F5-6ABC-4BFD-90A8-F5DA0F02BD08@kukulies.org> Date: Tue, 5 May 2020 15:10:17 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49Gg7b5Mfjz3ySS X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kuku@kukulies.org has no SPF policy when checking 116.203.115.43) smtp.mailfrom=kuku@kukulies.org X-Spamd-Result: default: False [1.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.687,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kukulies.org]; NEURAL_SPAM_LONG(0.54)[0.537,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:116.203.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.29)[ipnet: 116.203.0.0/16(2.95), asn: 24940(-1.50), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[194.252.161.87.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:10:20 -0000 After powering down devices that were attached to the SCSI-bus (sym0), = an SCSI CDROM got detached. I did a camcontrol rescann all and the CDROM got attached again. = Nonethless an error was screened: cd1 at sym0 bus 0 scbus7 target 4 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: Serial Number 8X32458B cd1: 10.000MB/s transfers (10.000MHz, offset 8) cd1: 656MB (335925 2048 byte sectors) (probe0:sym0:0:4:7): INQUIRY. CDB: 12 e0 00 00 24 00=20 (probe0:sym0:0:4:7): CAM status: Auto-Sense Retrieval Failed (probe0:sym0:0:4:7): Error 5, Unretryable error Just for the record and if an SCSI/sym0 expert ca make head or tail of = it? =E2=80=94 Christoph= From owner-freebsd-questions@freebsd.org Tue May 5 13:17:09 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDF9E2E65E4 for ; Tue, 5 May 2020 13:17:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GgHT0k5gz3yr6 for ; Tue, 5 May 2020 13:17:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MAOeB-1jPbX0034d-00BtNA; Tue, 05 May 2020 15:17:05 +0200 Date: Tue, 5 May 2020 15:17:04 +0200 From: Polytropon To: Nikita Stepanov Cc: freebsd-questions@freebsd.org Subject: Re: Which ufs Is faster: ufs1 or ufs2? Message-Id: <20200505151704.4d876046.freebsd@edvax.de> In-Reply-To: <4603761588683677@sas1-ffdbcd5f1d77.qloud-c.yandex.net> References: <4603761588683677@sas1-ffdbcd5f1d77.qloud-c.yandex.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:cZ+GHj3shLIYp2+00o+5Ha6wGln6YbmYa2xYBV//ymxBcE/QfTo cOJvmSxP5lE+gHS5iRty9dG5zI2huV+3lg9r2giZ8hymqATaieq8cmPbwizsCNdenNcPgTz gxwv4d0IYb2c8uORMhJPlMAyurbOoux688vJeg7UX9ZcvoCJAFOIGnyU/3v16pkI9U4zUwe j7xYvtyGk4M8c7/hkwI9A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:HcnPWlI7uto=:OakMg58h4a1fsfLhwf8wyG Y/Hru2WJMP/29x1sHbnDjeq11bdIsYjW731VyTAbiVLRCT47bmrDxQiUBMD3XOUBUNHLvBPS0 RO/LgJN5APgTe5rzCGShSiYUwlT8LLbnPX4NX71MmAheJCQDu9tMrpMEMy0c68D+PIpputNaO Snl0kv8y+3SsCZ/qPX/1jmiFdknLNQYCKkWWBMBb73Z/LmzIZLcwkkkV25zocT1dqmitx6xKQ kSK4uMCOYr3OV0LVxb+2fTxIHqKEYGC+2jArmpP1TT5qATnSflb1E6z5t+jZBMF6sk3m+eyIS mciG2apRhP8eQW1o5NW+D8DvzvPJdmj6wC72zsR9GJ+2bff8PVLd9xMGFy7fB7gz5oPfrdN8c Lw/92LBwZNHNaHZ0x/QUFfNi5lXFy1FyCDafftc+DELdccKF4mmPhtZYWZ/Vwr3U7QeARdlcd IjSRryGYmqQsDTIyrF0DEXBLIXtA6FNC8GPa8qneCWC1rGwEUbln0zEkfwIwTWlUAuXPOPCCc 8AWoKmLax8Bl2EjSuTtG0bfS8JLlve8QMP97P6wIu/lN77Y9R8+k05JjDt7L6kHK2Eil8Afi8 V/QBD5VVnKo8KaOagvzxWW1ZPQT228PItCMWI+qS3Vnz9oUBg5IeC1y6ULKqVcTu/QIOcCAH2 pW81IplZ/R/YKxcfMx4QLF1vSWORNL2ga1eL2qVizbjyTjt4K96jKOzmbm4TSw8edi5fCl4uf iWYBLJwPnpi86mwdga8kgqApVqQ49smdNW4IhNZJJx38eY801655czbtf1KzqL9RoWVLKANpR mLX3KafHm6+O1t23d//+Q8Q6W3nMpB5keZTEOsKFcJOt5FvRCRUf0tHjYoXBYpFf15Bs2lv X-Rspamd-Queue-Id: 49GgHT0k5gz3yr6 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.46)[ip: (1.48), ipnet: 212.227.0.0/16(-1.20), asn: 8560(2.04), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.948,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[134.126.227.212.rep.mailspike.net : 127.0.0.19]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:17:10 -0000 On Tue, 05 May 2020 19:01:17 +0600, Nikita Stepanov wrote: > [again nothing] UFS1 has been used for the root partition historically (older FreeBSD versions), while UFS2 was used for everything else. Today you will probably definitely go for UFS2. It's not really about some speed advantage, but about reliability. UFS2, if set up properly, can perform quite well even under heavy I/O load. The filesystem parameters that you can set using tunefs to reflect what will be important in usage: will it be many small files, will it be huge files, will it be for a hard disk or a SSD? Additional features such as soft updates and journaling, which can help in increasing filesystem performance, are available for UFS2, not for UFS1, if I remember correctly. See "man tunefs" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 13:20:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2BB3B2E6763 for ; Tue, 5 May 2020 13:20:42 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GgMX605Vz400Z for ; Tue, 5 May 2020 13:20:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MyNoa-1jDLI22Uxg-00yjCi; Tue, 05 May 2020 15:20:38 +0200 Date: Tue, 5 May 2020 15:20:37 +0200 From: Polytropon To: Christoph Kukulies Cc: freebsd-questions@freebsd.org Subject: Re: Probe0 sym0 Error 5 unretryable error Message-Id: <20200505152037.f6c19bce.freebsd@edvax.de> In-Reply-To: <83C5D2F5-6ABC-4BFD-90A8-F5DA0F02BD08@kukulies.org> References: <83C5D2F5-6ABC-4BFD-90A8-F5DA0F02BD08@kukulies.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:CVhrN14Emb52PkAVW42H6L0C8lgjp1zNiScMVrrJo+kU71ASD+X zSPHoOpWNw5jrt12KBzUCuXFiUjB6c3l9vEkAWcs/hjvVGSNP+eM+LJWyPX2PDju3tJOq+I Q7hUCFGCb0opIQ+cbJLx9iA7aWmF5qncrCXdP1JFOzlRSSJkufHOLf0H4l5IYiUmHULxi08 TmAHuiioLYi/5kFSGU7Fw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xqAhddURdeY=:a1jAtyz/ldIbZuQJOe8Tt/ YC2OLlq08nqzBXh204sBok2egzH+D3f7go+2zy3A5ZI9N6o5/x32PFZqzhXzbSroQjsAL/47+ 5tZY7wGfsX8jK1YAiyFMDvVynh7lM95lL+mEztvejCa13nBqUukB4yc4GG/uz+dQFtV/1VqHP 7BU3icdZC+jLIRtDWxzF7XICDwiEBc/nXSm4utKVtPKtnOgMmSqN2TxSpDtED7fiAP7vk0XaC 9pvni7KAGHubssrOKQNKXbBO/xpYdGvkUzTfkmS14202yY6PNWDmk8vgpznLaiYMnTz+O1KHM ja1QLWCBhhfGccTKEVSOF8ImH76uANSe9AshMkTbEB/C0VCy3O3rsvXwkZmAQkbo4AEu2yTnq T7spgrMkVpFfnsMHArxCbHVGxp9Cy5bgmh2A4CkyVGyR1Mfcqo1wqx5o2EybcWlb7Mhd2/dWz Q+Y00w2buv0nq8j697ZZ41oYPljeL7lYHUKwzfUdBxLxQySZ+dK4Z3bYmSJOqrerkepyNF7JA Yv0bbu0ZpG7o1BGy2UWIuMZ7jOjR7pxVfl3bNZJndHl8xkJANhzPbbb07r3UgvjPwcCcDsLS3 s/irAK07/33fmBWP5ordq5cTeLprYFWOvf8j5eR752o63GXgFmBFwaykjxVkCm4X5uQN4N+81 S8BQdCMC3Ocnod5vAiAeEVbdeK/UNN5BMwrQnh2sJFRGcILOvzUZ/tSDQ3Fj0JtNjvCmvXaF5 z1xrIFgVg7qfJuo6O3NwJkAiUsMuhknAVBsGN6oEPgEdxwNxp+Ef38i78f+NnTCULY5eAw93l siZX8reOHQxcc6zCdy/YBiGDZnCzx+Rizu5FVvWqznv6vdZjHbSOluy3JOPVoWykqC+tVlA X-Rspamd-Queue-Id: 49GgMX605Vz400Z X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[16.9.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.24)[0.236,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.976,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.25)[ip: (0.46), ipnet: 212.227.0.0/16(-1.20), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:20:42 -0000 On Tue, 5 May 2020 15:10:17 +0200, Christoph Kukulies wrote: > After powering down devices that were attached to the SCSI-bus (sym0), > an SCSI CDROM got detached. > > I did a camcontrol rescann all and the CDROM got attached again. > Nonethless an error was screened: > > cd1 at sym0 bus 0 scbus7 target 4 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: Serial Number 8X32458B > cd1: 10.000MB/s transfers (10.000MHz, offset 8) > cd1: 656MB (335925 2048 byte sectors) > (probe0:sym0:0:4:7): INQUIRY. CDB: 12 e0 00 00 24 00 > (probe0:sym0:0:4:7): CAM status: Auto-Sense Retrieval Failed > (probe0:sym0:0:4:7): Error 5, Unretryable error > > Just for the record and if an SCSI/sym0 expert ca make head or tail of it? Maybe you can use # camcontrol reset all to make sure the controller can mark this bus as "not in use with any device"? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 13:36:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECF052E6EA3 for ; Tue, 5 May 2020 13:36:35 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Ggjt4BBKz41Bq for ; Tue, 5 May 2020 13:36:34 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x843.google.com with SMTP id g26so1847521qtv.13 for ; Tue, 05 May 2020 06:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=sM8GDh8ffVOmeqgPNISmsouhNRfMjY1OAYdmFMM/Fn4=; b=iPiI02XnxLc7anoVLJu0IExeYVTFMKrN9VW9we8Cft6f1FOUXXYiHpIEOixvV5LC/6 QdWTeGfyGscTLuiveTAXrYffTO5M6j/ELE4p9dJWxpJQ8R7l4YPSGCgMfsF59e+qXdsw PyQ6n5NrQgGH1dux/oBRbNfP0G83u1QLLuHD4= 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:reply-to:organization:mime-version; bh=sM8GDh8ffVOmeqgPNISmsouhNRfMjY1OAYdmFMM/Fn4=; b=mmsWSKvT/cZTbRz6p0J6Jrz9prvfYEKt4KxDcSCL194VGXvKcyocFu2Qj0kp2DPsvf S9LBFqVqd3bgg9NE3+C2dEVGOJRuMrbFKpPmNkhWHxEKBtuDyoWWTTHEZ4lPEoTXllPh 0hRhxfdAVi/0OjzvOKyPqPSAM9IhkPX28gxBIvEz2dOgcMpE/VuQ3LBuBnQ7XxM6JfB2 pmWNHHv8SZdtig9gUBiJ8yNawP9kSr/XAJNPKD+oA4kgzbY64NFmP+QL0ca8UIHZZNbC emcYdEUMbV4qcJgPj/2vx0sUrEOok3tkNtHFR72KfRRigeL2iLNljZoVuJYse54hx6mJ 1ogw== X-Gm-Message-State: AGi0PuYeFspcstlzNvpQCMd5x6m0bIw+EmZ93ETVTvJCfdObvS/H5som ekNWzOOX5nwZyzYmrT/Q2+ep2WAL9JU= X-Google-Smtp-Source: APiQypKCURtIcntvV8oAIJvcJc3RVxceng3dxvApixj3Y54Xr/HkjhAGsPc/ra6U1PHiIUnMASmHHg== X-Received: by 2002:aed:35c6:: with SMTP id d6mr2678733qte.340.1588685793469; Tue, 05 May 2020 06:36:33 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id g12sm1651877qtu.69.2020.05.05.06.36.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 06:36:32 -0700 (PDT) Received: from localhost (hp-envy.seibercom.net [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 49Ggjq47nzz1ZmZ for ; Tue, 5 May 2020 09:36:31 -0400 (EDT) Date: Tue, 5 May 2020 09:36:24 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Re: Microsoft Teams for Linux Message-ID: <20200505093624.00001df2@seibercom.net> In-Reply-To: References: Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/A+Ob1zhOnGtgAx9u=EZI+VB"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 49Ggjt4BBKz41Bq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=iPiI02Xn; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::843 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [0.76 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(0.00)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(0.00)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; IP_SCORE(-0.16)[ip: (0.02), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; URIBL_PBL(0.01)[thewindowsclub.com]; RCVD_IN_DNSWL_NONE(0.00)[3.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:36:36 -0000 --Sig_/A+Ob1zhOnGtgAx9u=EZI+VB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 5 May 2020 14:52:01 +0200, Maciej Suszko commented: >Hi, > >I'm wondering if anyone tried to use Microsoft Temas either web version >or desktop app... Web version does work but making audio/video call >isn't officialy suppported, so you need to spoof user-agent to make it >partially working - but from time to time MS change something and it >just stop working. In the past weeks I was able to make audio calls, >now it's not possible (neither Firefox nor Chrome) > >I tested my webcam and mic on https://www.onlinemictest.com/ and it's >all working, so problematic is the web application from MS. > >Desktop application - here are two options, one for Linux, one for >Windows. I tried to run the Linux version using linuxulator, >brandelf-ing all the binaries but with no success... > >#v+ >tlhscd@arsenic:/tmp/teams/share/teams $ ./teams >Trace/BPT trap (core dumped) >#v- > >How do you think - are there any chances to make the desktop app >working in out FreeBSD desktops? I assume you are referring to "Microsoft Teams". Have you tried posting your question here: According to , Microsoft Teams is now available on desktop and mobile operating systems including Windows, Mac, Android, iOS and web platforms. According to this URL: https://itsfoss.com/microsoft-teams-linux/, MS Teams is available for Linux. Of course, that is a far cry from FreeBSD, so YMMV. Report back with your findings. I would be interested in the usability of this application on FreeBSD. --=20 Jerry --Sig_/A+Ob1zhOnGtgAx9u=EZI+VB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl6xa9gACgkQOHMGOIfe xWSS8gf/RGhGSLSsN0pFajy/p1vBWTQfkzKYQhZymMJi39SwG0HTPRoeERjAUNnE 9iPXCluoJW4KaRiOL+5sH/zuOytTXLh3xqFALt6zAOoFMzhwXboa6//ieIwBKyTT HxVhtf5CcZwGJUOdls1CeLttcYJOf/4lsllzKcjiAGy0SVQ9u8EqYp4TYZbQpDCx 7/8icsHWo6Rkr7ZmiR1mnDdbpknoAWJDbwLaBrAONu7CYleU2NTeNMp6k2hBsRMo bTlmdyBtMyH5AVu+Pg6c8cn384sOEhIo0lSyOCw9dxVZnBTFw6C5AMMmQZAUKYrh ItWCUmbnAgEYHcuztHZRTpQYixQvFg== =qpsH -----END PGP SIGNATURE----- --Sig_/A+Ob1zhOnGtgAx9u=EZI+VB-- From owner-freebsd-questions@freebsd.org Tue May 5 13:37:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF20B2E6F31 for ; Tue, 5 May 2020 13:37:03 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic303-21.consmr.mail.ne1.yahoo.com (sonic303-21.consmr.mail.ne1.yahoo.com [66.163.188.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49GgkQ4RVDz41Gt for ; Tue, 5 May 2020 13:37:02 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: K8drbi8VM1n_6O0Tr7qpsEJEUKrQJGH7sy4O0NFMSoB7LFvM9uRcIwVjGjsT9A1 xK35.WLP4nTb6.4GPyjRxTwD3ckKWQafgKgEfdnL5lpRyWk2gZWWnA4ORubhv80rNZha3C09jLJl pqDreGWi6BscNa5jyB0zp07ybqh8F7SH0vGKtrFRHIamlAeSVBjCOnuOychf2Y7rXXcQWCLMZDPx 7JEvZ7Gutbj0dGNMOZZOlVJ1kQjkiR9KFbznnoqumD9nT_1pLpyOEMBpq7NfH8rWfiexTu1PZqLU 0QkTZms1jjkiQY.LQzuWd.51b0CNhQSpbKp82Nvf1vcU_8I27gYIh4lDUL6qoijZ4o7SFwGhfJvd _t.lTCW0qWrHM_b1sjMyQpLeCmPs.LLH1LFgDVMO8hIm8WZsTI.jjmM6wC_8P1nZfXySVYBe30GE mYo.QjRvg2CFTSuj7cFHD0_ZD2qgHVVEpo85PJxp957e7Q7FjBJc4tdHJXslZn2cu.MHstkDyEe4 RhOY1Kx_p52dxMPEeekdPjFTjzCEcuK4eoS7.KCVw9ZmUDmRtmAOKfjWiIP.P7lFsABRlWYXsgcv xCgyM60c5FQzJz5Id2xPMxoxThD5WDo3qSrSyneKS758MaDhAdTAYy2s0peJ57L8s5MNF0TN.mTJ fv6pqa9SN8tQ5NccK4R63glortJE1S6ymI27iC3KFmagx.rFlQdxLYFANy9UZWloWm25vwFMqDyC bMA.v5jczBEumT9FhkwHFRj4.tZEp5qpDPre381WmQ9teoTxFZ1xsbMwdPMby7jeH6BRmgwCGiBn .5AmN2zBg46VyTZ_Y0nK05wb_Fjn.5ba3ThH4ou8lMO5tZI2zZSyU0pQ_0aVi5Qxk80nUhwsQNDd RGJn21z3FXUePB8VwSI6hFrpuYiLMYFpQtEcQ6NN4rEJVqdFT1TXOVnFc6QHM4io1YpkE6lOEGyL rbrzKq747sTTwR94sjIjLMmCEBAzmaQmgrQqPmvJnp4Cp2ENXflOwfqpgwYgTXD9QqbDw2_izt3W JRicuhATUavd5Az_JnU58rEUZIOfMjfvDsvpj6fiMa6nUsxTuRRRQ5tL1tUadt.LJmmCukAOJ1Bs 4Zf5I_d6B5sZo2hfHb1v1wJubxeCItty6r75oENUnlfvrtG9gy1l6haxI5DB05VBjBpf0uUk11Gw b0d8FaINCd8TeoXBiQ_MDBF4nnnrVcCsB819p.PAIUGKTAeBSG0nPQwh_hKbyyBxme1pcgLhycNn RWlL7Pg2Nj4HQyHsDyrABulWvF64..VxomL.xfO3NKUVLN8H1hAi0FFkHjv3rk1_R7zjPlF8pyOq vEcc6yK4xidpsLYc9aTAZ0BCq9J6noCsBlokPmMrxhEWYN8MiNwnwoxfwXvAm_8Vu11DgKoxBKmE 5.vDiAvKM4s03TOA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 5 May 2020 13:37:01 +0000 Received: by smtp426.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8777efc9f759b0783b0e718cde0bf115; Tue, 05 May 2020 13:36:56 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id 18so884970pfx.6 for ; Tue, 05 May 2020 06:36:56 -0700 (PDT) X-Gm-Message-State: AGi0Pub9OCackWgVmPSuUdk5G+9GxanNZ+hT0j+sixOj+WWsak7j8tlw EJaE1nNAp7+zOBMrribLJv0QiYb7H2YssPo9vGc= X-Google-Smtp-Source: APiQypLKyW0A6GqzAOlmZ9x6ULrePFy+GhZCuPCMdVdvAUIH8QLAz4Ui137IQGRyDkEbrvDHvOMfCXDHQzVZAqDf2IU= X-Received: by 2002:a62:6443:: with SMTP id y64mr3180216pfb.13.1588685815605; Tue, 05 May 2020 06:36:55 -0700 (PDT) MIME-Version: 1.0 References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> In-Reply-To: <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> From: Ottavio Caruso Date: Tue, 5 May 2020 14:36:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Does swap increase freebsd performance? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15756 hermes Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) X-Rspamd-Queue-Id: 49GgkQ4RVDz41Gt X-Spamd-Bar: / X-Spamd-Result: default: False [-0.67 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.52)[-0.522,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.44)[-0.444,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (4.38), ipnet: 66.163.184.0/21(1.15), asn: 36646(0.92), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[147.188.163.66.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[147.188.163.66.rep.mailspike.net : 127.0.0.17] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 13:37:03 -0000 On Tue, 5 May 2020 at 10:59, Steve O'Hara-Smith wrote: > > On Tue, 05 May 2020 15:39:16 +0600 > Nikita Stepanov wrote: > > We seem to be getting a rash of bodyless messages with the question > in the subject. Please type a body with your question even if it is a > repeat of the subject. OP was doing exactly the same on the OpenBSD mailing list and got banned there. Then he moved here. -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Tue May 5 14:14:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC5C42E7F96 for ; Tue, 5 May 2020 14:14:03 +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 49GhY66rW9z43Qv for ; Tue, 5 May 2020 14:14:02 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:2af:9905:b4cf:c36d:843a:90c5] (unknown [172.58.139.215]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 74A3A4E620 for ; Tue, 5 May 2020 09:04:24 -0500 (CDT) Subject: Re: Does swap increase freebsd performance? To: freebsd-questions@freebsd.org References: <3971481588671556@myt2-8316c2cade1b.qloud-c.yandex.net> <20200505105901.4306c0f7aa0aec652e2cc65a@sohara.org> From: Valeri Galtsev Message-ID: <4d75b216-1834-2888-714a-fd18c6cf5958@kicp.uchicago.edu> Date: Tue, 5 May 2020 09:04:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.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-Rspamd-Queue-Id: 49GhY66rW9z43Qv X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [8.23 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[215.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[215.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; GREYLIST(0.00)[pass,body]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.13)[ip: (0.37), ipnet: 128.135.0.0/16(0.18), asn: 160(0.15), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 14:14:03 -0000 On 5/5/20 8:36 AM, Ottavio Caruso via freebsd-questions wrote: > On Tue, 5 May 2020 at 10:59, Steve O'Hara-Smith wrote: >> >> On Tue, 05 May 2020 15:39:16 +0600 >> Nikita Stepanov wrote: >> >> We seem to be getting a rash of bodyless messages with the question >> in the subject. Please type a body with your question even if it is a >> repeat of the subject. > > OP was doing exactly the same on the OpenBSD mailing list and got > banned there. Then he moved here. > Receiving messages with empty body is annoying (such in my psychology). People answering these messages that continue being such even after one was pointed to it several times (several days ago was the first time) remove the incentive for OP to solve his issue. As it stands, kind people just add to others' annoyance. 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 Tue May 5 16:19:55 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C8DF813B7D5 for ; Tue, 5 May 2020 16:19:55 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49GlLL637Tz4BpV for ; Tue, 5 May 2020 16:19:54 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=M3Lxga94OhJTqFZW+GHCaJpRuCWWpBWbBwRaD00x2HI=; b=ic6oriQ4c8NqWrB3/gm40dYKvU wbyNG5/YK2TU/NB7h6QHRobifK95bry/tRa8aLOFDauVLi2uViPRL9cj8yCmTrPVso+Vd18SWrLlj sy/Ve9ZnfuO+IUCTNpBihqdZxaLQidyKSbIMWDnpxRF41PgZYb7eDYoNe4SM7oV8LpGo=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jW0IS-0009D9-4z; Tue, 05 May 2020 23:19:52 +0700 Date: Tue, 5 May 2020 23:19:52 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200505161952.GA34844@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20200503171259.GA48627@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49GlLL637Tz4BpV X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=ic6oriQ4; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[192.168.1.74]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.19), country: US(-0.05)]; SH_EMAIL_ZRD(0.00)[192.168.1.74] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 16:19:55 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: >=20 > I'm trying to use a Brother HL-L2340D printer as a simple networked > line printer with lpd. I've successfully used HP and Canon printers like > that with a simple printcap like this: The story continues with some good news. Thanks to much insight and help from Polytropon (off list also), and this page: https://support.brother.com/g/b/faqend.aspx?c=3Dus&lang=3Den&prod=3Dhll2340= dw_us_eu_as&faqid=3Dfaq00100602_000 I've been able to print PDF files (lpr -P ps mozilla.pdf)=20 on this printer with the following printcap entry: ps|Brother HL-L2340D series PostScript:\ :sh:\ :lp=3D9100@192.168.1.74:\ :if=3D/usr/local/etc/ps2pcl.sh:\ :sd=3D/var/spool/output/lpd2:lf=3D/var/log/lpd-errs: while the ps2pcl.sh looks like this (thanks again to Polytropon): #!/bin/sh #/usr/bin/printf "\033&k2G" || exit 2 /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ -sDEVICE=3Dhl1250 -sPAPERSIZE=3Da4 -r600x600 \ -sOutputFile=3D- - && exit 0 exit 2 So GhostScript's "hl1250" driver works wonders, I even see Cyrillic text in the printed PDF. Now two questions are left: 1. How the heck do I print text files with this setup? Should I convert them to PostScript first, and how? UTF-8 Cyrillic support is crucial. 2. How do I convince Mozilla Firefox that I now have a PostScript printer and it can print directly to it, not just to a PDF file? It does not seem to care for /etc/printcap. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --envbJBWh7q8WU6mo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJesZIoAAoJEA2k8lmbXsY0BGAH/09AxDJjuw1yLniR7ksGKWow D9Zqlf1tl/AhQ/O7seqcXwhXFqVw+57MJRpp6s4Bww3J+6kgvWNEb/dsHbj+zZBg fgdf3maGsGpr4TB4SebDZKktyYbcF7ocyHwQEaBTioYEiHLLse0unz39LM0NFr8L anxYBMFYxsUG/9RB1ds4V/bJiE8s/9BGbwZk6CCOxtFMwfRml5tmRBgJQT4S/bGF fTm3nrXB11u9Z7rE6NZ6h8Z4GAjKNlwisXaYei036iAjRYVI2FVqj6s2ThOcx0XM /nopLzf8ATlda9LMXLPP0307IFlQ/1CgZ2VSu7MgxlNihFvCb7pcrv4dLFPM3N8= =J97t -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo-- From owner-freebsd-questions@freebsd.org Tue May 5 16:55:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4FB1213CB98 for ; Tue, 5 May 2020 16:55:15 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gm761hkmz4F8n for ; Tue, 5 May 2020 16:55:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1N64JK-1j3M2h208O-016T86; Tue, 05 May 2020 18:55:11 +0200 Date: Tue, 5 May 2020 18:55:10 +0200 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org, Polytropon Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200505185510.00b622e3.freebsd@edvax.de> In-Reply-To: <20200505161952.GA34844@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200505161952.GA34844@admin.sibptus.ru> 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:8OvrCXEny0L4SO+k2/Kd+fAs/IqwHhvb1lmXFdrmnbsK4rauYo1 RvpQ4/Nfqia8bfNfeLHwYb4Ev49sti+PQr2oY7v74Pisg3hNBJrBEV6XoxDCoPVetJQ1KM0 SAc6lcy1SPx+NBcOiJythOkmuoltBa6lqDrQrag4GbE0+6+lRYLIaFRw52UjXGRwEpm5aBY H7GF/j8IqmnsUzD0d/ogg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yI7N3qIcfLo=:pV+DKTcurVjM5XoPpQL2ak Jkdx+HYE2xYtrnOUeR+1wB5dX0tYg/baQUxi89YU1PDcdNJzqXTFEEPCiZLAiauHMjxZnmWcO gWQgYtJ3sKeRrz54C7Mff+8XG+yiiQGPzdla13vKQmr87vmK0L64qd59pQvQ3Po294iwiki+r Sfr7OwlhKPLcwr6hi8GhS3oYduvStHTiCj7OoSYXdS9HZi0cl/BkalhG4o2vZeIp07m70NKEH QfdkcW2COys9udjmyimuLdtGCsMLpnve9znxRutJOqAgbXTX9YRNlQ1Aq4UugJhNbSA879md1 /cwqLHLuC6LBQj4ahF5/M5zapIHxY36EL/5anbnIlxSlcQZfFShJMGTlNzpHaBG2hBNIq8baK Djnm9sk+qQxE7GQYW65xy0umPJv8YfTd2qk6kT0Qo3OXWNUMHDJ6OFVZ0bJkKGFvvw4HHbOCh OUnRERI9wvKI/h02h57jiUdBVabS2TScsY8TtNVuZQ31e1YYjS1YhkPdz0BzoEn9WGTiYMqIF GvnyQk17jVkRs/J2y/6NE23TvH7SSTRY6OO8TaIa6spl2//ygqGcPXWbZSCdKWAG3/o4WFvRC 8FfdOJB9sWhFHlJc+mXGigiai723zNiZtNdWgisdlUW/NolZArXPHitHwjedCIvTZUrdoHc+r l4YQve19lcowEbhYG+/78xRYWbQZTfHe9DC7R0aOGdfNB/xHMlTjKa5w9pOjn7nTPqv43BWEi uUpVuNG8p/mrayQVEY6Z1UCx+tkimQgLLF3tI4DikzviFCsuZdSBnUH+wS2WTJGD/aLQs1S7p Qin/r6bLZB18KOeJI4QKHcAM2R7gRlASrnBxbbj3w6wPGCt/r5z5Jg13pkCNzCdkCYUNLp9 X-Rspamd-Queue-Id: 49Gm761hkmz4F8n X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.75) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[16.9.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; SH_EMAIL_ZRD(0.00)[192.168.1.74]; ARC_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[192.168.1.74]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.93)[0.934,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[75.192.72.217.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[75.192.72.217.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.34)[ip: (-0.61), ipnet: 217.72.192.0/20(0.29), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 16:55:15 -0000 On Tue, 5 May 2020 23:19:52 +0700, Victor Sudakov wrote: > Victor Sudakov wrote: > > > > I'm trying to use a Brother HL-L2340D printer as a simple networked > > line printer with lpd. I've successfully used HP and Canon printers like > > that with a simple printcap like this: > > The story continues with some good news. > > Thanks to much insight and help from Polytropon (off list also), and > this page: > https://support.brother.com/g/b/faqend.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as&faqid=faq00100602_000 > > I've been able to print PDF files (lpr -P ps mozilla.pdf) > on this printer with the following printcap entry: > > ps|Brother HL-L2340D series PostScript:\ > :sh:\ > :lp=9100@192.168.1.74:\ > :if=/usr/local/etc/ps2pcl.sh:\ > :sd=/var/spool/output/lpd2:lf=/var/log/lpd-errs: > > while the ps2pcl.sh looks like this (thanks again to Polytropon): > > #!/bin/sh > > #/usr/bin/printf "\033&k2G" || exit 2 > /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ > -sDEVICE=hl1250 -sPAPERSIZE=a4 -r600x600 \ > -sOutputFile=- - && exit 0 > exit 2 > > So GhostScript's "hl1250" driver works wonders, I even see Cyrillic > text in the printed PDF. Basically, gs will "raster" any PS input it gets. So whatever symbols are there, they will work without any further tools, be it chinese symbols or images or german Umlauts. :-) Thanks for posting the _solution_ to your problem. Future readers will now know that gs's filter "hl1250" works with this particular printer. > Now two questions are left: > > 1. How the heck do I print text files with this setup? Should I convert > them to PostScript first, and how? UTF-8 Cyrillic support is crucial. Yes, gs expects PS as its input. For programs that print (except here: Firefox), PS is the default output anyway. But if you have ASCII text, you need to turn it into PS. The easiest way to do this is the port "a2ps" (ASCII to PostScript). It has several options that you can tweak if the default output is not sufficiently formatted, like headers or margins. Personally, I use "encript" for turning ASCII reports into formatted pages. Here is an example: enscript -o ta_t4_${ACCT}.ps \ --media=A4 \ --margins=50:10:10:10 \ --font=Courier11 \ --header="Transactions for ${ACCT}"'||Page $% of $=' \ ta_t4_${ACCT}.txt Last entry is the input file, -o specifies the output file. You can use - for both or use | to "pass data". This kind of PS can then be easily printed. > 2. How do I convince Mozilla Firefox that I now have a PostScript > printer and it can print directly to it, not just to a PDF file? It does > not seem to care for /etc/printcap. Correct. Firefox doesn't care what you want. ;-) The default "print to file" of Firefox now uses PDF, as many modern printers accept PDF directly. But you can use the tool "pdftops" installed by the port "xpdf". Sidenote: You can even put this into an additional printer filter in /etc/printcap, for example with the printer name "pdf", and address that printer from Firefox's print dialog, to do this preprocessing. And the printer will keep working even if both Brother and "Windows" have stopped offering a driver for it... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue May 5 18:01:04 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 797CF13F174 for ; Tue, 5 May 2020 18:01:04 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 49Gnb33XtGz4KMm for ; Tue, 5 May 2020 18:01:03 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=xG3FPkqsFuQ8bU3ziSbVZm7U2F8GnlDCnNLACaniPW4=; b=bMxf3PRpq+Va9DLjqs2+jjcVAg utEO9L/G7Brt4TBWLlbNKpcCkhEjGVQCBBD76eX7wEZ/Q7KCA0GkEseISOnCA5Md+j3bmPtjnU7re dfDo/cfSz5S9ksAUw0wt60FKlusoUBItXIDWKXUWuXwSaFWAudYjESZ8eGUxq8TAPfWI=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jW1sL-000AML-Ke; Wed, 06 May 2020 01:01:01 +0700 Date: Wed, 6 May 2020 01:01:01 +0700 From: Victor Sudakov To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-ID: <20200505180101.GA35751@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200505161952.GA34844@admin.sibptus.ru> <20200505185510.00b622e3.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20200505185510.00b622e3.freebsd@edvax.de> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 49Gnb33XtGz4KMm X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=bMxf3PRp; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[192.168.1.74]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.19), country: US(-0.05)]; SH_EMAIL_ZRD(0.00)[192.168.1.74] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 18:01:04 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Polytropon wrote: > > >=20 > > > I'm trying to use a Brother HL-L2340D printer as a simple networked > > > line printer with lpd. I've successfully used HP and Canon printers l= ike > > > that with a simple printcap like this: > >=20 > > The story continues with some good news. > >=20 > > Thanks to much insight and help from Polytropon (off list also), and > > this page: > > https://support.brother.com/g/b/faqend.aspx?c=3Dus&lang=3Den&prod=3Dhll= 2340dw_us_eu_as&faqid=3Dfaq00100602_000 > >=20 > > I've been able to print PDF files (lpr -P ps mozilla.pdf)=20 > > on this printer with the following printcap entry: > >=20 > > ps|Brother HL-L2340D series PostScript:\ > > :sh:\ > > :lp=3D9100@192.168.1.74:\ > > :if=3D/usr/local/etc/ps2pcl.sh:\ > > :sd=3D/var/spool/output/lpd2:lf=3D/var/log/lpd-errs: > >=20 > > while the ps2pcl.sh looks like this (thanks again to Polytropon): > >=20 > > #!/bin/sh > >=20 > > #/usr/bin/printf "\033&k2G" || exit 2 > > /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ > > -sDEVICE=3Dhl1250 -sPAPERSIZE=3Da4 -r600x600 \ > > -sOutputFile=3D- - && exit 0 > > exit 2 > >=20 > > So GhostScript's "hl1250" driver works wonders, I even see Cyrillic > > text in the printed PDF. >=20 > Basically, gs will "raster" any PS input it gets. So whatever > symbols are there, they will work without any further tools, > be it chinese symbols or images or german Umlauts. :-) A PostScript translator (GhostScript or any other) can be expected to "raster" the PS input incorrectly if this input contains encodings it does not understand, or glyphs/fonts it is lacking. I've seen so many problems with Cyrillic in my life, believe me. I've seen PDFs with some Cyrillic glyphs replaced by garbage, and much more of such weird stuff than I wish to see. >=20 > Thanks for posting the _solution_ to your problem. Future > readers will now know that gs's filter "hl1250" works with > this particular printer. This is not a final solution. I'm currently hacking the Linux LPR "driver" for this printer (hll2340dlpr-3.2.0-1.i386.deb), and maybe (just maybe) I'll be able to figure out what Linux sends to it to enable ascii LPR printing. In this package, there is a promising small linux binary which Linux uses as an if=3D. I guess it has magic within. >=20 >=20 > > Now two questions are left: > >=20 > > 1. How the heck do I print text files with this setup? Should I convert > > them to PostScript first, and how? UTF-8 Cyrillic support is crucial. >=20 > Yes, gs expects PS as its input. For programs that print > (except here: Firefox), PS is the default output anyway. > But if you have ASCII text, you need to turn it into PS. >=20 > The easiest way to do this is the port "a2ps" (ASCII to a2ps from packages is broken: $ a2ps /etc/rc.conf a2ps: unknown medium `libpaper' >=20 > Personally, I use "encript" for turning ASCII reports enscript is good, but it has huge problems with Cyrillic, and is totally lacking multibyte support (UTF-8). >=20 > > 2. How do I convince Mozilla Firefox that I now have a PostScript > > printer and it can print directly to it, not just to a PDF file? It does > > not seem to care for /etc/printcap. >=20 > Correct. Firefox doesn't care what you want. ;-) >=20 > The default "print to file" of Firefox now uses PDF, as > many modern printers accept PDF directly. But you can use > the tool "pdftops" installed by the port "xpdf". No, it's not necessary, GhostScript eats PDFs just fine. >=20 > Sidenote: You can even put this into an additional printer > filter in /etc/printcap, for example with the printer name > "pdf",=20 > and address that printer from Firefox's print dialog, Oh! I wish I knew how to add something to Firefox's print dialog!=20 Do you? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJesandAAoJEA2k8lmbXsY0zuEIAI0KY6XTzQiUgqAFVwbBnCKw vAFWt8BtF05jsfbwtdZTUbxw+yGHN6r76Y/qONcWJ7rfV7UjF190zJm9rbq9O+m3 ObjtpXIGCFz191snZE4ua8kXd46268r3WQvMtNb8sR6nM4oi6J41IjrCf4chBEXg 2oA6PKBxP4FkNbnkrcxu9Q7z2FqpUsuE8g5taCLh9BQxS63/FU8a5ubc4U8XYpki JDse+Ik3OkyR6hZii0Zablsb67b9Rwq94eAQ3mBZi3DR7lCsXY+4Argm5/gvsfZf WURLXfZEIFymyAKa2LxHrdEXWCxlGYStEIk/KcmF5nVWFulz3Qx+BnC6zUTEV7E= =rHbg -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-questions@freebsd.org Tue May 5 18:21:40 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 951CA2C0266 for ; Tue, 5 May 2020 18:21:40 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gp2q0H12z4M5w for ; Tue, 5 May 2020 18:21:38 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 49Gp2n6LSFzx2h for ; Tue, 5 May 2020 14:21:37 -0400 (EDT) Subject: Re: Brother HL-L2340D printer and lpd? To: freebsd-questions@freebsd.org References: <20200503171259.GA48627@admin.sibptus.ru> <20200503192444.2d700440.freebsd@edvax.de> <20200503185521.GB52059@admin.sibptus.ru> <20200504085053.9bcf8d9d.freebsd@edvax.de> <9992c5ca-fdac-7a62-b0e4-d33afaeb042d@panix.com> <20200505095657.b436931b.freebsd@edvax.de> <20200505054729.00000035@seibercom.net> <20200505112501.cd4d6226a1edd5b4290e2b11@sohara.org> From: Kurt Hackenberg Message-ID: Date: Tue, 5 May 2020 14:21:35 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200505112501.cd4d6226a1edd5b4290e2b11@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49Gp2q0H12z4M5w X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-4.84 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[89.1.84.166.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[89.1.84.166.list.dnswl.org : 127.0.5.2]; DMARC_NA(0.00)[panix.com]; IP_SCORE(-3.34)[ip: (-9.38), ipnet: 166.84.0.0/16(-4.05), asn: 2033(-3.24), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 18:21:40 -0000 On 2020-05-05 06:25, Steve O'Hara-Smith wrote: > ...or doing what I do to support a Brother inkjet and run a CUPS > server under Linux (well actually a jail with a Linux userland) and > CUPS clients on the FreeBSD boxes. There's a FreeBSD port for CUPS, so maybe you don't need to run part of Linux just for that. From owner-freebsd-questions@freebsd.org Tue May 5 18:21:46 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 03D852C027A for ; Tue, 5 May 2020 18:21:46 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2081a.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8a::81a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gp2w6QQGz4M7S for ; Tue, 5 May 2020 18:21:44 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MJht2otPVV2l+RIgaGa30tzP1zAIdyV6ny+QNEg4LVcMA3sohsy2c5gn+jGafAYU5MOucCt+44aXpBxYa4UA9OTb5XpAJITlavrTYswrQ9o42zAw34ahRqTgaOsvX3XTdYX1R53YjijrN5Yk5G0EZotMBIVrQN93Ej0WTD4e4LQMb4o18+T9spUXXJDYl20cE3BCvK03liTvqy6Ubl8mu4lgl4noq3imoYfe7VCa6IGXNFN6GZhv5LkgXrPaaaNXMpzs2RLet3F5QMFn2N+0AwuAiKRXtBe7lJu5XlXc0uWddZUVsfh+3g+1WN3QSO4xrmZjM918yKBCVi3fupKSmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RLXZ9wB+PI6/xsOn1+qALE3gvJb/V0GLFDF6drxqZMI=; b=LKPpv1ldNklgMkp+FChxtw46mQb4wlffhMUWJJxlE9HILjU0MTUzvczncWmIF//gaFpoaE3lkvnYtmM4vPqk24d9nDKRP9Pslymm+0NWYbQ0WyccHspK0zGbO0C/39sw6pBIIhI6Ap8poKKmXr9yeW8fkotzAJN9UUq6ginIdRVWz2IfLFyiJ8F3dYgewVBKCxQSo9bP4ixgA0trTmpdKYtWfEB6zapWHlEd+FNmNaV4Zh3rAIJvnVKyaeN1okiUl9EO8coyOUbm0ftbJtEJ1EC4cphVgAXXXv9qPNIV4aWYjO7et7Ju+UGE2+4vNc1g2vHQC6oaBtRAarS4xB0s3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RLXZ9wB+PI6/xsOn1+qALE3gvJb/V0GLFDF6drxqZMI=; b=sBKq69HRKkM3fd282awXfQwpq1Iz8jYMFTPwT/NzYfcmXrhfNHIdU47BjzPn0JfE99Mvfuy3waAfpdn9mVOCEuIiio9Wg2VRYYoNnRt9eEOcNmGMyu8XbSdSR28oSltbZS7WKvqYAZ5DcUslXPvNwCgCWGpoyJLOP6cecyTp2ZNQHiX+r2nD+vyKMebTma6GZnE4WJo4yG+joCc0msYMG6u9JgL4Fx8Z61Q+YRKXSLK9KLGasrtP0ibI1HARHZqaR5JlF4M2ZvRgihpUZiKn8n7em3l/lToTjT5QSUaZrYd+DqX0Yseas5OsLc0sQtRnfOqRwaUUaurvgduMpw073g== Received: from BN7NAM10FT038.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::47) by BN7NAM10HT115.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::263) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Tue, 5 May 2020 18:21:43 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e8f::53) by BN7NAM10FT038.mail.protection.outlook.com (2a01:111:e400:7e8f::287) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Tue, 5 May 2020 18:21:43 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2979.025; Tue, 5 May 2020 18:21:42 +0000 From: Brandon helsley To: "freebsd-questions@freebsd.org" Subject: Thread-Index: AQHWIwnZewSW7IFMvkqYe8/OJpPu+g== Date: Tue, 5 May 2020 18:21:42 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:9276A91BBF57C610CF1667107508044AE69C0D96AAA1E44B82C99AFE7D8BACB9; UpperCasedChecksum:F390D90B45785E4B56E7AC473AA698019E2C6F2D98B867BE32490D9EFBEC67B6; SizeAsReceived:6602; Count:41 x-tmn: [wLRkvLFF4C4g8QISsEttTyw4meIaZOHs] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: c4a55890-bff8-4275-dd76-08d7f121298a x-ms-traffictypediagnostic: BN7NAM10HT115: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DKwLWzEqXb7wDNXFSbhKgDitgneY8QZggBOIrSPvKJfcmjzhHeXJDA16V+TeNxC3NqRV+H0Y9APSv3oWNvrIXMjGrRdmM3flVgjkCexE6EwBZskJGJDlfciQXu/flwrCWBUtAytRfg6BgaBdXArD9CECk1+O2czMe6lg+yUCNSVB6c1H+IVy5wx37Hln6BJtn9Acev5PrftNijjEjs5MfkIDHTfs7ZL9ng6/hHV4QyUhQ2N4D7Rmya3dHpWXeud8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: 5zzMnivrNVre1AGaFVd7PExFkaEFbBIr4WsRHNCikKfxPJfxYKo6111ElgWpwi8TGQFpu3iMOvrqC8vcG8NXNN9ru+yLUjrIyg+Twqh2Zkt5L568jBj4Q+r24UhWqon1u+riavrD4Su5NioTpudeeQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: c4a55890-bff8-4275-dd76-08d7f121298a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 18:21:42.9095 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT115 X-Rspamd-Queue-Id: 49Gp2w6QQGz4M7S X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=sBKq69HR; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 2a01:111:f400:7e8a::81a as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; MIME_TRACE(0.00)[0:+,1:+,2:~]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.18), asn: 8075(-3.23), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; EMPTY_SUBJECT(1.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 18:21:46 -0000 Can I reenter the installer and configure the network automatically again a= nd exit without doing an entire reinstall? I screwed up my network connection with ifconfig but don't know what to do? Sent from Outlook Mobile From owner-freebsd-questions@freebsd.org Tue May 5 18:23:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EA282C05E9 for ; Tue, 5 May 2020 18:23:37 +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 Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Gp541QMQz4MSd for ; Tue, 5 May 2020 18:23:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.9.16]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1N2VCb-1j95oo0EVr-013vkp; Tue, 05 May 2020 20:23:33 +0200 Date: Tue, 5 May 2020 20:23:31 +0200 From: Polytropon To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Brother HL-L2340D printer and lpd? Message-Id: <20200505202331.53374f21.freebsd@edvax.de> In-Reply-To: <20200505180101.GA35751@admin.sibptus.ru> References: <20200503171259.GA48627@admin.sibptus.ru> <20200505161952.GA34844@admin.sibptus.ru> <20200505185510.00b622e3.freebsd@edvax.de> <20200505180101.GA35751@admin.sibptus.ru> 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:rqpf0ro/sGQuMmX3M+XvJ1yGqhu3A+fFEJ9bHWlrzV7Jzg17epu 2uu63kOzouMqo/hYsTGv/aVD5YyM0G9UzQnT7oxdAX8Ia9na1i5mf1fc+llKHuTN9E25diu wt463wqfTK7/k+d87dRkDry9gtBXJ3ab0/R9j+QmgRUEpHYwGgh+dySvfvPxmuJILqUA9jg 6LTcJvkeLbCJhqRq7l4tA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ylYCSsPSO4A=:W/M/p0Ri+lukWS4vh793kL IWB8Thzddn9YJA5ZL8wFQWsSDt7BWgXS0yY86wTmVqc0df4sckQasj7R46D2CITrt1P11d8lN 2InRFTQDpavhbw4Y3NhuypOgi4T0DWy4POxvXioIZPZoUY3ePTAsf3y2oPXzJMPZjb3uup/tx I5N6xAOCdW0rRklv5rzgefcRaZc5IwFljh5yd/VJ4OjTz6QB6Cwwf2pax63X7KxYlCrTeiAnw uGxZ9mAGZTTjW9YnUFiL65In0XuqOEFG/bkBUTrKXksDN9IwpxAtl9VmTzpmIoILhrAI0D60m kFXV7j4SoifZRSyPtvloGYi4/H2WQDwd2uGESDD6ElBahVN/aqDMZMp3xMA6U8yxcARpBcgHR EyjcOy3NQy9KlT2ZejG7vpk+KRPAWkeTiAWadCrbpo20RhPZm+8gihh0yotwrtFyIOD163li6 3pxhe+fA0AHYo7ytwDC0YbtPbQ7V5r9uCrsv6SltPdYj2pzdysFs23B45pRla3HlARXSyIpUG THRwg5VoCrT8lLO3BNhXszxgVpJISHLf2M34iiqiZfHQ7k/nXRSRqVgeB1WfghP/jkCUTvlXn LCFNndHwwQBem2vqj2K+jhnGDQmpiuaM+koev4yXdURkt6zckL8Cmsrx8IP410MPcrA938Ek0 IT+EHVvfhJnXtTb66q4dOf5rEAYvDiszuV9MaNujq0VSCCva9pPWBwh35Tb6ZuMw3gOEo/tt7 uQjj7S27Wwdb7WPOUqKblctYJkk9n3VL3SzcWAs3fpbI8oDq+P22jiLjasRoceI2/e/FNe5CT 05c0D1hqCDFM7LppsMreyebpeiC+8u128DOFCK8JVu2jjBfia84jhUEvWGFnZomoHXuM8v8 X-Rspamd-Queue-Id: 49Gp541QMQz4MSd X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; SH_EMAIL_ZRD(0.00)[192.168.1.74]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[192.168.1.74]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.979,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[73.192.72.217.rep.mailspike.net : 127.0.0.19]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.42)[ip: (-0.18), ipnet: 217.72.192.0/20(0.28), asn: 8560(2.04), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 18:23:37 -0000 On Wed, 6 May 2020 01:01:01 +0700, Victor Sudakov wrote: > Polytropon wrote: > > > > > > > > I'm trying to use a Brother HL-L2340D printer as a simple networked > > > > line printer with lpd. I've successfully used HP and Canon printers like > > > > that with a simple printcap like this: > > > > > > The story continues with some good news. > > > > > > Thanks to much insight and help from Polytropon (off list also), and > > > this page: > > > https://support.brother.com/g/b/faqend.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as&faqid=faq00100602_000 > > > > > > I've been able to print PDF files (lpr -P ps mozilla.pdf) > > > on this printer with the following printcap entry: > > > > > > ps|Brother HL-L2340D series PostScript:\ > > > :sh:\ > > > :lp=9100@192.168.1.74:\ > > > :if=/usr/local/etc/ps2pcl.sh:\ > > > :sd=/var/spool/output/lpd2:lf=/var/log/lpd-errs: > > > > > > while the ps2pcl.sh looks like this (thanks again to Polytropon): > > > > > > #!/bin/sh > > > > > > #/usr/bin/printf "\033&k2G" || exit 2 > > > /usr/local/bin/gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER \ > > > -sDEVICE=hl1250 -sPAPERSIZE=a4 -r600x600 \ > > > -sOutputFile=- - && exit 0 > > > exit 2 > > > > > > So GhostScript's "hl1250" driver works wonders, I even see Cyrillic > > > text in the printed PDF. > > > > Basically, gs will "raster" any PS input it gets. So whatever > > symbols are there, they will work without any further tools, > > be it chinese symbols or images or german Umlauts. :-) > > A PostScript translator (GhostScript or any other) can be expected to > "raster" the PS input incorrectly if this input contains encodings it does > not understand, or glyphs/fonts it is lacking. Yes, especially if the construction of the PS (or the PDF it is generated from) is incomplete. But if the input is already rastered - no problem. :-) > I've seen so many problems with Cyrillic in my life, believe me. I've > seen PDFs with some Cyrillic glyphs replaced by garbage, and much more > of such weird stuff than I wish to see. I think that's also a result of UTF-8 vs. CP-866 vs. KOI-8 single / multi-byte mapping... yes, the german language is still suffering from the same problem. > > Thanks for posting the _solution_ to your problem. Future > > readers will now know that gs's filter "hl1250" works with > > this particular printer. > > This is not a final solution. I'm currently hacking the Linux LPR > "driver" for this printer (hll2340dlpr-3.2.0-1.i386.deb), and maybe > (just maybe) I'll be able to figure out what Linux sends to it to enable > ascii LPR printing. > > In this package, there is a promising small linux binary which Linux > uses as an if=. I guess it has magic within. > > > > > > > > Now two questions are left: > > > > > > 1. How the heck do I print text files with this setup? Should I convert > > > them to PostScript first, and how? UTF-8 Cyrillic support is crucial. > > > > Yes, gs expects PS as its input. For programs that print > > (except here: Firefox), PS is the default output anyway. > > But if you have ASCII text, you need to turn it into PS. > > > > The easiest way to do this is the port "a2ps" (ASCII to > > a2ps from packages is broken: > > $ a2ps /etc/rc.conf > a2ps: unknown medium `libpaper' Install "libpaper" package and manually set a symlink in /usr/local/etc: papersiz