From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 00:42:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A62B1065670 for ; Sun, 4 Dec 2011 00:42:41 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 12B238FC15 for ; Sun, 4 Dec 2011 00:42:39 +0000 (UTC) Received: by iafi7 with SMTP id i7so1291633iaf.13 for ; Sat, 03 Dec 2011 16:42:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.181.202 with SMTP id dy10mr2422059igc.14.1322959359529; Sat, 03 Dec 2011 16:42:39 -0800 (PST) Received: by 10.231.184.149 with HTTP; Sat, 3 Dec 2011 16:42:39 -0800 (PST) Date: Sat, 3 Dec 2011 19:42:39 -0500 Message-ID: From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: IPSec in Jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 00:42:41 -0000 Hello, I was following a thread in FBSD Spanish talking about the use of IPSec in Jails and there was no conclusion to the matter. I have a client that wants to run a VPN which requires IPSec and he is running on some jails we provide them. We can provide them with a public IP for the jail but I'm not sure if this will work. I understand from the thread that recompiling the kernel with VIMAGE enabled should allow the use of IPSec in the jails but apparently until 8.0 this was experimental. This particular server uses 8.2 so I would like to know if anyone here has done this and how stable it is? Would enabling VIMAGE for the base kernel compromise the system and other clients running on other jails in the same server? Thanks beforehand for any valuable comments! -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 03:34:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A47621065670 for ; Sun, 4 Dec 2011 03:34:26 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward8.mail.yandex.net (forward8.mail.yandex.net [IPv6:2a02:6b8:0:202::3]) by mx1.freebsd.org (Postfix) with ESMTP id 213F08FC0C for ; Sun, 4 Dec 2011 03:34:26 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward8.mail.yandex.net (Yandex) with ESMTP id 83621F63216 for ; Sun, 4 Dec 2011 07:34:24 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1322969664; bh=MSVtbtdFIUYOmKuxNM4I5TPm6NDzSZ9w0+pEImKxPnE=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=F9CL8agwUS+cVpvp9tR2WrX3mwJRYdsJtKet4kWBQYEahjd5KyJPfiilIfv6itGko Fz9WNQ6gjbzqWZ1PuuKuAZu7JG8Vw1wgB8Vz9NcdeUt9d879NqqMSBlB9HlOJXxMvC Zjyao+CAiiX+U7d7wXBp4ZZyBq8+mJV6nfdVJsX0= Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id 6154D158008A for ; Sun, 4 Dec 2011 07:34:24 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1322969664; bh=MSVtbtdFIUYOmKuxNM4I5TPm6NDzSZ9w0+pEImKxPnE=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=F9CL8agwUS+cVpvp9tR2WrX3mwJRYdsJtKet4kWBQYEahjd5KyJPfiilIfv6itGko Fz9WNQ6gjbzqWZ1PuuKuAZu7JG8Vw1wgB8Vz9NcdeUt9d879NqqMSBlB9HlOJXxMvC Zjyao+CAiiX+U7d7wXBp4ZZyBq8+mJV6nfdVJsX0= Received: from unknown (unknown [77.93.52.22]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YNtqQo3j-YOtSAXlH; Sun, 4 Dec 2011 07:34:24 +0400 X-Yandex-Spam: 1 Date: Sun, 4 Dec 2011 05:34:19 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <353504866.20111204053419@yandex.ru> To: FreeBSD Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: sudo log messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 03:34:26 -0000 hi I add line to syslog.conf and killall -HUP syslogd Tell me please how to stop sudo to food /var/log/messages? -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 03:37:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30781065672 for ; Sun, 4 Dec 2011 03:37:15 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 80ABB8FC0C for ; Sun, 4 Dec 2011 03:37:15 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB43bBgP034940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 3 Dec 2011 19:37:12 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB43bBEC034939; Sat, 3 Dec 2011 19:37:11 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03189; Sat, 3 Dec 11 19:28:58 PST Date: Sun, 04 Dec 2011 02:28:24 -0800 From: perryh@pluto.rain.com To: cyberleo@cyberleo.net Message-Id: <4edb4b48.LvOhZvvsP1inJeps%perryh@pluto.rain.com> References: <4ED98E9F.9010401@midsummerdream.org> <4EDA489B.9060503@midsummerdream.org> <4EDA56A3.6090108@cyberleo.net> In-Reply-To: <4EDA56A3.6090108@cyberleo.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ryallsd@gmail.com, freebsd-questions@freebsd.org, lists@midsummerdream.org Subject: Re: AHCI driver and static device names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 03:37:15 -0000 CyberLeo Kitsana wrote: > You cannot combine GPT with glabel (or any other geom class > that writes data to the first or last 34 sectors of a disk, > like gmirror) due to layout conflicts. This is overstated. Since a GPT ordinarily is intended to be booted from, and so must be recognized by the BIOS, it must be written directly on the actual drive -- the "rank 1 provider" in GEOM terms -- because that is the only way for the GPT metadata to be located where the BIOS expects to find it (at both the beginning and the end of the drive). It is, however, possible to combine GPT with gmirror, gjournal, etc. by using GPT partitions, rather than drives, as providers for the other geoms. For example, create a mirror from ad0p1 and ad2p1 rather than from ad0 and ad2. Similarly, it "should" be possible to glabel a GPT partition -- although this seems unlikely to be useful in practice since GPT provides its own labelling scheme. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 04:12:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ED44106564A for ; Sun, 4 Dec 2011 04:12:39 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4658FC12 for ; Sun, 4 Dec 2011 04:12:38 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id 1BE5828407; Sat, 3 Dec 2011 23:12:38 -0500 (EST) Message-ID: <4EDAF335.7050503@cyberleo.net> Date: Sat, 03 Dec 2011 22:12:37 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111106 Thunderbird/7.0.1 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4ED98E9F.9010401@midsummerdream.org> <4EDA489B.9060503@midsummerdream.org> <4EDA56A3.6090108@cyberleo.net> <4edb4b48.LvOhZvvsP1inJeps%perryh@pluto.rain.com> In-Reply-To: <4edb4b48.LvOhZvvsP1inJeps%perryh@pluto.rain.com> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ryallsd@gmail.com, freebsd-questions@freebsd.org, lists@midsummerdream.org Subject: Re: AHCI driver and static device names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 04:12:39 -0000 On 12/04/2011 04:28 AM, perryh@pluto.rain.com wrote: > CyberLeo Kitsana wrote: > >> You cannot combine GPT with glabel (or any other geom class >> that writes data to the first or last 34 sectors of a disk, >> like gmirror) due to layout conflicts. > > This is overstated. Thanks for the clarification. It occurs to me now that I was less than precise. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 04:18:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 882731065673 for ; Sun, 4 Dec 2011 04:18:34 +0000 (UTC) (envelope-from matt@kaywinnit.conundrum.com) Received: from kaywinnit.conundrum.com (mail2.conundrum.com [67.215.196.38]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5308FC13 for ; Sun, 4 Dec 2011 04:18:33 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RWQCt-000Fea-FJ; Fri, 02 Dec 2011 10:19:03 +0000 From: Matthew Pounsett Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 2 Dec 2011 05:19:03 -0500 To: freebsd-questions@freebsd.org Message-Id: Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Sender: matt@kaywinnit.conundrum.com X-SA-Exim-Connect-IP: 216.235.10.34 X-SA-Exim-Mail-From: matt@kaywinnit.conundrum.com X-SA-Exim-Scanned: No (on kaywinnit.conundrum.com); SAEximRunCond expanded to false Subject: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 04:18:34 -0000 I'm trying to do a major version upgrade of postgres from 8.4 to 9.1. = I've dumped the db and uninstalled the postgres-server port, and I'd = like to use portupgrade to handle the client upgrade, since it has a = number of dependencies that probably should be recompiled against the = new client libs (and I'd like to keep the package's +REQUIRED_BY file = properly updated anyway). I was expecting the following to work: sudo portupgrade -rf -o databases/postgresql91-client = databases/postgresql84-client However, I'm running into a problem where the ports makefiles, and by = extension portupgrade, are detecting that the two packages conflict, and = so the 9.1 client won't even build[1]. This seems to be the sort of situation described by the -o example in = the portupgrade man page, but I haven't been able to figure out how to = make it work. Does anyone have any suggestions? Thanks! -- [1]=20 [Updating the pkgdb in /var/db/pkg ... - 140 packages = found (-1 +0) (...) done] ---> Upgrading 'postgresql-client-8.4.8' to 'postgresql-client-9.1.1_1' = (databases/postgresql91-client) ---> Building '/usr/ports/databases/postgresql91-client' =3D=3D=3D> Cleaning for postgresql-client-9.1.1_1 cd /usr/ports/databases/postgresql91-client && make config; =3D=3D=3D> postgresql-client-9.1.1_1 conflicts with installed = package(s):=20 postgresql-client-8.4.8 They install files into the same place. You may want to stop build with Ctrl + C. =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> License check disabled, port has not defined LICENSE =3D=3D=3D> Found saved configuration for postgresql-client-9.1.1_1 =3D> postgresql-9.1.1.tar.bz2 doesn't seem to exist in = /usr/ports/distfiles/postgresql. =3D> Attempting to fetch = ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.= 1.1/postgresql-9.1.1.tar.bz2 postgresql-9.1.1.tar.bz2 100% of 14 MB 1349 kBps = 00m00s =3D=3D=3D> postgresql-client-9.1.1_1 conflicts with installed = package(s):=20 postgresql-client-8.4.8 They will not build together. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/databases/postgresql91-client. *** Error code 1 Stop in /usr/ports/databases/postgresql91-client. ** Command failed [exit code 1]: /usr/bin/script -qa = /tmp/portupgrade20111202-57604-1bstor4-0 env UPGRADE_TOOL=3Dportupgrade = UPGRADE_PORT=3Dpostgresql-client-8.4.8 UPGRADE_PORT_VER=3D8.4.8 make ** Fix the problem and try again. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 07:05:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD295106566B for ; Sun, 4 Dec 2011 07:05:01 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 04AB48FC0A for ; Sun, 4 Dec 2011 07:05:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id pB474uOY099308; Sun, 4 Dec 2011 18:04:57 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 4 Dec 2011 18:04:56 +1100 (EST) From: Ian Smith To: Tim Daneliuk In-Reply-To: <20111203120031.55D471065772@hub.freebsd.org> Message-ID: <20111204171900.N3548@sola.nimnet.asn.au> References: <20111203120031.55D471065772@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Jon Radel Subject: Re: ipfw And ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 07:05:01 -0000 In freebsd-questions Digest, Vol 391, Issue 9, Message: 9 On Fri, 02 Dec 2011 10:35:45 -0600 Tim Daneliuk wrote: > On 12/01/2011 05:45 PM, Jon Radel wrote: > > > > On 12/1/11 6:25 PM, Tim Daneliuk wrote: > > > >> ${FWCMD} add allow icmp from any to any > >> > >> It does work but, two questions: > >> > >> 1) Is there a better way? > > Consider allowing only the ICMP that does things you want to do. > > Google something like "icmp types to allow" for some hints and > > opinions. Just as an example, you can independently control being > > able to ping others and others being able to ping you. > >> 2) Will this cause harm or otherwise expose the server to some > >> vulnerability? > > Well, if you allow all ICMP types, it's possible to make your > > little packets go places you didn't really want them to go, and > > similar network breakage. You can also find those who feel strongly > > that allowing others to ping your machines gives them way too much > > information about what you have at which IP address. On the other > > hand, working ping and traceroute can be very handy to figure out > > what's wrong when the network breaks. But do you open up access on > > your server?---well not so much, though having said that I'm ready > > for somebody to remind me of some obscure attack that uses ICMP for > > more than information gathering. :-) > > > > --Jon Radel > I have been so advised by a number of people to do just this and I am > investigating. > > I am not horribly concerned about this, though, because the machine > in question is a NATing front end for a private, non-routable LAN and > the associated nameserver uses split-horizon DNS to make all the > internal name-ip associations invisible outside the LAN. So ... I > don't really see much threat here. I am throttling ICMP rates via > sysctl because - AFAIK - the only overt ICMP attack is to flood a > target in hopes of getting Denial Of Services. > > As with you, I remain open to someone presenting a scenario > wherein a particular ICMP protocol could actually cause harm... For one, google 'icmp redirect attack' #% stock rc.firewall doesn't permit _ANY_ ICMP, even TCP-required! #% see http://www.iana.org/assignments/icmp-parameters #% from 19/1/99 freebsd-security (compacted): # This is the ICMP rule we generally use: # ipfw add 10 allow icmp from any to any in icmptypes 0,3,4,11,12,14,16,18 # This allows "safe" ICMP's to get in, so that ping, traceroute, etc. # work, while blocking potentially unsafe ICMP's. # See /sys/netinet/ip_icmp.h for definitions of the ICMP types. # -Archie # Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com Since then I've used, on multi-host and NAT'd setups, more or less this: recv_types='icmptypes 0,3,4,11,12,14,16,18' # reject most pings :( #% can use keep-state for outbound icmp but then ANY icmptype matches! #% 26/3/7 still need to generally deny inbound pings except friendlies # pingok="{ was a list of IP addresses[/masks] allowed to ping }" #% XXX better using a pre-loaded table (for OOB on the fly additions) pingok="table\(8\)" $fwadd pass icmp from any to any in recv ${ext_if} ${recv_types} $fwadd pass icmp from ${pingok} to any in recv ${ext_if} icmptypes 8 $fwadd deny log icmp from any to any in recv ${ext_if} $fwadd pass icmp from any to any # outbound, and inside cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 07:29:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE17106564A for ; Sun, 4 Dec 2011 07:29:45 +0000 (UTC) (envelope-from tam.sergio@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 698738FC17 for ; Sun, 4 Dec 2011 07:29:45 +0000 (UTC) Received: by lahv2 with SMTP id v2so2526517lah.13 for ; Sat, 03 Dec 2011 23:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=sOOsc496MUL0wbS3bpQdW/eao+LgkOGXaSM6GWp2s6U=; b=T7NAEyeFUW8oAlLc9xIKqJMImae5LUMd4QPsJ2QUuRrD6HxYNwuLlfMs105lzGNw5d uUZ6InOLpOUY0jJVJCzcHUK+OPgjVnI7qfKi/ir3/iZNcPBlbQDRnu+57NAYFqCKU60x W612ft5LDl/ZutxoAM9XA7RHlOx8o9HEw7kg8= MIME-Version: 1.0 Received: by 10.152.146.100 with SMTP id tb4mr3066027lab.0.1322983783868; Sat, 03 Dec 2011 23:29:43 -0800 (PST) Received: by 10.152.148.130 with HTTP; Sat, 3 Dec 2011 23:29:43 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Dec 2011 01:29:43 -0600 Message-ID: From: Sergio Tam To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 07:29:46 -0000 2011/12/2 Matthew Pounsett : > > I'm trying to do a major version upgrade of postgres from 8.4 to 9.1. =A0= I've dumped the db and uninstalled the postgres-server port, and I'd like t= o use portupgrade to handle the client upgrade, since it has a number of de= pendencies that probably should be recompiled against the new client libs (= and I'd like to keep the package's +REQUIRED_BY file properly updated anywa= y). > > I was expecting the following to work: > sudo portupgrade -rf -o databases/postgresql91-client databases/postgresq= l84-client > > However, I'm running into a problem where the ports makefiles, and by ext= ension portupgrade, are detecting that the two packages conflict, and so th= e 9.1 client won't even build[1]. > > This seems to be the sort of situation described by the -o example in the= portupgrade man page, but I haven't been able to figure out how to make it= work. =A0Does anyone have any suggestions? > > Thanks! > > -- > > [1] > [Updating the pkgdb in /var/db/pkg ... - 140 packages = found (-1 +0) (...) done] > ---> =A0Upgrading 'postgresql-client-8.4.8' to 'postgresql-client-9.1.1_1= ' (databases/postgresql91-client) > ---> =A0Building '/usr/ports/databases/postgresql91-client' > =3D=3D=3D> =A0Cleaning for postgresql-client-9.1.1_1 > cd /usr/ports/databases/postgresql91-client && make config; > > =3D=3D=3D> =A0postgresql-client-9.1.1_1 conflicts with installed package(= s): > =A0 =A0 =A0postgresql-client-8.4.8 > > =A0 =A0 =A0They install files into the same place. > =A0 =A0 =A0You may want to stop build with Ctrl + C. > =3D=3D=3D> =A0Vulnerability check disabled, database not found > =3D=3D=3D> =A0License check disabled, port has not defined LICENSE > =3D=3D=3D> =A0Found saved configuration for postgresql-client-9.1.1_1 > =3D> postgresql-9.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfil= es/postgresql. > =3D> Attempting to fetch ftp://ftp.se.postgresql.org/pub/databases/relati= onal/postgresql/source/v9.1.1/postgresql-9.1.1.tar.bz2 > postgresql-9.1.1.tar.bz2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0100% = of =A0 14 MB 1349 kBps 00m00s > > =3D=3D=3D> =A0postgresql-client-9.1.1_1 conflicts with installed package(= s): > =A0 =A0 =A0postgresql-client-8.4.8 > > =A0 =A0 =A0They will not build together. > =A0 =A0 =A0Please remove them first with pkg_delete(1). <---------------= -pay attention here > *** Error code 1 postgresql-client-8.4.8 make deinstall Tip. always run portaudit -F first. Regards From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 07:45:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56CC51065670 for ; Sun, 4 Dec 2011 07:45:01 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1547E8FC15 for ; Sun, 4 Dec 2011 07:45:00 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id pB47irMZ002649 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 4 Dec 2011 01:44:53 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4EDB24F5.9010301@tundraware.com> Date: Sun, 04 Dec 2011 01:44:53 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: FreeBSD Mailing List References: <20111203120031.55D471065772@hub.freebsd.org> <20111204171900.N3548@sola.nimnet.asn.au> In-Reply-To: <20111204171900.N3548@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Sun, 04 Dec 2011 01:44:53 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: pB47irMZ002649 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: ipfw And ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 07:45:01 -0000 On 12/04/2011 01:04 AM, Ian Smith wrote: > > For one, google 'icmp redirect attack' But isn't that handled by setting: net.inet.icmp.drop_redirect=1 > # This is the ICMP rule we generally use: > # ipfw add 10 allow icmp from any to any in icmptypes 0,3,4,11,12,14,16,18 Hmmm.... I just tried this and it seems to break ping... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 10:06:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B667B106566B for ; Sun, 4 Dec 2011 10:06:32 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from smtpq2.gn.mail.iss.as9143.net (smtpq2.gn.mail.iss.as9143.net [212.54.34.165]) by mx1.freebsd.org (Postfix) with ESMTP id 743798FC16 for ; Sun, 4 Dec 2011 10:06:32 +0000 (UTC) Received: from [212.54.34.141] (helo=smtp10.gn.mail.iss.as9143.net) by smtpq2.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RX8xq-0004bO-MH for freebsd-questions@freebsd.org; Sun, 04 Dec 2011 11:06:30 +0100 Received: from 524944af.cm-4-2b.dynamic.ziggo.nl ([82.73.68.175] helo=mail.nagual.nl) by smtp10.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RX8xq-0005Gf-GV for freebsd-questions@freebsd.org; Sun, 04 Dec 2011 11:06:30 +0100 Received: from [192.168.11.34] (192.168.11.34) by yanta (Axigen) with (CAMELLIA256-SHA encrypted) ESMTPSA id 3D7E3A; Sun, 4 Dec 2011 11:09:21 +0100 Message-ID: <4EDB4625.8070600@nagual.nl> Date: Sun, 04 Dec 2011 11:06:29 +0100 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 X-Ziggo-spambar: ++ X-Ziggo-spamscore: 2.2 Subject: freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 10:06:32 -0000 Why do I get a warning if I use freebsd-update about a renewal of my FreeBSD installation within the next two months because after that time it will nog be supported anymore? I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 11:58:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6121065673 for ; Sun, 4 Dec 2011 11:58:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C4A308FC15 for ; Sun, 4 Dec 2011 11:58:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-77-74.dynamic.qsc.de [92.195.77.74]) by mx02.qsc.de (Postfix) with ESMTP id 3C40C1D96D; Sun, 4 Dec 2011 12:58:03 +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 pB4Bw36t001970; Sun, 4 Dec 2011 12:58:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 4 Dec 2011 12:58:03 +0100 From: Polytropon To: =?UTF-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= Message-Id: <20111204125803.1cc5e540.freebsd@edvax.de> In-Reply-To: <353504866.20111204053419@yandex.ru> References: <353504866.20111204053419@yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re: sudo log messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 11:58:06 -0000 On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: > hi > > I add line to syslog.conf > and killall -HUP syslogd > > Tell me please how to stop sudo to food /var/log/messages? There is a short block for that functionality in the file /usr/local/etc/sudo.conf.sample which you can create your own sudo.conf file from. Also see the notes in "man sudo", section "SECURITY NOTES". Maybe you'll find something useful in the provided documentation at /usr/local/share/doc/sudo/. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 12:18:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 533161065672 for ; Sun, 4 Dec 2011 12:18:45 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id 108F88FC15 for ; Sun, 4 Dec 2011 12:18:45 +0000 (UTC) Received: from [212.54.34.137] (helo=smtp6.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RXB1n-0007yU-RT for freebsd-questions@freebsd.org; Sun, 04 Dec 2011 13:18:43 +0100 Received: from 524944af.cm-4-2b.dynamic.ziggo.nl ([82.73.68.175] helo=mail.nagual.nl) by smtp6.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1RXB1n-0008C5-Kv for freebsd-questions@freebsd.org; Sun, 04 Dec 2011 13:18:43 +0100 Received: from [192.168.11.34] (192.168.11.34) by yanta (Axigen) with (CAMELLIA256-SHA encrypted) ESMTPSA id 26CA71; Sun, 4 Dec 2011 13:21:34 +0100 Message-ID: <4EDB6523.3000002@nagual.nl> Date: Sun, 04 Dec 2011 13:18:43 +0100 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EDB4625.8070600@nagual.nl> <20111204120345.GA65467@ozzmosis.com> In-Reply-To: <20111204120345.GA65467@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 X-Ziggo-spambar: +++ X-Ziggo-spamscore: 3.3 Subject: Re: freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 12:18:45 -0000 Op 4-12-2011 13:03, andrew clarke schreef: > From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 > will be released after that. But 9.0 is still in testing. Despite the > message, I suspect security updates for 8.2 will still be issued for > several months after 8.3 is released, to give people plenty of time to > test 8.3 first before upgrading their 8.2 machines. Good to know. Thanks for the answer. I never go to a .0 release on a production server. Probably will switch to 9.1 or 9.2 when it's ready and stay with the 8.x series 'till then. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 12:27:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB2D106568C for ; Sun, 4 Dec 2011 12:27:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D42BA8FC18 for ; Sun, 4 Dec 2011 12:27:23 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so5387868wgb.31 for ; Sun, 04 Dec 2011 04:27:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=TBMAwEASuHEQfvO71dN0T6Dp+jn75aCAcBZnPMBpYog=; b=ckfb0buRIPYp6jZR51t63U9wm+OPC4HTJSzi4VMs1DEAf1z2vba845pWiGcUvgGtF2 abxnATzDYXUCT2l2wgcmXOkdd06iK7C/8jgQRsYFeoexQlhMnB8FrecMngMVfYar09D1 hJ3eAdhICQvJ7Y2GRSX6SGTz46mq1qqO+l0X0= Received: by 10.216.30.206 with SMTP id k56mr1132314wea.98.1323001642818; Sun, 04 Dec 2011 04:27:22 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id fw16sm21966141wbb.13.2011.12.04.04.27.20 (version=SSLv3 cipher=OTHER); Sun, 04 Dec 2011 04:27:21 -0800 (PST) Date: Sun, 4 Dec 2011 12:27:18 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111204122718.5932bcde@gumby.homeunix.com> In-Reply-To: <4EDB4625.8070600@nagual.nl> References: <4EDB4625.8070600@nagual.nl> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 12:27:24 -0000 On Sun, 04 Dec 2011 11:06:29 +0100 Dick Hoogendijk wrote: > Why do I get a warning if I use freebsd-update about a renewal of my > FreeBSD installation within the next two months because after that > time it will nog be supported anymore? > I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? No $ uname -r 8.2-RELEASE-p4 In the above 8.2 is the release and p4 means that it's the fourth update on the 8.2 security branch. freebsd-update is warning you that your release will soon be unsupported, so there will be no more security updates. You need to update to a supported release. http://www.freebsd.org/releng/index.html From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 12:31:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792E6106566B for ; Sun, 4 Dec 2011 12:31:46 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-osb-irony-out7.iinet.net.au (outbound.icp-osb-irony-out7.iinet.net.au [203.59.1.108]) by mx1.freebsd.org (Postfix) with ESMTP id 083DC8FC25 for ; Sun, 4 Dec 2011 12:31:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAHVh2058qiF+/2dsb2JhbABEqjCBBYFyAQEEATo/BQsLDSAZFBhEGYdutRCIAAyCMmMElFuFNDSMRQ X-IronPort-AV: E=Sophos;i="4.71,293,1320595200"; d="scan'208";a="56971476" Received: from unknown (HELO smtp.phoenix) ([124.170.33.126]) by outbound.icp-osb-irony-out7.iinet.net.au with ESMTP; 04 Dec 2011 20:03:48 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6ECAF3579; Sun, 4 Dec 2011 23:03:45 +1100 (EST) Date: Sun, 4 Dec 2011 23:03:45 +1100 From: andrew clarke To: freebsd-questions@freebsd.org Message-ID: <20111204120345.GA65467@ozzmosis.com> References: <4EDB4625.8070600@nagual.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EDB4625.8070600@nagual.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Dick Hoogendijk Subject: Re: freebsd-update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 12:31:46 -0000 On Sun 2011-12-04 11:06:29 UTC+0100, Dick Hoogendijk (dick@nagual.nl) wrote: > Why do I get a warning if I use freebsd-update about a renewal of my > FreeBSD installation within the next two months because after that time > it will nog be supported anymore? Presumably you mean 8.2-RELEASE. http://security.freebsd.org/ says that the estimated EOL (end-of-life) for 8.2-RELEASE is February 29, 2012. Looking at the source code to freebsd-update, the EOL date is fetched from the metadata hosted by the freebsd-update servers. >From what I understand, the focus is on releasing FreeBSD 9.0, and 8.3 will be released after that. But 9.0 is still in testing. Despite the message, I suspect security updates for 8.2 will still be issued for several months after 8.3 is released, to give people plenty of time to test 8.3 first before upgrading their 8.2 machines. > I run FreeBSD-release-p4. Freebsd-update 'sees' p3. Is this the cause? If this is true, you may have a separate (possibly additional) problem, but on my 8.2-RELEASE-p4 system, freebsd-update sees I have p4 installed. I still see the above message you describe. "uname -r" shows p3, however. I understand this is expected behaviour on account of there being no kernel patches between p3 & p4. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 13:14:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90ADA106566C for ; Sun, 4 Dec 2011 13:14:05 +0000 (UTC) (envelope-from snoop@email.it) Received: from smtp-out06.email.it (smtp-out06.email.it [212.97.34.22]) by mx1.freebsd.org (Postfix) with ESMTP id 4B5D48FC0A for ; Sun, 4 Dec 2011 13:14:05 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out06.email.it (Postfix) with ESMTP id 6B2EA2C014 for ; Sun, 4 Dec 2011 14:14:03 +0100 (CET) X-Virus-Scanned: amavisd-new at email.it Received: from smtp-out06.email.it ([127.0.0.1]) by localhost (smtp-out06.email.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZtsCj4XZRibY for ; Sun, 4 Dec 2011 14:14:03 +0100 (CET) Received: from [10.0.0.59] (inhio.eu [84.242.85.251]) by smtp-out06.email.it (Postfix) with ESMTP id 8620B2C00B for ; Sun, 4 Dec 2011 14:14:02 +0100 (CET) From: Snoop To: freebsd-questions In-Reply-To: <4EDA9A99.6000508@infracaninophile.co.uk> References: <1322934867.86416.1.camel@blackfriar.inhio.eu> <4EDA9A99.6000508@infracaninophile.co.uk> Content-Type: text/plain; charset="us-ascii" Date: Sun, 04 Dec 2011 14:14:01 +0100 Message-ID: <1323004441.86416.3.camel@blackfriar.inhio.eu> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Jails within different networks ... ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 13:14:05 -0000 I've actually done that but the result was jails coming up incredibly slowly and once up basically not "wired". I'm gonna check my configuration again and I'll update the mailing list soon. Thanks for you time to you all. On Sat, 2011-12-03 at 21:54 +0000, Matthew Seaman wrote: > On 03/12/2011 17:54, Snoop wrote: > > I have 3 jails within the host xxx.xxx.26.224 configured in this way > > (below) and everything works well. > > What if I want to enable another jail but I don't want to assign to that > > my next available public ip address xxx.xxx.26.228/24 but I want this > > jail to have a private ip address like 172.16.1.2/27? > > Is that possible or it's a delirium? > > Sure you can do that. Remember the rule though, that the first IP from > each different network configured on an interface must use the natural > netmask for that network. Second and subsequent addresses from each > different network can either use the all-ones (/32) netmask, or the > natural netmask. This only changed a few years ago, so there's still a > lot of advice going around saying you should use the older all-ones > style, but in actuality you can do it which ever of those ways you want > and it won't make any functional difference. > > Cheers, > > Matthew > -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: ING DIRECT Conto Arancio. 4,20% per 12 mesi, zero spese, aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11924&d=4-12 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 13:41:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5258106564A for ; Sun, 4 Dec 2011 13:41:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 98CAB8FC0C for ; Sun, 4 Dec 2011 13:41:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-77-74.dynamic.qsc.de [92.195.77.74]) by mx02.qsc.de (Postfix) with ESMTP id 6176C1E93D; Sun, 4 Dec 2011 14:41:46 +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 pB4Dfju1002666; Sun, 4 Dec 2011 14:41:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 4 Dec 2011 14:41:45 +0100 From: Polytropon To: =?UTF-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= Message-Id: <20111204144145.98dc9726.freebsd@edvax.de> In-Reply-To: <353504866.20111204053419@yandex.ru> References: <353504866.20111204053419@yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re: sudo log messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 13:41:47 -0000 On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: > Tell me please how to stop sudo to food /var/log/messages? ADDITION: Of course I meant /usr/local/etc/sutoers, NOT sudo.conf. Instead of logging via syslog (to /var/log/messages), why not use a specific log file for sudo? Add those lines to the sudoers file: Defaults logfile=/var/log/sudo.log Defaults !syslog Make sure /var/log/sudo.log exists, and maybe use newsyslog.conf to deal with log rotation and archiving. However, you can easily purge sudo log information this way, if required. The file /usr/local/share/doc/sudo/sample.sudoers contains an example. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 14:05:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85B82106566B for ; Sun, 4 Dec 2011 14:05:17 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [IPv6:2a02:6b8:0:801::5]) by mx1.freebsd.org (Postfix) with ESMTP id 02A728FC17 for ; Sun, 4 Dec 2011 14:05:17 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward15.mail.yandex.net (Yandex) with ESMTP id 716859E2057; Sun, 4 Dec 2011 18:05:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323007515; bh=IWM3l1VLpiLRchXnS+aBs1olAAwYKTunYyUvUKyd0j4=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=T5qpc/xx55u3+tUX8KWNDrVidW/HBq2zWJ45jcsGN98Se/kMnh/T2VmFhJwdz37Jt ZfiLltmo+0ZIp93+sTd+yM4c0xtgaOVkPTbMqJD7Q3UdKagZLVdfyC07kEQzcmOdZK /J9s+oljDBXcHUtKJkW7T2iqOWpKPZLmOS3B/8Xw= Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 4EA667E0318; Sun, 4 Dec 2011 18:05:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323007515; bh=IWM3l1VLpiLRchXnS+aBs1olAAwYKTunYyUvUKyd0j4=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=T5qpc/xx55u3+tUX8KWNDrVidW/HBq2zWJ45jcsGN98Se/kMnh/T2VmFhJwdz37Jt ZfiLltmo+0ZIp93+sTd+yM4c0xtgaOVkPTbMqJD7Q3UdKagZLVdfyC07kEQzcmOdZK /J9s+oljDBXcHUtKJkW7T2iqOWpKPZLmOS3B/8Xw= Received: from unknown (unknown [176.8.25.138]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5E4qex8M-5E4GtSgH; Sun, 4 Dec 2011 18:05:14 +0400 X-Yandex-Spam: 1 Date: Sun, 4 Dec 2011 16:05:08 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <147372711.20111204160508@yandex.ru> To: FreeBSD Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Alan DeKok Subject: Re: run radius in debug mode with screen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 14:05:17 -0000 Hi, Alan > > while using this verion > FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 > I can run radius as > /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug >> What is "/r/radiusd debug" ? radiusd - is rc script in freebsd. actually it is /usr/local/etc/rc.d/radiusd debug ... extra_commands="reload debug" radiusd_debug() { radiusd_flags="-X ${radiusd_flags}" run_rc_command start } # ps ax | grep radiusd 51082 1 S 14:17.69 /usr/local/sbin/radiusd -X > but with > FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 > > it exit without any messages. > > Can you help me please to resolve this problem? >> Use the documented command-line options. problem is that that 'radiusd -X' is detached from stdout so now it is impossible to run it in screen =( radiusd: FreeRADIUS Version 2.1.10 uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 in this radiusd: FreeRADIUS Version 2.1.3 I can run radius in screen -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 14:07:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378071065740 for ; Sun, 4 Dec 2011 14:07:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id B04E58FC15 for ; Sun, 4 Dec 2011 14:07:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id pB4E6xD8013497; Mon, 5 Dec 2011 01:07:01 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 5 Dec 2011 01:06:59 +1100 (EST) From: Ian Smith To: Tim Daneliuk In-Reply-To: <20111204120037.E129E10656B1@hub.freebsd.org> Message-ID: <20111205003753.Q3548@sola.nimnet.asn.au> References: <20111204120037.E129E10656B1@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: ipfw And ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 14:07:04 -0000 In freebsd-questions Digest, Vol 391, Issue 10, Message: 25 On Sun, 04 Dec 2011 01:44:53 -0600 Tim Daneliuk wrote: > On 12/04/2011 01:04 AM, Ian Smith wrote: > > > > > > For one, google 'icmp redirect attack' > > But isn't that handled by setting: > > > net.inet.icmp.drop_redirect=1 Yes, but generally clearer to allow what you want and drop the rest. > > # This is the ICMP rule we generally use: > > # ipfw add 10 allow icmp from any to any in icmptypes 0,3,4,11,12,14,16,18 > > > Hmmm.... I just tried this and it seems to break ping... That doesn't allow inbound pings, no. Add type 8 if you want to permit inbound pings from anywhere, or use eg my example to do so selectively. If you mean outbound pings, well you still have to allow outbound ICMP after denying what you don't want inbound .. here it is again: $fwadd pass icmp from any to any in recv ${ext_if} ${recv_types} # omit the following line if you included type 8 in $recv_types $fwadd pass icmp from ${pingok} to any in recv ${ext_if} icmptypes 8 $fwadd deny log icmp from any to any in recv ${ext_if} $fwadd pass icmp from any to any # outbound, and inside cheers, Ian (Please cc me; I take questions@ as a digest, can be slow) From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 15:20:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 555A5106566B for ; Sun, 4 Dec 2011 15:20:35 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [IPv6:2a02:6b8:0:602::5]) by mx1.freebsd.org (Postfix) with ESMTP id C37C98FC13 for ; Sun, 4 Dec 2011 15:20:34 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward5.mail.yandex.net (Yandex) with ESMTP id 3F7B112010D1; Sun, 4 Dec 2011 19:20:33 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323012033; bh=FeYPqaCEomhh8vbHIM8QpcR2rVHq6IYR9SH+8mSQImI=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IvhTmLfozyGYGozy0TYR8mhcjxf7Bf9H3QNls8W//aGtud4hMFJJeH1rvnfwD6obA cJT1ltGDTyu0hipFoXXFGXInIQnioGTPzSFxNnwxHT+cc4hVjhvji6QPdiu19GbGyl Vwn6fMO3UJYWHLjg/0SZcxxinGiBHVtESeleJeJU= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 15D72E20341; Sun, 4 Dec 2011 19:20:33 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323012033; bh=FeYPqaCEomhh8vbHIM8QpcR2rVHq6IYR9SH+8mSQImI=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IvhTmLfozyGYGozy0TYR8mhcjxf7Bf9H3QNls8W//aGtud4hMFJJeH1rvnfwD6obA cJT1ltGDTyu0hipFoXXFGXInIQnioGTPzSFxNnwxHT+cc4hVjhvji6QPdiu19GbGyl Vwn6fMO3UJYWHLjg/0SZcxxinGiBHVtESeleJeJU= Received: from unknown (unknown [176.8.25.138]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KWwCJO0i-KWwmLNJb; Sun, 4 Dec 2011 19:20:32 +0400 X-Yandex-Spam: 1 Date: Sun, 4 Dec 2011 17:20:29 +0200 From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?utf-8?B?0KfQnyDQmtC+0L3RjNC60L7QsiwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1234153491.20111204172029@yandex.ru> To: Polytropon In-Reply-To: <20111204144145.98dc9726.freebsd@edvax.de> References: <353504866.20111204053419@yandex.ru> <20111204144145.98dc9726.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re[2]: sudo log messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 15:20:35 -0000 Здравствуйте, Polytropon. Вы писали 4 декабря 2011 г., 15:41:45: P> On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: >> Tell me please how to stop sudo to food /var/log/messages? P> ADDITION: Of course I meant /usr/local/etc/sutoers, P> NOT sudo.conf. P> Instead of logging via syslog (to /var/log/messages), P> why not use a specific log file for sudo? Add those P> lines to the sudoers file: P> Defaults logfile=/var/log/sudo.log P> Defaults !syslog P> Make sure /var/log/sudo.log exists, and maybe use P> newsyslog.conf to deal with log rotation and archiving. P> However, you can easily purge sudo log information P> this way, if required. P> The file /usr/local/share/doc/sudo/sample.sudoers P> contains an example. yes, that is not problem, but I want to control logging in one place not in each config file of service I have ran on machine. I have thought that this !sudo *.* /var/log/sudo.log will take off logging in /var/log/messages but this work as log to /var/log/messages and to /var/log/sudo.log =(( -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 15:41:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BC10106564A for ; Sun, 4 Dec 2011 15:41:01 +0000 (UTC) (envelope-from george@vagner.com) Received: from p3plsmtpa06-04.prod.phx3.secureserver.net (p3plsmtpa06-04.prod.phx3.secureserver.net [173.201.192.105]) by mx1.freebsd.org (Postfix) with SMTP id 1E7D08FC12 for ; Sun, 4 Dec 2011 15:41:00 +0000 (UTC) Received: (qmail 12542 invoked from network); 4 Dec 2011 15:14:19 -0000 Received: from unknown (75.192.90.232) by p3plsmtpa06-04.prod.phx3.secureserver.net (173.201.192.105) with ESMTP; 04 Dec 2011 15:14:17 -0000 From: "george vagner" To: Date: Sun, 4 Dec 2011 10:14:14 -0500 Message-ID: <01b001ccb297$6487f7e0$2d97e7a0$@vagner.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcyylKZYDQokgDZyQZ6z+aOhGd91kw== Content-Language: en-us Subject: proper syntax for wifi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 15:41:01 -0000 Ok I have a wireless interface ath0 and a wired re0 interface. I would like to have hostapd running on the wireless interface and allow access to the wired network also. For the most part I have this working on most systems with one exception, one of my clients cant connect I am getting "deauthenticated due to local request" in my logs, and another windows machine had the same issues until I updated the wifi driver to the latest version which solved the problem on the win machine. Here is the error I am getting wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: associated Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deauthenticated due to local deauth request Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deassociated I also don't know ifs right to assign an ip to a bridge or not, maybe someone can look at this and make some suggestions Cause I am all googled out or ideas. > ifconfig -a re0: flags=8943 metric 0 mtu 1500 options=3899 ether 90:fb:a6:ed:74:a6 inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseT ) status: active ath0: flags=8843 metric 0 mtu 2290 ether 00:c0:ca:1f:4a:d7 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running plip0: flags=8810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.254 netmask 0xffffffff nd6 options=3 bridge0: flags=8843 metric 0 mtu 1500 ether 02:b5:34:b6:3f:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: wlan0 flags=143 ifmaxaddr 0 port 11 priority 128 path cost 370370 member: re0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 55 wlan0: flags=8943 metric 0 mtu 1500 ether 00:c0:ca:1f:4a:d7 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid Gateway channel 11 (2462 MHz 11g) bssid 00:c0:ca:1f:4a:d7 country US ecm authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 22.5 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs This is my rc.conf > cat /etc/rc.conf hostname="gateway.vagner.com" defaultrouter="192.168.0.1" gateway_enable="YES" sshd_enable="YES" wlans_ath0="wlan0" create_args_wlan0="wlanmode hostap" ifconfig_wlan0="inet 192.168.0.2 netmask 255.255.255.0 mode 11g channel 11" hostapd_enable="YES" ifconfig_re0="inet 192.168.0.3 netmask 255.255.255.0 up" cloned_interfaces="bridge0" ifconfig_bridge0="addm re0 addm wlan0" routed_enable="YES" webmin_enable="YES" winbind_enable="YES" dhcpd_enable="YES" # dhcpd enabled? #dhcpd_flags="-q" # command option(s) #dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="wlan0 re0" # ethernet interface(s) #dhcpd_withumask="022" # file creation mask inetd_enable="YES" ntpdate_enable="NO" ntpdate_enable="NO" xntpd_program="/usr/local/bin/ntpd" xntpd_flags="-A -g -N -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log" named_enable="YES" cupsd_enable="YES" and my /etc/hostapd.conf file > cat /etc/hostapd.conf ##### hostapd configuration file ############################################## # Empty lines and lines starting with # are ignored # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for # management frames); ath0 for madwifi interface=wlan0 # In case of madwifi and nl80211 driver interfaces, an additional configuration # parameter, bridge, must be used to notify hostapd if the interface is # included in a bridge. This parameter is not used with Host AP driver. #bridge=br0 # Driver interface type (hostap/wired/madwifi/prism54/test/none/nl80211/bsd); # default: hostap). nl80211 is used with all Linux mac80211 drivers. # Use driver=none if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver. # driver=hostap # hostapd event logger configuration # # Two output method: syslog and stdout (only usable if not forking to # background). # # Module bitfield (ORed bitfield of modules that will be logged; -1 = all # modules): # bit 0 (1) = IEEE 802.11 # bit 1 (2) = IEEE 802.1X # bit 2 (4) = RADIUS # bit 3 (8) = WPA # bit 4 (16) = driver interface # bit 5 (32) = IAPP # bit 6 (64) = MLME # # Levels (minimum value for logged events): # 0 = verbose debugging # 1 = debugging # 2 = informational messages # 3 = notification # 4 = warning # logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 # Dump file for state information (on SIGUSR1) dump_file=/tmp/hostapd.dump # Interface for separate control program. If this is specified, hostapd # will create this directory and a UNIX domain socket for listening to requests # from external programs (CLI/GUI, etc.) for status information and # configuration. The socket file will be named based on the interface name, so # multiple hostapd processes/interfaces can be run at the same time if more # than one interface is used. # /var/run/hostapd is the recommended directory for sockets and by default, # hostapd_cli will use it when trying to connect with hostapd. ctrl_interface=/var/run/hostapd # Access control for the control interface can be configured by setting the # directory to allow only members of a group to use sockets. This way, it is # possible to run hostapd as root (since it needs to change network # configuration and open raw sockets) and still allow GUI/CLI components to be # run as non-root users. However, since the control interface can be used to # change the network configuration, this access needs to be protected in many # cases. By default, hostapd is configured to use gid 0 (root). If you # want to allow non-root users to use the contron interface, add a new group # and change this value to match with that group. Add users that should have # control interface access to this group. # # This variable can be a group name or gid. #ctrl_interface_group=wheel ctrl_interface_group=0 ##### IEEE 802.11 related configuration ####################################### # SSID to be used in IEEE 802.11 management frames ssid=Gateway # Country code (ISO/IEC 3166-1). Used to set regulatory domain. # Set as needed to indicate country in which device is operating. # This can limit available channels and transmit power. country_code=US # Enable IEEE 802.11d. This advertises the country_code and the set of allowed # channels and transmit power levels based on the regulatory limits. The # country_code setting must be configured with the correct country for # IEEE 802.11d functions. # (default: 0 = disabled) ieee80211d=1 # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, # Default: IEEE 802.11b hw_mode=g # Channel number (IEEE 802.11) # (default: 0, i.e., not set) # Please note that some drivers (e.g., madwifi) do not use this value from # hostapd and the channel will need to be configuration separately with # iwconfig. channel=11 # Beacon interval in kus (1.024 ms) (default: 100; range 15..65535) #beacon_int=100 # DTIM (delivery trafic information message) period (range 1..255): # number of beacons between DTIMs (1 = every beacon includes DTIM element) # (default: 2) #dtim_period=2 # Maximum number of stations allowed in station table. New stations will be # rejected after the station table is full. IEEE 802.11 has a limit of 2007 # different association IDs, so this number should not be larger than that. # (default: 2007) #max_num_sta=255 # RTS/CTS threshold; 2347 = disabled (default); range 0..2347 # If this field is not included in hostapd.conf, hostapd will not control # RTS threshold and 'iwconfig wlan# rts ' can be used to set it. #rts_threshold=2347 # Fragmentation threshold; 2346 = disabled (default); range 256..2346 # If this field is not included in hostapd.conf, hostapd will not control # fragmentation threshold and 'iwconfig wlan# frag ' can be used to set # it. #fragm_threshold=2346 # Rate configuration # Default is to enable all rates supported by the hardware. This configuration # item allows this list be filtered so that only the listed rates will be left # in the list. If the list is empty, all rates are used. This list can have # entries that are not in the list of rates the hardware supports (such entries # are ignored). The entries in this list are in 100 kbps, i.e., 11 Mbps = 110. # If this item is present, at least one rate have to be matching with the rates # hardware supports. # default: use the most common supported rate setting for the selected # hw_mode (i.e., this line can be removed from configuration file in most # cases) #supported_rates=10 20 55 110 60 90 120 180 240 360 480 540 # Basic rate set configuration # List of rates (in 100 kbps) that are included in the basic rate set. # If this item is not included, usually reasonable default set is used. #basic_rates=10 20 #basic_rates=10 20 55 110 #basic_rates=60 120 240 # Short Preamble # This parameter can be used to enable optional use of short preamble for # frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network performance. # This applies only to IEEE 802.11b-compatible networks and this should only be # enabled if the local hardware supports use of short preamble. If any of the # associated STAs do not support short preamble, use of short preamble will be # disabled (and enabled when such STAs disassociate) dynamically. # 0 = do not allow use of short preamble (default) # 1 = allow use of short preamble #preamble=1 # Station MAC address -based authentication # Please note that this kind of access control requires a driver that uses # hostapd to take care of management frame processing and as such, this can be # used with driver=hostap or driver=nl80211, but not with driver=madwifi. # 0 = accept unless in deny list # 1 = deny unless in accept list # 2 = use external RADIUS server (accept/deny lists are searched first) macaddr_acl=0 # Accept/deny lists are read from separate files (containing list of # MAC addresses, one per line). Use absolute path name to make sure that the # files can be read on SIGHUP configuration reloads. #accept_mac_file=/etc/hostapd.accept #deny_mac_file=/etc/hostapd.deny # IEEE 802.11 specifies two authentication algorithms. hostapd can be # configured to allow both of these or only one. Open system authentication # should be used with IEEE 802.1X. # Bit fields of allowed authentication algorithms: # bit 0 = Open System Authentication # bit 1 = Shared Key Authentication (requires WEP) auth_algs=1 # Send empty SSID in beacons and ignore probe request frames that do not # specify full SSID, i.e., require stations to know SSID. # default: disabled (0) # 1 = send empty (length=0) SSID in beacon and ignore probe request for # broadcast SSID # 2 = clear SSID (ASCII 0), but keep the original length (this may be required # with some clients that do not support empty SSID) and ignore probe # requests for broadcast SSID ignore_broadcast_ssid=0 # TX queue parameters (EDCF / bursting) # default for all these fields: not set, use hardware defaults # tx_queue__ # queues: data0, data1, data2, data3, after_beacon, beacon # (data0 is the highest priority queue) # parameters: # aifs: AIFS (default 2) # cwmin: cwMin (1, 3, 7, 15, 31, 63, 127, 255, 511, 1023) # cwmax: cwMax (1, 3, 7, 15, 31, 63, 127, 255, 511, 1023); cwMax >= cwMin # burst: maximum length (in milliseconds with precision of up to 0.1 ms) for # bursting # # Default WMM parameters (IEEE 802.11 draft; 11-03-0504-03-000e): # These parameters are used by the access point when transmitting frames # to the clients. # # Low priority / AC_BK = background #tx_queue_data3_aifs=7 #tx_queue_data3_cwmin=15 #tx_queue_data3_cwmax=1023 #tx_queue_data3_burst=0 # Note: for IEEE 802.11b mode: cWmin=31 cWmax=1023 burst=0 # # Normal priority / AC_BE = best effort #tx_queue_data2_aifs=3 #tx_queue_data2_cwmin=15 #tx_queue_data2_cwmax=63 #tx_queue_data2_burst=0 # Note: for IEEE 802.11b mode: cWmin=31 cWmax=127 burst=0 # # High priority / AC_VI = video #tx_queue_data1_aifs=1 #tx_queue_data1_cwmin=7 #tx_queue_data1_cwmax=15 #tx_queue_data1_burst=3.0 # Note: for IEEE 802.11b mode: cWmin=15 cWmax=31 burst=6.0 # # Highest priority / AC_VO = voice #tx_queue_data0_aifs=1 #tx_queue_data0_cwmin=3 #tx_queue_data0_cwmax=7 #tx_queue_data0_burst=1.5 # Note: for IEEE 802.11b mode: cWmin=7 cWmax=15 burst=3.3 # # Special queues; normally not user configurable # #tx_queue_after_beacon_aifs=2 #tx_queue_after_beacon_cwmin=15 #tx_queue_after_beacon_cwmax=1023 #tx_queue_after_beacon_burst=0 # #tx_queue_beacon_aifs=2 #tx_queue_beacon_cwmin=3 #tx_queue_beacon_cwmax=7 #tx_queue_beacon_burst=1.5 # 802.1D Tag to AC mappings # WMM specifies following mapping of data frames to different ACs. This mapping # can be configured using Linux QoS/tc and sch_pktpri.o module. # 802.1D Tag 802.1D Designation Access Category WMM Designation # 1 BK AC_BK Background # 2 - AC_BK Background # 0 BE AC_BE Best Effort # 3 EE AC_VI Video # 4 CL AC_VI Video # 5 VI AC_VI Video # 6 VO AC_VO Voice # 7 NC AC_VO Voice # Data frames with no priority information: AC_BE # Management frames: AC_VO # PS-Poll frames: AC_BE # Default WMM parameters (IEEE 802.11 draft; 11-03-0504-03-000e): # for 802.11a or 802.11g networks # These parameters are sent to WMM clients when they associate. # The parameters will be used by WMM clients for frames transmitted to the # access point. # # note - txop_limit is in units of 32microseconds # note - acm is admission control mandatory flag. 0 = admission control not # required, 1 = mandatory # note - here cwMin and cmMax are in exponent form. the actual cw value used # will be (2^n)-1 where n is the value given here # #wme_enabled=1 # # Low priority / AC_BK = background wme_ac_bk_cwmin=4 wme_ac_bk_cwmax=10 wme_ac_bk_aifs=7 wme_ac_bk_txop_limit=0 wme_ac_bk_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=10 # # Normal priority / AC_BE = best effort wme_ac_be_aifs=3 wme_ac_be_cwmin=4 wme_ac_be_cwmax=10 wme_ac_be_txop_limit=0 wme_ac_be_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=7 # # High priority / AC_VI = video wme_ac_vi_aifs=2 wme_ac_vi_cwmin=3 wme_ac_vi_cwmax=4 wme_ac_vi_txop_limit=94 wme_ac_vi_acm=0 # Note: for IEEE 802.11b mode: cWmin=4 cWmax=5 txop_limit=188 # # Highest priority / AC_VO = voice wme_ac_vo_aifs=2 wme_ac_vo_cwmin=2 wme_ac_vo_cwmax=3 wme_ac_vo_txop_limit=47 wme_ac_vo_acm=0 # Note: for IEEE 802.11b mode: cWmin=3 cWmax=4 burst=102 # Static WEP key configuration # # The key number to use when transmitting. # It must be between 0 and 3, and the corresponding key must be set. # default: not set #wep_default_key=0 # The WEP keys to use. # A key may be a quoted string or unquoted hexadecimal digits. # The key length should be 5, 13, or 16 characters, or 10, 26, or 32 # digits, depending on whether 40-bit (64-bit), 104-bit (128-bit), or # 128-bit (152-bit) WEP is used. # Only the default key must be supplied; the others are optional. # default: not set #wep_key0=123456789a #wep_key1="vwxyz" #wep_key2=0102030405060708090a0b0c0d #wep_key3=".2.4.6.8.0.23" # Station inactivity limit # # If a station does not send anything in ap_max_inactivity seconds, an # empty data frame is sent to it in order to verify whether it is # still in range. If this frame is not ACKed, the station will be # disassociated and then deauthenticated. This feature is used to # clear station table of old entries when the STAs move out of the # range. # # The station can associate again with the AP if it is still in range; # this inactivity poll is just used as a nicer way of verifying # inactivity; i.e., client will not report broken connection because # disassociation frame is not sent immediately without first polling # the STA with a data frame. # default: 300 (i.e., 5 minutes) #ap_max_inactivity=300 # Enable/disable internal bridge for packets between associated stations. # # When IEEE 802.11 is used in managed mode, packets are usually send through # the AP even if they are from a wireless station to another wireless station. # This functionality requires that the AP has a bridge functionality that sends # frames back to the same interface if their destination is another associated # station. In addition, broadcast/multicast frames from wireless stations will # be sent both to the host system net stack (e.g., to eventually wired network) # and back to the wireless interface. # # The internal bridge is implemented within the wireless kernel module and it # bypasses kernel filtering (netfilter/iptables/ebtables). If direct # communication between the stations needs to be prevented, the internal # bridge can be disabled by setting bridge_packets=0. # # Note: If this variable is not included in hostapd.conf, hostapd does not # change the configuration and iwpriv can be used to set the value with # 'iwpriv wlan# param 10 0' command. If the variable is in hostapd.conf, # hostapd will override possible iwpriv configuration whenever configuration # file is reloaded. # # default: do not control from hostapd (80211.o defaults to 1=enabled) #bridge_packets=1 # Maximum allowed Listen Interval (how many Beacon periods STAs are allowed to # remain asleep). Default: 65535 (no limit apart from field size) #max_listen_interval=100 ##### IEEE 802.11n related configuration ###################################### # ieee80211n: Whether IEEE 802.11n (HT) is enabled # 0 = disabled (default) # 1 = enabled #ieee80211n=1 # ht_capab: HT capabilities (list of flags) # LDPC coding capability: [LDPC] = supported # Supported channel width set: [HT40-] = both 20 MHz and 40 MHz with secondary # channel below the primary channel; [HT40+] = both 20 MHz and 40 MHz # with secondary channel below the primary channel # (20 MHz only if neither is set) # Note: There are limits on which channels can be used with HT40- and # HT40+. Following table shows the channels that may be available for # HT40- and HT40+ use per IEEE 802.11n Annex J: # freq HT40- HT40+ # 2.4 GHz 5-13 1-7 (1-9 in Europe/Japan) # 5 GHz 40,48,56,64 36,44,52,60 # (depending on the location, not all of these channels may be available # for use) # Spatial Multiplexing (SM) Power Save: [SMPS-STATIC] or [SMPS-DYNAMIC] # (SMPS disabled if neither is set) # HT-greenfield: [GF] (disabled if not set) # Short GI for 20 MHz: [SHORT-GI-20] (disabled if not set) # Short GI for 40 MHz: [SHORT-GI-40] (disabled if not set) # Tx STBC: [TX-STBC] (disabled if not set) # Rx STBC: [RX-STBC1] (one spatial stream), [RX-STBC12] (one or two spatial # streams), or [RX-STBC123] (one, two, or three spatial streams); Rx STBC # disabled if none of these set # HT-delayed Block Ack: [DELAYED-BA] (disabled if not set) # Maximum A-MSDU length: [MAX-AMSDU-7935] for 7935 octets (3839 octets if not # set) # DSSS/CCK Mode in 40 MHz: [DSSS_CCK-40] = allowed (not allowed if not set) # PSMP support: [PSMP] (disabled if not set) # L-SIG TXOP protection support: [LSIG-TXOP-PROT] (disabled if not set) #ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] ##### IEEE 802.1X-2004 related configuration ################################## # Require IEEE 802.1X authorization #ieee8021x=1 # IEEE 802.1X/EAPOL version # hostapd is implemented based on IEEE Std 802.1X-2004 which defines EAPOL # version 2. However, there are many client implementations that do not handle # the new version number correctly (they seem to drop the frames completely). # In order to make hostapd interoperate with these clients, the version number # can be set to the older version (1) with this configuration value. eapol_version=2 # Optional displayable message sent with EAP Request-Identity. The first \0 # in this string will be converted to ASCII-0 (nul). This can be used to # separate network info (comma separated list of attribute=value pairs); see, # e.g., RFC 4284. #eap_message=hello #eap_message=hello\0networkid=netw,nasid=foo,portid=0,NAIRealms=example.com # WEP rekeying (disabled if key lengths are not set or are set to 0) # Key lengths for default/broadcast and individual/unicast keys: # 5 = 40-bit WEP (also known as 64-bit WEP with 40 secret bits) # 13 = 104-bit WEP (also known as 128-bit WEP with 104 secret bits) #wep_key_len_broadcast=5 #wep_key_len_unicast=5 # Rekeying period in seconds. 0 = do not rekey (i.e., set keys only once) #wep_rekey_period=300 # EAPOL-Key index workaround (set bit7) for WinXP Supplicant (needed only if # only broadcast keys are used) #eapol_key_index_workaround=0 # EAP reauthentication period in seconds (default: 3600 seconds; 0 = disable # reauthentication). #eap_reauth_period=3600 # Use PAE group address (01:80:c2:00:00:03) instead of individual target # address when sending EAPOL frames with driver=wired. This is the most common # mechanism used in wired authentication, but it also requires that the port # is only used by one station. #use_pae_group_addr=1 ##### Integrated EAP server ################################################### # Optionally, hostapd can be configured to use an integrated EAP server # to process EAP authentication locally without need for an external RADIUS # server. This functionality can be used both as a local authentication server # for IEEE 802.1X/EAPOL and as a RADIUS server for other devices. # Use integrated EAP server instead of external RADIUS authentication # server. This is also needed if hostapd is configured to act as a RADIUS # authentication server. #eap_server=0 # Path for EAP server user database #eap_user_file=/etc/hostapd.eap_user # CA certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS #ca_cert=/etc/hostapd.ca.pem # Server certificate (PEM or DER file) for EAP-TLS/PEAP/TTLS #server_cert=/etc/hostapd.server.pem # Private key matching with the server certificate for EAP-TLS/PEAP/TTLS # This may point to the same file as server_cert if both certificate and key # are included in a single file. PKCS#12 (PFX) file (.p12/.pfx) can also be # used by commenting out server_cert and specifying the PFX file as the # private_key. #private_key=/etc/hostapd.server.prv # Passphrase for private key #private_key_passwd=secret passphrase # Enable CRL verification. # Note: hostapd does not yet support CRL downloading based on CDP. Thus, a # valid CRL signed by the CA is required to be included in the ca_cert file. # This can be done by using PEM format for CA certificate and CRL and # concatenating these into one file. Whenever CRL changes, hostapd needs to be # restarted to take the new CRL into use. # 0 = do not verify CRLs (default) # 1 = check the CRL of the user certificate # 2 = check all CRLs in the certificate path #check_crl=1 # dh_file: File path to DH/DSA parameters file (in PEM format) # This is an optional configuration file for setting parameters for an # ephemeral DH key exchange. In most cases, the default RSA authentication does # not use this configuration. However, it is possible setup RSA to use # ephemeral DH key exchange. In addition, ciphers with DSA keys always use # ephemeral DH keys. This can be used to achieve forward secrecy. If the file # is in DSA parameters format, it will be automatically converted into DH # params. This parameter is required if anonymous EAP-FAST is used. # You can generate DH parameters file with OpenSSL, e.g., # "openssl dhparam -out /etc/hostapd.dh.pem 1024" #dh_file=/etc/hostapd.dh.pem # Configuration data for EAP-SIM database/authentication gateway interface. # This is a text string in implementation specific format. The example # implementation in eap_sim_db.c uses this as the UNIX domain socket name for # the HLR/AuC gateway (e.g., hlr_auc_gw). In this case, the path uses "unix:" # prefix. #eap_sim_db=unix:/tmp/hlr_auc_gw.sock # Encryption key for EAP-FAST PAC-Opaque values. This key must be a secret, # random value. It is configured as a 16-octet value in hex format. It can be # generated, e.g., with the following command: # od -tx1 -v -N16 /dev/random | colrm 1 8 | tr -d ' ' #pac_opaque_encr_key=000102030405060708090a0b0c0d0e0f # EAP-FAST authority identity (A-ID) # A-ID indicates the identity of the authority that issues PACs. The A-ID # should be unique across all issuing servers. In theory, this is a variable # length field, but due to some existing implementations required A-ID to be # 16 octets in length, it is strongly recommended to use that length for the # field to provided interoperability with deployed peer implementation. This # field is configured in hex format. #eap_fast_a_id=101112131415161718191a1b1c1d1e1f # EAP-FAST authority identifier information (A-ID-Info) # This is a user-friendly name for the A-ID. For example, the enterprise name # and server name in a human-readable format. This field is encoded as UTF-8. #eap_fast_a_id_info=test server # Enable/disable different EAP-FAST provisioning modes: #0 = provisioning disabled #1 = only anonymous provisioning allowed #2 = only authenticated provisioning allowed #3 = both provisioning modes allowed (default) #eap_fast_prov=3 # EAP-FAST PAC-Key lifetime in seconds (hard limit) #pac_key_lifetime=604800 # EAP-FAST PAC-Key refresh time in seconds (soft limit on remaining hard # limit). The server will generate a new PAC-Key when this number of seconds # (or fewer) of the lifetime remains. #pac_key_refresh_time=86400 # EAP-SIM and EAP-AKA protected success/failure indication using AT_RESULT_IND # (default: 0 = disabled). #eap_sim_aka_result_ind=1 # Trusted Network Connect (TNC) # If enabled, TNC validation will be required before the peer is allowed to # connect. Note: This is only used with EAP-TTLS and EAP-FAST. If any other # EAP method is enabled, the peer will be allowed to connect without TNC. #tnc=1 ##### IEEE 802.11f - Inter-Access Point Protocol (IAPP) ####################### # Interface to be used for IAPP broadcast packets #iapp_interface=eth0 ##### RADIUS client configuration ############################################# # for IEEE 802.1X with external Authentication Server, IEEE 802.11 # authentication with external ACL for MAC addresses, and accounting # The own IP address of the access point (used as NAS-IP-Address) own_ip_addr=127.0.0.1 # Optional NAS-Identifier string for RADIUS messages. When used, this should be # a unique to the NAS within the scope of the RADIUS server. For example, a # fully qualified domain name can be used here. # When using IEEE 802.11r, nas_identifier must be set and must be between 1 and # 48 octets long. #nas_identifier=ap.example.com # RADIUS authentication server #auth_server_addr=127.0.0.1 #auth_server_port=1812 #auth_server_shared_secret=secret # RADIUS accounting server #acct_server_addr=127.0.0.1 #acct_server_port=1813 #acct_server_shared_secret=secret # Secondary RADIUS servers; to be used if primary one does not reply to # RADIUS packets. These are optional and there can be more than one secondary # server listed. #auth_server_addr=127.0.0.2 #auth_server_port=1812 #auth_server_shared_secret=secret2 # #acct_server_addr=127.0.0.2 #acct_server_port=1813 #acct_server_shared_secret=secret2 # Retry interval for trying to return to the primary RADIUS server (in # seconds). RADIUS client code will automatically try to use the next server # when the current server is not replying to requests. If this interval is set, # primary server will be retried after configured amount of time even if the # currently used secondary server is still working. #radius_retry_primary_interval=600 # Interim accounting update interval # If this is set (larger than 0) and acct_server is configured, hostapd will # send interim accounting updates every N seconds. Note: if set, this overrides # possible Acct-Interim-Interval attribute in Access-Accept message. Thus, this # value should not be configured in hostapd.conf, if RADIUS server is used to # control the interim interval. # This value should not be less 600 (10 minutes) and must not be less than # 60 (1 minute). #radius_acct_interim_interval=600 # Dynamic VLAN mode; allow RADIUS authentication server to decide which VLAN # is used for the stations. This information is parsed from following RADIUS # attributes based on RFC 3580 and RFC 2868: Tunnel-Type (value 13 = VLAN), # Tunnel-Medium-Type (value 6 = IEEE 802), Tunnel-Private-Group-ID (value # VLANID as a string). vlan_file option below must be configured if dynamic # VLANs are used. Optionally, the local MAC ACL list (accept_mac_file) can be # used to set static client MAC address to VLAN ID mapping. # 0 = disabled (default) # 1 = option; use default interface if RADIUS server does not include VLAN ID # 2 = required; reject authentication if RADIUS server does not include VLAN ID #dynamic_vlan=0 # VLAN interface list for dynamic VLAN mode is read from a separate text file. # This list is used to map VLAN ID from the RADIUS server to a network # interface. Each station is bound to one interface in the same way as with # multiple BSSIDs or SSIDs. Each line in this text file is defining a new # interface and the line must include VLAN ID and interface name separated by # white space (space or tab). #vlan_file=/etc/hostapd.vlan # Interface where 802.1q tagged packets should appear when a RADIUS server is # used to determine which VLAN a station is on. hostapd creates a bridge for # each VLAN. Then hostapd adds a VLAN interface (associated with the interface # indicated by 'vlan_tagged_interface') and the appropriate wireless interface # to the bridge. #vlan_tagged_interface=eth0 ##### RADIUS authentication server configuration ############################## # hostapd can be used as a RADIUS authentication server for other hosts. This # requires that the integrated EAP server is also enabled and both # authentication services are sharing the same configuration. # File name of the RADIUS clients configuration for the RADIUS server. If this # commented out, RADIUS server is disabled. #radius_server_clients=/etc/hostapd.radius_clients # The UDP port number for the RADIUS authentication server #radius_server_auth_port=1812 # Use IPv6 with RADIUS server (IPv4 will also be supported using IPv6 API) #radius_server_ipv6=1 ##### WPA/IEEE 802.11i configuration ########################################## # Enable WPA. Setting this variable configures the AP to require WPA (either # WPA-PSK or WPA-RADIUS/EAP based on other configuration). For WPA-PSK, either # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK. # For WPA-RADIUS/EAP, ieee8021x must be set (but without dynamic WEP keys), # RADIUS authentication server must be configured, and WPA-EAP must be included # in wpa_key_mgmt. # This field is a bit field that can be used to enable WPA (IEEE 802.11i/D3.0) # and/or WPA2 (full IEEE 802.11i/RSN): # bit0 = WPA # bit1 = IEEE 802.11i/RSN (WPA2) (dot11RSNAEnabled) wpa=1 # WPA pre-shared keys for WPA-PSK. This can be either entered as a 256-bit # secret in hex format (64 hex digits), wpa_psk, or as an ASCII passphrase # (8..63 characters) that will be converted to PSK. This conversion uses SSID # so the PSK changes when ASCII passphrase is used and the SSID is changed. # wpa_psk (dot11RSNAConfigPSKValue) # wpa_passphrase (dot11RSNAConfigPSKPassPhrase) #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef wpa_passphrase=wireless_password # Optionally, WPA PSKs can be read from a separate text file (containing list # of (PSK,MAC address) pairs. This allows more than one PSK to be configured. # Use absolute path name to make sure that the files can be read on SIGHUP # configuration reloads. #wpa_psk_file=/etc/hostapd.wpa_psk # Set of accepted key management algorithms (WPA-PSK, WPA-EAP, or both). The # entries are separated with a space. WPA-PSK-SHA256 and WPA-EAP-SHA256 can be # added to enable SHA256-based stronger algorithms. # (dot11RSNAConfigAuthenticationSuitesTable) wpa_key_mgmt=WPA-PSK WPA-EAP # Set of accepted cipher suites (encryption algorithms) for pairwise keys # (unicast packets). This is a space separated list of algorithms: # CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0] # TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] # Group cipher suite (encryption algorithm for broadcast and multicast frames) # is automatically selected based on this configuration. If only CCMP is # allowed as the pairwise cipher, group cipher will also be CCMP. Otherwise, # TKIP will be used as the group cipher. # (dot11RSNAConfigPairwiseCiphersTable) # Pairwise cipher for WPA (v1) (default: TKIP) #wpa_pairwise=TKIP CCMP # Pairwise cipher for RSN/WPA2 (default: use wpa_pairwise value) #rsn_pairwise=CCMP # Time interval for rekeying GTK (broadcast/multicast encryption keys) in # seconds. (dot11RSNAConfigGroupRekeyTime) #wpa_group_rekey=600 # Rekey GTK when any STA that possesses the current GTK is leaving the BSS. # (dot11RSNAConfigGroupRekeyStrict) #wpa_strict_rekey=1 # Time interval for rekeying GMK (master key used internally to generate GTKs # (in seconds). #wpa_gmk_rekey=86400 # Maximum lifetime for PTK in seconds. This can be used to enforce rekeying of # PTK to mitigate some attacks against TKIP deficiencies. #wpa_ptk_rekey=600 # Enable IEEE 802.11i/RSN/WPA2 pre-authentication. This is used to speed up # roaming be pre-authenticating IEEE 802.1X/EAP part of the full RSN # authentication and key handshake before actually associating with a new AP. # (dot11RSNAPreauthenticationEnabled) #rsn_preauth=1 # # Space separated list of interfaces from which pre-authentication frames are # accepted (e.g., 'eth0' or 'eth0 wlan0wds0'. This list should include all # interface that are used for connections to other APs. This could include # wired interfaces and WDS links. The normal wireless data interface towards # associated stations (e.g., wlan0) should not be added, since # pre-authentication is only used with APs other than the currently associated # one. #rsn_preauth_interfaces=eth0 # peerkey: Whether PeerKey negotiation for direct links (IEEE 802.11e) is # allowed. This is only used with RSN/WPA2. # 0 = disabled (default) # 1 = enabled #peerkey=1 # ieee80211w: Whether management frame protection (MFP) is enabled # 0 = disabled (default) # 1 = optional # 2 = required #ieee80211w=0 # Association SA Query maximum timeout (in TU = 1.024 ms; for MFP) # (maximum time to wait for a SA Query response) # dot11AssociationSAQueryMaximumTimeout, 1...4294967295 #assoc_sa_query_max_timeout=1000 # Association SA Query retry timeout (in TU = 1.024 ms; for MFP) # (time between two subsequent SA Query requests) # dot11AssociationSAQueryRetryTimeout, 1...4294967295 #assoc_sa_query_retry_timeout=201 # okc: Opportunistic Key Caching (aka Proactive Key Caching) # Allow PMK cache to be shared opportunistically among configured interfaces # and BSSes (i.e., all configurations within a single hostapd process). # 0 = disabled (default) # 1 = enabled #okc=1 ##### IEEE 802.11r configuration ############################################## # Mobility Domain identifier (dot11FTMobilityDomainID, MDID) # MDID is used to indicate a group of APs (within an ESS, i.e., sharing the # same SSID) between which a STA can use Fast BSS Transition. # 2-octet identifier as a hex string. #mobility_domain=a1b2 # PMK-R0 Key Holder identifier (dot11FTR0KeyHolderID) # 1 to 48 octet identifier. # This is configured with nas_identifier (see RADIUS client section above). # Default lifetime of the PMK-RO in minutes; range 1..65535 # (dot11FTR0KeyLifetime) #r0_key_lifetime=10000 # PMK-R1 Key Holder identifier (dot11FTR1KeyHolderID) # 6-octet identifier as a hex string. #r1_key_holder=000102030405 # Reassociation deadline in time units (TUs / 1.024 ms; range 1000..65535) # (dot11FTReassociationDeadline) #reassociation_deadline=1000 # List of R0KHs in the same Mobility Domain # format: <128-bit key as hex string> # This list is used to map R0KH-ID (NAS Identifier) to a destination MAC # address when requesting PMK-R1 key from the R0KH that the STA used during the # Initial Mobility Domain Association. #r0kh=02:01:02:03:04:05 r0kh-1.example.com 000102030405060708090a0b0c0d0e0f #r0kh=02:01:02:03:04:06 r0kh-2.example.com 00112233445566778899aabbccddeeff # And so on.. One line per R0KH. # List of R1KHs in the same Mobility Domain # format: <128-bit key as hex string> # This list is used to map R1KH-ID to a destination MAC address when sending # PMK-R1 key from the R0KH. This is also the list of authorized R1KHs in the MD # that can request PMK-R1 keys. #r1kh=02:01:02:03:04:05 02:11:22:33:44:55 000102030405060708090a0b0c0d0e0f #r1kh=02:01:02:03:04:06 02:11:22:33:44:66 00112233445566778899aabbccddeeff # And so on.. One line per R1KH. # Whether PMK-R1 push is enabled at R0KH # 0 = do not push PMK-R1 to all configured R1KHs (default) # 1 = push PMK-R1 to all configured R1KHs whenever a new PMK-R0 is derived #pmk_r1_push=1 ##### Passive scanning ######################################################## # Scan different channels every N seconds. 0 = disable passive scanning. #passive_scan_interval=60 # Listen N usecs on each channel when doing passive scanning. # This value plus the time needed for changing channels should be less than # 32 milliseconds (i.e. 32000 usec) to avoid interruptions to normal # operations. Time needed for channel changing varies based on the used wlan # hardware. # default: disabled (0) #passive_scan_listen=10000 # Passive scanning mode: # 0 = scan all supported modes (802.11a/b/g/Turbo) (default) # 1 = scan only the mode that is currently used for normal operations #passive_scan_mode=1 # Maximum number of entries kept in AP table (either for passive scanning or # for detecting Overlapping Legacy BSS Condition). The oldest entry will be # removed when adding a new entry that would make the list grow over this # limit. Note! Wi-Fi certification for IEEE 802.11g requires that OLBC is # enabled, so this field should not be set to 0 when using IEEE 802.11g. # default: 255 #ap_table_max_size=255 # Number of seconds of no frames received after which entries may be deleted # from the AP table. Since passive scanning is not usually performed frequently # this should not be set to very small value. In addition, there is no # guarantee that every scan cycle will receive beacon frames from the # neighboring APs. # default: 60 #ap_table_expiration_time=3600 ##### Wi-Fi Protected Setup (WPS) ############################################# # WPS state # 0 = WPS disabled (default) # 1 = WPS enabled, not configured # 2 = WPS enabled, configured #wps_state=2 # AP can be configured into a locked state where new WPS Registrar are not # accepted, but previously authorized Registrars (including the internal one) # can continue to add new Enrollees. #ap_setup_locked=1 # Universally Unique IDentifier (UUID; see RFC 4122) of the device # This value is used as the UUID for the internal WPS Registrar. If the AP # is also using UPnP, this value should be set to the device's UPnP UUID. # If not configured, UUID will be generated based on the local MAC address. #uuid=12345678-9abc-def0-1234-56789abcdef0 # Note: If wpa_psk_file is set, WPS is used to generate random, per-device PSKs # that will be appended to the wpa_psk_file. If wpa_psk_file is not set, the # default PSK (wpa_psk/wpa_passphrase) will be delivered to Enrollees. Use of # per-device PSKs is recommended as the more secure option (i.e., make sure to # set wpa_psk_file when using WPS with WPA-PSK). # When an Enrollee requests access to the network with PIN method, the Enrollee # PIN will need to be entered for the Registrar. PIN request notifications are # sent to hostapd ctrl_iface monitor. In addition, they can be written to a # text file that could be used, e.g., to populate the AP administration UI with # pending PIN requests. If the following variable is set, the PIN requests will # be written to the configured file. #wps_pin_requests=/var/run/hostapd_wps_pin_requests # Device Name # User-friendly description of device; up to 32 octets encoded in UTF-8 #device_name=Wireless AP # Manufacturer # The manufacturer of the device (up to 64 ASCII characters) #manufacturer=Company # Model Name # Model of the device (up to 32 ASCII characters) #model_name=WAP # Model Number # Additional device description (up to 32 ASCII characters) #model_number=123 # Serial Number # Serial number of the device (up to 32 characters) #serial_number=12345 # Primary Device Type # Used format: -- # categ = Category as an integer value # OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for # default WPS OUI # subcateg = OUI-specific Sub Category as an integer value # Examples: # 1-0050F204-1 (Computer / PC) # 1-0050F204-2 (Computer / Server) # 5-0050F204-1 (Storage / NAS) # 6-0050F204-1 (Network Infrastructure / AP) #device_type=6-0050F204-1 # OS Version # 4-octet operating system version number (hex string) #os_version=01020300 # Config Methods # List of the supported configuration methods #config_methods=label display push_button keypad # Access point PIN for initial configuration and adding Registrars # If not set, hostapd will not allow external WPS Registrars to control the # access point. #ap_pin=12345670 # Skip building of automatic WPS credential # This can be used to allow the automatically generated Credential attribute to # be replaced with pre-configured Credential(s). #skip_cred_build=1 # Additional Credential attribute(s) # This option can be used to add pre-configured Credential attributes into M8 # message when acting as a Registrar. If skip_cred_build=1, this data will also # be able to override the Credential attribute that would have otherwise been # automatically generated based on network configuration. This configuration # option points to an external file that much contain the WPS Credential # attribute(s) as binary data. #extra_cred=hostapd.cred # Credential processing # 0 = process received credentials internally (default) # 1 = do not process received credentials; just pass them over ctrl_iface to # external program(s) # 2 = process received credentials internally and pass them over ctrl_iface # to external program(s) # Note: With wps_cred_processing=1, skip_cred_build should be set to 1 and # extra_cred be used to provide the Credential data for Enrollees. # # wps_cred_processing=1 will disabled automatic updates of hostapd.conf file # both for Credential processing and for marking AP Setup Locked based on # validation failures of AP PIN. An external program is responsible on updating # the configuration appropriately in this case. #wps_cred_processing=0 # AP Settings Attributes for M7 # By default, hostapd generates the AP Settings Attributes for M7 based on the # current configuration. It is possible to override this by providing a file # with pre-configured attributes. This is similar to extra_cred file format, # but the AP Settings attributes are not encapsulated in a Credential # attribute. #ap_settings=hostapd.ap_settings # WPS UPnP interface # If set, support for external Registrars is enabled. #upnp_iface=br0 # Friendly Name (required for UPnP) # Short description for end use. Should be less than 64 characters. #friendly_name=WPS Access Point # Manufacturer URL (optional for UPnP) #manufacturer_url=http://www.example.com/ # Model Description (recommended for UPnP) # Long description for end user. Should be less than 128 characters. #model_description=Wireless Access Point # Model URL (optional for UPnP) #model_url=http://www.example.com/model/ # Universal Product Code (optional for UPnP) # 12-digit, all-numeric code that identifies the consumer package. #upc=123456789012 ##### Multiple BSSID support ################################################## # # Above configuration is using the default interface (wlan#, or multi-SSID VLAN # interfaces). Other BSSIDs can be added by using separator 'bss' with # default interface name to be allocated for the data packets of the new BSS. # # hostapd will generate BSSID mask based on the BSSIDs that are # configured. hostapd will verify that dev_addr & MASK == dev_addr. If this is # not the case, the MAC address of the radio must be changed before starting # hostapd (ifconfig wlan0 hw ether ). # # BSSIDs are assigned in order to each BSS, unless an explicit BSSID is # specified using the 'bssid' parameter. # If an explicit BSSID is specified, it must be chosen such that it: # - results in a valid MASK that covers it and the dev_addr # - is not the same as the MAC address of the radio # - is not the same as any other explicitly specified BSSID # # Please note that hostapd uses some of the values configured for the first BSS # as the defaults for the following BSSes. However, it is recommended that all # BSSes include explicit configuration of all relevant configuration items. # #bss=wlan0_0 #ssid=test2 # most of the above items can be used here (apart from radio interface specific # items, like channel) #bss=wlan0_1 #bssid=00:13:10:95:fe:0b # ... Enter a shell command to execute in the text field below. The cd command may be used to change directory for subsequent commands. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 17:17:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D1861065672 for ; Sun, 4 Dec 2011 17:17:01 +0000 (UTC) (envelope-from matt@kaywinnit.conundrum.com) Received: from kaywinnit.conundrum.com (mail2.conundrum.com [67.215.196.38]) by mx1.freebsd.org (Postfix) with ESMTP id 34C998FC13 for ; Sun, 4 Dec 2011 17:17:00 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RXFgB-000KRO-Gs; Sun, 04 Dec 2011 17:16:43 +0000 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Matthew Pounsett In-Reply-To: Date: Sun, 4 Dec 2011 12:16:43 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Sergio Tam X-Mailer: Apple Mail (2.1251.1) Sender: matt@kaywinnit.conundrum.com X-SA-Exim-Connect-IP: 216.235.10.34 X-SA-Exim-Mail-From: matt@kaywinnit.conundrum.com X-SA-Exim-Scanned: No (on kaywinnit.conundrum.com); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 17:17:01 -0000 On 2011/12/04, at 02:29, Sergio Tam wrote: >> =3D=3D=3D> postgresql-client-9.1.1_1 conflicts with installed = package(s): >> postgresql-client-8.4.8 >>=20 >> They will not build together. >> Please remove them first with pkg_delete(1). = <----------------pay attention here >> *** Error code 1 >=20 >=20 > postgresql-client-8.4.8 >=20 > make deinstall That's the ports makefiles talking, isn't it? In order to do that = deinstall I need to also remove all of the things that depend on it... = portupgrade is supposed to help me do the in-place upgrade without = removing everything else first. Even if I forced the deinstall without letting the dependencies get in = the way, wouldn't that break the dependency registration (+REQUIRED_BY) = for all of those packages in the future? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 17:44:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDFBA106564A for ; Sun, 4 Dec 2011 17:44:55 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id AA94E8FC13 for ; Sun, 4 Dec 2011 17:44:55 +0000 (UTC) Received: from zmail-mta01.peak.org ([207.55.16.111]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20111204174454967 for ; Sun, 04 Dec 2011 17:44:54 +0000 X-RC-FROM: X-RC-RCPT: Received: from maple.localnet (unknown [207.55.106.132]) by zmail-mta01.peak.org (Postfix) with ESMTPSA id B6DEC4610ED for ; Sun, 4 Dec 2011 09:44:54 -0800 (PST) Received: from oak.localnet (oak.localnet [IPv6:2001:1938:266::6f:616b]) by maple.localnet (Postfix) with ESMTP id 3AECE61F12 for ; Sun, 4 Dec 2011 09:44:53 -0800 (PST) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 01357C531 for ; Sun, 4 Dec 2011 09:44:52 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id pB4HiqtN034632; Sun, 4 Dec 2011 09:44:52 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <353504866.20111204053419@yandex.ru> <20111204144145.98dc9726.freebsd@edvax.de> <1234153491.20111204172029@yandex.ru> Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 04 Dec 2011 09:44:52 -0800 In-Reply-To: <1234153491.20111204172029@yandex.ru> (=?utf-8?B?ItCa0L7QvdGM?= =?utf-8?B?0LrQvtCyINCV0LLQs9C10L3QuNC5Iidz?= message of "Sun, 4 Dec 2011 17:20:29 +0200") Message-ID: <87ty5gcju3.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: sudo log messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 17:44:55 -0000 =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD= =D0=B8=D0=B9 writes: > =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5,= Polytropon. > > =D0=92=D1=8B =D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8 4 =D0=B4=D0=B5=D0=BA=D0= =B0=D0=B1=D1=80=D1=8F 2011 =D0=B3., 15:41:45: > > P> On Sun, 4 Dec 2011 05:34:19 +0200, =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0= =BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 wrote: >>> Tell me please how to stop sudo to food /var/log/messages? > > P> ADDITION: Of course I meant /usr/local/etc/sutoers, > P> NOT sudo.conf. > > P> Instead of logging via syslog (to /var/log/messages), > P> why not use a specific log file for sudo? Add those > P> lines to the sudoers file: > > P> Defaults logfile=3D/var/log/sudo.log > P> Defaults !syslog > > P> Make sure /var/log/sudo.log exists, and maybe use > P> newsyslog.conf to deal with log rotation and archiving. > P> However, you can easily purge sudo log information > P> this way, if required. > > P> The file /usr/local/share/doc/sudo/sample.sudoers > P> contains an example. > > yes, that is not problem, but I want to control logging in one place > not in each config file of service I have ran on machine. > > I have thought that this > !sudo > *.* /var/log/sudo.log > will take off logging in /var/log/messages but this work as > log to /var/log/messages and to /var/log/sudo.log =3D(( You are not clear about what you really want. If you want it to log to auth.log instead of messages, then you can use the following in your sudoers file: Defaults syslog=3Dauthpriv The sample file that was mentioned earlier is one source for information, but the best source is the sudoers(5) man page. Just search it for syslog and you will find several settings. --=20 Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 18:22:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3841B1065670 for ; Sun, 4 Dec 2011 18:22:00 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C53BD8FC13 for ; Sun, 4 Dec 2011 18:21:59 +0000 (UTC) Received: by bkat2 with SMTP id t2so6734984bka.13 for ; Sun, 04 Dec 2011 10:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=+J3pC58hgaRDlGNtxkn74QZ/p8+gqQ7028MsaagKJ+k=; b=tE0d+MzE7qnyDHZDwvY3wdmx7oL4oVgRTNbmQ8lFtmqYHtn49ieGzWuFg/DbXG/Hka 8xAYdsz3qZvLFoUqBNi/lRoiRfXOS6GODRMUsBjLQpzk30pB//6CRcCO6chFU+p+1Crt C7bVlDvjJuUcozT9NSLaMuiSCzuQU56Jk0mto= MIME-Version: 1.0 Received: by 10.204.9.216 with SMTP id m24mr2821360bkm.98.1323022918449; Sun, 04 Dec 2011 10:21:58 -0800 (PST) Received: by 10.204.114.81 with HTTP; Sun, 4 Dec 2011 10:21:58 -0800 (PST) Date: Sun, 4 Dec 2011 13:21:58 -0500 Message-ID: From: APseudoUtopia To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: FreeBSD Gateway, Crossover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 18:22:00 -0000 Hello, I'm trying to setup a small home network, It consists of my FreeBSD 9.0-RC2 box connected to my modem (just a modem, not modem/router) and two other systems connected directly via ethernet to the freebsd box. I'm able to connect to the internet with the FreeBSD box. I can get an IP via DHCP from my ISP. However, I can't seem to figure out how to setup the gateway routes and the IP addresses for the other system. I'd like to have the internal network be on 192.168.1.0/24. I have 2x 2-port NICs in the freebsd box. em0 - Internet - 1.2.3.4 em1 - System1 - 192.168.1.1 em2 - System2 - 192.168.1.2 I'm kindof lost here. I've played with it a bit, trying to set 192.168.1.0/24 on em1 and em2, then setting the specific IP address on system1 and system2 respectively. I've also tried manually adding routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That implies it's not a routing problem, but a problem with the systems getting a proper IP address. Anyone have any tips? Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 18:41:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E23E106566C for ; Sun, 4 Dec 2011 18:41:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id A8E048FC08 for ; Sun, 4 Dec 2011 18:41:54 +0000 (UTC) Received: from [89.204.139.135] (helo=tiny.Sisis.de.) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RXH0X-00045B-KI; Sun, 04 Dec 2011 19:41:51 +0100 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id pB4Ih4Dj001193; Sun, 4 Dec 2011 19:43:05 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id pB4Ih3rH001192; Sun, 4 Dec 2011 19:43:03 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Sun, 4 Dec 2011 19:43:03 +0100 From: Matthias Apitz To: APseudoUtopia Message-ID: <20111204184302.GA1175@tiny> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 89.204.139.135 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Gateway, Crossover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 18:41:55 -0000 Hello, El da Sunday, December 04, 2011 a las 01:21:58PM -0500, APseudoUtopia escribi: > Hello, > > I'm trying to setup a small home network, It consists of my FreeBSD > 9.0-RC2 box connected to my modem (just a modem, not modem/router) and > two other systems connected directly via ethernet to the freebsd box. > I'm able to connect to the internet with the FreeBSD box. I can get an > IP via DHCP from my ISP. However, Does this mean that you do PPP via the modem? If so, you should have some interface tunN with the IP assigned by the ISP. > I can't seem to figure out how to > setup the gateway routes and the IP addresses for the other system. you must enable gateway in the rc.conf file with: gateway_enable="YES" > > I'd like to have the internal network be on 192.168.1.0/24. I have 2x > 2-port NICs in the freebsd box. > > em0 - Internet - 1.2.3.4 > em1 - System1 - 192.168.1.1 > em2 - System2 - 192.168.1.2 if you connect the two other boxes directly to the NICs of FreeBSD you must use crossover cables and should assign to each connection a separate network; or you connect all three boxes via a HUB or switch in only one network; the other boxes should have the FreeBSD as default gateway in their routing and in the FreeBSD you must use IPF and IPNAT to hide your network(s) behind the tunN interface's IP addr; I do this at home too having attached by Linux based cellphone via USB networking and this has access to Internet through the FreeBSD laptop; HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 19:14:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B7AD106566C for ; Sun, 4 Dec 2011 19:14:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EC1D68FC13 for ; Sun, 4 Dec 2011 19:14:36 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB4JDiMe022211 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Dec 2011 19:13:45 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB4JDiMe022211 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323026025; bh=dT365xVh9l+qA4ks7m4qrhMxC18t0Q1cqNA9JNucNns=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=Ma+tYPT1FNjosoKCFufvAyJQzVmkP0JkVgxQhtvmsWG050i4N8Bdk54F6alTYxaW4 KNy1CEnq8/JzLUG25xap7tB4IkaVajjqdilMbaO+S0s0U9SBax7hBMHZtAbr0ixA6Z fVz5DYlBLSNE7BoKeiP19EGwEmCVwLV+fkzE4jKE= Message-ID: <4EDBC65F.8090106@infracaninophile.co.uk> Date: Sun, 04 Dec 2011 19:13:35 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Matthew Pounsett References: In-Reply-To: X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC950074FFE19187C53DBD3D4" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Sergio Tam , freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 19:14:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC950074FFE19187C53DBD3D4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2011 17:16, Matthew Pounsett wrote: > On 2011/12/04, at 02:29, Sergio Tam wrote: >=20 >>> >> =3D=3D=3D> postgresql-client-9.1.1_1 conflicts with installed pac= kage(s): >>> >> postgresql-client-8.4.8 >>> >>=20 >>> >> They will not build together. >>> >> Please remove them first with pkg_delete(1). <--------------= --pay attention here >>> >> *** Error code 1 >> >=20 >> >=20 >> > postgresql-client-8.4.8 >> >=20 >> > make deinstall > That's the ports makefiles talking, isn't it? In order to do that > deinstall I need to also remove all of the things that depend on > it... portupgrade is supposed to help me do the in-place upgrade > without removing everything else first. >=20 > Even if I forced the deinstall without letting the dependencies get > in the way, wouldn't that break the dependency registration > (+REQUIRED_BY) for all of those packages in the future? Yes. I've been planning a very similar update -- postgresql 9.0 to 9.1 -- and what I've come up with so far is this: 0) Backup *everything* 1) Stop postgresql daemon and any services that depend on postgresql 2) Move the postgresql data directory aside: # mv ~pgsql/data ~pgsql/data-9.0.5 3) Optional. If you have WITH_PGSQL_VER defined in /etc/make.conf, or similar update it at this point. Or delete it -- ports will pick up the new version automatically once you've updated to it. 4) Now for the updating bit. I'm going to use portmaster's '-o' functionality to swap out the postgresql versions. (portupgrade has very similar functionality if you prefer that.) postgresql is trickier than most, because there have to be both -server and -client ports to deal with. I also have postgresql-contrib-9.0.5 installed, which isn't critical but needs similar treatment. Everything depends on the -client port, so we start with that: # portmaster -o databases/postgresql91-client \ postgresql-client-9.0.5 # portmaster -o databases/postgresql91-server \ postgresql-server-9.0.5_1 # portmaster -o databases/postgresql91-contrib \ postgresql-contrib-9.0.5 5) Now rebuild everything that depends on the new postgresql client port. Use '-x' and '-R' to avoid rebuilding the ports already updated # portmaster -R -r postgresql-client-9.1.1_1 \ -x postgresql-server-9.1.1_1 -x postgresql-contrib-9.1.1_1 6) Re-init the postgresql cluster # su - pgsql % mkdir ~/data % initdb -D ~/data -E utf8 --locale C (or use the rc.d script) % vi ~/data/postgresql.conf (etc...) 7) Restart the postgresql database # /usr/local/etc/rc.d/postgresql start 8) Reload databases from backup. Restart all dependent services. 9) ??? 10) Profit! This does require an appreciable period of system downtime, but as that's fine for my purposes, I haven't put any effort into thinking about how to minimize that. A good thing to do if downtime is a big deal for you would be to build updated packages of everything postgresql related off-line and use portmaster's '-P' package mode to install them. Similarly, make backup packages of everything you're updating (pkg_create -b pkgname) so if you need to back everything out you can just swap those packages back in rather than doing a full-scale recovery from backup. Using this method for a very big database is not amazingly practical -- in that case, using pg_upgrade(8) would probably be preferable, but that's not going to entirely simple given the constraints of the ports system. You'll need to have both the previous and target versions of the postgresql-client and postgresql-contrib installed simultaneously, but those ports all conflict with each other. You'll also need to have two separate data directories -- the original one and one for the new version. The default layout on Linux nowadays includes the postgresql major version in the data directory path and in the names of most conflicting applications, but this capability hasn't come to the ports ye= t. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigC950074FFE19187C53DBD3D4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7bxmcACgkQ8Mjk52CukIwCDQCggPIFXvpE6lI7tyz/9VBclgyM LjIAni0ggHDLkmfxClC2qJ9beu0PHDKk =G+ey -----END PGP SIGNATURE----- --------------enigC950074FFE19187C53DBD3D4-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 19:22:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CEC1106566C for ; Sun, 4 Dec 2011 19:22:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A4A458FC08 for ; Sun, 4 Dec 2011 19:22:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB4JMFEK022372 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Dec 2011 19:22:15 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB4JMFEK022372 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323026536; bh=6caEQhcbLVZBJGyDjamKQ1zJN5quTwvaT5l+BlzBEeE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=KL6F18R80lRXnygkSjX9yWE8c7cZ4AMhrwdetxt6/QfIi6q0yonI+57mRJ5+WcE82 U1z3SEeawtyHAL6Y2sNi2Q5C7RYVWIX1NhXr7S1TOBjSvisCCD6c29Pwo1C7iEgnjO TJotEpJkiMAELOyp50y0g+hxGNVCQdKI1d0Iu/6U= Message-ID: <4EDBC867.9070400@infracaninophile.co.uk> Date: Sun, 04 Dec 2011 19:22:15 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Matthias Apitz References: <20111204184302.GA1175@tiny> In-Reply-To: <20111204184302.GA1175@tiny> X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6BFD2335594998B9A0A3D67B" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, APseudoUtopia Subject: Re: FreeBSD Gateway, Crossover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 19:22:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6BFD2335594998B9A0A3D67B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2011 18:43, Matthias Apitz wrote: >> I'd like to have the internal network be on 192.168.1.0/24. I have 2x >> > 2-port NICs in the freebsd box. >> >=20 >> > em0 - Internet - 1.2.3.4 >> > em1 - System1 - 192.168.1.1 >> > em2 - System2 - 192.168.1.2 > if you connect the two other boxes directly to the NICs of FreeBSD you > must use crossover cables and should assign to each connection a > separate network; or you connect all three boxes via a HUB or switch in= > only one network; Or create a bridge spanning em1 and em2 -- this will make your FreeBSD box act pretty much like a network switch for the two client machines. You can get away with standard cables if all the NICs involved support auto-MDIX. em(4) should, but it depends on your other kit. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig6BFD2335594998B9A0A3D67B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7byGcACgkQ8Mjk52CukIwkQgCeOam/5glJ3xsodpg/2CqH+flX xTwAnAgel+CGGZZ4I7SROxRtLlohH+ng =s9fQ -----END PGP SIGNATURE----- --------------enig6BFD2335594998B9A0A3D67B-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 20:07:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A6E106566C for ; Sun, 4 Dec 2011 20:07:56 +0000 (UTC) (envelope-from matt@kaywinnit.conundrum.com) Received: from kaywinnit.conundrum.com (mail2.conundrum.com [67.215.196.38]) by mx1.freebsd.org (Postfix) with ESMTP id F105A8FC12 for ; Sun, 4 Dec 2011 20:07:55 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RXILa-0007tR-1u; Sun, 04 Dec 2011 20:07:38 +0000 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Matthew Pounsett In-Reply-To: <4EDBC65F.8090106@infracaninophile.co.uk> Date: Sun, 4 Dec 2011 15:07:48 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EDBC65F.8090106@infracaninophile.co.uk> To: Matthew Seaman X-Mailer: Apple Mail (2.1251.1) Sender: matt@kaywinnit.conundrum.com X-SA-Exim-Connect-IP: 216.235.10.34 X-SA-Exim-Mail-From: matt@kaywinnit.conundrum.com X-SA-Exim-Scanned: No (on kaywinnit.conundrum.com); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 20:07:56 -0000 On 2011/12/04, at 14:13, Matthew Seaman wrote: > 4) Now for the updating bit. I'm going to use portmaster's '-o' > functionality to swap out the postgresql versions. (portupgrade > has very similar functionality if you prefer that.) postgresql > is trickier than most, because there have to be both -server and > -client ports to deal with. I also have postgresql-contrib-9.0.5 > installed, which isn't critical but needs similar treatment. > Everything depends on the -client port, so we start with that: >=20 > # portmaster -o databases/postgresql91-client \ > postgresql-client-9.0.5 > # portmaster -o databases/postgresql91-server \ > postgresql-server-9.0.5_1 > # portmaster -o databases/postgresql91-contrib \ > postgresql-contrib-9.0.5 This is the problem bit. The -o doesn't work with the ones I'm dealing = with because of conflicts between 8.4 and 9.1. 9.1 *won't even build*. = If you can find a way to get around that, then you can make life even = easier for yourself by doing a recursive build of all of the things that = depend on the client. It's getting around the conflict that I'm trying = to figure out... the rest is handled. And by the way, if you're not already doing a recursive build then you = can do the server upgrade more simply.. there are no dependencies = attached to the server (normally) so you can just pkg_delete it and = install 9.1. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 20:27:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09259106564A for ; Sun, 4 Dec 2011 20:27:55 +0000 (UTC) (envelope-from matt@kaywinnit.conundrum.com) Received: from kaywinnit.conundrum.com (mail2.conundrum.com [67.215.196.38]) by mx1.freebsd.org (Postfix) with ESMTP id D7C8F8FC15 for ; Sun, 4 Dec 2011 20:27:54 +0000 (UTC) Received: from chani.conundrum.com ([216.235.10.34]) by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RXIew-000Fgh-0B; Sun, 04 Dec 2011 20:27:38 +0000 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Matthew Pounsett In-Reply-To: Date: Sun, 4 Dec 2011 15:27:48 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1251.1) Sender: matt@kaywinnit.conundrum.com X-SA-Exim-Connect-IP: 216.235.10.34 X-SA-Exim-Mail-From: matt@kaywinnit.conundrum.com X-SA-Exim-Scanned: No (on kaywinnit.conundrum.com); SAEximRunCond expanded to false Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 20:27:55 -0000 On 2011/12/02, at 05:19, Matthew Pounsett wrote: > I was expecting the following to work: > sudo portupgrade -rf -o databases/postgresql91-client = databases/postgresql84-client >=20 > However, I'm running into a problem where the ports makefiles, and by = extension portupgrade, are detecting that the two packages conflict, and = so the 9.1 client won't even build[1]. Thanks to those who tried to help. =20 After poking around in the Mk files A LOT, I eventually stumbled upon a = solution. Not sure if this is "right" or not, but it worked: > sudo portupgrade -M DISABLE_CONFLICTS=3D1 -rf -o = databases/postgresql91-client databases/postgresql84-client Surprisingly, despite the -f, none of the dependencies were rebuilt.. I = got warnings like this instead, for every dependency: ---> Skipping 'databases/postgresql91-client' (apache-2.2.21) because = it has already done However, the +REQUIRED_BY file was still rebuilt properly for the 9.1 = client, so I can now easily go through and do dependency rebuilds as = necessary. Cheers, Matt From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 20:51:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB6AD106564A for ; Sun, 4 Dec 2011 20:51:28 +0000 (UTC) (envelope-from boxxxxxoq@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7818FC0C for ; Sun, 4 Dec 2011 20:51:28 +0000 (UTC) Received: by eaai12 with SMTP id i12so5268445eaa.13 for ; Sun, 04 Dec 2011 12:51:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rluOQqsLywdgAJeIisx+mRMg8Awj9eoefXUvBe5c8g4=; b=tytvnH4T3DQ+hZGh0d9xk3VrT32lP7desEwT1aAUeeD2BxWFd6onnr5w+mWKmSIlMD aK/cB/s+Qrqy0ElJBnqiomjTtPjRAPDnGQqbLHF6fZn+9Mt6/vOUJOxpDNA0Xw98QeQQ VqYkGxYGPTSmPlvJSZYWsVPpdzGnC+/4QCWCY= MIME-Version: 1.0 Received: by 10.213.25.201 with SMTP id a9mr471633ebc.20.1323030031638; Sun, 04 Dec 2011 12:20:31 -0800 (PST) Received: by 10.213.17.72 with HTTP; Sun, 4 Dec 2011 12:20:31 -0800 (PST) Received: by 10.213.17.72 with HTTP; Sun, 4 Dec 2011 12:20:31 -0800 (PST) In-Reply-To: References: Date: Mon, 5 Dec 2011 04:20:31 +0800 Message-ID: From: Hugh To: Alexander Kapshuk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Edgar Rodolfo , freebsd-questions Subject: Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 20:51:29 -0000 A question i've got is where i can find the default PACKAGESITE value? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 21:23:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F03E51065677 for ; Sun, 4 Dec 2011 21:23:59 +0000 (UTC) (envelope-from snoop@email.it) Received: from smtp-out08.email.it (smtp-out08.email.it [212.97.34.23]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4A98FC20 for ; Sun, 4 Dec 2011 21:23:59 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out08.email.it (Postfix) with ESMTP id 9EF71C013 for ; Sun, 4 Dec 2011 22:23:57 +0100 (CET) X-Virus-Scanned: amavisd-new at email.it Received: from smtp-out08.email.it ([127.0.0.1]) by localhost (smtp-out08.email.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qlVMfNijsVoa for ; Sun, 4 Dec 2011 22:23:57 +0100 (CET) Received: from [10.0.0.59] (inhio.eu [84.242.85.251]) by smtp-out08.email.it (Postfix) with ESMTP id E540BC011 for ; Sun, 4 Dec 2011 22:23:56 +0100 (CET) From: Snoop To: freebsd-questions@freebsd.org In-Reply-To: <1322934867.86416.1.camel@blackfriar.inhio.eu> References: <1322934867.86416.1.camel@blackfriar.inhio.eu> Content-Type: text/plain; charset="us-ascii" Date: Sun, 04 Dec 2011 22:23:56 +0100 Message-ID: <1323033836.86416.16.camel@blackfriar.inhio.eu> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Jails within different networks ... ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 21:24:00 -0000 Just an update. It seems to be working well. The jail startup slowness I believe is due to the fact that the DNS is still down. Thanks for your time. ### host rc.conf related section ifconfig_lagg0="laggproto failover laggport bge0 laggport bge1 xxx.xxx.26.224/24" ifconfig_lagg0_alias_0="inet xxx.xxx.26.225/32" ifconfig_lagg0_alias_1="inet xxx.xxx.26.226/32" ifconfig_lagg0_alias_2="inet xxx.xxx.26.227/32" ifconfig_lagg0_alias_3="inet 172.16.3.2/27" ifconfig_lagg0_alias_4="inet 172.16.3.3/27" ifconfig_lagg0_alias_5="inet 172.16.3.4/27" ifconfig_lagg0_alias_6="inet 172.16.3.5/27" ifconfig_lagg0_alias_7="inet 172.16.3.6/27" ### ifconfig related output lagg0: flags=8843 metric 0 mtu 1500 options=8009b ether 00:14:5e:ee:2b:c0 inet xxx.xxx.26.224 netmask 0xffffff00 broadcast xxx.xxx.26.255 inet xxx.xxx.26.225 netmask 0xffffffff broadcast xxx.xxx.26.225 inet xxx.xxx.26.226 netmask 0xffffffff broadcast xxx.xxx.26.226 inet xxx.xxx.26.227 netmask 0xffffffff broadcast xxx.xxx.26.227 inet 172.16.3.2 netmask 0xffffffff broadcast 172.16.3.2 inet 172.16.3.3 netmask 0xffffffff broadcast 172.16.3.3 inet 172.16.3.4 netmask 0xffffffff broadcast 172.16.3.4 inet 172.16.3.5 netmask 0xffffffff broadcast 172.16.3.5 inet 172.16.3.6 netmask 0xffffffff broadcast 172.16.3.6 media: Ethernet autoselect status: active laggproto failover laggport: bge1 flags=0<> laggport: bge0 flags=5 -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f Sponsor: Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due minuti! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11920&d=4-12 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 22:55:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E52D106564A for ; Sun, 4 Dec 2011 22:55:46 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9108FC08 for ; Sun, 4 Dec 2011 22:55:46 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pB4MvU38032407; Sun, 4 Dec 2011 16:57:30 -0600 (CST) Date: Sun, 4 Dec 2011 16:57:30 -0600 (CST) From: Robert Bonomi Message-Id: <201112042257.pB4MvU38032407@mail.r-bonomi.com> To: apseudoutopia@gmail.com, freebsd-questions@freebsd.org In-Reply-To: Cc: Subject: Re: FreeBSD Gateway, Crossover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 22:55:46 -0000 > From: APseudoUtopia > > Hello, > > I'm trying to setup a small home network, It consists of my FreeBSD > 9.0-RC2 box connected to my modem (just a modem, not modem/router) and > two other systems connected directly via ethernet to the freebsd box. > I'm able to connect to the internet with the FreeBSD box. I can get an > IP via DHCP from my ISP. However, I can't seem to figure out how to > setup the gateway routes and the IP addresses for the other system. > > I'd like to have the internal network be on 192.168.1.0/24. I have 2x > 2-port NICs in the freebsd box. > > em0 - Internet - 1.2.3.4 > em1 - System1 - 192.168.1.1 > em2 - System2 - 192.168.1.2 > > I'm kindof lost here. I've played with it a bit, trying to set > 192.168.1.0/24 on em1 and em2, then setting the specific IP address on > system1 and system2 respectively. I've also tried manually adding > routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. > The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That > implies it's not a routing problem, but a problem with the systems > getting a proper IP address. > > Anyone have any tips? Other than "don't do it that way", you mean? Having two different interfaces with the same 'network' configuration, Where either address -cannot- reach *every* host on that 'network' Recommendation: IP addresses: Assign em1 192.168.1.1/24 Assign em2 129.168.2.1/24 Assign System1 192.168.1.2/24 Assign System2 192.168.2.2/24 Routing: System1; default route 192.168.1.1 System2; default route 192.168.2.1 Server: default route 1.2.3.4 (should have auto routes for 192.68.1.0/24 and 192.68.2.0/24) If you _really_ want everything on the same internal network, the easiest way is to put in an ethernet hub/switch, and connect everything to that hub/switch -- only 1 interface per device. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 23:28:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05BDC106566B for ; Sun, 4 Dec 2011 23:28:53 +0000 (UTC) (envelope-from rockstar01@y7mail.com) Received: from nm5-vm0.bullet.mail.bf1.yahoo.com (nm5-vm0.bullet.mail.bf1.yahoo.com [98.139.213.150]) by mx1.freebsd.org (Postfix) with SMTP id 86C8A8FC12 for ; Sun, 4 Dec 2011 23:28:52 +0000 (UTC) Received: from [98.139.212.152] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 04 Dec 2011 23:15:43 -0000 Received: from [98.139.212.243] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 04 Dec 2011 23:15:43 -0000 Received: from [127.0.0.1] by omp1052.mail.bf1.yahoo.com with NNFMP; 04 Dec 2011 23:15:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 394652.66708.bm@omp1052.mail.bf1.yahoo.com Received: (qmail 65310 invoked by uid 60001); 4 Dec 2011 23:15:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=y7mail.com; s=s1024; t=1323040542; bh=6/NgZTflw/097xyvsboIbvGErkWWoeVDDzOZhJY2Yng=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6vhDRvhRdr09mV/XW19dScBuU+uO4GfzEeezq9ADoHDm2dwoFWmegeM+i0Om8TU2JKY4bs8xIVsRejTh9IODh2FrXF7YTehbrvtKTxJ2VeXuCExHiPgeCGm9pBm+iAP40rzK+qzeEcduHK8moOmRsgsqt8LtmlUACtj3/k2Q84s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=y7mail.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mM4bdM+BXmJT96vd8NiXCOgGmKY1b7Ve2i39rtOR6SSQiSRmuPzcL5/QAdrlazriE4C9Khl0XL2FxYsb4Y2S+aKoteoVnlOXdxN39s8uaYrPWmc7wZ9Utu2C1wq6g85CgdHTVdGZQ5h66lN2WXgaGFvslpeb7kRg7JlrANz+WAk=; X-YMail-OSG: FIY4DH8VM1leWSQivluetcUewUPDmYQb7OE4G3y4Tq5i4CV 7cA8skeO_I81E96ClTxJz2cA_OmgXnIwHSJV6qeLAq96oSuchSY.U1mqdBLV .qAmLXuRvL9YuwedixKsIlsn7MmWI1eQhBAH3No.UWuRaRlI3zTRVRSls2So btLP22tBc0WpyHipy5JOfIchebqhA31lgbX10nuU3SxDOHsmOHMcEz7we_.i loyJZAvNn2dpkCMnSZYNcHlGTPRibtqs5hYwxg7jGEug5nM7qxqljgAEgatP kFhJbLh3egbe2V5.6Zs0T1JyrDgYxUeUnLcYil_T4FsefPgkX.Mycay8xvGf t7ruO0Ff8xg4bsLq0Rs61M5xzVy22VcD6ru5Rms0Zn.1_1LbhIELugCveWoU L6A4pSpXtBve007osSzHxYpe0jr.sz91xcizq9re1tnoaiOt.hmJCMVmIlGW 3zow6Opv33ghFX2Mt7WBvN0Xr6kUEcySV3XklL6OnAzHlGaYqwzesLKa_AbM a72LWs5IK2bcPeH7u1VG7vCqJuDsRl2rct0QU_4.a5jo7788I.xV4QPSL0rr Bw6kT77G0zjsQjan8qSh8GJSOWf0vWqkQkoI6GjM.w20VuOk18I6qfMyx0kX DirrO1BYvF340Cw-- Received: from [211.120.64.222] by web122218.mail.ne1.yahoo.com via HTTP; Sun, 04 Dec 2011 15:15:42 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> Date: Sun, 4 Dec 2011 15:15:42 -0800 (PST) From: masayoshi To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: masayoshi List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 23:28:53 -0000 When I was looking for sudo, I noticed a weired thing. =0A=0Ahttp://www.fre= ebsd.org/cgi/man.cgi?query=3Dsudo&apropos=3D0&sektion=3D0&manpath=3DRed+Hat= +Linux%2Fi386+9&arch=3Ddefault&format=3Dhtml=0A=0Ahttp://www.freebsd.org/cg= i/man.cgi?query=3Dsudo&apropos=3D0&sektion=3D0&manpath=3DSuSE+Linux%2Fi386+= ES+10+SP1&arch=3Ddefault&format=3Dhtml=0A=0AI am FreeBSD user. <3=0AI hate = Linux. lol=0A=0AWhy can I select other operation's man page on our FreeBSD = webisite?=0AIs it for Linux emulator?=0AThanks in advance.=0A=0A=A0=0A---= =0AInexperienced FreeBSD user: Level 4=0Amasayoshi & Ayumi Kinoshita=0Ahttp= ://tinyurl.com/63zg3op From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 00:07:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 398101065672 for ; Mon, 5 Dec 2011 00:07:16 +0000 (UTC) (envelope-from cybernautape@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C50198FC14 for ; Mon, 5 Dec 2011 00:07:15 +0000 (UTC) Received: by mail-ww0-f50.google.com with SMTP id dr11so6436289wgb.31 for ; Sun, 04 Dec 2011 16:07:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9OztZELq+OyoM+M+pRiEJaju3Z6hYwfS7lz5JFUxIF0=; b=IENhIIC6CS+KwujVkOOH3QnMkqJcOn1Oh406sFkemj2jRkVlnq2kEeVMo0JnIhU/X7 XkwjP/dZJ5Pk0XKu4s03xuOs1QX2ME6wlCHuH0BcJBfHJjlxAR+ob3QiOvuCB8JEVI1i 9rrbOAs50e0lAWxyydRgHexDpDqrjuvAnws+I= MIME-Version: 1.0 Received: by 10.216.35.5 with SMTP id t5mr219052wea.65.1323043635364; Sun, 04 Dec 2011 16:07:15 -0800 (PST) Received: by 10.216.202.147 with HTTP; Sun, 4 Dec 2011 16:07:15 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Dec 2011 19:07:15 -0500 Message-ID: From: Edgar Rodolfo To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 00:07:16 -0000 2011/12/4, Hugh : > A question i've got is where i can find the default PACKAGESITE value? FreeBSD comes with the default mirror (ftp), see when you use pkg_add, in my case it failed, is the reason because i changed to the mirror (ftp), you can use diferent ftp ftp://ftp.freebsd.org/pub/FreeBSD/ > -- Edguitar ;) http://cybernautape.blogspot.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 00:16:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C05E106564A for ; Mon, 5 Dec 2011 00:16:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E2E7B8FC0C for ; Mon, 5 Dec 2011 00:16:54 +0000 (UTC) Received: from r56.edvax.de (port-92-195-89-217.dynamic.qsc.de [92.195.89.217]) by mx02.qsc.de (Postfix) with ESMTP id 98EB721C7E; Mon, 5 Dec 2011 01:16:53 +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 pB50GqFn003257; Mon, 5 Dec 2011 01:16:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 5 Dec 2011 01:16:52 +0100 From: Polytropon To: masayoshi Message-Id: <20111205011652.66e9a4ec.freebsd@edvax.de> In-Reply-To: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> 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 Cc: "freebsd-questions@freebsd.org" Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 00:16:55 -0000 On Sun, 4 Dec 2011 15:15:42 -0800 (PST), masayoshi wrote: > Why can I select other operation's man page on our FreeBSD webisite? Why not? :-) I'd be happy to have a centralized reference for UNIX and Linux system in one web page. > Is it for Linux emulator? At least you can apply it there. Also note that there are manuals for OpenBSD, SunOS, ULTRIX or HP-UX which are definitely not related to the Linux emulation (which is an alternative binary interface - ABI - on FreeBSD). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 00:17:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C59C01065676 for ; Mon, 5 Dec 2011 00:17:29 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id AB1738FC28 for ; Mon, 5 Dec 2011 00:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=g1Pe+z1FHMc7QarYotV4PUxTeZTyLhk/9U0jEvHHYb4=; b=AFwR1TRsnE2aL5e6nwtGwAks531A2Q2+dUH48fOM+6JmY2I12edHQVoz1Qn+MRkIvzV1tfjE39h706qGaC59TXJqEaF9MxYdc0FakJDdMgWDEzfXa9BfVnJ+9vak2NmN0ApdoNuboRr309QGNvWS8iKDBG5X776BsbZPZgTLJng= Received: from [192.168.1.100] ([120.29.64.39]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 4 Dec 2011 16:17:29 -0800 Message-ID: <4EDC0D97.4010201@a1poweruser.com> Date: Mon, 05 Dec 2011 08:17:27 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: APseudoUtopia References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Dec 2011 00:17:29.0676 (UTC) FILETIME=[467C18C0:01CCB2E3] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Gateway, Crossover X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 00:17:29 -0000 APseudoUtopia wrote: > Hello, > > I'm trying to setup a small home network, It consists of my FreeBSD > 9.0-RC2 box connected to my modem (just a modem, not modem/router) and > two other systems connected directly via ethernet to the freebsd box. > I'm able to connect to the internet with the FreeBSD box. I can get an > IP via DHCP from my ISP. However, I can't seem to figure out how to > setup the gateway routes and the IP addresses for the other system. > > I'd like to have the internal network be on 192.168.1.0/24. I have 2x > 2-port NICs in the freebsd box. > > em0 - Internet - 1.2.3.4 > em1 - System1 - 192.168.1.1 > em2 - System2 - 192.168.1.2 > > I'm kindof lost here. I've played with it a bit, trying to set > 192.168.1.0/24 on em1 and em2, then setting the specific IP address on > system1 and system2 respectively. I've also tried manually adding > routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. > The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That > implies it's not a routing problem, but a problem with the systems > getting a proper IP address. > > Anyone have any tips? > > Thanks. > > www.a1poweruser.com web site has details instructions on how to do it. Check it out. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 01:22:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3DAF106564A for ; Mon, 5 Dec 2011 01:22:35 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id A06DE8FC08 for ; Mon, 5 Dec 2011 01:22:35 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id C288DE8062B; Sun, 4 Dec 2011 17:22:34 -0800 (PST) Date: Sun, 4 Dec 2011 17:22:34 -0800 From: Gary Kline To: Ryan Coleman Message-ID: <20111205012234.GA11201@thought.org> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 01:22:35 -0000 On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: > Date: Fri, 2 Dec 2011 20:00:25 -0600 > From: Ryan Coleman > Subject: Re: dead; need help reconnecting > To: FreeBSD Questions > X-Mailer: Apple Mail (2.1251.1) > > You need to define Dead, Gary. > > Your posts lack... proper detail most of the time. > > On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: > > > weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the > > router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. > > > > does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. > > > > gary > > _______________________________________________ ryan, by "dead" i meant that i had 0.0 connection to the net. long-story-short, it was indeed the telephone company's modem that blew out. they were able to get one circuit working, and they were content with that. but i was still dead. this morning a telco technician [and friend] dropped by with his tools and after several calls to the office for my IP's and other info got me back online. I have no idea how their router/modem works; i have no idea how they were able to get my wife's PC back, much less my entire domain. (this is further OT, but FWIW, one guy suggested that a power surge may have broken the modem/router. 30-35 years ago a =real= modem ran at 1200 baud and was lightening fast. obviously, i haven't kept up... .) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 01:42:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4F31065672 for ; Mon, 5 Dec 2011 01:42:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C3D218FC15 for ; Mon, 5 Dec 2011 01:42:29 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pB51gTDU052812; Sun, 4 Dec 2011 18:42:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pB51gS3F052809; Sun, 4 Dec 2011 18:42:29 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 4 Dec 2011 18:42:28 -0700 (MST) From: Warren Block To: masayoshi In-Reply-To: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> Message-ID: References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 04 Dec 2011 18:42:29 -0700 (MST) Cc: "freebsd-questions@freebsd.org" Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 01:42:30 -0000 On Sun, 4 Dec 2011, masayoshi wrote: > When I was looking for sudo, I noticed a weired thing. > > http://www.freebsd.org/cgi/man.cgi?query=sudo&apropos=0&sektion=0&manpath=Red+Hat+Linux%2Fi386+9&arch=default&format=html > > http://www.freebsd.org/cgi/man.cgi?query=sudo&apropos=0&sektion=0&manpath=SuSE+Linux%2Fi386+ES+10+SP1&arch=default&format=html > > I am FreeBSD user. <3 > I hate Linux. lol > > Why can I select other operation's man page on our FreeBSD webisite? > Is it for Linux emulator? Could be. It's also really useful to see what the options to Linux commands do when trying to adapt or convert something. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 02:16:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C7FE106564A for ; Mon, 5 Dec 2011 02:16:26 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 6247C8FC12 for ; Mon, 5 Dec 2011 02:16:26 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 0420647182A for ; Mon, 5 Dec 2011 02:49:30 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id E5ABC3865B6 for ; Mon, 5 Dec 2011 02:49:29 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from W500.Go2France.com [72.48.240.99] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A32692A00DA; Mon, 05 Dec 2011 02:49:26 +0100 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 04 Dec 2011 19:49:26 -0600 To: freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <201112050249890.SM02196@W500.Go2France.com> Subject: portsnap broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 02:16:26 -0000 Never had a problem before Freebsd 8.2 a couple weeks ago, on virgin 8.2, initial run of portsnap fetch extract ... ran great, and a couple of updates since then, also. but today: # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sun Dec 4 15:26:46 CET 2011 to Mon Dec 5 02:05:11 CET 2011. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 27 patches.....10....20... done. Applying patches... done. Fetching 2 new ports or files... done. # portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/MOVED /usr/ports/Mk/bsd.sites.mk /usr/ports/Mk/bsd.wx.mk /usr/ports/archivers/rpm4/ /usr/ports/astro/google-earth/ /usr/ports/astro/match/ /usr/ports/astro/xearth/ /usr/ports/astro/xtide/ /usr/ports/audio/audacity-devel/ /usr/ports/audio/thunar-media-tags-plugin/ /usr/ports/cad/brlcad/ /usr/ports/chinese/Makefile /usr/ports/chinese/opencc/ /usr/ports/comms/Makefile /usr/ports/comms/p5-SMS-Send-NexmoUnicode/ /usr/ports/converters/enca/ /usr/ports/databases/msql3/ /usr/ports/databases/p5-DBD-ODBC/ /usr/ports/databases/p5-DBD-SQLite/ /usr/ports/databases/p5-DBIx-Inspector/ /usr/ports/databases/pecl-rrd/ /usr/ports/databases/phpmyadmin/ /usr/ports/databases/postgresql-jdbc/ /usr/ports/databases/redis/ /usr/ports/deskutils/gtg/ /usr/ports/devel/Makefile /usr/ports/devel/bglibs/ /usr/ports/devel/binutils/ /usr/ports/devel/fistgen/ /usr/ports/devel/glui/ /usr/ports/devel/imake/ /usr/ports/devel/libdombey/ /usr/ports/devel/mdds/ /usr/ports/devel/mingw32-libffi/ /usr/ports/devel/mingw32-libyaml/ /usr/ports/devel/mingw32-zlib/ /usr/ports/devel/p4v/ /usr/ports/devel/p5-App-cpanminus/ /usr/ports/devel/p5-CHI/ /usr/ports/devel/p5-Config-Model/ /usr/ports/devel/p5-FindBin-libs/ /usr/ports/devel/p5-Sepia/ /usr/ports/devel/p5-Test-SharedFork/ /usr/ports/devel/py-urwid/ /usr/ports/devel/rubygem-chronic/ /usr/ports/devel/rubygem-columnize/ /usr/ports/devel/rubygem-devise/ /usr/ports/devel/rubygem-gemcutter/ /usr/ports/devel/rubygem-hoe/ /usr/ports/devel/rubygem-jammit/ /usr/ports/devel/rubygem-json/ /usr/ports/devel/rubygem-json_pure/ /usr/ports/devel/rubygem-little_plugger/ /usr/ports/devel/rubygem-minitest/ /usr/ports/devel/rubygem-multi_json/ /usr/ports/devel/rubygem-sequel/ /usr/ports/devel/rubygem-sexp_processor/ /usr/ports/devel/rubygem-tins/ /usr/ports/devel/valgrind/ /usr/ports/devel/websvn/ /usr/ports/devel/zziplib/ /usr/ports/dns/dnsjava/ /usr/ports/dns/rubygem-dnsruby/ /usr/ports/editors/paredit-mode.el/ /usr/ports/emulators/qemu-devel/ /usr/ports/emulators/virtualbox-ose-additions/ /usr/ports/emulators/virtualbox-ose-kmod/ /usr/ports/emulators/virtualbox-ose/ /usr/ports/emulators/wine/ /usr/ports/ftp/R-cran-RCurl/ files/260946d9401adc15de38730058d50c9798d7cb6a547da435f7308f9fb0515670.gz not found -- snapshot corrupt. Len From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 02:29:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D60106566B for ; Mon, 5 Dec 2011 02:29:29 +0000 (UTC) (envelope-from tam.sergio@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id CE9D48FC12 for ; Mon, 5 Dec 2011 02:29:28 +0000 (UTC) Received: by lagv3 with SMTP id v3so101622lag.13 for ; Sun, 04 Dec 2011 18:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=EHR4Hwqz0Vd589/DZH7GF/7CdWKVdK26x9WVB9AgvhU=; b=pfvPyiYx0GDfTpIEyecxkp+D7lK97TJhoA7EgPANtNAurOb+8pmYODWYhhEvQV/irR Yuwxa/QH3X20B92xWngZipf2BggDOjlj07emsEiB0G3TZcMAV2+hUsfoYLi1fboMz2N9 RMlMF5L6KDRlm4Om7gWZGTQgTS6PhVsUrs9/M= MIME-Version: 1.0 Received: by 10.152.112.42 with SMTP id in10mr2154516lab.21.1323052167492; Sun, 04 Dec 2011 18:29:27 -0800 (PST) Received: by 10.152.148.130 with HTTP; Sun, 4 Dec 2011 18:29:27 -0800 (PST) In-Reply-To: <201112050249890.SM02196@W500.Go2France.com> References: <201112050249890.SM02196@W500.Go2France.com> Date: Sun, 4 Dec 2011 20:29:27 -0600 Message-ID: From: Sergio Tam To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: portsnap broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 02:29:29 -0000 2011/12/4 Len Conrad : > Never had a problem before > > Freebsd 8.2 > > a couple weeks ago, on virgin 8.2, initial run of > > portsnap fetch extract > > ... ran great, and a couple of updates since then, also. > > but today: > > # portsnap fetch > Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Sun Dec =A04 15:26:46 CET 2011 to Mon Dec =A05 02:05:11 CET= 2011. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 27 patches.....10....20... done. > Applying patches... done. > Fetching 2 new ports or files... done. > > > # portsnap update > Removing old files and directories... done. > Extracting new files: > /usr/ports/emulators/virtualbox-ose-additions/ > /usr/ports/emulators/virtualbox-ose-kmod/ > /usr/ports/emulators/virtualbox-ose/ > /usr/ports/emulators/wine/ > /usr/ports/ftp/R-cran-RCurl/ > files/260946d9401adc15de38730058d50c9798d7cb6a547da435f7308f9fb0515670.gz= not found -- snapshot corrupt. > > Len rm -rf /var/db/portsnap/* portsnap fetch portsnap extract update Regards From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 02:38:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24FF0106564A for ; Mon, 5 Dec 2011 02:38:09 +0000 (UTC) (envelope-from rockstar01@y7mail.com) Received: from nm7-vm4.bullet.mail.ne1.yahoo.com (nm7-vm4.bullet.mail.ne1.yahoo.com [98.138.91.167]) by mx1.freebsd.org (Postfix) with SMTP id C32818FC16 for ; Mon, 5 Dec 2011 02:38:08 +0000 (UTC) Received: from [98.138.90.50] by nm7.bullet.mail.ne1.yahoo.com with NNFMP; 05 Dec 2011 02:38:08 -0000 Received: from [98.138.87.5] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 05 Dec 2011 02:38:08 -0000 Received: from [127.0.0.1] by omp1005.mail.ne1.yahoo.com with NNFMP; 05 Dec 2011 02:38:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 73898.82615.bm@omp1005.mail.ne1.yahoo.com Received: (qmail 26249 invoked by uid 60001); 5 Dec 2011 02:38:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=y7mail.com; s=s1024; t=1323052687; bh=grBoMuBC93MXLXx14lKfx7ZNpXT5GQ/OOysA9uOtuQk=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=i/EAOunqKsbD0kQba8RzWYGRThynYHWtQZEdZ4unCtLw4C0gE7/APoui6ADVtrqAeNCzCoWfO/oILfLNFShmFuBSqd8A5r5h6KCXbwomzNHixz38JRbxWsSlS2zhbAiuMPptY2iwF5wAU2wjJbb/GurZYiquXgaoPOOl++x3so0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=y7mail.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HcpnS8MaHCpq52rzNLimZzg5yPQFVV40NBZfOCyeU/DFvp9qCjfnR772XSxK5ORlGcspSyzU1411AuNvTR2KZGvPq8RhR9zB70AZttPK1FcuYBWN6caoBKYxDX+isTyF2/paaMo+3MsxjwkvyPlR192BjesHFZeYSBqbY9M+ayE=; X-YMail-OSG: tYmmw6EVM1nwUaS4n8iLwtIlWJbZfA5EPLCAYHZLkhJGgfg DIDKUbcX.Jxq.aBMWaV9VGmaqr06u3X5EWApiqqFhfzccKahiyADKoNJ_jqh KEjUsu7i6RzCBxDre7mW7uc6iRLcwHHjYYJ.tdqRXDLNareECDfRkmzrtqL4 CqTx5O_r5GsLvWKrIZUnzzeXXufYOreETRi6CeiRk3M9R.sVWeI85vrp8lys pLfwJ7EgqyCyDZacNyelBshpMkPxmkE8n6QbknzvuYfLxh3UAhEqJ_RH7ZiH 2BM_TLw5AHprFD50VNGPC9E.Z25zvdNj5Q4DRdfeow8qjppu8sBtnHD1eMg7 L76YyC9iRrl4Hh41pkjj5IqH4wtQBAEUmXxOLOuaQt2nOaPnafhDMRpfeBsW scy7hQebuTcRqkDvq9aZMPLgyl1BdHW4MATUmLouPuZJtTXew6yv_jVP15Sy BIN3OQYQopQLFeXN8fXfd1xgCmBO7b6vZ_Vz4Iwkn Received: from [211.120.64.222] by web122219.mail.ne1.yahoo.com via HTTP; Sun, 04 Dec 2011 18:38:07 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> Message-ID: <1323052687.22483.YahooMailNeo@web122219.mail.ne1.yahoo.com> Date: Sun, 4 Dec 2011 18:38:07 -0800 (PST) From: masayoshi To: Warren Block In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: masayoshi List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 02:38:09 -0000 ----- Original Message -----=0A=0A> From: Warren Block = =0A> To: masayoshi =0A> Cc: "freebsd-questions@freeb= sd.org" =0A> Sent: Monday, 5 December 2011 1= 0:42 AM=0A> Subject: Re: I am FreeBSD user. =0A> =0A> On Sun, 4 Dec 2011, m= asayoshi wrote:=0A> =0A>> When I was looking for sudo, I noticed a weired = thing.=0A>> =0A>> =0A> http://www.freebsd.org/cgi/man.cgi?query=3Dsudo&apro= pos=3D0&sektion=3D0&manpath=3DRed+Hat+Linux%2Fi386+9&arch=3Ddefault&format= =3Dhtml=0A>> =0A>> =0A> http://www.freebsd.org/cgi/man.cgi?query=3Dsudo&apr= opos=3D0&sektion=3D0&manpath=3DSuSE+Linux%2Fi386+ES+10+SP1&arch=3Ddefault&f= ormat=3Dhtml=0A>> =0A>> I am FreeBSD user. <3=0A>> I hate Linux. lol=0A>>= =0A>> Why can I select other operation's man page on our FreeBSD webisite= ?=0A>> Is it for Linux emulator?=0A> =0A> Could be.=A0 It's also really us= eful to see what the options to Linux =0A> commands do when trying to adapt= or convert something.=0A=0A=0AThank you very much.=0AOur freebsd users are= =A0 open-minded.=0ANow, I could understand about it.=0A=0A=0A=0A=0A=A0=0A--= -=0AInexperienced FreeBSD user: Level 4=0Amasayoshi & Ayumi Kinoshita=0Ahtt= p://tinyurl.com/63zg3op=0A> From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 04:39:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AC47106564A for ; Mon, 5 Dec 2011 04:39:48 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 204F78FC0C for ; Mon, 5 Dec 2011 04:39:47 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 916872792A8E; Sun, 4 Dec 2011 22:45:50 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkKjEo9gQUvl; Sun, 4 Dec 2011 22:45:37 -0600 (CST) Received: from [192.168.2.106] (c-66-41-151-200.hsd1.mn.comcast.net [66.41.151.200]) by server.cwis.biz (Postfix) with ESMTPSA id 14681279290E; Sun, 4 Dec 2011 22:03:02 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <20111205012234.GA11201@thought.org> Date: Sun, 4 Dec 2011 21:56:57 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> <20111205012234.GA11201@thought.org> To: Gary Kline X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 04:39:48 -0000 They probably switched it from NAT to passthru with only 2 IPs. But that's not your problem to figure out. What you need to do is what the error is from: Check the following: 1) Computer (is one computer having an issue or could one computer be = the CAUSE of the issue?) 2) Cabling - is there a bad Ethernet cable. Replace any custom cables = with prefab. You'd be amazed how many problems come from bad cuts. 3) Networking layer - is there a bad NIC or switch? - you've had this = problem before. 4) When you bring the network to one device - can you get online? Can = someone ping your public IP address from somewhere else? 5) Is the Telco in the midst of an outage or did hardware fail? There is more to those 5 items but they are great ones to work from. 9 times out of 10 it's somewhere under #1. Also I suggest a proper UPS and the apcupsd daemon. I use it for all my = UPS's in the field. All 10 of them. Feel free to install it and connect to d3photography.com:3551 -- Ryan On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: > On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: >> Date: Fri, 2 Dec 2011 20:00:25 -0600 >> From: Ryan Coleman >> Subject: Re: dead; need help reconnecting >> To: FreeBSD Questions >> X-Mailer: Apple Mail (2.1251.1) >>=20 >> You need to define Dead, Gary. >>=20 >> Your posts lack... proper detail most of the time. >>=20 >> On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: >>=20 >>> weds morning at 4 was my last log so it was around then that my = telco modem broke. a few hours ago a tech reset the >>> router with all 5 ips. my bsd server is dead/water. only my wifes = pc and daughters nmacbook work. i have spent hours under desk trying = one thing/time. >>>=20 >>> does anyone have any suuggestions what to try next? i have only = bsd server; ubuntu desktop. standalone firewall. one hub/switgh. >>>=20 >>> gary >>> _______________________________________________ >=20 >=20 > ryan,=20 >=20 > by "dead" i meant that i had 0.0 connection to the net. > long-story-short, it was indeed the telephone company's > modem that blew out. they were able to get one circuit > working, and they were content with that. but i was still > dead. this morning a telco technician [and friend] dropped > by with his tools and after several calls to the office for=20 > my IP's and other info got me back online. =20 >=20 > I have no idea how their router/modem works; i have no idea=20 > how they were able to get my wife's PC back, much less my=20 > entire domain. >=20 > (this is further OT, but FWIW, one guy suggested that a > power surge may have broken the modem/router. 30-35 years > ago a =3Dreal=3D modem ran at 1200 baud and was lightening fast. = =20 > obviously, i haven't kept up... .) > =09 >=20 >=20 >=20 >=20 > --=20 > Gary Kline kline@thought.org http://www.thought.org Public Service = Unix > Journey Toward the Dawn, E-Book: http://www.thought.org > The 8.57a release of Jottings: http://jottings.thought.org > Twenty-five years of service to the Unix community. >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 06:58:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0101065670 for ; Mon, 5 Dec 2011 06:58:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE268FC0C for ; Mon, 5 Dec 2011 06:58:06 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 795A1E80DAA; Sun, 4 Dec 2011 22:58:06 -0800 (PST) Date: Sun, 4 Dec 2011 22:58:06 -0800 From: Gary Kline To: Ryan Coleman Message-ID: <20111205065806.GA17809@thought.org> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> <20111205012234.GA11201@thought.org> <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 06:58:07 -0000 On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: > Date: Sun, 4 Dec 2011 21:56:57 -0600 > From: Ryan Coleman > Subject: Re: dead; need help reconnecting > To: Gary Kline > Cc: FreeBSD Questions > X-Mailer: Apple Mail (2.1251.1) > > They probably switched it from NAT to passthru with only 2 IPs. > > But that's not your problem to figure out. > > What you need to do is what the error is from: > Check the following: > 1) Computer (is one computer having an issue or could one computer be the CAUSE of the issue?) > 2) Cabling - is there a bad Ethernet cable. Replace any custom cables with prefab. You'd be amazed how many problems come from bad cuts. > 3) Networking layer - is there a bad NIC or switch? - you've had this problem before. > 4) When you bring the network to one device - can you get online? Can someone ping your public IP address from somewhere else? > 5) Is the Telco in the midst of an outage or did hardware fail? it turned out that the modem was at fault. the first time, the tech fixed it partially. by installing a NEW modem [router], i was back on. so is everything else that runs thru my switch. (((this time, very soon--say in the morning, my time--i'm going to plug the router into my surge protector. just because it msy prevent another fault.))) gary > > There is more to those 5 items but they are great ones to work from. > > 9 times out of 10 it's somewhere under #1. > > Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. > > Feel free to install it and connect to d3photography.com:3551 > -- > Ryan > On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: > > > On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: > >> Date: Fri, 2 Dec 2011 20:00:25 -0600 > >> From: Ryan Coleman > >> Subject: Re: dead; need help reconnecting > >> To: FreeBSD Questions > >> X-Mailer: Apple Mail (2.1251.1) > >> > >> You need to define Dead, Gary. > >> > >> Your posts lack... proper detail most of the time. > >> > >> On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: > >> > >>> weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the > >>> router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. > >>> > >>> does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. > >>> > >>> gary > >>> _______________________________________________ > > > > > > ryan, > > > > by "dead" i meant that i had 0.0 connection to the net. > > long-story-short, it was indeed the telephone company's > > modem that blew out. they were able to get one circuit > > working, and they were content with that. but i was still > > dead. this morning a telco technician [and friend] dropped > > by with his tools and after several calls to the office for > > my IP's and other info got me back online. > > > > I have no idea how their router/modem works; i have no idea > > how they were able to get my wife's PC back, much less my > > entire domain. > > > > (this is further OT, but FWIW, one guy suggested that a > > power surge may have broken the modem/router. 30-35 years > > ago a =real= modem ran at 1200 baud and was lightening fast. > > obviously, i haven't kept up... .) > > > > > > > > > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > Journey Toward the Dawn, E-Book: http://www.thought.org > > The 8.57a release of Jottings: http://jottings.thought.org > > Twenty-five years of service to the Unix community. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 07:06:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD2361065670 for ; Mon, 5 Dec 2011 07:06:05 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 92E1E8FC16 for ; Mon, 5 Dec 2011 07:06:05 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 0F887E80DAA; Sun, 4 Dec 2011 23:06:04 -0800 (PST) Date: Sun, 4 Dec 2011 23:06:04 -0800 From: Gary Kline To: Ryan Coleman Message-ID: <20111205070604.GB17809@thought.org> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> <20111205012234.GA11201@thought.org> <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 07:06:06 -0000 On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: > > Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. > I've had a UPS for 22 months. it has saved my server from disaster five or 6 timed.... [[and you thought that the power grid here in settle was beyond good?? Bah, humbug.]] > Feel free to install it and connect to d3photography.com:3551 how exactly? no, gimmee a few decades to recover from thin trauma ! mumble. > -- > Ryan > On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: > > > On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: > >> Date: Fri, 2 Dec 2011 20:00:25 -0600 > >> From: Ryan Coleman > >> Subject: Re: dead; need help reconnecting > >> To: FreeBSD Questions > >> X-Mailer: Apple Mail (2.1251.1) > >> > >> You need to define Dead, Gary. > >> > >> Your posts lack... proper detail most of the time. > >> > >> On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: > >> > >>> weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the > >>> router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. > >>> > >>> does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. > >>> > >>> gary > >>> _______________________________________________ > > > > > > ryan, > > > > by "dead" i meant that i had 0.0 connection to the net. > > long-story-short, it was indeed the telephone company's > > modem that blew out. they were able to get one circuit > > working, and they were content with that. but i was still > > dead. this morning a telco technician [and friend] dropped > > by with his tools and after several calls to the office for > > my IP's and other info got me back online. > > > > I have no idea how their router/modem works; i have no idea > > how they were able to get my wife's PC back, much less my > > entire domain. > > > > (this is further OT, but FWIW, one guy suggested that a > > power surge may have broken the modem/router. 30-35 years > > ago a =real= modem ran at 1200 baud and was lightening fast. > > obviously, i haven't kept up... .) > > > > > > > > > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > Journey Toward the Dawn, E-Book: http://www.thought.org > > The 8.57a release of Jottings: http://jottings.thought.org > > Twenty-five years of service to the Unix community. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 08:32:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256E91065675 for ; Mon, 5 Dec 2011 08:32:02 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 01F408FC14 for ; Mon, 5 Dec 2011 08:32:01 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB58W0cD092522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Dec 2011 00:32:01 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB58W0EX092521; Mon, 5 Dec 2011 00:32:00 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA08281; Mon, 5 Dec 11 00:23:48 PST Date: Mon, 05 Dec 2011 07:23:12 -0800 From: perryh@pluto.rain.com To: boxxxxxoq@gmail.com Message-Id: <4edce1e0.bJzZ85SVPpdxbjhG%perryh@pluto.rain.com> References: In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: cybernautape@gmail.com, alexander.kapshuk@gmail.com, freebsd-questions@freebsd.org Subject: Re: Setenv PACKAGESITE thepathtoftp, in boot time how to do it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 08:32:02 -0000 Hugh wrote: > A question i've got is where i can find the default PACKAGESITE value? It seems to be hardcoded in usr.sbin/pkg_install/add/main.c (line 318 in the 8.1 version). From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 09:52:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F6F1106564A for ; Mon, 5 Dec 2011 09:52:15 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 33F498FC12 for ; Mon, 5 Dec 2011 09:52:15 +0000 (UTC) Received: from baby-jane.lamaiziere.net (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 44760FAA31A5 for ; Mon, 5 Dec 2011 10:52:14 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 284A073A0F for ; Mon, 5 Dec 2011 10:51:31 +0100 (CET) Date: Mon, 5 Dec 2011 10:51:30 +0100 From: Patrick Lamaiziere To: FreeBSD Message-ID: <20111205105130.161fc78a@mr129166> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Command which does not work anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 09:52:15 -0000 Hello, I'm using 9.0 and the command below does not work, as far I remember that worked fine with 8.2: The goal is to copy an usb image from an OpenBSD host to an usb key on my desktop via ssh. On openbsd: #cat ucop2.img | ssh patrick@xx dd of=/dev/da0 bs=10M dd: /dev/da0: Invalid argument 0+5 records in 0+4 records out 81920 bytes transferred in 0.107747 secs (760299 bytes/sec) With a file that works: # cat ucop2.img | ssh patrick@xx dd of=ucop2.img bs=10M and then a dd to the key works fine. And yes /dev/da0 is writable by all: # ls -la /dev/da0* crw-rw-rw- 1 root operator 0, 132 5 dc 09:45 /dev/da0 crw-rw-rw- 1 root operator 0, 133 5 dc 09:45 /dev/da0s4 There are some kernel messages on the FreeBSD box but I think this is harmless because this is an OpenBSD partition: GEOM_PART: integrity check failed (da0s4, BSD) Any clue? Thanks, regards. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 10:40:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B9EE106566C for ; Mon, 5 Dec 2011 10:40:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EE8788FC08 for ; Mon, 5 Dec 2011 10:40:14 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB5AdKu9036453 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 5 Dec 2011 10:39:20 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB5AdKu9036453 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323081560; bh=Pprh6xAag9BqrCwotPEb2n0TJhZDKegeUTk3g4Nd5n0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=i85NvH2s6XoMQ5BoDlaAA+Kznf9OZgTjRkpcZm/rA54wx+xDHIOr5yxXGKpMj1M6V ElrpTq+rwD1Vcy121ywqRzY/i0NylOBf1qyo27zsFtY/gK6tZKNBl2V2KrdXevncaf 8//KMvN3sH7F21jtHOSlpAgHI7Cjecu42QFt3bM0= Message-ID: <4EDC9F52.6090500@infracaninophile.co.uk> Date: Mon, 05 Dec 2011 10:39:14 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Matthew Pounsett References: <4EDBC65F.8090106@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5105241A41D290F0A2F20772" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 10:40:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5105241A41D290F0A2F20772 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2011 20:07, Matthew Pounsett wrote: > On 2011/12/04, at 14:13, Matthew Seaman wrote: >=20 >> > 4) Now for the updating bit. I'm going to use portmaster's '-o' >> > functionality to swap out the postgresql versions. (portupgrad= e >> > has very similar functionality if you prefer that.) postgresql >> > is trickier than most, because there have to be both -server an= d >> > -client ports to deal with. I also have postgresql-contrib-9.0= =2E5 >> > installed, which isn't critical but needs similar treatment. >> > Everything depends on the -client port, so we start with that: >> >=20 >> > # portmaster -o databases/postgresql91-client \ >> > postgresql-client-9.0.5 >> > # portmaster -o databases/postgresql91-server \ >> > postgresql-server-9.0.5_1 >> > # portmaster -o databases/postgresql91-contrib \ >> > postgresql-contrib-9.0.5 > This is the problem bit. The -o doesn't work with the ones I'm > dealing with because of conflicts between 8.4 and 9.1. 9.1 *won't > even build*. If you can find a way to get around that, then you can > make life even easier for yourself by doing a recursive build of all > of the things that depend on the client. It's getting around the > conflict that I'm trying to figure out... the rest is handled. Not a problem with portmaster(1) -- it automatically adds DISABLE_CONFLICTS to the make environment if you're using the '-o' flag. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig5105241A41D290F0A2F20772 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7cn1cACgkQ8Mjk52CukIw6RACdHlizTPW7oCNwJgCmaSTeONlW jkgAn171W0MFKyjpLsdnuFpnzyOmBfZG =Udv1 -----END PGP SIGNATURE----- --------------enig5105241A41D290F0A2F20772-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 12:39:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB0DE106564A for ; Mon, 5 Dec 2011 12:39:16 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 91F3C8FC12 for ; Mon, 5 Dec 2011 12:39:16 +0000 (UTC) Received: from muji2.config (87.194.237.233) by april.london.02.net (8.5.140) id 4E261E72044DAFE4 for freebsd-questions@freebsd.org; Mon, 5 Dec 2011 12:39:15 +0000 Message-ID: <4EDCBB72.9070502@onetel.com> Date: Mon, 05 Dec 2011 12:39:14 +0000 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100924 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 12:39:17 -0000 On 05/12/2011 01:42, Warren Block wrote: > On Sun, 4 Dec 2011, masayoshi wrote: > >> When I was looking for sudo, I noticed a weired thing. >> >> http://www.freebsd.org/cgi/man.cgi?query=sudo&apropos=0&sektion=0&manpath=Red+Hat+Linux%2Fi386+9&arch=default&format=html >> >> >> http://www.freebsd.org/cgi/man.cgi?query=sudo&apropos=0&sektion=0&manpath=SuSE+Linux%2Fi386+ES+10+SP1&arch=default&format=html >> >> >> I am FreeBSD user. <3 >> I hate Linux. lol >> >> Why can I select other operation's man page on our FreeBSD webisite? >> Is it for Linux emulator? > > Could be. It's also really useful to see what the options to Linux > commands do when trying to adapt or convert something. I thought the odd bit was ssuuddoo --VV | --hh | --ll | --LL | --vv | --kk | --KK | --ss | [ --HH ] [--PP ] [--SS ] [ --bb ] | [ --pp prompt ] [ --cc class|- ] [ --aa auth_type ] [ --uu username|#uid ] from the first link. Does anyone else see that or is it my browser? firefox-3.6.10,1 Chris From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 12:48:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3D39106564A for ; Mon, 5 Dec 2011 12:48:13 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3928F8FC13 for ; Mon, 5 Dec 2011 12:48:12 +0000 (UTC) Received: by eekc1 with SMTP id c1so484657eek.13 for ; Mon, 05 Dec 2011 04:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OS2ptEr7+WIyI1ZBGSjab9uhwFkNbVshbMAjriKP810=; b=qFOuF3/k1lgGaxaJ7Qr+fUu4nXsaCCd7YjImf9KnEhD9T1JcXwOSylOVcKdRahAiwz lLqtNZ8y5nhW2yDxzChftUrdRx3CSQEuko0B9BgLc7EuYwX51hf0KLn1iYJAtI3j00U4 8DwfyZwmXol38h0Bqs0hwQpvYLtjLTIvo8fxA= Received: by 10.14.15.16 with SMTP id e16mr849093eee.72.1323089292142; Mon, 05 Dec 2011 04:48:12 -0800 (PST) Received: from [192.168.0.105] ([89.47.83.116]) by mx.google.com with ESMTPS id v3sm58652001eej.7.2011.12.05.04.48.10 (version=SSLv3 cipher=OTHER); Mon, 05 Dec 2011 04:48:10 -0800 (PST) Message-ID: <4EDCBD89.9000902@gmail.com> Date: Mon, 05 Dec 2011 14:48:09 +0200 From: Rares Aioanei User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Chris Whitehouse References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> <4EDCBB72.9070502@onetel.com> In-Reply-To: <4EDCBB72.9070502@onetel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 12:48:13 -0000 On 12/05/2011 02:39 PM, Chris Whitehouse wrote: > On 05/12/2011 01:42, Warren Block wrote: >> > > I thought the odd bit was > > ssuuddoo --VV | --hh | --ll | --LL | --vv | --kk | --KK | --ss | [ > --HH ] [--PP ] [--SS ] [ --bb ] > | [ --pp prompt ] [ --cc class|- ] [ --aa auth_type ] [ --uu > username|#uid ] > > from the first link. > > Does anyone else see that or is it my browser? firefox-3.6.10,1 > > Chris I see that too with FF 8. -- Rares Aioanei From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 12:58:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4C991065676 for ; Mon, 5 Dec 2011 12:58:51 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2088FC12 for ; Mon, 5 Dec 2011 12:58:51 +0000 (UTC) Received: from age7.nber.org (age7.nber.org [66.251.72.84]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id pB5CwlPL045277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Dec 2011 07:58:48 -0500 (EST) (envelope-from feenberg@nber.org) Received: from localhost (Unknown UID 1079@localhost) by age7.nber.org (8.13.8+Sun/8.14.4/Submit) with ESMTP id pB5CwtSk010036; Mon, 5 Dec 2011 07:58:56 -0500 (EST) X-Authentication-Warning: age7.nber.org: Unknown UID 1079 owned process doing -bs Date: Mon, 5 Dec 2011 07:58:55 -0500 (EST) From: Daniel Feenberg To: Chris Whitehouse In-Reply-To: <4EDCBB72.9070502@onetel.com> Message-ID: References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> <4EDCBB72.9070502@onetel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20111205 #5924037, check: 20111205 clean Cc: freebsd-questions@freebsd.org Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 12:58:51 -0000 On Mon, 5 Dec 2011, Chris Whitehouse wrote: > On 05/12/2011 01:42, Warren Block wrote: >> On Sun, 4 Dec 2011, masayoshi wrote: >> >>> When I was looking for sudo, I noticed a weired thing. >>> >>> http://www.freebsd.org/cgi/man.cgi?query=sudo&apropos=0&sektion=0&manpath=Red+Hat+Linux%2Fi386+9&arch=default&format=html >>> >>> The source html on that page for what appears in your browser as "ssuuddoo" is: ssuuddoo which is weird enough that I wouldn't blame the browser for the odd appearance. Daniel Feenberg From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 13:35:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BDD71065672 for ; Mon, 5 Dec 2011 13:35:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6FB8FC14 for ; Mon, 5 Dec 2011 13:35:38 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB5DZZtc018675 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 5 Dec 2011 13:35:35 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB5DZZtc018675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323092135; bh=iU0qXy9DoDvD6AnGdfUG9aKfhoGNzZiIUIZs/whIf04=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=c/VXGqJMHQNSx7Nle9ygf1KWWAQqovPCm6/bESIZmVfYEJog37TtnuqXQYqFzIZ/4 0DkM6oNSuEXfR1NsDA190XA7Gx+NArp1Zdy6ff7dWp28/UGDhZnDgwbkguctGUJtD0 JiGl4HbDNhf5lhmrSzL0oJbyEqeYUF1Ar0rMPNp8= Message-ID: <4EDCC89F.9010904@infracaninophile.co.uk> Date: Mon, 05 Dec 2011 13:35:27 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1323040542.64352.YahooMailNeo@web122218.mail.ne1.yahoo.com> <4EDCBB72.9070502@onetel.com> In-Reply-To: <4EDCBB72.9070502@onetel.com> X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig54146FB8D98B85F172D164F1" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: I am FreeBSD user. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 13:35:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig54146FB8D98B85F172D164F1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/12/2011 12:39, Chris Whitehouse wrote: > I thought the odd bit was >=20 > ssuuddoo --VV | --hh | --ll | --LL | --vv | --kk | --KK | --ss | [ --HH= > ] [--PP ] [--SS ] [ --bb ] > | [ --pp prompt ] [ --cc class|- ] [ --aa auth_type ] [ --uu > username|#uid ] >=20 > from the first link. >=20 > Does anyone else see that or is it my browser? firefox-3.6.10,1 No -- your eyes are perfectly fine. It's a failure to render that text properly as bold. On an ancient teletype that would have been done by retyping the same character on top of the first one, which is ultimately where all those doubled characters come from. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig54146FB8D98B85F172D164F1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7cyKYACgkQ8Mjk52CukIz/DQCfcgwyC5gkVf0/rZM85g8QGBGg YHgAnRQ+DHG3B0/nG1JDsDmzpvW40k9D =OYtY -----END PGP SIGNATURE----- --------------enig54146FB8D98B85F172D164F1-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 13:46:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE0D106566B for ; Mon, 5 Dec 2011 13:46:58 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8888FC13 for ; Mon, 5 Dec 2011 13:46:58 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 9E9182792AE3; Mon, 5 Dec 2011 07:53:03 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UuHXaRcCgGaZ; Mon, 5 Dec 2011 07:52:50 -0600 (CST) Received: from [10.0.1.9] (70-89-202-1-invergrove-mn.hfc.comcastbusiness.net [70.89.202.1]) by server.cwis.biz (Postfix) with ESMTPSA id 6123B2791EFF; Mon, 5 Dec 2011 07:52:50 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <20111205070604.GB17809@thought.org> Date: Mon, 5 Dec 2011 07:46:44 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <1BC0DA59-F5AC-40E3-83D2-F06448CBC109@d3photography.com> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> <20111205012234.GA11201@thought.org> <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> <20111205070604.GB17809@thought.org> To: Gary Kline X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 13:46:58 -0000 On Dec 5, 2011, at 1:06 AM, Gary Kline wrote: > On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: >>=20 >> Also I suggest a proper UPS and the apcupsd daemon. I use it for all = my UPS's in the field. All 10 of them. >>=20 > I've had a UPS for 22 months. it has saved my server from > disaster five or 6 timed.... [[and you thought that the > power grid here in settle was beyond good?? Bah, humbug.]] >=20 >=20 >> Feel free to install it and connect to d3photography.com:3551 >=20 >=20 > how exactly? no, gimmee a few decades to recover from thin > trauma ! mumble. It's just a remote monitor. It's nice to have. Take either the Macbook or Windows machine and install the APCagent = client program to monitor. Pretty easy to find. Very low system resource = utilization. >=20 >> -- >> Ryan >> On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: >>=20 >>> On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: >>>> Date: Fri, 2 Dec 2011 20:00:25 -0600 >>>> From: Ryan Coleman >>>> Subject: Re: dead; need help reconnecting >>>> To: FreeBSD Questions >>>> X-Mailer: Apple Mail (2.1251.1) >>>>=20 >>>> You need to define Dead, Gary. >>>>=20 >>>> Your posts lack... proper detail most of the time. >>>>=20 >>>> On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: >>>>=20 >>>>> weds morning at 4 was my last log so it was around then that my = telco modem broke. a few hours ago a tech reset the >>>>> router with all 5 ips. my bsd server is dead/water. only my = wifes pc and daughters nmacbook work. i have spent hours under desk = trying one thing/time. >>>>>=20 >>>>> does anyone have any suuggestions what to try next? i have = only bsd server; ubuntu desktop. standalone firewall. one = hub/switgh. >>>>>=20 >>>>> gary >>>>> _______________________________________________ >>>=20 >>>=20 >>> ryan,=20 >>>=20 >>> by "dead" i meant that i had 0.0 connection to the net. >>> long-story-short, it was indeed the telephone company's >>> modem that blew out. they were able to get one circuit >>> working, and they were content with that. but i was still >>> dead. this morning a telco technician [and friend] dropped >>> by with his tools and after several calls to the office for=20 >>> my IP's and other info got me back online. =20 >>>=20 >>> I have no idea how their router/modem works; i have no idea=20 >>> how they were able to get my wife's PC back, much less my=20 >>> entire domain. >>>=20 >>> (this is further OT, but FWIW, one guy suggested that a >>> power surge may have broken the modem/router. 30-35 years >>> ago a =3Dreal=3D modem ran at 1200 baud and was lightening fast. = =20 >>> obviously, i haven't kept up... .) >>> =09 >>>=20 >>>=20 >>>=20 >>>=20 >>> --=20 >>> Gary Kline kline@thought.org http://www.thought.org Public = Service Unix >>> Journey Toward the Dawn, E-Book: http://www.thought.org >>> The 8.57a release of Jottings: http://jottings.thought.org >>> Twenty-five years of service to the Unix community. >>>=20 >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20 >=20 > --=20 > Gary Kline kline@thought.org http://www.thought.org Public Service = Unix > Journey Toward the Dawn, E-Book: http://www.thought.org > The 8.57a release of Jottings: http://jottings.thought.org > Twenty-five years of service to the Unix community. >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 17:08:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8645E106566C for ; Mon, 5 Dec 2011 17:08:20 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id E06CF8FC08 for ; Mon, 5 Dec 2011 17:08:19 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 5V8G1i004516WCc01V8H2N; Mon, 05 Dec 2011 17:08:17 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=LMnkseq9 c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=3PPtwt9Swo0DDw6oymwA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RXc1Y-0000qo-5v for freebsd-questions@freebsd.org; Mon, 05 Dec 2011 17:08:16 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 5 Dec 2011 17:08:15 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:08:20 -0000 I have a fairly simple perl script which is run by devd when I plug in a USB memory stick. The script sets up some permissions and a link to make life easy for a user to mount the memory stick. This normally works fine but there are problems if the memory stick is already inserted before booting. Normally my internal 4 slot memory card reader is detected as umass0 with devices da[0-3] and when the USB memory stick is inserted it comes up as umass1 with device da4 and my script works on that assumption. If the USB stick is present on booting then it appears as da0 on umass0 and the card reader is da[1-4] on umass1 so the script fails. Is there any convenient way for my script to determine which da* devices correspond to the umass device name? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 17:25:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 205BA1065678 for ; Mon, 5 Dec 2011 17:25:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D8E1B8FC1F for ; Mon, 5 Dec 2011 17:25:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-89-217.dynamic.qsc.de [92.195.89.217]) by mx02.qsc.de (Postfix) with ESMTP id 35B221DB59; Mon, 5 Dec 2011 18:25:08 +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 pB5HP8st002831; Mon, 5 Dec 2011 18:25:08 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 5 Dec 2011 18:25:08 +0100 From: Polytropon To: Mike Clarke Message-Id: <20111205182508.005fd1fd.freebsd@edvax.de> In-Reply-To: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> 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 Cc: freebsd-questions@freebsd.org Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:25:11 -0000 On Mon, 5 Dec 2011 17:08:15 +0000, Mike Clarke wrote: > > I have a fairly simple perl script which is run by devd when I plug in a > USB memory stick. The script sets up some permissions and a link to > make life easy for a user to mount the memory stick. > > This normally works fine but there are problems if the memory stick is > already inserted before booting. > > Normally my internal 4 slot memory card reader is detected as umass0 > with devices da[0-3] and when the USB memory stick is inserted it comes > up as umass1 with device da4 and my script works on that assumption. If > the USB stick is present on booting then it appears as da0 on umass0 > and the card reader is da[1-4] on umass1 so the script fails. > > Is there any convenient way for my script to determine which da* devices > correspond to the umass device name? Maybe you could use a matching against match "bus" "0x????"; match "vendor" "0x????"; match "product" "0x????"; match "release" "0x????"; to determine which device you're currently accessing. As the USB IDs stay the same for at least the card reader, it should be easy to conclude. :-) USB devices are usually "enumerated" in the order they appear to the system. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 17:38:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 287191065670 for ; Mon, 5 Dec 2011 17:38:54 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id B5C418FC15 for ; Mon, 5 Dec 2011 17:38:53 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id pB5HcksC056104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Dec 2011 11:38:47 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id pB5HckGv086395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Dec 2011 11:38:46 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id pB5Hck9U086393; Mon, 5 Dec 2011 11:38:46 -0600 (CST) (envelope-from dan) Date: Mon, 5 Dec 2011 11:38:46 -0600 From: Dan Nelson To: Patrick Lamaiziere Message-ID: <20111205173845.GA53453@dan.emsphone.com> References: <20111205105130.161fc78a@mr129166> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111205105130.161fc78a@mr129166> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 05 Dec 2011 11:38:47 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: FreeBSD Subject: Re: Command which does not work anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:38:54 -0000 In the last episode (Dec 05), Patrick Lamaiziere said: > Hello, > > I'm using 9.0 and the command below does not work, as far I remember > that worked fine with 8.2: > > The goal is to copy an usb image from an OpenBSD host to an usb key on > my desktop via ssh. > > On openbsd: > # cat ucop2.img | ssh patrick@xx dd of=/dev/da0 bs=10M > dd: /dev/da0: Invalid argument > 0+5 records in > 0+4 records out > 81920 bytes transferred in 0.107747 secs (760299 bytes/sec) dd with a bs= option tells dd to use read() syscalls with a 10mb size, but ssh is going to feed it data in much smaller chunks, and they're unlikely to be multiples of a disk block in size (which you have to use if you are writing directly to a raw disk device). The "0+5 records in/0+4 records out" lines say that dd read 5 blocks of data (but they were less than 10mb), and wrote 4 blocks (again less than 10mb). Try using a smaller blocksize (8k or 4k), or use a buffering program like ports/misc/team or misc/buffer just in front of your dd command, so that dd always sees block-sized writes from its stdin stream. If that command worked in 8.2, it was just by accident. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 20:12:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 166691065676 for ; Mon, 5 Dec 2011 20:12:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E19228FC19 for ; Mon, 5 Dec 2011 20:12:40 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 0C0DCE80BA9; Mon, 5 Dec 2011 12:12:39 -0800 (PST) Date: Mon, 5 Dec 2011 12:12:39 -0800 From: Gary Kline To: Ryan Coleman Message-ID: <20111205201239.GD9335@thought.org> References: <1322871981.64074.YahooMailNeo@web39309.mail.mud.yahoo.com> <7BF896F0-AB99-4769-88DB-F20719BE17E7@d3photography.com> <20111205012234.GA11201@thought.org> <80E716E0-091D-45CA-BFC2-1B2A8BA41285@d3photography.com> <20111205070604.GB17809@thought.org> <1BC0DA59-F5AC-40E3-83D2-F06448CBC109@d3photography.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1BC0DA59-F5AC-40E3-83D2-F06448CBC109@d3photography.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: dead; need help reconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:12:41 -0000 On Mon, Dec 05, 2011 at 07:46:44AM -0600, Ryan Coleman wrote: > Date: Mon, 5 Dec 2011 07:46:44 -0600 > From: Ryan Coleman > Subject: Re: dead; need help reconnecting > To: Gary Kline > Cc: FreeBSD Questions > X-Mailer: Apple Mail (2.1251.1) > > > On Dec 5, 2011, at 1:06 AM, Gary Kline wrote: > > > On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote: > >> > >> Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's in the field. All 10 of them. > >> > > I've had a UPS for 22 months. it has saved my server from > > disaster five or 6 timed.... [[and you thought that the > > power grid here in settle was beyond good?? Bah, humbug.]] > > > > > >> Feel free to install it and connect to d3photography.com:3551 > > > > > > how exactly? no, gimmee a few decades to recover from thin > > trauma ! mumble. > It's just a remote monitor. It's nice to have. > > Take either the Macbook or Windows machine and install the APCagent client program to monitor. Pretty easy to find. Very low system resource utilization. > can you send a URL? I'Ve never heard of this...... [[i know thatt i'm a crummy sysadmin]] > > > >> -- > >> Ryan > >> On Dec 4, 2011, at 7:22 PM, Gary Kline wrote: > >> > >>> On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote: > >>>> Date: Fri, 2 Dec 2011 20:00:25 -0600 > >>>> From: Ryan Coleman > >>>> Subject: Re: dead; need help reconnecting > >>>> To: FreeBSD Questions > >>>> X-Mailer: Apple Mail (2.1251.1) > >>>> > >>>> You need to define Dead, Gary. > >>>> > >>>> Your posts lack... proper detail most of the time. > >>>> > >>>> On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: > >>>> > >>>>> weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the > >>>>> router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. > >>>>> > >>>>> does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. > >>>>> > >>>>> gary > >>>>> _______________________________________________ > >>> > >>> > >>> ryan, > >>> > >>> by "dead" i meant that i had 0.0 connection to the net. > >>> long-story-short, it was indeed the telephone company's > >>> modem that blew out. they were able to get one circuit > >>> working, and they were content with that. but i was still > >>> dead. this morning a telco technician [and friend] dropped > >>> by with his tools and after several calls to the office for > >>> my IP's and other info got me back online. > >>> > >>> I have no idea how their router/modem works; i have no idea > >>> how they were able to get my wife's PC back, much less my > >>> entire domain. > >>> > >>> (this is further OT, but FWIW, one guy suggested that a > >>> power surge may have broken the modem/router. 30-35 years > >>> ago a =real= modem ran at 1200 baud and was lightening fast. > >>> obviously, i haven't kept up... .) > >>> > >>> > >>> > >>> > >>> > >>> -- > >>> Gary Kline kline@thought.org http://www.thought.org Public Service Unix > >>> Journey Toward the Dawn, E-Book: http://www.thought.org > >>> The 8.57a release of Jottings: http://jottings.thought.org > >>> Twenty-five years of service to the Unix community. > >>> > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >> > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > Journey Toward the Dawn, E-Book: http://www.thought.org > > The 8.57a release of Jottings: http://jottings.thought.org > > Twenty-five years of service to the Unix community. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 20:33:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69EBD1065673 for ; Mon, 5 Dec 2011 20:33:59 +0000 (UTC) (envelope-from b.gruel@sdnet.info) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by mx1.freebsd.org (Postfix) with ESMTP id B21878FC14 for ; Mon, 5 Dec 2011 20:33:56 +0000 (UTC) Received: from ob1.woody.hopto.org (unknown [88.184.221.92]) by smtp2-g21.free.fr (Postfix) with ESMTP id F03C54B062F for ; Mon, 5 Dec 2011 21:33:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id 731471F52DC for ; Mon, 5 Dec 2011 21:47:44 +0100 (CET) X-Virus-Scanned: amavisd-new at woody.hopto.org Received: from ob1.woody.hopto.org ([127.0.0.1]) by localhost (ob1.woody.hopto.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lxNmGv-RBiUR for ; Mon, 5 Dec 2011 21:47:43 +0100 (CET) Received: from mail.sdnet.info (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id BBBE11F52DA for ; Mon, 5 Dec 2011 21:47:43 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 05 Dec 2011 21:47:43 +0100 From: Bruno Gruel To: Organization: Sallanches Data Network Mail-Reply-To: Message-ID: <74a317314b401d66fcf07f1cfaa31f3a@sdnet.info> X-Sender: b.gruel@sdnet.info User-Agent: SDN Webmail/ Subject: Nuxeo install in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: b.gruel@sdnet.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:33:59 -0000 Hello, I just want to know if someone already try to install NUXEO on a FreeBSD. I try some month later without sucess. I will try to install it on FreeBSD82 to day. I already ask the question on the nuxeo forum without reply.. Thank's. Bruno From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 21:39:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BF481065680 for ; Mon, 5 Dec 2011 21:39:14 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 10B098FC16 for ; Mon, 5 Dec 2011 21:39:13 +0000 (UTC) Received: by bkat2 with SMTP id t2so8809686bka.13 for ; Mon, 05 Dec 2011 13:39:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=p82CByCMgHZjiEISCbsRVskCbvmxVegjg7WY3FAD4Dg=; b=DEQ4rJqmPCj2/cefQi/M9QVBCRxUChMvvCNplQ4OgpTfwMthMBRWw/ApQcdMRiftc6 yG1KH8EOX55w6dYXZHOU/YmAjTv9S+kJgK3EovFh2RCaEsf7GukLTG/niElnwuJxWPGE ELTl2bpXSnStaNThw4FvxLHymnvkhUjBMugJc= MIME-Version: 1.0 Received: by 10.180.80.162 with SMTP id s2mr14507863wix.27.1323119478430; Mon, 05 Dec 2011 13:11:18 -0800 (PST) Received: by 10.227.112.206 with HTTP; Mon, 5 Dec 2011 13:11:18 -0800 (PST) Date: Mon, 5 Dec 2011 18:11:18 -0300 Message-ID: From: Leonardo Santagostini To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question about Realtek 8190 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 21:39:14 -0000 Hello all, I have a new wifi pci card based on a realtek 8190 but i could not find the driver for this nic. Is there any driver available? Here comes my system info. pciconf -l -bcv none2@pci0:2:3:0: class=0x028000 card=0x819010ec chip=0x819010ec rev=0x00 hdr=0x00 vendor = 'Realtek Semiconductor' class = network bar [10] = type I/O Port, range 32, base 0xda00, size 256, enabled bar [14] = type Memory, range 32, base 0xfddfe000, size 4096, enabled cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0 pcleo# uname -a FreeBSD pcleo 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I can offer me as tester. Regards / Saludos.- Leonardo Santagostini From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 23:02:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ACF9106566B for ; Mon, 5 Dec 2011 23:02:56 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0580B8FC14 for ; Mon, 5 Dec 2011 23:02:55 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id pB5MQPIG017546; Mon, 5 Dec 2011 16:33:12 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com with ESMTP id 11h5p007sg-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 Dec 2011 16:33:12 -0600 Received: from [10.64.200.249] (10.14.152.56) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 5 Dec 2011 16:33:05 -0600 References: From: Devin Teske Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" In-Reply-To: Message-ID: <5E7F61A5-DDC9-463B-85CC-834C5DADC125@fisglobal.com> Date: Sun, 4 Dec 2011 08:54:45 -0800 To: Alejandro Imass MIME-Version: 1.0 (iPhone Mail 8C148) X-Mailer: iPhone Mail (8C148) X-Originating-IP: [10.14.152.56] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-05_04:2011-12-05, 2011-12-05, 1970-01-01 signatures=0 Cc: FreeBSD Questions Subject: * Re: IPSec in Jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 23:02:56 -0000 On Dec 3, 2011, at 4:42 PM, Alejandro Imass wrote: > Hello, >=20 > I was following a thread in FBSD Spanish talking about the use of > IPSec in Jails and there was no conclusion to the matter. I have a > client that wants to run a VPN which requires IPSec and he is running > on some jails we provide them. We can provide them with a public IP > for the jail but I'm not sure if this will work. >=20 > I understand from the thread that recompiling the kernel with VIMAGE > enabled should allow the use of IPSec in the jails but apparently > until 8.0 this was experimental. This particular server uses 8.2 so I > would like to know if anyone here has done this and how stable it is? > Would enabling VIMAGE for the base kernel compromise the system and > other clients running on other jails in the same server? We're using 8.1 + VIMAGE and using openvpn, ipfw, and IPSec within jail suc= cessfully. No stability issues with other jails (so far), but then again only been run= ning that setup (with IPSec/openvpn in a vimage) for a few weeks now. But, = so far so good! --=20 Devin >=20 > Thanks beforehand for any valuable comments! >=20 > --=20 > Alejandro Imass > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 23:29:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2D8106566C for ; Mon, 5 Dec 2011 23:29:36 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 704258FC16 for ; Mon, 5 Dec 2011 23:29:34 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 5bVY1i004516WCc01bVZVJ; Mon, 05 Dec 2011 23:29:33 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=LMnkseq9 c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=3D1xnpn-IC1gojbX77IA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RXhyW-0000Z6-56; Mon, 05 Dec 2011 23:29:32 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org, Polytropon Date: Mon, 5 Dec 2011 23:29:31 +0000 User-Agent: KMail/1.9.10 References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111205182508.005fd1fd.freebsd@edvax.de> In-Reply-To: <20111205182508.005fd1fd.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201112052329.32027.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Cc: Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 23:29:36 -0000 On Monday 05 December 2011, Polytropon wrote: > On Mon, 5 Dec 2011 17:08:15 +0000, Mike Clarke wrote: [snip] > > Is there any convenient way for my script to determine which da* > > devices correspond to the umass device name? > > Maybe you could use a matching against > > match "bus" "0x????"; > match "vendor" "0x????"; > match "product" "0x????"; > match "release" "0x????"; > > to determine which device you're currently accessing. > As the USB IDs stay the same for at least the card > reader, it should be easy to conclude. :-) > > USB devices are usually "enumerated" in the order they > appear to the system. Thanks for that idea. I'd originally thought in terms of not being able to use the vendor info to identify a usb stick since that can't be known in advance for every stick that might ever be inserted but I'd overlooked using the info to eliminate the built in card reader. So now when any umass device is attached devd calls my script which just iterate over sysctl dev.umass | grep "%pnpinfo" building up a list of devices, adding four if it's the card reader or one for each other umass, and it works a treat. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 01:39:19 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22E76106564A for ; Tue, 6 Dec 2011 01:39:19 +0000 (UTC) (envelope-from info@ec-ho-info.co.cc) Received: from ec-ho-info.co.cc (ec-ho-info.co.cc [64.31.25.19]) by mx1.freebsd.org (Postfix) with ESMTP id EA1878FC1B for ; Tue, 6 Dec 2011 01:39:18 +0000 (UTC) Received: from [41.58.8.107] (unknown [41.58.8.107]) by ec-ho-info.co.cc (Postfix) with ESMTP id 4702A4D5A38B for ; Tue, 6 Dec 2011 04:09:55 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ec-ho-info.co.cc; s=mail; t=1323133800; bh=+6RYF8bceoHNuEK05ZSYz9IQ7Q86Nc9Ixe8LBoIHbSc=; h=Message-Id:Mime-Version:From:To:Reply-To:Subject:Date: Content-type:Content-transfer-encoding; b=mDAseV7JcrTOMsnk7X3+KL5jf08plc2UeZDKTkS7a1dWXcjB2GSN+V6jpTfRwxSbi mfZighx4QqPW6tJVs/WJT10N/y13tG4XQnOyxHqTpv3PuQVSNQ8tqNTbwo09gquaFW Ly8XlOoHUJbFPcGxhyDaEe8c9Jz1nvKGz1dJYdyI= Message-Id: Mime-Version: 1.0 From: YOMMY To: "questions" Date: Tue, 6 Dec 2011 02:09:49 +0100 X-Bounce-Tracking-Info: Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: quoted-printable Cc: Subject: DOWNLOAD SPSS eBOOKS NOW!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yommyk@india.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 01:39:19 -0000 DOWNLOAD SPSS e-BOOKS NOW!!!! Merits of the books These books are user-oriented books on SPSS (Statistical Packages for Socia= l Sciences): =2E They use a series of pictures and simple instructions to teach each pro= cedure for data analyses=2E Users can conduct procedures by following the graphically illustrated examp= les=2E The books are designed for the novice - even those who are inexperienced wi= th SPSS, statistics, or computers=2E They can be used by those in varied fields, such as market res= earch, criminology, public policy, management, business administration, nursing, medicine, psychology, sociolo= gy, anthropology, and so on=2E =2E Each method is taught in a step-by-step manner=2E =2E Analytical threads are followed throughout the books - the goal of this= method is to show users how to combine different procedures to maximize the benefits of = using SPSS=2E =2E Users may find that the books generally contain most of the statistics concepts they will need to use=2E 1=2E SPSS for Beginners 2=2E SPSS for Introductory Statistics 3=2E A Handbook for Statistical Analyses Using SPSS 4=2E Applied Statistics Using SPSS,STATISTICA, and MATHLAB 5=2E Doing Quantitative Research in Education with SPSS 6=2E Computer-Aided Data Analyses 7=2E SPSS 17=2E0 Statistics SOFTWARE (Original Full Version) 8=2E SPSS book for Dummies 9=2E SPSS 17=2E0 Brief Guide 10=2E SPSS Statistics Base 17=2E0 Users' Guide 11=2E Statistical Methods using SPSS 12=2E Data Analyses and Research Methods 13=2E SPSS 17=2E0 Neural Network 14=2E SPSS 17=2E0 Decision Trees 15=2E SPSS 17=2E0 Forecasting 16=2E SPSS 17=2E0 Regression 17=2E SPSS 17=2E0 Exact Tests 18=2E SPSS 17=2E0 Missing Values 19=2E SPSS 17=2E0 Conjoint NOTES: ITEMS ARE DELIVERED IMMEDIATELY ON PAYMENT Pricing details for the Package (1-19) is in US Dollars (USD150)or N27,000= =3D We accept payment by Paypal, Abayomi Ibiyemi - Visa Account No=2E4990006313= , GTB A/C No=2E 0017611164 For Further Inquiries about Table of Contents and Mode of Payment for any o= f the above items, Mail to: yommyk@india=2Ecom Web:www=2Eabayomiibiyemi=2Enl Kind Regards Yommy Ibiyemi Non Opt-in Clause: We did not seek your consent to have this mail sent to y= ou KIND REGARDS, YOMMY TEL: 234=2E806 489 1087 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 03:26:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963121065670 for ; Tue, 6 Dec 2011 03:26:43 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0B98FC08 for ; Tue, 6 Dec 2011 03:26:41 +0000 (UTC) Received: by iafi7 with SMTP id i7so5877356iaf.13 for ; Mon, 05 Dec 2011 19:26:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.158.132 with SMTP id h4mr13285523icx.0.1323142001136; Mon, 05 Dec 2011 19:26:41 -0800 (PST) Received: by 10.231.184.149 with HTTP; Mon, 5 Dec 2011 19:26:41 -0800 (PST) In-Reply-To: <5E7F61A5-DDC9-463B-85CC-834C5DADC125@fisglobal.com> References: <5E7F61A5-DDC9-463B-85CC-834C5DADC125@fisglobal.com> Date: Mon, 5 Dec 2011 22:26:41 -0500 Message-ID: From: Alejandro Imass To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: * Re: IPSec in Jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 03:26:43 -0000 On Sun, Dec 4, 2011 at 11:54 AM, Devin Teske wrote: > > We're using 8.1 + VIMAGE and using openvpn, ipfw, and IPSec within jail successfully. > > No stability issues with other jails (so far), but then again only been running that setup (with IPSec/openvpn in a vimage) for a few weeks now. But, so far so good! > -- > Devin Thanks for your comments! I guess we' ll go ahead then. -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 03:40:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E81B41065675 for ; Tue, 6 Dec 2011 03:40:17 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id C87308FC13 for ; Tue, 6 Dec 2011 03:40:17 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB63eAqp024103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Dec 2011 19:40:11 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB63eA4w024102; Mon, 5 Dec 2011 19:40:10 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12078; Mon, 5 Dec 11 19:24:40 PST Date: Tue, 06 Dec 2011 02:23:57 -0800 From: perryh@pluto.rain.com To: dnelson@allantgroup.com Message-Id: <4edded3d.1lu8b8nzIWjHRsxo%perryh@pluto.rain.com> References: <20111205105130.161fc78a@mr129166> <20111205173845.GA53453@dan.emsphone.com> In-Reply-To: <20111205173845.GA53453@dan.emsphone.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, patfbsd@davenulle.org Subject: Re: Command which does not work anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 03:40:18 -0000 Dan Nelson wrote: > dd with a bs= option tells dd to use read() syscalls with a 10mb > size, but ssh is going to feed it data in much smaller chunks ... > Try using a smaller blocksize (8k or 4k), or use a buffering > program like ports/misc/team or misc/buffer just in front of your > dd command, so that dd always sees block-sized writes from its > stdin stream. or specify something along the lines of "obs=126b" instead of "bs=", so that dd will reblock the data itself. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 11:22:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 037AD106564A for ; Tue, 6 Dec 2011 11:22:48 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id D989C8FC16 for ; Tue, 6 Dec 2011 11:22:47 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 401FB50838 for ; Tue, 6 Dec 2011 03:22:47 -0800 (PST) To: freebsd-questions@freebsd.org Date: Tue, 06 Dec 2011 03:22:47 -0800 Message-ID: <66927.1323170567@tristatelogic.com> From: "Ronald F. Guilmette" Subject: drivin' me nuts: permissions and cdda2wav X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 11:22:48 -0000 With a pre-recorded CD in the drive, the following works fine for me when I'm root: cdda2wav -D 0,0,0 -B My question is: What do I need to do in order to make this work also when executed from a non-root account? Here's what I get when I try to do the above from a non-root account: cdda2wav: Permission denied. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. You can also define the default device in the Makefile. For possible transport specifiers try 'cdda2wav dev=help'. Effing hell! I've tried just about everything I can think of off the top of my head to beat this and nothing works. I've tried chmod 0660 /dev/pass* (and yes, the account I'm trying these experiments from _is_ a member of the `operator' group), but that didn't help a bit. And before anybody asks, let me say that yes, I _do_ have: atapicam_load="YES" in my /boot/loader.conf file. So how exactly does one adjust the permissions on one of these atamicam pseudo-SCSI devices. Where are they underneath /dev ? Please excuse my ignorance, but I just don't know. <> All I really wanted to do is to rip an "E"CD (enhanced CD) that I own, using abcde. I found out that cdparanoia chokes on the ECD, so I'm trying to figure out how to make abcde work with cdda2wav, but it apparently isn't at all easy. (Any hints or advice welcomed.) Oh! And by the way, this causes a segfault and a core dump: cdda2wav -D /dev/acd0 -B I'll have to send in a PR on that, I guess, but it is rather stunning to me that nobody even tested for that. Regards, rfg From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 12:07:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE35A106566B for ; Tue, 6 Dec 2011 12:07:30 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id E17F68FC0A for ; Tue, 6 Dec 2011 12:07:27 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id pB6BlPsx068368; Tue, 6 Dec 2011 11:47:26 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4EDE00CD.6070507@qeng-ho.org> Date: Tue, 06 Dec 2011 11:47:25 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111112 Thunderbird/8.0 MIME-Version: 1.0 To: "Ronald F. Guilmette" References: <66927.1323170567@tristatelogic.com> In-Reply-To: <66927.1323170567@tristatelogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: drivin' me nuts: permissions and cdda2wav X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 12:07:31 -0000 On 12/06/11 11:22, Ronald F. Guilmette wrote: > With a pre-recorded CD in the drive, the following works fine for me when > I'm root: > > cdda2wav -D 0,0,0 -B > > My question is: What do I need to do in order to make this work also > when executed from a non-root account? > > Here's what I get when I try to do the above from a non-root account: > > cdda2wav: Permission denied. Cannot open or use SCSI driver. > cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. > Probably you did not define your SCSI device. > Set the CDDA_DEVICE environment variable or use the -D option. > You can also define the default device in the Makefile. > For possible transport specifiers try 'cdda2wav dev=help'. > > Effing hell! I've tried just about everything I can think of off the top > of my head to beat this and nothing works. I've tried chmod 0660 /dev/pass* > (and yes, the account I'm trying these experiments from _is_ a member of the > `operator' group), but that didn't help a bit. > > And before anybody asks, let me say that yes, I _do_ have: > > atapicam_load="YES" > > in my /boot/loader.conf file. > > So how exactly does one adjust the permissions on one of these atamicam > pseudo-SCSI devices. Where are they underneath /dev ? Please excuse my > ignorance, but I just don't know. > > <> I've just been through the same experience getting cdparanoia to work for a non-root user under REL 8.2p4. Note that I have the ahci module loaded so my cd is /dev/cd0. You need write access to /dev/cd0 plus the corresponding /dev/passN (use camcontrol devlist to find out which) *and* /dev/xpt0. From my /etc/devfs.conf own cd0 root:operator perm cd0 0660 link cd0 cdrom perm xpt0 0660 perm pass5 0660 This is the relevant part my machine's /dev. I'm in operator group. arthur@fileserver> ls -l /dev/{cd,pass,xpt}* crw-rw---- 1 root operator 0, 97 Nov 23 16:24 /dev/cd0 lrwxr-xr-x 1 root wheel 3 Dec 2 16:08 /dev/cdrom -> cd0 crw------- 1 root operator 0, 91 Nov 23 16:24 /dev/pass0 crw------- 1 root operator 0, 92 Nov 23 16:24 /dev/pass1 crw------- 1 root operator 0, 93 Nov 23 16:24 /dev/pass2 crw------- 1 root operator 0, 94 Nov 23 16:24 /dev/pass3 crw------- 1 root operator 0, 95 Nov 23 16:24 /dev/pass4 crw-rw---- 1 root operator 0, 96 Nov 23 16:24 /dev/pass5 crw------- 1 root operator 0, 113 Nov 23 16:24 /dev/pass6 crw------- 1 root operator 0, 115 Nov 23 16:24 /dev/pass7 crw------- 1 root operator 0, 116 Nov 23 16:24 /dev/pass8 crw------- 1 root operator 0, 118 Nov 23 16:24 /dev/pass9 crw-rw---- 1 root operator 0, 61 Nov 23 16:24 /dev/xpt0 And how to find which /dev/passN corresponds to the cd drive: arthur@fileserver> camcontrol devlist | grep cd at scbus7 target 0 lun 0 (cd0,pass5) > All I really wanted to do is to rip an "E"CD (enhanced CD) that I own, > using abcde. I found out that cdparanoia chokes on the ECD, so I'm trying > to figure out how to make abcde work with cdda2wav, but it apparently isn't > at all easy. (Any hints or advice welcomed.) > > Oh! And by the way, this causes a segfault and a core dump: > > cdda2wav -D /dev/acd0 -B > > I'll have to send in a PR on that, I guess, but it is rather stunning to me > that nobody even tested for that. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 13:10:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997F61065672 for ; Tue, 6 Dec 2011 13:10:35 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB788FC08 for ; Tue, 6 Dec 2011 13:10:34 +0000 (UTC) Received: from baby-jane.lamaiziere.net (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id A066BFAA31A5; Tue, 6 Dec 2011 14:10:33 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id B922473A21; Tue, 6 Dec 2011 14:09:48 +0100 (CET) Date: Tue, 6 Dec 2011 14:09:48 +0100 From: Patrick Lamaiziere To: Dan Nelson Message-ID: <20111206140948.08e5af9d@mr129166> In-Reply-To: <20111205173845.GA53453@dan.emsphone.com> References: <20111205105130.161fc78a@mr129166> <20111205173845.GA53453@dan.emsphone.com> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: FreeBSD Subject: Re: Command which does not work anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 13:10:35 -0000 Le Mon, 5 Dec 2011 11:38:46 -0600, Dan Nelson a crit : Hello, > dd with a bs= option tells dd to use read() syscalls with a 10mb > size, but ssh is going to feed it data in much smaller chunks, and > they're unlikely to be multiples of a disk block in size (which you > have to use if you are writing directly to a raw disk device). The > "0+5 records in/0+4 records out" lines say that dd read 5 blocks of > data (but they were less than 10mb), and wrote 4 blocks (again less > than 10mb). Try using a smaller blocksize (8k or 4k), or use a > buffering program like ports/misc/team or misc/buffer just in front > of your dd command, so that dd always sees block-sized writes from > its stdin stream. > > If that command worked in 8.2, it was just by accident. Ah ok! Thanks a lot for the explanation. Regards. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 16:10:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94D781065673 for ; Tue, 6 Dec 2011 16:10:09 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 23B728FC08 for ; Tue, 6 Dec 2011 16:10:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqMIANg03k6kD30E/2dsb2JhbAAMN4UFoyGDPwEBAQSCEVU9FgsCCwMCAQIBSw0IAQGrRpITihyBFgSOEIEVineMaw Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 06 Dec 2011 16:41:21 +0100 Message-ID: <4EDE37A1.5030306@ulb.ac.be> Date: Tue, 06 Dec 2011 16:41:21 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: multipart/mixed; boundary="------------030208050507080208070005" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: AHCI timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 16:10:09 -0000 This is a multi-part message in MIME format. --------------030208050507080208070005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in my graid3 array and I replaced it with a new one, and now have tons of: ahcich3: Timeout on slot 5 port 0 ahcich3: is 00000000 cs 00000000 ss 00003f60 rs 00003f60 tfd 40 serr 00000000 cmd 0000ed17 ahcich3: Timeout on slot 0 port 0 ahcich3: is 00000000 cs 00000000 ss 00000003 rs 00000003 tfd 40 serr 00000000 cmd 0000e117 ahcich3: Timeout on slot 1 port 0 ahcich3: is 00000000 cs 00000000 ss 000003fe rs 000003fe tfd 40 serr 00000000 cmd 0000e917 ahcich3: Timeout on slot 16 port 0 ahcich3: is 00000000 cs 00000000 ss 00030000 rs 00030000 tfd 40 serr 00000000 cmd 0000f217 ahcich3: Timeout on slot 15 port 0 ahcich3: is 00000000 cs 00000000 ss 00018000 rs 00018000 tfd 40 serr 00000000 cmd 0000f017 ahcich3: Timeout on slot 19 port 0 ahcich3: is 00000000 cs 00000000 ss 00780000 rs 00780000 tfd 40 serr 00000000 cmd 0000f617 ahcich3: Timeout on slot 11 port 0 ahcich3: is 00000000 cs 00000000 ss 000ff800 rs 000ff800 tfd 40 serr 00000000 cmd 0000f317 ahcich3: Timeout on slot 13 port 0 ahcich3: is 00000000 cs 00000000 ss 00006000 rs 00006000 tfd 40 serr 00000000 cmd 0000ef17 ahcich3: Timeout on slot 11 port 0 ahcich3: is 00000000 cs 00000000 ss 001ff800 rs 001ff800 tfd 40 serr 00000000 cmd 0000f417 ahcich3: Timeout on slot 19 port 0 ahcich3: is 00000000 cs 00000000 ss 00380000 rs 00380000 tfd 40 serr 00000000 cmd 0000f517 ahcich3: Timeout on slot 29 port 0 ahcich3: is 00000000 cs 00000000 ss e000001f rs e000001f tfd 40 serr 00000000 cmd 0000e417 ahcich3: Timeout on slot 27 port 0 ahcich3: is 00000000 cs 00000000 ss 18000000 rs 18000000 tfd 40 serr 00000000 cmd 0000fc17 ahcich3: Timeout on slot 4 port 0 ahcich3: is 00000000 cs 00000000 ss 00001ff0 rs 00001ff0 tfd 40 serr 00000000 cmd 0000ec17 ahcich3: Timeout on slot 28 port 0 ahcich3: is 00000000 cs 00000000 ss 70000000 rs 70000000 tfd 40 serr 00000000 cmd 0000fe17 ahcich3: Timeout on slot 8 port 0 ahcich3: is 00000000 cs 00000000 ss 0000ff00 rs 0000ff00 tfd 40 serr 00000000 cmd 0000ef17 ahcich3: Timeout on slot 29 port 0 ahcich3: is 00000000 cs 00000000 ss 60000000 rs 60000000 tfd 40 serr 00000000 cmd 0000ff17 ahcich3: Timeout on slot 16 port 0 ahcich3: is 00000000 cs 00000000 ss 00070000 rs 00070000 tfd 40 serr 00000000 cmd 0000f217 ahcich3: Timeout on slot 19 port 0 ahcich3: is 00000000 cs 00000000 ss 00780000 rs 00780000 tfd 40 serr 00000000 cmd 0000f617 ahcich3: Timeout on slot 7 port 0 ahcich3: is 00000000 cs 00000000 ss 00007f80 rs 00007f80 tfd 40 serr 00000000 cmd 0000ee17 ahcich3: Timeout on slot 16 port 0 ahcich3: is 00000000 cs 00000000 ss 00070000 rs 00070000 tfd 40 serr 00000000 cmd 0000f217 ahcich3: Timeout on slot 0 port 0 ahcich3: is 00000000 cs 00000000 ss 00000007 rs 00000007 tfd 40 serr 00000000 cmd 0000e217 ahcich3: Timeout on slot 20 port 0 ahcich3: is 00000000 cs 00000000 ss 01b00000 rs 01b00000 tfd 40 serr 00000000 cmd 0000f817 ahcich3: Timeout on slot 20 port 0 ahcich3: is 00000000 cs 00000000 ss 00b00000 rs 00b00000 tfd 40 serr 00000000 cmd 0000f717 ahcich3: Timeout on slot 15 port 0 (...) Those are Seagate disks: jcigar@backup conf % sudo camcontrol devlist at scbus0 target 0 lun 0 (pass0,ada0) at scbus1 target 0 lun 0 (pass1,ada1) at scbus2 target 0 lun 0 (pass2,ada2) at scbus3 target 0 lun 0 (pass3,ada3) The controller is: ahci0@pci0:0:17:0: class=0x010601 card=0x1609103c chip=0x43911002 rev=0x40 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' class = mass storage subclass = SATA jcigar@backup conf % vmstat -i interrupt total rate irq17: ehci0 ehci1+ 2 0 irq18: ohci0 ohci1+ 30 0 irq256: bge0 31354 4 irq257: ahci0 19012658 2477 irq258: hpet0:t0 4926229 641 irq259: hpet0:t1 4635261 603 Total 28605534 3727 Any idea what could be the cause of this ... ? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------030208050507080208070005-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 16:12:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E16A106564A for ; Tue, 6 Dec 2011 16:12:27 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id CAE2D8FC12 for ; Tue, 6 Dec 2011 16:12:26 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa07 [127.0.0.1]) by ltcfislmsgpa07.fnfis.com (8.14.4/8.14.4) with SMTP id pB6FUJke021505; Tue, 6 Dec 2011 10:12:25 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa07.fnfis.com with ESMTP id 11hnrar67k-53 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 06 Dec 2011 10:12:25 -0600 Received: from dtwin (10.14.152.48) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 6 Dec 2011 10:11:55 -0600 From: Devin Teske To: "'Arthur Chance'" , "'Ronald F. Guilmette'" References: <66927.1323170567@tristatelogic.com> <4EDE00CD.6070507@qeng-ho.org> In-Reply-To: <4EDE00CD.6070507@qeng-ho.org> Date: Tue, 6 Dec 2011 08:12:00 -0800 Message-ID: <04d201ccb431$c9e46f10$5dad4d30$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJbTDqwVFQQe8XRh5ICyJSGYpzQ+ALMJDFDlJtmnPA= Content-Language: en-us X-Originating-IP: [10.14.152.48] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-06_04:2011-12-06, 2011-12-06, 1970-01-01 signatures=0 Cc: freebsd-questions@freebsd.org, devin.teske@fisglobal.com Subject: RE: drivin' me nuts: permissions and cdda2wav X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 16:12:27 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Arthur Chance > Sent: Tuesday, December 06, 2011 3:47 AM > To: Ronald F. Guilmette > Cc: freebsd-questions@freebsd.org > Subject: Re: drivin' me nuts: permissions and cdda2wav > > On 12/06/11 11:22, Ronald F. Guilmette wrote: > > With a pre-recorded CD in the drive, the following works fine for me > > when I'm root: > > > > cdda2wav -D 0,0,0 -B > > > > My question is: What do I need to do in order to make this work also > > when executed from a non-root account? > > > > Here's what I get when I try to do the above from a non-root account: > > > > cdda2wav: Permission denied. Cannot open or use SCSI driver. > > cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are > root. > > Probably you did not define your SCSI device. > > Set the CDDA_DEVICE environment variable or use the -D option. > > You can also define the default device in the Makefile. > > For possible transport specifiers try 'cdda2wav dev=help'. > > > > Effing hell! I've tried just about everything I can think of off the > > top of my head to beat this and nothing works. I've tried chmod 0660 > > /dev/pass* (and yes, the account I'm trying these experiments from > > _is_ a member of the `operator' group), but that didn't help a bit. > > > > And before anybody asks, let me say that yes, I _do_ have: > > > > atapicam_load="YES" > > > > in my /boot/loader.conf file. > > > > So how exactly does one adjust the permissions on one of these > > atamicam pseudo-SCSI devices. Where are they underneath /dev ? > > Please excuse my ignorance, but I just don't know. > > > > <> > > I've just been through the same experience getting cdparanoia to work for a non- > root user under REL 8.2p4. Note that I have the ahci module loaded so my cd is > /dev/cd0. > > You need write access to /dev/cd0 plus the corresponding /dev/passN (use > camcontrol devlist to find out which) *and* /dev/xpt0. > > From my /etc/devfs.conf > > own cd0 root:operator > perm cd0 0660 > link cd0 cdrom > perm xpt0 0660 > perm pass5 0660 > An alternative approach would be to create files in /etc/devd For example, creating the configuration file "/etc/devd/mydevice.conf" with the following contents: notify 100 { match "system" "DEVFS"; match "subsystem" "CDEV"; match "cdev" "pass[0-9]"; match "type" "CREATE"; action "/bin/chmod 666 /dev/$cdev"; }; Will cause the system to execute the associated-action whenever /dev/pass[0-9] is created in realtime by devd. A really cute way to log devfs activity is to create /etc/devd/logger.conf with these contents: notify 100 { action "logger DEVD ACTIVITY LOGGER"; action "logger bus == $bus"; action "logger cdev == $cdev"; action "logger cisproduct == $cisproduct"; action "logger cisvendor == $cisvendor"; action "logger class == $class"; action "logger device == $device"; action "logger devclass == $devclass"; action "logger device-name == $device-name"; action "logger endpoints == $endpoints"; action "logger function == $function"; action "logger interface == $interface"; action "logger intclass == $intclass"; action "logger intprotocol == $intprotocol"; action "logger intsubclass == $intsubclass"; action "logger manufacturer == $manufacturer"; action "logger mode == $mode"; action "logger notify == $notify"; action "logger parent == $parent"; action "logger port == $port"; action "logger product == $product"; action "logger release == $release"; action "logger serial == $serial"; action "logger slot == $slot"; action "logger subvendor == $subvendor"; action "logger subdevice == $subdevice"; action "logger subsystem == $subsystem"; action "logger system == $system"; action "logger type == $type"; action "logger vendor == $vendor"; }; Once the above file is installed, just bounce the devd process and now whenever a device is created or destroyed (for example, when performing "camcontrol rescan all" or plugging/un-plugging USB devices), /var/log/messages will show you all the criteria that you can match-against for your given device. -- Devin > > This is the relevant part my machine's /dev. I'm in operator group. > > arthur@fileserver> ls -l /dev/{cd,pass,xpt}* > crw-rw---- 1 root operator 0, 97 Nov 23 16:24 /dev/cd0 > lrwxr-xr-x 1 root wheel 3 Dec 2 16:08 /dev/cdrom -> cd0 > crw------- 1 root operator 0, 91 Nov 23 16:24 /dev/pass0 > crw------- 1 root operator 0, 92 Nov 23 16:24 /dev/pass1 > crw------- 1 root operator 0, 93 Nov 23 16:24 /dev/pass2 > crw------- 1 root operator 0, 94 Nov 23 16:24 /dev/pass3 > crw------- 1 root operator 0, 95 Nov 23 16:24 /dev/pass4 > crw-rw---- 1 root operator 0, 96 Nov 23 16:24 /dev/pass5 > crw------- 1 root operator 0, 113 Nov 23 16:24 /dev/pass6 > crw------- 1 root operator 0, 115 Nov 23 16:24 /dev/pass7 > crw------- 1 root operator 0, 116 Nov 23 16:24 /dev/pass8 > crw------- 1 root operator 0, 118 Nov 23 16:24 /dev/pass9 > crw-rw---- 1 root operator 0, 61 Nov 23 16:24 /dev/xpt0 > > > And how to find which /dev/passN corresponds to the cd drive: > > arthur@fileserver> camcontrol devlist | grep cd > at scbus7 target 0 lun 0 (cd0,pass5) > > > > > All I really wanted to do is to rip an "E"CD (enhanced CD) that I own, > > using abcde. I found out that cdparanoia chokes on the ECD, so I'm > > trying to figure out how to make abcde work with cdda2wav, but it > > apparently isn't at all easy. (Any hints or advice welcomed.) > > > > Oh! And by the way, this causes a segfault and a core dump: > > > > cdda2wav -D /dev/acd0 -B > > > > I'll have to send in a PR on that, I guess, but it is rather stunning > > to me that nobody even tested for that. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 17:14:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E7B106566B for ; Tue, 6 Dec 2011 17:14:31 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2798FC19 for ; Tue, 6 Dec 2011 17:14:30 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id pB6HE5Q5069370; Tue, 6 Dec 2011 17:14:05 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4EDE4D5D.2010606@qeng-ho.org> Date: Tue, 06 Dec 2011 17:14:05 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111112 Thunderbird/8.0 MIME-Version: 1.0 To: Devin Teske References: <66927.1323170567@tristatelogic.com> <4EDE00CD.6070507@qeng-ho.org> <04d201ccb431$c9e46f10$5dad4d30$@fisglobal.com> In-Reply-To: <04d201ccb431$c9e46f10$5dad4d30$@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "'Ronald F. Guilmette'" Subject: Re: drivin' me nuts: permissions and cdda2wav X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 17:14:32 -0000 On 12/06/11 16:12, Devin Teske wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Arthur Chance >> Sent: Tuesday, December 06, 2011 3:47 AM >> To: Ronald F. Guilmette >> Cc: freebsd-questions@freebsd.org >> Subject: Re: drivin' me nuts: permissions and cdda2wav >> >> On 12/06/11 11:22, Ronald F. Guilmette wrote: >>> With a pre-recorded CD in the drive, the following works fine for me >>> when I'm root: >>> >>> cdda2wav -D 0,0,0 -B >>> >>> My question is: What do I need to do in order to make this work also >>> when executed from a non-root account? >>> >>> Here's what I get when I try to do the above from a non-root account: >>> >>> cdda2wav: Permission denied. Cannot open or use SCSI driver. >>> cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are >> root. >>> Probably you did not define your SCSI device. >>> Set the CDDA_DEVICE environment variable or use the -D option. >>> You can also define the default device in the Makefile. >>> For possible transport specifiers try 'cdda2wav dev=help'. >>> >>> Effing hell! I've tried just about everything I can think of off the >>> top of my head to beat this and nothing works. I've tried chmod 0660 >>> /dev/pass* (and yes, the account I'm trying these experiments from >>> _is_ a member of the `operator' group), but that didn't help a bit. >>> >>> And before anybody asks, let me say that yes, I _do_ have: >>> >>> atapicam_load="YES" >>> >>> in my /boot/loader.conf file. >>> >>> So how exactly does one adjust the permissions on one of these >>> atamicam pseudo-SCSI devices. Where are they underneath /dev ? >>> Please excuse my ignorance, but I just don't know. >>> >>> <> >> >> I've just been through the same experience getting cdparanoia to work for a > non- >> root user under REL 8.2p4. Note that I have the ahci module loaded so my cd is >> /dev/cd0. >> >> You need write access to /dev/cd0 plus the corresponding /dev/passN (use >> camcontrol devlist to find out which) *and* /dev/xpt0. >> >> From my /etc/devfs.conf >> >> own cd0 root:operator >> perm cd0 0660 >> link cd0 cdrom >> perm xpt0 0660 >> perm pass5 0660 >> > > An alternative approach would be to create files in /etc/devd > > For example, creating the configuration file "/etc/devd/mydevice.conf" with the > following contents: > > notify 100 { > match "system" "DEVFS"; > match "subsystem" "CDEV"; > match "cdev" "pass[0-9]"; > match "type" "CREATE"; > action "/bin/chmod 666 /dev/$cdev"; > }; > > Will cause the system to execute the associated-action whenever /dev/pass[0-9] > is created in realtime by devd. > > A really cute way to log devfs activity is to create /etc/devd/logger.conf with > these contents: > > notify 100 { > action "logger DEVD ACTIVITY LOGGER"; > action "logger bus == $bus"; > action "logger cdev == $cdev"; > action "logger cisproduct == $cisproduct"; > action "logger cisvendor == $cisvendor"; > action "logger class == $class"; > action "logger device == $device"; > action "logger devclass == $devclass"; > action "logger device-name == $device-name"; > action "logger endpoints == $endpoints"; > action "logger function == $function"; > action "logger interface == $interface"; > action "logger intclass == $intclass"; > action "logger intprotocol == $intprotocol"; > action "logger intsubclass == $intsubclass"; > action "logger manufacturer == $manufacturer"; > action "logger mode == $mode"; > action "logger notify == $notify"; > action "logger parent == $parent"; > action "logger port == $port"; > action "logger product == $product"; > action "logger release == $release"; > action "logger serial == $serial"; > action "logger slot == $slot"; > action "logger subvendor == $subvendor"; > action "logger subdevice == $subdevice"; > action "logger subsystem == $subsystem"; > action "logger system == $system"; > action "logger type == $type"; > action "logger vendor == $vendor"; > }; > > Once the above file is installed, just bounce the devd process and now whenever > a device is created or destroyed (for example, when performing "camcontrol > rescan all" or plugging/un-plugging USB devices), /var/log/messages will show > you all the criteria that you can match-against for your given device. Excellent as a general purpose diagnostic for pluggable devices, but for a CD drive that's permanently wired to a SATA port and has its SCSI address fixed by device hints like mine it's rather overkill. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 17:42:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10923106566B for ; Tue, 6 Dec 2011 17:42:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C7C3B8FC0A for ; Tue, 6 Dec 2011 17:42:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-89-217.dynamic.qsc.de [92.195.89.217]) by mx02.qsc.de (Postfix) with ESMTP id 089021E5D0; Tue, 6 Dec 2011 18:42:47 +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 pB6Hgl4c002318; Tue, 6 Dec 2011 18:42:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 6 Dec 2011 18:42:47 +0100 From: Polytropon To: Arthur Chance Message-Id: <20111206184247.f334d5cc.freebsd@edvax.de> In-Reply-To: <4EDE4D5D.2010606@qeng-ho.org> References: <66927.1323170567@tristatelogic.com> <4EDE00CD.6070507@qeng-ho.org> <04d201ccb431$c9e46f10$5dad4d30$@fisglobal.com> <4EDE4D5D.2010606@qeng-ho.org> 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 Cc: freebsd-questions@freebsd.org, "'Ronald F. Guilmette'" Subject: Re: drivin' me nuts: permissions and cdda2wav X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 17:42:50 -0000 On Tue, 06 Dec 2011 17:14:05 +0000, Arthur Chance wrote: > Excellent as a general purpose diagnostic for pluggable devices, but for > a CD drive that's permanently wired to a SATA port and has its SCSI > address fixed by device hints like mine it's rather overkill. I think in such a case going with /etc/devfs.conf permissions is the easiest way to go. I'm also following such an approach. link cd0 cdrom link cd0 dvd own cd0 root:operator perm cd0 0664 own xpt0 root:operator perm xpt0 0660 own pass0 root:operator perm pass0 0660 -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 17:55:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79F9106567F for ; Tue, 6 Dec 2011 17:55:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D1DBC8FC1C for ; Tue, 6 Dec 2011 17:55:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXzEQ-0006Yg-V5 for freebsd-questions@freebsd.org; Tue, 06 Dec 2011 18:55:06 +0100 Received: from 186.57.130.236 ([186.57.130.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Dec 2011 18:55:06 +0100 Received: from daniel-listas by 186.57.130.236 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Dec 2011 18:55:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Daniel Bareiro Date: Tue, 6 Dec 2011 14:46:53 -0300 Organization: Freesoftware.org Lines: 42 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 186.57.130.236 User-Agent: slrn/pre0.9.9-111 (Linux) Subject: VirtualBox and VNC keymap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 17:55:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all! I'm using VirtualBox OSE (4.0.14_OSEr74382) on a host without a GUI (FreeBSD 8.2-RELEASE) and I'm trying to connect via VNC to install a VM with Debian Squeeze. The procedure I used to install VirtualBox is this [1]. The syntax I use on VirtualBox OSE to start the VM is the following: $ VBoxHeadless -startvm Debian --vnc --vncport 5901 But it seems that the keyboard is misconfigured. I have a spanish keyboard and, for example, if I type ":" I get a "Ñ", or pressing ")" I get an "=". I tried several clients (xtightvncviewer and xvnc4viewer). I also tried with a Debian VMHost and I found the same behavior on VirtualBox 3.2.4 (Lenny Backports) and VirtualBox 3.2.10 (Squeeze), which makes me think that this is some bug in VirtualBox VNC code. Has anyone experienced this behavior and was able to resolve in any way? Thanks in advance. Regards, Daniel [1] http://wiki.freebsd.org/VirtualBox -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk7eVQ0ACgkQZpa/GxTmHTfqwgCgj1QfIqwscj6XMb1rsA06ktbw yeoAnRzCqB1YSr+jSKh3dxDYNa26XMgN =DVM9 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 18:25:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCCDE106566C for ; Tue, 6 Dec 2011 18:25:43 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDD58FC15 for ; Tue, 6 Dec 2011 18:25:42 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so8246523vbb.13 for ; Tue, 06 Dec 2011 10:25:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.37.71 with SMTP id w7mr2918465obj.41.1323195941671; Tue, 06 Dec 2011 10:25:41 -0800 (PST) Received: by 10.182.187.8 with HTTP; Tue, 6 Dec 2011 10:25:41 -0800 (PST) X-Originating-IP: [93.221.179.226] In-Reply-To: <4EDE37A1.5030306@ulb.ac.be> References: <4EDE37A1.5030306@ulb.ac.be> Date: Tue, 6 Dec 2011 19:25:41 +0100 Message-ID: From: "C. P. Ghost" To: Julien Cigar Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: AHCI timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 18:25:43 -0000 On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar wrote: > Hello, > > I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in m= y > graid3 array and I replaced it with a new one, and now have tons of: > > ahcich3: Timeout on slot 5 port 0 > ahcich3: is 00000000 cs 00000000 ss 00003f60 rs 00003f60 tfd 40 serr > 00000000 cmd 0000ed17 Check the connectors, both on disk and on the controller. They're usually the culprit. Sometimes it is also a firmware problem, but I'll try to replace the cables first. > (...) > > Those are Seagate disks: > > jcigar@backup conf % sudo camcontrol devlist > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 at scbus0 target 0 lun= 0 (pass0,ada0) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus1 target 0 lun= 0 (pass1,ada1) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus2 target 0 lun= 0 (pass2,ada2) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus3 target 0 lun= 0 (pass3,ada3) > > The controller is: > > ahci0@pci0:0:17:0: =A0 =A0 =A0class=3D0x010601 card=3D0x1609103c chip=3D0= x43911002 > rev=3D0x40 hdr=3D0x00 > =A0 =A0vendor =A0 =A0 =3D 'ATI Technologies Inc' > =A0 =A0device =A0 =A0 =3D 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' > =A0 =A0class =A0 =A0 =A0=3D mass storage > =A0 =A0subclass =A0 =3D SATA > > jcigar@backup conf % vmstat -i > interrupt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0total =A0 = =A0 =A0 rate > irq17: ehci0 ehci1+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0 = =A0 =A00 > irq18: ohci0 ohci1+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 30 =A0 =A0 =A0 = =A0 =A00 > irq256: bge0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 31354 =A0 =A0 = =A0 =A0 =A04 > irq257: ahci0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 19012658 =A0 =A0 =A0 24= 77 > irq258: hpet0:t0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4926229 =A0 =A0 =A0 =A06= 41 > irq259: hpet0:t1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4635261 =A0 =A0 =A0 =A06= 03 > Total =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 28605534 =A0 = =A0 =A0 3727 > > > Any idea what could be the cause of this ... ? > > > Thanks, > Julien -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 19:42:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A44CA1065670 for ; Tue, 6 Dec 2011 19:42:39 +0000 (UTC) (envelope-from linnemannr@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7C45D8FC08 for ; Tue, 6 Dec 2011 19:42:39 +0000 (UTC) Received: by dakp5 with SMTP id p5so3372529dak.13 for ; Tue, 06 Dec 2011 11:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=D1xgRnbaftj80zjCqGb4pEaSCNr40O0m07mu18JisQc=; b=Gddsk55Wtj8w5g4i1bEt2q30lMvsLTWZ7Ovi01FuBUKOXwYUIZkeJPybjQcGlBgOw8 yOX0poDOVdHbyJJukg0L5R3oVxEbCwYRo/s2eP5FXvkhl7uZhhBV/p92tYTCo0YUchcF wtxhrGhpkId7/p/GOMsFwGfuE97BUGnvZOHhY= MIME-Version: 1.0 Received: by 10.68.59.4 with SMTP id v4mr34931013pbq.114.1323200558938; Tue, 06 Dec 2011 11:42:38 -0800 (PST) Sender: linnemannr@gmail.com Received: by 10.142.196.12 with HTTP; Tue, 6 Dec 2011 11:42:38 -0800 (PST) In-Reply-To: References: <4EDE37A1.5030306@ulb.ac.be> Date: Tue, 6 Dec 2011 13:42:38 -0600 X-Google-Sender-Auth: V4VVkvkw4MBL1q-uJrgzszLN1sQ Message-ID: From: Reid Linnemann To: "C. P. Ghost" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Julien Cigar , FreeBSD Mailing List Subject: Re: AHCI timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 19:42:39 -0000 On Tue, Dec 6, 2011 at 12:25 PM, C. P. Ghost wrote: > On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar wrote: >> Hello, >> >> I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in = my >> graid3 array and I replaced it with a new one, and now have tons of: >> >> ahcich3: Timeout on slot 5 port 0 >> ahcich3: is 00000000 cs 00000000 ss 00003f60 rs 00003f60 tfd 40 serr >> 00000000 cmd 0000ed17 > > Check the connectors, both on disk and on the controller. They're > usually the culprit. Sometimes it is also a firmware problem, but > I'll try to replace the cables first. > >> (...) >> >> Those are Seagate disks: >> >> jcigar@backup conf % sudo camcontrol devlist >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 at scbus0 target 0 lu= n 0 (pass0,ada0) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus1 target 0 lu= n 0 (pass1,ada1) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus2 target 0 lu= n 0 (pass2,ada2) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at scbus3 target 0 lu= n 0 (pass3,ada3) >> >> The controller is: >> >> ahci0@pci0:0:17:0: =A0 =A0 =A0class=3D0x010601 card=3D0x1609103c chip=3D= 0x43911002 >> rev=3D0x40 hdr=3D0x00 >> =A0 =A0vendor =A0 =A0 =3D 'ATI Technologies Inc' >> =A0 =A0device =A0 =A0 =3D 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]= ' >> =A0 =A0class =A0 =A0 =A0=3D mass storage >> =A0 =A0subclass =A0 =3D SATA >> >> jcigar@backup conf % vmstat -i >> interrupt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0total =A0 = =A0 =A0 rate >> irq17: ehci0 ehci1+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A02 =A0 =A0 =A0= =A0 =A00 >> irq18: ohci0 ohci1+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 30 =A0 =A0 =A0 = =A0 =A00 >> irq256: bge0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 31354 =A0 =A0 = =A0 =A0 =A04 >> irq257: ahci0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 19012658 =A0 =A0 =A0 2= 477 >> irq258: hpet0:t0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4926229 =A0 =A0 =A0 =A0= 641 >> irq259: hpet0:t1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 4635261 =A0 =A0 =A0 =A0= 603 >> Total =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 28605534 =A0 = =A0 =A0 3727 >> >> >> Any idea what could be the cause of this ... ? >> >> >> Thanks, >> Julien > > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" I've had similar problems with a failing power supply when I used to run a gmirror on 7-STABLE. I was not running with AHCI, so I did not get the same messages; but I did get repeated WRITE_DMA timeouts on my da disks that eventually resulted in one disk being detached from the mirror. Cold booting was an arduous process because 9 boots of 10 the system would start sputtering out on DMA timeouts almost immediately after mounting the filesystems, and take well over 30 minutes just to get through rc. I changed cables, swapped the disks around, checked smartctl over and over to no avail. Eventually I bought a new rig and hooked it up to the original power supply - the problems persisted. I swapped in the new power supply and hey presto! the problems went away. You mentioned hardware failure in the original disk, so it might not be too far of a stretch to consider the power supply might also have suffered a failure. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 20:03:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBF821065672 for ; Tue, 6 Dec 2011 20:03:40 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8158FC1A for ; Tue, 6 Dec 2011 20:03:39 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.5/8.14.5) with ESMTP id pB6Jo6TT032272 for ; Tue, 6 Dec 2011 20:50:07 +0100 (CET) (envelope-from ulrich@pukruppa.de) Message-ID: <4EDE71EE.5040207@pukruppa.de> Date: Tue, 06 Dec 2011 20:50:06 +0100 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <74a317314b401d66fcf07f1cfaa31f3a@sdnet.info> In-Reply-To: <74a317314b401d66fcf07f1cfaa31f3a@sdnet.info> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Nuxeo install in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 20:03:40 -0000 Hello Bruno, On 05.12.2011 21:47, Bruno Gruel wrote: > Hello, > > I just want to know if someone already try to install NUXEO on a FreeBSD. > I try some month later without sucess. I will try to install it on > FreeBSD82 to day. For the fun of it I just tried the nuxeo-dm-5.4.2-tomcat package on my FreeBSD 9.0-RC1 (which in this case shouldn't make a difference to your 8.2) with jdk-1.6.0_03-p4. I unzipped the thing in /usr/local and tried to execute the ./bin/nuxeoctl start command, which failed. Having a look at the first line of this file I found #!/bin/bash But my bash is installed in # which bash /usr/local/bin/bash So I changed the first line of nuxeoctl into #!/usr/local/bin/bash and now I can start and run Nuxeo. I hope that helps Peter. > > I already ask the question on the nuxeo forum without reply.. > > Thank's. > > Bruno > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 00:02:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BFA11065678 for ; Wed, 7 Dec 2011 00:02:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 425318FC12 for ; Wed, 7 Dec 2011 00:02:24 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 24DA350837 for ; Tue, 6 Dec 2011 16:02:24 -0800 (PST) To: freebsd-questions@freebsd.org Date: Tue, 06 Dec 2011 16:02:24 -0800 Message-ID: <84865.1323216144@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 00:02:25 -0000 I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 00:49:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94E871065672 for ; Wed, 7 Dec 2011 00:49:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5952D8FC12 for ; Wed, 7 Dec 2011 00:49:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-89-217.dynamic.qsc.de [92.195.89.217]) by mx02.qsc.de (Postfix) with ESMTP id 3F7741DE76; Wed, 7 Dec 2011 01:49:49 +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 pB70nm1v002276; Wed, 7 Dec 2011 01:49:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 7 Dec 2011 01:49:48 +0100 From: Polytropon To: "Ronald F. Guilmette" Message-Id: <20111207014948.9fb0cb4b.freebsd@edvax.de> In-Reply-To: <84865.1323216144@tristatelogic.com> References: <84865.1323216144@tristatelogic.com> 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 Cc: freebsd-questions@freebsd.org Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 00:49:51 -0000 On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: > I've been trying to look at California Dept. of Transportation webcams > using Firefox on FreeBSD and so far it simply ain't workin'. Somebody > please tell me what I'm doing wrong. > > Yes, I already installed the mozilla-mplayer port. > > Here's where you can get at the webcams: > > http://www.dot.ca.gov/dist3/departments/traffic/cameras/ > > Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a "go to live camera" link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" Did not work. So I checked the actual ASX file content: % wget "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" The file contained some XML: 80 at Whitmore Grade I then choose the first reference to test with mplayer: % mplayer "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80" After the cache has been filled, IT WORKED! It can even run in fullscreen (or you can do all the tricks mplayer and mencoder is capable of). I'm not sure how to integrate that with Firefox (as I am an Opera person), sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 01:24:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF01D106564A for ; Wed, 7 Dec 2011 01:24:44 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 96D6B8FC08 for ; Wed, 7 Dec 2011 01:24:44 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so43661vbb.13 for ; Tue, 06 Dec 2011 17:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tqEpAjshYR+mRqtqXSNKsg9aVs5Cmr712H+ugL0DDiY=; b=cmocDxv2q8pe48GZgyUncBxW+Wo/vA1+5YnAemAbVBhmjr0ZCmkuWAr7YPtq7DxA1E DWutm6NVEGYG/7shk8+pW3tagBHI4oSbBAnYVeYMlzOd27O+7UY+wAsbDtgLEcfy4dRV vETDV0BrKJsZUllQunxzM6/35NVR2sVQ9bPMM= MIME-Version: 1.0 Received: by 10.52.65.1 with SMTP id t1mr9397654vds.121.1323221083845; Tue, 06 Dec 2011 17:24:43 -0800 (PST) Received: by 10.52.165.33 with HTTP; Tue, 6 Dec 2011 17:24:43 -0800 (PST) In-Reply-To: <20111207014948.9fb0cb4b.freebsd@edvax.de> References: <84865.1323216144@tristatelogic.com> <20111207014948.9fb0cb4b.freebsd@edvax.de> Date: Wed, 7 Dec 2011 01:24:43 +0000 Message-ID: From: "Paul B. Mahol" To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 01:24:44 -0000 On 12/7/11, Polytropon wrote: > On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: >> I've been trying to look at California Dept. of Transportation webcams >> using Firefox on FreeBSD and so far it simply ain't workin'. Somebody >> please tell me what I'm doing wrong. >> >> Yes, I already installed the mozilla-mplayer port. >> >> Here's where you can get at the webcams: >> >> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ >> >> Any help would be appreciated. > > Maybe not what you're searching for, but works: > > First I arbitrarily choose a cam from the map. A > window opens with a "go to live camera" link. > Right click, copy link address. > > I tried to directly play it with mplayer which > should have worked: > > % mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" % mplayer -playlist ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 04:19:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 935301065672 for ; Wed, 7 Dec 2011 04:19:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 732D58FC13 for ; Wed, 7 Dec 2011 04:19:18 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 7B63850838 for ; Tue, 6 Dec 2011 20:19:16 -0800 (PST) To: freebsd-questions@freebsd.org In-Reply-To: <20111207014948.9fb0cb4b.freebsd@edvax.de> Date: Tue, 06 Dec 2011 20:19:16 -0800 Message-ID: <86134.1323231556@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 04:19:18 -0000 In message <20111207014948.9fb0cb4b.freebsd@edvax.de>, Polytropon wrote: >On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: >> I've been trying to look at California Dept. of Transportation webcams >> using Firefox on FreeBSD and so far it simply ain't workin'. Somebody >> please tell me what I'm doing wrong. >> >> Yes, I already installed the mozilla-mplayer port. >> >> Here's where you can get at the webcams: >> >> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ >> >> Any help would be appreciated. > >Maybe not what you're searching for, but works: > >First I arbitrarily choose a cam from the map. A >window opens with a "go to live camera" link. >Right click, copy link address. > >I tried to directly play it with mplayer which >should have worked: > > % mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" > >Did not work. So I checked the actual ASX file >content: > > % wget "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" > >The file contained some XML: > > > 80 at Whitmore Grade > > > > > > > > > >I then choose the first reference to test with mplayer: > > % mplayer "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80" > >After the cache has been filled, IT WORKED! Yes! That worked forme too! >It can even run in fullscreen (or you can do all the tricks >mplayer and mencoder is capable of). > >I'm not sure how to integrate that with Firefox (as >I am an Opera person), sorry. well, if you have an idea of how to make it integrate properly with Opera, then tell me how to do that and maybe from that I can figure out how to make it work from within Firefox too. Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 04:23:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 190EF106566C for ; Wed, 7 Dec 2011 04:23:54 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id EF1F58FC14 for ; Wed, 7 Dec 2011 04:23:53 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id AEB3750837 for ; Tue, 6 Dec 2011 20:23:53 -0800 (PST) To: freebsd-questions@freebsd.org In-Reply-To: Date: Tue, 06 Dec 2011 20:23:53 -0800 Message-ID: <86197.1323231833@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 04:23:54 -0000 In message , "Paul B. Mahol" wrote: >On 12/7/11, Polytropon wrote: >> On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: >>> I've been trying to look at California Dept. of Transportation webcams >>> using Firefox on FreeBSD and so far it simply ain't workin'. Somebody >>> please tell me what I'm doing wrong. >>> >>> Yes, I already installed the mozilla-mplayer port. >>> >>> Here's where you can get at the webcams: >>> >>> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ >>> >>> Any help would be appreciated. >> >> Maybe not what you're searching for, but works: >> >> First I arbitrarily choose a cam from the map. A >> window opens with a "go to live camera" link. >> Right click, copy link address. >> >> I tried to directly play it with mplayer which >> should have worked: >> >> % mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" > >% mplayer -playlist ... Haha! Yes! Adding the -playlist option does apparenty make it possible to get mplayer to ``play'' the .asx file itself directly. That's swell. But I still have the question: How does one get this to work with Firefox (as it should) ? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 04:36:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6725D106564A for ; Wed, 7 Dec 2011 04:36:46 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3128FC08 for ; Wed, 7 Dec 2011 04:36:46 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB74ajKf026120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Dec 2011 20:36:45 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB74ajC7026119; Tue, 6 Dec 2011 20:36:45 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA17576; Tue, 6 Dec 11 20:27:32 PST Date: Wed, 07 Dec 2011 03:26:50 -0800 From: perryh@pluto.rain.com To: rfg@tristatelogic.com Message-Id: <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com> References: <84865.1323216144@tristatelogic.com> In-Reply-To: <84865.1323216144@tristatelogic.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 04:36:46 -0000 "Ronald F. Guilmette" wrote: > I've been trying to look at California Dept. of Transportation > webcams using Firefox on FreeBSD and so far it simply ain't workin'. > ... > http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Works for me on 8.1-RELEASE with FF 3.5.10 and these packages: ORBit2-2.14.18_1 libXxf86vm-1.1.0 OpenSSH-askpass-1.2.4.1 libart_lgpl-2.3.21,1 Tee-3.4 libdaemon-0.14 a2ps-letter-4.13b_4 libdrm-2.4.12_1 aalib-1.4.r5_5 libexecinfo-1.1_3 atk-1.30.0_1 libffi-3.0.9 augeas-0.7.1_2 libfontenc-1.0.5 avahi-app-0.6.25_3 libgcrypt-1.4.5_1 base64-1.5_1 libgpg-error-1.7_1 bash-4.1.7 libiconv-1.13.1_1 bison-2.4.1_1,1 libmikmod-3.1.11_2 bitstream-vera-1.10_4 libmodplug-0.8.8.1 bsdadminscripts-6.1.1 libogg-1.2.0,4 cairo-1.8.10_1,1 libpthread-stubs-0.3_3 cdrtools-2.01_8 libutempter-1.1.5_1 chexedit-0.9.7 libvolume_id-0.81.1 comconsole-0.1 libvorbis-1.3.1,3 compat6x-i386-6.4.604000.200810_3 libxcb-1.6 compositeproto-0.4.1 libxml2-2.7.7 consolekit-0.4.1_3 m4-1.4.14_1,1 cups-client-1.4.3 mkfontdir-1.0.5 damageproto-1.2.0 mkfontscale-1.0.7 dbus-1.2.24_1 mtools-4.0.10_1 dbus-glib-0.86_1 nspr-4.8.2 dd_rescue-1.14 open-motif-2.2.3_6 ddrescue-1.11 openoffice.org-2.4.3_2 desktop-file-utils-0.15_2 p5-Algorithm-Diff-1.1902 diskcheckd-20010823_5 p5-Date-Manip-5.56 dmidecode-2.10 p5-FileHandle-Unget-0.1623 dosbox-0.74 p5-Mail-Mbox-MessageParser-1.5002_1 dri2proto-2.2 p5-Text-Diff-1.37 eggdbus-0.6_1 p5-TimeDate-1.20,1 en-freebsd-doc-20100625 pango-1.28.0_1 encodings-1.0.3,1 pciids-20091229 etcmerge-0.4 pcre-8.02 expat-2.0.1_1 perl-5.10.1_1 facter-1.5.8 physfs-2.0.1 firefox-3.5.10,1 pixman-0.16.6 fixesproto-4.1.1 pkg-config-0.23_1 flac-1.2.1_2 pkg_tree-1.1_2 font-bh-ttf-1.0.1 png-1.4.3 font-misc-ethiopic-1.0.1 policykit-0.9_6 font-misc-meltho-1.0.1 polkit-0.96_2 font-util-1.0.2 portmaster-2.32 fontconfig-2.8.0,1 printproto-1.0.4 freetype2-2.3.12 pstree-2.33 fvwm-2.5.30_1 psutils-letter-1.17_2 gamin-0.1.10_4 puppet-2.6.4 gconf2-2.28.1_1 python26-2.6.5 gdbm-1.8.3_3 randrproto-1.3.1 gettext-0.18_1 rdate-1.3 ghostscript8-8.71_2 renderproto-0.11 ghostview-1.5_2 rsync-3.0.7 gio-fam-backend-2.24.1_1 ruby-1.8.7.302,1 glib-2.24.1_1 ruby18-gems-1.3.7 gnome-mime-data-2.18.0_4 ruby18-iconv-1.8.7.302,1 gnome-vfs-2.24.3_1 rubygem-ruby-augeas-0.3.0 gnome_subr-1.0 rxvt-2.6.4_5 gnomehier-2.3_12 samba34-libsmbclient-3.4.8 gnutls-2.8.6_1 screen-4.0.3_7 gobject-introspection-0.6.14 scripts-1.0.1 grepmail-5.3033 sdl-1.2.14_1,2 gsfonts-8.11_5 sdl_net-1.2.7 gtk-2.20.1_2 sdl_sound-1.0.3_4 hal-0.5.14_8 shared-mime-info-0.71_1 heirloom-mailx-12.4_3 smartmontools-5.39.1 hicolor-icon-theme-0.12 smiley-4.0 ical-2.2_3 smpeg-0.4.4_8 inputproto-2.0 speex-1.2.r1_3,1 jasper-1.900.1_9 sudo-1.7.3 jbigkit-1.6 t1lib-5.1.2_1,1 jpeg-8_3 talloc-2.0.1 kbproto-1.0.4 tcl-8.4.19_3,1 lcms-1.19_1,1 tiff-3.9.4 lftp-4.0.9 timidity-0.2i_1 libGL-7.4.4 tk-8.4.19_2,2 libGLU-7.4.4 traceroute-991603 libICE-1.0.6,1 tree-1.5.3 libIDL-0.8.14_1 unzip-6.0 libSM-1.1.1_1,1 unzoo-4.4_2 libX11-1.3.3,1 vim-lite-7.2.411 libXau-1.0.5 wget-1.12_1 libXaw-1.0.7,1 wgetpaste-2.17 libXcomposite-0.4.1,1 wine-1.2,1 libXcursor-1.1.10 xauth-1.0.4 libXdamage-1.1.2 xbitmaps-1.1.0 libXdmcp-1.0.3 xcb-util-0.3.6_1 libXext-1.1.1,1 xextproto-7.1.1 libXfixes-4.0.4 xf86vidmodeproto-2.3 libXft-2.1.14 xineramaproto-1.2 libXi-1.3,1 xorg-fonts-truetype-7.5 libXinerama-1.1,1 xpdf-3.02_12 libXmu-1.0.5,1 xproto-7.0.16 libXp-1.0.0,1 xterm-258 libXpm-3.5.7 xtermset-0.5.2_2 libXrandr-1.3.0 xwininfo-1.0.5 libXrender-0.9.5 zip-3.0 libXt-1.0.7 All I had to do was click on a camera (I picked Williams SB, for no particular reason) and I got what looked like an image, including an "I-5 at Williams SB" overlay. Granted there wasn't a whole lot to see, since it was after dark, but the image did show several vehicles' headlights -- it was not just a black rectangle. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 04:56:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB79D106566C; Wed, 7 Dec 2011 04:56:33 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 632DC8FC15; Wed, 7 Dec 2011 04:56:33 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RY9YW-0006zF-IB>; Wed, 07 Dec 2011 05:56:32 +0100 Received: from e178014173.adsl.alicedsl.de ([85.178.14.173] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RY9YW-0006nA-BG>; Wed, 07 Dec 2011 05:56:32 +0100 Message-ID: <4EDEF1FF.5020307@zedat.fu-berlin.de> Date: Wed, 07 Dec 2011 05:56:31 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Current FreeBSD X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA91E2862F7ED83A63FB7335F" X-Originating-IP: 85.178.14.173 Cc: Subject: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 04:56:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA91E2862F7ED83A63FB7335F Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello. On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when updating the installation of the gcc46 compiler suite. The OS has been compiled via CLANG, binutils 2.22 are installed and has been installed either with the UNAME_r settings and WITH_FBSD10_FIX set in /etc/make.conf. I was wondering whether others would also see this on CURRENT. On all FreeBSD 9.0 boxes gcc46 compiles well. Regards, Oliver =3D=3D=3D=3D Configuring stage 1 in ./gcc clang -O3 -fno-strict-aliasing -pipe -march=3Dnative -I/usr/local/include= -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a echo timestamp > full-stamp gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/build-x86_64-portbld-freebsd9.9/fixincl= udes' gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' clang -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c =2E././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting types for 'cpp_interpret_string' cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous= declaration is here extern bool cpp_interpret_string (cpp_reader *, ^ =2E././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting types for 'cpp_interpret_string_notranslate' cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *fr= om, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous= declaration is here extern bool cpp_interpret_string_notranslate (cpp_reader *, ^ 2 errors generated. gmake[3]: *** [charset.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp' gmake[2]: *** [all-stage1-libcpp] Error 2 gmake[2]: *** Waiting for unfinished jobs.... configure: creating cache ./config.cache checking build system type... x86_64-portbld-freebsd9.9 checking host system type... x86_64-portbld-freebsd9.9 checking target system type... x86_64-portbld-freebsd9.9 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok [...] checking linker *_sol2 emulation support... no checking linker --sysroot support... yes checking __stack_chk_fail in target C library... checking for __stack_chk_fail... yes yes checking dl_iterate_phdr in target C library... unknown Using ggc-page for garbage collection. checking whether to enable maintainer-specific portions of Makefiles... n= o Links are now set up to build a native compiler for x86_64-portbld-freebsd9.9. checking for exported symbols... yes checking for -rdynamic... yes checking for library containing dlopen... none required checking for -fPIC -shared... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating as config.status: creating collect-ld config.status: creating nm config.status: creating Makefile config.status: creating ada/gcc-interface/Makefile config.status: creating ada/Makefile config.status: creating auto-host.h config.status: executing default commands gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. =3D=3D=3D>>> make failed for lang/gcc46 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for lang/gcc46 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command = line: portmaster lang/gcc46 --------------enigA91E2862F7ED83A63FB7335F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO3vH/AAoJEOgBcD7A/5N8Rl4H/1uFfc1HYxrwdE+XiQWBluBr duLk2cispRveqzaKv94n+1pPNz3X8qc5tw08l1uL71n4OkaUPme/ZQ8jqbtTIJ7c ZeKvoqtabw50hjQqOhskg7Icyy7IJnu7s/C2bKA3nR/Pb/4xMyqTnrX9JMnqG9Jt W4eQ4jNQSc55F9RWEUyFdTNmDsoLCf9XC6UhktMGKKjey+LXZLtr0mNYCii5MlEK 3HVAZUuPAAsHU6ER1KlGE98Z8vwyR+285TXtAiAg4Ifzfz4rEWqJEnQCN1yLLmJC tsAuWUMgNSK1tpAVcdvVstGpeV/INNkb4hFBh2tYmNH90yyvFBk4b/2MBAQ5xgY= =nxqp -----END PGP SIGNATURE----- --------------enigA91E2862F7ED83A63FB7335F-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 05:01:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D95106564A for ; Wed, 7 Dec 2011 05:01:55 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 092968FC13 for ; Wed, 7 Dec 2011 05:01:54 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id pB751kto022592 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 6 Dec 2011 23:01:46 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4EDEF33A.1020801@tundraware.com> Date: Tue, 06 Dec 2011 23:01:46 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Tue, 06 Dec 2011 23:01:46 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: pB751kto022592 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: SOLVED: ipfw And ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 05:01:55 -0000 I have a fairly restrictive firewall but I wanted to open a hole for ping and traceroute - both outbound from a NATed LAN as well as inbound to the boundary FreeBSD machine. The magic sauce turned out to be: ipfw add allow icmp from any to any icmptypes 0,3,4,8,11,12 The other insight here was that this rule had to occur *after* NAT got setup or internal users on the LAN would not be able to ping. Many thanks especially go to Robert Bonomi and Ian Smith for their help and patience with my foolish questions... Tim From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 06:11:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 814D2106564A; Wed, 7 Dec 2011 06:11:38 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 62BB88FC12; Wed, 7 Dec 2011 06:11:38 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id pB76BbSA038927; Tue, 6 Dec 2011 22:11:37 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id pB76Bbne038926; Tue, 6 Dec 2011 22:11:37 -0800 (PST) (envelope-from sgk) Date: Tue, 6 Dec 2011 22:11:37 -0800 From: Steve Kargl To: "O. Hartmann" Message-ID: <20111207061137.GA38900@troutmask.apl.washington.edu> References: <4EDEF1FF.5020307@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EDEF1FF.5020307@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: Current FreeBSD , freebsd-questions@freebsd.org Subject: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 06:11:38 -0000 On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: > config.status: creating ada/Makefile > config.status: creating auto-host.h > config.status: executing default commands > gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' > gmake[1]: *** [stage1-bubble] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' > gmake: *** [bootstrap-lean] Error 2 > *** Error code 1 > > Stop in /usr/ports/lang/gcc46. > *** Error code 1 > > Stop in /usr/ports/lang/gcc46. > > ===>>> make failed for lang/gcc46 > ===>>> Aborting update > See if setting DISABLE_MAKE_JOBSi helps. -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 07:50:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81277106566C for ; Wed, 7 Dec 2011 07:50:29 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 39BB68FC19 for ; Wed, 7 Dec 2011 07:50:28 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so364542vbb.13 for ; Tue, 06 Dec 2011 23:50:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KMfFJbRb4vdLVQWJy/0rC3dei7MDSqE36LuW4O5GRmo=; b=hABZQ9JV2gSg+4KpkE1H63BUGgk/qADurL0Iuj/FVolflW53g5TZj8n1FxhpZuAtYt 36yV/baVXjiJZwpd0ot8ObI3ITEKj7T3aKGRIN1vYYnpNFUy19Tt2b1BZ+8A5LAZz32f H1q7ltN93J7YplQJcgVkeUwgc4f+8v6NWQ0xs= MIME-Version: 1.0 Received: by 10.52.93.198 with SMTP id cw6mr8026239vdb.104.1323244226654; Tue, 06 Dec 2011 23:50:26 -0800 (PST) Received: by 10.52.165.33 with HTTP; Tue, 6 Dec 2011 23:50:26 -0800 (PST) In-Reply-To: <86197.1323231833@tristatelogic.com> References: <86197.1323231833@tristatelogic.com> Date: Wed, 7 Dec 2011 07:50:26 +0000 Message-ID: From: "Paul B. Mahol" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 07:50:29 -0000 On 12/7/11, Ronald F. Guilmette wrote: > > In message > > , "Paul B. Mahol" wrote: > >>On 12/7/11, Polytropon wrote: >>> On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: >>>> I've been trying to look at California Dept. of Transportation webcams >>>> using Firefox on FreeBSD and so far it simply ain't workin'. Somebody >>>> please tell me what I'm doing wrong. >>>> >>>> Yes, I already installed the mozilla-mplayer port. >>>> >>>> Here's where you can get at the webcams: >>>> >>>> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ >>>> >>>> Any help would be appreciated. >>> >>> Maybe not what you're searching for, but works: >>> >>> First I arbitrarily choose a cam from the map. A >>> window opens with a "go to live camera" link. >>> Right click, copy link address. >>> >>> I tried to directly play it with mplayer which >>> should have worked: >>> >>> % mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx" >> >>% mplayer -playlist ... > > Haha! Yes! Adding the -playlist option does apparenty make it possible to > get mplayer to ``play'' the .asx file itself directly. > > That's swell. > > But I still have the question: How does one get this to work with Firefox > (as it should) ? Isn't there options window from where it is possible to configure plugin? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:07:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753C7106564A for ; Wed, 7 Dec 2011 08:07:15 +0000 (UTC) (envelope-from chmiels@o2.pl) Received: from tur.go2.pl (tur.go2.pl [193.17.41.50]) by mx1.freebsd.org (Postfix) with ESMTP id F31698FC0A for ; Wed, 7 Dec 2011 08:07:14 +0000 (UTC) Received: from moh1-ve2.go2.pl (moh1-ve2.go2.pl [193.17.41.132]) by tur.go2.pl (Postfix) with ESMTP id 430B22333A9 for ; Wed, 7 Dec 2011 08:48:26 +0100 (CET) Received: from moh1-ve2.go2.pl (unknown [10.0.0.132]) by moh1-ve2.go2.pl (Postfix) with ESMTP id 8CCB910653F4 for ; Wed, 7 Dec 2011 08:48:24 +0100 (CET) Received: from unknown (unknown [10.0.0.108]) by moh1-ve2.go2.pl (Postfix) with SMTP for ; Wed, 7 Dec 2011 08:48:24 +0100 (CET) Received: from mail-gx0-f182.google.com [209.85.161.182] by poczta.o2.pl with ESMTP id pEdAEt; Wed, 07 Dec 2011 08:51:44 +0100 Received: by ggnp1 with SMTP id p1so420167ggn.13 for ; Tue, 06 Dec 2011 23:48:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.174.106 with SMTP id br10mr3369656obc.40.1323244100053; Tue, 06 Dec 2011 23:48:20 -0800 (PST) Received: by 10.182.41.170 with HTTP; Tue, 6 Dec 2011 23:48:20 -0800 (PST) Date: Wed, 7 Dec 2011 08:48:20 +0100 Message-ID: From: Sebastian Chmielewski To: freebsd-questions@freebsd.org X-O2-Trust: 2, 61 X-O2-SPF: neutral Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: X11 - keyboard driver unloaded, how to load it again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: chmiels@o2.pl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:07:15 -0000 Hi, I've an USB Mouse - Microsoft Wireless Mouse 1000, which is recognized also as a keyboard: ugen1.3: at usbus1 (disconnected) ums0: at uhub2, port 2, addr 3 (disconnected) ugen0.5: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ums0: on usbus0 ums0: 5 buttons and [XYZT] coordinates ID=26 ums0: 0 buttons and [T] coordinates ID=0 uhid0: on usbus0 After disconnecting this mouse kbd module was unloaded by X: [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports core events [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports core events [ 40002.704] (**) Option "Protocol" "standard" [ 40002.704] (**) Option "XkbRules" "base" [ 40002.704] (**) Option "XkbModel" "pc105" [ 40002.704] (**) Option "XkbLayout" "pl" [ 40002.704] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp" [ 40002.709] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_45e_745_noserial_if0" [ 40002.709] (II) XINPUT: Adding extended input device "Microsoft 2.4GHz Transceiver v8.0" (type: KEYBOARD) [ 47161.229] (II) 3rd Button detected: disabling emulate3Button [ 49888.691] (II) config/hal: removing device Microsoft 2.4GHz Transceiver v8.0 [ 49888.696] (II) UnloadModule: "kbd" [ 49888.696] (II) Unloading kbd Question is: how to prevent this behavior in X and how to reload module 'kbd' under working X session (I can connect through ssh to this machine). best regards, -- Sebastian Chmielewski From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:20:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BF0106564A for ; Wed, 7 Dec 2011 08:20:18 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0968FC0C for ; Wed, 7 Dec 2011 08:20:18 +0000 (UTC) Received: by qabg14 with SMTP id g14so190542qab.13 for ; Wed, 07 Dec 2011 00:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QGTKrFmz907xisRM8iqim5ZMUXzNH5AAdQOi6w+EcZg=; b=LFE6K5Belp6IT04rNr9wu86Wx4y+yD2xMonaHg5j2HkcfIS9CcavG9vPXsCCzsYpsK ryEWdSerqBsaVDHHQK+N5kKT20SlK6WFeUHwzIUAOIwaw6z+Ysj+cQKa1PJYg8Iyin/h glePbY9llfl/hJUZW4H8k7YqY+HOaV20DpWi4= MIME-Version: 1.0 Received: by 10.224.33.7 with SMTP id f7mr11778139qad.26.1323246017610; Wed, 07 Dec 2011 00:20:17 -0800 (PST) Received: by 10.224.10.199 with HTTP; Wed, 7 Dec 2011 00:20:17 -0800 (PST) Date: Wed, 7 Dec 2011 10:20:17 +0200 Message-ID: From: Ross To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Switching default gateways X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:20:18 -0000 I have a host with two uplinks. One is the default gateway. I want the system to automatically switch to the other one if it detects problems with the first one. How do I do this? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:32:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC02A1065672; Wed, 7 Dec 2011 08:32:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7F18FC12; Wed, 7 Dec 2011 08:32:25 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:8945:f03a:980c:c72] (unknown [IPv6:2001:7b8:3a7:0:8945:f03a:980c:c72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B1CBA5C37; Wed, 7 Dec 2011 09:32:24 +0100 (CET) Message-ID: <4EDF249B.8030104@FreeBSD.org> Date: Wed, 07 Dec 2011 09:32:27 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111130 Thunderbird/9.0 MIME-Version: 1.0 To: "O. Hartmann" References: <4EDEF1FF.5020307@zedat.fu-berlin.de> In-Reply-To: <4EDEF1FF.5020307@zedat.fu-berlin.de> Content-Type: multipart/mixed; boundary="------------020204010301000803080705" Cc: Current FreeBSD , freebsd-questions@freebsd.org Subject: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:32:25 -0000 This is a multi-part message in MIME format. --------------020204010301000803080705 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 2011-12-07 05:56, O. Hartmann wrote: > On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when > updating the installation of the gcc46 compiler suite. If you report port compilation errors, always use DISABLE_MAKE_JOBS, otherwise the actual error message will drown in multithreaded spam. :) (And even if you would save and post the full build log, it is sometimes still impossible to see which exact command failed and why.) That said, you are most likely running into an issue with the fix for FreeBSD 10-CURRENT in bsd.port.mk, causing the lto-plugin stage configure script to fail. This is because the gcc ports unpack their source code into ${WRKDIR}/gcc-${VERSIONSTRING}, and then override WRKSRC to ${WRKDIR}/build. Since bsd.port.mk only applies the run-autotools-fixup to ${WRKSRC}, the gcc source itself is not properly fixed up. You can try the attached patch, which fixes this (and fixes it for all other ports that override WKRSRC). --------------020204010301000803080705 Content-Type: text/x-diff; name="ports-fbsd10-wrkdir-1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ports-fbsd10-wrkdir-1.diff" Index: Mk/bsd.port.mk =================================================================== RCS file: /home/mirror/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.699 diff -u -r1.699 bsd.port.mk --- Mk/bsd.port.mk 9 Nov 2011 08:53:12 -0000 1.699 +++ Mk/bsd.port.mk 7 Dec 2011 08:16:56 -0000 @@ -3663,7 +3663,7 @@ run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) - -@for f in `${FIND} ${WRKSRC} -type f \( -name config.libpath -o \ + -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -name acinclude.m4 \)` ; do \ --------------020204010301000803080705-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:36:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE8B41065680 for ; Wed, 7 Dec 2011 08:36:45 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 934C58FC15 for ; Wed, 7 Dec 2011 08:36:45 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id EE3C750837; Wed, 7 Dec 2011 00:36:43 -0800 (PST) To: perryh@pluto.rain.com In-Reply-To: <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com> Date: Wed, 07 Dec 2011 00:36:43 -0800 Message-ID: <2317.1323247003@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:36:45 -0000 In message <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com>, you wrote: >"Ronald F. Guilmette" wrote: > >> I've been trying to look at California Dept. of Transportation >> webcams using Firefox on FreeBSD and so far it simply ain't workin'. >> ... >> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ > >Works for me on 8.1-RELEASE with FF 3.5.10 and these packages: Well, thanks, I guess. At least this gives me confidence that it can be done. I am still somewhat at a loss to know exactly _how_ it can be done however. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 08:51:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A03B106564A for ; Wed, 7 Dec 2011 08:51:54 +0000 (UTC) (envelope-from b.gruel@sdnet.info) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by mx1.freebsd.org (Postfix) with ESMTP id 96BAA8FC12 for ; Wed, 7 Dec 2011 08:51:51 +0000 (UTC) Received: from ob1.woody.hopto.org (unknown [88.184.221.92]) by smtp2-g21.free.fr (Postfix) with ESMTP id B973A4B064D for ; Wed, 7 Dec 2011 09:51:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id E6D491F52DC for ; Wed, 7 Dec 2011 10:05:47 +0100 (CET) X-Virus-Scanned: amavisd-new at woody.hopto.org Received: from ob1.woody.hopto.org ([127.0.0.1]) by localhost (ob1.woody.hopto.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-dGCZR5Q6b3 for ; Wed, 7 Dec 2011 10:05:47 +0100 (CET) Received: from mail.sdnet.info (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id 9E32C1F52DA for ; Wed, 7 Dec 2011 10:05:47 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 07 Dec 2011 10:05:47 +0100 From: Bruno Gruel To: Organization: Sallanches Data Network Mail-Reply-To: In-Reply-To: <4EDE71EE.5040207@pukruppa.de> References: <74a317314b401d66fcf07f1cfaa31f3a@sdnet.info> <4EDE71EE.5040207@pukruppa.de> Message-ID: <5038de557d60258a2bcae8841c479731@sdnet.info> X-Sender: b.gruel@sdnet.info User-Agent: SDN Webmail/ Subject: Re: Nuxeo install in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: b.gruel@sdnet.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 08:51:54 -0000 On Tue, 06 Dec 2011 20:50:06 +0100, Peter Ulrich Kruppa wrote: > I unzipped the thing in /usr/local and tried to execute the > ./bin/nuxeoctl start >> I do the same thing > command, which failed. Having a look at the first line of this file I > found > #!/bin/bash >> Idem > But my bash is installed in > # which bash > /usr/local/bin/bash > So I changed the first line of nuxeoctl into > #!/usr/local/bin/bash >> Idem > and now I can start and run Nuxeo. >> Not work for me but i must try it on a 32 bits FreeBSD and give you >> some feed back. > I hope that helps >> Yes it's help me > Peter. Thank's Bruno -- Sallanches Data Network (SDN) Pour l'Internet des internautes From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 10:49:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6A23106564A for ; Wed, 7 Dec 2011 10:49:07 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id AEE008FC0C for ; Wed, 7 Dec 2011 10:49:07 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 0AE033F58B for ; Wed, 7 Dec 2011 04:49:11 -0600 (CST) Date: Wed, 7 Dec 2011 04:49:01 -0600 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Message-ID: <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> In-Reply-To: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 10:49:08 -0000 On Mon, 5 Dec 2011 17:08:15 +0000 Mike Clarke wrote: > > I have a fairly simple perl script which is run by devd when I plug > in a USB memory stick. The script sets up some permissions and a > link to make life easy for a user to mount the memory stick. > > This normally works fine but there are problems if the memory stick > is already inserted before booting. > > Normally my internal 4 slot memory card reader is detected as > umass0 with devices da[0-3] and when the USB memory stick is > inserted it comes up as umass1 with device da4 and my script works > on that assumption. If the USB stick is present on booting then it > appears as da0 on umass0 and the card reader is da[1-4] on umass1 > so the script fails. > > Is there any convenient way for my script to determine which da* > devices correspond to the umass device name? Why are you using a custom Perl script for this instead of the built in tools for this? Below is how I have it setup on my system... In /etc/devfs.rules... [localrules=10] add path 'da*s*' mode 0660 group 5001 In /etc/rc.conf... devfs_system_ruleset="localrules" In /etc/sysctl.conf... vfs.usermount=1 And what group 5001 is... [kitsune@vixen42]/etc> getent group 5001 devDAaccess:*:5001:kitsune [kitsune@vixen42]/etc> Allows the group "devDAaccess" to access /dev/da*s* and mount it. For more reading on this, I suggest the following man files... devfs.rules(5) rc.conf(5) devfs(8) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 10:50:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 229851065675 for ; Wed, 7 Dec 2011 10:50:36 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id D6CAA8FC0A for ; Wed, 7 Dec 2011 10:50:35 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 7BA843F58C; Wed, 7 Dec 2011 04:31:51 -0600 (CST) Date: Wed, 7 Dec 2011 04:31:41 -0600 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Message-ID: <20111207043141.53d009f0@vixen42.vulpes.vvelox.net> In-Reply-To: References: X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: chmiels@o2.pl Subject: Re: X11 - keyboard driver unloaded, how to load it again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 10:50:36 -0000 On Wed, 7 Dec 2011 08:48:20 +0100 Sebastian Chmielewski wrote: > Hi, > I've an USB Mouse - Microsoft Wireless Mouse 1000, which is > recognized also as a keyboard: > ugen1.3: at usbus1 (disconnected) > ums0: at uhub2, port 2, addr 3 (disconnected) > ugen0.5: at usbus0 > ukbd0: 2.00/6.56, addr 5> on usbus0 > kbd2 at ukbd0 > ums0: 2.00/6.56, addr 5> on usbus0 > ums0: 5 buttons and [XYZT] coordinates ID=26 > ums0: 0 buttons and [T] coordinates ID=0 > uhid0: 2.00/6.56, addr 5> on usbus0 > > After disconnecting this mouse kbd module was unloaded by X: > > [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports > core events > [ 40002.703] (**) Microsoft 2.4GHz Transceiver v8.0: always reports > core events > [ 40002.704] (**) Option "Protocol" "standard" > [ 40002.704] (**) Option "XkbRules" "base" > [ 40002.704] (**) Option "XkbModel" "pc105" > [ 40002.704] (**) Option "XkbLayout" "pl" > [ 40002.704] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp" > [ 40002.709] (**) Option "config_info" > "hal:/org/freedesktop/Hal/devices/usb_device_45e_745_noserial_if0" > [ 40002.709] (II) XINPUT: Adding extended input device "Microsoft > 2.4GHz Transceiver v8.0" (type: KEYBOARD) > [ 47161.229] (II) 3rd Button detected: disabling emulate3Button > [ 49888.691] (II) config/hal: removing device Microsoft 2.4GHz > Transceiver v8.0 > [ 49888.696] (II) UnloadModule: "kbd" > [ 49888.696] (II) Unloading kbd > > Question is: how to prevent this behavior in X and how to reload > module 'kbd' under working X session (I can connect through ssh to > this machine). I would suggest just disabling HAL support for x11-server/xorg-server and just statically configuring the file. The only thing you may possibly want to do after that is make sure moused is started if you are have any non-USB mice on that system as well. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 11:24:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4F7106566B for ; Wed, 7 Dec 2011 11:24:15 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id E0DEC8FC08 for ; Wed, 7 Dec 2011 11:24:14 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id pB7BOBu9059832; Wed, 7 Dec 2011 06:24:11 -0500 (EST) (envelope-from chris@monochrome.org) Date: Wed, 7 Dec 2011 06:24:11 -0500 (EST) From: Chris Hill To: perryh@pluto.rain.com In-Reply-To: <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com> Message-ID: References: <84865.1323216144@tristatelogic.com> <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: freebsd-questions@freebsd.org, rfg@tristatelogic.com Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 11:24:15 -0000 On Wed, 7 Dec 2011, perryh@pluto.rain.com wrote: > "Ronald F. Guilmette" wrote: > >> I've been trying to look at California Dept. of Transportation >> webcams using Firefox on FreeBSD and so far it simply ain't workin'. >> ... >> http://www.dot.ca.gov/dist3/departments/traffic/cameras/ > > Works for me on 8.1-RELEASE with FF 3.5.10 and these packages: [ ... ] > All I had to do was click on a camera (I picked Williams SB, for no > particular reason) and I got what looked like an image, including > an "I-5 at Williams SB" overlay. Granted there wasn't a whole lot > to see, since it was after dark, but the image did show several > vehicles' headlights -- it was not just a black rectangle. Right, but that's a still image, a screenshot. Above that is a link labeled "go to live camera" - when you click on that, do you see live motion video? What I see is mplayer-plugin starting, then buffering, then a blue rectangle. The "live camera" link is what goes to the .asx, which is what the OP was asking about. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 12:11:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9FE106566B for ; Wed, 7 Dec 2011 12:11:12 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1383A8FC14 for ; Wed, 7 Dec 2011 12:11:11 +0000 (UTC) Received: by lagv3 with SMTP id v3so243065lag.13 for ; Wed, 07 Dec 2011 04:11:10 -0800 (PST) Received: by 10.152.102.173 with SMTP id fp13mr11758223lab.24.1323259870634; Wed, 07 Dec 2011 04:11:10 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ne3sm1440218lab.7.2011.12.07.04.11.08 (version=SSLv3 cipher=OTHER); Wed, 07 Dec 2011 04:11:09 -0800 (PST) Message-ID: <4EDF57DB.2010108@my.gd> Date: Wed, 07 Dec 2011 13:11:07 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Switching default gateways X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 12:11:12 -0000 On 12/7/11 9:20 AM, Ross wrote: > I have a host with two uplinks. One is the default gateway. I want the > system to automatically switch to the other one if it detects problems > with the first one. How do I do this? Hello to you too, First of all, please realize this isn't a google search field, you're talking to actual humans and you might want to start off with a proper greeting. With regards to your question, this can be done in 2 different ways: 1/ script Ping your primary gateway, if it stops responding your script changes the gateway to your backup. When the primary comes back up, swap again. Easily done. 2/ routing protocols Get your 2 upstream routers to announce themselves via a routing protocol, only works if you have control of said gateways. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 05:56:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C56106566C for ; Wed, 7 Dec 2011 05:56:40 +0000 (UTC) (envelope-from shaarbaf.ammar@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 11BA98FC14 for ; Wed, 7 Dec 2011 05:56:39 +0000 (UTC) Received: by qcse13 with SMTP id e13so147898qcs.13 for ; Tue, 06 Dec 2011 21:56:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=boE6gSAHcSoifLX7fmDkR64VmG28Oi31VFQmyCU1ioQ=; b=cUlAPRXj1aMVmhjUAnLDPrL2ALBPH7ng2EpxroBApgvO9lUv9h3hS+dlBQLA8byXdd p/uZzzb5Tmfp94QfsbQpJmtHvcXBHMApDwPzA90zIH+0sLpad36318oItBtp+MIAfMzZ 4VZiH9saLz6jnyK0/s1MMalNAJWvq5N9juTYY= Received: by 10.229.237.135 with SMTP id ko7mr3742356qcb.263.1323236045346; Tue, 06 Dec 2011 21:34:05 -0800 (PST) Received: from [192.168.1.80] (99-6-109-35.lightspeed.wlfrct.sbcglobal.net. [99.6.109.35]) by mx.google.com with ESMTPS id hk1sm1342222qab.8.2011.12.06.21.34.03 (version=SSLv3 cipher=OTHER); Tue, 06 Dec 2011 21:34:04 -0800 (PST) Message-ID: <4EDEFACB.3000809@gmail.com> Date: Wed, 07 Dec 2011 00:34:03 -0500 From: Ammar Shaarbaf User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 07 Dec 2011 12:13:00 +0000 Cc: Subject: Question about hardware support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 05:56:40 -0000 Hello, Are there any FreeBSD drivers for Acer Aspire 3610? Thank you and best regards, Ammar From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 09:36:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFF0D106564A for ; Wed, 7 Dec 2011 09:36:17 +0000 (UTC) (envelope-from bk@promptsoftech.com) Received: from mail2001.shared-servers.com (mail2001.shared-servers.com [74.124.24.4]) by mx1.freebsd.org (Postfix) with ESMTP id 695E18FC17 for ; Wed, 7 Dec 2011 09:36:17 +0000 (UTC) Received: from devpc1 (abts-mum-static-164.117.170.122.airtelbroadband.in [122.170.117.164]) by mail2001.shared-servers.com with SMTP; Wed, 7 Dec 2011 03:21:40 -0600 From: "Bhautik Kothadia" To: Date: Wed, 7 Dec 2011 14:51:03 +0530 Message-ID: <002801ccb4c1$8c74bb90$a55e32b0$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acy0KeHRxKfgRWJSRxiSMaDn3h81+w== Content-Language: en-us x-cr-hashedpuzzle: AXCe F0tu GHJh IHnH KFke LDZ+ LFe0 Mjvl OWkg PpJc Q6oi RsCY SK2v Si6t VX1I WOaS; 2; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnADsAcgBpAHQAZQBzAGgALgBzAHUAdABhAHIAaQBhAEAAcAByAG8AbQBwAHQAcwBvAGYAdABlAGMAaAAuAGMAbwBtAA==; Sosha1_v1; 7; {D680615E-AFF1-40B4-AEA3-01A25D98280A}; YgBrAEAAcAByAG8AbQBwAHQAcwBvAGYAdABlAGMAaAAuAGMAbwBtAA==; Wed, 07 Dec 2011 09:20:59 GMT; UgBlAHEAdQBpAHIAZQBtAGUAbgB0ACAAbwBmACAARQBtAGIAZQBkAGQAZQBkACAATwBTACAAYQBuAGQAIABFAG0AYgBlAGQAZABlAGQAIABEAGEAdABhAGIAYQBzAGUA x-cr-puzzleid: {D680615E-AFF1-40B4-AEA3-01A25D98280A} X-Cyberoam-smtpxy-version: 1.0.6.3 X-Cyberoam-AV-Policy: Default Rule X-CTCH-PVer: 0000001 X-CTCH-Spam: Unknown X-CTCH-VOD: Unknown X-CTCH-Flags: 0 X-CTCH-RefID: str=0001.0A090201.4EDF3003.0186,ss=1,fgs=0 X-Mailman-Approved-At: Wed, 07 Dec 2011 12:13:40 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 'Ritesh Sutaria' Subject: Requirement of Embedded OS and Embedded Database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 09:36:17 -0000 Dear Sir, Prompt Softech, part of Prompt Group of companies, a customized electronics product development, software development and service provider focused in the area of enterprise resource information, business intelligence, software solutions. We have requirement of Embedded OS and Embedded Database. Microcontroller - PIC32MX664 from Microchip Supporting Peripheral Required: SD Card USB Pen Drive UART - 5 ports Parallel Printer 4 x 20 LCD RTC PS2 Keyboard 4 x 4 Matrix Keyboard. FAT32 file system Application: Data acquisition system which collect different types of data from various machines using RS232. All these data store on SD Card. Data cab backup into USB pen drive. We have to generate various type of report according to parameters like date, unique code for different customers. I want to know that Can be FreeBSD implemented on PIC32 microcontroller? How much FLASH and RAM required? Which database is suitable for FreeBSD? For more information about us, please visit our website: www.promptsoftech.com Best Regards, Bhautik Kothadia Sr. Embedded Engineer Prompt Softech 12 SF Maurya Complex, Opp. R.K. Royal Hall, Science City Road, Sola, Ahmedabad - 380 061 India Phone: +91 79 40081941 / 1942 Fax: +91 79 40081940 Email: bk@promptsoftech.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 12:51:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A62D106566B for ; Wed, 7 Dec 2011 12:51:52 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 03D1A8FC17 for ; Wed, 7 Dec 2011 12:51:51 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 6Cro1i003516WCc01CrpzT; Wed, 07 Dec 2011 12:51:49 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=LMnkseq9 c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=FbifnEMPkAUe2HGNYjIA:9 a=wPNLvfGTeEIA:10 a=UN-oJipazlnvzRoo:21 a=o2mhpN5Q6kzSG_sJ:21 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RYGyS-00016v-24; Wed, 07 Dec 2011 12:51:48 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 7 Dec 2011 12:51:47 +0000 User-Agent: KMail/1.9.10 References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> In-Reply-To: <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201112071251.47968.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Cc: "Zane C. B-H." Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 12:51:52 -0000 On Wednesday 07 December 2011, Zane C. B-H. wrote: > Why are you using a custom Perl script for this instead of the built > in tools for this? > > Below is how I have it setup on my system... > > In /etc/devfs.rules... > > [localrules=10] > add path 'da*s*' mode 0660 group 5001 Because devfs only relates to boot time and I want to deal with usb sticks inserted while the system is running. The allocation of device numbers is dynamic and depends on what other umass devices are already connected. Normally my internal memory card reader is allocated da[0-3] at boot time and the memory stick will appear as da4 when subsequently inserted but if it's already plugged in when the system boots then it appears as da0 and the card reader is da[1-4]. If I insert an extra memory stick it will be allocated the next available device number. I don't want the user to have to hunt around to determine which device to mount so my script takes the umass device number supplied by devd and determines the relevant da* device then it sets the permission to 660 for that device and creates a link, /dev/usbstick, pointing to it. All the user then has to do is mount /dev/usbstick on his mount point. Following the earlier tip from Polytropon I now have a working script which does exactly what I need. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 12:54:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B18F106564A for ; Wed, 7 Dec 2011 12:54:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EBD8F8FC16 for ; Wed, 7 Dec 2011 12:54:47 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB7CsiJV007085 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 7 Dec 2011 12:54:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB7CsiJV007085 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323262484; bh=36/C+0eXjr9yJrL3CbXjG6igjuBPhv1PYYOEcAhs70U=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=vOITvI1wKJeLp6BA+xLFq2X4vrBsJ+0XaikF7hOd/jJcI1heyrdpdlaFVvDYxaOiH HlAYmUflfvTJHPX+YE9xcsRR3tuQh1KXvnxqQjrDELXWWdLoyX2E/dV3N88k2NhBHy IO9/IKou40G/SDs7eUyDnQ1ALVcUj5OkMI6OnWYc= Message-ID: <4EDF620B.9030706@infracaninophile.co.uk> Date: Wed, 07 Dec 2011 12:54:35 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EDEFACB.3000809@gmail.com> In-Reply-To: <4EDEFACB.3000809@gmail.com> X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig37BD004FB99F67CF8F229F34" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Question about hardware support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 12:54:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig37BD004FB99F67CF8F229F34 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/12/2011 05:34, Ammar Shaarbaf wrote: > Are there any FreeBSD drivers for Acer Aspire 3610? >=20 This is the closest hardware match I could find: http://laptop.bsdgroup.de/freebsd/index.html?action=3Dshow_laptop_detail&= laptop=3D12882 Drivers in FreeBSD are generally described in terms of the specific components (motherboard chipset, NIC, SATA controller, etc. etc.) rather than in terms of a specific whole machine produced by a manufacturer. Laptops are particularly tricky in this regard, and if no-one else has reported on your particular model, generally the best procedure is to try booting the device using a USB or CD-Rom image, and see what does and doesn't work. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig37BD004FB99F67CF8F229F34 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7fYhMACgkQ8Mjk52CukIwLqACfejQbr6RSzxwoltIIr4pQ+JEF fzIAnRP5g/u2LTJDh7DBNOGi4Vuk1K9x =AMww -----END PGP SIGNATURE----- --------------enig37BD004FB99F67CF8F229F34-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 14:26:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 861131065675 for ; Wed, 7 Dec 2011 14:26:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 42C468FC0C for ; Wed, 7 Dec 2011 14:26:21 +0000 (UTC) Received: from [93.104.67.1] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYIRv-00068d-01; Wed, 07 Dec 2011 15:26:19 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB7EQH6N003173; Wed, 7 Dec 2011 15:26:17 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB7EQENB003172; Wed, 7 Dec 2011 15:26:14 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 7 Dec 2011 15:26:13 +0100 From: Matthias Apitz To: Matthew Seaman Message-ID: <20111207142613.GA3142@tinyCurrent> References: <4EDEFACB.3000809@gmail.com> <4EDF620B.9030706@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4EDF620B.9030706@infracaninophile.co.uk> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.67.1 Cc: freebsd-questions@freebsd.org Subject: Re: Question about hardware support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 14:26:21 -0000 El da Wednesday, December 07, 2011 a las 12:54:35PM +0000, Matthew Seaman escribi: > Drivers in FreeBSD are generally described in terms of the specific > components (motherboard chipset, NIC, SATA controller, etc. etc.) rather > than in terms of a specific whole machine produced by a manufacturer. > > Laptops are particularly tricky in this regard, and if no-one else has > reported on your particular model, generally the best procedure is to > try booting the device using a USB or CD-Rom image, and see what does > and doesn't work. One good method is to let it boot a recent Knoppix DVD and see what chips it 'sees'; it will not touch the installed OS; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 15:02:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 633571065673 for ; Wed, 7 Dec 2011 15:02:24 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 250218FC14 for ; Wed, 7 Dec 2011 15:02:23 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 05F753F58B; Wed, 7 Dec 2011 09:02:25 -0600 (CST) Date: Wed, 7 Dec 2011 09:02:20 -0600 From: "Zane C. B-H." To: freebsd-questions@freebsd.org, Mike Clarke Message-ID: <20111207090220.2f970f1d@vixen42.vulpes.vvelox.net> In-Reply-To: <201112071251.47968.jmc-freebsd2@milibyte.co.uk> References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> <201112071251.47968.jmc-freebsd2@milibyte.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 15:02:24 -0000 On Wed, 7 Dec 2011 12:51:47 +0000 Mike Clarke wrote: > On Wednesday 07 December 2011, Zane C. B-H. wrote: > > > Why are you using a custom Perl script for this instead of the > > built in tools for this? > > > > Below is how I have it setup on my system... > > > > In /etc/devfs.rules... > > > > [localrules=10] > > add path 'da*s*' mode 0660 group 5001 > > Because devfs only relates to boot time and I want to deal with usb > sticks inserted while the system is running. The allocation of > device numbers is dynamic and depends on what other umass devices > are already connected. Normally my internal memory card reader is > allocated da[0-3] at boot time and the memory stick will appear as > da4 when subsequently inserted but if it's already plugged in when > the system boots then it appears as da0 and the card reader is > da[1-4]. If I insert an extra memory stick it will be allocated the > next available device number. I don't want the user to have to hunt > around to determine which device to mount so my script takes the > umass device number supplied by devd and determines the relevant > da* device then it sets the permission to 660 for that device and > creates a link, /dev/usbstick, pointing to it. All the user then > has to do is mount /dev/usbstick on his mount point. > > Following the earlier tip from Polytropon I now have a working > script which does exactly what I need. Still you will want to investigate what I've mentioned. It will drastically simplify permission stuff as well as make automatic. The devfs stuff is just not boottime only, but will be applied to any new device added etc post boot. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 15:30:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F38D1106564A for ; Wed, 7 Dec 2011 15:30:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id B24768FC13 for ; Wed, 7 Dec 2011 15:30:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pB7FUiM5068916; Wed, 7 Dec 2011 08:30:44 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pB7FUift068913; Wed, 7 Dec 2011 08:30:44 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 7 Dec 2011 08:30:44 -0700 (MST) From: Warren Block To: Matthias Apitz In-Reply-To: <20111207142613.GA3142@tinyCurrent> Message-ID: References: <4EDEFACB.3000809@gmail.com> <4EDF620B.9030706@infracaninophile.co.uk> <20111207142613.GA3142@tinyCurrent> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1097831339-1323271844=:68831" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 07 Dec 2011 08:30:44 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Question about hardware support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 15:30:46 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1097831339-1323271844=:68831 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 7 Dec 2011, Matthias Apitz wrote: > El da Wednesday, December 07, 2011 a las 12:54:35PM +0000, Matthew Seaman escribi: > >> Drivers in FreeBSD are generally described in terms of the specific >> components (motherboard chipset, NIC, SATA controller, etc. etc.) rather >> than in terms of a specific whole machine produced by a manufacturer. >> >> Laptops are particularly tricky in this regard, and if no-one else has >> reported on your particular model, generally the best procedure is to >> try booting the device using a USB or CD-Rom image, and see what does >> and doesn't work. > > One good method is to let it boot a recent Knoppix DVD and see what chips it > 'sees'; it will not touch the installed OS; Along those lines, PC-BSD (pcbsd.org) has a live DVD or live USB mode. ---902635197-1097831339-1323271844=:68831-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 15:39:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9B72106564A for ; Wed, 7 Dec 2011 15:39:31 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A88A48FC17 for ; Wed, 7 Dec 2011 15:39:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pB7FdUnU068977; Wed, 7 Dec 2011 08:39:30 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pB7FdUAe068974; Wed, 7 Dec 2011 08:39:30 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 7 Dec 2011 08:39:30 -0700 (MST) From: Warren Block To: "Zane C. B-H." In-Reply-To: <20111207090220.2f970f1d@vixen42.vulpes.vvelox.net> Message-ID: References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> <201112071251.47968.jmc-freebsd2@milibyte.co.uk> <20111207090220.2f970f1d@vixen42.vulpes.vvelox.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 07 Dec 2011 08:39:31 -0700 (MST) Cc: Mike Clarke , freebsd-questions@freebsd.org Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 15:39:32 -0000 On Wed, 7 Dec 2011, Zane C. B-H. wrote: > Still you will want to investigate what I've mentioned. It will > drastically simplify permission stuff as well as make automatic. The > devfs stuff is just not boottime only, but will be applied to any new > device added etc post boot. Are you sure of that? Seems like devfs permissions are only applied when devfs(8) apply/applyset commands are run, directly or through /etc/rc.d/devfs. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 15:56:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41711065670 for ; Wed, 7 Dec 2011 15:56:52 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 816948FC08 for ; Wed, 7 Dec 2011 15:56:51 +0000 (UTC) Received: from vixen42.vulpes.vvelox.net (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id BB6963F58B; Wed, 7 Dec 2011 09:56:56 -0600 (CST) Date: Wed, 7 Dec 2011 09:56:51 -0600 From: "Zane C. B-H." To: Warren Block Message-ID: <20111207095651.3688de01@vixen42.vulpes.vvelox.net> In-Reply-To: References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207044901.72ace69f@vixen42.vulpes.vvelox.net> <201112071251.47968.jmc-freebsd2@milibyte.co.uk> <20111207090220.2f970f1d@vixen42.vulpes.vvelox.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Mike Clarke , freebsd-questions@freebsd.org Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 15:56:53 -0000 On Wed, 7 Dec 2011 08:39:30 -0700 (MST) Warren Block wrote: > On Wed, 7 Dec 2011, Zane C. B-H. wrote: > > > Still you will want to investigate what I've mentioned. It will > > drastically simplify permission stuff as well as make automatic. > > The devfs stuff is just not boottime only, but will be applied to > > any new device added etc post boot. > > Are you sure of that? Seems like devfs permissions are only > applied when devfs(8) apply/applyset commands are run, directly or > through /etc/rc.d/devfs. Yeah, I am sure of that. It is what I have setup here. /etc/devfs.conf - This one only affects boot time stuff. /dec/devfs.rules - This one contains the rules will be applied during and post boot. It will also require you to specify which to use in "/etc/rc.conf" as this file can contain multiple rule sets. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 16:07:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0330E106564A for ; Wed, 7 Dec 2011 16:07:14 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE1E8FC0C for ; Wed, 7 Dec 2011 16:07:12 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 6G7A1i001516WCc01G7BRz; Wed, 07 Dec 2011 16:07:11 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=LMnkseq9 c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=s1O25tkdAAAA:8 a=-Z4rYefVZUcamrRnepoA:9 a=wPNLvfGTeEIA:10 a=OyOq_G8mXAEA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RYK1V-0000fZ-QG; Wed, 07 Dec 2011 16:07:09 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 7 Dec 2011 16:07:09 +0000 User-Agent: KMail/1.9.10 References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207095651.3688de01@vixen42.vulpes.vvelox.net> In-Reply-To: <20111207095651.3688de01@vixen42.vulpes.vvelox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201112071607.09728.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Cc: "Zane C. B-H." Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 16:07:14 -0000 On Wednesday 07 December 2011, Zane C. B-H. wrote: > On Wed, 7 Dec 2011 08:39:30 -0700 (MST) > > Warren Block wrote: > > On Wed, 7 Dec 2011, Zane C. B-H. wrote: > > > Still you will want to investigate what I've mentioned. It will > > > drastically simplify permission stuff as well as make automatic. > > > The devfs stuff is just not boottime only, but will be applied to > > > any new device added etc post boot. > > > > Are you sure of that? Seems like devfs permissions are only > > applied when devfs(8) apply/applyset commands are run, directly or > > through /etc/rc.d/devfs. > > Yeah, I am sure of that. It is what I have setup here. > > /etc/devfs.conf - This one only affects boot time stuff. > > /dec/devfs.rules - This one contains the rules will be applied during > and post boot. It will also require you to specify which to use in > "/etc/rc.conf" as this file can contain multiple rule sets. But can I use that to dynamically set up my link to the new device when the memory stick is inserted? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 16:22:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E2C9106564A for ; Wed, 7 Dec 2011 16:22:00 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1C98FC14 for ; Wed, 7 Dec 2011 16:22:00 +0000 (UTC) Received: from unknown (110-ccbh-135.ccbh.upmc.edu [128.147.110.135]) by www6.pairlite.com (Postfix) with ESMTPA id 30A2BB803; Wed, 7 Dec 2011 11:21:59 -0500 (EST) Date: Wed, 7 Dec 2011 11:21:58 -0500 From: Rod Person To: Mike Clarke Message-ID: <20111207112158.00000c99@unknown> In-Reply-To: <201112071607.09728.jmc-freebsd2@milibyte.co.uk> References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207095651.3688de01@vixen42.vulpes.vvelox.net> <201112071607.09728.jmc-freebsd2@milibyte.co.uk> X-Mailer: Claws Mail 3.7.10cvs7 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Zane C. B-H." Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 16:22:00 -0000 On Wed, 7 Dec 2011 16:07:09 +0000 Mike Clarke wrote: > On Wednesday 07 December 2011, Zane C. B-H. wrote: > > > On Wed, 7 Dec 2011 08:39:30 -0700 (MST) > > > > Warren Block wrote: > > > On Wed, 7 Dec 2011, Zane C. B-H. wrote: > > > > Still you will want to investigate what I've mentioned. It will > > > > drastically simplify permission stuff as well as make automatic. > > > > The devfs stuff is just not boottime only, but will be applied > > > > to any new device added etc post boot. > > > > > > Are you sure of that? Seems like devfs permissions are only > > > applied when devfs(8) apply/applyset commands are run, directly or > > > through /etc/rc.d/devfs. > > > > Yeah, I am sure of that. It is what I have setup here. > > > > /etc/devfs.conf - This one only affects boot time stuff. > > > > /dec/devfs.rules - This one contains the rules will be applied > > during and post boot. It will also require you to specify which to > > use in "/etc/rc.conf" as this file can contain multiple rule sets. > > But can I use that to dynamically set up my link to the new device > when the memory stick is inserted? > Use devd.conf to do that. This is what I do. #Mount and usb device that is plugged in and creates a da device notify 20{ match "system" "DEVFS"; match "type" "CREATE"; match "cdev" "da[0-9]*"; action "/usr/local/etc/rc.d/usb_device_action mount '/dev/$cdev'"; }; notify 20{ match "system" "DEVFS"; match "type" "DESTROY"; match "cdev" "da[0-9]*"; action "/usr/local/etc/rc.d/usb_device_action umount '/dev/$cdev'"; }; The action line is what you want it to do, in my case I have this script I wrote that reads the device label, if it finds the label the it will create a mount point with that label name, If it can't find a label it creates a mount point using the device name. -- Rod Person http://www.rodperson.com rodperson@rodperson.com "Silence is a fence around wisdom" From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 19:37:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B48106566B for ; Wed, 7 Dec 2011 19:37:29 +0000 (UTC) (envelope-from kpnemesis@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 53EB48FC08 for ; Wed, 7 Dec 2011 19:37:28 +0000 (UTC) Received: by lagv3 with SMTP id v3so530647lag.13 for ; Wed, 07 Dec 2011 11:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=Jq4eFzYIhZezZAWAiyIk06pyXXGypd9YKHhGCoJxV4I=; b=kko8n3u4wBi5HX7BGM1FyuqiTVqgcHkJk5hsmxyrsq+VyFfffM/yebcFUZHoQsdEkW WcPIYLixOB8gv2fJQAoGdInkWDd/+hLhL09vWen7UHKm7a2ObnAuUbxfiUUXEwPEcJ4B kfuprVctSjxhDvSzQQy0SXIFYAm4dagjqjst0= Received: by 10.152.103.132 with SMTP id fw4mr12676134lab.37.1323285326393; Wed, 07 Dec 2011 11:15:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.5.10 with HTTP; Wed, 7 Dec 2011 11:15:05 -0800 (PST) From: Kernel Panic Date: Wed, 7 Dec 2011 19:15:05 +0000 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: BIND and LDAP support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 19:37:29 -0000 Apologies if this is not the appropriate list but I can't seem to find one pertaining to the installation and configuration of BIND. I posted the following message on the FreeBSD forums a few weeks back but have had no replies, so I thought I'd try here on the lists: System: FreeBSD 8.2-RELEASE 64-bit Hello, I'm going to attempt to install the latest BIND port (dns/bind98) and have a couple of questions about the available install options: WITH_REPLACE_BASE=true Does this delete the base BIND version and if so would I need to edit src.conf to tell the compiler not to reinstall base BIND when I do a buildworld cycle? WITH_DLZ_LDAP=true Does this actually enable LDAP backend support or is it something else? The reason I ask is because there seems to be a separate port for BIND LDAP support but it's for an older version of BIND (dns/bind97-sdb) Thanks for any assistance. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 20:03:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1572A1065673 for ; Wed, 7 Dec 2011 20:03:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C72BA8FC08 for ; Wed, 7 Dec 2011 20:02:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pB7K2xoB070518; Wed, 7 Dec 2011 13:02:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pB7K2wp7070515; Wed, 7 Dec 2011 13:02:58 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 7 Dec 2011 13:02:58 -0700 (MST) From: Warren Block To: Mike Clarke In-Reply-To: <201112071607.09728.jmc-freebsd2@milibyte.co.uk> Message-ID: References: <201112051708.16072.jmc-freebsd2@milibyte.co.uk> <20111207095651.3688de01@vixen42.vulpes.vvelox.net> <201112071607.09728.jmc-freebsd2@milibyte.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 07 Dec 2011 13:02:59 -0700 (MST) Cc: freebsd-questions@freebsd.org, "Zane C. B-H." Subject: Re: umass to /dev/da* mapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 20:03:00 -0000 On Wed, 7 Dec 2011, Mike Clarke wrote: > On Wednesday 07 December 2011, Zane C. B-H. wrote: > >> On Wed, 7 Dec 2011 08:39:30 -0700 (MST) >> >> Warren Block wrote: >>> On Wed, 7 Dec 2011, Zane C. B-H. wrote: >>>> Still you will want to investigate what I've mentioned. It will >>>> drastically simplify permission stuff as well as make automatic. >>>> The devfs stuff is just not boottime only, but will be applied to >>>> any new device added etc post boot. >>> >>> Are you sure of that? Seems like devfs permissions are only >>> applied when devfs(8) apply/applyset commands are run, directly or >>> through /etc/rc.d/devfs. >> >> Yeah, I am sure of that. It is what I have setup here. >> >> /etc/devfs.conf - This one only affects boot time stuff. >> >> /dec/devfs.rules - This one contains the rules will be applied during >> and post boot. It will also require you to specify which to use in >> "/etc/rc.conf" as this file can contain multiple rule sets. Tested, and I agree. It'll set permissions on dynamically added devices. Sorry about that. > But can I use that to dynamically set up my link to the new device when > the memory stick is inserted? No, devfs.rules can't run arbitrary code when a device is added. devd.conf is the place for that. Actually, create a new .conf file in /etc/devd/ for your own customizations. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 20:04:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 340091065672 for ; Wed, 7 Dec 2011 20:04:37 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C67948FC08 for ; Wed, 7 Dec 2011 20:04:36 +0000 (UTC) Received: by eekc50 with SMTP id c50so869347eek.13 for ; Wed, 07 Dec 2011 12:04:35 -0800 (PST) Received: by 10.213.27.212 with SMTP id j20mr899469ebc.21.1323288275521; Wed, 07 Dec 2011 12:04:35 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id v3sm9797993eej.7.2011.12.07.12.04.33 (version=SSLv3 cipher=OTHER); Wed, 07 Dec 2011 12:04:34 -0800 (PST) Message-ID: <4EDFC6D0.6010107@my.gd> Date: Wed, 07 Dec 2011 21:04:32 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: BIND and LDAP support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 20:04:37 -0000 On 12/7/11 8:15 PM, Kernel Panic wrote: > Apologies if this is not the appropriate list but I can't seem to find > one pertaining to the installation and configuration of BIND. I posted > the following message on the FreeBSD forums a few weeks back but have > had no replies, so I thought I'd try here on the lists: > > System: FreeBSD 8.2-RELEASE 64-bit > > Hello, I'm going to attempt to install the latest BIND port > (dns/bind98) and have a couple of questions about the available > install options: > > WITH_REPLACE_BASE=true > > Does this delete the base BIND version and if so would I need to edit > src.conf to tell the compiler not to reinstall base BIND when I do a > buildworld cycle? > > WITH_DLZ_LDAP=true > > Does this actually enable LDAP backend support or is it something > else? The reason I ask is because there seems to be a separate port > for BIND LDAP support but it's for an older version of BIND > (dns/bind97-sdb) > > Thanks for any assistance. Hi, Regarding WITH_REPLACE_BASE, yes, this will make "make install" install the files in place of the base system's ones, as opposed to in /usr/local/ . If you do this, you will indeed want to add the following to your /etc/make.conf : NO_BIND= true Regarding your LDAP question, I'm still at work and it's 9PM so I'm a bit in a rush, but a quick google search turned up the following: http://bind-dlz.sourceforge.net/ldap_driver.html Regards, From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 21:01:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E4FB106564A for ; Wed, 7 Dec 2011 21:01:53 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB438FC18 for ; Wed, 7 Dec 2011 21:01:53 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB7L1n4v044051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Dec 2011 13:01:52 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB7L1nA6044050; Wed, 7 Dec 2011 13:01:49 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA20909; Wed, 7 Dec 11 13:01:32 PST Date: Wed, 07 Dec 2011 20:00:48 -0800 From: perryh@pluto.rain.com To: chris@monochrome.org Message-Id: <4ee03670.IxYb2TytkvnHelrr%perryh@pluto.rain.com> References: <84865.1323216144@tristatelogic.com> <4edf4d7a.aC3XG02R+CZWN8Xy%perryh@pluto.rain.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, rfg@tristatelogic.com Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 21:01:53 -0000 Chris Hill wrote: > ... that's a still image, a screenshot. Above that is a link > labeled "go to live camera" - when you click on that, do you > see live motion video? I don't even see that link. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 21:13:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A516106566B for ; Wed, 7 Dec 2011 21:13:45 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 3B0E18FC12 for ; Wed, 7 Dec 2011 21:13:45 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pB7LDiQt045165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Dec 2011 13:13:44 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pB7LDi73045164; Wed, 7 Dec 2011 13:13:44 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA21013; Wed, 7 Dec 11 13:10:11 PST Date: Wed, 07 Dec 2011 20:09:27 -0800 From: perryh@pluto.rain.com To: rfg@tristatelogic.com Message-Id: <4ee03877.643sERzmrKxLoTg4%perryh@pluto.rain.com> References: <2317.1323247003@tristatelogic.com> In-Reply-To: <2317.1323247003@tristatelogic.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 21:13:45 -0000 "Ronald F. Guilmette" wrote: > At least this gives me confidence that it can be done. I am still > somewhat at a loss to know exactly _how_ it can be done however. For me, it "just works". I installed 8.1-RELEASE (not all that long after it was released), installed FF and some other ports (using packages), and haven't done anything that I remember to "get FF to work". However, as Chris Hill pointed out, I am only seeing the still image. I don't even see the link for a video stream. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 00:24:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3547B1065672 for ; Thu, 8 Dec 2011 00:24:57 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward3.mail.yandex.net (forward3.mail.yandex.net [IPv6:2a02:6b8:0:602::3]) by mx1.freebsd.org (Postfix) with ESMTP id A65528FC16 for ; Thu, 8 Dec 2011 00:24:56 +0000 (UTC) Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward3.mail.yandex.net (Yandex) with ESMTP id 2ABD9B42E09 for ; Thu, 8 Dec 2011 04:24:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323303895; bh=TTBjHY1A7D0JBP/54n58OyZeNjMhKURJkp5mSGOZi3M=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=TjUl5qdsDyYNS4CpX7Af+5tIbKMNRP4pgAuLqSFciBVlw6dS0aYdRhopHi4Xfq9cA ppCLWHD0m5XLBJ/Sz/ounXoy85XdLVN41o0furA2ghm1YuU3HRual7Yl6frtlmqQd3 OlWr0ZhYhY5QQ0eP9kPdEvVih8uRPTI5YYCtH1lk= Received: from smtp1.mail.yandex.net (localhost [127.0.0.1]) by smtp1.mail.yandex.net (Yandex) with ESMTP id 08AC2AA0553 for ; Thu, 8 Dec 2011 04:24:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1323303895; bh=TTBjHY1A7D0JBP/54n58OyZeNjMhKURJkp5mSGOZi3M=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=TjUl5qdsDyYNS4CpX7Af+5tIbKMNRP4pgAuLqSFciBVlw6dS0aYdRhopHi4Xfq9cA ppCLWHD0m5XLBJ/Sz/ounXoy85XdLVN41o0furA2ghm1YuU3HRual7Yl6frtlmqQd3 OlWr0ZhYhY5QQ0eP9kPdEvVih8uRPTI5YYCtH1lk= Received: from unknown (unknown [77.93.52.20]) by smtp1.mail.yandex.net (nwsmtp/Yandex) with ESMTP id OsGWPGx4-OsGutJ0g; Thu, 8 Dec 2011 04:24:54 +0400 X-Yandex-Spam: 1 Date: Thu, 8 Dec 2011 02:24:49 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1627852555.20111208022449@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: cvsup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 00:24:57 -0000 Hi cvsup -g -L 2 /usr/local/etc/cvsup/cvsup-ports.conf I have next conf for cvsup cat cvsup-ports.conf *default host=cvsup6.jp.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs date=2008.10.15.00.00.00 *default delete use-rel-suffix *default compress ports-databases date=2008.10.15.00.00.00 But when I update I see 'edits' on 2011 year despite on I notice to use 2008 year Edit ports/databases/zodb3/pkg-plist Add delta 1.13 2011.11.21.07.12.23 wen Add delta 1.12 2011.02.14.01.08.24 wen Add delta 1.11 2011.02.13.01.39.46 wen Add delta 1.10 2010.10.12.13.38.46 wen How that can be? -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 01:45:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0148C106566B for ; Thu, 8 Dec 2011 01:45:55 +0000 (UTC) (envelope-from airton.arantes@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id D1F428FC12 for ; Thu, 8 Dec 2011 01:45:54 +0000 (UTC) Received: by dakp5 with SMTP id p5so1679806dak.13 for ; Wed, 07 Dec 2011 17:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=aohJptx4mdol8EHAAlJaxhGfCGmrOuxLrZDQ1rSVWgs=; b=PgtMYM7MG8NU/yNUPPv34+XjOzvYyelgTun1faBHUgs7obShLWe3BqGLwszKImKFT1 vALEtRNLV6GLVP7p+bV4nbvxs84CjJ6dtZ9Iolga13qTvfu4ylZsGUD+kJ+YYAkfo4UO Sbl85GKSEp5bhD19WInulJxM8iw8JjdiOFp1I= Received: by 10.68.38.68 with SMTP id e4mr10605120pbk.107.1323308754345; Wed, 07 Dec 2011 17:45:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.80.12 with HTTP; Wed, 7 Dec 2011 17:45:33 -0800 (PST) From: Airton Arantes Date: Wed, 7 Dec 2011 22:45:33 -0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with keyboard on the loader menu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 01:45:55 -0000 I'm having troubles with my keyboard when the bootstrapping reach the loader menu. My Keyboard simply doesn't works, but before and after the loader menu my keyboard works very well. I have seen BIOS settings like USB keyboard and nothing is helping. I didn't no one kernel tuning, I'm using GENERIC. The Server is a HP Proliant DL120 G6. Does anyone here can help me? -- Airton Arantes Coelho Filho From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 06:37:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9B6B1065670 for ; Thu, 8 Dec 2011 06:37:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 446148FC0C for ; Thu, 8 Dec 2011 06:37:16 +0000 (UTC) Received: from [88.217.23.127] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYXbW-0004M7-O5; Thu, 08 Dec 2011 07:37:15 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB86bC5s006496; Thu, 8 Dec 2011 07:37:13 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB86bC3M006495; Thu, 8 Dec 2011 07:37:12 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 07:37:12 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20111208063711.GA6482@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-usb@freebsd.org Subject: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 06:37:16 -0000 Hello, I encounter the following problem with UFS file systems on USB keys, i.e. the problem is not only with one key, but with all I have; the key in question here is: Dec 7 22:17:47 tinyCurrent kernel: umass0: on usbus4 Dec 7 22:17:47 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x4101 Dec 7 22:17:47 tinyCurrent root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 Dec 7 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Dec 7 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Dec 7 22:17:48 tinyCurrent kernel: da0: Removable Direct Access SCSI-2 device Dec 7 22:17:48 tinyCurrent kernel: da0: 40.000MB/s transfers Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: 255H 63S/T 975C) and the system is: $ uname -a FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 10:56:32 CEST 2010 The key was formatted the usual way for receiving a complete FreeBSD system for installation purpose: # fdisk -I da0 # fdisk -B da0 # bsdlabel -w da0s1 auto # bsdlabel -B da0s1 # bsdlabel -e da0s1 # newfs /dev/da0s1a # mount /dev/da0s1a /mnt When I now bulk write a big file to the file system, the write performance is reasonable fast, even with blocks of 512 bytes, it gives 2 MByte / sec: # dd if=usb.dmp of=/mnt/byte 10926520+0 records in 10926520+0 records out 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) the file of ~5 GByte was written and I removed it again; to be sure that the file system is synced, I do an unmount(8) and mount(8) it again before: # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 5.2G 1.4G 79% /mnt tinyCurrent# umount /mnt tinyCurrent# mount /dev/da0s1a /mnt tinyCurrent# df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 5.2G 1.4G 79% /mnt tinyCurrent# rm /mnt/byte tinyCurrent# df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 24M 6.6G 0% /mnt when I now restore a DUMP into the filesystem, the restore(8) creates first the directory tree: # cd /mnt # restore rvf /home/guru/usb.dmp this goes very fast (as far as I see from the lines scrolling) for the first few thousand dirs: ... Make node ./src/src/contrib/sendmail/.svn Make node ./src/src/contrib/sendmail/.svn/tmp Make node ./src/src/contrib/sendmail/.svn/tmp/text-base Make node ./src/src/contrib/sendmail/.svn/tmp/prop-base Make node ./src/src/contrib/sendmail/.svn/tmp/props Make node ./src/src/contrib/sendmail/.svn/prop-base Make node ./src/src/contrib/sendmail/.svn/props Make node ./src/src/contrib/sendmail/.svn/text-base after a while it get stuck and only does create the dirs with a frequence of one per second; also the used space is growing very slow: # df -kh /mnt Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 7.2G 42M 6.6G 1% /mnt this is after an hour or so: only 42 MBytes are written now; Any idea, what is broken with this? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 09:19:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2677106566B; Thu, 8 Dec 2011 09:19:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id B1A0C8FC15; Thu, 8 Dec 2011 09:19:47 +0000 (UTC) Received: from [88.217.23.127] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYa8o-0004qJ-8m; Thu, 08 Dec 2011 10:19:46 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB89Ji1h007026; Thu, 8 Dec 2011 10:19:44 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB89JhsI007025; Thu, 8 Dec 2011 10:19:43 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 10:19:43 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208091943.GA7014@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081010.36695.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 09:19:48 -0000 El da Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter Selasky escribi: > > # fdisk -I da0 > > # fdisk -B da0 > > # bsdlabel -w da0s1 auto > > # bsdlabel -B da0s1 > > # bsdlabel -e da0s1 > > # newfs /dev/da0s1a > > # mount /dev/da0s1a /mnt > > > > When I now bulk write a big file to the file system, the write > > performance is reasonable fast, even with blocks of 512 bytes, > > it gives 2 MByte / sec: > > > > # dd if=usb.dmp of=/mnt/byte > > 10926520+0 records in > > 10926520+0 records out > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > > > > Hello! > > The default block size of dd is 512 bytes. Try setting bs=65536 :-) Hello Hans, I know (as I said) that dd(1) per default writes in blocks of 512 bytes; but this is not the problem; the problem is the poor performance of restore(8); the dd(1) was just to see if the USB key performs fast enough in general; please read my post again :-) Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 09:23:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9523C106566B for ; Thu, 8 Dec 2011 09:23:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 25BE28FC12 for ; Thu, 8 Dec 2011 09:23:15 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 39706571; Thu, 08 Dec 2011 10:13:10 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Matthias Apitz Date: Thu, 8 Dec 2011 10:10:36 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> In-Reply-To: <20111208063711.GA6482@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112081010.36695.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 09:23:16 -0000 On Thursday 08 December 2011 07:37:12 Matthias Apitz wrote: > Hello, > > I encounter the following problem with UFS file systems on USB keys, > i.e. the problem is not only with one key, but with all I have; the key > in question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: 0/0, rev 2.00/1.02, addr 3> on usbus4 Dec 7 22:17:47 tinyCurrent kernel: > umass0: SCSI over Bulk-Only; quirks = 0x4101 Dec 7 22:17:47 tinyCurrent > root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 Dec 7 > 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Dec 7 > 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: > Removable Direct Access SCSI-2 device Dec 7 22:17:48 tinyCurrent kernel: > da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: > 255H 63S/T 975C) > > and the system is: > > $ uname -a > FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r214444: Thu Oct 28 > 10:56:32 CEST 2010 > > The key was formatted the usual way for receiving a complete FreeBSD > system for installation purpose: > > # fdisk -I da0 > # fdisk -B da0 > # bsdlabel -w da0s1 auto > # bsdlabel -B da0s1 > # bsdlabel -e da0s1 > # newfs /dev/da0s1a > # mount /dev/da0s1a /mnt > > When I now bulk write a big file to the file system, the write > performance is reasonable fast, even with blocks of 512 bytes, > it gives 2 MByte / sec: > > # dd if=usb.dmp of=/mnt/byte > 10926520+0 records in > 10926520+0 records out > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > Hello! The default block size of dd is 512 bytes. Try setting bs=65536 :-) --HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 10:50:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A4801065670; Thu, 8 Dec 2011 10:50:25 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 89E7D8FC0A; Thu, 8 Dec 2011 10:50:23 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 213018888; Thu, 08 Dec 2011 11:50:20 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 11:47:46 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> <20111208091943.GA7014@tinyCurrent> In-Reply-To: <20111208091943.GA7014@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081147.46641.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 10:50:25 -0000 On Thursday 08 December 2011 10:19:43 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter= =20 Selasky escribi=F3: > > > # fdisk -I da0 > > > # fdisk -B da0 > > > # bsdlabel -w da0s1 auto > > > # bsdlabel -B da0s1 > > > # bsdlabel -e da0s1 > > > # newfs /dev/da0s1a > > > # mount /dev/da0s1a /mnt > > >=20 > > > When I now bulk write a big file to the file system, the write > > > performance is reasonable fast, even with blocks of 512 bytes, > > > it gives 2 MByte / sec: > > >=20 > > > # dd if=3Dusb.dmp of=3D/mnt/byte > > > 10926520+0 records in > > > 10926520+0 records out > > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > >=20 > > Hello! > >=20 > > The default block size of dd is 512 bytes. Try setting bs=3D65536 :-) >=20 > Hello Hans, >=20 > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > but this is not the problem; the problem is the poor performance of > restore(8); the dd(1) was just to see if the USB key performs fast > enough in general; please read my post again :-) Hi, The "restore" utility also has a -b option for blocksize. Did you try that? =2D-HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 11:23:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D730C106564A for ; Thu, 8 Dec 2011 11:23:39 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 629288FC13 for ; Thu, 8 Dec 2011 11:23:38 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8QAIeR4E6kD30E/2dsb2JhbAAMN4UGpmgBAQEEMAEBgTUBAQEBAyNVARALGAkWCwICCQMCAQIBRQYNAQUCAQGtWZE0iiWBFgSOEoEWinqMcA Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 08 Dec 2011 12:23:38 +0100 Message-ID: <4EE09E39.1060309@ulb.ac.be> Date: Thu, 08 Dec 2011 12:23:37 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: "C. P. Ghost" References: <4EDE37A1.5030306@ulb.ac.be> In-Reply-To: Content-Type: multipart/mixed; boundary="------------090104020503000701010001" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: AHCI timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 11:23:40 -0000 This is a multi-part message in MIME format. --------------090104020503000701010001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/06/2011 19:25, C. P. Ghost wrote: > On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar wrote: >> Hello, >> >> I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in my >> graid3 array and I replaced it with a new one, and now have tons of: >> >> ahcich3: Timeout on slot 5 port 0 >> ahcich3: is 00000000 cs 00000000 ss 00003f60 rs 00003f60 tfd 40 serr >> 00000000 cmd 0000ed17 > > Check the connectors, both on disk and on the controller. They're > usually the culprit. Sometimes it is also a firmware problem, but > I'll try to replace the cables first. I tried with two different connectors but the problem persists. However, I noticed that the problem only appear at high I/O rates (during a graid3 resync for example): the machine runs Bacula and the backup job completed successfully this night, but it was a remote machine so the I/O writes didn't go above 2 MB/s ... Do you think the problem could be the firmware of the disk? > >> (...) >> >> Those are Seagate disks: >> >> jcigar@backup conf % sudo camcontrol devlist >> at scbus0 target 0 lun 0 (pass0,ada0) >> at scbus1 target 0 lun 0 (pass1,ada1) >> at scbus2 target 0 lun 0 (pass2,ada2) >> at scbus3 target 0 lun 0 (pass3,ada3) >> >> The controller is: >> >> ahci0@pci0:0:17:0: class=0x010601 card=0x1609103c chip=0x43911002 >> rev=0x40 hdr=0x00 >> vendor = 'ATI Technologies Inc' >> device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' >> class = mass storage >> subclass = SATA >> >> jcigar@backup conf % vmstat -i >> interrupt total rate >> irq17: ehci0 ehci1+ 2 0 >> irq18: ohci0 ohci1+ 30 0 >> irq256: bge0 31354 4 >> irq257: ahci0 19012658 2477 >> irq258: hpet0:t0 4926229 641 >> irq259: hpet0:t1 4635261 603 >> Total 28605534 3727 >> >> >> Any idea what could be the cause of this ... ? >> >> >> Thanks, >> Julien > > -cpghost. > -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------090104020503000701010001-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 11:24:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5AC41065679; Thu, 8 Dec 2011 11:24:23 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 387558FC14; Thu, 8 Dec 2011 11:24:23 +0000 (UTC) Received: from [88.217.23.127] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYc5N-0003MT-8g; Thu, 08 Dec 2011 12:24:21 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB8BOJJZ002402; Thu, 8 Dec 2011 12:24:19 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB8BOITM002401; Thu, 8 Dec 2011 12:24:19 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 12:24:18 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208112418.GA2370@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081010.36695.hselasky@c2i.net> <20111208091943.GA7014@tinyCurrent> <201112081147.46641.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081147.46641.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 11:24:23 -0000 El da Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter Selasky escribi: > > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > > but this is not the problem; the problem is the poor performance of > > restore(8); the dd(1) was just to see if the USB key performs fast > > enough in general; please read my post again :-) > > Hi, > > The "restore" utility also has a -b option for blocksize. Did you try that? Hi, I know, but I think this does not make any diff, because at the moment restore(8) is only creating (empty) dirs and not storing files to the disk; if one watches the restore(8) with truss(1) it looks like this: # truss -p 2123 write(1,"Make node ./home/guru/myThings/F"...,80) = 80 (0x50) lseek(4,0x0,SEEK_CUR) = 4517312 (0x44edc0) lseek(4,0x44ec98,SEEK_SET) = 4517016 (0x44ec98) read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR) = 4518040 (0x44f098) mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-server/.svn",0777) = 0 (0x0) write(1,"Make node ./home/guru/myThings/F"...,85) = 85 (0x55) lseek(4,0x0,SEEK_CUR) = 4518040 (0x44f098) lseek(4,0x44ece0,SEEK_SET) = 4517088 (0x44ece0) read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR) = 4518112 (0x44f0e0) i.e. it goes through the DUMP and makes the directories; and any mkdir(2) takes seconds!!! one can even see this with: # truss -d mkdir /mnt/foo ... 0.012703011 sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) 9.774846524 mkdir("/mnt/foo",0777) = 0 (0x0) 9.775744404 sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) it takes so long to do mkdir(2) until now there are no files below /mnt, only dirs; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 14:16:10 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4472106564A for ; Thu, 8 Dec 2011 14:16:10 +0000 (UTC) (envelope-from webmaster@tranzitnetwork.hu) Received: from mail.symlink.hu (monster.symlink.hu [79.172.255.2]) by mx1.freebsd.org (Postfix) with ESMTP id 92ACE8FC0A for ; Thu, 8 Dec 2011 14:16:10 +0000 (UTC) Received: from localhost (localhost.local [127.0.0.1]) by mail.symlink.hu (Postfix) with ESMTP id 4680F29EAB83 for ; Thu, 8 Dec 2011 14:57:18 +0100 (CET) Received: from mail.symlink.hu ([127.0.0.1]) by localhost (monster.symlink.hu [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 11222-02 for ; Thu, 8 Dec 2011 14:57:18 +0100 (CET) Received: by mail.symlink.hu (Postfix, from userid 2038) id 6E95529EABC7; Thu, 8 Dec 2011 14:48:36 +0100 (CET) To: questions@FreeBSD.org X-PHP-Originating-Script: 2038:...php From: BUDGET SUPPLIES INC MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Message-Id: <20111208134836.6E95529EABC7@mail.symlink.hu> Date: Thu, 8 Dec 2011 14:48:36 +0100 (CET) X-Virus-Scanned: Maia Mailguard 1.0.2 Cc: Subject: Today Sales (Clearance Sales Today) APPLE iPHONE 4G/32GB = $310 - BLACKBERRY Torch = $340 USD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: budgetsupplies.2@w.cn List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 14:16:10 -0000 Season Offer/Bonus!!! We are offering BRAND NEW APPLE/BLACKBERRY SMARTPHONES AND TABLETS,Factory Sealed Boxes,complete Accessories and 1 year Manufacturers Warranty,Also Guaranteed to work with all GSM Carrier/Network Worldwide. APPLE iPHONE 4G/32GB = $310 APPLE iPAD2 64GB/3G with WiFi = $610 ULTRA THIN APPLE MACBOOK AIR 13" LAPTOP = $610 BLACKBERRY PlayBook 7" 64GB Tablet = $370 http://us.blackberry.com/playbook-tablet/ BLACKBERRY Torch = $340 USD BLACKBERRY Storm = $320 USD BLACKBERRY Bold 9780/9650 = $300 USD BLACKBERRY Curve = $270 USD MINIMUM ORDER IS 10 UNITS BUY 10 GET 5 FREE UNITS AND FREE SHIPPING WORLDWIDE BUY 20 GET 10 FREE UNITS AND FREE SHIPPING WORLDWIDE BUY 30 GET 15 FREE UNITS AND FREE SHIPPING WORLDWIDE PAYMENT MODE: SECURE BANK TRANSFER DELIVERY MODE: 4/5 DAYS via DHL TO YOUR SHIPPING COORDINATES FOR MORE INFO CONTACT US ONLY VIA E-MAIL ADDRESS LISTED BELOW FOR A FAST RESPONSE BUDGET SUPPLIES INC, 2 Western Avenue Business Park, Mansfield Road, London W3 0BZ E-mail : budgetsupplies2@w.cn www.budgetsupplies.co.uk (under-construction) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 14:38:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA316106566B; Thu, 8 Dec 2011 14:38:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 150468FC0C; Thu, 8 Dec 2011 14:38:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 213700629; Thu, 08 Dec 2011 15:38:33 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:35:59 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> In-Reply-To: <20111208112418.GA2370@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081535.59262.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 14:38:36 -0000 On Thursday 08 December 2011 12:24:18 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter= =20 Selasky escribi=F3: > > > I know (as I said) that dd(1) per default writes in blocks of 512 > > > bytes; but this is not the problem; the problem is the poor > > > performance of restore(8); the dd(1) was just to see if the USB key > > > performs fast enough in general; please read my post again :-) > >=20 > > Hi, > >=20 > > The "restore" utility also has a -b option for blocksize. Did you try > > that? >=20 > Hi, >=20 > I know, but I think this does not make any diff, because at the moment > restore(8) is only creating (empty) dirs and not storing files to the > disk; if one watches the restore(8) with truss(1) it looks like this: >=20 > # truss -p 2123 > write(1,"Make node ./home/guru/myThings/F"...,80) =3D 80 (0x50) > lseek(4,0x0,SEEK_CUR) =3D 4517312 (0x44edc0) > lseek(4,0x44ec98,SEEK_SET) =3D 4517016 (0x44ec98) > read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) =3D 1024 (0x400) > lseek(4,0x0,SEEK_CUR) =3D 4518040 (0x44f098) > mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-ser= ve > r/.svn",0777) =3D 0 (0x0) > write(1,"Make node ./home/guru/myThings/F"...,85) =3D 85 (0x55) > lseek(4,0x0,SEEK_CUR) =3D 4518040 (0x44f098) > lseek(4,0x44ece0,SEEK_SET) =3D 4517088 (0x44ece0) > read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) =3D 1024 (0x400) > lseek(4,0x0,SEEK_CUR) =3D 4518112 (0x44f0e0) >=20 > i.e. it goes through the DUMP and makes the directories; and any > mkdir(2) takes seconds!!! >=20 > one can even see this with: >=20 Hi, If it is a umass problem you will see USB timeouts. Else it is not a USB=20 problem. Try setting hw.usb.ehci.lostintrbug=3D1 in /boot/loader.conf. =2D-HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 14:42:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 795981065676; Thu, 8 Dec 2011 14:42:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id C65F58FC1A; Thu, 8 Dec 2011 14:42:44 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 39902073; Thu, 08 Dec 2011 15:42:39 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:40:06 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> In-Reply-To: <20111208112418.GA2370@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112081540.06066.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 14:42:45 -0000 BTW: Check USB traffic with "usbdump" utility. --HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 14:52:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C35A1106566B; Thu, 8 Dec 2011 14:52:09 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 807BB8FC0C; Thu, 8 Dec 2011 14:52:09 +0000 (UTC) Received: from [88.217.23.127] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYfKR-0007i3-La; Thu, 08 Dec 2011 15:52:08 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB8Eq5xL014176; Thu, 8 Dec 2011 15:52:05 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB8Eq4Wv014175; Thu, 8 Dec 2011 15:52:04 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 8 Dec 2011 15:52:04 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20111208145204.GA12923@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <201112081147.46641.hselasky@c2i.net> <20111208112418.GA2370@tinyCurrent> <201112081540.06066.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201112081540.06066.hselasky@c2i.net> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.23.127 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 14:52:09 -0000 El da Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter Selasky escribi: > BTW: > > Check USB traffic with "usbdump" utility. I don't see this 'usbdump', neither in the system nor in ports; BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files (because of complete /usr/src and /usr/obl files incl. .svn dirs); Is this (50.000 x mkdir(2)) to much for USB? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:01:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AAE51065673; Thu, 8 Dec 2011 15:01:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6989B8FC14; Thu, 8 Dec 2011 15:01:18 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 211950569; Thu, 08 Dec 2011 16:01:16 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Thu, 8 Dec 2011 15:58:42 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <201112081540.06066.hselasky@c2i.net> <20111208145204.GA12923@tinyCurrent> In-Reply-To: <20111208145204.GA12923@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081558.42947.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 15:01:19 -0000 On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > El d=EDa Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter= =20 Selasky escribi=F3: > > BTW: > >=20 > > Check USB traffic with "usbdump" utility. >=20 > I don't see this 'usbdump', neither in the system nor in ports; >=20 > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > Is this (50.000 x mkdir(2)) to much for USB? Hi, USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Usbdump is available in 8-stable and 9-stable. =2D-HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:02:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD86C106566B; Thu, 8 Dec 2011 15:02:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 16CB88FC0A; Thu, 8 Dec 2011 15:02:14 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 214855062; Thu, 08 Dec 2011 16:02:13 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 8 Dec 2011 15:59:39 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111208063711.GA6482@tinyCurrent> <20111208145204.GA12923@tinyCurrent> <201112081558.42947.hselasky@c2i.net> In-Reply-To: <201112081558.42947.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112081559.39762.hselasky@c2i.net> Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 15:02:15 -0000 On Thursday 08 December 2011 15:58:42 Hans Petter Selasky wrote: > On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > > El d=EDa Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter >=20 > Selasky escribi=F3: > > > BTW: > > >=20 > > > Check USB traffic with "usbdump" utility. > >=20 > > I don't see this 'usbdump', neither in the system nor in ports; > >=20 > > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > > Is this (50.000 x mkdir(2)) to much for USB? >=20 > Hi, >=20 > USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Per second. >=20 > Usbdump is available in 8-stable and 9-stable. >=20 =2D-HPS From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:24:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F20F106564A for ; Thu, 8 Dec 2011 15:24:24 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE298FC12 for ; Thu, 8 Dec 2011 15:24:23 +0000 (UTC) Received: by dakp5 with SMTP id p5so2585246dak.13 for ; Thu, 08 Dec 2011 07:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=1Xfhpgx00MonH5+3EdyosTIrekvKPPED/bmFUxmrGJM=; b=gbNMGbngcqQp5NTvf9yMMHYWqxDoM8NPOCjN5c1IagLzEudqNxzcai0F7xYJ2t30Pj yB1oWz9GRvUit9qAp1vJeLSDnADNenoDKplaQiWqOTUDfjbS64t3K2EVDh3/xhWSIwnp OJSfBWoL6Bt1YwccuSV3BnaBB1xK9qDNvyrzc= MIME-Version: 1.0 Received: by 10.68.28.230 with SMTP id e6mr15752346pbh.117.1323356508268; Thu, 08 Dec 2011 07:01:48 -0800 (PST) Sender: pldrouin@gmail.com Received: by 10.68.0.131 with HTTP; Thu, 8 Dec 2011 07:01:48 -0800 (PST) Date: Thu, 8 Dec 2011 10:01:48 -0500 X-Google-Sender-Auth: vs1XCz3j17boyqanPy5AIxnuLzQ Message-ID: From: Pierre-Luc Drouin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 15:24:24 -0000 Hi, so which current 14" Lenovo laptop is the best for FreeBSD compatibility right now? Is it the T420 with the Nvidia card (Nvidia card forced in the BIOS)? Sleep modes work with the T420, right? And I guess Intel Wi-Fi cards are the most supported ones, right? Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:57:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0377B1065746 for ; Thu, 8 Dec 2011 15:57:17 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 990F88FC14 for ; Thu, 8 Dec 2011 15:57:16 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id pB8FvEUL058970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Dec 2011 09:57:15 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id pB8FvEbT048342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Dec 2011 09:57:14 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id pB8FvEDa048341; Thu, 8 Dec 2011 09:57:14 -0600 (CST) (envelope-from dan) Date: Thu, 8 Dec 2011 09:57:13 -0600 From: Dan Nelson To: Matthias Apitz Message-ID: <20111208155713.GC53453@dan.emsphone.com> References: <20111208063711.GA6482@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111208063711.GA6482@tinyCurrent> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Thu, 08 Dec 2011 09:57:15 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 15:57:17 -0000 In the last episode (Dec 08), Matthias Apitz said: > I encounter the following problem with UFS file systems on USB keys, i.e. > the problem is not only with one key, but with all I have; the key in > question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: on usbus4 > Dec 7 22:17:47 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = 0x4101 > Dec 7 22:17:47 tinyCurrent root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 > Dec 7 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 > Dec 7 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: Removable Direct Access SCSI-2 device > Dec 7 22:17:48 tinyCurrent kernel: da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: 255H 63S/T 975C) [...] > after a while it get stuck and only does create the dirs with > a frequence of one per second; also the used space is growing very > slow: > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 7.2G 42M 6.6G 1% /mnt > > this is after an hour or so: only 42 MBytes are written now; > > Any idea, what is broken with this? Cheap USB thumb drives aren't really optimized for small random-I/O writes. Can you try mounting the filesystem async? that might help a little. A workaround would be to use mdconfig to create a block device (backed by either swap or a file on your hard drive) the same size as your flash drive, newfs and restore to that, then umount the filesystem and dd the raw image directly to your flash drive. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:10:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A292E106564A for ; Thu, 8 Dec 2011 16:10:12 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 37E4D8FC13 for ; Thu, 8 Dec 2011 16:10:11 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so3629168wgb.31 for ; Thu, 08 Dec 2011 08:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1SmUhf2b8N0MEaoc0HHtbsa4aBk7wpIdNdNO5wFrYxU=; b=hT6SZcvyJFwjlDAYiwxvwm7xDq/ba1CBfaQIqwyKydSXmoNpzKtQ9BohcTNidcToMx U06CLWGLuSkLFdev7iXgKjJ6cDQx7syyINpWOLhfu9XudyUdqPR6Yip8eFP5+g7XyJv6 lMlZodkfhM+ZCxCJ4qbRmI5hwfpETymPJjCz8= MIME-Version: 1.0 Received: by 10.180.108.114 with SMTP id hj18mr6569288wib.2.1323360610968; Thu, 08 Dec 2011 08:10:10 -0800 (PST) Received: by 10.223.58.66 with HTTP; Thu, 8 Dec 2011 08:10:10 -0800 (PST) Date: Thu, 8 Dec 2011 10:10:10 -0600 Message-ID: From: Adam Vande More To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: OCR Form tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:10:12 -0000 I have thousands of forms equivalent to invoices that I'd like to put into a database. I'm thinking I would like to have some OCR app/tool scan these forms, and then generate a CSV with each field. Does anyone have recommendations on software for this? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:36:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59A2E1065672 for ; Thu, 8 Dec 2011 16:36:25 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5078FC08 for ; Thu, 8 Dec 2011 16:36:24 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 5E9262792DD3; Thu, 8 Dec 2011 10:42:40 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7J9Gn8erP8Tx; Thu, 8 Dec 2011 10:42:24 -0600 (CST) Received: from [192.168.46.132] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id BE7332792DD2; Thu, 8 Dec 2011 10:42:24 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Ryan Coleman In-Reply-To: Date: Thu, 8 Dec 2011 10:36:08 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <6C1916DD-0A21-429F-AA7F-2851AF7DF740@d3photography.com> References: To: Adam Vande More X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-questions@freebsd.org Subject: Re: OCR Form tools X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:36:25 -0000 I don't know about the second half, you might have to write something up = in Perl for that but I am using tesseract (graphics/tesseract) to do = some old document converting for my father=85 works pretty slick. On Dec 8, 2011, at 10:10 AM, Adam Vande More wrote: > I have thousands of forms equivalent to invoices that I'd like to put = into > a database. I'm thinking I would like to have some OCR app/tool scan = these > forms, and then generate a CSV with each field. Does anyone have > recommendations on software for this? >=20 > --=20 > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:41:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14E631065673 for ; Thu, 8 Dec 2011 16:41:13 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id DF87A8FC13 for ; Thu, 8 Dec 2011 16:41:12 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 15B162792DD4 for ; Thu, 8 Dec 2011 10:47:28 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TyfO-ABpKmvO for ; Thu, 8 Dec 2011 10:47:12 -0600 (CST) Received: from [192.168.46.132] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id B907C2792DD3 for ; Thu, 8 Dec 2011 10:47:12 -0600 (CST) From: Ryan Coleman Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Thu, 8 Dec 2011 10:40:56 -0600 Message-Id: To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:41:13 -0000 I have a printer that doesn't support IPP. The leasing agency wants to = charge me $1400 to "install" the Postcript driver on it but I'm looking = at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office = here that people would love to be able to print from=85 but AirPrint = requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:44:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74015106564A for ; Thu, 8 Dec 2011 16:44:31 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 2C22F8FC0A for ; Thu, 8 Dec 2011 16:44:31 +0000 (UTC) Received: from gamma.local (206.Red-2-139-48.dynamicIP.rima-tde.net [2.139.48.206]) by mail.locolomo.org (Postfix) with ESMTPSA id 6A5AB1C0841 for ; Thu, 8 Dec 2011 17:44:29 +0100 (CET) Message-ID: <4EE0E96C.8090406@locolomo.org> Date: Thu, 08 Dec 2011 16:44:28 +0000 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:44:31 -0000 On 08/12/2011 15:01, Pierre-Luc Drouin wrote: > so which current 14" Lenovo laptop is the best for FreeBSD > compatibility right now? Is it the T420 with the Nvidia card (Nvidia > card forced in the BIOS)? Sleep modes work with the T420, right? And I > guess Intel Wi-Fi cards are the most supported ones, right? Hi: I got an E520 and tried to install 90RC2 on it, ACPI problems with thermal zone 0 (-273). I got the system installed awkardly: the installer was useless as the console would fill with acpi error messages. Tried to boot live and run sysinstall on a different console but wouldn't install. Eventually I did everything manually. But then trying buildworld got the system hanging without any error message probably due to overheating. So, the final resort was to install linux .. that suck. :( I don't know the other series. Good luck and let me know. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:45:35 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C22E1065673 for ; Thu, 8 Dec 2011 16:45:35 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas-2-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:b9c::2]) by mx1.freebsd.org (Postfix) with ESMTP id C332A8FC1E for ; Thu, 8 Dec 2011 16:45:34 +0000 (UTC) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.14.4/8.14.5) with ESMTP id pB8GjX6D067849 for ; Thu, 8 Dec 2011 11:45:33 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.14.4/8.14.5/Submit) id pB8GjXCO067848 for questions@freebsd.org; Thu, 8 Dec 2011 11:45:33 -0500 (EST) (envelope-from mwlucas) Date: Thu, 8 Dec 2011 11:45:33 -0500 From: "Michael W. Lucas" To: questions@freebsd.org Message-ID: <20111208164533.GA67774@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Thu, 08 Dec 2011 11:45:34 -0500 (EST) Cc: Subject: PAM confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:45:35 -0000 Hi, I'm attempting to hook security/pam_ssh_agent_auth into sudo, and have learned that PAM doesn't work the way I thought it did. I'm running FreeBSD-9/i386, with sudo 1.7.2.6. My goal is that sudo pass all auth requests back to the users' SSH agent. Sudo should never use passwords for authentication. If the user doesn't have an SSH agent, or if the SSH agent breaks somehow, the sudo request is denied. With my current config, sudo requests are accepted without a password even if the users' environment has no $SSH_AUTH_SOCK. I'm obviously doing something wrong. Here's my pam.d/sudo. I removed password settings and required the pam_ssh_agent_auth library. --- #auth include system auth required /usr/local/lib/pam_ssh_agent_auth.so file=~/.ssh/authorized\ _keys # account account include system # session # XXX: pam_lastlog (used in system) causes users to appear as though # they are no longer logged in in system logs. session required pam_permit.so # password #password include system --- Any suggestions what I'm doing wrong? Thanks, ==ml -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: Network Flow Analysis http://www.networkflowanalysis.com/ mwlucas@BlackHelicopters.org, Twitter @mwlauthor From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 16:53:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4D241065677 for ; Thu, 8 Dec 2011 16:53:29 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 74E228FC1A for ; Thu, 8 Dec 2011 16:53:29 +0000 (UTC) Received: by ggnp1 with SMTP id p1so3069077ggn.13 for ; Thu, 08 Dec 2011 08:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SidjaMwcqfBQWBJfo4MTri8K7YFmUdb+9gRXe4oobcU=; b=ZPtdzHl4/+U4VP1ogMMysvnJuSQDKGQ56/JrqoNZmHFt+BtYkyM81SYs097tQ2BgXB AFHfEvtxSlEhoFcdBy0+qC0IsQ8zOSmvUxMPFzDzjPJ94Cxq5MY19EF6LCCQtQX5QR07 if5kh3AtQKvijJUPN9ZU8OSZJNjp/Is3/ISiA= MIME-Version: 1.0 Received: by 10.68.34.67 with SMTP id x3mr16889299pbi.100.1323363208486; Thu, 08 Dec 2011 08:53:28 -0800 (PST) Sender: pldrouin@gmail.com Received: by 10.68.0.131 with HTTP; Thu, 8 Dec 2011 08:53:28 -0800 (PST) In-Reply-To: <4EE0E96C.8090406@locolomo.org> References: <4EE0E96C.8090406@locolomo.org> Date: Thu, 8 Dec 2011 11:53:28 -0500 X-Google-Sender-Auth: PqMbdJCD8dGv39jNGkzJVrxxOu8 Message-ID: From: Pierre-Luc Drouin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 16:53:29 -0000 On Thu, Dec 8, 2011 at 11:44 AM, Erik N=F8rgaard wr= ote: > On 08/12/2011 15:01, Pierre-Luc Drouin wrote: > >> so which current 14" Lenovo laptop is the best for FreeBSD >> compatibility right now? Is it the T420 with the Nvidia card (Nvidia >> card forced in the BIOS)? Sleep modes work with the T420, right? And I >> guess Intel Wi-Fi cards are the most supported ones, right? > > > Hi: I got an E520 and tried to install 90RC2 on it, ACPI problems with > thermal zone 0 (-273). I got the system installed awkardly: the installer > was useless as the console would fill with acpi error messages. Tried to > boot live and run sysinstall on a different console but wouldn't install. > Eventually I did everything manually. > > But then trying buildworld got the system hanging without any error messa= ge > probably due to overheating. > > So, the final resort was to install linux .. that suck. :( > > I don't know the other series. Good luck and let me know. > > BR, Erik > -- > >From what I read in the past I think the T series has more support than the other series, but maybe I am wrong. After the options that are offered to me, it seems that the T series model I could get with a Nvidia chipset would be the T520 with the i7 2630QM CPU and the Intel 5205 wireless card. From what I have read, the wireless card should work fine on FreeBSD, but I have read that some people had problems in October with the BIOS and GPT. I assume these problems do not apply with the MBR? WHat about the sleep modes with the T520? Does suspend to RAM and suspend to disk works? Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 17:03:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DA41065670 for ; Thu, 8 Dec 2011 17:03:20 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5648FC08 for ; Thu, 8 Dec 2011 17:03:20 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 04EC32792DD8; Thu, 8 Dec 2011 11:09:36 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id avZaNMmLdJz7; Thu, 8 Dec 2011 11:09:23 -0600 (CST) Received: from [192.168.46.132] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id 71BCB2792DD6; Thu, 8 Dec 2011 11:09:23 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Ryan Coleman In-Reply-To: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> Date: Thu, 8 Dec 2011 11:03:06 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <505F1E40-1AC5-46D7-A433-56D8435D0361@d3photography.com> References: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> To: Patrick Mahan X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions Subject: Re: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 17:03:20 -0000 I keep getting garbage text when I connect to my Lanier here at work=85 = an LD520C. I used to be able to print to it but never in color=85 not the end of = the world but I want to be able to print to it again. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Ryan Coleman >> Sent: Thursday, December 08, 2011 8:41 AM >> To: FreeBSD Questions >> Subject: CUPS and IPP/JD/LPD >>=20 >> I have a printer that doesn't support IPP. The leasing agency wants = to >> charge me $1400 to "install" the Postcript driver on it but I'm = looking at >> another solution, if possible: CUPS. >>=20 >> I have a MacBook and we have a number of iOS devices around the = office here >> that people would love to be able to print from... but AirPrint = requires an >> IPP-compatible printer. >>=20 >> Is there a way to convert or translate IPP to either LPD or = JetDirect? >>=20 >> -- >> Ryan >>=20 >=20 > Ryan, >=20 > I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 = all-in-one > with no problems. >=20 > I had and older HP Color inkjet (930?) that was hooked up for a while = to a Fedora > Core box that was using LPD that worked as well. >=20 > Patrick > ---------------------------------------------------- > Patrick Mahan > Lead Technical Kernel Engineer > Adara Networks > Disclaimer: The opinions expressed here are solely the responsibility = of the author and are not to be > construed as an official opinion of Adara Networks. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 17:15:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4CA1065673 for ; Thu, 8 Dec 2011 17:15:35 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 824738FC08 for ; Thu, 8 Dec 2011 17:15:35 +0000 (UTC) X-ASG-Debug-ID: 1323363547-06a331a50001-jLrpzn Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id nxnjkfcihVD4Bi7R; Thu, 08 Dec 2011 08:59:07 -0800 (PST) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523]) by SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523%14]) with mapi; Thu, 8 Dec 2011 08:59:07 -0800 From: Patrick Mahan X-Barracuda-BBL-IP: fe80::7042:d8c2:5973:c523 X-Barracuda-RBL-IP: fe80::7042:d8c2:5973:c523 To: Ryan Coleman , FreeBSD Questions Date: Thu, 8 Dec 2011 08:59:05 -0800 X-ASG-Orig-Subj: RE: CUPS and IPP/JD/LPD Thread-Topic: CUPS and IPP/JD/LPD Thread-Index: Acy1yEkRxnha30EiQRSXxu0St0zEPwAAcOZw Message-ID: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1323363547 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: Subject: RE: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 17:15:35 -0000 >-----Original Message----- >From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >questions@freebsd.org] On Behalf Of Ryan Coleman >Sent: Thursday, December 08, 2011 8:41 AM >To: FreeBSD Questions >Subject: CUPS and IPP/JD/LPD > >I have a printer that doesn't support IPP. The leasing agency wants to >charge me $1400 to "install" the Postcript driver on it but I'm looking at >another solution, if possible: CUPS. > >I have a MacBook and we have a number of iOS devices around the office her= e >that people would love to be able to print from... but AirPrint requires a= n >IPP-compatible printer. > >Is there a way to convert or translate IPP to either LPD or JetDirect? > >-- >Ryan > Ryan, I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 all-= in-one with no problems. I had and older HP Color inkjet (930?) that was hooked up for a while to a = Fedora Core box that was using LPD that worked as well. Patrick ---------------------------------------------------- Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of th= e author and are not to be construed as an official opinion of Adara Networks. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 17:23:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13C6B1065676 for ; Thu, 8 Dec 2011 17:23:51 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id DC6CA8FC08 for ; Thu, 8 Dec 2011 17:23:50 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 56F342792DDD; Thu, 8 Dec 2011 11:30:06 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4eT6wu-gXiM1; Thu, 8 Dec 2011 11:29:53 -0600 (CST) Received: from [192.168.46.132] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id A0C402792DDB; Thu, 8 Dec 2011 11:29:53 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> Date: Thu, 8 Dec 2011 11:23:36 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <451832FC-78FC-479C-A1D5-836DC01372A7@d3photography.com> References: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> To: Patrick Mahan X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions Subject: Re: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 17:23:51 -0000 Definitely Postscript. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Ryan Coleman >> Sent: Thursday, December 08, 2011 8:41 AM >> To: FreeBSD Questions >> Subject: CUPS and IPP/JD/LPD >>=20 >> I have a printer that doesn't support IPP. The leasing agency wants = to >> charge me $1400 to "install" the Postcript driver on it but I'm = looking at >> another solution, if possible: CUPS. >>=20 >> I have a MacBook and we have a number of iOS devices around the = office here >> that people would love to be able to print from... but AirPrint = requires an >> IPP-compatible printer. >>=20 >> Is there a way to convert or translate IPP to either LPD or = JetDirect? >>=20 >> -- >> Ryan >>=20 >=20 > Ryan, >=20 > I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 = all-in-one > with no problems. >=20 > I had and older HP Color inkjet (930?) that was hooked up for a while = to a Fedora > Core box that was using LPD that worked as well. >=20 > Patrick > ---------------------------------------------------- > Patrick Mahan > Lead Technical Kernel Engineer > Adara Networks > Disclaimer: The opinions expressed here are solely the responsibility = of the author and are not to be > construed as an official opinion of Adara Networks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 17:25:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A590106566B for ; Thu, 8 Dec 2011 17:25:36 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id EF9288FC16 for ; Thu, 8 Dec 2011 17:25:35 +0000 (UTC) X-ASG-Debug-ID: 1323363991-06a331b30001-jLrpzn Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id hYx6R3hfUQF5erpE; Thu, 08 Dec 2011 09:06:31 -0800 (PST) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523]) by SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523%14]) with mapi; Thu, 8 Dec 2011 09:06:31 -0800 From: Patrick Mahan X-Barracuda-BBL-IP: fe80::7042:d8c2:5973:c523 X-Barracuda-RBL-IP: fe80::7042:d8c2:5973:c523 To: Ryan Coleman Date: Thu, 8 Dec 2011 09:06:30 -0800 X-ASG-Orig-Subj: RE: CUPS and IPP/JD/LPD Thread-Topic: CUPS and IPP/JD/LPD Thread-Index: Acy1y0pq4Txtb5KQRsOekQhIG0G4pgAAEJmg Message-ID: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2E@SJ-EXCH-1.adaranet.com> References: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> <505F1E40-1AC5-46D7-A433-56D8435D0361@d3photography.com> In-Reply-To: <505F1E40-1AC5-46D7-A433-56D8435D0361@d3photography.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1323363991 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: FreeBSD Questions Subject: RE: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 17:25:36 -0000 >-----Original Message----- >From: Ryan Coleman [mailto:editor@d3photography.com] >Sent: Thursday, December 08, 2011 9:03 AM >To: Patrick Mahan >Cc: FreeBSD Questions >Subject: Re: CUPS and IPP/JD/LPD > >I keep getting garbage text when I connect to my Lanier here at work... an >LD520C. > >I used to be able to print to it but never in color... not the end of the >world but I want to be able to print to it again. > >On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: > >>> -----Original Message----- >>> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >>> questions@freebsd.org] On Behalf Of Ryan Coleman >>> Sent: Thursday, December 08, 2011 8:41 AM >>> To: FreeBSD Questions >>> Subject: CUPS and IPP/JD/LPD >>> >>> I have a printer that doesn't support IPP. The leasing agency wants to >>> charge me $1400 to "install" the Postcript driver on it but I'm looking >at >>> another solution, if possible: CUPS. >>> >>> I have a MacBook and we have a number of iOS devices around the office >here >>> that people would love to be able to print from... but AirPrint require= s >an >>> IPP-compatible printer. >>> >>> Is there a way to convert or translate IPP to either LPD or JetDirect? >>> >>> -- >>> Ryan >>> >> >> Ryan, >> >> I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 >all-in-one >> with no problems. >> >> I had and older HP Color inkjet (930?) that was hooked up for a while to= a >Fedora >> Core box that was using LPD that worked as well. >> Ryan, What does the garbage text look like? PCL? or Postscript? I'm not famili= ar with the Lanier printers. Patrick ---------------------------------------------------- Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of th= e author and are not to be construed as an official opinion of Adara Networks. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 17:50:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C82C81065672 for ; Thu, 8 Dec 2011 17:50:23 +0000 (UTC) (envelope-from kpnemesis@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 531528FC23 for ; Thu, 8 Dec 2011 17:50:22 +0000 (UTC) Received: by lahl5 with SMTP id l5so219007lah.13 for ; Thu, 08 Dec 2011 09:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XZuv5I6j9vRudREqdwPUnjc5HX2XIEszxz3l605xgN0=; b=bzfql6lBtfbrLYgWFfrLA5xG0HTuusVuOAK5wlM0BBf426e9B4otqM/64s8FtxK64w RQi851eCy0oWg5a1e9VgIxGv925/OiCv+oNy6qKLf2XopC61sYWnmvTqQMHKV93KNKV1 Xz9Co4twGRhCgBEo+z7K3TLBm8X4PGRY8qn44= Received: by 10.152.103.132 with SMTP id fw4mr2618099lab.37.1323366621459; Thu, 08 Dec 2011 09:50:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.5.10 with HTTP; Thu, 8 Dec 2011 09:50:01 -0800 (PST) In-Reply-To: <4EDFC6D0.6010107@my.gd> References: <4EDFC6D0.6010107@my.gd> From: Kernel Panic Date: Thu, 8 Dec 2011 17:50:01 +0000 Message-ID: To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: BIND and LDAP support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 17:50:24 -0000 Hello, thanks for replying. Regarding building BIND, are you sure the setting should go in make.conf and not src.conf - here is the relevant text from the src.conf man page: "WITHOUT_BIND Setting this variable will prevent any part of BIND from being built. When set, it also enforces the following options: WITHOUT_BIND_DNSSEC WITHOUT_BIND_ETC WITHOUT_BIND_LIBS_LWRES WITHOUT_BIND_MTREE WITHOUT_BIND_NAMED WITHOUT_BIND_UTILS" Thankyou for the web link for the DLZ driver however I had already seen it; my confusion is what is the difference between BIND built with the DLZ LDAP driver and BIND built with the 'sdb' (simplified database interface) option as specified in http://bind9-ldap.bayour.com/ and as built in the dns/bind97-sdb port? If these are two different ways for BIND to use LDAP, which one should I choose? Thanks. On 7 December 2011 20:04, Damien Fleuriot wrote: > On 12/7/11 8:15 PM, Kernel Panic wrote: >> Apologies if this is not the appropriate list but I can't seem to find >> one pertaining to the installation and configuration of BIND. I posted >> the following message on the FreeBSD forums a few weeks back but have >> had no replies, so I thought I'd try here on the lists: >> >> System: FreeBSD 8.2-RELEASE 64-bit >> >> Hello, I'm going to attempt to install the latest BIND port >> (dns/bind98) and have a couple of questions about the available >> install options: >> >> WITH_REPLACE_BASE=true >> >> Does this delete the base BIND version and if so would I need to edit >> src.conf to tell the compiler not to reinstall base BIND when I do a >> buildworld cycle? >> >> WITH_DLZ_LDAP=true >> >> Does this actually enable LDAP backend support or is it something >> else? The reason I ask is because there seems to be a separate port >> for BIND LDAP support but it's for an older version of BIND >> (dns/bind97-sdb) >> >> Thanks for any assistance. > > > Hi, > > > Regarding WITH_REPLACE_BASE, yes, this will make "make install" install > the files in place of the base system's ones, as opposed to in /usr/local/ . > > > If you do this, you will indeed want to add the following to your > /etc/make.conf : > NO_BIND= true > > > Regarding your LDAP question, I'm still at work and it's 9PM so I'm a > bit in a rush, but a quick google search turned up the following: > http://bind-dlz.sourceforge.net/ldap_driver.html > > > Regards, > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 18:05:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492151065675 for ; Thu, 8 Dec 2011 18:05:36 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0EA8FC08 for ; Thu, 8 Dec 2011 18:05:35 +0000 (UTC) X-ASG-Debug-ID: 1323363140-06a3319d0001-jLrpzn Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id KCy7jrr6VH31JJin; Thu, 08 Dec 2011 08:52:20 -0800 (PST) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523]) by SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523%14]) with mapi; Thu, 8 Dec 2011 08:52:18 -0800 From: Patrick Mahan X-Barracuda-BBL-IP: fe80::7042:d8c2:5973:c523 X-Barracuda-RBL-IP: fe80::7042:d8c2:5973:c523 To: Airton Arantes , "freebsd-questions@freebsd.org" Date: Thu, 8 Dec 2011 08:52:16 -0800 X-ASG-Orig-Subj: RE: Problems with keyboard on the loader menu Thread-Topic: Problems with keyboard on the loader menu Thread-Index: Acy1S0ks5UXdjmUGQ9y58XneAlKAOAAfdscQ Message-ID: <32AB5C9615CC494997D9ABB1DB12783C02D6748C26@SJ-EXCH-1.adaranet.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1323363140 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: Subject: RE: Problems with keyboard on the loader menu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 18:05:36 -0000 >-----Original Message----- >From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >questions@freebsd.org] On Behalf Of Airton Arantes >Sent: Wednesday, December 07, 2011 5:46 PM >To: freebsd-questions@freebsd.org >Subject: Problems with keyboard on the loader menu > >I'm having troubles with my keyboard when the bootstrapping reach the >loader menu. My Keyboard simply doesn't works, but before and after the >loader menu my keyboard works very well. I have seen BIOS settings like US= B >keyboard and nothing is helping. I didn't no one kernel tuning, I'm using >GENERIC. The Server is a HP Proliant DL120 G6. Does anyone here can help m= e? > >-- >Airton Arantes Coelho Filho > I have found that I have to do the following on some of our Proliant G5's - # cd / # echo "-P" > boot.conf Also, are you using the VGA or the serial console? We enable both (our ser= ial consoles are connected to terminal servers for remote access and VGA is use= d for the physical access). Our keyboards are USB. This is with FreeBSD 8.0 AMD64 Patrick ---------------------------------------------------- Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of th= e author and are not to be construed as an official opinion of Adara Networks. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 18:15:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A36106566B for ; Thu, 8 Dec 2011 18:15:35 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 96C438FC1A for ; Thu, 8 Dec 2011 18:15:35 +0000 (UTC) X-ASG-Debug-ID: 1323366950-06a332310001-jLrpzn Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id yV6mN32yt1gCCWfQ; Thu, 08 Dec 2011 09:55:50 -0800 (PST) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523]) by SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523%14]) with mapi; Thu, 8 Dec 2011 09:55:50 -0800 From: Patrick Mahan X-Barracuda-BBL-IP: fe80::7042:d8c2:5973:c523 X-Barracuda-RBL-IP: fe80::7042:d8c2:5973:c523 To: Ryan Coleman Date: Thu, 8 Dec 2011 09:55:48 -0800 X-ASG-Orig-Subj: RE: CUPS and IPP/JD/LPD Thread-Topic: CUPS and IPP/JD/LPD Thread-Index: Acy1zifGJ9T1U82tQryNOR5vjgrUfQABDSXA Message-ID: <32AB5C9615CC494997D9ABB1DB12783C02D6748C4B@SJ-EXCH-1.adaranet.com> References: <32AB5C9615CC494997D9ABB1DB12783C02D6748C2A@SJ-EXCH-1.adaranet.com> <451832FC-78FC-479C-A1D5-836DC01372A7@d3photography.com> In-Reply-To: <451832FC-78FC-479C-A1D5-836DC01372A7@d3photography.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1323366950 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: FreeBSD Questions Subject: RE: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 18:15:35 -0000 >-----Original Message----- >From: Ryan Coleman [mailto:editor@d3photography.com] >Sent: Thursday, December 08, 2011 9:24 AM >To: Patrick Mahan >Cc: FreeBSD Questions >Subject: Re: CUPS and IPP/JD/LPD > >Definitely Postscript. > With CUPS, I'm don't remember off the top of my head, but I believe there i= s a way to create a "text only" queue. You might want to setup a box with CUPS and= use that to act as an "intermediary" for the iOS devices. Patrick ---------------------------------------------------- Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of th= e author and are not to be construed as an official opinion of Adara Networks. >On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: > >>> -----Original Message----- >>> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >>> questions@freebsd.org] On Behalf Of Ryan Coleman >>> Sent: Thursday, December 08, 2011 8:41 AM >>> To: FreeBSD Questions >>> Subject: CUPS and IPP/JD/LPD >>> >>> I have a printer that doesn't support IPP. The leasing agency wants to >>> charge me $1400 to "install" the Postcript driver on it but I'm looking >at >>> another solution, if possible: CUPS. >>> >>> I have a MacBook and we have a number of iOS devices around the office >here >>> that people would love to be able to print from... but AirPrint require= s >an >>> IPP-compatible printer. >>> >>> Is there a way to convert or translate IPP to either LPD or JetDirect? >>> >>> -- >>> Ryan >>> >> >> Ryan, >> >> I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 >all-in-one >> with no problems. >> >> I had and older HP Color inkjet (930?) that was hooked up for a while to= a >Fedora >> Core box that was using LPD that worked as well. >> >> Patrick >> ---------------------------------------------------- >> Patrick Mahan >> Lead Technical Kernel Engineer >> Adara Networks >> Disclaimer: The opinions expressed here are solely the responsibility of >the author and are not to be >> construed as an official opinion of Adara Networks. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 18:31:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB07610656D8 for ; Thu, 8 Dec 2011 18:31:01 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 938D38FC0A for ; Thu, 8 Dec 2011 18:31:01 +0000 (UTC) Received: by ghbg20 with SMTP id g20so2166202ghb.13 for ; Thu, 08 Dec 2011 10:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:disposition-notification-to :content-type:date:message-id:mime-version:x-mailer; bh=2PY9RIvJvQ6Rz80mdQikmas3C+uiPkDBFa/xNoUFQjo=; b=HsaV2OcaQPh4DTfCA0l02OuZTwLHnv5/r9BxT1+sznGmbKsn2Jbj2YVZyKpb4ZTRC9 ZSllg7B2pFskMxa297HnuabI70UejKJ7Han+1ehNjmvYVWb76PPLE/jEyGei50CmKOnc H/fdRYr4dB5J+gQx3NJnlZrXivaoee76PUrRs= Received: by 10.236.154.42 with SMTP id g30mr7148336yhk.3.1323369060899; Thu, 08 Dec 2011 10:31:00 -0800 (PST) Received: from [192.168.6.230] ([201.21.151.230]) by mx.google.com with ESMTPS id 39sm9423336ant.15.2011.12.08.10.30.57 (version=SSLv3 cipher=OTHER); Thu, 08 Dec 2011 10:30:59 -0800 (PST) From: Sergio de Almeida Lenzi To: freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-AllwdlBnl0WQVrBysOl1" Date: Thu, 08 Dec 2011 16:30:54 -0200 Message-ID: <1323369054.42699.2.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: CUPS and IPP/JD/LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 18:31:01 -0000 --=-AllwdlBnl0WQVrBysOl1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Em Qui, 2011-12-08 às 10:40 -0600, Ryan Coleman escreveu: > I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to "install" the Postcript driver on it but I'm looking at another solution, if possible: CUPS. > > I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from… but AirPrint requires an IPP-compatible printer. > > Is there a way to convert or translate IPP to either LPD or JetDirect? > > -- > Ryan > I used to install a freebsd machine in the network than install cups, and install a PPD file for that printer (in the attach) configure & run cups. pint --=-AllwdlBnl0WQVrBysOl1 Content-Disposition: attachment; filename="Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd" Content-Type: text/plain; name="Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd"; charset="UTF-8" Content-Transfer-Encoding: 7bit *PPD-Adobe: "4.3" *% *% For information on using this, and to obtain the required backend *% script, consult http://www.openprinting.org/ *% *% This file is published under the GNU General Public License *% *% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with *% all programs and environments which use PPD files for dealing with *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 4.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer *% driver option access with all supported printer drivers and printing *% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the *% "Save as..." command in the "File" menu of your browser or in the *% pop-up manu when you click on this document with the right mouse button. *% DO NOT cut and paste this file into an editor with your mouse. This can *% introduce additional line breaks which lead to unexpected results. *% *% You may save this file as 'Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd' *% *% *FormatVersion: "4.3" *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName: "PXLCOLOR.PPD" *Manufacturer: "Generic" *Product: "(PCL 6/PCL XL Printer)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip" *cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP: foomatic-rip other *ModelName: "Generic PCL 6/PCL XL Printer" *ShortNickName: "Gener. PCL 6/PCL XL P. pxlcolor" *NickName: "Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended)" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" *PSVersion: "(3010.000) 653" *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" *PSVersion: "(3010.000) 815" *PSVersion: "(3010.000) 850" *PSVersion: "(3010.000) 860" *PSVersion: "(3010.000) 861" *PSVersion: "(3010.000) 862" *PSVersion: "(3010.000) 863" *PSVersion: "(3010.000) 864" *PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB *FileSystem: False *Throughput: "1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 *1284DeviceID: "DRV:Dpxlcolor,R1,M0,F1,P0,TG;" *driverName pxlcolor: "" *driverType G/Ghostscript built-in: "" *driverUrl: "http://www.ghostscript.com/" *driverObsolete: False *driverManufacturerSupplied: False *driverFreeSoftware: True *DefaultResolution: 1200dpi *HWMargins: 18 36 18 36 *VariablePaperSize: True *MaxMediaWidth: 100000 *MaxMediaHeight: 100000 *NonUIOrderDependency: 100 AnySetup *CustomPageSize *CustomPageSize True: "pop pop pop pop pop %% FoomaticRIPOptionSetting: PageSize=Custom" *End *FoomaticRIPOptionSetting PageSize=Custom: " -dDEVICEWIDTHPOINTS=0 -dD&& EVICEHEIGHTPOINTS=0" *End *ParamCustomPageSize Width: 1 points 36 100000 *ParamCustomPageSize Height: 2 points 36 100000 *ParamCustomPageSize Orientation: 3 int 0 0 *ParamCustomPageSize WidthOffset: 4 points 0 0 *ParamCustomPageSize HeightOffset: 5 points 0 0 *FoomaticIDs: Generic-PCL_6_PCL_XL_Printer pxlcolor *FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNO&& INTERPOLATE%B%A%Z -sOutputFile=- -" *End *OpenGroup: General/General *OpenUI *PrintoutMode/Print Quality: PickOne *FoomaticRIPOption PrintoutMode: enum Composite A *OrderDependency: 10 AnySetup *PrintoutMode *DefaultPrintoutMode: Normal.Gray *PrintoutMode Draft/Draft: "%% FoomaticRIPOptionSetting: PrintoutMode=Draft" *FoomaticRIPOptionSetting PrintoutMode=Draft: "PrinterResolution=600x6&& 00dpi ColorModel=Color" *End *PrintoutMode Draft.Gray/Draft Grayscale: "%% FoomaticRIPOptionSetting: PrintoutMode=Draft.Gray" *FoomaticRIPOptionSetting PrintoutMode=Draft.Gray: "PrinterResolution=&& 600x600dpi ColorModel=Grayscale" *End *PrintoutMode Normal/Normal: "%% FoomaticRIPOptionSetting: PrintoutMode=Normal" *FoomaticRIPOptionSetting PrintoutMode=Normal: "PrinterResolution=600x&& 600dpi ColorModel=Color" *End *PrintoutMode Normal.Gray/Normal Grayscale: "%% FoomaticRIPOptionSetting: PrintoutMode=Normal.Gray" *FoomaticRIPOptionSetting PrintoutMode=Normal.Gray: "PrinterResolution&& =600x600dpi ColorModel=Grayscale" *End *PrintoutMode High/High Quality: "%% FoomaticRIPOptionSetting: PrintoutMode=High" *FoomaticRIPOptionSetting PrintoutMode=High: "PrinterResolution=1200x1&& 200dpi ColorModel=Color" *End *PrintoutMode High.Gray/High Quality Grayscale: "%% FoomaticRIPOptionSetting: PrintoutMode=High.Gray" *FoomaticRIPOptionSetting PrintoutMode=High.Gray: "PrinterResolution=1&& 200x1200dpi ColorModel=Grayscale" *End *CloseUI: *PrintoutMode *OpenUI *PageSize/Page Size: PickOne *FoomaticRIPOption PageSize: enum CmdLine A *OrderDependency: 100 AnySetup *PageSize *DefaultPageSize: Letter *PageSize Letter/US Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *FoomaticRIPOptionSetting PageSize=Letter: " -dDEVICEWIDTHPOINTS=612 -&& dDEVICEHEIGHTPOINTS=792" *End *PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *FoomaticRIPOptionSetting PageSize=A4: " -dDEVICEWIDTHPOINTS=595 -dDEV&& ICEHEIGHTPOINTS=842" *End *PageSize 11x17/11x17: "%% FoomaticRIPOptionSetting: PageSize=11x17" *FoomaticRIPOptionSetting PageSize=11x17: " -dDEVICEWIDTHPOINTS=792 -d&& DEVICEHEIGHTPOINTS=1224" *End *PageSize A3/A3: "%% FoomaticRIPOptionSetting: PageSize=A3" *FoomaticRIPOptionSetting PageSize=A3: " -dDEVICEWIDTHPOINTS=842 -dDEV&& ICEHEIGHTPOINTS=1191" *End *PageSize A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *FoomaticRIPOptionSetting PageSize=A5: " -dDEVICEWIDTHPOINTS=421 -dDEV&& ICEHEIGHTPOINTS=595" *End *PageSize B5/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5" *FoomaticRIPOptionSetting PageSize=B5: " -dDEVICEWIDTHPOINTS=516 -dDEV&& ICEHEIGHTPOINTS=729" *End *PageSize Env10/Envelope #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *FoomaticRIPOptionSetting PageSize=Env10: " -dDEVICEWIDTHPOINTS=297 -d&& DEVICEHEIGHTPOINTS=684" *End *PageSize EnvC5/Envelope C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" *FoomaticRIPOptionSetting PageSize=EnvC5: " -dDEVICEWIDTHPOINTS=459 -d&& DEVICEHEIGHTPOINTS=649" *End *PageSize EnvDL/Envelope DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" *FoomaticRIPOptionSetting PageSize=EnvDL: " -dDEVICEWIDTHPOINTS=312 -d&& DEVICEHEIGHTPOINTS=624" *End *PageSize EnvISOB5/Envelope B5: "%% FoomaticRIPOptionSetting: PageSize=EnvISOB5" *FoomaticRIPOptionSetting PageSize=EnvISOB5: " -dDEVICEWIDTHPOINTS=499&& -dDEVICEHEIGHTPOINTS=709" *End *PageSize EnvMonarch/Envelope Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" *FoomaticRIPOptionSetting PageSize=EnvMonarch: " -dDEVICEWIDTHPOINTS=2&& 79 -dDEVICEHEIGHTPOINTS=540" *End *PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" *FoomaticRIPOptionSetting PageSize=Executive: " -dDEVICEWIDTHPOINTS=52&& 2 -dDEVICEHEIGHTPOINTS=756" *End *PageSize Legal/US Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *FoomaticRIPOptionSetting PageSize=Legal: " -dDEVICEWIDTHPOINTS=612 -d&& DEVICEHEIGHTPOINTS=1008" *End *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 100 AnySetup *PageRegion *DefaultPageRegion: Letter *PageRegion Letter/US Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter" *PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4" *PageRegion 11x17/11x17: "%% FoomaticRIPOptionSetting: PageSize=11x17" *PageRegion A3/A3: "%% FoomaticRIPOptionSetting: PageSize=A3" *PageRegion A5/A5: "%% FoomaticRIPOptionSetting: PageSize=A5" *PageRegion B5/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5" *PageRegion Env10/Envelope #10: "%% FoomaticRIPOptionSetting: PageSize=Env10" *PageRegion EnvC5/Envelope C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5" *PageRegion EnvDL/Envelope DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL" *PageRegion EnvISOB5/Envelope B5: "%% FoomaticRIPOptionSetting: PageSize=EnvISOB5" *PageRegion EnvMonarch/Envelope Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch" *PageRegion Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive" *PageRegion Legal/US Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal" *CloseUI: *PageRegion *DefaultImageableArea: Letter *ImageableArea Letter/US Letter: "18 36 594 756" *ImageableArea A4/A4: "18 36 577 806" *ImageableArea 11x17/11x17: "18 36 774 1188" *ImageableArea A3/A3: "18 36 824 1155" *ImageableArea A5/A5: "18 36 403 559" *ImageableArea B5/B5 (JIS): "18 36 498 693" *ImageableArea Env10/Envelope #10: "18 36 279 648" *ImageableArea EnvC5/Envelope C5: "18 36 441 613" *ImageableArea EnvDL/Envelope DL: "18 36 294 588" *ImageableArea EnvISOB5/Envelope B5: "18 36 481 673" *ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504" *ImageableArea Executive/Executive: "18 36 504 720" *ImageableArea Legal/US Legal: "18 36 594 972" *DefaultPaperDimension: Letter *PaperDimension Letter/US Letter: "612 792" *PaperDimension A4/A4: "595 842" *PaperDimension 11x17/11x17: "792 1224" *PaperDimension A3/A3: "842 1191" *PaperDimension A5/A5: "421 595" *PaperDimension B5/B5 (JIS): "516 729" *PaperDimension Env10/Envelope #10: "297 684" *PaperDimension EnvC5/Envelope C5: "459 649" *PaperDimension EnvDL/Envelope DL: "312 624" *PaperDimension EnvISOB5/Envelope B5: "499 709" *PaperDimension EnvMonarch/Envelope Monarch: "279 540" *PaperDimension Executive/Executive: "522 756" *PaperDimension Legal/US Legal: "612 1008" *OpenUI *InputSlot/Media Source: PickOne *FoomaticRIPOption InputSlot: enum CmdLine A *OrderDependency: 100 AnySetup *InputSlot *DefaultInputSlot: Default *InputSlot Default/Printer Default: "%% FoomaticRIPOptionSetting: InputSlot=Default" *FoomaticRIPOptionSetting InputSlot=Default: " -dMediaPosition=0" *InputSlot Upper/Upper Tray: "%% FoomaticRIPOptionSetting: InputSlot=Upper" *FoomaticRIPOptionSetting InputSlot=Upper: " -dMediaPosition=4" *InputSlot Middle/Middle Tray: "%% FoomaticRIPOptionSetting: InputSlot=Middle" *FoomaticRIPOptionSetting InputSlot=Middle: " -dMediaPosition=5" *InputSlot Lower/Lower Tray: "%% FoomaticRIPOptionSetting: InputSlot=Lower" *FoomaticRIPOptionSetting InputSlot=Lower: " -dMediaPosition=6" *InputSlot Multipurpose/Multipurpose Tray: "%% FoomaticRIPOptionSetting: InputSlot=Multipurpose" *FoomaticRIPOptionSetting InputSlot=Multipurpose: " -dMediaPosition=3" *InputSlot Automatic/Automatic: "%% FoomaticRIPOptionSetting: InputSlot=Automatic" *FoomaticRIPOptionSetting InputSlot=Automatic: " -dMediaPosition=1" *InputSlot Manual/Manual Feeder: "%% FoomaticRIPOptionSetting: InputSlot=Manual" *FoomaticRIPOptionSetting InputSlot=Manual: " -dMediaPosition=2" *CloseUI: *InputSlot *OpenUI *Duplex/Double-Sided Printing: PickOne *FoomaticRIPOption Duplex: enum CmdLine A *OrderDependency: 100 AnySetup *Duplex *DefaultDuplex: None *Duplex DuplexNoTumble/On (Flip on Long Edge): "%% FoomaticRIPOptionSetting: Duplex=DuplexNoTumble" *FoomaticRIPOptionSetting Duplex=DuplexNoTumble: " -dDuplex" *Duplex DuplexTumble/On (Flip on Short Edge): "%% FoomaticRIPOptionSetting: Duplex=DuplexTumble" *FoomaticRIPOptionSetting Duplex=DuplexTumble: " -dDuplex -dTumble" *Duplex None/Off: "%% FoomaticRIPOptionSetting: Duplex=None" *FoomaticRIPOptionSetting Duplex=None: "" *CloseUI: *Duplex *CloseGroup: General *OpenGroup: PrintoutMode/Printout Mode *OpenUI *ColorModel/Color Mode: PickOne *FoomaticRIPOption ColorModel: enum CmdLine B *OrderDependency: 100 AnySetup *ColorModel *DefaultColorModel: FromPrintoutMode *ColorModel FromPrintoutMode/Controlled by 'Print Quality': "%% FoomaticRIPOptionSetting: ColorModel=@PrintoutMode" *ColorModel Color/Color: "%% FoomaticRIPOptionSetting: ColorModel=Color" *FoomaticRIPOptionSetting ColorModel=Color: " -sDEVICE=pxlcolor" *ColorModel Grayscale/Monochrome: "%% FoomaticRIPOptionSetting: ColorModel=Grayscale" *FoomaticRIPOptionSetting ColorModel=Grayscale: " -sDEVICE=pxlmono" *CloseUI: *ColorModel *OpenUI *PrinterResolution/Resolution: PickOne *FoomaticRIPOption PrinterResolution: enum CmdLine A *OrderDependency: 100 AnySetup *PrinterResolution *DefaultPrinterResolution: FromPrintoutMode *PrinterResolution FromPrintoutMode/Controlled by 'Print Quality': "%% FoomaticRIPOptionSetting: PrinterResolution=@PrintoutMode" *PrinterResolution 300x300dpi/300x300 DPI: "%% FoomaticRIPOptionSetting: PrinterResolution=300x300dpi" *FoomaticRIPOptionSetting PrinterResolution=300x300dpi: " -r300x300" *PrinterResolution 600x600dpi/600x600 DPI: "%% FoomaticRIPOptionSetting: PrinterResolution=600x600dpi" *FoomaticRIPOptionSetting PrinterResolution=600x600dpi: " -r600x600" *PrinterResolution 1200x600dpi/1200x600 DPI: "%% FoomaticRIPOptionSetting: PrinterResolution=1200x600dpi" *FoomaticRIPOptionSetting PrinterResolution=1200x600dpi: " -r1200x600" *PrinterResolution 1200x1200dpi/1200x1200 DPI: "%% FoomaticRIPOptionSetting: PrinterResolution=1200x1200dpi" *FoomaticRIPOptionSetting PrinterResolution=1200x1200dpi: " -r1200x120&& 0" *End *CloseUI: *PrinterResolution *CloseGroup: PrintoutMode *% Generic boilerplate PPD stuff as standard PostScript fonts and so on *DefaultFont: Courier *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM *Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM *Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM *Font Bookman-Demi: Standard "(001.004S)" Standard ROM *Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM *Font Bookman-Light: Standard "(001.004S)" Standard ROM *Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM *Font Courier: Standard "(002.004S)" Standard ROM *Font Courier-Bold: Standard "(002.004S)" Standard ROM *Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM *Font Courier-Oblique: Standard "(002.004S)" Standard ROM *Font Helvetica: Standard "(001.006S)" Standard ROM *Font Helvetica-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM *Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM *Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM *Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM *Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM *Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM *Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM *Font Palatino-Bold: Standard "(001.005S)" Standard ROM *Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM *Font Palatino-Italic: Standard "(001.005S)" Standard ROM *Font Palatino-Roman: Standard "(001.005S)" Standard ROM *Font Symbol: Special "(001.007S)" Special ROM *Font Times-Bold: Standard "(001.007S)" Standard ROM *Font Times-BoldItalic: Standard "(001.009S)" Standard ROM *Font Times-Italic: Standard "(001.007S)" Standard ROM *Font Times-Roman: Standard "(001.007S)" Standard ROM *Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM *Font ZapfDingbats: Special "(001.004S)" Standard ROM --=-AllwdlBnl0WQVrBysOl1-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 21:41:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382511065670 for ; Thu, 8 Dec 2011 21:41:04 +0000 (UTC) (envelope-from b.gruel@sdnet.info) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by mx1.freebsd.org (Postfix) with ESMTP id 987688FC13 for ; Thu, 8 Dec 2011 21:41:01 +0000 (UTC) Received: from ob1.woody.hopto.org (unknown [88.184.221.92]) by smtp2-g21.free.fr (Postfix) with ESMTP id 9462B4B0526 for ; Thu, 8 Dec 2011 22:40:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id 2A60C1F52DC for ; Thu, 8 Dec 2011 22:54:59 +0100 (CET) X-Virus-Scanned: amavisd-new at woody.hopto.org Received: from ob1.woody.hopto.org ([127.0.0.1]) by localhost (ob1.woody.hopto.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iMnPwQNFdGXb for ; Thu, 8 Dec 2011 22:54:58 +0100 (CET) Received: from mail.sdnet.info (localhost [127.0.0.1]) by ob1.woody.hopto.org (Postfix) with ESMTP id E4B691F52DA for ; Thu, 8 Dec 2011 22:54:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 08 Dec 2011 22:54:58 +0100 From: Bruno Gruel To: Organization: Sallanches Data Network Mail-Reply-To: In-Reply-To: <4EDE71EE.5040207@pukruppa.de> References: <74a317314b401d66fcf07f1cfaa31f3a@sdnet.info> <4EDE71EE.5040207@pukruppa.de> Message-ID: X-Sender: b.gruel@sdnet.info User-Agent: SDN Webmail/ Subject: Re: Nuxeo install in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: b.gruel@sdnet.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 21:41:04 -0000 On Tue, 06 Dec 2011 20:50:06 +0100, Peter Ulrich Kruppa wrote: > Hello Bruno, > > On 05.12.2011 21:47, Bruno Gruel wrote: >> Hello, >> >> I just want to know if someone already try to install NUXEO on a >> FreeBSD. >> I try some month later without sucess. I will try to install it on >> FreeBSD82 to day. > For the fun of it I just tried the nuxeo-dm-5.4.2-tomcat package on > my FreeBSD 9.0-RC1 (which in this case shouldn't make a difference to > your 8.2) with jdk-1.6.0_03-p4. > > I unzipped the thing in /usr/local and tried to execute the > ./bin/nuxeoctl start > command, which failed. Having a look at the first line of this file I > found > #!/bin/bash > But my bash is installed in > # which bash > /usr/local/bin/bash > So I changed the first line of nuxeoctl into > #!/usr/local/bin/bash > and now I can start and run Nuxeo. > > I hope that helps > > Peter. > Hello, Sorry for the delay i can't do the test before. So i installed a 32 bits FreeBSD 82. Install JDK16 (who take a long time to compil) Install LibreOffice Install PDFtoHML Install postgresql unzip nuxeo-dm-5.4.2-tomcat in /usr/local Configure nuxeo via the web interface NB: after the configuration nuxeo may do a self reload but it's never do it so after 10mins (have you got the same behavior ) i restart the nuxeo server When i do a ./nuxeoctl start i got this Nuxeo# ./nuxeoctl start Launcher command: /usr/local/bin/javavm -Dlauncher.java.opts=-server -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dnuxeo.home=/usr/local/nuxeo-dm-5.4.2-tomcat -Dnuxeo.conf=/usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo.conf -Dnuxeo.log.dir=/usr/local/nuxeo-dm-5.4.2-tomcat/log -jar /usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo-launcher.jar start javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated Nuxeo home: /usr/local/nuxeo-dm-5.4.2-tomcat Nuxeo configuration: /usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo.conf Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/common Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/default Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/postgresql Detected Tomcat server. Configuration files generation (nuxeo.force.generation=true)... Configuration files generated. Sent server start command but could not get process ID. ............................ ====================================================================== = Nuxeo EP Started ====================================================================== = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 453 ====================================================================== Started in 0min28s When i try to connect myself to ip:8080 i got this tomcat error: HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.20 So what is my mistake ?? did you do something else ?? Thank's. Bruno -- Sallanches Data Network (SDN) Pour l'Internet des internautes From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 00:11:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F24E1065670 for ; Fri, 9 Dec 2011 00:11:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 41B148FC17 for ; Fri, 9 Dec 2011 00:11:17 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 8604550837; Thu, 8 Dec 2011 16:11:16 -0800 (PST) To: perryh@pluto.rain.com In-Reply-To: <4ee03877.643sERzmrKxLoTg4%perryh@pluto.rain.com> Date: Thu, 08 Dec 2011 16:11:16 -0800 Message-ID: <15985.1323389476@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Playing .ASX files via/within Firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 00:11:18 -0000 In message <4ee03877.643sERzmrKxLoTg4%perryh@pluto.rain.com>, you wrote: >"Ronald F. Guilmette" wrote: > >> At least this gives me confidence that it can be done. I am still >> somewhat at a loss to know exactly _how_ it can be done however. > >For me, it "just works". I installed 8.1-RELEASE (not all that >long after it was released), installed FF and some other ports >(using packages), and haven't done anything that I remember to >"get FF to work". > >However, as Chris Hill pointed out, I am only seeing the still >image. I don't even see the link for a video stream. Some but not all of the different hiway cams have live video streams, and you can tell which ones just by clicking on the various camera icons. The ones with live video streams provide a link for the live viedo at the top of the little box that pops up when you click on the little camera icon for that particular camera. The ones nead Sacramento, and on up 80 and 50 into the Sierras generally seem to have the video links, but a lot of the others don't seem to have that. Anyway, I'm running 8.2-RELEASE, and I'm still not shure why the video doesn't work for me. Bad luck I guess. Somewhere there is an evil bitGod who doesn't like me. :-) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 02:45:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97308106564A for ; Fri, 9 Dec 2011 02:45:22 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 7E25E8FC0A for ; Fri, 9 Dec 2011 02:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=0fE1B+KSs+d1w0KhvfLpshpSDVwiMXq64AQZ4Bz17pA=; b=T3T0aLIIo5CRzyniL8pL/bUbv41eKQ5fnXIEg6uQFFwCwsSX4KuSRbdmibDoIal4QXo4tgvIjD/M+Oeo37t30B6fMG1U/KMPDakMFRfAhFFgALJAzqo9894Bw1E/k1PnR2ZKXhsEpuZx7q5ItEDEln55I3TLAd0vwUrYlMezlro= Received: from [192.168.1.148] ([120.29.69.143]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 8 Dec 2011 18:45:21 -0800 Message-ID: <4EE1763E.8000107@a1poweruser.com> Date: Fri, 09 Dec 2011 10:45:18 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Dec 2011 02:45:22.0059 (UTC) FILETIME=[987D4DB0:01CCB61C] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Subject: [Fwd: FreeBSD 9.0-RC3 Available...] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 02:45:22 -0000 -------- Original Message -------- Subject: FreeBSD 9.0-RC3 Available... Date: Thu, 08 Dec 2011 20:57:18 -0500 From: Ken Smith Organization: U. Buffalo To: freebsd-current@freebsd.org, freebsd-stable The third and what should be final Release Candidate build for the 9.0-RELEASE release cycle is now available. Since this is the beginning of a brand new branch (stable/9) I cross-post the announcements to both -current and -stable. But just so you know most of the developers active in head and stable/9 pay more attention to the -current mailing list. If you notice problems you can report them through the normal Gnats PR system or on the -current mailing list. This should be the last of the test builds. We hope to begin the final release builds in about a week. The 9.0-RELEASE cycle will be tracked here: http://wiki.freebsd.org/Releng/9.0TODO The location of the FTP install tree and ISOs is the same as it has been for BETA2/BETA3/RC1/RC2. The layout to a large degree is being dictated by the new build infrastructure and installer. But it's not particularly well suited to humans so I've added a shorter pathway to the ISOs. Unless there are lots of complaints about the layout we'll stick with this for the release. ISO images for amd64, i386, ia64, powerpc, powerpc64, and sparc64 are available here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/ That directory is a set of symbolic links to the ISO images for all of the supported architectures, and checksum files (for example there is a symlink named CHECKSUM.MD5-amd64 that points to the CHECKSUM.MD5 file for the amd64 architecture). MD5/SHA256 checksums are tacked on below. If you would like to use csup/cvsup mechanisms to access the source tree the branch tag to use is now "RELENG_9_0", if you use "." (head) you will get 10-CURRENT. If you would like to access the source tree via SVN it is "svn://svn.freebsd.org/base/releng/9.0/". We still have the nit that the creation of a new SVN branch winds up causing what looks like a check-in of the entire tree in CVS (a side-effect of the svn2cvs exporter) so "mergemaster -F" is your friend if you are using csup/cvsup. FreeBSD Update -------------- The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.[34]-RELEASE, 8.[12]-RELEASE, 9.0-BETA[123], or 9.0-RC[1,2] can upgrade as follows: First, a minor change must be made to the freebsd-update code in order for it to accept file names appearing in FreeBSD 9.0 which contain the '%' and '@' characters; without this change, freebsd-update will error out with the message "The update metadata is correctly signed, but failed an integrity check". # sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update Now freebsd-update can fetch bits belonging to 9.0-RC3. During this process freebsd-update will ask for help in merging configuration files. # freebsd-update upgrade -r 9.0-RC3 Due to changes in the way that FreeBSD is packaged on the release media, two complications may arise in this process if upgrading from FreeBSD 7.x or 8.x: 1. The FreeBSD kernel, which previously could appear in either /boot/kernel or /boot/GENERIC, now only appears as /boot/kernel. As a result, any kernel appearing in /boot/GENERIC will be deleted. Please carefully read the output printed by freebsd-update and confirm that an updated kernel will be placed into /boot/kernel before proceeding beyond this point. 2. The FreeBSD source tree in /usr/src (if present) will be deleted. (Normally freebsd-update will update a source tree, but in this case the changes in release packaging result in freebsd-update not recognizing that the source tree from the old release and the source tree from the new release correspond to the same part of FreeBSD.) # freebsd-update install The system must now be rebooted with the newly installed kernel before the non-kernel components are updated. # shutdown -r now After rebooting, freebsd-update needs to be run again to install the new userland components: # freebsd-update install At this point, users of systems being upgraded from FreeBSD 8.2-RELEASE or earlier will be prompted by freebsd-update to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries. After updating installed third-party applications (and again, only if freebsd-update printed a message indicating that this was necessary), run freebsd-update again so that it can delete the old (no longer used) system libraries: # freebsd-update install Finally, reboot into 9.0-RC3: Checksums: MD5 (FreeBSD-9.0-RC3-amd64-bootonly.iso) = 53f2bc5a3d18124769bfb066e921559a MD5 (FreeBSD-9.0-RC3-amd64-disc1.iso) = b88eca54341523713712b184c6a7fc9a MD5 (FreeBSD-9.0-RC3-amd64-memstick.img) = a9b58348736d4a7a179941e818d33986 MD5 (FreeBSD-9.0-RC3-i386-bootonly.iso) = 86f0410ffb1c55fcb8faf33814e6e95b MD5 (FreeBSD-9.0-RC3-i386-disc1.iso) = 3585047256b1b8f72319aa55ffa3c3ad MD5 (FreeBSD-9.0-RC3-i386-memstick.img) = 8be95b49c498e666f87957a8c10997ce MD5 (FreeBSD-9.0-RC3-ia64-bootonly.iso) = 7a8e99a61d21ae8a5f6be9fb7f878b11 MD5 (FreeBSD-9.0-RC3-ia64-memstick) = 5484765d3373c59372cdb53bbea2ab2d MD5 (FreeBSD-9.0-RC3-ia64-release.iso) = 7791f810dbe7d1ee7cf30510f0981424 MD5 (FreeBSD-9.0-RC3-powerpc-bootonly.iso) = 97a947ccd413371e24cfc83971bfd83a MD5 (FreeBSD-9.0-RC3-powerpc-memstick) = 2ebbdb2379d1f0e1a24a5ac31f22cf6f MD5 (FreeBSD-9.0-RC3-powerpc-release.iso) = e6c38096826b015eaa63a8109b809250 MD5 (FreeBSD-9.0-RC3-powerpc64-bootonly.iso) = 360383e1d7fca3d93be73f5aa8ce085c MD5 (FreeBSD-9.0-RC3-powerpc64-memstick) = 4b74c2d73b56f5f38590b0da2cf64054 MD5 (FreeBSD-9.0-RC3-powerpc64-release.iso) = 3e6e9519b3debb61047491ee700f683b MD5 (FreeBSD-9.0-RC3-sparc64-bootonly.iso) = 8f352714c2c4228623239491aee88e6a MD5 (FreeBSD-9.0-RC3-sparc64-disc1.iso) = b51648c80862f54d230cf13b4a34604b SHA256 (FreeBSD-9.0-RC3-amd64-bootonly.iso) = 06d609bb0d927b64221f1207542794870b56538fd3983355c9013d1f17fe7382 SHA256 (FreeBSD-9.0-RC3-amd64-disc1.iso) = 16792eb1e90070b8c5d1ea8df55b290534efba1543fb37950f8c7acd61839208 SHA256 (FreeBSD-9.0-RC3-amd64-memstick.img) = ae533e43e2390c5992c83acebfee35636baaa0694b7f1bae973fd4547a4e97ee SHA256 (FreeBSD-9.0-RC3-i386-bootonly.iso) = 88f417817eec36e183fdb832720664956486ac169fb5528e93423e4ccd52ba61 SHA256 (FreeBSD-9.0-RC3-i386-disc1.iso) = cdbf1ce5668444c88ea141bfaec0bd414c09b39969076915d2d9257c9f0802f2 SHA256 (FreeBSD-9.0-RC3-i386-memstick.img) = ea6e4ce993bc534a05d247bd65ccf2a41e5e12cd36c75ca2a2dfdf0d77e996b5 SHA256 (FreeBSD-9.0-RC3-ia64-bootonly.iso) = cebb6bacde53bc4bc69f9048447107c38f69d6c655fcc5a7778dcae8c7387dc1 SHA256 (FreeBSD-9.0-RC3-ia64-memstick) = 46960b6567e3dcfea65dbeef107573f5147f2ec74d555d0aae19a81629cb2434 SHA256 (FreeBSD-9.0-RC3-ia64-release.iso) = a484ac6ac87e9a9c524cde453838a15aebffcc6b5811dbaf85b3b37691cea149 SHA256 (FreeBSD-9.0-RC3-powerpc-bootonly.iso) = a2a98542d9668b18ef10b85d0e10026e15e9c6991bc09d9fa070e6eed34a93bb SHA256 (FreeBSD-9.0-RC3-powerpc-memstick) = 0320db4828122ef851e1a26f28bd1eccf1b4e45d476fe23ec627c2daa559220b SHA256 (FreeBSD-9.0-RC3-powerpc-release.iso) = ee480650db05998560f26016bfcf2c392da8a3eae94bec49a162f9f655aaa3f9 SHA256 (FreeBSD-9.0-RC3-powerpc64-bootonly.iso) = 7bd60e65929fd70133a21f8517715b22d992a45a29c2677e4c7a66a226bc492a SHA256 (FreeBSD-9.0-RC3-powerpc64-memstick) = 3fab51275ddf71016d9422c6bfb0806c51b0243d79f9f5011f9f2f78a631a607 SHA256 (FreeBSD-9.0-RC3-powerpc64-release.iso) = d48ec66421b9f74b8c11212a6b9d5240b20629e0685e0ee3485233e28eb3cfcd SHA256 (FreeBSD-9.0-RC3-sparc64-bootonly.iso) = 739a9430198b91cac1d625bcde202447fc47addc92430a72080dce224c3b5c67 SHA256 (FreeBSD-9.0-RC3-sparc64-disc1.iso) = 18a63e0cb420694172f49f7ad5a209d40f348b19d3c96e8ecaeef8517b52cc22 -- Ken Smith - From there to here, from here to | kensmith@buffalo.edu there, funny things are everywhere. | - Theodore Geisel | From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 06:21:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A05D8106564A; Fri, 9 Dec 2011 06:21:27 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5E5E38FC12; Fri, 9 Dec 2011 06:21:27 +0000 (UTC) Received: from [93.104.92.80] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RYtpl-0004kj-BV; Fri, 09 Dec 2011 07:21:25 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id pB96LNn5048138; Fri, 9 Dec 2011 07:21:23 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id pB96LLKn048136; Fri, 9 Dec 2011 07:21:21 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 9 Dec 2011 07:21:21 +0100 From: Matthias Apitz To: Dan Nelson Message-ID: <20111209062121.GA39981@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <20111208155713.GC53453@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111208155713.GC53453@dan.emsphone.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.92.80 Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 06:21:27 -0000 El da Thursday, December 08, 2011 a las 09:57:13AM -0600, Dan Nelson escribi: > Cheap USB thumb drives aren't really optimized for small random-I/O writes. > Can you try mounting the filesystem async? that might help a little. A > workaround would be to use mdconfig to create a block device (backed by > either swap or a file on your hard drive) the same size as your flash drive, > newfs and restore to that, then umount the filesystem and dd the raw image > directly to your flash drive. Hello Dan, Thanks for your hints. I tend to add that those USB thum drives aren't good for anything. I have a certain number of them containing each a complete bootable FreeBSD (including 'src', 'obj' and binary packages) to install my laptops and netbooks from them; after some time these USB keys tend to loose data: files are corrupt a bit, dirs are missing and so on; that's why I wanted to make dump(8) nackups of them, to restore them from time to time; I will drop the idea and will just make dd(1) backups of the full /dev/da0; thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 07:34:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3006E106564A for ; Fri, 9 Dec 2011 07:34:20 +0000 (UTC) (envelope-from bunchou@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B5D068FC08 for ; Fri, 9 Dec 2011 07:34:19 +0000 (UTC) Received: by eekc50 with SMTP id c50so1691314eek.13 for ; Thu, 08 Dec 2011 23:34:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=h4lzwIocBDLL9hU2xga4WYRCukb8n5T3LnMLnOrT5rU=; b=TbDrr59pGYklvJo7n0NA6UygE4jRG1bsdlHv2X6P+ksMvoK80ByQzhNwVr9JqzAndh 3TGaVhSoLrm8N8D8/qNqYoo/JwRxskgf2O7YuXV+iusU0y6Tqm2ePYoZ0SPeA1ZIN/yi i49vZWNdWuxxZec8yCZkzaIMMhR2iXh2SSYOk= Received: by 10.213.31.141 with SMTP id y13mr590587ebc.133.1323414237694; Thu, 08 Dec 2011 23:03:57 -0800 (PST) Received: from kuro.5550h.net (p54AEE5B6.dip.t-dialin.net. [84.174.229.182]) by mx.google.com with ESMTPS id 49sm27540612eec.1.2011.12.08.23.03.56 (version=SSLv3 cipher=OTHER); Thu, 08 Dec 2011 23:03:56 -0800 (PST) Date: Fri, 9 Dec 2011 08:03:55 +0100 From: "=?UTF-8?B?5paH6bOl?=" To: Pierre-Luc Drouin Message-ID: <20111209080355.118d7aa5@kuro.5550h.net> In-Reply-To: References: <4EE0E96C.8090406@locolomo.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 07:34:20 -0000 Hi, I am typing this message on a W520 running 9.0 stable, which should be similar enough to the T520. - MBR boot works fine, but GPT seems to be impossible (Lenovo appears to have messed up again). - The NVidia driver is working almost perfectly once you enforce it in BIOS, but occasionally (3 times in last 2.5 months) the screen starts displaying a strange block pattern after some time and renders the display unusable until I restart X (logging in via SSH works, as does the power button == ACPI shutdown). Haven't been able track the cause down yet. - Suspend seems to be unreliable, so I stopped trying (back on BETA2). - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, line 338, and replace "IBM0068" with "LEN0068", which makes most of the multimedia keys usable. - Wireless is working (iwn), but I'm not using it that frequently so YMMV. - I cannot comment on bluetooth, camera or SD card reader, since I never use those. But there is one annoying problem I did not manage to fix yet: The screen brightness control does not work at all, i.e. it's always at maximum (hw.acpi.video sysctls seem to have no effect). All in all, this laptop is a nice desktop replacement, just don't expect the battery to last too long. Best regards From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 14:18:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D4A106566B for ; Fri, 9 Dec 2011 14:18:18 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE7A8FC13 for ; Fri, 9 Dec 2011 14:18:17 +0000 (UTC) Received: by dakp5 with SMTP id p5so4059663dak.13 for ; Fri, 09 Dec 2011 06:18:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9uz50fJ7HCpCnvWCBVp/0cDsgYyvG5gVdpBzDdd0PYM=; b=OzcTSVJQmJegwTS7nL3wbG3U94KXbus+jPEtAYZLoYx140Uw15rkk3PCy82Vmiktm5 IfzQpgcgt9beFmV0kSXrnkX55GMElJL7VzC1toYOO6IZtkgW4+Tc2nfxu9jJFT7Eh44X xYtoXg2XcFldYinVWekKgfQ9YxlBRiO2Vk/Dk= MIME-Version: 1.0 Received: by 10.68.74.193 with SMTP id w1mr6609523pbv.100.1323440297450; Fri, 09 Dec 2011 06:18:17 -0800 (PST) Sender: pldrouin@gmail.com Received: by 10.68.0.131 with HTTP; Fri, 9 Dec 2011 06:18:17 -0800 (PST) In-Reply-To: <20111209080355.118d7aa5@kuro.5550h.net> References: <4EE0E96C.8090406@locolomo.org> <20111209080355.118d7aa5@kuro.5550h.net> Date: Fri, 9 Dec 2011 09:18:17 -0500 X-Google-Sender-Auth: n6c6UF36WGviDF87RN-E6QFwdig Message-ID: From: Pierre-Luc Drouin To: =?UTF-8?B?5paH6bOl?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 14:18:18 -0000 On Fri, Dec 9, 2011 at 2:03 AM, =E6=96=87=E9=B3=A5 = wrote: > Hi, > > I am typing this message on a W520 running 9.0 stable, which should be > similar enough to the T520. > > - MBR boot works fine, but GPT seems to be impossible (Lenovo > =C2=A0appears to have messed up again). > - The NVidia driver is working almost perfectly once you enforce it in > =C2=A0BIOS, but occasionally (3 times in last 2.5 months) the screen star= ts > =C2=A0displaying a strange block pattern after some time and renders the > =C2=A0display unusable until I restart X (logging in via SSH works, as do= es > =C2=A0the power button =3D=3D ACPI shutdown). Haven't been able track the= cause > =C2=A0down yet. > - Suspend seems to be unreliable, so I stopped trying (back on BETA2). > - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, > =C2=A0line 338, and replace "IBM0068" with "LEN0068", which makes most of > =C2=A0the multimedia keys usable. > - Wireless is working (iwn), but I'm not using it that frequently so > =C2=A0YMMV. > - I cannot comment on bluetooth, camera or SD card reader, since I > =C2=A0never use those. > > But there is one annoying problem I did not manage to fix yet: The > screen brightness control does not work at all, i.e. it's always at > maximum (hw.acpi.video sysctls seem to have no effect). All in all, this > laptop is a nice desktop replacement, just don't expect the battery to > last too long. > > Best regards When you say that suspending seems unreliable, do you mean that it sometimes work? Did you try unloading kernel modules before putting it in sleep mode to see if it makes a difference? About screen brightness, I thought there was a setting in xorg.conf that made it to work? Cheers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 14:32:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33D9F106566B for ; Fri, 9 Dec 2011 14:32:06 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 8AED98FC0A for ; Fri, 9 Dec 2011 14:32:04 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 72Y21i003516WCc012Y3wR; Fri, 09 Dec 2011 14:32:03 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=LMnkseq9 c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=9e88RZuw810A:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=0Bzu9jTXAAAA:8 a=2cV1Z2UdUV6vHUY-cn0A:9 a=wPNLvfGTeEIA:10 a=yiRvL3wMNo5n6otM:21 a=0UgNPm71asK68QY8:21 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RZ1UX-0000Vq-UV for freebsd-questions@freebsd.org; Fri, 09 Dec 2011 14:32:02 +0000 From: Mike Clarke Date: Fri, 9 Dec 2011 14:32:01 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112091432.01797.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: 9.0RC2 IPV6 warnings from ntpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 14:32:06 -0000 After installing 9.0RC2 I'm getting the following warnings at boot time: Dec 9 10:31:09 curlew ntpd[1081]: bind() fd 23, family AF_INET6, port 123, scope 3, addr fe80::6ef0:49ff:fe9e:8897, mcast=0 flags=0x11 fails: Can't assign requested address Dec 9 10:31:09 curlew ntpd[1081]: unable to create socket on nfe0 (3) for fe80: :6ef0:49ff:fe9e:8897#123 I'm puzzled by this because I've only configured the system for IPV4 and yet my network interface has been configured for both: nfe0: flags=8843 metric 0 mtu 1500 options=82008 ether 6c:f0:49:9e:88:97 inet 192.168.1.13 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::6ef0:49ff:fe9e:8897%nfe0 prefixlen 64 scopeid 0x3 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active /etc/rc.conf: hostname="curlew.lan" ifconfig_nfe0="inet 192.168.1.13 netmask 255.255.255.0" defaultrouter="192.168.1.138" zfs_enable="YES" moused_enable="YES" keymap="uk.iso" ntpd_enable="YES" ntpd_sync_on_start="YES" sshd_enable="YES" inetd_enable="YES" powerd_enable="YES" /etc/ntp.conf contains just a single line: server ntp.plus.net maxpoll 9 The boot messages appear to be just warnings because ntpd is working fine over IPV4 but I feel that I should try to fix this in case it leads to problems later. I certainly don't need IPV6, neither my router nor my ISP provide the facility but I haven't managed to find any way of disabling it. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:35:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EC5E1065670 for ; Fri, 9 Dec 2011 15:35:44 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D09928FC08 for ; Fri, 9 Dec 2011 15:35:43 +0000 (UTC) Received: by faak28 with SMTP id k28so1201237faa.13 for ; Fri, 09 Dec 2011 07:35:42 -0800 (PST) Received: by 10.180.102.4 with SMTP id fk4mr11573360wib.15.1323444942355; Fri, 09 Dec 2011 07:35:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Fri, 9 Dec 2011 07:35:21 -0800 (PST) From: Chris Brennan Date: Fri, 9 Dec 2011 10:35:21 -0500 Message-ID: To: FreeBSD Questions , Debain User Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:35:44 -0000 Sorry for the cross post I hadn't seen any chatter about this on the lists. It would seem that Download.com got caught with their pants down and were re-wrapping F/OSS with their own installer and bundling adware, spyware and malware with it. NMap's author, over at insecure.org got pretty hot about it and has collected considerable information on the topic since he learned about it on Monday. http://insecure.org/news/download-com-fiasco.html http://seclists.org/nmap-hackers/2011/5 http://seclists.org/nmap-hackers/2011/6 Again, sorry for the cross post, but I know how I would feel if this were done to me (I'd be pretty pissed!) So flame me later for cross-posting and if your a software developer who also makes software for Windows users, then go and check your stuff if it's listed on download.com. So far, paint.net's software, VLC, NMap and emergeDesktop were affected. Being a part of emergeDesktop's community, I know the author their has instructed the community to not download his software from download.com, I'm not sure what steps have been taken for paint.net and VLC though. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:39:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34491065676 for ; Fri, 9 Dec 2011 15:39:15 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id A85C88FC23 for ; Fri, 9 Dec 2011 15:39:15 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 381E42792E7E; Fri, 9 Dec 2011 09:45:34 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9PclRNsLq8xv; Fri, 9 Dec 2011 09:45:19 -0600 (CST) Received: from [192.168.46.173] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id 0AD422792E7F; Fri, 9 Dec 2011 09:45:19 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Ryan Coleman In-Reply-To: Date: Fri, 9 Dec 2011 09:38:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> References: To: Chris Brennan X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:39:15 -0000 On Dec 9, 2011, at 9:35 AM, Chris Brennan wrote: > Sorry for the cross post I hadn't seen any chatter about this on the = lists. > It > would seem that Download.com got caught with their pants down and were > re-wrapping F/OSS with their own installer and bundling adware, = spyware > and malware with it. >=20 > NMap's author, over at insecure.org got pretty hot about it and has > collected considerable information on the topic since he learned about = it on Monday. Yeah, someone on my LUG list tried to claim that the TCLUG list was the = reason for the /. article=85 stupid peons=85 It's still not malware, it's bloatware. Why would you not go to the = development website to get the program anyway? -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:41:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1AF41065688 for ; Fri, 9 Dec 2011 15:41:58 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5894B8FC0A for ; Fri, 9 Dec 2011 15:41:57 +0000 (UTC) Received: by faak28 with SMTP id k28so1209452faa.13 for ; Fri, 09 Dec 2011 07:41:56 -0800 (PST) Received: by 10.180.106.104 with SMTP id gt8mr11640042wib.6.1323445316300; Fri, 09 Dec 2011 07:41:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Fri, 9 Dec 2011 07:41:35 -0800 (PST) In-Reply-To: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> References: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> From: Chris Brennan Date: Fri, 9 Dec 2011 10:41:35 -0500 Message-ID: To: Ryan Coleman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:41:58 -0000 On Fri, Dec 9, 2011 at 10:38 AM, Ryan Coleman wr= ote: Yeah, someone on my LUG list tried to claim that the TCLUG list was the > reason for the /. article=E2=80=A6 > > stupid peons=E2=80=A6 > > It's still not malware, it's bloatware. Why would you not go to the > development website to get the program anyway? Some people just don't get that idea, they stumble onto a piece of software they like and don't bother to think much farther beyond that, as long as it works for them, they don't care. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:47:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03AE9106566B for ; Fri, 9 Dec 2011 15:47:28 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id B5BF48FC14 for ; Fri, 9 Dec 2011 15:47:27 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 6E7282792E7F; Fri, 9 Dec 2011 09:53:46 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-kqVpTjXHgk; Fri, 9 Dec 2011 09:53:33 -0600 (CST) Received: from [192.168.46.173] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id 91F462792E7E; Fri, 9 Dec 2011 09:53:33 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) From: Ryan Coleman In-Reply-To: Date: Fri, 9 Dec 2011 09:47:13 -0600 Message-Id: References: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> To: Chris Brennan X-Mailer: Apple Mail (2.1251.1) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:47:28 -0000 On Dec 9, 2011, at 9:41 AM, Chris Brennan wrote: > On Fri, Dec 9, 2011 at 10:38 AM, Ryan Coleman = wrote: > Yeah, someone on my LUG list tried to claim that the TCLUG list was = the=20 > reason for the /. article=85 >=20 > stupid peons=85 >=20 > It's still not malware, it's bloatware. Why would you not go to the = development=20 > website to get the program anyway? >=20 > Some people just don't get that idea, they stumble onto a piece of = software=20 > they like and don't bother to think much farther beyond that, as long = as it=20 > works for them, they don't care. I should add that I often go to download.com for things like winrar, = putty, etc., but I know enough to NOT use the Adobe Downloader from = adobe.com, check to make sure there's no extra stuff riding along=85 We have a problem here in Minnesota with Zebra mussels. Tanker ships = from Europe didn't filter their ballast water and now we have them in = our lakes. They rode tankers from Europe to the Great Lakes, fishing = boats from the Great Lakes to smaller lakes=85 and now it's an = infestation. Why? Because they were too busy to take time to figure out what they = were doing. = [http://www.dnr.state.mn.us/invasives/aquaticanimals/zebramussel/index.htm= l]= From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 15:50:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBBD3106566B for ; Fri, 9 Dec 2011 15:50:27 +0000 (UTC) (envelope-from pierre@imai.at) Received: from wp176.webpack.hosteurope.de (wp176.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:84b7]) by mx1.freebsd.org (Postfix) with ESMTP id 3C3E88FC16 for ; Fri, 9 Dec 2011 15:50:26 +0000 (UTC) Received: from p54aee5b6.dip.t-dialin.net ([84.174.229.182] helo=kuro.5550h.net); authenticated by wp176.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1RZ2iO-0006SC-NS; Fri, 09 Dec 2011 16:50:24 +0100 Date: Fri, 9 Dec 2011 16:50:23 +0100 From: =?UTF-8?B?8KudhuS6lQ==?= Pierre To: Pierre-Luc Drouin Message-ID: <20111209165023.63f1965f@kuro.5550h.net> In-Reply-To: References: <4EE0E96C.8090406@locolomo.org> <20111209080355.118d7aa5@kuro.5550h.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-bounce-key: webpack.hosteurope.de;pierre@imai.at;1323445827;0a1504c1; Cc: =?UTF-8?B?5paH6bOl?= , freebsd-questions@freebsd.org Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 15:50:27 -0000 On Fri, 9 Dec 2011 09:18:17 -0500 Pierre-Luc Drouin wrote: > On Fri, Dec 9, 2011 at 2:03 AM, =E6=96=87=E9=B3=A5 wrote: > > Hi, > > > > I am typing this message on a W520 running 9.0 stable, which should > > be similar enough to the T520. > > > > - MBR boot works fine, but GPT seems to be impossible (Lenovo > > =C2=A0appears to have messed up again). > > - The NVidia driver is working almost perfectly once you enforce it > > in BIOS, but occasionally (3 times in last 2.5 months) the screen > > starts displaying a strange block pattern after some time and > > renders the display unusable until I restart X (logging in via SSH > > works, as does the power button =3D=3D ACPI shutdown). Haven't been > > able track the cause down yet. > > - Suspend seems to be unreliable, so I stopped trying (back on > > BETA2). > > - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, > > =C2=A0line 338, and replace "IBM0068" with "LEN0068", which makes most = of > > =C2=A0the multimedia keys usable. > > - Wireless is working (iwn), but I'm not using it that frequently so > > =C2=A0YMMV. > > - I cannot comment on bluetooth, camera or SD card reader, since I > > =C2=A0never use those. > > > > But there is one annoying problem I did not manage to fix yet: The > > screen brightness control does not work at all, i.e. it's always at > > maximum (hw.acpi.video sysctls seem to have no effect). All in all, > > this laptop is a nice desktop replacement, just don't expect the > > battery to last too long. > > > > Best regards >=20 > When you say that suspending seems unreliable, do you mean that it > sometimes work? Did you try unloading kernel modules before putting it > in sleep mode to see if it makes a difference? > About screen brightness, I thought there was a setting in xorg.conf > that made it to work? >=20 > Cheers Suspending the laptop seemed to work when I was not using X and running GENERIC. I tried again just now, first without unloading, then removing a few kernel modules, but it did not help. If I find time, I'll investigate further. If there is a setting to xorg.conf that does work for setting the screen brightness, please tell me. Everything I tried so far turned out negative, but maybe there's something I overlooked.=20 cheers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 17:40:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9020D1065670 for ; Fri, 9 Dec 2011 17:40:25 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 196518FC16 for ; Fri, 9 Dec 2011 17:40:24 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBD9C9.dip.t-dialin.net [93.203.217.201]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pB9HeFQA063303; Fri, 9 Dec 2011 17:40:16 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pB9He4H0042161; Fri, 9 Dec 2011 18:40:04 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pB9Hdkmh036599; Fri, 9 Dec 2011 18:39:52 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112091739.pB9Hdkmh036599@fire.js.berklix.net> To: Matthias Apitz From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 09 Dec 2011 07:21:21 +0100." <20111209062121.GA39981@tinyCurrent> Date: Fri, 09 Dec 2011 18:39:46 +0100 Sender: jhs@berklix.com Cc: Dan Nelson , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 17:40:25 -0000 Matthias Apitz wrote: > El da Thursday, December 08, 2011 a las 09:57:13AM -0600, Dan Nelson escribi: > > > Cheap USB thumb drives aren't really optimized for small random-I/O writes. > > Can you try mounting the filesystem async? that might help a little. A > > workaround would be to use mdconfig to create a block device (backed by > > either swap or a file on your hard drive) the same size as your flash drive, > > newfs and restore to that, then umount the filesystem and dd the raw image > > directly to your flash drive. > > Hello Dan, > > Thanks for your hints. I tend to add that those USB thum drives aren't > good for anything. I have a certain number of them containing each a > complete bootable FreeBSD (including 'src', 'obj' and binary packages) > to install my laptops and netbooks from them; > > after some time these USB keys tend to loose data: > files are corrupt a bit, dirs are missing and so on; that's > why I wanted to make dump(8) nackups of them, to restore them from time > to time; I will drop the idea and will just make dd(1) backups of the > full /dev/da0; Additional to all the other good points others wrote earlier, may I mention: ... I've found some sticks are slower than others. Sometimes I do a performance & integrity test with my http://berklix.com/~jhs/src/bsd/jhs/bin/public/testblock One (free promo) stick I found lies, see this comment in my http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/jhs.conf # The end of it is write only memory ! # It lets one write the last chunck, # It even lets one read that last chunk, # but the content of the last chunck is all zeroes. Another 2G stick was particularly slow: (marked as) Sony, bought at a computer Sunday 'flea' market in Croydon England, in retrospect I wonder if manufacturer Sony might have withdrawn them from sale, marked the batch for destruction, & possibly some criminal 'liberated' them for resale again ? (Such things do happen, eg In Germany years back, pre USB era, CT Mag reported reported Betruger/Placebo cache chips. They were just ceramic with no silicon in, it was reported importers (in Munich I think) were afraid to sue chinese exporters, fear of Triads! maybe last bit was speculation, but wan't My speculation, I read it, whatever, can't remember more now) Block Sizes: Maybe USB sticks may have different size/ speed front end cache chips on USB sticks ? Hans would know I suppose. ? Apart from soft updates, one can also choose the block sizes newfs creates, I recall FFS is larger than UFS ?. Maybe we should send-pr some suggested size for man newfs if targeting images for USB sticks. (is that a question to consider jointly with fs@ list ? ) Voltages: I've recently been bitten by appalling problems on a bunch of 2 of my externals discs, using 2 different laptops, 2/3 hubs, & 3 power supplies. Various combinations come back to bad voltage regulation, usually too low, some too high. But I assume discs will be more susceptible than sticks. However next time a motherboard fails for any of you, I suggest don't discard, first hacksaw off the double USB socket, solder wires across, add extra wires for a meter, so you can monitor voltage & current. Mastering first on hard disc (per Dan's suggestion, mdconfig etc) is a good idea, I was considering this earlier when building a new stick/ extended Live-FS. .. using mdconfig etc, but it's heavy & slow after the initial image create, to keep rewriting, even if at large dd bs= So I use incremental writes I keep personal backups & bins & Live FS & mp3 to play etc all on USB sticks. Still usable though 'cos I rarely change too much at one time. & rdist6 updates what's changed. (would also correct odd corruption Matthias) I even sue gbde encrypted FS (ie more performance degradation) .. and updates still happens acceptably if not exactly fast. Others could use rsync if they dont fancy rdist6. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 17:44:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 070DE106564A for ; Fri, 9 Dec 2011 17:44:48 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id CFAA08FC18 for ; Fri, 9 Dec 2011 17:44:47 +0000 (UTC) Received: by iafi7 with SMTP id i7so7654222iaf.13 for ; Fri, 09 Dec 2011 09:44:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.159.72 with SMTP id k8mr3340778icx.14.1323452687199; Fri, 09 Dec 2011 09:44:47 -0800 (PST) Received: by 10.50.216.234 with HTTP; Fri, 9 Dec 2011 09:44:47 -0800 (PST) In-Reply-To: <20111209062121.GA39981@tinyCurrent> References: <20111208063711.GA6482@tinyCurrent> <20111208155713.GC53453@dan.emsphone.com> <20111209062121.GA39981@tinyCurrent> Date: Fri, 9 Dec 2011 09:44:47 -0800 Message-ID: From: Michael Sierchio To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Cc: Dan Nelson , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: restore(8) to UFS on USB key: terrible slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 17:44:48 -0000 Cheap USB drives, and even many CF drives, aren't much good as random read-write devices. On my Soekris boxen I run FreeBSD, and mount the root filesystem rw,noatime. And I don't write to it. ;-) /var is a memory filesystem, there /var/db/... contain symbolic links to /usr/local/db/.. because the package database can grow quite large. /tmp is a symlink to /var/tmp. Configured this way, these machines are trouble-free. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 18:03:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73035106567D for ; Fri, 9 Dec 2011 18:03:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3373E8FC21 for ; Fri, 9 Dec 2011 18:03:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id 76EED3D104; Fri, 9 Dec 2011 19:03:06 +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 pB9I3550002742; Fri, 9 Dec 2011 19:03:05 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 9 Dec 2011 19:03:05 +0100 From: Polytropon To: Ryan Coleman Message-Id: <20111209190305.c6bc60cf.freebsd@edvax.de> In-Reply-To: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> References: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> 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 Cc: FreeBSD Questions , Chris Brennan Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 18:03:08 -0000 On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: > It's still not malware, it's bloatware. Why would you > not go to the development website to get the program anyway? Uninvitedly adding toolbars, changing web browser home page and default search engine are - in my opinion - malicious acts, so the term "malware" may be correct here. Maybe the term "spyware" is also appropriate, depending on what the "additions" actually do behind the curtain. Note an important thing: When careless users will notice the change, they will maybe blame the authors of the original software, not the distributor. This could do damage to F/O products, at least in "Windows" land. Luckily, those who build from source or use precompiled packages from a trustworthy vendor don't have to care for that stuff. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 18:05:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9129A1065670 for ; Fri, 9 Dec 2011 18:05:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4665C8FC20 for ; Fri, 9 Dec 2011 18:05:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id 8C5433CE0C for ; Fri, 9 Dec 2011 19:05:26 +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 pB9I5Qcw002748 for ; Fri, 9 Dec 2011 19:05:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 9 Dec 2011 19:05:26 +0100 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20111209190526.17858d6d.freebsd@edvax.de> In-Reply-To: <20111209165023.63f1965f@kuro.5550h.net> References: <4EE0E96C.8090406@locolomo.org> <20111209080355.118d7aa5@kuro.5550h.net> <20111209165023.63f1965f@kuro.5550h.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 18:05:27 -0000 On Fri, 9 Dec 2011 16:50:23 +0100, 𫝆井 Pierre wrote: > If there is a setting to xorg.conf that does work for setting the > screen brightness, please tell me. Everything I tried so far turned out > negative, but maybe there's something I overlooked. Don't "modern" laptops come with keys (or key combinations, usually Fn + Cursor or Fn + PF key) to adjust brightness and contrast, or has this lowest-level functionality finally moved into the world of software, i. e. drivers? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 19:02:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FEB4106564A for ; Fri, 9 Dec 2011 19:02:50 +0000 (UTC) (envelope-from bunchou@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E5B508FC12 for ; Fri, 9 Dec 2011 19:02:49 +0000 (UTC) Received: by eekc50 with SMTP id c50so2022571eek.13 for ; Fri, 09 Dec 2011 11:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=x02iV7futkgo7egLW5A9MQW4Vi9AtKe3sJpzVaT5jbs=; b=QDv08sJDMcB8wT7LKNELr7f8yXYIjl3bX9PRd45WfnufkQa5Afk9WNJdugB9rSo+6K PV41SYcOalWuSR9/4goRD2VJc+12iEsMg1mUvAOU4P7WJmZ0fKdpnLEW4eVp3NBcP79d N4ugBcjC5niwnpV8p8J+/KbdsuBd8rvjZs0gs= Received: by 10.14.9.23 with SMTP id 23mr1020404ees.46.1323457368833; Fri, 09 Dec 2011 11:02:48 -0800 (PST) Received: from kuro.5550h.net (p54AEE5B6.dip.t-dialin.net. [84.174.229.182]) by mx.google.com with ESMTPS id 58sm34539901eet.11.2011.12.09.11.02.47 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 11:02:48 -0800 (PST) Date: Fri, 9 Dec 2011 20:02:45 +0100 From: "=?UTF-8?B?5paH6bOl?=" To: Pierre-Luc Drouin Message-ID: <20111209200245.1e149559@kuro.5550h.net> In-Reply-To: References: <4EE0E96C.8090406@locolomo.org> <20111209080355.118d7aa5@kuro.5550h.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 19:02:50 -0000 On Fri, 9 Dec 2011 09:18:17 -0500 Pierre-Luc Drouin wrote: > On Fri, Dec 9, 2011 at 2:03 AM, =E6=96=87=E9=B3=A5 wrote: > > Hi, > > > > I am typing this message on a W520 running 9.0 stable, which should > > be similar enough to the T520. > > > > - MBR boot works fine, but GPT seems to be impossible (Lenovo > > =C2=A0appears to have messed up again). > > - The NVidia driver is working almost perfectly once you enforce it > > in BIOS, but occasionally (3 times in last 2.5 months) the screen > > starts displaying a strange block pattern after some time and > > renders the display unusable until I restart X (logging in via SSH > > works, as does the power button =3D=3D ACPI shutdown). Haven't been > > able track the cause down yet. > > - Suspend seems to be unreliable, so I stopped trying (back on > > BETA2). > > - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, > > =C2=A0line 338, and replace "IBM0068" with "LEN0068", which makes most = of > > =C2=A0the multimedia keys usable. > > - Wireless is working (iwn), but I'm not using it that frequently so > > =C2=A0YMMV. > > - I cannot comment on bluetooth, camera or SD card reader, since I > > =C2=A0never use those. > > > > But there is one annoying problem I did not manage to fix yet: The > > screen brightness control does not work at all, i.e. it's always at > > maximum (hw.acpi.video sysctls seem to have no effect). All in all, > > this laptop is a nice desktop replacement, just don't expect the > > battery to last too long. > > > > Best regards >=20 > When you say that suspending seems unreliable, do you mean that it > sometimes work? Did you try unloading kernel modules before putting it > in sleep mode to see if it makes a difference? > About screen brightness, I thought there was a setting in xorg.conf > that made it to work? >=20 > Cheers OK, now I feel foolish now: I _had_ tried the "RegistryDwords" "EnableBrightnessControl=3D1" setting once, but had a typo in it and didn't notice. Now I brightness control also works. So the only remaining problem really is putting the machine to sleep. Should teach me not to accept failure to quickly ;) Best regards, and thanks for the tip. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 19:05:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51601106566B for ; Fri, 9 Dec 2011 19:05:20 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 248838FC1F for ; Fri, 9 Dec 2011 19:05:19 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 0564D2792E9A; Fri, 9 Dec 2011 13:11:39 -0600 (CST) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F0U1R8wUVSaG; Fri, 9 Dec 2011 13:11:26 -0600 (CST) Received: from [192.168.46.173] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id 2F6422792E98; Fri, 9 Dec 2011 13:11:26 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <20111209190305.c6bc60cf.freebsd@edvax.de> Date: Fri, 9 Dec 2011 13:05:05 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <49B5BAFE-22AE-4AB0-A3FD-51FF9B1722DC@d3photography.com> References: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> <20111209190305.c6bc60cf.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1251.1) Cc: FreeBSD Questions , Chris Brennan Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 19:05:20 -0000 On Dec 9, 2011, at 12:03 PM, Polytropon wrote: > On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: >> It's still not malware, it's bloatware. Why would you >> not go to the development website to get the program anyway? >=20 > Uninvitedly adding toolbars, changing web browser > home page and default search engine are - in my > opinion - malicious acts, so the term "malware" > may be correct here. Maybe the term "spyware" is > also appropriate, depending on what the "additions" > actually do behind the curtain. >=20 > Note an important thing: When careless users will > notice the change, they will maybe blame the authors > of the original software, not the distributor. > This could do damage to F/O products, at least > in "Windows" land. >=20 > Luckily, those who build from source or use > precompiled packages from a trustworthy > vendor don't have to care for that stuff. :-) So, wait, Firefox is Malware? Did you notice that with FF4 they changed = it so that you didn't get prompted on launch it overrides your default = but instead it's a checkbox inside the installer? -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 19:21:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 734B0106564A for ; Fri, 9 Dec 2011 19:21:26 +0000 (UTC) (envelope-from bunchou@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0547A8FC0C for ; Fri, 9 Dec 2011 19:21:25 +0000 (UTC) Received: by eaai12 with SMTP id i12so2304114eaa.13 for ; Fri, 09 Dec 2011 11:21:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=SLKl47z4sIaicJNmzNYZPmFfInU4xxB6EO4RzR7tyUc=; b=HpOjFXmMEa9AFDYgYBy0s8wsThvEvaso1vDJwQAzmQkBpXYfx7Z0lyTL7JQIVuj+w2 2zJ+cU9Jezd7JrNaU+TjOiJs7hbYn16uQ0k0bgN6rcvfyPVKDNiJXuIvdwz2L/3e6/GM QzRvWKMSRuHj1HiH8K4DgtJxL2H4hD8KXpOyM= Received: by 10.213.32.142 with SMTP id c14mr1819772ebd.77.1323458484892; Fri, 09 Dec 2011 11:21:24 -0800 (PST) Received: from kuro.5550h.net (p54AEE5B6.dip.t-dialin.net. [84.174.229.182]) by mx.google.com with ESMTPS id q28sm34729507eea.6.2011.12.09.11.21.23 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 11:21:24 -0800 (PST) Date: Fri, 9 Dec 2011 20:21:22 +0100 From: "=?UTF-8?B?5paH6bOl?=" To: freebsd-questions@freebsd.org Message-ID: <20111209202122.231eedd1@kuro.5550h.net> In-Reply-To: <20111209190526.17858d6d.freebsd@edvax.de> References: <4EE0E96C.8090406@locolomo.org> <20111209080355.118d7aa5@kuro.5550h.net> <20111209165023.63f1965f@kuro.5550h.net> <20111209190526.17858d6d.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Polytropon Subject: Re: Which Lenovo Laptop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 19:21:26 -0000 On Fri, 9 Dec 2011 19:05:26 +0100 Polytropon wrote: > On Fri, 9 Dec 2011 16:50:23 +0100, =F0=AB=9D=86=E4=BA=95 Pierre wrote: > > If there is a setting to xorg.conf that does work for setting the > > screen brightness, please tell me. Everything I tried so far turned > > out negative, but maybe there's something I overlooked.=20 >=20 > Don't "modern" laptops come with keys (or key combinations, > usually Fn + Cursor or Fn + PF key) to adjust brightness > and contrast, or has this lowest-level functionality > finally moved into the world of software, i. e. drivers? >=20 At first I thought so too, but apparently you need the right drivers to get some of the keys to work: Now I am finally able to control the brightness by pressing Fn + Home/End, but only thanks to the co-operation of the acpi_video & acpi_ibm modules and the nvidia driver (which needs the "RegistryDwords" "EnableBrightnessControl=3D1" option in xorg.conf). And just to make things more complicated: the keyboard light and mixer mute keys seem to still be hard-wired and thus do not need driver support... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 23:35:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CFE1065678 for ; Fri, 9 Dec 2011 23:35:29 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 62CB28FC14 for ; Fri, 9 Dec 2011 23:35:29 +0000 (UTC) Received: by ghbg20 with SMTP id g20so3627240ghb.13 for ; Fri, 09 Dec 2011 15:35:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=chdXQh998pLTzc2NBLXVa1O9zyZWEQc/G2Lf8p7Hadk=; b=xNCmzlFdyaQdPG5Kxf3/J5Q/oFF6DZg1tESU0Jly6a2vcRjNAGAIQkcYTdRgDfS3IA di8jQUP4vNytNJEDE0ksBNOZ5D7VX5AjYlPbuR3c8X0HygvGDoOGBv5LUN1a80x5FHSc s8+m+KiajH74pycQIrkld6w1KmROKoaVuEaQI= Received: by 10.236.129.140 with SMTP id h12mr14917760yhi.47.1323473728864; Fri, 09 Dec 2011 15:35:28 -0800 (PST) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id l16sm28169598ane.2.2011.12.09.15.35.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Dec 2011 15:35:28 -0800 (PST) From: ajtiM To: freebsd-questions@freebsd.org Date: Fri, 9 Dec 2011 17:35:17 -0600 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC3; KDE/4.7.3; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201112091735.17538.lumiwa@gmail.com> Subject: blender - python32 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 23:35:29 -0000 H! I have fresh installed 9.0-RC3 FreeBSD 9.0-RC3 #0 and I use KDE 4. I like to install Blender 2.6 but: Required To Build: lang/python32 Required To Run: lang/python32 Installed Python on the system is 2.7. I don't like to update on 32 because some problems (py27-numpy for example). Is it possible to run both versions and don't have problems, please? Thanks in advance. Mitja -------- http://jpgmag.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 02:50:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06C8106564A for ; Sat, 10 Dec 2011 02:50:50 +0000 (UTC) (envelope-from mokomull@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3A80C8FC12 for ; Sat, 10 Dec 2011 02:50:49 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so6828042wgb.31 for ; Fri, 09 Dec 2011 18:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LzGUvL9UuQWNI2qLgEgpPSqWB3gsyvRl9phAxB8D9mU=; b=sEzt6YIJOXtZxI/AKhjw6pbmhRcLLKs9WTvSQqyx2lurGagd7MuFWmO28YZsfK5wSX cfZit5tGTey+hDGxmfiu3eh5h1fMdz6er+BubeSrQEOtq8jT+xZpsOG8KJTb3mTJyjoL lSq1mIiRTTjrQOKh3SmUxEyIsCiY87GU7M//g= MIME-Version: 1.0 Received: by 10.227.207.136 with SMTP id fy8mr8389605wbb.16.1323483761507; Fri, 09 Dec 2011 18:22:41 -0800 (PST) Received: by 10.223.154.135 with HTTP; Fri, 9 Dec 2011 18:22:41 -0800 (PST) Date: Fri, 9 Dec 2011 18:22:41 -0800 Message-ID: From: Matt Mullins To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: PAM configuration to allow passwords from both Unix and Kerberos X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 02:50:50 -0000 For my systems, the canonical source of authentication information is a Kerberos server, but I also want to support old-fashioned Unix passwords for a handful of users (including myself) just in case the Kerberos system is unreachable.=A0 I'm having a bit of trouble adjusting to the semantics of FreeBSD's PAM configuration, it seems.=A0 The following is what I have tried in /etc/pam.d/sshd: auth optional=A0=A0 pam_deny.so auth sufficient pam_unix.so no_warn try_first_pass auth sufficient pam_krb5.so no_warn try_first_pass This does what I want: tries Unix authentication, and for most users, then goes and tries Kerberos authentication.=A0 However, it also seems to allow access if the module does something other than success or failure: I hit ^D at the SSH password prompt and it grants me access! Adding "debug" to these lines doesn't seem to get anything additional logged, so I'm actually not sure why PAM ends up with a success code somewhere. I flipped this logic around and did: auth sufficient pam_unix.so no_warn auth sufficient pam_krb5.so no_warn try_first_pass auth required=A0=A0 pam_deny.so This does exactly what I want for services like sudo, that just use pam_authenticate(), but since "sufficient" is equivalent to "optional" in pam_setcred(), sshd fails all authentications with: Dec=A0 9 15:05:18 boron-shell sshd[66617]: fatal: PAM: pam_setcred(): failed to retrieve user credentials I am completely stumped how to get this behavior working for both pam_authenticate and pam_setcred calls.=A0 Can someone enlighten me what a more normal way to do this would be? -- Matt Mullins From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 04:45:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D078106566B for ; Sat, 10 Dec 2011 04:45:23 +0000 (UTC) (envelope-from dft911@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 17A738FC17 for ; Sat, 10 Dec 2011 04:45:22 +0000 (UTC) Received: by qabg14 with SMTP id g14so3282067qab.13 for ; Fri, 09 Dec 2011 20:45:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5y5YtsI0pXDgQaUmSvy9+GDmf3YNlZ9nD2IV9GNPzrc=; b=wVvDrFSayHEDESPFFjpCpfKg1wqUpgncbjwubONCqyRiExC8Debpz446TubdNO7C6b NFmk7pfY6QRxKFSH4OQ5QEIWd0wjIEJjFCZdaLPzosWyyDcZ+5/nYcEyuwVxXG4mPZie pJi0tBns/kFZTnb4O/1+hFOxOPHPc+aWIf5AQ= Received: by 10.224.42.129 with SMTP id s1mr9778115qae.20.1323490748601; Fri, 09 Dec 2011 20:19:08 -0800 (PST) Received: from [192.168.1.100] (ool-4356525b.dyn.optonline.net. [67.86.82.91]) by mx.google.com with ESMTPS id v5sm20784761qao.21.2011.12.09.20.19.06 (version=SSLv3 cipher=OTHER); Fri, 09 Dec 2011 20:19:07 -0800 (PST) Message-ID: <4EE323F2.9040001@gmail.com> Date: Sat, 10 Dec 2011 04:18:42 -0500 From: Douglas F Taylor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 10 Dec 2011 04:54:39 +0000 Cc: Subject: FreeBSD & ROX Desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 04:45:23 -0000 Can ROX-Desktop work on FreeBSD, I am just starting to learn FreeBSD?? Doug From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 06:30:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75ACA106566B for ; Sat, 10 Dec 2011 06:30:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 36AA38FC08 for ; Sat, 10 Dec 2011 06:30:19 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id A63FC3CD03; Sat, 10 Dec 2011 07:30:18 +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 pBA6UH9M001893; Sat, 10 Dec 2011 07:30:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 10 Dec 2011 07:30:17 +0100 From: Polytropon To: Ryan Coleman Message-Id: <20111210073017.7e24a5aa.freebsd@edvax.de> In-Reply-To: <49B5BAFE-22AE-4AB0-A3FD-51FF9B1722DC@d3photography.com> References: <258382C6-4904-44EE-86D4-1F8F97559983@d3photography.com> <20111209190305.c6bc60cf.freebsd@edvax.de> <49B5BAFE-22AE-4AB0-A3FD-51FF9B1722DC@d3photography.com> 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 Cc: FreeBSD Questions Subject: Re: OT: C|Net's Download.com adware, spyware, malware hijinkx. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 06:30:20 -0000 On Fri, 9 Dec 2011 13:05:05 -0600, Ryan Coleman wrote: > > On Dec 9, 2011, at 12:03 PM, Polytropon wrote: > > > On Fri, 9 Dec 2011 09:38:59 -0600, Ryan Coleman wrote: > >> It's still not malware, it's bloatware. Why would you > >> not go to the development website to get the program anyway? > > > > Uninvitedly adding toolbars, changing web browser > > home page and default search engine are - in my > > opinion - malicious acts, so the term "malware" > > may be correct here. Maybe the term "spyware" is > > also appropriate, depending on what the "additions" > > actually do behind the curtain. > > > > Note an important thing: When careless users will > > notice the change, they will maybe blame the authors > > of the original software, not the distributor. > > This could do damage to F/O products, at least > > in "Windows" land. > > > > Luckily, those who build from source or use > > precompiled packages from a trustworthy > > vendor don't have to care for that stuff. :-) > > So, wait, Firefox is Malware? Did you notice that with FF4 > they changed it so that you didn't get prompted on launch > it overrides your default but instead it's a checkbox inside > the installer? I've never installed something in "Windows" so my opinion has limited fact-backup here. I don't even see from your post _what_ they changed in FF4 - the default browser? The home page? Additional toolbars? Some advertising? Hmmm... However, installing proprietary stuff "along with" the desired F/O software and changing user settings without dialog or notification _could_ deserve the term "malware" to apply. It's _not_ that those are a dependency! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 07:56:36 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65708106564A for ; Sat, 10 Dec 2011 07:56:36 +0000 (UTC) (envelope-from mueller6727@bellsouth.net) Received: from nm12-vm0.access.bullet.mail.sp2.yahoo.com (nm12-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.126]) by mx1.freebsd.org (Postfix) with SMTP id 3FD418FC12 for ; Sat, 10 Dec 2011 07:56:36 +0000 (UTC) Received: from [98.139.44.96] by nm12.access.bullet.mail.sp2.yahoo.com with NNFMP; 10 Dec 2011 07:43:15 -0000 Received: from [98.139.44.67] by tm1.access.bullet.mail.sp2.yahoo.com with NNFMP; 10 Dec 2011 07:43:15 -0000 Received: from [127.0.0.1] by omp1004.access.mail.sp2.yahoo.com with NNFMP; 10 Dec 2011 07:43:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 686030.7689.bm@omp1004.access.mail.sp2.yahoo.com Received: (qmail 57928 invoked by uid 60001); 10 Dec 2011 07:43:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1323502995; bh=KOgK6QB17UInfNpEiJtI6VHeX8U+Uruzc84vqtdWDXI=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=GJXTUCXaNO6fSkrWSrEy2A1mdC/6Kjo6fEASzeqWi78RKwOg5sp3N7l/C+bE/XyfbpCulBaJOMNi6caa4uLIYQOyaLjtCZkt1oO91Rm/Eth1Kt6tdQZNaagk0ITbNZ4mTk4tIsFy3PkMNB/GNwu5l85hDFzI7gadl+RFSh5d95A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=bellsouth.net; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ESHya2eE7zloFFMTR5WUNn6z0SS4tPD+e7qS6lbr9owHOxHW63lJ55BvoAgP9efmvS9ehgMJadmnYHzo+2S8G95PD0EpioACvgcSBZmHwJ+mpwL+pp27vzIQWmOFxvz+PUHbdZXhNsNqYrhtTG0WJ4zPKHVnPKYaEFZSTJOw4ns=; X-YMail-OSG: FGcD7nMVM1nsp6SoCrXAMhCJ7QcL1Ym0BaMGJfl59XDH0h. NcawVTXMYcGRNOJuW3lYji0ACjqOO_n0ZyreSmi3IBzfJOAl4FKvpoUd.NIS 4bXpu58zxSB0brqzTCaz6HjF9CBDA9ZyZ8KdHFab_lupm_WoAfnsoDwn_HBN XMSOYtM0vS5P7oAv019e8QTOVAeFojKg8c6fPnwgVUNRVSKEg_Iqixtz0mdT UtVhSSkLpsRX6_Rw25l63lvWcGFBeo02n.AWVpzXPd64r4QgurxyLcuTXq7a i5JvJNLn68vMfd0wsT09DuuhQqtg43GorngHpcFQayqiBby2_Ts9tDHZBoL3 TSXU9TIkY5Q7cf5vnY32jBbg5pzDRjH444LLpoqs9n9a_s5izpX7hzFBcTnI lAsgmghjzMFxJYQ.wt3Ig0oP3enpPNx4u_qrl5lo0S93BF6SEF1gIXtE_tg- - Received: from [74.132.96.16] by web180215.mail.gq1.yahoo.com via HTTP; Fri, 09 Dec 2011 23:43:15 PST X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.115.331698 Message-ID: <1323502995.36985.YahooMailClassic@web180215.mail.gq1.yahoo.com> Date: Fri, 9 Dec 2011 23:43:15 -0800 (PST) From: Thomas Mueller To: Douglas F Taylor In-Reply-To: <4EE323F2.9040001@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@FreeBSD.org Subject: Re: FreeBSD & ROX Desktop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 07:56:36 -0000 --- On Sat, 12/10/11, Douglas F Taylor wrote: > Can ROX-Desktop work on FreeBSD, I am > just starting to learn FreeBSD?? > Doug I think I remember seeing ROX-Desktop and roxterm in the ports collection? Tom From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 10:09:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D862106564A for ; Sat, 10 Dec 2011 10:09:54 +0000 (UTC) (envelope-from rocky@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 535B68FC12 for ; Sat, 10 Dec 2011 10:09:54 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 54DFB5C24 for ; Sat, 10 Dec 2011 20:06:59 +1000 (EST) Message-ID: <4EE32BB6.3020105@herveybayaustralia.com.au> Date: Sat, 10 Dec 2011 19:51:50 +1000 From: R Skinner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 10:09:54 -0000 I bit the bullet and installed the rc3, after spending half the day fighting to get atheros 9285 working on a new laptop. I have to do another as well, so... After recovering myself from the shock of the new bsdinstall (not bad. A little confusing after using sysinstall for so long), I installed the system with 1 (thats right One! Ah ha ha) partition - yet another shock to figure through. What I'm staggered about is I was using fdisk to setup journaling on the usr and var partitions. So I went to the handbook. I'm still a little confused though: can one still setup the usr and var (and so forth)? It said you possibly could, but it escaped me as to how. And before I do- I looked up journaling on 9. I couldn't quite get to the bottom of whether it is or isn't available/standard, or how to determine its happening. I'm only interested because of unexpected shutdowns/battery dead on the laptop- I also have 500G which is a while to wait for fsck. Speed I'd like, but I have to consider system integrity first. Little light, please? Cheers From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 11:40:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E30106566B for ; Sat, 10 Dec 2011 11:40:57 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp5.iomartmail.com (asmtp5.iomartmail.com [62.128.201.176]) by mx1.freebsd.org (Postfix) with ESMTP id 684A88FC12 for ; Sat, 10 Dec 2011 11:40:57 +0000 (UTC) Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id pBABesr4001212; Sat, 10 Dec 2011 11:40:55 GMT Received: from orange.esperance-linux.co.uk (host-92-22-125-39.as13285.net [92.22.125.39]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id pBABerY2001205; Sat, 10 Dec 2011 11:40:53 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 66DD833C1F; Sat, 10 Dec 2011 11:40:53 +0000 (GMT) Date: Sat, 10 Dec 2011 11:40:53 +0000 From: Frank Shute To: R Skinner Message-ID: <20111210114053.GA69009@orange.esperance-linux.co.uk> References: <4EE32BB6.3020105@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <4EE32BB6.3020105@herveybayaustralia.com.au> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-STABLE amd64 X-Organisation: 'shute.org.uk' Cc: FreeBSD Questions Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 11:40:58 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 10, 2011 at 07:51:50PM +1000, R Skinner wrote: > > I bit the bullet and installed the rc3, after spending half the day=20 > fighting to get atheros 9285 working on a new laptop. I have to do=20 > another as well, so... >=20 > After recovering myself from the shock of the new bsdinstall (not bad. A= =20 > little confusing after using sysinstall for so long), I installed the=20 > system with 1 (thats right One! Ah ha ha) partition - yet another shock= =20 > to figure through. What I'm staggered about is I was using fdisk to=20 > setup journaling on the usr and var partitions. >=20 > So I went to the handbook. I'm still a little confused though: can one=20 > still setup the usr and var (and so forth)? It said you possibly could,= =20 > but it escaped me as to how. And before I do- I looked up journaling on= =20 > 9. I couldn't quite get to the bottom of whether it is or isn't=20 > available/standard, or how to determine its happening. I'm only=20 > interested because of unexpected shutdowns/battery dead on the laptop- I= =20 > also have 500G which is a while to wait for fsck. Speed I'd like, but I= =20 > have to consider system integrity first. >=20 > Little light, please? >=20 > Cheers I'm unfamiliar with the new bsdinstaller but AFAIK it sets up a UFS2 filesystem for you. This comes with background fsck and softupdates which achieve the objective of not having to wait for a lengthy foreground fsck if you don't shutdown your laptop cleanly. As for filesystem integrity, I've occasionally not shutdown properly and the system has subsequently come up quickly again with the background fsck doing it's stuff. I don't remember anybody posting to this list saying: "Help! I didn't shutdown my machine properly and now my filesystem is toast." At the worst you may have to run a foreground fsck. You can set up a proper journal: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-gjournal.html but to be honest, I wouldn't bother in your position: it's just more stuff to go wrong for no appreciable gain to you. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk7jRUQACgkQHduKvUAgeK4ndACdHVYz2L19POfkxCCply8cBJHL AcEAn0oAL9ewzOHRIsOzmqmGGLDdYyH/ =hEuX -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 12:20:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF1F3106566B for ; Sat, 10 Dec 2011 12:20:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 72F9F8FC23 for ; Sat, 10 Dec 2011 12:20:48 +0000 (UTC) Received: by eaai12 with SMTP id i12so2563014eaa.13 for ; Sat, 10 Dec 2011 04:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=aIfBUeFvLDAM6H+ujl8sbfZLY9mxcU4drnyq5lRjuaQ=; b=G6vYT1y9UaRu+7dZJwwVs/Od8OUU+uXYzCs+zuhW7aMmvwqnjhkxjZMYHbTs9TfuKX oYcPepRxhSJHOLr9MWT9DIc6kx+sJDPfrcpnrQIKFr2OhtY6KbkpvWvUBwJ3IToI7+Xp TJjjCRHw58L5NTlorWmQVayJjpdHQ9Bko+Eps= Received: by 10.213.29.148 with SMTP id q20mr1043494ebc.94.1323519647331; Sat, 10 Dec 2011 04:20:47 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id z43sm32744952eef.7.2011.12.10.04.20.44 (version=SSLv3 cipher=OTHER); Sat, 10 Dec 2011 04:20:45 -0800 (PST) Date: Sat, 10 Dec 2011 12:20:42 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111210122042.2b355bc6@gumby.homeunix.com> In-Reply-To: <20111210114053.GA69009@orange.esperance-linux.co.uk> References: <4EE32BB6.3020105@herveybayaustralia.com.au> <20111210114053.GA69009@orange.esperance-linux.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 12:20:48 -0000 On Sat, 10 Dec 2011 11:40:53 +0000 Frank Shute wrote: > On Sat, Dec 10, 2011 at 07:51:50PM +1000, R Skinner wrote: > > possibly could, but it escaped me as to how. And before I do- I > > looked up journaling on 9. I couldn't quite get to the bottom of > > whether it is or isn't available/standard, or how to determine its > > happening. I'm only interested because of unexpected > > shutdowns/battery dead on the laptop- I also have 500G which is a > > while to wait for fsck. Speed I'd like, but I have to consider > > system integrity first. > I'm unfamiliar with the new bsdinstaller but AFAIK it sets up a UFS2 > filesystem for you. > > This comes with background fsck and softupdates which achieve the > objective of not having to wait for a lengthy foreground fsck if you > don't shutdown your laptop cleanly. > > > but to be honest, I wouldn't bother in your position: it's just more > stuff to go wrong for no appreciable gain to you. 9.0 also supports soft-update journalling which eliminates the background fsck. If you don't know whether it's on or not you can run tunefs -p / If it's not on then tunefs can turn it on, but you will presumably need to reboot into single user mode. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 12:35:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EC0F106564A; Sat, 10 Dec 2011 12:35:12 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 356B78FC12; Sat, 10 Dec 2011 12:35:12 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RZM91-0006e9-0D>; Sat, 10 Dec 2011 13:35:11 +0100 Received: from e178029011.adsl.alicedsl.de ([85.178.29.11] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RZM90-0007Gw-Rb>; Sat, 10 Dec 2011 13:35:10 +0100 Message-ID: <4EE351FE.5070807@zedat.fu-berlin.de> Date: Sat, 10 Dec 2011 13:35:10 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: Steve Kargl References: <4EDEF1FF.5020307@zedat.fu-berlin.de> <20111207061137.GA38900@troutmask.apl.washington.edu> In-Reply-To: <20111207061137.GA38900@troutmask.apl.washington.edu> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig607FD8DB30C9DAC44998FE79" X-Originating-IP: 85.178.29.11 Cc: Current FreeBSD , freebsd-questions@freebsd.org Subject: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 12:35:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig607FD8DB30C9DAC44998FE79 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/07/11 07:11, Steve Kargl wrote: > On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: >> config.status: creating ada/Makefile >> config.status: creating auto-host.h >> config.status: executing default commands >> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' >> gmake[1]: *** [stage1-bubble] Error 2 >> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' >> gmake: *** [bootstrap-lean] Error 2 >> *** Error code 1 >> >> Stop in /usr/ports/lang/gcc46. >> *** Error code 1 >> >> Stop in /usr/ports/lang/gcc46. >> >> =3D=3D=3D>>> make failed for lang/gcc46 >> =3D=3D=3D>>> Aborting update >> >=20 > See if setting DISABLE_MAKE_JOBSi helps. >=20 This doesn't work, either. In /etc/src.conf, I use WITH_ICONV=3DYES and _WITH_BSD_GREP=3DYES. Switch= ing off WITH_ICONV seems to solve the problem on FreeBSD 10.0-CURRENT/amd64. I do not know whether OS versions below 10.0 do support the WITH_ICONV kn= ob. This maybe is a hint to the problem. Regards, Oliver --------------enig607FD8DB30C9DAC44998FE79 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO41H+AAoJEOgBcD7A/5N8EQwIALWpCCd4tPdsXV/x4ko50M/d JY2wSnv8v34QgyokOkakq0lsSMrp0O7o8gFTvr44n5+Kwl1HNyq6XFAcyxizFAFn hz9nJVsFAG5BPJSid7Y2nmoI90UxpGxFR6rG5d7Rgvy3wnbaT6FkYnoIqcE8yvWd Cc8CmaBYMtNRDZzh75isq8uieBkTCQAiTOfuSBMkvb+TqlrExy5wtu3USFugIm4/ ReiaJC3INDV2z35vZtl5wb66rkKh/Vh8N/fgi9NMmCN5KSIcBf8RE4gmqoj8eV27 7FAujc+xsfhtfqo3337dlx6QPxPEDQFua29gfL6aXF2JRdP9kIKxMi8CJMFTUws= =mSbM -----END PGP SIGNATURE----- --------------enig607FD8DB30C9DAC44998FE79-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 13:47:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16030106566B for ; Sat, 10 Dec 2011 13:47:35 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id BFA9B8FC08 for ; Sat, 10 Dec 2011 13:47:34 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 98DB15C24 for ; Sat, 10 Dec 2011 23:59:56 +1000 (EST) Message-ID: <4EE36250.6090503@herveybayaustralia.com.au> Date: Sat, 10 Dec 2011 23:44:48 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <20111210114053.GA69009@orange.esperance-linux.co.uk> <20111210122042.2b355bc6@gumby.homeunix.com> In-Reply-To: <20111210122042.2b355bc6@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 13:47:35 -0000 On 12/10/11 22:20, RW wrote: > On Sat, 10 Dec 2011 11:40:53 +0000 > Frank Shute wrote: > >> On Sat, Dec 10, 2011 at 07:51:50PM +1000, R Skinner wrote: >>> possibly could, but it escaped me as to how. And before I do- I >>> looked up journaling on 9. I couldn't quite get to the bottom of >>> whether it is or isn't available/standard, or how to determine its >>> happening. I'm only interested because of unexpected >>> shutdowns/battery dead on the laptop- I also have 500G which is a >>> while to wait for fsck. Speed I'd like, but I have to consider >>> system integrity first. >> I'm unfamiliar with the new bsdinstaller but AFAIK it sets up a UFS2 >> filesystem for you. >> >> This comes with background fsck and softupdates which achieve the >> objective of not having to wait for a lengthy foreground fsck if you >> don't shutdown your laptop cleanly. >> >> >> but to be honest, I wouldn't bother in your position: it's just more >> stuff to go wrong for no appreciable gain to you. > 9.0 also supports soft-update journalling which eliminates the > background fsck. > > If you don't know whether it's on or not you can run > > tunefs -p / > > > If it's not on then tunefs can turn it on, but you will presumably need > to reboot into single user mode. > So how does soft-update journaling compare to gjournal? I'm using gjournal now and it runs a bit of a dog, but it is reliable (until another ufs filesystem turns up at boot) and necessary in my environment. Can I dump it for this new one? Its used on a laptop with heavy load on the disk, the power on the battery can run out too quick for batterymon to shut it down- plus kids that play silly monkeys with daddy's laptop... :) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 15:02:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712CA106564A for ; Sat, 10 Dec 2011 15:02:26 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) by mx1.freebsd.org (Postfix) with ESMTP id 0100C8FC08 for ; Sat, 10 Dec 2011 15:02:25 +0000 (UTC) Received: from 62-248-204-7.elisa-laajakaista.fi ([62.248.204.7] helo=[192.168.255.126]) by mail.kapsi.fi with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RZORS-0004f1-J1; Sat, 10 Dec 2011 17:02:22 +0200 Message-ID: <4EE37478.4000109@kapsi.fi> Date: Sat, 10 Dec 2011 17:02:16 +0200 From: Arto Pekkanen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <20111210114053.GA69009@orange.esperance-linux.co.uk> <20111210122042.2b355bc6@gumby.homeunix.com> <4EE36250.6090503@herveybayaustralia.com.au> In-Reply-To: <4EE36250.6090503@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 62.248.204.7 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 15:02:26 -0000 On 10.12.2011 15:44, Da Rock wrote: > So how does soft-update journaling compare to gjournal? I'm using gjournal now > and it runs a bit of a dog, but it is reliable (until another ufs filesystem > turns up at boot) and necessary in my environment. Can I dump it for this new one? > > Its used on a laptop with heavy load on the disk, the power on the battery can > run out too quick for batterymon to shut it down- plus kids that play silly > monkeys with daddy's laptop... :) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I am not an expert, but this is how I currently understand this: Geom-journal is a block level journaling mechanism. It means that all data written on a journaled provider will be first written to the providers journal and then later commited to the provider. Thus data is written twice to provide more redundancy. Soft-updates by itself has nothing to do with any journaling. It simply makes synchronous writes faster. When a filesystem is mounted synchronously, each write to a file first updates the metadata of the file, such a file size, and after that writes the actual data into the disk. When doing operations on thousands of small files, the overhead from synchronous writing is considerable. Bring forth soft-updates, which caches the metadata (file size etc.) updates into ram, and commits these updates into disk later when a delay and some conditions trigger; actual data is written into disk as soon as possible. Thus append/random access operations on gazillion of files are a lot faster. From this I would conclude that soft-updates journaling tries to write the metadata updates into a filesystem spesific soft-update journal (the soft-update journal being a file maybe?) sooner than they are actually committed. I also suspect that soft-updates journaling has some clever way of detecting when it is, performance wise, okay to update the journal and/or commit updates. In short: - gjournal writes both data and metadata, providing more redundancy to the actual data AND filesystem integrity while slowing down write operations (although I do not have data how much it slows down disk i/o) - journaled soft-updates writes metadata updates twice on the disk, providing redundancy to file system integrity, but does not prevent actual data loss. I do not even use FreeBSD 9.0 myself, my information is totally third party, second hand, wise-cracks and guessing. Any expert consultation would be appreciated. -- Arto Pekkanen ksym@IRCnet From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 15:19:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60951106564A for ; Sat, 10 Dec 2011 15:19:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 209DD8FC12 for ; Sat, 10 Dec 2011 15:19:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBAFJiJa012512; Sat, 10 Dec 2011 08:19:44 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBAFJiQ6012509; Sat, 10 Dec 2011 08:19:44 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 10 Dec 2011 08:19:44 -0700 (MST) From: Warren Block To: R Skinner In-Reply-To: <4EE32BB6.3020105@herveybayaustralia.com.au> Message-ID: References: <4EE32BB6.3020105@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 10 Dec 2011 08:19:44 -0700 (MST) Cc: FreeBSD Questions Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 15:19:46 -0000 On Sat, 10 Dec 2011, R Skinner wrote: > So I went to the handbook. I'm still a little confused though: can one still > setup the usr and var (and so forth)? It said you possibly could, but it > escaped me as to how. Use the bsdinstall partition editor to manually create the partitions. I documented how to create an old-fashioned MBR layout with bsdinstall on the forums a while back: http://forums.freebsd.org/showpost.php?p=149210&postcount=13 The process would be similar for GPT, which is really the way to go now. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 16:09:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3133F1065672 for ; Sat, 10 Dec 2011 16:09:57 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from sphinx.otenet.gr (sphinx.otenet.gr [83.235.69.19]) by mx1.freebsd.org (Postfix) with ESMTP id D798C8FC0A for ; Sat, 10 Dec 2011 16:09:56 +0000 (UTC) Received: from panas.otenet.gr (panas.otenet.gr [83.235.67.31]) by sphinx.otenet.gr (ESMTP) with ESMTPS for ; Sat, 10 Dec 2011 18:09:54 +0200 (EET) Received: from [192.168.0.150] (athedsl-4364788.home.otenet.gr [79.130.9.228]) by panas.otenet.gr (8.13.8/8.13.8) with ESMTP id pBAG9pMs025740 for ; Sat, 10 Dec 2011 18:09:54 +0200 Message-ID: <4EE38454.3020307@otenet.gr> Date: Sat, 10 Dec 2011 18:09:56 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 16:09:57 -0000 On 10/12/2011 5:19 μμ, Warren Block wrote: > On Sat, 10 Dec 2011, R Skinner wrote: > >> So I went to the handbook. I'm still a little confused though: can >> one still setup the usr and var (and so forth)? It said you possibly >> could, but it escaped me as to how. > > Use the bsdinstall partition editor to manually create the partitions. > I documented how to create an old-fashioned MBR layout with bsdinstall > on the forums a while back: > http://forums.freebsd.org/showpost.php?p=149210&postcount=13 > > The process would be similar for GPT, which is really the way to go now. > As Warren says, you can still create /usr and /var and all the other "legacy" partitions if you so wish - and you may even use the full journaling (gjournal) on them. But the default for bsdinstall is to use gpart, install everything on a big / and create UFS2 partitions with the new soft-updates journaling system (on by default). Compared to gjournal, soft-updates journaling only journals metadata and not everything like gjournal does. This will definitely make it faster although probably less "safe" than gjournal. It should be good for most purposes though and needs no additional steps after install (unlike gjournal). Since it's the default, the decision to go for one big / seems ok after all. I believe this is more or less what Linux is doing with Ext3/Ext4 filesystems (metadata journaling). From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 21:43:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5D04106564A for ; Sat, 10 Dec 2011 21:43:51 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2AB8FC0A for ; Sat, 10 Dec 2011 21:43:51 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 3C1C95C24 for ; Sun, 11 Dec 2011 07:56:13 +1000 (EST) Message-ID: <4EE3D1F0.60500@herveybayaustralia.com.au> Date: Sun, 11 Dec 2011 07:41:04 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> In-Reply-To: <4EE38454.3020307@otenet.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 21:43:51 -0000 On 12/11/11 02:09, Manolis Kiagias wrote: > On 10/12/2011 5:19 μμ, Warren Block wrote: >> On Sat, 10 Dec 2011, R Skinner wrote: >> >>> So I went to the handbook. I'm still a little confused though: can >>> one still setup the usr and var (and so forth)? It said you possibly >>> could, but it escaped me as to how. >> >> Use the bsdinstall partition editor to manually create the >> partitions. I documented how to create an old-fashioned MBR layout >> with bsdinstall on the forums a while back: >> http://forums.freebsd.org/showpost.php?p=149210&postcount=13 >> >> The process would be similar for GPT, which is really the way to go now. >> > > As Warren says, you can still create /usr and /var and all the other > "legacy" partitions if you so wish - and you may even use the full > journaling (gjournal) on them. > But the default for bsdinstall is to use gpart, install everything on > a big / and create UFS2 partitions with the new soft-updates > journaling system (on by default). Compared to gjournal, soft-updates > journaling only journals metadata and not everything like gjournal > does. This will definitely make it faster although probably less > "safe" than gjournal. It should be good for most purposes though and > needs no additional steps after install (unlike gjournal). Since it's > the default, the decision to go for one big / seems ok after all. I > believe this is more or less what Linux is doing with Ext3/Ext4 > filesystems (metadata journaling). GPT is cool - no problems there. The main thing I want to know is if I need to run fsck every time the system dies unexpectedly (which is a higher occurrence on a laptop)? GJournal helps in that it takes care of that. The growing size of drives is another concern given the time it takes to check a 500G disk (my smallest atm), although this is way down on the list for the moment. As for one big / partition- linux may be using it: and its their biggest failing! I've had a system lockup due to lack of space. Never a problem with bsd as logs will only fill up var, a user won't break it with filling up usr, etc. And root always stays protected! Its saved my life a number of times... I can quickly fill TB's of data in no time, and if something goes bang the logs can be a silent killer too. My 2c's anyway... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 22:02:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F2E1065670 for ; Sat, 10 Dec 2011 22:02:05 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from sphinx.otenet.gr (sphinx.otenet.gr [83.235.69.19]) by mx1.freebsd.org (Postfix) with ESMTP id A37598FC08 for ; Sat, 10 Dec 2011 22:02:04 +0000 (UTC) Received: from panas.otenet.gr (panas.otenet.gr [83.235.67.31]) by sphinx.otenet.gr (ESMTP) with ESMTPS for ; Sun, 11 Dec 2011 00:02:02 +0200 (EET) Received: from [192.168.0.150] (athedsl-4364788.home.otenet.gr [79.130.9.228]) by panas.otenet.gr (8.13.8/8.13.8) with ESMTP id pBAM1xiS002504 for ; Sun, 11 Dec 2011 00:02:02 +0200 Message-ID: <4EE3D6DC.8000201@otenet.gr> Date: Sun, 11 Dec 2011 00:02:04 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> In-Reply-To: <4EE3D1F0.60500@herveybayaustralia.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 22:02:05 -0000 On 10/12/2011 11:41 μμ, Da Rock wrote: > On 12/11/11 02:09, Manolis Kiagias wrote: >> On 10/12/2011 5:19 μμ, Warren Block wrote: >>> On Sat, 10 Dec 2011, R Skinner wrote: >>> >>>> So I went to the handbook. I'm still a little confused though: can >>>> one still setup the usr and var (and so forth)? It said you >>>> possibly could, but it escaped me as to how. >>> >>> Use the bsdinstall partition editor to manually create the >>> partitions. I documented how to create an old-fashioned MBR layout >>> with bsdinstall on the forums a while back: >>> http://forums.freebsd.org/showpost.php?p=149210&postcount=13 >>> >>> The process would be similar for GPT, which is really the way to go >>> now. >>> >> >> As Warren says, you can still create /usr and /var and all the other >> "legacy" partitions if you so wish - and you may even use the full >> journaling (gjournal) on them. >> But the default for bsdinstall is to use gpart, install everything on >> a big / and create UFS2 partitions with the new soft-updates >> journaling system (on by default). Compared to gjournal, soft-updates >> journaling only journals metadata and not everything like gjournal >> does. This will definitely make it faster although probably less >> "safe" than gjournal. It should be good for most purposes though and >> needs no additional steps after install (unlike gjournal). Since it's >> the default, the decision to go for one big / seems ok after all. I >> believe this is more or less what Linux is doing with Ext3/Ext4 >> filesystems (metadata journaling). > GPT is cool - no problems there. The main thing I want to know is if I > need to run fsck every time the system dies unexpectedly (which is a > higher occurrence on a laptop)? GJournal helps in that it takes care > of that. The growing size of drives is another concern given the time > it takes to check a 500G disk (my smallest atm), although this is way > down on the list for the moment. It does the fsck automatically and it seems to be fast. As with other metadata journaled filesystems you will probably have to do a full check occasionally. Can't you give you any times atm, I need to dump /repartition/restore some of my systems to use su+j. Only tested on virtual machines. > > As for one big / partition- linux may be using it: and its their > biggest failing! I've had a system lockup due to lack of space. Never > a problem with bsd as logs will only fill up var, a user won't break > it with filling up usr, etc. And root always stays protected! Its > saved my life a number of times... I can quickly fill TB's of data in > no time, and if something goes bang the logs can be a silent killer > too. My 2c's anyway... > I am used to the separate partitions too, although I realize a single big / would be suitable for more than a few systems. It's nice we have a choice here. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 22:12:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E79F1065672 for ; Sat, 10 Dec 2011 22:12:43 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 0A59C8FC12 for ; Sat, 10 Dec 2011 22:12:42 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 4E4F05C24 for ; Sun, 11 Dec 2011 08:25:04 +1000 (EST) Message-ID: <4EE3D8B3.30308@herveybayaustralia.com.au> Date: Sun, 11 Dec 2011 08:09:55 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> <4EE3D6DC.8000201@otenet.gr> In-Reply-To: <4EE3D6DC.8000201@otenet.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 22:12:43 -0000 On 12/11/11 08:02, Manolis Kiagias wrote: > On 10/12/2011 11:41 μμ, Da Rock wrote: >> On 12/11/11 02:09, Manolis Kiagias wrote: >>> On 10/12/2011 5:19 μμ, Warren Block wrote: >>>> On Sat, 10 Dec 2011, R Skinner wrote: >>>> >>>>> So I went to the handbook. I'm still a little confused though: can >>>>> one still setup the usr and var (and so forth)? It said you >>>>> possibly could, but it escaped me as to how. >>>> >>>> Use the bsdinstall partition editor to manually create the >>>> partitions. I documented how to create an old-fashioned MBR layout >>>> with bsdinstall on the forums a while back: >>>> http://forums.freebsd.org/showpost.php?p=149210&postcount=13 >>>> >>>> The process would be similar for GPT, which is really the way to go >>>> now. >>>> >>> >>> As Warren says, you can still create /usr and /var and all the other >>> "legacy" partitions if you so wish - and you may even use the full >>> journaling (gjournal) on them. >>> But the default for bsdinstall is to use gpart, install everything >>> on a big / and create UFS2 partitions with the new soft-updates >>> journaling system (on by default). Compared to gjournal, >>> soft-updates journaling only journals metadata and not everything >>> like gjournal does. This will definitely make it faster although >>> probably less "safe" than gjournal. It should be good for most >>> purposes though and needs no additional steps after install (unlike >>> gjournal). Since it's the default, the decision to go for one big / >>> seems ok after all. I believe this is more or less what Linux is >>> doing with Ext3/Ext4 filesystems (metadata journaling). >> GPT is cool - no problems there. The main thing I want to know is if >> I need to run fsck every time the system dies unexpectedly (which is >> a higher occurrence on a laptop)? GJournal helps in that it takes >> care of that. The growing size of drives is another concern given the >> time it takes to check a 500G disk (my smallest atm), although this >> is way down on the list for the moment. > > It does the fsck automatically and it seems to be fast. As with other > metadata journaled filesystems you will probably have to do a full > check occasionally. Can't you give you any times atm, I need to dump > /repartition/restore some of my systems to use su+j. Only tested on > virtual machines. I'll have to try it out then; give it a chance. > >> >> As for one big / partition- linux may be using it: and its their >> biggest failing! I've had a system lockup due to lack of space. Never >> a problem with bsd as logs will only fill up var, a user won't break >> it with filling up usr, etc. And root always stays protected! Its >> saved my life a number of times... I can quickly fill TB's of data in >> no time, and if something goes bang the logs can be a silent killer >> too. My 2c's anyway... >> > > I am used to the separate partitions too, although I realize a single > big / would be suitable for more than a few systems. It's nice we have > a choice here. True. But as a new user it was the separate partitions that attracted me, having been burned with linux's megaroot. And a new user would have trouble setting up the partitions. Not to mention the break with tradition (what is happening to this world)! :) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 22:14:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22289106564A for ; Sat, 10 Dec 2011 22:14:10 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D4FB68FC14 for ; Sat, 10 Dec 2011 22:14:09 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBAME9Qb014854; Sat, 10 Dec 2011 15:14:09 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBAME9j6014851; Sat, 10 Dec 2011 15:14:09 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 10 Dec 2011 15:14:09 -0700 (MST) From: Warren Block To: Da Rock In-Reply-To: <4EE3D1F0.60500@herveybayaustralia.com.au> Message-ID: References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 10 Dec 2011 15:14:09 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 22:14:10 -0000 On Sun, 11 Dec 2011, Da Rock wrote: > GPT is cool - no problems there. The main thing I want to know is if I need > to run fsck every time the system dies unexpectedly (which is a higher > occurrence on a laptop)? GJournal helps in that it takes care of that. The > growing size of drives is another concern given the time it takes to check a > 500G disk (my smallest atm), although this is way down on the list for the > moment. SUJ speeds up the check a lot, seconds as opposed to minutes. If something happens to the journal, it falls back to a standard fsck. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 22:20:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95CE0106566B for ; Sat, 10 Dec 2011 22:20:28 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB238FC08 for ; Sat, 10 Dec 2011 22:20:28 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 3AA385C24 for ; Sun, 11 Dec 2011 08:32:50 +1000 (EST) Message-ID: <4EE3DA85.4070903@herveybayaustralia.com.au> Date: Sun, 11 Dec 2011 08:17:41 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 22:20:28 -0000 On 12/11/11 08:14, Warren Block wrote: > On Sun, 11 Dec 2011, Da Rock wrote: > >> GPT is cool - no problems there. The main thing I want to know is if >> I need to run fsck every time the system dies unexpectedly (which is >> a higher occurrence on a laptop)? GJournal helps in that it takes >> care of that. The growing size of drives is another concern given the >> time it takes to check a 500G disk (my smallest atm), although this >> is way down on the list for the moment. > > SUJ speeds up the check a lot, seconds as opposed to minutes. If > something happens to the journal, it falls back to a standard fsck. But fsck needs to be run manually- I have users that can't do that, and the filesystem corrupts. Ergo gjournal; it boots up and fixes on the fly. So SU+J needs a manual fsck before booting proper or can it just boot and be done? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 10 22:21:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7450F106564A for ; Sat, 10 Dec 2011 22:21:25 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3966C8FC1A for ; Sat, 10 Dec 2011 22:21:24 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa06 [127.0.0.1]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with SMTP id pBALwTqv003591; Sat, 10 Dec 2011 16:21:23 -0600 Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com with ESMTP id 11mctv0ast-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 10 Dec 2011 16:21:23 -0600 Received: from LTCFISWMSGMB25.FNFIS.com ([10.132.99.17]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.01.0323.003; Sat, 10 Dec 2011 16:21:23 -0600 From: "Robison, Dave" To: Da Rock , "freebsd-questions@freebsd.org" Thread-Topic: 9.0 install and journaling Thread-Index: AQHMtyQZceY1MkryUU+K3tnBcAyfP5XVlJcAgAAOBgCAAFyFAIAABd4AgAACMYD//53yqA== Date: Sat, 10 Dec 2011 22:21:22 +0000 Message-ID: <44AC45947DA14449AEDFB13B9F6C5F7D095D33@LTCFISWMSGMB25.FNFIS.com> References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> <4EE3D6DC.8000201@otenet.gr>, <4EE3D8B3.30308@herveybayaustralia.com.au> In-Reply-To: <4EE3D8B3.30308@herveybayaustralia.com.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.107] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-10_06:2011-12-09, 2011-12-10, 1970-01-01 signatures=0 Cc: Subject: RE: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 22:21:25 -0000 >True. But as a new user it was the separate partitions that attracted >me, having been burned with linux's megaroot. And a new user would have >trouble setting up the partitions. Not to mention the break with >tradition (what is happening to this world)! :) I prefer having separate partitions because it's more in line with traditio= nal unix systems, and in particular, I don't like letting users have unlimi= ted access to /tmp. /tmp isn't a place for people to dump their downloads, large file copies, e= tc. They should do that in their home directories. Having one big partition= only allows people to abuse /tmp, among other things. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.