From owner-freebsd-questions@freebsd.org Sun Aug 27 01:32:16 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 862EADE086B for ; Sun, 27 Aug 2017 01:32:16 +0000 (UTC) (envelope-from duane@nofroth.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53E5783F57 for ; Sun, 27 Aug 2017 01:32:16 +0000 (UTC) (envelope-from duane@nofroth.com) Received: by mail-it0-x22a.google.com with SMTP id f1so7769755ith.0 for ; Sat, 26 Aug 2017 18:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nofroth.com; s=google; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=n4bkUMDt1qHgQHE7XaMLriotpTI+NcpsRcRxTcsDjbc=; b=L/OhbA6siZezpVeyfj5DDPFnVOL/KIxznZlJPd7JHlG9cW+Gzdr94b2VDdIeP1lMDv +d/FXaq+Uj6Km5MLwZm/65E+06puX2e+5MTKZbFt8ph4N1xdAKE3kKJyoQbytV3ImflZ JtgBZh2KbUxo3VADHSfdMX0aciWw0KOVb0aOwG6O49dxxfYwiQ3CFvPDw/8imjf9mhfz AkMBZbz6BeWR8Ek+/9jqQXmIb6usnspxH/khGT2dmoB7YfZDkUuChEGrkgvDKtLiZaCn Eox7xpZAHZMBHzW6nt6RCfhrDwfmi0MDb3R6AK8AaZETEnzcf1ugDC2KWdlrSxd61zfK 2xJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n4bkUMDt1qHgQHE7XaMLriotpTI+NcpsRcRxTcsDjbc=; b=mYws41/2TFXskybf1o3lIYCJ/VKEX1rRbZW2gbIu9BpoZYdLZwluIZI0KNRCGT+ZSG dD5ld0fB7gq7ZQ8EZqHnLyV43buMoIaGx7xkjUeN7LEiA7w1e6oE5j77wnoyZF1D/gYD 9leX6tNTqrJYWTlTw1ZD+2TarvCjA1hO0Np4n9hnS/FmTBzN8mia/pM7kOS73LM/DTft mHNA//2coKQEG781OIRlFR13A2nOIPG0TS+57gsZf9v6CRJTxQTO6It5gSDv8MksDg+4 fmMLotOShVqqTBZthhjL32SngERGQ/wsp99PV/iSVgv2hECgbnRaS2Q7/u7gb/Xdk/RJ KSVw== X-Gm-Message-State: AHYfb5jvK1RphiVJrLmGrrDhh/ZMKdH+fPsVdQue0iIt7nPFG/8m1ZuH zZg4snx24vtqGhngvbcymA== X-Received: by 10.36.55.138 with SMTP id r132mr2265830itr.59.1503797535255; Sat, 26 Aug 2017 18:32:15 -0700 (PDT) Received: from [10.8.8.76] ([184.75.212.77]) by smtp.gmail.com with ESMTPSA id n90sm4476913ioe.72.2017.08.26.18.32.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Aug 2017 18:32:14 -0700 (PDT) Cc: duane@nofroth.com Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) To: freebsd-questions@freebsd.org References: From: Duane Whitty Message-ID: <62dc30c4-6f8b-0558-60de-a52df3b68903@nofroth.com> Date: Sat, 26 Aug 2017 22:32:08 -0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 01:32:16 -0000 On 17-08-26 05:12 PM, Fongaboo wrote: > > I switched from IPFW to PF to try the config described here: > > https://forums.freebsd.org/threads/59223/#post-339781 > [snip] I assume you also know that AWS blocks outgoing traffic on any non-default VPC. So you might want to include your AWS routes, security policies (firewall rules) and AWS ACLs if you've configured them. It doesn't matter how you have configured your FBSD instance if AWS won't let your traffic leave the network. Best Regards, Duane -- Duane Whitty duane@nofroth.com From owner-freebsd-questions@freebsd.org Sun Aug 27 03:54:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8A77DE5C70 for ; Sun, 27 Aug 2017 03:54:28 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 48F6663513 for ; Sun, 27 Aug 2017 03:54:27 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.113.221]) by ipmail06.adl6.internode.on.net with ESMTP; 27 Aug 2017 13:19:18 +0930 Subject: Re: Scripting wifi connections To: "C. L. Martinez" , freebsd-questions@freebsd.org References: <20170826132404.mpvknkgxl26t5c43@tesla.lab.uxdom.org> From: Shane Ambler Message-ID: <44a0b50e-3c4b-86ce-9bda-9e6fc634af35@ShaneWare.Biz> Date: Sun, 27 Aug 2017 13:19:15 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170826132404.mpvknkgxl26t5c43@tesla.lab.uxdom.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 03:54:28 -0000 On 26/08/2017 22:54, C. L. Martinez wrote: > Hi all, > > Sometimes I need to use two wifi connections at the same time. > Actually, my FreeBSD laptop is configured to use source routing (via > setfib+pf rules) to accomplish this. But I need more flexibility: choose > how many connections to use, setup a wpa_spplicant.conf's file "on the > fly", etc. > > My current config in rc.conf is: > > dhclient_fib="1" > wlans_ath0="wlan0" > wlans_urtwn0="wlan1" > ifconfig_wlan0="country ES WPA SYNCDHCP fib 1 group egress" > > As you can see, I can only have one wlan interface properly > configured. And my idea is to build a script to setup configurations "on > the fly". > > Any tip or idea? I only have one wlan so haven't tested this - For two wlans you should be able to add ifconfig_wlan0="country ES WPA SYNCDHCP fib 1 group egress ssid home" ifconfig_wlan1="country ES WPA SYNCDHCP fib 1 group egress ssid work" If needed you can adjust wpa_supplicant flags in rc.conf wpa_supplicant_flags="-s" wpa_supplicant_conf_file="/etc/wpa_supplicant.conf" While wpa_supplicant has the -i ifname and -c config_file options allowing you to restart it with different configs if you wanted, you should be able to configure multiple wlans in the one config_file, you could adjust the one config and SIGHUP wpa_supplicant to re-read it or have multiple configs setup and tell it to use a different one to suit. network={ ssid="home" scan_ssid=1 key_mgmt=WPA-PSK ... } network={ ssid="work" scan_ssid=1 key_mgmt=WPA-EAP ... } If using ifconfig wlan1 down to turn off one wlan doesn't work have a look at wpa_cli to interact with the running wpa_supplicant, it can take commands so should work from a script. Be sure to set ctrl_interface and ctrl_interface_group in your wpa_supplicant.conf to use wpa_cli. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Sun Aug 27 07:42:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAD46DE99D0 for ; Sun, 27 Aug 2017 07:42:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D83CF6939E for ; Sun, 27 Aug 2017 07:42:52 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v7R7gUmt012297; Sun, 27 Aug 2017 17:42:30 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 27 Aug 2017 17:42:30 +1000 (EST) From: Ian Smith To: Fongaboo cc: freebsd-questions@freebsd.org Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) In-Reply-To: Message-ID: <20170827164229.W23641@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 07:42:53 -0000 In freebsd-questions Digest, Vol 690, Issue 7, Message: 2 On Sat, 26 Aug 2017 09:03:07 -0400 (EDT) Fongaboo wrote: > I'm following this tutorial: > > https://www.digitalocean.com/community/tutorials/how-to-configure-and-connect-to-a-private-openvpn-server-on-freebsd-10-1 > > Trying this on an AWS instance first and then planning to try on a bare metal colo server. > > OpenVPN client and daemon seem to be working, in terms of handshaking and > connecting with each other. Problem is, no matter what I do, connected > clients can't get out to the Internet through the server's gateway > interface. > > I've tried setting up NATD, like the tutorial instructs. I've tried > enabling ipfw_nat as described in this comment: > > https://www.digitalocean.com/community/tutorials/how-to-configure-and-connect-to-a-private-openvpn-server-on-freebsd-10-1?comment=40498 > > rc.conf (for NATD): > > #enable firewall > firewall_enable="YES" > firewall_script="/usr/local/etc/ipfw.rules" > firewall_type="open" I know next to nothing about OpenVPN - though the digitalocean tutorial looks pretty thorough on the surface - and absolutely nothing about AWS, but do know a bit about ipfw and friends. Your changing of the default firewall_script from /etc/rc.firewall to "/usr/local/etc/ipfw.rules" suggests that you've been unfortunately illadvised by the still-dreadful IPFW section in the handbook, written by someone who uses ipfilter. Rely on /etc/rc.firewall and ipfw(8) for accurate information on using ipfw. I note that the digitalocean tute did not make that mistake, though it would be more up-to-date to use firewall_nat_enable rather than natd(8), however natd works as well as ever, if a bit more slowly (extra process) So .. firewall_type="open" is a parameter to whatever firewall_script. /etc/rc.firewall uses that to generate an open firewall, i.e. inserting 'pass all from any to any', overriding the default 'deny all from any to any'. You didn't show your ipfw.rules, but I doubt it parses 'open' as a parameter - so it would not be surprising if you were locked out. > gateway_enable="YES" > natd_enable="YES" > natd_interface="xn0" > natd_flags="-dynamic -m" > > rc.conf (revised for ipfw_nat): > > #enable firewall > firewall_enable="YES" > firewall_script="/usr/local/etc/ipfw.rules" > firewall_type="open" Same problem here. Comment out that firewall_script line to get the default, as shown in /etc/defaults/rc.conf > firewall_nat_enable="YES" > firewall_nat_interface="xn0" > > gateway_enable="YES" You'll likely need some firewall_nat_flags as well. See rc.firewall for NAT setup (natd or firewall_nat) with 'open' or 'client' rulesets. > #natd_enable="YES" > #natd_interface="xn0" > #natd_flags="-dynamic -m" > > *xn0 = external interface of the server > > Neither config allows Internet access. Try it with the default firewall_script, for a proper open firewall, that you can condition to suit once your VPN stuff is all working. pf is fine too of course, properly configured, but I hate seeing people quit using ipfw because of some truly bad advice from >10 years ago :( As for this thread in general, it'd be really nice if people would not re-re-quote long messages including tcpdumps to add one-line comments, whether top- or bottom-posted - this digest was five times normal size. cheers, Ian From owner-freebsd-questions@freebsd.org Sun Aug 27 09:59:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8323EDEC0A9 for ; Sun, 27 Aug 2017 09:59:08 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F28BF6C94F for ; Sun, 27 Aug 2017 09:59:07 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id d17so12633638lfe.1 for ; Sun, 27 Aug 2017 02:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8OscvDoZ/CSZ8TI9arEmp/8l6DMx13/MR6GEidbbtd0=; b=OzsDN3YAIUPMRV8D9rjDrHJDbhd6v1z3h8Dw4mP+eCViGMvFV8DAHlat0CJ/b2VOu+ yRrxY1P++CYHoC88R0LaJCCmTlwWuIwRCaUauSIqzGx6XEwSAyB5xbX0GYOKBVJaIg8P yb7Ik7N+8OlgkwEJxLEcrV7l0KN6l5uYkUNLIaQFv1st2yBFP/u6czE1d/FnF9adf9VE bGDowUo0C1QlG1QP9hmtC2e53UeNt+a2actIyqJzshaGpPIxRMOx4ItNbJc5pCcIKub7 eXyJHXMllXRFxj/N+ou/UWYoSQJvUaAO6CFXsbcksXepzu0KwihIA388nGd1YaXjdUYw cYzA== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8OscvDoZ/CSZ8TI9arEmp/8l6DMx13/MR6GEidbbtd0=; b=GqG2OAaEeL4sExWb8vEm0kQO8oA+jLKW/6AwN05ER5qlNFG17WfMQw8Y1ht/lrMENQ JlYF64Mh4lEPFz4WWeA8G175LoFllpT4nZHQho7AK/9PpmbBzlqnlDKWwaLiJilhXA2W RPznHpj92Bp6/NHeo7vbpmY5a18h2YDuzJKIjIC1H8iebusVqhPWGmJJmpACmDNoa2IE D6HYNtDP2FP6Q2SOSpiEbsS2mon6PZCKWiJBRNBze/lsamrplZ6DAcLSP9F0rH/PvtLp IjC74y/r6N0DDG41DDa9H2KAsR0o31ryjHVlBjX8vmeSAOEiqL2zy19OoX8Sm+UCGoty +cHg== X-Gm-Message-State: AHYfb5gC6DJ3XDW6a14l7UTQtRxR9PEl4FVmfYTLuDP611h3+aO444qT rtGI0vp4mUOX7DNwz9Y= X-Received: by 10.25.205.84 with SMTP id d81mr1856452lfg.255.1503827944964; Sun, 27 Aug 2017 02:59:04 -0700 (PDT) Received: from localhost ([185.86.10.202]) by smtp.gmail.com with ESMTPSA id q28sm1897274lfq.42.2017.08.27.02.59.03 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 Aug 2017 02:59:04 -0700 (PDT) Date: Sun, 27 Aug 2017 09:59:02 +0000 From: "C. L. Martinez" To: freebsd-questions@freebsd.org Subject: Re: Scripting wifi connections Message-ID: <20170827095902.uhd22xcm65j3l6wt@tesla.lab.uxdom.org> References: <20170826132404.mpvknkgxl26t5c43@tesla.lab.uxdom.org> <44a0b50e-3c4b-86ce-9bda-9e6fc634af35@ShaneWare.Biz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <44a0b50e-3c4b-86ce-9bda-9e6fc634af35@ShaneWare.Biz> User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 09:59:08 -0000 On Sun, Aug 27, 2017 at 01:19:15PM +0930, Shane Ambler wrote: > On 26/08/2017 22:54, C. L. Martinez wrote: > > Hi all, > > > > > Sometimes I need to use two wifi connections at the same time. > > Actually, my FreeBSD laptop is configured to use source routing (via > > setfib+pf rules) to accomplish this. But I need more flexibility: choose > > how many connections to use, setup a wpa_spplicant.conf's file "on the > > fly", etc. > > > > My current config in rc.conf is: > > > > dhclient_fib="1" > > wlans_ath0="wlan0" > > wlans_urtwn0="wlan1" > > ifconfig_wlan0="country ES WPA SYNCDHCP fib 1 group egress" > > > > As you can see, I can only have one wlan interface properly > > configured. And my idea is to build a script to setup configurations "on > > the fly". > > > > Any tip or idea? > > I only have one wlan so haven't tested this - > > For two wlans you should be able to add > ifconfig_wlan0="country ES WPA SYNCDHCP fib 1 group egress ssid home" > ifconfig_wlan1="country ES WPA SYNCDHCP fib 1 group egress ssid work" > > If needed you can adjust wpa_supplicant flags in rc.conf > wpa_supplicant_flags="-s" > wpa_supplicant_conf_file="/etc/wpa_supplicant.conf" > > While wpa_supplicant has the -i ifname and -c config_file options > allowing you to restart it with different configs if you wanted, you > should be able to configure multiple wlans in the one config_file, you > could adjust the one config and SIGHUP wpa_supplicant to re-read it or > have multiple configs setup and tell it to use a different one to suit. > > network={ > ssid="home" > scan_ssid=1 > key_mgmt=WPA-PSK > ... > } > network={ > ssid="work" > scan_ssid=1 > key_mgmt=WPA-EAP > ... > } > > If using ifconfig wlan1 down to turn off one wlan doesn't work have a > look at wpa_cli to interact with the running wpa_supplicant, it can take > commands so should work from a script. Be sure to set ctrl_interface and > ctrl_interface_group in your wpa_supplicant.conf to use wpa_cli. > Thanks Shane. I will read man pages about wpa_cli ... -- Greetings, C. L. Martinez From owner-freebsd-questions@freebsd.org Sun Aug 27 13:20:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A6B4DEFE13 for ; Sun, 27 Aug 2017 13:20:00 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (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 758F471CC6 for ; Sun, 27 Aug 2017 13:19:58 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id 0D99980E92B for ; Sun, 27 Aug 2017 09:19:51 -0400 (EDT) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 33847-05 for ; Sun, 27 Aug 2017 09:19:50 -0400 (EDT) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id 8511E80E929 for ; Sun, 27 Aug 2017 09:19:50 -0400 (EDT) Date: Sun, 27 Aug 2017 09:19:50 -0400 (EDT) From: Fongaboo X-X-Sender: fongaboo@h4lix.wtfayla.net To: freebsd-questions@freebsd.org Subject: Re: apache error during iRedmil installation In-Reply-To: <3d5040ff-d2d2-d0e4-43c7-91ab8ee90c25@mailman-hosting.com> Message-ID: References: <3d5040ff-d2d2-d0e4-43c7-91ab8ee90c25@mailman-hosting.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 13:20:00 -0000 What is the proper way to apply this patch? I placed it in /usr/ports/www/apache24/files/. Initially I named it patch-libressl, but still got the same errors. I tried naming it patch-modules_ssl_mod__ssl.c as hunch, based on the head of the file, but no dice. NOTE: I am not trying to install iRedmil, just Apache 24 with libressl. On Mon, 3 Jul 2017, Jim Ohlstein wrote: > > > On 07/03/2017 02:25 AM, Fatemeh Mehdizadeh wrote: >> Hi all, >> I want to install Iredmail 0.9.7 on my FreeBSD 11. I do the steps from >> iRedmail's manual and now I encounter with this error during installation: >> >> >> >> >> >> >> >> >> >> >> >> >> >> *ab.c:2518:5: warning: implicit declaration of function >> 'SSL_CTX_set_max_proto_version' is invalid in C99 >> [-Wimplicit-function-declaration] SSL_CTX_set_max_proto_version(ssl_ctx, >> max_prot); ^ab.c:2519:5: warning: implicit declaration of function >> 'SSL_CTX_set_min_proto_version' is invalid in C99 >> [-Wimplicit-function-declaration] SSL_CTX_set_min_proto_version(ssl_ctx, >> min_prot); ^2 warnings generated./usr/local/share/apr/build-1/libtool >> --silent --mode=link cc -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG >> -fstack-protector -fno-strict-aliasing -L/usr/local/lib -lssl -lcrypto >> -lcrypt -lpthread -L/usr/local/lib/db5 -L/usr/lib -L/usr/local/lib >> -Wl,-rpath,/usr/local/lib -fstack-protector -o ab ab.lo >> -L/usr/local/lib -R/usr/local/lib -laprutil-1 -ldb-5.3 -lexpat >> -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt -lpthread -lmab.o: In >> function `main':ab.c:(.text+0xbd9): undefined reference to >> `SSL_CTX_set_max_proto_version'ab.c:(.text+0xbea): undefined reference to >> `SSL_CTX_set_min_proto_version'cc: error: linker command failed with exit >> code 1 (use -v to see invocation)* >> >> Please help me to solve the problem. >> >> Thanks for sharing your knowledge. > > Looks like iRedMail is using libressl. Since the latest libressl update > apache24 won't build. There is a patch at > https://bz.apache.org/bugzilla/show_bug.cgi?id=61184, but it hasn't > filtered into the ports tree. > > > -- > Jim Ohlstein > Professional Mailman Hosting > https://mailman-hosting.com > > From owner-freebsd-questions@freebsd.org Sun Aug 27 13:49:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBD3DDF05CA for ; Sun, 27 Aug 2017 13:49:57 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (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 A7B2872676 for ; Sun, 27 Aug 2017 13:49:56 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id 491737CE738 for ; Sun, 27 Aug 2017 09:49:55 -0400 (EDT) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 34651-02 for ; Sun, 27 Aug 2017 09:49:54 -0400 (EDT) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id C68637CE732 for ; Sun, 27 Aug 2017 09:49:54 -0400 (EDT) Date: Sun, 27 Aug 2017 09:49:54 -0400 (EDT) From: Fongaboo X-X-Sender: fongaboo@h4lix.wtfayla.net To: freebsd-questions@freebsd.org Subject: Re: apache error during iRedmil installation In-Reply-To: Message-ID: References: <3d5040ff-d2d2-d0e4-43c7-91ab8ee90c25@mailman-hosting.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 13:49:58 -0000 Good news. Apparently they've already fixed it in ports, so a portsnap update/extract did the trick. But it would be good to know what I was doing wrong with the patch for future reference. On Sun, 27 Aug 2017, Fongaboo wrote: > > What is the proper way to apply this patch? > > I placed it in /usr/ports/www/apache24/files/. Initially I named it > patch-libressl, but still got the same errors. I tried naming it > patch-modules_ssl_mod__ssl.c as hunch, based on the head of the file, > but no dice. > > NOTE: I am not trying to install iRedmil, just Apache 24 with libressl. > > > On Mon, 3 Jul 2017, Jim Ohlstein wrote: > >> >> >> On 07/03/2017 02:25 AM, Fatemeh Mehdizadeh wrote: >>> Hi all, >>> I want to install Iredmail 0.9.7 on my FreeBSD 11. I do the steps >>> from >>> iRedmail's manual and now I encounter with this error during >>> installation: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *ab.c:2518:5: warning: implicit declaration of function >>> 'SSL_CTX_set_max_proto_version' is invalid in C99 >>> [-Wimplicit-function-declaration] >>> SSL_CTX_set_max_proto_version(ssl_ctx, >>> max_prot); ^ab.c:2519:5: warning: implicit declaration of function >>> 'SSL_CTX_set_min_proto_version' is invalid in C99 >>> [-Wimplicit-function-declaration] >>> SSL_CTX_set_min_proto_version(ssl_ctx, >>> min_prot); ^2 warnings >>> generated./usr/local/share/apr/build-1/libtool >>> --silent --mode=link cc -O2 -pipe -I/usr/local/include >>> -DLIBICONV_PLUG >>> -fstack-protector -fno-strict-aliasing -L/usr/local/lib -lssl >>> -lcrypto >>> -lcrypt -lpthread -L/usr/local/lib/db5 -L/usr/lib >>> -L/usr/local/lib >>> -Wl,-rpath,/usr/local/lib -fstack-protector -o ab ab.lo >>> -L/usr/local/lib -R/usr/local/lib -laprutil-1 -ldb-5.3 -lexpat >>> -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt -lpthread -lmab.o: >>> In >>> function `main':ab.c:(.text+0xbd9): undefined reference to >>> `SSL_CTX_set_max_proto_version'ab.c:(.text+0xbea): undefined >>> reference to >>> `SSL_CTX_set_min_proto_version'cc: error: linker command failed with >>> exit >>> code 1 (use -v to see invocation)* >>> >>> Please help me to solve the problem. >>> >>> Thanks for sharing your knowledge. >> >> Looks like iRedMail is using libressl. Since the latest libressl >> update >> apache24 won't build. There is a patch at >> https://bz.apache.org/bugzilla/show_bug.cgi?id=61184, but it hasn't >> filtered into the ports tree. >> >> >> -- >> Jim Ohlstein >> Professional Mailman Hosting >> https://mailman-hosting.com >> >> > _______________________________________________ > 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 Aug 27 13:51:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B45CDF0699 for ; Sun, 27 Aug 2017 13:51:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38039727C5 for ; Sun, 27 Aug 2017 13:51:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id s199so9976360vke.1 for ; Sun, 27 Aug 2017 06:51:18 -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=Df6BEthrmtedWu6gPAyLjSCc0K9pEDzUU24xDbxJED8=; b=T/uN/1iZz4s2Ov/YxZGg24wXC3OmwSozh8GPUqrPTryRer6TqVIW1XNwfS1FPQMFt/ h/MtUa+5MIGnIRJYpFAfrHV7jz52vjsIcbtSbgNlsDh9XwmlEF/Ny+qBWHGlDxyMfwQh AheqZByCypmOAdCoWo5zJA5W8/9kgelkeok/+Wl2KayEycNNYQIooYdV7wqQYp7ybHQe 6U9EXYMlcheymP+AF7tusPbaP4eUvaBmgpozmzRAMufRcpIdLnnGyV0f49IxOi+yGUih 3I0pOWEOuncRPTXeh3Xz1VhhqvE5xcWBhmZWAc7/XGxTGQbFxTkhJOALIZvZVI9ro4CU gcEQ== 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=Df6BEthrmtedWu6gPAyLjSCc0K9pEDzUU24xDbxJED8=; b=E5bGXBhyUSJN1sggrPI/3FF+N/4DATctWD8Uy0VAFjmpGCdinW1bpbTvl6PmZKTwvc izwKdnuhcmGWAl5PHIjLv07ew4IBh7MJYsuME8zLKiPFfpBD7matDIAoAssE05qlH7Yb 7LXc8xPsd6IG7LKBvmhBl8dotf0ApkCvfZDXAZ8ZQy9Rokw0VkzDQJbqF/JitNz5rafq 76zgXwMhovEkJ/CGs2g+e+nWi3vtI68QNsNsS1IAC9g1m1EbynYk2ItwQVvFrw3GyLQB 3kEsXjEfDPsST3VHs4jFcoQfccuPA4WvZ+oJFGsDBN4yeZu3I/vtl91VH78acnvoE04W tUeA== X-Gm-Message-State: AHYfb5iuKPZSRHmpex7mK8fCBgWAm2gwU3STM31ytQkl51ZzEj/qPNYO xpxruOFkmZ1S9QGNijFJL0P7T+ltmw== X-Received: by 10.31.108.215 with SMTP id j84mr2457818vki.190.1503841876905; Sun, 27 Aug 2017 06:51:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.33.199 with HTTP; Sun, 27 Aug 2017 06:51:16 -0700 (PDT) From: Antonio Olivares Date: Sun, 27 Aug 2017 08:51:16 -0500 Message-ID: Subject: Create a truncated icosahedron with gnuplot or metapost To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 13:51:18 -0000 Dear freebsd-users, In looking for a way to draw a royalty free soccer ball with open source software like gnuplot or metapost, I have found a promising page http://math.lbl.gov/voro++/examples/platonic/ I have to run the programs there, but the problem becomes how can we shade the pentagons in black. We can create a sphere in gnuplot, but to change the faces into pentagons and hexagons? http://soukoreff.com/gnuplot/ I have found a nice page that uses java to draw a soccerball http://www.hoist-point.com/soccerball.htm If somehow the github code can be converted to metapost?, or generated to get the points and then get the shading correctly. I hope someone can help. I have also looked into metapost extensions by Anthony Phan m3D package http://www-math.univ-poitiers.fr/~phan/m3Dplain.html And unfortunately I do not know enough of metapost coding, other than copying examples and run them on my machines. Is there a nice idiot proof way of drawing a soccerball or a truncated icosahedron with gnuplot or metapost? If anyone can help/advice/suggest please share your thoughts. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Sun Aug 27 15:04:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D57ADF1A2D for ; Sun, 27 Aug 2017 15:04:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B5D674705 for ; Sun, 27 Aug 2017 15:04:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [192.168.100.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6914A2237 for ; Sun, 27 Aug 2017 15:04:25 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6914A2237; dkim=none; dkim-atps=neutral Subject: Re: Create a truncated icosahedron with gnuplot or metapost To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> Date: Sun, 27 Aug 2017 16:04:18 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 15:04:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln Content-Type: multipart/mixed; boundary="O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> Subject: Re: Create a truncated icosahedron with gnuplot or metapost References: In-Reply-To: --O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 27/08/2017 14:51, Antonio Olivares wrote: > Dear freebsd-users, >=20 > In looking for a way to draw a royalty free soccer ball with open sourc= e > software like gnuplot or metapost, I have found a promising page >=20 > http://math.lbl.gov/voro++/examples/platonic/ >=20 > I have to run the programs there, but the problem becomes how can we sh= ade > the pentagons in black. We can create a sphere in gnuplot, but to chan= ge > the faces into pentagons and hexagons? >=20 > http://soukoreff.com/gnuplot/ >=20 > I have found a nice page that uses java to draw a soccerball >=20 > http://www.hoist-point.com/soccerball.htm >=20 > If somehow the github code can be converted to metapost?, or generated = to > get the points and then get the shading correctly. I hope someone can > help. I have also looked into metapost extensions by Anthony Phan m3D > package >=20 > http://www-math.univ-poitiers.fr/~phan/m3Dplain.html >=20 > And unfortunately I do not know enough of metapost coding, other than > copying examples and run them on my machines. Is there a nice idiot pr= oof > way of drawing a soccerball or a truncated icosahedron with gnuplot or > metapost? If anyone can help/advice/suggest please share your thoughts= =2E Is it specifically a truncated icosahedron you want, or a soccer ball? Because there's this: https://en.wikipedia.org/wiki/File:Soccerball.svg which is freely available under a creative commons license. You should be able to use an application like Inkscape (https://inkscape.org/en/) to manipulate that image. There's many other examples of soccerballs available, or indeed truncated icosahedrons. Just google for 'soccer ball clipart svg' Cheers, Matthew --O2nV5FJj7MEtiXEOJ2gkdhr10JdJTtmwc-- --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZot95XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT2IQQAKqnZhtLsoSGlIWub7jxbwuo 000KBke6f1bNAHPByALFwHxvHdg78FlSB5LxiTed9/VYGsntEunnkb9OEVeND9l8 wJNuPu0YMedeSE+qfi+6Sa/ee0TJr1iDaVOrMFyWKcSAap6vVvUQ74zJrsel/YUP S2Wi3Pd1RbulIQdiYjVGxrgukHZk3c5YyOb1JbO1tfb7j00K6g6sainf9aNMYcUw Y1kXqRKUtD2eOIcWMAq0HI5rxhIgLAcwsrasLG9c0qHXR1saMeFkEfLW3ZzFOv3c WJw85ftBoFlQ4COkTZtSpQ6YQdDfB+lwqwf338NYcOHQFjC+awKflsJ4afUUjnR+ irEu3BhzdX+dp0G+bgT3u2LnmcwUtNAyk8Qa2uLuOX5beauS2hLw/qSHp/v2Lx6u 9pyEr24QW7unrn8F9L9cN7yfalsEcx5Jty1GHJq9thDLq1nl/e60G9zmD+YwRjYT 7y0rI61IQHiXASB1dTQHcpul/lA/2E07aW94w72iC5319tL15VKk7N39O6+mfk5Y JoQTPwYJ3l8BcVmNWJRELsAb+K8SR/zv9OeU/qGaz+ZW5ckz239CMyZ7/SP9p16k BuiipmuGFwa948jrYs+Y5u8vupWrHQW+7SZSg3q49OPZ0oVzULGyfEEeTFOkt0kW KM2Wiw/CLWDUufP/bR7N =Owm6 -----END PGP SIGNATURE----- --TJeQeaVGMWOA7j1Hh6ToEj2QX5phnMbln-- From owner-freebsd-questions@freebsd.org Sun Aug 27 15:31:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69E9DDF1F0A for ; Sun, 27 Aug 2017 15:31:20 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 221BA74F54; Sun, 27 Aug 2017 15:31:20 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id w17so11067677uaw.5; Sun, 27 Aug 2017 08:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4eLiw08eHihQewYRhXRgUDSqY1uTJyjWBdjZOcFWXfA=; b=WhdBWirlG8gCm3+QviRKGAxPinXMPfPvq2vY4OupDKz+IEIR797t+IVNxfIc0xA2J5 tFlToLgFeNAWpqewAU4zZ6wHgXEZl0uix5VlXoissYIuoK6JmtmcSSUZ2R0JoLlQZleL wOqYhkOFChmNm1lU0T1VFjJ36BCu9qokV+IVncVbTnafr3d+zXxRLTqVVRe4TnzX9/3f pGOGmV/04LwqfwXq5JjmEwx4IjTKv1aEDYfb//8rM30U9EiMNukkXqCxzbEH7yGe7L2v u53MyVffjbFeZI/oZBAKUEvVjsFTjkyVcX0rQ2dKUo8zzAan4dXkrDwpfIplRTvQE48H /FXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4eLiw08eHihQewYRhXRgUDSqY1uTJyjWBdjZOcFWXfA=; b=iiGd2tCO90+BcofxTSzhjFAoMtsZLYOaipNs9JFT7hj9ULIrnFt9+Zz8dcfkDbT707 UD+BXWtW1MmfhdQCLmWp2Ac0jyPmKmSyg5kHq7ciVHTGGj87P7v/gPq3qLQieSAo9lOW MrPOcfVWqrtHYq91CesIfn/GmJqjoJNdNdeJ8eR04VYygE231dLMWFXgEl9BNyBe+8s2 stE4jooS0FmBVmChqAba9NU4d8WAuWaTDeHoSdkt56GEMxIZSESUFZU8nAvP6LnzKWSV 8LXZgsuSH9e3ffc9uttQ6ifpj6WmxTUSZ5HK6ngoV218jvsSlCQvZRpQCaCn9FYltre4 r0hA== X-Gm-Message-State: AHYfb5h+uqEPa3Iry2Cbt07XDVhvICuxy7fgMXaAmD1idgbKCRwbo1nB kcivWMTXAuTkLSGDDitqqRenLXW0qA== X-Received: by 10.159.53.33 with SMTP id o30mr2818075uao.43.1503847878719; Sun, 27 Aug 2017 08:31:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.33.199 with HTTP; Sun, 27 Aug 2017 08:31:18 -0700 (PDT) In-Reply-To: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> References: <17630349-aa61-9a03-8aa6-bfe7b8f395ce@FreeBSD.org> From: Antonio Olivares Date: Sun, 27 Aug 2017 10:31:18 -0500 Message-ID: Subject: Re: Create a truncated icosahedron with gnuplot or metapost To: Matthew Seaman Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 15:31:20 -0000 On Sunday, August 27, 2017, Matthew Seaman wrote: > On 27/08/2017 14:51, Antonio Olivares wrote: > > Dear freebsd-users, > > > > In looking for a way to draw a royalty free soccer ball with open source > > software like gnuplot or metapost, I have found a promising page > > > > http://math.lbl.gov/voro++/examples/platonic/ > > > > I have to run the programs there, but the problem becomes how can we > shade > > the pentagons in black. We can create a sphere in gnuplot, but to change > > the faces into pentagons and hexagons? > > > > http://soukoreff.com/gnuplot/ > > > > I have found a nice page that uses java to draw a soccerball > > > > http://www.hoist-point.com/soccerball.htm > > > > If somehow the github code can be converted to metapost?, or generated to > > get the points and then get the shading correctly. I hope someone can > > help. I have also looked into metapost extensions by Anthony Phan m3D > > package > > > > http://www-math.univ-poitiers.fr/~phan/m3Dplain.html > > > > And unfortunately I do not know enough of metapost coding, other than > > copying examples and run them on my machines. Is there a nice idiot > proof > > way of drawing a soccerball or a truncated icosahedron with gnuplot or > > metapost? If anyone can help/advice/suggest please share your thoughts. > > Is it specifically a truncated icosahedron you want, or a soccer ball? > Because there's this: > > https://en.wikipedia.org/wiki/File:Soccerball.svg > > which is freely available under a creative commons license. You should > be able to use an application like Inkscape (https://inkscape.org/en/) > to manipulate that image. > > There's many other examples of soccerballs available, or indeed > truncated icosahedrons. Just google for 'soccer ball clipart svg' > > Cheers, > > Matthew > > I actually want to be able to draw either but on my own pc and not copy any image out in the www. I would like to draw the soccerball using metapost or gnuplot. Then include it in a tex/latex document. I had a 2d image with points using gnuplot, but it is not mathematically precise. A better image of better quality and I can use my own machine to create it is what I am looking for. Someone has helped generate a soccer field in 3d with metapost, I have created a soccerfield using gnuplot, but I do not have a nice soccerball to include it. The 3d image hopefully can be used to make a shirt as many of our students do not like what the designers provide. A nice accurate picture generated with precision is what is needed. I appreciate some thoughts as well. There is a soccerball generated by tikz on stackexchange, but I do not have texlive on my machine sadly. It is to our advantage to have it on gnuplot or metapost as students can see the mathematics behind it. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Sun Aug 27 17:42:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1037DF47D3 for ; Sun, 27 Aug 2017 17:42:49 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E1C77D06A for ; Sun, 27 Aug 2017 17:42:49 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22e.google.com with SMTP id s143so19487067ywg.0 for ; Sun, 27 Aug 2017 10:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ohsupg2yVVFGye+cGd4EFT35kJnr1we+P1gduQpc7og=; b=BM7r5FYqIsyrjoCxgoyiYwDMt6WNL3JB3oVLeQn9y7j1gLxexe9a8a1j9MzSw3vF5W IeIGnn3GrTvj2PysmXmcDs+yWsilb9aEBwK3gUjM99O2QRgh8ZHZ0RDqQr73QvVkp1WN ptc16h6W4p/6dnAl2uu80rflBGgo+Ar21U/fQ0t4PV7MncN0MiGqlRk8qOR4fxJEBtLX Qi6RgHq5By3MO0VQHCQ05eyirSPmS6xuIU1JwCjscGPVFaKQkDHku1+AddwOENukndJr WdHr8VPKB3cIARcejCia76CDgyl9fSIAAQ/ORlenScrqhiHWoY91cocsU071w/mWWGMk 25AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ohsupg2yVVFGye+cGd4EFT35kJnr1we+P1gduQpc7og=; b=gBIDLkyq+pWo6lEKuXGRlB/5GwAf8u7JQgaMDhuhSUc3NOIoFYgvzt+mv8Lm+uG95m fXxK8T1KQ6qG9Tg3cd64iXe69rlhVNUvva42ywoXqfB3T5ox721OO+E9PZQjvidCC3U7 ZKC/NVeLZhVfPgwo/4opJwnxsq2RDImIzKexmgA9ajaLd+zsD3d7T80iqyMWVGjyGhgp mkrQp34LsqW9ncKtjxwA0Z3ENAZnshOQwVlTy7kJPRQf0JyCdu8mCO61QVaL1MQIQftz xe+UKjdh5McVg3UKxIwXDc8WDHGZInR+ZHD3vtRNC8m4RiEVI2S4Ay6SsEnvg0On4HkX 1OhQ== X-Gm-Message-State: AHYfb5iIpOiXYAibBn02naANL3CdM3EB0IZy8mqDvj2GEKF5K5Myzqd7 hEi93uNoisi9l0Z7BXuHMx+0puaXfpm/6gs= X-Received: by 10.129.212.69 with SMTP id g5mr3800879ywl.7.1503855768488; Sun, 27 Aug 2017 10:42:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.231.71 with HTTP; Sun, 27 Aug 2017 10:42:47 -0700 (PDT) In-Reply-To: <20170827164229.W23641@sola.nimnet.asn.au> References: <20170827164229.W23641@sola.nimnet.asn.au> From: Ultima Date: Sun, 27 Aug 2017 10:42:47 -0700 Message-ID: Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) To: Ian Smith Cc: Fongaboo , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 17:42:50 -0000 >From pf.conf: > pass from { lo0, $localnet } to any keep state This rule would probably work if it was in proper order and contain "quick". It should also be in the --- INCOMING --- section. Normally pf will warn when the rules are out of order. lo0 should be removed as it has set skip, and I would change it to pass in. To sum it up: pf.conf: pass in quick from $localnet to any keep state Moved to the incoming section. The main issue is that the bottom default rule "block log all" triumphs over any rule defined above that does not contain the "quick" declaration. >From rc.conf: #gateway_enable="YES" This should be uncommented. When you use openvpn with this kind of configuration. I would check sysctl net.inet.ip.forwarding and make sure it is "1" which is essentially what gateway_enable does. In general I suggest changing a couple other things if you want the system to work after each restart. I find that relying on the :network translation in pf often can break things and is better to be hard coded where possible. It is also better to create the interface in rc.conf and give openvpn the interface instead of letting openvpn take care of all that. This can be done like so: rc.conf: cloned_interfaces="tun0" ifconfig_tun0="up" # This is probably not needed, but better to be safe. openvpn.conf: dev tun0 # I don't think this is needed with the below, but I prefer to be thorough dev-type tun dev-node /dev/tun0 > As for this thread in general, it'd be really nice if people would not > re-re-quote long messages Apologies Ian, It is easy to forget about when gmail truncates the bottom bit. Hope this helps, Richard Gallamore From owner-freebsd-questions@freebsd.org Mon Aug 28 00:39:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A78A8E020FD for ; Mon, 28 Aug 2017 00:39:38 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (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 8118B3A16 for ; Mon, 28 Aug 2017 00:39:35 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id 02FC181111D for ; Sun, 27 Aug 2017 20:39:34 -0400 (EDT) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 49365-02 for ; Sun, 27 Aug 2017 20:39:33 -0400 (EDT) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id 6C5E681111B for ; Sun, 27 Aug 2017 20:39:33 -0400 (EDT) Date: Sun, 27 Aug 2017 20:39:33 -0400 (EDT) From: Fongaboo X-X-Sender: fongaboo@h4lix.wtfayla.net To: freebsd-questions@freebsd.org Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) In-Reply-To: <20170827164229.W23641@sola.nimnet.asn.au> Message-ID: References: <20170827164229.W23641@sola.nimnet.asn.au> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 00:39:38 -0000 On Sun, 27 Aug 2017, Ian Smith wrote: > I know next to nothing about OpenVPN - though the digitalocean tutorial > looks pretty thorough on the surface - and absolutely nothing about AWS, > but do know a bit about ipfw and friends. Yeah I figured this was more a pure Firewall and routing issue contextual to FreeBSD than anything OpenVPN-specific. > Your changing of the default firewall_script from /etc/rc.firewall to > "/usr/local/etc/ipfw.rules" suggests that you've been unfortunately > illadvised by the still-dreadful IPFW section in the handbook, written > by someone who uses ipfilter. Rely on /etc/rc.firewall and ipfw(8) for > accurate information on using ipfw. I'm not sure what you mean by 'Rely on /etc/rc.firewall and ipfw(8)". Are these files in FreeBSD to refer to? Or are you talking about the respective handbook entries for these things? > I note that the digitalocean tute did not make that mistake, though it > would be more up-to-date to use firewall_nat_enable rather than natd(8), > however natd works as well as ever, if a bit more slowly (extra process) > > So .. firewall_type="open" is a parameter to whatever firewall_script. > /etc/rc.firewall uses that to generate an open firewall, i.e. inserting > 'pass all from any to any', overriding the default 'deny all from any > to any'. You didn't show your ipfw.rules, but I doubt it parses 'open' > as a parameter - so it would not be surprising if you were locked out. So when I eliminate 'firewall_script="/usr/local/etc/ipfw.rules"' what is IPFW using for its rules? > > gateway_enable="YES" > > natd_enable="YES" > > natd_interface="xn0" > > natd_flags="-dynamic -m" > > > > rc.conf (revised for ipfw_nat): > > > > #enable firewall > > firewall_enable="YES" > > firewall_script="/usr/local/etc/ipfw.rules" > > firewall_type="open" > > Same problem here. Comment out that firewall_script line to get the > default, as shown in /etc/defaults/rc.conf > > > firewall_nat_enable="YES" > > firewall_nat_interface="xn0" > > > > gateway_enable="YES" > > You'll likely need some firewall_nat_flags as well. See rc.firewall for > NAT setup (natd or firewall_nat) with 'open' or 'client' rulesets. > > > #natd_enable="YES" > > #natd_interface="xn0" > > #natd_flags="-dynamic -m" > > > > *xn0 = external interface of the server > > > > Neither config allows Internet access. > > Try it with the default firewall_script, for a proper open firewall, > that you can condition to suit once your VPN stuff is all working. So in short, you think 'firewall_nat_enable' and a combination of some firewall_nat_flags will accomplish the gateway redirection to the WAN? Just want to make sure I'm following correctly. > pf is fine too of course, properly configured, but I hate seeing people > quit using ipfw because of some truly bad advice from >10 years ago :( > > As for this thread in general, it'd be really nice if people would not > re-re-quote long messages including tcpdumps to add one-line comments, > whether top- or bottom-posted - this digest was five times normal size. > > cheers, Ian > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Aug 28 02:00:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6263DE031D5 for ; Mon, 28 Aug 2017 02:00:34 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from h4lix.wtfayla.net (helix.wtfayla.net [64.246.134.154]) (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 098AF647DE for ; Mon, 28 Aug 2017 02:00:32 +0000 (UTC) (envelope-from freebsd@fongaboo.com) Received: from localhost (localhost [127.0.0.1]) by h4lix.wtfayla.net (Postfix) with ESMTP id 4B5D17CEFFB; Sun, 27 Aug 2017 22:00:29 -0400 (EDT) Received: from h4lix.wtfayla.net ([127.0.0.1]) by localhost (h4lix.wtfayla.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 50724-03; Sun, 27 Aug 2017 22:00:28 -0400 (EDT) Received: from h4lix.wtfayla.net (h4lix.wtfayla.net [64.246.134.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h4lix.wtfayla.net (Postfix) with ESMTPS id 82A007CEFF5; Sun, 27 Aug 2017 22:00:28 -0400 (EDT) Date: Sun, 27 Aug 2017 22:00:28 -0400 (EDT) From: Fongaboo X-X-Sender: fongaboo@h4lix.wtfayla.net To: FreeBSD Mailing List cc: Ian Smith Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) In-Reply-To: Message-ID: References: <20170827164229.W23641@sola.nimnet.asn.au> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1512028668-759177736-1503885628=:50226" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 02:00:34 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1512028668-759177736-1503885628=:50226 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Thanks so much, Ian. I feel like I'm getting closer. But still no luck. Would you be up for double-checking my work? rc.conf/pf.conf/openvpn.conf attached... Do you think I need to add those new dev statements to the client's OpenVPN config as well? Also, sanity check: If I am attempting to browse by IP to http://176.58.123.25then I can eliminate any problem with the right DNS servers getting pushed. Also want to note that my client can browse to http://10.8.0.1 and see my apache server's default index. On Sun, 27 Aug 2017, Ultima wrote: > From pf.conf: > > pass from { lo0, $localnet } to any keep state > This rule would probably work if it was in proper order and contain > "quick". It should also be in the --- INCOMING --- section. > Normally pf will warn when the rules are out of order. lo0 should > be removed as it has set skip, and I would change it to pass in. > To sum it up: > > pf.conf: > pass in quick from $localnet to any keep state > > Moved to the incoming section. > > The main issue is that the bottom default rule "block log all" > triumphs over any rule defined above that does not contain the > "quick" declaration. > > From rc.conf: > #gateway_enable="YES" > This should be uncommented. When you use openvpn with this > kind of configuration. I would check sysctl net.inet.ip.forwarding > and make sure it is "1" which is essentially what gateway_enable > does. > > In general I suggest changing a couple other things if you want the > system to work after each restart. I find that relying on the > :network > translation in pf often can break things and is better to be hard > coded where possible. It is also better to create the interface in > rc.conf and give openvpn the interface instead of letting openvpn > take care of all that. This can be done like so: > > rc.conf: > cloned_interfaces="tun0" > ifconfig_tun0="up" # This is probably not needed, but better to be > safe. > > openvpn.conf: > dev tun0 # I don't think this is needed with the below, but I > prefer to be thorough > dev-type tun > dev-node /dev/tun0 > > > As for this thread in general, it'd be really nice if people > would not > > re-re-quote long messages > > Apologies Ian, It is easy to forget about when gmail truncates the > bottom bit. > > > Hope this helps, > Richard Gallamore > > --1512028668-759177736-1503885628=:50226 Content-Type: text/plain; charset=US-ASCII; name=rc.conf.2017082701 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=rc.conf.2017082701 ZWMyX2NvbmZpZ2luaXRfZW5hYmxlPVlFUw0KZWMyX2ZldGNoa2V5X2VuYWJs ZT1ZRVMNCmVjMl9lcGhlbWVyYWxzd2FwX2VuYWJsZT1ZRVMNCmVjMl9sb2do b3N0a2V5X2VuYWJsZT1ZRVMNCmZpcnN0Ym9vdF9mcmVlYnNkX3VwZGF0ZV9l bmFibGU9WUVTDQpmaXJzdGJvb3RfcGtnc19lbmFibGU9WUVTDQpncm93ZnNf ZW5hYmxlPSJZRVMiDQppZmNvbmZpZ19ERUZBVUxUPSJTWU5DREhDUCINCnNz aGRfZW5hYmxlPSJZRVMiDQpmaXJzdGJvb3RfcGtnc19saXN0PSJhd3NjbGki DQoNCmhvc3RuYW1lPSJteS1zZXJ2ZXItaG9zdG5hbWUuZG9tYWluLnRsZCIN Cg0KIyBPcGVuVlBOIEdhdGV3YXkgSW50ZXJmYWNlcw0KY2xvbmVkX2ludGVy ZmFjZXM9InR1bjAiDQppZmNvbmZpZ190dW4wPSJ1cCINCg0KbnRwZF9lbmFi bGU9IllFUyINCiMgU2V0IGR1bXBkZXYgdG8gIkFVVE8iIHRvIGVuYWJsZSBj cmFzaCBkdW1wcywgIk5PIiB0byBkaXNhYmxlDQpkdW1wZGV2PSJBVVRPIg0K DQojZW5hYmxlIGluZXRkIGZvciB5dGFsaw0KaW5ldGRfZW5hYmxlPSJZRVMi DQoNCiNlbmFibGUgZmlyZXdhbGwNCiNmaXJld2FsbF9lbmFibGU9IllFUyIN CiNmaXJld2FsbF9zY3JpcHQ9Ii91c3IvbG9jYWwvZXRjL2lwZncucnVsZXMi DQojZmlyZXdhbGxfdHlwZT0ib3BlbiINCiNmaXJld2FsbF9uYXRfZW5hYmxl PSJZRVMiDQoNCiNlbmFibGUgcGYNCnBmX2VuYWJsZT0iWUVTIg0KcGZfcnVs ZXM9Ii9ldGMvcGYuY29uZiINCnBmbG9nX2VuYWJsZT0iWUVTIg0KcGZsb2df bG9nZmlsZT0iL3Zhci9sb2cvcGZsb2ciDQoNCmdhdGV3YXlfZW5hYmxlPSJZ RVMiDQoNCiNkaXNhYmxlIHN0b2NrIEZUUA0KZnRwX2VuYWJsZT0iTk8iDQoN CiNlbmFibGUgYXBhY2hlDQphcGFjaGUyNF9lbmFibGU9InllcyINCg0KI2Vu YWJsZSBteXNxbA0KbXlzcWxfZW5hYmxlPSJ5ZXMiDQoNCiNlbmFibGUgcG9z dGZpeA0KcG9zdGZpeF9lbmFibGU9InllcyINCg0KI2FjdGl2YXRlIFNTSEdV QVJEDQojc3NoZ3VhcmRfZW5hYmxlPSJ5ZXMiDQoNCiNlbmFibGUgV0VCTUlO DQp3ZWJtaW5fZW5hYmxlPSJZRVMiDQoNCiNhbGxvdyBQcm9mdHBkDQojcHJv ZnRwZF9lbmFibGU9InllcyINCg0KI2VuYWJsZSBtYWlsbWFuDQptYWlsbWFu X2VuYWJsZT0ieWVzIg0KDQojZW5hYmxlIE9wZW5WUE4NCm9wZW52cG5fZW5h YmxlPSJZRVMiDQpvcGVudnBuX2NvbmZpZ2ZpbGU9Ii91c3IvbG9jYWwvZXRj L29wZW52cG4vb3BlbnZwbi5jb25mIg0K --1512028668-759177736-1503885628=:50226 Content-Type: text/plain; charset=US-ASCII; name=pf.conf.2017082701 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=pf.conf.2017082701 IyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSBzaW1wbGUgc2VydmVyIHBmLmNv bmYgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KIyBGb3IgRnJlZUJTRCA5LjEN CiMgajY1bmtvIDIwMTEsIDIwMTIsIDIwMTMNCiMNCiMgSWYgeW91IGFkYXB0 IHRoaXMgcnVsZXNldCBmb3IgYSByZXNvbHZpbmcgY2FjaGluZyBuYW1lIHNl cnZlciBwbGVhc2UNCiMgbWFrZSBzdXJlIHlvdSBkb24ndCBhbGxvdyB0aGUg d2hvbGUgd29ybGQgdG8gdXNlIHlvdXIgbmFtZSBzZXJ2ZXINCiMgQ3JlYXRp bmcgYW4gb3BlbiByZXNvbHZpbmcgbmFtZSBzZXJ2ZXIgY2FuIGFsbG93IHRo ZSBiYWQgZ3V5cyB0byB1c2UgeW91ciBuYW1lc2VydmVyDQojIGluIGFuIERO UyBhbXBsaWZpY2F0aW9uIGF0dGFjaw0KDQojbWFjcm9zIGZvciBuZXR3b3Jr IGludGVyZmFjZXMNCmV4dF9pZj0ieG4wIg0KaW50X2lmPSJ0dW4wIg0KDQoj IGRlZmluZSBOQVQgZ2F0ZXdheSByb3V0aW5nDQpsb2NhbG5ldCA9ICRpbnRf aWY6bmV0d29yaw0KbmF0IG9uICRleHRfaWYgZnJvbSAkbG9jYWxuZXQgdG8g YW55IC0+ICgkZXh0X2lmKQ0KDQoNCmljbXBfdHlwZXM9ImVjaG9yZXEiDQoN CiMgQ3VzdG9tIHBvcnQgZm9yIHNzaA0KU1NIX0NVU1RPTSA9IDIyDQoNCnNj cnViIGluIG9uICRleHRfaWYgYWxsIGZyYWdtZW50IHJlYXNzZW1ibGUNCg0K c2V0IHNraXAgb24gbG8wDQojc2V0IHNraXAgb24gbG8xDQoNCmFudGlzcG9v ZiBmb3IgJGV4dF9pZg0KDQojIC0tLSBFWFRFUk5BTCBJTlRFUkZBQ0UNCiMg LS0tIElOQ09NSU5HIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCnBhc3MgaW4g cXVpY2sgZnJvbSAkbG9jYWxuZXQgdG8gYW55IGtlZXAgc3RhdGUNCg0KIyAt LS0gVENQDQpwYXNzIGluICBxdWljayBvbiAkZXh0X2lmIGluZXQgcHJvdG8g dGNwIGZyb20gbXktaG9tZS1pcCB0byBhbnkNCnBhc3MgaW4gIHF1aWNrIG9u ICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJvbSBhbnkgdG8gJGV4dF9pZiAg cG9ydCBodHRwDQpwYXNzIGluICBxdWljayBvbiAkZXh0X2lmIGluZXQgcHJv dG8gdGNwIGZyb20gYW55IHRvICRleHRfaWYgIHBvcnQgaHR0cHMNCnBhc3Mg aW4gIHF1aWNrIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJvbSBhbnkg dG8gJGV4dF9pZiAgcG9ydCAkU1NIX0NVU1RPTQ0KcGFzcyBpbiAgcXVpY2sg b24gJGV4dF9pZiBpbmV0IHByb3RvIHRjcCBmcm9tIGFueSB0byAkZXh0X2lm ICBwb3J0IDExOTQNCg0KIyAtLS0gZm9yIGF1dGhvcml0YXRpdmUgRE5TIHNl cnZlcg0KcGFzcyBpbiAgcXVpY2sgb24gJGV4dF9pZiBpbmV0IHByb3RvIHVk cCBmcm9tIGFueSB0byAkZXh0X2lmICBwb3J0IGRvbWFpbg0KDQojIC0tLSBV RFANCiMgLS0tIGZvciBhdXRob3JpdGF0aXZlIEROUyBzZXJ2ZXINCiNwYXNz IGluICBxdWljayBvbiAkZXh0X2lmIGluZXQgcHJvdG8gdWRwIGZyb20gYW55 IHRvICRleHRfaWYgIHBvcnQgZG9tYWluDQoNCiMgLS0tIElDTVANCnBhc3Mg aW4gIHF1aWNrIG9uICRleHRfaWYgaW5ldCBwcm90byBpY21wIGZyb20gYW55 IHRvICRleHRfaWYgaWNtcC10eXBlICRpY21wX3R5cGVzDQoNCiMgLS0tIEVY VEVSTkFMIElOVEVSRkFDRQ0KIyAtLS0gT1VUR09JTkcgLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0NCg0KYW5jaG9yIFRNUA0KDQojIC0tLSBUQ1ANCiNwYXNz ICBvdXQgcXVpY2sgbG9nIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJv bSAkZXh0X2lmIHRvIGFueSBwb3J0IHNtdHANCiNwYXNzICBvdXQgcXVpY2sg ICAgIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJvbSAkZXh0X2lmIHRv IGFueSBwb3J0IGRvbWFpbg0KI3Bhc3MgIG91dCBxdWljayAgICAgb24gJGV4 dF9pZiBpbmV0IHByb3RvIHRjcCBmcm9tICRleHRfaWYgdG8gYW55IHBvcnQg aHR0cA0KI3Bhc3MgIG91dCBxdWljayAgICAgb24gJGV4dF9pZiBpbmV0IHBy b3RvIHRjcCBmcm9tICRleHRfaWYgdG8gYW55IHBvcnQgaHR0cHMNCiNwYXNz ICBvdXQgcXVpY2sgICAgIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJv bSAkZXh0X2lmIHRvIGFueSBwb3J0IHdob2lzDQojcGFzcyAgb3V0IHF1aWNr ICAgICBvbiAkZXh0X2lmIGluZXQgcHJvdG8gdGNwIGZyb20gJGV4dF9pZiB0 byBhbnkgcG9ydCAkU1NIX0NVU1RPTQ0KDQojIC0tLSBVRFANCiNwYXNzICBv dXQgcXVpY2sgb24gJGV4dF9pZiBpbmV0IHByb3RvIHVkcCBmcm9tICRleHRf aWYgdG8gYW55IHBvcnQgZG9tYWluDQojcGFzcyAgb3V0IHF1aWNrIG9uICRl eHRfaWYgaW5ldCBwcm90byB1ZHAgZnJvbSAkZXh0X2lmIHRvIGFueSBwb3J0 IG50cA0KDQojIC0tLSBJQ01QDQpwYXNzICBvdXQgcXVpY2sgb24gJGV4dF9p ZiBpbmV0IHByb3RvIGljbXAgIGZyb20gJGV4dF9pZiB0byBhbnkNCg0KIyAt LS0gQUxMT1cgQUxMIE9VVEJPVU5EIFRSQUZGSUMNCnBhc3Mgb3V0IHF1aWNr IG9uICRleHRfaWYgaW5ldCBrZWVwIHN0YXRlDQoNCiMgLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoj IC0tLSBERUZBVUxUIFBPTElDWQ0KIyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCmJsb2NrIGxvZyBh bGwNCg0KIyAtLS0tLSBlbmQgb2YgcGYuY29uZg0K --1512028668-759177736-1503885628=:50226 Content-Type: text/plain; charset=US-ASCII; name=openvpn.conf.2017082701 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=openvpn.conf.2017082701 IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIw0KIyBTYW1wbGUgT3BlblZQTiAyLjAgY29uZmlnIGZpbGUgZm9yICAg ICAgICAgICAgIw0KIyBtdWx0aS1jbGllbnQgc2VydmVyLiAgICAgICAgICAg ICAgICAgICAgICAgICAgIw0KIyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIw0KIyBUaGlzIGZpbGUgaXMgZm9yIHRo ZSBzZXJ2ZXIgc2lkZSAgICAgICAgICAgICAgIw0KIyBvZiBhIG1hbnktY2xp ZW50cyA8LT4gb25lLXNlcnZlciAgICAgICAgICAgICAgIw0KIyBPcGVuVlBO IGNvbmZpZ3VyYXRpb24uICAgICAgICAgICAgICAgICAgICAgICAgIw0KIyAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg Iw0KIyBPcGVuVlBOIGFsc28gc3VwcG9ydHMgICAgICAgICAgICAgICAgICAg ICAgICAgIw0KIyBzaW5nbGUtbWFjaGluZSA8LT4gc2luZ2xlLW1hY2hpbmUg ICAgICAgICAgICAgIw0KIyBjb25maWd1cmF0aW9ucyAoU2VlIHRoZSBFeGFt cGxlcyBwYWdlICAgICAgICAgIw0KIyBvbiB0aGUgd2ViIHNpdGUgZm9yIG1v cmUgaW5mbykuICAgICAgICAgICAgICAgIw0KIyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIw0KIyBUaGlzIGNvbmZp ZyBzaG91bGQgd29yayBvbiBXaW5kb3dzICAgICAgICAgICAgIw0KIyBvciBM aW51eC9CU0Qgc3lzdGVtcy4gIFJlbWVtYmVyIG9uICAgICAgICAgICAgIw0K IyBXaW5kb3dzIHRvIHF1b3RlIHBhdGhuYW1lcyBhbmQgdXNlICAgICAgICAg ICAgIw0KIyBkb3VibGUgYmFja3NsYXNoZXMsIGUuZy46ICAgICAgICAgICAg ICAgICAgICAgIw0KIyAiQzpcXFByb2dyYW0gRmlsZXNcXE9wZW5WUE5cXGNv bmZpZ1xcZm9vLmtleSIgIw0KIyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIw0KIyBDb21tZW50cyBhcmUgcHJlY2Vk ZWQgd2l0aCAnIycgb3IgJzsnICAgICAgICAgIw0KIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIw0KDQojIFdoaWNo IGxvY2FsIElQIGFkZHJlc3Mgc2hvdWxkIE9wZW5WUE4NCiMgbGlzdGVuIG9u PyAob3B0aW9uYWwpDQo7bG9jYWwgYS5iLmMuZA0KDQojIFdoaWNoIFRDUC9V RFAgcG9ydCBzaG91bGQgT3BlblZQTiBsaXN0ZW4gb24/DQojIElmIHlvdSB3 YW50IHRvIHJ1biBtdWx0aXBsZSBPcGVuVlBOIGluc3RhbmNlcw0KIyBvbiB0 aGUgc2FtZSBtYWNoaW5lLCB1c2UgYSBkaWZmZXJlbnQgcG9ydA0KIyBudW1i ZXIgZm9yIGVhY2ggb25lLiAgWW91IHdpbGwgbmVlZCB0bw0KIyBvcGVuIHVw IHRoaXMgcG9ydCBvbiB5b3VyIGZpcmV3YWxsLg0KcG9ydCAxMTk0DQoNCiMg VENQIG9yIFVEUCBzZXJ2ZXI/DQo7cHJvdG8gdGNwDQpwcm90byB1ZHANCg0K IyAiZGV2IHR1biIgd2lsbCBjcmVhdGUgYSByb3V0ZWQgSVAgdHVubmVsLA0K IyAiZGV2IHRhcCIgd2lsbCBjcmVhdGUgYW4gZXRoZXJuZXQgdHVubmVsLg0K IyBVc2UgImRldiB0YXAwIiBpZiB5b3UgYXJlIGV0aGVybmV0IGJyaWRnaW5n DQojIGFuZCBoYXZlIHByZWNyZWF0ZWQgYSB0YXAwIHZpcnR1YWwgaW50ZXJm YWNlDQojIGFuZCBicmlkZ2VkIGl0IHdpdGggeW91ciBldGhlcm5ldCBpbnRl cmZhY2UuDQojIElmIHlvdSB3YW50IHRvIGNvbnRyb2wgYWNjZXNzIHBvbGlj aWVzDQojIG92ZXIgdGhlIFZQTiwgeW91IG11c3QgY3JlYXRlIGZpcmV3YWxs DQojIHJ1bGVzIGZvciB0aGUgdGhlIFRVTi9UQVAgaW50ZXJmYWNlLg0KIyBP biBub24tV2luZG93cyBzeXN0ZW1zLCB5b3UgY2FuIGdpdmUNCiMgYW4gZXhw bGljaXQgdW5pdCBudW1iZXIsIHN1Y2ggYXMgdHVuMC4NCiMgT24gV2luZG93 cywgdXNlICJkZXYtbm9kZSIgZm9yIHRoaXMuDQojIE9uIG1vc3Qgc3lzdGVt cywgdGhlIFZQTiB3aWxsIG5vdCBmdW5jdGlvbg0KIyB1bmxlc3MgeW91IHBh cnRpYWxseSBvciBmdWxseSBkaXNhYmxlDQojIHRoZSBmaXJld2FsbCBmb3Ig dGhlIFRVTi9UQVAgaW50ZXJmYWNlLg0KO2RldiB0YXANCmRldiB0dW4wDQpk ZXYtdHlwZSB0dW4NCmRldi1ub2RlIC9kZXYvdHVuMA0KDQojIFdpbmRvd3Mg bmVlZHMgdGhlIFRBUC1XaW4zMiBhZGFwdGVyIG5hbWUNCiMgZnJvbSB0aGUg TmV0d29yayBDb25uZWN0aW9ucyBwYW5lbCBpZiB5b3UNCiMgaGF2ZSBtb3Jl IHRoYW4gb25lLiAgT24gWFAgU1AyIG9yIGhpZ2hlciwNCiMgeW91IG1heSBu ZWVkIHRvIHNlbGVjdGl2ZWx5IGRpc2FibGUgdGhlDQojIFdpbmRvd3MgZmly ZXdhbGwgZm9yIHRoZSBUQVAgYWRhcHRlci4NCiMgTm9uLVdpbmRvd3Mgc3lz dGVtcyB1c3VhbGx5IGRvbid0IG5lZWQgdGhpcy4NCjtkZXYtbm9kZSBNeVRh cA0KDQojIFNTTC9UTFMgcm9vdCBjZXJ0aWZpY2F0ZSAoY2EpLCBjZXJ0aWZp Y2F0ZQ0KIyAoY2VydCksIGFuZCBwcml2YXRlIGtleSAoa2V5KS4gIEVhY2gg Y2xpZW50DQojIGFuZCB0aGUgc2VydmVyIG11c3QgaGF2ZSB0aGVpciBvd24g Y2VydCBhbmQNCiMga2V5IGZpbGUuICBUaGUgc2VydmVyIGFuZCBhbGwgY2xp ZW50cyB3aWxsDQojIHVzZSB0aGUgc2FtZSBjYSBmaWxlLg0KIw0KIyBTZWUg dGhlICJlYXN5LXJzYSIgZGlyZWN0b3J5IGZvciBhIHNlcmllcw0KIyBvZiBz Y3JpcHRzIGZvciBnZW5lcmF0aW5nIFJTQSBjZXJ0aWZpY2F0ZXMNCiMgYW5k IHByaXZhdGUga2V5cy4gIFJlbWVtYmVyIHRvIHVzZQ0KIyBhIHVuaXF1ZSBD b21tb24gTmFtZSBmb3IgdGhlIHNlcnZlcg0KIyBhbmQgZWFjaCBvZiB0aGUg Y2xpZW50IGNlcnRpZmljYXRlcy4NCiMNCiMgQW55IFg1MDkga2V5IG1hbmFn ZW1lbnQgc3lzdGVtIGNhbiBiZSB1c2VkLg0KIyBPcGVuVlBOIGNhbiBhbHNv IHVzZSBhIFBLQ1MgIzEyIGZvcm1hdHRlZCBrZXkgZmlsZQ0KIyAoc2VlICJw a2NzMTIiIGRpcmVjdGl2ZSBpbiBtYW4gcGFnZSkuDQpjYSBjYS5jcnQNCmNl cnQgbXktc2VydmVyLWhvc3RuYW1lX29wZW52cG4tc2VydmVyLmNydA0Ka2V5 IG15LXNlcnZlci1ob3N0bmFtZV9vcGVudnBuLXNlcnZlci5rZXkgICMgVGhp cyBmaWxlIHNob3VsZCBiZSBrZXB0IHNlY3JldA0KDQojIERpZmZpZSBoZWxs bWFuIHBhcmFtZXRlcnMuDQojIEdlbmVyYXRlIHlvdXIgb3duIHdpdGg6DQoj ICAgb3BlbnNzbCBkaHBhcmFtIC1vdXQgZGgyMDQ4LnBlbSAyMDQ4DQpkaCBk aDIwNDgucGVtDQoNCiMgTmV0d29yayB0b3BvbG9neQ0KIyBTaG91bGQgYmUg c3VibmV0IChhZGRyZXNzaW5nIHZpYSBJUCkNCiMgdW5sZXNzIFdpbmRvd3Mg Y2xpZW50cyB2Mi4wLjkgYW5kIGxvd2VyIGhhdmUgdG8NCiMgYmUgc3VwcG9y dGVkICh0aGVuIG5ldDMwLCBpLmUuIGEgLzMwIHBlciBjbGllbnQpDQojIERl ZmF1bHRzIHRvIG5ldDMwIChub3QgcmVjb21tZW5kZWQpDQo7dG9wb2xvZ3kg c3VibmV0DQoNCiMgQ29uZmlndXJlIHNlcnZlciBtb2RlIGFuZCBzdXBwbHkg YSBWUE4gc3VibmV0DQojIGZvciBPcGVuVlBOIHRvIGRyYXcgY2xpZW50IGFk ZHJlc3NlcyBmcm9tLg0KIyBUaGUgc2VydmVyIHdpbGwgdGFrZSAxMC44LjAu MSBmb3IgaXRzZWxmLA0KIyB0aGUgcmVzdCB3aWxsIGJlIG1hZGUgYXZhaWxh YmxlIHRvIGNsaWVudHMuDQojIEVhY2ggY2xpZW50IHdpbGwgYmUgYWJsZSB0 byByZWFjaCB0aGUgc2VydmVyDQojIG9uIDEwLjguMC4xLiBDb21tZW50IHRo aXMgbGluZSBvdXQgaWYgeW91IGFyZQ0KIyBldGhlcm5ldCBicmlkZ2luZy4g U2VlIHRoZSBtYW4gcGFnZSBmb3IgbW9yZSBpbmZvLg0Kc2VydmVyIDEwLjgu MC4wIDI1NS4yNTUuMjU1LjANCg0KIyBNYWludGFpbiBhIHJlY29yZCBvZiBj bGllbnQgPC0+IHZpcnR1YWwgSVAgYWRkcmVzcw0KIyBhc3NvY2lhdGlvbnMg aW4gdGhpcyBmaWxlLiAgSWYgT3BlblZQTiBnb2VzIGRvd24gb3INCiMgaXMg cmVzdGFydGVkLCByZWNvbm5lY3RpbmcgY2xpZW50cyBjYW4gYmUgYXNzaWdu ZWQNCiMgdGhlIHNhbWUgdmlydHVhbCBJUCBhZGRyZXNzIGZyb20gdGhlIHBv b2wgdGhhdCB3YXMNCiMgcHJldmlvdXNseSBhc3NpZ25lZC4NCmlmY29uZmln LXBvb2wtcGVyc2lzdCBpcHAudHh0DQoNCiMgQ29uZmlndXJlIHNlcnZlciBt b2RlIGZvciBldGhlcm5ldCBicmlkZ2luZy4NCiMgWW91IG11c3QgZmlyc3Qg dXNlIHlvdXIgT1MncyBicmlkZ2luZyBjYXBhYmlsaXR5DQojIHRvIGJyaWRn ZSB0aGUgVEFQIGludGVyZmFjZSB3aXRoIHRoZSBldGhlcm5ldA0KIyBOSUMg aW50ZXJmYWNlLiAgVGhlbiB5b3UgbXVzdCBtYW51YWxseSBzZXQgdGhlDQoj IElQL25ldG1hc2sgb24gdGhlIGJyaWRnZSBpbnRlcmZhY2UsIGhlcmUgd2UN CiMgYXNzdW1lIDEwLjguMC40LzI1NS4yNTUuMjU1LjAuICBGaW5hbGx5IHdl DQojIG11c3Qgc2V0IGFzaWRlIGFuIElQIHJhbmdlIGluIHRoaXMgc3VibmV0 DQojIChzdGFydD0xMC44LjAuNTAgZW5kPTEwLjguMC4xMDApIHRvIGFsbG9j YXRlDQojIHRvIGNvbm5lY3RpbmcgY2xpZW50cy4gIExlYXZlIHRoaXMgbGlu ZSBjb21tZW50ZWQNCiMgb3V0IHVubGVzcyB5b3UgYXJlIGV0aGVybmV0IGJy aWRnaW5nLg0KO3NlcnZlci1icmlkZ2UgMTAuOC4wLjQgMjU1LjI1NS4yNTUu MCAxMC44LjAuNTAgMTAuOC4wLjEwMA0KDQojIENvbmZpZ3VyZSBzZXJ2ZXIg bW9kZSBmb3IgZXRoZXJuZXQgYnJpZGdpbmcNCiMgdXNpbmcgYSBESENQLXBy b3h5LCB3aGVyZSBjbGllbnRzIHRhbGsNCiMgdG8gdGhlIE9wZW5WUE4gc2Vy dmVyLXNpZGUgREhDUCBzZXJ2ZXINCiMgdG8gcmVjZWl2ZSB0aGVpciBJUCBh ZGRyZXNzIGFsbG9jYXRpb24NCiMgYW5kIEROUyBzZXJ2ZXIgYWRkcmVzc2Vz LiAgWW91IG11c3QgZmlyc3QgdXNlDQojIHlvdXIgT1MncyBicmlkZ2luZyBj YXBhYmlsaXR5IHRvIGJyaWRnZSB0aGUgVEFQDQojIGludGVyZmFjZSB3aXRo IHRoZSBldGhlcm5ldCBOSUMgaW50ZXJmYWNlLg0KIyBOb3RlOiB0aGlzIG1v ZGUgb25seSB3b3JrcyBvbiBjbGllbnRzIChzdWNoIGFzDQojIFdpbmRvd3Mp LCB3aGVyZSB0aGUgY2xpZW50LXNpZGUgVEFQIGFkYXB0ZXIgaXMNCiMgYm91 bmQgdG8gYSBESENQIGNsaWVudC4NCjtzZXJ2ZXItYnJpZGdlDQoNCiMgUHVz aCByb3V0ZXMgdG8gdGhlIGNsaWVudCB0byBhbGxvdyBpdA0KIyB0byByZWFj aCBvdGhlciBwcml2YXRlIHN1Ym5ldHMgYmVoaW5kDQojIHRoZSBzZXJ2ZXIu ICBSZW1lbWJlciB0aGF0IHRoZXNlDQojIHByaXZhdGUgc3VibmV0cyB3aWxs IGFsc28gbmVlZA0KIyB0byBrbm93IHRvIHJvdXRlIHRoZSBPcGVuVlBOIGNs aWVudA0KIyBhZGRyZXNzIHBvb2wgKDEwLjguMC4wLzI1NS4yNTUuMjU1LjAp DQojIGJhY2sgdG8gdGhlIE9wZW5WUE4gc2VydmVyLg0KO3B1c2ggInJvdXRl IDE5Mi4xNjguMTAuMCAyNTUuMjU1LjI1NS4wIg0KO3B1c2ggInJvdXRlIDE5 Mi4xNjguMjAuMCAyNTUuMjU1LjI1NS4wIg0KDQojIFRvIGFzc2lnbiBzcGVj aWZpYyBJUCBhZGRyZXNzZXMgdG8gc3BlY2lmaWMNCiMgY2xpZW50cyBvciBp ZiBhIGNvbm5lY3RpbmcgY2xpZW50IGhhcyBhIHByaXZhdGUNCiMgc3VibmV0 IGJlaGluZCBpdCB0aGF0IHNob3VsZCBhbHNvIGhhdmUgVlBOIGFjY2VzcywN CiMgdXNlIHRoZSBzdWJkaXJlY3RvcnkgImNjZCIgZm9yIGNsaWVudC1zcGVj aWZpYw0KIyBjb25maWd1cmF0aW9uIGZpbGVzIChzZWUgbWFuIHBhZ2UgZm9y IG1vcmUgaW5mbykuDQoNCiMgRVhBTVBMRTogU3VwcG9zZSB0aGUgY2xpZW50 DQojIGhhdmluZyB0aGUgY2VydGlmaWNhdGUgY29tbW9uIG5hbWUgIlRoZWxv bmlvdXMiDQojIGFsc28gaGFzIGEgc21hbGwgc3VibmV0IGJlaGluZCBoaXMg Y29ubmVjdGluZw0KIyBtYWNoaW5lLCBzdWNoIGFzIDE5Mi4xNjguNDAuMTI4 LzI1NS4yNTUuMjU1LjI0OC4NCiMgRmlyc3QsIHVuY29tbWVudCBvdXQgdGhl c2UgbGluZXM6DQo7Y2xpZW50LWNvbmZpZy1kaXIgY2NkDQo7cm91dGUgMTky LjE2OC40MC4xMjggMjU1LjI1NS4yNTUuMjQ4DQojIFRoZW4gY3JlYXRlIGEg ZmlsZSBjY2QvVGhlbG9uaW91cyB3aXRoIHRoaXMgbGluZToNCiMgICBpcm91 dGUgMTkyLjE2OC40MC4xMjggMjU1LjI1NS4yNTUuMjQ4DQojIFRoaXMgd2ls bCBhbGxvdyBUaGVsb25pb3VzJyBwcml2YXRlIHN1Ym5ldCB0bw0KIyBhY2Nl c3MgdGhlIFZQTi4gIFRoaXMgZXhhbXBsZSB3aWxsIG9ubHkgd29yaw0KIyBp ZiB5b3UgYXJlIHJvdXRpbmcsIG5vdCBicmlkZ2luZywgaS5lLiB5b3UgYXJl DQojIHVzaW5nICJkZXYgdHVuIiBhbmQgInNlcnZlciIgZGlyZWN0aXZlcy4N Cg0KIyBFWEFNUExFOiBTdXBwb3NlIHlvdSB3YW50IHRvIGdpdmUNCiMgVGhl bG9uaW91cyBhIGZpeGVkIFZQTiBJUCBhZGRyZXNzIG9mIDEwLjkuMC4xLg0K IyBGaXJzdCB1bmNvbW1lbnQgb3V0IHRoZXNlIGxpbmVzOg0KO2NsaWVudC1j b25maWctZGlyIGNjZA0KO3JvdXRlIDEwLjkuMC4wIDI1NS4yNTUuMjU1LjI1 Mg0KIyBUaGVuIGFkZCB0aGlzIGxpbmUgdG8gY2NkL1RoZWxvbmlvdXM6DQoj ICAgaWZjb25maWctcHVzaCAxMC45LjAuMSAxMC45LjAuMg0KDQojIFN1cHBv c2UgdGhhdCB5b3Ugd2FudCB0byBlbmFibGUgZGlmZmVyZW50DQojIGZpcmV3 YWxsIGFjY2VzcyBwb2xpY2llcyBmb3IgZGlmZmVyZW50IGdyb3Vwcw0KIyBv ZiBjbGllbnRzLiAgVGhlcmUgYXJlIHR3byBtZXRob2RzOg0KIyAoMSkgUnVu IG11bHRpcGxlIE9wZW5WUE4gZGFlbW9ucywgb25lIGZvciBlYWNoDQojICAg ICBncm91cCwgYW5kIGZpcmV3YWxsIHRoZSBUVU4vVEFQIGludGVyZmFjZQ0K IyAgICAgZm9yIGVhY2ggZ3JvdXAvZGFlbW9uIGFwcHJvcHJpYXRlbHkuDQoj ICgyKSAoQWR2YW5jZWQpIENyZWF0ZSBhIHNjcmlwdCB0byBkeW5hbWljYWxs eQ0KIyAgICAgbW9kaWZ5IHRoZSBmaXJld2FsbCBpbiByZXNwb25zZSB0byBh Y2Nlc3MNCiMgICAgIGZyb20gZGlmZmVyZW50IGNsaWVudHMuICBTZWUgbWFu DQojICAgICBwYWdlIGZvciBtb3JlIGluZm8gb24gbGVhcm4tYWRkcmVzcyBz Y3JpcHQuDQo7bGVhcm4tYWRkcmVzcyAuL3NjcmlwdA0KDQojIElmIGVuYWJs ZWQsIHRoaXMgZGlyZWN0aXZlIHdpbGwgY29uZmlndXJlDQojIGFsbCBjbGll bnRzIHRvIHJlZGlyZWN0IHRoZWlyIGRlZmF1bHQNCiMgbmV0d29yayBnYXRl d2F5IHRocm91Z2ggdGhlIFZQTiwgY2F1c2luZw0KIyBhbGwgSVAgdHJhZmZp YyBzdWNoIGFzIHdlYiBicm93c2luZyBhbmQNCiMgYW5kIEROUyBsb29rdXBz IHRvIGdvIHRocm91Z2ggdGhlIFZQTg0KIyAoVGhlIE9wZW5WUE4gc2VydmVy IG1hY2hpbmUgbWF5IG5lZWQgdG8gTkFUDQojIG9yIGJyaWRnZSB0aGUgVFVO L1RBUCBpbnRlcmZhY2UgdG8gdGhlIGludGVybmV0DQojIGluIG9yZGVyIGZv ciB0aGlzIHRvIHdvcmsgcHJvcGVybHkpLg0KcHVzaCAicmVkaXJlY3QtZ2F0 ZXdheSBkZWYxIGJ5cGFzcy1kaGNwIg0KDQojIENlcnRhaW4gV2luZG93cy1z cGVjaWZpYyBuZXR3b3JrIHNldHRpbmdzDQojIGNhbiBiZSBwdXNoZWQgdG8g Y2xpZW50cywgc3VjaCBhcyBETlMNCiMgb3IgV0lOUyBzZXJ2ZXIgYWRkcmVz c2VzLiAgQ0FWRUFUOg0KIyBodHRwOi8vb3BlbnZwbi5uZXQvZmFxLmh0bWwj ZGhjcGNhdmVhdHMNCiMgVGhlIGFkZHJlc3NlcyBiZWxvdyByZWZlciB0byB0 aGUgcHVibGljDQojIEROUyBzZXJ2ZXJzIHByb3ZpZGVkIGJ5IG9wZW5kbnMu Y29tLg0KcHVzaCAiZGhjcC1vcHRpb24gRE5TIG15LWRucy1zZXJ2ZXItaXAi DQpwdXNoICJkaGNwLW9wdGlvbiBETlMgMjA4LjY3LjIyMi4yMjIiDQo7cHVz aCAiZGhjcC1vcHRpb24gRE5TIDIwOC42Ny4yMjIuMjIyIg0KO3B1c2ggImRo Y3Atb3B0aW9uIEROUyAyMDguNjcuMjIwLjIyMCINCg0KIyBVbmNvbW1lbnQg dGhpcyBkaXJlY3RpdmUgdG8gYWxsb3cgZGlmZmVyZW50DQojIGNsaWVudHMg dG8gYmUgYWJsZSB0byAic2VlIiBlYWNoIG90aGVyLg0KIyBCeSBkZWZhdWx0 LCBjbGllbnRzIHdpbGwgb25seSBzZWUgdGhlIHNlcnZlci4NCiMgVG8gZm9y Y2UgY2xpZW50cyB0byBvbmx5IHNlZSB0aGUgc2VydmVyLCB5b3UNCiMgd2ls bCBhbHNvIG5lZWQgdG8gYXBwcm9wcmlhdGVseSBmaXJld2FsbCB0aGUNCiMg c2VydmVyJ3MgVFVOL1RBUCBpbnRlcmZhY2UuDQo7Y2xpZW50LXRvLWNsaWVu dA0KDQojIFVuY29tbWVudCB0aGlzIGRpcmVjdGl2ZSBpZiBtdWx0aXBsZSBj bGllbnRzDQojIG1pZ2h0IGNvbm5lY3Qgd2l0aCB0aGUgc2FtZSBjZXJ0aWZp Y2F0ZS9rZXkNCiMgZmlsZXMgb3IgY29tbW9uIG5hbWVzLiAgVGhpcyBpcyBy ZWNvbW1lbmRlZA0KIyBvbmx5IGZvciB0ZXN0aW5nIHB1cnBvc2VzLiAgRm9y IHByb2R1Y3Rpb24gdXNlLA0KIyBlYWNoIGNsaWVudCBzaG91bGQgaGF2ZSBp dHMgb3duIGNlcnRpZmljYXRlL2tleQ0KIyBwYWlyLg0KIw0KIyBJRiBZT1Ug SEFWRSBOT1QgR0VORVJBVEVEIElORElWSURVQUwNCiMgQ0VSVElGSUNBVEUv S0VZIFBBSVJTIEZPUiBFQUNIIENMSUVOVCwNCiMgRUFDSCBIQVZJTkcgSVRT IE9XTiBVTklRVUUgIkNPTU1PTiBOQU1FIiwNCiMgVU5DT01NRU5UIFRISVMg TElORSBPVVQuDQo7ZHVwbGljYXRlLWNuDQoNCiMgVGhlIGtlZXBhbGl2ZSBk aXJlY3RpdmUgY2F1c2VzIHBpbmctbGlrZQ0KIyBtZXNzYWdlcyB0byBiZSBz ZW50IGJhY2sgYW5kIGZvcnRoIG92ZXINCiMgdGhlIGxpbmsgc28gdGhhdCBl YWNoIHNpZGUga25vd3Mgd2hlbg0KIyB0aGUgb3RoZXIgc2lkZSBoYXMgZ29u ZSBkb3duLg0KIyBQaW5nIGV2ZXJ5IDEwIHNlY29uZHMsIGFzc3VtZSB0aGF0 IHJlbW90ZQ0KIyBwZWVyIGlzIGRvd24gaWYgbm8gcGluZyByZWNlaXZlZCBk dXJpbmcNCiMgYSAxMjAgc2Vjb25kIHRpbWUgcGVyaW9kLg0Ka2VlcGFsaXZl IDEwIDEyMA0KDQojIEZvciBleHRyYSBzZWN1cml0eSBiZXlvbmQgdGhhdCBw cm92aWRlZA0KIyBieSBTU0wvVExTLCBjcmVhdGUgYW4gIkhNQUMgZmlyZXdh bGwiDQojIHRvIGhlbHAgYmxvY2sgRG9TIGF0dGFja3MgYW5kIFVEUCBwb3J0 IGZsb29kaW5nLg0KIw0KIyBHZW5lcmF0ZSB3aXRoOg0KIyAgIG9wZW52cG4g LS1nZW5rZXkgLS1zZWNyZXQgdGEua2V5DQojDQojIFRoZSBzZXJ2ZXIgYW5k IGVhY2ggY2xpZW50IG11c3QgaGF2ZQ0KIyBhIGNvcHkgb2YgdGhpcyBrZXku DQojIFRoZSBzZWNvbmQgcGFyYW1ldGVyIHNob3VsZCBiZSAnMCcNCiMgb24g dGhlIHNlcnZlciBhbmQgJzEnIG9uIHRoZSBjbGllbnRzLg0KO3Rscy1hdXRo IHRhLmtleSAwICMgVGhpcyBmaWxlIGlzIHNlY3JldA0KDQojIFNlbGVjdCBh IGNyeXB0b2dyYXBoaWMgY2lwaGVyLg0KIyBUaGlzIGNvbmZpZyBpdGVtIG11 c3QgYmUgY29waWVkIHRvDQojIHRoZSBjbGllbnQgY29uZmlnIGZpbGUgYXMg d2VsbC4NCjtjaXBoZXIgQkYtQ0JDICAgICAgICAjIEJsb3dmaXNoIChkZWZh dWx0KQ0KO2NpcGhlciBBRVMtMTI4LUNCQyAgICMgQUVTDQo7Y2lwaGVyIERF Uy1FREUzLUNCQyAgIyBUcmlwbGUtREVTDQoNCiMgRW5hYmxlIGNvbXByZXNz aW9uIG9uIHRoZSBWUE4gbGluay4NCiMgSWYgeW91IGVuYWJsZSBpdCBoZXJl LCB5b3UgbXVzdCBhbHNvDQojIGVuYWJsZSBpdCBpbiB0aGUgY2xpZW50IGNv bmZpZyBmaWxlLg0KO2NvbXAtbHpvDQoNCiMgVGhlIG1heGltdW0gbnVtYmVy IG9mIGNvbmN1cnJlbnRseSBjb25uZWN0ZWQNCiMgY2xpZW50cyB3ZSB3YW50 IHRvIGFsbG93Lg0KO21heC1jbGllbnRzIDEwMA0KDQojIEl0J3MgYSBnb29k IGlkZWEgdG8gcmVkdWNlIHRoZSBPcGVuVlBODQojIGRhZW1vbidzIHByaXZp bGVnZXMgYWZ0ZXIgaW5pdGlhbGl6YXRpb24uDQojDQojIFlvdSBjYW4gdW5j b21tZW50IHRoaXMgb3V0IG9uDQojIG5vbi1XaW5kb3dzIHN5c3RlbXMuDQo7 dXNlciBub2JvZHkNCjtncm91cCBub2JvZHkNCg0KIyBUaGUgcGVyc2lzdCBv cHRpb25zIHdpbGwgdHJ5IHRvIGF2b2lkDQojIGFjY2Vzc2luZyBjZXJ0YWlu IHJlc291cmNlcyBvbiByZXN0YXJ0DQojIHRoYXQgbWF5IG5vIGxvbmdlciBi ZSBhY2Nlc3NpYmxlIGJlY2F1c2UNCiMgb2YgdGhlIHByaXZpbGVnZSBkb3du Z3JhZGUuDQpwZXJzaXN0LWtleQ0KcGVyc2lzdC10dW4NCg0KIyBPdXRwdXQg YSBzaG9ydCBzdGF0dXMgZmlsZSBzaG93aW5nDQojIGN1cnJlbnQgY29ubmVj dGlvbnMsIHRydW5jYXRlZA0KIyBhbmQgcmV3cml0dGVuIGV2ZXJ5IG1pbnV0 ZS4NCnN0YXR1cyBvcGVudnBuLXN0YXR1cy5sb2cNCg0KIyBCeSBkZWZhdWx0 LCBsb2cgbWVzc2FnZXMgd2lsbCBnbyB0byB0aGUgc3lzbG9nIChvcg0KIyBv biBXaW5kb3dzLCBpZiBydW5uaW5nIGFzIGEgc2VydmljZSwgdGhleSB3aWxs IGdvIHRvDQojIHRoZSAiXFByb2dyYW0gRmlsZXNcT3BlblZQTlxsb2ciIGRp cmVjdG9yeSkuDQojIFVzZSBsb2cgb3IgbG9nLWFwcGVuZCB0byBvdmVycmlk ZSB0aGlzIGRlZmF1bHQuDQojICJsb2ciIHdpbGwgdHJ1bmNhdGUgdGhlIGxv ZyBmaWxlIG9uIE9wZW5WUE4gc3RhcnR1cCwNCiMgd2hpbGUgImxvZy1hcHBl bmQiIHdpbGwgYXBwZW5kIHRvIGl0LiAgVXNlIG9uZQ0KIyBvciB0aGUgb3Ro ZXIgKGJ1dCBub3QgYm90aCkuDQo7bG9nICAgICAgICAgb3BlbnZwbi5sb2cN Cjtsb2ctYXBwZW5kICBvcGVudnBuLmxvZw0KDQojIFNldCB0aGUgYXBwcm9w cmlhdGUgbGV2ZWwgb2YgbG9nDQojIGZpbGUgdmVyYm9zaXR5Lg0KIw0KIyAw IGlzIHNpbGVudCwgZXhjZXB0IGZvciBmYXRhbCBlcnJvcnMNCiMgNCBpcyBy ZWFzb25hYmxlIGZvciBnZW5lcmFsIHVzYWdlDQojIDUgYW5kIDYgY2FuIGhl bHAgdG8gZGVidWcgY29ubmVjdGlvbiBwcm9ibGVtcw0KIyA5IGlzIGV4dHJl bWVseSB2ZXJib3NlDQp2ZXJiIDMNCg0KIyBTaWxlbmNlIHJlcGVhdGluZyBt ZXNzYWdlcy4gIEF0IG1vc3QgMjANCiMgc2VxdWVudGlhbCBtZXNzYWdlcyBv ZiB0aGUgc2FtZSBtZXNzYWdlDQojIGNhdGVnb3J5IHdpbGwgYmUgb3V0cHV0 IHRvIHRoZSBsb2cuDQo7bXV0ZSAyMA0K --1512028668-759177736-1503885628=:50226-- From owner-freebsd-questions@freebsd.org Mon Aug 28 02:50:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AECA2E03F4C for ; Mon, 28 Aug 2017 02:50:45 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8695B65A0E for ; Mon, 28 Aug 2017 02:50:44 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from FreeBSD (mobile-107-92-56-96.mycingular.net [107.92.56.96]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id c2a5d2ed TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 27 Aug 2017 21:50:36 -0500 (CDT) Date: Sun, 27 Aug 2017 21:50:34 -0500 From: Edgar Pettijohn To: Fongaboo Cc: FreeBSD Mailing List , Ian Smith Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) Message-ID: <20170828025033.GA47551@FreeBSD> References: <20170827164229.W23641@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 02:50:45 -0000 On Sun, Aug 27, 2017 at 10:00:28PM -0400, Fongaboo wrote: > > Thanks so much, Ian. I feel like I'm getting closer. But still no luck. > > Would you be up for double-checking my work? rc.conf/pf.conf/openvpn.conf attached... > > > Do you think I need to add those new dev statements to the client's OpenVPN config as well? > > > Also, sanity check: If I am attempting to browse by IP to http://176.58.123.25then I can eliminate any problem with the right DNS servers getting pushed. > > > Also want to note that my client can browse to http://10.8.0.1 and see my apache server's default index. > > > On Sun, 27 Aug 2017, Ultima wrote: > > > From pf.conf: > > >??pass from { lo0, $localnet } to any keep state > > This rule would probably work if it was in proper order and contain > > "quick". It should also be in the??--- INCOMING --- section. > > Normally pf will warn when the rules are out of order. lo0 should > > be removed as it has set skip, and I would change it to pass in. > > To sum it up: > > > > pf.conf: > > pass in quick from $localnet to any keep state > > > > Moved to the incoming section. > > > > The main issue is that the bottom default rule "block log all" > > triumphs over any rule defined above that does not contain the > > "quick" declaration. > > > > From rc.conf: > > #gateway_enable="YES" > > This should be uncommented. When you use openvpn with this > > kind of configuration. I would check sysctl??net.inet.ip.forwarding > > and make sure it is "1" which is essentially what gateway_enable > > does. > > > > In general I suggest changing a couple other things if you want the > > system to work after each restart. I find that??relying on the > > :network > > translation in pf often can break things and is better to be hard > > coded where possible. It is also better to create the interface in > > rc.conf and give openvpn the interface instead of letting openvpn > > take care of all that. This can be done like so: > > > > rc.conf: > > cloned_interfaces="tun0" > > ifconfig_tun0="up" # This is probably not needed, but better to be > > safe. > > > > openvpn.conf: > > dev tun0 # I don't think this is needed with the below, but I > > prefer to be??thorough > > dev-type tun > > dev-node /dev/tun0 > > > > > As for this thread in general, it'd be really nice if people > > would not > > > re-re-quote long messages > > > > Apologies Ian, It is easy to forget about when gmail truncates the > > bottom bit. > > > > > > Hope this helps, > > Richard Gallamore > > > > > ec2_configinit_enable=YES > ec2_fetchkey_enable=YES > ec2_ephemeralswap_enable=YES > ec2_loghostkey_enable=YES > firstboot_freebsd_update_enable=YES > firstboot_pkgs_enable=YES > growfs_enable="YES" > ifconfig_DEFAULT="SYNCDHCP" > sshd_enable="YES" > firstboot_pkgs_list="awscli" > > hostname="my-server-hostname.domain.tld" > > # OpenVPN Gateway Interfaces > cloned_interfaces="tun0" > ifconfig_tun0="up" > > ntpd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > > #enable inetd for ytalk > inetd_enable="YES" > > #enable firewall > #firewall_enable="YES" > #firewall_script="/usr/local/etc/ipfw.rules" > #firewall_type="open" > #firewall_nat_enable="YES" > > #enable pf > pf_enable="YES" > pf_rules="/etc/pf.conf" > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > > gateway_enable="YES" > > #disable stock FTP > ftp_enable="NO" > > #enable apache > apache24_enable="yes" > > #enable mysql > mysql_enable="yes" > > #enable postfix > postfix_enable="yes" > > #activate SSHGUARD > #sshguard_enable="yes" > > #enable WEBMIN > webmin_enable="YES" > > #allow Proftpd > #proftpd_enable="yes" > > #enable mailman > mailman_enable="yes" > > #enable OpenVPN > openvpn_enable="YES" > openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf" > # ----------------------- simple server pf.conf ---------------------- > # For FreeBSD 9.1 > # j65nko 2011, 2012, 2013 > # > # If you adapt this ruleset for a resolving caching name server please > # make sure you don't allow the whole world to use your name server > # Creating an open resolving name server can allow the bad guys to use your nameserver > # in an DNS amplification attack > > #macros for network interfaces > ext_if="xn0" > int_if="tun0" > > # define NAT gateway routing > localnet = $int_if:network I'm not sure the above line is doing what you think. The :network translates to the networks attached to the interface. I don't see where you are assigning a network to the tun0 interface. But maybe that is handled by openvpn. Not sure though. I suspect you may need to do some ethernet bridging. I've only ever used openvpn as a client though so I'm definantly not an expert on your particular use case. I'm also a firm believer it loading pf rules like so: # pfctl -vf /etc/pf.conf It will list the rules in long form so you can see that what you wrote is what you actually wanted. Plus pf is known for failing silently and not loading rules. This way any errors will be displayed. > nat on $ext_if from $localnet to any -> ($ext_if) > > > icmp_types="echoreq" > > # Custom port for ssh > SSH_CUSTOM = 22 > > scrub in on $ext_if all fragment reassemble > > set skip on lo0 > #set skip on lo1 > > antispoof for $ext_if > > # --- EXTERNAL INTERFACE > # --- INCOMING ------------------------------------------------------------------- > pass in quick from $localnet to any keep state > > # --- TCP > pass in quick on $ext_if inet proto tcp from my-home-ip to any > pass in quick on $ext_if inet proto tcp from any to $ext_if port http > pass in quick on $ext_if inet proto tcp from any to $ext_if port https > pass in quick on $ext_if inet proto tcp from any to $ext_if port $SSH_CUSTOM > pass in quick on $ext_if inet proto tcp from any to $ext_if port 1194 > > # --- for authoritative DNS server > pass in quick on $ext_if inet proto udp from any to $ext_if port domain Why limit yourself to only udp? ... proto { udp, tcp } ... > > # --- UDP > # --- for authoritative DNS server > #pass in quick on $ext_if inet proto udp from any to $ext_if port domain > > # --- ICMP > pass in quick on $ext_if inet proto icmp from any to $ext_if icmp-type $icmp_types > > # --- EXTERNAL INTERFACE > # --- OUTGOING -------------------------------------------------------------------- > > anchor TMP > > # --- TCP > #pass out quick log on $ext_if inet proto tcp from $ext_if to any port smtp > #pass out quick on $ext_if inet proto tcp from $ext_if to any port domain > #pass out quick on $ext_if inet proto tcp from $ext_if to any port http > #pass out quick on $ext_if inet proto tcp from $ext_if to any port https > #pass out quick on $ext_if inet proto tcp from $ext_if to any port whois > #pass out quick on $ext_if inet proto tcp from $ext_if to any port $SSH_CUSTOM > > # --- UDP > #pass out quick on $ext_if inet proto udp from $ext_if to any port domain > #pass out quick on $ext_if inet proto udp from $ext_if to any port ntp > > # --- ICMP > pass out quick on $ext_if inet proto icmp from $ext_if to any > > # --- ALLOW ALL OUTBOUND TRAFFIC > pass out quick on $ext_if inet keep state > > # ------------------------------------------------------ > # --- DEFAULT POLICY > # ------------------------------------------------------ > block log all > > # ----- end of pf.conf > ################################################# > # Sample OpenVPN 2.0 config file for # > # multi-client server. # > # # > # This file is for the server side # > # of a many-clients <-> one-server # > # OpenVPN configuration. # > # # > # OpenVPN also supports # > # single-machine <-> single-machine # > # configurations (See the Examples page # > # on the web site for more info). # > # # > # This config should work on Windows # > # or Linux/BSD systems. Remember on # > # Windows to quote pathnames and use # > # double backslashes, e.g.: # > # "C:\\Program Files\\OpenVPN\\config\\foo.key" # > # # > # Comments are preceded with '#' or ';' # > ################################################# > > # Which local IP address should OpenVPN > # listen on? (optional) > ;local a.b.c.d > > # Which TCP/UDP port should OpenVPN listen on? > # If you want to run multiple OpenVPN instances > # on the same machine, use a different port > # number for each one. You will need to > # open up this port on your firewall. > port 1194 > > # TCP or UDP server? > ;proto tcp > proto udp > > # "dev tun" will create a routed IP tunnel, > # "dev tap" will create an ethernet tunnel. > # Use "dev tap0" if you are ethernet bridging > # and have precreated a tap0 virtual interface > # and bridged it with your ethernet interface. > # If you want to control access policies > # over the VPN, you must create firewall > # rules for the the TUN/TAP interface. > # On non-Windows systems, you can give > # an explicit unit number, such as tun0. > # On Windows, use "dev-node" for this. > # On most systems, the VPN will not function > # unless you partially or fully disable > # the firewall for the TUN/TAP interface. > ;dev tap > dev tun0 > dev-type tun > dev-node /dev/tun0 > > # Windows needs the TAP-Win32 adapter name > # from the Network Connections panel if you > # have more than one. On XP SP2 or higher, > # you may need to selectively disable the > # Windows firewall for the TAP adapter. > # Non-Windows systems usually don't need this. > ;dev-node MyTap > > # SSL/TLS root certificate (ca), certificate > # (cert), and private key (key). Each client > # and the server must have their own cert and > # key file. The server and all clients will > # use the same ca file. > # > # See the "easy-rsa" directory for a series > # of scripts for generating RSA certificates > # and private keys. Remember to use > # a unique Common Name for the server > # and each of the client certificates. > # > # Any X509 key management system can be used. > # OpenVPN can also use a PKCS #12 formatted key file > # (see "pkcs12" directive in man page). > ca ca.crt > cert my-server-hostname_openvpn-server.crt > key my-server-hostname_openvpn-server.key # This file should be kept secret > > # Diffie hellman parameters. > # Generate your own with: > # openssl dhparam -out dh2048.pem 2048 > dh dh2048.pem > > # Network topology > # Should be subnet (addressing via IP) > # unless Windows clients v2.0.9 and lower have to > # be supported (then net30, i.e. a /30 per client) > # Defaults to net30 (not recommended) > ;topology subnet > > # Configure server mode and supply a VPN subnet > # for OpenVPN to draw client addresses from. > # The server will take 10.8.0.1 for itself, > # the rest will be made available to clients. > # Each client will be able to reach the server > # on 10.8.0.1. Comment this line out if you are > # ethernet bridging. See the man page for more info. > server 10.8.0.0 255.255.255.0 > > # Maintain a record of client <-> virtual IP address > # associations in this file. If OpenVPN goes down or > # is restarted, reconnecting clients can be assigned > # the same virtual IP address from the pool that was > # previously assigned. > ifconfig-pool-persist ipp.txt > > # Configure server mode for ethernet bridging. > # You must first use your OS's bridging capability > # to bridge the TAP interface with the ethernet > # NIC interface. Then you must manually set the > # IP/netmask on the bridge interface, here we > # assume 10.8.0.4/255.255.255.0. Finally we > # must set aside an IP range in this subnet > # (start=10.8.0.50 end=10.8.0.100) to allocate > # to connecting clients. Leave this line commented > # out unless you are ethernet bridging. > ;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100 > > # Configure server mode for ethernet bridging > # using a DHCP-proxy, where clients talk > # to the OpenVPN server-side DHCP server > # to receive their IP address allocation > # and DNS server addresses. You must first use > # your OS's bridging capability to bridge the TAP > # interface with the ethernet NIC interface. > # Note: this mode only works on clients (such as > # Windows), where the client-side TAP adapter is > # bound to a DHCP client. > ;server-bridge > > # Push routes to the client to allow it > # to reach other private subnets behind > # the server. Remember that these > # private subnets will also need > # to know to route the OpenVPN client > # address pool (10.8.0.0/255.255.255.0) > # back to the OpenVPN server. > ;push "route 192.168.10.0 255.255.255.0" > ;push "route 192.168.20.0 255.255.255.0" > > # To assign specific IP addresses to specific > # clients or if a connecting client has a private > # subnet behind it that should also have VPN access, > # use the subdirectory "ccd" for client-specific > # configuration files (see man page for more info). > > # EXAMPLE: Suppose the client > # having the certificate common name "Thelonious" > # also has a small subnet behind his connecting > # machine, such as 192.168.40.128/255.255.255.248. > # First, uncomment out these lines: > ;client-config-dir ccd > ;route 192.168.40.128 255.255.255.248 > # Then create a file ccd/Thelonious with this line: > # iroute 192.168.40.128 255.255.255.248 > # This will allow Thelonious' private subnet to > # access the VPN. This example will only work > # if you are routing, not bridging, i.e. you are > # using "dev tun" and "server" directives. > > # EXAMPLE: Suppose you want to give > # Thelonious a fixed VPN IP address of 10.9.0.1. > # First uncomment out these lines: > ;client-config-dir ccd > ;route 10.9.0.0 255.255.255.252 > # Then add this line to ccd/Thelonious: > # ifconfig-push 10.9.0.1 10.9.0.2 > > # Suppose that you want to enable different > # firewall access policies for different groups > # of clients. There are two methods: > # (1) Run multiple OpenVPN daemons, one for each > # group, and firewall the TUN/TAP interface > # for each group/daemon appropriately. > # (2) (Advanced) Create a script to dynamically > # modify the firewall in response to access > # from different clients. See man > # page for more info on learn-address script. > ;learn-address ./script > > # If enabled, this directive will configure > # all clients to redirect their default > # network gateway through the VPN, causing > # all IP traffic such as web browsing and > # and DNS lookups to go through the VPN > # (The OpenVPN server machine may need to NAT > # or bridge the TUN/TAP interface to the internet > # in order for this to work properly). > push "redirect-gateway def1 bypass-dhcp" > > # Certain Windows-specific network settings > # can be pushed to clients, such as DNS > # or WINS server addresses. CAVEAT: > # http://openvpn.net/faq.html#dhcpcaveats > # The addresses below refer to the public > # DNS servers provided by opendns.com. > push "dhcp-option DNS my-dns-server-ip" > push "dhcp-option DNS 208.67.222.222" > ;push "dhcp-option DNS 208.67.222.222" > ;push "dhcp-option DNS 208.67.220.220" > > # Uncomment this directive to allow different > # clients to be able to "see" each other. > # By default, clients will only see the server. > # To force clients to only see the server, you > # will also need to appropriately firewall the > # server's TUN/TAP interface. > ;client-to-client > > # Uncomment this directive if multiple clients > # might connect with the same certificate/key > # files or common names. This is recommended > # only for testing purposes. For production use, > # each client should have its own certificate/key > # pair. > # > # IF YOU HAVE NOT GENERATED INDIVIDUAL > # CERTIFICATE/KEY PAIRS FOR EACH CLIENT, > # EACH HAVING ITS OWN UNIQUE "COMMON NAME", > # UNCOMMENT THIS LINE OUT. > ;duplicate-cn > > # The keepalive directive causes ping-like > # messages to be sent back and forth over > # the link so that each side knows when > # the other side has gone down. > # Ping every 10 seconds, assume that remote > # peer is down if no ping received during > # a 120 second time period. > keepalive 10 120 > > # For extra security beyond that provided > # by SSL/TLS, create an "HMAC firewall" > # to help block DoS attacks and UDP port flooding. > # > # Generate with: > # openvpn --genkey --secret ta.key > # > # The server and each client must have > # a copy of this key. > # The second parameter should be '0' > # on the server and '1' on the clients. > ;tls-auth ta.key 0 # This file is secret > > # Select a cryptographic cipher. > # This config item must be copied to > # the client config file as well. > ;cipher BF-CBC # Blowfish (default) > ;cipher AES-128-CBC # AES > ;cipher DES-EDE3-CBC # Triple-DES > > # Enable compression on the VPN link. > # If you enable it here, you must also > # enable it in the client config file. > ;comp-lzo > > # The maximum number of concurrently connected > # clients we want to allow. > ;max-clients 100 > > # It's a good idea to reduce the OpenVPN > # daemon's privileges after initialization. > # > # You can uncomment this out on > # non-Windows systems. > ;user nobody > ;group nobody > > # The persist options will try to avoid > # accessing certain resources on restart > # that may no longer be accessible because > # of the privilege downgrade. > persist-key > persist-tun > > # Output a short status file showing > # current connections, truncated > # and rewritten every minute. > status openvpn-status.log > > # By default, log messages will go to the syslog (or > # on Windows, if running as a service, they will go to > # the "\Program Files\OpenVPN\log" directory). > # Use log or log-append to override this default. > # "log" will truncate the log file on OpenVPN startup, > # while "log-append" will append to it. Use one > # or the other (but not both). > ;log openvpn.log > ;log-append openvpn.log > > # Set the appropriate level of log > # file verbosity. > # > # 0 is silent, except for fatal errors > # 4 is reasonable for general usage > # 5 and 6 can help to debug connection problems > # 9 is extremely verbose > verb 3 > > # Silence repeating messages. At most 20 > # sequential messages of the same message > # category will be output to the log. > ;mute 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 Mon Aug 28 03:02:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 349DCE042EC for ; Mon, 28 Aug 2017 03:02:06 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DF6E6653F for ; Mon, 28 Aug 2017 03:02:05 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from FreeBSD (mobile-107-92-56-96.mycingular.net [107.92.56.96]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id 8ce77098 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 27 Aug 2017 22:02:02 -0500 (CDT) Date: Sun, 27 Aug 2017 22:01:57 -0500 From: Edgar Pettijohn To: Fongaboo Cc: FreeBSD Mailing List , Ian Smith Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) Message-ID: <20170828030151.GB47551@FreeBSD> References: <20170827164229.W23641@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 03:02:06 -0000 On Sun, Aug 27, 2017 at 10:00:28PM -0400, Fongaboo wrote: > > Thanks so much, Ian. I feel like I'm getting closer. But still no luck. > > Would you be up for double-checking my work? rc.conf/pf.conf/openvpn.conf attached... > > > Do you think I need to add those new dev statements to the client's OpenVPN config as well? > > > Also, sanity check: If I am attempting to browse by IP to http://176.58.123.25then I can eliminate any problem with the right DNS servers getting pushed. > > > Also want to note that my client can browse to http://10.8.0.1 and see my apache server's default index. > > > On Sun, 27 Aug 2017, Ultima wrote: > > > From pf.conf: > > >??pass from { lo0, $localnet } to any keep state > > This rule would probably work if it was in proper order and contain > > "quick". It should also be in the??--- INCOMING --- section. > > Normally pf will warn when the rules are out of order. lo0 should > > be removed as it has set skip, and I would change it to pass in. > > To sum it up: > > > > pf.conf: > > pass in quick from $localnet to any keep state > > > > Moved to the incoming section. > > > > The main issue is that the bottom default rule "block log all" > > triumphs over any rule defined above that does not contain the > > "quick" declaration. > > > > From rc.conf: > > #gateway_enable="YES" > > This should be uncommented. When you use openvpn with this > > kind of configuration. I would check sysctl??net.inet.ip.forwarding > > and make sure it is "1" which is essentially what gateway_enable > > does. > > > > In general I suggest changing a couple other things if you want the > > system to work after each restart. I find that??relying on the > > :network > > translation in pf often can break things and is better to be hard > > coded where possible. It is also better to create the interface in > > rc.conf and give openvpn the interface instead of letting openvpn > > take care of all that. This can be done like so: > > > > rc.conf: > > cloned_interfaces="tun0" > > ifconfig_tun0="up" # This is probably not needed, but better to be > > safe. > > > > openvpn.conf: > > dev tun0 # I don't think this is needed with the below, but I > > prefer to be??thorough > > dev-type tun > > dev-node /dev/tun0 > > > > > As for this thread in general, it'd be really nice if people > > would not > > > re-re-quote long messages > > > > Apologies Ian, It is easy to forget about when gmail truncates the > > bottom bit. > > > > > > Hope this helps, > > Richard Gallamore > > > > > ec2_configinit_enable=YES > ec2_fetchkey_enable=YES > ec2_ephemeralswap_enable=YES > ec2_loghostkey_enable=YES > firstboot_freebsd_update_enable=YES > firstboot_pkgs_enable=YES > growfs_enable="YES" > ifconfig_DEFAULT="SYNCDHCP" > sshd_enable="YES" > firstboot_pkgs_list="awscli" > > hostname="my-server-hostname.domain.tld" > > # OpenVPN Gateway Interfaces > cloned_interfaces="tun0" > ifconfig_tun0="up" > > ntpd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > > #enable inetd for ytalk > inetd_enable="YES" > > #enable firewall > #firewall_enable="YES" > #firewall_script="/usr/local/etc/ipfw.rules" > #firewall_type="open" > #firewall_nat_enable="YES" > > #enable pf > pf_enable="YES" > pf_rules="/etc/pf.conf" > pflog_enable="YES" > pflog_logfile="/var/log/pflog" > > gateway_enable="YES" > > #disable stock FTP > ftp_enable="NO" > > #enable apache > apache24_enable="yes" > > #enable mysql > mysql_enable="yes" > > #enable postfix > postfix_enable="yes" > > #activate SSHGUARD > #sshguard_enable="yes" > > #enable WEBMIN > webmin_enable="YES" > > #allow Proftpd > #proftpd_enable="yes" > > #enable mailman > mailman_enable="yes" > > #enable OpenVPN > openvpn_enable="YES" > openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf" > # ----------------------- simple server pf.conf ---------------------- > # For FreeBSD 9.1 > # j65nko 2011, 2012, 2013 > # > # If you adapt this ruleset for a resolving caching name server please > # make sure you don't allow the whole world to use your name server > # Creating an open resolving name server can allow the bad guys to use your nameserver > # in an DNS amplification attack > > #macros for network interfaces > ext_if="xn0" > int_if="tun0" > > # define NAT gateway routing > localnet = $int_if:network > nat on $ext_if from $localnet to any -> ($ext_if) > > > icmp_types="echoreq" > > # Custom port for ssh > SSH_CUSTOM = 22 > > scrub in on $ext_if all fragment reassemble > > set skip on lo0 > #set skip on lo1 > > antispoof for $ext_if > > # --- EXTERNAL INTERFACE > # --- INCOMING ------------------------------------------------------------------- > pass in quick from $localnet to any keep state > > # --- TCP > pass in quick on $ext_if inet proto tcp from my-home-ip to any > pass in quick on $ext_if inet proto tcp from any to $ext_if port http > pass in quick on $ext_if inet proto tcp from any to $ext_if port https > pass in quick on $ext_if inet proto tcp from any to $ext_if port $SSH_CUSTOM > pass in quick on $ext_if inet proto tcp from any to $ext_if port 1194 Sorry, just noticed your openvpn.conf shows you want proto udp so replace tcp above with udp. > > # --- for authoritative DNS server > pass in quick on $ext_if inet proto udp from any to $ext_if port domain > > # --- UDP > # --- for authoritative DNS server > #pass in quick on $ext_if inet proto udp from any to $ext_if port domain > > # --- ICMP > pass in quick on $ext_if inet proto icmp from any to $ext_if icmp-type $icmp_types > > # --- EXTERNAL INTERFACE > # --- OUTGOING -------------------------------------------------------------------- > > anchor TMP > > # --- TCP > #pass out quick log on $ext_if inet proto tcp from $ext_if to any port smtp > #pass out quick on $ext_if inet proto tcp from $ext_if to any port domain > #pass out quick on $ext_if inet proto tcp from $ext_if to any port http > #pass out quick on $ext_if inet proto tcp from $ext_if to any port https > #pass out quick on $ext_if inet proto tcp from $ext_if to any port whois > #pass out quick on $ext_if inet proto tcp from $ext_if to any port $SSH_CUSTOM > > # --- UDP > #pass out quick on $ext_if inet proto udp from $ext_if to any port domain > #pass out quick on $ext_if inet proto udp from $ext_if to any port ntp > > # --- ICMP > pass out quick on $ext_if inet proto icmp from $ext_if to any > > # --- ALLOW ALL OUTBOUND TRAFFIC > pass out quick on $ext_if inet keep state > > # ------------------------------------------------------ > # --- DEFAULT POLICY > # ------------------------------------------------------ > block log all > > # ----- end of pf.conf > ################################################# > # Sample OpenVPN 2.0 config file for # > # multi-client server. # > # # > # This file is for the server side # > # of a many-clients <-> one-server # > # OpenVPN configuration. # > # # > # OpenVPN also supports # > # single-machine <-> single-machine # > # configurations (See the Examples page # > # on the web site for more info). # > # # > # This config should work on Windows # > # or Linux/BSD systems. Remember on # > # Windows to quote pathnames and use # > # double backslashes, e.g.: # > # "C:\\Program Files\\OpenVPN\\config\\foo.key" # > # # > # Comments are preceded with '#' or ';' # > ################################################# > > # Which local IP address should OpenVPN > # listen on? (optional) > ;local a.b.c.d > > # Which TCP/UDP port should OpenVPN listen on? > # If you want to run multiple OpenVPN instances > # on the same machine, use a different port > # number for each one. You will need to > # open up this port on your firewall. > port 1194 > > # TCP or UDP server? > ;proto tcp > proto udp > > # "dev tun" will create a routed IP tunnel, > # "dev tap" will create an ethernet tunnel. > # Use "dev tap0" if you are ethernet bridging > # and have precreated a tap0 virtual interface > # and bridged it with your ethernet interface. > # If you want to control access policies > # over the VPN, you must create firewall > # rules for the the TUN/TAP interface. > # On non-Windows systems, you can give > # an explicit unit number, such as tun0. > # On Windows, use "dev-node" for this. > # On most systems, the VPN will not function > # unless you partially or fully disable > # the firewall for the TUN/TAP interface. > ;dev tap > dev tun0 > dev-type tun > dev-node /dev/tun0 > > # Windows needs the TAP-Win32 adapter name > # from the Network Connections panel if you > # have more than one. On XP SP2 or higher, > # you may need to selectively disable the > # Windows firewall for the TAP adapter. > # Non-Windows systems usually don't need this. > ;dev-node MyTap > > # SSL/TLS root certificate (ca), certificate > # (cert), and private key (key). Each client > # and the server must have their own cert and > # key file. The server and all clients will > # use the same ca file. > # > # See the "easy-rsa" directory for a series > # of scripts for generating RSA certificates > # and private keys. Remember to use > # a unique Common Name for the server > # and each of the client certificates. > # > # Any X509 key management system can be used. > # OpenVPN can also use a PKCS #12 formatted key file > # (see "pkcs12" directive in man page). > ca ca.crt > cert my-server-hostname_openvpn-server.crt > key my-server-hostname_openvpn-server.key # This file should be kept secret > > # Diffie hellman parameters. > # Generate your own with: > # openssl dhparam -out dh2048.pem 2048 > dh dh2048.pem > > # Network topology > # Should be subnet (addressing via IP) > # unless Windows clients v2.0.9 and lower have to > # be supported (then net30, i.e. a /30 per client) > # Defaults to net30 (not recommended) > ;topology subnet > > # Configure server mode and supply a VPN subnet > # for OpenVPN to draw client addresses from. > # The server will take 10.8.0.1 for itself, > # the rest will be made available to clients. > # Each client will be able to reach the server > # on 10.8.0.1. Comment this line out if you are > # ethernet bridging. See the man page for more info. > server 10.8.0.0 255.255.255.0 > > # Maintain a record of client <-> virtual IP address > # associations in this file. If OpenVPN goes down or > # is restarted, reconnecting clients can be assigned > # the same virtual IP address from the pool that was > # previously assigned. > ifconfig-pool-persist ipp.txt > > # Configure server mode for ethernet bridging. > # You must first use your OS's bridging capability > # to bridge the TAP interface with the ethernet > # NIC interface. Then you must manually set the > # IP/netmask on the bridge interface, here we > # assume 10.8.0.4/255.255.255.0. Finally we > # must set aside an IP range in this subnet > # (start=10.8.0.50 end=10.8.0.100) to allocate > # to connecting clients. Leave this line commented > # out unless you are ethernet bridging. > ;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100 > > # Configure server mode for ethernet bridging > # using a DHCP-proxy, where clients talk > # to the OpenVPN server-side DHCP server > # to receive their IP address allocation > # and DNS server addresses. You must first use > # your OS's bridging capability to bridge the TAP > # interface with the ethernet NIC interface. > # Note: this mode only works on clients (such as > # Windows), where the client-side TAP adapter is > # bound to a DHCP client. > ;server-bridge > > # Push routes to the client to allow it > # to reach other private subnets behind > # the server. Remember that these > # private subnets will also need > # to know to route the OpenVPN client > # address pool (10.8.0.0/255.255.255.0) > # back to the OpenVPN server. > ;push "route 192.168.10.0 255.255.255.0" > ;push "route 192.168.20.0 255.255.255.0" > > # To assign specific IP addresses to specific > # clients or if a connecting client has a private > # subnet behind it that should also have VPN access, > # use the subdirectory "ccd" for client-specific > # configuration files (see man page for more info). > > # EXAMPLE: Suppose the client > # having the certificate common name "Thelonious" > # also has a small subnet behind his connecting > # machine, such as 192.168.40.128/255.255.255.248. > # First, uncomment out these lines: > ;client-config-dir ccd > ;route 192.168.40.128 255.255.255.248 > # Then create a file ccd/Thelonious with this line: > # iroute 192.168.40.128 255.255.255.248 > # This will allow Thelonious' private subnet to > # access the VPN. This example will only work > # if you are routing, not bridging, i.e. you are > # using "dev tun" and "server" directives. > > # EXAMPLE: Suppose you want to give > # Thelonious a fixed VPN IP address of 10.9.0.1. > # First uncomment out these lines: > ;client-config-dir ccd > ;route 10.9.0.0 255.255.255.252 > # Then add this line to ccd/Thelonious: > # ifconfig-push 10.9.0.1 10.9.0.2 > > # Suppose that you want to enable different > # firewall access policies for different groups > # of clients. There are two methods: > # (1) Run multiple OpenVPN daemons, one for each > # group, and firewall the TUN/TAP interface > # for each group/daemon appropriately. > # (2) (Advanced) Create a script to dynamically > # modify the firewall in response to access > # from different clients. See man > # page for more info on learn-address script. > ;learn-address ./script > > # If enabled, this directive will configure > # all clients to redirect their default > # network gateway through the VPN, causing > # all IP traffic such as web browsing and > # and DNS lookups to go through the VPN > # (The OpenVPN server machine may need to NAT > # or bridge the TUN/TAP interface to the internet > # in order for this to work properly). > push "redirect-gateway def1 bypass-dhcp" > > # Certain Windows-specific network settings > # can be pushed to clients, such as DNS > # or WINS server addresses. CAVEAT: > # http://openvpn.net/faq.html#dhcpcaveats > # The addresses below refer to the public > # DNS servers provided by opendns.com. > push "dhcp-option DNS my-dns-server-ip" > push "dhcp-option DNS 208.67.222.222" > ;push "dhcp-option DNS 208.67.222.222" > ;push "dhcp-option DNS 208.67.220.220" > > # Uncomment this directive to allow different > # clients to be able to "see" each other. > # By default, clients will only see the server. > # To force clients to only see the server, you > # will also need to appropriately firewall the > # server's TUN/TAP interface. > ;client-to-client > > # Uncomment this directive if multiple clients > # might connect with the same certificate/key > # files or common names. This is recommended > # only for testing purposes. For production use, > # each client should have its own certificate/key > # pair. > # > # IF YOU HAVE NOT GENERATED INDIVIDUAL > # CERTIFICATE/KEY PAIRS FOR EACH CLIENT, > # EACH HAVING ITS OWN UNIQUE "COMMON NAME", > # UNCOMMENT THIS LINE OUT. > ;duplicate-cn > > # The keepalive directive causes ping-like > # messages to be sent back and forth over > # the link so that each side knows when > # the other side has gone down. > # Ping every 10 seconds, assume that remote > # peer is down if no ping received during > # a 120 second time period. > keepalive 10 120 > > # For extra security beyond that provided > # by SSL/TLS, create an "HMAC firewall" > # to help block DoS attacks and UDP port flooding. > # > # Generate with: > # openvpn --genkey --secret ta.key > # > # The server and each client must have > # a copy of this key. > # The second parameter should be '0' > # on the server and '1' on the clients. > ;tls-auth ta.key 0 # This file is secret > > # Select a cryptographic cipher. > # This config item must be copied to > # the client config file as well. > ;cipher BF-CBC # Blowfish (default) > ;cipher AES-128-CBC # AES > ;cipher DES-EDE3-CBC # Triple-DES > > # Enable compression on the VPN link. > # If you enable it here, you must also > # enable it in the client config file. > ;comp-lzo > > # The maximum number of concurrently connected > # clients we want to allow. > ;max-clients 100 > > # It's a good idea to reduce the OpenVPN > # daemon's privileges after initialization. > # > # You can uncomment this out on > # non-Windows systems. > ;user nobody > ;group nobody > > # The persist options will try to avoid > # accessing certain resources on restart > # that may no longer be accessible because > # of the privilege downgrade. > persist-key > persist-tun > > # Output a short status file showing > # current connections, truncated > # and rewritten every minute. > status openvpn-status.log > > # By default, log messages will go to the syslog (or > # on Windows, if running as a service, they will go to > # the "\Program Files\OpenVPN\log" directory). > # Use log or log-append to override this default. > # "log" will truncate the log file on OpenVPN startup, > # while "log-append" will append to it. Use one > # or the other (but not both). > ;log openvpn.log > ;log-append openvpn.log > > # Set the appropriate level of log > # file verbosity. > # > # 0 is silent, except for fatal errors > # 4 is reasonable for general usage > # 5 and 6 can help to debug connection problems > # 9 is extremely verbose > verb 3 > > # Silence repeating messages. At most 20 > # sequential messages of the same message > # category will be output to the log. > ;mute 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 Mon Aug 28 03:40:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D2F4E04B61 for ; Mon, 28 Aug 2017 03:40:45 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07F24671FF for ; Mon, 28 Aug 2017 03:40:45 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id s187so10535522ywf.2 for ; Sun, 27 Aug 2017 20:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QORWCPv0xlBNG7zyf/x4NNfjIjfvowfUSvjKLtMEZ1Q=; b=jgf6g0pudIn5OGKMQH32HDsBMNsHJLxbp1JGV8twVG/xxbZJNmU8/w4qarx3QrBFae AMZ6Vm7oSY/om6ZXXlysB2AyJbA0kr0rex8FMRi3OalFTgCceWxMlpVHnQjYmeiNYhRK ZwpbuZ5SjtR79qIR6bPcEcXHBo53cikVjjoBsXnFD32rg+EqftYR5nGgIdrSzr8tjAkg NBrkbWVoxN0vruvnImlWP0YHmyKLsHxUfPI0bLnI+LTOyOc8W1w2bxfkyH20L9q+UewC OJwMg/TooxjyFnoIedWO1dDYiBGvJyj4PcaVOgzaK/SJFBg+ayrfPCvQ1kyMB9m6wpT8 SwZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QORWCPv0xlBNG7zyf/x4NNfjIjfvowfUSvjKLtMEZ1Q=; b=TBfH6fhNeIxa5MRqhx3opW1taVSqLgnri+1wRLySzv5+VeBGcCAbGhglHnVpRb9WIf CSr6b89oYG5HVQvejuFVtTjf2BEzzSCpNDxSZP7GLbujuuJ6dEgAVQyHzUFAVLrOz1VP Lar/fCvH/rAMKkOijair27BMKHkmyaMsvmXyJuQX5hioVJ6vXYEzmuP/O75Q5PfIRHTI HwKntBCr5fpDnheB9rsWiL0xjr5sGG2itAG1eAxVrjjNaEVV+0SD8huol8pZxE9Dv4LB oCNpWD8dDsojtiTBKS7fLSwcgbgMwCCbU9nWOafqgoe4jsLtDbIvpUgZAlIhLdmU3qIR 76yQ== X-Gm-Message-State: AHYfb5j5b+kSooalImRAACGiO1yjVb2IAK9aT2jC8QlIn8Q69Ca5Eq2I FLSBoAaXF3LsMEEjpz1qsD3BZTpSY25GUBE= X-Received: by 10.37.79.69 with SMTP id d66mr4853471ybb.122.1503891644006; Sun, 27 Aug 2017 20:40:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.231.71 with HTTP; Sun, 27 Aug 2017 20:40:43 -0700 (PDT) In-Reply-To: <20170828030151.GB47551@FreeBSD> References: <20170827164229.W23641@sola.nimnet.asn.au> <20170828030151.GB47551@FreeBSD> From: Ultima Date: Sun, 27 Aug 2017 20:40:43 -0700 Message-ID: Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) To: Edgar Pettijohn Cc: Fongaboo , FreeBSD Mailing List , Ian Smith Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 03:40:45 -0000 > Do you think I need to add those new dev statements to the client's OpenVPN config as well? No, those variables are per configuration specific. Other than missing my last suggestion by not relying on :network translation and the tcp to udp Edger mentioned the configuration should work assuming the sysctl net.inet.ip.forwarding is 1. In other words pfctl.conf: localnet = 10.8.0.0/24 > I don't see where you are assigning a network to > the tun0 interface. But maybe that is handled by openvpn. Not sure though. Yes, openvpn does handles this that is why the network should be defined and not translated when possible for pf. Are you only attempting to connect to sites in your browser? Can you try pinging known ips on the internet? I usually do 8.8.8.8. Basically from the last post not sure if you can only connect to internet, or just dns issues. Hope this helps, Richard Gallamore From owner-freebsd-questions@freebsd.org Mon Aug 28 06:19:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9FD6E06A0C for ; Mon, 28 Aug 2017 06:19:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFAC66AB0D for ; Mon, 28 Aug 2017 06:19:07 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v7S6ImIG059349; Mon, 28 Aug 2017 16:18:51 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 28 Aug 2017 16:18:48 +1000 (EST) From: Ian Smith To: Fongaboo cc: Ultima , freebsd-questions@freebsd.org Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) In-Reply-To: <20170828150306.R23641@sola.nimnet.asn.au> Message-ID: <20170828150926.U23641@sola.nimnet.asn.au> References: <20170827164229.W23641@sola.nimnet.asn.au> <20170828150306.R23641@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 06:19:09 -0000 Argh, I take the digest and you didn't cc me on this one, so having to insert your message from the web archive and manually quote, this might get messy .. but the digest won't be here for 6 hours, so I'll try. > On Mon Aug 28 00:39:38 UTC 2017 Fongaboo wrote: > On Sun, 27 Aug 2017, Ian Smith wrote: > > > I know next to nothing about OpenVPN - though the digitalocean tutorial > > looks pretty thorough on the surface - and absolutely nothing about AWS, > > but do know a bit about ipfw and friends. > > Yeah I figured this was more a pure Firewall and routing issue contextual > to FreeBSD than anything OpenVPN-specific. > > > Your changing of the default firewall_script from /etc/rc.firewall to > > "/usr/local/etc/ipfw.rules" suggests that you've been unfortunately > > illadvised by the still-dreadful IPFW section in the handbook, written > > by someone who uses ipfilter. Rely on /etc/rc.firewall and ipfw(8) for > > accurate information on using ipfw. > > I'm not sure what you mean by 'Rely on /etc/rc.firewall and ipfw(8)". Are > these files in FreeBSD to refer to? Or are you talking about the > respective handbook entries for these things? Yes, /etc/rc.firewall is a system supplied file. ipfw(8) syntax refers to the ipfw manual, accessed by 'man ipfw', or more specifically 'man 8 ipfw' being in section 8 of the manual pages. You'll see that syntax used a lot in *BSD. ipfw(8) is a very thorough manual, usually kept well up to date, unlike the handbook (in this instance). It's quite large, but worth browsing at least once to see what's where with ipfw. > > I note that the digitalocean tute did not make that mistake, though it > > would be more up-to-date to use firewall_nat_enable rather than natd(8), > > however natd works as well as ever, if a bit more slowly (extra process) > > > > So .. firewall_type="open" is a parameter to whatever firewall_script. > > /etc/rc.firewall uses that to generate an open firewall, i.e. inserting > > 'pass all from any to any', overriding the default 'deny all from any > > to any'. You didn't show your ipfw.rules, but I doubt it parses 'open' > > as a parameter - so it would not be surprising if you were locked out. > > So when I eliminate 'firewall_script="/usr/local/etc/ipfw.rules"' what > is IPFW using for its rules? As mentioned below, refer to /etc/defaults/rc.conf. You should at least read its first section which explains that these settings apply unless overridden by entries in /etc/rc.conf (or /etc/rc.conf.local). In this case 'grep firewall /etc/defaults/rc.conf' shows all of the default ipfw settings, including: firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall So overriding that as you did, your ipfw.rules script was invoked instead, whatever you'd put in there. If one of those from the handbook page, almost certainly containing errors or at least very poor practice, which I won't go into further (yet again :) > > > rc.conf (revised for ipfw_nat): > > > > > > #enable firewall > > > firewall_enable="YES" > > > firewall_script="/usr/local/etc/ipfw.rules" > > > firewall_type="open" > > > > Same problem here. Comment out that firewall_script line to get the > > default, as shown in /etc/defaults/rc.conf Sorry, that was a bit terse - but all you needed to do to get an open firewall that also performed NAT, with either natd(8) or firewall_nat. > > > firewall_nat_enable="YES" > > > firewall_nat_interface="xn0" > > > > > > gateway_enable="YES" > > > > You'll likely need some firewall_nat_flags as well. See rc.firewall for > > NAT setup (natd or firewall_nat) with 'open' or 'client' rulesets. For natd(8) you had: natd_flags="-dynamic -m". The equivalent of those for firewall_nat_flags is shown in the ipfw(8) section "NETWORK ADDRESS TRANSLATION (NAT)" as "reset same_ports". Or you could just use natd. > > Try it with the default firewall_script, for a proper open firewall, > > that you can condition to suit once your VPN stuff is all working. > > So in short, you think 'firewall_nat_enable' and a combination of some > firewall_nat_flags will accomplish the gateway redirection to the WAN? > Just want to make sure I'm following correctly. It should do, though I'm not familiar with the AWS setup you're using re inside and outside interfaces, whether bridging as well, etc. I think Richard (Ultima) has and can provide much more useful advice about that. My only other advice, from seeing your whole rc.conf, is perhaps don't enable so many servers (web, mail etc) until you have networking going. > > pf is fine too of course, properly configured, but I hate seeing people > > quit using ipfw because of some truly bad advice from >10 years ago :( As you've seen, pf setup can have some tricky aspects too .. cheers, Ian From owner-freebsd-questions@freebsd.org Mon Aug 28 09:33:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4DDAE09C01 for ; Mon, 28 Aug 2017 09:33:58 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from sender-of-o52.zoho.com (sender-of-o52.zoho.com [135.84.80.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F8176FF33 for ; Mon, 28 Aug 2017 09:33:58 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from mr185083 (mr185083.univ-rennes1.fr [129.20.185.83]) by mx.zohomail.com with SMTPS id 1503912825413581.1917996569239; Mon, 28 Aug 2017 02:33:45 -0700 (PDT) Date: Mon, 28 Aug 2017 11:33:41 +0200 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Subject: problem with net-snmpd Message-ID: <20170828113341.6e5a3cf9@mr185083> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 09:33:58 -0000 Hello, 10.3-STABLE/amd64 net-snmp-5.7.3_11 Extendable SNMP implementation Here, from time to time (two or three times per month) net-snmpd stops to reply to the snmp requests and I have to kill -9 the process to restart it. Then the snmpd log file shows : Use snmp_sess_select_info2() for processing large file descriptors failed to run mteTrigger query ... Any idea ? Thanks, regards From owner-freebsd-questions@freebsd.org Mon Aug 28 11:34:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28461E0BA21 for ; Mon, 28 Aug 2017 11:34:09 +0000 (UTC) (envelope-from eagle_driverpcb18@163.com) Received: from m13-107.163.com (m13-107.163.com [220.181.13.107]) by mx1.freebsd.org (Postfix) with ESMTP id 7E58E735A2 for ; Mon, 28 Aug 2017 11:34:07 +0000 (UTC) (envelope-from eagle_driverpcb18@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=OE/vs rN/Ngn7BxELDrB2EGYbI3tPoo7E69kpQXcjTEk=; b=agqggN8TcZPU8St4MJ7tx oSdBQlYAldhDBSNimUmXF8c+nWFbSwwL8uml6KfZSenn41UKqBNb0szLWRTfa6ar kAtKS9FGDc+lQHAA9836z9qo0CcIa8lCjD8ITl6R24DBw99iPt2AxAe1n4Oi73H6 1xLFU38tBEYynCURz/hgpY= Received: from eagle_driverpcb18$163.com ( [58.255.84.202] ) by ajax-webmail-wmsvr107 (Coremail) ; Mon, 28 Aug 2017 19:24:52 +0800 (CST) X-Originating-IP: [58.255.84.202] Date: Mon, 28 Aug 2017 19:24:52 +0800 (CST) From: Nancy To: freebsd-questions@freebsd.org Subject: =?UTF-8?Q?Eagle=C2=A0Driver-Your=C2=A0PCB=C2=A0Supplier?= X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 163com X-CM-CTRLDATA: g/pw22Zvb3Rlcl9odG09MjEzNzg6NTY= MIME-Version: 1.0 Message-ID: <2177df8.c877.15e28964f57.Coremail.eagle_driverpcb18@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: a8GowABn2E6F_aNZIx6TAA--.54018W X-CM-SenderInfo: xhdjzvpbgux4phusuuiry6il2tof0z/1tbiSBY++lXljxIa5QABsJ X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 11:34:09 -0000 RGVhciBDdXN0b21lciA7CgogCgpIb3cgYXJlIHlvdSEKCiAKClRoaXMgaXMgTmFuY3kgZnJvbSBF YWdsZSBEcml2ZXIgUENCLCBFYWdsZSBEcml2ZXIgaXMgYSBwcm9mZXNzaW9uYWwgUENCIGZhY3Rv cnkgYmUgbG9jYXRlZCBpbiBGdVlvbmcsU2hlblpoZW4uCgogCgoxLk1haW4gbWFudWZhY3R1cmUg dGhlIEZSNCAoMS0yNEwpIGJvYXJkLEhESSxSaWdpZC1GbGV4IFBDQiBNaWNyb3dhdmUgLyBoaWdo IGZyZXF1ZW5jeSBQQ0IsCgogICAgKGVzcGVjaWFsIG1ha2UgdGhlIHNwZWNpYWwgbWF0ZXJpYWwg UENCIGhhdmUgdGhlIHByaWNlIHN1cGVyaW9yaXR5LGxpa2UgUm9nZXJzIDQwMDNDLDQzNTBCLDU4 ODBIICxUYWNvbmljIG9yIEFscm9uIC4uLi4pCgogCgoyLjEtMkwgQWwgYW5kIENvcHBlciBCYXNl IFBDQigwLjZtbS01LjBtbSB0aGlja25lc3MpLCBUYWl5byBTb2xkZXJtYXNrIG9yIExvbmcgTEVE IEFsIFBDQi5NYWluIE1ha2UgQmVyZ3F1aWVzdCwKCiAgICBIaWdoIFRoZXJtYWwgKDItM1cvbWsp IG9yIEhpZ2ggUG93ZXIgTEVEIFBDQi4gIGxpa2UgTWlycm9yIEFsIFBDQi4oSGF2ZSBhIHNwZWNp YWxpemVkIE1DUENCIGZhY3RvcnkgaW4gU2hlblpoZW4pCgogCgozLlF1aWNrIHR1cm4gcGNiLCBQ cm90b3R5cGUgcGNiICggMTItIDcyIEhvdXJzIEZhc3QgRGVsaXZlcnkgKQoKIAoKNC5IaWdoIHF1 YWxpdHkgcHJvZHVjdHMsIENvbXBldGl0aXZlIHByaWNlLCBQcm9mZXNzaW9uYWwgc2VydmljZXMs IEZhc3QgZGVsaXZlcnkKCgoKCgoKLS0KCgpLaW5kIHJlZ2FyZHMsCgpOYW5jeQoKSGF2ZSBhIG5p Y2UgZGF5CgoKCgpFQUdMRSBEUklWRVIgIEVMRUNUUk9OSUMgTElNSVRFRApPdmVyc2VhcyBEZXBh cnRtZW50CgrigKJDZWxscGhvbmU6Kzg2MTUzMjI5OTUxNzIKCuKAoiBUZWw6Kzg2NzU1MjM3MDM2 MTEKCuKAoiBGYXg6Kzg2NzU1MjM3MDM2MTEgCgoKCgrigKJTa3lwZTplYWdsZWRyaXZlcnBjYiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKCuKA oiBXZWI6IHd3dy5lYWdsZS1kcml2ZXIuY29tCgrigKIgRS1tYWlsOm5hbmN5QGVhZ2xlLWRyaXZl ci5jb20KCgoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAK CgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoKCgoKCiAKCgoKCgogCgoKCgoKIAoK CgoKCiAKCgoKCgogCgoKCgoKIA== From owner-freebsd-questions@freebsd.org Mon Aug 28 14:49:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18413E0E903 for ; Mon, 28 Aug 2017 14:49:15 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) Received: from exchipmx02.lsuhsc.edu (exchipmx02.lsuhsc.edu [155.58.210.29]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "exchipmx02.lsuhsc.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF6437D906 for ; Mon, 28 Aug 2017 14:49:14 +0000 (UTC) (envelope-from jmire@lsuhsc.edu) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2C7AABqLKRZkBYNOpteGgEBAQECAQEBAQgBAQEBgy2CJgeeJYFxiDmNe4IEAYVGAoN9QxQBAgEBAQEBAQETAQEBARQRKC+FGAEBAQEDOj8MBAIBCBEEAQEBChQJByERFAkIAgQBDQUIE4l+AxUFsnGHNw1FAQeDTgEBAQEBAQEBAQEBAQEBAQEBAQEBAR0JAYMgggKBT4UKgleBawESAQkYg0GCMQWIHJgMNgYChlqIdJdejEmJdDYggQMLeRNJhSiBc3aINoEjgQ8BAQE X-IPAS-Result: A2C7AABqLKRZkBYNOpteGgEBAQECAQEBAQgBAQEBgy2CJgeeJYFxiDmNe4IEAYVGAoN9QxQBAgEBAQEBAQETAQEBARQRKC+FGAEBAQEDOj8MBAIBCBEEAQEBChQJByERFAkIAgQBDQUIE4l+AxUFsnGHNw1FAQeDTgEBAQEBAQEBAQEBAQEBAQEBAQEBAR0JAYMgggKBT4UKgleBawESAQkYg0GCMQWIHJgMNgYChlqIdJdejEmJdDYggQMLeRNJhSiBc3aINoEjgQ8BAQE Received: from exchmr02.lsuhsc.edu ([155.58.13.22]) by exchipmx02.lsuhsc.edu with ESMTP/TLS/AES256-SHA; 28 Aug 2017 09:48:04 -0500 Received: from exchmr02.lsuhsc.edu (155.58.13.22) by ExchMR02.lsuhsc.edu (155.58.13.22) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 28 Aug 2017 09:48:03 -0500 Received: from SH-EXCHHUB1.master.lsuhsc.edu (155.58.112.71) by ExchMR02.lsuhsc.edu (155.58.13.22) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Mon, 28 Aug 2017 09:48:03 -0500 Received: from SH-EXCHMB2.master.lsuhsc.edu ([169.254.2.184]) by SH-ExchHub1.master.lsuhsc.edu ([155.58.112.71]) with mapi id 14.03.0361.001; Mon, 28 Aug 2017 09:48:03 -0500 From: "Mire, John" To: 'Adam Vande More' , Ernie Luzar CC: "freebsd-questions@freebsd.org" Subject: RE: How to block facebook access Thread-Topic: How to block facebook access Thread-Index: AQHTG6PxjU86h0WMdEKg+rCLps8TK6KZ4Nbg Date: Mon, 28 Aug 2017 14:48:03 +0000 Message-ID: <0B62814C161EBA4BB69C995965D04C70EFF91191@SH-ExchMB2.master.lsuhsc.edu> References: <59988180.7020301@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.10.7] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 14:49:15 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Adam Vande More > Sent: Tuesday, August 22, 2017 19:08 > To: Ernie Luzar > Cc: freebsd-questions@freebsd.org > Subject: Re: How to block facebook access >=20 > *EXTERNAL EMAIL: EVALUATE* >=20 > On Sat, Aug 19, 2017 at 1:20 PM, Ernie Luzar wrote: >=20 > > Hello list; > > > > Running 11.1 & ipfilter with LAN behind the gateway server. LAN users a= re > > using their work PC's to access facebook during work. > > > > What method would recommend to block all facebook access? > > >=20 > Personally I would setup a transparent proxy eg squid and block it using > that. DNS solutions are too fragile and something like squid can generat= e > comprehensive reports. >=20 > -- > Adam > [Mire, John]=20 I would agree with Adam, in the past we've used squid with Dansguardian alo= ng with a DNS blackhole to control not only DNS but NTP so that AD and Kerb= eros was in sync across the whole campus. /john -- John Mire: jmire@lsuhsc.edu From owner-freebsd-questions@freebsd.org Mon Aug 28 14:52:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEF2FE0EB4E for ; Mon, 28 Aug 2017 14:52:53 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6AF37DD8D for ; Mon, 28 Aug 2017 14:52:53 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x235.google.com with SMTP id s101so2347785ioe.0 for ; Mon, 28 Aug 2017 07:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=UvKWdPtNkTRm7gJjHQUA00mgCBtly8NWBRXE+GmtrWs=; b=uVIvEVDJ0mwRu+YhV9swUOM5DOMJEdx+1gp8RXg4b4lkXknjc8PzHdirtSPfHtD4G5 HDdZB5Zi7WnTl9qf4LWFyOj9A/CBTWXtFr1tIy04IMADXG7j8jZywDp3Ei+NF11tvhmt o/HQO1kQnVwGEjgmOooOJS05iDrPrmFLJwA9tZqu0k398F9ifRFpZjn0tGcYaYLS5iih TOarGLk/YKdDxg46A+KNs5ph9KZdDJbikydeHBtytsK4kU9p+S38QIutiWqSG7DABwNZ c84MWD0kN/+6I+dLu7E1sAgU/uUC0MMIkE2xW8KxXPVXiJo6pYcll7rVkT4UiZXKWNHj OfzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=UvKWdPtNkTRm7gJjHQUA00mgCBtly8NWBRXE+GmtrWs=; b=V0Jxcp673isnyFVASbYE7KDsXolG3BuxW9NkorSlWHQZYYE0icJh5U1x0IP5ULmD9P 4HjMNtVpCwwC9GCCWVLXSy4D//KP0Jj7ijLoAX0XardYwdBiKoALHOnpV7eN5J3aHhto cP4TNItb6iwHIeiQmHZek7uzZV2vdI1yFCUJUXYidJNh75t2rxe+C8c9oG6EnmN9Q9KT Xn4w6Gu+oIGGpVqzwgxVLSPO2KsIDgDe3yCTsCyVhek3GU90wPWltuw+uyMsidg4sT+H IdnpcXgCw/7tDmuCphstQ0J9ObMKq8trHUyLYMGzqzixXgyXOvzETX+86zWm/E7tbhYi cCUQ== X-Gm-Message-State: AHYfb5i30yXSngkyzEmbCjr1OdI7b7/cOfGWxhuZedlmz0mQglHlhTzF Wz0OD5gpM0u1juhj X-Received: by 10.107.189.194 with SMTP id n185mr963128iof.12.1503931972789; Mon, 28 Aug 2017 07:52:52 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id e81sm225058iod.71.2017.08.28.07.52.52 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Aug 2017 07:52:52 -0700 (PDT) Message-ID: <59A42E40.5010508@gmail.com> Date: Mon, 28 Aug 2017 10:52:48 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: unbound with local-zone: option Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 14:52:54 -0000 Host is running release 11.1 and I enabled the built in unbound. Have public internet provided by time warner and using their dns servers. Also have LAN behind host. The goal is to deny access to facebook.com at the local host level for all LAN devices. The first "service local_unbound onestart" command auto created all kinds of files in /var/unbound and /etc. I added this line into the /var/ubound/unbound.con file Before the first include: statement IE: include: /var/unbound/forward.conf local-zone: "facebook.com" static "service local_unbound onestart" command got no errors but issuing drill or host commands for facebook still brought up info when I expected to get NXDOMAIN. After a lot of trial and error I finally decided to start over again. I deleted all the files in /var/unbound and issued the "service local_unbound onestart" command which I expected would rebuild all the needed files anew. But this time it issued error messages about being unable to create some files. I am now dead in space with the only option being to install a fresh copy of 11.1. Questions. Is the built in version of unbound only usable as an local caching resolver? Meaning it will not process local-zone: statements in the /ver/unbound/unbound.conf file? How do I get unbound to re-init itself cleanly? When does unbound get control? Is it after the firewall does its NATing and released the packet to the public interface? https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html talks about DNSSEC, but is not very clear in meaning. I issued "drill -S FreeBSD.org" which I assume the provided dns ip address in /etc/resolv.conf are being used, resulted in this. DNSSEC Trust tree: freebsd.org. (A) You have not provided any trusted keys. ;; Chase successful Is this good or bad and does it have any bearing on the host built in unbound? From owner-freebsd-questions@freebsd.org Mon Aug 28 16:40:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DB20E0FE42 for ; Mon, 28 Aug 2017 16:40:05 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E6DF80631 for ; Mon, 28 Aug 2017 16:40:04 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x244.google.com with SMTP id s101so652404ioe.0 for ; Mon, 28 Aug 2017 09:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=9Xy/UUXI6q1uiMV32qATb9PGzlgv68C1kN2QSI8bxAQ=; b=UfmyZF6h3shqDGqW1ob5Er7Oq9lVKxTA5xAWgkAZiupqGlvMXZyL9DHnkpYx/hthTk 0RGvpCno61D+zYzUAhnU4zkVut67lGXMEUmTFG5KRJSl/6BsvNQwHhdnoRjpRSPEjHUM IjHUc+SutarlvHOvqXE+JWa5UTBbKO9G7q6p3DPzdhQ5HF5QIyG9yVYr4YjE9dUFBu7B DgJpnD/Y7a65315wZxnRd0VYIk9WwHOWzXxxEtiRsd5QpMT7AAPyR4EuqnjJwyBbP8Oj +yEX8E464leIPKIKQe12gyw/OvAQYG4MLtBuCV1H0dpBBPxmg6h3pnJiMfAbRENsy/Ju 1Gbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=9Xy/UUXI6q1uiMV32qATb9PGzlgv68C1kN2QSI8bxAQ=; b=dYLLtkxhv3y2ly36/Kz0qvxjo3bqXnlOJEYvcfM2N9AXkT80A//7THHNyIYKTdf1Dh OZW7Je/XzeO91Db3hYYdtuSChzSThclG0uXd4xMNayRB68Z3MWp7zNnES+zJ6gPnJDZD +Ktx4qowLKGg9jDVpT+k4ajow5EOUdv1EC27oPlH7JXMXvQc/Om1yJfA6agwlTHtgZiK cNTSZCjNFeLrigd/A4haOHjOQ8f7oFBoj6YuaYZa+5F5hNNHuWTWryd3JiJbTfwq1xDY O1l5jaiB6zjTNl4GK4yONtV9fW7TN5s0SWNgO0N2AcvgshZ4NCPxsWNNSzI92yuVFHs6 yFTw== X-Gm-Message-State: AHYfb5hpoBoFGyZXoz9OOedmVWl0fMNdytgbgTArJFI1f93Tybho1pWZ iGBQHsf9XOumf1nB X-Received: by 10.36.93.82 with SMTP id w79mr1245196ita.107.1503938404095; Mon, 28 Aug 2017 09:40:04 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id 13sm360818ioj.19.2017.08.28.09.40.03 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Aug 2017 09:40:03 -0700 (PDT) Message-ID: <59A44762.5000304@gmail.com> Date: Mon, 28 Aug 2017 12:40:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Freebsd under windows 10 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 16:40:05 -0000 The Microsoft September Windows 10 update is providing a method for installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and Fedora] under windows 10. What is Freebsd doing to join the group? From owner-freebsd-questions@freebsd.org Mon Aug 28 16:42:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FB36E1003D for ; Mon, 28 Aug 2017 16:42:05 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 170F880838 for ; Mon, 28 Aug 2017 16:42:05 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x241.google.com with SMTP id w184so656506iof.1 for ; Mon, 28 Aug 2017 09:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=qOiDb8/3iWOQ3vH3UiPj0K2JEIjme6VgbjcCbx/3y8Q=; b=s1VCZ1O1QIZQ80L8W5sq7Hyaag4ZzMfXzYyYaJQ8szGuewVn97d3U3Szt/hy3RPEP3 R2nPPlBDoJU8A/vm57GigC6szj5IjtOhQwHcJyFoqpOkkluffk93WRDWBe8jhUqhgFB6 HN+7Xjb+jg/bT6tDMC2B6aQtCnnBGxV80/TLQGucTdEmn1qruQu7tvXtECT9NYm6b8f/ orIikhWTeuzlcG+4DnS99sOIZnOgwb3vYoyuG31AHeKHa12ODETiwfZnjDpStuVyqDwm RG9S187kSIXCfZUgWDL7l8K0q2iq0DRQrsgM79T/2OMesPaJOFT+wBaBM91AdL6FcnrS z7IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=qOiDb8/3iWOQ3vH3UiPj0K2JEIjme6VgbjcCbx/3y8Q=; b=QgYtw+1+376FhrZCKfEMKNJF1qHd+KopJaa7K8HCYD4SX8ykUDpWswQtN81zC/ZCiw 2Vko8fS+voNBkEeJA8ajLOTHA7/A8JyIXDV+2pGE+48MDEMoV+APbQfcWeDcUlRhXLIZ FUe5iygdm93GdMKO1cFfS8pOZYnZVFLYgEZQSwgt8Mj1iSMPDgKHq06i2dpKO0QyFErt tPSQWY4OVDRH+hEl9PzjMh1MCCnWb5zU785zyTZVtZqQ3eOaFPUuChlSrC9v/MSF1dJt loI9lzACoOLpqFaTCd+GwUt3HU7IMrn/8MncNEoRkFQgNuNbT/AFIZpjBU8IQ8AeAOFR yflg== X-Gm-Message-State: AHYfb5iGZJB3X43tVigfMFQ3qgSaTo3bkbL8AqZV7XOa0BIivthacuWs X/U/dI3TOdx5YgR+ X-Received: by 10.107.165.136 with SMTP id o130mr1093925ioe.21.1503938524244; Mon, 28 Aug 2017 09:42:04 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id d140sm347754itd.19.2017.08.28.09.42.03 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Aug 2017 09:42:03 -0700 (PDT) Message-ID: <59A447DA.3070908@gmail.com> Date: Mon, 28 Aug 2017 12:42:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Freebsd under windows 10 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 16:42:05 -0000 The Microsoft September Windows 10 update is providing a method for installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and Fedora] under windows 10. Read the end of this story for details at this link https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ What is Freebsd doing to join the group? From owner-freebsd-questions@freebsd.org Mon Aug 28 16:46:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04684E1013C for ; Mon, 28 Aug 2017 16:46:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E78380ACF for ; Mon, 28 Aug 2017 16:46:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id u26so7171692wma.0 for ; Mon, 28 Aug 2017 09:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BhPXdMZ2MD4X77d12mszHsM928ag0uesnpgjGItGib8=; b=MQKelwByMTEWHAib2ubpKqzuMDWPMwv09aCeiU6phh/qTtxEpQ9DyC6luMMyhlfPmY lDoDZyv21iKXlJlthbK0iHCM02CMuEVVgHpNxk0JpjrdV9gkCYSO3PozOCu/89CYLZ+c aYq/A4T6brLNVPYMehCQ9qNXsPchSemqVy+WF5y1pkc5aVots8Iok6jgSP+/1mzDzS8G KKC8S1jP+a4azr0XHhKeN8rTVkRcm6G1nhijAasMHOiABDK7uKTHlpuDxb1Sv4EqTjnu 2r6/XljibFn2fJIPunMarOP0408JQUvFQiXoyD7ovxiOFja0EOm5Edvsz5Y9xEBSQ6LF C2Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BhPXdMZ2MD4X77d12mszHsM928ag0uesnpgjGItGib8=; b=EWS82HnhXb7d/WqdxvldqfhUDLOl4TkxXIJifwPxt3eC6cYXRBEvpc1asIolJlL48I 9STV7sAHzyY7/M7CaohACt42C85YzOyIOFbb3q+ye8xZq7YNPEEeGfniwjg8MmtrQr4x Xdx6XiZOFKbhpTMhW2Ea8I8qMQDoxeW67FIkXK07E8WIMS7xxr+1bD60zFyZHmcOk5mp cRg/sUd30m4fFwWxKAzghMgpfKZAkxwzHxEaraDj34cE3qPk/U/KoE0Q5x4FXk6Z8IWT vXvOFoVk3ZApeyoU67BgztoNJT0ybqi/oF/7Em2cdWvv1V9rcsvBk8JVIfPJoCPrHYkr VVvQ== X-Gm-Message-State: AHYfb5h5k4mRNCYEBiKORNJZTax9uMc6s+rGq45mCFYqO/HxRTdygSee 0lfL+8RIe2VxUPeJ/S2aASpS4nfrfA== X-Received: by 10.80.179.18 with SMTP id q18mr1015515edd.159.1503938780662; Mon, 28 Aug 2017 09:46:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Mon, 28 Aug 2017 09:46:20 -0700 (PDT) In-Reply-To: <59A44762.5000304@gmail.com> References: <59A44762.5000304@gmail.com> From: Adam Vande More Date: Mon, 28 Aug 2017 11:46:20 -0500 Message-ID: Subject: Re: Freebsd under windows 10 To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 16:46:23 -0000 On Mon, Aug 28, 2017 at 11:40 AM, Ernie Luzar wrote: > The Microsoft September Windows 10 update is providing a method for > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > Fedora] under windows 10. > > What is Freebsd doing to join the group? > You mean the "Windows Subsystem for Linux"? I'm not sure what FreeBSD would be doing on this front especially considering it's a glorified bash environment. Have you considered Cygwin? -- Adam From owner-freebsd-questions@freebsd.org Mon Aug 28 17:05:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72AD3E10735 for ; Mon, 28 Aug 2017 17:05:03 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from n2-vm5.bullet.mail.ir2.yahoo.com (n2-vm5.bullet.mail.ir2.yahoo.com [212.82.98.220]) (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 E70A2814D0 for ; Mon, 28 Aug 2017 17:05:02 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from [46.228.39.24] by n2.bullet.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 17:01:47 -0000 Received: from [46.228.39.72] by t5.bullet.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 17:01:47 -0000 Received: from [127.0.0.1] by smtp109.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 17:01:47 -0000 X-Yahoo-Newman-Id: 153887.13202.bm@smtp109.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: dh06_4wVM1mTQiGgqVplCzOwW5h788680hb_0fYa_.ko9j7 p56QOMV.VKlIuTXvqodzU5JHXoDUDoGdbx_c7.IKfujc_yxgyiQuMyPW0.eX oIGiQhrRJRn5bRJLA.2FQ3.U7nGM2F7ws.gW.YYorVf03EkH84DiaOtcB0p_ SQ0EEsT9N5i_A5PUX.wVkwdLFOxcGdUbrz7kZfOI8j2e2KQDWLQnViuAjA09 MtA11em_2IMvUHnla0.MrHHEgWk_enJjqbklkDP_nq7FiJNlTRdZteKQHSOA 6LyTzGGrTUQS0YTfpHWKau8adpp0IH4F8g9ajAvBz0tqwiMkvUEgfk9OY2Tx 8Y5_eX0FCVE9T84TH6.LOWNAcAGTnzY7SO4xt4jzU3avZp1HF1HsKqMYQwjl lvJybQzog9JO8iFF3YbNyicJTM8B4p5Sa.oSG9Pu9yBvZPC.hdvbILgdGcxw C4NWf_9Q7bGoGqr174adAx4nYNUttyCzIBmHolPRCEXSUw29R5gtUlXzB6V7 DDA_90LtBEXSZhpjBN4dT2ldzRL8E X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Mon, 28 Aug 2017 19:01:47 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 Message-ID: <20170828190147.6ff5e4b1@archlinux.localdomain> In-Reply-To: <59A447DA.3070908@gmail.com> References: <59A447DA.3070908@gmail.com> X-Mailer: Claws Mail 3.15.0git72 (GTK+ 2.24.31; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 17:05:03 -0000 On Mon, 28 Aug 2017 12:42:02 -0400, Ernie Luzar wrote: >The Microsoft September Windows 10 update is providing a method for >installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and >Fedora] under windows 10. That's Kafkaesque, if a Linux or FreeBSD user should need a Windows app, I recommend to run Windows 7 (in words "seven") in a VM under Linux or FreeBSD. Let alone that Ubuntu, SUSE and Fedora are not comparable to Gentoo, Arch Linux and similar distros, that without doubts are more likely comparable to BSD principles, than Ubuntu and similar distros. If a Windows user is interested in Linux or FreeBSD, I strongly recommend to become familiar with a real Linux or FreeBSD install, instead of running it under a broken Microsoft OS. From owner-freebsd-questions@freebsd.org Mon Aug 28 17:40:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2515BE10E43 for ; Mon, 28 Aug 2017 17:40:42 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 08BB682264 for ; Mon, 28 Aug 2017 17:40:41 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [76.183.153.52] ([76.183.153.52:58314] helo=[192.168.0.2]) by dnvrco-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id FC/8D-25924-29554A95; Mon, 28 Aug 2017 17:40:35 +0000 Date: Mon, 28 Aug 2017 12:40:33 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Ernie Luzar , freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 Message-ID: <1EF6E04C2AAEDE9AFCB68174@Pauls-MacBook-Pro.local> In-Reply-To: <59A447DA.3070908@gmail.com> References: <59A447DA.3070908@gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.7:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 17:40:42 -0000 --On August 28, 2017 at 12:42:02 PM -0400 Ernie Luzar wrote: > The Microsoft September Windows 10 update is providing a method for > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > Fedora] under windows 10. > Linx != FreeBSD It won't work. Not to mention it would be a Rube Goldberg system of epic proportions. Emulating Linux under the Windows OS and then trying to run FreeBSD in a linux environment? You might as well shoot yourself and get it over with. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@freebsd.org Mon Aug 28 18:08:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9916E11383 for ; Mon, 28 Aug 2017 18:08:03 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from n8-vm8.bullet.mail.ir2.yahoo.com (n8-vm8.bullet.mail.ir2.yahoo.com [212.82.98.250]) (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 DCE7B82FB5 for ; Mon, 28 Aug 2017 18:08:02 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from [212.82.98.131] by n8.bullet.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 18:05:14 -0000 Received: from [46.228.39.67] by t4.bullet.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 18:05:14 -0000 Received: from [127.0.0.1] by smtp104.mail.ir2.yahoo.com with NNFMP; 28 Aug 2017 18:05:14 -0000 X-Yahoo-Newman-Id: 567466.87797.bm@smtp104.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 9pyUTn8VM1nppUY8WmTyAtaYhEQ1aWv1l9UwL0.ONscuIN9 mNjtfmU0RYdNvx7ScdUpv8TTm_G_quw33wF7yFG_AeJHsqY0xU_WamUurFEF Z6chkDndwQNDJjQF1nGV7AqcqxjBp4YQ2kxj7kc_I4J5QnAEJ555NBFKHh80 WRpSc32eAio4XfDXkcU9R2xeBIjhXE0ehKUl5TQhf7_6I.rFm0AL_LcIciNW x8UHRutsOcNvQmnsuZ7QpIaPteXtQUjnxapaT1FR1JHKdYrW2aGm9yjw.w8t 3XTIyJA.NmjjHS269RVyGiiutIE.SWvhBGnfWL2Ae2q5xwfZENE5I9rjfFbB uz5fabl9STNcszrcJlZXSyc8SiTJoaUPFyKPrW7VsYq4zxygbzoC2rui6SpG GqFTaOnCeeOF_D9BwBS3BhG011xgjIY6eLjcRFp4CV5tnsykzqaudRXZ5lKG WgvYJJuyMLfzapttC75W80CZ9hbDK4WpNo2d2xFU1HOJQps99coWq77FFMid t49uK9hbLL77DLC4VFfO3.9ZGA9ap X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Mon, 28 Aug 2017 20:05:15 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 Message-ID: <20170828200515.5beeb98d@archlinux.localdomain> In-Reply-To: <59A447DA.3070908@gmail.com> References: <59A447DA.3070908@gmail.com> X-Mailer: Claws Mail 3.15.0git72 (GTK+ 2.24.31; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 18:08:03 -0000 On Mon, 28 Aug 2017 12:42:02 -0400, Ernie Luzar wrote: >https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ Does this article really claim that it requires Windows to use software of different Linux distros without rebooting? AFAIK the container approach is more common for UNIX alike operating systems, than for Microsoft. Let me show you something. Do you want to run tar from the rolling release Arch Linux, or do you prefer to use tar from a recent Ubuntu LTS release or maybe tar without xattr option from a vintage Suse? 3 Linux installs on one machine, even without using the container's boot option, a simple direct access from one Linux to another is just a 'systemd-nspawn -qD /mnt/ponit' away. [root@archlinux rocketmouse]# cat /etc/os-release NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch ID_LIKE=archlinux ANSI_COLOR="0;36" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/" [root@archlinux rocketmouse]# tar --version | grep GNU\ tar tar (GNU tar) 1.29 [root@archlinux rocketmouse]# systemd-nspawn -qD /mnt/moonstudio [root@moonstudio ~]# cat /etc/os-release NAME="Ubuntu" VERSION="16.04.3 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.3 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial [root@moonstudio ~]# tar --version | grep GNU\ tar tar (GNU tar) 1.28 [root@moonstudio ~]# logout [root@archlinux rocketmouse]# systemd-nspawn -qD /mnt/suse11.2 -bash: cannot set terminal process group (-1): Inappropriate ioctl for device -bash: no job control in this shell suse11:~ # cat /etc/os-release cat: /etc/os-release: No such file or directory suse11:~ # cat /etc/issue Welcome to openSUSE 11.2 "Emerald" RC 1 - Kernel \r (\l). suse11:~ # tar --version | grep GNU\ tar tar (GNU tar) 1.21 suse11:~ # logout [root@archlinux rocketmouse]# From owner-freebsd-questions@freebsd.org Mon Aug 28 18:13:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FDE1E1166A for ; Mon, 28 Aug 2017 18:13:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03ABE83404 for ; Mon, 28 Aug 2017 18:13:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Mon, 28 Aug 2017 20:13:32 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3B1ED3CC3F; Mon, 28 Aug 2017 20:13:30 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v7SIDSph002054; Mon, 28 Aug 2017 20:13:28 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 Aug 2017 20:13:28 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: Freebsd under windows 10 Message-Id: <20170828201328.6bca6d11.freebsd@edvax.de> In-Reply-To: <59A447DA.3070908@gmail.com> References: <59A447DA.3070908@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with A35F66A3598 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1432 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 18:13:42 -0000 On Mon, 28 Aug 2017 12:42:02 -0400, Ernie Luzar wrote: > The Microsoft September Windows 10 update is providing a method for > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > Fedora] under windows 10. > > Read the end of this story for details at this link > https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ > > > What is Freebsd doing to join the group? Probably nothing. It's not good to join any group just because it does exist. ;-) Actually, you can understand the "Windows Subsystem for Linux" like FreeBSD's Linux ABI, or like what wine is providing to run "Windows" programs on FreeBSD and Linux: You can install Linux OS components and additional applications and run them on "Windows", just as you can run a "Windows" program on FreeBSD using wine. As far as I understand, you do not run the Linux kernel (read: Linux itself), instead the WSL presents Linux-like kernel interfaces and library calls for the applications executed. That's why the possible assumption of "running one OS inside another OS" is not valid here. The support is limited to a specific subset of GNU/Linux operating system distributions. You do not install Linux under "Windows", nor can you install FreeBSD under "Windows". Except for virtualization, you cannot install and run an operating system under "Windows". You can find more about the nature of WSL here: https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux As you can conclude, FreeBSD uses a different kernel and system library than Linux, so MICROS~1 would have to implement them completely differently, maybe as WSF. ;-) In my opinion, this is a nice approach to add normal computer functionalities to the "Windows" environment which lacks them. Until now, the common solution was install Cygwin, but with the ongoing "rising of the walls" a solution native to the "Windows Store" where people can rent software for the computer they cannot control anymore. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Aug 28 20:20:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 235DBE136D7 for ; Mon, 28 Aug 2017 20:20:59 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D324F38B9 for ; Mon, 28 Aug 2017 20:20:58 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x232.google.com with SMTP id s187so7970241ywf.2 for ; Mon, 28 Aug 2017 13:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jDXwhyourV2vpLZzgJR8MVYH1Hx6jtRRFWSNzfqFTsY=; b=PaqTbjfAxIjzu9mUaFGS6ZrN7400F3HitJ5JbiLwl2K9i+0+cjER57exX8X96ZnY3R Uw4vyRTIln34e5dBc5UuODxnBuUcIrRcvJBSQsZMYzISxoWRfC/yF1tjJQvPA1PQ3Gxu JKiZqc3fxm2DLzYG+zqwzRek+UZXB+U0jxRhmsuSVePyNZ963Sfp7xvStiOrMwxbcdIF /bKcQEJ+D+9Ot2bhhhi5Wfgrlw+55njJrBNd1pLSxVo+B6uGJdbghVzLcPdXN6K7dD55 CAlZC+D8+Iz4TUhCfDj9vblpg8jys0U2QjMrWuI65DzNQmSZv3fwtF3fe0Qxak9VEqMh N02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jDXwhyourV2vpLZzgJR8MVYH1Hx6jtRRFWSNzfqFTsY=; b=sSPOVdZ5B5qRiHz0+EArybNf1izaRroM78fBQKaCczSw7XRJ6mN4pnm6lVfPwHMGYN 9iopa8/xZzjF+Snp/DxraRM0BWdzCFfLBow5uEKBssFaeu8O6bkfgnP9lxo4LfjQ9nDn eaOYwgahfU/f9PplQLb/4WbN5oCXlIJJUyMA+Q6S/GhF8jnhzvugceZPlwBZkBtzyHaO t93aR1jqspRIcuXowFxrzAvvS9ltWeq75b7LxprNTCDJXy5jHlnoeC8oBxP2J148YUNF FD7dfw6iqAwjkLqSf+W4501oEelgst89koF84uiV6wWwMlKFnWu8UgfN5OLN2sbvT+jH Fp9Q== X-Gm-Message-State: AHYfb5jRZ6zZ5ZGQIH3sDLKcjj1evptyeAj9PoI63KpEN9zz7L968DzC /YUgHTMr8FoIEeDSH5YQ6BEa/C4Ip5CHRGo= X-Received: by 10.37.79.69 with SMTP id d66mr1545431ybb.122.1503951657843; Mon, 28 Aug 2017 13:20:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.231.71 with HTTP; Mon, 28 Aug 2017 13:20:57 -0700 (PDT) In-Reply-To: <20170828150926.U23641@sola.nimnet.asn.au> References: <20170827164229.W23641@sola.nimnet.asn.au> <20170828150306.R23641@sola.nimnet.asn.au> <20170828150926.U23641@sola.nimnet.asn.au> From: Ultima Date: Mon, 28 Aug 2017 13:20:57 -0700 Message-ID: Subject: Re: STUMPED: Setting up OpenVPN server on FreeBSD (self.freebsd) To: Ian Smith Cc: Fongaboo , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 20:20:59 -0000 > It should do, though I'm not familiar with the AWS setup you're using re > inside and outside interfaces, whether bridging as well, etc. I think > Richard (Ultima) has and can provide much more useful advice about that. Want to note that I have zero experience with ipfw, natd as well as Amazon AWS. My knowledge is assuming that FreeBSD pf and OpenVPN will run as they would on a bare metal. Have used digital ocean with a similar configuration successfully as well. Hope this helps, Richard Gallamore From owner-freebsd-questions@freebsd.org Mon Aug 28 21:45:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 145E1E147B0 for ; Mon, 28 Aug 2017 21:45:31 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id ED36465A35 for ; Mon, 28 Aug 2017 21:45:30 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 11B67CB8CEE; Mon, 28 Aug 2017 16:45:24 -0500 (CDT) Received: from 69.209.203.195 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 28 Aug 2017 16:45:23 -0500 (CDT) Message-ID: <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> In-Reply-To: <59A447DA.3070908@gmail.com> References: <59A447DA.3070908@gmail.com> Date: Mon, 28 Aug 2017 16:45:23 -0500 (CDT) Subject: Re: Freebsd under windows 10 From: "Valeri Galtsev" To: "Ernie Luzar" Cc: "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 21:45:31 -0000 On Mon, August 28, 2017 11:42 am, Ernie Luzar wrote: > The Microsoft September Windows 10 update is providing a method for > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > Fedora] under windows 10. I would rather go other way around: install FreeBSD on bare metal, and run MS Windows, say, under VirtualBox. MS Windows is "bloated pig" (my friend sysadmin started saying that when Windows 2000 was released), Linux makes huge steps in that same direction, FreeBSD would be slimmer than either of them (sorry if I am wrong, there definitely is an expert on the list who will correct me then). Hence, I prefer to run FreeBSD on my laptop, and all others live in VirtualBox virtual machines. That makes me use hardware efficiently, and being able to use other systems when my sysadmin duties call for that and I don't have anything else but laptop in hands. Just my $0.02. Valeri > > Read the end of this story for details at this link > https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ > > > What is Freebsd doing to join the group? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Aug 28 21:53:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9383E14AAD for ; Mon, 28 Aug 2017 21:53:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id C5A9E65F02 for ; Mon, 28 Aug 2017 21:53:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id AB759CB8CEE; Mon, 28 Aug 2017 16:53:44 -0500 (CDT) Received: from 69.209.203.195 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 28 Aug 2017 16:53:44 -0500 (CDT) Message-ID: <59343.69.209.203.195.1503957224.squirrel@cosmo.uchicago.edu> In-Reply-To: <59A44762.5000304@gmail.com> References: <59A44762.5000304@gmail.com> Date: Mon, 28 Aug 2017 16:53:44 -0500 (CDT) Subject: Re: Freebsd under windows 10 From: "Valeri Galtsev" To: "Ernie Luzar" Cc: "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 21:53:46 -0000 On Mon, August 28, 2017 11:40 am, Ernie Luzar wrote: > The Microsoft September Windows 10 update is providing a method for > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > Fedora] under windows 10. > > What is Freebsd doing to join the group? I would beg FreeBSD programmers not to waste their precious time on that. Do not sell your immortal soul to evil like MS (and its creatures). There are so many bad things that I wouldn't even know where to start. Let's mention just reporting to mother the sate of sensors (recently renames into "improved user experience" or similar ;-( ... Whoever needs to run MS Windows, I would recommend to run it in virtual machine. Valeri > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Aug 28 22:16:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B78EE14FA2 for ; Mon, 28 Aug 2017 22:16:00 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 43AB766BC1 for ; Mon, 28 Aug 2017 22:15:59 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id C98ADCB8CEE; Mon, 28 Aug 2017 17:15:58 -0500 (CDT) Received: from 69.209.203.195 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 28 Aug 2017 17:15:58 -0500 (CDT) Message-ID: <63961.69.209.203.195.1503958558.squirrel@cosmo.uchicago.edu> In-Reply-To: <20170828201328.6bca6d11.freebsd@edvax.de> References: <59A447DA.3070908@gmail.com> <20170828201328.6bca6d11.freebsd@edvax.de> Date: Mon, 28 Aug 2017 17:15:58 -0500 (CDT) Subject: Re: Freebsd under windows 10 From: "Valeri Galtsev" To: "Polytropon" Cc: "Ernie Luzar" , "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:16:00 -0000 On Mon, August 28, 2017 1:13 pm, Polytropon wrote: > On Mon, 28 Aug 2017 12:42:02 -0400, Ernie Luzar wrote: >> The Microsoft September Windows 10 update is providing a method for >> installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and >> Fedora] under windows 10. >> >> Read the end of this story for details at this link >> https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ >> >> >> What is Freebsd doing to join the group? > > Probably nothing. It's not good to join any group just because > it does exist. ;-) > > Actually, you can understand the "Windows Subsystem for Linux" > like FreeBSD's Linux ABI, or like what wine is providing to > run "Windows" programs on FreeBSD and Linux: You can install > Linux OS components and additional applications and run them > on "Windows", just as you can run a "Windows" program on FreeBSD > using wine. As far as I understand, you do not run the Linux > kernel (read: Linux itself), instead the WSL presents Linux-like > kernel interfaces and library calls for the applications executed. Which sounds to me like what cygwin does. They were the very first ones who decided to convert Linux system calls into Windows ones and other way around on the fly. Cygnus solutions was the company who did that first and made cygwing (to the best of my knowledge, they were the first). They were very soon bough out by RedHat, and to its credit, RedHat keeps maintaining it, and cygwin is still free, and there are no signs of intent to get it buried in favor of something that will bring money. I do praise RedHat whenever I can (not enough I bet - ignore few things I dislike like systemd, which were written from scratch). Only later others started doing the same on the fly conversion instead of emulating generic CPU (the last makes fast "register" operations done through slow RAM, hence making it run an order of magnitude slower than on real machine). First was "parallels desktop" for MacOS, then vmware started doing the same. Neither of both explicitly told that they use that (cygwin's) brilliant idea to convert on the fly one system system calls into those of another, and back, as it is done by cygwin. Valeri > > That's why the possible assumption of "running one OS inside > another OS" is not valid here. The support is limited to a specific > subset of GNU/Linux operating system distributions. You do not > install Linux under "Windows", nor can you install FreeBSD under > "Windows". Except for virtualization, you cannot install and run > an operating system under "Windows". > > You can find more about the nature of WSL here: > > https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux > > As you can conclude, FreeBSD uses a different kernel and system > library than Linux, so MICROS~1 would have to implement them > completely differently, maybe as WSF. ;-) > > In my opinion, this is a nice approach to add normal computer > functionalities to the "Windows" environment which lacks them. > Until now, the common solution was install Cygwin, but with the > ongoing "rising of the walls" a solution native to the "Windows > Store" where people can rent software for the computer they > cannot control anymore. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ 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 Mon Aug 28 22:45:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14019E1560C for ; Mon, 28 Aug 2017 22:45:11 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA44A6799A for ; Mon, 28 Aug 2017 22:45:10 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wm0-x236.google.com with SMTP id y71so11140750wmd.0 for ; Mon, 28 Aug 2017 15:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacehouse.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=DGsrRyiwuDB4qvUvMjGq+JNQZ913LwQqqI/SWKt4swc=; b=cKgvdQ0yc7YhW1BMBevlUH6xQvwPoLuiO/7pXEtxgnD8AOTf98iaRIIX5x4c3FS0Va zsXDVj62V5kKpaitC+qZ1w3b6nsXDKdmNnBDoJHsojJoRB3O1zZCos3bT3CvRtCgC6EO rE+5qvmAYPZuoAD4Q2d5kF0HdEwjWqFyh6dg4= 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=DGsrRyiwuDB4qvUvMjGq+JNQZ913LwQqqI/SWKt4swc=; b=cQexkfedDvHCBSoSgXB1a8b6wEyes+6MAef9flso8PN6fW9bIkjCuHyvf8gxbq0Xvu t7DPUPWX5mro0YR4ey0lj93qt79W95wUjQTFhE25VEZUn0fLawVWrbyTIP9lnG7ho+4H /N+wZvOxbr8KeUCq8ecwee77mMok1iSu+sZ+WNz1kqQwVh7Ri5XaNn6XPQ7ZH8BBlH7J H6RxiKVxWUDCHJ9Dqe9PItBrPevXgQw7rHikF6bd0rjHxrKsyjLZ6Er4XqDL1I7gAhox 1ddJxhs/hfzRHgwOknWmlK+lu9llANmI/8LaKnNkAQ5clyXi9kp/2LyVGVNrjaF5dyMD SQGA== X-Gm-Message-State: AHYfb5hWbo6P0JrpxR8x0M4v4U0/yhbZr047WiWDpPKDikLZH93jrcKG V/JSiLapxDsGBjzitNYyHUDHFoykK2Wxc7xXNw== X-Received: by 10.28.236.69 with SMTP id k66mr1424745wmh.163.1503960307991; Mon, 28 Aug 2017 15:45:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Mon, 28 Aug 2017 15:44:47 -0700 (PDT) From: "James E. Pace" Date: Mon, 28 Aug 2017 15:44:47 -0700 Message-ID: Subject: mknod to create /dev/null equivalent not working To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:45:11 -0000 After "mknod /foo/dev/null c 0 0x1b": $ \ls -l /dev/null /foo/dev/null crw-rw-rw- 1 root wheel 0x1b Aug 28 15:34 /foo/dev/null crw-rw-rw- 1 root wheel 0x1b Aug 28 15:36 /dev/null $ cat /etc/hosts > /dev/null $ cat /etc/hosts > /foo/dev/null /foo/dev/null: Operation not supported. What am I doing wrong? Why isn't the device I created acting like /dev/null? Tried on FreeBSD 11.1. Thanks, James -- James E. Pace From owner-freebsd-questions@freebsd.org Mon Aug 28 22:49:16 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A1ABE156EB for ; Mon, 28 Aug 2017 22:49:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FE1F67AE4 for ; Mon, 28 Aug 2017 22:49:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id y71so11173160wmd.0 for ; Mon, 28 Aug 2017 15:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=u+oTB5Ye88kd5XY2ZRmZiSU1o42D6UPhq2F0iHKoRCU=; b=eB6Swb5cho1EIBeCHV85xN5QsiFhmEdEhMG0mCJ6LrU7BBEANYp822QVMK6uSCFL/Z mTO1DLMrj1JVoX1CdN+H7Yh6+rMC6HexdLQ0nfOiwykO5i5lvWO3CWMnU15Y4B7fmLjx JVDH7MyoJnOzj69tWUJG04TjbAPcaZ88umrKjbgqfTyn7ewx/dzDmTTD90OeXvLtDpXY So6d6vufbFCjSOiynIaV3UFsbcsMT1kqvbS1PhQ33jJVqBiMCbZKWR12zhdyiq2d2V/U 42umaOrArGE019fXNeb5bGZ9CqxUSQt+latrwfKJEH9Dy3OnnF2wL2nyRNh/WCtVXigF gwPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=u+oTB5Ye88kd5XY2ZRmZiSU1o42D6UPhq2F0iHKoRCU=; b=f5/iZeWjzH5HgDzhCpDK9YfjeucxayGzdhLp9CqI8zQO6sEve9EeqK7njFm/+TIiUs ooTjgBw/zrrqVE228YoJTTFnbjs+jSkvwUTiqkH+VVLU63pAqdzbPDFVKinQ+rr1pBEd V8hnmGP709ug0OBt7jOrunODY95bIGEGZ59C3PFHItORanK904SQRViPagMUdt5Hv42m 8Iza/PS77vxd/rJtYkICFViRxEEO3pu0O1Lu5K4eUt/4InwWuCOTipvWIfKq6FIqLOT5 n5EIlsJPJJOdmkuc8Mp2pCubQFBPyU32rOAcM1ekxjQJ20/HG7aCqxumnWS/++bYnnSJ 4ejw== X-Gm-Message-State: AHYfb5jrgjwNsArrc+NGE1KFCWAbSprccxiCGskvM/fj+hBxEq+TBMP0 s4vqJJB+87qZmKcdI5l1G07V6iXnLA== X-Received: by 10.80.181.29 with SMTP id y29mr1654468edd.132.1503960554433; Mon, 28 Aug 2017 15:49:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Mon, 28 Aug 2017 15:49:13 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Mon, 28 Aug 2017 17:49:13 -0500 Message-ID: Subject: Re: mknod to create /dev/null equivalent not working To: "James E. Pace" Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:49:16 -0000 On Mon, Aug 28, 2017 at 5:44 PM, James E. Pace wrote: > After "mknod /foo/dev/null c 0 0x1b": > > $ \ls -l /dev/null /foo/dev/null > crw-rw-rw- 1 root wheel 0x1b Aug 28 15:34 /foo/dev/null > crw-rw-rw- 1 root wheel 0x1b Aug 28 15:36 /dev/null > $ cat /etc/hosts > /dev/null > $ cat /etc/hosts > /foo/dev/null > /foo/dev/null: Operation not supported. > > What am I doing wrong? Why isn't the device I created acting like > /dev/null? > > Tried on FreeBSD 11.1. > You must have missed the big header in the mknod man page. I think you may want devfs(5) instead. -- Adam From owner-freebsd-questions@freebsd.org Mon Aug 28 22:51:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C623E158E3 for ; Mon, 28 Aug 2017 22:51:43 +0000 (UTC) (envelope-from james@pacehouse.com) Received: from mail-wr0-x229.google.com (mail-wr0-x229.google.com [IPv6:2a00:1450:400c:c0c::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4F3167CA2 for ; Mon, 28 Aug 2017 22:51:42 +0000 (UTC) (envelope-from james@pacehouse.com) Received: by mail-wr0-x229.google.com with SMTP id k94so5478901wrc.0 for ; Mon, 28 Aug 2017 15:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacehouse.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jjXQ1Kvr56TzDiybZa36VskyjtkVIk1RV3H9QUPZ/ZM=; b=Jz/+T+L/xkyWF1WVpq/EjsepAdZ8lbGsgpFHCQ3OC6OajPZddn/t1U3LE6oTUK+TIA ISBQ0M7+og9DlMDBLHBESEE3np7l8fLvJ59WHa+jX/eeSq27wesYMTbyUaTu2MUoI9Eh jhbtSuKkR+7pg+/K5/1z2E83M2fzk3O3Z94F0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jjXQ1Kvr56TzDiybZa36VskyjtkVIk1RV3H9QUPZ/ZM=; b=kyoSeTDdsFtUR2dXMOx21HnJwDRWmxfr3xzXTTuTPhZD0gQDGm1gbSrBk4a5adQurC bJ+b7dm4DHaaMIUV03z8HsPWF0S3amguUZp+2fZWUPmgVmXUmz/N1WFKdJjV0ETCzB9b FDt1hfQtCQda7r7+Gc73rYxR0ESpBgaQZWVF5aZohqpe6sRcUvfHeMIjC1li7j5FlDFP FTiD73581jdfhoF0AiaZFKZtMzt6nhfqksgt0oB8IW5eGbkSP3Q+uFoT4i8OYwXFmdrg gs5jDPUqZGG+VsKX+v7A2ZIamOBVftO4sj2Pki2HXJ7F7AJ5+mCUcDD3hFyBqRoTGpGe UG+g== X-Gm-Message-State: AHYfb5ig+nKH3oxizdtz6KkMNzwo7i4iVIRrNqCa2iUpTPHWuYJhXp0R yTe3p3y8YBZQR8cmJsy8dumYBXI85Yda X-Received: by 10.223.187.141 with SMTP id q13mr193848wrg.24.1503960701079; Mon, 28 Aug 2017 15:51:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.135.2 with HTTP; Mon, 28 Aug 2017 15:51:20 -0700 (PDT) In-Reply-To: References: From: "James E. Pace" Date: Mon, 28 Aug 2017 15:51:20 -0700 Message-ID: Subject: Re: mknod to create /dev/null equivalent not working To: Adam Vande More Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:51:43 -0000 On Mon, Aug 28, 2017 at 3:49 PM, Adam Vande More wrote: > On Mon, Aug 28, 2017 at 5:44 PM, James E. Pace > wrote: > >> After "mknod /foo/dev/null c 0 0x1b": >> >> $ \ls -l /dev/null /foo/dev/null >> crw-rw-rw- 1 root wheel 0x1b Aug 28 15:34 /foo/dev/null >> crw-rw-rw- 1 root wheel 0x1b Aug 28 15:36 /dev/null >> $ cat /etc/hosts > /dev/null >> $ cat /etc/hosts > /foo/dev/null >> /foo/dev/null: Operation not supported. >> >> What am I doing wrong? Why isn't the device I created acting like >> /dev/null? >> >> Tried on FreeBSD 11.1. >> > > You must have missed the big header in the mknod man page. I think you > may want devfs(5) instead. > > Hey, look at that... "The mknod utility is deprecated on modern FreeBSD systems." Thanks, James From owner-freebsd-questions@freebsd.org Mon Aug 28 22:58:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16837E15A31 for ; Mon, 28 Aug 2017 22:58:22 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDA83680C3 for ; Mon, 28 Aug 2017 22:58:21 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id l132so5325769vke.5 for ; Mon, 28 Aug 2017 15:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=t9J0hhncI9I0kcyKRufj/j0JYzFG9rv4KvfulamfuKQ=; b=P+stUi9ST//Ozt1YZ1V+pbiQfN9ctljRc1gaiymwtVeEKXyjnDJNoIbXCaNZxxvaC/ LxbTqm96ntI0RrBg61nqVAYRedyr5weFp0F092anvKpMBUBxQgk2utEVl2vfps+HF6ro 1dFx/nPhFe2Gt8rjriTCOtY/BrO9Ol5hXIYBV6P3rO9Gy902nXHHS/WG/aQI65EaDJ5K WcLoEmFQ+Dd/KuAUe6PKPwCHIa47ztPwd+EI03lfMhQW7S36HuJOtYsBPTBe38lmD/vk WOqg7wAfxdlZsT9Qxk8ZltKRCZKcOeu0r+1C4toFgCC7dtz02dMsl1DND+Lv8wSnsAj4 Sauw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=t9J0hhncI9I0kcyKRufj/j0JYzFG9rv4KvfulamfuKQ=; b=CD0bSrNeLfJSSC+Gy1FBZT2asS3GwlUSCa71u1FbghG4HgdXpmqWmIo+Ca8DdIlIzb C/T1GZj/Hn0JzAJV02LHkKQ6+hXY2BcAHjsyqFjGy38FfdD0NQY+YIN+g14RCuhZ5z72 at322wksRDAY4tmsfwmkBerx7hL1GzV7mllG5UnaK3NRCUEo36b/ie5qgJWhnhpsnsNM JGovO/aKhvROQZMQM+ce+gJ9pBrvcuV3KscWK80yB1pkRKdDpAzO63IbrSFYCP+fIy9I YBuXWbPNCLHnCd4ezU9gmrycdlWuQBr3RXc+weyaOV5lTUSkScJXRpJ4NDbAp0wGXu+h M0tg== X-Gm-Message-State: AHYfb5iJ44GKvIZWK3SirNTbBN9RCvFYALy23x0a2PG8MULaystnKMd1 Q1buuTEakHNSzcMbxL1Pb9td9j4OGg== X-Received: by 10.31.130.201 with SMTP id e192mr1332670vkd.115.1503961100764; Mon, 28 Aug 2017 15:58:20 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.176.20.17 with HTTP; Mon, 28 Aug 2017 15:58:00 -0700 (PDT) In-Reply-To: <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> References: <59A447DA.3070908@gmail.com> <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> From: CeDeROM Date: Tue, 29 Aug 2017 00:58:00 +0200 X-Google-Sender-Auth: mjto8y0Bo5Ff8J7LHaqntj4lAvk Message-ID: Subject: Re: Freebsd under windows 10 To: galtsev@kicp.uchicago.edu Cc: Ernie Luzar , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 22:58:22 -0000 On Mon, Aug 28, 2017 at 11:45 PM, Valeri Galtsev wrote: > I would rather go other way around: install FreeBSD on bare metal, and run > MS Windows, say, under VirtualBox. That would be nice if FreeBSD had really good support for USB Device Drivers over Guest Additions which unfortunately brokenheartedly it does not :-( Still FreeBSD is my favorite! I am adding various stuff for electornicians and embedded developers, at the moment that would be ARMmbed and DAPLink :-) https://github.com/mbedmicro/DAPLink/issues/309 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Mon Aug 28 23:12:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88E2BE15DBC for ; Mon, 28 Aug 2017 23:12:59 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7B86874F for ; Mon, 28 Aug 2017 23:12:58 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 80B15CB8CEE; Mon, 28 Aug 2017 18:12:57 -0500 (CDT) Received: from 69.209.203.195 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 28 Aug 2017 18:12:57 -0500 (CDT) Message-ID: <63305.69.209.203.195.1503961977.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <59A447DA.3070908@gmail.com> <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> Date: Mon, 28 Aug 2017 18:12:57 -0500 (CDT) Subject: Re: Freebsd under windows 10 From: "Valeri Galtsev" To: "CeDeROM" Cc: galtsev@kicp.uchicago.edu, "Ernie Luzar" , "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 23:12:59 -0000 On Mon, August 28, 2017 5:58 pm, CeDeROM wrote: > On Mon, Aug 28, 2017 at 11:45 PM, Valeri Galtsev > wrote: >> I would rather go other way around: install FreeBSD on bare metal, and >> run >> MS Windows, say, under VirtualBox. > > That would be nice if FreeBSD had really good support for USB Device > Drivers over Guest Additions which unfortunately brokenheartedly it > does not :-( This is not on FreeBSD but rather on the VirtualBox side IMHO... Valeri > > Still FreeBSD is my favorite! I am adding various stuff for > electornicians and embedded developers, at the moment that would be > ARMmbed and DAPLink :-) > https://github.com/mbedmicro/DAPLink/issues/309 > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > ++++++++++++++++++++++++++++++++++++++++ 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 Mon Aug 28 23:32:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F3CBE161DD for ; Mon, 28 Aug 2017 23:32:05 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4683E69485 for ; Mon, 28 Aug 2017 23:32:05 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x234.google.com with SMTP id y50so5950943uay.4 for ; Mon, 28 Aug 2017 16:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=vhS3fUqUeFkEnm+kBEtB9tHttDcSlkpwmU9fBdta4wY=; b=J+6Fc2dVFg5tQf6OdwUjkVQPe4InjxlOZx2Z+4jnMqAIXJRCk3pdgX4uePVsyx60KT VI1AkS2eWZs1ON3/jeKFqpF5FYz5DCXF/R3PtbzHrZF3vzox6l1Qq+4XwdLfjRmZMKnE UY/3pKQtux2r8obxNATofGtRTJc33yaAHRHy/5n/1uupwcuGATqgj/jpXRWl2jbEf55b QLq5ie+gfhppqNNl8FCWiBZM2IyNgv2XsdC4brSNwCNs2SXOE0hgJHDawhOqeoYhekDl q0TV10WH9VDPw90GdmxxQnKYVQfvZe6UT6MZPT32vHpfTKbzWlPDL7GvZpbYe3VrTVf2 41Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=vhS3fUqUeFkEnm+kBEtB9tHttDcSlkpwmU9fBdta4wY=; b=kJ5KfRZo/6lsFqAcWjJStxSFAoZb6whkNXV5ctQ7leBwnG14QvjvQ9kUR/LsYV5YT5 li3LAVA+2/U5MyLRKEHz33/Q3xuxJ1FICL+JQQ5GlpZRbiKcD1juwPJBOWdghHnCaurA xQgJdxmKRYbH8JuIQ1P8kTUNxZ+CIiRDcHi2VFiwXw7nM2DSQPEho8DZFtipKvM+bRJ5 FWznEvO1WhvY6DE8guVtZgfY/Tfcr8/gzKkkhbPZJS6qi/vwgSkK8u+3ZCFy4Bw5Zmhf Iaflbof/Wf1CMBZTIFO7boKRwsgVX9BVc6eepAWusYVF5pnPtObV4CKHwaiaVCAnEFmD 8o5Q== X-Gm-Message-State: AHYfb5jvmOsleg/GIWR2r3bDlzQckXPQnc7i203y3h1CTpi388sNByqN n9y1idTkNy1wiWqF32fGHQr0eIIlWA== X-Received: by 10.159.39.170 with SMTP id b39mr1271143uab.129.1503963124008; Mon, 28 Aug 2017 16:32:04 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.176.20.17 with HTTP; Mon, 28 Aug 2017 16:31:43 -0700 (PDT) In-Reply-To: <63305.69.209.203.195.1503961977.squirrel@cosmo.uchicago.edu> References: <59A447DA.3070908@gmail.com> <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> <63305.69.209.203.195.1503961977.squirrel@cosmo.uchicago.edu> From: CeDeROM Date: Tue, 29 Aug 2017 01:31:43 +0200 X-Google-Sender-Auth: T43pmWF6SDG_52vQpWYTtH73QQQ Message-ID: Subject: Re: Freebsd under windows 10 To: galtsev@kicp.uchicago.edu Cc: Ernie Luzar , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 23:32:05 -0000 On Tue, Aug 29, 2017 at 1:12 AM, Valeri Galtsev wrote: > > On Mon, August 28, 2017 5:58 pm, CeDeROM wrote: >> On Mon, Aug 28, 2017 at 11:45 PM, Valeri Galtsev >> wrote: >>> I would rather go other way around: install FreeBSD on bare metal, and >>> run >>> MS Windows, say, under VirtualBox. >> >> That would be nice if FreeBSD had really good support for USB Device >> Drivers over Guest Additions which unfortunately brokenheartedly it >> does not :-( > > This is not on FreeBSD but rather on the VirtualBox side IMHO... Yup, FreeBSD has best USB stack ever! :-) Still.. not good enough USB support in VirtualBox to make it production.. and VirtualBox seems to have some bugs with each release :-( -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Aug 29 02:32:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00B93E1B3B1 for ; Tue, 29 Aug 2017 02:32:39 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dnvrco-oedge-vip.email.rr.com", Issuer "dnvrco-oedge-vip.email.rr.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DAB926F216 for ; Tue, 29 Aug 2017 02:32:38 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from [74.134.208.22] ([74.134.208.22:57618] helo=localhost) by dnvrco-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 8E/0E-31699-F32D4A95; Tue, 29 Aug 2017 02:32:32 +0000 Date: Tue, 29 Aug 2017 02:32:08 +0000 Message-ID: <8E.0E.31699.F32D4A95@dnvrco-omsmta03> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 References: <59A447DA.3070908@gmail.com> <20170828201328.6bca6d11.freebsd@edvax.de> X-RR-Connecting-IP: 107.14.64.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 02:32:39 -0000 from Polytropon: > On Mon, 28 Aug 2017 12:42:02 -0400, Ernie Luzar wrote: > > The Microsoft September Windows 10 update is providing a method for > > installing Unix flavored operating systems [IE: Linux, Ubuntu, SUSE and > > Fedora] under windows 10. > > Read the end of this story for details at this link > > https://www.digitaltrends.com/computing/ubuntu-linux-available-in-windows-10-store/ > > What is Freebsd doing to join the group? > Probably nothing. It's not good to join any group just because > it does exist. ;-) > Actually, you can understand the "Windows Subsystem for Linux" > like FreeBSD's Linux ABI, or like what wine is providing to > run "Windows" programs on FreeBSD and Linux: You can install > Linux OS components and additional applications and run them > on "Windows", just as you can run a "Windows" program on FreeBSD > using wine. As far as I understand, you do not run the Linux > kernel (read: Linux itself), instead the WSL presents Linux-like > kernel interfaces and library calls for the applications executed. > That's why the possible assumption of "running one OS inside > another OS" is not valid here. The support is limited to a specific > subset of GNU/Linux operating system distributions. You do not > install Linux under "Windows", nor can you install FreeBSD under > "Windows". Except for virtualization, you cannot install and run > an operating system under "Windows". > You can find more about the nature of WSL here: > https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux > As you can conclude, FreeBSD uses a different kernel and system > library than Linux, so MICROS~1 would have to implement them > completely differently, maybe as WSF. ;-) > In my opinion, this is a nice approach to add normal computer > functionalities to the "Windows" environment which lacks them. > Until now, the common solution was install Cygwin, but with the > ongoing "rising of the walls" a solution native to the "Windows > Store" where people can rent software for the computer they > cannot control anymore. :-) This thread inspires me to ask, for comparison, about running Linux or Linux programs under FreeBSD, with an actual Linux installation mounted on /compat/linux . I have an old Slackware 13.0 from 2009, kernel 2.6.29.6, on an IDE hard drive in a Sabrent enclosure with USB 2.0 interface. But I would really want to use on something newer and not Slackware. Tom From owner-freebsd-questions@freebsd.org Tue Aug 29 03:49:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7A23E1D78D for ; Tue, 29 Aug 2017 03:49:52 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm11-vm7.bullet.mail.ir2.yahoo.com (nm11-vm7.bullet.mail.ir2.yahoo.com [212.82.96.168]) (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 3E030718C3 for ; Tue, 29 Aug 2017 03:49:51 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from [212.82.98.52] by nm11.bullet.mail.ir2.yahoo.com with NNFMP; 29 Aug 2017 03:46:42 -0000 Received: from [46.228.39.80] by tm5.bullet.mail.ir2.yahoo.com with NNFMP; 29 Aug 2017 03:46:42 -0000 Received: from [127.0.0.1] by smtp117.mail.ir2.yahoo.com with NNFMP; 29 Aug 2017 03:46:42 -0000 X-Yahoo-Newman-Id: 763148.42573.bm@smtp117.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: lwwZ9mwVM1k85Svaqzw4ssHcvFsZ9YKyeGi0tVim6nNL6OO xNmWKyuzPcbe2rPcyaPbfmPzYmmvNZbr93swVzBLFxngb9IgZgUjAr9e0QCs Alewijab9L_aB.kSXKca0sn2RLiPTUZLYpPAqJE0UKpLV6UewXUUXnT.zinf LSAGFySMoG9H8wsBxPrpXDCqOepR1ebd6axvFAaNt_KK.c1WDL0dDf41m.Ey zbMwOZmipdUiPlGIWxARo0awVRPOvOqBm72jxAq4_8Zq8aU8SEaAr1iwYBJ8 pfgUPYrF.pKlkIQoP3_htaWwguZwB.Yl0r45aISKzbBDKP4XEtLLm107XIbe xzl8Jd6tkkPddwXFsrTlHgm2lN8HagBshKSBV.qDexGDlrbdams6ytmjVYKT aHfA_0xzM.fMpe0kM3j.zlYH7cb2ZxjXFPy.y.x9fNnA3vPE_MLf1xTB0.dr 6ice50EYTpQr6cxpOd4dkuknfc4lX.01ZcdZ3KnNJ6ssx1.D8iQ3.nDSaTYs vfTARDaQwaWOl1k_R67UIV.u5D6rI0yRmbSHsy6I- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Tue, 29 Aug 2017 05:46:41 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 Message-ID: <20170829054629.3e3a1181@archlinux.localdomain> In-Reply-To: References: <59A447DA.3070908@gmail.com> <54880.69.209.203.195.1503956723.squirrel@cosmo.uchicago.edu> <63305.69.209.203.195.1503961977.squirrel@cosmo.uchicago.edu> X-Mailer: Claws Mail 3.15.0git72 (GTK+ 2.24.31; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 03:49:52 -0000 On Tue, 29 Aug 2017 01:31:43 +0200, CeDeROM wrote: >On Tue, Aug 29, 2017 at 1:12 AM, Valeri Galtsev > wrote: >> >> On Mon, August 28, 2017 5:58 pm, CeDeROM wrote: >>> On Mon, Aug 28, 2017 at 11:45 PM, Valeri Galtsev wrote: >>>> I would rather go other way around: install FreeBSD on bare metal, >>>> and run MS Windows, say, under VirtualBox. +1 Or as pointed out by Polytropon, for some software wine could be used. OTOH wine, even with helpers, might not be user-friendly for the target group of Windows users migrating to FreeBSD. While shared folders other than for most VMs might be without issues using wine, something trivial as font sizes could be an issue. While vbox isn't the best VM available, its great advantage is user-friendliness, shared folders with the host etc. don't require any knowledge. >>> That would be nice if FreeBSD had really good support for USB Device >>> Drivers over Guest Additions which unfortunately brokenheartedly it >>> does not :-( >> >> This is not on FreeBSD but rather on the VirtualBox side IMHO... > >Yup, FreeBSD has best USB stack ever! :-) Still.. not good enough USB >support in VirtualBox to make it production.. and VirtualBox seems to >have some bugs with each release :-( Since I'm on Linux I can confirm USB issues with openbox are not related to the host's USB support, in addition vbox does perform very slow and apart from this there could be all kinds of issues with e.g. graphic rendering for the mouse cursor, each upgrade is a gamble. The ultimate solution to get rid of those vbox issues is to use the Oracle VM VirtualBox Binary Edition (Oracle branded non-OSE version) and to use a SSD with SATA 3, since it's the OSE version, that is most of the times buggy. FWIW after software I need dropped Windows XP support, I installed Windows 7 and instead of the vbox default vdi I use qcow. I suspect that on a HDD with SATA 2 vdi performance better, but with the SSD and the next generation of SATA it doesn't matter anymore. Still a vbox issue are tasks where USB gets disconnected and connected, e.g. upgrading iOS of a tablet PC connected to iTunes running on the guest OS requires to reconnect the tablet PC by the vbox's device menu two or three times during the process. Its better to own a router and to upgarde iOS via wifi (without a router ad-hoc might work, too, but for me it didn't ;). Regards, Ralf PS: On Mon, 28 Aug 2017 16:45:23 -0500 (CDT), Valeri Galtsev wrote: >MS Windows is "bloated pig" (my friend sysadmin started saying that >when Windows 2000 was released), Linux makes huge steps in that same >direction Linux is the kernel. You could build a kernel with a config that does fit to your hardware, without modules for any other hardware, so your build could build a very slim kernel. Regarding anything else, nobody is forced to install a so called "user-friendly" distro. A headless install without unneeded services IMO isn't bloated. My Linux needs 2 seconds to boot and it's not headless. I'm using openbox, no desktop environment and I don't use unneeded services. For example, I don't have Bluetooth equipment, why should I start a Bluetooth service? I'm a command line user, why should I install gvfs? To claim Linux became bloated, is like claiming FreeBSD became bloated, because you have seen TrueOS: https://en.wikipedia.org/wiki/TrueOS#Recommended I seriously doubt that for a headless FreeBSD install it's recommended to use a "3D accelerated video card" ;). From owner-freebsd-questions@freebsd.org Tue Aug 29 05:35:16 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DC27E1F95B for ; Tue, 29 Aug 2017 05:35:16 +0000 (UTC) (envelope-from jessica.morrison@datacaman.com) Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com [IPv6:2607:f8b0:400e:c00::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2EE7974216 for ; Tue, 29 Aug 2017 05:35:15 +0000 (UTC) (envelope-from jessica.morrison@datacaman.com) Received: by mail-pf0-x22b.google.com with SMTP id g13so7472684pfm.2 for ; Mon, 28 Aug 2017 22:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datacaman-com.20150623.gappssmtp.com; s=20150623; h=from:cc:references:in-reply-to:subject:date:message-id:mime-version :thread-index:importance:content-language :disposition-notification-to; bh=jD7xzByrNGyvfPJ5QcXtyuJextX4cNhRGxrdPbXdXqM=; b=RkvVTJAsM49ubNe2c+TiJdfdd3fFPY0Cc3hqUQjeTv5V+aUfVfRdBZLwO5PixiEMSK XrPHcCNb+C5rB0iYxUmxz6rA06DDdKiEMD9aIb4pX5vchmrMmOZ9HJ7WGEABcjlVb+wB FdoJio/k7fZHk/nlnkx1evxPsVLSE0nnWctLBlkhnvObgpEQptrPhMFjLkntca6Pd/Hw exVE512lNVRBME6tSHl8ZnokPjFTOGYq8aYmDfUK1cqAc3Syi1AWi7MwLBnmXiR/3X8I 2nVjrE4uvm306+y9cPR7/f1Zj3G643Q47V/mkskQFEcEL7MlbdYNTzqdDn99wFuSVLC/ BwTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:importance:content-language :disposition-notification-to; bh=jD7xzByrNGyvfPJ5QcXtyuJextX4cNhRGxrdPbXdXqM=; b=b5ZhdZKOAlwUbamg8vgjDaOiDwvcGCKTj6oWMXbF89GJ2Wn1j9ztPcbSLa1bOreFYA 6X6PQZijaA35v/h+wMhLbVdwRGkzzRUrQkRVfycLHCmPhPngbmy3F6tR966qGFx8wmKt +ICGgxvw/VzB9exVa4AySUk/2bVSibqF2dlTlB2fu3+dfQN7BWFWQ3SX5IuttoNkaY+5 n3ER9sYvIWk7Eb7WnmVRuiVOF8LqFytVmMjHkTTDz+kukPnLbHvIwoCdNu0545Qe+ApQ kILD17VFAu3SyWRKjMDCEb+Ej4X77XnAzmKqwwVS4WBtbRDV4A6QqU7QBC+uFwj48/CX jihg== X-Gm-Message-State: AHYfb5j+cPTFiidSwFWMGpsrFvoiUFNbpe31YRN5QDm44OeL3FXfTJ7K G5SVvSKNiuLhxr53 X-Received: by 10.84.215.221 with SMTP id g29mr3497835plj.99.1503984915459; Mon, 28 Aug 2017 22:35:15 -0700 (PDT) Received: from SBSBLRDT01 ([49.207.61.229]) by smtp.gmail.com with ESMTPSA id x70sm3200943pfe.70.2017.08.28.22.35.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 22:35:14 -0700 (PDT) From: "Jessica Morrison" Cc: , References: In-Reply-To: Subject: RE: Printing Industry DataBank 2017 Date: Mon, 28 Aug 2017 22:35:11 -0700 Message-ID: MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdMghoVknkPRwBkuS7ac0O64V39r/QAADqoQAAAAE5AAAAAGIAAAAAUwAAAABcAAAAAFkAAAAAUgAAAABfAAAAAFgAAAAAVQAAAABfAAAAAFsAAAAAZQAAAABVAAAAAGEAAAAAYQAAAABhAAAAAGEAAAAAXgAAAABuAAAAAGoAAAAAagAAAABaAAAAAGcAAAAAZwAAAABnAAAAAFMAAAAAYwAAAABjAAAAAGAAAAAAYAAAAABjAAAAAFMAAAAAbwAAAABvAAAAAHIAAAAAZQAAAAB1AAAAAGgAAAAAbAAAAAB7AAAAAGIAAAAAcgAAAABlAAAAAHsAAAAAfgAAAABuAAAAAGEAAAAAZAAAAAB0AAAAAHQAAAAAagAAAABwAAAAAHMAAAAAegAAAABwAAAAAHMAAAAAdgAAAAB8A= Importance: High Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 05:35:16 -0000 Hi, Hope you doing well! And, my warm greetings to you. Please make use of this recently updated "Printing Industry" B2B list across Global, which will help you in generating more revenue. Our Data List includes Contact Name, Phone Number, Opt-In/Verified Email Address, Physical Address, FAX Website, SIC Code etc. Job functions/categories: * Press Owners * Commercial Printers * Converters & Printers * Creative & Art Directors * Graphic Designers * Label/Offset/Screen Printers * Digital & Package Printers * Pre-Press Managers * Print Shop Managers * Printing Technologists * Production Managers * Project Managers * Purchase Managers * Quality Controllers * R&D Managers * Tag & Label Printers * Brand Managers * Packaging Professionals * Color Lab Owners * Sign Makers * Photo & Videographers * Event Managers * Advertising & Media Agencies * OOH Media Companies * Manufacturers/Agents * Suppliers/Distributors Please fill in below with your target market criteria and revert back on the same email. According to your specific requirement, will share Data Counts and more information. Target Industries: ______? (Which mean business to you). Job Titles: ______? Geography: ______? Thanks and look forward to hear from you Regards, Jessica Morrison Jessica.morrison@datacaman.com Marketing Executive _____ To remove from this mailing: reply with subject line as " Leave out" and indicate your email address to be removed from our database. From owner-freebsd-questions@freebsd.org Tue Aug 29 10:03:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 107A5DD5150 for ; Tue, 29 Aug 2017 10:03:40 +0000 (UTC) (envelope-from jessica.morrison@datacaman.com) Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D30BA7F716 for ; Tue, 29 Aug 2017 10:03:39 +0000 (UTC) (envelope-from jessica.morrison@datacaman.com) Received: by mail-pg0-x22d.google.com with SMTP id 83so9461283pgb.4 for ; Tue, 29 Aug 2017 03:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datacaman-com.20150623.gappssmtp.com; s=20150623; h=from:cc:references:in-reply-to:subject:date:message-id:mime-version :thread-index:content-language; bh=dVJDI/lD6ctdgz8kffEbnz3Scjt6W58ygQttNDxLomI=; b=g7GB0YChqHZV1DogXH/IuVkZM0UpZosuFF6l/5fguQjMxbBKX50OQlKSzuIC4ecUX5 q7Rg2qR0ph6A+AegLGXw/k83pjt073a+DU+6FpryUMa/4d8rQCAvcJZTnLoJuRF/sLkU peifNKPZEkyOyWKza4MB7h9SiOlu2iEv3nQT7H8wTyicZ/EavTzAgm2AIZGwuLTNcE8Z PUXwWLlgCbgbToItrjwdnlWwX/QQx9crX1xhFnw1LcHyB/+1y+yr8VH2vAOGgxARHloL jwY9CYkVWOjwECbQ+tJLjqjnkWmEV1RJadZW2bXgL/MMcR2ShpU6QU7UcMvk3aFN6uEK qRmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=dVJDI/lD6ctdgz8kffEbnz3Scjt6W58ygQttNDxLomI=; b=iRZUl0kY1LheVr9K0yrBMAf/GIbjaE96hw8vhteRebPxac0t1aSmeMTaoa2Cz7+fC1 jOJLXndldAcou5BfzMgbLeUVOYTsLaCO5rIca4MkO9zBqPETjMRn75P631PgnD63uJjj qrSDtOOXA9eF6aVvUOG9I4yx8zztF1xPL3b+CAftWWtL3DtKb0BuQcZFrIupqMfGspnb 4my80YoXzCCWNdha7anaeL+1haUIgpGn+H6QbmIec2sFrLG0JaqGK6UvvDwEl7+bfk7j MMR/q6b5k8C/2Ghk1mJ7VYKCgwbQKJ5x163CXwLodfTvuIKoL3OwuP811aNiJCsxPLqf jxFA== X-Gm-Message-State: AHYfb5gBWiIKzcfArUBGUrNH9fcO5Z6HIaxGb+FeN1PnVTOTJot1y6ZV 0wm33Zim80IGTqKF X-Received: by 10.99.117.88 with SMTP id f24mr3506936pgn.9.1504001019323; Tue, 29 Aug 2017 03:03:39 -0700 (PDT) Received: from SBSBLRDT01 ([49.207.61.229]) by smtp.gmail.com with ESMTPSA id v16sm5012159pgc.26.2017.08.29.03.03.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 03:03:38 -0700 (PDT) From: "Jessica Morrison" Cc: , References: In-Reply-To: Subject: RE: RE: Printing Industry DataBank 2017 Date: Tue, 29 Aug 2017 03:03:37 -0700 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdMghoVknkPRwBkuS7ac0O64V39r/QAADqoQAAAAE5AAAAAGIAAAAAUwAAAABcAAAAAFkAAAAAUgAAAABfAAAAAFgAAAAAVQAAAABfAAAAAFsAAAAAZQAAAABVAAAAAGEAAAAAYQAAAABhAAAAAGEAAAAAXgAAAABuAAAAAGoAAAAAagAAAABaAAAAAGcAAAAAZwAAAABnAAAAAFMAAAAAYwAAAABjAAAAAGAAAAAAYAAAAABjAAAAAFMAAAAAbwAAAABvAAAAAHIAAAAAZQAAAAB1AAAAAGgAAAAAbAAAAAB7AAAAAGIAAAAAcgAAAABlAAAAAHsAAAAAfgAAAABuAAAAAGEAAAAAZAAAAAB0AAAAAHQAAAAAagAAAABwAAAAAHMAAAAAegAAAABwAAAAAHMAAAAAdgAAAAB8AACdOa0A== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 10:03:40 -0000 I'm waiting for your response for the previous email, Target Industry :________________ Target Geography: ______________ Target Job Titles : _______________ Best Regards Jessica Morrison Marketing Manager. From: Jessica Morrison [mailto:jessica.morrison@datacaman.com] Sent: Monday, August 28, 2017 10:35 PM Cc: 'freebsd-questions@freebsd.org'; 'freebsd-doc@freebsd.org' Subject: RE: Printing Industry DataBank 2017 Importance: High Hi, Hope you doing well! And, my warm greetings to you. Please make use of this recently updated "Printing Industry" B2B list across Global, which will help you in generating more revenue. Our Data List includes Contact Name, Phone Number, Opt-In/Verified Email Address, Physical Address, FAX Website, SIC Code etc. Job functions/categories: * Press Owners * Commercial Printers * Converters & Printers * Creative & Art Directors * Graphic Designers * Label/Offset/Screen Printers * Digital & Package Printers * Pre-Press Managers * Print Shop Managers * Printing Technologists * Production Managers * Project Managers * Purchase Managers * Quality Controllers * R&D Managers * Tag & Label Printers * Brand Managers * Packaging Professionals * Color Lab Owners * Sign Makers * Photo & Videographers * Event Managers * Advertising & Media Agencies * OOH Media Companies * Manufacturers/Agents * Suppliers/Distributors Please fill in below with your target market criteria and revert back on the same email. According to your specific requirement, will share Data Counts and more information. Target Industries: ______? (Which mean business to you). Job Titles: ______? Geography: ______? Thanks and look forward to hear from you Regards, Jessica Morrison Jessica.morrison@datacaman.com Marketing Executive _____ To remove from this mailing: reply with subject line as " Leave out" and indicate your email address to be removed from our database. From owner-freebsd-questions@freebsd.org Tue Aug 29 11:13:47 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58FCBDD6DF5; Tue, 29 Aug 2017 11:13:47 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 151D7815B0; Tue, 29 Aug 2017 11:13:47 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x233.google.com with SMTP id 104so9238322uas.1; Tue, 29 Aug 2017 04:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=tnQEqidPN/D2YxhuAsgtyMKzU2jPS+/Klo9nPskrc6k=; b=mKP6tNbqVPbM/1FdK/l0G2qMcPFnjUKIJRc7yIQ4+Z1Rapif+5wHNFPXnW2T0vJlj2 eeSbp5uG3+PcrfWj1fBmpb2baTzMZfG/gU+GpOkJFfiv4+DUCwWv6080GG2D3qEYIvJ2 Kzax4v//QAg+D3Tt+K+5z6a+ni3xMXa6v4YSuLtGxTojRhR2qaId5tuogoc8wkpq1zEb xDeLTOEx2xmjPXZwnrNJtHRmD+ljVsrXvBDSIDTov6TYeOTLy8NVibTOiWfUWQx9A7MR vATFWv9ofxfnBYmKh0p489FvS3XO841FvEJpmg9SL7SR31yZSkvAzu+1w2MaOjgpXPVb rwTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=tnQEqidPN/D2YxhuAsgtyMKzU2jPS+/Klo9nPskrc6k=; b=IZOTOjc0McrSJzqJkL0KbbKeYSt2+1Qq2aWXLCEXwz6mak5ooybPAsMBOQiQ4tmydy vR4eyXZ/pW91M1Uwlmvxmojl5sW+JmCOQXyz1J2Gh3QOt+NBG3Bqy1M0UbfkvibbfHbh 0uuU7XcKEJ1dJFoesGoapEWi0sv7fErE/4CDUSAYRwRYkCX2K1qfQS8LfX4vOXq63kUq ssyBXoTUIUzyO8Tg3vTlo0NaFqWOZuh7PSgwxxPHUYwwKbSRX6+tDEqz8BcVqQmBZ8jp CPM3D4kA+iB8wU5q++/UZR0U30Kn+2rv6DI/smTiX5MqZEPPKIgzI6ZMiFK+YRCDcIqC IGXg== X-Gm-Message-State: AHYfb5gXdKj8dnxznO/ehs2slFm83fWIc9EdmwUKs4AToHb/2HizOxL8 VyqTsnUJp+OyEOqFSRjIC6FQxV+D5HNaD5Y= X-Received: by 10.159.40.102 with SMTP id c93mr2352745uac.51.1504005225878; Tue, 29 Aug 2017 04:13:45 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.176.20.17 with HTTP; Tue, 29 Aug 2017 04:13:25 -0700 (PDT) From: Tomasz CEDRO Date: Tue, 29 Aug 2017 13:13:25 +0200 X-Google-Sender-Auth: ne9pNB_p0ESXj80MftqXXZS3T7w Message-ID: Subject: pkg 1.10.11 problems after upgrade to 11.1-RELEASE To: freebsd-pkg@freebsd.org, FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 11:13:47 -0000 Hello world! :-) I have noticed problems with pkg 1.10.1 after upgrade to 11.1-RELEASE. Cannot upgrade packages, get lots of warnings errors and trap aborts.. for instance Checking integrity fails at pkg_conflicts_check_local_path line 386 file pkg_jobs_conflicts.c, or sqlite related problems.. On one machine (AMD64) I did pkg upgrade before last freebsd-update install finishing the 11.1-RELEASE upgrade from 11.0. There I get sqlite related issues, packages seem fine but lots of crashes. On another machine (AMD64) I did not pkg upgrade before last freebsd-update install finishing the 11.1-RELEASE upgrade from 10.0->10.3->11.0->11.1. I got libc problems. Rebuild and reinstalled pkg from ports. All fetches fine, but then I always get assertion inside pkg that prevents me from pkg upgrade.. Any hints/clues? Any problems like that on 11.1-RELEASE after upgrade? Do I have to wait for next pkg version? Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Aug 29 12:25:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 554F5DD9485 for ; Tue, 29 Aug 2017 12:25:23 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 162BE83E41 for ; Tue, 29 Aug 2017 12:25:22 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3xhSMn5xQHz1cXKx for ; Tue, 29 Aug 2017 14:18:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id 7dJvvTaui2aQ for ; Tue, 29 Aug 2017 14:18:13 +0200 (CEST) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3xhSMn595GzRRqT for ; Tue, 29 Aug 2017 14:18:13 +0200 (CEST) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 55BC01B770F for ; Tue, 29 Aug 2017 14:18:13 +0200 (CEST) Date: Tue, 29 Aug 2017 14:18:13 +0200 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: pkg 1.10.11 problems after upgrade to 11.1-RELEASE In-Reply-To: References: X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3xhSMn595GzRRqT@baobab.bilink.it> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 12:25:23 -0000 On Tue, 29 Aug 2017 13:13:25 +0200 Tomasz CEDRO wrote: > Any hints/clues? Any problems like that on 11.1-RELEASE after upgrade? > Do I have to wait for next pkg version? I did the thing via pkg-static that should solve the problem (it did for me), try: # pkg-static upgrade -f luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Aug 29 13:22:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2A19DDADEF for ; Tue, 29 Aug 2017 13:22:23 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4891260F for ; Tue, 29 Aug 2017 13:22:23 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id 105so10107277uad.3 for ; Tue, 29 Aug 2017 06:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=VpMBOI68P3JEqCcFWSKCLzwJa+Oi8ylJeUrQvwJ79Fs=; b=Xr0jH6lg3qE5mZBr1LGjYjHsHo7IgssKEP8ydGBWXHIi129fVo4Oz23QY9wOx3bIgm 4fptaxWBBclrfxVFV047jZfx2NhQNFCxgEXZMHkK7o/HBu4BJU+/EqFboh3o5snhsrGL 3oLve1upRBi2zhg0mD0eUmNeDXcsanylRP/Z3x8a1DueNS9BBXhU59r9tsS07VXnaS28 ocF5ISJwfEaxOfoVnT0knGRihKp9lI8+Ke+Lsoeghj8qPzQXl6noBYLOuuT0GlG7yHwc ayxyQFZ1zOF95T8J9Xv6I20gOm1BjLcSzBwpC4uu6SKdycZ1YLAejldSEy/2DTt5y33r Qsxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=VpMBOI68P3JEqCcFWSKCLzwJa+Oi8ylJeUrQvwJ79Fs=; b=AtRbFTtK9p7Gkc9IvJaNLscwiS9pJkloFjsex7JOc5bWSzH3iEZjaj69jDREHB5c8R +p+oKSLGEEadCdqqoXFbKu2XjBGnAF6k009XGi4nRSZc/p67L1J0RpaBLv0Tj5pFNk60 ONcb3R356INIfwI+GkqQfwXOd5KWFKkQECyTbtPaQ5dcy3/YgYKtS1fc4TMDeHnxhAkx fog8564fvegkn/YNP/obK1XPoeNmxQpaIYOanW3vS3mFq3XE41Qy0+BgtiPHkNbsr0w0 JFt5OHaz+JSiO2O+j0NSWYIiaFdN38/5/f18mpDOQt3V/23v2l+Fj8cfIXWQj7uf9W/K iCQw== X-Gm-Message-State: AHYfb5ikFTNUGvytH1SPPQmkUhSnjtH9lYQ1h+Q2nyfJ3a/cgYj51+vj 6z1FVPeYgdMrxNylE3kE5Kkx1c7DOe1RLG4= X-Received: by 10.176.25.219 with SMTP id r27mr210829uai.97.1504012942374; Tue, 29 Aug 2017 06:22:22 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.176.20.17 with HTTP; Tue, 29 Aug 2017 06:22:01 -0700 (PDT) In-Reply-To: <3xhSMn595GzRRqT@baobab.bilink.it> References: <3xhSMn595GzRRqT@baobab.bilink.it> From: CeDeROM Date: Tue, 29 Aug 2017 15:22:01 +0200 X-Google-Sender-Auth: lwjTEP0cVpoM6x4nBk1IdP95OA4 Message-ID: Subject: Re: pkg 1.10.11 problems after upgrade to 11.1-RELEASE To: Luciano Mannucci Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 13:22:24 -0000 On Tue, Aug 29, 2017 at 2:18 PM, Luciano Mannucci wrote: > On Tue, 29 Aug 2017 13:13:25 +0200 > Tomasz CEDRO wrote: >> Any hints/clues? Any problems like that on 11.1-RELEASE after upgrade? >> Do I have to wait for next pkg version? > I did the thing via pkg-static that should solve the problem (it did for > me), try: > # pkg-static upgrade -f > luciano. Thank you Luciano, will remember about pkg-static!! After several attempts (with pkg) it worked and my packages are now fine :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Aug 29 14:07:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3789DDDBF73 for ; Tue, 29 Aug 2017 14:07:57 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F34C8632BA for ; Tue, 29 Aug 2017 14:07:56 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x244.google.com with SMTP id c18so3778521ioj.2 for ; Tue, 29 Aug 2017 07:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=SsqUskJmOwuBWSzx+IWyfzYV/PD6G2U+jbuSTHJiMOI=; b=DJ/wFDf7qqwi2mJP3rzPHUNMH/UfWyTihkjl3QlOFy4WVQ7k/taCUzVYeOJ1djZcwM kj8mT9mUI7bfeK+obmnsvJdafWqakjDZTm6RWfZjnF8knyK4ZtTMt2KrTuGUvUweeT4g 7gcMqOsfaM1XPS5RLfbORIkqt42wSsULdnsKaqIVdt3ujBwnddRDgaNgL9Kn0nXpqjlc rleKfm8IxiKaWYWgk/3w/CAu6rKk0tWZjwUuSlSY0QmiQG1jjudV904AlHpsM4dftR4A 6PJaROz4jSaghZn9VqXw5L8sEPUDgpDLJyUsqFn2J2fiD3/TewUzpXdwLYuZdB+46AfA U8Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=SsqUskJmOwuBWSzx+IWyfzYV/PD6G2U+jbuSTHJiMOI=; b=mVhEtCfxXDPmd23qizm3OyED5HqMTpTtL1QCLIU5LKeoSjQlrH694pq7NFuGSP+Ez4 Obw93hoahRAckCLfEfVHEElW4vY4WX2KJ4gk/Jpf7SYTYcVaopHHtH4/0CFkqKV9+xso BpAz73ReVwZ6ny1gU5NOl92z14IMJN5OaDdaridR3fANvjrWdbmG2BDaLUeR/Uny4ye4 d48Q2uNmi0O5GtDUwSRRUPnU+SmjjhA8ZeV45rMookw+F97Dq2jdyeQtkQCoH////c8x kD6zkpO13H/AqUnmsSMdaaZyG5WE/FAholWo9ToHlWa7umCtZWIsVLOc3bKYsosuR9ZL h4lw== X-Gm-Message-State: AHYfb5gOVH6yZXjTgEAtl3yboWgpfa6vINzkzKxbix12hE4Uh7riWLkW 77sLXErgkGzgNrOk X-Received: by 10.107.10.198 with SMTP id 67mr4424803iok.309.1504015676173; Tue, 29 Aug 2017 07:07:56 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id u63sm1357123ioe.85.2017.08.29.07.07.55 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Aug 2017 07:07:55 -0700 (PDT) Message-ID: <59A57538.2080806@gmail.com> Date: Tue, 29 Aug 2017 10:07:52 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: reread rc.conf without rebooting Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:07:57 -0000 After making changes to /etc/rc.conf is there some way to make the host reread it without rebooting? From owner-freebsd-questions@freebsd.org Tue Aug 29 14:18:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 405D0DDC3E7 for ; Tue, 29 Aug 2017 14:18:37 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0AE638CE for ; Tue, 29 Aug 2017 14:18:36 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id E1AABCB8CEE; Tue, 29 Aug 2017 09:18:35 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Tue, 29 Aug 2017 09:18:35 -0500 (CDT) Message-ID: <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> In-Reply-To: <59A57538.2080806@gmail.com> References: <59A57538.2080806@gmail.com> Date: Tue, 29 Aug 2017 09:18:35 -0500 (CDT) Subject: Re: reread rc.conf without rebooting From: "Valeri Galtsev" To: "Ernie Luzar" Cc: "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:18:37 -0000 On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: > After making changes to /etc/rc.conf is there some way to make the host > reread it without rebooting? I only know one way to do it: apply each change (one at a time) by executing relevant command from shell. Why does that not suite you? You do test (from shell) what is the effect of each change, right? Valeri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Aug 29 14:35:10 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64D31DDCBE5 for ; Tue, 29 Aug 2017 14:35:10 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A8DB6448E for ; Tue, 29 Aug 2017 14:35:10 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x242.google.com with SMTP id s101so3872020ioe.0 for ; Tue, 29 Aug 2017 07:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=uueUVCTy17j/taLNZjAmNJ6TT5viJWmuxDj46mAkcI4=; b=GoJk/rFXAdzBZ95nMb60Hibd8Esb9oEP2yHROj7kACCcMjC7TH9HkLa6ZMe6kExsIS c+sQdRKjPfXO07ayJKsz2bwTd8FTBWEIOms56IeeU822muPukqGNWn+YoUqkDeN6k2qx s5FLKkK5PNbUPBuPXwcRoicHamOQPewmj+5BmS60lSumuAUb9jY+gHG6k2OhX4dfFVx4 Vnal/tT+/H9rlrkpkrp12WbwQP58VqmUiaLIIhSTVOPY9O0t5MIapmMXktGeVptemd2m uRW38mV77acrgVMTRfgfzVi4yppr7uXu6OcZqb9hC0/Oelni8VhrV7aaqhOoHhVoJzMd DlOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=uueUVCTy17j/taLNZjAmNJ6TT5viJWmuxDj46mAkcI4=; b=oXy9UKdZ9esuK266AX9HYNlc403Ii9n5GjDI8SZI1xLX8o6e+jUDGCUYo1bFCfqj79 y+ffLClAFMjA60y6hbILBDp1NCa9KsaDJn5lqL+v43doWlAhS1KV90MAun7TVDTS+f+z EuNmgziz6t+2Vl4et9NqdTMO4HjimlDaQTbW/4ZG7SS4IaAQpgAZgnnvVuv7kzpD2EVy kCsn6iY+lolG+NXalC4LLDcDYDB5cx6QITqxFp8ZcR/gveIjpPK9am0bgkh59YBcbTs8 f1vfitPHe5E+cr7quLI3VEPnipoRuiKoap0OWnV6+5d+AHOLXtHKs5lp378vazE+8XWF 2+XA== X-Gm-Message-State: AHYfb5imvDUSy3wKAE4Th4bqdv41bCbOqjlIsIjOvTfPWmmPHJc+brlZ BfW3Psl8qbgupB/U X-Received: by 10.36.78.7 with SMTP id r7mr4805516ita.128.1504017309619; Tue, 29 Aug 2017 07:35:09 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id s12sm1462350ioi.17.2017.08.29.07.35.08 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Aug 2017 07:35:08 -0700 (PDT) Message-ID: <59A57B99.6030702@gmail.com> Date: Tue, 29 Aug 2017 10:35:05 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: galtsev@kicp.uchicago.edu CC: "freebsd-questions@freebsd.org" Subject: Re: reread rc.conf without rebooting References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> In-Reply-To: <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:35:10 -0000 Valeri Galtsev wrote: > On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >> After making changes to /etc/rc.conf is there some way to make the host >> reread it without rebooting? > > I only know one way to do it: apply each change (one at a time) by > executing relevant command from shell. Why does that not suite you? You do > test (from shell) what is the effect of each change, right? > > Valeri > You did not understand correctly meaning of post. I added local_unbound_enable="YES" to rc.conf It's my understanding that rc.conf is only read at boot time to config services on host. Question is. Is there some other way to make tis happen without rebooting? From owner-freebsd-questions@freebsd.org Tue Aug 29 14:37:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7240CDDCCFE for ; Tue, 29 Aug 2017 14:37:28 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3B8664647 for ; Tue, 29 Aug 2017 14:37:27 +0000 (UTC) (envelope-from yuripv@gmx.com) Received: from [192.168.1.2] ([62.183.127.145]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MexlN-1eAX712HPN-00OWF3; Tue, 29 Aug 2017 16:37:19 +0200 Subject: Re: reread rc.conf without rebooting To: Ernie Luzar Cc: freebsd-questions References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> From: Yuri Pankov Message-ID: <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> Date: Tue, 29 Aug 2017 17:37:18 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59A57B99.6030702@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:JLSX7Yxoa8aAh5VI1TcowcCuUxKmXRA8xbOGXu0mxt6J6P4dOHn DecUlokzvq8+ERhkMWFZbXkm8rvivTh5h0EoTXmML5nfhCDxfrk0m8JlCJhDsscDbuvCGTG FSoThQg3G2ZtfWD4p07RNgWBKu6MVa3U173qLmmdoDpePQVOeYAu4UhNPWy6j5eiSXiVYxX vu74LZTFh4ed+q6MFim+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:3jPB144IRw4=:LKyP57SpFfbdGKDdmKZy+c efQy7rJjFYZDGBWk7snP2xEg3RQJz+r4cm2EU9u+AMTy+E7XaM0NicUKF8sS7v9dfccP+yj7E ATQwGH6gIuJpddyf+E83PdgGcCS1gaW4V0NGMTLy3dqjbKZJMNdYaLehwQamQ9OgIsJd0QzkB BPxwjmKydiF+9ePa6e7nGiWBlzcHh0acbC/VZWu19W4eL5OV/sXIPNO286xhl3ciDqh2zAAFl EmqQo/dgp/s5GW8zizsBDGCyuCZTn3/uYPUcgkEy9zaicYl7MzjMesv9qYmrfbAPo0YwCtwh6 /B/ho7eeR+Qeh/FNEj5nmD+p5zMw2ceEiCcDPa+OtAN/yEd/nl7G6HF1uykhaozyLqoaRvd/G ubH9KkU02ZeMOl3+dHUE/zQPsoM5Fyn/IZVJJ03y5O0Qlc993GqjNzg5DG2pgL9LQEEpgQ+FR 79CvfzPmLQciFkaoI8LLXdwNq9FXzvE9apJjMx66zo6Kzguc+weooc4JCMS9XQ2THyaskZlcs l867lITELPH2NphEpbht6kaslw7X4r+vnSkYpUr/NDfcdXeJdYC09y1f7TrBstbW95ZqWhG/t rAUn+CU/vyfyquQmwNLsiCBVeYiz29hQYbeVwGLH9QsvycVU1NVKzHIESn7JuKwqVpjKfviLu Rgak0fRiuJaCfphRgl94ucKGzE7waBsaj3mdrrCdULwG71J+5buHcPYijMSHJlQQM8Nv+mZqo AaClM3lyECNDybuYfpkKZgsFwt/lRyhURJKEVtmDAAycRAXQ1Y0UKnUjPBefvDBH2Z6nZ2VvR ZmPDvMTJWjo4lSVk1+qq24jCjS6yrgOeBb6m4D7CtXKmMz8T+t/IonPA5BB4NlPGTKYSfZb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:37:28 -0000 On Tue, 29 Aug 2017 10:35:05 -0400, Ernie Luzar wrote: > Valeri Galtsev wrote: >> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>> After making changes to /etc/rc.conf is there some way to make the host >>> reread it without rebooting? >> >> I only know one way to do it: apply each change (one at a time) by >> executing relevant command from shell. Why does that not suite you? You do >> test (from shell) what is the effect of each change, right? >> >> Valeri >> > > You did not understand correctly meaning of post. > > I added local_unbound_enable="YES" to rc.conf > > It's my understanding that rc.conf is only read at boot time to config > services on host. > > Question is. Is there some other way to make tis happen without rebooting? Just (re)start relevant services, e.g., `service local_unbound restart`. From owner-freebsd-questions@freebsd.org Tue Aug 29 14:37:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73BC2DDCD20 for ; Tue, 29 Aug 2017 14:37:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 029B26466E for ; Tue, 29 Aug 2017 14:37:35 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id t201so3559338wmt.1 for ; Tue, 29 Aug 2017 07:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OV8VXtCoMToHONh4nU5M/LU1pLpmzeKfgy1ZMY5UG9o=; b=lmFb8xf6RMGpt5mtuwVHA2tEWbX+V7A5wtCtc+0c43pHC9H2M8C7td4UdrGTZDqh10 /e8sTIJtizOHCqHhUiISXoJ+9dNP5zi6tGU/rfm3qPyLddVVPo011e2SCAXWrT3PSJb6 okjyrKYxa41P76EYM3w3O0lZhmjhR1lpV0LvuGyt7r6NdHnr/C8uPYerzauW8i5+SIdI THcPhUojRZ0yUREpc4R0vIrnrRpzeo3YVsE9me1lgmX+EuX0Rt8lA7LJbrB9EMksoM2E Gjj/s2PY6KAlwOLq/S8VLoknYFUG9RYF4sT+/IRtB6Bp12LTIaT4OIV3i4sVFRPrBET8 pI+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OV8VXtCoMToHONh4nU5M/LU1pLpmzeKfgy1ZMY5UG9o=; b=a2zmep+Grf0UhPTvfugFWZXW0Cx8eAowYi5Ac48jJHXGuS+8vxzbuuLvOjRHCydEq/ PZ3/onxCEKO+xwhgXxcaJL98dhk/xX+d071l7dQnfOHqzFgazQYKGH+wq8VuVQEuX8gE mE/u9FVkqAkOFnSc28AMvd5gB1gz5hJ69e99Fu49Cm7ZmoFBWEF47YwTdWUzkJT8SQ18 5Eua2TUlm+w73nH4upDjnH8Bd0pEIoy3sbczIr+/KPH1evn/jCj+29wykXa3fxWInDxu eXMIT32C8Doaql595u1lRxQ7zHP0nIuB1qPxlWFoYMavYVMHdlMiIQl6G9FrgD3Qm3Ro utvg== X-Gm-Message-State: AHYfb5jOqUAjkym8M9qF3/OA/LeSLpLfuQfNWCchzbnjzZGY+i/Col0N KeCtdTnsu6XfTRL+GC+huBJkLycMVw== X-Received: by 10.80.181.29 with SMTP id y29mr3582758edd.132.1504017453449; Tue, 29 Aug 2017 07:37:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Tue, 29 Aug 2017 07:37:32 -0700 (PDT) In-Reply-To: <59A57B99.6030702@gmail.com> References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> From: Adam Vande More Date: Tue, 29 Aug 2017 09:37:32 -0500 Message-ID: Subject: Re: reread rc.conf without rebooting To: Ernie Luzar Cc: galtsev@kicp.uchicago.edu, "freebsd-questions@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:37:35 -0000 On Tue, Aug 29, 2017 at 9:35 AM, Ernie Luzar wrote: > You did not understand correctly meaning of post. > Both Google searches and the FreeBSD Handbook are still free. "FreeBSD restart service" > > I added local_unbound_enable="YES" to rc.conf > > It's my understanding that rc.conf is only read at boot time to config > services on host. > > Question is. Is there some other way to make tis happen without rebooting? https://www.freebsd.org/doc/handbook/configtuning-rcd.html -- Adam From owner-freebsd-questions@freebsd.org Tue Aug 29 14:47:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C11CDDD1B0 for ; Tue, 29 Aug 2017 14:47:15 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id F397564D3A for ; Tue, 29 Aug 2017 14:47:14 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id EB55ACB8CEE; Tue, 29 Aug 2017 09:47:13 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Tue, 29 Aug 2017 09:47:13 -0500 (CDT) Message-ID: <16338.128.135.52.6.1504018033.squirrel@cosmo.uchicago.edu> In-Reply-To: <59A57B99.6030702@gmail.com> References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> Date: Tue, 29 Aug 2017 09:47:13 -0500 (CDT) Subject: Re: reread rc.conf without rebooting From: "Valeri Galtsev" To: "Ernie Luzar" Cc: galtsev@kicp.uchicago.edu, "freebsd-questions@freebsd.org" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:47:15 -0000 On Tue, August 29, 2017 9:35 am, Ernie Luzar wrote: > Valeri Galtsev wrote: >> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>> After making changes to /etc/rc.conf is there some way to make the host >>> reread it without rebooting? >> >> I only know one way to do it: apply each change (one at a time) by >> executing relevant command from shell. Why does that not suite you? You >> do >> test (from shell) what is the effect of each change, right? >> >> Valeri >> > > You did not understand correctly meaning of post. > > I added local_unbound_enable="YES" to rc.conf > > It's my understanding that rc.conf is only read at boot time to config > services on host. > > Question is. Is there some other way to make tis happen without rebooting? Ignoring the offensive sounding "you didn't understand", still answering: restart whatever services you added or changed (like options/parameters relevant to service). This is the first thing we learn (and enjoy) when start administering UNIX: restart services/daemons (instead of rebooting the whole system). Valeri > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Aug 29 14:54:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D74CDDD4B2 for ; Tue, 29 Aug 2017 14:54:09 +0000 (UTC) (envelope-from olivier@mauras.ch) Received: from smtp.mauras.ch (smtp.mauras.ch [163.172.199.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0915653F2 for ; Tue, 29 Aug 2017 14:54:08 +0000 (UTC) (envelope-from olivier@mauras.ch) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mauras.ch; s=20160502; h=Message-ID:References:In-Reply-To:Subject:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GuyE1ugJkBmNfg9XPQgB5elkDdvbYe+EeZVWS/h8QPs=; b=BUBj8hntc2hgtcptA+pPX8LYed shVrvLWQMqwdiD0l8MaXQGVsAxSIWNE6oyMziGwFJt6FDZAgNepkBLjEwX7dwaGkUHVEGl5lOMUy3 OJ2WuHrR8996aKTsjQfeTPVjADbkUXjUusWdxEDD4CZ8hrqqTqUM8MbQV8/l/1sEvxfY=; Received: from www.mauras.ch ([195.154.39.207] helo=mail.mauras.ch) by smtp.mauras.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1dmhrn-0004CE-SE for freebsd-questions@freebsd.org; Tue, 29 Aug 2017 16:51:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 29 Aug 2017 16:51:44 +0200 From: Olivier Mauras To: freebsd-questions@freebsd.org Subject: Re: [Crosspost] Host losing network connectivity when jail is up after 21 minutes In-Reply-To: <20170824110313.677fac26fcc6537499aeafbb@mauras.ch> References: <20170824110313.677fac26fcc6537499aeafbb@mauras.ch> Message-ID: X-Sender: olivier@mauras.ch User-Agent: Roundcube Webmail/1.2.4 X-Authenticated-Sender: olivier@mauras.ch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 14:54:09 -0000 Just to note that the issue has been solved by binding the jails on cloned lo1 instead of the main interface. Regards, -O. On 2017-08-24 11:03, Olivier Mauras wrote: > Sorry for crossposting from > https://groups.google.com/a/hardenedbsd.org/forum/#!topic/users/tADY5vVqxew > I hope it's acceptable > > Hello, > > I have HardenedBSD 11.1 installed as a KVM guest with static route and > a single public IP directly routed to internet by my provider's > gateway. > I have two jails running on this guest, one running an sshd instance > the other one a powerdns-recursor instance. Both jails are on a > private subnet NATed by PF and running HBSD 11.1 as well. > > If any of the jail is running, the host will lose network connectivity > after ~21 minutes, and there is no relevant event in the logs - like > really nothing - that could help pinpoint where the issue is coming > from. > When I stop the jail service, network connectivity gets back > immediately. When I start the jail service again, network is still up > for the next 21 minutes... > > I've tried switching network interface driver from virtio to e1000 > without any success as the behaviour is still the same. > > Would someone have an idea to help tracking down this issue? > > Thanks, > -O. From owner-freebsd-questions@freebsd.org Tue Aug 29 15:01:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A6D5DDDA65 for ; Tue, 29 Aug 2017 15:01:52 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D353365A24 for ; Tue, 29 Aug 2017 15:01:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x242.google.com with SMTP id j99so3952490ioo.4 for ; Tue, 29 Aug 2017 08:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=osOngYhBALTtPYU56J2O8QEdtroGI7e7EOFBucff7JM=; b=X6gppruCoEFaankjzwdWUbIpYzS/tJmvjec3DeCKNltJHkDwBPgsUjPAaX/2P79SLA xTFBafAfA74uxDXUcL255Ze37OPehrwFt4M+vzx+ht6tWazCwgokeYcP6VnIYstr8zOh 2jx+EG82fs6a83toWIOH7uyX9w3Ghde9tP/yy4mRuPYHBpO05qT04hJ/5QBZ/j3XZMKE MZodyiChMlMBxQ1ql7tDEi4DjXOdognSUrUYqYWXy0j28tDyP0IUPMRYWsiK5fJaSmHc FalZI38pcxtoXqyKt89wg4hm7rzidLJGBFc6Njf9H6CZZQcbi+WQeWI6coMliqvAKzW8 RzYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=osOngYhBALTtPYU56J2O8QEdtroGI7e7EOFBucff7JM=; b=BkxuFHjr6naIr4h1tL0a14I3e2jOgByDiTukONtJembuSoacZAZFiXF4NODNzG0W2v 0VK+vK4b+MLwaWAnJR2WhjwMdKElquZpl+5wTOVeDNNbVilPe6e9Q6KyUrU1tYgDQyl+ 8yW7A4XkB70D7UzXGaryLDfctF0icGiNREpNlaEVF1t0RJ1RsHnnFG4nkrRz8ax1s3Bm vMs+EiZ6yZKm6Ne20R/dy/mXi3nZxJb04T9l+U/rZhaF8ZIfjhLpA1FEb4pFIx1LiLb4 5oAPWT5VnU0+5KP872o4BNjL2kFLHqmqhc9C3QFuutHYjWTIKIXqwd+yirIw15K5vhJw Zbug== X-Gm-Message-State: AHYfb5jYgumtqq5UDVsmG45fv2x04JhjX871vxsw/2oTxEGfVGlU65IP nDH0dsnOruXeBcea X-Received: by 10.36.244.9 with SMTP id d9mr2417157iti.103.1504018911339; Tue, 29 Aug 2017 08:01:51 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id k4sm970646iti.5.2017.08.29.08.01.50 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Aug 2017 08:01:50 -0700 (PDT) Message-ID: <59A581DB.10402@gmail.com> Date: Tue, 29 Aug 2017 11:01:47 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Yuri Pankov CC: freebsd-questions Subject: Re: reread rc.conf without rebooting References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> In-Reply-To: <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 15:01:52 -0000 Yuri Pankov wrote: > On Tue, 29 Aug 2017 10:35:05 -0400, Ernie Luzar wrote: >> Valeri Galtsev wrote: >>> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>>> After making changes to /etc/rc.conf is there some way to make the host >>>> reread it without rebooting? >>> >>> I only know one way to do it: apply each change (one at a time) by >>> executing relevant command from shell. Why does that not suite you? >>> You do >>> test (from shell) what is the effect of each change, right? >>> >>> Valeri >>> >> >> You did not understand correctly meaning of post. >> >> I added local_unbound_enable="YES" to rc.conf >> >> It's my understanding that rc.conf is only read at boot time to config >> services on host. >> >> Question is. Is there some other way to make tis happen without >> rebooting? > > Just (re)start relevant services, e.g., `service local_unbound restart`. > . > If the local_unbound service is not all ready running the "service local_unbound restart" command does not work. My problem is with the built in unbound. Testing has proven that issuing "service local_unbound onestart" before unbound has been first started by a reboot is causing config problem generated by unbound first time only setup script. In general here is the big picture. unbound replaced bind as the built in dns application starting with release 10.0. Here we are 5 releases later and it looks like it has never worked from the get go. The only people who have used unbound have installed the port version because they could not get the built in version to work. I am trying to debug what is wrong with the config setup for the built in version. So the answer to my original question is, there is NO way to cause the rc.conf file to be reread and re-processed without a reboot. From owner-freebsd-questions@freebsd.org Tue Aug 29 17:22:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70241DE0E61 for ; Tue, 29 Aug 2017 17:22:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02E166A91A for ; Tue, 29 Aug 2017 17:22:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x241.google.com with SMTP id e204so1690972wma.2 for ; Tue, 29 Aug 2017 10:22:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Gntr5TrvMSd1x7f1TxXozRjDy2Eu0dMg7Tm/VV6esbM=; b=hjIL9qBogCzV8WWCgIWLQiI6k7XiqQAEtAhoHFlH1lJYqUOYREKj9RDx4LFPCR+Xog Vtieoh+VEqSYXuWUVX9uyzMEuw/SZmCfdhhoDrbo2iCj6GoD/npMzTQCNpmz5m6FW767 xuMnJRUl1aLnbiBm82ILchGmAe+/aFTweYFEAhWRFiZv4Bt02NadkVkLEq1G/QqoIZ8k X4mJd9Vt1hboaTHANKomzLgXgB7fVtaS2BhL0KT8bQk0p4hFHzS6hQgFNksrw0qRNor8 urF+TySYOAT3xx+n9P69M6IN8g154p7G8iRnNvodmcm24G7y+Kw80EjtyBpRtHfI7J5s 8rlA== X-Gm-Message-State: AHYfb5iBPOLCQRi83wQzrrPZ2/oWRtDztcH5HoLyyda/Wip4Clbz3GAE sKtH8Oi5r9fC2DoK X-Received: by 10.80.219.79 with SMTP id b15mr3998553edl.87.1504027337025; Tue, 29 Aug 2017 10:22:17 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id g33sm1567704ede.43.2017.08.29.10.22.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Aug 2017 10:22:15 -0700 (PDT) Date: Tue, 29 Aug 2017 18:22:12 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: reread rc.conf without rebooting Message-ID: <20170829182212.563bd194@gumby.homeunix.com> In-Reply-To: <59A581DB.10402@gmail.com> References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> <59A581DB.10402@gmail.com> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 17:22:19 -0000 On Tue, 29 Aug 2017 11:01:47 -0400 Ernie Luzar wrote: > Yuri Pankov wrote: > > Just (re)start relevant services, e.g., `service local_unbound > > restart`. . > > > > > If the local_unbound service is not all ready running the > "service local_unbound restart" command does not work. Then just start it. If it isn't already running a restart should still start it after a warning that it it isn't running. From owner-freebsd-questions@freebsd.org Tue Aug 29 17:26:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85FBBDE1056 for ; Tue, 29 Aug 2017 17:26:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F4ED6AD1D for ; Tue, 29 Aug 2017 17:26:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id u26so2001185wma.0 for ; Tue, 29 Aug 2017 10:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5vgJF/a4OtS1Imv0nXPPqQv+5V+GIwcgeu9p/u5SKw0=; b=H9Inv5fWqzMAk8VvHATa0B46+0vBnDA4vZmS594UyysN75Mtemj2MZkg9ZUK0+/QyU fIs6cwjVDjcj5XQKYKi6UhKWADh+pqKODLpkmOEPEJhF2fxctAMccEATqHim9Hx+aZxb AAKJdvG2boVbLKf1gkm3er5p1tb6oREU1LfSZHDyHkDmAup4NmAiBEOyft4bW4i2Q1XP p8lDqgpGt9/2Jc16Ezzu8zOvq8zGqHQ9w28/bNJ8QuO3mzfIlXF9R1OrrsrSsVHH9YNG LTOCfY1Avz2752uykRfGb3HAA3SaaN6jOeCno024b9VHVYBJrYd9XwyX87tP/cTj5lir 8mTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5vgJF/a4OtS1Imv0nXPPqQv+5V+GIwcgeu9p/u5SKw0=; b=UKfLBPFM0wqh/BgFlsTQb9xCLQ7qeiRLfh1HahGNZQa9jL1x5uC+eAp6EroJOWMiax u1zhjgZOOync84oi/qtNugBUED+WcLhoC9IGPFXnN70kBQjDxZKdPRT0r0PyzNen3VVw +ecyak4Eh0NWwH42Dufn/+RsbEjqoTFrA9RxiQ6mUbmjbbdo2kHZ9PmTf7cb/0ZDEEDq hm6ZuKuXCNnnf711wI9isVfu8NEAJXdsvcCXddhD9s5CaZyPeLES5ifMfWEidnRzg674 MEdqSspd4t787UWscd2EkPlz29oYiw/Nb39Waz43xBByVrQvwkIGmwPsv5rYf0kg/ESd bpQQ== X-Gm-Message-State: AHYfb5i9V4FfAezNpOzJOWerWqqz7+fUZj4zdtvXQP+Q3u9lUhUndedY QBg538mKfpC9vhHYRyF6JCMmebznrQ== X-Received: by 10.80.137.114 with SMTP id f47mr3992541edf.130.1504027616557; Tue, 29 Aug 2017 10:26:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Tue, 29 Aug 2017 10:26:56 -0700 (PDT) In-Reply-To: <59A581DB.10402@gmail.com> References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> <59A581DB.10402@gmail.com> From: Adam Vande More Date: Tue, 29 Aug 2017 12:26:56 -0500 Message-ID: Subject: Re: reread rc.conf without rebooting To: Ernie Luzar Cc: Yuri Pankov , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 17:26:58 -0000 On Tue, Aug 29, 2017 at 10:01 AM, Ernie Luzar wrote: > The only people who have used unbound have installed the port version > because they could not get the built in version to work. > This statement is completely false. -- Adam From owner-freebsd-questions@freebsd.org Tue Aug 29 20:12:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AED58DE4909 for ; Tue, 29 Aug 2017 20:12:14 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6741D6F8A7 for ; Tue, 29 Aug 2017 20:12:14 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id s143so22300369ywg.0 for ; Tue, 29 Aug 2017 13:12:14 -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=wsi8g90qaMhEBMcdaBjW1th9jbf8O7dEj2ttIlSJXGU=; b=d5cpX2RDWCTX23xG7QZWEACV8dl23Fb7bcAxhCnNvzo9li6tKzrt8aBl2YG+T8ZjQp ZtF0KVTMn5U0f5wJVTrzioTxEpVhHtiiDsIalQebEttjZiCfsQh/PcQemc+7v8+GTg3l 3Bt9y/jqDSnYVvax2O5gyuJ6ENt1IWmyrOUd6JDPVEoD8PLyYXBzhiTm8TEQnmoN3VYO Dvr49VokXnXjmIcI9wFYyWRZmQvc2E5T5oFDY/Ux1NsyN21QwrjFr1WxLtW9FOWteD/Q FSwNI8pck0T8fws6zmx1NoM7SUsD58UFBNKIv2bwhW9naMKU6rlhku7fRoRsz726knk5 mk2A== 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=wsi8g90qaMhEBMcdaBjW1th9jbf8O7dEj2ttIlSJXGU=; b=YpGLZs/MoH6EubIpHYGDfPrEHI2Jli+3UMSUjyC4D4Gbh0wIm8EXcIJdIPXgVxNMGX hERjgxPPiZxHr0EcZ7KliCRYsT09UBTAWaimyg/WvKiy8n1MTJBKmV6d6lq9V5YMoU6P nQiPrnKMNIt+ZKF2A6aqVQaHwLQCFwg76jd/v2xngXL7zEdBFWlBfJZn31KD040OnR0E JgsHOyMC0fw8z3Gk4T4HOqfMPcISsHSHqhwTYqVzDQ8fE1c63G1GuYDy0JjXLdviuxKc I8a6+gfyCBWlsgAb8MVI8P8vIfYxYrgmAgrCd0xCdK5XfNONdNwC8zDP/cvcE459iazC M78g== X-Gm-Message-State: AHYfb5jSE+bwfG6JP03LdutSacNawyA5vvyAirAkswEDHpfqzYBx09kX rN4szU9EBfKF31nIAGXKGzW+S90/sA== X-Received: by 10.13.230.143 with SMTP id p137mr1415296ywe.420.1504037533394; Tue, 29 Aug 2017 13:12:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.178.15 with HTTP; Tue, 29 Aug 2017 13:12:12 -0700 (PDT) From: William Dudley Date: Tue, 29 Aug 2017 16:12:12 -0400 Message-ID: Subject: help creating new gmirror > 2TB To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 20:12:14 -0000 Hi, I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. I have 2 identical 4TB disks. The examples in freebsd handbook "geom-mirror" pages show creation of a 2TB mirror using MBR partitioning, and that has an upper limit of 2TB. Some documentation says not to use GPT partitioning with gmirror because both store their information in the last sector on the disk. I'm not expert enough to be able to solve this myself. How do I create a gmirror of 4TB size? I want to partition it into 4 slices after I create it, but think I can use gpart to do that. Note: I'm not interested in using zfs unless there's no way to do this with gmirror. I read too many zfs failure stories on this mailing list to be comfortable with zfs. Thanks in advance, Bill Dudley From owner-freebsd-questions@freebsd.org Tue Aug 29 20:30:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43483DE4F24 for ; Tue, 29 Aug 2017 20:30:04 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0926A6FFED for ; Tue, 29 Aug 2017 20:30:04 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x230.google.com with SMTP id s101so25414194ioe.0 for ; Tue, 29 Aug 2017 13:30:04 -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; bh=Uzy6vVqN1xtuFKR3uhpclOoPtmIye1mNLJkR7xv02Y8=; b=dmLz70D+nTAocP64wgRfbw+yoHsIQtec4peHiTmVzDO6UycjMWDHScXvreGs/N3SQw JFefSEAmdWCpjFC/6SxbdPK0s1YosPEq8M4qzUNq3n1sKAOJhE4cYEj+oiZw+E0hfCxq Is6dlAUZog25jAjkG2pBFo9+TAQSvlWapAS7zgutt+5vYydc+un43Aol75w1BD6SV5oD udpx8XCqw947ycEQPaWfcghHpDpr/MhuBE7iJpCxiSOe+EivESrGqyLqLj+Y9nctY3Gh llF1J+l6IDzxR1RowwuRLtjM5OTdYfx3gbItTxYQ3rfH+py8tLpg9+hHHEaB8v/4l74v lcbQ== 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; bh=Uzy6vVqN1xtuFKR3uhpclOoPtmIye1mNLJkR7xv02Y8=; b=qcQjFg9HDx1DXKbfnJj9jlK+H2efmnoheRZ9EZ8Rgz+OFjmCgUuCoyS8bhgzT7GZjc t4SEKFKedbaKrSveL56mP0s23NewJn26vBvzhVhvCGYSu2+JNj7N+W6JhJlEwiRjxIoh /zjlC6BQ9/VqancnlSDkCFrr8YZjz8Ws5oJAk2mAxx8H4wadcWdaIEvKBH6BJ5k1cJLT RiyTNJ8Rifgh6F2HowoVMTkKDfEExvcuWzw0IUJF7HM0x8BUUT/WmB3cptCmIHMTy6rz vcjPzvLl3DKSWcfCs6LGqcewuV2iroFqCe3PyY31wlD9o38BIvBe1EjFyi1xUQI/vEH3 6MJQ== X-Gm-Message-State: AHYfb5jMZ2H0CK1dJ+q7w5UnPhDBmTD9Rl2ZZVRBttxox7QfpHliltI9 m0jZujSSezaFIeQk X-Received: by 10.107.8.66 with SMTP id 63mr5637081ioi.111.1504038603245; Tue, 29 Aug 2017 13:30:03 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id y202sm1417094itc.2.2017.08.29.13.30.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 13:30:02 -0700 (PDT) Subject: Re: help creating new gmirror > 2TB To: freebsd-questions@freebsd.org References: From: JD Message-ID: <59A5CEC9.1080409@gmail.com> Date: Tue, 29 Aug 2017 14:30:01 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 20:30:04 -0000 Sorry to digress a little, but I have a 6TB drive, single MBR partition on a linux machine. I would be surprised if FreeBSD could not support my drive: fdisk -l /dev/sde Disk /dev/sde: 5.5 TiB, 6001140957184 bytes, 1465122304 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x3d0278e3 Device Boot Start End Blocks Id System /dev/sde1 256 1465122303 1565520896 83 Linux On 08/29/2017 02:12 PM, William Dudley wrote: > Hi, > > I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. > > I have 2 identical 4TB disks. > > The examples in freebsd handbook "geom-mirror" pages show creation of a 2TB > mirror using > MBR partitioning, and that has an upper limit of 2TB. > > Some documentation says not to use GPT partitioning with gmirror because > both store their information in the last sector on the disk. > > I'm not expert enough to be able to solve this myself. > > How do I create a gmirror of 4TB size? > > I want to partition it into 4 slices after I create it, but think I can use > gpart to do that. > > Note: I'm not interested in using zfs unless there's no way to do this with > gmirror. > I read too many zfs failure stories on this mailing list to be comfortable > with zfs. > > Thanks in advance, > Bill Dudley > _______________________________________________ > 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 Aug 29 21:02:25 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24E5CDE5A64 for ; Tue, 29 Aug 2017 21:02:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC1A27117B for ; Tue, 29 Aug 2017 21:02:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id a80so4544792wma.0 for ; Tue, 29 Aug 2017 14:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FQ5UEqghZkP+WbOJply/FimvekKOovJcfOgi6DWo4xk=; b=YqllsOzXJthbc1tRsC+KiPS650I3bbGnNmt/MszesWWlncVcmw91EadgosmrPO5PAJ QDT4nea6HDa9tFUEolrkBZKxvUIMqq6d80D9lFHsZzwykQGpna9lI/aIF7wv4pj1wiSF I70mNnWSfxJD97FI1CA9FZtv6AmezGShKPIweqZ3ixYOzI/EE0eAOz19iqCeCtrz0uVr HcoaCRj5IuPRaZ5mu13ppVzuSJ1WuqYFEj00kc9g53eVMjrZt0jk+OZbV/ozTTr0JEy3 Luo8i1tbV4BmKWBV3Qvdn1j/UQFv6VKC8lpPRoluAL3SAwb8c1oxvlnFhwDrOmJ/wtuK HEQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FQ5UEqghZkP+WbOJply/FimvekKOovJcfOgi6DWo4xk=; b=sdPkb1Dly2Rgt/IVPBHYIliC4NlYKUv4k/255ZjPZH+dAqVCBj/yLQXaU8w1zsxFIp XrW+Pu62pgo1/+GRcCzpmHqVgImhnpRsQOR5nDNB7MbDX8Bgo/0Heho+Eu3l8Cy8ZBf0 u6s6AwyOttWgIHR3tgkvkSf//crxzrxjL0V7ff3L85A56h/FU7u8MtnFCsPd07bIfdki rScHGU4LO+Z6EBuQJ2pN9Tqvziw3UtKeUWD5QZ3ZVy5jrIGQc7ntIN0RtY3bSUZyxtja oOhTXkvHvkGeyp8OqpemtdoksaC/IJox/n0JX5iA3ulODSg2DBbZsMEdAAFCb+NVW+B/ YWxA== X-Gm-Message-State: AHYfb5gK4Nx094tMw58eflyCmozvtQaxHZJPW/vhkm/ukZElZ7/TK8Sz 1uKAxjTkgYOtp8EQmlHsPy6Xx9tjmw== X-Received: by 10.80.137.114 with SMTP id f47mr4392583edf.130.1504040542252; Tue, 29 Aug 2017 14:02:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Tue, 29 Aug 2017 14:02:21 -0700 (PDT) In-Reply-To: <59A5CEC9.1080409@gmail.com> References: <59A5CEC9.1080409@gmail.com> From: Adam Vande More Date: Tue, 29 Aug 2017 16:02:21 -0500 Message-ID: Subject: Re: help creating new gmirror > 2TB To: JD Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 21:02:25 -0000 On Tue, Aug 29, 2017 at 3:30 PM, JD wrote: > Sorry to digress a little, but I have > a 6TB drive, single MBR partition on a linux machine. > I would be surprised if FreeBSD could not support my drive: > That is because of the following line. Most drives still in-use probably don't say the same thing. The important one regarding mbr is the the logical value. > Sector size (logical/physical): 4096 bytes / 4096 bytes > To the op, you can use gpt then gmirror specific partitions. -- Adam From owner-freebsd-questions@freebsd.org Tue Aug 29 22:21:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D11EDE707A for ; Tue, 29 Aug 2017 22:21:11 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (paka.cyberleo.net [216.226.128.180]) by mx1.freebsd.org (Postfix) with ESMTP id 4055C73274 for ; Tue, 29 Aug 2017 22:21:10 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.4] (vitani.den.cyberleo.net [216.80.73.130]) by mail.cyberleo.net (Postfix) with ESMTPSA id 66A2D2B402; Tue, 29 Aug 2017 18:11:27 -0400 (EDT) Subject: Re: NFS home directory performance tuning for Linux client To: Kaya Saman , freebsd-questions@freebsd.org References: <30d13a2b-0813-9686-3841-b24051fa3e0e@gmail.com> From: CyberLeo Kitsana Message-ID: <81615b0c-a94c-1fca-de5c-cc8cc868b05c@cyberleo.net> Date: Tue, 29 Aug 2017 17:11:26 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 22:21:11 -0000 On 08/21/2017 01:47 PM, Kaya Saman wrote: > So, currently I've tried doing something a little different which worked > out well. > The bottleneck was definitely caused by NFS and I think it was the write > behaviour for small files, with the limited options available though I > have no idea what could be causing the issues or how to get round them?? Try setting sync=disabled on the zfs datasets backing your NFS shares. If this has a noticeable impact on performance, you may instead want to invest in a SLOG device. This can be a mirrored pair of high-iops/low-latency SSDs, or a battery-backed RAM device. Ordinarily, the ZIL is on the pool's main storage. If you have a bunch of high-latency spinning disks, this can slow sync writes way down as they then have to wait for the disks to finish. An external ZIL on a fast SLOG device will boost sync writes closer to the throughput of the SLOG than the pool. If I remember correctly, all NFS writes are sync writes, and will be impacted by the latency of the ZIL. Setting sync to disabled on a dataset will eliminate the guarantees of sync writes (data loss possible in the case of crash or power loss) but may speed up NFS through this compromise. I would not recommend leaving sync disabled, though. https://www.ixsystems.com/blog/o-slog-not-slog-best-configure-zfs-intent-log/ -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Element9 Communications http://www.Element9.net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@freebsd.org Wed Aug 30 01:35:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E35EBDEB31E for ; Wed, 30 Aug 2017 01:35:38 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0FD17D8F9 for ; Wed, 30 Aug 2017 01:35:38 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:54670] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id DC/E1-12431-36616A95; Wed, 30 Aug 2017 01:35:31 +0000 Received: from [192.168.1.143] by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1dmrul-00085K-DE for freebsd-questions@freebsd.org; Wed, 30 Aug 2017 01:35:31 +0000 Subject: Re: reread rc.conf without rebooting To: freebsd-questions@freebsd.org References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> From: Baho Utot Message-ID: <3313b59a-d8de-53bb-5dc8-9817cba6d99d@columbus.rr.com> Date: Tue, 29 Aug 2017 21:35:51 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59A57B99.6030702@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 01:35:39 -0000 On 8/29/2017 10:35 AM, Ernie Luzar wrote: > Valeri Galtsev wrote: >> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>> After making changes to /etc/rc.conf is there some way to make the host >>> reread it without rebooting? >> >> I only know one way to do it: apply each change (one at a time) by >> executing relevant command from shell. Why does that not suite you? >> You do >> test (from shell) what is the effect of each change, right? >> >> Valeri >> > > You did not understand correctly meaning of post. > > I added local_unbound_enable="YES" to rc.conf > > It's my understanding that rc.conf is only read at boot time to config > services on host. > > Question is. Is there some other way to make tis happen without > rebooting? You have been told.  If you will not listen then you are beyond help From owner-freebsd-questions@freebsd.org Wed Aug 30 01:48:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E19F6DEBA17 for ; Wed, 30 Aug 2017 01:48:28 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A853D7E1B9 for ; Wed, 30 Aug 2017 01:48:28 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id f1so1013283ith.0 for ; Tue, 29 Aug 2017 18:48:28 -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; bh=1/YjqNPY6WoqIxGaHJRNfdUswJ4JXVx/m1MNPyK32fw=; b=VfAYdPQELwA/xqsa6UmAs3iRyEaUSUs/0F0Kw7YHkqTqknkWqhx7YG0qQfLILyZANc 3D+4OUCScrLigKmQhBQoHvVpC9Lcdl+WO4xYHV1AWpkZ1fAHftXhKZu95S6ZfAp8mHG6 oiQr1BoiDUgECbTOkzlL0sAquAZiKvr4HzVA5P2IsdMhol44DpO7F8rbvtjOzwZJHxkl +epNxW/0y2mfowoZ7p+Kl8oeU41Yuq5xUyik1D0Dh8INZ+WW5RaCFvXg2K5PXDB4n2N6 9TS5IqTqrH97OrNFYzQUX+aK0X7wnha//6stQ+RE+N4hGark5evz/MLBSlIINQkXg5Kd YR+w== 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; bh=1/YjqNPY6WoqIxGaHJRNfdUswJ4JXVx/m1MNPyK32fw=; b=H+5IcADZq0r5Tm6pnpP5FLsCc4Ax5MWJ6kLgEHR1vbbhySN8HNLq08yPYE4blsurKC iS4USt9AjOHAsUsLMq5qfcLgImr9b/i7QDenzjWmR92pWsVxbyXNjiXyVeBMPBnJ0B0I 8xM1+lKfKkshi65U+eFtAS02FX7jrrVG/SVcgwnVnRhd8iv0uaRObuznXVWtVGhC2c7b 6wr1kK+52EIjj3TLxfYRNlHcghUF84wvZFsuZINsKrxk+dYz79u/0LIeCPeUR4rjz6lO Igfgh7K2G2SSTmJ97JA5OQuHAVaNjztA/N4lerZbwaRtO3U7M5tPQlIkjZa90E0naL8E hzRA== X-Gm-Message-State: AHYfb5hW2rbrPwvGoAg7+2vWPd0IhLoK5WH6LStLEtYZx0bA2V4S7aGx 6UvqAVlaSl6LzeP5 X-Received: by 10.36.208.211 with SMTP id m202mr224362itg.179.1504057707920; Tue, 29 Aug 2017 18:48:27 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id s11sm1521720ith.40.2017.08.29.18.48.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 18:48:27 -0700 (PDT) Subject: Re: reread rc.conf without rebooting To: freebsd-questions@freebsd.org References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <3313b59a-d8de-53bb-5dc8-9817cba6d99d@columbus.rr.com> From: JD Message-ID: <59A6196A.2070600@gmail.com> Date: Tue, 29 Aug 2017 19:48:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <3313b59a-d8de-53bb-5dc8-9817cba6d99d@columbus.rr.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 01:48:29 -0000 On 08/29/2017 07:35 PM, Baho Utot wrote: > > On 8/29/2017 10:35 AM, Ernie Luzar wrote: >> Valeri Galtsev wrote: >>> On Tue, August 29, 2017 9:07 am, Ernie Luzar wrote: >>>> After making changes to /etc/rc.conf is there some way to make the >>>> host >>>> reread it without rebooting? >>> >>> I only know one way to do it: apply each change (one at a time) by >>> executing relevant command from shell. Why does that not suite you? >>> You do >>> test (from shell) what is the effect of each change, right? >>> >>> Valeri >>> >> >> You did not understand correctly meaning of post. >> >> I added local_unbound_enable="YES" to rc.conf >> >> It's my understanding that rc.conf is only read at boot time to >> config services on host. >> >> Question is. Is there some other way to make tis happen without >> rebooting? > > You have been told. If you will not listen then you are beyond help > Ernie, take a look at https://forums.freebsd.org/threads/55334/ From owner-freebsd-questions@freebsd.org Wed Aug 30 05:20:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31C88DEF717 for ; Wed, 30 Aug 2017 05:20:24 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id C263F83977 for ; Wed, 30 Aug 2017 05:20:23 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.113.221]) by ipmail07.adl2.internode.on.net with ESMTP; 30 Aug 2017 14:45:02 +0930 Subject: Re: reread rc.conf without rebooting To: Ernie Luzar Cc: freebsd-questions References: <59A57538.2080806@gmail.com> <49637.128.135.52.6.1504016315.squirrel@cosmo.uchicago.edu> <59A57B99.6030702@gmail.com> <4f253592-7d81-29c6-7e94-a0fd4d6cba58@gmx.com> <59A581DB.10402@gmail.com> From: Shane Ambler Message-ID: Date: Wed, 30 Aug 2017 14:44:59 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <59A581DB.10402@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 05:20:24 -0000 On 30/08/2017 00:31, Ernie Luzar wrote: > > If the local_unbound service is not all ready running the > "service local_unbound restart" command does not work. It should, `service x restart` is the same as `service x stop` and then `service x start` it just saves you doing two steps manually. > My problem is with the built in unbound. Testing has proven that issuing > "service local_unbound onestart" before unbound has been first started > by a reboot is causing config problem generated by unbound first time > only setup script. onestart/onerestart is only needed if the rcvar for the service is not enabled in rc.conf. > I am trying to debug what is wrong with the config setup for the built > in version. What errors are you seeing? anything in the console? /var/log/messages? Do you have unbound or bind already running? Do you get anything from sockstat -4 -6 -p 53 > So the answer to my original question is, there is NO way to cause the > rc.conf file to be reread and re-processed without a reboot. rc.conf is read when a script using settings contained in it is run. That is, it is read by `service x start` so any changes saved before you run `service x start` will be in effect. You will find all rc scripts will use `load_rc_config` to read in any config variables they are interested in. By enabling a service in rc.conf you have to manually start the service if you don't want to restart the machine. Similarly any config changes will only be in effect if you manually restart the effected service or restart the machine. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@freebsd.org Wed Aug 30 14:56:53 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08799E03BFE for ; Wed, 30 Aug 2017 14:56:53 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from msa.san.navalradio.net (msa.san.navalradio.net [206.251.255.83]) (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 E548070029 for ; Wed, 30 Aug 2017 14:56:51 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [192.168.0.121] ([172.18.128.200]) (authenticated bits=0) by msa.san.navalradio.net (8.15.2/8.15.2) with ESMTPA id v7UEtbt6043390 for ; Wed, 30 Aug 2017 14:55:39 GMT (envelope-from mikhailg@webanoide.org) X-Authentication-Warning: msa.san.navalradio.net: Host [172.18.128.200] claimed to be [192.168.0.121] Subject: Re: help creating new gmirror > 2TB To: freebsd-questions@freebsd.org References: From: Mikhail Goriachev Message-ID: <2eeddc7e-e5ba-5a57-b40f-2cd4ca892494@webanoide.org> Date: Wed, 30 Aug 2017 11:56:42 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 14:56:53 -0000 On 29/08/2017 17:12, William Dudley wrote: > Hi, > > I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. > > I have 2 identical 4TB disks. > > The examples in freebsd handbook "geom-mirror" pages show creation of a 2TB > mirror using > MBR partitioning, and that has an upper limit of 2TB. > > Some documentation says not to use GPT partitioning with gmirror because > both store their information in the last sector on the disk. > > I'm not expert enough to be able to solve this myself. > > How do I create a gmirror of 4TB size? > > I want to partition it into 4 slices after I create it, but think I can use > gpart to do that. > > Note: I'm not interested in using zfs unless there's no way to do this with > gmirror. > I read too many zfs failure stories on this mailing list to be comfortable > with zfs. > > Thanks in advance, > Bill Dudley Hi Bill, Great articles that helped me a lot back awhile: http://www.wonkity.com/~wblock/docs/html/disksetup.html http://www.wonkity.com/~wblock/docs/html/gmirror.html In regard with disk thrashing, just mirror one essential partition. IMO thrashing isn't that bad if it happens once or twice a year... but it takes a long time and the disks go nuts. GPT is the way to go in your situation. Cheers, Mikhail. -- Mikhail Goriachev Webanoide From owner-freebsd-questions@freebsd.org Wed Aug 30 16:26:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 782D0E05740 for ; Wed, 30 Aug 2017 16:26:15 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068065.outbound.protection.outlook.com [40.92.68.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3CB472DD7 for ; Wed, 30 Aug 2017 16:26:13 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mxzkHEwSPbbFoO+M+LL8ksHy4TJRpkA4AoYEqYOPbb0=; b=hcpT7v+2XCMWFc44wPFXbHz1fcZGbLQP+4VDqpltqh9KtPSnC8wB8yDtDC5gXpLmPYOU21ewEgEtpqqA/inWwooXU8Rj4JdPDFds+2NZl8ignTnip2x0fRwfsnPiBUZRO5l8neDy9WjFYIyFkd532eP78o+i1dw6BkSzUE+pimHMf96UDxHyqRhx8wHAllnC1+4mnsSXrxGtF2nOIXDWSkk8iwBnQCYhYfCNOFnJn+sXV5POPkhTvmKQe/jgUiXsj85lc7LcTvZF/yUolfpVRLbjrzFtqH7iyt50Sf68JyNJzeFguKBSvZwDNkJuhGTI1cJE4kvaJ+Ztd7it8Yno6Q== Received: from VE1EUR02FT031.eop-EUR02.prod.protection.outlook.com (10.152.12.60) by VE1EUR02HT048.eop-EUR02.prod.protection.outlook.com (10.152.13.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1341.15; Wed, 30 Aug 2017 16:26:11 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.12.54) by VE1EUR02FT031.mail.protection.outlook.com (10.152.12.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.11 via Frontend Transport; Wed, 30 Aug 2017 16:26:11 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::60cb:ba4f:60e1:a1b8]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::60cb:ba4f:60e1:a1b8%13]) with mapi id 15.01.1385.013; Wed, 30 Aug 2017 16:26:11 +0000 From: Manish Jain To: "freebsd-questions@freebsd.org" Subject: Is there any Vala manual available ? Thread-Topic: Is there any Vala manual available ? Thread-Index: AQHTIaywaXYHYNQAaka+j8iLrPxlLw== Date: Wed, 30 Aug 2017 16:26:11 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:E319F451DD1CF0D2FF9FA7064B70184274967AB113BE05AD14650EDD4AFBA0E6; UpperCasedChecksum:FC056D48F573F5156271D0941E2F46A0982ACC32075B01D24264238EAEF7A0A2; SizeAsReceived:6923; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [9Ul9eRCjGp3dyETb1XSt4x6jPYVUDsZT] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VE1EUR02HT048; 6:RfML7QudRpPhafrIKXV/AE0r2Jfwbs/I2qeVqS2xIdFUX7jXuPOu1oQzoR7rabZnsRBXCYxABPoHgcAMpHuCyvrUPm2xnK6U+P5jAbHleAXtbgEyAwTBJvZiIdl05s+one1EKmfM4+yPRZrZOpH9uJDfnEELiAf6wC1VBKj+QuP1QNoJXByA2rdTX1M+7S/PREHD1+I5sZKU+ZgyOZehxtFmDh8Y0TKUuYvh8OnYmMr5pwI4h1Fl9vCEAAfXYZoa1kkaSBuzfM6JCwQQ4p7PqOnXyRmF+1D7reOAbxioXEVfu2XZgiwO6JasOjgeyFB3Gn5gqhpO+oOaH8xhkt+LBA==; 5:3QhFayoEeEJ0uW1CqP1+0ZS/4esDrmmTJUP+KDZ9rw9UFALCMTas/KmZy/AKMG7QjxikCNETqLzglabWEar8GadpgwoBYCYbyetomQP1U33kmT4p895UH0NhEYwAC+PdDA9+SpUTYqiOlkoTuNblhg==; 24:4M7zBLErYCO45ynfZxJZeP3Q+6F+TJutKw+pKFVzkGtUAX6XMu78OWuVshNICTRi38ASR9BVvmiVmTNUDbwW1Wivb10u1yihQRs4rY23eNI=; 7:kqIaGPb9mTXHuJo9ReQGLZ/jFi7yuikRyzVYjT7OEzuPazfbwwKX198LmlJqpY5kWanAfdeP5xJf+we1++btN7KlxiF/p6Excve3ZaPAKh+kptfrcznvZD5WbZV90j86bLIyOfVptw5BC1Sf4WxT2mUOPRJhixjKED9DJjRcEEtqdR7DAo3OSBrEHalT4gutAVAH/M0boqWm5z9qEvhTWhA8NMKMl7aMXDUUQHHw9Ms= x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 8f96b702-744f-49f8-d3ce-08d4efc3d344 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VE1EUR02HT048; x-ms-traffictypediagnostic: VE1EUR02HT048: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:VE1EUR02HT048; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VE1EUR02HT048; x-forefront-prvs: 041517DFAB x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:VE1EUR02HT048; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <52EA66DC61E8844BA8AED7FFBEF8AC40@eurprd02.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2017 16:26:11.3090 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT048 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 16:26:15 -0000 SGksDQoNCkkgYW0gdHJ5aW5nIHRvIHBpY2sgdXAgcHJvZmljaWVuY3kgaW4gVmFsYSwgYW5kIGFt IHdvbmRlcmluZyBpZiBWYWxhIGhhcyANCnNvbWUgdGVjaG5pY2FsIGRvY3VtZW50YXRpb24sIHNv bWV0aGluZyBsaWtlIE1TRE4gaGVscCBmb3IgVkMrKy9WQi4NCg0KSSBvZnRlbiBuZWVkIHRvIGNo ZWNrIG91dCBzaWduYXR1cmVzIG9mIEFQSSBmdW5jdGlvbnMgKCBlLmcuIA0KVGhyZWFkLkNyZWF0 ZSgpICksIGFuZCBhbSBoYXZpbmcgdG8gcmVzb3J0IHRvIGdvb2dsZSBzZWFyY2hlcyBhbmQgDQp0 cmlhbC1hbmQtZXJyb3IgLSB3aGljaCBzdXJlbHkgaXMgbm90IGEgcGxlYXNhbnQgdGhpbmcuDQoN CkkgaW5zdGFsbGVkIERldkhlbHAgd2hpY2ggc2VlbXMgdG8gYmUganVzdCB0aGUgdGhpbmcgSSBu ZWVkZWQuIEl0IGhhcyANCmRvY3VtZW50YXRpb24gZm9yIGFsbW9zdCBhbGwgcHJvZ3JhbW1pbmcg YXJlYXMgYW5kIGV2ZW4gaGFzIGEgc2VjdGlvbiANCnRpdGxlZCBWYWxhIFJlZmVyZW5jZS4gVGhl IFZhbGEgc2VjdGlvbiwgaG93ZXZlciwgaXMgZW50aXJlbHkgZW1wdHkuDQoNClRoYW5rIHlvdS4N Ck1hbmlzaCBKYWluDQo= From owner-freebsd-questions@freebsd.org Wed Aug 30 17:32:06 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 477F0E0663D for ; Wed, 30 Aug 2017 17:32:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3D6574903 for ; Wed, 30 Aug 2017 17:32:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Wed, 30 Aug 2017 19:31:38 +0200 Received: from r56.edvax.de (port-92-195-85-107.dynamic.qsc.de [92.195.85.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3CB5F3CBF9; Wed, 30 Aug 2017 19:31:36 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v7UHVaPs050972; Wed, 30 Aug 2017 19:31:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Aug 2017 19:31:36 +0200 From: Polytropon To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: Is there any Vala manual available ? Message-Id: <20170830193136.3b247193.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 7A9B9683423 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1543 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 17:32:06 -0000 On Wed, 30 Aug 2017 16:26:11 +0000, Manish Jain wrote: > I am trying to pick up proficiency in Vala, and am wondering if Vala has > some technical documentation, something like MSDN help for VC++/VB. > > I often need to check out signatures of API functions ( e.g. > Thread.Create() ), and am having to resort to google searches and > trial-and-error - which surely is not a pleasant thing. > > I installed DevHelp which seems to be just the thing I needed. It has > documentation for almost all programming areas and even has a section > titled Vala Reference. The Vala section, however, is entirely empty. Maybe this helps: https://wiki.gnome.org/Projects/Vala/Documentation But note the first paragraph: We're still working on documenting the whole language. The current draft can be found at Manual. It covers most of the language and is heavily annotated, but may contain mistakes. Probably not really what you're looking for (like something with a "statement index")... http://www.vala-project.org/doc/vala/ https://valadoc.org/ It seems that documentation is not a top priority. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Aug 30 17:56:55 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C380E06CFA for ; Wed, 30 Aug 2017 17:56:55 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067063.outbound.protection.outlook.com [40.92.67.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 017F7754DF for ; Wed, 30 Aug 2017 17:56:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9G8DfR3vUD4sYRryCpD+tf/VhNFDi+XzW2sVByoMPN0=; b=Sowu2iidU7bGKnviDQtw7MFOuMveWrCdhC1kK8aDlRKnI2pa0xXvCdeAbkLrdZhuwQtDL/BfishQmmmCChQzDFX/X0ZvPwyAUjCt3oQRakox8iVr2nhiEqPYVyf1HMmBbn+ShfhM2R7FQVqnFrZNygE0tz9i6c4wjdDlzLt+FUprTzJpLOETKvDN1APnh1j0ApenUSfKBNFGgefpXY+2JSPzHUlYbA91QSDtT7Ru85HMMZ51SEHAvaDqLae3DdTmW19WUolSGqnKhW0bsfeSRRpStREN60OLa6WWLQSyH8zfZgS1pyKwBRVGJFPYLkN3mulXnw2LiHr3rwaHt4Wd/w== Received: from HE1EUR02FT046.eop-EUR02.prod.protection.outlook.com (10.152.10.51) by HE1EUR02HT233.eop-EUR02.prod.protection.outlook.com (10.152.11.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1385.11; Wed, 30 Aug 2017 17:56:52 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com (10.152.10.54) by HE1EUR02FT046.mail.protection.outlook.com (10.152.11.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.11 via Frontend Transport; Wed, 30 Aug 2017 17:56:52 +0000 Received: from VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::60cb:ba4f:60e1:a1b8]) by VI1PR02MB1200.eurprd02.prod.outlook.com ([fe80::60cb:ba4f:60e1:a1b8%13]) with mapi id 15.01.1385.013; Wed, 30 Aug 2017 17:56:51 +0000 From: Manish Jain To: Polytropon CC: "freebsd-questions@freebsd.org" Subject: Re: Is there any Vala manual available ? Thread-Topic: Is there any Vala manual available ? Thread-Index: AQHTIaywaXYHYNQAaka+j8iLrPxlL6KdKE8AgAAGzAA= Date: Wed, 30 Aug 2017 17:56:51 +0000 Message-ID: References: <20170830193136.3b247193.freebsd@edvax.de> In-Reply-To: <20170830193136.3b247193.freebsd@edvax.de> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edvax.de; dkim=none (message not signed) header.d=none;edvax.de; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:1082D9AB86B9191AEBA7F08EBC7ED9B29BCECA8F9A80038E763BCD3C9FE34195; UpperCasedChecksum:28189AF1835F343452D13BA201E1B44BDB283AEBB0145647C91B018509B31D41; SizeAsReceived:7178; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [qK6drXmEv7ggmjVUI4wU0l6cDrgy0u6n] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT233; 6:Z5m4fywuWqg1LXKP1ziF+/GevMHOiRQLoNl5rQGDs/vwKSwzbfcUS4WvaNy7HdDSUZy6pp0/p5p9YHUTKFjwbaXACEFb4e2tcy5ljvD3NZeuimzGAyEDq7sqnVwcP5J/4S9ihvdjZQXclg0eYKKxeh93nSuPNtKBZKb/BYEo+0k8Br5zXKtpiCJuwWsklgEIt2Ot7/ThGgPxPEkOs3TsTHNyLLUIbiK0pMfneLU18GoRLO2zzvESYUhKbw2ItXWPztraJf4WM7VdqtkebsRcV1dSoYOw3/TXSVwfWITyKsU4/UKBg9IZ85riKv4kZmjP3jATteKRL7iciPVgQrfVFw==; 5:eqiF1bEsZWQjYTa1sdvLfQuAW+G9dE68anjhbnOMZS7CwiUTp389qzoG8xCEqNwC88rkB0a+pLaHeIU8szvA+ltxOE/rXQx0LeQOfOizd/0UFWVri1ZF+5I0ubItZ/aIs5DVUc421hCuL0izSCKK2w==; 24:5bhXo2WXx+cCAgmoF+8q2ivlTtsZeLZxQLN/KLtKVDphQ6RCuTkB5PmZE+mVvY4Su/0FAenoebJNWPSY9ZgQ6s6mMCpPdywMvZOHPpGC/Fw=; 7:D7usiYlnOwv42LFDJytWmwid6T8ssN7wgGHLbUglTnV5bv4oRD4ODh+tNhx4aTLL6SuNMtC+K5jYCQ/znXcSxI9QbNowDuEX7u/XHjpfnVEcD82TK8WXsJ/BfedOrUPHnKombK0GO4Hq5bYfDkWfey3x62e75dpdDX7jxM/aoH/iwGjXkxPFBLIWMJPoS3TmtmIjZjicXZS5ans77KRxiUWGvQp5n6IkQuaRzzpFC7g= x-incomingheadercount: 47 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: d525e7b3-07dc-4829-dfc3-08d4efd07e09 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1EUR02HT233; x-ms-traffictypediagnostic: HE1EUR02HT233: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:HE1EUR02HT233; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1EUR02HT233; x-forefront-prvs: 041517DFAB x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT233; H:VI1PR02MB1200.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <7A5DA0DC0C3D3A4AB1CAF7C2839AAFFD@eurprd02.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Aug 2017 17:56:51.8520 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT233 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 17:56:55 -0000 DQoNCk9uIDA4LzMwLzE3IDIzOjAxLCBQb2x5dHJvcG9uIHdyb3RlOg0KPiBXZSdyZSBzdGlsbCB3 b3JraW5nIG9uIGRvY3VtZW50aW5nIHRoZSB3aG9sZSBsYW5ndWFnZS4NCj4gCVRoZSBjdXJyZW50 IGRyYWZ0IGNhbiBiZSBmb3VuZCBhdCBNYW51YWwuIEl0IGNvdmVycw0KPiAJbW9zdCBvZiB0aGUg bGFuZ3VhZ2UgYW5kIGlzIGhlYXZpbHkgYW5ub3RhdGVkLCBidXQNCj4gCW1heSBjb250YWluIG1p c3Rha2VzLg0KPiANCj4gUHJvYmFibHkgbm90IHJlYWxseSB3aGF0IHlvdSdyZSBsb29raW5nIGZv ciAobGlrZSBzb21ldGhpbmcgd2l0aA0KPiBhICJzdGF0ZW1lbnQgaW5kZXgiKS4uLg0KDQoNClJp Z2h0LCBidXQgd2l0aCB5b3VyIHN1Z2dlc3Rpb24sIEkgaGF2ZSBtYW5hZ2VkIHRvIGF0IGxlYXN0 IGdldCBhbiANCm9mZmxpbmUgUERGIG1hbnVhbCBmb3IgVmFsYS4NCg0KVGhhbmtzLCBQb2x5DQoN Ck1hbmlzaCBKYWluDQo= From owner-freebsd-questions@freebsd.org Wed Aug 30 18:04:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31A0EE070D7 for ; Wed, 30 Aug 2017 18:04:48 +0000 (UTC) (envelope-from tetrosalame@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6F1775C7B for ; Wed, 30 Aug 2017 18:04:47 +0000 (UTC) (envelope-from tetrosalame@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id k77so57455829oib.2 for ; Wed, 30 Aug 2017 11:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nZItwPO8ki23IU7o5fBv5WZGrH18iygcGbF1thKdpZc=; b=hctw7+KvFBDrgMYRww6miQNp7UIxVVcadLY5yvWkvhq4INi+QU1zpUF4qZRrZj9JHx 8KfXpBXD/d3IPs3A42ork2EZxqk1sVTQhV+KcWaImMAzUoCQnuCTyT6PYAsk0tUxf2qS htqVJF0Z0Yc5+V3oqf8/7wd8ddY1lom3JRjQbBvwcVjfY0F1C+2eJ3u+qf/0SQxKr36j g/mdGxw3npvQYAlH+hsTvqWaF0E26c/klGTp9VngBtzoexidKn4hYY3ABV2jpYwU6NVK poeqziWZTVQeXhdpWP41geuXjyS8Itdu8pDA9Lcu9Ub4zcFnBVK0VZRJnW2MAP4mO6vD 7/sg== 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:references :mime-version:content-disposition:in-reply-to; bh=nZItwPO8ki23IU7o5fBv5WZGrH18iygcGbF1thKdpZc=; b=b/S8Vbwag4wLmsOL2CeWerV1n2p5c6+q9FnEaTMwzHfHO3AIvf9R6nv/JqW395VrkG 8d7i6c9VuyiFuVjZWBeVf+Nzzd/duUZy6sd8t3yTON3i1bfrSgO3v2E1bMTb0XfrZt2C dwdmfvhaT38frDwavFwxIAOZQD8Iv6A1u0XRPEs6m5BneQMWpA2XX0OZAppbOh4ckP+Y h7uMr/rIcwzec5a+PaMB20ItreIxfNSNFMTv3UIiB7SZ8jK8VsTbGR/wFuPudyGmf643 ddjr1RRNmSGohfHXSPhOvqGFpGnPqp+hy86Gl32tlLt/Rd2IixC5x68uOC1Z7R2/J1HT QV/g== X-Gm-Message-State: AHYfb5gpDCIf08u+QrgblIwqELMOuWy4UgVWM5ykov3mFgaDi/Omk2fv HkmZihH0y7v2l4cY X-Received: by 10.202.4.210 with SMTP id 201mr2573734oie.272.1504116286115; Wed, 30 Aug 2017 11:04:46 -0700 (PDT) Received: from avalon.thwn (host119-173-dynamic.16-79-r.retail.telecomitalia.it. [79.16.173.119]) by smtp.gmail.com with ESMTPSA id d197sm6484530oih.55.2017.08.30.11.04.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 11:04:45 -0700 (PDT) Received: from avalon.thwn (localhost [127.0.0.1]) by avalon.thwn (OpenSMTPD) with ESMTP id 365d3127 for ; Wed, 30 Aug 2017 20:04:41 +0200 (CEST) Date: Wed, 30 Aug 2017 20:04:41 +0200 From: fml To: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB Message-ID: <20170830180441.GA2427@avalon.thwn> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 18:04:48 -0000 On Tue, Aug 29, 2017 at 04:12:12PM -0400, William Dudley wrote: > Hi, > > I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. > > I have 2 identical 4TB disks. As you've been told, go with GPT partitioning: disk replacement maybe is not as easy as with MBR scheme, so backup your partition table and try to rebuild your mirror. I'm sure you know already: you need enough RAM to fsck such a large partition when things go wrong (~700MB per 1TB). f. From owner-freebsd-questions@freebsd.org Wed Aug 30 20:13:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3F66E094FE for ; Wed, 30 Aug 2017 20:13:26 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 D1DD57E741 for ; Wed, 30 Aug 2017 20:13:26 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C4173509B6 for ; Wed, 30 Aug 2017 16:13:24 -0400 (EDT) From: Rafal Lukawiecki Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Does NFS client cache? Message-Id: <206BE5FE-7A80-4CCA-8107-F3BBD3FC00FA@rafal.net> Date: Wed, 30 Aug 2017 21:13:22 +0100 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 20:13:27 -0000 Apologies for my FreeBSD newbieness=E2=80=A6coming from CentOS/Amazon = Linux and on a fast knowledge ramp-up at the moment. I would like to know if the NFS client in FreeBSD performs any/some/none = caching of the files clients fetch. I am used to installing fscache = (cachefilesd, see = http://people.redhat.com/~dhowells/fscache/FS-Cache.pdf) on Linuxes, = with an fstab mount flag =E2=80=9Cfsc=E2=80=9D to perform persistent = caching to the local *disk*. This gives me significant performance = improvements on the Linuxes I have used. Is this not done at all, or = done in some other way on FreeBSD? I could not find any relevant ports. The use case is cloud-based servers caching centrally managed NFS files = that contain rarely changing config and dev data, however all = speed-critical data is locally rsynced. Many thanks and my regards from Ireland, Rafal -- Rafal Lukawiecki Data Scientist and Director=20 Project Botticelli Ltd From owner-freebsd-questions@freebsd.org Wed Aug 30 21:21:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1F15E0A692 for ; Wed, 30 Aug 2017 21:21:14 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A805F807BA for ; Wed, 30 Aug 2017 21:21:13 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7ULJiTY075973; Wed, 30 Aug 2017 22:19:49 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: VPS that will run xBSD To: Shane Ambler References: <673b7208-c0d9-5179-407a-2cf9d276e1a8@fjl.co.uk> <031E40A6-0C53-47B2-BA86-E9932E02000B@sigsegv.be> Cc: freebsd-questions@freebsd.org From: Frank Leonhardt Message-ID: Date: Wed, 30 Aug 2017 22:19:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:21:15 -0000 On 25/08/2017 03:16, Shane Ambler wrote: > On 24/08/2017 23:03, Kristof Provost wrote: >> On 24 Aug 2017, at 11:32, Frank Leonhardt wrote: >>> There are a load of cheap VPS services out there; so cheap I decided >>> to give one a go to run a backup NS. >>> >>> Then when I looked closer they all offer Windoze or some Linux or >>> other. >>> >>> Does anyone know of a VPS provider that can do any OS I like? Or do >>> I need to create my own VPS provider :-) >>> >> RootBSD (https://www.rootbsd.net) are nice people. >> I use Gandi (https://www.gandi.net/) myself. > > If you look at the release notes you will find info on pre-installed > images for aws and google compute. > > While aws may not be what you call a "cheap" provider it can have lower > prices, a t2.nano on demand will cost 4.39 a month, but it can get as > low as 1.92 a month if you pay upfront to reserve it for 3 years - thats > 69 for 3 years. So you may pay a few bucks more to test it out but for a > final setup it can be cheaper. > Hi Shane, Thanks, but the whole problem is that they're "pre-installed". I can't run STABLE or any other version Amazon hasn't set up, never mind custom kernels. Actually, I've no idea what would happen if you took one and recompiled the kernel from new source but I don't really have the time to find out - nothing good I suspect. Regards, Frank. From owner-freebsd-questions@freebsd.org Wed Aug 30 21:30:13 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E6E5E0A93A for ; Wed, 30 Aug 2017 21:30:13 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 613F180BF7 for ; Wed, 30 Aug 2017 21:30:13 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v7ULU3B2038589 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 30 Aug 2017 16:30:04 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: VPS that will run xBSD References: <673b7208-c0d9-5179-407a-2cf9d276e1a8@fjl.co.uk> <031E40A6-0C53-47B2-BA86-E9932E02000B@sigsegv.be> To: freebsd-questions@freebsd.org From: Tim Daneliuk Message-ID: Date: Wed, 30 Aug 2017 16:29:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Wed, 30 Aug 2017 16:30:04 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v7ULU3B2038589 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.925, required 1, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.08, RP_MATCHES_RCVD -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:30:13 -0000 On 08/30/2017 04:19 PM, Frank Leonhardt wrote: > Thanks, but the whole problem is that they're "pre-installed". I can't > run STABLE or any other version Amazon hasn't set up, never mind custom > kernels. Actually, I've no idea what would happen if you took one and > recompiled the kernel from new source but I don't really have the time > to find out - nothing good I suspect. I run FreeBSD regularly on Digital Ocean droplets. I initially installed their image just to get going. I have a nightly cron job that does a source tree update and recompile of the entire system and several kernels. I can then update when- and as I wish. At the moment, the server that is up is running shows this: myserver:/usr/src>svn info Path: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/stable/10 Relative URL: ^/stable/10 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 323012 Node Kind: directory Schedule: normal Last Changed Author: davidcs Last Changed Rev: 322975 Last Changed Date: 2017-08-28 14:17:28 -0500 (Mon, 28 Aug 2017) tl;dr It works just fine.... P.S. I run it nightly because recompiling world and kernel is on a VPS is sloooooow. What takes 30 mins on a quad core i5 takes over 5 hours on the droplet. Who cares? I'm asleep :) Then again, a big (more expensive) droplet would likely do it much faster. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Wed Aug 30 21:39:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E19FE0AB8B for ; Wed, 30 Aug 2017 21:39:28 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 E01CF81266 for ; Wed, 30 Aug 2017 21:39:27 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 31FFE509B6; Wed, 30 Aug 2017 17:39:21 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: VPS that will run xBSD From: Rafal Lukawiecki In-Reply-To: Date: Wed, 30 Aug 2017 22:39:19 +0100 Cc: Shane Ambler , freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <31D122B4-EC3C-41C0-9C72-7D859DD6492E@rafal.net> References: <673b7208-c0d9-5179-407a-2cf9d276e1a8@fjl.co.uk> <031E40A6-0C53-47B2-BA86-E9932E02000B@sigsegv.be> To: Frank Leonhardt X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:39:28 -0000 While I am not a FreeBSD expert, I have built a good few AWS AMIs = (Amazon Machine Images) for various Linuxes I have used over the years. = The process generally requires you to use an existing available machine = (say FreeBSD RELEASE) to build what you need first. You should use a = pricier and a much faster machine for that, but you can change the = underlying hardware just for this purpose, switching down to a cheaper = one later.=20 In the process, you create an AWS ESB volume that contains your desired = new OS (say STABLE in your case). You snapshot that, which is an easy = AWS operation, and you register that snapshot as a new AMI that you can = now use to launch any number of new machines with your desired kernel = and config. Bear in mind this is an oversimplification of the process, as you have = to pay attention to the needs of the hypervisor and the provided = hardware. However, all of this has been done for us by Colin Percival. = Have a look at his article in which he explained how to build your own = FreeBSD AWS AMIs:=20 = http://www.daemonology.net/blog/2015-11-21-FreeBSD-AMI-builder-AMI.html If you do not need an AMI, that is you only want to update the very = machine on which you are working, you can simply change to a new kernel = and reboot. Caveat: I have not tried that with FreeBSD (yet) only = CentOS. Rafal -- Rafal Lukawiecki Data Scientist and Director=20 Project Botticelli Ltd > On 30 Aug 2017, at 22:19, Frank Leonhardt wrote: >=20 > On 25/08/2017 03:16, Shane Ambler wrote: >> On 24/08/2017 23:03, Kristof Provost wrote: >>> On 24 Aug 2017, at 11:32, Frank Leonhardt wrote: >>>> There are a load of cheap VPS services out there; so cheap I = decided to give one a go to run a backup NS. >>>>=20 >>>> Then when I looked closer they all offer Windoze or some Linux or = other. >>>>=20 >>>> Does anyone know of a VPS provider that can do any OS I like? Or do = I need to create my own VPS provider :-) >>>>=20 >>> RootBSD (https://www.rootbsd.net) are nice people. >>> I use Gandi (https://www.gandi.net/) myself. >>=20 >> If you look at the release notes you will find info on pre-installed >> images for aws and google compute. >>=20 >> While aws may not be what you call a "cheap" provider it can have = lower >> prices, a t2.nano on demand will cost 4.39 a month, but it can get as >> low as 1.92 a month if you pay upfront to reserve it for 3 years - = thats >> 69 for 3 years. So you may pay a few bucks more to test it out but = for a >> final setup it can be cheaper. >>=20 > Hi Shane, >=20 > Thanks, but the whole problem is that they're "pre-installed". I can't = run STABLE or any other version Amazon hasn't set up, never mind custom = kernels. Actually, I've no idea what would happen if you took one and = recompiled the kernel from new source but I don't really have the time = to find out - nothing good I suspect. >=20 > Regards, Frank. >=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 Wed Aug 30 21:40:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 954FBE0AC1D for ; Wed, 30 Aug 2017 21:40:04 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A28E8132B for ; Wed, 30 Aug 2017 21:40:03 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7ULe1Lh081052 for ; Wed, 30 Aug 2017 22:40:01 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) To: freebsd-questions@freebsd.org From: Frank Leonhardt Subject: Fun with HAST and inter-host connections Message-ID: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> Date: Wed, 30 Aug 2017 22:40:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:40:04 -0000 Please note - I'm pushing what can be done with commodity hardware for amusement here, and trying to do interesting things with FreeBSD. I *do* want to do it this way. Okay, so the game is this: I've got some identical hosts with disks and I've been working on ways of clustering them for a long time. It's what I do for fun, right? I'm currently playing with failover storage. Not necessarily with HAST; iSCSI is fun and I'm messing with geom stuff in general. But let's stick with HAST as it illustrates the dilemma. When I started this game, 1Gb Ethernet was blistering. Now it's not so hot. How do I "network" the hosts with as much throughput as possible (with IP sockets, preferably)? Options: 1) 10Gb Ethernet is expensive. 10Gb switches even more so, but I can do point-to-point. 2) LAG is more about failover than speed. And anyway, you end up needing a lot of Ethernet ports on each host and it soon gets crazy. 3) Fibrechannel - if I bought a few old (cheap) fiberchannel cards, I'm not sure how I could use them point-to-point. Is this possible and has anyone done it? 4) USB 3.1. 10Gb. PCIe cards cost about $30. Now this sounds fun. IP over USB anyone? Now please don't advise me to get a pair of fabric switches and do the job properly. That's not what this is about. I want to see if it's possible to make a fast(er) storage solution using cheap components. A sort of Redundant Array of Inexpensive NAS. Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is anyone else crazy enough to be trying the same thing? Thanks, Frank. From owner-freebsd-questions@freebsd.org Wed Aug 30 21:40:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B685E0AD0E for ; Wed, 30 Aug 2017 21:40:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DCB48156C for ; Wed, 30 Aug 2017 21:40:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v7ULes5a073412 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Aug 2017 15:40:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v7ULesnS073409; Wed, 30 Aug 2017 15:40:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Aug 2017 15:40:54 -0600 (MDT) From: Warren Block To: fml cc: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB In-Reply-To: <20170830180441.GA2427@avalon.thwn> Message-ID: References: <20170830180441.GA2427@avalon.thwn> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Wed, 30 Aug 2017 15:40:54 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:40:56 -0000 On Wed, 30 Aug 2017, fml wrote: > On Tue, Aug 29, 2017 at 04:12:12PM -0400, William Dudley wrote: >> Hi, >> >> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >> >> I have 2 identical 4TB disks. > > As you've been told, go with GPT partitioning: disk replacement maybe is > not as easy as with MBR scheme, so backup your partition table and try > to rebuild your mirror. > > I'm sure you know already: you need enough RAM to fsck such a large > partition when things go wrong (~700MB per 1TB). Having done this (and written that article on it), I would say just use ZFS. It is no more fragile than a weird UFS gmirror on GPT. Some would say much less fragile. From owner-freebsd-questions@freebsd.org Wed Aug 30 21:43:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E672FE0AF80 for ; Wed, 30 Aug 2017 21:43:57 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA83817A6 for ; Wed, 30 Aug 2017 21:43:57 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7ULhtxH082095 for ; Wed, 30 Aug 2017 22:43:55 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: VPS that will run xBSD References: <673b7208-c0d9-5179-407a-2cf9d276e1a8@fjl.co.uk> <031E40A6-0C53-47B2-BA86-E9932E02000B@sigsegv.be> <31D122B4-EC3C-41C0-9C72-7D859DD6492E@rafal.net> Cc: freebsd-questions@freebsd.org From: Frank Leonhardt Message-ID: <2894b33a-ee7d-0a3f-4a3d-e4f03a2c38e2@fjl.co.uk> Date: Wed, 30 Aug 2017 22:43:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <31D122B4-EC3C-41C0-9C72-7D859DD6492E@rafal.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:43:58 -0000 On 30/08/2017 22:39, Rafal Lukawiecki wrote: > While I am not a FreeBSD expert, I have built a good few AWS AMIs (Amazon Machine Images) for various Linuxes I have used over the years. The process generally requires you to use an existing available machine (say FreeBSD RELEASE) to build what you need first. You should use a pricier and a much faster machine for that, but you can change the underlying hardware just for this purpose, switching down to a cheaper one later. > > In the process, you create an AWS ESB volume that contains your desired new OS (say STABLE in your case). You snapshot that, which is an easy AWS operation, and you register that snapshot as a new AMI that you can now use to launch any number of new machines with your desired kernel and config. > > Bear in mind this is an oversimplification of the process, as you have to pay attention to the needs of the hypervisor and the provided hardware. However, all of this has been done for us by Colin Percival. Have a look at his article in which he explained how to build your own FreeBSD AWS AMIs: > > http://www.daemonology.net/blog/2015-11-21-FreeBSD-AMI-builder-AMI.html > > If you do not need an AMI, that is you only want to update the very machine on which you are working, you can simply change to a new kernel and reboot. Caveat: I have not tried that with FreeBSD (yet) only CentOS. > > Rafal > -- > Rafal Lukawiecki > Data Scientist and Director > Project Botticelli Ltd Thanks - interesting to know. This is really just-for-fun so I might well give this a try. From owner-freebsd-questions@freebsd.org Wed Aug 30 21:57:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CC33E0B4F4 for ; Wed, 30 Aug 2017 21:57:40 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D343D81EB6 for ; Wed, 30 Aug 2017 21:57:39 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7ULvbGm085126 for ; Wed, 30 Aug 2017 22:57:38 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: help creating new gmirror > 2TB To: freebsd-questions@freebsd.org References: From: Frank Leonhardt Message-ID: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> Date: Wed, 30 Aug 2017 22:57:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 21:57:40 -0000 On 29/08/2017 21:12, William Dudley wrote: > Hi, > > I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. > > I have 2 identical 4TB disks. > > The examples in freebsd handbook "geom-mirror" pages show creation of a 2TB > mirror using > MBR partitioning, and that has an upper limit of 2TB. > > Some documentation says not to use GPT partitioning with gmirror because > both store their information in the last sector on the disk. > > I'm not expert enough to be able to solve this myself. > > How do I create a gmirror of 4TB size? > > I want to partition it into 4 slices after I create it, but think I can use > gpart to do that. > > Note: I'm not interested in using zfs unless there's no way to do this with > gmirror. > I read too many zfs failure stories on this mailing list to be comfortable > with zfs. I still get a bit worried about this, but I'm 99.9% sure you'll be okay with MBR assuming it's an AFD (4K sector drive). The bodge/workaround works. If it's SAS instead of SATA, all bets are off. Although I use ZFS a lot, I still prefer geom mirror for twin-disk systems. I feel a lot more comfortable booting from it in the event of a failure. ZFS has its good points, but so does UFS. Trying to get geom mirror to work with GPT as it stands just leads to pain. I've taken a look at the code with a view to fixing this is no one else does, but UFS is so un-cool in most circles and I don't fancy doing it alone in case I zap someone's data. it doesn't look that tricky to move the metadata somewhere else, and by checking for a GPT you can select between the old/new block. It's unexpected interactions I'm worried about. I think we're safe with MBR until we pass 16Tb. Regards, Frank. From owner-freebsd-questions@freebsd.org Wed Aug 30 22:01:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20A76E0B64B for ; Wed, 30 Aug 2017 22:01:48 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 CCF8B820E2 for ; Wed, 30 Aug 2017 22:01:47 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D9E20509BE; Wed, 30 Aug 2017 18:01:45 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: VPS that will run xBSD From: Rafal Lukawiecki In-Reply-To: <2894b33a-ee7d-0a3f-4a3d-e4f03a2c38e2@fjl.co.uk> Date: Wed, 30 Aug 2017 23:01:44 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <673b7208-c0d9-5179-407a-2cf9d276e1a8@fjl.co.uk> <031E40A6-0C53-47B2-BA86-E9932E02000B@sigsegv.be> <31D122B4-EC3C-41C0-9C72-7D859DD6492E@rafal.net> <2894b33a-ee7d-0a3f-4a3d-e4f03a2c38e2@fjl.co.uk> To: Frank Leonhardt X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 22:01:48 -0000 If you find sysadmining fun, go for it, but AWS is a bit of a learning = curve. Very enjoyable, but a change in the mindset: no consoles, = declarative configs etc=E2=80=A6 Powerful if you need a fleet of a = servers (a few or thousands), or if you use some other cloud services, = like content distribution networks or geo-aware DNS. AWS can be way too = much learning for just a single server, even if it is very cheap, or = free with the 12 month free tier, also offered on Azure. Other cloud providers can be more accessible, but, in my opinion, after = 6 years with AWS and Azure, hardly anyone other than those two come with = so many ready-made services, many of those critically important for my = business. FYI, years ago we run on RackSpace for a couple of years, and = Linode, for a much shorter time, having also tried some no-longer in = business server colocators. All of those were much closer to the =E2=80=9C= my machine in the server room next door=E2=80=9D feeling but nowhere = near the breadth, or the low prices we get with AWS and Azure. Good luck, and do consider contacting Colin if you have questions, he = has been very helpful to me and know much about FreeBSD on AWS=E2=80=94and= I am saying this only a few days into our trial benchmark of FreeBSD in = AWS against CentOS and Amazon Linux. There is a = freebsd-cloud@freebsd.org mail list, but it is still a bit quiet there. Rafal > On 30 Aug 2017, at 22:43, Frank Leonhardt wrote: >=20 > On 30/08/2017 22:39, Rafal Lukawiecki wrote: >> While I am not a FreeBSD expert, I have built a good few AWS AMIs = (Amazon Machine Images) for various Linuxes I have used over the years. = The process generally requires you to use an existing available machine = (say FreeBSD RELEASE) to build what you need first. You should use a = pricier and a much faster machine for that, but you can change the = underlying hardware just for this purpose, switching down to a cheaper = one later. >>=20 >> In the process, you create an AWS ESB volume that contains your = desired new OS (say STABLE in your case). You snapshot that, which is an = easy AWS operation, and you register that snapshot as a new AMI that you = can now use to launch any number of new machines with your desired = kernel and config. >>=20 >> Bear in mind this is an oversimplification of the process, as you = have to pay attention to the needs of the hypervisor and the provided = hardware. However, all of this has been done for us by Colin Percival. = Have a look at his article in which he explained how to build your own = FreeBSD AWS AMIs: >>=20 >> = http://www.daemonology.net/blog/2015-11-21-FreeBSD-AMI-builder-AMI.html >>=20 >> If you do not need an AMI, that is you only want to update the very = machine on which you are working, you can simply change to a new kernel = and reboot. Caveat: I have not tried that with FreeBSD (yet) only = CentOS. >>=20 >> Rafal >> -- >> Rafal Lukawiecki >> Data Scientist and Director >> Project Botticelli Ltd >=20 > Thanks - interesting to know. This is really just-for-fun so I might = well give this a try. >=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 Thu Aug 31 00:35:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BCDEE0DE06 for ; Thu, 31 Aug 2017 00:35:15 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 219831A32 for ; Thu, 31 Aug 2017 00:35:15 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yw0-x22f.google.com with SMTP id s187so38785290ywf.2 for ; Wed, 30 Aug 2017 17:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KykU1Tc9oUJERlooxwMFhmVxWjTKGUD4Gtv1uifDNF8=; b=RBga5HC/cuhHl9kt6OCPjlz0FVq5zrAXzVLdd/051Z4MLq5dzR3DNT4ilTRN8oI8Hi syqwegcpH20zUw2sSji8mBotiB4U5kbHEtYZr1nGgv5KZ0QCexZT56DhVqVyKbfiaVsI UZbr8uhEWMhs6e8z9quueklZIpgW+vFbfqPd5XJVZQdqcCezEJ2AnQAA05KT/C045wer 3egxiEA2aPTI8am+EnRQg1VRwcYB4gWRchOEJhmzvb0qLvcSo1f3KqPMCLk7xnaqQigr 3IOvnt2Dd6PxWgiao+ifloLaMM0W1OIfOrueF0BsCwAhqSzgu9pOEosOB0FYkm4tPMK8 qbkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KykU1Tc9oUJERlooxwMFhmVxWjTKGUD4Gtv1uifDNF8=; b=qVLYCZIgDpymRxHPvgCU3hpBi9YVIDhu3u8Nk5IOLX+RGrcCywtlG1EmRzhbTgV54p qN5HPSBzYaRurg2OsZnX3eowleq7lEt2xBENgsHfSJ4VXyzBgDIY7wCDeQ9TMoM5brKQ CiObIse+6XS6r+8WxyWd8+2vF/mxLwb9iusPNXsKkVsLTBQ6AMEuIZ/znyLwwmyHacIM T8wHhFk2f6FSq4iNlV+rSNOZkE+QSdM+Umvtk81xZ7Z733r/yAxBTJkWEmzaXi9fFJhv X7KTYrHQ5E9evWjl4yPQBKnoyu8eFmOw7TO+7Xne7kRTStzhKOqWBeqWiq6JakJaNdm5 XRrQ== X-Gm-Message-State: AHYfb5h4Wvmrbb5Y62BOixeF11ulXDC+xhElPnZZOWwHmVSMqwBOe5a2 sOQYdRdph2m/0Px2X755fr3BoGHERU0y X-Received: by 10.37.43.7 with SMTP id r7mr2735444ybr.96.1504139714155; Wed, 30 Aug 2017 17:35:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.178.15 with HTTP; Wed, 30 Aug 2017 17:35:13 -0700 (PDT) In-Reply-To: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> From: William Dudley Date: Wed, 30 Aug 2017 20:35:13 -0400 Message-ID: Subject: Re: help creating new gmirror > 2TB To: Frank Leonhardt Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 00:35:15 -0000 I've never heard of AFD, and is having 4K sectors something I have control of? Or is tthat something the manufacturer controls? My drives are: 2 of Seagate 4TB IronWolf NAS SATA 6Gb/s NCQ 64MB Cache 3.5-Inch Internal Hard Drive (ST4000VN008) Which doesn't have the magic word "AFD" anywhere in the description. Also, I happen to like the idea of "fixing" the gmirror code to put it's metadata in the penultimate sector if it discovers GPT in the last sector, but I suppose I shouldn't get my hopes up. Bill Dudley On Wed, Aug 30, 2017 at 5:57 PM, Frank Leonhardt wrote: "I'm sure you'll be okay with MBR assuming it's an AFD (4K sector drive)." On 29/08/2017 21:12, William Dudley wrote: > >> Hi, >> >> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >> >> I have 2 identical 4TB disks. >> >> The examples in freebsd handbook "geom-mirror" pages show creation of a >> 2TB >> mirror using >> MBR partitioning, and that has an upper limit of 2TB. >> > > I still get a bit worried about this, but I'm 99.9% sure you'll be okay > with MBR assuming it's an AFD (4K sector drive). The bodge/workaround > works. If it's SAS instead of SATA, all bets are off. > > Although I use ZFS a lot, I still prefer geom mirror for twin-disk > systems. I feel a lot more comfortable booting from it in the event of a > failure. ZFS has its good points, but so does UFS. > > Trying to get geom mirror to work with GPT as it stands just leads to > pain. I've taken a look at the code with a view to fixing this is no one > else does, but UFS is so un-cool in most circles and I don't fancy doing it > alone in case I zap someone's data. it doesn't look that tricky to move the > metadata somewhere else, and by checking for a GPT you can select between > the old/new block. It's unexpected interactions I'm worried about. > > I think we're safe with MBR until we pass 16Tb. > > Regards, Frank. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Aug 31 01:00:03 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6151EE0E44D for ; Thu, 31 Aug 2017 01:00:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3486C24FD for ; Thu, 31 Aug 2017 01:00:02 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v7V0xs2K028426 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Aug 2017 18:59:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v7V0xsEt028423; Wed, 30 Aug 2017 18:59:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 30 Aug 2017 18:59:54 -0600 (MDT) From: Warren Block To: Frank Leonhardt cc: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB In-Reply-To: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> Message-ID: References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> User-Agent: Alpine 2.21 (BSF 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Wed, 30 Aug 2017 18:59:54 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 01:00:03 -0000 On Wed, 30 Aug 2017, Frank Leonhardt wrote: > On 29/08/2017 21:12, William Dudley wrote: >> Hi, >> >> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >> >> I have 2 identical 4TB disks. >> >> The examples in freebsd handbook "geom-mirror" pages show creation of a 2TB >> mirror using >> MBR partitioning, and that has an upper limit of 2TB. >> >> Some documentation says not to use GPT partitioning with gmirror because >> both store their information in the last sector on the disk. >> >> I'm not expert enough to be able to solve this myself. >> >> How do I create a gmirror of 4TB size? >> >> I want to partition it into 4 slices after I create it, but think I can use >> gpart to do that. >> >> Note: I'm not interested in using zfs unless there's no way to do this with >> gmirror. >> I read too many zfs failure stories on this mailing list to be comfortable >> with zfs. > > I still get a bit worried about this, but I'm 99.9% sure you'll be okay with > MBR assuming it's an AFD (4K sector drive). The bodge/workaround works. If > it's SAS instead of SATA, all bets are off. > > Although I use ZFS a lot, I still prefer geom mirror for twin-disk systems. I > feel a lot more comfortable booting from it in the event of a failure. ZFS > has its good points, but so does UFS. > > Trying to get geom mirror to work with GPT as it stands just leads to pain. > I've taken a look at the code with a view to fixing this is no one else does, > but UFS is so un-cool in most circles and I don't fancy doing it alone in > case I zap someone's data. it doesn't look that tricky to move the metadata > somewhere else, and by checking for a GPT you can select between the old/new > block. It's unexpected interactions I'm worried about. At some point in the last couple of years, hrs@ produced a working patch which did something like that, although I don't remember the details. It moved either the GPT backup table or the gmirror metadata. It was turned down as breaking standards. From owner-freebsd-questions@freebsd.org Thu Aug 31 01:37:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68DCEE0FD19 for ; Thu, 31 Aug 2017 01:37:05 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3254F3C36 for ; Thu, 31 Aug 2017 01:37:05 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id s101so14185770ioe.0 for ; Wed, 30 Aug 2017 18:37:05 -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; bh=Oyoe1fcJ5Ml4PXXnFcmZDduZfOVWvOHeVIe2e8DzWZ8=; b=m7an9iNmJSx5hQURd7nA9aXCSDeOb1TMzfI8/yQ33JGkYWxjNclt3SvZNwWCEukygE 01zsmO9bawf7x6DmZUdm6eyRU5dxl/eMXGTCREYRRmEeP+IBvfQrOY2coaWrV6k5Is+K ViQZuyUGdwxASnWw954BDAAVXHPGrGYgCPlBajy4jtJO2+sVUdszEMWX/tTi89KtDrQp XXilZDq5Xc6xizwq3R9r3zKCgFOFLHWY70KUX6FJPoTWafr9EfvUIW424Wky/qrffpcF gk3wDRi71c08+LX0OlJn4y9Dm94TBhtuO3hG3Mf8P/bKcdHU/7zrX4LUOOkhSRAgogK0 pzFg== 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; bh=Oyoe1fcJ5Ml4PXXnFcmZDduZfOVWvOHeVIe2e8DzWZ8=; b=nQqtNpmkA6eqZe+9RZK80pGGD8F6CvaR5WAaaxAkOKtaBlq/qbIgat4RyHhXmqzfyV PORbNVSIYKM2uD1ND2jQ4Gq3IG1gqaBRKWgffAiJUrPs97n0p8wDWgHZIWoRpKkIQvMS ahiMTFOe8tE5LVw6jy91gbTivX49nBd2YygmpYRoR9Ac0d8uQCxH1lEwEopxxi0ke3BK 24gDEL+x0knOvZhN0uVdEHlOd9aZDDN/dRof/JUequBhk0u5FSS4wS5TghLLuCqZP6iO 0L9AwYHnbbiTI8tvRephkMV/P/+JDGbhS6XwQd5ZEv0zSJVt/Geg0YFpLrtukimuFVE8 fpog== X-Gm-Message-State: AHPjjUiZchwcYiUvOxbdWTOs0OMRzBH9bGO+3ottwKXJQmUBzcGCJufD fv0T3sE7Tp7bZ+N8 X-Received: by 10.107.151.68 with SMTP id z65mr3690936iod.163.1504143424369; Wed, 30 Aug 2017 18:37:04 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id u63sm3186987ioe.85.2017.08.30.18.37.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 18:37:03 -0700 (PDT) Subject: Re: help creating new gmirror > 2TB To: freebsd-questions@freebsd.org References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> From: JD Message-ID: <59A7683F.5070102@gmail.com> Date: Wed, 30 Aug 2017 19:37:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 01:37:05 -0000 I thought that hdparm could work with the firmware to set the sector size. Not sure on this because hdparm has gone through a lot of modifications over the years. On 08/30/2017 06:35 PM, William Dudley wrote: > I've never heard of AFD, and is having 4K sectors something I have control > of? Or is tthat something the manufacturer controls? > > My drives are: 2 of Seagate 4TB IronWolf NAS SATA 6Gb/s NCQ 64MB Cache > 3.5-Inch Internal Hard Drive (ST4000VN008) > > Which doesn't have the magic word "AFD" anywhere in the description. > > Also, I happen to like the idea of "fixing" the gmirror code to put it's > metadata in the penultimate sector if it discovers GPT > in the last sector, but I suppose I shouldn't get my hopes up. > > Bill Dudley > > On Wed, Aug 30, 2017 at 5:57 PM, Frank Leonhardt wrote: > > "I'm sure you'll be okay with MBR assuming it's an AFD (4K sector drive)." > > On 29/08/2017 21:12, William Dudley wrote: >>> Hi, >>> >>> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >>> >>> I have 2 identical 4TB disks. >>> >>> The examples in freebsd handbook "geom-mirror" pages show creation of a >>> 2TB >>> mirror using >>> MBR partitioning, and that has an upper limit of 2TB. >>> >> I still get a bit worried about this, but I'm 99.9% sure you'll be okay >> with MBR assuming it's an AFD (4K sector drive). The bodge/workaround >> works. If it's SAS instead of SATA, all bets are off. >> >> Although I use ZFS a lot, I still prefer geom mirror for twin-disk >> systems. I feel a lot more comfortable booting from it in the event of a >> failure. ZFS has its good points, but so does UFS. >> >> Trying to get geom mirror to work with GPT as it stands just leads to >> pain. I've taken a look at the code with a view to fixing this is no one >> else does, but UFS is so un-cool in most circles and I don't fancy doing it >> alone in case I zap someone's data. it doesn't look that tricky to move the >> metadata somewhere else, and by checking for a GPT you can select between >> the old/new block. It's unexpected interactions I'm worried about. >> >> I think we're safe with MBR until we pass 16Tb. >> >> Regards, Frank. >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >> @freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Aug 31 11:49:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEBF6E1C89F for ; Thu, 31 Aug 2017 11:49:38 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b01.edpnet.be (relay-b01.edpnet.be [212.71.1.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7457274A2A for ; Thu, 31 Aug 2017 11:49:37 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1504179210-0a7ff55c332075a70001-jLrpzn Received: from mordor.lan (213.211.136.209.static.edpnet.net [213.211.136.209]) by relay-b01.edpnet.be with ESMTP id Aiq85L1QwHqGgb0B (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 31 Aug 2017 13:33:31 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.211.136.209.static.edpnet.net[213.211.136.209] X-Barracuda-Apparent-Source-IP: 213.211.136.209 Date: Thu, 31 Aug 2017 13:33:30 +0200 From: Julien Cigar To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections Message-ID: <20170831113330.GA27165@mordor.lan> X-ASG-Orig-Subj: Re: Fun with HAST and inter-host connections References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> User-Agent: Mutt/1.8.2 (2017-04-18) X-Barracuda-Connect: 213.211.136.209.static.edpnet.net[213.211.136.209] X-Barracuda-Start-Time: 1504179210 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.221:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 2804 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.0100 X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.42475 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 11:49:38 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 30, 2017 at 10:40:03PM +0100, Frank Leonhardt wrote: > Please note - I'm pushing what can be done with commodity hardware for=20 > amusement here, and trying to do interesting things with FreeBSD. I *do*= =20 > want to do it this way. >=20 > Okay, so the game is this: I've got some identical hosts with disks and= =20 > I've been working on ways of clustering them for a long time. It's what= =20 > I do for fun, right? >=20 > I'm currently playing with failover storage. Not necessarily with HAST;= =20 > iSCSI is fun and I'm messing with geom stuff in general. But let's stick= =20 > with HAST as it illustrates the dilemma. >=20 > When I started this game, 1Gb Ethernet was blistering. Now it's not so=20 > hot. How do I "network" the hosts with as much throughput as possible=20 > (with IP sockets, preferably)? Options: >=20 > 1) 10Gb Ethernet is expensive. 10Gb switches even more so, but I can do= =20 > point-to-point. >=20 > 2) LAG is more about failover than speed. And anyway, you end up needing= =20 > a lot of Ethernet ports on each host and it soon gets crazy. >=20 > 3) Fibrechannel - if I bought a few old (cheap) fiberchannel cards, I'm= =20 > not sure how I could use them point-to-point. Is this possible and has=20 > anyone done it? >=20 > 4) USB 3.1. 10Gb. PCIe cards cost about $30. Now this sounds fun. IP=20 > over USB anyone? >=20 > Now please don't advise me to get a pair of fabric switches and do the=20 > job properly. That's not what this is about. I want to see if it's=20 > possible to make a fast(er) storage solution using cheap components. A=20 > sort of Redundant Array of Inexpensive NAS. >=20 > Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is anyone= =20 > else crazy enough to be trying the same thing? I've set up a low-cost redundant storage here at work with ZFS + iSCSI, basically a zpool mirror over 2 local disks and 2 iSCSI disks. Failover is done through CARP and devd. It works well (except when Jumbo Frames are turned on) for almost a year now. Just for extra security, and also because some people (smarter than me in this area) advised me against=20 this approach, I've setup a third node with ZFS replication (zrep). Basically if you can afford to lose "some" data, I would suggest to go with ZFS replication. >=20 > Thanks, Frank. >=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.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --T4sUOijqQbZv57TR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlmn9AcACgkQsrs3EKIE I8B76RAAhcTD9BTjYcBOnk4nTjSveSTs6dL5bvMwtqPiaAodU/XDmVYnNaAIMBe+ FyGZOJgpIE9pAPPhtft/rpv/9gR6VDw4tzxQHWG+m5ShVtlyNbMt+a6D8uCaWZGq o7fImWNi0ir4sthtDoUE40zvCAhGJrcEOjCc9JjI9fk1pSoHH6Gc4VTMI8tcZ7Q2 JqLC0axEp+Nd3aI42Po6xApdg89DX8u8QIgvWDgNZoewtQEyi9QMvvgH0SFu5dbK D2MI7FnksxtPcD5hK1u9dcB3nQjWi9NUdEZIFUpKEgTO3OchhJ39MzzsqkEo6x7o Enu8JlA15BbtvWYYPJQ5QLabzArK/dwfxSTrDIb5NMbLoKK0BYGM7auys1S2bYuu LSLqHVSP32j3KSedYVwqrFienOki1uF9vLwJobamZ7kXQ8hTkZiRySdudAr8Dciv WBVBVTl8ohpC90sce/pSZ5fTbGfNV+msPEK1WnulxNOQBYmZCvvzBYdXJQBle8Rs IAWxXQumlcOXeTD5qaGEx4rttik+PHf6VJZgRLnvoKYLFiG9MoEpsJGVzpniUPh5 ldKaktVHa56g79MSAY1rM8ORw326bHJNWbRA71uBUqiyzIhsFVqllYhsqIzkVIQj xGFjooWhZ1P89mpvO6zkVZ8p2NjffWQmNv0WVZZwFNCokcOIG0E= =O5Hm -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- From owner-freebsd-questions@freebsd.org Thu Aug 31 12:07:57 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72F25E1D551 for ; Thu, 31 Aug 2017 12:07:57 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10628758D3 for ; Thu, 31 Aug 2017 12:07:56 +0000 (UTC) (envelope-from uwe@laverenz.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1504181273; s=domk; d=laverenz.de; h=Content-Transfer-Encoding:Content-Language:Content-Type:In-Reply-To: MIME-Version:Date:From:References:To:Subject; bh=5vjWd2V7fJySUSV+SkWtEuspgdm0uZEzlXkzHQoZFw0=; b=B18Y9uFscXgIpxHUCvIqHPVFnvaW5euZ7kuOyN9+iMz41js8u5laf4Kc8GuPQjNP4I Tx/lsSITB70kQm3QiFS1Lo0DhIoevID49TCMLhkoSUkWeuMy5gNeTPv2+k7gx2dKpfeL z+uPqxlLSjO+zvcLoI2TU68AvAbQBulXVGZkU= X-RZG-AUTH: :OXsBVUypbfpT6qxpIFUXA72d7klbo3z+ohMFzEPVuGIfnPHuAPVejPrabg== X-RZG-CLASS-ID: mo00 Received: from t450s.molkerei-ammerland.de (pd95b322a.dip0.t-ipconnect.de [217.91.50.42]) by smtp.strato.de (RZmta 41.4 AUTH) with ESMTPSA id j0757bt7VC7rOCw (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Thu, 31 Aug 2017 14:07:53 +0200 (CEST) Subject: Re: Fun with HAST and inter-host connections To: freebsd-questions@freebsd.org References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> From: Uwe Laverenz Organization: private site Message-ID: <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> Date: Thu, 31 Aug 2017 14:07:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 12:07:57 -0000 Hi, Am 30.08.2017 um 23:40 schrieb Frank Leonhardt: > Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is anyone > else crazy enough to be trying the same thing? 5) 1Gb ethernet and multipathing: use 2 or more interfaces for iSCSI. cu, Uwe From owner-freebsd-questions@freebsd.org Thu Aug 31 14:11:09 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 478A6E1F58B for ; Thu, 31 Aug 2017 14:11:09 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CC467D75F for ; Thu, 31 Aug 2017 14:11:07 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.242.25] ([46.233.78.25]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VEAtw5002911 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2017 15:10:58 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59A818F3.6000307@fjl.co.uk> Date: Thu, 31 Aug 2017 15:10:59 +0100 From: Frank Leonhardt Reply-To: Frank Leonhardt Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:11:09 -0000 On 31/08/2017 01:35, William Dudley wrote: > I've never heard of AFD, and is having 4K sectors something I have control > of? Or is tthat something the manufacturer controls? > > My drives are: 2 of Seagate 4TB IronWolf NAS SATA 6Gb/s NCQ 64MB Cache > 3.5-Inch Internal Hard Drive (ST4000VN008) > > Which doesn't have the magic word "AFD" anywhere in the description. > > Also, I happen to like the idea of "fixing" the gmirror code to put it's > metadata in the penultimate sector if it discovers GPT > in the last sector, but I suppose I shouldn't get my hopes up. > > Bill Dudley > > On Wed, Aug 30, 2017 at 5:57 PM, Frank Leonhardt wrote: > > "I'm sure you'll be okay with MBR assuming it's an AFD (4K sector drive)." > > On 29/08/2017 21:12, William Dudley wrote: >>> Hi, >>> >>> I want to create a simple mirror > 2TB on a FreeBSD 10.3 system. >>> >>> I have 2 identical 4TB disks. >>> >>> The examples in freebsd handbook "geom-mirror" pages show creation of a >>> 2TB >>> mirror using >>> MBR partitioning, and that has an upper limit of 2TB. >>> >> I still get a bit worried about this, but I'm 99.9% sure you'll be okay >> with MBR assuming it's an AFD (4K sector drive). The bodge/workaround >> works. If it's SAS instead of SATA, all bets are off. >> >> Although I use ZFS a lot, I still prefer geom mirror for twin-disk >> systems. I feel a lot more comfortable booting from it in the event of a >> failure. ZFS has its good points, but so does UFS. >> >> Trying to get geom mirror to work with GPT as it stands just leads to >> pain. I've taken a look at the code with a view to fixing this is no one >> else does, but UFS is so un-cool in most circles and I don't fancy doing it >> alone in case I zap someone's data. it doesn't look that tricky to move the >> metadata somewhere else, and by checking for a GPT you can select between >> the old/new block. It's unexpected interactions I'm worried about. >> >> I think we're safe with MBR until we pass 16Tb. >> >> Regards, Frank. >> >> >> Sorry about the AFD - I think it's just called AF Disk now (was also known as Advanced Disk Format at one time). Basically, to get around the 2Tb crunch on MBR the size of the "hardware" sectors was increased from 512 to 4096 bytes (or octets if you want to be modern!) It does reduce the ECC space needed on the disk too, but could cause alignment problems if the OS wasn't aware and was translating 512-byte blocks. IIRC Microsoft sorted this with Windoze 8. But it's only putting off the evil hour when we have to move from MBR to GPT, and break geom mirror. Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:18:01 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3402EE1F87D for ; Thu, 31 Aug 2017 14:18:01 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D9FBE7DE26 for ; Thu, 31 Aug 2017 14:18:00 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.242.25] ([46.233.78.25]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VEHvbk004602 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2017 15:17:58 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59A81A99.3040000@fjl.co.uk> Date: Thu, 31 Aug 2017 15:18:01 +0100 From: Frank Leonhardt Reply-To: frank2@fjl.co.uk Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> <59A7683F.5070102@gmail.com> In-Reply-To: <59A7683F.5070102@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:18:01 -0000 On 31/08/2017 02:37, JD wrote: > I thought that hdparm could work with the firmware to set the sector > size. > Not sure on this because hdparm has gone through a lot of modifications > over the years. > In the good old days, a sector was a sector! Fixed in to the disk by drilling a hole and shining a light through it as it spun past a sensor. IDE (aka S/ATA drives lie a LOT about what they're really doing. If you want them to pretend their sectors are 512b they will. But on the hardware they're fixed at 4K, so they read 4K in and throw away 3.5K. It gets bad if your OS is reading one sector at a time and the drive isn't caching it; and as the FS block size is unlikely to be 512b it gets fraught quite quickly. As you need an inter-sector gap and each sector has an ECC overhead that's not proportional to it's length, having larger physical sectors also means more of the disk is used for data and less for padding and overhead. Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:26:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E670FE1FB1D for ; Thu, 31 Aug 2017 14:26:24 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A8787E355 for ; Thu, 31 Aug 2017 14:26:23 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.242.25] ([46.233.78.25]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VEQJga006533 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2017 15:26:21 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59A81C8F.9020002@fjl.co.uk> Date: Thu, 31 Aug 2017 15:26:23 +0100 From: Frank Leonhardt Reply-To: frank2@fjl.co.uk Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: help creating new gmirror > 2TB References: <26f5e88e-1ea7-6332-ca5e-f055cfbdd280@fjl.co.uk> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:26:25 -0000 On 31/08/2017 01:59, Warren Block wrote: > On Wed, 30 Aug 2017, Frank Leonhardt wrote: >> Trying to get geom mirror to work with GPT as it stands just leads to >> pain. I've taken a look at the code with a view to fixing this is no >> one else does, but UFS is so un-cool in most circles and I don't >> fancy doing it alone in case I zap someone's data. it doesn't look >> that tricky to move the metadata somewhere else, and by checking for >> a GPT you can select between the old/new block. It's unexpected >> interactions I'm worried about. > > At some point in the last couple of years, hrs@ produced a working > patch which did something like that, although I don't remember the > details. It moved either the GPT backup table or the gmirror > metadata. It was turned down as breaking standards. I remember something like this too - if you turn it up please point me at it! I have a feeling that it moved the GPT backup for some reason. Moving the mirror metadata would make more sense, but I assume this was tricky for some reason. I think there's a good argument for a geom mirror2, designed to work with GPT. IME ZFS isn't the universal answer to everything thanks to CoW, random-access R/W files and fragmentation. Until the fragmentation issue can be addressed (e.g. with a defragger) databases and VM images are going to run badly. Another answer would be for a FS to access it at vdev level (i.e. just use the volume manager aspect). At the moment it's a CoW dataset or a CoW dataset. I'd assumed Oracle would have addressed this, given their interest in databases. Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:35:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBF9AE1FDCA for ; Thu, 31 Aug 2017 14:35:00 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8011F7E913 for ; Thu, 31 Aug 2017 14:35:00 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.242.25] ([46.233.78.25]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VEYvlJ008461 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2017 15:34:58 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59A81E95.1060300@fjl.co.uk> Date: Thu, 31 Aug 2017 15:35:01 +0100 From: Frank Leonhardt Reply-To: Frank Leonhardt Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Does NFS client cache? References: <206BE5FE-7A80-4CCA-8107-F3BBD3FC00FA@rafal.net> In-Reply-To: <206BE5FE-7A80-4CCA-8107-F3BBD3FC00FA@rafal.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:35:01 -0000 On 30/08/2017 21:13, Rafal Lukawiecki wrote: > Apologies for my FreeBSD newbieness…coming from CentOS/Amazon Linux and on a fast knowledge ramp-up at the moment. > > I would like to know if the NFS client in FreeBSD performs any/some/none caching of the files clients fetch. I am used to installing fscache (cachefilesd, see http://people.redhat.com/~dhowells/fscache/FS-Cache.pdf) on Linuxes, with an fstab mount flag “fsc” to perform persistent caching to the local *disk*. This gives me significant performance improvements on the Linuxes I have used. Is this not done at all, or done in some other way on FreeBSD? I could not find any relevant ports. > > The use case is cloud-based servers caching centrally managed NFS files that contain rarely changing config and dev data, however all speed-critical data is locally rsynced. > > Many thanks and my regards from Ireland, > Rafal > -- > Sometimes :-) NFS caching is a problem, especially when you consider the effects of fsync() and being POSIX compliant in this respect. If you cache a file, even R/O, then an fsync() operation on one host must invalidate the cache on ALL other hosts before returning. Strictly speaking. In practice there are a lot of kernel tuneables to ignore this (some undocumented IME). You can also comment out the code that deals with the fsync() requests. Best strategy depends on exactly what you're trying to do. I'd probably copy files to local storage as a cron job as an early option. (Thanks for the info on AWS) Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:41:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15509E1FEF5 for ; Thu, 31 Aug 2017 14:41:33 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC6BB7ECE8 for ; Thu, 31 Aug 2017 14:41:32 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [10.4.242.25] ([46.233.78.25]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VEfTSP009900 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2017 15:41:30 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <59A8201D.5010702@fjl.co.uk> Date: Thu, 31 Aug 2017 15:41:33 +0100 From: Frank Leonhardt Reply-To: frank2@fjl.co.uk Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> In-Reply-To: <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:41:33 -0000 On 31/08/2017 13:07, Uwe Laverenz wrote: > Hi, > > Am 30.08.2017 um 23:40 schrieb Frank Leonhardt: > >> Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is >> anyone else crazy enough to be trying the same thing? > > 5) 1Gb ethernet and multipathing: use 2 or more interfaces for iSCSI. > The problem with link aggregation is that you need lots of 1Gb Ethernet cards and run out PCI slots pretty quickly. Or are you suggesting multiple targets bound to a particular interface? Not a bad idea, but the same applies to slots, and you're also limited to 1Gb unless it happens to spread across devices. The PCIe is also going to be a bottleneck, but I'm ignoring this for now. What I really want is the fastest way to connect to boxes using IP (preferably). A geom class using some other hardware might be the best way, but I don't want to launch in to writing one if there's an easy way. Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:44:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E530E201A7 for ; Thu, 31 Aug 2017 14:44:48 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6105E7EF06 for ; Thu, 31 Aug 2017 14:44:48 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: by mail-pf0-x233.google.com with SMTP id g13so2519503pfm.2 for ; Thu, 31 Aug 2017 07:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=/2RMynU1IYOvIoCqJxhLUHLcax8pyPGHx2KRMVW38F4=; b=gf3JG32LLKYbwNzt/grGFvgLVZ6titJqR0E/4vg0KUfSq1792xZdo6veOj9A11yFaK 0roKH8VoMH8wu8vpLIEm6IqW5tbWY8iWVafsUnphsucl2B2qaY7bBeD4+sX5Bv3foFWe efm8Pk8XDfhYtnjeOSbiQJ/1ekhfMz+FXx9O/gcCfMABnHsBC9Y2/EVZungpC5/GqDyi O6ZzFLTGDO1ndBaTIBJtcYd6lUhp/kYQ9oBqHMPKHYHZ0hmkF2S/ZQ4xWyEWka7srz6M xUtT6bmNxEKJAqRl/Ov52O11QhtfLgczBhXJlmyoBgkwyo8JHeGZ9cY1LohszkAMYqWd ILaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=/2RMynU1IYOvIoCqJxhLUHLcax8pyPGHx2KRMVW38F4=; b=suoC2msolCwpylGBx3tKgkj2solME9nnOpW30V4Woe35TZUh1mztrN8sHCgfDMo0UE NtwWSTg+poBBNTLs7LPDtiCf1egbv9BuZp1noXgRvW3uLzy04369C4ua2OwS10YO9yav +ZcyxNeeh0Ct3XOTLAf9zNhHC9bA9CxgmFae1SfE4PmaGFOjej7AMAWCnyFYpOPNh/td 1odr4F8uOUTgAHC3QPRRJI9MiLyYuWkXmDHpHO91Yy9faTW0GM5WKX4sTK9zMAGQ9hH+ CCV+CfS0Ph4YCPD+fTFY14rD//XH2p1emS+cLc4TftzTbGE7RlxE4G5YeOBs5o9HfYOj alug== X-Gm-Message-State: AHYfb5jssQd2ofR9lu6nVZF9dYtZu9VL/nWvea3e4HI+EbE3pV8jW1po 6YEk7ENdDXGYx/lKCeMxhOsummXKo2bP X-Google-Smtp-Source: ADKCNb6oglg9QIwkP+n1on5Dbaq9xepN48deUb/XGlOdfuFzb0zBLi+oKSDnYYke7Ix6JqaP6ZqmOrVHK/9yaIrWIfw= X-Received: by 10.98.198.135 with SMTP id x7mr2571386pfk.101.1504190687276; Thu, 31 Aug 2017 07:44:47 -0700 (PDT) MIME-Version: 1.0 Sender: robbelics@gmail.com Received: by 10.100.170.14 with HTTP; Thu, 31 Aug 2017 07:44:46 -0700 (PDT) From: Rob Belics Date: Thu, 31 Aug 2017 09:44:46 -0500 X-Google-Sender-Auth: aMEsbTyg8ENS3wUA84ZONsWKe0M Message-ID: Subject: VPS that will run xBSD To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:44:48 -0000 I've used ramnode.com for several years. It's a small company but runs well by nice, helpful people. From owner-freebsd-questions@freebsd.org Thu Aug 31 14:57:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75AB8E208E1 for ; Thu, 31 Aug 2017 14:57:23 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 51F277F8AE for ; Thu, 31 Aug 2017 14:57:23 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 47D7B509C2; Thu, 31 Aug 2017 10:57:16 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Does NFS client cache? From: Rafal Lukawiecki In-Reply-To: <59A81E95.1060300@fjl.co.uk> Date: Thu, 31 Aug 2017 15:57:14 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <206BE5FE-7A80-4CCA-8107-F3BBD3FC00FA@rafal.net> <59A81E95.1060300@fjl.co.uk> To: Frank Leonhardt X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 14:57:23 -0000 Thank you, Frank. I will benchmark performance first in the hope that = FreeBSD NFS client is somehow faster than what I have experienced with = Linuxes. Otherwise the copy to local strategy makes a lot of sense. = It=E2=80=99s just so much easier to think and manage with a caching = system=E2=80=A6 Good luck with AWS. And thank you, for helping me understand FreeBSD. Rafal -- Rafal Lukawiecki Data Scientist=20 Project Botticelli Ltd > On 31 Aug 2017, at 15:35, Frank Leonhardt wrote: >=20 > Sometimes :-) NFS caching is a problem, especially when you consider = the effects of fsync() and being POSIX compliant in this respect. If you = cache a file, even R/O, then an fsync() operation on one host must = invalidate the cache on ALL other hosts before returning. Strictly = speaking. In practice there are a lot of kernel tuneables to ignore this = (some undocumented IME). You can also comment out the code that deals = with the fsync() requests. >=20 > Best strategy depends on exactly what you're trying to do. I'd = probably copy files to local storage as a cron job as an early option. >=20 > (Thanks for the info on AWS) >=20 > Regards, Frank. >=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 Thu Aug 31 15:07:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D124E20C6C; Thu, 31 Aug 2017 15:07:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4372C7FEBB; Thu, 31 Aug 2017 15:07:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x233.google.com with SMTP id b2so224056iof.0; Thu, 31 Aug 2017 08:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=biehNS7xeQ+sZ40z16V66Pl08fReakUnVG9ejXDNXWo=; b=cqmd4+yB6DpOBPt0yZGzv9BbYZtTEG47HqytDd0UtoMFcVyKx5X1K4SP1XPAvnuUnZ jVCv2XBU2Ol9H9u4y6/PmXEzdMwJ37byqBkTwe4v1hqGhAXS2dqAay+F6JxHQGqCkKMw X0xrDeef6tyDz9NzftZFE/vXfserPgWGO9QKQLXEucGDhDw8YWJSm46vh8ilab/4xZ6N RGEV9pz6zuDWVw9+y7wIiJUGm2vU3lnnJ4IPRDXzIYT7gWF+kcfXmv+cD+Gqc/jHvfk2 uSwvi8XPYnobiZ1iJYfv3wwXQBdycxEPJtMbjjt+9KW5EKMZaPhgMAA3v6HCMgm75yFv zaWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=biehNS7xeQ+sZ40z16V66Pl08fReakUnVG9ejXDNXWo=; b=AC2eqZ/RzBH6iBt6YeKvUaXVE7hwgoFswqLpBlIDKrkPd1UUeRb3w9cGln6SIUm2nm k0Uj3ccE3tMnvH7mY++t3Gmimivw+8lXJYEoHxDyfkxtnrXf4i/QaSxsxNz7XCYlVQ3Z Dbzc/fVZNx3cfuhkGk9FXqfA2BMTbapVkk/QNnnS36Of2mYdrcTmTCun8MVypQw9sT2H I+z22VRirWku8+GBDK+j1BWi3CXaXfg7LL8T5GE/ihzCzqqpq4mLXSCJHRmUkAUrY/N3 evbLbz5MaStNaFcihTJdWCbf6dyFaSMFiK+fqwLun04ufeIPbEmAexz9iq8lUOyzm8QK aQSQ== X-Gm-Message-State: AHPjjUgx6zGr1gWZeowXAMSegjgeZ/KQRJIOnyla+750Kbg6+jabF3Pc yeR56uS83kBPOEHo X-Google-Smtp-Source: ADKCNb6IiDKqHm88LVwGvSy4eNrfQ/O33kPJBxiNAKotNuTcQIZHVnItBQt2Y4Mvfq/rHJSeYfiGLg== X-Received: by 10.36.65.213 with SMTP id b82mr1126375itd.118.1504192036160; Thu, 31 Aug 2017 08:07:16 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id g75sm2013646ita.4.2017.08.31.08.07.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Aug 2017 08:07:15 -0700 (PDT) Message-ID: <59A82622.4030502@gmail.com> Date: Thu, 31 Aug 2017 11:07:14 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" Subject: standard locations for port files Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:07:17 -0000 Lets say I have a product that I want to port to Freebsd. Were is the standard location for the log file and PID file. Would it be in /usr/local/etc/product/product.log /usr/local/etc/product/product.pid or /var/log/product.log /var/run/product.pid From owner-freebsd-questions@freebsd.org Thu Aug 31 15:16:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 191FCE20F5D; Thu, 31 Aug 2017 15:16:30 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E41B580452; Thu, 31 Aug 2017 15:16:29 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id 10b0eb15 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 31 Aug 2017 09:16:22 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: standard locations for port files From: Adam Weinberger In-Reply-To: <59A82622.4030502@gmail.com> Date: Thu, 31 Aug 2017 09:16:20 -0600 Cc: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> References: <59A82622.4030502@gmail.com> To: Ernie Luzar X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:16:30 -0000 > On 31 Aug, 2017, at 9:07, Ernie Luzar wrote: > > Lets say I have a product that I want to port to Freebsd. > > Were is the standard location for the log file and PID file. > > Would it be in > /usr/local/etc/product/product.log > /usr/local/etc/product/product.pid > > or > > /var/log/product.log > /var/run/product.pid It should be in /var. Many users keep /usr/local mounted read-only. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org From owner-freebsd-questions@freebsd.org Thu Aug 31 15:16:32 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61423E20F63; Thu, 31 Aug 2017 15:16:32 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 277E280453; Thu, 31 Aug 2017 15:16:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 68EF128460; Thu, 31 Aug 2017 17:16:23 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7C1E42846D; Thu, 31 Aug 2017 17:16:21 +0200 (CEST) Subject: Re: standard locations for port files To: Ernie Luzar , "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" References: <59A82622.4030502@gmail.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <59A82844.3070104@quip.cz> Date: Thu, 31 Aug 2017 17:16:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <59A82622.4030502@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:16:32 -0000 Ernie Luzar wrote on 2017/08/31 17:07: > Lets say I have a product that I want to port to Freebsd. > > Were is the standard location for the log file and PID file. > > Would it be in > /usr/local/etc/product/product.log > /usr/local/etc/product/product.pid > > or > > /var/log/product.log > /var/run/product.pid The later is more correct and most of the ports do this. Let's see Apache as example: /var/run/httpd.pid /var/log/httpd-error.log Miroslav Lachman From owner-freebsd-questions@freebsd.org Thu Aug 31 15:25:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA325E00348; Thu, 31 Aug 2017 15:25:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FBDA80A78; Thu, 31 Aug 2017 15:25:27 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x243.google.com with SMTP id f99so1792325ioi.0; Thu, 31 Aug 2017 08:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=8ZZ5p64D7NkGJXYwUyYPi5RmgablhCVnP85CkrsUTww=; b=oidpKlRHTf8p8a+gwHKxWqnAuEDzHwCSEdm0YjrpjOPY4Uor/ghNBMDXifzWz1VC2B RuUOxJM3a9vet8FYBPnaWmIehih4wedPfAF3W6ah/TF2wi+F+PrpZmOq78pjK2JnyBgo ZjideOjdXkWk1szFnS9VZcGFzGwoUjf72wsRL9EjMNVOmMTHDLRGYPCKNVxyE98rm15u AKMCSyWOFQ6leNL4SxgceYYT/R6ECdwWxznETA5Wmp0rWRlvVXTVCZ7HsPWJcCtXylmK kuU0Ii2PyK+/NAoYY4xyzDSNkBiinpzU0O9/m7p8asR62kw+CimLwARGICy2w1HuPg2W 2f5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=8ZZ5p64D7NkGJXYwUyYPi5RmgablhCVnP85CkrsUTww=; b=Iu8iQwy297joS7/2aQ3BrsOyMwqKYxum3K8raPytWKIUEfbtKeqfYHugMD+bkTbdAc dzFn8YtBkZTVqeN6gu+6lCKgl198zfsr43epo5vCZHGdi9EhUX1WNWUGggwF/0ijB9bY QTdZaPk6a+OYSh62ejPukhlcyN+cnJCmDnAKUyqqz/A/fKR5A6rbQXhRbah4RM4iMtUc OsEwyjh2tZiQla0NSDvT+R7lqw05LezsLfNl9TIYSIRyb56WDXHejwEO6acNzs+HVU2x tTqq9Uz1bJ3wdtsPK2lpImPHcWkrGMJB8ymzVUVG8Ak07o7XtWNIH5AhKd1AU0q+Z/HS c9PQ== X-Gm-Message-State: AHYfb5iWPlzx59qEDV1QocXpOJ6ZX/UW1p3xDWTeDrL8KEor8jZ0PPjc VPU0l7oM/gzmByQ6 X-Google-Smtp-Source: ADKCNb6ozURwgtMH+8MZ1yPtms14iqsLqov5TxzsNy9AdCv/4Dy39lyT5+EjpdgSOz/0ikGmXQxNEg== X-Received: by 10.36.177.76 with SMTP id c12mr1119665itj.142.1504193127048; Thu, 31 Aug 2017 08:25:27 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-147.neo.res.rr.com. [74.141.88.147]) by smtp.googlemail.com with ESMTPSA id 10sm2535745ios.55.2017.08.31.08.25.25 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Aug 2017 08:25:26 -0700 (PDT) Message-ID: <59A82A64.4050507@gmail.com> Date: Thu, 31 Aug 2017 11:25:24 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Adam Weinberger CC: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" Subject: Re: standard locations for port files References: <59A82622.4030502@gmail.com> <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> In-Reply-To: <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:25:28 -0000 Adam Weinberger wrote: >> On 31 Aug, 2017, at 9:07, Ernie Luzar wrote: >> >> Lets say I have a product that I want to port to Freebsd. >> >> Were is the standard location for the log file and PID file. >> >> Would it be in >> /usr/local/etc/product/product.log >> /usr/local/etc/product/product.pid >> >> or >> >> /var/log/product.log >> /var/run/product.pid > > It should be in /var. Many users keep /usr/local mounted read-only. > > # Adam > > Lets say /usr/local/etc/product/ is chrooted and the only thing in it is the product.conf. Is there any security benefit for chrooting that directory path? From owner-freebsd-questions@freebsd.org Thu Aug 31 15:34:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27D76E00747 for ; Thu, 31 Aug 2017 15:34:17 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b03.edpnet.be (relay-b03.edpnet.be [212.71.1.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA760814DE for ; Thu, 31 Aug 2017 15:34:15 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1504192855-0a8818159bc93540001-jLrpzn Received: from mordor.lan (213.211.136.209.static.edpnet.net [213.211.136.209]) by relay-b03.edpnet.be with ESMTP id GyjJVjgCFocmpNE8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 31 Aug 2017 17:20:57 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 213.211.136.209.static.edpnet.net[213.211.136.209] X-Barracuda-Apparent-Source-IP: 213.211.136.209 Date: Thu, 31 Aug 2017 17:20:55 +0200 From: Julien Cigar To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections Message-ID: <20170831152055.GD27165@mordor.lan> X-ASG-Orig-Subj: Re: Fun with HAST and inter-host connections References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <20170831113330.GA27165@mordor.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: <20170831113330.GA27165@mordor.lan> User-Agent: Mutt/1.8.2 (2017-04-18) X-Barracuda-Connect: 213.211.136.209.static.edpnet.net[213.211.136.209] X-Barracuda-Start-Time: 1504192856 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.220:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 3326 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.0100 X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.42479 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 15:34:17 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 31, 2017 at 01:33:30PM +0200, Julien Cigar wrote: > On Wed, Aug 30, 2017 at 10:40:03PM +0100, Frank Leonhardt wrote: > > Please note - I'm pushing what can be done with commodity hardware for= =20 > > amusement here, and trying to do interesting things with FreeBSD. I *do= *=20 > > want to do it this way. > >=20 > > Okay, so the game is this: I've got some identical hosts with disks and= =20 > > I've been working on ways of clustering them for a long time. It's what= =20 > > I do for fun, right? > >=20 > > I'm currently playing with failover storage. Not necessarily with HAST;= =20 > > iSCSI is fun and I'm messing with geom stuff in general. But let's stic= k=20 > > with HAST as it illustrates the dilemma. > >=20 > > When I started this game, 1Gb Ethernet was blistering. Now it's not so= =20 > > hot. How do I "network" the hosts with as much throughput as possible= =20 > > (with IP sockets, preferably)? Options: > >=20 > > 1) 10Gb Ethernet is expensive. 10Gb switches even more so, but I can do= =20 > > point-to-point. > >=20 > > 2) LAG is more about failover than speed. And anyway, you end up needin= g=20 > > a lot of Ethernet ports on each host and it soon gets crazy. > >=20 > > 3) Fibrechannel - if I bought a few old (cheap) fiberchannel cards, I'm= =20 > > not sure how I could use them point-to-point. Is this possible and has= =20 > > anyone done it? > >=20 > > 4) USB 3.1. 10Gb. PCIe cards cost about $30. Now this sounds fun. IP=20 > > over USB anyone? > >=20 > > Now please don't advise me to get a pair of fabric switches and do the= =20 > > job properly. That's not what this is about. I want to see if it's=20 > > possible to make a fast(er) storage solution using cheap components. A= =20 > > sort of Redundant Array of Inexpensive NAS. > >=20 > > Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is anyon= e=20 > > else crazy enough to be trying the same thing? >=20 > I've set up a low-cost redundant storage here at work with ZFS + iSCSI, > basically a zpool mirror over 2 local disks and 2 iSCSI disks. Failover > is done through CARP and devd. It works well (except when Jumbo Frames > are turned on) for almost a year now. Just for extra security, and also > because some people (smarter than me in this area) advised me against=20 > this approach, I've setup a third node with ZFS replication (zrep). > Basically if you can afford to lose "some" data, I would suggest to go > with ZFS replication. (of course by "ZFS replication" I mean snapshot and send/receive) >=20 > >=20 > > Thanks, Frank. > >=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= =2Eorg" >=20 > --=20 > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlmoKVQACgkQsrs3EKIE I8A4Xg//SLFQq7htthZXYrSOCF8I8dDhUfwTKBgHssUA2Oj5qzUf4L0MTu97gHmv zljkG3eOFKDNxEJ4MWCV8xwl+rR6OouRAnVhB8Y/KM26iwhqdLBGs5EZisH3k0r/ e9Y5mQTRKhYCv4iLUt6HBcQ9j/v063gA9w6xlvYJN6lvig400EvcFcl0tcnvrMWZ 0keBwXvJ0YKZXYMYGJuwDC/au/XTMnbQ2sr+3vUuNx/1MCkkX8QDmvXMW4ps2JBR NUeT+lImUO9qqGwHRd3hFnHub55eUD1Y0sMMC67icESo1mT2//r/szUGLu8pXPGg XMrgjtp7co8lbg84QW83yqTnDJsR3FR6f44/B5Y84lrb7XLcR5AF1uHVLXVggqgS b8FgWS5MFHutSHxBHyLerQSWfIu9g2Eao+C75Qhu3msN7BfObzztiacBCh+7qmqm n4EmhYnO6z/oe0ShjqusDe64HdpD5UjCgGg/AfDtCNxZRjjb4mDIFrJYLXSftKjV /3Y5L6e8QFU/y/3JSzk2wMYyT8frBt9LjJ9bHRKTN9C8Vnhb+Itf9yEytil9GG7U C8V8qMTclkM41FY9l//U7JDo5ZoXyPNAK+HGZuu/S8XyWW/4wRNcwpEAqje0C2c3 LN9ghpDjs4+23AX9chQXbsTTl7Uknus02b37jo3aYS8mRZ0J7E8= =VCEG -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2-- From owner-freebsd-questions@freebsd.org Thu Aug 31 16:00:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B40EE00E8F; Thu, 31 Aug 2017 16:00:52 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 10EBA820BC; Thu, 31 Aug 2017 16:00:51 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v7VG0fb0046793 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Aug 2017 18:00:42 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: luzar722@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v7VG0Wsh005995 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 31 Aug 2017 23:00:32 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: standard locations for port files To: Ernie Luzar , "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" References: <59A82622.4030502@gmail.com> From: Eugene Grosbein Message-ID: <59A8329C.7020205@grosbein.net> Date: Thu, 31 Aug 2017 23:00:28 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <59A82622.4030502@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 16:00:52 -0000 31.08.2017 22:07, Ernie Luzar wrote: > Lets say I have a product that I want to port to Freebsd. > > Were is the standard location for the log file and PID file. > > Would it be in > /usr/local/etc/product/product.log > /usr/local/etc/product/product.pid > > or > > /var/log/product.log > /var/run/product.pid FreeBSD cleans /var/run at boot time, so /var/run/product.pid is guaranteed to not exist when "product" is first started that time. On the other hand, /usr/local/etc/product/product.pid can (and will) exist after unclean system reboot and it can contain a PID of already running another process, so that simple check for double-start would fail. So, use /var/run for PID files to be safe. From owner-freebsd-questions@freebsd.org Thu Aug 31 16:05:31 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3C0E0111D; Thu, 31 Aug 2017 16:05:31 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AC7382678; Thu, 31 Aug 2017 16:05:31 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 002E3BDD2F; Thu, 31 Aug 2017 18:05:28 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id D4568BDD2D; Thu, 31 Aug 2017 18:05:27 +0200 (CEST) Subject: Re: standard locations for port files To: Ernie Luzar , Adam Weinberger Cc: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" References: <59A82622.4030502@gmail.com> <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> <59A82A64.4050507@gmail.com> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: Date: Thu, 31 Aug 2017 18:05:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59A82A64.4050507@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 16:05:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF Content-Type: multipart/mixed; boundary="3eEShrigsC23DIN2JSuQ5UOePcFakxweQ"; protected-headers="v1" From: Mathieu Arnold To: Ernie Luzar , Adam Weinberger Cc: "freebsd-questions@freebsd.org" , "freebsd-ports@freebsd.org" Message-ID: Subject: Re: standard locations for port files References: <59A82622.4030502@gmail.com> <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> <59A82A64.4050507@gmail.com> In-Reply-To: <59A82A64.4050507@gmail.com> --3eEShrigsC23DIN2JSuQ5UOePcFakxweQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Le 31/08/2017 =C3=A0 17:25, Ernie Luzar a =C3=A9crit=C2=A0: > Adam Weinberger wrote: >>> On 31 Aug, 2017, at 9:07, Ernie Luzar wrote: >>> >>> Lets say I have a product that I want to port to Freebsd. >>> >>> Were is the standard location for the log file and PID file. >>> >>> Would it be in >>> /usr/local/etc/product/product.log >>> /usr/local/etc/product/product.pid >>> >>> or >>> >>> /var/log/product.log >>> /var/run/product.pid >> >> It should be in /var. Many users keep /usr/local mounted read-only. >> >> # Adam >> >> > Lets say /usr/local/etc/product/ is chrooted and the only thing in it > is the product.conf. Is there any security benefit for chrooting that > directory path? > The etc directory is for configuration files and scripts, that is, files that almost never changes. Do *not* put pid or log files in there. --=20 Mathieu Arnold --3eEShrigsC23DIN2JSuQ5UOePcFakxweQ-- --rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJZqDPHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IJAUQAIb9Ns69r7FBiq2GTSZ1aOdz NBLLg2JfDiNFvaX+DIx/wa7fDziX9JHK+Ex6MZkIM4Nj0LynIYm7mMZwqDR+RVQ3 D8DGWrjv0nX+kqN5sLotNQti9iGjYD6O+hXj6Be+qQeQmieIlz51ZPRs5y7SnG5A jvzHiNVOJFHa/U7Md5iWBTwSOhZ04y0HnYFX03F0h1ibPdFcWJLLoXkB/uvju26P mEJpWaWOnErzOZdW37++Y/v4WWc0/KpZcVlIfGvfbeR31Oeo5VsTRk7dkepemhfq lVDmhJJVxgHhBfNs9BciZrDmg7XzsXA6KXbb6uUtvOFKiy2Aakne0zaJ0b3BY2S9 WDj2K0cAlfWiTS84GpcgnFEUNdPEbvPWvY4EXpW9HAdx7W1aN+loVq2HgCWCDF39 EVoL68cGueN6IkVY3ezqzScTn9OLQ/6Oc71KVSlaVJcAZzZEO7rhsSQdWyhbkEGx xzdt/no/0zf9aTMJIixqFYl7Oj2ueae3osk7IhqYCOA0DBkeObx4o+EDIA6lPlAz oNBEYyTSck1ZHl9dQ/m5bwo5fyAhe9PCbrcOAEDmWoq3K1HSAR5XQbacVlkwgGmU icOvE3UNFWeFwTSkpMJjleG+wOJu2IoX2GhUlReaGlPnribRpmiZxub5D1l2ksqO tqlp1ysSH4ZAIAG4U3BL =H3NL -----END PGP SIGNATURE----- --rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF-- From owner-freebsd-questions@freebsd.org Thu Aug 31 16:56:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21643E01E21 for ; Thu, 31 Aug 2017 16:56:45 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 F23A22B5 for ; Thu, 31 Aug 2017 16:56:44 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 70A86509B6 for ; Thu, 31 Aug 2017 12:56:43 -0400 (EDT) From: Rafal Lukawiecki Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Why pkg offers different versions of packages on two machines? Message-Id: References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> To: Ralf Mardorf via freebsd-questions Date: Thu, 31 Aug 2017 17:56:42 +0100 X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 16:56:45 -0000 Apologies for another newbie question. Trying to get my head around = package management. If I run "pkg search certbot" using the official AWS FreeBSD = 11.1-RELEASE image it finds: py27-certbot-0.16.0_1,1 Let's Encrypt client but if run the same search using my locally installed FreeBSD, which = happens to be a slightly older, 11.0-STABLE, I find the newer (which = also happens to be the current) version of that package: py27-certbot-0.17.0,1 Let's Encrypt client In both cases pkg.conf and the repo config are the same, with all the = settings at their unchanged by me defaults (url: = "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly=E2=80=9D). Both versions of = pkg itself are the same. As far as I can see, I am resolving to the same = mirror in both cases, as I see the same IP (213.138.116.73) when I ping = pkg.freebsd.org. When I manually navigate to = http://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/ I can see the = older version of the package (py27-certbot-0.16.0_1,1) on the server. = When I navigate to the latest tree = (http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/) I can see the = newer package in there. Why does my locally installed pkg find the newer version if both configs = point to the same, quarterly, repo URL? Many thanks, Rafal -- Rafal Lukawiecki Data Scientist=20 Project Botticelli Ltd From owner-freebsd-questions@freebsd.org Thu Aug 31 16:59:52 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA202E01EF4 for ; Thu, 31 Aug 2017 16:59:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA7D66A for ; Thu, 31 Aug 2017 16:59:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id m85so221480wma.0 for ; Thu, 31 Aug 2017 09:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gvTWWKIkHtHBqR9Wcd8dInSYrk0Wuxy2vob72Mg+15E=; b=DZulHKrhwA0KZTIuEKbLlkXZ8JaCk7H/oLbIg/CuzNV+5ouOTJ5RNLXMZBE0uPHh6U wWmGYhhsqximYrhDNKMput5jwvKyRtC2OoU1vRdk82jlWpnwPp59rDR2er6L75SK1zig s8NZDy0h9TUMqcLA8Xswkiyd8JJ+mHL5CtkgOPaw+/2NKAPJtAUk1l98ickYs22eDSHY Bu6SG74J5NR1ipRQ5kTqCXqLHK6NHkEuXM03bjtTVMT75sxi8WTj1agDbPMKitqQqg06 eO1WcdElrgBXCk4T9rosTiZwu3N3aLdiwdfzWI28R/3qtjOB6CshleuPJSl4zLYEWSCA ksDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gvTWWKIkHtHBqR9Wcd8dInSYrk0Wuxy2vob72Mg+15E=; b=dCHPFlAYpdBUL68HmeCETyQNF/qSfNCHOChpw0wVGcmPI6gZF4BKE469itf7111eGm OT9PZyuH48F8DcVTL5islF111Bpu/NZIYpMLk+W2wwql9o1GICOTOjVNwhV9n9PLvbT5 UWkZ/QcooxeF0KpW+F4smqnamfrZS6sgpIGCaTZ3RJ5jCXLbynA3+iBy54bciDz9Rhqw e3z+f/ezVHkz8+G+8H1TavRwdrGNafg+0cl3CU7QnlE6qwGBOOF87Xa94ybtdBNe0QTj AQH6eRqrlOoawFbRZlqN36kl6o88pK//ZADvqWrOmPwoqDI2EPtjn94WEvyXkq9cyEqU Um/w== X-Gm-Message-State: AHYfb5hMYyopWzwD4EiPrAZxzpdEQGNh1mJ2AULigRx1cEG6XHPPde5V 9R5szSdGNN0QqGbBly3z2crLkDXeK/Yx X-Google-Smtp-Source: ADKCNb5VtlFeri+w37x03/70ln+0JBb7IM/aWdEwCVSSZdNPdSAh/oJTzdeZpC9BPybO9zrnBX1gP+7jyUqQiOUf344= X-Received: by 10.80.150.196 with SMTP id z4mr2045043eda.290.1504198790779; Thu, 31 Aug 2017 09:59:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Thu, 31 Aug 2017 09:59:50 -0700 (PDT) In-Reply-To: References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> From: Adam Vande More Date: Thu, 31 Aug 2017 11:59:50 -0500 Message-ID: Subject: Re: Why pkg offers different versions of packages on two machines? To: Rafal Lukawiecki Cc: Ralf Mardorf via freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 16:59:52 -0000 On Thu, Aug 31, 2017 at 11:56 AM, Rafal Lukawiecki wrote: > Apologies for another newbie question. Trying to get my head around > package management. > > If I run "pkg search certbot" using the official AWS FreeBSD 11.1-RELEASE > image it finds: > > py27-certbot-0.16.0_1,1 Let's Encrypt client > > but if run the same search using my locally installed FreeBSD, which > happens to be a slightly older, 11.0-STABLE, I find the newer (which also > happens to be the current) version of that package: > > py27-certbot-0.17.0,1 Let's Encrypt client > > In both cases pkg.conf and the repo config are the same, with all the > settings at their unchanged by me defaults (url: "pkg+ > http://pkg.FreeBSD.org/${ABI}/quarterly=E2=80=9D). Both versions of pkg i= tself > are the same. As far as I can see, I am resolving to the same mirror in > both cases, as I see the same IP (213.138.116.73) when I ping > pkg.freebsd.org. > > When I manually navigate to http://pkg.freebsd.org/ > FreeBSD:11:amd64/quarterly/All/ I can see the older version of the > package (py27-certbot-0.16.0_1,1) on the server. When I navigate to the > latest tree (http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/) I can > see the newer package in there. > > Why does my locally installed pkg find the newer version if both configs > point to the same, quarterly, repo URL? > > Many thanks, > Rafal > -- > Rafal Lukawiecki > Data Scientist > Project Botticelli Ltd > > _______________________________________________ > 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" Please provide the output of this from both systems: pkg -d search certbot --=20 Adam From owner-freebsd-questions@freebsd.org Thu Aug 31 17:02:04 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 835CAE02081 for ; Thu, 31 Aug 2017 17:02:04 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 5E517A43 for ; Thu, 31 Aug 2017 17:02:04 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A2457509B8; Thu, 31 Aug 2017 13:02:02 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Why pkg offers different versions of packages on two machines? From: Rafal Lukawiecki In-Reply-To: Date: Thu, 31 Aug 2017 18:02:01 +0100 Cc: Ralf Mardorf via freebsd-questions Content-Transfer-Encoding: 7bit Message-Id: References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> To: Adam Vande More X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 17:02:04 -0000 > On 31 Aug 2017, at 17:59, Adam Vande More wrote: > > Please provide the output of this from both systems: > > pkg -d search certbot > > -- > Adam Cloud system outputs: DBG(1)[2544]> pkg initialized py27-certbot-0.16.0_1,1 Let's Encrypt client Local machine outputs: DBG(1)[18310]> pkg initialized py27-certbot-0.17.0,1 Let's Encrypt client Rafal From owner-freebsd-questions@freebsd.org Thu Aug 31 22:33:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E774E07CD7 for ; Thu, 31 Aug 2017 22:33:11 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78B226A97D for ; Thu, 31 Aug 2017 22:33:09 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v7VMWvOa016094 for ; Thu, 31 Aug 2017 23:32:57 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: using gmirror and zfs mirror on the same box -- thoughts? To: freebsd-questions@freebsd.org References: <012a6d18-7f67-9855-1740-479329bf9a65@gmail.com> From: Frank Leonhardt Message-ID: <8930b791-c872-cc6c-55b0-189f405a3b05@fjl.co.uk> Date: Thu, 31 Aug 2017 23:32:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <012a6d18-7f67-9855-1740-479329bf9a65@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 22:33:11 -0000 On 17/08/2017 23:48, Shamim Shahriar wrote: > Good evening all, hope everyone is well. > > I have a strange requirement for a particular system that will sit at > a remote location. I intend to use mirror, but at the same time > encrypt the system. Boot time encryption is not an option -- I need > the system to boot up normally (with network and ssh running, so I can > do the rest remotely) and do not wish to risk the normal bootup due to > some issues with either geli or other matters (fsck after a power out > comes to mind). I would like to have the OS part mirrored as well the > data part. As for the data part -- I definitely wish to use zfs with > encryption. Encrypting OS is not necessary (but if can be done safely, > ideas are welcome) > > Now, I can use multiple zpool, but then all of them will try to be > active/functional when the machine boots. If I intend to encrypt the > data pool (geli), then it needs to wait until the encryption part is > taken care of. > > So, I am thinking (probably in a very wrong way, corrections welcome), > if I get the OS part gmirror-ed, then that comes up with the OS, I > have network and ssh to get into the system, and then manually run the > encryption and zfs part. > > The system has 8GB RAM, which I am assuming should be good enough for > geli, gmirror and zfs parts. > > If anyone has any better suggestion/scenerio to share, that is greatly > welcome. If you think this might actually be disfunctional, please > share your thoughts on that (preferably with explanation as to why > this is a bad idea). if you have any suggestion that you think is a > much better option, please do feel free to share. Hi Shamim, This sounds like a very good idea to me. I often go for mixed systems; boot off geom mirrored UFS drives and use ZFS for storage. At one time you had to boot from UFS, and it's only been simple to boot from ZFS since 10.0 (IIRC). Although you can boot from a complex raidz array it has problems. For example, when you swap a failed drive you don't get the boot code back unless you put it there. And there's also more to go wrong (HBA, SAS expander and so on). If you boot from a pair of SATA drives directly connected to the motherboard it's just more likely to work. And the final "good thing" about booting from a mirrored UFS is that you can use the drive for faster database storage - eli a partition for this if needed. Booting from a geom mirror seems to have broken since 11 - you might want to read this: http://blog.frankleonhardt.com/2017/zfs-is-not-always-the-answer-bring-back-gmirror/ Regards, Frank. From owner-freebsd-questions@freebsd.org Thu Aug 31 22:49:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0327FE08970 for ; Thu, 31 Aug 2017 22:49:19 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm32.bullet.mail.ir2.yahoo.com (nm32.bullet.mail.ir2.yahoo.com [212.82.96.57]) (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 766BD6B0F7 for ; Thu, 31 Aug 2017 22:49:17 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from [212.82.98.55] by nm32.bullet.mail.ir2.yahoo.com with NNFMP; 31 Aug 2017 22:46:43 -0000 Received: from [46.228.39.78] by tm8.bullet.mail.ir2.yahoo.com with NNFMP; 31 Aug 2017 22:46:43 -0000 Received: from [127.0.0.1] by smtp115.mail.ir2.yahoo.com with NNFMP; 31 Aug 2017 22:46:43 -0000 X-Yahoo-Newman-Id: 130599.90084.bm@smtp115.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: .WXXGZwVM1kwDTk8zuhFHFCOb_Lzn2Mc_UB7FP9u9DKW7zW qvxpUiSinLXTOO9SPPctH0JNiCNQ4V4zvljra2VqbpT48dTPo_XJhBNsKmVf qFVCNhfXJQbNDTt_Kxv86tGU688mS8u45xTY1PjwWdaSsxFCpgzUoTOdZIGY WYSQ7lywXQfFRkEVywZhQDCQ9wAkwXimdh5IY_KiVVp6ZAQrnWCSF_.kk8HX IpiRo5Pk5Z0ZBZcLaF0ZymeWB8rCu6U1xcqrN3UDiLolp2eiK0ofJSGSuMTo kHQt143WWI4t3EI.NmdXgF9EaLhtcmxGofDajblZBDDOtjl9NAKbk8i8HWcS qIeMlPc8BG6rwqGD3xiBTzEGIZekyHNODyMSKQPEhLMY34A_PBSYuuW5i5eA UoLdYrBzqUTUvS1k4K3n9cEBiXVmSpBxKJsumiawTfqObVHZqBWuz1MYt6wk ws7ZdV3rG7QJvJ5YBnEz4yJp_Og72pjgV9C9Dlh3Ey6djr9JrMLVOuPLdN8w tHsml X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Fri, 1 Sep 2017 00:50:54 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections Message-Id: <20170901005054.66c13aa18da29aaaf8064836@yahoo.es> In-Reply-To: <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 22:49:19 -0000 On Thu, 31 Aug 2017 14:07:49 +0200 Uwe Laverenz wrote: > Hi, > > Am 30.08.2017 um 23:40 schrieb Frank Leonhardt: > > > Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is > > anyone else crazy enough to be trying the same thing? > > 5) 1Gb ethernet and multipathing: use 2 or more interfaces for iSCSI. 6) Use Dolphinic pci express cards (I'm not affiliated) (No BSD drivers). Allows interconnect 2 servers via raw Pci express or use a pci express router to add more. https://www.dolphinics.com https://www.dolphinics.com/products/PXH810.html 7) I developed a backup using sctp with cmt instead tcp. It used, all ethernet cards simultaneusly, converting sata3 in the bottleneck. --- --- Eduardo Morras From owner-freebsd-questions@freebsd.org Thu Aug 31 23:49:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B581E0B9CE for ; Thu, 31 Aug 2017 23:49:23 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ua0-x236.google.com (mail-ua0-x236.google.com [IPv6:2607:f8b0:400c:c08::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1210E6D0EA for ; Thu, 31 Aug 2017 23:49:23 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-ua0-x236.google.com with SMTP id g16so1780984uah.3 for ; Thu, 31 Aug 2017 16:49:23 -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; bh=aIWIJND8aPxp8fInh7JIl6Mzr5UdIGjJC/RbQcQJRcA=; b=piAIWOO3ZzaG8hKy8EK/h2RdtLc/tOgQ7vLyQmXJWHdbvxec5PsK93DDt57cWDt1ZS PhCQMwR/h7JR20MvYmkl/fxRPYSGmU8MC1aN5vvbQ1nXuha1eDTnO70HncVZGZEnxqAd DvfPqTis2PmN8cFkaCCqPCUCggiIXB4Rdju3fhvqWC124F8/u7qamw5zNPIWIu+bGpty jI2h0zcIatJqfCU65hantbXQGEy8Z7gr4claF1EEQTu88u1BussHU6Ymi61kmnI+TCgP comLylgONbAGU66oj3K1OGmtaaOgNYb1VB13XF9raoOa8FP8QPO1x1RXD/8PFYjyLFZO QTJw== 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; bh=aIWIJND8aPxp8fInh7JIl6Mzr5UdIGjJC/RbQcQJRcA=; b=bH7cpIbnwUMD4Jg/JMc7Mf3/c5RbbJHxkjSYlNKGLmKTOdkqqqBb448e8mB+fbgE4X HPjtu/S/Lb4IFCMo8m7X7qqTaKRsHkx0TBi8dRLmW6+IzIQzQeilkQRqh/6YSvL2Qllf x7TnCGUJUT5ZwyFhqeCBCco7MoUBIvNEcWfwBDjAJg4JN0JL2T1E6y+OkR4rhrwPPwlD 8KjiM76CH++b/eVpFlKVNUR2ypqY4qJd7aXh/Fh+Kv0G/ZoZokXnTCLmf7w1xW7Vzb7U tAad9qw414MuxUbNwWTB/kTFj4hHE97tmVojEFAwYcQQV6AaZ8aHMEgEWIXoM5kRPnB8 jU9w== X-Gm-Message-State: AHPjjUi19AE5OgVNq3ZWE8GR300cMJztSxCdT71QJM1p1jlhELuOCYE3 frDkod+zBMU2DVSoGpPnFQcIDo9NQCCe X-Google-Smtp-Source: ADKCNb50e1+hCKVfPBr+HoEyKHNtUD+sdc0Ic/IS62A1ZQH8apb/Q23UOSH/YXeR1/adAKw1e+YI+tZY+EwkqxXTFp8= X-Received: by 10.176.2.18 with SMTP id 18mr118199uas.16.1504223362100; Thu, 31 Aug 2017 16:49:22 -0700 (PDT) MIME-Version: 1.0 References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> In-Reply-To: From: Ben Woods Date: Thu, 31 Aug 2017 23:49:11 +0000 Message-ID: Subject: Re: Why pkg offers different versions of packages on two machines? To: Rafal Lukawiecki , Ralf Mardorf via freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 23:49:23 -0000 On Fri, 1 Sep 2017 at 12:57 am, Rafal Lukawiecki wrote: > Apologies for another newbie question. Trying to get my head around > package management. > > If I run "pkg search certbot" using the official AWS FreeBSD 11.1-RELEASE > image it finds: > > py27-certbot-0.16.0_1,1 Let's Encrypt client > > but if run the same search using my locally installed FreeBSD, which > happens to be a slightly older, 11.0-STABLE, I find the newer (which also > happens to be the current) version of that package: > > py27-certbot-0.17.0,1 Let's Encrypt client > > In both cases pkg.conf and the repo config are the same, with all the > settings at their unchanged by me defaults (url: "pkg+ > http://pkg.FreeBSD.org/${ABI}/quarterly=E2=80=9D). Both versions of pkg i= tself > are the same. As far as I can see, I am resolving to the same mirror in > both cases, as I see the same IP (213.138.116.73) when I ping > pkg.freebsd.org. > > When I manually navigate to > http://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/ I can see the > older version of the package (py27-certbot-0.16.0_1,1) on the server. Whe= n > I navigate to the latest tree ( > http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/) I can see the newer > package in there. > > Why does my locally installed pkg find the newer version if both configs > point to the same, quarterly, repo URL? > > Many thanks, > Rafal > -- > Rafal Lukawiecki > Data Scientist > Project Botticelli Ltd Hi Rafal, FreeBSD STABLE and CURRENT branches use the "head" pkg repo by default, whilst FreeBSD RELEASE branches use the "quarterly" pkg repo by default. The 2017Q3 quarterly branch only has py27-certbot-0.16.0_1,1 right now, whilst the ports head branch has py27-certbot-0.17.0,1. So you FreeBSD-11 STABLE build must be using the head branch. Regards, Ben --=20 -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-questions@freebsd.org Thu Aug 31 23:54:34 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A35B8E0BEBB for ; Thu, 31 Aug 2017 23:54:34 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 46B106D4F8 for ; Thu, 31 Aug 2017 23:54:33 +0000 (UTC) (envelope-from raf@rafal.net) Received: from [192.168.40.37] (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 88BD5509B8; Thu, 31 Aug 2017 19:54:31 -0400 (EDT) From: Rafal Lukawiecki Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Why pkg offers different versions of packages on two machines? Date: Fri, 1 Sep 2017 00:54:29 +0100 In-Reply-To: Cc: Ralf Mardorf via freebsd-questions To: Ben Woods References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 23:54:34 -0000 > On 1 Sep 2017, at 00:49, Ben Woods wrote: > > Hi Rafal, > > FreeBSD STABLE and CURRENT branches use the "head" pkg repo by default, w= hilst FreeBSD RELEASE branches use the "quarterly" pkg repo by default. > > The 2017Q3 quarterly branch only has py27-certbot-0.16.0_1,1 right now, w= hilst the ports head branch has py27-certbot-0.17.0,1. > > So you FreeBSD-11 STABLE build must be using the head branch. > > Regards, > Ben > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com Thank you, Ben, this makes sense. Is this behaviour configured in /etc/pkg/= FreeBSD.conf, in which case I don=E2=80=99t see quite where. This is the con= f from my STABLE which is pulling latest. Or am I looking in the wrong place= ? # $FreeBSD: releng/11.0/etc/pkg/FreeBSD.conf 303975 2016-08-11 23:39:23Z gj= b $ # # To disable this repository, instead of modifying or removing this file, # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf= # FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } Thank you, Rafal From owner-freebsd-questions@freebsd.org Fri Sep 1 00:09:13 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B6A3E0CE94 for ; Fri, 1 Sep 2017 00:09:13 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0711D6E02F for ; Fri, 1 Sep 2017 00:09:13 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id v2so6616436wmf.0 for ; Thu, 31 Aug 2017 17:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+P3MnjQbnRjH3WpFEi2w18VlHozyhaa6CJwwkg8vuNw=; b=agHyRrx5K1HBIupgl73p1NCBychxbdLC1iwJemuZaFgKm7Am+AyF7YMDvKeRLYwVRQ G77c/QxtAFestpT5uZhXy4JuJWtEHKddyYuy2Ob+6MsssEn0fpZfEz1bfY/gu/15FQBF l9GJD2InNXkq3FaViKjl9467JmDVy4iGVPl2N2QPM9mopCCExBpj6lIgmX/x1NLGgVI0 dH+svs4tfAbJz/zR9VQOynIHUwEoeSi+S3Vph94vKleWjgKOCwCpga/rY+huMn0EwqYX SdfiWeqeMuIagyPOMOkMDFxV5/t99hQuTjU5cMJAfP7Gf+oltR9hNJ+q29Q9LBNdezzz o6vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+P3MnjQbnRjH3WpFEi2w18VlHozyhaa6CJwwkg8vuNw=; b=NeJsLS5aluP+B6iCQfUS/Xf183lGtucrWI9dlnpp+BHBOj+G+kNQIBs+52mb5PXxVe 1EJszo4p6Skq2T+WVUUS8CZIJG1rJZLdsnn/CWEIxp06ON/dLqgzdQd7VL08vyWTWKY+ oNZMh0DHfCTDWeejVQEr3n7XrRuapFc1AZMkKcGLrhvCqbuPqpmXvCfP/PIadaP6F8iD T5s5SsQocumLuUv0Dq2abO+kgXs9+aHOFaEEfKqrhjpgPOi3v73WhJNTPU3PMYKGWfAd PVi5SuTzLxb7KFxqjQz6IxpzXv/5HxhRsenmyWOGuHEcCNvL3FBEoxLnlZ38o7m+gPao hmFw== X-Gm-Message-State: AHPjjUgVgDQ/9sa9hCnDbhsE+++cpQeU9eelkl2jk3Bq/QoD/6UJvgYZ mfyxgfBXE7lbhf4pmJUu1V4FdgHP+A== X-Google-Smtp-Source: ADKCNb4P9ILWh8yg8o7tsegqVikUGvvoZc+xlqrfgX95vKUQWmtQFo00wqQKxYsAE1oZTxnFSK4IocxBtxEckVZYTXw= X-Received: by 10.80.183.34 with SMTP id g31mr122167ede.133.1504224550496; Thu, 31 Aug 2017 17:09:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.157.140 with HTTP; Thu, 31 Aug 2017 17:09:09 -0700 (PDT) Received: by 10.80.157.140 with HTTP; Thu, 31 Aug 2017 17:09:09 -0700 (PDT) In-Reply-To: <8930b791-c872-cc6c-55b0-189f405a3b05@fjl.co.uk> References: <012a6d18-7f67-9855-1740-479329bf9a65@gmail.com> <8930b791-c872-cc6c-55b0-189f405a3b05@fjl.co.uk> From: Shamim Shahriar Date: Fri, 1 Sep 2017 01:09:09 +0100 Message-ID: Subject: Re: using gmirror and zfs mirror on the same box -- thoughts? To: Frank Leonhardt Cc: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 00:09:13 -0000 Hi Frank, thanks for your feedback, much appreciated. I'm not sure about gmirror being broken -- I am experiment (currently) with 12 current on a very broken machine which seem to be working fine. The way the machine is broken -- it is a Lenovo tower, supposed to work either legacy or efi booting, but fails with efi booting in most cases with drives that occasionally boots, and cannot boot legacy or efi from gpt drives at all. Only thing seem to work properly is legacy bit with MBR. So I used a couple of 1tb drives, made MBR partitions -- 3 slices, first with root boot and the lot, 2nd with tmp and swap (did not want to mirror those, so the second HDD has /var/tmp and swap), third slice with zfs only. The first slices in gmirror, third slices geli encrypted zfs mirror. Seems to be working fine. So far I have not noticed any data error. I'm to some extent certain that if the machine could boot from gpt, I could have gotten away without having to do slices and use just partitions. But cannot confirm until I try out the actual machine. I'll need to check the link you sent, but that will be tomorrow. Badly in need of a shut eye. Thanks again. On 31 Aug 2017 11:33 pm, "Frank Leonhardt" wrote: On 17/08/2017 23:48, Shamim Shahriar wrote: > Good evening all, hope everyone is well. > > I have a strange requirement for a particular system that will sit at a > remote location. I intend to use mirror, but at the same time encrypt the > system. Boot time encryption is not an option -- I need the system to boot > up normally (with network and ssh running, so I can do the rest remotely) > and do not wish to risk the normal bootup due to some issues with either > geli or other matters (fsck after a power out comes to mind). I would like > to have the OS part mirrored as well the data part. As for the data part -- > I definitely wish to use zfs with encryption. Encrypting OS is not > necessary (but if can be done safely, ideas are welcome) > > Now, I can use multiple zpool, but then all of them will try to be > active/functional when the machine boots. If I intend to encrypt the data > pool (geli), then it needs to wait until the encryption part is taken care > of. > > So, I am thinking (probably in a very wrong way, corrections welcome), if > I get the OS part gmirror-ed, then that comes up with the OS, I have > network and ssh to get into the system, and then manually run the > encryption and zfs part. > > The system has 8GB RAM, which I am assuming should be good enough for > geli, gmirror and zfs parts. > > If anyone has any better suggestion/scenerio to share, that is greatly > welcome. If you think this might actually be disfunctional, please share > your thoughts on that (preferably with explanation as to why this is a bad > idea). if you have any suggestion that you think is a much better option, > please do feel free to share. > Hi Shamim, This sounds like a very good idea to me. I often go for mixed systems; boot off geom mirrored UFS drives and use ZFS for storage. At one time you had to boot from UFS, and it's only been simple to boot from ZFS since 10.0 (IIRC). Although you can boot from a complex raidz array it has problems. For example, when you swap a failed drive you don't get the boot code back unless you put it there. And there's also more to go wrong (HBA, SAS expander and so on). If you boot from a pair of SATA drives directly connected to the motherboard it's just more likely to work. And the final "good thing" about booting from a mirrored UFS is that you can use the drive for faster database storage - eli a partition for this if needed. Booting from a geom mirror seems to have broken since 11 - you might want to read this: http://blog.frankleonhardt.com/2017/zfs-is-not-always-the-an swer-bring-back-gmirror/ Regards, Frank. _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Sep 1 08:58:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CB8FE1A4E3 for ; Fri, 1 Sep 2017 08:58:43 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA7CC6805C for ; Fri, 1 Sep 2017 08:58:42 +0000 (UTC) (envelope-from uwe@laverenz.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1504256320; s=domk; d=laverenz.de; h=Content-Transfer-Encoding:Content-Language:Content-Type:In-Reply-To: MIME-Version:Date:From:References:To:Subject; bh=Y4Yr7J4huITqtgNihj29vreeBee9Cu9/bIiYwpTdapQ=; b=rICd79QGdGBfZQVYdW9IGFmqc2NC8lGk2812PeV6LfBCd5KtPnGepjrkI+am3+jCoF K/aAt+oZLQXVCTdQPomNPZwzEUJ0L8JA9pQnfWDPwRYaQS4e/fVx5Rm5D4zUlpcLziUk KIFIEOaNsCzAyf4uM2qan5lQQt9fAgZmj9/Ww= X-RZG-AUTH: :OXsBVUypbfpT6qxpIFUXA72d7klbo3z+ohMFzEPVuGIfnPHuAPVejPrabg== X-RZG-CLASS-ID: mo00 Received: from t450s.molkerei-ammerland.de (pd95b322a.dip0.t-ipconnect.de [217.91.50.42]) by smtp.strato.de (RZmta 41.4 AUTH) with ESMTPSA id 60b5adt818weewe (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Fri, 1 Sep 2017 10:58:40 +0200 (CEST) Subject: Re: Fun with HAST and inter-host connections To: freebsd-questions@freebsd.org References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> <59A8201D.5010702@fjl.co.uk> From: Uwe Laverenz Organization: private site Message-ID: <26f53e78-e9e2-d424-fc1d-b0d14b775522@laverenz.de> Date: Fri, 1 Sep 2017 10:58:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <59A8201D.5010702@fjl.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 08:58:43 -0000 Hi, Am 31.08.2017 um 16:41 schrieb Frank Leonhardt: > The problem with link aggregation is that you need lots of 1Gb Ethernet > cards and run out PCI slots pretty quickly. Or are you suggesting Not necessarily, you could use PCIe cards with 2 or 4 ports. > multiple targets bound to a particular interface? Not a bad idea, but Yes, multiple networks, one target per network, round robin policy. > The PCIe is also going to be a bottleneck, but I'm ignoring this for now. Are you sure? PCIe 3.0 supports 985MB/s on x1. > What I really want is the fastest way to connect to boxes using IP > (preferably). Then 10Gb/s ethernet would probably be the best option IMHO. cu, Uwe From owner-freebsd-questions@freebsd.org Fri Sep 1 13:23:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E995DE0E3D7 for ; Fri, 1 Sep 2017 13:23:35 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0F6F71D6B for ; Fri, 1 Sep 2017 13:23:35 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-oi0-x22d.google.com with SMTP id n18so1751354oig.2 for ; Fri, 01 Sep 2017 06:23:35 -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=vVJ7H8Fm6CbeOpZFrA2Q0biCJiNP4wQhnXJVsA6xGyM=; b=cgYjyLwYJjB/UHEDFuOFVQmknJyndyAHWmzC+NUYqq6Xnx6dAJKUA1HyJjyHjwDqwg qfnbxGZxTj5dSoXouZVHpIk2c9k+Or0gBG9HdxxLM8PPHonAlrd277E3LLhVuGAurqEh +0rALifj1FUkzavkVVl3tEF+noXSXlsCDhjSGDAjVJ9fP35iAHM4Rm7+uEQkTyIhAOdg j43Xt0Ph/tR09ASgd8Fybnulic41INxOKEFOAZzGFgkWoyrZV82LH/a1Cgdo2gF2zBGU BfODo6dSmyjvNEK67qcNgU6SWnXjqLwlb/9LxI2tMPvavfdYWM3RlLrV+Birr587fORG 1nTQ== 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=vVJ7H8Fm6CbeOpZFrA2Q0biCJiNP4wQhnXJVsA6xGyM=; b=jFLLyvKU/8+iYEh9R2AvByPW+03qnKx3At4LwldgByhcXjpIi2kDuO0euferIS8h7N hHB8/EK6xdJcntUqChS0hXzCNC05RbzyA9FrfKyqk70xvC3i4V56zaLrRhd/hzgKwSFK FnkcjNfeRHUPOXAd+5Oa2OYkNFy3XywmvtBt2N3MnF1JemtyTDcpdRj/zjvaoN+LQxAh xw4ARXMkz0xQXBIuBCsh8w0vrd460OjpDNWNiVenwfKA6mYMJ+FEazRk13LNC1nAyvQS WI15RdsYmoYF7ejE8j5/7oBzCu4x3/RcgzZwzrIy3+VU8aU8B8RFtvfTPij31rV5WBry odsA== X-Gm-Message-State: AHPjjUgX57MVXw3b1MqZR4+B3tg33BiDmsQ6TdkupfjV+vrAtLkCCEZd sT9Ene2jiU0Uy1jHvd1ua0os2Ihb/Q== X-Google-Smtp-Source: ADKCNb61C3s6nhiSDRhg3nIWWSCqVDu4lQy3dbqLWnAqG1Cv8NygMvzgUAmbVR1GZhdod0wcdKpxvIH8U5bvd9nJx6Y= X-Received: by 10.202.82.210 with SMTP id g201mr1539995oib.181.1504272214631; Fri, 01 Sep 2017 06:23:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.35.230 with HTTP; Fri, 1 Sep 2017 06:23:34 -0700 (PDT) From: David Mehler Date: Fri, 1 Sep 2017 09:23:34 -0400 Message-ID: Subject: latest sudo locks out a user To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 13:23:36 -0000 Hello, Has anything changed in the latest sudo? Two days ago on my 10.3 system I did a ports update and got a new version of sudo, v1.8.21. Since then a user who was able to log in by ssh, (using key-based not password logins), is now unable to use sudo to su to root. I enter the correct password and just get put back at my user prompt, nothing in the syslog. I've changed the password for that user nothing. I've looked at /usr/ports/UPDATING and didn't see anything related to sudo. If anyone has any ideas please let me know. Thanks. Dave. From owner-freebsd-questions@freebsd.org Fri Sep 1 14:45:19 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4427EE1256F for ; Fri, 1 Sep 2017 14:45:19 +0000 (UTC) (envelope-from freebsd@host852.com) Received: from mail.host852.com (mail.host852.com [103.251.112.57]) (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 8C3CD74843 for ; Fri, 1 Sep 2017 14:45:18 +0000 (UTC) (envelope-from freebsd@host852.com) Received: by mail.host852.com (Postfix, from userid 1005) id A4295927F6; Fri, 1 Sep 2017 22:23:41 +0800 (HKT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on plugmusic.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 HTML_MESSAGE BODY: HTML included in message * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from dwmbp.localdomain (42-200-178-57.static.imsbiz.com [42.200.178.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: freebsd@host852.com) by mail.host852.com (Postfix) with ESMTPSA id 1855A8FC4C; Fri, 1 Sep 2017 22:23:35 +0800 (HKT) From: Dylan Williams Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: latest sudo locks out a user Date: Fri, 1 Sep 2017 22:23:32 +0800 In-Reply-To: Cc: freebsd-questions To: David Mehler References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 14:45:19 -0000 Dave, What group is your user in and what permissions does that group (or the = user him/herself have) in the /usr/local/etc/sudoers file? Dylan. > On 1 Sep 2017, at 9:23 PM, David Mehler wrote: >=20 > Hello, >=20 > Has anything changed in the latest sudo? >=20 > Two days ago on my 10.3 system I did a ports update and got a new > version of sudo, v1.8.21. Since then a user who was able to log in by > ssh, (using key-based not password logins), is now unable to use sudo > to su to root. I enter the correct password and just get put back at > my user prompt, nothing in the syslog. >=20 > I've changed the password for that user nothing. >=20 > I've looked at /usr/ports/UPDATING and didn't see anything related to = sudo. >=20 > If anyone has any ideas please let me know. >=20 > Thanks. > Dave. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Fri Sep 1 15:39:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6256E157C9 for ; Fri, 1 Sep 2017 15:39:33 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd11118.aruba.it (smtpcmd11118.aruba.it [62.149.156.118]) by mx1.freebsd.org (Postfix) with ESMTP id 112177698C for ; Fri, 1 Sep 2017 15:39:32 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.0.170] ([5.170.124.145]) by smtpcmd11.ad.aruba.it with bizsmtp id 4FQN1w03S38LJR901FQPGz; Fri, 01 Sep 2017 17:24:24 +0200 From: Victor Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Broadcom BCM4321 Wireless connection configuration problems Date: Fri, 1 Sep 2017 17:24:21 +0200 Message-Id: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> To: FreeBSD Mailing List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1504279464; bh=NWnAkDy+0gCOlg8B74+jrYUtYFxcPTWTkk2P/vDGJ20=; h=From:Content-Type:Subject:Date:To:Mime-Version; b=OJfWWf+bY6Hfl8V0tqgqKyYQq/dLgxcusPhBH3IqQNXWXZXSnA4oI3d/DokSMikp5 8bGTp2W7Nj69iEotuxJT2gtANba6vC2irdZ7wgSAJjtqfJgaq+OfNY9twRNSmwQYt3 jzB5ci9txj+6chudqi9Ll4h5eknom1BtA1uImxO2c+7w8FFqWLKHs2tkrmyPIo/FdM YclUuovT6Yu2WxYNAOwr+ERdYTvzeozN4k39qiHWmKSFjCMfmW6YafQiyYg7k08UL2 pYZtZ0qaF5cusddDmQiSS+be1pj2hI15lRd3YyHPCOl9M8ksVY9YzSJO6kQ6bKzr1w upjpw76HnX67w== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 15:39:33 -0000 I'm trying to make the wifi connection of my old macbook (2007) work = but, at the moment, to no avail. I'm stranded and perplexed! Context: FreeBSD 11.1-RELEASE #2: Fri Sep 1 16:02:16 CEST 2017 = root@bsd:/usr/obj/usr/src/sys/MYKERNEL amd64 The kernel MYKERNEL was compiled adding only: options BWN_GPL_PHY device firmware I installed from the ports net/bwn-firmware-kmod In /boot/loader.conf I have=20 if_bwn=3D"YES" In /etc/rc.conf as usual wlans_bwn0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP" .......................... The wifi chip is a broadcom BCM4321 as you can see from the extract of = /var/log/messages ............................... siba_bwn0: mem = 0xd0500000-0xd0503fff at device 0.0 on pci1 siba_bwn0: warn: multiple PCI(E) cores siba_bwn0: unsupported coreid (USB 1.1 Host) bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) RADIO = (manuf 0x17f ver 0x2055 rev 4) bwn0: DMA (64 bits) bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code bwn0: Using 1 MSI messages Sep 1 16:36:00 bsd wpa_supplicant[1290]: Successfully initialized = wpa_supplicant wlan0: Ethernet address: 00:1e:c2:ac:de:a3 bwn0: ucode fw: ucode11 bwn_v4_ucode11: could not load firmware image, error 2 bwn0: the fw file(bwn_v4_ucode11) not found bwn0: ucode fw: ucode11 bwn-open_v4_ucode11: could not load firmware image, error 2 bwn0: the fw file(bwn-open_v4_ucode11) not found ......................................................... You see that there is a problem with the firmware image. Ifconfig shows % ifconfig msk0: flags=3D8843 metric 0 mtu = 1500 = options=3Dc011a ether 00:1f:5b:e8:96:50 hwaddr 00:1f:5b:e8:96:50 nd6 options=3D29 media: Ethernet autoselect (none) status: no carrier lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2=20 inet 127.0.0.1 netmask 0xff000000=20 nd6 options=3D21 groups: lo=20 wlan0: flags=3D8843 metric 0 mtu = 1500 ether 00:1e:c2:ac:de:a3 hwaddr 00:1e:c2:ac:de:a3 nd6 options=3D29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 165 (5825 MHz 11a) regdomain FCC country US authmode WPA1+WPA2/802.11i privacy = MIXED deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 = scanvalid 60 wme roaming MANUAL bintval 0 groups: wlan=20 BESIDES .... the man page of bwn declares that BWN(4) FreeBSD Kernel Interfaces Manual = BWN(4) NAME bwn - Broadcom BCM43xx IEEE 802.11b/g wireless network driver ........ This driver requires firmware to be loaded before it will work. = The c port needs to be installed before ifconfig(8) will work. In most cases the bwn_v4_ucode kernel module from the = port should be used. However, if an LP (low power) PHY is being used, = the bwn_v4_lp_ucode module should be used. ........... BUT both modules are missing % sudo kldload bwn_v4_ucode kldload: can't load bwn_v4_ucode: No such file or directory % sudo kldload bwn_v4_lp_ucode kldload: can't load bwn_v4_lp_ucode: No such file or directory Please help. Ciao Vittorio From owner-freebsd-questions@freebsd.org Fri Sep 1 16:33:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF954E1900F for ; Fri, 1 Sep 2017 16:33:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53CBB7E0C0 for ; Fri, 1 Sep 2017 16:33:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id f127so4674768wmf.1 for ; Fri, 01 Sep 2017 09:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cgWp7bEhy3WtyG+Uh/9meZ9XHmnHsFc8Ar6aOZCTDY0=; b=SChA2fMcFX3gZryfdwbc3PeQi63vTo5+utMD5bR++/CvJ8qKmOlLa090iwuGF0YGJE yLw8ljIjfjG6CZ5Hwy1lnZ4iumwuaEPa/lT1ef3VQHhXkoQdPdiDtF7ZDdmkARUnienc UjQISFwzMEqBDjiW45lRPrTwkzusULx+bBO+S6LLaty+njWqeeWv0jhXg/KD7gtvqQq6 2t+Ib+lLKmrdcfZh8/Bv79iIuyKbXGDIoPG+ktaBBYu9ur+2n/dPR63j0sniTvd95Vat eV2+vmRhlF4rls+Y2n4TZFPN6ECheK4P212NOBcNU7B5SyyU2tM6LpV4ddfgvMKQjnKH IeVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cgWp7bEhy3WtyG+Uh/9meZ9XHmnHsFc8Ar6aOZCTDY0=; b=CNxKVp8/2XB9sa/JX3jLwci42RFU03MecTOYlCUsiz8acV6byma9kg0IpfksuerhpU entYRuXPOC/BggaFnk9eAzVxFweiUXxZmhuCFiiDos1rs9IlpT7LOWyD0zGjnNQiMMth xv7VrL6QzcLZzrNUVR3gF0YXsKUGY3vVgoEk/Lu3F83pc4OefplbiOJtkINWuDZWW5PI 6r38kujxfkpjbRVqtBpitMb+4tTt/DXZ9wN9UJoVtg6gSh6J0xfZ1V1eVT6vkPIG5MWO 5Wh7TsNii5aAjYf2oDK0aeNkzillSRppn7fW1whsqVsYq1IyuVeyJQUaBa6DcH3W0G3d u/tQ== X-Gm-Message-State: AHPjjUjHDX+/TxLXcvew2ye8cUs6zBrYpH6INiwUfW+TnZQpBew5DF2Q 1N+NSxWwsFjXKk1SSgexGlzBk9T04w== X-Google-Smtp-Source: ADKCNb7rKRqtVdUMHBy52xMhkEW5JyiLycVqMyz/arO0Rw40sY1bSJCso40JE+3kY4ALtbqfbVB2XWeRsdQCCaXhJ8w= X-Received: by 10.80.179.18 with SMTP id q18mr2214535edd.159.1504283611693; Fri, 01 Sep 2017 09:33:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Fri, 1 Sep 2017 09:33:31 -0700 (PDT) In-Reply-To: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> References: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> From: Adam Vande More Date: Fri, 1 Sep 2017 11:33:31 -0500 Message-ID: Subject: Re: Broadcom BCM4321 Wireless connection configuration problems To: Victor Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 16:33:33 -0000 On Fri, Sep 1, 2017 at 10:24 AM, Victor wrote: > BUT both modules are missing > > % sudo kldload bwn_v4_ucode > kldload: can't load bwn_v4_ucode: No such file or directory > % sudo kldload bwn_v4_lp_ucode > kldload: can't load bwn_v4_lp_ucode: No such file or directory > > > What is the output of: pkg info -l bwn-firmware-kmod -- Adam From owner-freebsd-questions@freebsd.org Fri Sep 1 16:34:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BD3DE190C3 for ; Fri, 1 Sep 2017 16:34:00 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ECCC7E184 for ; Fri, 1 Sep 2017 16:34:00 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id w10so6065231oie.1 for ; Fri, 01 Sep 2017 09:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ggMW2gAvb0GeFYiUW83o3H95Xn9NqT5rY+/bnGmS+9A=; b=Ouqda3tps9E12wzXDKR7mxMGoa670Y8GYwiMYfAPZ9tijdsUyGn0q72v6RlnpLY6Cd HtqvJWgKJ5H+TSTAtUXEWhx3cHE3b00cvLTAdCnFKOsKxlRniXfGEGTyVYtFF1nRlm0s 6F0Al/OTOS9P9is3C4nSSYuxcSNzDXMwooXgrY1eTyTy2r4VoFeSIlpd/jpfH8cWHNG4 qU4DSLE64DjxPOW8xOXbw3Pz6YjTngUDVuBdLTsRfk7cqnM1KkJ/Lk8eGSWfj1Y/3FND uxFvfO1MpWnl7o16nXXlgxsX/gzjEWCgMTIZyJExgivMRpPipWK6Os2sLNR8h3wC/KeN 1opg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ggMW2gAvb0GeFYiUW83o3H95Xn9NqT5rY+/bnGmS+9A=; b=F32JbScHjf51AOgsaM36h0DhXmyARU/4tmjLwzoOK7JZmolWUqK75llbHXUK0hDcxH bzcMmiK51MgyLvsQ9zOtOx+bX4RXuHYb2P40adQkDazomkWyjhschdrC9pKn5b0p4Eky 9MwpZxHbqHKxEQs5XRJfdC5i7pUZW2P7uQDThWchcOz8A/6oI3LGcWboZijxzffOpAxB VsQ3cEEGvaC0De7wXlTg7jfb7sUdIel2J1Zy8MIWjGiZi9YqMy5oQ5gTei4NO8YQLvsH 2zgIsVzYgp31uqX0aQLFcQfIGswdqtrpZX3jQXpNGUYik2jPgMMxgINZkp0bj3y2u+yl Yi1A== X-Gm-Message-State: AHPjjUgC7KGZz55mHdeAr0pqESyOJhjSEkajOUkryaqdcfYp9PN8yLJE nmfNaIcXe8WHju98XHF25DcVBuWRBQ== X-Google-Smtp-Source: ADKCNb6RuHdCCHPyGjjeh/D19+Z3vW6pKnI1eZFlpB6OkYb0KswOfRHt/pfEyWScdy2YiF7hVGj47ZfT+4KySsRbW/4= X-Received: by 10.202.214.6 with SMTP id n6mr2589045oig.179.1504283639362; Fri, 01 Sep 2017 09:33:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.35.230 with HTTP; Fri, 1 Sep 2017 09:33:58 -0700 (PDT) In-Reply-To: References: From: David Mehler Date: Fri, 1 Sep 2017 12:33:58 -0400 Message-ID: Subject: Re: latest sudo locks out a user To: Dylan Williams Cc: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 16:34:00 -0000 Hello everyone, Thank you for your responses. There have been no changes in the sudoers file, and the syntax on it is correct. The user is in the wheel group and in the sudoers file there's a line that says anyone in that group can do anything as long as they have the password. I've reset the password, hasn't fixed the issue. I've got logging going and I do see the user, the environment variables, and the command attempt, but nothing about an error, just nothing. The log file has 3 lines in it, the other files in that directory are empty. Could this possibly be a pam change? Thanks. Dave. On 9/1/17, Dylan Williams wrote: > Dave, > > What group is your user in and what permissions does that group (or the user > him/herself have) in the /usr/local/etc/sudoers file? > > Dylan. > >> On 1 Sep 2017, at 9:23 PM, David Mehler wrote: >> >> Hello, >> >> Has anything changed in the latest sudo? >> >> Two days ago on my 10.3 system I did a ports update and got a new >> version of sudo, v1.8.21. Since then a user who was able to log in by >> ssh, (using key-based not password logins), is now unable to use sudo >> to su to root. I enter the correct password and just get put back at >> my user prompt, nothing in the syslog. >> >> I've changed the password for that user nothing. >> >> I've looked at /usr/ports/UPDATING and didn't see anything related to >> sudo. >> >> If anyone has any ideas please let me know. >> >> Thanks. >> Dave. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Fri Sep 1 17:23:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AECD3E1C2A0 for ; Fri, 1 Sep 2017 17:23:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4365B80893 for ; Fri, 1 Sep 2017 17:23:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id 187so5241613wmn.1 for ; Fri, 01 Sep 2017 10:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yFIPtmuVGlSoj0bBQLIRswXANm4Y1G6/m1WBRyvTet4=; b=qXD/Y5rgq1xx/JvyD3fQsOwJqNi6dMy0K/gW/QB7BVQml19SNegAed54bXWPQ8eS0N Cf1pdMzV948zrt4K02LZK6CBzw3qYDy5KjyOBaRoPV8vcDaHl5saA2X/GqAUXids81Wc OkW/ctLvmfNiwh6xMDl5LK/POK5ggxRAwCGwujf/JspCXllIZ3gaYNOXOmqy+IZ29nld 1C8OOG08zYqmiucXuxmyqasHsmmSRyMitCVcnHU2aW3Ji4Z6aacXQ6HwoC3du4vfuLEY 3ngYGQN8w1lCMDNiGViqIRRGpeUaRGPRHDh6AAw5GXr/xSuhSGO3UdEd9HFOSiyKXBwp /Z/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yFIPtmuVGlSoj0bBQLIRswXANm4Y1G6/m1WBRyvTet4=; b=gE7pRsrd1rr8lO/6Y5x9Ha0W4/K+NyIEvRska4zpI5ktyl2/qXMzFze/plaMg/PWJ4 ehS3VUpYo7JLjqJoqZV2BYX7K9TK3r8G+sFsvMfYxlrErJhyKTP9TkjZJMTBE/z7o/g8 ZWlmXb/c24TludzS3ja6Hv4n0BECdAt5rTOZsfk1lHBvYAsuUoFW/kOlRZffLannpnjg +DlULtRZYPjF+4GeJHi573fZKzhu5MHGddKlzye1DMlf19FcbCaEow7VtkXGmwh22aU6 p1sp0bbCFR1yIxvJl2iNQ9TPN9pV8KhTxI+PUqbAPDmzppze0wzLFJGEtLdxka3xs+qI /FrQ== X-Gm-Message-State: AHPjjUhNKUMtmB/9VxZEtG1udl6pyAnxe4UwcVUgmls3BicLatQzzmCV GiM+cVZhjpL2J8xPYMGE1jSbhrs77Q== X-Google-Smtp-Source: ADKCNb77fwDQ5YGOUM7ZTVBOKH7I6N1vIuQFo+Ckxvj8n4LlA/3BQcj5gpYOQ6DKTTUDrWGkh5cddeDPvB9+XHhhAhM= X-Received: by 10.80.180.166 with SMTP id w35mr2286525edd.202.1504286593233; Fri, 01 Sep 2017 10:23:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.192.138 with HTTP; Fri, 1 Sep 2017 10:23:12 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Fri, 1 Sep 2017 12:23:12 -0500 Message-ID: Subject: Re: latest sudo locks out a user To: David Mehler Cc: Dylan Williams , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 17:23:15 -0000 On Fri, Sep 1, 2017 at 11:33 AM, David Mehler wrote: > Hello everyone, > > Thank you for your responses. There have been no changes in the > sudoers file, and the syntax on it is correct. The user is in the > wheel group and in the sudoers file there's a line that says anyone in > that group can do anything as long as they have the password. > > I've reset the password, hasn't fixed the issue. > > I've got logging going and I do see the user, the environment > variables, and the command attempt, but nothing about an error, just > nothing. The log file has 3 lines in it, the other files in that > directory are empty. > > Could this possibly be a pam change? > PAM is from base. You stated only that you updated ports. -- Adam From owner-freebsd-questions@freebsd.org Fri Sep 1 17:51:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0C6CE1DC8B for ; Fri, 1 Sep 2017 17:51:58 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from mail.pettijohn-web.com (pettijohn-web.com [108.61.222.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pettijohn-web.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8903D81CE9 for ; Fri, 1 Sep 2017 17:51:57 +0000 (UTC) (envelope-from edgar@pettijohn-web.com) Received: from [10.71.37.212] (mobile-107-107-188-107.mycingular.net [107.107.188.107]) by mail.pettijohn-web.com (OpenSMTPD) with ESMTPSA id f794ab38 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 1 Sep 2017 12:51:49 -0500 (CDT) Date: Fri, 1 Sep 2017 12:51:48 -0500 From: edgar To: Adam Vande More , David Mehler Cc: Dylan Williams , freebsd-questions Message-ID: <28182830-ee7b-4c9b-9ea6-c708535c2b32@localhost> In-Reply-To: References: Subject: Re: Re: latest sudo locks out a user MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 17:51:58 -0000 There was a post to openbsd misc@ about sudoreplay not working. Might be worth posting there. Not sure if there is a sudo mailing list. > > On Sep 1, 2017 at 12:23 PM, wrote: > > > On Fri, Sep 1, 2017 at 11:33 AM, David Mehler wrote: > Hello everyone, > > Thank you for your responses. There have been no changes in the > sudoers file, and the syntax on it is correct. The user is in the > wheel group and in the sudoers file there's a line that says anyone in > that group can do anything as long as they have the password. > > I've reset the password, hasn't fixed the issue. > > I've got logging going and I do see the user, the environment > variables, and the command attempt, but nothing about an error, just > nothing. The log file has 3 lines in it, the other files in that > directory are empty. > > Could this possibly be a pam change? > PAM is from base. You stated only that you updated ports. -- Adam _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Fri Sep 1 21:55:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93591E09695 for ; Fri, 1 Sep 2017 21:55:14 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from mailb.haidagwaii.net (mail.haidagwaii.net [23.235.65.79]) (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 7B99B65742 for ; Fri, 1 Sep 2017 21:55:13 +0000 (UTC) (envelope-from fquest@paz.bz) Received: from 254-68-235-23.haidagwaii.net ([23.235.68.254] helo=[192.168.1.8]) by mailb.haidagwaii.net with esmtp (Exim 4.87) (envelope-from ) id 1dntrM-000Mxl-94; Fri, 01 Sep 2017 14:52:16 -0700 To: "list: freebsd" From: Jim Pazarena Subject: portsnap fetch problem Message-ID: <00e65720-0dec-a489-d58d-bf0ce7f0f90e@paz.bz> Date: Fri, 1 Sep 2017 14:52:07 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (54) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 21:55:14 -0000 occasionally (such as today) portsnap appears to fetch the file but during 'Extracting snapshot' gunzip complains ... "truncated gzip input" and the routine dies. FYI, it says: "fetching snapshot generated at Thu Aug 31 17:08:26 PDT 2017" Are others experiencing this? I am attempting to install 11.1, but this is a show stopper. Thx -- Jim Pazarena fquest@paz.bz From owner-freebsd-questions@freebsd.org Fri Sep 1 23:08:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 603BAE0D1D5 for ; Fri, 1 Sep 2017 23:08:11 +0000 (UTC) (envelope-from caso.ramiro@gmail.com) Received: from mail-qt0-x243.google.com (mail-qt0-x243.google.com [IPv6:2607:f8b0:400d:c0d::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18ADA67DFA for ; Fri, 1 Sep 2017 23:08:11 +0000 (UTC) (envelope-from caso.ramiro@gmail.com) Received: by mail-qt0-x243.google.com with SMTP id h15so1196451qta.0 for ; Fri, 01 Sep 2017 16:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3FSTBFFqCcvmjE5VBuy9JoX2a2vxn2g4W3e7PbdSp8I=; b=fx/Y6nazBPRJQYMBBShLyfdgRoDY9kE9oBYHc/6JAHeNnd/ffYuSRBU6oGzce6XdvO DFByNToqaarjY09JHYqszMxmBH2NOBvIqHT6C1Qtk9dZbvj0u71JVTG22wDydbHEIl3N hLbDdsQVIYeLZ4+uK7h2+RvWFIH9qezO9whT/hHUzlH5wJs4Ay9R7P/9r3EovSr53uqx /Ai9anc509JeUQqBBRIKKSYeg9iwFnRtYl+cg/ywjc8xuSIXMxqKDzRdK6Ig6kphuBys u3mUySiLpjQPGvfl6U8OD20QOOuwfMNgRGPdGY93h01Jx7JvVJ9ABhsg1hgliTW0R3hq sLHQ== 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3FSTBFFqCcvmjE5VBuy9JoX2a2vxn2g4W3e7PbdSp8I=; b=ZFpldl2T7ZVg339kypn82TVljnVXFd43OfKpEj2K2/p0U8fge60zaOm7dOeqSk6IiI 0UbS+svL/wEcVcsaXkyBd9nR9drAFeHPy1yqV5cmRPqvS//Dsn16s5pdo5nQf/tHd2FY 5WvvdJ1UtZYCOp/5b+7WczJrwJBNekYQWDifiZi2XOdwPOPyS0HbLK/aNh8CwKZkZ5Pb ehG90snxtJzAs4/moa5SRXt6fXw8qyZrWEv5djv5Dy3db9TMbqJHN1XHf/J8iGAr3lF7 9zSpoYNiPdX7Ds3kGENVc1M+Ck59BOF3Y26BKLrkkR+D191wxQalAumAGJpv+DkKhtNM Ftbw== X-Gm-Message-State: AHPjjUheit0VxIHqQz2ReyiiFItqf0/ZcbF8TxKD0VCwU9hOjsucCY2r jR4gEj29vnhLyl5M X-Google-Smtp-Source: ADKCNb4COwDl3dBorygiz/n8yGdTGKcvhWg0I+6PuGH9GY/U6mvk8mOrolE3MKIYpyaP0j4oTUt+OQ== X-Received: by 10.200.48.218 with SMTP id w26mr4860817qta.303.1504307290122; Fri, 01 Sep 2017 16:08:10 -0700 (PDT) Received: from gmail.com ([186.22.61.114]) by smtp.gmail.com with ESMTPSA id j127sm7896032qkc.75.2017.09.01.16.08.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Sep 2017 16:08:09 -0700 (PDT) Date: Fri, 1 Sep 2017 20:08:00 -0300 From: Ramiro Caso To: Victor Cc: FreeBSD Mailing List Subject: Re: Broadcom BCM4321 Wireless connection configuration problems Message-ID: <20170901230758.GA3716@gmail.com> References: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 23:08:11 -0000 On Fri, Sep 01, 2017 at 05:24:21PM +0200, Victor wrote: > I'm trying to make the wifi connection of my old macbook (2007) work but, at the moment, to no avail. I'm stranded and perplexed! > > Context: > FreeBSD 11.1-RELEASE #2: Fri Sep 1 16:02:16 CEST 2017 root@bsd:/usr/obj/usr/src/sys/MYKERNEL amd64 > > The kernel MYKERNEL was compiled adding only: > options BWN_GPL_PHY > device firmware > I have the same macbook model. Did you have a look at this? http://comments.gmane.org/gmane.os.freebsd.devel.wireless/4437 It says you have to do three things: * add BWN_DEBUG and BWN_GPL_PHY to your kernel config * edit sys/modules/bwn/Makefile and uncomment the PHY-N bits * rebuild > I installed from the ports net/bwn-firmware-kmod > > In /boot/loader.conf I have > if_bwn="YES" > In /boot/loader.conf I have: f_bwn_load="YES" bwn_v4_ucode_load="YES" bwn_v4_n_ucode_load="YES" I don't know whether there is something redundant and/or irrelevant here, but it's working for me. > In /etc/rc.conf as usual > wlans_bwn0="wlan0" > ifconfig_wlan0="WPA DHCP" > .......................... > > > The wifi chip is a broadcom BCM4321 as you can see from the extract of /var/log/messages > ............................... > siba_bwn0: mem 0xd0500000-0xd0503fff at device 0.0 on pci1 > siba_bwn0: warn: multiple PCI(E) cores > siba_bwn0: unsupported coreid (USB 1.1 Host) > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) RADIO (manuf 0x17f ver 0x2055 rev 4) > bwn0: DMA (64 bits) > bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code > bwn0: Using 1 MSI messages > Sep 1 16:36:00 bsd wpa_supplicant[1290]: Successfully initialized wpa_supplicant > wlan0: Ethernet address: 00:1e:c2:ac:de:a3 > bwn0: ucode fw: ucode11 > bwn_v4_ucode11: could not load firmware image, error 2 > bwn0: the fw file(bwn_v4_ucode11) not found > bwn0: ucode fw: ucode11 > bwn-open_v4_ucode11: could not load firmware image, error 2 > bwn0: the fw file(bwn-open_v4_ucode11) not found > ......................................................... > > You see that there is a problem with the firmware image. Ifconfig shows > > % ifconfig > msk0: flags=8843 metric 0 mtu 1500 > options=c011a > ether 00:1f:5b:e8:96:50 > hwaddr 00:1f:5b:e8:96:50 > nd6 options=29 > media: Ethernet autoselect (none) > status: no carrier > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > groups: lo > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:1e:c2:ac:de:a3 > hwaddr 00:1e:c2:ac:de:a3 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 165 (5825 MHz 11a) > regdomain FCC country US authmode WPA1+WPA2/802.11i privacy MIXED > deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 > wme roaming MANUAL bintval 0 > groups: wlan > > > > BESIDES .... the man page of bwn declares that > > > BWN(4) FreeBSD Kernel Interfaces Manual BWN(4) > > NAME > bwn - Broadcom BCM43xx IEEE 802.11b/g wireless network driver > ........ > This driver requires firmware to be loaded before it will work. The > c port needs to be installed before ifconfig(8) > will work. In most cases the bwn_v4_ucode kernel module from the port > should be used. However, if an LP (low power) PHY is being used, the > bwn_v4_lp_ucode module should be used. > ........... > > BUT both modules are missing > > % sudo kldload bwn_v4_ucode > kldload: can't load bwn_v4_ucode: No such file or directory > % sudo kldload bwn_v4_lp_ucode > kldload: can't load bwn_v4_lp_ucode: No such file or directory > > Please help. > Ciao Vittorio > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Sent with mutt --- http://www.mutt.org/ From owner-freebsd-questions@freebsd.org Fri Sep 1 23:35:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9B46E0E715 for ; Fri, 1 Sep 2017 23:35:12 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C28C68B41 for ; Fri, 1 Sep 2017 23:35:12 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vk0-x22d.google.com with SMTP id s199so4357029vke.1 for ; Fri, 01 Sep 2017 16:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KM3vMIgsFaEmBzmuTVXpWODEiUXQANIiTkEIkkgyods=; b=WUlzW9VB+p/RMpVjYh/hO/RWdSJRB0R019pkTBp9COe9zRbkf/yiSIMeD7WKA3L2B5 odiK5ekRj1vakJE+ZVx1pjTdNeT0j9ycuqZHZHdbwq/NvTWvUIgWIjuWnvw9BjkP/hh2 4sS9IkXVC/48as7EQIDdfifxSzMO4NHiNq2P6ItSw8U3cWYwkgils1Cvmdp19+Usn1yZ 5H7mMstS7BxRlG5u0cEnYF9Qz1m/Wzo+t8Ipcp6md+o60X2GWS0iXGXYWd8279t/L63f rn+tjN2ZWhhCICU8UQSepAKNlI/gAbCqi8hKsS0B1vAbQbtWuffoOFmexWGmBGAQpRi+ HG+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KM3vMIgsFaEmBzmuTVXpWODEiUXQANIiTkEIkkgyods=; b=W29hUhPw+p+b03t3TWvoARezSzkzSXUavyiIa4RsWahN3KPElztcv+1ciC3GAbN5Nq 4JX0h4357b/3eQD6BrXULi8yN+GtCQ6vLT7mRCrFhqjCGJl1v80M4IoqS7wCTxVngNEg nvKnvOTpAVxiD7tmwqjGxi6j3/yUiOXQILqdxNFWJRLermyLawDgVSMjDDQHL42j2dUS 3v/bRXrnHHKg2DbW/S7edpGV24W0Qs2XKQBYpWQbjT9Ab/ClkpQ2NEylYuzg/MesMtAI wgxOvRH9mZUOgXO5Egm6TkngzH96p/w/mQJTIQKnWXgFvA2b/l1mk4IQMIc+FMNTQHc6 eo9g== X-Gm-Message-State: AHPjjUidRhFSUkrfwN0tQx2Hedb/t2eOygHBmjhY4jffRsfuZ081HElh E/3EZEt30sElkeTLTcjOxPO5nvHjwn/3tac= X-Google-Smtp-Source: ADKCNb4xTap3+YtnpOy3sYmcZahq0bwciAAWeGfK6xZRSH+bNRXpIF/tkV2PbIdnwu97l6NC7a/58z/9sKznjtN8O9s= X-Received: by 10.31.199.6 with SMTP id x6mr2043583vkf.177.1504308911587; Fri, 01 Sep 2017 16:35:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.170.129 with HTTP; Fri, 1 Sep 2017 16:35:11 -0700 (PDT) In-Reply-To: References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> From: Ben Woods Date: Sat, 2 Sep 2017 07:35:11 +0800 Message-ID: Subject: Re: Why pkg offers different versions of packages on two machines? To: Rafal Lukawiecki Cc: Ralf Mardorf via freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2017 23:35:13 -0000 On 1 September 2017 at 07:54, Rafal Lukawiecki wrote: > > On 1 Sep 2017, at 00:49, Ben Woods wrote: > > Hi Rafal, > > FreeBSD STABLE and CURRENT branches use the "head" pkg repo by default, > whilst FreeBSD RELEASE branches use the "quarterly" pkg repo by default. > > The 2017Q3 quarterly branch only has py27-certbot-0.16.0_1,1 right now, > whilst the ports head branch has py27-certbot-0.17.0,1. > > So you FreeBSD-11 STABLE build must be using the head branch. > > Regards, > Ben > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com > > > Thank you, Ben, this makes sense. Is this behaviour configured > in /etc/pkg/FreeBSD.conf, in which case I don=E2=80=99t see quite where. = This is > the conf from my STABLE which is pulling latest. Or am I looking in the > wrong place? > > # $FreeBSD: releng/11.0/etc/pkg/FreeBSD.conf 303975 2016-08-11 23:39:23Z > gjb $ > # > # To disable this repository, instead of modifying or removing this file, > # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: > # > # mkdir -p /usr/local/etc/pkg/repos > # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/ > FreeBSD.conf > # > > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > Thank you, > Rafal > Hi Rafal, I agree the FreeBSD.conf file you have shown here looks like it is pulling from quarterly. This is not the normal FreeBSD.conf file for FreeBSD 11-STABLE, which you can see here: https://svnweb.freebsd.org/base/stable/11/etc/pkg/FreeBSD.conf?revision=3D3= 02408&view=3Dmarkup Perhaps check 2 things: 1. Double check you have posted the /etc/pkg/FreeBSD.conf file from the 11-STABLE machine, and that you don't have any temporary mount points overwriting it. 2. Can you post the contents of all files in /etc/pkg/ and in /usr/local/etc/pkg/repos/ Regards, Ben From owner-freebsd-questions@freebsd.org Sat Sep 2 02:42:41 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C596E19558 for ; Sat, 2 Sep 2017 02:42:41 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 602746F761 for ; Sat, 2 Sep 2017 02:42:41 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x241.google.com with SMTP id 77so620828itj.0 for ; Fri, 01 Sep 2017 19:42:41 -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; bh=ULslrFX121Qa/L+/IKb3O0FsrKkZbEbj9IJ0ghl+CpI=; b=YrpOrXh4zpUb8/wf8TNmg3gSEIVoudkTcH8Tnfd9JeMnE/VUy1sSnzMgsPk8l66wD2 cfBLt2OcwW/s7j2Wzn+OVq6eeHZhEx7zD6gT3F22MmYSsLkXjL8A6eZKJ4pm0MdV+BZ7 KXYuaeBhLfzBCPj82Cpg/5VAwraA8RpnTO+08hVDRObCWlO7bdB+Vjg/SzN5UFMCeqmC aiswcxS/WC+/Z1SOnFnF7xvtdrG0TipbMpofz9ywqTqBCCBQ0VmdwJToHJ3ST3GXmv5z HyePXBKVq7sGYg7ZNpNhQFkZ72zgSQwQr7k97aHvjH3GsmDSI6KEiR3NGPMsW8mksUYy gv7Q== 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; bh=ULslrFX121Qa/L+/IKb3O0FsrKkZbEbj9IJ0ghl+CpI=; b=pIvBuoCvTJR4ngSO9m0iWh5iGxvxo1KOiSpLytWIkAgddSV+4F+7ZqM5xEg6LtIhpW HPPxHa9dNwG3ugV0l4VjcQSX0XLBq7sKP/EbeFN4BAGFLXanbGOyXngQJSHnAryX/jlV PrMVQYMiP/1Zx+JndmJdU/wysDtRkCXu5nJeGHTGJR26K8YngrWBi0qIvOJ598hWbwmi XP9kLnsUsrrXtPx63DzF1sHzr+Ki3bHLTKUsIIaBAzKgMoOSJw+kqynmh+kSiZ6Y5ibA CzVWB2HPG4cVzSvHJfjv+hkgqeJBVbbWXgvAyrdO0WPanLA42X/Y820Zdb1WdvFn0Fek oKAg== X-Gm-Message-State: AHPjjUg7Kkb+5nAzCG74blNaVc+VQKPdjGlm2e3WBF6DeHvU3w/CUggS AicRct4GgQH6D3ky X-Google-Smtp-Source: ADKCNb6+OKSf26l8RvU86LxloN3fpeCHQshSiRYwg9vjnyghTdVNs51bQ43Hiqg51YzL/jsT/q84xg== X-Received: by 10.36.2.201 with SMTP id 192mr77244itu.93.1504320160391; Fri, 01 Sep 2017 19:42:40 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id 5sm838493itj.36.2017.09.01.19.42.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Sep 2017 19:42:39 -0700 (PDT) Subject: Re: Broadcom BCM4321 Wireless connection configuration problems To: freebsd-questions@freebsd.org References: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> <20170901230758.GA3716@gmail.com> From: JD Message-ID: <59AA1A9D.3000401@gmail.com> Date: Fri, 1 Sep 2017 20:42:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <20170901230758.GA3716@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 02:42:41 -0000 Thanx!!! I'm keeping this in case I encounter this wifi. On 09/01/2017 05:08 PM, Ramiro Caso wrote: > On Fri, Sep 01, 2017 at 05:24:21PM +0200, Victor wrote: >> I'm trying to make the wifi connection of my old macbook (2007) work but, at the moment, to no avail. I'm stranded and perplexed! >> >> Context: >> FreeBSD 11.1-RELEASE #2: Fri Sep 1 16:02:16 CEST 2017 root@bsd:/usr/obj/usr/src/sys/MYKERNEL amd64 >> >> The kernel MYKERNEL was compiled adding only: >> options BWN_GPL_PHY >> device firmware >> > I have the same macbook model. Did you have a look at this? > > http://comments.gmane.org/gmane.os.freebsd.devel.wireless/4437 > > It says you have to do three things: > > * add BWN_DEBUG and BWN_GPL_PHY to your kernel config > * edit sys/modules/bwn/Makefile and uncomment the PHY-N bits > * rebuild > >> I installed from the ports net/bwn-firmware-kmod >> >> In /boot/loader.conf I have >> if_bwn="YES" >> > In /boot/loader.conf I have: > > f_bwn_load="YES" > bwn_v4_ucode_load="YES" > bwn_v4_n_ucode_load="YES" > > I don't know whether there is something redundant and/or irrelevant here, but > it's working for me. > >> In /etc/rc.conf as usual >> wlans_bwn0="wlan0" >> ifconfig_wlan0="WPA DHCP" >> .......................... >> >> >> The wifi chip is a broadcom BCM4321 as you can see from the extract of /var/log/messages >> ............................... >> siba_bwn0: mem 0xd0500000-0xd0503fff at device 0.0 on pci1 >> siba_bwn0: warn: multiple PCI(E) cores >> siba_bwn0: unsupported coreid (USB 1.1 Host) >> bwn0 on siba_bwn0 >> bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) RADIO (manuf 0x17f ver 0x2055 rev 4) >> bwn0: DMA (64 bits) >> bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code >> bwn0: Using 1 MSI messages >> Sep 1 16:36:00 bsd wpa_supplicant[1290]: Successfully initialized wpa_supplicant >> wlan0: Ethernet address: 00:1e:c2:ac:de:a3 >> bwn0: ucode fw: ucode11 >> bwn_v4_ucode11: could not load firmware image, error 2 >> bwn0: the fw file(bwn_v4_ucode11) not found >> bwn0: ucode fw: ucode11 >> bwn-open_v4_ucode11: could not load firmware image, error 2 >> bwn0: the fw file(bwn-open_v4_ucode11) not found >> ......................................................... >> >> You see that there is a problem with the firmware image. Ifconfig shows >> >> % ifconfig >> msk0: flags=8843 metric 0 mtu 1500 >> options=c011a >> ether 00:1f:5b:e8:96:50 >> hwaddr 00:1f:5b:e8:96:50 >> nd6 options=29 >> media: Ethernet autoselect (none) >> status: no carrier >> lo0: flags=8049 metric 0 mtu 16384 >> options=600003 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >> inet 127.0.0.1 netmask 0xff000000 >> nd6 options=21 >> groups: lo >> wlan0: flags=8843 metric 0 mtu 1500 >> ether 00:1e:c2:ac:de:a3 >> hwaddr 00:1e:c2:ac:de:a3 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid "" channel 165 (5825 MHz 11a) >> regdomain FCC country US authmode WPA1+WPA2/802.11i privacy MIXED >> deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 >> wme roaming MANUAL bintval 0 >> groups: wlan >> >> >> >> BESIDES .... the man page of bwn declares that >> >> >> BWN(4) FreeBSD Kernel Interfaces Manual BWN(4) >> >> NAME >> bwn - Broadcom BCM43xx IEEE 802.11b/g wireless network driver >> ........ >> This driver requires firmware to be loaded before it will work. The >> c port needs to be installed before ifconfig(8) >> will work. In most cases the bwn_v4_ucode kernel module from the port >> should be used. However, if an LP (low power) PHY is being used, the >> bwn_v4_lp_ucode module should be used. >> ........... >> >> BUT both modules are missing >> >> % sudo kldload bwn_v4_ucode >> kldload: can't load bwn_v4_ucode: No such file or directory >> % sudo kldload bwn_v4_lp_ucode >> kldload: can't load bwn_v4_lp_ucode: No such file or directory >> >> Please help. >> Ciao Vittorio >> >> >> _______________________________________________ >> 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 Sat Sep 2 10:25:25 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6E00E0B938 for ; Sat, 2 Sep 2017 10:25:25 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC7BC80CB1 for ; Sat, 2 Sep 2017 10:25:25 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504347920; x=1506939920; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=RfRMmiAr41BKV9GtzRrm7FUDeaePL+bfPGC4gdLX9ck=; b=Tg48lH+wWJ/iyyFj39b+2aju6wzPWmDriz4Gn/ghM9VjbErARlREuCEDfnqRbBD4MpAPqIOaOIvmPcT+dIFydGM9nYplvG5j5vpN7qM49iwLFySD6XNGnOSZCpANvNx6obdixO4PNjlthpEw7SAOPls/bPZi7d+Qc7KEq1HDimg= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDZlNDU2Ny5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.us-west-2a.aws.in.socketlabs.com (r2.us-west-2a.aws.in.socketlabs.com [54.186.58.227]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 05:25:02 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 05:25:07 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1do4fo-000EEI-Ms; Sat, 02 Sep 2017 09:25:04 +0000 Date: Sat, 2 Sep 2017 10:25:04 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: galtsev@kicp.uchicago.edu Subject: Re: [OT] two birds with one stone :) Message-Id: <20170902102504.a7a2e0e0ce37a77d83609946@sohara.org> In-Reply-To: <60546.128.135.52.6.1503689924.squirrel@cosmo.uchicago.edu> References: <20170816021959.R12950@sola.nimnet.asn.au> <20170825203820.34094965.freebsd@edvax.de> <60546.128.135.52.6.1503689924.squirrel@cosmo.uchicago.edu> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 10:25:26 -0000 On Fri, 25 Aug 2017 14:38:44 -0500 (CDT) "Valeri Galtsev" wrote: > Well, outsourcing services to external companies is very familiar trend > wherever Microsoft brew bunch takes over top IT positions in the > organization... There has been an outsourcing/insourcing cycle going on since the 1960s outsourcing to save costs, insourcing to regain control and every time round the cycle some people get badly burned by outsourcing because they don't plan for it to all go horribly wrong. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Sep 2 11:37:58 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59BBDE0E581 for ; Sat, 2 Sep 2017 11:37:58 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DB1D83171 for ; Sat, 2 Sep 2017 11:37:57 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504352273; x=1506944273; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=MWuQ4gjz8ikcu2Q4742g60TSe7qZQhoqD77iqNOmnyQ=; b=ALKoAR0vywwu/NkihwPbZzCPN1dCvui7E7NMJ40xq8IFTB3FSlQTX0j23qpchJbboL71KWfESqEI3VQyEu/F25WT211ANOSiDzd2i1dV0I2YKDRXj50KbPkehDuku3io1j8LNur5uiPOYCy0+StQ2y/1J1n7lDmdGrunHogRZOo= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDZlYWEzNC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r1.us-west-2a.aws.in.socketlabs.com (r1.us-west-2a.aws.in.socketlabs.com [54.186.235.111]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 07:37:47 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r1.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 07:37:51 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1do6kH-000EuB-2p for freebsd-questions@freebsd.org; Sat, 02 Sep 2017 11:37:49 +0000 Date: Sat, 2 Sep 2017 12:37:48 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Anything specific to keep in mind restoring from rsync ? Message-Id: <20170902123748.e0508a02d987803c765a6ccc@sohara.org> In-Reply-To: References: <20170818074902.GA91334@gmail.com> <20170825023237.9b6b22b2.freebsd@edvax.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 11:37:58 -0000 On Fri, 25 Aug 2017 01:58:05 +0000 Manish Jain wrote: > > > On 08/25/17 06:02, Polytropon wrote: > > On Fri, 25 Aug 2017 00:13:38 +0000, Manish Jain wrote: > >> But I am inclined to ask one question here : does FreeBSD actually have > >> any system-installed hard links (other than . and ..) ? > > > > Several. A good example is the content of /rescue > > > So I learn from you/WB that I goofed up : - ) > > My /rescue indeed now has all files therein as separate files (unique > inodes). If the system has any more hard links, then my box would be > hosting them as separate files. > > Is it okay if I keep using this box as-is-now (no hard links) ? The box > runs fantastically well. It'll work fine, just uses more disk space. Upgrades should eventually fix the links I think. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Sep 2 13:07:35 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 880D9E124A4 for ; Sat, 2 Sep 2017 13:07:35 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97B5F2541 for ; Sat, 2 Sep 2017 13:07:32 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id v82Cf55m058573; Sat, 2 Sep 2017 14:41:06 +0200 (CEST) (envelope-from bah@bananmonarki.se) Subject: Re: [OT] two birds with one stone :) To: "Steve O'Hara-Smith" , freebsd-questions@freebsd.org Cc: galtsev@kicp.uchicago.edu References: <20170816021959.R12950@sola.nimnet.asn.au> <20170825203820.34094965.freebsd@edvax.de> <60546.128.135.52.6.1503689924.squirrel@cosmo.uchicago.edu> <20170902102504.a7a2e0e0ce37a77d83609946@sohara.org> From: Bernt Hansson Message-ID: <849277df-3fc2-adad-da88-b1445bb34f0e@bananmonarki.se> Date: Sat, 2 Sep 2017 14:41:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170902102504.a7a2e0e0ce37a77d83609946@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 13:07:35 -0000 On 09/02/17 11:25, Steve O'Hara-Smith wrote: > On Fri, 25 Aug 2017 14:38:44 -0500 (CDT) > "Valeri Galtsev" wrote: > >> Well, outsourcing services to external companies is very familiar trend >> wherever Microsoft brew bunch takes over top IT positions in the >> organization... > There has been an outsourcing/insourcing cycle going on since the > 1960s outsourcing to save costs, insourcing to regain control and every > time round the cycle some people get badly burned by outsourcing because > they don't plan for it to all go horribly wrong. > Outsourcing, well. https://www.google.se/search?q=outsourcing+scandal+sweden&btnG=S%C3%B6k&client=firefox-b&dcr=0&gbv=1 From owner-freebsd-questions@freebsd.org Sat Sep 2 13:53:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FA8EE14346 for ; Sat, 2 Sep 2017 13:53:15 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24B653A71 for ; Sat, 2 Sep 2017 13:53:14 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1504360390; x=1506952390; h=x-thread-info:date:from:to:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=Nqm9rPEckc5KKeWilvAU+wn/lN6j+vUbotalG7AzO3Q=; b=WtSf3/dC5s2k3+c1jQGz+nB8UhYjH0g7DsbdCdGWEjhSWD7A4q3NHDxiKcdpE/pbdgug8VKARvDnXIiJfAsossLr8nlR/iHKeW5XoN/qOHXLguoRYunUGzkrtm/AspXxKIfjvkIBWCZ0QaCr/Qr0qvpTlqoyGFnLCI36F3RvXGg= X-Thread-Info: NDI1MC4xMi5kZDAwMDAwMDZmMGM4ZS5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r2.us-west-2a.aws.in.socketlabs.com (r2.us-west-2a.aws.in.socketlabs.com [54.186.58.227]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 09:53:01 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r2.us-west-2a.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 2 Sep 2017 09:53:06 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1do8r9-000Fb4-Pa for freebsd-questions@freebsd.org; Sat, 02 Sep 2017 13:53:03 +0000 Date: Sat, 2 Sep 2017 14:53:03 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Freebsd under windows 10 Message-Id: <20170902145303.434716eb2703183cdf943af3@sohara.org> In-Reply-To: <8E.0E.31699.F32D4A95@dnvrco-omsmta03> References: <59A447DA.3070908@gmail.com> <20170828201328.6bca6d11.freebsd@edvax.de> <8E.0E.31699.F32D4A95@dnvrco-omsmta03> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 13:53:15 -0000 On Tue, 29 Aug 2017 02:32:08 +0000 "Thomas Mueller" wrote: > This thread inspires me to ask, for comparison, about running Linux or > Linux programs under FreeBSD, with an actual Linux installation mounted > on /compat/linux . I've not tried that but I have Centos 6 running in a jail here (for CUPS and Brother drivers), it works fine. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Sep 2 14:10:54 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3D7AE1501F for ; Sat, 2 Sep 2017 14:10:54 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 57D6163532 for ; Sat, 2 Sep 2017 14:10:54 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CA340509B6; Sat, 2 Sep 2017 10:10:51 -0400 (EDT) From: Rafal Lukawiecki Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Why pkg offers different versions of packages on two machines? Date: Sat, 2 Sep 2017 15:10:50 +0100 In-Reply-To: Cc: Ralf Mardorf via freebsd-questions To: Ben Woods References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 14:10:54 -0000 > On 2 Sep 2017, at 00:35, Ben Woods wrote: > > Hi Rafal, > > I agree the FreeBSD.conf file you have shown here looks like it is pullin= g from quarterly. > > This is not the normal FreeBSD.conf file for FreeBSD 11-STABLE, which you= can see here: https://svnweb.freebsd.org/base/stable/11/etc/pkg/FreeBSD.con= f?revision=3D302408&view=3Dmarkup > > Perhaps check 2 things: > 1. Double check you have posted the /etc/pkg/FreeBSD.conf file from the 1= 1-STABLE machine, and that you don't have any temporary mount points overwri= ting it. > 2. Can you post the contents of all files in /etc/pkg/ and in /usr/local/= etc/pkg/repos/ > > Regards, > Ben Dear Ben, Here is the data that you have asked for, plus a couple of extras. This is = running in a jail on a FreeNAS device. There are no mounts over this part of= the file hierarchy. Having said that, your line of thought brought somethin= g up that I was clearly not aware of, and I think this solves the issue. The= re are two FreeBSD.conf files, one in /etc/pkg, where I was originally looki= ng, and another one in /usr/local/etc/pkg/repos/. That second one refers to = /latest. I did not realise there were two configs=E2=80=A6 Thank you for hel= ping me resolve the issue, very much, indeed. Outputs: $ name -a FreeBSD xyz 11.0-STABLE FreeBSD 11.0-STABLE #0 r313908+d7d07647f69(freenas/= 11.0-stable): Thu Jul 20 19:01:05 UTC 2017 root@gauntlet:/freenas-11-rel= eng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd= 64 $ ls -a /etc/pkg/ . .. FreeBSD.conf $ cat /etc/pkg/FreeBSD.conf # $FreeBSD: releng/11.0/etc/pkg/FreeBSD.conf 303975 2016-08-11 23:39:23Z gj= b $ # # To disable this repository, instead of modifying or removing this file, # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf= # FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } $ ls -a /usr/local/etc/pkg/repos/ . .. FreeBSD.conf $ cat /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/freebsd:11:x86:64/latest", mirror_type: "srv", enabled: yes } Many thanks, Rafal -- Rafal Lukawiecki Data Scientist Project Botticelli Ltd From owner-freebsd-questions@freebsd.org Sat Sep 2 14:23:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1E1EE1591B for ; Sat, 2 Sep 2017 14:23:00 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 56BA863C95 for ; Sat, 2 Sep 2017 14:22:59 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v82EMob8087804 for ; Sat, 2 Sep 2017 15:22:50 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: Fun with HAST and inter-host connections To: freebsd-questions@freebsd.org References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> <59A8201D.5010702@fjl.co.uk> <26f53e78-e9e2-d424-fc1d-b0d14b775522@laverenz.de> From: Frank Leonhardt Message-ID: <3c89400f-7964-fb0d-6778-84fef964a404@fjl.co.uk> Date: Sat, 2 Sep 2017 15:22:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <26f53e78-e9e2-d424-fc1d-b0d14b775522@laverenz.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 14:23:00 -0000 On 01/09/2017 09:58, Uwe Laverenz wrote: > Hi, > > Am 31.08.2017 um 16:41 schrieb Frank Leonhardt: > >> The problem with link aggregation is that you need lots of 1Gb >> Ethernet cards and run out PCI slots pretty quickly. Or are you >> suggesting > > Not necessarily, you could use PCIe cards with 2 or 4 ports. > >> multiple targets bound to a particular interface? Not a bad idea, but > > Yes, multiple networks, one target per network, round robin policy. > >> The PCIe is also going to be a bottleneck, but I'm ignoring this for >> now. > > Are you sure? PCIe 3.0 supports 985MB/s on x1. > >> What I really want is the fastest way to connect to boxes using IP >> (preferably). > > Then 10Gb/s ethernet would probably be the best option IMHO. That's what I thought, but 10G is expensive and no fun. I've got my PCIe slots full of HBAs and no space for multiple Ethernet, and it'd take 10+ x 1G ports to match 1x10G. I've experimented with 2-port cards; 4-port cards are usually a bit pricey (apart from some Realtek ones). I wonder if you can still get duel-ported RAM? (And I did think of using nearline drives, before anyone suggests that). The $30 USB 3.1 cards look the most fun right now. (And yes, PCI is a bottleneck because I'm using old motherboards for experimentation). :-( Regards, Frank. From owner-freebsd-questions@freebsd.org Sat Sep 2 14:26:49 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70ACCE15DF6 for ; Sat, 2 Sep 2017 14:26:49 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3192A64827 for ; Sat, 2 Sep 2017 14:26:49 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id w10so19742412oie.1 for ; Sat, 02 Sep 2017 07:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=N6ellmtpLe1bubnLKuKjj9rqxKBOi0eYLrwYosbJ80w=; b=GQsWhfa5ig9IKK5FdpPNkRJ/PsKPuvChxsXETyMn73OsQGnsZDSpR6bgLFgCmVT2El pOe5BFnTwGNZbwN41gLPQx0g1nEoFUcJaPcQiLnJC4MvheM+gSjkATOqZUlhi3jAs4TD JFYudUUaCrBC+Z2O0RHFqlBn2jLcXwstze346wmuG24Us5xAkb8RZv76y37s9rlJuwNm XJEhK1gdrEOb6sdcMRAkeX4jqbh+cGFiFDeDPZbGsgxKeeOlz5fGyaQI7vIx6zuh/OHP st2ufqmYdFMFLnouzkoT4Hoc/OriHx2JSbmjDlfAQ9VoZMbFxPD1G9m4ZVcVm7gYLlcD TYfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=N6ellmtpLe1bubnLKuKjj9rqxKBOi0eYLrwYosbJ80w=; b=hfsdeL0QoLF2+O0VI8jvl11FZXeH9bozTeWTbA7NHBixu3oanjYUwwn3wbtKZqV+wI +wFr0swDI3OVsmkJIFrlnPS7gAodXKiJvewciKdr6kxTJsuzUcAxYBOeJtRONM09+9Fd /YIyHk9fLnwan6QC5svVr3z860IVu/C6M+W9WHJGrVJXPu6v2VEXn/Eu0IqIgHAPhCbk 2coapP+DqkQKeV8OZAkg3BRlkttSV+UMxj7T5VaLVJAnT9VtYYkPodYUpBYYYOEN8iLg 86lW6xzsrUK4CbpYByQ5fmAb6iaJ85U6WntYHf7LNDOuWwfqgwcW3c2YuhxeS+4sJ5F1 +WFA== X-Gm-Message-State: AHPjjUhdQ9low79P/2niaVNGWoShbVwy6969oGFhSO55FFTZvhmpxWr1 qhsHZzaM4/qu6gfEu9dQB2Ee8ZE5Lw== X-Google-Smtp-Source: ADKCNb4dpn7KJfDP3mmcTq+rw/UKMa9pnQhgCRfuoUUvbiTJOKlDJ+zQ/gQee8frxOty+ZRZENqY6pOg3HN+wKNE3ek= X-Received: by 10.202.214.78 with SMTP id n75mr1607362oig.235.1504362407977; Sat, 02 Sep 2017 07:26:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.35.230 with HTTP; Sat, 2 Sep 2017 07:26:47 -0700 (PDT) In-Reply-To: <28182830-ee7b-4c9b-9ea6-c708535c2b32@localhost> References: <28182830-ee7b-4c9b-9ea6-c708535c2b32@localhost> From: David Mehler Date: Sat, 2 Sep 2017 10:26:47 -0400 Message-ID: Subject: Re: Re: latest sudo locks out a user To: edgar Cc: Adam Vande More , Dylan Williams , freebsd-questions Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 14:26:49 -0000 Hello, Thanks. I'll check in to the openbsd sudoreplay issue, but I'm not using it. When I asked about the pam change in the base I was wondering if that might effect sudo? I have not done a FreeBSD-update since before this issue began. Thanks. Dave. On 9/1/17, edgar wrote: > > > There was a post to openbsd misc@ about sudoreplay not working. Might be > worth posting there. Not sure if there is a sudo mailing list. > > > > > > > > > >> >> On Sep 1, 2017 at 12:23 PM, wrote: >> >> >> On Fri, Sep 1, 2017 at 11:33 AM, David Mehler wrote: > Hello everyone, >> > > Thank you for your responses. There have been no changes in the > >> sudoers file, and the syntax on it is correct. The user is in the > >> wheel group and in the sudoers file there's a line that says anyone in > >> that group can do anything as long as they have the password. > > I've >> reset the password, hasn't fixed the issue. > > I've got logging going >> and I do see the user, the environment > variables, and the command >> attempt, but nothing about an error, just > nothing. The log file has 3 >> lines in it, the other files in that > directory are empty. > > >> Could this possibly be a pam change? > PAM is from base. You stated only >> that you updated ports. -- Adam >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > From owner-freebsd-questions@freebsd.org Sat Sep 2 14:30:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AB12E160A5 for ; Sat, 2 Sep 2017 14:30:07 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C549E64958 for ; Sat, 2 Sep 2017 14:30:06 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.35] (host86-191-18-76.range86-191.btcentralplus.com [86.191.18.76]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id v82EU4b5089149 for ; Sat, 2 Sep 2017 15:30:04 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: Fun with HAST and inter-host connections To: freebsd-questions@freebsd.org References: <6cc75798-b7f2-b794-faec-8807616fd7f4@fjl.co.uk> <4199b174-63df-a6a8-6e8e-0e7330dd189f@laverenz.de> <20170901005054.66c13aa18da29aaaf8064836@yahoo.es> From: Frank Leonhardt Message-ID: Date: Sat, 2 Sep 2017 15:30:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170901005054.66c13aa18da29aaaf8064836@yahoo.es> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 14:30:07 -0000 On 31/08/2017 23:50, Eduardo Morras via freebsd-questions wrote: > On Thu, 31 Aug 2017 14:07:49 +0200 > Uwe Laverenz wrote: > >> Hi, >> >> Am 30.08.2017 um 23:40 schrieb Frank Leonhardt: >> >>> Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is >>> anyone else crazy enough to be trying the same thing? >> 5) 1Gb ethernet and multipathing: use 2 or more interfaces for iSCSI. > 6) Use Dolphinic pci express cards (I'm not affiliated) (No BSD drivers). Allows interconnect 2 servers via raw Pci express or use a pci express router to add more. > > https://www.dolphinics.com https://www.dolphinics.com/products/PXH810.html Now that's something I didn't know about! Googling or a dealer with a price turns up nothing; I guess if you need you ask you can't afford it. Perhaps they'd lend me some :-) > 7) I developed a backup using sctp with cmt instead tcp. It used, all ethernet cards simultaneusly, converting sata3 in the bottleneck. > That sounds like the kind of hack I had in mind, but using USB 3.1 instead of Ethernet. Regards, Frank. From owner-freebsd-questions@freebsd.org Sat Sep 2 16:11:15 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F62BE1A461 for ; Sat, 2 Sep 2017 16:11:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1B2267734 for ; Sat, 2 Sep 2017 16:11:10 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v82GApvT030480; Sun, 3 Sep 2017 02:10:54 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 3 Sep 2017 02:10:51 +1000 (EST) From: Ian Smith To: Frank Leonhardt cc: hps@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections In-Reply-To: Message-ID: <20170903015737.H23641@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 16:11:15 -0000 In freebsd-questions Digest, Vol 691, Issue 4, Message: 10 On Wed, 30 Aug 2017 22:40:03 +0100 Frank Leonhardt wrote: > Please note - I'm pushing what can be done with commodity hardware for > amusement here, and trying to do interesting things with FreeBSD. I *do* > want to do it this way. > > Okay, so the game is this: I've got some identical hosts with disks and > I've been working on ways of clustering them for a long time. It's what > I do for fun, right? > > I'm currently playing with failover storage. Not necessarily with HAST; > iSCSI is fun and I'm messing with geom stuff in general. But let's stick > with HAST as it illustrates the dilemma. > > When I started this game, 1Gb Ethernet was blistering. Now it's not so > hot. How do I "network" the hosts with as much throughput as possible > (with IP sockets, preferably)? Options: > > 1) 10Gb Ethernet is expensive. 10Gb switches even more so, but I can do > point-to-point. > > 2) LAG is more about failover than speed. And anyway, you end up needing > a lot of Ethernet ports on each host and it soon gets crazy. > > 3) Fibrechannel - if I bought a few old (cheap) fiberchannel cards, I'm > not sure how I could use them point-to-point. Is this possible and has > anyone done it? > > 4) USB 3.1. 10Gb. PCIe cards cost about $30. Now this sounds fun. IP > over USB anyone? > > Now please don't advise me to get a pair of fabric switches and do the > job properly. That's not what this is about. I want to see if it's > possible to make a fast(er) storage solution using cheap components. A > sort of Redundant Array of Inexpensive NAS. > > Thoughts anyone? In particular, is the USB 3.1 idea crazy? And is anyone > else crazy enough to be trying the same thing? > > Thanks, Frank. Been following this thread with idle curiousity through all the options. It's all out of my experience, but if anyone knows what's what with USB 3.1 and whether crazy or not, it'd be Hans Petter (cc'd / dobbed in :) cheers, Ian From owner-freebsd-questions@freebsd.org Sat Sep 2 16:21:20 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03256E1A97A for ; Sat, 2 Sep 2017 16:21:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CBB467C12 for ; Sat, 2 Sep 2017 16:21:18 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v82GL1DT030805; Sun, 3 Sep 2017 02:21:01 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 3 Sep 2017 02:21:01 +1000 (EST) From: Ian Smith To: Frank Leonhardt cc: hps@selasky.org, freebsd-questions@freebsd.org Subject: Re: Fun with HAST and inter-host connections In-Reply-To: <20170903015737.H23641@sola.nimnet.asn.au> Message-ID: <20170903021314.B23641@sola.nimnet.asn.au> References: <20170903015737.H23641@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 16:21:20 -0000 On Sun, 3 Sep 2017 02:10:51 +1000, Ian Smith wrote: > In freebsd-questions Digest, Vol 691, Issue 4, Message: 10 > On Wed, 30 Aug 2017 22:40:03 +0100 Frank Leonhardt wrote: > Been following this thread with idle curiousity through all the options. > > It's all out of my experience, but if anyone knows what's what with USB > 3.1 and whether crazy or not, it'd be Hans Petter (cc'd / dobbed in :) Argh sorry, I just ASSumed hps at freebsd.org. Have forwarded original. cheers, Ian From owner-freebsd-questions@freebsd.org Sat Sep 2 16:44:29 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23D6FE1B975 for ; Sat, 2 Sep 2017 16:44:29 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd01217.aruba.it (smtpcmd01217.aruba.it [62.149.158.217]) by mx1.freebsd.org (Postfix) with ESMTP id 324C768A70 for ; Sat, 2 Sep 2017 16:44:27 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.1.114] ([95.247.228.178]) by smtpcmd01.ad.aruba.it with bizsmtp id 4gjB1w00Z3rb8Kj01gjCnd; Sat, 02 Sep 2017 18:43:12 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: Broadcom BCM4321 Wireless connection configuration problems From: Victor In-Reply-To: Date: Sat, 2 Sep 2017 18:43:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <67CC1117-933C-460A-9326-18A4823B5D78@gmail.com> To: FreeBSD Mailing List X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1504370592; bh=5p4nU1QPSHARyerxXfVS63fJwXKAi7S0dauEgvAGuVc=; h=Content-Type:Mime-Version:Subject:From:Date:To; b=TaX/P6ZQBQ0tPJEUPSwG6dSj6twy7yHi4WHW3PR/MMQHEgMx2uVqgyuCHhcxzb0SL 5JWQzTCRIpt3Q6QUmmB/y4LReytuwCze/LpJkOm2rWfCAQW3RQ3dG3GcLj3ARiVe3u leA8zU4SD4pldGU+YkfK394F/ZK5WOjEwyT9/yLeMmEpLti3NnXQMpBxEO8ui2dfst 1XPNWBWgUSbOAuiy1vDyqawdemerKhTNdtAcCsbiRZxU8Pf3xQ3QkV6X4jJfqJrAOn FvkpriPSG/KJvZMV6AOkRF8ytWlMYyUUTAP07dHhxOo5jbvaKhZT9ID47fPsAKfZ3c Kdxllnkz+cAYw== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 16:44:29 -0000 I made a big mistake! I simply compiled the bwn-firmware-kmod port by means of a "make" but I = didn't issue the necessary "make install" command. Sorry por bothering you all nevertheless your suggestion paved the way = for the solution Ciao Vittorio Il giorno 01/set/2017, alle ore 18:33, Adam Vande More ha scritto: > On Fri, Sep 1, 2017 at 10:24 AM, Victor wrote: > BUT both modules are missing >=20 > % sudo kldload bwn_v4_ucode > kldload: can't load bwn_v4_ucode: No such file or directory > % sudo kldload bwn_v4_lp_ucode > kldload: can't load bwn_v4_lp_ucode: No such file or directory >=20 >=20 >=20 > What is the output of: >=20 > pkg info -l bwn-firmware-kmod >=20 > --=20 > Adam From owner-freebsd-questions@freebsd.org Sat Sep 2 20:07:30 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 395C9E01EC5 for ; Sat, 2 Sep 2017 20:07:30 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 967D06EFFC for ; Sat, 2 Sep 2017 20:07:29 +0000 (UTC) (envelope-from raf@rafal.net) Received: from [192.168.40.37] (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A9F42509B6 for ; Sat, 2 Sep 2017 16:07:27 -0400 (EDT) From: Rafal Lukawiecki Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: pkg.freebsd.org mirror having issues? Message-Id: <8A70F0B7-7B7A-4BA7-ACCC-A7DFBE754768@rafal.net> Date: Sat, 2 Sep 2017 21:07:25 +0100 To: Ralf Mardorf via freebsd-questions X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 20:07:30 -0000 As a new FreeBSD user I wonder if it is a frequent problem. I am = suddenly experiencing very slow access to the local mirrors of = pkg.freebsd.org. Even a small file takes almost a minute. Updating = FreeBSD repository catalogue (when using pkg) takes about 5-6 minutes. I = have tried using several different machines from different IPs, all = within AWS eu-west (Ireland). It was working well all week. The local mirror seems to resolve to dualstack.nonssl.global.fastly.net = (151.101.60.204) at the moment. Pingtime is not bad, 9ms, but their = server takes almost a minute before it starts serving files. Once the = file starts, it comes fast. I assume it is some sort of a server issue = at their end at Fastly, perhaps they have a dead machine in the pool = which makes it intermittent. As I am building an automated server init, this means that instead of = having a server provisioned in <5 min, it can take 20-35 mins, by which = time it is not even considered to exist by the load balancer. Is this common? Should I start (somehow) specifying individual mirrors = directly? Thank you very much for your wisdom. -- Rafal Lukawiecki Data Scientist=20 Project Botticelli Ltd From owner-freebsd-questions@freebsd.org Sat Sep 2 21:20:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A211E04D54 for ; Sat, 2 Sep 2017 21:20:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (exodus.zi0r.com [71.179.14.195]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "exodus.zi0r.com", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6844070D71; Sat, 2 Sep 2017 21:20:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (localhost [127.0.0.1]) by exodus.zi0r.com (Postfix) with ESMTP id 310E7BD3B3; Sat, 2 Sep 2017 17:20:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at zi0r.com Received: from exodus.zi0r.com ([127.0.0.1]) by exodus.zi0r.com (exodus.zi0r.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id JEJhixvNY0up; Sat, 2 Sep 2017 17:20:08 -0400 (EDT) Received: from exodus.zi0r.com (syn.zi0r.com [IPv6:2001:470:8:d58:aba:ca:daba:10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by exodus.zi0r.com (Postfix) with ESMTPSA id 8508DBD3B2; Sat, 2 Sep 2017 17:20:08 -0400 (EDT) Date: Sat, 2 Sep 2017 17:20:06 -0400 From: Ryan Steinmetz To: freebsd-questions@freebsd.org Cc: raf@rafal.net Subject: re: pkg.freebsd.org mirror having issues? Message-ID: <20170902212006.GA70826@exodus.zi0r.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 21:20:11 -0000 > As a new FreeBSD user I wonder if it is a frequent problem. I am > suddenly experiencing very slow access to the local mirrors of > pkg.freebsd.org. Even a small file takes almost a minute. Updating > FreeBSD repository catalogue (when using pkg) takes about 5-6 minutes. I > have tried using several different machines from different IPs, all > within AWS eu-west (Ireland). It was working well all week. > > The local mirror seems to resolve to dualstack.nonssl.global.fastly.net > (151.101.60.204) at the moment. Pingtime is not bad, 9ms, but their > server takes almost a minute before it starts serving files. Once the > file starts, it comes fast. I assume it is some sort of a server issue > at their end at Fastly, perhaps they have a dead machine in the pool > which makes it intermittent. > > As I am building an automated server init, this means that instead of > having a server provisioned in <5 min, it can take 20-35 mins, by which > time it is not even considered to exist by the load balancer. > > Is this common? Should I start (somehow) specifying individual mirrors > directly? Thank you very much for your wisdom. Rafal, This is not common and was caused by a configuration issue during some testing that I've been doing to (ironically) try to improve response time. Would you be able to try this once more? I've made an edit which should drastically change the experience for you. Thanks! -r > -- > Rafal Lukawiecki > Data Scientist > Project Botticelli Ltd -- Ryan Steinmetz PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7 From owner-freebsd-questions@freebsd.org Sat Sep 2 21:22:40 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E295BE050E4 for ; Sat, 2 Sep 2017 21:22:40 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 BF3EB711DD; Sat, 2 Sep 2017 21:22:40 +0000 (UTC) (envelope-from raf@rafal.net) Received: from [192.168.40.37] (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 37907509B8; Sat, 2 Sep 2017 17:22:38 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: pkg.freebsd.org mirror having issues? From: Rafal Lukawiecki In-Reply-To: <20170902212006.GA70826@exodus.zi0r.com> Date: Sat, 2 Sep 2017 22:22:37 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <54C54D41-E4D0-4E20-A2F2-498AD0D0187E@rafal.net> References: <20170902212006.GA70826@exodus.zi0r.com> To: Ryan Steinmetz X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 21:22:41 -0000 Ryan, I am glad to hear there is a reason for it. I am still awaiting a server = to finish building, it has been some 25 minutes, looks like 2 min = timeouts between files. :) I will terminate this server instance and start over. I will report back = here as soon as I can see it is faster. BTW, are you/others on an IRC/Freenode to let you know of such issues = more directly? Thank you and regards from Ireland, Rafal =20 > On 2 Sep 2017, at 22:20, Ryan Steinmetz wrote: >=20 >=20 >> As a new FreeBSD user I wonder if it is a frequent problem. I am = suddenly experiencing very slow access to the local mirrors of = pkg.freebsd.org. Even a small file takes almost a minute. Updating = FreeBSD repository catalogue (when using pkg) takes about 5-6 minutes. I = have tried using several different machines from different IPs, all = within AWS eu-west (Ireland). It was working well all week. >> The local mirror seems to resolve to = dualstack.nonssl.global.fastly.net (151.101.60.204) at the moment. = Pingtime is not bad, 9ms, but their server takes almost a minute before = it starts serving files. Once the file starts, it comes fast. I assume = it is some sort of a server issue at their end at Fastly, perhaps they = have a dead machine in the pool which makes it intermittent. >> As I am building an automated server init, this means that instead of = having a server provisioned in <5 min, it can take 20-35 mins, by which = time it is not even considered to exist by the load balancer. >> Is this common? Should I start (somehow) specifying individual = mirrors directly? Thank you very much for your wisdom. >=20 >=20 > Rafal, >=20 > This is not common and was caused by a configuration issue during some = testing that I've been doing to (ironically) try to improve response = time. >=20 > Would you be able to try this once more? I've made an edit which = should drastically change the experience for you. >=20 > Thanks! > -r >=20 >> -- >> Rafal Lukawiecki >> Data Scientist Project Botticelli Ltd >=20 >=20 >=20 > --=20 > Ryan Steinmetz > PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7 From owner-freebsd-questions@freebsd.org Sat Sep 2 22:36:17 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07EF5E07E48 for ; Sat, 2 Sep 2017 22:36:17 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (exodus.zi0r.com [71.179.14.195]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "exodus.zi0r.com", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CAB5672EA6; Sat, 2 Sep 2017 22:36:16 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (localhost [127.0.0.1]) by exodus.zi0r.com (Postfix) with ESMTP id 29835BD3B3; Sat, 2 Sep 2017 18:36:15 -0400 (EDT) X-Virus-Scanned: amavisd-new at zi0r.com Received: from exodus.zi0r.com ([127.0.0.1]) by exodus.zi0r.com (exodus.zi0r.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id Fn-gSLqGsJ6l; Sat, 2 Sep 2017 18:36:14 -0400 (EDT) Received: from exodus.zi0r.com (syn.zi0r.com [IPv6:2001:470:8:d58:aba:ca:daba:10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by exodus.zi0r.com (Postfix) with ESMTPSA id 88668BD3B2; Sat, 2 Sep 2017 18:36:14 -0400 (EDT) Date: Sat, 2 Sep 2017 18:36:12 -0400 From: Ryan Steinmetz To: Rafal Lukawiecki Cc: freebsd-questions@freebsd.org Subject: Re: pkg.freebsd.org mirror having issues? Message-ID: <20170902223612.GA66389@exodus.zi0r.com> References: <20170902212006.GA70826@exodus.zi0r.com> <54C54D41-E4D0-4E20-A2F2-498AD0D0187E@rafal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <54C54D41-E4D0-4E20-A2F2-498AD0D0187E@rafal.net> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 22:36:17 -0000 On (09/02/17 22:22), Rafal Lukawiecki wrote: >Ryan, > >I am glad to hear there is a reason for it. I am still awaiting a server to finish building, it has been some 25 minutes, looks like 2 min timeouts between files. :) Looks like I misspoke. This actually didn't have anything to do with my testing, but rather another mirror that was having issues. The 2 minute delay you were experiencing was caused by pkg waiting for a timeout on another mirror before trying one that is responding. I've removing the offending mirror for now and will investigate a more automatic solution in the near future. -r > >I will terminate this server instance and start over. I will report back here as soon as I can see it is faster. > >BTW, are you/others on an IRC/Freenode to let you know of such issues more directly? > >Thank you and regards from Ireland, >Rafal > >> On 2 Sep 2017, at 22:20, Ryan Steinmetz wrote: >> >> >>> As a new FreeBSD user I wonder if it is a frequent problem. I am suddenly experiencing very slow access to the local mirrors of pkg.freebsd.org. Even a small file takes almost a minute. Updating FreeBSD repository catalogue (when using pkg) takes about 5-6 minutes. I have tried using several different machines from different IPs, all within AWS eu-west (Ireland). It was working well all week. >>> The local mirror seems to resolve to dualstack.nonssl.global.fastly.net (151.101.60.204) at the moment. Pingtime is not bad, 9ms, but their server takes almost a minute before it starts serving files. Once the file starts, it comes fast. I assume it is some sort of a server issue at their end at Fastly, perhaps they have a dead machine in the pool which makes it intermittent. >>> As I am building an automated server init, this means that instead of having a server provisioned in <5 min, it can take 20-35 mins, by which time it is not even considered to exist by the load balancer. >>> Is this common? Should I start (somehow) specifying individual mirrors directly? Thank you very much for your wisdom. >> >> >> Rafal, >> >> This is not common and was caused by a configuration issue during some testing that I've been doing to (ironically) try to improve response time. >> >> Would you be able to try this once more? I've made an edit which should drastically change the experience for you. >> >> Thanks! >> -r >> >>> -- >>> Rafal Lukawiecki >>> Data Scientist Project Botticelli Ltd >> >> >> >> -- >> Ryan Steinmetz >> PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7 > -- Ryan Steinmetz PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7 From owner-freebsd-questions@freebsd.org Sat Sep 2 23:04:14 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6686E091DA for ; Sat, 2 Sep 2017 23:04:14 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (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 B73B673AF9; Sat, 2 Sep 2017 23:04:14 +0000 (UTC) (envelope-from raf@rafal.net) Received: from [192.168.40.37] (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B6C60509B6; Sat, 2 Sep 2017 19:04:12 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: pkg.freebsd.org mirror having issues? From: Rafal Lukawiecki In-Reply-To: <20170902223612.GA66389@exodus.zi0r.com> Date: Sun, 3 Sep 2017 00:04:11 +0100 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20170902212006.GA70826@exodus.zi0r.com> <54C54D41-E4D0-4E20-A2F2-498AD0D0187E@rafal.net> <20170902223612.GA66389@exodus.zi0r.com> To: Ryan Steinmetz X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 23:04:15 -0000 On 2 Sep 2017, at 23:36, Ryan Steinmetz wrote: >=20 > Looks like I misspoke. This actually didn't have anything to do with = my testing, but rather another mirror that was having issues. >=20 > The 2 minute delay you were experiencing was caused by pkg waiting for = a timeout on another mirror before trying one that is responding. >=20 > I've removing the offending mirror for now and will investigate a more = automatic solution in the near future. >=20 > -r Many thanks, Ryan, for fixing the issue so quickly. It was a pleasure = chatting with you on IRC, too. As I mentioned earlier, this week has = been a good experience evaluating FreeBSD as the next platform for my = company online training platform. It is clear that the quality and = reachability of the community is a major asset of FreeBSD. Thank you for = making me remember that the best of IT=E2=80=99s old days is not gone. Rafal=