Date: Fri, 6 Nov 2015 06:55:46 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: krad <kraduk@gmail.com> Cc: Robert Huff <roberthuff@rcn.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: UPS Message-ID: <alpine.BSF.2.20.1511060646300.736@wonkity.com> In-Reply-To: <CALfReydVy%2BuXGsbyN4W-d8eEWmU=rd%2BoSpfBA%2BHHFuq%2Bhfgbbg@mail.gmail.com> References: <563B7465.1090802@rcn.com> <CALfReyeZfA8ZtgoM93Zk32bbar2f0JwGyUQ8W3acEyjLDNJLZw@mail.gmail.com> <alpine.BSF.2.20.1511050949560.44044@wonkity.com> <CALfReydVy%2BuXGsbyN4W-d8eEWmU=rd%2BoSpfBA%2BHHFuq%2Bhfgbbg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Nov 2015, krad wrote: > "apcaccess shows this on the server: > CABLE : USB Cable > DRIVER : USB UPS Driver > STATUS : ONLINE" > isn't that an application level driver though, or is it from dmesg? apcaccess is an application that talks to apcupsd. The driver is selected in apcupsd.conf, and for USB is just UPSTYPE usb usbconfig shows this: ugen0.2: <Smart-UPS 1500 FW601.3.D USB FW1.5 American Power Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (30mA) There is no /dev/cuaUx device. From owner-freebsd-questions@freebsd.org Fri Nov 6 14:56:54 2015 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83033A28DEE for <freebsd-questions@mailman.ysv.freebsd.org>; Fri, 6 Nov 2015 14:56:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF1F1160 for <freebsd-questions@freebsd.org>; Fri, 6 Nov 2015 14:56:54 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6BA96A28DED; Fri, 6 Nov 2015 14:56:54 +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 6B45BA28DEC for <questions@mailman.ysv.freebsd.org>; Fri, 6 Nov 2015 14:56:54 +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 115CA115F for <questions@freebsd.org>; Fri, 6 Nov 2015 14:56:53 +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 tA6Euoil011915; Fri, 6 Nov 2015 14:56:51 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: named and jail startup race condition To: Andrea Venturoli <ml@netfence.it>, questions@freebsd.org References: <563C837D.1020608@netfence.it> <563CA494.7030101@qeng-ho.org> <563CAB10.8000906@netfence.it> From: Arthur Chance <freebsd@qeng-ho.org> Message-ID: <563CBFB2.8070603@qeng-ho.org> Date: Fri, 6 Nov 2015 14:56:50 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <563CAB10.8000906@netfence.it> 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 <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 06 Nov 2015 14:56:54 -0000 On 06/11/2015 13:28, Andrea Venturoli wrote: > On 11/06/15 14:01, Arthur Chance wrote: > >>> 127.0.0.1 is lo1's address, which is the interface/IP of the jail. >> >> I presume that should have been 127.0.1.1 > > Sure, sorry for the typo. > > > >>> _ preconfigure lo1 in rc.conf? >> >> That's what I do > > I'll try this way. > > > > > otherwise if you have more than one jail which one >> creates the interface? > > I thought I'd use one jail per interface, altough I didn't try this yet. The problem with that is you'll hit the same problem for each interface. OK, there's nothing wrong with having cloned_interfaces="lo1 lo2 lo3 ..." in your /etc/rc.conf but it gets a bit tedious. I put all my jails on lo1 with 127.1.*.* addresses and use a firewall to control what can talk to what. -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1511060646300.736>