From owner-freebsd-questions@freebsd.org Sun Feb 14 01:23:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96395AA0165 for ; Sun, 14 Feb 2016 01:23:49 +0000 (UTC) (envelope-from shamim.shahriar@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 2FC2615E1 for ; Sun, 14 Feb 2016 01:23:49 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id b205so26231547wmb.1 for ; Sat, 13 Feb 2016 17:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=DjEycduLjsoGLjfQsLVt/jWR1H8ywstRlaFQbxtzIWc=; b=ASbsQlOBGPkfH0RO2iNOrgYCt2XboEPIloWfpGvkIdPF1X7+oC1SVfJVZYAid9dDPl Yepf/n/Sviloph9BZ6wEKg+Hdr00lks8mEbV13mtY3+Kodhs62y4Pmai9DEgy5YCX9p1 glNvwRbejSlTXqYp6prHLRbx+auNVkDeZPZ4y/CC153QeLQQdlaZX7s8xQfpxH/ylbE6 Y9OXVNpzpjEl3fyh7im6TQy6qWOjGMOhryCPKFTV6gTgZ03/TO+7svE4qQ/8zLbLUqCf 6U7e1DIOzs7XkCoqmRdrfzKGWu+cbOoeZD0H5GA65hVO/guAqjFjGuaAkbPXO27NLPEy GPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=DjEycduLjsoGLjfQsLVt/jWR1H8ywstRlaFQbxtzIWc=; b=QM4IYD8SlQFLDqh3r6Iw731ZnUkFqFyWdh62fj2ZOEpwmBj1DaUiursYPzXS1dHFUs 0fWk1neJL3B75dg+6QsxbZbMJc6hWrGbBglG5UvC4VTTDqVd3V8QNbX/ZhoIMurN6kMD kk5vjRmgswiybWLqbLwdyBa8aOKwW9bWPJKNUozPqxHtly68p7vklD9b+byGgoiwADU4 WCkBcII2UMuWefS2pJmYwBsslbC7j7ZnA0pUKyJICpNm3ekewLvIHt5Q800IStLtCvCj ZRD6dt6RRHNmCPK1q265Wk0nJ/+pZ3J8SRb1rR8RbE79iPXsQjHGDdwDV/6k8S/TmVCX DK6g== X-Gm-Message-State: AG10YOSJ9NN5IWWzLYnP4t5thFIh5KirUl4KR2/HJm7DhMbgW1czUkG2kdg51d+qVDdWAw== X-Received: by 10.28.146.8 with SMTP id u8mr4901699wmd.72.1455413027698; Sat, 13 Feb 2016 17:23:47 -0800 (PST) Received: from osk.homenet (cpc91768-watf12-2-0-cust107.15-2.cable.virginm.net. [82.2.226.108]) by smtp.googlemail.com with ESMTPSA id h8sm18643786wjw.6.2016.02.13.17.23.45 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Feb 2016 17:23:46 -0800 (PST) To: freebsd-questions@freebsd.org From: Shamim Shahriar Subject: FreeBSD 10.2 :: IPv6 is not getting IP automatically X-Enigmail-Draft-Status: N1110 Message-ID: <56BFD721.6040005@gmail.com> Date: Sun, 14 Feb 2016 01:23:45 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 01:23:49 -0000 Dear List Members I posted this question to pfSense list as well -- since I am using a pfSense router to connect to Hurricane Electric. I followed the instructions from https://doc.pfsense.org/index.php/Using_IPv6_with_a_Tunnel_Broker So far it looks promising. I am supposed to get an IP from the router box (I have configured a /48 network, assigned /64 to the LAN). Now, as long as I connect a non-FreeBSD machine on the LAN side, it gets an IPv6 address from the router. However, my FreeBSD 10.2 machine is not getting anything. # uname -a FreeBSD osk.homenet 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295506: Thu Feb 11 11:30:22 GMT 2016 osk@osk.homenet:/usr/obj/usr/src/sys/osk amd64 # ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=4219b ether f0:de:f1:d1:78:3c inet6 fe80::f2de:f1ff:fed1:783c%em0 prefixlen 64 scopeid 0x1 inet 172.16.13.30 netmask 0xffffffe0 broadcast 172.16.13.31 nd6 options=23 media: Ethernet autoselect (1000baseT ) status: active # rtsol -D em0 checking if em0 is ready... em0 is ready set timer for em0 to 0s New timer is 0s timer expiration on em0, state = 1 send RS on em0, whose state is 2 set timer for em0 to 4s New timer is 4s received RA from fe80::20d:b9ff:fe35:c59e on em0, state is 2 OtherConfigFlag on em0 is turned on Processing RA ndo = 0x607b50 ndo->nd_opt_type = 3 ndo->nd_opt_len = 4 ndo = 0x607b70 ndo->nd_opt_type = 24 ndo->nd_opt_len = 3 ndo = 0x607b88 ndo->nd_opt_type = 25 ndo->nd_opt_len = 3 nsbuf = 2001:xxxx:xxxx::1 ndo = 0x607ba0 ndo->nd_opt_type = 31 ndo->nd_opt_len = 3 labellen = 11 dname = localdomain ndo = 0x607bb8 ndo->nd_opt_type = 5 ndo->nd_opt_len = 1 ndo = 0x607bc0 ndo->nd_opt_type = 1 ndo->nd_opt_len = 1 rsid = [em0:slaac] write to child = nameserver (11) write to child = 2001:xxxx:xxxx::1(16) write to child = (1) write to child = search (7) write to child = localdomain(11) write to child = (1) write to child = (1) script "/sbin/resolvconf" terminated stop timer for em0 RA expiration timer: type=25, msg=2001:xxxx:xxxx::1, expire=19s RA expiration timer: type=31, msg=localdomain, expire=19s there is no timer ### relevant parts from /etc/rc.conf ifconfig_em0_ipv6="inet6 accept_rtadv" rtsold_enable="YES" I have tried to add the following line as well ipv6_activate_all_interfaces="YES" but that did not change anything. So far I have tried removing the IPv4 related entries, setting up deprecated options (just in case), checking to see if I have missed anything in my kernel (nothing obvious came up), setting up an IP manually. Of these, only the last (manual setup) appear to have worked (i.e., I could communicate). I do not have any firewall running on this machine (yet). Given that I can connect to the same network using a Linux (Lubuntu) system, get a v6 IP, get 10/10 from test-ipv6.com, makes me think that the pfSense configuration is correct, and it is doing what it is supposed to do (Just to be sure, I have restarted all the devices several times, plugged devices in and out before/after restart, and so on). However, apparently my FreeBSD 10.2 is not. any suggestion / help / pointer is greatly appreciated. thanks and regards SS From owner-freebsd-questions@freebsd.org Sun Feb 14 01:49:48 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96038AA0D62 for ; Sun, 14 Feb 2016 01:49:48 +0000 (UTC) (envelope-from datasmurf@mail.ru) Received: from smtp21.mail.ru (smtp21.mail.ru [94.100.179.250]) (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 0831A1DC9 for ; Sun, 14 Feb 2016 01:49:47 +0000 (UTC) (envelope-from datasmurf@mail.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:To:From:Date; bh=PITgrCaxc7CMwi2KIj8uLIk8qr6uW9sR680tLHRcDGQ=; b=Potrg7IWNG1x1Y/ewMJHT6ObJyBegDVGpYjYXdOsvzDWM2UoI9VbQINIyuxOOOxO8svRlr2XxQ0Qtr9zPQx2qxhjJwD0DtSn/zNq7fiBSI1dqmczBdfHzfjpNYcMrT/LK6e5L9j9OHVxN+JA8yMcsBYj0gt+aRj5j5Cem+KE3XQ=; Received: from ipbcc2f4e6.dynamic.kabel-deutschland.de ([188.194.244.230]:41209 helo=monkeypad-10-2.lan) by smtp21.mail.ru with esmtpa (envelope-from ) id 1aUloe-0007TT-G7 for freebsd-questions@freebsd.org; Sun, 14 Feb 2016 04:49:37 +0300 Date: Sun, 14 Feb 2016 02:49:30 +0100 From: Datasmurf To: freebsd-questions@freebsd.org Subject: Re: /var/log/auth.log missing Message-Id: <20160214024930.a58f6bc3d32871f716f51131@mail.ru> In-Reply-To: <20160211214633.58ef122e10cfd0314b8d79a8@3dresearch.com> References: <20160211133751.a58f4c0981a0c2af16762766@3dresearch.com> <20160211214633.58ef122e10cfd0314b8d79a8@3dresearch.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mras: Ok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 01:49:48 -0000 On Thu, 11 Feb 2016 21:46:33 -0500 Janos Dohanics wrote: > On Thu, 11 Feb 2016 22:35:07 +0200 > Anton Sayetsky wrote: > > > 11 ????. 2016 ?. 20:47 ???????????? "Janos Dohanics" > > ???????: > > > > > > Hello List, > > > > > > Just discovered that on one of my boxes (FreeBSD 9.3-STABLE #0 > > > r286291) /var/log/auth.log is missing. > > > > > > [...] > > > > > > How can I fix this problem? > > # install -o root -g wheel -m 600 /dev/null /var/log/auth.log && > > # service > > syslogd reload > > Thanks! > > > > Any guess what might have caused /var/log/auth.log not be created? > > Someone deleted it. If you had a system crash recently, your fs could have been corrupted. And that file and maybe others vanished. > > Right... > > Being the only one with shell access to this system, I'm of course > concerned; perhaps I should also be concerned about my memory ;) > > -- > Janos Dohanics > _______________________________________________ > 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" -- datasmurf From owner-freebsd-questions@freebsd.org Sun Feb 14 14:37:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCB3BAA89BB for ; Sun, 14 Feb 2016 14:37:26 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) (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 9C0C912D6 for ; Sun, 14 Feb 2016 14:37:26 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: by rs2.shuttle.de (Postfix, from userid 10) id 949853320; Sun, 14 Feb 2016 15:37:15 +0100 (CET) Received: from hal9k.schweikhardt.net (localhost [127.0.0.1]) by hal9k.schweikhardt.net (8.15.2/8.15.2) with ESMTP id u1EEb53l014324 for ; Sun, 14 Feb 2016 15:37:05 +0100 (CET) (envelope-from schweikh@hal9k.schweikhardt.net) Received: (from schweikh@localhost) by hal9k.schweikhardt.net (8.15.2/8.15.2/Submit) id u1EEb5Vi014323 for freebsd-questions@freebsd.org; Sun, 14 Feb 2016 15:37:05 +0100 (CET) (envelope-from schweikh) Date: Sun, 14 Feb 2016 15:37:05 +0100 From: Jens Schweikhardt To: FreeBSD questions Subject: Copying music from FreeBSD to an Xperia Z3 Message-ID: <20160214143705.GA1290@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 14:37:26 -0000 hello, world\n I want to copy some mp3 music files onto an Sony Xperia Z3. I naively assumed it would show up as a USB mass storage device when I plug the USB cable. But all I get in dmesg is ugen0.4: at usbus0 How can I copy mp3 files from my FreeBSD box onto the device? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@freebsd.org Sun Feb 14 15:19:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F25DBAA827B for ; Sun, 14 Feb 2016 15:19:03 +0000 (UTC) (envelope-from datasmurf@mail.ru) Received: from fallback1.mail.ru (fallback1.mail.ru [94.100.181.184]) by mx1.freebsd.org (Postfix) with ESMTP id A62CB109A for ; Sun, 14 Feb 2016 15:19:03 +0000 (UTC) (envelope-from datasmurf@mail.ru) Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) by fallback1.mail.ru (mPOP.Fallback_MX) with ESMTP id 7AA096A41E59 for ; Sun, 14 Feb 2016 18:16:14 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To:From:Date; bh=m/gQQKZ5XT8g6TaUQE3cLsV4Tf1RVZI8VoiHDk+2Vm8=; b=Xdi8VcQujYIYllDM+8xVEBmpv8yudNavOUYihst7NuzyfMXIocqgisSghah5hWerhRi1PwvRl/CTHSnZ9JDtjq/XixFOSSGil5ljekxmvM6rAaxBhWawfAkSMUdMV4CtfJVS7BqA4uEqG5CqWfwv6Y+zPl0rpbwceU0PYv2jlJQ=; Received: from ipbcc2f4e6.dynamic.kabel-deutschland.de ([188.194.244.230]:45075 helo=monkeypad-10-2.lan) by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1aUyP7-0007mM-7U; Sun, 14 Feb 2016 18:16:05 +0300 Date: Sun, 14 Feb 2016 16:15:56 +0100 From: Datasmurf To: Jens Schweikhardt Cc: FreeBSD questions Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-Id: <20160214161556.ba6fb9e94caded6a8d12a114@mail.ru> In-Reply-To: <20160214143705.GA1290@schweikhardt.net> References: <20160214143705.GA1290@schweikhardt.net> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mras: Ok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:19:04 -0000 On Sun, 14 Feb 2016 15:37:05 +0100 Jens Schweikhardt wrote: > hello, world\n > > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is > > ugen0.4: at usbus0 > > How can I copy mp3 files from my FreeBSD box onto the device? > > > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi Jens, you have to set the phone to MSC Mode, Settings->Xperia Connctivity->USB Settings->USB Connection Mode to MSC But you'll need a SD Card in the Phone, you can't access the internal memory of the phone. cheers -- Datasmurf From owner-freebsd-questions@freebsd.org Sun Feb 14 15:27:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38193AA8852 for ; Sun, 14 Feb 2016 15:27:43 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx2.eichornenterprises.com (mx2.eichornenterprises.com [104.236.159.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2734919BE for ; Sun, 14 Feb 2016 15:27:42 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from smtp.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx2.eichornenterprises.com (OpenSMTPD) with ESMTP id c912f647; Sun, 14 Feb 2016 07:27:39 -0800 (PST) Received: by smtp.eichornenterprises.com (OpenSMTPD) with ESMTPSA id c433293b TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sun, 14 Feb 2016 10:27:38 -0500 (EST) Message-ID: <1455463681.1203.9.camel@michaeleichorn.com> Subject: Re: Copying music from FreeBSD to an Xperia Z3 From: "Michael B. Eichorn" To: Jens Schweikhardt , FreeBSD questions Date: Sun, 14 Feb 2016 10:28:01 -0500 In-Reply-To: <20160214143705.GA1290@schweikhardt.net> References: <20160214143705.GA1290@schweikhardt.net> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-fs7qGX5E9JnZBf6g6Ibh" X-Mailer: Evolution 3.18.4 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:27:43 -0000 --=-fs7qGX5E9JnZBf6g6Ibh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2016-02-14 at 15:37 +0100, Jens Schweikhardt wrote: > hello, world\n >=20 > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is >=20 > =C2=A0 ugen0.4: at usbus0 >=20 > How can I copy mp3 files from my FreeBSD box onto the device? >=20 >=20 > Regards, >=20 > Jens Many modern android devices do not allow for USB mass storage but rather use MTP[1]. I have no idea as to the level of freebsd support for MTP. In my experiance it is just easier to use SFTP or Syncthing for file transfers with android devices. [1]=C2=A0https://en.wikipedia.org/wiki/Media_Transfer_Protocol --=-fs7qGX5E9JnZBf6g6Ibh Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNVBAMMFmlrZUBtaWNo YWVsZWljaG9ybi5jb20xJTAjBgkqhkiG9w0BCQEWFmlrZUBtaWNoYWVsZWljaG9ybi5jb20wggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJVdWALPz5h2s5zUQGIJYl6Vp8FPtZNko8q/3s crCsxXJLprMaDdpnqTsmkbmEfKvsqPQE6HVOpGxVRTl/tCm+VvouW9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E4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQ cmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAw5dxjCBpwYLKoZIhvcNAQkQAgsxgZeggZQw gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUg RGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFBy aW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCSqGSIb3DQEBAQUABIIBAMGOqTwb AdvkcI/fB3ubscc7mRm7zir0qLKJhA1T5bbpFD6kHX466sJZy/B6oSWxgfZk6S1d4SU29qrYHsRC CKZPsNWPFENSlqKNMn9vVahLT5p0H1CmEYWGcWhL+ZGbbGxGU0hS3nSlRSNHRHS4p8Z2BpJlFNRk yVe7kYfs7PUwETha/V9e1OxFI5vygUFElMZKURUZsR7I5qQ+U47RZzDkBUkMfpcceYhyccoort56 CYT4a1wa2vKROdPB3cIaeuYyyV/4YEPjk/6SnxPVF83En4/WpT8w1xtXJRJTrkkvoWylw8JTwM95 DPVkS6vZCl2KzIMW84KNdm77c05k0T4AAAAAAAA= --=-fs7qGX5E9JnZBf6g6Ibh-- From owner-freebsd-questions@freebsd.org Sun Feb 14 15:34:18 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CC1CAA8B9C for ; Sun, 14 Feb 2016 15:34:18 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D55B91DD2 for ; Sun, 14 Feb 2016 15:34:17 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u1EF9eel027832; Sun, 14 Feb 2016 15:09:41 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Copying music from FreeBSD to an Xperia Z3 To: Jens Schweikhardt , FreeBSD questions References: <20160214143705.GA1290@schweikhardt.net> From: Arthur Chance Message-ID: <56C098B4.30001@qeng-ho.org> Date: Sun, 14 Feb 2016 15:09:40 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160214143705.GA1290@schweikhardt.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:34:18 -0000 On 14/02/2016 14:37, Jens Schweikhardt wrote: > hello, world\n > > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is > > ugen0.4: at usbus0 > > How can I copy mp3 files from my FreeBSD box onto the device? Many of the later smartphones don't present as USB disks, supposedly on the grounds of safety. Instead they talk MTP (media transport protocol). I've never used it myself, but Wikipedia says Gnome's GVFS supports it, as does KDE's KIO slave. Going the FUSE route you might look at sysutils/fusefs-simple-mtpfs or sysutils/mtpfs. If you want a standalone program take a look at audio/gmtp. -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point. From owner-freebsd-questions@freebsd.org Sun Feb 14 16:41:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2505FAA8AC9 for ; Sun, 14 Feb 2016 16:41:09 +0000 (UTC) (envelope-from che@bein.link) Received: from mail.bein.link (bein.link [37.252.124.82]) (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 E58B61762 for ; Sun, 14 Feb 2016 16:41:08 +0000 (UTC) (envelope-from che@bein.link) Received: from netbook.home.bein.link (home.bein.link [172.16.32.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.bein.link (Postfix) with ESMTPSA id E8E2124BE06; Sun, 14 Feb 2016 16:34:05 +0000 (UTC) Date: Sun, 14 Feb 2016 19:34:04 +0300 From: Maxim Filimonov To: Jens Schweikhardt Cc: FreeBSD questions Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-Id: <20160214193404.8e4c4de80c7d4dca8c4081df@bein.link> In-Reply-To: <20160214143705.GA1290@schweikhardt.net> References: <20160214143705.GA1290@schweikhardt.net> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; i386-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 16:41:09 -0000 On Sun, 14 Feb 2016 15:37:05 +0100 Jens Schweikhardt wrote: > hello, world\n > > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is > > ugen0.4: at usbus0 > > How can I copy mp3 files from my FreeBSD box onto the device? > > Hello Jens, My Android smartphone also uses MTP instead of Mass Storage. I use fusefs-simple-mtpfs to access its memory. As you might have noticed, this is a fuse module to access MTP devices. It's relatively slow, however it's rather stable. -- Maxim Filimonov From owner-freebsd-questions@freebsd.org Sun Feb 14 16:50:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2482AA8F6D for ; Sun, 14 Feb 2016 16:50:33 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp2.bway.net (smtp2.v6.bway.net [IPv6:2607:d300:1::28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 929C21CBC for ; Sun, 14 Feb 2016 16:50:33 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-87.dsl.bway.net [216.220.115.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 9C13695851; Sun, 14 Feb 2016 11:50:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1455468622; bh=ExftLn1qrFWL9RgDQ+yZMEElp4lUH8KPBWbqxJaAJGc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=SrrQArlt9/CTo9TwHqoBbWQ/2rGw65dw9MpibngYC9WSO62SZqUwwFhBOnwEhUfX9 SsecBx8mPXAivU7lR/fj6GaV3LRdzbwf947v0RAg3+Pfhupaj1g3JZRFybdmR3UUUc 8EqsHa6s3FS5hEfQbpflEAZnegswK50RCW06iItw= Date: Sun, 14 Feb 2016 11:50:22 -0500 From: mfv To: Arthur Chance Cc: Jens Schweikhardt , FreeBSD questions Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-ID: <20160214115022.33332634@gecko4> In-Reply-To: <56C098B4.30001@qeng-ho.org> References: <20160214143705.GA1290@schweikhardt.net> <56C098B4.30001@qeng-ho.org> Reply-To: mfv@bway.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 16:50:33 -0000 > On Sun, 2016-02-14 at 15:09 Arthur Chance wrote: > >On 14/02/2016 14:37, Jens Schweikhardt wrote: >> hello, world\n >> >> I want to copy some mp3 music files onto an Sony Xperia Z3. I naively >> assumed it would show up as a USB mass storage device when I plug the >> USB cable. But all I get in dmesg is >> >> ugen0.4: at usbus0 >> >> How can I copy mp3 files from my FreeBSD box onto the device? > >Many of the later smartphones don't present as USB disks, supposedly >on the grounds of safety. Instead they talk MTP (media transport >protocol). I've never used it myself, but Wikipedia says Gnome's GVFS >supports it, as does KDE's KIO slave. Going the FUSE route you might >look at sysutils/fusefs-simple-mtpfs or sysutils/mtpfs. If you want a >standalone program take a look at audio/gmtp. > Hello, I am not all that familiar with cell phones, but I do have an Android tablet that has an microSD slot. I am able to copy files between the tablet and FreeBSD by using a microSD reader on the latter. Since the Xperia is Android-based with a microSD slot, this may be another option, if all else fails. Cheers ... Marek From owner-freebsd-questions@freebsd.org Mon Feb 15 08:49:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6666DAA8A9C for ; Mon, 15 Feb 2016 08:49:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F3EC1E17 for ; Mon, 15 Feb 2016 08:49:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-128-218.dynamic.qsc.de [92.195.128.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 885C33CE7A; Mon, 15 Feb 2016 09:49:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1F8n3qg002061; Mon, 15 Feb 2016 09:49:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 15 Feb 2016 09:49:03 +0100 From: Polytropon To: Jens Schweikhardt Cc: FreeBSD questions Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-Id: <20160215094903.13399840.freebsd@edvax.de> In-Reply-To: <20160214143705.GA1290@schweikhardt.net> References: <20160214143705.GA1290@schweikhardt.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 08:49:13 -0000 On Sun, 14 Feb 2016 15:37:05 +0100, Jens Schweikhardt wrote: > hello, world\n >=20 > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is >=20 > ugen0.4: at usbus0 >=20 > How can I copy mp3 files from my FreeBSD box onto the device? Today's solution is to use MTP. Even though some devices might present direct access devices, those usually do not work as intended. You'll need an MTP client (comparable to PTP used for cameras). There's a FUSE plugin to make it easier to mount those devices. Additionally check the archives for this topic, it has been discussed recently (I think this year). However, if you have _removable_ media in the device, such as an micro SD card, just use the card for data transfer. I'm doing the same (with a =B5SD->SD adapter and a host-integrated SD card reader). Maybe this is worth a try. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Feb 15 09:05:48 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2E1BAA6539 for ; Mon, 15 Feb 2016 09:05:48 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CD8D153B for ; Mon, 15 Feb 2016 09:05:48 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u1F95RZv073619 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 15 Feb 2016 10:05:27 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u1F95AGd073612; Mon, 15 Feb 2016 10:05:27 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 15 Feb 2016 10:05:10 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Matthias Fechner cc: freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-Reply-To: <56BEEEDE.9000201@fechner.net> Message-ID: References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> <56BEEEDE.9000201@fechner.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 09:05:49 -0000 On Sat, 13 Feb 2016 09:52+0100, Matthias Fechner wrote: > Am 12.02.2016 um 08:28 schrieb Trond Endrestøl: > > The ESP contains nothing more than the boot1.efi disquised as > > /EFI/BOOT/BOOTX64.EFI, i.e. the contents of the /boot/boot1.efifat > > image. The bootfs property points to zroot/ROOT/default, and > > everything else resides in the zpool. > > > > Somehow your setup is different. > > I will give you as many details as you need to find out why it does not > work. > The FreeBSD is running in an Oracle Virtualbox on windows 10 (version > 5.0.14r105127). I use this version to simulate updates for my real boxes. > > There is a FreeBSD 10.2-RELEASE-p9 installed that is updated using > freebsd-update. > > The zpool consists of two 20GB harddisk switch together as a mirror: > pool: zroot > state: ONLINE > scan: resilvered 8.82G in 0h12m with 0 errors on Wed Feb 10 08:54:53 2016 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gpt/disk0 ONLINE 0 0 0 > gpt/disk1 ONLINE 0 0 0 > > I resized the zpool to have space for the efi partition (was a little > bit of snapshoting and copying around). > The new layout of both disks is now: > $ gpart show > => 34 41942973 ada0 GPT (20G) > 34 6 - free - (3.0K) > 40 262144 1 efi (128M) > 262184 128 2 freebsd-boot (64K) > 262312 41680688 3 freebsd-zfs (20G) > 41943000 7 - free - (3.5K) > > => 34 41942973 ada1 GPT (20G) > 34 6 - free - (3.0K) > 40 262144 1 efi (128M) > 262184 128 2 freebsd-boot (64K) > 262312 41680688 3 freebsd-zfs (20G) > 41943000 7 - free - (3.5K) > > As you can see, I have legacy and efi partions available so I can boot > uefi and legacy. > > As freebsd10.2 is not able to boot efi I copied the boot1.efi/loader.efi > and GNUSparseFile/boot1.efifat (using dd) to the efi partition. > The efi partition was filled with: > newfs_msdos ada0p1 > mount -t msdosfs /dev/ada0p1 /mnt > mkdir -p /mnt/efi/boot/ > cp boot1.efi /mnt/efi/boot/BOOTx64.efi > mkdir -p /mnt/boot > cat > /mnt/boot/loader.rc << EOF > unload > set currdev=zfs:zroot/ROOT/default: > load boot/kernel/kernel > load boot/kernel/zfs.ko > autoboot > EOF > (cd /mnt && find .) > . > ./efi > ./efi/boot > ./efi/boot/BOOTx64.efi > ./boot > ./boot/loader.rc > umount /mnt > > The same steps are performed on the second disk (but this should make > for these test not a difference I think). > > I tested boot1.efi/loader.efi and the efifat with dd from 10.3-beta1 and > 11, but was only able to boot with the loader.rc in place. The moment I > removed the loader.rc the systems stops on boot prompt and I have to > type the lines from the loader.rc manually to boot the system. > > The bootfs flag is defined: > $ zpool get bootfs > NAME PROPERTY VALUE SOURCE > zroot bootfs zroot/ROOT/default local > > $ zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 12.9G 6.19G 19K none > zroot/ROOT 433M 6.19G 19K none > zroot/ROOT/default 433M 6.19G 433M none > zroot/swap 4.13G 10.3G 8K - > zroot/tmp 74.5K 6.19G 74.5K /tmp > zroot/usr 5.68G 6.19G 3.42G /usr > zroot/usr/home 11.2M 6.19G 11.2M /usr/home > zroot/usr/local 895M 6.19G 895M /usr/local > zroot/usr/ports 525M 6.19G 280M /usr/ports > zroot/usr/ports/distfiles 242M 6.19G 242M /usr/ports/distfiles > zroot/usr/ports/packages 2.76M 6.19G 2.76M /usr/ports/packages > zroot/usr/src 880M 6.19G 880M /usr/src > zroot/var 2.72G 6.19G 1.18G /var > zroot/var/crash 19K 6.19G 19K /var/crash > zroot/var/db 1.54G 6.19G 1.50G /var/db > zroot/var/db/pkg 38.8M 6.19G 38.8M /var/db/pkg > zroot/var/empty 19K 6.19G 19K /var/empty > zroot/var/log 243K 6.19G 243K /var/log > zroot/var/mail 23K 6.19G 23K /var/mail > zroot/var/run 30K 6.19G 30K /var/run > zroot/var/tmp 171K 6.19G 171K /var/tmp > > > $ zfs get mountpoint > > NAME PROPERTY VALUE SOURCE > > zroot mountpoint none received > > zroot/ROOT mountpoint none inherited from zroot > > zroot/ROOT/default mountpoint none inherited from zroot > > zroot/swap mountpoint - - > > zroot/tmp mountpoint /tmp received > > zroot/usr mountpoint /usr received > > zroot/usr/home mountpoint /usr/home inherited from zroot/usr > > zroot/usr/local mountpoint /usr/local inherited from zroot/usr > > zroot/usr/ports mountpoint /usr/ports inherited from zroot/usr > > zroot/usr/ports/distfiles mountpoint /usr/ports/distfiles inherited from zroot/usr > > zroot/usr/ports/packages mountpoint /usr/ports/packages inherited from zroot/usr > > zroot/usr/src mountpoint /usr/src inherited from zroot/usr > > zroot/var mountpoint /var received > > zroot/var/crash mountpoint /var/crash inherited from zroot/var > > zroot/var/db mountpoint /var/db inherited from zroot/var > > zroot/var/db/pkg mountpoint /var/db/pkg inherited from zroot/var > > zroot/var/empty mountpoint /var/empty inherited from zroot/var > > zroot/var/log mountpoint /var/log inherited from zroot/var > > zroot/var/mail mountpoint /var/mail inherited from zroot/var > > zroot/var/run mountpoint /var/run inherited from zroot/var > > zroot/var/tmp mountpoint /var/tmp inherited from zroot/var > > The boot environments are managed using beadm: > $ beadm list > BE Active Mountpoint Space Created > default NR / 433.0M 2016-02-10 08:10 > > I hope the post is not to long ;) I tried to recreate your setup using FreeBSD-10.3-BETA1-amd64-uefi-dvd1.iso. It booted just fine without any loader.rc stored in the ESP. To recap: gpart create -s gpt ada0 gpart create -s gpt ada1 gpart add -a 4K -t efi -s 128M ada0 gpart add -a 4K -t efi -s 128M ada1 gpart add -a 4K -t freebsd-boot -s 64K ada0 gpart add -a 4K -t freebsd-boot -s 64K ada1 gpart add -a 4K -t freebsd-zfs ada0 gpart add -a 4K -t freebsd-zfs ada1 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada1 newfs_msdos ada0p1 newfs_msdos ada1p1 mount -t msdosfs /dev/ada0p1 /mnt mkdir -p /mnt/EFI/BOOT cp -p /boot/boot1.efi /mnt/EFI/BOOT/BOOTX64.EFI umount /mnt mount -t msdosfs /dev/ada1p1 /mnt mkdir -p /mnt/EFI/BOOT cp -p /boot/boot1.efi /mnt/EFI/BOOT/BOOTX64.EFI umount /mnt kldload zfs sysctl vfs.zfs.min_auto_ashift=12 hostname matthias.example.org zpool create -o autoreplace=on -o cachefile=/tmp/zpool.cache -o failmode=continue -O mountpoint=legacy zroot mirror ada0p3 ada1p3 I used my own recipe for crafting the ZFS pool, you'll find the recipe as the files matching 0* at http://ximalas.info/~trond/create-zfs/canmount/ The two .vdi files (2x 1,065,353,216 bytes) can be downloaded for comparison from http://ximalas.info/~trond/matthias/ -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Mon Feb 15 09:06:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50959AA6719 for ; Mon, 15 Feb 2016 09:06:34 +0000 (UTC) (envelope-from yurannich@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D8F1195A for ; Mon, 15 Feb 2016 09:06:34 +0000 (UTC) (envelope-from yurannich@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id g203so126294663iof.2 for ; Mon, 15 Feb 2016 01:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9SOgpjwW+VffjF0JaDeYO70n3PaWiP7A3FdENGQIza0=; b=d3DFy7N1iw3XrxJGpf5yLZRxdfgt1X9zuYPPVu7JxgogvDBjUkXmw7l1JC1F3aMDyj XeO0JhGwSEWqdP1IMguJDJi9QeQa273UnHHOjeCQgOoOuLrBEpbuUEPf0ndAPfh6btgB L16ug62bfRyMvvyux2hpvhntzi01Z5VWDJmifxQTjYGs6xFmTxA8XPVcxtpmSpReHC+O E+oO0sB9Jou8bbz0UdWN3pn7d4GED9VC2KqDbXYXBZO0f/LF5HCcmkI+o4hKSOtcuVVi +sPEDc7k/qqoRFSgVSGbA6pT6TZFEaIU9xFhdC3upfswKM/s3++TDmwGTNlkxDjMu/Tz /7mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=9SOgpjwW+VffjF0JaDeYO70n3PaWiP7A3FdENGQIza0=; b=cAokC5BNy4Fv0R4gS85vNOCGa0/k8BHvi4ESye82+RENUrdYLK6aj1CKJHnAdmwbXL o4Xbxc0S2HW37X5Ggi1OIxhl4XXB+LDDnCBLKWdkI24eyrRHarxCOdSjTwEWO9FSWCcy dI4cxSoCYHwf87UA2+LfYRkcUwKeZE1tMmPY+FQ0C7Vm9jLjUTKnhwiwnZ2qrL3obhNg KkjjEQ5yNOSOQtnhPp3Lf6OD4k5XUSYJJNsB14WWghIB9m3phySvAvfK4FlHPJmjmdnC QXnVMfYrshqdyBdGASpLKlROw8AnKLb7JxpCr3Xe7R+mLIXfN2NOdk1CsM5H21URlI4G TuhQ== X-Gm-Message-State: AG10YOQY8e13cf1MJtYlMsWoXQ4h1+mZoCiA+gGqCYMwKUtA0PyUc7ketcbaM8NSwfgWkYYPI+0GerjjDBqSRQ== MIME-Version: 1.0 X-Received: by 10.107.6.205 with SMTP id f74mr16754898ioi.63.1455527193548; Mon, 15 Feb 2016 01:06:33 -0800 (PST) Received: by 10.36.252.1 with HTTP; Mon, 15 Feb 2016 01:06:33 -0800 (PST) Date: Mon, 15 Feb 2016 16:06:33 +0700 Message-ID: Subject: Support of ARM Odroid X device From: =?UTF-8?B?0K7RgNC40Lkg0JvRg9C60LjQvQ==?= To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 09:06:34 -0000 Hi! I've been a fan of FreeBSD (since 4) and would like to learn about the support of other products of ODROID (ODROID X) because support ODROID C1 already be wondering what about the other products? From owner-freebsd-questions@freebsd.org Mon Feb 15 09:22:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 957F9AA811D for ; Mon, 15 Feb 2016 09:22:36 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5693D10C3 for ; Mon, 15 Feb 2016 09:22:36 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-88-217-181-205.dynamic.mnet-online.de [88.217.181.205]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 35BE41AF2C6 for ; Mon, 15 Feb 2016 10:22:25 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 35BE41AF2C6 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1455528145; bh=mOHCACV10Fz8ucKynUyrGRnoDVBo+b0QxIT4GTVQv8o=; h=Subject:To:References:From:Date:In-Reply-To; b=nyGy6k2QPfDYaA69/XowQz7/5EFrnh+35D5x1l4tcqa4i+LjgQfVz4Ncx6BRx7iPY h1pzYXFQq21s2Nncf9SisWbwUVabaUvR+BQWeqh07owY4nVSTb03ZysUXMJzKoMn4z dR9rlcNuS6vesZNH9o/HDcwehU826E/ZMnIK7/f4= Received: from [192.168.0.151] (aftr-88-217-181-205.dynamic.mnet-online.de [88.217.181.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id A220AD8CD5 for ; Mon, 15 Feb 2016 10:22:24 +0100 (CET) Subject: Re: Switch from legacy to UEFI boot?? To: freebsd-questions@freebsd.org References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> <56BCE92B.7030600@fechner.net> <56BEEEDE.9000201@fechner.net> From: Matthias Fechner Message-ID: <56C198C7.8090109@fechner.net> Date: Mon, 15 Feb 2016 10:22:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 09:22:36 -0000 Am 13.02.2016 um 23:22 schrieb krad: > is the OS you are trying to boot a 10.3 snapshot or stable, or is it 10.2? I'm booting a FreeBSD 10.2 kernel with a new boot1.efi bootloader. Maybe there is really something in the kernel that is required. > If 10.2 this maybe the problem as there are other bits in the bootstrap > process that need to be updated I think. Try building stable, and put it > into a new bootenv, activate it and reboot. Then from beastie select your > 10.2 be and see if that works. I tested it now with a completely fresh installed 10.3-beta2 image and there it works. So I will wait till 10.3 is available via freebsd-update to test it with my setup. The only difference I saw was that my efi partion has 128MB and the standard efi partition the installer created 800KB. Could this be a problem of disk-size (FAT12, FAT16, FAT32...)? Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@freebsd.org Mon Feb 15 09:40:58 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48759AA8AE9 for ; Mon, 15 Feb 2016 09:40:58 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm22-vm8.bullet.mail.ir2.yahoo.com (nm22-vm8.bullet.mail.ir2.yahoo.com [212.82.97.14]) (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 9EBC41944 for ; Mon, 15 Feb 2016 09:40:57 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1455529150; bh=0c+ArC2m/ntjaD4iS+8yyZ5co0KVHNT9rddNjO0uyRY=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=tzObIlJfQGY55qxzw29wKJO5FSek6oMLQ0OPSSV860XI7wQOON0uCZdxLPApSTVTFSIIf8tfN7kN75H9q2YrTxF/2I2IE/k6WtiOXX05GMnGALudBqFjCVLpzl0eT11SbQab3JZy0zjwDq46SKphUk3ESPmwkc4R69E+6z+e/u4x7dfo+EtrrTZxmxl6ZHm7oOwonr9eW3ypK8AH0Tya3u8K/KG2lhYbB+opAdmmkbL5g6h5lZQFnfBGrL8gWjvUqsBeH0af096HMpxqCYBVx17SKTDRIB1y6fbSUselqlVqYuplZCs1D5midxu7OEauF0n9j7uHIqEFtPWBPxqX2Q== Received: from [212.82.98.51] by nm22.bullet.mail.ir2.yahoo.com with NNFMP; 15 Feb 2016 09:39:10 -0000 Received: from [46.228.39.93] by tm4.bullet.mail.ir2.yahoo.com with NNFMP; 15 Feb 2016 09:39:10 -0000 Received: from [127.0.0.1] by smtp130.mail.ir2.yahoo.com with NNFMP; 15 Feb 2016 09:39:10 -0000 X-Yahoo-Newman-Id: 279216.19023.bm@smtp130.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DPGTCFUVM1lS1Xf2fltDQvZ0Na9OP_GxpjEOxInrvAa_uyS g2MMfKTNLnoHYulUhzFUpr4vT4kPAmBHv.Lpa.HQ6o_Zeus3DWMoaPkIRvbp PKEhiZ0epJoJuwvcSz_tEFkz5bcO3__uLtZa6w0eX32H60V85wcUoQBOooAi o0SoSP6_LQAuLwQfxc7kqjLfWARPt5jpvrmCMbi0e1htVEnt5Gcw7gJ3HHLE MMprkTQsB4kY68gqZXGS0hhMW_b4lxyOV6X37FOw9MViJsMbNOPYOaZgnarM qvnIbX0qKw8EH4cAXGTb625QcRQjGoIbDADD7UjaKoU7Xi_mCWN4agWViiPQ IPuGlr04P3s_9u4_CNd5SKfOCgPioCc29P.eV60MRz.fBuFCF2EMAkT7a0UM 52_tMRZmvHV23uzB9RQSs6PSOJBd5kPpfB4rENkB9d1_R7sDe4gtYLM83W0Z 2nfIP3ivxQNeAzDeKev1TqtZxNpJB09hwPYgw_KLFDx5NAoKQctlM7oduvlE 954gH47DjVJjcuxYiq4PUwRRl8Wgyo807bwa3 X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Mon, 15 Feb 2016 10:39:08 +0100 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-Id: <20160215103908.9ce7a7ec0f41ef4c5a3dfd9a@yahoo.es> In-Reply-To: <20160214143705.GA1290@schweikhardt.net> References: <20160214143705.GA1290@schweikhardt.net> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 09:40:58 -0000 On Sun, 14 Feb 2016 15:37:05 +0100 Jens Schweikhardt wrote: > hello, world\n > > I want to copy some mp3 music files onto an Sony Xperia Z3. I naively > assumed it would show up as a USB mass storage device when I plug the > USB cable. But all I get in dmesg is > > ugen0.4: at usbus0 > > How can I copy mp3 files from my FreeBSD box onto the device? > Install a light http server on your computer, thttp or similar. Use the phone navigator to download them. The other way works too, a) you can install a upload cgi on server or b) install simplehttpserver on the phone and use the computer navigator (firefox, opera, whatever) to download from phone. With the last one you can use wget or a download plugin on your navigator to make a backup of your phone. > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) > _______________________________________________ > 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" --- --- Eduardo Morras From owner-freebsd-questions@freebsd.org Mon Feb 15 15:18:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFC60AA9C77 for ; Mon, 15 Feb 2016 15:18:52 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id C34E71E09 for ; Mon, 15 Feb 2016 15:18:52 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id AD66ECB8CAB; Mon, 15 Feb 2016 08:52:45 -0600 (CST) Received: from 69.209.201.127 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 15 Feb 2016 08:52:45 -0600 (CST) Message-ID: <51440.69.209.201.127.1455547965.squirrel@cosmo.uchicago.edu> In-Reply-To: <20160215103908.9ce7a7ec0f41ef4c5a3dfd9a@yahoo.es> References: <20160214143705.GA1290@schweikhardt.net> <20160215103908.9ce7a7ec0f41ef4c5a3dfd9a@yahoo.es> Date: Mon, 15 Feb 2016 08:52:45 -0600 (CST) Subject: Re: Copying music from FreeBSD to an Xperia Z3 From: "Valeri Galtsev" To: "Eduardo Morras" 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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 15:18:53 -0000 On Mon, February 15, 2016 3:39 am, Eduardo Morras wrote: > On Sun, 14 Feb 2016 15:37:05 +0100 > Jens Schweikhardt wrote: > >> hello, world\n >> >> I want to copy some mp3 music files onto an Sony Xperia Z3. I naively >> assumed it would show up as a USB mass storage device when I plug the >> USB cable. But all I get in dmesg is >> >> ugen0.4: at usbus0 >> >> How can I copy mp3 files from my FreeBSD box onto the device? >> > > Install a light http server on your computer, thttp or similar. Use the > phone navigator to download them. > > The other way works too, > > a) you can install a upload cgi on server or > > b) install simplehttpserver on the phone and use the computer navigator > (firefox, opera, whatever) to download from phone. > > With the last one you can use wget or a download plugin on your navigator > to make a backup of your phone. > I use owncloud installed on one of my servers, this takes care of synchronization of files, including music, with smartphone. Valeri > >> Regards, >> >> Jens >> -- >> Jens Schweikhardt http://www.schweikhardt.net/ >> SIGSIG -- signature too long (core dumped) >> _______________________________________________ >> 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" > > > --- --- > Eduardo Morras > _______________________________________________ > 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 Feb 15 19:05:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29E3EAA8D2E for ; Mon, 15 Feb 2016 19:05:46 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (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 01AEE360 for ; Mon, 15 Feb 2016 19:05:45 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f171.google.com with SMTP id xg9so57856668igb.1 for ; Mon, 15 Feb 2016 11:05:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :message-id:in-reply-to:date:mime-version:content-type; bh=LQ8vC+ibMsCbnUidSwwG7/EX5CgOsW4kQae9+59vkEY=; b=Tv1IK58pz+y6q1wJPoyoUqU2QYFFBHX1xKJr0Q2xUykhWdeOezQrltrbanSqwJzvzI V/LgV7N/KP5WUPHotd0WWy7tEs4zZoECrVK6aY2r3vkz8t2QaMR/zL7t9onffx7jY8fG 9ygpXcSZ+My5GjXiDAb6VkbZAOts+EYr+0XzSXD6jVUn2LFJ60wswz/AdnJzNEXM/76/ v9lVBTeuEl8KNljMXxc9bH2Ih7smk4RfP5Ha+1lVNSJ9jOMRjwABqZU9NLfSKg0y33Ti voDL4HUlC6VEchTS0wL0PZVqCKwcN0Hk+iApDyLN/TAckw56XdXHPAlTxuUJrFDutWdd LgWQ== X-Gm-Message-State: AG10YOT3m1Fbu0s3gP/BeSSkZOFbJwAOivD0+bNjDEqqhCEUxqDkeau659AUUo1l+A0LSw== X-Received: by 10.51.17.34 with SMTP id gb2mr11218306igd.71.1455556103724; Mon, 15 Feb 2016 09:08:23 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-151-131.mpls.qwest.net. [63.231.151.131]) by smtp.gmail.com with ESMTPSA id b101sm12337999iod.43.2016.02.15.09.08.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 09:08:22 -0800 (PST) References: <20160214143705.GA1290@schweikhardt.net> <1455463681.1203.9.camel@michaeleichorn.com> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: "Michael B. Eichorn" Cc: Jens Schweikhardt , FreeBSD questions Subject: Re: Copying music from FreeBSD to an Xperia Z3 Message-ID: <86r3gdq4wz.fsf@WorkBox.Home> In-reply-to: <1455463681.1203.9.camel@michaeleichorn.com> Date: Mon, 15 Feb 2016 11:08:21 -0600 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 19:05:46 -0000 Michael B. Eichorn writes: > In my experiance it is just easier to use SFTP or Syncthing for file > transfers with android devices. Second for net/syncthing. If you're copying a large number of files Syncthing isn't necessarily any faster than the other suggestions, and setting it up can be a little tedious (the Android interface sucks), but once you have it set up the conveniece makes up for the lack of speed. You can manage a single "master" library on your PC, and just let your phone and PC automatically sync up over your home network. Consider using MTP to copy over the bulk of the library, and setting up Syncthing after that. -- ================================================================= :: Brandon Wandersee :: :: brandon.wandersee@gmail.com :: ================================================================== 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.' - Douglas Adams ================================================================== From owner-freebsd-questions@freebsd.org Mon Feb 15 19:31:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECB83AA9C3F; Mon, 15 Feb 2016 19:31:28 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from bsd.zplay.eu (bsd.zplay.eu [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FF261396; Mon, 15 Feb 2016 19:31:27 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id 1b14505f; Mon, 15 Feb 2016 20:24:42 +0100 (CET) To: Antonio Prado Subject: Re: rolling backup X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 15 Feb 2016 20:24:42 +0100 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org In-Reply-To: <56A60471.4030804@gmail.com> References: <56A5F7FF.1050606@gmail.com> <56A60471.4030804@gmail.com> Message-ID: X-Sender: solene@bsd.zplay.eu User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 19:31:29 -0000 Le 2016-01-25 12:18, Antonio Prado a écrit : > On 1/25/16 11:25 AM, Sergei G wrote: >> Is there any good application for maintaining a rolling backup of >> filesystem? > > try rsnapshot > http://rsnapshot.org > -- > antonio > I would also recommend sysutils/backuppc From owner-freebsd-questions@freebsd.org Mon Feb 15 19:49:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33CC0AAA371; Mon, 15 Feb 2016 19:49:46 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id 14F6A1FC7; Mon, 15 Feb 2016 19:49:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 98A11CB8CB5; Mon, 15 Feb 2016 13:49:44 -0600 (CST) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 15 Feb 2016 13:49:44 -0600 (CST) Message-ID: <49137.128.135.52.6.1455565784.squirrel@cosmo.uchicago.edu> In-Reply-To: References: <56A5F7FF.1050606@gmail.com> <56A60471.4030804@gmail.com> Date: Mon, 15 Feb 2016 13:49:44 -0600 (CST) Subject: Re: rolling backup From: "Valeri Galtsev" To: =?iso-8859-1?Q?Sol=C3=A8ne_Rapenne?= Cc: "Antonio Prado" , freebsd-questions@freebsd.org, owner-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.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 19:49:46 -0000 On Mon, February 15, 2016 1:24 pm, SolÚne Rapenne wrote: > Le 2016-01-25 12:18, Antonio Prado a écrit : >> On 1/25/16 11:25 AM, Sergei G wrote: >>> Is there any good application for maintaining a rolling backup of >>> filesystem? >> >> try rsnapshot >> http://rsnapshot.org >> -- >> antonio >> > > I would also recommend sysutils/backuppc For a couple of machines, like for home use I second on backuppc. For over a dozen of machine I would recommend bacula. Note, that if you have Windows machines to back up, you will need to stay with bacula Ver 5. There is only commercial version of Widows Bacula 7 client. There is bareos which is open source fork of bacula, which has Windows client. It is not in ports though. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Feb 16 06:49:37 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AE6FAAAC4A; Tue, 16 Feb 2016 06:49:37 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33F0D17B6; Tue, 16 Feb 2016 06:49:36 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=N1Taav8pnKiXavAgU1TGzLW9p6cKYekNaim9pescKcE=; b=lLEdFjDHeTp0/nuwZ8XLG26UZB UfhNdNUNWQ3SpUQhsLrrOPlEB7c45yFoQ81B+AB1a908vp2LyvIKOM5Qluj43VAnCvmYjRVa259m5 i8ZYghU/bZj0j2AmFv1FSRcEfqdz5dAa8x6KV0+p/CuK5Hsep0pgvIHWCz4fgW480IQw=; Received: from [39.254.62.96] (port=13775 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aVYPR-003MnM-8C; Mon, 15 Feb 2016 22:42:49 -0700 Date: Tue, 16 Feb 2016 13:42:41 +0800 From: Erich Dollansky To: ???? ????? , freebsd-arm@freebsd.org Cc: freebsd-questions@FreeBSD.org Subject: Re: Support of ARM Odroid X device Message-ID: <20160216134241.2846d917@X220.alogt.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 06:49:37 -0000 Hi, On Mon, 15 Feb 2016 16:06:33 +0700 =D0=AE=D1=80=D0=B8=D0=B9 =D0=9B=D1=83=D0=BA=D0=B8=D0=BD wrote: > Hi! I've been a fan of FreeBSD (since 4) and would like to learn > about the support of other products of ODROID (ODROID X) because > support ODROID C1 already be wondering what about the other products? this question is better asked on the ARM mailing list. Erich From owner-freebsd-questions@freebsd.org Tue Feb 16 08:23:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC85EAA05F1 for ; Tue, 16 Feb 2016 08:23:05 +0000 (UTC) (envelope-from member@surveymonkey.com) Received: from Mta03.sjc.surveymonkey.com (mta03.sjc.surveymonkey.com [75.98.93.163]) by mx1.freebsd.org (Postfix) with ESMTP id 8747C130B for ; Tue, 16 Feb 2016 08:23:05 +0000 (UTC) (envelope-from member@surveymonkey.com) DKIM-Signature: v=1; a=rsa-sha1; d=smo.surveymonkey.com; s=s1024; c=simple/simple; q=dns/txt; i=@smo.surveymonkey.com; t=1455609663; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=F1y2P6AIwxremd5xADJLLIhqp0Y=; b=hCRGbolVR6WicK0izLoKNy9KQvrVZZXRz637U/dgpiOaitSjR8U/oyNPkNTw+elH C29om9pstNFMGQ/Z/wt/KB8/VWhsHPX3jtjycyxwgNWIbGpgdMSsIN+CuTWTQSy7 dbQFA1JpOhbSTzSCcCAX/dnqvFb7oXv9J/xs8X1JTEY=; X-MSFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmdAbXRhMDNAYWxsX210YXNAYWZT SllvaTRxV3FjcXpUY21NZkJKZyUzRCUzRFxAWGo3WjU0NTc5c2Rtd0V0YTJqbVlX eUlrMzklMkJPMjZXWks4SHNHOXpaT09RJTNE Received: from [10.10.12.8] ([10.10.12.8:45227] helo=sjc-smrespw120.endor.lan) by sjc-mta-01 (envelope-from ) (ecelerity 3.5.2.36399 r(ssh://hg@repos.int.messagesystems.com/MessageSystems/Platform:3.5.2.0)) with ESMTP id E7/61-01901-F37D2C65; Tue, 16 Feb 2016 00:01:03 -0800 Message-ID: From: "marius.boghian@kpiinstitute.org via surveymonkey.com" To: freebsd-questions@freebsd.org Subject: State of Employee Performance Management in 2016 Date: Tue, 16 Feb 2016 00:02:49 -0800 monkey-id: =?utf-8?q?afSJYoi4qWqcqzTcmMfBJg=253D=253D?= x-monkey-id: =?utf-8?q?Xj7Z54579sdmwEta2jmYWyIk39=252BO26WZK8HsG9zZOOQ=253D?= Reply-To: marius.boghian@kpiinstitute.org X-SM-AB-Test-Name: =?utf-8?q?default?= Sender: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; boundary="monkey_3f5a3a0e-7212-4164-af17-1e09c02e1825" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 08:23:05 -0000 From owner-freebsd-questions@freebsd.org Tue Feb 16 09:08:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5EC0AA816C for ; Tue, 16 Feb 2016 09:08:34 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from bsd.zplay.eu (bsd.zplay.eu [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2589E1980 for ; Tue, 16 Feb 2016 09:08:33 +0000 (UTC) (envelope-from solene@bsd.zplay.eu) Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id acc6d435 for ; Tue, 16 Feb 2016 10:08:28 +0100 (CET) To: freebsd-questions@freebsd.org Subject: RCTL in Generic ? X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 16 Feb 2016 10:08:28 +0100 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Message-ID: X-Sender: solene@bsd.zplay.eu User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 09:08:34 -0000 Hi, In this handbook https://www.freebsd.org/doc/handbook/security-resourcelimits.html page I read > By default, kernel support for rctl is not built-in, meaning that the > kernel will > first need to be recompiled using the instructions [..]. Add these > lines to either > GENERIC or a custom kernel configuration file, then rebuild the kernel: > options RACCT > options RCTL I downloaded the sources of 10.2-RELEASE and I found that thoses options are already in the GENERIC config file. The handbook should be updated because it seems built-in now. To activate it kern.racct.enable=1 in /boot/loader.conf is neeeded. Kind regards From owner-freebsd-questions@freebsd.org Tue Feb 16 11:04:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 220D9AA9DC2 for ; Tue, 16 Feb 2016 11:04:08 +0000 (UTC) (envelope-from website.service.privder@gmail.com) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E60FF1E79 for ; Tue, 16 Feb 2016 11:04:07 +0000 (UTC) (envelope-from website.service.privder@gmail.com) Received: by mail-pf0-x241.google.com with SMTP id 71so8678121pfv.1 for ; Tue, 16 Feb 2016 03:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:mime-version:content-type :thread-index:content-language; bh=/TtfB7cQ0mqJWyGn0jlzQ879HRO1QEKM1T8EoF+uOnc=; b=XVMG+8JlZgm519plKXwC+peZ9GwFS0V1+9Q53qqkxHAqZom2aW4y3d2OyRQ4t/vzLI GQPVX3JWkPMVD9ibqHgeYt7JMdLs012zqt+zcUMphDFie0pxKGTOL/okKwUqokbAKDJj j+ts/QFdqvmdK/FyEQW9qsN4T2ua0SLXUXteHS0K5xzehZRaDj7uuxdZLhSjRFetZO6r eNGa8hstb31EsNepjmMno45iajGgHlPvvDNZSQjY9PvG6xHf/3zthvrKIKnpE+p6mea8 4IgeKF/f6NPX8ZAB+hqPqlvAbATog8VrspqKEIuAPaQ3FstNhgyEQFXqweD9PCps/crl 7P4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:subject:date:mime-version :content-type:thread-index:content-language; bh=/TtfB7cQ0mqJWyGn0jlzQ879HRO1QEKM1T8EoF+uOnc=; b=AE0ra0fobPCPUOAuzzQPQ+7ErtiVcuBNnDrZYtWPpCPNItGEMm8W1O3SNxRNr0cR8j 5kXanavjTlBnWoI6vo3TRz5QQmZnp4lZv827e2Ts3/eINtRWxNqGcAnPGdhQvjYKLIrv bqTKo3i+Z0ZEwU1Al/AS09mV/5AsMKmxf+crWQ2hCzI7HzWx1X3c8ebdYQF5el6Y/Wwo E07wrA224F5OnmTsHxTNUdEQx928EqQax2oWMFXAFsbe0O4Sgjk16jtyuSEQu/IEa/lN gTx5SGiStEBdxtmwKEeU0BVIDEqXAZIfujZxs1R38sZDTuRqX8+rmkb/xZ0d2a6jj2lU +Ztw== X-Gm-Message-State: AG10YOSNV0wXdno0BljIKGgllYqyrhkvTgCqsIn5zmt0ZXM/gxwundOnQQguKhvhy3wW+g== X-Received: by 10.98.74.17 with SMTP id x17mr30275299pfa.14.1455620647447; Tue, 16 Feb 2016 03:04:07 -0800 (PST) Received: from allinPC ([119.82.68.252]) by smtp.gmail.com with ESMTPSA id x10sm44945285pas.37.2016.02.16.03.04.04 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 03:04:05 -0800 (PST) Message-ID: <56c30225.8a41420a.99faf.1bd6@mx.google.com> X-Google-Original-Message-ID: <0cc901d168a9$c88fe410$59afac30$@service.privder@gmail.com> From: "Abhinav kumar Singh" To: Subject: Certified Magento Developer and Solution Specialist Date: Tue, 16 Feb 2016 16:34:03 +0530 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdFoqbW2JGqBfy0tQX+5kzNiL19q3w== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 11:04:08 -0000 Hi Sir/Mam, Hope the mail finds you in great health. I am Abhinav Kumar Singh , Magento Certified Developer Plus and Solution Specialist , representing an organization backed by more than 350+ Certified Magento developers who are well-versed with each and every minute-details ranging from designing to development of the Magento stores including Automated Integration for Magento Store with Google shopping, Review, Ajax based Pagination, Q and A module and many more. You can click here to check my profile for Magento Developer Plus Certification or copy-paste the given URL in your browser. URL: http://www.magentocommerce.com/certification/directory/dev/2000581/ We have successfully completed 5000+ Magento Store Design and Development projects for our US and Europe-based business partners. Apart from this, you can click here to have a quick look on our ratings & reviews on Elance or copy-paste the given URL in your browser. URL: https://www.elance.com/s/allinwebsolutions/job-history/2?k=Magento&t=1 Click here to see how we transform ideas into real-time business or copy-paste the given URL in your browser: https://drive.google.com/file/d/0B6oIxFB5yr2PdWFNWDl6RWwxRms/view?pref=2&pli =1 Apart from Magento store designing and development, we are also renowned for developing websites through other popular open-source CMS-based platforms such as WordPress, Joomla, Drupal and others. As we were screening your website, we have noticed that your firm also provides the same services as of us. So, we believe that we can discuss for a prospective business between yours and our organization, in which your firm can outsource your work to our agency and we would be working on your client's project at the most competitive charges. There are basically 2 types of approaches we follow: 1. Basic Approach: In this approach, we accomplish the projects on behalf of yourself and work on backend for your clients. What the project will be, we will work in close coordination with you and send you the updates or reports that you can resend to your clients for the feedback. 2. White Collar Approach: This approach moves a step forward from the former, in which our professionals will deal with client communications as well for enhanced level of understanding for their requirements. In short, you close the client and send us the details, rest would be handled at our end either it is client communication, delivery or anything else. We will sign a NDA before commencing any project; so that you will be assured that none of the employees of our agency would directly get in touch with your clients unless and until it is advised from your end in writing. Kindly let me know your thoughts over the same so that we can discuss it further for a mutually-beneficial partnership model. Awaiting for your response. Regards, Abhinav Kumar Singh From owner-freebsd-questions@freebsd.org Tue Feb 16 13:06:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AFC7AAA2B9 for ; Tue, 16 Feb 2016 13:06:41 +0000 (UTC) (envelope-from alberto.piai@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 EA8CC1D38 for ; Tue, 16 Feb 2016 13:06:40 +0000 (UTC) (envelope-from alberto.piai@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id g62so190765063wme.0 for ; Tue, 16 Feb 2016 05:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pOd2m4YzGVKZbWBZ+sLnBcplYyFMj3jIOhYQjxm8TUY=; b=p9Hx4y+qAhnF/vFNSKrpOPXEV8sNxrXgsPULdjdeJr6Q2dhlLGtTbxti+UWcP71Ee6 xqbXecHPcPDVOZyqP+/X8jMB/X9PeMFNAZNKj0Sucz8we6kbDnUVA/9yGZJFPJdNNC0R P2RmkZ9yB0BlmM5TptZYyWe1yAP/O0uXTt4DB88qGZ+V8XohaXfQtlvxiHZoGlSkFAc5 P8ePWNj4yXuEQOYPtap4qD9ZsTcwfwcWbOkOvB+cwnKQ+CrqX8iyqNHcsfr56mRXPC5a zfwcXalmWOP692CD0YbB0qx4qUdQVrf0jjnHRkk0ukqS67zJ5N+xsFeXdf8TWRzCRuzJ BDKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=pOd2m4YzGVKZbWBZ+sLnBcplYyFMj3jIOhYQjxm8TUY=; b=Fem3LrK9ontv8oTG9FcoadJKUTuwQcZ/9nFvB7U3C6sDb5gA7n/u0Wq1LOi9TWJYd1 YyjJDkbHTeqQVKVLTg2bTJzwcmeVVIjsqgoHh7e2oL8cNo/AqvCv8l1mFndCYEUBdzey Eo60zRVEhe+gRwm+ybPOrcI8wZG3bSIa8+lNV93dCiYMkary5RxZRlPL3Bv+mSg4criC o8QUnSu5Qn07AONJJsLUsnqo9aE4zxymOHQkEyi2hC4W3XOfbzhouWprFUCg9zGSYwSD Oq8GErtYaYbmqNrRyJLMLoo76gZ1tKqkYPteVhacXvXO0zQJff2K3VT3PEHf1XU9rEBm g36A== X-Gm-Message-State: AG10YOTK0wRvYQEMrvgt2oMNDvwaSoIc+LmJQd1xjOGeS6NKl/ynH+dZDyyNkSXUkk9/BfqAFDk+/3ScfipMlA== MIME-Version: 1.0 X-Received: by 10.28.32.147 with SMTP id g141mr18796130wmg.19.1455627999440; Tue, 16 Feb 2016 05:06:39 -0800 (PST) Received: by 10.28.35.198 with HTTP; Tue, 16 Feb 2016 05:06:39 -0800 (PST) Date: Tue, 16 Feb 2016 14:06:39 +0100 Message-ID: Subject: USB ethenret performance problem From: Alberto Piai To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 13:06:41 -0000 Hello, I'm running pfSense 2.2.6 in a KVM virtual machine. The pfSense vm has two NICs: - LAN: em0, bridged from the vm host - WAN: ue0, attached directly to the guest using usb passthrough and an emulated EHCI controller The LAN interface works as expected. The WAN is correctly recognized from the guest box, the axe(4) driver takes over and everything seems to work smoothly: ``` root: dmesg | grep usb usbus0: controller did not stop usbus0 on uhci0 usbus1: controller did not stop usbus1 on uhci1 usbus2: controller did not stop usbus2 on uhci2 usbus3: EHCI version 1.0 usbus3 on ehci0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 Root mount waiting for: usbus3 usbus2 usbus1 usbus0 Root mount waiting for: usbus3 Root mount waiting for: usbus3 Root mount waiting for: usbus3 ugen3.2: at usbus3 axe0: on usbus3 ``` The ethernet interface is correctly attached to the faster controller (usbus3), and recognized as "100baseTX ". ue0 gets a public IP from my ISP, and everything seems to work fine, except... ``` fetch -o /dev/null http://brainlock.eu/speedtest.dat /dev/null 7% of 100 MB 923 kBps 01m55s ``` The top throughput that I can get is ~8 mbps (I've seen about 16 mbps when using bittorrent, though). My downstream is 100mbps. Connecting directly from the host, I get almost the full bandwidth. Booting the exact same VM from a linux live cd, I can also download at almost 100mbps. Booting a plain FreeBSD VM from ftp://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/10.2-RELEASE/amd64/Lat= est/ I get the same ~8mbps. This excludes a problem with the KVM usb passthrough / controller emulation (linux as a guest works fine), and it excludes a pfSense specific issue (plain FreeBSD exhibits the same problem). The guest vm doesn't seem overloaded: while downloading, top shows ~10%system, ~8%interrupt, ~82%idle. Latency is fine, and netstat doesn't show packets being dropped. Am I missing something really obvious here? If not, maybe somebody has ideas on how to further analyze/debug this? (I'm not a believer in random googling for magic solutions, but before bothering the mailing list I tried the suggestion that pops up often in the search results =E2=80=93 disabling tx and rx checksums. Makes no difference= .) Thank you! Alberto From owner-freebsd-questions@freebsd.org Tue Feb 16 18:36:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24D5EAAA923 for ; Tue, 16 Feb 2016 18:36:40 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from p3plsmtpa09-07.prod.phx3.secureserver.net (p3plsmtpa09-07.prod.phx3.secureserver.net [173.201.193.236]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 116AE1FD3 for ; Tue, 16 Feb 2016 18:36:39 +0000 (UTC) (envelope-from lists@midsummerdream.org) Received: from titania.midsummerdream.org ([107.197.157.90]) by p3plsmtpa09-07.prod.phx3.secureserver.net with id K6b21s0051xJNYB016b2iN; Tue, 16 Feb 2016 11:35:02 -0700 X-Sender: oberon@midsummerdream.org From: Rob Rati Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Support for Hightpoint Rocket 2720SGL? Date: Tue, 16 Feb 2016 13:35:12 -0500 Message-Id: <0ED4A178-951B-449A-9A34-C342DE39FA0D@midsummerdream.org> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 18:36:40 -0000 Anyone know if FreeBSD 10 supports the HighPoint Rocket 2720SGL? The = RocketRAID version looks like it would be supported by the hpt27xx = driver, but the Rocket is a non-RAID card. I haven't been able to = determine what chipset the card uses, and HighPoint makes it difficult = by having a RocketRaid 2720SGL and a Rocket 2720SGL. Rob= From owner-freebsd-questions@freebsd.org Tue Feb 16 22:53:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2B12AAB5C5 for ; Tue, 16 Feb 2016 22:53:52 +0000 (UTC) (envelope-from hagen@nornagest.de) Received: from euve10633.vserver.de (euve10633.vserver.de [62.75.145.58]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EA4D10E9 for ; Tue, 16 Feb 2016 22:53:52 +0000 (UTC) (envelope-from hagen@nornagest.de) Received: from [185.44.151.104] (helo=kvoth.localdomain) by euve10633.vserver.de with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1aVnr9-0006m9-Im for freebsd-questions@freebsd.org; Tue, 16 Feb 2016 23:12:29 +0100 Date: Tue, 16 Feb 2016 23:12:18 +0100 From: Hagen =?UTF-8?B?S8O8aGw=?= To: freebsd-questions@freebsd.org Message-ID: <20160216231218.38a7964e@kvoth.localdomain> Organization: Scientia est potentia! X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 185.44.151.104 X-SA-Exim-Mail-From: hagen@nornagest.de X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on euve10633.vserver.de X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=ALL_TRUSTED,AWL, DNS_FROM_AHBL_RHSBL autolearn=no version=3.2.5 Subject: Poudriere for building armv6 packages X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on euve10633.vserver.de) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 22:53:52 -0000 Hello, I'm using poudriere to build ports from head for AMD64, I386 and ARMV6 architectures. It was working fine, but for a while I'm getting: Error: Unable to execute id(1) in jail. Emulation or ABI wrong. when even starting the armv6 jail. I'm using the ports-mgmt/poudriere-devel port, but using ports-mgmt/poudriere gives the same results. QEMU und the jail itself seem to work fine. When I chroot into the started jail I can execute commands and uname shows arm architecture I've rebuild the jail without effect. I'm sorry for not being able to tell exactly what change broke it. Does anyone have any tips to solve it, or get more information about what is going wrong? Thanks in advance, Hagen From owner-freebsd-questions@freebsd.org Wed Feb 17 02:29:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10913AAA8AD for ; Wed, 17 Feb 2016 02:29:13 +0000 (UTC) (envelope-from teebee5227@yahoo.com) Received: from nm2-vm5.bullet.mail.ne1.yahoo.com (nm2-vm5.bullet.mail.ne1.yahoo.com [98.138.91.224]) (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 D5D61102E for ; Wed, 17 Feb 2016 02:29:12 +0000 (UTC) (envelope-from teebee5227@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1455676016; bh=iTMI84LaIKfjWmWksPqLRavLNWmzVZoYhG4ih4+9dG8=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=lG+3hC4fFWMN26wXuZIrUZoprvw0UOuK7Cs7Ze7JOxOJM+ATXXYGbcm2j6sU5G1ys9bWz7LRwmdW6USJXqcTNjjp2/WSQQe4fgwagvGCo6J42cPr7RnR4NPGEP6YRAilE+V6bl+y1eVcfMGjIt0d2IW4a16tSOIpjCmYc1L6G0psWbm9VVY4hrANv8mvCvunQfZXieVGOHQ3c/xHFQU1puANb/aRGSb8BYqdV+rZiSoV9OWbc7JBf64OCJVMik4j2LuqOGfSoDXvH4z0jAFPJMNq3QciUmnlrIFSi/alfuZmqfcXbBf0ZV0bLU4PRzbLhb6tRz40lOWapn7GW7DEUw== Received: from [98.138.100.118] by nm2.bullet.mail.ne1.yahoo.com with NNFMP; 17 Feb 2016 02:26:56 -0000 Received: from [98.138.89.250] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 17 Feb 2016 02:26:56 -0000 Received: from [127.0.0.1] by omp1042.mail.ne1.yahoo.com with NNFMP; 17 Feb 2016 02:26:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 147994.77228.bm@omp1042.mail.ne1.yahoo.com Received: by 98.138.105.200; Wed, 17 Feb 2016 02:26:55 +0000 Date: Wed, 17 Feb 2016 02:26:54 +0000 (UTC) From: Tee Bee Reply-To: Tee Bee To: "freebsd-questions@FreeBSD.org" Message-ID: <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> Subject: Help. Pretty please? MIME-Version: 1.0 References: <2090367695.4201649.1455676014872.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 02:29:13 -0000 =C2=A0do y'all help people whose confusers are running on your stuff? I hav= e an old Mac thats running Darwin Kernel version 10. 8 or something like th= at anyway. & I get stuck at the blue screen. I think its a permission issue= in a folder I just don't know what folder or how to get to it. Im not a de= veloper; a 53 year old house wife with a 10 year old Mac that I just want t= o have working again. Can you guys help me with your stuff and get it booti= ng again? =C2=A0 =C2=A0 =C2=A0 Thank you in advance for your kind response. Tee Sent from Yahoo Mail on Android From owner-freebsd-questions@freebsd.org Wed Feb 17 04:05:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B95AAA9DAD for ; Wed, 17 Feb 2016 04:05:06 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx2.eichornenterprises.com (mx2.eichornenterprises.com [104.236.159.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 195141955 for ; Wed, 17 Feb 2016 04:05:05 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from smtp.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx2.eichornenterprises.com (OpenSMTPD) with ESMTP id a5ed2acf; Tue, 16 Feb 2016 20:04:57 -0800 (PST) Received: by smtp.eichornenterprises.com (OpenSMTPD) with ESMTPSA id ac9da907 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Tue, 16 Feb 2016 23:04:56 -0500 (EST) Message-ID: <1455681921.22831.24.camel@michaeleichorn.com> Subject: Re: Help. Pretty please? From: "Michael B. Eichorn" To: Tee Bee , "freebsd-questions@FreeBSD.org" Date: Tue, 16 Feb 2016 23:05:21 -0500 In-Reply-To: <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> References: <2090367695.4201649.1455676014872.JavaMail.yahoo.ref@mail.yahoo.com> <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-lrl9qQ6LX3MPYrPNBKbz" X-Mailer: Evolution 3.18.4 Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 04:05:06 -0000 --=-lrl9qQ6LX3MPYrPNBKbz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2016-02-17 at 02:26 +0000, Tee Bee via freebsd-questions wrote: > =C2=A0do y'all help people whose confusers are running on your stuff? I > have an old Mac thats running Darwin Kernel version 10. 8 or > something like that anyway. & I get stuck at the blue screen. I think > its a permission issue in a folder I just don't know what folder or > how to get to it. Im not a developer; a 53 year old house wife with a > 10 year old Mac that I just want to have working again. Can you guys > help me with your stuff and get it booting again? =C2=A0 =C2=A0 =C2=A0 Th= ank you in > advance for your kind response. > Tee Are you sure you are in the correct place? This is a mailing list for the open source FreeBSD Operating System. Darwin and OSX contain some FreeBSD code and therefore contain associated FreeBSD copyright notices and documentation, however they are not FreeBSD or FreeBSD supported. In particular the kernels are substantially different (FreeBSD uses the FreeBSD kernel not Darwin), as such we cannot help with a Darwin kernel panic (which I am guessing is what you mean by 'blue screen'). You will need to contact your operating system vendor or community for help on a problem like this. Best of Luck. --=-lrl9qQ6LX3MPYrPNBKbz Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEqAw ggYwMIIFGKADAgECAgMOXcYwDQYJKoZIhvcNAQELBQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu dCBDQTAeFw0xNTA2MTMyMDI0NDZaFw0xNjA2MTQwMDM1NTBaMEgxHzAdBgNV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yMTcwNDA1MjFaMC8GCSqGSIb3DQEJ BDEiBCA8OoAkyF96jwtjcp88KLEiR6FXxvPgaZ0xenEybgfAPTCBpQYJKwYBBAGCNxAEMYGXMIGU MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJl IERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQ cmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAw5dxjCBpwYLKoZIhvcNAQkQAgsxgZeggZQw gYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUg RGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFBy aW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDl3GMA0GCSqGSIb3DQEBAQUABIIBAG0UmKq+ /O3BymmtHNHJt5S2rbQvrWSZaUrObGSh9x+h++TCLjx4EA7Qi9d2DpNshiM2JsyWoHJVHgPmjS+5 wdFFsZLgPAK+N2ddxSeMLams+9VyncRlK3YvIl1ltmehdjQSyzeths7+ZjFIXQP/iDZJHW5n0+jC I2spUuxsJkJ5TA7xzPKvAmJTY3BF4LWfQSVJL+rB5s7+maF9CAc9kekPCAQnj+R7+ZKKmGYrPwuE Kshb2VfyPejldRcT00InOm1pnj6xuS1IEi4DDEHoRkRoSIUmDlPdB2YGCOymWOhkeiL8HCR0uHhq cFWDZatl4umXZUhSugYlNRrYwv7GMLUAAAAAAAA= --=-lrl9qQ6LX3MPYrPNBKbz-- From owner-freebsd-questions@freebsd.org Wed Feb 17 04:32:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CB8DAAA915 for ; Wed, 17 Feb 2016 04:32:42 +0000 (UTC) (envelope-from jon@radel.com) Received: from radel.com (fly.radel.com [70.184.242.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "*.radel.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 384BD1860 for ; Wed, 17 Feb 2016 04:32:41 +0000 (UTC) (envelope-from jon@radel.com) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.18.7 (ClamAV engine v0.98.7) Received: from [2001:470:880a:4389:f54f:69b5:49bc:8754] (account jon@radel.com HELO gravenstein.local) by radel.com (CommuniGate Pro SMTP 6.1.2 _community_) with ESMTPSA id 997749; Wed, 17 Feb 2016 03:32:31 +0000 Subject: Re: Help. Pretty please? To: teebee5227@yahoo.com References: <2090367695.4201649.1455676014872.JavaMail.yahoo.ref@mail.yahoo.com> <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> Cc: freebsd-questions@freebsd.org From: Jon Radel Message-ID: <56C3E9CF.7030709@radel.com> Date: Tue, 16 Feb 2016 22:32:31 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms000100060601050408010601" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 04:32:42 -0000 This is a cryptographically signed message in MIME format. --------------ms000100060601050408010601 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2/16/16 9:26 PM, Tee Bee via freebsd-questions wrote: > do y'all help people whose confusers are running on your stuff? I hav= e an old Mac thats running Darwin Kernel version 10. 8 or something like = that anyway. & I get stuck at the blue screen. I think its a permission i= ssue in a folder I just don't know what folder or how to get to it. Im no= t a developer; a 53 year old house wife with a 10 year old Mac that I jus= t want to have working again. Can you guys help me with your stuff and ge= t it booting again? Thank you in advance for your kind response. > Tee > While it is true that parts of MacOS are sorta, kinda related to=20 FreeBSD, on the whole I think that you're better off asking this=20 question in a Mac oriented forum. I would also suggest that you provide = the Mac model, the version of MacOS (10.8?), and what it says on the=20 blue screen in any query. There are many such places, one place to start would be=20 https://discussions.apple.com/welcome --Jon Radel jon@radel.com --------------ms000100060601050408010601 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cq8wggSvMIIDl6ADAgECAhEA4CPLFRKDU4mtYW56VGdrITANBgkqhkiG9w0BAQsFADBvMQsw CQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4 dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 MB4XDTE0MTIyMjAwMDAwMFoXDTIwMDUzMDEwNDgzOFowgZsxCzAJBgNVBAYTAkdCMRswGQYD VQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNP TU9ETyBDQSBMaW1pdGVkMUEwPwYDVQQDEzhDT01PRE8gU0hBLTI1NiBDbGllbnQgQXV0aGVu dGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAImxDdp6UxlOcFIdvFamBia3uEngludRq/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UABIIBAJR2aCoXKkqWFUOUPlXNdtlc6ZrczEdhXMGVHRpYmFNL7wSq+LxfTQHm+rh9 KDe0VJhaYDGO0VyUomAMMRc+Dxrg6rUAOj6habwj4dq+SgUTUTHwEHcypY+Tv94JIKGPFhsR NyEJiBRauqCw9o7Q5F81UrczcIolUokuVnenVfjmLmvbW/TdE/jhza5nXLeCg1uTyI0p14cQ IA89vfjERKzRR6FJbCMtgJl9MFAzCX4ILY5+nplqA36z18GiXA9DnI9ac0c7/KDppXWCnXyR GwH8XKB43uC1ztFfzTjEGBnbHdg+ViqYnpDY2u0UMymmhm4ee9avzp8kEqjHBt74ZccAAAAA AAA= --------------ms000100060601050408010601-- From owner-freebsd-questions@freebsd.org Wed Feb 17 09:19:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29485AAA903 for ; Wed, 17 Feb 2016 09:19:09 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F10898A3 for ; Wed, 17 Feb 2016 09:19:08 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id c10so8623256pfc.2 for ; Wed, 17 Feb 2016 01:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=r0Y6EsDuCzsadtPmNenz+h3KGH0zrJ6kztep2Nrh65Q=; b=j4mqb31VhKRP/jxltl9P9vjXxxhID7FzLvA1XgsaYZUZGhqWL86Tb8UcasBkwOEtao 7Hdh4bkSyUDmQ52vGsFHVVmanFZPoChniC6lCKkSWzU3RtVPiVrCCowtoklkUo8jUqOY wLB+XDpkfFwqQCd10IL18Ek1qIi6ShPSaJCm4IvbD1/aWhS2iMEiLsmSmZ7a6oH2Mlxa ePshK2V/GRhAfWwgJJtWf+NiDqFqFw2L3kwjBYt9A30z68Nr+qPhMnVJw+P7+ybTtcea lsAwkfB75UHBn/siMM1Fort8ccLjw6h/VLQaAnnC2GqkImi4T7GMfDqztSbVS6cnLkxQ ACbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=r0Y6EsDuCzsadtPmNenz+h3KGH0zrJ6kztep2Nrh65Q=; b=OpVYArrS+uuvaIk0Ao3NVUrrCcduvo6/IKbBXcllvHk8bekWPAWE6F6ghiReoLkZiy GTlQsyIAhdcM/bhOXjNUmOaKL5M7fet4vUV6aoyWzAwKWQVVtZq+UmgqaE+IOBArq95I x/uL9/iyc7YmD0YyyrTXnHxTcRltjaKAT6jGOHc7yO+oOYtKy0GtuSNMzqTuutxFADXr S5/pcdH9dULeVfsTdMN6D1YFwl9G1tFeTIfNxj4FSIivrTF6+WaoTGrA0SVB+8Ky4n/p BGv2qJNFP7fspI6Wy1CvThWOr5Yrl7HO/4czxVCFxpA/v94+JSUXn354ebqndyrUVb49 wHnQ== X-Gm-Message-State: AG10YOQ7bFSnwIvOYJo4J++quhoaHZiikDgxv5SfJMQUm5mM/rEuMsdWtjKaChSXLZxEzw== X-Received: by 10.98.67.67 with SMTP id q64mr666554pfa.44.1455700748451; Wed, 17 Feb 2016 01:19:08 -0800 (PST) Received: from [192.168.1.139] ([120.29.76.174]) by smtp.googlemail.com with ESMTPSA id b2sm1053724pfd.24.2016.02.17.01.19.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Feb 2016 01:19:07 -0800 (PST) Message-ID: <56C43B09.6030001@gmail.com> Date: Wed, 17 Feb 2016 17:19:05 +0800 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Sol=E8ne_Rapenne?= CC: freebsd-questions@freebsd.org Subject: Re: RCTL in Generic ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 09:19:09 -0000 Solène Rapenne wrote: > Hi, > > In this handbook > https://www.freebsd.org/doc/handbook/security-resourcelimits.html page I > read > >> By default, kernel support for rctl is not built-in, meaning that the >> kernel will >> first need to be recompiled using the instructions [..]. Add these >> lines to either >> GENERIC or a custom kernel configuration file, then rebuild the kernel: >> options RACCT >> options RCTL > > I downloaded the sources of 10.2-RELEASE and I found that thoses options > are already in the GENERIC config file. > > The handbook should be updated because it seems built-in now. To > activate it kern.racct.enable=1 in /boot/loader.conf is neeeded. > > Kind regards The freebsd-questions list is the wrong place to report this. Submit a PR about this handbook document error. From owner-freebsd-questions@freebsd.org Wed Feb 17 10:07:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95EAEAABE57 for ; Wed, 17 Feb 2016 10:07:09 +0000 (UTC) (envelope-from el.a725ae601deb27e359921c14506de880.1.artistsarts.smtp@news.emaillabs.net.pl) Received: from smtp2-87.emaillabs.net.pl (smtp2-87.emaillabs.net.pl [185.70.38.12]) (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 60A071EEB for ; Wed, 17 Feb 2016 10:07:09 +0000 (UTC) (envelope-from el.a725ae601deb27e359921c14506de880.1.artistsarts.smtp@news.emaillabs.net.pl) Received: from smtp2-87 (smtp2-87.emaillabs.net.pl [185.70.38.12]) by smtp2-87.emaillabs.net.pl (SMTP) with ESMTP id 3q4vkg1G5Nz7VSmb for ; Wed, 17 Feb 2016 09:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emaillabs.net.pl; s=emaillabs; t=1455703115; bh=/15BvTeixtad5ydVdYWkTqRovZ0=; h=To:Subject:From:Date; b=FkQ2SXqRCx2VD1laE3aHfqkquwUAWSB4Xn6s61SIA2AZQ6OREt9HjxahQdKvBEInV kVYyd3NpJjEem5LqfduBLRcfJbD3PToMYExr5bZLUTsJ0b6BB/3Rmhzx0wPKT1WWNf Ka1HIn3E+mTOkg06JTLLZVEu1lDv9Dn54rsHRQTU= To: freebsd-questions@freebsd.org Subject: AE | Game Outsourcing Offer From: ArtistsArts Message-ID: <56C4444A.4050104@artistsarts.com> Date: Wed, 17 Feb 2016 10:58:34 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 10:07:09 -0000 Hi Artists Entertainment is game outsourcing studio. We provide services in scope of supporting game making process. We create concepts, promotional graphics, modeling, animations and music. If you are interested in music or animation please let us know, we will send the sample. Some our works, more works we can send interested clients http://www.eu.artistsgames.com/en/ae.pdf If you got any questions you can write mail or add me on skype = ae-artur.jastrzebski contact@artistsarts.com contact@artistsgames.com Regards Artur From owner-freebsd-questions@freebsd.org Wed Feb 17 14:57:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B314AAAEF1 for ; Wed, 17 Feb 2016 14:57:15 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::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 F2D3C1512 for ; Wed, 17 Feb 2016 14:57:14 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-ig0-x233.google.com with SMTP id xg9so100149293igb.1 for ; Wed, 17 Feb 2016 06:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a5w96ZmiRUJqRqSItMkRlnPBLOBR6h1HhJgWOhOfFZU=; b=oSy7icE3au/bAsGAF/1irblonM/6zQ7G4NVv2/Qk93yZMvKH+HfvMlr2JRPe57ZTeE e7fLH2fk32g21aJUio1h9GXuLQkSsRttyR9Y81WBSSr6w6NqwbzvZdHmQYLludyywsNj Bea4me9EQ9YwyufNUH5/SF/IZ3jvz6A6JgqMiA1Glk1zmx/nkXiSb7u5R+JgliKPxkiH Px19LuUXT3ZFRxFX4+TRlK97+G9cvow0xI2Elly0yHHlVw7wxX9EBa4tqn9EFEDO6hk0 v1ZOyNBkES3lt4qihOiBTtXBp8ECSiDcCe6pEti6K9pmmEcQ1BktovDD/0i2zJwNRpvB Bi8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=a5w96ZmiRUJqRqSItMkRlnPBLOBR6h1HhJgWOhOfFZU=; b=SxRdWhOh3uMA8i6SbOuTYHx8eUA9Gm5ZMJNUgG4yXmzMHQlQJXz9BhohBKVNOnfz2R IaBYa3Cnai3ApBwiS1A6Mhw1f72moBkcWFyalAEPNw3LI1cBXwgNENU9nG8BhAUUGeLJ zMjg9oKsqEeYunDS5X6Ov3MpEfQ/vB67/HoF0gUExeOy4TDri8JwW74TuUyeADET/6fx T+0coho8bp8Jb2Zc8YJpFwsRrbOvWdBZeH88ERsrzdgjyeWxMxaGH5ufwnXl+k2tJJpl QokziiqawHEgOcXraGpG84Was8GEG01Ygp/awYFL7yVRLGe+OiQA6iRhlRzLvDDmknfC 1flw== X-Gm-Message-State: AG10YOTaFT5fmWqkM9ax8AaC19u8zsbwYrTjSDwboytcAAd4FscUWE3269PxmKYKpNbtRib4h+Ln6H/AjtBwyA== MIME-Version: 1.0 X-Received: by 10.50.8.42 with SMTP id o10mr3816204iga.59.1455721034261; Wed, 17 Feb 2016 06:57:14 -0800 (PST) Received: by 10.107.152.142 with HTTP; Wed, 17 Feb 2016 06:57:14 -0800 (PST) In-Reply-To: <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> References: <2090367695.4201649.1455676014872.JavaMail.yahoo.ref@mail.yahoo.com> <2090367695.4201649.1455676014872.JavaMail.yahoo@mail.yahoo.com> Date: Wed, 17 Feb 2016 09:57:14 -0500 Message-ID: Subject: Re: Help. Pretty please? From: Alejandro Imass To: Tee Bee Cc: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 14:57:15 -0000 On Tue, Feb 16, 2016 at 9:26 PM, Tee Bee via freebsd-questions < freebsd-questions@freebsd.org> wrote: > do y'all help people whose confusers are running on your stuff? I have an > old Mac thats running Darwin Kernel version 10. 8 or something like that This is actually somewhat off-topic on this list but OS X is in great part FreeBSD so I'll try to point you in the right direction: Darwin is the OS version. Given the version you specify is OS X and not Mac OS which existed up to OS 9. Starting with OS X Apple started using a version of NextStep which was in turn based on a FreeBSD template and the Mach kernel. See: https://en.wikipedia.org/wiki/OS_X https://en.wikipedia.org/wiki/Mach_%28kernel%29 http://www.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html > anyway. & I get stuck at the blue screen. I think its a permission issue > in a folder I just don't know what folder or how to get to it. Im not a > developer; a 53 year old house wife with a 10 year old Mac that I just want > to have working again. Can you guys help me with your stuff and get it > booting again? Thank you in advance for your kind response. > You would need to provide exact model. Some architectures are no longer supported. How do you know you have 10.8 on a 2006 Mac. Up to 2006 OS X only ran on Power PC models of the Mac. Maybe you can take a picture of the blue screen and post it somewhere and provide a link to it here (please do not attach the picture), Best, Alex From owner-freebsd-questions@freebsd.org Wed Feb 17 16:44:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93BEFAAA1EC for ; Wed, 17 Feb 2016 16:44:21 +0000 (UTC) (envelope-from luislupe@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3D951C8D for ; Wed, 17 Feb 2016 16:44:20 +0000 (UTC) (envelope-from luislupe@gmx.com) Received: from localhost ([95.95.94.35]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LiY3U-1ZxrSP3l7s-00cdal for ; Wed, 17 Feb 2016 17:44:18 +0100 Date: Wed, 17 Feb 2016 16:44:14 +0000 From: "Luis P. Mendes" To: freebsd-questions@FreeBSD.org Subject: kbdmux disabled --> no useable keyboard?! Message-ID: <20160217164414.GA73442@hp.tbl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Provags-ID: V03:K0:p9MRQdocnylasBxDRBjZSCRfmEtv/0MO2p1Qlh1zs57o3XRgrQn s9ZIz9/2fpb4NUorLXevK3ejEeucAZiE/b+064lSRgKy93fOeqg/5X4RzjG1fXoSLnxejRl wzWj2mr/qjQzWn92Bidap8LiLc3AwKpwhzJgoXgE4ueURzi+1xmxSWb2JszWGXObu8qVJCF jsYXPgAQY2lQadC4FUUgQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:CsMxvl7YdXg=:HNPQN5tp0NjKLX/K2fKSSV HXXWLxVzU+Esoh/VClmG6xOEv4QLTg/UUl8LAvsT98Ta5AvXRytJWOpkMCOuEvsEeTyTWDUqT wut9ph4oFCfGJe+0mfzWzMB9F0y9o8VjCIbmC1VKcwI5Qtu5XuCWHGY9/S5wZ89Beu+ZbM+No zduGnPLQR5Lo3aWNwp7llKsUYIdGUAwNvjkRNGNgwMXeepDlj60JhVlQ/DM+oNGGwXHzhY8B2 yTGMzOEkZtSyzjF7PXNhe8wzT7mp7ThV5IPB9pG73VB2pOiijqAp+VuoQEKivcMrYMXCXO6P3 3ZaoZj6+QzgYFXsRqEvJrzVXpbJYAiCp1BN9WIscY2GCXiSFki/xr6MHAlZ7pPECWVo6SIbpm XgSujtIgtQMcBSLrBKF3x4EpVJOc+2ku/TGRsN4dMYRUKkXl6phcPFMC+MThuA1pIh5lbQZbO Hja+uzu9ofceGaR73NpqEJ8tigwYepaM5MBeVgzgbowdwm8f4uLnFj1UQ/tpaGvMyTcO4qiuN Rzrreq5AqrgLj65aHxgI1AEad0y3jj2VOAjLB4vc9pi++tFYY0LYW+uyV6xiBHpq77lHGSSQY 8edm446msPUKVocgC/d4PkIkN4F0fvjF5lN8uqwP0FnziTFVTT9B2jeCcDEterB9/Qjv3H2gW YtshYRdp6h8Ti+eraZ99Ew3LID4mvkIi8h4xDoZYzBE9lxiq8xFj/4/F920cFgI5qUnPopwHe C8Le/nEZpBZlFXGi/4X269nVLnFarT7jYVCr+QrGQKC79tLEW82bP6EXo64= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 16:44:21 -0000 (Due to change of hardware and OS I lost the original messages, but will paste the context) On 2015.11.25 Polytropon wrote: > On Tue, 24 Nov 2015 23:23:56 +0000, Luis P. Mendes wrote: > > Hi, > > > > I'm setting up a multiseat workstation, where two users, with two > > monitors, two keyboards, two mice and two X sessions can be > > connected to the same computer at the same time. > > > > For this to happen, one of the things that is necessary to do is to > > disable kbdmux in order for the two keyboards to be considered > > independent. > > > > In the past, I've accomplished this with syscon, which had other > > problems. But now with vt, when I disable kbdmux either on > > /boot/device.hints or in /boot/loader.conf with: > > hint.kbdmux.0.disabled="1" > > > > No keys are recognized by the OS, although dmesg seems to know about > > the existence of the USB keyboard. > > You need to manually transfer the control of one keyboard to the > other - from the "active" to the "inactive" one (to become the > "active" one). Use the kbdcontrol program to do this, "man kbdcontrol" > has more information about the -k option. > > This of course only works when kbdmux is disabled. Only now, could I return to this project. The steps I've taken: 1. Have an USB keyboard attached to the motherboard. No serial keyboard used. 2. In /boot/loader.conf, have these lines added: ukbd_load="YES" hint.kbdmux.0.disabled="1" hint.atkbd.0.disabled="1" hint.atkbdc.0.disabled="1" 3. In /etc/rc.conf.local: kbdcontrol -k /dev/ukbd0 < /dev/console 4. In /var/log/messages, there are these lines: kernel: ukbd0: on usbus0 kernel: kbd0 at ukbd0 5. # ll /dev/uk* crw------- 1 root wheel 0x7f 15 Fev 22:39 /dev/ukbd0 6. # ls -l /dev/kb* lrwxr-xr-x 1 root wheel 5 15 Fev 22:39 /dev/kbd0 -> ukbd0 But I can't type anything in the (virtual) console. I'm not considering X yet. I don't understand what exactly is meant as example in the manual of kbdcontrol, so cannot find what is wrong with this. Would appreciate some help on this. Luis From owner-freebsd-questions@freebsd.org Wed Feb 17 18:49:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2DB1AAAAF7 for ; Wed, 17 Feb 2016 18:49:31 +0000 (UTC) (envelope-from grillo@goldnet.it) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 95A2B1BFD for ; Wed, 17 Feb 2016 18:49:31 +0000 (UTC) (envelope-from grillo@goldnet.it) Received: by mailman.ysv.freebsd.org (Postfix) id 92A45AAAAF5; Wed, 17 Feb 2016 18:49:31 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9244CAAAAF4 for ; Wed, 17 Feb 2016 18:49:31 +0000 (UTC) (envelope-from grillo@goldnet.it) Received: from smtp38.goldnet.pro (smtp38.goldnet.pro [194.21.56.38]) by mx1.freebsd.org (Postfix) with ESMTP id 586E71BFB for ; Wed, 17 Feb 2016 18:49:31 +0000 (UTC) (envelope-from grillo@goldnet.it) Received: from mail.goldnet.it (skiz.goldnet.it [194.21.56.9]) by smtp38.goldnet.pro (Postfix) with ESMTP id 811C22AAF0 for ; Wed, 17 Feb 2016 19:41:09 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Feb 2016 19:41:12 +0100 From: grillo To: Subject: FREE BSD VS SCO Message-ID: <0c881e9226b3ca2c4bc24e0bd79d7a0b@goldnet.it> X-Sender: grillo@goldnet.it User-Agent: Roundcube Webmail/0.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 18:49:31 -0000 I need FREEBSD with SVR4 or older IBCS2 option installed to run COBOL compiler MF/L2 released for SCO 3.2 and OPENSERVER 5.0.7, I think to version 4.11 or 5.3; I tested other version 6x 7x installing the option SVR4 in the kernel with no result Can You help me? best regards Grillo From owner-freebsd-questions@freebsd.org Wed Feb 17 20:27:10 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12D84AAAB43 for ; Wed, 17 Feb 2016 20:27:10 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB19215E3 for ; Wed, 17 Feb 2016 20:27:09 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 88CD711020B; Wed, 17 Feb 2016 14:18:16 -0600 (CST) Received: by mail.geeks.org (Postfix, from userid 1003) id 626B011020A; Wed, 17 Feb 2016 14:18:16 -0600 (CST) Date: Wed, 17 Feb 2016 14:18:16 -0600 From: Doug McIntyre To: David Ford Cc: "'freebsd-questions@freebsd.org'" Subject: Re: multi-homed drive SATA drive affiliations Message-ID: <20160217201816.GA50395@geeks.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 20:27:10 -0000 On Thu, Feb 11, 2016 at 03:23:31PM +0000, David Ford wrote: > I suspect I'm missing something obvious here, but I can't quite think what. I have a set of SAS disk shelves which are each dual homed to a pair of FreeBSD 10.1 systems... > The problem is that for SATA drives (the idea is the use SSDs for L2ARC/ZIL) SATA affiliations don't appear to be having the desired effect, the disks get assigned to one host when they are attached.. .. Are you using SAS Interposer boards on each of the SATA drives, or are they plugged directly into the SAS backplane? The only way SAS dual channel works is the SAS disks have additional pins on the connector, so they can talk out either port, while SATA disks only have one set of pins/port out to talk. Typically, a disk vendor if using SATA drives or other single-port limited hardware would install a SAS Interposer board on the backside of the SATA disk, so that it can talk dual port out to the SAS backplane. Ie. on Dell systems, they have disk trays with screw mounts that are labelled SAS (which butt the drive right up to the connector), or are labelled SATA, where it leaves room to mount a SAS interposer board, such as http://www.ebay.com/itm/USED-DELL-SATA-to-SAS-CN-0PN939-13740P15945-06-A-Server-Interposer-Board-/311518244215?hash=item4887ef2d77:g:6NkAAOSwAYtWKEwX on the backside of the tray. I've also seen trays like this on all the major storage vendors, but not so much any longer, since SAS SSD's are somewhat afordable now-a-days. From owner-freebsd-questions@freebsd.org Thu Feb 18 00:13:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CC2BAACE85 for ; Thu, 18 Feb 2016 00:13:59 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1037D8E7 for ; Thu, 18 Feb 2016 00:13:59 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0DC80AACE84; Thu, 18 Feb 2016 00:13:59 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D611AACE83 for ; Thu, 18 Feb 2016 00:13:59 +0000 (UTC) (envelope-from sergeig.public@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 BF03F8E6 for ; Thu, 18 Feb 2016 00:13:58 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id e6so30111235vkh.2 for ; Wed, 17 Feb 2016 16:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pYcDhUQLBu3sP/sPJWiYvMkmUxo38fVOIaVMotSjJM4=; b=KV0NI4nwpdkDQgabe3WqEjAB+aBjl7xvVEZCeiZw8PldiSonNFgZIsb34dqepT3e/X PJGgnRQHXRYf0nZ0Wr9rmlpdIu4WpZxcN4CXJm7ovUYB/yJL/Jds/MCnuJHWxgWApX2j j99G66HciaGak210VONb9cKBZRAOunUAYbEm1ZfOHZDHPgyod9+1PVP+irN7k+QtvStM TKmEv1uPDosoMHeTQlVGEW06xt2llLsO53mXbHEXCRH8+2KDX5o8r7ZOAnP0UNtACYiT 0X/LagzOQFwnWe0k+0YNaGPYRo/6bUmRwFKaXezzOKgcOb8rpFWRsjOOaIhEGFYbUPQU XM4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=pYcDhUQLBu3sP/sPJWiYvMkmUxo38fVOIaVMotSjJM4=; b=MUyHWu4FF1LmpDZpCz+Pa9hm7WD4vDgwr7rnbIwBL2e78r2ulxDL58Kpw3P5/Szv97 6V06d9hSevOwE+uV5AeA7p/4oRf/M1dCRsUkh5c0g19SHszvD504VZ0HQnE3acoz/AeC erDLtMt2jF7GFWJM+EtrSbuGsakULHjKAuWYXJnrTkAbfraNBctUCiqHbr2ozwHBEw1n SHk3vGNZmsWs+0F5ocwI0QRKV37Nihlh2Yu/Ob9L8I/J/5cg9VqkUA5+x4IAgsSB4Mct o9Czq7Wo1YDbR+p7eZZO91gHysmYP2ULrzqbVIp9CVmORqph4Hu0Eppx+gxnto1rgJBn PUJA== X-Gm-Message-State: AG10YOR1+t6w02NCgLe8dNJLinIH6xZHHDRP/lKFBUEY1bSpvQVd6u7naLdinT+Cv5AN14LLOReO9LIJKPGkPQ== MIME-Version: 1.0 X-Received: by 10.31.47.139 with SMTP id v133mr3818225vkv.120.1455754437764; Wed, 17 Feb 2016 16:13:57 -0800 (PST) Received: by 10.31.174.132 with HTTP; Wed, 17 Feb 2016 16:13:57 -0800 (PST) Date: Wed, 17 Feb 2016 16:13:57 -0800 Message-ID: Subject: FTPD and umask From: Sergei G To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 00:13:59 -0000 I made these /etc/rc.conf changes: ftpd_enable="YES" ftpd_flags="-u u=rw,g=rw,o=r" But files uploaded to FTPD location still get created with: rw-r--r-- file mask. How do I force new file to be group writable? Thanks From owner-freebsd-questions@freebsd.org Thu Feb 18 00:19:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD2FAAAB136 for ; Thu, 18 Feb 2016 00:19:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E52CACE for ; Thu, 18 Feb 2016 00:19:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-39-227.dynamic.qsc.de [92.195.39.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 96ABF2764C; Thu, 18 Feb 2016 01:10:24 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1I0ANxi002914; Thu, 18 Feb 2016 01:10:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 18 Feb 2016 01:10:23 +0100 From: Polytropon To: "Luis P. Mendes" Cc: freebsd-questions@freebsd.org Subject: Re: kbdmux disabled --> no useable keyboard?! Message-Id: <20160218011023.8519212d.freebsd@edvax.de> In-Reply-To: <20160217164414.GA73442@hp.tbl> References: <20160217164414.GA73442@hp.tbl> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 00:19:03 -0000 On Wed, 17 Feb 2016 16:44:14 +0000, Luis P. Mendes wrote: > (Due to change of hardware and OS I lost the original messages, but > will paste the context) > > On 2015.11.25 Polytropon wrote: > > On Tue, 24 Nov 2015 23:23:56 +0000, Luis P. Mendes wrote: > > > Hi, > > > > > > I'm setting up a multiseat workstation, where two users, with two > > > monitors, two keyboards, two mice and two X sessions can be > > > connected to the same computer at the same time. > > > > > > For this to happen, one of the things that is necessary to do is to > > > disable kbdmux in order for the two keyboards to be considered > > > independent. > > > > > > In the past, I've accomplished this with syscon, which had other > > > problems. But now with vt, when I disable kbdmux either on > > > /boot/device.hints or in /boot/loader.conf with: > > > hint.kbdmux.0.disabled="1" > > > > > > No keys are recognized by the OS, although dmesg seems to know about > > > the existence of the USB keyboard. > > > > You need to manually transfer the control of one keyboard to the > > other - from the "active" to the "inactive" one (to become the > > "active" one). Use the kbdcontrol program to do this, "man kbdcontrol" > > has more information about the -k option. > > > > This of course only works when kbdmux is disabled. > > Only now, could I return to this project. > > The steps I've taken: > 1. Have an USB keyboard attached to the motherboard. No serial keyboard used. The AT keyboard isn't a typical serial keyboard. A Sun keyboard is. ;-) > 2. In /boot/loader.conf, have these lines added: > ukbd_load="YES" > hint.kbdmux.0.disabled="1" > hint.atkbd.0.disabled="1" > hint.atkbdc.0.disabled="1" I don't know if disabling the AT keyboard controller is useful here. If no keyboard is attached, the device will stay present. But if an USB keyboard is being used anyway, this should not matter. > 3. In /etc/rc.conf.local: > kbdcontrol -k /dev/ukbd0 < /dev/console That should go to /etc/rc.local. Note that /etc/rc.conf.local is a configuration file (in the style of /etc/rc.conf) that's being sourced additionally; see "man rc" and "man rc.conf" for details. > 4. In /var/log/messages, there are these lines: > kernel: ukbd0: on usbus0 > kernel: kbd0 at ukbd0 > > 5. # ll /dev/uk* > crw------- 1 root wheel 0x7f 15 Fev 22:39 /dev/ukbd0 > > 6. # ls -l /dev/kb* > lrwxr-xr-x 1 root wheel 5 15 Fev 22:39 /dev/kbd0 -> ukbd0 For comparison: With an AT and a USB keyboard both operational, the following results will be present: % ll /dev/*kbd* crw------- 1 root wheel 0, 55 2016-02-17 19:30:58 /dev/atkbd0 lrwxr-xr-x 1 root wheel 6 2016-02-17 19:30:58 /dev/kbd0@ -> atkbd0 lrwxr-xr-x 1 root wheel 7 2016-02-17 19:30:58 /dev/kbd1@ -> kbdmux0 lrwxr-xr-x 1 root wheel 5 2016-02-17 19:31:10 /dev/kbd2@ -> ukbd0 crw------- 1 root wheel 0, 10 2016-02-17 19:30:58 /dev/kbdmux0 crw------- 1 root wheel 0, 150 2016-02-17 19:31:10 /dev/ukbd0 In this case, kbdmux is active. If it was not, the both keyboards should be identified as kbd0 (atkbd0) and kbd1 (ukbd0). As you can see from your kernel message, the device has been picked up and recognized correctly, and the required device links have been established. > But I can't type anything in the (virtual) console. I'm not > considering X yet. And you are _totally sure_ the keyboard works? > I don't understand what exactly is meant as example in the manual of > kbdcontrol, so cannot find what is wrong with this. > Would appreciate some help on this. You have been using the correct command for switching to a specific keyboard (as quoted above). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Feb 18 00:20:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D2A6AAB215 for ; Thu, 18 Feb 2016 00:20:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 79ED7BA8 for ; Thu, 18 Feb 2016 00:20:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id 773AFAAB214; Thu, 18 Feb 2016 00:20:22 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76D02AAB213 for ; Thu, 18 Feb 2016 00:20:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 402F4BA7 for ; Thu, 18 Feb 2016 00:20:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-39-227.dynamic.qsc.de [92.195.39.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 48F1F27634; Thu, 18 Feb 2016 01:20:20 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1I0KJAn002986; Thu, 18 Feb 2016 01:20:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 18 Feb 2016 01:20:19 +0100 From: Polytropon To: Sergei G Cc: FreeBSD Questions Subject: Re: FTPD and umask Message-Id: <20160218012019.12f4cd61.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 00:20:22 -0000 On Wed, 17 Feb 2016 16:13:57 -0800, Sergei G wrote: > I made these /etc/rc.conf changes: > > ftpd_enable="YES" > ftpd_flags="-u u=rw,g=rw,o=r" > > But files uploaded to FTPD location still get created with: > > rw-r--r-- > > file mask. How do I force new file to be group writable? By specifying the umask in the required format. From "man ftpd": -u The default file creation mode mask is set to umask, which is expected to be an octal numeric value. Refer to umask(2) for details. This option may be overridden by login.conf(5). Use ftpd_flags="-u 664" for the group write permission. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Feb 18 05:51:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8041AABED2 for ; Thu, 18 Feb 2016 05:51:41 +0000 (UTC) (envelope-from richardyniguez66@gmail.com) Received: from mail-ob0-x248.google.com (mail-ob0-x248.google.com [IPv6:2607:f8b0:4003:c01::248]) (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 71E13D1A for ; Thu, 18 Feb 2016 05:51:41 +0000 (UTC) (envelope-from richardyniguez66@gmail.com) Received: by mail-ob0-x248.google.com with SMTP id kg5so75897450obb.2 for ; Wed, 17 Feb 2016 21:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=7XfrfHrXsDUIWsIzxgvz0M44ux8g///4cyHt7Npz9jI=; b=GdMhHBc40zo3JIJ+lfw0nTRkcaZAkCZU/Ut7hjpTOLztcYnBiA9x9mCfx52t+FXT8J RZLm2JNJJzbZJOIglV/yekAoiHb9zp8fZgaAV7oAXuFIdW2iRXC+E2pXLPxbCDB4jnoj psmEXAgunBkoL1bryEhtJKke3LTBVnYXw/0U7JQ9nFb+54ZvmzLuVlcGhqH97HCWKKSu KfwdRnyA7/YXbldkH3Z3I0QAyBrxjQwBIt3kO6oLoqudj9tXz+TOn/kN0KP/T61Aaxrv I1RC6DzIv3j4DjzD4xTqnNv/A0bhGGAR5RSp7oIfikmpIICWLI9CI2cw2hhOL1C2pt0u p/Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:message-id:date:subject:from:to :content-type; bh=7XfrfHrXsDUIWsIzxgvz0M44ux8g///4cyHt7Npz9jI=; b=idLwp934+Ddaace+xipmydHPq6xKlvSzSu147sVRi/55h9tPWjGx/BN7jx3Fz+L+zP LG2XQ+0zB1PduXEQiGKrme8QVIDV3rSIFhLlmcJiZz9nrVUgjslCugmMAha5Mkc9zWUQ Gv8sJi2AYAZVmJAnI3YfHmdxFD+F575TmUgb4zaouUEbSiSk0/4UvdSMl/wx5oKgcoMw TEjP2n8Z7LsSCzc1NAyLE9Ay41yIcARWtIBMfoWXZ2ATDJ7h2FzZaqi6siLPp3JC1VES 5Mdj020aP54lWvAOGz/BD2p9X567kZomDtX4K4bsXx/aw5efZlhn3exGGdXvhJ3U3fUO l0Tg== X-Gm-Message-State: AG10YORtdH8WQgWOu+i3fvx7Fy02na4MpdXswYPEbCpvtUDA4oaXRuaxeXO6nlzv7SKI8TyNeIbq MIME-Version: 1.0 X-Received: by 10.107.12.213 with SMTP id 82mr6858161iom.18.1455774700753; Wed, 17 Feb 2016 21:51:40 -0800 (PST) Message-ID: <001a113f9a6ee98ed3052c04f51c@google.com> Date: Thu, 18 Feb 2016 05:51:40 +0000 Subject: Re-design your website. From: Susanta To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 05:51:41 -0000 Dear Webmaster of *www.**people.freebsd.org,* In case you are looking for organizations or experts who can help you to give a new look to your existing website or to develop your new website, let us take this opportunity to let you know about us. We are into Website Development from the last 7 years and gained a vast experience in real-time expertise in PHP, Dot Net and Java. We are also proficient with many free open source frameworks like Wordpress, Joomla, and Drupal and many e-commerce applications like Magento, Opencart If you have a requirement, please revert back to us and we would appreciate the business proposal and deliver you the best of our services. One month free SEO service after complete re-design your website. *Thanks,* *Susanta* *Business Development consultant* *+919658093718* *Skype: sahu.susanta* From owner-freebsd-questions@freebsd.org Thu Feb 18 20:30:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B661EAAC5DF for ; Thu, 18 Feb 2016 20:30:28 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from smtp.thepharmacycentre.com (pharmacycentre.ifdnrg.com [193.200.98.77]) by mx1.freebsd.org (Postfix) with ESMTP id 62B783B7 for ; Thu, 18 Feb 2016 20:30:26 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.0.100] (cpc14-sgyl28-2-0-cust626.18-2.cable.virginm.net [82.39.86.115]) (authenticated bits=0) by smtp.thepharmacycentre.com (8.15.2/8.14.9) with ESMTPSA id u1IKHgop066609 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 18 Feb 2016 20:17:43 GMT (envelope-from paul@ifdnrg.com) X-Authentication-Warning: smtp.thepharmacycentre.com: Host cpc14-sgyl28-2-0-cust626.18-2.cable.virginm.net [82.39.86.115] claimed to be [192.168.0.100] To: freebsd-questions@freebsd.org From: Paul Macdonald Subject: ZFS + dovecot Message-ID: <56C62724.60201@ifdnrg.com> Date: Thu, 18 Feb 2016 20:18:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 20:30:28 -0000 Hi, I'm starting to see reduced performance on a 2 disk SATA server with a mirrored 2TB pool running dovecot. -Concurrent logged in users are ~ 1000. -lucene plugin for indexing minimal CPU and RAM usage (8GB, but will be increasing to 16GB for ZFS), only hit swap once in 2 years ( recently) a few processes showing of zio->i under top. I'm about to add a 460GB SSD as an L2ARC cache and hoping but note entirely sure that will help given that most people want to see new mail fast. Does anyone have any performance tips for this workload? TIA Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from £100.00pm ---------------------------------------------------- From owner-freebsd-questions@freebsd.org Thu Feb 18 20:53:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA91EAAD38D for ; Thu, 18 Feb 2016 20:53:27 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B09981347 for ; Thu, 18 Feb 2016 20:53:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id u1IKrPYA009741 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Feb 2016 15:53:25 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.14.9/8.14.9) with ESMTP id u1IKrOm4064552; Thu, 18 Feb 2016 15:53:24 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: ZFS + dovecot To: Paul Macdonald , freebsd-questions@freebsd.org References: <56C62724.60201@ifdnrg.com> From: Mike Tancsa X-Enigmail-Draft-Status: N1110 Organization: Sentex Communications Message-ID: <56C62F36.4050606@sentex.net> Date: Thu, 18 Feb 2016 15:53:10 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C62724.60201@ifdnrg.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 20:53:27 -0000 On 2/18/2016 3:18 PM, Paul Macdonald wrote: > I'm starting to see reduced performance on a 2 disk SATA server with a > mirrored 2TB pool running dovecot. More memory helps with ZFS of course. How fragmented is your spool ? Its generally a bad thing for performance once things get above 80% capacity. Is free space greater than 20% ? Also, If you do zpool get fragmentation How high is the fragmentation ? How upto date is your OS ? Sometimes I find with certain workloads, setting the limit of arc is better for performance on low memory servers. I had a box (12G of RAM) that does squid which needed vfs.zfs.arc_max set in /boot/loader.conf so that arc would not take too much memory. But other boxes never needed that. Not sure when it becomes an issue and needs manual intervention. But might be something to look at. On our imap/pop3 server, (32G, 16G ARC limit), ARC works well ------------------------------------------------------------------------ ZFS Subsystem Report Thu Feb 18 15:50:30 2016 ------------------------------------------------------------------------ ARC Efficiency: 243.15m Cache Hit Ratio: 90.12% 219.11m Cache Miss Ratio: 9.88% 24.03m Actual Hit Ratio: 88.46% 215.08m Data Demand Efficiency: 95.49% 85.08m Data Prefetch Efficiency: 5.52% 4.81m CACHE HITS BY CACHE LIST: Anonymously Used: 0.03% 59.64k Most Recently Used: 8.51% 18.64m Most Frequently Used: 89.66% 196.44m Most Recently Used Ghost: 0.47% 1.03m Most Frequently Used Ghost: 1.34% 2.94m CACHE HITS BY DATA TYPE: Demand Data: 37.08% 81.25m Prefetch Data: 0.12% 265.88k Demand Metadata: 60.96% 133.57m Prefetch Metadata: 1.84% 4.03m CACHE MISSES BY DATA TYPE: Demand Data: 15.96% 3.83m Prefetch Data: 18.92% 4.55m Demand Metadata: 58.73% 14.12m Prefetch Metadata: 6.39% 1.54m ------------------------------------------------------------------------ L2 SSD is hardly touched ------------------------------------------------------------------------ ZFS Subsystem Report Thu Feb 18 15:50:57 2016 ------------------------------------------------------------------------ L2 ARC Summary: (HEALTHY) Passed Headroom: 1.94m Tried Lock Failures: 84.50k IO In Progress: 109 Low Memory Aborts: 1 Free on Write: 1.29k Writes While Full: 611 R/W Clashes: 0 Bad Checksums: 0 IO Errors: 0 SPA Mismatch: 566.26m L2 ARC Size: (Adaptive) 16.23 GiB Header Size: 0.04% 6.77 MiB L2 ARC Breakdown: 24.03m Hit Ratio: 4.71% 1.13m Miss Ratio: 95.29% 22.90m Feeds: 592.45k L2 ARC Buffer: Bytes Scanned: 41.86 TiB Buffer Iterations: 592.45k List Iterations: 2.37m NULL List Iterations: 85.88k L2 ARC Writes: Writes Sent: (FAULTED) 128.62k Done Ratio: 100.00% 128.62k Error Ratio: 0.00% 0 ------------------------------------------------------------------------ ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Thu Feb 18 21:07:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9350AAD9AC for ; Thu, 18 Feb 2016 21:07:32 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from smtp.thepharmacycentre.com (pharmacycentre.ifdnrg.com [193.200.98.77]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFB71A49 for ; Thu, 18 Feb 2016 21:07:32 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from [192.168.0.100] (cpc14-sgyl28-2-0-cust626.18-2.cable.virginm.net [82.39.86.115]) (authenticated bits=0) by smtp.thepharmacycentre.com (8.15.2/8.14.9) with ESMTPSA id u1IL7QJY072181 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 18 Feb 2016 21:07:27 GMT (envelope-from paul@ifdnrg.com) X-Authentication-Warning: smtp.thepharmacycentre.com: Host cpc14-sgyl28-2-0-cust626.18-2.cable.virginm.net [82.39.86.115] claimed to be [192.168.0.100] Subject: Re: ZFS + dovecot To: Mike Tancsa , freebsd-questions@freebsd.org References: <56C62724.60201@ifdnrg.com> <56C62F36.4050606@sentex.net> From: Paul Macdonald Message-ID: <56C632CC.7050003@ifdnrg.com> Date: Thu, 18 Feb 2016 21:08:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C62F36.4050606@sentex.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 21:07:33 -0000 On 18/02/2016 20:53, Mike Tancsa wrote: > On 2/18/2016 3:18 PM, Paul Macdonald wrote: >> I'm starting to see reduced performance on a 2 disk SATA server with a >> mirrored 2TB pool running dovecot. > More memory helps with ZFS of course. How fragmented is your spool ? > Its generally a bad thing for performance once things get above 80% > capacity. Is free space greater than 20% ? > > Also, If you do > zpool get fragmentation > > How high is the fragmentation ? > 45%, probably to be expected with IMAP disk usage. (there's no way to defrag other than pool migration as i understand?) > How upto date is your OS ? 10.1-RELEASE-p26 it's kept up to date daily, > Sometimes I find with certain workloads, > setting the limit of arc is better for performance on low memory > servers. I had a box (12G of RAM) that does squid which needed > vfs.zfs.arc_max set in /boot/loader.conf so that arc would not take too > much memory. But other boxes never needed that. Not sure when it > becomes an issue and needs manual intervention. But might be something > to look at. > On our imap/pop3 server, (32G, 16G ARC limit), ARC works well > > ------------------------------------------------------------------------ > ZFS Subsystem Report Thu Feb 18 15:50:30 2016 > ------------------------------------------------------------------------ > > ARC Efficiency: 243.15m > Cache Hit Ratio: 90.12% 219.11m > Cache Miss Ratio: 9.88% 24.03m > Actual Hit Ratio: 88.46% 215.08m > > Data Demand Efficiency: 95.49% 85.08m > Data Prefetch Efficiency: 5.52% 4.81m > > CACHE HITS BY CACHE LIST: > Anonymously Used: 0.03% 59.64k > Most Recently Used: 8.51% 18.64m > Most Frequently Used: 89.66% 196.44m > Most Recently Used Ghost: 0.47% 1.03m > Most Frequently Used Ghost: 1.34% 2.94m > > CACHE HITS BY DATA TYPE: > Demand Data: 37.08% 81.25m > Prefetch Data: 0.12% 265.88k > Demand Metadata: 60.96% 133.57m > Prefetch Metadata: 1.84% 4.03m > > CACHE MISSES BY DATA TYPE: > Demand Data: 15.96% 3.83m > Prefetch Data: 18.92% 4.55m > Demand Metadata: 58.73% 14.12m > Prefetch Metadata: 6.39% 1.54m > > ------------------------------------------------------------------------ My ARC also seems to be OK, ( this after a reboot ) ------------------------------------------------------------------------ ZFS Subsystem Report Thu Feb 18 20:59:54 2016 ------------------------------------------------------------------------ ARC Efficiency: 11.11m Cache Hit Ratio: 98.90% 10.99m Cache Miss Ratio: 1.10% 122.04k Actual Hit Ratio: 98.33% 10.93m Data Demand Efficiency: 99.63% 10.23m Data Prefetch Efficiency: 12.60% 6.36k CACHE HITS BY CACHE LIST: Anonymously Used: 0.57% 63.10k Most Recently Used: 2.17% 238.03k Most Frequently Used: 97.26% 10.69m Most Recently Used Ghost: 0.00% 0 Most Frequently Used Ghost: 0.00% 0 CACHE HITS BY DATA TYPE: Demand Data: 92.72% 10.19m Prefetch Data: 0.01% 802 Demand Metadata: 6.70% 736.81k Prefetch Metadata: 0.57% 62.30k CACHE MISSES BY DATA TYPE: Demand Data: 30.64% 37.39k Prefetch Data: 4.56% 5.56k Demand Metadata: 47.03% 57.40k Prefetch Metadata: 17.77% 21.69k ------------------------------------------------------------------------ > L2 SSD is hardly touched > i was hoping for significant benefits by adding a big SSD L2ARC, your metrics suggest this could have minimal effect. > ------------------------------------------------------------------------ > ZFS Subsystem Report Thu Feb 18 15:50:57 2016 > ------------------------------------------------------------------------ > > L2 ARC Summary: (HEALTHY) > Passed Headroom: 1.94m > Tried Lock Failures: 84.50k > IO In Progress: 109 > Low Memory Aborts: 1 > Free on Write: 1.29k > Writes While Full: 611 > R/W Clashes: 0 > Bad Checksums: 0 > IO Errors: 0 > SPA Mismatch: 566.26m > > L2 ARC Size: (Adaptive) 16.23 GiB > Header Size: 0.04% 6.77 MiB > > L2 ARC Breakdown: 24.03m > Hit Ratio: 4.71% 1.13m > Miss Ratio: 95.29% 22.90m > Feeds: 592.45k > > L2 ARC Buffer: > Bytes Scanned: 41.86 TiB > Buffer Iterations: 592.45k > List Iterations: 2.37m > NULL List Iterations: 85.88k > > L2 ARC Writes: > Writes Sent: (FAULTED) 128.62k > Done Ratio: 100.00% 128.62k > Error Ratio: 0.00% 0 > > ------------------------------------------------------------------------ > > > ---Mike > are you running your services on SATA or SAS? -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07970339546 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ---------------------------------------------------- High Specification Dedicated Servers from £100.00pm ---------------------------------------------------- From owner-freebsd-questions@freebsd.org Thu Feb 18 21:13:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75B85AADCEF for ; Thu, 18 Feb 2016 21:13:20 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 45E4B1EAA for ; Thu, 18 Feb 2016 21:13:20 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id u1ILDJ5a011467 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 18 Feb 2016 16:13:19 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.14.9/8.14.9) with ESMTP id u1ILDIUc064704; Thu, 18 Feb 2016 16:13:18 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: ZFS + dovecot To: Paul Macdonald , freebsd-questions@freebsd.org References: <56C62724.60201@ifdnrg.com> <56C62F36.4050606@sentex.net> <56C632CC.7050003@ifdnrg.com> From: Mike Tancsa Organization: Sentex Communications Message-ID: <56C633E0.7050205@sentex.net> Date: Thu, 18 Feb 2016 16:13:04 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C632CC.7050003@ifdnrg.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 21:13:20 -0000 On 2/18/2016 4:08 PM, Paul Macdonald wrote: > >> How upto date is your OS ? > > 10.1-RELEASE-p26 > it's kept up to date daily, I would probably go to 10.3R when it comes out. A lot of fixes and enhancements to the ZFS code. > >> L2 SSD is hardly touched >> > i was hoping for significant benefits by adding a big SSD L2ARC, your > metrics suggest this could have minimal effect. It might in your case. It seems a lot of my data is able to be cached. The disks are hardly very busy as I have a lot of RAM. > > are you running your services on SATA or SAS? SATA and SSD for the cache and logging. Nothing special disk wise. Oh, and yes, no way to defrag short of copying to a new raid set :( But I dont think your values sound too crazy. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@freebsd.org Fri Feb 19 05:29:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F271EAAD626 for ; Fri, 19 Feb 2016 05:29:44 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001: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 BB5981F60 for ; Fri, 19 Feb 2016 05:29:44 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-ig0-x22d.google.com with SMTP id 5so29478582igt.0 for ; Thu, 18 Feb 2016 21:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A40rWupqaqP0bGg065DS0WruiOnBX95YVs8HQK9vgxI=; b=ZyM1k8mUxLU+SGp8N74JL0XxnrAQb4WBmltX9W+s/JVpfvdtoBUJEjPN4VfQA90FPb tYNMIFfy5dd1XGWzTbU9K289m87vzR+COS/TZgRAEpHOkqcAn7n0DSNYlyb/utMV97rO V0X6DXHV/UQUqj92RYgrH9K/Q/l0UerKLjXeqef/Jecq/MiO53R7XIoLGU8rPKhcGumO DvKba+Oi8p5I/cOtbuChz/QGiSx7c3Pboo852HY4v5h9ihHozi0fUu73YGYi74D8rjKE CyMZ6g43pjDosnH/8cPb5ZavmeOw2ThoJyBH8cSfcSI9sDExoIfi4KDkqbX1d30EBFm3 MEbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=A40rWupqaqP0bGg065DS0WruiOnBX95YVs8HQK9vgxI=; b=cZ0deX+rCzM8WvgWlqxLfUNvCxyEDRtgu5LzYH8sLY4vnl6/QvPvqb2h/QMaA02PXR KLPelKvGf1u2yT5V4kZSlZ9oY7s1wAucJSbUoH3Wvw/n+lugN1sCWs1ujgEc9mINeBj3 d7WYlkWL56j4BHIdACVGovlUklPvpgQ5y9h5k1bd/n/G38Ksw2S4qPb4Yu4/dKvlrYF0 gp/kQgm5h4i/AQcRpkjk4VcRXC9cu+ekZQACNCQ3CClHL2D+4c8ffA/BvXmYjnJy8c2J T+vaBvYGmAXOkD/QE8mL+/74adEpBMMf0W4063RDQXgP1/8czoBvObdw+0rWbiaIL4ld 1Pjw== X-Gm-Message-State: AG10YOScYg3Pqgcxyrtw7HM+XVFMeHfcrlIMCaBHHH9XvqoL3azgWOxcIW8dBFiGV/EqCr/9TfG/oOi3QInM2Q== MIME-Version: 1.0 X-Received: by 10.50.33.81 with SMTP id p17mr6691628igi.75.1455859784025; Thu, 18 Feb 2016 21:29:44 -0800 (PST) Received: by 10.107.149.149 with HTTP; Thu, 18 Feb 2016 21:29:43 -0800 (PST) Date: Fri, 19 Feb 2016 16:29:43 +1100 Message-ID: Subject: minimize use of root account From: Yudi V To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 05:29:45 -0000 Hi all, currently I use the below script to load geli devices and import zpool. It needs to be run as root. how to run this script as normal user, is there a group that the user needs to be part of? also when I have to shutdown/reboot, I need to run the command as root but instead would like for the normal user to be able to shutdown and reboot. I posted this first on the forums but did not receive any relevant ans yet. https://forums.freebsd.org/threads/55166/ appreciate if someone can answer my questions. Code: ############### #!/bin/csh -f # attach geli containers geli attach /dev/label/dataE0 if ($status == 0) then geli attach /dev/label/dataE1 if ($status == 0) then # import zpool tank3 (on a 2-way mirror) zpool import tank3 # mount zfs datasets from tank3 zfs mount -a #start samba service samba_server restart else geli detach /dev/label/dataE0.eli echo detached dataE0.eli echo failed to attach dataE1.eli, check your password. endif else echo failed to attach dataE0.eli, check your password endif ################### -- Kind regards, Yudi From owner-freebsd-questions@freebsd.org Fri Feb 19 05:32:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D02DCAAD900 for ; Fri, 19 Feb 2016 05:32:51 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9ED12137A for ; Fri, 19 Feb 2016 05:32:51 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 325CD20A61 for ; Fri, 19 Feb 2016 00:32:44 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute2.internal (MEProxy); Fri, 19 Feb 2016 00:32:44 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ardiefox.me; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=O/WHz0FIIFCZfCe6JuN9s5VnqTM=; b=pG1eh7 l1+WzYI0A4efAIPmHmIpH3CVTPeDBL9LkbYnil7b5E8KXYUMLxKzY/pTloZEoqwj oZYaEnx+c29lv4WI6zWgzmspGQVtbohMkRtF3WW+ZrCe2/SJDTZ9G1dnqmTnQTXI wKlCcV4TB/kxaWNb29llM71cQuOXoouAmtwl8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=O/WHz0FIIFCZfCe 6JuN9s5VnqTM=; b=kazAmp2xzVPRpOpmx07bu/zQEVCP+S87ddGhqZSZOmCbYNB +oHfBqBGR2eIXAeCYmoIZws85qj31nuebtd9SrvRhLzj5x1ecuB0wt2gnPOuvNON 7JAIDsuZ89q7fZvPZf2exhWX7Olx0B7ML9gHtp8iMdldHbe+I6KZTw9v+XWk= Received: by web2.nyi.internal (Postfix, from userid 99) id F0E755401DC; Fri, 19 Feb 2016 00:32:43 -0500 (EST) Message-Id: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> X-Sasl-Enc: VGytE4V5ORjshNdbfM6no0ZvBc8G7bD67/fSZjmwYTtv 1455859963 From: "Ardie H. Hwang" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-aeec9b65 In-Reply-To: References: Subject: Re: minimize use of root account Date: Fri, 19 Feb 2016 14:32:43 +0900 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 05:32:51 -0000 On Fri, Feb 19, 2016, at 14:29, Yudi V wrote: > also when I have to shutdown/reboot, I need to run the command as root but > instead would like for the normal user to be able to shutdown and reboot. Adding a normal user to `operator` group allows the user to use `shutdown(1) command. `reboot(1)` is only for root, but it can be substituted with `shutdown -r now`. -- Ardie H. Hwang ---------------- email: iam@ardiefox.me mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343) From owner-freebsd-questions@freebsd.org Fri Feb 19 06:04:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A98DDAAC74C for ; Fri, 19 Feb 2016 06:04:35 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EB00135B for ; Fri, 19 Feb 2016 06:04:35 +0000 (UTC) (envelope-from iam@ardiefox.me) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 46C602083E for ; Fri, 19 Feb 2016 01:04:34 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute3.internal (MEProxy); Fri, 19 Feb 2016 01:04:34 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ardiefox.me; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=mG+5/WxqyRpFCz6d2kWidEdwY0g=; b=OjrnVV l0P45fOckmvQNRzC7xQOix9SICrrWN/xxKNhbAfpHMFGVgRGICKA8IVFIYkRgP3h 94yyBXUjf9gNC+uTYw3QeWtoiYJX+20T/0iE3pcNOVz+6symdcp8QRmCjBigd3t/ 7kYBPYZCgiJQ2JgaW/EAZByHVSWecXyAsM0Ms= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=mG+5/WxqyRpFCz6 d2kWidEdwY0g=; b=P5IIZO95MC69wJaynb+YpBi2fmfXUwzDfwTEj7aE/hJ/Pnk H/ShvF5rbatcBBwxh1DHNkikVis82+0qjjLPYY/9ydBIwk8UUZ9fIf3x2VcAoCEv zi6hvmGd1Nb9RIpg7UTlFvQRtbOY5A5COT/oFgJkkYlIHeoikXwQst6Q4Cdw= Received: by web2.nyi.internal (Postfix, from userid 99) id 0E8C254008F; Fri, 19 Feb 2016 01:04:34 -0500 (EST) Message-Id: <1455861874.3470783.525686386.0E027411@webmail.messagingengine.com> X-Sasl-Enc: Z9NJFWAMjOlqdhM5Po1tINWp5Jv/1rlcCfgnfrLvgvVj 1455861874 From: "Ardie H. Hwang" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-aeec9b65 Subject: Re: minimize use of root account Date: Fri, 19 Feb 2016 15:04:34 +0900 In-Reply-To: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> References: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 06:04:35 -0000 On Fri, Feb 19, 2016, at 14:32, Ardie H. Hwang wrote: > `shutdown(1)` > `reboot(1)` They are actually in section 8. Sorry, my mistake. -- Ardie H. Hwang ---------------- email: iam@ardiefox.me mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343) From owner-freebsd-questions@freebsd.org Fri Feb 19 09:36:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD38BAAC89F for ; Fri, 19 Feb 2016 09:36:41 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001: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 78C3D1CC5 for ; Fri, 19 Feb 2016 09:36:41 +0000 (UTC) (envelope-from yudi.tux@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id 9so103529693iom.1 for ; Fri, 19 Feb 2016 01:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5dkmhVEvepY1h7/76KlAAGM+7eRsDaxiIMyqpOux6Bg=; b=EBXRJ2uXjBLiipfyVGdxEPXrJoFvHsLCGDYAHHgukL/Yz4adb4f1hJ5LcdLg6Nul6y Y/wuAaU4DwpeN2fdMO7LlNl+UrfiqrRxaDqcId88dSdlP+n4AYr6UPVNOIraFwa/p2Pq 9tZMvOqKq2RH4LSumBGkddy8OL70f4jgICGV1HKe1x7aAUXzYzia0zEj8rpdOwkgb05s SN2th91pOjGvAMZ1uV4tegpiK2gnkQXCu7DCAjzRN2rOeYBq820SJoCMaPKXV5d92IxA yMGOm7DK236CVlr8gK2kNpu1XoKaysOkYky9V61Fv2Weo5O4A6YmrXRCynVJTY6Ii6GQ vKAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5dkmhVEvepY1h7/76KlAAGM+7eRsDaxiIMyqpOux6Bg=; b=TipB0534lkNStuI1p8RliFNPheylF5UPUOcr/p26+31mT5HwGO7PQ5XSA9iKh+IZY/ 64evhYvJhm5nYJWV85EQo3VuRKk4d7i+3hKOQu3PqjUFF43OQmsbkn3sgFc48zIGDSVq /pNQvNmulTMfgV8ZKryicz/6vGVIxxe3qpS0eUGOlj1xVoK/lSQgMK60Ool9APheYz5D NegMcJavCxM3nHTpXqNSoVZcJvGr5s9xX8YvKtywi8zqY5IrW9VAG9GnFggKh82HmMPs aCe8thNXQwGc/xzdKmjNxGMgpudRA2P6PQo6FgQ2nfzzA3M/60IZcXtMQ5nIVjwq73pp bSrg== X-Gm-Message-State: AG10YOTwgUq4vy+PfyDRmmpjW/gKECVCbGGPGZXCc2Tf5JvdMcfIUc6qVUNeXQMkS/My9MFuzWTJbJ83TqdXow== MIME-Version: 1.0 X-Received: by 10.107.129.228 with SMTP id l97mr13855300ioi.76.1455874600843; Fri, 19 Feb 2016 01:36:40 -0800 (PST) Received: by 10.107.153.129 with HTTP; Fri, 19 Feb 2016 01:36:40 -0800 (PST) In-Reply-To: <1455861874.3470783.525686386.0E027411@webmail.messagingengine.com> References: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> <1455861874.3470783.525686386.0E027411@webmail.messagingengine.com> Date: Fri, 19 Feb 2016 20:36:40 +1100 Message-ID: Subject: Re: minimize use of root account From: Yudi V To: "Ardie H. Hwang" Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 09:36:41 -0000 Thanks Ardie, adding user to operator group sorted the shutdown/reboot issue. now I have to figure out how to run the above script as normal user. On Fri, Feb 19, 2016 at 5:04 PM, Ardie H. Hwang wrote: > On Fri, Feb 19, 2016, at 14:32, Ardie H. Hwang wrote: > > `shutdown(1)` > > `reboot(1)` > > They are actually in section 8. Sorry, my mistake. > > -- > Ardie H. Hwang > ---------------- > email: iam@ardiefox.me > mobile: +82 10-I-AM-ARDIE (+82 10-4-26-27343) > _______________________________________________ > 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" > -- Kind regards, Yudi From owner-freebsd-questions@freebsd.org Fri Feb 19 10:57:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9114DAAEC13 for ; Fri, 19 Feb 2016 10:57:40 +0000 (UTC) (envelope-from export.toprank@gmail.com) Received: from mail-ig0-x24e.google.com (mail-ig0-x24e.google.com [IPv6:2607:f8b0:4001:c05::24e]) (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 60D821622 for ; Fri, 19 Feb 2016 10:57:40 +0000 (UTC) (envelope-from export.toprank@gmail.com) Received: by mail-ig0-x24e.google.com with SMTP id zh17so76023igc.1 for ; Fri, 19 Feb 2016 02:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=ceJO8jdps55Vpdux57c6B4XUxuce+RBmSXKbCCk8tUA=; b=Utt5yL3qqg578w/R4p41XyRWT9/i12566pmpfPjQ6Iccbq5O7Clv4QMwPDTu2ckhE8 xeLEavy/33Dmn0S6ESuYGPesUNXV35ZFFmUvSW8aTKu4U8q4EgK7zfLoWG4GFHwJueae 0BwXB6pnD69/A6dqF12ChmXjDxvrTSJVcWwEMicTMAZZuJrGgQOCZP5UWAohZzfnmWWR G5medDqw+pJGKcYFxc5O5ECF5zDCj9YsBp3qSTMd2meYLaW0a6rksS+ZjO9wtWG7ChnY qQpp7OZ2Vzn1TiNNeSpAAbip2fv0Wjt/I46ZmMgJ9GmMyWb32p2bBIfsx61TJznkh+5l 3Leg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:message-id:date:subject:from:to :content-type; bh=ceJO8jdps55Vpdux57c6B4XUxuce+RBmSXKbCCk8tUA=; b=l0oNPz+kKmoVOIf5LnNfv52rpmWBDBHiiP/f58fGuUh36bwOtm4buwRQbfqGG2Mz03 XQRBBx7esBmDKZzIa6XNH/M8jiE8Wv51cE5tOzuGoBhbT/T4zpA30pClAX+f8vmQgiRD 82QtFcLW0fUWGWulE7PgzCeoCLALywTAiHEXSbSWxsumveAFN/sVjArc5PsDCXq7NY/z 9i7zXuOgGnBHGc/sZgAXRZYQHRilGWG/khPWARPYS5VDviTqXY7AHX0G8zDc5jpnMtAZ h4+9AXWQgi+HUGkzASOwu7fdwwX7NYU9/Rn7Rzn/6lxrWxxHxiYzn9+y+oQv2kBEBXxn Rj9A== X-Gm-Message-State: AG10YOSPc+37Gog3gtAv2AY2ZEjvs+hjvnKAWeLVFK6nuvmz8RSbfTTcNGBynsElU8djQKd1DrUC MIME-Version: 1.0 X-Received: by 10.50.164.134 with SMTP id yq6mr7716129igb.13.1455879459704; Fri, 19 Feb 2016 02:57:39 -0800 (PST) Message-ID: <089e01229ed208178c052c1d5ab1@google.com> Date: Fri, 19 Feb 2016 10:57:39 +0000 Subject: Sub-3D CAD Services - India From: Donald Kevin To: freebsd-questions@FreeBSD.org, freebsd-doc@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 10:57:40 -0000 DQoqRGVhciBvd25lciBvZiBGcmVlYnNkLm9yZywqDQoNCipJIGFtIERvbmFsZCBLZXZpbi1CdXNp bmVzcyBNYW5hZ2VyIGZvciBDQUQgM0QgTW9kZWwgQ29tcGFueSBsb2NhdGVkIGluDQpJbmRpYS5P dXIgQ29tcGFueSBkYWlseSBjcmVhdGVzIHRoZSAzZCBtb2RlbHMgZnJvbSAyZCBEcmF3aW5ncywN ClBERi9TY2Fucy9za2V0Y2hlcy4gT3VyIENBRCBlbmdpbmVlcnMgbWFrZSBhY2N1cmF0ZSBkaW1l bnNpb25hbCAzZCBtb2RlbA0KYW5kIFByZXNlbnRhdGlvbiBjb25jZXB0IE1vZGVscy4qDQoNCipT ZW5kIHlvdXIgZmlsZXMgYnkgTWFpbCBvciBGVFAuKg0KKk91ciBFbmdpbmVlcnMgd29yayAyNC83 LioNCipXZSBhcmUgZXhwZXJ0cyBpbiBTb2xpZHdvcmtzL0ludmVudG9yL0F1dG9DQUQvQ1JFTyoN CipEZWxpdmVyeSBXaXRoaW4gMjQgSG91cnMqDQoqUGxlYXNlIHNlbmQgeW91ciBmaWxlcyBzbyB3 ZSBjYW4gZGVsaXZlciBzYW1wbGUgdG8gcmV2aWV3IG91ciBxdWFsaXR5IGFuZA0Kd2UgYXJlIGxv b2tpbmcgZm9yIGxvbmd0ZXJtIGJ1c2luZXNzIHBhcnRuZXJzaGlwLioNCipXZSBjaGFyZ2UgSG91 cmx5IDcuNSQgVVNEIHBlciBIb3VyIGZvciBDQUQgc2VydmljZXMuKg0KKldlIGNoYXJnZSA5NTAk IFVTRCBmb3IgQ0FEIEVuZ2luZWVyIG9uIE1vbnRobHkgYmFzaXMgd29yay4qDQoqV2UgYWNjZXB0 IFBheXBhbCBvciBCQU5LIHRyYW5zZmVyIHBheW1lbnQuKg0KDQoqTG9va2luZyBmb3IgbG9uZy10 ZXJtIGJ1c2luZXNzIGFzc29jaWF0aW9uIHNvIHBsZWFzZSByZXBseSB3aXRoIHlvdXINCnJlcXVp cmVtZW50IO+BiioNCipUaGFua3MhKg0KDQoqQmVzdCBSZWdhcmRzLCoNCipEb25hbGQgS2V2aW4q DQoqQnVzaW5lc3MgTWFuZ2VyKg0K From owner-freebsd-questions@freebsd.org Fri Feb 19 11:14:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33220AAD264 for ; Fri, 19 Feb 2016 11:14:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C97331F24 for ; Fri, 19 Feb 2016 11:14:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-96-7.dynamic.qsc.de [92.195.96.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4F0093CE5E; Fri, 19 Feb 2016 12:05:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1JB537T002177; Fri, 19 Feb 2016 12:05:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 19 Feb 2016 12:05:03 +0100 From: Polytropon To: Yudi V Cc: freebsd-questions@freebsd.org Subject: Re: minimize use of root account Message-Id: <20160219120503.fc97ef10.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 11:14:41 -0000 On Fri, 19 Feb 2016 16:29:43 +1100, Yudi V wrote: > Hi all, > > currently I use the below script to load geli devices and import zpool. It > needs to be run as root. > how to run this script as normal user, is there a group that the user needs > to be part of? No, not for this task. There are different ways to do it. 1. You can set the script itself to "run as root" (chmod +s) when the script is owned by root:root. Regular users may then execute it. 2. Temporarily become root by using "su -" or ("su -m" if preferred) and execute the script. See "man su" for details. 3. Use a tool like "sudo" or "super". This is probably the better approach: "sudo ". You need to install the program from ports / packages, it's not part of the OS. You could include the "sudo " parts into the script as well, but that's probably not good practice. In order to "su root", your user needs to be part of the "wheel" group. Regular users are not permitted this increase of power. :-) > also when I have to shutdown/reboot, I need to run the command as root but > instead would like for the normal user to be able to shutdown and reboot. Make your user part of the "operator" group to be able to execute the "shutdown -p" and "shutdown -r" commands. Note that the "reboot" command may only be executed by root. > I posted this first on the forums but did not receive any relevant ans > yet. https://forums.freebsd.org/threads/55166/ > > appreciate if someone can answer my questions. > Code: > > ############### > #!/bin/csh -f Why?! There's a relevant article: "Csh Programming Considered Harmful" written by Tom Christiansen. https://www-uxsup.csx.cam.ac.uk/misc/csh.html I have written one (!) csh script and I still regret it, maybe because it still works. :-) On FreeBSD, the default shell script interpreter is /bin/sh. How about this? #!/bin/sh # attach geli containers geli attach /dev/label/dataE0 if [ $? -eq 0 ]; then geli attach /dev/label/dataE1 if [ $? -eq 0 ]; then # import zpool tank3 (on a 2-way mirror) zpool import tank3 # mount zfs datasets from tank3 zfs mount -a # start samba service samba_server restart else geli detach /dev/label/dataE0.eli echo "detached dataE0.eli" echo "failed to attach dataE1.eli, check your password." fi else echo "failed to attach dataE0.eli, check your password." fi There are probably more pleasant ways for the "error checking cascade". Indentation helps a lot. The "else" and "fi" appear in the same column like the "if" where they belong to; the "conditioned commands" are indented. Quotes around strings. Empty lines also increase readablilty. Just in case you might want to debug the script at some time, maybe 10 years in the future... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 19 14:53:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E230AAD410 for ; Fri, 19 Feb 2016 14:53:04 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C9D211A9E for ; Fri, 19 Feb 2016 14:53:03 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u1JEqrdj069639; Fri, 19 Feb 2016 14:52:54 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: minimize use of root account To: Polytropon , Yudi V References: <20160219120503.fc97ef10.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org From: Arthur Chance Message-ID: <56C72C45.2050606@qeng-ho.org> Date: Fri, 19 Feb 2016 14:52:53 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160219120503.fc97ef10.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 14:53:04 -0000 On 19/02/2016 11:05, Polytropon wrote: > On Fri, 19 Feb 2016 16:29:43 +1100, Yudi V wrote: >> Hi all, >> >> currently I use the below script to load geli devices and import zpool. It >> needs to be run as root. >> how to run this script as normal user, is there a group that the user needs >> to be part of? > > No, not for this task. > > There are different ways to do it. > > 1. You can set the script itself to "run as root" (chmod +s) when > the script is owned by root:root. Regular users may then execute it. I thought suid scripts were disabled years ago because they were a major security loophole? -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point. From owner-freebsd-questions@freebsd.org Fri Feb 19 15:20:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FEDEAADFA8 for ; Fri, 19 Feb 2016 15:20:30 +0000 (UTC) (envelope-from verify@promailservices.com) Received: from u17828947.onlinehome-server.com (u17828947.onlinehome-server.com [IPv6:2607:f1c0:835:5c00::2a:f8a6]) (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 746151BDB for ; Fri, 19 Feb 2016 15:20:30 +0000 (UTC) (envelope-from verify@promailservices.com) Received: from [45.32.218.216] (unknown [45.32.218.216]) by u17828947.onlinehome-server.com (Postfix) with ESMTPSA id 56F21297C0 for ; Sat, 20 Feb 2016 02:10:22 +1100 (EST) MIME-Version: 1.0 Subject: Security Update Code:SYUK0303 To: freebsd-questions@FreeBSD.org From: "Securityt Upgrade" Date: Fri, 19 Feb 2016 15:10:20 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 15:20:30 -0000 = Dear freebsd-questions@FreeBSD.org Your mailbox quota is full. This may lead to email system failure and you will not be able to receive m= ore mails henceforth. To continue using your mailbox, you need to upgrade your mailbox quota imme= diatey. This service is free. = = Upgrade Mailbox Quota Here = Once your account upgrade is completed, your mailbox will work effectively. = Mail Center 2016=20 From owner-freebsd-questions@freebsd.org Fri Feb 19 15:24:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF80EAAE1EC for ; Fri, 19 Feb 2016 15:24:25 +0000 (UTC) (envelope-from verify@promailservices.com) Received: from u17828947.onlinehome-server.com (u17828947.onlinehome-server.com [IPv6:2607:f1c0:835:5c00::2a:f8a6]) (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 B05FC1F69 for ; Fri, 19 Feb 2016 15:24:25 +0000 (UTC) (envelope-from verify@promailservices.com) Received: from [45.32.218.216] (unknown [45.32.218.216]) by u17828947.onlinehome-server.com (Postfix) with ESMTPSA id A19D92A309 for ; Sat, 20 Feb 2016 02:11:46 +1100 (EST) MIME-Version: 1.0 Subject: Security Update Code:SYUK0303 To: freebsd-questions@FreeBSD.org From: "Securityt Upgrade" Date: Fri, 19 Feb 2016 15:11:44 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 15:24:25 -0000 = Dear freebsd-questions@FreeBSD.org Your mailbox quota is full. This may lead to email system failure and you will not be able to receive m= ore mails henceforth. To continue using your mailbox, you need to upgrade your mailbox quota imme= diatey. This service is free. = = Upgrade Mailbox Quota Here = Once your account upgrade is completed, your mailbox will work effectively. = Mail Center 2016=20 From owner-freebsd-questions@freebsd.org Fri Feb 19 16:18:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F3B7AAD9B2 for ; Fri, 19 Feb 2016 16:18:11 +0000 (UTC) (envelope-from luislupe@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 134A2135B for ; Fri, 19 Feb 2016 16:18:10 +0000 (UTC) (envelope-from luislupe@gmx.com) Received: from localhost ([95.95.94.35]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MU1MP-1aNh5H3eaX-00QnNT; Fri, 19 Feb 2016 17:18:03 +0100 Date: Fri, 19 Feb 2016 16:18:01 +0000 From: "Luis P. Mendes" To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: kbdmux disabled --> no useable keyboard?! Message-ID: <20160219161801.GC73442@hp.tbl> References: <20160217164414.GA73442@hp.tbl> <20160218011023.8519212d.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160218011023.8519212d.freebsd@edvax.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Provags-ID: V03:K0:evjf9yGgvoMXprbmJNd8/QNAAPVZ/geCrPzw2lVkvKYyx19PLm9 ehdp95hB6DaBHPKfygwua6Ugv0ReBjsKfzbIUyvRIaIkr4MLfW1qTdylQL3F7b+tQopqPJF +py/GlMKstcyn2YRpxYTolHBJZphs3P8TsTJg2gSMyATlPlrkFfoGtNfvyHDrAxo9BBHc+n rUaOnujoxmMJp1WSUV41w== X-UI-Out-Filterresults: notjunk:1;V01:K0:g5N/X0Npk5E=:BnQbCkImdG7r3rQmbsWnjd ksFUfdA8s31yrVsI0V+UjftyK/fSaPKJul3T2EM18G7nYQhgVf2etiGnPZNoDMjYxF94E3/ke JZRNhmu97oM+HL7AVilhEg0ukKL1YJKAmLz78j+D6LXEvSXPtrzDUUyJU6Rww34CzCUlqWaqG uV1/ENnEqugKg1V8UyPTkhYpaPUKL01LZEHDa22FlGmcp3eb4w8jif+hRfPB/eYel9uVBwL9w BwyDfXztAxMRgfCu4xZY+DROnmolbwkhMiIPye8QASZSwy2YKzlKg+xk92uuAA5n+hO7fCI59 nDOr7pJ9RhsfM0gFPVLJPHISz+c6ACCBwZB1t2676MBzGorsqLgBCf7pjqDC3BmAUdTnvjsXZ gx6Monov7++EL4m0yvpyqkwf1aUYkYQecAFsfOtmhmvRUSe6TeH2IKp2X9V8yFhZdJpvOsf/U 5mjGeqJhlV3m+Pt9Gp33YyuFTsvk+j/j28h6XQNMAQitcbi3lSDEUorDM4o/VD78ZeK3yE4JR /e/3waGbl5aszBCnqVTE1qIKE4sROwINqu07dN4M3+LHOMrnqdnlRrJaB74Ae7VOlUTurfizI eoIsUq3W3SGtDS3B9tDW7RVreemOjir7QlubLoninGyr3xvRQ0AB0hgod4Gi6KumX+ehqby+G Ud8gvxlk13YuY5LcmY9ZPUQHmlIqrqJxlRFeuYfeh2BFsMKVPdei5J6pbQWPoxQ0JkLdMdkg1 rqYl7T///b+0tpAtdVWQK3mb22H+88/AZj8QFc6Rm0sVlkFvrRMrRiwFXuM= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 16:18:11 -0000 On 2016.02.18 01:10:23 +0100, Polytropon wrote: > On Wed, 17 Feb 2016 16:44:14 +0000, Luis P. Mendes wrote: > > (Due to change of hardware and OS I lost the original messages, but > > will paste the context) > > > > On 2015.11.25 Polytropon wrote: > > > On Tue, 24 Nov 2015 23:23:56 +0000, Luis P. Mendes wrote: > > > > Hi, > > > > > > > > I'm setting up a multiseat workstation, where two users, with two > > > > monitors, two keyboards, two mice and two X sessions can be > > > > connected to the same computer at the same time. > > > > > > > > For this to happen, one of the things that is necessary to do is to > > > > disable kbdmux in order for the two keyboards to be considered > > > > independent. > > > > > > > > In the past, I've accomplished this with syscon, which had other > > > > problems. But now with vt, when I disable kbdmux either on > > > > /boot/device.hints or in /boot/loader.conf with: > > > > hint.kbdmux.0.disabled="1" > > > > > > > > No keys are recognized by the OS, although dmesg seems to know about > > > > the existence of the USB keyboard. > > > > > > You need to manually transfer the control of one keyboard to the > > > other - from the "active" to the "inactive" one (to become the > > > "active" one). Use the kbdcontrol program to do this, "man kbdcontrol" > > > has more information about the -k option. > > > > > > This of course only works when kbdmux is disabled. > > > > Only now, could I return to this project. > > > > The steps I've taken: > > 1. Have an USB keyboard attached to the motherboard. No serial keyboard used. > > The AT keyboard isn't a typical serial keyboard. A Sun keyboard is. ;-) Ok, always learning :-) > > 2. In /boot/loader.conf, have these lines added: > > ukbd_load="YES" > > hint.kbdmux.0.disabled="1" > > hint.atkbd.0.disabled="1" > > hint.atkbdc.0.disabled="1" > > I don't know if disabling the AT keyboard controller is useful here. > If no keyboard is attached, the device will stay present. But if an > USB keyboard is being used anyway, this should not matter. Well, just in case, I removed the two *atk* lines from /boot/loader.conf. The USB keyboard is still not useable. > > 3. In /etc/rc.conf.local: > > kbdcontrol -k /dev/ukbd0 < /dev/console > > That should go to /etc/rc.local. Note that /etc/rc.conf.local is a > configuration file (in the style of /etc/rc.conf) that's being sourced > additionally; see "man rc" and "man rc.conf" for details. I've read it before and from what I understand /etc/rc.conf.local is meant for local configurations, instead of global configurations that should be placed in /etc/rc.conf. Could see no problem in placing the above line in /etc/rc.conf.local, but moved it to /etc/rc.conf anyway. > > 4. In /var/log/messages, there are these lines: > > kernel: ukbd0: on usbus0 > > kernel: kbd0 at ukbd0 > > > > 5. # ll /dev/uk* > > crw------- 1 root wheel 0x7f 15 Fev 22:39 /dev/ukbd0 > > > > 6. # ls -l /dev/kb* > > lrwxr-xr-x 1 root wheel 5 15 Fev 22:39 /dev/kbd0 -> ukbd0 > > For comparison: With an AT and a USB keyboard both operational, > the following results will be present: > > % ll /dev/*kbd* > crw------- 1 root wheel 0, 55 2016-02-17 19:30:58 /dev/atkbd0 > lrwxr-xr-x 1 root wheel 6 2016-02-17 19:30:58 /dev/kbd0@ -> atkbd0 > lrwxr-xr-x 1 root wheel 7 2016-02-17 19:30:58 /dev/kbd1@ -> kbdmux0 > lrwxr-xr-x 1 root wheel 5 2016-02-17 19:31:10 /dev/kbd2@ -> ukbd0 > crw------- 1 root wheel 0, 10 2016-02-17 19:30:58 /dev/kbdmux0 > crw------- 1 root wheel 0, 150 2016-02-17 19:31:10 /dev/ukbd0 > > In this case, kbdmux is active. If it was not, the both keyboards > should be identified as kbd0 (atkbd0) and kbd1 (ukbd0). Mine (after commenting the two atk lines in /boot/loader.conf): # ll /dev/*kbd* crw------- 1 root wheel 0x34 18 Fev 14:34 /dev/atkbd0 lrwxr-xr-x 1 root wheel 6 18 Fev 14:34 /dev/kbd0@ -> atkbd0 lrwxr-xr-x 1 root wheel 5 18 Fev 14:34 /dev/kbd1@ -> ukbd0 crw------- 1 root wheel 0x81 18 Fev 14:34 /dev/ukbd0 > As you can see from your kernel message, the device has been picked > up and recognized correctly, and the required device links have been > established. Got some more information from /var/log/messages: # egrep -i -e 'kbd|keyb' messages Feb 18 14:34:58 leao kernel: module_register_init: MOD_LOAD (kbdmux, 0xffffffff805d4070, 0) error 6 Feb 18 14:34:58 leao kernel: atkbdc0: at port 0x60,0x64 on isa0 Feb 18 14:34:58 leao kernel: atkbd0: irq 1 on atkbdc0 Feb 18 14:34:58 leao kernel: kbd0 at atkbd0 Feb 18 14:34:58 leao kernel: atkbd0: [GIANT-LOCKED] Feb 18 14:34:58 leao kernel: ukbd0: on usbus0 Feb 18 14:34:58 leao kernel: kbd1 at ukbd0 Feb 18 14:34:58 leao kernel: uhid0: on usbus0 It seems there's an error 6 loading kbdmux... My FreeBSD version is # uname -a FreeBSD leao 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295321: Fri Feb 5 17:02:27 WET 2016 > > But I can't type anything in the (virtual) console. I'm not > > considering X yet. > > And you are _totally sure_ the keyboard works? Completely sure, when these setting are not in place, I can use the keyboard. And with the settings, I can type my GELI password on boot and choose from the boot menu. > > I don't understand what exactly is meant as example in the manual of > > kbdcontrol, so cannot find what is wrong with this. > > Would appreciate some help on this. > > You have been using the correct command for switching to a specific > keyboard (as quoted above). This is the only thing keeping me from using my workstation the way I need. I hope there's some fix to this. Thanks for the ongoing help Polytropon! Hope that you or somebody else can point me to the right correction. Luis From owner-freebsd-questions@freebsd.org Fri Feb 19 18:07:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F34FAAE1A2 for ; Fri, 19 Feb 2016 18:07:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 873CA105C for ; Fri, 19 Feb 2016 18:07:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-96-7.dynamic.qsc.de [92.195.96.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 2BD0E3CEB4 for ; Fri, 19 Feb 2016 19:07:00 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1JI6xrF001938 for ; Fri, 19 Feb 2016 19:06:59 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 19 Feb 2016 19:06:59 +0100 From: Polytropon To: freebsd-questions@freebsd.org Subject: Re: kbdmux disabled --> no useable keyboard?! Message-Id: <20160219190659.88944fc4.freebsd@edvax.de> In-Reply-To: <20160219161801.GC73442@hp.tbl> References: <20160217164414.GA73442@hp.tbl> <20160218011023.8519212d.freebsd@edvax.de> <20160219161801.GC73442@hp.tbl> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 18:07:04 -0000 On Thu, 18 Feb 2016 15:00:52 +0000, Luis P. Mendes wrote: > On 2016.02.18 01:10:23 +0100, Polytropon wrote: > > On Wed, 17 Feb 2016 16:44:14 +0000, Luis P. Mendes wrote: > > > On 2015.11.25 Polytropon wrote: > > > > On Tue, 24 Nov 2015 23:23:56 +0000, Luis P. Mendes wrote: > > > > > Hi, > > > > > > > > > > I'm setting up a multiseat workstation, where two users, with two > > > > > monitors, two keyboards, two mice and two X sessions can be > > > > > connected to the same computer at the same time. > > > > > > > > > > For this to happen, one of the things that is necessary to do is to > > > > > disable kbdmux in order for the two keyboards to be considered > > > > > independent. > > > > > > > > > > In the past, I've accomplished this with syscon, which had other > > > > > problems. But now with vt, when I disable kbdmux either on > > > > > /boot/device.hints or in /boot/loader.conf with: > > > > > hint.kbdmux.0.disabled="1" > > > > > > > > > > No keys are recognized by the OS, although dmesg seems to know about > > > > > the existence of the USB keyboard. > > > > > > > > You need to manually transfer the control of one keyboard to the > > > > other - from the "active" to the "inactive" one (to become the > > > > "active" one). Use the kbdcontrol program to do this, "man kbdcontrol" > > > > has more information about the -k option. > > > > > > > > This of course only works when kbdmux is disabled. > > > > > > Only now, could I return to this project. > > > > > > The steps I've taken: > > > 1. Have an USB keyboard attached to the motherboard. No serial keyboard used. > > > > The AT keyboard isn't a typical serial keyboard. A Sun keyboard is. ;-) > Ok, always learning :-) The "normal PC keyboard" is called "AT keyboard". Keyboards such as the classic "round plug" Sun keyboards and the classic Apple ADB keyboards are real serial keyboards. On the PC, there also was the XT keyboard (not compatible with AT keyboard controllers, but the same plug". USB keyboards are "more serial" than AT keyboards. This completes the confusion. :-) > > > 2. In /boot/loader.conf, have these lines added: > > > ukbd_load="YES" > > > hint.kbdmux.0.disabled="1" > > > hint.atkbd.0.disabled="1" > > > hint.atkbdc.0.disabled="1" > > > > I don't know if disabling the AT keyboard controller is useful here. > > If no keyboard is attached, the device will stay present. But if an > > USB keyboard is being used anyway, this should not matter. > Well, just in case, I removed the two *atk* lines from > /boot/loader.conf. The USB keyboard is still not useable. When the AT keyboard controller is present, the AT keyboard will also be present, no matter if a keyboard is _actually_ connected or not. So it will be ignored when no keyboard is connected, and the USB keyboard _should_ be the "primary" keyboard (because it's the only one present). Typically, kbdmux is doing the magic here. It "parallels" all the keyboards, and if the USB keyboard driver registers a USB keyboard, it will be "in the mix" (or "in the mux"), even if it's the only keyboard. Manually selecting one keyboard in the absence of kbdmux should have the same effect - this is how it was done on FreeBSD before kbdmux and devd became available. > > > 3. In /etc/rc.conf.local: > > > kbdcontrol -k /dev/ukbd0 < /dev/console > > > > That should go to /etc/rc.local. Note that /etc/rc.conf.local is a > > configuration file (in the style of /etc/rc.conf) that's being sourced > > additionally; see "man rc" and "man rc.conf" for details. > I've read it before and from what I understand /etc/rc.conf.local is > meant for local configurations, instead of global configurations that > should be placed in /etc/rc.conf. Could see no problem in placing the > above line in /etc/rc.conf.local, but moved it to /etc/rc.conf anyway. This is sonehow an "OpenBSD-ism". There is a hierarchy in which configuration files are being sourced: /etc/defaults/rc.conf /etc/rc.conf /etc/rc.conf.local Note that they are sh-style files, so they are, in fact, valid shell scripts and _can_ contain "executable code" (as opposite to the "variable assignments" they usually contain). In OpenBSD, all user system configuration goes to rc.conf.local, while OS-provided (!) configuration is kept in rc.conf. In FreeBSD, both files can be used, but it's common to add settings to rc.conf, for example when you install CUPS (a 3rd party software package, does not belong to the OS), and then add ``cupsd_enable="YES"'' to rc.conf - it's completely fine. The even might be /usr/local/etc/rc.conf and /opt/etc/rc.conf, if you add "source hooks" for them. :-) Anyway: User added startup code should be added to /etc/rc.local if you're fine with the point in time when the OS runs that code. If you're doing something more... well, let's say "professional", then write an entry in rc.d style and add it to /usr/local/etc/rc.d to be executed. But for two or three commands, I'm too lazy and use rc.local myself in a very professional manner. :-) > > > 4. In /var/log/messages, there are these lines: > > > kernel: ukbd0: on usbus0 > > > kernel: kbd0 at ukbd0 > > > > > > 5. # ll /dev/uk* > > > crw------- 1 root wheel 0x7f 15 Fev 22:39 /dev/ukbd0 > > > > > > 6. # ls -l /dev/kb* > > > lrwxr-xr-x 1 root wheel 5 15 Fev 22:39 /dev/kbd0 -> ukbd0 > > > > For comparison: With an AT and a USB keyboard both operational, > > the following results will be present: > > > > % ll /dev/*kbd* > > crw------- 1 root wheel 0, 55 2016-02-17 19:30:58 /dev/atkbd0 > > lrwxr-xr-x 1 root wheel 6 2016-02-17 19:30:58 /dev/kbd0@ -> atkbd0 > > lrwxr-xr-x 1 root wheel 7 2016-02-17 19:30:58 /dev/kbd1@ -> kbdmux0 > > lrwxr-xr-x 1 root wheel 5 2016-02-17 19:31:10 /dev/kbd2@ -> ukbd0 > > crw------- 1 root wheel 0, 10 2016-02-17 19:30:58 /dev/kbdmux0 > > crw------- 1 root wheel 0, 150 2016-02-17 19:31:10 /dev/ukbd0 > > > > In this case, kbdmux is active. If it was not, the both keyboards > > should be identified as kbd0 (atkbd0) and kbd1 (ukbd0). > > Mine (after commenting the two atk lines in /boot/loader.conf): > # ll /dev/*kbd* > crw------- 1 root wheel 0x34 18 Fev 14:34 /dev/atkbd0 > lrwxr-xr-x 1 root wheel 6 18 Fev 14:34 /dev/kbd0@ -> atkbd0 > lrwxr-xr-x 1 root wheel 5 18 Fev 14:34 /dev/kbd1@ -> ukbd0 > crw------- 1 root wheel 0x81 18 Fev 14:34 /dev/ukbd0 So the AT keyboard is still detected and instantiated, and you need to manually switch from kbd0 (atkbd0) to kbd1 (ukbd0), or let kbdmux "combine" both. > > As you can see from your kernel message, the device has been picked > > up and recognized correctly, and the required device links have been > > established. > Got some more information from /var/log/messages: > # egrep -i -e 'kbd|keyb' messages > Feb 18 14:34:58 leao kernel: module_register_init: MOD_LOAD (kbdmux, > 0xffffffff805d4070, 0) error 6 This looks like a problem - kbdmux won't work for you. Why is this? > Feb 18 14:34:58 leao kernel: atkbdc0: > at port 0x60,0x64 on isa0 The onboard keyboard controller is still detected. > Feb 18 14:34:58 leao kernel: atkbd0: irq 1 on atkbdc0 > Feb 18 14:34:58 leao kernel: kbd0 at atkbd0 > Feb 18 14:34:58 leao kernel: atkbd0: [GIANT-LOCKED] The non-existing AT keyboard is registered. > Feb 18 14:34:58 leao kernel: ukbd0: on usbus0 > Feb 18 14:34:58 leao kernel: kbd1 at ukbd0 The USB keyboard is being picked up correctly. > Feb 18 14:34:58 leao kernel: uhid0: on usbus0 Hmmm... Those might be additional keyboard features. Maybe it has some "multimedia keys" that are not transmitted with the regular keyboard datastream? I have a 21" CRT with built-in USB (a USB hub primarily) that also exhibits those "human interface device" features, but I'm not sure what those are: uhid0: on usbus1 Maybe the little screen set-up keys... > It seems there's an error 6 loading kbdmux... > My FreeBSD version is > # uname -a > FreeBSD leao 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295321: Fri Feb 5 > 17:02:27 WET 2016 Yes, this error prevents you from using the "automatic" mechanism that should solve your problem (as it does for me, I'm still on FreeBSD 8 on my home system - "never touch a running system"). I still wonder why you get the "module_register_init: MOD_LOAD" message. Do you use a module for kbdmux? It should be in the kernel configuration file (GENERIC). If not - have you tried building a custom kernel with "device kbdmux"? If you have world and kernel version in sync, you don't need to "make buildworld" and install it - "make kernel" is sufficient; see the comment header of /usr/src/Makefile for the procedure. > > > But I can't type anything in the (virtual) console. I'm not > > > considering X yet. > > > > And you are _totally sure_ the keyboard works? > Completely sure, when these setting are not in place, I can use the > keyboard. And with the settings, I can type my GELI password on boot > and choose from the boot menu. Okay, the question was just to make sure _everything_ works. :-) > > > I don't understand what exactly is meant as example in the manual of > > > kbdcontrol, so cannot find what is wrong with this. > > > Would appreciate some help on this. > > > > You have been using the correct command for switching to a specific > > keyboard (as quoted above). > > This is the only thing keeping me from using my workstation the way I > need. I hope there's some fix to this. You have provided good diagnostic output. Maybe you should ask the freebsd-kernel@ or freebsd-hackers@ mailing lists, by providing the error messages quoted above and a short summary of your setting and what you've already tried. > Thanks for the ongoing help Polytropon! Hope that you or somebody > else can point me to the right correction. I think there is something going on at kernel level which prevents all subsequent "magic" from happening. I'm using a similar setup here on FreeBSD 8 (atkbd detected, no keyboard attached; USB keyboard detected, muxed, works in VTs and X). At a result, you should get something like this: % dmesg | grep kbd kbd1 at kbdmux0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ukbd0: on usbus1 kbd2 at ukbd0 See the lines containing "kbdmux". Also note that there is no actual AT keyboard involved. A FreeBSD 10 output should be comparable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 19 21:11:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72E99AAD3D1 for ; Fri, 19 Feb 2016 21:11:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39037107A for ; Fri, 19 Feb 2016 21:11:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-96-7.dynamic.qsc.de [92.195.96.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D4DAA3D18A; Fri, 19 Feb 2016 22:11:12 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u1JLBBH4003194; Fri, 19 Feb 2016 22:11:12 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 19 Feb 2016 22:11:11 +0100 From: Polytropon To: Arthur Chance Cc: freebsd-questions@freebsd.org Subject: Re: minimize use of root account Message-Id: <20160219221111.5ead3364.freebsd@edvax.de> In-Reply-To: <56C72C45.2050606@qeng-ho.org> References: <20160219120503.fc97ef10.freebsd@edvax.de> <56C72C45.2050606@qeng-ho.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 21:11:16 -0000 On Fri, 19 Feb 2016 14:52:53 +0000, Arthur Chance wrote: > On 19/02/2016 11:05, Polytropon wrote: > > On Fri, 19 Feb 2016 16:29:43 +1100, Yudi V wrote: > >> Hi all, > >> > >> currently I use the below script to load geli devices and import zpool. It > >> needs to be run as root. > >> how to run this script as normal user, is there a group that the user needs > >> to be part of? > > > > No, not for this task. > > > > There are different ways to do it. > > > > 1. You can set the script itself to "run as root" (chmod +s) when > > the script is owned by root:root. Regular users may then execute it. > > I thought suid scripts were disabled years ago because they were a major > security loophole? You're right - it's the case. % ll root_test.sh -rwsr-sr-x 1 poly poly 24 2016-02-19 19:25:20 root_test.sh* % cat root_test.sh #!/bin/sh id -u whoami % ./root_test.sh 2000 poly % sudo ./root_test.sh 0 root I think this is fully intended. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Fri Feb 19 22:20:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 338E5AAD9BD for ; Fri, 19 Feb 2016 22:20:08 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2001:7c0:407:1001:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0087D1CFE for ; Fri, 19 Feb 2016 22:20:07 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1aWtPB-00007Q-17; Fri, 19 Feb 2016 23:20:05 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id u1JMHgV8047251 for ; Fri, 19 Feb 2016 23:17:42 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id u1JMHguN047250 for freebsd-questions@freebsd.org; Fri, 19 Feb 2016 23:17:42 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: minimize use of root account Date: Fri, 19 Feb 2016 22:17:42 +0000 (UTC) Message-ID: References: <1455859963.3464449.525672506.6773F275@webmail.messagingengine.com> User-Agent: slrn/1.0.2 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 22:20:08 -0000 On 2016-02-19, "Ardie H. Hwang" wrote: > Adding a normal user to `operator` group allows the user to use `shutdown(1) command. `reboot(1)` is only for root, but it can be substituted with `shutdown -r now`. Note that group operator also grants read access to disk devices. (The idea is that such users can run backups with dump(8).) This effectively means read access to any and all files on those disks, regardless of the filesystem permissions. -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-questions@freebsd.org Sat Feb 20 09:42:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F201EAAD77F for ; Sat, 20 Feb 2016 09:42:25 +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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85EBBD68 for ; Sat, 20 Feb 2016 09:42:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (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 6A4BC77B0 for ; Sat, 20 Feb 2016 09:42:14 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6A4BC77B0; dkim=none; dkim-atps=neutral Subject: Re: minimize use of root account To: freebsd-questions@freebsd.org References: <20160219120503.fc97ef10.freebsd@edvax.de> <56C72C45.2050606@qeng-ho.org> <20160219221111.5ead3364.freebsd@edvax.de> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <56C834F0.4020000@FreeBSD.org> Date: Sat, 20 Feb 2016 09:42:08 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160219221111.5ead3364.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NJXje4fi2mPL8r1Lh8bbUGvfuOT8jHnbK" X-Virus-Scanned: clamav-milter 0.99 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 09:42:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NJXje4fi2mPL8r1Lh8bbUGvfuOT8jHnbK Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 19/02/2016 21:11, Polytropon wrote: >> I thought suid scripts were disabled years ago because they were a maj= or=20 >> > security loophole? > You're right - it's the case. >=20 > % ll root_test.sh=20 > -rwsr-sr-x 1 poly poly 24 2016-02-19 19:25:20 root_test.sh* >=20 > % cat root_test.sh > #!/bin/sh > id -u > whoami >=20 > % ./root_test.sh > 2000 > poly >=20 > % sudo ./root_test.sh > 0 > root >=20 > I think this is fully intended. Although 'no setuid scripts' is pretty well embedded in the Unix psyche, I was under the impression the underlying problem had been fixed some time ago. The problem with a setuid script is that there is a window of opportunity between the system opening the script, parsing the #! line, firing up the appropriate interpreter and having that *reopen* the script to execute it -- if you can replace the script at just the right time, you can get anything executed with root permissions. This was solved, as I recall, by the system passing its already open file descriptor on the original script to the interpreter. That requires the fdescfs pseudo-filesystem to be mounted, which populates /dev/fd. You need the full fdescfs mounted -- devfs only gives you filedescriptor devices for stdin, stdout and stderr for a process, and that's not enough. Even so, irrespective of fdescfs being mounted or not, it seems setuid scripts are still disallowed. Cheers, Matthew --NJXje4fi2mPL8r1Lh8bbUGvfuOT8jHnbK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJWyDT2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATPOQP/iIE13GBQUa5GYty9mvCoJ5B MmjKU4px4mh/jigu12reR/oZF016nFP+5znZ8jMpT9kAqYjQ7BIA68MD69/AT8ll nIaJlKRH9QA31Zw+R+d5RmcbJREuSZAZW1S/8JCjRv55IbTuh9FhrZh2AweU5Hsp UTUGaxpdmpeomH1/eFohcL9kHWfbR6pekUMjfjDz4KNdNSFajyW0sxJP8A10kuto DZb5s3WYzUmRpi/p8NeCmEUeUQ/LEbWPk59VgI/iq3L9mRxbtlot4qbMHI5FkMFL C943M9pgDRz1xH2KU+w8Rydk85MIqx5BFi5pv3btYLkPKNQOR+O6ZipqWHOjVkr8 tirhHMeqNSlCutH2O1mO7i+4H8szlRB52Ki8hqqdBwr2Y6qIjuzJjBhtAS04TE4d O7VFoW6tWQLTf67EpqpWYgOIaoszRkvJRwB7Bww/zEu2Ce0IDw8gB+dO5NIhW+be a+9V5H6bKCRYTdiGuzu7UiRckYY+q/lo1Z3FMzeqAMO1hURTJpEySdPelfa+dI3r 36sSM7niq5xS5ioP8DwHgZ+PTwTpXVgYCzHbnpoGUpd1wch06h+Ocv+oqdtaPCrg KejuYBhltqy8dEHEwMj3xfT2LCDs3oEWrVTj6BzxwRUgSpEMIVYkSgqSMy332v2a E+YMOJyRYwguQhkXOWz/ =COG0 -----END PGP SIGNATURE----- --NJXje4fi2mPL8r1Lh8bbUGvfuOT8jHnbK-- From owner-freebsd-questions@freebsd.org Sat Feb 20 13:48:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A9BAAAF9F1 for ; Sat, 20 Feb 2016 13:48:35 +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 CC55B8CD for ; Sat, 20 Feb 2016 13:48:33 +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 u1KDmFCT099489; Sun, 21 Feb 2016 00:48:15 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 21 Feb 2016 00:48:15 +1100 (EST) From: Ian Smith To: Polytropon cc: Arthur Chance , freebsd-questions@freebsd.org Subject: Re: minimize use of root account In-Reply-To: Message-ID: <20160220235704.P51785@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 13:48:35 -0000 In freebsd-questions Digest, Vol 611, Issue 6, Message: 6 On Fri, 19 Feb 2016 22:11:11 +0100 Polytropon wrote: > On Fri, 19 Feb 2016 14:52:53 +0000, Arthur Chance wrote: > > On 19/02/2016 11:05, Polytropon wrote: > > > On Fri, 19 Feb 2016 16:29:43 +1100, Yudi V wrote: > > >> Hi all, > > >> > > >> currently I use the below script to load geli devices and import zpool. It > > >> needs to be run as root. > > >> how to run this script as normal user, is there a group that the user needs > > >> to be part of? > > > > > > No, not for this task. > > > > > > There are different ways to do it. > > > > > > 1. You can set the script itself to "run as root" (chmod +s) when > > > the script is owned by root:root. Regular users may then execute it. > > > > I thought suid scripts were disabled years ago because they were a major > > security loophole? > > You're right - it's the case. > > % ll root_test.sh > -rwsr-sr-x 1 poly poly 24 2016-02-19 19:25:20 root_test.sh* I suppose you tried it with the script owned by root? Your example is owned by yourself, and I hope you wouldn't expect to get root access by running a script you'd set suid to yourself? :) I did try with and without sgid also, to confirm it won't work, even when blessed by root: smithi@x200:~ % ll root_test.sh -rwsr-sr-- 1 root wheel 24 Feb 21 00:05 root_test.sh > % cat root_test.sh > #!/bin/sh > id -u > whoami > > % ./root_test.sh > 2000 > poly > > % sudo ./root_test.sh > 0 > root > > I think this is fully intended. Same here. I feel safer knowing suid root won't work, and thanks also to Matthew for confirmation that even fdescfs doesn't enable that, so it's still a 'reliable myth'. cheers, Ian