From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 00:04:09 2008 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 98329106564A for ; Sun, 21 Dec 2008 00:04:09 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5F38FC29 for ; Sun, 21 Dec 2008 00:04:08 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by bwz12 with SMTP id 12so4356321bwz.19 for ; Sat, 20 Dec 2008 16:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=tp7CPMvuMayJRQEns/Ww8jo/YxBmVQd2Rpk3ksHxE+g=; b=epUzhOXG46FUT2JV7b6SizgOwVNfo1CGTdGbq8J2JUvXGiCoMM6MnFygTJcSTDdAc9 oPscsQhbfu5ZcEIQWV1tFqcDniWg5VZQQz7PsHaki3YCFKgmho/uwyvqdPVfhZk4oBK7 a6YT/vMrzOXmVi4C2/z3CfPxOGP2QfKtDzm3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=Grt59q5WPzIFIt6WwJdUp6W82i3e0wwH7nOWlR3naJbkCeYLYLcmB7NWphWyP2b+t3 JZLYIRCoykxfpdNPHaNBbEVVHC+CCCLHOEgIjEUs2BNTMeblszG4b2CEdppycasATMNt eY6XT70kJSsmsQ4h9q1CUxD7SlY1YljUhqToI= Received: by 10.181.199.11 with SMTP id b11mr1675842bkq.127.1229817847591; Sat, 20 Dec 2008 16:04:07 -0800 (PST) Received: by 10.181.20.7 with HTTP; Sat, 20 Dec 2008 16:04:07 -0800 (PST) Message-ID: <9bbcef730812201604g7538ffc0g5170fcd334cb53b2@mail.gmail.com> Date: Sun, 21 Dec 2008 01:04:07 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Franck Royer" In-Reply-To: <494D86A5.4010404@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <494CDAA2.8040700@free.fr> <494D1CE6.7020201@free.fr> <494D1F9D.8050506@free.fr> <9bbcef730812200940md79629yea7d3a7b39c88ab@mail.gmail.com> <494D86A5.4010404@free.fr> X-Google-Sender-Auth: 632dae087e5a697a Cc: freebsd-questions@freebsd.org Subject: Re: geom lvm class - glvm 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, 21 Dec 2008 00:04:09 -0000 MjAwOC8xMi8yMSBGcmFuY2sgUm95ZXIgPHJveWVyLmZyYW5ja0BnbWFpbC5jb20+Ogo+IEl2YW4g Vm9yYXMgYSDDqWNyaXQgOgo+PiAyMDA4LzEyLzIwIEZyYW5jayBSb3llciA8cm95ZXIuZnJhbmNr QGdtYWlsLmNvbT46Cj4+Cj4+PiBBcHBhcmVudGx5LCB0aGUgb3B0aW9uIGlzIG9ubHkgYXZhaWxh YmxlIG9uIGZyZWVic2QtOC4wLgo+Pj4KPj4KPj4gL2Jvb3Qva2VybmVsL2dlb21fbGludXhfbHZt LmtvIGlzIHByZXNlbnQgaW4gNy1TVEFCTEUuCj4+Cj4gU29ycnksIGJ1dCBpdCdzIG5vdCB0aGUg Y2FzZSBvbiBteSBmcmVlYnNkLgo+IG15IHVuYW1lIC1hIDogRnJlZUJTRCBtZXRocmlsbGEtdGVz dC5ob21lIDcuMC1SRUxFQVNFIEZyZWVCU0QKPiA3LjAtUkVMRUFTRSAjMDogRnJpIERlYyAxMiAy MTo1NDozNyBHTVQgMjAwOAo+IHJvb3RAbWV0aHJpbGxhLXRlc3QuaG9tZTovdXNyL29iai91c3Iv c3JjL3N5cy9aRlMgIGkzODYKPgo+IEhvdyBkaWQgeW91IGRvIHRoYXQgPwoKUHJvYmFibHkgYnkg dXNpbmcgNy1TVEFCTEUsIG5vdCA3LjAtUkVMRUFTRSA6KQo= From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 00:04:38 2008 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 75EBD1065686 for ; Sun, 21 Dec 2008 00:04:38 +0000 (UTC) (envelope-from kareemy@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 03D838FC24 for ; Sun, 21 Dec 2008 00:04:37 +0000 (UTC) (envelope-from kareemy@gmail.com) Received: by mail-bw0-f19.google.com with SMTP id 12so4356321bwz.19 for ; Sat, 20 Dec 2008 16:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=2PoNM2HzN1jp9jbraG+oPnFOA9S2xaYUrGC2ORwYkeo=; b=mvAvdtgCNp45dM+tKfitabjUAL15+bijkM3gLDh7gaHUKWfIs+r+6jDadrUcS+HZWA TPlse5hrsOoe3K9PF6AeFVVt/cmrJBe2G6+RHZ8ZGroMlhgG5ZDwzNCKTj7JueI76ZLu uzYFnR+Le5BI7t3W+1yZqsWxlUxqvZu2M08r8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HgcHXr2rD6Y/dWdrBicTe2gnJmqepXiCfUt8vfHfTuf1lFFfINcxxDlQoWfPOMJKkE fTHH3CRJ3O+PlG/ynEReMfvBjqkAfaUg18T2CjdmP88Lq1tvW2d3OPxC4o0O37ZXAV9V b0RZseoXPpsAIXL2eWZ74XwA1px1xskUuJPqA= Received: by 10.103.189.15 with SMTP id r15mr1764729mup.126.1229816528840; Sat, 20 Dec 2008 15:42:08 -0800 (PST) Received: by 10.103.228.12 with HTTP; Sat, 20 Dec 2008 15:42:08 -0800 (PST) Message-ID: Date: Sat, 20 Dec 2008 17:42:08 -0600 From: kareemy To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: portaudit and periodic 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, 21 Dec 2008 00:04:38 -0000 I am using FreeBSD 7-RELEASE. I installed portaudit. The FreeBSD handbook stated that during the install process, the configuration files for periodic will be updated, permitting portaudit output in the daily security runs. portaudit was not run in my daily security runs. There is no mention of portaudit in /etc/periodic.conf or /etc/defaults/periodic.conf. I read /usr/local/etc/periodic/security/410.portaudit and found that it references 3 variables: daily_status_security_portaudit_enable daily_status_security_portaudit_expiry daily_status_security_portaudit_user I can't find those variables defined anywhere in any periodic.conf file. I understand I can just manually add daily_status_security_portaudit_enable="YES" to my periodic.conf and be good to go. But I am wondering about the discrepancy with the Freebsd handbook. Is the FreeBSD handbook out of date or incorrect in this regard or is there another reason why portaudit didn't update the periodic config files? Thanks, Kareem Dana From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 00:09:16 2008 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 B642B106567D; Sun, 21 Dec 2008 00:09:16 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 196A58FC3F; Sun, 21 Dec 2008 00:09:15 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so998106fkk.11 for ; Sat, 20 Dec 2008 16:09:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=Mmd6SCiCdvT2er0Klmcb/GZu+ozAfiL0ySSsXVNuUCM=; b=EceJFEmF4vvqP/HTKQU1IBz3TwSOBDtI+JGHpTUoiEdOcnz3uHoDxNHsbTzE7HYOeW PiKO1QRHBTh0waGlXaewtbu4rIBSYOHguK454m70C4NLm6avtCAVGyN5qdfjEXpKDiJe u2zjiz4JWU8xeKlDdUq7T8hG39n5XK6+9mD9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=lc0bZ0mpxjUqS+EVLD9iUHbuKM6h0v/YJMC0Js1LVKY3qrkQDoOMScYDdS1VvKOcYF mQMlcH0zqB1L7N+T+k++kISGeaHHkDR6zJ85WkmQPEaap1daB7b4YKkZ8fQnuATOrL+Z 6eFI9zTLyjsQMnsThzBigHiCKEu0q+ZSHNf7w= Received: by 10.103.172.9 with SMTP id z9mr1770875muo.109.1229818154710; Sat, 20 Dec 2008 16:09:14 -0800 (PST) Received: from ?192.168.0.4? (bx.dantesk.net [82.66.28.193]) by mx.google.com with ESMTPS id j2sm14107849mue.5.2008.12.20.16.09.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Dec 2008 16:09:13 -0800 (PST) Message-ID: <494D8927.5070602@free.fr> Date: Sun, 21 Dec 2008 01:09:11 +0100 User-Agent: Thunderbird 2.0.0.18 (X11/20081127) MIME-Version: 1.0 To: Ivan Voras References: <494CDAA2.8040700@free.fr> <494D1CE6.7020201@free.fr> <494D1F9D.8050506@free.fr> <9bbcef730812200940md79629yea7d3a7b39c88ab@mail.gmail.com> <494D86A5.4010404@free.fr> <9bbcef730812201604g7538ffc0g5170fcd334cb53b2@mail.gmail.com> In-Reply-To: <9bbcef730812201604g7538ffc0g5170fcd334cb53b2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: Franck Royer Cc: Franck Royer , freebsd-questions@freebsd.org Subject: Re: geom lvm class - glvm 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, 21 Dec 2008 00:09:16 -0000 Ivan Voras a écrit : > 2008/12/21 Franck Royer : > >> Ivan Voras a écrit : >> >>> 2008/12/20 Franck Royer : >>> >>> >>>> Apparently, the option is only available on freebsd-8.0. >>>> >>>> >>> /boot/kernel/geom_linux_lvm.ko is present in 7-STABLE. >>> >>> >> Sorry, but it's not the case on my freebsd. >> my uname -a : FreeBSD methrilla-test.home 7.0-RELEASE FreeBSD >> 7.0-RELEASE #0: Fri Dec 12 21:54:37 GMT 2008 >> root@methrilla-test.home:/usr/obj/usr/src/sys/ZFS i386 >> >> How did you do that ? >> > > Probably by using 7-STABLE, not 7.0-RELEASE :) > Good point, I didn't see the difference, I'm still a newbie in Freebsd :) Thank you ! > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Sun Dec 21 00:10:07 2008 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 874731065673 for ; Sun, 21 Dec 2008 00:10:07 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 646C08FC25 for ; Sun, 21 Dec 2008 00:10:07 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id B288150A1D for ; Sun, 21 Dec 2008 00:10:06 +0000 (GMT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7kidiTVoWCsE for ; Sun, 21 Dec 2008 00:10:02 +0000 (GMT) Received: by nyi.unixathome.org (Postfix, from userid 1001) id E450750904; Sun, 21 Dec 2008 00:10:01 +0000 (GMT) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081221001001.E450750904@nyi.unixathome.org> Date: Sun, 21 Dec 2008 00:10:01 +0000 (GMT) Subject: The FreeBSD Diary: 2008-11-30 - 2008-12-20 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, 21 Dec 2008 00:10:07 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 00:29:24 2008 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 2A2D5106564A for ; Sun, 21 Dec 2008 00:29:24 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id CF5318FC13 for ; Sun, 21 Dec 2008 00:29:23 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA01.westchester.pa.mail.comcast.net with comcast id taAm1a00P1HzFnQ51cVND6; Sun, 21 Dec 2008 00:29:22 +0000 Received: from [10.0.1.200] ([76.122.47.225]) by OMTA14.westchester.pa.mail.comcast.net with comcast id tcUq1a0044rWgJL3acUrtB; Sun, 21 Dec 2008 00:28:51 +0000 Message-Id: <866158CA-9484-4BD0-9219-094E0897BF56@comcast.net> From: Tom Marchand To: FreeBSD Mailing List In-Reply-To: <494D8202.3080506@careytech.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sat, 20 Dec 2008 19:29:21 -0500 References: <494D8202.3080506@careytech.com.au> X-Mailer: Apple Mail (2.929.2) Subject: Re: Gigabyte Motherboard Bios Setup 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, 21 Dec 2008 00:29:24 -0000 On Dec 20, 2008, at 6:38 PM, Ivan Carey wrote: > Hello, > I have a Gigabyte GA-965P-DS3P motherboard. > I am having troubles installing and running FreeBSD. > What are the preferred BIOS settings for this motherboard > > Thanks, > Ivan What type of troubles are you encountering? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 00:58:50 2008 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 A98B3106564A for ; Sun, 21 Dec 2008 00:58:50 +0000 (UTC) (envelope-from kareemy@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 269E28FC19 for ; Sun, 21 Dec 2008 00:58:49 +0000 (UTC) (envelope-from kareemy@gmail.com) Received: by bwz12 with SMTP id 12so4381272bwz.19 for ; Sat, 20 Dec 2008 16:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=XgdoAh6Mi1dnbe/K8l9ChU/C39jn+AdaF5gBTYONLZI=; b=udmW3ff+2tVIAUN4S6v5J8lRKp1FOxeXvjZ2eYPpo9JbLnYoJ2uym0r13xsz7DjKRy +KABPp9YYYy8cCUwvFqCfLQdb79ZaWLKz6QkNBc9LX3/A600IFoYRXtAi7LQ0v1BBeeV h+x2e4Mzye7X0AX6ZPXopZqAUTF/kz+J7BqGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UqyhSos7OdSVOB2Zo1InKYgqupJ+KTasGzUF2BY5XSRqW8yA1CecBz3h0062O8Elcp GMhjZHuwMHtgASXLXqf3n4ZDEZVc84po7ODbdN+8XMjIZ4+CS+g5AyyT7L73PA0dlbE2 +PiiiIAl3SN7FaQzvAv35iFs3/ojU67r/4sFk= Received: by 10.103.217.7 with SMTP id u7mr1789182muq.73.1229821128991; Sat, 20 Dec 2008 16:58:48 -0800 (PST) Received: by 10.103.228.12 with HTTP; Sat, 20 Dec 2008 16:58:48 -0800 (PST) Message-ID: Date: Sat, 20 Dec 2008 18:58:48 -0600 From: kareemy To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: portaudit and periodic 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, 21 Dec 2008 00:58:50 -0000 I believe I am incorrect. I checked further and it looks like $daily_status_security_portaudit_enable defaults to YES in the portaudit script so it should run fine. Everything seems to be working. I don't know why I thought it wasn't running before. Sorry for the trouble. Thanks. On Sat, Dec 20, 2008 at 5:42 PM, kareemy wrote: > I am using FreeBSD 7-RELEASE. I installed portaudit. The FreeBSD > handbook stated that during the install process, the configuration > files for periodic will be updated, permitting portaudit output in the > daily security runs. > > portaudit was not run in my daily security runs. There is no mention > of portaudit in /etc/periodic.conf or /etc/defaults/periodic.conf. I > read /usr/local/etc/periodic/security/410.portaudit and found that it > references 3 variables: > daily_status_security_portaudit_enable > daily_status_security_portaudit_expiry > daily_status_security_portaudit_user > > I can't find those variables defined anywhere in any periodic.conf > file. I understand I can just manually add > daily_status_security_portaudit_enable="YES" to my periodic.conf and > be good to go. But I am wondering about the discrepancy with the > Freebsd handbook. > > Is the FreeBSD handbook out of date or incorrect in this regard or is > there another reason why portaudit didn't update the periodic config > files? > > Thanks, > Kareem Dana > From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 03:16:17 2008 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 9695C106564A for ; Sun, 21 Dec 2008 03:16:17 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 01C538FC14 for ; Sun, 21 Dec 2008 03:16:16 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy14 with SMTP id 14so2003952ewy.19 for ; Sat, 20 Dec 2008 19:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=dy1c/jBTbtsUSnGqhzTJo3/9oaV0nOZGXLZGrHjgvMI=; b=dv+6kaoHGQk93XfjTn7mc/QSqKIjNEq6NrweWqarN3zWl06kpJFABmDCEpB/5So+0H r3ETFRzzuZgXZFUPq5G9sH3x8PEu6j2nhy2fjLD4gGAi6MzTmAZO3EFuFC9iivLEtlBT ve5RGPE58Y2H01aPCedcF8GD4CMRzt3UVKB5k= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=so2XkDWPTZnVFIRLAJgrWe5NPpknWmVul+VQ/pGdisAme18z5qMRClafVGJz+tza5d qyezALp12ZzP+VhQoZ/kWGNzMiPkCtKE0elPBhkJ2gXV6nxnE2de5l1/5u5/ONc0AzsJ CI40pOBr590+/rOuAv7j11GC84/KhkYMktVLE= Received: by 10.210.121.8 with SMTP id t8mr1253979ebc.198.1229829375589; Sat, 20 Dec 2008 19:16:15 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id c24sm12408143ika.6.2008.12.20.19.16.13 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Dec 2008 19:16:14 -0800 (PST) Date: Sun, 21 Dec 2008 03:16:11 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081221031611.6f1dc764@gumby.homeunix.com> In-Reply-To: <441vw2zcdb.fsf@lowell-desk.lan> References: <1229788709.1583.16.camel@MGW_1> <44iqpezlb8.fsf@lowell-desk.lan> <20081220205414.A10042@wojtek.tensor.gdynia.pl> <448wqazfyf.fsf@lowell-desk.lan> <20081220224016.S10302@wojtek.tensor.gdynia.pl> <441vw2zcdb.fsf@lowell-desk.lan> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Network Stack Code Re-write (Possible motivations...?) 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, 21 Dec 2008 03:16:17 -0000 On Sat, 20 Dec 2008 17:54:24 -0500 Lowell Gilbert wrote: > However, > commercial routers generally do not use their OS kernel this way -- it > is far more common that the kernel does send and receive packets > within its native IP stack. If I'm understanding you right, I'm surprised by that (the native part). It make any proprietary software less portable. You're also tying your code into third-party internals, which sounds like a maintenance problem. I would have thought that the likes of Cisco and Alcatel etc would would have reusable codebases that abstract the OS and minimize OS dependencies. What's the advantage, don't routers usually lead OS's in terms of new protocol support? From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 05:21:08 2008 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 DE3B2106564A for ; Sun, 21 Dec 2008 05:21:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 968AA8FC18 for ; Sun, 21 Dec 2008 05:21:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEGkQ-0001Vb-8b for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 05:21:02 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 05:21:02 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 05:21:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Sun, 21 Dec 2008 06:20:54 +0100 Lines: 16 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 081220-0, 20/12/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: [6.3] Missing "portdowngrade"? 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, 21 Dec 2008 05:21:08 -0000 Hello I need to downgrade a software from the Ports collection because it's buggy on my hardware, but the "portdowngrade" utility doesn't seem to exist in the 6.3 Ports: ========= # cd /usr/ports/sysutils/portdowngrade -bash: cd: /usr/ports/sysutils/portdowngrade: No such file or directory ========= Does it mean this utility isn't available for 6.3? Is there an alternative? Thank you. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 05:34:15 2008 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 2A962106564A for ; Sun, 21 Dec 2008 05:34:15 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id C88DC8FC1A for ; Sun, 21 Dec 2008 05:34:14 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBL5Ygwi012234 for ; Sat, 20 Dec 2008 21:34:42 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 20 Dec 2008 21:34:10 -0800 (PST) Date: Sat, 20 Dec 2008 21:34:10 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081221053407.GA87868@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: Sed question 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, 21 Dec 2008 05:34:15 -0000 how can i delete, say, lines 8,9,and 10 from 200 files using sed? Is it sed '8,10d'< file> newfile or is there a better way? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 05:42:59 2008 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 38806106564A for ; Sun, 21 Dec 2008 05:42:59 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id A6D488FC1F for ; Sun, 21 Dec 2008 05:42:58 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl28-172.kln.forthnet.gr [77.49.155.172]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBL5gmxk024851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 21 Dec 2008 07:42:54 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBL5gmER027937; Sun, 21 Dec 2008 07:42:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBL5glLr027936; Sun, 21 Dec 2008 07:42:47 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081221053407.GA87868@thought.org> Date: Sun, 21 Dec 2008 07:42:47 +0200 In-Reply-To: <20081221053407.GA87868@thought.org> (Gary Kline's message of "Sat, 20 Dec 2008 21:34:10 -0800") Message-ID: <877i5unkx4.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBL5gmxk024851 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.865, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: Sed question 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, 21 Dec 2008 05:42:59 -0000 On Sat, 20 Dec 2008 21:34:10 -0800, Gary Kline wrote: > how can i delete, say, lines 8,9,and 10 from 200 files > using sed? Is it > > sed '8,10d'< file> newfile > or is there a better way? Use in-place editing: keramida@kobe:/tmp$ cat -n foo 1 foo 2 bar 3 baz keramida@kobe:/tmp$ sed -i '' -e '2d' foo keramida@kobe:/tmp$ cat -n foo 1 foo 2 baz keramida@kobe:/tmp$ Look at the manpage of sed for more details about the -i option, and consider using backup files while you are running tests. In-place editing is very cool, but it can also make changes that are difficult to recover from. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 05:43:57 2008 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 2B5AF106567A for ; Sun, 21 Dec 2008 05:43:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D7BED8FC12 for ; Sun, 21 Dec 2008 05:43:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEH6X-0002FA-8c for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 05:43:53 +0000 Received: from pool-138-88-90-120.res.east.verizon.net ([138.88.90.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 05:43:53 +0000 Received: from nightrecon by pool-138-88-90-120.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 05:43:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 21 Dec 2008 00:43:49 -0500 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-90-120.res.east.verizon.net Sender: news Subject: Re: [6.3] Missing "portdowngrade"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 05:43:57 -0000 Gilles wrote: > Hello > > I need to downgrade a software from the Ports collection because > it's buggy on my hardware, but the "portdowngrade" utility doesn't > seem to exist in the 6.3 Ports: > > ========= > # cd /usr/ports/sysutils/portdowngrade > -bash: cd: /usr/ports/sysutils/portdowngrade: No such file or > directory > ========= > > Does it mean this utility isn't available for 6.3? Is there an > alternative? > > Thank you. > Try looking in /usr/ports/ports-mgmt/portdowngrade instead. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 06:52:00 2008 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 6574D1065670 for ; Sun, 21 Dec 2008 06:52:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB458FC1A for ; Sun, 21 Dec 2008 06:51:59 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEIAP-00046X-Pl for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 06:51:57 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 06:51:57 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 06:51:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Sun, 21 Dec 2008 07:51:46 +0100 Lines: 6 Message-ID: <1qprk4ljvf35pq41th8cqat71kco8qdrnp@4ax.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 081220-0, 20/12/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: Re: [6.3] Missing "portdowngrade"? 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, 21 Dec 2008 06:52:00 -0000 On Sun, 21 Dec 2008 00:43:49 -0500, Michael Powell wrote: >Try looking in /usr/ports/ports-mgmt/portdowngrade instead. Thanks Mike, that did it. I successfully downgraded Zaptel and Asterisk to stable versions of the Ports collection. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 07:02:44 2008 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 8B5DA106564A for ; Sun, 21 Dec 2008 07:02:44 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6255B8FC21 for ; Sun, 21 Dec 2008 07:02:44 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd7ml2no-ssvc.prod.shaw.ca ([10.0.153.162]) by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 21 Dec 2008 00:02:43 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=FP58Ms26AAAA:8 a=KoDPwd6_AAAA:8 a=0SzS6SIBqbpBY1kq7M4A:9 a=PXqIhzdj8khl8TPBTIIA:7 a=7l-99SxNI8bEGWwFnlVrjod0lyUA:4 a=jgoaQNzrKcYA:10 Received: from s0106000d935c7902.du.shawcable.net (HELO gom.home) ([70.67.160.177]) by pd7ml2no-dmz.prod.shaw.ca with ESMTP; 21 Dec 2008 00:02:41 -0700 Received: from gom.home (localhost [127.0.0.1]) by gom.home (Postfix) with ESMTP id 11AE01701E for ; Sat, 20 Dec 2008 23:02:37 -0800 (PST) Date: Sat, 20 Dec 2008 23:02:36 -0800 From: prad To: freebsd-questions@freebsd.org Message-ID: <20081220230236.7bb2c4af@gom.home> In-Reply-To: <20081221053407.GA87868@thought.org> References: <20081221053407.GA87868@thought.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Sed question 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, 21 Dec 2008 07:02:44 -0000 On Sat, 20 Dec 2008 21:34:10 -0800 Gary Kline wrote: > or is there a better way? > nothing specific to add for your particular issue, but this link may be useful in the future for sed: http://sed.sourceforge.net/grabbag/tutorials/ -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 07:28:32 2008 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 7DB301065673 for ; Sun, 21 Dec 2008 07:28:32 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B5AE8FC1C for ; Sun, 21 Dec 2008 07:28:32 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from singularity.sequestered.net (unknown [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 725A068066; Sat, 20 Dec 2008 23:28:17 -0800 (PST) Message-ID: <494DF010.5060803@sequestered.net> Date: Sat, 20 Dec 2008 23:28:16 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Gary Kline References: <20081221053407.GA87868@thought.org> In-Reply-To: <20081221053407.GA87868@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1230449298.41353@RHkXU1IXEk71tWFnYylp6Q X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 725A068066.34A07 X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6, autolearn=not spam) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: Sed question 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, 21 Dec 2008 07:28:32 -0000 Gary Kline wrote: > how can i delete, say, lines 8,9,and 10 from 200 files > using sed? Is it > > sed '8,10d'< file> newfile > or is there a better way? > > I'd stick it in a for loop using inplace editing, but yes. :-) From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 07:47:27 2008 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 D26DD1065674 for ; Sun, 21 Dec 2008 07:47:27 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7478FC08 for ; Sun, 21 Dec 2008 07:47:27 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEJ23-0005av-K1 for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 07:47:23 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 07:47:23 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 07:47:23 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Date: Sun, 21 Dec 2008 08:22:26 +0100 Lines: 29 Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Subject: [solved] Re: usb-stick accessible, but doesn't boot 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, 21 Dec 2008 07:47:27 -0000 On Fri, 19 Dec 2008 22:29:15 +0100 clemens fischer wrote: > My USB-stick (trekstore, identifies as "USB DISK SMI Corporation") is > sliced using sade(8), labelled using bsdlabel, accessible using "mount > /dev/da0s1a /mnt/usb", it has kernel and world, but doesn't boot. The problem had nothing to do with kernel features or setup, except for etc/fstab. I had a what I thought quick&simple md for /var: "md /var mfs rw,-s100M,noatime 0 0", but this doesn't account for all the preset stuff in /var needed to run a system. The current version looks like: # /etc/fstab # /dev/ad6s2b none swap sw 0 0 /dev/da0s1a / ufs rw,noatime 1 1 /dev/da0s1g /home ufs rw,noatime,noexec 0 0 /dev/da0s1f /usr ufs rw,noatime 0 0 md /tmp mfs rw,-s24M,noatime 0 0 md /var/run mfs rw,-s4M,noatime 0 0 md /var/log mfs rw,-s32M,noatime 0 0 # proc /proc procfs rw 0 0 Of course the directory structure had been setup with "make DESTDIR=/mnt/usb/ufs distrib-dirs distribution". -c From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 10:06:24 2008 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 7D8AB106564A for ; Sun, 21 Dec 2008 10:06:24 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 407728FC12 for ; Sun, 21 Dec 2008 10:06:23 +0000 (UTC) (envelope-from kline@thought.org) Received: from [10.47.0.180] (ethos.thought.org [10.47.0.180]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBLA6kNw013742; Sun, 21 Dec 2008 02:06:47 -0800 (PST) (envelope-from kline@thought.org) From: Gary Kline To: Giorgos Keramidas In-Reply-To: <877i5unkx4.fsf@kobe.laptop> References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> Content-Type: text/plain Organization: Thought Unlimited Date: Sun, 21 Dec 2008 02:08:04 -0800 Message-Id: <1229854084.6392.52.camel@ethos> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: Sed question 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, 21 Dec 2008 10:06:24 -0000 On Sun, 2008-12-21 at 07:42 +0200, Giorgos Keramidas wrote: > On Sat, 20 Dec 2008 21:34:10 -0800, Gary Kline wrote: > > how can i delete, say, lines 8,9,and 10 from 200 files > > using sed? Is it > > > > sed '8,10d'< file> newfile > > or is there a better way? > > Use in-place editing: > > keramida@kobe:/tmp$ cat -n foo > 1 foo > 2 bar > 3 baz > keramida@kobe:/tmp$ sed -i '' -e '2d' foo > keramida@kobe:/tmp$ cat -n foo > 1 foo > 2 baz > keramida@kobe:/tmp$ > > Look at the manpage of sed for more details about the -i option, and > consider using backup files while you are running tests. In-place > editing is very cool, but it can also make changes that are difficult > to recover from. > thanks much. it works just fine in-place. ...but i did made a separate copy, just in case;-) From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 10:34:07 2008 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 301CC1065674 for ; Sun, 21 Dec 2008 10:34:07 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id BA7DE8FC1E for ; Sun, 21 Dec 2008 10:34:06 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkBAKpoTEmWZZrV/2dsb2JhbAAIjw+scliQeoME X-IronPort-AV: E=Sophos;i="4.36,255,1228051800"; d="scan'208";a="280051024" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail05.adl2.internode.on.net with ESMTP; 21 Dec 2008 21:04:04 +1030 Message-ID: <494E1B9C.8000100@careytech.com.au> Date: Sun, 21 Dec 2008 21:34:04 +1100 From: Ivan Carey User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: error reading SATA DVDRW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 10:34:07 -0000 I am unable to install FreeBSD because of the following error acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x21 ascq=0x00 The computer reboots during install. I have read that this error can be due to the DVD drive being a master, as it is a SATA drive it is assigned as a master in the BIOS Is there a way this can be resolved. Thanks, Ivan From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 10:44:53 2008 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 AD9081065673 for ; Sun, 21 Dec 2008 10:44:53 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 3898B8FC17 for ; Sun, 21 Dec 2008 10:44:52 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so4628197bwz.19 for ; Sun, 21 Dec 2008 02:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=L9cEfd3iTHFQ91jU0vrGERDAoclsFU+9WrQgP1PL2RI=; b=jxU9xcG45nElW13g0Z+9cmCRK+Kxrz50l/6SKe/UiXpRDJRMR4VDuDps/EliXbbhuy mBHF+yxSDjR1thGFsB0s1dr9ENOEYyu3nKf6/StsjgHtFvJZMZ5u85uk4Rxbzr0n3Zis Rw6FVmzfI/0LrcuD7QGIzFV2NrQkNzuZov8eA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lS5J9zOBm+9r8f4AH4TjYhQRlf7OXs6d47eG4fGUUNrTRKJQO+k1k1hIpSwcCh22y8 GT75/QXS08b8oegVh5N97yZtX7CcddqUU3k3ODl2f+VMhqVirah7tzhE0WbmYoa/Zvba 8zLZdlg+pavOOv1IEmNeN3byi7YyK7GoHt/3E= Received: by 10.103.106.1 with SMTP id i1mr1899842mum.0.1229856291659; Sun, 21 Dec 2008 02:44:51 -0800 (PST) Received: by 10.103.91.11 with HTTP; Sun, 21 Dec 2008 02:44:51 -0800 (PST) Message-ID: <4ad871310812210244j41c28cbcndac47807ea058527@mail.gmail.com> Date: Sun, 21 Dec 2008 05:44:51 -0500 From: "Glen Barber" To: ivan@careytech.com.au In-Reply-To: <494E1B9C.8000100@careytech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <494E1B9C.8000100@careytech.com.au> Cc: freebsd-questions@freebsd.org Subject: Re: error reading SATA DVDRW 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, 21 Dec 2008 10:44:53 -0000 On Sun, Dec 21, 2008 at 5:34 AM, Ivan Carey wrote: > I am unable to install FreeBSD because of the following error > acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x21 ascq=0x00 > > The computer reboots during install. > > I have read that this error can be due to the DVD drive being a master, as > it is a SATA drive it is assigned as a master in the BIOS > > Is there a way this can be resolved. > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-11/msg00327.html -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 11:04:07 2008 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 968D81065670 for ; Sun, 21 Dec 2008 11:04:07 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2153E8FC0C for ; Sun, 21 Dec 2008 11:04:06 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1072518fkk.11 for ; Sun, 21 Dec 2008 03:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wqFIMBC5Tffyt+z4An4nNRPLhE7q/NceCVxaLIoKRkQ=; b=Cp3DrtyCl87bUXFELPi2nA5R6k1evDggLo70AXjyHIryqwJeAHildKOMozScJyXO2q /Ewac12GbHnPWLsCwnrQaPDwWclHEzhxBLWIdg/UzuFgvX/1xemiw637+2LKtiXdfWDX hZoDfW/b4sLXA1TIVzzo8MK5zxe0Vt8dzkcx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ilCUGDpMFgqjhzxQS3kaly9nRiin+Yp5M0Qc1tvIyCT2qw4dFyYzPj7iCIhpZLgJdL O/1six5HBe+j3yBLi1SrJBAV0XAqWJ86AwTlT9MtMe5OfQLBseBILk3p6uhaV1aqFsX/ +7gl+amsAhpYlYjdasG0TvsjEuRtYce9+2ks8= Received: by 10.103.239.10 with SMTP id q10mr1897113mur.67.1229857445645; Sun, 21 Dec 2008 03:04:05 -0800 (PST) Received: by 10.103.91.11 with HTTP; Sun, 21 Dec 2008 03:04:05 -0800 (PST) Message-ID: <4ad871310812210304s19216195x5c530baedcaf687e@mail.gmail.com> Date: Sun, 21 Dec 2008 06:04:05 -0500 From: "Glen Barber" To: "FreeBSD Mailing List" In-Reply-To: <4ad871310812210302va28f97bj1f62aad96f211d14@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <494E1B9C.8000100@careytech.com.au> <4ad871310812210244j41c28cbcndac47807ea058527@mail.gmail.com> <494E20BA.5070008@careytech.com.au> <4ad871310812210302va28f97bj1f62aad96f211d14@mail.gmail.com> Subject: error reading SATA DVDRW 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, 21 Dec 2008 11:04:07 -0000 On Sun, Dec 21, 2008 at 5:55 AM, Ivan Carey wrote: > Glen Barber wrote: >> >> On Sun, Dec 21, 2008 at 5:34 AM, Ivan Carey wrote: >> >>> >>> I am unable to install FreeBSD because of the following error >>> acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x21 ascq=0x00 >>> >>> The computer reboots during install. >>> >>> I have read that this error can be due to the DVD drive being a master, >>> as >>> it is a SATA drive it is assigned as a master in the BIOS >>> >>> Is there a way this can be resolved. >>> >>> >> >> >> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-11/msg00327.html >> >> >> > > Thanks Glen I have already read that article, safe mode does not help. > I'm installing FreeBSD 7.0 and also trying the latest PCBSD > The OP in the article said safe mode did not work for them either. Try another cd if possible; that's why I posted the link. Also, please CC the list on replies; don't send them to me alone. .... I forgot to CC the list. -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 11:10:50 2008 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 BC39B1065673 for ; Sun, 21 Dec 2008 11:10:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC938FC16 for ; Sun, 21 Dec 2008 11:10:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 6FACEAFC1FF; Sun, 21 Dec 2008 02:10:49 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 21 Dec 2008 11:47:27 +0100 User-Agent: KMail/1.9.7 References: <494BE22A.3060301@optiksecurite.com> In-Reply-To: <494BE22A.3060301@optiksecurite.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812211147.27641.fbsd.questions@rachie.is-a-geek.net> Cc: FreeBSD , Tom Worster Subject: Re: SOLVED: Simple swap question 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, 21 Dec 2008 11:10:50 -0000 On Friday 19 December 2008 19:04:26 FreeBSD wrote: > This server is very lightly used, so most of the time if the swap is > getting used it shows that something is going wrong. This warning > already proved usefull once, so I don't think I'm going to change it. Swapping is a symptom of a symptom - or just the machine doing it's job. Better let nagios monitor: - fork rate by observing kern.lastpid sysctl over time - nr. of processes running - top 10 processes sorted by resident memory (res not size in top(1)) Those are the actual symptoms of something going wrong that can cause a system to start swapping heavily. 3MB swap is not 'heavily' and is nothing to worry about.In fact, a high fork rate can DOS a system pretty well, without the machine ever going into swap. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 11:10:52 2008 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 29A25106564A for ; Sun, 21 Dec 2008 11:10:52 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id C2ACE8FC0C for ; Sun, 21 Dec 2008 11:10:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id D6866AFC200; Sun, 21 Dec 2008 02:10:50 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, KES Date: Sun, 21 Dec 2008 12:10:47 +0100 User-Agent: KMail/1.9.7 References: <42213407.20081212101341@yandex.ru> <200812180805.36858.fbsd.questions@rachie.is-a-geek.net> <869279445.20081218100354@yandex.ru> In-Reply-To: <869279445.20081218100354@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812211210.48287.fbsd.questions@rachie.is-a-geek.net> Cc: users@subversion.tigris.org Subject: Re: can not start SVNserve 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, 21 Dec 2008 11:10:52 -0000 On Thursday 18 December 2008 09:03:54 KES wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > > =C2=FB =EF=E8=F1=E0=EB=E8 18 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:05:35: > > M> On Wednesday 17 December 2008 21:02:07 KES wrote: > >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > >> > >> =C2=FB =EF=E8=F1=E0=EB=E8 17 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:11:19: > >> > >> M> On Sunday 14 December 2008 16:11:17 KES wrote: > >> >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Polytropon. > >> >> > >> >> =C2=FB =EF=E8=F1=E0=EB=E8 14 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 15:11= :35: > >> >> > >> >> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar > >> >> > >> >> P> wrote: > >> >> >> > su: Sorry > >> >> >> > > >> >> >> > > >> >> >> > kes# pw user mod svn -s /bin/bash > >> >> >> > kes# pw user show svn > >> >> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >> >> >> > kes# /usr/local/etc/rc.d/svnserve start > >> >> >> > Starting svnserve. > >> >> >> > su: Sorry > >> >> >> > >> >> >> try to change directory to existent > >> >> > >> >> P> (1) What's /bin/bash? Check existing shell. > >> >> > >> >> P> (2) As you said: Check existing directory. > >> >> > >> >> P> (3) Regarding su, check for wheel group inclusion. > >> >> > >> >> home# uname -a > >> >> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 > >> >> 02:11:24 EEST 2008 =20 > >> >> kes@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user > >> >> show svn > >> >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > >> >> > >> >> As you can see on 'home' machine svn user has no valid shell also it > >> >> has not valid home directory and it is not included into wheel group > >> >> > >> >> But svnserve is started and works fine. With same settings svnserve > >> >> does not work on > >> >> kes# uname -a > >> >> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov > >> >> 23 17:19:12 EET 2008 > >> >> kes@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 > >> > >> M> echo 'rc_debug=3D"YES"'>>/etc/rc.conf > >> M> /usr/local/etc/rc.d/svnserve start > >> > >> M> Show output from /var/log/messages. > >> > >> kes# kes# /usr/local/etc/rc.d/svnserve start > >> /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set > >> to YES. Starting svnserve. > >> /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c > >> 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D3690 --foreground -r > >> /var/db/trunk"' su: Sorry > > M> Does this command work from the command line? > M> If not, does it work if called as su -fm rather then su -m? > M> If that does not work, does the primary group svn is supposed to be in > exist? > > > kes# su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D3690 > --foreground -r /var/db/trunk"' su: Sorry > kes# su -fm svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D3690 > --foreground -r /var/db/trunk"' su: Sorry > kes# pw group show svn > svn:*:1005: > kes# cat /etc/group | grep svn > svn:*:1005: > kes# pw user show svn > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > > As you see it does not work also with -fm option > > > Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below) > Notice that on both system account is locked, has no valid shell and > home directory > on FreeBSD 7.0 when I try to login with svn user it says: This account is > currently not available. on FreeBSD 7.1 when I try to login with svn user > it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1? > > > > home# pw user show svn > svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > home# su svn > This account is currently not available. > > > kes# pw user show svn > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > kes# su svn > su: Sorry > kes# pw user mod svn -s /usr/bin/nologin > kes# pw user show svn > svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin > kes# su svn > su: Sorry The problem is elsewhere. Probably in pam(3) on the faulty machine. The onl= y=20 change to su.c from 7.0 to 7.1 is fixing a compiler warning. There are 3=20 instances where su exits with "Sorry". All occasions are logged to syslog.= =20 Can you dig those log entries up? =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 11:18:24 2008 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 F05091065679 for ; Sun, 21 Dec 2008 11:18:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8018FC1E for ; Sun, 21 Dec 2008 11:18:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBLBI7lG013967; Sun, 21 Dec 2008 12:18:07 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBLBI7Q4013964; Sun, 21 Dec 2008 12:18:07 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 21 Dec 2008 12:18:07 +0100 (CET) From: Wojciech Puchar To: Ivan Carey In-Reply-To: <494E1B9C.8000100@careytech.com.au> Message-ID: <20081221121746.P13963@wojtek.tensor.gdynia.pl> References: <494E1B9C.8000100@careytech.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: error reading SATA DVDRW 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, 21 Dec 2008 11:18:25 -0000 enter bootloader prompt (6) and type set hw.ata.atapi_dma=0 boot On Sun, 21 Dec 2008, Ivan Carey wrote: > I am unable to install FreeBSD because of the following error > acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x21 ascq=0x00 > > The computer reboots during install. > > I have read that this error can be due to the DVD drive being a master, as it > is a SATA drive it is assigned as a master in the BIOS > > Is there a way this can be resolved. > > Thanks, > Ivan > _______________________________________________ > 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 Sun Dec 21 11:49:21 2008 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 4ACCF106564A for ; Sun, 21 Dec 2008 11:49:21 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forwards4.yandex.ru (forwards4.yandex.ru [77.88.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id BC8E78FC0C for ; Sun, 21 Dec 2008 11:49:20 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from smtp12.yandex.ru (smtp12.yandex.ru [77.88.32.82]) by forwards4.yandex.ru (Yandex) with ESMTP id 85A6A4C518B; Sun, 21 Dec 2008 14:49:18 +0300 (MSK) Received: from 87-68-113-92.pool.ukrtel.net ([92.113.68.87]:36869 "EHLO HOMEUSER" smtp-auth: "kes-kes" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S5325891AbYLULtG (ORCPT + 2 others); Sun, 21 Dec 2008 14:49:06 +0300 X-Yandex-Spam: 1 X-Yandex-Front: smtp12 X-Yandex-TimeMark: 1229860146 X-BornDate: 1149541200 X-Yandex-Karma: 0 X-Yandex-KarmaStatus: 0 X-MsgDayCount: 3 X-Comment: RFC 2476 MSA function at smtp12.yandex.ru logged sender identity as: kes-kes Date: Sun, 21 Dec 2008 13:49:04 +0200 From: KES X-Mailer: The Bat! (v4.0.24) Professional Organization: SaftTen X-Priority: 3 (Normal) Message-ID: <498807086.20081221134904@yandex.ru> To: Mel In-Reply-To: <200812211210.48287.fbsd.questions@rachie.is-a-geek.net> References: <42213407.20081212101341@yandex.ru> <200812180805.36858.fbsd.questions@rachie.is-a-geek.net> <869279445.20081218100354@yandex.ru> <200812211210.48287.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, users@subversion.tigris.org Subject: Re[2]: can not start SVNserve X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KES List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 11:49:21 -0000 Çäðàâñòâóéòå, Mel. Âû ïèñàëè 21 äåêàáðÿ 2008 ã., 13:10:47: M> On Thursday 18 December 2008 09:03:54 KES wrote: >> Çäðàâñòâóéòå, Mel. >> >> Âû ïèñàëè 18 äåêàáðÿ 2008 ã., 9:05:35: >> >> M> On Wednesday 17 December 2008 21:02:07 KES wrote: >> >> Çäðàâñòâóéòå, Mel. >> >> >> >> Âû ïèñàëè 17 äåêàáðÿ 2008 ã., 9:11:19: >> >> >> >> M> On Sunday 14 December 2008 16:11:17 KES wrote: >> >> >> Çäðàâñòâóéòå, Polytropon. >> >> >> >> >> >> Âû ïèñàëè 14 äåêàáðÿ 2008 ã., 15:11:35: >> >> >> >> >> >> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar >> >> >> >> >> >> P> wrote: >> >> >> >> > su: Sorry >> >> >> >> > >> >> >> >> > >> >> >> >> > kes# pw user mod svn -s /bin/bash >> >> >> >> > kes# pw user show svn >> >> >> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >> >> >> >> > kes# /usr/local/etc/rc.d/svnserve start >> >> >> >> > Starting svnserve. >> >> >> >> > su: Sorry >> >> >> >> >> >> >> >> try to change directory to existent >> >> >> >> >> >> P> (1) What's /bin/bash? Check existing shell. >> >> >> >> >> >> P> (2) As you said: Check existing directory. >> >> >> >> >> >> P> (3) Regarding su, check for wheel group inclusion. >> >> >> >> >> >> home# uname -a >> >> >> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 >> >> >> 02:11:24 EEST 2008 >> >> >> kes@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user >> >> >> show svn >> >> >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin >> >> >> >> >> >> As you can see on 'home' machine svn user has no valid shell also it >> >> >> has not valid home directory and it is not included into wheel group >> >> >> >> >> >> But svnserve is started and works fine. With same settings svnserve >> >> >> does not work on >> >> >> kes# uname -a >> >> >> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov >> >> >> 23 17:19:12 EET 2008 >> >> >> kes@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 >> >> >> >> M> echo 'rc_debug="YES"'>>/etc/rc.conf >> >> M> /usr/local/etc/rc.d/svnserve start >> >> >> >> M> Show output from /var/log/messages. >> >> >> >> kes# kes# /usr/local/etc/rc.d/svnserve start >> >> /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set >> >> to YES. Starting svnserve. >> >> /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c >> >> 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 --foreground -r >> >> /var/db/trunk"' su: Sorry >> >> M> Does this command work from the command line? >> M> If not, does it work if called as su -fm rather then su -m? >> M> If that does not work, does the primary group svn is supposed to be in >> exist? >> >> >> kes# su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 >> --foreground -r /var/db/trunk"' su: Sorry >> kes# su -fm svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 >> --foreground -r /var/db/trunk"' su: Sorry >> kes# pw group show svn >> svn:*:1005: >> kes# cat /etc/group | grep svn >> svn:*:1005: >> kes# pw user show svn >> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >> >> As you see it does not work also with -fm option >> >> >> Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below) >> Notice that on both system account is locked, has no valid shell and >> home directory >> on FreeBSD 7.0 when I try to login with svn user it says: This account is >> currently not available. on FreeBSD 7.1 when I try to login with svn user >> it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1? >> >> >> >> home# pw user show svn >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin >> home# su svn >> This account is currently not available. >> >> >> kes# pw user show svn >> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >> kes# su svn >> su: Sorry >> kes# pw user mod svn -s /usr/bin/nologin >> kes# pw user show svn >> svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin >> kes# su svn >> su: Sorry M> The problem is elsewhere. Probably in pam(3) on the faulty machine. The only M> change to su.c from 7.0 to 7.1 is fixing a compiler warning. There are 3 M> instances where su exits with "Sorry". All occasions are logged to syslog. M> Can you dig those log entries up? Dec 21 13:47:54 kes su: kes to root on /dev/ttyp5 Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES. Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk"' Dec 21 13:47:58 kes su: pam_acct_mgmt: authentication error Yeah, there is problem with pam. Why pam restrict root to run command under other user? -- Ñ óâàæåíèåì, KES mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 09:02:41 2008 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 046051065673 for ; Sun, 21 Dec 2008 09:02:41 +0000 (UTC) (envelope-from rayran127@yahoo.com) Received: from web65512.mail.ac4.yahoo.com (web65512.mail.ac4.yahoo.com [76.13.9.56]) by mx1.freebsd.org (Postfix) with SMTP id 8E5AE8FC16 for ; Sun, 21 Dec 2008 09:02:40 +0000 (UTC) (envelope-from rayran127@yahoo.com) Received: (qmail 95516 invoked by uid 60001); 21 Dec 2008 08:35:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=f+vluql6P0B315dk1tp40CjFMjmnsWt4tVt2eiyBKmbJRUqLxlsY3i0knFQJbJaVOHXqi+rHVJg+JiGqL0dBjoIcgbPEzgB0D+iow2kSre3HGVWXzmPaHBWLM8VhttZJAVC3euhuA+Fd4LAaLufHRp68fW2/XmvbFwCyJ7Lu1FM=; X-YMail-OSG: 4_MOiJkVM1muDakpUytF9RokX90_EVsgQmoMHdpp8lfh3A31QAiiGfJ1LarBP1ykQgr7UNcPogb6CgtrN0H1fRHJtg.y.LohexLx4bN.qH4fZmgkXKPxBFhr1CvnbLMwCpMilgDXYqXMw31qutyqZsh0a1xJwglcXWf0dGHSjafzk_pIB6c6ckiKh_FK Received: from [80.191.40.14] by web65512.mail.ac4.yahoo.com via HTTP; Sun, 21 Dec 2008 00:35:57 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Sun, 21 Dec 2008 00:35:57 -0800 (PST) From: jamshid omidi To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <371717.95423.qm@web65512.mail.ac4.yahoo.com> X-Mailman-Approved-At: Sun, 21 Dec 2008 12:16:05 +0000 Subject: acronis true image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rayran127@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 09:02:41 -0000 hi 1-there are a software that create image from os (acronis true image) this program run a daemon and agent daemon run at server and agent install on the client. in acronis cd is been all agent for all os for example windows linux , .... but agent for freebsd in not please help me for find thid agent 2-i want exe a file name is XXX.i686 in freebsd 7 but when i run "./XXX.i686" this message appear "ELf binary type "0" not known ./XXX.i686 exec format error" please help me to resolve this problem thsnk a lot j.o From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 12:16:14 2008 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 555061065696 for ; Sun, 21 Dec 2008 12:16:14 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 26C0D8FC21 for ; Sun, 21 Dec 2008 12:16:14 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2716121wfg.7 for ; Sun, 21 Dec 2008 04:16:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=7gJ+1b/cmOxFZLQLVRuHM24lZCYIa5y4sCVHP2sZWHI=; b=ebD4H9PMkTxzmUuXIdne7iLYfBSz40EtfIdFYPcbSdcMSF3pavlVba+mjNPDQujaMl X6FcjTDSvfRoYNUnljpU9G+1mNs39dAaCNlLE15EIMyNU84LGF8ZmBXcCFzU4MLmDnTE f0h57vIcSw6yI+iIfaJUIIosU1Zhty+pcduvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=l/eUk9ya1WrOZ7/sI2SEx2o4UmS5NrH8gaIIYTnDordvBAyVWMfhQbwDy8mMeIunMK 4Bn7LItgjlqC+Cdw5ZY5kmNJ90zUU4PaPAD8m9qAeh+grof3MChp21ikuoOIPYxxHTd6 zr6eGGVv9JLjI9vNQKubN1p5afWletm+AiPSU= Received: by 10.142.201.3 with SMTP id y3mr2197377wff.299.1229861773885; Sun, 21 Dec 2008 04:16:13 -0800 (PST) Received: by 10.142.134.15 with HTTP; Sun, 21 Dec 2008 04:16:13 -0800 (PST) Message-ID: <139b44430812210416q27c3729fxf8b62a88186e808c@mail.gmail.com> Date: Sun, 21 Dec 2008 14:16:13 +0200 From: "Valentin Bud" To: "Gennady Kudryashoff" In-Reply-To: <1909196500.20081220210106@tochka.ru> MIME-Version: 1.0 References: <001401c9620b$fcaf9ee0$f60edca0$@com> <1909196500.20081220210106@tochka.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Gary Hartl Subject: Re: Snow in my Server 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, 21 Dec 2008 12:16:14 -0000 Hello, Just leave it be, enjoy the holidays and afterward the snow will go by its self :). Merry Xmas to everybody, v On Sat, Dec 20, 2008 at 8:01 PM, Gennady Kudryashoff wrote: > Just try to remove old-stoned CGA video adapter. > > GH> Help, I'm in southern Ontario and I have 20cm of snow on my freebsd > GH> 7-release server. > GH> > GH> IT seems to be causeing some http outages. > GH> > GH> My FBSD 6-.0 doesn't seem to be affected thou. > GH> > GH> > GH> Any suggestions, > > > _______________________________________________ > 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 Sun Dec 21 12:20:13 2008 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 9B030106564A for ; Sun, 21 Dec 2008 12:20:13 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id E7F358FC0C for ; Sun, 21 Dec 2008 12:20:12 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by bwz12 with SMTP id 12so4679808bwz.19 for ; Sun, 21 Dec 2008 04:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=vcWuHqybirvOpOr1A2K+E7noKXhtAqX9HPVawrFPn5A=; b=MDFvI0e3xNQNS5Sx7a/VqmYY+aSRoOYRm+e/rzhNV908jMPaTkzLBAsl1q4zUR483F 9LV6SEJcKrNaTKoqNpit5n19QeiXEZ1UaYbLXROrrEFIxJilne9JJH+E9CZR5IxdHQZJ 0p7B18GUjkGU0tq/opX+FPsHZRG/RISuSF3IU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Naj7teYGiz/5nswds0l3ytKj59KuGnKW0eN1xB8aH4q/2OaYqMw/a6cGVH0Uh6u1Iu SpbYX6AHbG+CW4AAUozmrI3CNEKIMXTfkFGQoPNo8tzNJbqufOa9+xlF1jcohNjA92+l fpsMc96uK24+O1vcVBTxeO4IDCxz/GHvT4OR0= Received: by 10.180.223.8 with SMTP id v8mr932356bkg.181.1229862011623; Sun, 21 Dec 2008 04:20:11 -0800 (PST) Received: by 10.180.228.2 with HTTP; Sun, 21 Dec 2008 04:20:11 -0800 (PST) Message-ID: <5635aa0d0812210420l27361fc6kf60aa553b8bf8d63@mail.gmail.com> Date: Sun, 21 Dec 2008 19:20:11 +0700 From: "Outback Dingo" To: "Valentin Bud" In-Reply-To: <139b44430812210416q27c3729fxf8b62a88186e808c@mail.gmail.com> MIME-Version: 1.0 References: <001401c9620b$fcaf9ee0$f60edca0$@com> <1909196500.20081220210106@tochka.ru> <139b44430812210416q27c3729fxf8b62a88186e808c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Gary Hartl , Gennady Kudryashoff , freebsd-questions@freebsd.org Subject: Re: Snow in my Server 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, 21 Dec 2008 12:20:13 -0000 you could do me a favor and pack it all up in a cooler and ship it to me here in thailand, we dont see snow here, last i saw snow was like 7 years ago, i hear russia is also seeking snow in moscow this year, hrmmm might want to put it up on ebay see who wins..... On Sun, Dec 21, 2008 at 7:16 PM, Valentin Bud wrote: > Hello, > > Just leave it be, enjoy the holidays and afterward the snow will go by its > self :). > > Merry Xmas to everybody, > v > > On Sat, Dec 20, 2008 at 8:01 PM, Gennady Kudryashoff > wrote: > > > Just try to remove old-stoned CGA video adapter. > > > > GH> Help, I'm in southern Ontario and I have 20cm of snow on my freebsd > > GH> 7-release server. > > GH> > > GH> IT seems to be causeing some http outages. > > GH> > > GH> My FBSD 6-.0 doesn't seem to be affected thou. > > GH> > > GH> > > GH> Any suggestions, > > > > > > _______________________________________________ > > 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" > From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 12:24:10 2008 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 0A2361065670 for ; Sun, 21 Dec 2008 12:24:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 6A2828FC0C for ; Sun, 21 Dec 2008 12:24:09 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so4681926bwz.19 for ; Sun, 21 Dec 2008 04:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vkUanVPLcQ+uJy/KD3PAP0sRandqyvPvOwzFZG7XC3g=; b=ES/cLJ7gaUOXeoEkplEIywl2UwbtYvqeABzCrznAMqHQYWantPMJrtNS6A+9b/9t+u 5t79Wx4iZPHKWtCSAd6mNO6zNb1EA/PwraeqeB0dgWEXcN1beOjnxTgesaT5JIV8rFHb KnDhFly2F24LA/UpeYx9WB/kV4wQXJdg3L/T4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Tat/kNhM9SgaNca5HxXlZ09GcRpI7GSVIhNuV6nwcbJfwKsme+fVJ3gnwK02aR7Cc6 n//sEPha13UX7YFrefcfThCkadXEnZwHNnOVIOMn9D56rwYmf3ldFEGG6Tm/rKFlWw6W yLER2ZLO7teJt13CqS9LQaO/tStGVgz2QCJ/k= Received: by 10.103.217.5 with SMTP id u5mr1901492muq.118.1229862248006; Sun, 21 Dec 2008 04:24:08 -0800 (PST) Received: by 10.103.91.11 with HTTP; Sun, 21 Dec 2008 04:24:07 -0800 (PST) Message-ID: <4ad871310812210424r158a6eb4w66a398a6d8ad6ee3@mail.gmail.com> Date: Sun, 21 Dec 2008 07:24:07 -0500 From: "Glen Barber" To: "Outback Dingo" In-Reply-To: <5635aa0d0812210420l27361fc6kf60aa553b8bf8d63@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001401c9620b$fcaf9ee0$f60edca0$@com> <1909196500.20081220210106@tochka.ru> <139b44430812210416q27c3729fxf8b62a88186e808c@mail.gmail.com> <5635aa0d0812210420l27361fc6kf60aa553b8bf8d63@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Snow in my Server 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, 21 Dec 2008 12:24:10 -0000 On Sun, Dec 21, 2008 at 7:20 AM, Outback Dingo wrote: > you could do me a favor and pack it all up in a cooler and ship it to me > here in thailand, we dont see snow here, last i saw snow was like 7 years > ago, i hear russia is also seeking snow in moscow this year, hrmmm might > want to put it up on ebay see who wins..... > "Natural Canadian snow. $39.99/lb - Buy-it-now! Disclaimer: Buyer must provide insurance. Not responsible for condition of contents. Sold by weight, not volume. (etc, etc)" Happy holidays, everyone. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 13:33:09 2008 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 4842A106564A for ; Sun, 21 Dec 2008 13:33:09 +0000 (UTC) (envelope-from aggelidis.news@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 1A7EA8FC18 for ; Sun, 21 Dec 2008 13:33:09 +0000 (UTC) (envelope-from aggelidis.news@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2747869wfg.7 for ; Sun, 21 Dec 2008 05:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FzsnaPv0SX8wok1WmDxw0OXDdbstmsdTa0jO9mht8PM=; b=scy2wfrbi532n8ukSxlb23tW5DyApqlRrXYPDXNIT5Oq0Ir6mKmu+hp+2153PjVJVs 7g2Ali+TTIJCvNG6JRmEuGFbEx4Zwvu9cCzVZqd3F7huD2Y5l4DSKCe7TRswFy4Mq/Mc A0+Lv0DL/tsRjGj7olnpmDvVbjIq1EQ7qeCJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UHalKCGzT9hiL01TrMVgeX494m6OPasN2P51l6uijrJeUugi3ksoG0mNuJg4zlrvdY 0pG7qcfNIjzLaBmYgvqsIUUTD3QeIQ/ROeumcLmSQqi6UO/E/HYm6rgBynpP3kbf6t1y 4RtxhtENqci4uk0C+1V6bqe00smkoHtLsTgME= Received: by 10.142.116.12 with SMTP id o12mr2215388wfc.332.1229866388779; Sun, 21 Dec 2008 05:33:08 -0800 (PST) Received: by 10.143.41.14 with HTTP; Sun, 21 Dec 2008 05:33:08 -0800 (PST) Message-ID: <30fc78250812210533j2753a206pcabfa430912ba949@mail.gmail.com> Date: Sun, 21 Dec 2008 15:33:08 +0200 From: "Aggelidis Nikos" To: "Eitan Adler" In-Reply-To: <494BFF1F.8070303@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001401c9620b$fcaf9ee0$f60edca0$@com> <494BF1BB.1020508@telia.com> <20081219191856.GA9307@just.puresimplicity.net> <494BFF1F.8070303@gmail.com> Cc: Josh Tolbert , raggen@raggens.net, FreeBSD Questions , Gary Hartl Subject: Re: Snow in my Server 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, 21 Dec 2008 13:33:09 -0000 On Fri, Dec 19, 2008 at 10:07 PM, Eitan Adler wrote: > >> Build a bike shed over the server? :) > make sure its green... > -- i think blue is better suited for the job.... Merry Christmas to everybody, -nicolas From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 14:20:11 2008 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 5FAC11065670 for ; Sun, 21 Dec 2008 14:20:11 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout-bounce.kundenserver.de (mout-bounce.kundenserver.de [212.227.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id E6E4E8FC16 for ; Sun, 21 Dec 2008 14:20:10 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from marge.bs.l (e180034204.adsl.alicedsl.de [85.180.34.204]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1LEOxP0F8v-0004Hu; Sun, 21 Dec 2008 15:06:59 +0100 Received: from bsch by marge.bs.l with local (Exim 4.69) (envelope-from ) id 1LEOxO-0006U6-En; Sun, 21 Dec 2008 15:06:58 +0100 Date: Sun, 21 Dec 2008 15:06:58 +0100 From: Bertram Scharpf To: Gary Kline , freebsd-questions@freebsd.org Message-ID: <20081221140658.GA24691@marge.bs.l> Mail-Followup-To: Gary Kline , freebsd-questions@freebsd.org References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1229854084.6392.52.camel@ethos> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX1/TTo1NBzEyZz04111uauE+s3dNF8JPgYf5hqp iorqkU6+xEL5ySb8Nc8tg7q2xISI29LTT49rttW1zY8oJ0WGGP wGLNiN/22cCNuQcjfK30qGF3fIFcYC+25sowoO5mn8= Cc: Subject: Re: Sed question 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, 21 Dec 2008 14:20:11 -0000 Hi, Am Sonntag, 21. Dez 2008, 02:08:04 -0800 schrieb Gary Kline: > On Sun, 2008-12-21 at 07:42 +0200, Giorgos Keramidas wrote: > > On Sat, 20 Dec 2008 21:34:10 -0800, Gary Kline wrote: > > > > > > sed '8,10d'< file> newfile > > > or is there a better way? > > > > keramida@kobe:/tmp$ sed -i '' -e '2d' foo > > > thanks much. it works just fine in-place. ...but i did made a separate > copy, just in case;-) To make a copy, call $ sed -i .bak 8,10d myfile Be aware that the -i option is not portable. -> man sed /^STANDARDS Consider Perl or $ ruby -i.bak -pe 'next if 8..10 === $.' x Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 19:35:09 2008 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 461F11065675 for ; Sun, 21 Dec 2008 19:35:09 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0162.b.hostedemail.com [64.98.42.162]) by mx1.freebsd.org (Postfix) with ESMTP id F33018FC17 for ; Sun, 21 Dec 2008 19:35:08 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay03.b.hostedemail.com (Postfix) with SMTP id A68171E79DBE for ; Sun, 21 Dec 2008 19:35:07 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, facb474a7b2e1b84, 944facfeb153b4f0, eagletree@hughes.net, freebsd-questions@freebsd.org, RULES_HIT:355:379:541:564:601:945:946:966:967:973:980:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1543:1593:1594:1711:1730:1747:1766:1792:2196:2199:2379:2393:2525:2553:2559:2563:2682:2685:2689:2693:2857:2859:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3355:3865:3866:3867:3868:3869:3870:3871:3872:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4385:4605:4860:5007:6114:6117:6119:7652:7679:7903:8501:9010:9025:9388, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf08.b.hostedemail.com (Postfix) with ESMTP for ; Sun, 21 Dec 2008 19:35:02 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <34058EDE-BC14-4DCC-AF3C-100F77DEE486@hughes.net> References: <34058EDE-BC14-4DCC-AF3C-100F77DEE486@hughes.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chris Date: Sun, 21 Dec 2008 11:34:57 -0800 To: FreeBSD-Questions Questions X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Subject: [solved] Re: Linking libraries for compat_linux 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, 21 Dec 2008 19:35:09 -0000 On Dec 19, 2008, at 9:46 AM, Chris wrote: > I've bumped into a library I can't resolve and I must have a > disconnect > in how the linux_compat works because I can't see how it could be > solved. > I found that using FreeBSD Port fam for the daemon with openSUSE 10 fam 2.7.0 for my /compat/linux/lib/libfam.so* worked. Other fam versions from other linux distributions failed. I'm able to detect file changes with a linux binary that employs libfam.so. I tested it using the fileschanged application provided with the linux fam version. qbmonitord also works with this configuration. > I have the following: > * compat_linux enabled in the kernel, > * /usr/ports/emulators/linux_base_fc7 > * sysctl kern.fallback_elf_brand=3 > * rpm2cpio to alter rpms > * cpio to create the directories and place the files where they > belong in /compat/linux. > > I have a program that now has all it's libraries resolved but one in > preparation to attempt to run the Linux Quickbooks install on FreeBSD. > The ldd output, prior to installing /usr/ports/devel/fam (a > required shared > library) looks like this. > > ldd ./opt/qbes7/util/qbmonitord > ./opt/qbes7/util/qbmonitord: > libfam.so.0 => not found > libpthread.so.0 => /lib/libpthread.so.0 (0x28072000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28088000) > libm.so.6 => /lib/libm.so.6 (0x28171000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28198000) > libc.so.6 => /lib/libc.so.6 (0x281a4000) > /lib/ld-linux.so.2 (0x28054000) > > I install fam to get rid of the not found, perform the following link: > ln /usr/local/lib/libfam.so.0 /compat/linux/lib/libfam.so.0 > > and then I get this: > > ldd ./opt/qbes7/util/qbmonitord > ./opt/qbes7/util/qbmonitord: > ./opt/qbes7/util/qbmonitord: error while loading shared libraries: / > lib/libfam.so.0: ELF file OS ABI invalid > ./opt/qbes7/util/qbmonitord: exit status 127 > > which kind of makes sense since this library is not a linux > library. I'd read > that I don't need to brandelf -t linux a library but I tried that > anyway, > realizing it was likely meaningless (or harmful). It didn't help of > course. > > My next thought was to try and get a libfam.so.0 binary from a > linux distro > but stopped when it occurred to me that it would be illogical since > fam uses > kqueue on FreeBSD rather than something called imon. imon is not > available > for FreeBSD so a linux version shouldn't be able to function if it > expects that. On > FreeBSD, fam configures itself to not use imon. > > What is the appropriate course of action to get a linux flavor > shared library > for fam (or anything which runs into such conflicts) that will work > on FreeBSD > yet be recognized as suitable for linux under the compat mode? > > > _______________________________________________ > 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 Sun Dec 21 19:46:38 2008 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 473DD1065679 for ; Sun, 21 Dec 2008 19:46:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DBC078FC16 for ; Sun, 21 Dec 2008 19:46:37 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEUFz-0002uL-SJ for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 19:46:31 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 19:46:31 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 19:46:31 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Date: Sun, 21 Dec 2008 14:47:54 +0100 Lines: 38 Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 21 Dec 2008 19:46:38 -0000 clemens fischer wrote: > On Fri, 19 Dec 2008 22:29:15 +0100 clemens fischer wrote: > >> My USB-stick (trekstore, identifies as "USB DISK SMI Corporation") is >> sliced using sade(8), labelled using bsdlabel, accessible using "mount >> /dev/da0s1a /mnt/usb", it has kernel and world, but doesn't boot. > > The problem had nothing to do with kernel features or setup, except for > etc/fstab. I had a what I thought quick&simple md for /var: "md /var > mfs rw,-s100M,noatime 0 0", but this doesn't account for all the preset > stuff in /var needed to run a system. > > The current version looks like: > > # /etc/fstab > # > /dev/ad6s2b none swap sw 0 0 > /dev/da0s1a / ufs rw,noatime 1 1 > /dev/da0s1g /home ufs rw,noatime,noexec 0 0 > /dev/da0s1f /usr ufs rw,noatime 0 0 > md /tmp mfs rw,-s24M,noatime 0 0 > md /var/run mfs rw,-s4M,noatime 0 0 > md /var/log mfs rw,-s32M,noatime 0 0 > # > proc /proc procfs rw 0 0 > > Of course the directory structure had been setup with "make > DESTDIR=/mnt/usb/ufs distrib-dirs distribution". I am very sorry for this inaccurate information. As it turns out, only the GENERIC kernel is bootable, my custom configuration doesn't. On the bright side, this indicates some feature missing from my normally very lean kernels, nothing is kaputt beyond repair. I'll just have to find out which module just has to be in the kernel to make it boot from an USB stick. -c From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 20:23:23 2008 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 3F2ED1065670 for ; Sun, 21 Dec 2008 20:23:23 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id E44B18FC08 for ; Sun, 21 Dec 2008 20:23:22 +0000 (UTC) (envelope-from kelly.terry.jones@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1573187rne.12 for ; Sun, 21 Dec 2008 12:23:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cRhgZ3YjIB+kQb/WvGjvl9qyXm1FcKdGMCHNvYlpQ6M=; b=ruxHZ5I5jXo30aIQL9FPcPmQTvD6efljYbv/506mMXVvAzQszSRDZabKYF0g13Z0jJ BonGVSelOC52r5qey7wlxZuWI3nzN66qQmuEmalpIpFeq6o9vkVjRsWIoieZs/MPnNQn Y22jqzEImkjKL9CnwDER6X0pr5hz3qCHFldng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=aH5Pu6AnFpn2KLaWz48581+g0WRniX5wsYT7an5d2qOLPKxejrIWrgl5KwKe5nWk6v E9ZEQ56+YI+aW1N7khp6SsDdewuhZf1mT5Arf6HkwG7Sx7N+C5vdDBKrpenrBPtbqGZD QUAjWCQLFMlg6gFoyRJyuZbLPUa5BAG2bem+M= Received: by 10.64.241.15 with SMTP id o15mr4285499qbh.18.1229891001529; Sun, 21 Dec 2008 12:23:21 -0800 (PST) Received: by 10.64.18.2 with HTTP; Sun, 21 Dec 2008 12:23:21 -0800 (PST) Message-ID: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> Date: Sun, 21 Dec 2008 13:23:21 -0700 From: "Kelly Jones" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: bzip2split 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, 21 Dec 2008 20:23:23 -0000 Can I split a large (4G+) bzip2 file into smaller bzip2 files? Notes: % Obviously, 'split' won't work for 2 reasons: % Each chunk won't have the BZIP2 header % 'split' will cut the file inside a bzip2 "block", rendering the first/last blocks of each file unreadable. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 21:02:18 2008 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 CB4EC1065747 for ; Sun, 21 Dec 2008 21:02:18 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2D88FC16 for ; Sun, 21 Dec 2008 21:02:18 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 7B29CEBC0A; Sun, 21 Dec 2008 16:02:16 -0500 (EST) Date: Sun, 21 Dec 2008 16:02:15 -0500 From: Bill Moran To: "Kelly Jones" Message-Id: <20081221160215.326d9c75.wmoran@potentialtech.com> In-Reply-To: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> References: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: bzip2split 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, 21 Dec 2008 21:02:18 -0000 In response to "Kelly Jones" : > Can I split a large (4G+) bzip2 file into smaller bzip2 files? Notes: > > % Obviously, 'split' won't work for 2 reasons: > > % Each chunk won't have the BZIP2 header > > % 'split' will cut the file inside a bzip2 "block", rendering the > first/last blocks of each file unreadable. You can split it. You'll just have to rejoin it before you can uncompress it. Clever use of cat and pipes will do that without intermediate files. You could also split the file prior compression. Then you could uncompress each part separately, _then_ rejoin the parts. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 21:26:12 2008 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 08A411065676 for ; Sun, 21 Dec 2008 21:26:12 +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 B86538FC1D for ; Sun, 21 Dec 2008 21:26:11 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan-a.emsphone.com [199.67.51.107]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id mBLLQ7sA046213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Dec 2008 15:26:07 -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.3/8.14.3) with ESMTP id mBLLQ65w042264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 21 Dec 2008 15:26:07 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mBLLQ6Bk042261; Sun, 21 Dec 2008 15:26:06 -0600 (CST) (envelope-from dan) Date: Sun, 21 Dec 2008 15:26:06 -0600 From: Dan Nelson To: Kelly Jones Message-ID: <20081221212606.GF90803@dan.emsphone.com> References: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Sun, 21 Dec 2008 15:26:07 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: bzip2split 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, 21 Dec 2008 21:26:12 -0000 In the last episode (Dec 21), Kelly Jones said: > Can I split a large (4G+) bzip2 file into smaller bzip2 files? Notes: > > % Obviously, 'split' won't work for 2 reasons: > > % Each chunk won't have the BZIP2 header > > % 'split' will cut the file inside a bzip2 "block", rendering the > first/last blocks of each file unreadable. The bzip2recover command will split each block of data in a bzip2 file into separate .bz2 files; you can then cat them back together to create runs of files however big you want. Even though the resulting files have bzip2 headers between blocks, bunzip2 will skip over them when extracting. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:19:38 2008 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 5779C1065670 for ; Sun, 21 Dec 2008 22:19:38 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from viefep20-int.chello.at (viefep20-int.chello.at [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 951588FC08 for ; Sun, 21 Dec 2008 22:19:37 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from edge05.upc.biz ([192.168.13.212]) by viefep19-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081221220220.MPDV29431.viefep19-int.chello.at@edge05.upc.biz> for ; Sun, 21 Dec 2008 23:02:20 +0100 Received: from f89199.upc-f.chello.nl ([92.108.20.29]) by edge05.upc.biz with edge id ty2K1a00d0dehbQ05y2L5q; Sun, 21 Dec 2008 23:02:20 +0100 X-SourceIP: 92.108.20.29 Received: from localhost ([127.0.0.1]) by f89199.upc-f.chello.nl for freebsd-questions@FreeBSD.ORG; Sun, 21 Dec 2008 23:04:02 +0100 To: freebsd-questions@FreeBSD.ORG From: jerome Message-ID: <20081221220402.7a3ffc80@f89199.upc-f.chello.nl> Date: Sun, 21 Dec 2008 23:04:02 +0100 X-User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: disk error / reboot / 6.3 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, 21 Dec 2008 22:19:38 -0000 =20 =20 Hi, =20 =20 We are running 6.3 on a fileserver with a couple of data disks. =20 =20 Once the server encounters an error on a data disk (os disk is separate)= the server will reset itself without warning. =20 =20 We can usually identify the problem disk with a smartctl, the disk will = show 'Offline uncorrectable errors'. =20 =20 The fact that the server reboots itself, is this normal=3F Can we preven= t this from happening=3F =20 The disks are attached to the on-board sata ports of the mainboard itsel= f, so no (raid)controllers whatsoever. =20 We also do not use software raid. =20 =20 Best regards =20 =20 Jerome From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:27:56 2008 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 3FC001065670 for ; Sun, 21 Dec 2008 22:27:56 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id D6CC48FC18 for ; Sun, 21 Dec 2008 22:27:55 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBLMSH1m018830 for ; Sun, 21 Dec 2008 14:28:17 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 21 Dec 2008 14:27:44 -0800 (PST) Date: Sun, 21 Dec 2008 14:27:44 -0800 From: Gary Kline To: freebsd-questions@freebsd.org Message-ID: <20081221222744.GA28185@thought.org> References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081221140658.GA24691@marge.bs.l> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Subject: Re: Sed question 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, 21 Dec 2008 22:27:56 -0000 On Sun, Dec 21, 2008 at 03:06:58PM +0100, Bertram Scharpf wrote: > Hi, > > Am Sonntag, 21. Dez 2008, 02:08:04 -0800 schrieb Gary Kline: > > On Sun, 2008-12-21 at 07:42 +0200, Giorgos Keramidas wrote: > > > On Sat, 20 Dec 2008 21:34:10 -0800, Gary Kline wrote: > > > > > > > > sed '8,10d'< file> newfile > > > > or is there a better way? > > > > > > keramida@kobe:/tmp$ sed -i '' -e '2d' foo > > > > > thanks much. it works just fine in-place. ...but i did made a separate > > copy, just in case;-) > > To make a copy, call > > $ sed -i .bak 8,10d myfile > > Be aware that the -i option is not portable. -> man sed /^STANDARDS yeah, i've been checking around: sed, even gsed. surprised that the berkeley sed is non-standard with some flag. [next thing i'll read is that berkeley did Not code half of unix.] anyway, this is one for giiorgos, or another perl wiz. i've been using the perl subsitution cmd one-liner for years with unfailing success. is there a way of deleting lines with perl using the same idea as: perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN that i swiped somewhere. [?] last night i was up until the wee hours coding or extending a c++ program to assist in this stuff. while i really get off on hacking code, it's less of a thrill at 02:10, say:_) gary > > Consider Perl or > > $ ruby -i.bak -pe 'next if 8..10 === $.' x > > Bertram > > > -- > Bertram Scharpf > Stuttgart, Deutschland/Germany > http://www.bertram-scharpf.de -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 22:32:56 2008 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 C606A106568A for ; Sun, 21 Dec 2008 22:32:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 457AA8FC1A for ; Sun, 21 Dec 2008 22:32:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEWr0-00086g-Rz for freebsd-questions@freebsd.org; Sun, 21 Dec 2008 22:32:54 +0000 Received: from 93-138-47-112.adsl.net.t-com.hr ([93.138.47.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 22:32:54 +0000 Received: from ivoras by 93-138-47-112.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Dec 2008 22:32:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sun, 21 Dec 2008 23:32:44 +0100 Lines: 54 Message-ID: References: <200812202039.NAA10290@lariat.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8F241890DBD490D25AC8994B" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-47-112.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <200812202039.NAA10290@lariat.net> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Status of hyperthreading 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: Sun, 21 Dec 2008 22:32:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8F241890DBD490D25AC8994B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Brett Glass wrote: > Which raises a question: What's the status of FreeBSD's support for > hyperthreading? As far as I know, after it was revealed that some > processes on a machine with hyperthreading could "spy" on others, and Yes, but that is a hardware problem which is independent of the operating system (it's present in all of them). > also that hyperthreading didn't always improve performance on high end > processors, the feature was turned off by default. But on single-user Yes, especially on the early Pentium 4 CPUs. This is also OS-independent.= > machines, or on servers where the CPU was likely to be shared by two > processes that were both privileged anyway, it might make sense to > re-enable it. But has this feature of the scheduler been maintained wel= l > enough for this to be a good idea? If not, would it worth looking into > updating it so that FreeBSD runs well on the Atom? It's as good as it can be on recent ULE2 scheduler. ULE2 has support for HTT but there's not much that can be done at the scheduler level as the Atom is single-socket, single-core CPU. Atom's HTT is actually pretty good - I saw up to 25% more performance simply by using multithreading in 7zip's compression benchmark (on WinXP, though). Of course, OTOH it uses about that much more transistors on the CPU die so it's not exactly free performance. --------------enig8F241890DBD490D25AC8994B 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.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklOxAwACgkQldnAQVacBcg+2ACfcdQR4tUuh4pjToLJAOq7Z8tA JTkAn0HBhmeKnjn8E5i2av7dTDJzEtSX =h2O/ -----END PGP SIGNATURE----- --------------enig8F241890DBD490D25AC8994B-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 23:26:55 2008 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 C82D0106564A for ; Sun, 21 Dec 2008 23:26:55 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1388FC13 for ; Sun, 21 Dec 2008 23:26:55 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1363830ywe.13 for ; Sun, 21 Dec 2008 15:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ExPQ8VNygOUpwhoa4+3iUBRl3wHE0YvBbbzZn8YQ1hE=; b=Chy/eVM967k08svRT9s7Io0GSzr2Vkaxfhs53eoz0O/1RfcKgzS1d/4PDSlFuZpPZV Xmuzd38m1grEK7fY7t0LuPlcge9YSiIiKkNPFL4i6C53C9qGlNTCpKlKHmEE5LzxTt9F KEehkHqz2k53YKzR0EjeVEbssQkizzVSvRDgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=nh/GmdbUq9CtkkNL6zwSMeAu9nYZGs1JEuWQX2Qw4gifIAfjvk0hD6PEJ2cnZ6kleo zlo/wkdV9GqHSzjWUqtnhLQ5NJldXYeChY5by4KZ07vrZu8Rl3LyIQdC3W29t0+v2O3T 3qmjWnZnNTmIjYaV1qb6htAH/4I8em2QjMurQ= Received: by 10.100.96.9 with SMTP id t9mr3499630anb.109.1229902014555; Sun, 21 Dec 2008 15:26:54 -0800 (PST) Received: by 10.100.227.13 with HTTP; Sun, 21 Dec 2008 15:26:54 -0800 (PST) Message-ID: <11167f520812211526h55a56a91ue4c06c02a170f439@mail.gmail.com> Date: Sun, 21 Dec 2008 17:26:54 -0600 From: "Sam Fourman Jr." To: michael In-Reply-To: <494D5B32.50806@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200812202039.NAA10290@lariat.net> <494D5B32.50806@gmail.com> Cc: Brett Glass , freebsd-questions@freebsd.org Subject: Re: Status of hyperthreading 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: Sun, 21 Dec 2008 23:26:55 -0000 >> > as far as i know, just enabling smp will allow ht to function. also, i don't > know if intel changed ht in the new atom processor, they could have. >> is FreeBSD's smp special in some way that it would be the exception to the following statement. I know there was a lot of changes made in the new ULE2 scheduler maybe that is why? /* Hyper-threading relies on support in the operating system as well as the CPU. Conventional multiprocessor support is not enough to take advantage of hyper-threading.[1] For example, even though Windows 2000 supports multiple CPUs, Intel does not recommend that hyper-threading be enabled under that operating system. */ I found this in wikipedia at the following link http://en.wikipedia.org/wiki/Hyper-threading Sam Fourman Jr. Fourman Networks From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 23:29:05 2008 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 441A31065675 for ; Sun, 21 Dec 2008 23:29:05 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id CB5F08FC0C for ; Sun, 21 Dec 2008 23:29:04 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQBAPRZTkmWZZrV/2dsb2JhbAAIu0RYjwWGQw X-IronPort-AV: E=Sophos;i="4.36,260,1228051800"; d="scan'208";a="280278408" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail05.adl2.internode.on.net with ESMTP; 22 Dec 2008 09:59:03 +1030 Message-ID: <494ED13E.7020602@careytech.com.au> Date: Mon, 22 Dec 2008 10:29:02 +1100 From: Ivan Carey User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Wojciech Puchar References: <494E1B9C.8000100@careytech.com.au> <20081221121746.P13963@wojtek.tensor.gdynia.pl> In-Reply-To: <20081221121746.P13963@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: error reading SATA DVDRW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 23:29:05 -0000 Wojciech Puchar wrote: > enter bootloader prompt (6) and type > > set hw.ata.atapi_dma=0 > boot > > > On Sun, 21 Dec 2008, Ivan Carey wrote: > >> I am unable to install FreeBSD because of the following error >> acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x21 ascq=0x00 >> >> The computer reboots during install. >> >> I have read that this error can be due to the DVD drive being a >> master, as it is a SATA drive it is assigned as a master in the BIOS >> >> Is there a way this can be resolved. >> >> Thanks, >> Ivan >> _______________________________________________ >> 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" > > Wojciech I entered the command set hw.ata.atapi_dma=0 while loading I still get the error acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x11 ascq=0x00 I installed FreeBSD 7.0 with out a problem When I install PCBSD 7.0.2 During the boot process I get 4 messages of acd0: FAILURE - READ BIG_MEDIUM ERROR asc=0x11 ascq=0x00 At the loader prompt I also entered set hw.ata.atapi_dma=0 I get this error at the Install GUI when it is reading each package from the disc Seek failed: Invalid argument Then about half way through the install I get a message An error occurred while extracting the system image The system then reboots. For interest and information I have now problems installing Ubuntu and Win XP Thanks, Ivan From owner-freebsd-questions@FreeBSD.ORG Sun Dec 21 23:35:06 2008 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 09180106564A for ; Sun, 21 Dec 2008 23:35:06 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id B64448FC08 for ; Sun, 21 Dec 2008 23:35:05 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by gxk12 with SMTP id 12so1010107gxk.19 for ; Sun, 21 Dec 2008 15:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aQa5vTb67dl/CYTfdbBN65d2b5gBJ/klr0IE2TgZbOU=; b=cCfWMkOy4VqjZvg97sx4GwH3Jrow+sKlVzHd1zxWYPOiVVbWBzNhGRs+T2tACDTqCS Aycfq48pwc4YCRu7L29xZSib30nOZtVqJaLHgU3l+xvSqAaH4uq1/qSaxj+alf4p1AtG mz5IDdU4c0oU1EZ0Fnm6VZfQ8SmUlwHDk4nBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BUubY8xPz7tRnqQRskJUhFpGiwhVVXqDyIj+94JRLOp+nSpO1s/7tC0GCQvg3wORKF eMZYlcZyUHLV3p+XPzuYBH7jQ5Q42uG4LI2dvd640+Y9S1mOZHKvlMQGOLSmuoGnWUpN BWjLiA0j4dj3bJdhuRd+2BeYO3452riQH0jlQ= Received: by 10.231.19.70 with SMTP id z6mr143687iba.32.1229902504607; Sun, 21 Dec 2008 15:35:04 -0800 (PST) Received: by 10.231.18.197 with HTTP; Sun, 21 Dec 2008 15:35:04 -0800 (PST) Message-ID: <3a142e750812211535p32d6bcc9o85adeb41e7dd15ee@mail.gmail.com> Date: Mon, 22 Dec 2008 00:35:04 +0100 From: "Paul B. Mahol" To: jerome In-Reply-To: <20081221220402.7a3ffc80@f89199.upc-f.chello.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081221220402.7a3ffc80@f89199.upc-f.chello.nl> Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 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, 21 Dec 2008 23:35:06 -0000 On 12/21/08, jerome wrote: > Hi, > > We are running 6.3 on a fileserver with a couple of data disks. > > Once the server encounters an error on a data disk (os disk is separate) the > server will reset itself without warning. It just reset or it panic? There is known panic on bad block on some FreeBSD versions but I don't think that such regression hit 6.X. -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 00:42:45 2008 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 6A0B81065676 for ; Mon, 22 Dec 2008 00:42:45 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from viefep18-int.chello.at (viefep13-int.chello.at [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id A528A8FC16 for ; Mon, 22 Dec 2008 00:42:44 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from edge04.upc.biz ([192.168.13.239]) by viefep13-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081222004243.OUIT17187.viefep13-int.chello.at@edge04.upc.biz>; Mon, 22 Dec 2008 01:42:43 +0100 Received: from f89199.upc-f.chello.nl ([92.108.20.29]) by edge04.upc.biz with edge id u0ih1a01r0dehbQ040ii3Z; Mon, 22 Dec 2008 01:42:43 +0100 X-SourceIP: 92.108.20.29 Received: from localhost ([127.0.0.1]) by f89199.upc-f.chello.nl; Mon, 22 Dec 2008 01:44:44 +0100 To: "Paul B. Mahol" From: jerome In-Reply-To: 3a142e750812211535p32d6bcc9o85adeb41e7dd15ee@mail.gmail.com Message-ID: <20081222004444.477cbeaf@f89199.upc-f.chello.nl> Date: Mon, 22 Dec 2008 01:44:44 +0100 X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 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, 22 Dec 2008 00:42:45 -0000 Hi Paul, The server resets while running, like pressing the reset button... -Jerome =5F=5F=5F=5F=5F =20 From: Paul B. Mahol [mailto:onemda@gmail.com] To: jerome [mailto:jerome@code-monkey.nl] Cc: freebsd-questions@freebsd.org Sent: Mon, 22 Dec 2008 00:35:04 +0100 Subject: Re: disk error / reboot / 6.3 On 12/21/08, jerome wrote: > Hi, > > We are running 6.3 on a fileserver with a couple of data disks. > > Once the server encounters an error on a data disk (os disk is separ= ate) the > server will reset itself without warning. =20 It just reset or it panic=3F There is known panic on bad block on some= FreeBSD versions but I don't think that such regression hit 6.X. =20 =20 --=20 Paul =20 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 01:53:19 2008 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 C61251065670 for ; Mon, 22 Dec 2008 01:53:19 +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 86EEC8FC0C for ; Mon, 22 Dec 2008 01:53:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 3B1463CA68; Mon, 22 Dec 2008 02:53:11 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBM1qma4004776; Mon, 22 Dec 2008 02:52:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 02:52:47 +0100 From: Polytropon To: Fbsd1 Message-Id: <20081222025247.9225e612.freebsd@edvax.de> In-Reply-To: <494CA9E6.6050501@a1poweruser.com> References: <494CA9E6.6050501@a1poweruser.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: recover data from damaged msdos fat32 partition 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, 22 Dec 2008 01:53:19 -0000 On Sat, 20 Dec 2008 16:16:38 +0800, Fbsd1 wrote: > I know i can mount fat32 partition using mount_msdos command. But my > msdos fat32 partition is a bad disk with corrupted fat table. > > Question is can i use freebsd to recover data from this msdos fAT32 disk???? Oh yes, you can! As a side product of my attempt to restore data from an UFS partition with orphaned inodes, I found some good utilities that might be helpful fo you. > What tools do you suggest to use? Check 'em out! System: dd fsck_ffs clri fsdb fetch -rR recoverdisk Ports: ddrescue dd_rescue ffs2recov magicrescue testdisk The Sleuth Kit: fls dls ils autopsy scan_ffs recoverjpeg fatback Especially magicrescue can do wonders. If everything fails, The Sleuth Kit is a good tool. Don't forget to try mtools. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 01:58:40 2008 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 6A8A21065670 for ; Mon, 22 Dec 2008 01:58:40 +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 2B48A8FC1D for ; Mon, 22 Dec 2008 01:58:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 92C313CA20; Mon, 22 Dec 2008 02:58:39 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBM1wFHp004796; Mon, 22 Dec 2008 02:58:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 02:58:15 +0100 From: Polytropon To: "Max Russell" Message-Id: <20081222025815.de39659d.freebsd@edvax.de> In-Reply-To: <6fec50390812200345g5ae379ek85e2fd7d1f491553@mail.gmail.com> References: <6fec50390812200345g5ae379ek85e2fd7d1f491553@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mount DVD - invalid argument 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, 22 Dec 2008 01:58:40 -0000 On Sat, 20 Dec 2008 11:45:49 +0000, "Max Russell" wrote: > I have two DVD drives on my machine. > > max@~: grep acd /var/run/dmesg.boot > acd0: DVDR at ata1-master UDMA66 > acd1: DMA limited to UDMA33, device found non-ATA66 cable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Try to put an 80pol. ATA cable (intead of a 40pol.) one in. > acd1: DVDROM at ata1-slave UDMA33 > > the optical section of my fstab is like this: > > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > /dev/acd1 /cdrom cd9660 ro,noauto 0 0 As it has been suggested, try to use a differentiated form for your devices, such as /dev/acd0 /writer cd9660 ro,noauto 0 0 /dev/acd1 /dvd cd9660 ro,noauto 0 0 > however, when I try and mount a DVD, I get the following: > > max@~: sudo mount_cd9660 -s 0 /dev/acd0 /cdrom > mount_cd9660: /dev/acd0: Invalid argument Your "new" command would be: # mount /writer or # mount /dvd according to the device. If you put a media in, first check if it gets recognized correctly. # cdcontrol -f /dev/acd0 info or # cdcontrol -f /dev/acd0 info If you prefer your DVD "not-writer" to be the default device for reading CDs or DVDs (I do so, I use the writer only for writing), you can set CDROM environment variable to that device anbd you don't have to include the -f option anymore. > I have been able to mount CDs. > > If I'm missing something really obvious, any help would be appreciated. Defective media? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 02:06:50 2008 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 259521065675 for ; Mon, 22 Dec 2008 02:06:50 +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 DB8278FC18 for ; Mon, 22 Dec 2008 02:06:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 598E83CA4F; Mon, 22 Dec 2008 03:06:45 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBM26La5004938; Mon, 22 Dec 2008 03:06:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 03:06:20 +0100 From: Polytropon To: rayran127@yahoo.com Message-Id: <20081222030620.2b81e740.freebsd@edvax.de> In-Reply-To: <371717.95423.qm@web65512.mail.ac4.yahoo.com> References: <371717.95423.qm@web65512.mail.ac4.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: acronis true image 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, 22 Dec 2008 02:06:50 -0000 On Sun, 21 Dec 2008 00:35:57 -0800 (PST), jamshid omidi wrote: > hi > [...] > 2-i want exe a file name is XXX.i686 in freebsd 7 > but when i run "./XXX.i686" this message appear > "ELf binary type "0" not known ./XXX.i686 exec format error" > please help me to resolve this problem Maybe you need to install the Linux ABI because it's a binary designed for Linux? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 02:09:20 2008 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 24E921065678 for ; Mon, 22 Dec 2008 02:09:20 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id C14998FC0C for ; Mon, 22 Dec 2008 02:09:19 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id mBM29DSH031219; Sun, 21 Dec 2008 20:09:13 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VIWzno1sSYvI; Sun, 21 Dec 2008 20:09:09 -0600 (CST) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id mBM28YjH031203; Sun, 21 Dec 2008 20:08:35 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <494EF6A2.1070105@daleco.biz> Date: Sun, 21 Dec 2008 20:08:34 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: Eitan Adler References: <001401c9620b$fcaf9ee0$f60edca0$@com> <20081219194637.GA34178@free.bsd.loc> <494BFBBB.7050503@gmail.com> In-Reply-To: <494BFBBB.7050503@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeff Laine , freebsd-questions@freebsd.org, Gary Hartl Subject: Re: Snow in my Server 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, 22 Dec 2008 02:09:20 -0000 Eitan Adler wrote: > Jeff Laine wrote: >> Just mv teh snowflakes to /dev/null ^_- > You can't mv things to /dev/null > Operation not supported Hmm, but you can cat /dev/null to something ... so, a true UNIX guru should be able to do something like: find *snow* | xargs "cat /dev/null > $1" Of course, that doesn't work, either. Shows why csh(1) is considered bad for snow removal, as the story, maybe, goes.... Joy to the world, Kevin Kinsey -- Distrust all those who love you extremely upon a very slight acquaintance and without any visible reason. -- Lord Chesterfield From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 03:31:22 2008 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 B05FF106564A for ; Mon, 22 Dec 2008 03:31:22 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2A90D8FC1C for ; Mon, 22 Dec 2008 03:31:21 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl28-172.kln.forthnet.gr [77.49.155.172]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBM3VAPP018979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Dec 2008 05:31:16 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBM3V9NK055414; Mon, 22 Dec 2008 05:31:10 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBM3V8b0055413; Mon, 22 Dec 2008 05:31:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> Date: Mon, 22 Dec 2008 05:31:08 +0200 In-Reply-To: <20081221222744.GA28185@thought.org> (Gary Kline's message of "Sun, 21 Dec 2008 14:27:44 -0800") Message-ID: <87skogj37n.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBM3VAPP018979 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.866, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Sed question 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, 22 Dec 2008 03:31:22 -0000 On Sun, 21 Dec 2008 14:27:44 -0800, Gary Kline wrote: > perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN > > that i swiped somewhere. [?] > > last night i was up until the wee hours coding or extending > a c++ program to assist in this stuff. while i really get > off on hacking code, it's less of a thrill at 02:10, say:_) You don't need C++ for this. If you don't mind the verbosity, Python can do the same thing with: #!/usr/bin/env python import sys skiplines = [1, 3] # line numbers that should be skipped lc = 0 for l in sys.stdin.readlines(): lc += 1 if not (lc in skiplines): print l, From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 04:11:30 2008 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 ECE1A106564A for ; Mon, 22 Dec 2008 04:11:30 +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 ACEFA8FC19 for ; Mon, 22 Dec 2008 04:11:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx02.qsc.de (Postfix) with ESMTP id 7220216C01B1; Mon, 22 Dec 2008 05:11:27 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBM4B3qg006716; Mon, 22 Dec 2008 05:11:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 05:11:03 +0100 From: Polytropon To: Giorgos Keramidas Message-Id: <20081222051103.79a822e6.freebsd@edvax.de> In-Reply-To: <87skogj37n.fsf@kobe.laptop> References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> <87skogj37n.fsf@kobe.laptop> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: Sed question 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, 22 Dec 2008 04:11:31 -0000 On Mon, 22 Dec 2008 05:31:08 +0200, Giorgos Keramidas wrote: > On Sun, 21 Dec 2008 14:27:44 -0800, Gary Kline wrote: > > perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN > > > > that i swiped somewhere. [?] > > > > last night i was up until the wee hours coding or extending > > a c++ program to assist in this stuff. while i really get > > off on hacking code, it's less of a thrill at 02:10, say:_) > > You don't need C++ for this. If you don't mind the verbosity, Python > can do the same thing with: > > #!/usr/bin/env python > > import sys > > skiplines = [1, 3] # line numbers that should be skipped > lc = 0 > for l in sys.stdin.readlines(): > lc += 1 > if not (lc in skiplines): > print l, > Interesting example. The same could be achieved using awk: awk '(NR != 1 && NR != 3)' NR specifies the number of record (input line). But I still think the sed in-place editing method is the most comfortable one, allthough your example raises my interest in learning Python. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 08:27:12 2008 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 6B8421065673 for ; Mon, 22 Dec 2008 08:27:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 28F208FC17 for ; Mon, 22 Dec 2008 08:27:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBM8R2RO017268; Mon, 22 Dec 2008 09:27:02 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBM8R0cB017265; Mon, 22 Dec 2008 09:27:01 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 22 Dec 2008 09:27:00 +0100 (CET) From: Wojciech Puchar To: Kelly Jones In-Reply-To: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> Message-ID: <20081222092646.F17220@wojtek.tensor.gdynia.pl> References: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: bzip2split 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, 22 Dec 2008 08:27:12 -0000 > % Obviously, 'split' won't work for 2 reasons: > > % Each chunk won't have the BZIP2 header what a problem? when unpacking you do cat |bunzip2 > > % 'split' will cut the file inside a bzip2 "block", rendering the > first/last blocks of each file unreadable. > > -- > We're just a Bunch Of Regular Guys, a collective group that's trying > to understand and assimilate technology. We feel that resistance to > new ideas and technology is unwise and ultimately futile. > _______________________________________________ > 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 22 08:28:00 2008 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 B0C1B1065676 for ; Mon, 22 Dec 2008 08:28:00 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id CD6788FC14 for ; Mon, 22 Dec 2008 08:27:58 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id mBM8F11A055623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 10:15:02 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Mon, 22 Dec 2008 10:28:37 +0200 User-Agent: KMail/1.9.7 References: <20081221053407.GA87868@thought.org> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> In-Reply-To: <20081221222744.GA28185@thought.org> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.077 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: Sed question 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, 22 Dec 2008 08:28:00 -0000 On Monday 22 December 2008 00:27:44 Gary Kline wrote: > > anyway, this is one for giiorgos, or another perl wiz. i've > been using the perl subsitution cmd one-liner for years with > unfailing success. is there a way of deleting lines with perl > using the same idea as: > > perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN For a single file it's very easy: perl -ne 'print unless 8..10' filename will print every line except lines 8, 9 and 10. The .. or range operator (in scalar context) is a sort of flip-flop. It keeps its own state, which is either true or false. When it's false it only evaluates its left-hand argument; when it's true it only evaluates its right-hand argument; and whenever the argument it's currently looking at returns true, the expression changes state. If the argument is an integer, it's treated as a comparison against the current line number, $. ; so the first expression, 8..10, means ($. == 8) .. ($. == 10) It's false to start with, until ($. == 8) returns true (on line 8); it becomes true and remains true until ($. == 10) returns true (on line 10), when it becomes false again and remains false until it next sees line number 8. You can also use more complicated tests in the range operator: perl -ne 'print unless /START/ .. /END/' will find each line containing the word START anywhere, and delete from that line to the next line containing END (inclusive of both endpoints) - this will work for multiple occurrences of START and END in your file. There are two problems if you string multiple files together on the command line: first, if you're using line numbers, the line number doesn't reset between files unless you do an explicit close on each file. The bigger problem is if you have a file in which the second condition doesn't occur (a file with only 9 lines in the first example, or a file with a START and no corresponding END in the second case): the range operator will stay true until it sees the ending condition in the next file, meaning you'll lose the first ten lines in the numeric case, or every line from the top of file to the first END in the second case. To get round these two problems, you need to test for eof in the range operator, and close each file when it hits eof to reset the line count. perl -ne 'print unless 8 .. $. == 10 || eof; close ARGV if eof' file[1-n] perl -ne 'print unless /START/../END/ || eof; close ARGV if eof' file[1-n] There's some hairy precedence in the first range expression: a useful tip for checking that you've got it right (and indeed in general for checking that a bit of Perl does what you think it does) is the B::Deparse core module, which you call like this: perl -MO=Deparse,-p -e 'print unless 8 .. $. == 10 || eof' which outputs ((8 .. (($. == 10) || eof)) or print($_)); -e syntax OK The ,-p argument to -MO=Deparse tells it to put in parentheses everywhere. If you're like me and like to leave them all out, feed your expression to Deparse with all the parens in and leave off the ,-p argument: Deparse will get rid of all the unnecessary ones: $ perl -MO=Deparse -e 'print unless (8 .. (($. == 10) or eof))' print $_ unless 8 .. $. == 10 || eof; -e syntax OK Jonathan From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 08:29:40 2008 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 1F888106564A; Mon, 22 Dec 2008 08:29:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C1DE08FC19; Mon, 22 Dec 2008 08:29:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBM8TVML017283; Mon, 22 Dec 2008 09:29:31 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBM8TVJg017280; Mon, 22 Dec 2008 09:29:31 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 22 Dec 2008 09:29:31 +0100 (CET) From: Wojciech Puchar To: Ivan Voras In-Reply-To: Message-ID: <20081222092818.N17220@wojtek.tensor.gdynia.pl> References: <200812202039.NAA10290@lariat.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Status of hyperthreading 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: Mon, 22 Dec 2008 08:29:40 -0000 > > Atom's HTT is actually pretty good - I saw up to 25% more performance > simply by using multithreading in 7zip's compression benchmark (on > WinXP, though). Of course, OTOH it uses about that much more transistors > on the CPU die so it's not exactly free performance. really that much? i thought maybe 1-2% (just 2 sets of registers). it would be better to put 2 much simpler cores in place of this one. or 100 ARM7 cores ;) (it would fit) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 08:30:34 2008 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 198791065673 for ; Mon, 22 Dec 2008 08:30:34 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4FAED8FC1E for ; Mon, 22 Dec 2008 08:30:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBM8UIk0017290; Mon, 22 Dec 2008 09:30:18 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBM8UGgu017287; Mon, 22 Dec 2008 09:30:18 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 22 Dec 2008 09:30:16 +0100 (CET) From: Wojciech Puchar To: Ivan Carey In-Reply-To: <494ED13E.7020602@careytech.com.au> Message-ID: <20081222092956.W17220@wojtek.tensor.gdynia.pl> References: <494E1B9C.8000100@careytech.com.au> <20081221121746.P13963@wojtek.tensor.gdynia.pl> <494ED13E.7020602@careytech.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: error reading SATA DVDRW 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, 22 Dec 2008 08:30:34 -0000 > > At the loader prompt I also entered > set hw.ata.atapi_dma=0 > > I get this error at the Install GUI when it is reading each package from the > disc > Seek failed: Invalid argument > > Then about half way through the install I get a message > An error occurred while extracting the system image > > The system then reboots. check your disc maybe it does have read errors From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 08:53:51 2008 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 059F51065673 for ; Mon, 22 Dec 2008 08:53:51 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7D1E48FC1A for ; Mon, 22 Dec 2008 08:53:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBM8rh4e036670; Mon, 22 Dec 2008 08:53:45 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBM8rh4e036670 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1229936025; bh=cx1Xu/cw55a9f3 q4Hp5TuwE6UVfoGvZBerIJni+55IA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<494F5590.3090400@infracaninophile.co.uk>|Date:=20Mon,=2 022=20Dec=202008=2008:53:36=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Gary=20Kline=20|CC:=20freebsd-questions @freebsd.org|Subject:=20Re:=20Sed=20question|References:=20<2008122 1053407.GA87868@thought.org>=20<877i5unkx4.fsf@kobe.laptop>=09<1229 854084.6392.52.camel@ethos>=09<20081221140658.GA24691@marge.bs.l>=2 0<20081221222744.GA28185@thought.org>|In-Reply-To:=20<2008122122274 4.GA28185@thought.org>|X-Enigmail-Version:=200.95.6|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"a pplication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig9A EFF922DBF360348E8E97ED"; b=nQE+vb53fS5FadY+VikH2PdECKYTquh4+ewfKH7G +koiUIWVEYJk9B1HSLib8jaTdgsc9M/BKwvCLOdIuwr0MFXkfK4fm23P1hDi4CHr8Ja u51y2Q1iuxKbO/CcecHGojfPtBoBSazbQRcnNVpLBW+ntQ/mKnZAp9QwRcB4NRnU= Message-ID: <494F5590.3090400@infracaninophile.co.uk> Date: Mon, 22 Dec 2008 08:53:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Gary Kline References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> In-Reply-To: <20081221222744.GA28185@thought.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9AEFF922DBF360348E8E97ED" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 22 Dec 2008 08:53:45 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8790/Mon Dec 22 04:26:20 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Sed question 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, 22 Dec 2008 08:53:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9AEFF922DBF360348E8E97ED Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Gary Kline wrote: > anyway, this is one for giiorgos, or another perl wiz. i've > been using the perl subsitution cmd one-liner for years with > unfailing success. is there a way of deleting lines with perl > using the same idea as: >=20 > perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN To delete lines matching a R.E. (grep -v effectively): perl -ni.bak -e 'm/SOMETHING/ || print;' file1 file2 fileN To delete lines by number from many files -- eg. exclude lines 3 to 7: perl -ni.bak -e 'print unless ( 3 .. 7 ); close ARGV if eof;' \ file1 file2 fileN The malarkey with 'close ARGV' is necessary because otherwise perl won't reset the input line number counter ($.) for each new file. The range expression ( N .. M ) can take matching terms rather than line numbers, so you can also do things like: perl -ni.bak -e 'print unless ( m/FIRST/ .. m/SECOND/ )' \ file1 file2 fileN Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9AEFF922DBF360348E8E97ED Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklPVZcACgkQ8Mjk52CukIww7gCfb3eIYOJJPqIOpQlQw+sZRTsj o98AnAtxEP7HPpdpWiyXC1OiBw+8bPTh =GgrQ -----END PGP SIGNATURE----- --------------enig9AEFF922DBF360348E8E97ED-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 09:45:49 2008 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 C4C47106564A for ; Mon, 22 Dec 2008 09:45:49 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 55CB78FC21 for ; Mon, 22 Dec 2008 09:45:49 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMBAKjwTkmWZZrV/2dsb2JhbAAIvTRYjxWGQw X-IronPort-AV: E=Sophos;i="4.36,262,1228051800"; d="scan'208";a="280601211" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail05.adl2.internode.on.net with ESMTP; 22 Dec 2008 20:15:48 +1030 Message-ID: <494F61CB.405@careytech.com.au> Date: Mon, 22 Dec 2008 20:45:47 +1100 From: Ivan Carey User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Wojciech Puchar References: <494E1B9C.8000100@careytech.com.au> <20081221121746.P13963@wojtek.tensor.gdynia.pl> <494ED13E.7020602@careytech.com.au> <20081222092956.W17220@wojtek.tensor.gdynia.pl> In-Reply-To: <20081222092956.W17220@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: error reading SATA DVDRW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 09:45:49 -0000 Wojciech Puchar wrote: >> >> At the loader prompt I also entered >> set hw.ata.atapi_dma=0 >> >> I get this error at the Install GUI when it is reading each package >> from the disc >> Seek failed: Invalid argument >> >> Then about half way through the install I get a message >> An error occurred while extracting the system image >> >> The system then reboots. > > check your disc maybe it does have read errors > _______________________________________________ > 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 made another disc but the same problem occurs. I may try an ordinary ide cd drive setup as a slave. On an older system with and IDE drive set as master I had the same problem, I had to set it as a slave to fix the error. I am wondering if this error is being worked on by the FreeBSD developers Thanks Ivan From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 10:05:18 2008 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 C81901065673 for ; Mon, 22 Dec 2008 10:05:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 92C548FC25 for ; Mon, 22 Dec 2008 10:05:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id B948EAFC1FF; Mon, 22 Dec 2008 01:05:14 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, KES Date: Mon, 22 Dec 2008 11:04:53 +0100 User-Agent: KMail/1.9.7 References: <42213407.20081212101341@yandex.ru> <200812211210.48287.fbsd.questions@rachie.is-a-geek.net> <498807086.20081221134904@yandex.ru> In-Reply-To: <498807086.20081221134904@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812221104.55946.fbsd.questions@rachie.is-a-geek.net> Cc: users@subversion.tigris.org Subject: Re: can not start SVNserve 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, 22 Dec 2008 10:05:18 -0000 On Sunday 21 December 2008 12:49:04 KES wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > > =C2=FB =EF=E8=F1=E0=EB=E8 21 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 13:10:47: > > M> On Thursday 18 December 2008 09:03:54 KES wrote: > >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > >> > >> =C2=FB =EF=E8=F1=E0=EB=E8 18 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:05:35: > >> > >> M> On Wednesday 17 December 2008 21:02:07 KES wrote: > >> Also I notice next differences between FreeBDS 7.0 and 7.1 (detail > >> below) Notice that on both system account is locked, has no valid shell > >> and home directory > >> on FreeBSD 7.0 when I try to login with svn user it says: This account > >> is currently not available. on FreeBSD 7.1 when I try to login with svn > >> user it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.= 1? > >> > >> > >> > >> home# pw user show svn > >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > >> home# su svn > >> This account is currently not available. > >> > >> > >> kes# pw user show svn > >> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >> kes# su svn > >> su: Sorry > >> kes# pw user mod svn -s /usr/bin/nologin > >> kes# pw user show svn > >> svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin > >> kes# su svn > >> su: Sorry > > M> The problem is elsewhere. Probably in pam(3) on the faulty machine. The > only M> change to su.c from 7.0 to 7.1 is fixing a compiler warning. There > are 3 M> instances where su exits with "Sorry". All occasions are logged = to > syslog. M> Can you dig those log entries up? > > Dec 21 13:47:54 kes su: kes to root on /dev/ttyp5 > Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: checkyesno: svnserve_enable = is > set to YES. Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: run_rc_command: > doit: su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D3690 > --foreground -r /var/db/trunk"' > Dec 21 13:47:58 kes su: pam_acct_mgmt: authentication error > > Yeah, there is problem with pam. Why pam restrict root to run command > under other user? Is /etc/pam.d/su present and does it contain the line: account include system If so, the /etc/pam.d/system should contain: # account #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so If this is all ok, I suggest rebuilding pam with OPENPAM_DEBUG defined, so= =20 that you can see where things go wrong. Just out of curiousity, if you install something like mysql or squid, those= =20 users should be inaccessable for the same reason, cause I don't see anythin= g=20 wrong with the svn user itself. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 11:14:53 2008 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 684A21065679 for ; Mon, 22 Dec 2008 11:14:53 +0000 (UTC) (envelope-from laladelausanne@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id B0AE48FC23 for ; Mon, 22 Dec 2008 11:14:52 +0000 (UTC) (envelope-from laladelausanne@gmail.com) Received: by bwz12 with SMTP id 12so5555270bwz.19 for ; Mon, 22 Dec 2008 03:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=C/LzXjBY7ZFqpk0lK+oVbVARCSDic261VTLP2ViBXU8=; b=qBt5uRXAhzkepb5XOkc6EGustOx78xLmh0a4Y69i+EOgJ9d4Qsh0de766hsi7mWOez K4bFPJVlrAwwNNVBmqC/Ce8L7JonFqHUktx/7fEllY7re//GHw0wfclfrBbHVN7+6ZLo MqCXgrBgwDT/KHb+JHNxJnoeFTUViC9Gp5acU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=wNwaGKMUqpSkRF7391CpPredmG+dURP0HFKL5HSK8mKldKwM5arJH/tlaULfu+WVSp oQ/0dwmJExuMB41Oytt3LO8R8gd/UCZnyC1oKzJ2BI42JIA/VTbEg73Q47DWG0Qha4hX vDakujYIE+JVs7fmDZkuGcIVtgGwSi15Xg4ok= Received: by 10.102.219.8 with SMTP id r8mr2251791mug.10.1229944489893; Mon, 22 Dec 2008 03:14:49 -0800 (PST) Received: from nslpc5.epfl.ch (nslpc5.epfl.ch [128.178.149.20]) by mx.google.com with ESMTPS id s11sm15346358mue.12.2008.12.22.03.14.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 03:14:49 -0800 (PST) Message-Id: <811A0293-5825-4274-AAFA-559B1E5F78CD@gmail.com> From: =?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?= To: FreeBSD Questions In-Reply-To: <7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 22 Dec 2008 12:14:47 +0100 References: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com> <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com> <7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Subject: Re: Setting per processor (/core) affinity from within 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: Mon, 22 Dec 2008 11:14:53 -0000 16 Dec 2008, at 06:40 , Garrett Cooper wrote: >>> I was wondering if anyone has written a utility for FreeBSD to tie >>> a particular process group to a processor / core, similar to what >>> Linux has done with taskset, so that affinity can be properly set >>> with >>> FreeBSD and the ULE scheduler. >> >> I believe cpuset(2) will do what you want. It is available starting >> with 7.1-RELEASE (which isn't released yet, but you can grab 7.1-RC1 >> to test it out). >> Hi, what I read from the documentation is that cpuset works on processes. Is it possible to pin a kthread to a particular core? Cheers, N. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 12:07:02 2008 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 1DCAB1065670 for ; Mon, 22 Dec 2008 12:07:02 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from mail.ricksure.com.au (mail.ricksure.com.au [203.98.89.150]) by mx1.freebsd.org (Postfix) with ESMTP id 7F3AB8FC18 for ; Mon, 22 Dec 2008 12:07:01 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from dsl-202-173-129-2.nsw.westnet.com.au [202.173.129.2] by mail.ricksure.com.au with SMTP; Mon, 22 Dec 2008 23:06:49 +1100 From: Geoff Roberts Organization: Australian Projects To: freebsd-questions@freebsd.org Date: Mon, 22 Dec 2008 23:06:45 +1100 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: <200812222306.45986.geoff@apro.com.au> X-Declude-Sender: geoff@apro.com.au [202.173.129.2] X-Declude-Spoolname: 50218359.eml X-Declude-RefID: X-Declude-Note: Scanned by Declude 4.3.64 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [0] at 23:06:50 on 22 Dec 2008 X-Declude-Tests: Whitelisted X-Country-Chain: X-Declude-Code: 0 X-Declude-Recipcount: 1 Organization: Declude, Inc. X-Helo: bsd7desktop.home.wollongong X-RevDNS: Subject: How can I link two separate internal networks to two separate external networks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: geoff@apro.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 12:07:02 -0000 Hi, I have a FreeBSD 7.0 box with pf. I have two internal networks (intnet0 and intnet1) and two internal networks (extnet0 and extnet1). extnet0 and extnet1 are two different gateways to the internet. I only have one physical internal (int0) and one physical external (ext0) interface. Traffic from intnet0 needs to go out on extnet0 Traffic from intnet1 needs to go out on extnet1 (consider this a default route for any traffic not going out on extnet0). What are some suggested ways of doing this? Assume addresses are (these are made up, but hopefully help paint the picture): intnet0 - 192.168.50.0/24 extnet0 - 10.10.10.8/30 - extnet0 address 10.10.10.8.10 - default route 10.10.10.9 - broadcast 10.10.10.11 intnet1 - 192.168.60.0/24 extnet1 - 10.10.10.12/30 - extnet1 address 10.10.10.14 - default route 10.10.10.13 - broadcast 10.10.10.15 So far I have created vlans via a switch on each interface to "multiplex" the connections: vlan10 - 192.168.50.0/24 and vlan20 - 192.168.60.0/24 come in on a single cable to int0. vlan50 - 10.10.10.8/30 and vlan60 - 10.10.10.12/30 come in on a single cable to ext0. However, since I have the defaultroute set for 10.10.10.13 all traffic from intnet0 is going out on vlan60 whereas i want it to go out on vlan50. Am I going about this the wrong way? Thanks, Geoff From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 12:15:13 2008 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 B2DB6106564A for ; Mon, 22 Dec 2008 12:15:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF338FC13 for ; Mon, 22 Dec 2008 12:15:13 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1428555ywe.13 for ; Mon, 22 Dec 2008 04:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JUCq+jVAzfOyjj9+EtgdRvfxMu6IFI+dvTUjrXVETYA=; b=g7zt8NHIS7vHI9QU0MYaqILWZZjXlfo4td/ldfI727JeqyUBF+ZFl1OD4FdtNSsljp 7vUZv3fCLTsFZWpmC3mSMSae8buDPkSKHANum3tbh9NjVHLlFxfVMv4ckje533cv7qod 9WFmr0Yk3EiqoTTG2LRd+2CbYfIarYOjYJ2hs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OuKjxwPrhaFa4jpPTrWNtgrzgugdlZjKTEP6yZf89MYPei1tNV+3J+KuHFwtpcYQc1 FkBznjH7BluVf4EDrpZ2nUepGwURvAD9uwswM8Snl1wwOStkJEofC1XmTfmvIDw2BPpP RMPBtKYq88vUX4ehG/vx5CcnL/CDf8Mvo6Drw= Received: by 10.231.20.1 with SMTP id d1mr157205ibb.17.1229948112635; Mon, 22 Dec 2008 04:15:12 -0800 (PST) Received: by 10.231.18.197 with HTTP; Mon, 22 Dec 2008 04:15:12 -0800 (PST) Message-ID: <3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com> Date: Mon, 22 Dec 2008 13:15:12 +0100 From: "Paul B. Mahol" To: jerome In-Reply-To: <20081222004444.477cbeaf@f89199.upc-f.chello.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081222004444.477cbeaf@f89199.upc-f.chello.nl> Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 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, 22 Dec 2008 12:15:13 -0000 On 12/22/08, jerome wrote: > Hi Paul, > > The server resets while running, like pressing the reset button... Try this patch: --- src/sys/dev/ata/ata-queue.c 2008/10/27 09:26:24 1.74 +++ src/sys/dev/ata/ata-queue.c 2008/11/27 03:37:46 1.75 @@ -357,7 +357,7 @@ ata_completed(void *context, int dummy) "\6MEDIA_CHANGED\5NID_NOT_FOUND" "\4MEDIA_CHANGE_REQEST" "\3ABORTED\2NO_MEDIA\1ILLEGAL_LENGTH"); - if ((request->flags & ATA_R_DMA) && + if ((request->flags & ATA_R_DMA) && request->dma && (request->dma->status & ATA_BMSTAT_ERROR)) printf(" dma=0x%02x", request->dma->status); if (!(request->flags & (ATA_R_ATAPI | ATA_R_CONTROL))) -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 13:25:31 2008 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 A7B1A1065670 for ; Mon, 22 Dec 2008 13:25:31 +0000 (UTC) (envelope-from bekktekk@techno01.bek.jp) Received: from techno01.bek.jp (techno01.bek.jp [202.210.130.81]) by mx1.freebsd.org (Postfix) with ESMTP id 80F718FC20 for ; Mon, 22 Dec 2008 13:25:31 +0000 (UTC) (envelope-from bekktekk@techno01.bek.jp) Received: by techno01.bek.jp (Postfix, from userid 1001) id 2C3A04674C; Mon, 22 Dec 2008 21:39:13 +0900 (JST) To: freebsd-questions@freebsd.org From: received@postcard.org Message-Id: <20081222123913.2C3A04674C@techno01.bek.jp> Date: Mon, 22 Dec 2008 21:39:13 +0900 (JST) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You have just received a virtual postcard from a friend ! 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, 22 Dec 2008 13:25:31 -0000 You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://www.loaps.com/postcard.gif.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://www.loaps.com/postcard.gif.exe From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 13:41:57 2008 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 231BD106564A for ; Mon, 22 Dec 2008 13:41:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id D6B548FC1F for ; Mon, 22 Dec 2008 13:41:56 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1LEl2d-0000h0-Fu for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 13:41:55 +0000 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1LEl2c-00037E-Cf for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 13:41:50 +0000 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id mBMDfnXu082287 for ; Mon, 22 Dec 2008 13:41:49 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3/Submit) id mBMDfnI0082286 for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 13:41:49 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 22 Dec 2008 13:41:48 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20081222134148.GA82265@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Subject: no port ralcgm - render CGM graphics with ImageMagick? 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, 22 Dec 2008 13:41:57 -0000 I use ImageMagick quite a lot. Never came across this before, but now I need to view some CGM drawings and realised that I need ralcgm: http://www.imagemagick.org/script/formats.php http://www.agocg.ac.uk/train/cgm/ralcgm.htm As far as I can search, there is no ralcgm port for FBSD. Is that so? Is there anybody else who is interested in having this port? I might try to create one, if there is some support from the community. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:31:38 2008 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 0CE801065670 for ; Mon, 22 Dec 2008 14:31:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B62B48FC1E for ; Mon, 22 Dec 2008 14:31:37 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LElol-0004Ln-Ct for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 14:31:35 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 14:31:35 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 14:31:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Mon, 22 Dec 2008 15:31:27 +0100 Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 081221-0, 21/12/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: [6.3] Assigning "shutdown" to eg. Syst? 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, 22 Dec 2008 14:31:38 -0000 Hello I'd like to make it easier for my dad to shutdown a server. Instead of having him plug a keyboard, log on as root (with a complicated password) and finally type "shutdown -h now", is it possible to assign this command to some unused key like eg. Syst? Even better, send this command only if the key is hit eg. three times within 2 seconds? Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 14:33:37 2008 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 C688E1065673 for ; Mon, 22 Dec 2008 14:33:37 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (135-shost.hostoffice.hu [195.228.74.135]) by mx1.freebsd.org (Postfix) with ESMTP id 893DD8FC13 for ; Mon, 22 Dec 2008 14:33:37 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.104] (localhost [127.0.0.1]) by shopzeus.com (Postfix) with ESMTP id 3C521392435 for ; Mon, 22 Dec 2008 09:11:25 -0500 (EST) Message-ID: <494FA0E0.1060108@shopzeus.com> Date: Mon, 22 Dec 2008 15:14:56 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: "truss" is buggy? 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, 22 Dec 2008 14:33:37 -0000 Apparently, the "truss" trace tool has a bug. At least I was told that the tracer program should not change the return value of the getppid() call inside the traced process. Here is an example program: %cat test.c #include int main() { while(1) { sleep(5); printf("ppid = %d\n", getppid()); } } %gcc -o test test.c %./test ppid = 47653 ppid = 47653 ppid = 47653 # Started "truss -p 48864" here! ppid = 49073 ppid = 49073 ppid = 49073 I cannot install strace, beacuse my platform is amd64. What other options do I have? Thanks Laszlo From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:09:10 2008 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 804CF1065673 for ; Mon, 22 Dec 2008 15:09:10 +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 3F3068FC1C for ; Mon, 22 Dec 2008 15:09:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx02.qsc.de (Postfix) with ESMTP id CDDE516C0198; Mon, 22 Dec 2008 16:09:08 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBMF92rn001580; Mon, 22 Dec 2008 16:09:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 16:09:02 +0100 From: Polytropon To: Gilles Message-Id: <20081222160902.b63595aa.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 22 Dec 2008 15:09:10 -0000 On Mon, 22 Dec 2008 15:31:27 +0100, Gilles wrote: > Hello > > I'd like to make it easier for my dad to shutdown a server. Instead of > having him plug a keyboard, log on as root (with a complicated > password) and finally type "shutdown -h now", is it possible to assign > this command to some unused key like eg. Syst? Even better, send this > command only if the key is hit eg. three times within 2 seconds? I have a similar setting, but it requires X, WindowMaker and a Sun Type 6 USB keyboard. :-) Short explaination: I have assigned the command xterm -class SHUTDOWN -fg black -bg red -e "shutdown -p now ; read DUMMY" to the key combination Ctrl+Alt+(I) - the "switch off" or "moon" key on the top right. This combination is impossible to press accidentally. (Without Ctrl and Alt, this key closes the X session and leads back to xdm for login.) You could add a clickable menu entry or desktop icon with this command, but make sure it's not accidentally clicked. :-) If your father is already logged in, he could "shutdown -p now" (or using an alias) from an xterm. He needs to be in the wheel (or at least operator?) group for this. What about pressing the power button on the machine itself, it should perform a "shutdown -p now" (shut down and power off). By tht eay, the key you're refering to is named "System Request", or SysRq. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:09:52 2008 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 CB1DD1065676 for ; Mon, 22 Dec 2008 15:09:52 +0000 (UTC) (envelope-from Luca.Presotto@cern.ch) Received: from cernmx10.cern.ch (cernmx10.cern.ch [137.138.142.185]) by mx1.freebsd.org (Postfix) with ESMTP id 69DE68FC21 for ; Mon, 22 Dec 2008 15:09:52 +0000 (UTC) (envelope-from Luca.Presotto@cern.ch) Received: from cernfe13.cern.ch (137.138.140.38) by cernmxgwlb.cern.ch (137.138.142.185) with Microsoft SMTP Server (TLS) id 8.1.291.1; Mon, 22 Dec 2008 15:59:13 +0100 Received: from lxplus231.cern.ch (137.138.5.224) by smtp.cern.ch (137.138.140.59) with Microsoft SMTP Server (TLS) id 8.1.263.0; Mon, 22 Dec 2008 15:59:13 +0100 Date: Mon, 22 Dec 2008 15:59:09 +0100 From: Luca Presotto X-X-Sender: presotto@lxplus231.cern.ch To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-CERN-Reverse-DNS: cernfe13.cern.ch Subject: Could not find package - using ports 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, 22 Dec 2008 15:09:52 -0000 Hi everyone, I'm upgrading all the ports I have installed and the command I used is "portupgrade -aP", exluding ruby and portupgrade itself. Sad news is that for every single package it tries to fetch it doesn't find anything, so it uses the ports, and it needs lots of time to compile everything. (gnome, X, firefox are not so fast to compile!) Am I doing something wrong or /Luca]$ ssh presotto@lxplus.cern.ch ******************************************************************************* PINE 4.58 COMPOSE MESSAGE Folder: INBOX 4 Messages + To : freebsd-questions@freebsd.org Cc : Attchmnt: Subject : Could not find package - using ports ----- Message Text ----- Hi everyone, I'm upgrading all the ports I have installed and the command I used is "portupgrade -aP", exluding ruby and portupgrade itself. Sad news is that for every single package it tries to fetch it doesn't find anything, so it uses the ports, and it needs lots of time to compile everything. (gnome, X, firefox are not so fast to compile!) Am I doing something wrong or are the packages really missing? I'm using freeBSD 7.0-release on a i386 architectyre and I'm trying to update the ports after having done portsnap fetch update, so it should be trying to install the latest version of the ports. Thank you, Luca From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:20:38 2008 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 D6ECF1065675 for ; Mon, 22 Dec 2008 15:20:38 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 326E98FC08 for ; Mon, 22 Dec 2008 15:20:37 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so5862097bwz.19 for ; Mon, 22 Dec 2008 07:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=O7B6GLTnlf1VE/YXBDrswmxMzB4eE3uL5qO18iw4zT8=; b=VS8gnuAvo4ITsfl3NcyWpgf0pCN3DsgyfCBcWSdI9BKXfYrV2o6SPcfl4pqmOoZD38 EP8VGx+IOujD52iE+h6gLEN0eCEhYhBc8IF5sHqgy4VHxc3B7qWO6nFs4pfoWFcWJqix cbHMJEGLg6q/BVphu/E6a8Qc3ihQOe2jpi2ts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XkXaV70tWfjYWBtXBPfQ2KvN9EbO7WjuAKeTDYT414Hez/mn8dL09smp03m1sVQHPZ 8qaot/EPwJ+uiZNTsUYwmyRbyBPLSGL1ZaYpiEyYmmn7r1Eihxj+gFaDTZh+E/8Q09z9 dU7a0L5GmDEKmC1DeCVx3sIhLHusP5ERL3ITc= Received: by 10.103.249.19 with SMTP id b19mr2335055mus.86.1229959224607; Mon, 22 Dec 2008 07:20:24 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 07:20:24 -0800 (PST) Message-ID: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com> Date: Mon, 22 Dec 2008 10:20:24 -0500 From: "Glen Barber" To: "Luca Presotto" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Could not find package - using ports 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, 22 Dec 2008 15:20:38 -0000 > I'm upgrading all the ports I have installed and the command I > used is "portupgrade -aP", exluding ruby and portupgrade itself. > Sad news is that for every single package it tries to fetch it doesn't > find anything, so it uses the ports, and it needs lots of time to compile > everything. (gnome, X, firefox are not so fast to compile!) > Am I doing something wrong or are the packages really missing? > Portupgrade won't install packages -- it'll upgrade your ports using the ports tree. If you want the latest software, you need to compile using ports. Packages are built once, when the X.X-RELEASE comes out. Did you read the portupgrade man page? > I'm using freeBSD 7.0-release on a i386 architectyre and I'm trying to > update the ports after > having done portsnap fetch update, so it should be trying to install the > latest version of the ports. > If you upgraded (you never specified from what version you upgraded from), say from 7.0-RELEASE to 7.1-RC1, you will get the latest packages by deinstalling your current packages and reinstalling using pkg_add. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:29:25 2008 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 57C931065795 for ; Mon, 22 Dec 2008 15:29:25 +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 1880B8FC08 for ; Mon, 22 Dec 2008 15:29:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx02.qsc.de (Postfix) with ESMTP id 2216E16C0058; Mon, 22 Dec 2008 16:29:24 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBMFTIeM001680; Mon, 22 Dec 2008 16:29:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 22 Dec 2008 16:29:18 +0100 From: Polytropon To: "Glen Barber" Message-Id: <20081222162918.47577b53.freebsd@edvax.de> In-Reply-To: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com> References: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Luca Presotto , freebsd-questions@freebsd.org Subject: Re: Could not find package - using ports 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, 22 Dec 2008 15:29:25 -0000 On Mon, 22 Dec 2008 10:20:24 -0500, "Glen Barber" wrote: > Portupgrade won't install packages -- it'll upgrade your ports using > the ports tree. If you want the latest software, you need to compile > using ports. Packages are built once, when the X.X-RELEASE comes out. > Did you read the portupgrade man page? That's not entirely true. The portupgrade port installs a program called portinstall. According to its manpage, portinstall can -a- install from ports (compile), -b- install from packages or -c- install from packages only (where it works similar to pkg_add). Sidenote: Another fine tool is pkgdb -aF (comes with portupgrade port) to keep pkg_added packages and stuff installed by either portinstall or "manual" make install in synchronization. It's good to run this command before and after altering something on the installed packages. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:34:56 2008 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 A772A1065670 for ; Mon, 22 Dec 2008 15:34:56 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5047D8FC13 for ; Mon, 22 Dec 2008 15:34:55 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so5883340bwz.19 for ; Mon, 22 Dec 2008 07:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BRYxMu33Hqw+Tm1dar+a/AhAwNL3SYzgTxKhLoT2G8U=; b=Dl19Sy+t8hRv49qhc+dsHV2fmC9sOmnTM4JSHhjRx3E2WkUNzvy0OiOIt35l2Q6hNV h55xBjt2LX1oidWB0d5oIeet1+hlQGwzhshug5wv7W0VpIBNUgFFoxI/DJymAf4x8tw6 dR3bIrih8TWddOBhDFjsBnracpuDCDSzS9spE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AC8UQKPq1ri1oPycganWWkhEhc8INffKRBvdNR3Ximk0Xlsj49zmHblhfFIVP+ouZX Tx1q4BooM/AjOVS7T3o8kxDxHej8rZRvyPlOIK1+YOq+HAwr36TwoFHWIvhBqQV/bdJJ 86VuGBDkq+X3Bk8hhdOo3WSleHnCzCwQHJdIM= Received: by 10.103.121.19 with SMTP id y19mr2341447mum.56.1229960093376; Mon, 22 Dec 2008 07:34:53 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 07:34:53 -0800 (PST) Message-ID: <4ad871310812220734n4485fdfdj8cb816a6cba665ae@mail.gmail.com> Date: Mon, 22 Dec 2008 10:34:53 -0500 From: "Glen Barber" To: Polytropon In-Reply-To: <20081222162918.47577b53.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com> <20081222162918.47577b53.freebsd@edvax.de> Cc: Luca Presotto , freebsd-questions@freebsd.org Subject: Re: Could not find package - using ports 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, 22 Dec 2008 15:34:56 -0000 On Mon, Dec 22, 2008 at 10:29 AM, Polytropon wrote: > On Mon, 22 Dec 2008 10:20:24 -0500, "Glen Barber" wrote: >> Portupgrade won't install packages -- it'll upgrade your ports using >> the ports tree. If you want the latest software, you need to compile >> using ports. Packages are built once, when the X.X-RELEASE comes out. >> Did you read the portupgrade man page? > > That's not entirely true. The portupgrade port installs a program > called portinstall. According to its manpage, portinstall can > -a- install from ports (compile), -b- install from packages > or -c- install from packages only (where it works similar to > pkg_add). > That's good to know. Last port* tool I used besides 'make' was portmaster -- that was a year and several broken ports ago. Needless to say, I manage them myself now. :) -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 15:51:03 2008 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 3D37D106568B for ; Mon, 22 Dec 2008 15:51:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC738FC16 for ; Mon, 22 Dec 2008 15:51:02 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy14 with SMTP id 14so2652411ewy.19 for ; Mon, 22 Dec 2008 07:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=CKeoIdhBDdrMqH1tVz0BPcGwy0DBJOAxNXo32nBxqjc=; b=OihpdBE66SMvs7bO5vxvm4xIJr8ONEjpNAXhTWIE2ESfwXvqbZQ8h6V8HnIKpCOEbF 4zdbsiY2jauBT0G0gAQGySXpuf9S1GiBWh7Qkag59csVheCQFaxLv+AuGqrkXqde+nQ8 NDbezsA6uf3H0iN40EQQte4nMmSFL5Dtck3ys= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=EIXNvq4GtURwvoGgyiRiPhFNAAtH1VZ2BI5UW+hkNPKC309KRvd8YjL0J4PhRDydFZ 3lesv5BwYBPYeC1G3T8Vrk/6S5UeTb4OrYGKSu4zD2GOWCj0XG5vM5gl7FBuMsot29sx LQounwscviCWlO91Cm4UY8C5tc+uyuC2xvGUA= Received: by 10.210.57.5 with SMTP id f5mr3818117eba.80.1229961061190; Mon, 22 Dec 2008 07:51:01 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id z37sm17704686ikz.0.2008.12.22.07.50.59 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 07:51:00 -0800 (PST) Date: Mon, 22 Dec 2008 15:50:57 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081222155057.5153b9a5@gumby.homeunix.com> In-Reply-To: <20081222162918.47577b53.freebsd@edvax.de> References: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com> <20081222162918.47577b53.freebsd@edvax.de> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Could not find package - using ports 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, 22 Dec 2008 15:51:03 -0000 On Mon, 22 Dec 2008 16:29:18 +0100 Polytropon wrote: > On Mon, 22 Dec 2008 10:20:24 -0500, "Glen Barber" > wrote: > > Portupgrade won't install packages -- it'll upgrade your ports using > > the ports tree. If you want the latest software, you need to > > compile using ports. Packages are built once, when the X.X-RELEASE > > comes out. Did you read the portupgrade man page? > > That's not entirely true. The portupgrade port installs a program > called portinstall. According to its manpage, portinstall can > -a- install from ports (compile), -b- install from packages > or -c- install from packages only (where it works similar to > pkg_add). Portinstall is just an alias for portupgrade -N The reason that portupgrade -P was not using packages is that, by default it fetches packages built against the tree that's on the install disks, so there wont be any for updated ports. You can set portupgrade to fetch packages for the 7-stable development branch (you can google for how to do this). For the most part this will work, but occasionally there will be library problems. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:01:27 2008 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 891A21065673 for ; Mon, 22 Dec 2008 16:01:27 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 1D3D38FC12 for ; Mon, 22 Dec 2008 16:01:26 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 22 Dec 2008 11:01:26 -0500 From: "Brian A. Seklecki" To: Jeff Laine In-Reply-To: <20081219194637.GA34178@free.bsd.loc> References: <001401c9620b$fcaf9ee0$f60edca0$@com> <20081219194637.GA34178@free.bsd.loc> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-b1zhoF+5v7fCpbtz/AEk" Organization: Collaborative Fusion, Inc. Date: Mon, 22 Dec 2008 11:01:25 -0500 Message-Id: <1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Cc: freebsd-questions@freebsd.org, Gary Hartl Subject: Re: Snow in my Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 16:01:27 -0000 --=-b1zhoF+5v7fCpbtz/AEk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-12-19 at 22:46 +0300, Jeff Laine wrote: > Just mv teh snowflakes to /dev/null ^_- $ sudo pkill -9 xsnow ~BAS --=20 Brian A. Seklecki Collaborative Fusion, Inc. --=-b1zhoF+5v7fCpbtz/AEk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklPudUACgkQCne6BNDQ+R90wACePjIicTJZY8xghM4IWECcZVqL fm8An3pZao8j8QaaJlGtqJ45XvjzZcx8 =Bh+/ -----END PGP SIGNATURE----- --=-b1zhoF+5v7fCpbtz/AEk-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:07:22 2008 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 D75E3106564A for ; Mon, 22 Dec 2008 16:07:22 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from lrelay02.edpnet.net (lrelay02.edpnet.net [212.71.1.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5B9F88FC0C for ; Mon, 22 Dec 2008 16:07:22 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from bsdaddict.localnet (213.219.158.69.adsl.dyn.edpnet.net [213.219.158.69]) by lrelay02.edpnet.net (8.13.8/8.13.8) with ESMTP id mBMFFa0H004979 for ; Mon, 22 Dec 2008 16:15:37 +0100 From: beni To: freebsd-questions@freebsd.org Date: Mon, 22 Dec 2008 16:15:35 +0100 User-Agent: KMail/1.10.3 (FreeBSD/7.1-PRERELEASE; KDE/4.1.3; i386; ; ) X-Face: $,~&QrDrInYiH(ZUXjNH_0r4q\`w83!}&; +8c.K[`NnZwV|m$5N{NCkWesaR.9|yqIC[< =?utf-8?q?d=0A=09P0?="xTw:F|)_r*WC\f8lz)g=a; 93dz2mP7iv)LLzBd; 6^Y:=*>@U; _\+4( MIME-Version: 1.0 Message-Id: <200812221615.36177.beni@brinckman.info> X-Virus-Scanned: ClamAV 0.92.1/8789/Mon Dec 22 01:19:15 2008 on lrelay02.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=disabled version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on lrelay02.edpnet.net Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: kernel options for ipv6 firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beni@brinckman.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 16:07:23 -0000 Hi, I'm trying to reconfigure and recompile my kernel to use a ipv6 firewall. So far I added this to the kernel (from http://techie.devnull.cz/ipv6/ipfw2- ipv6-dummynet/) : # IPFW2 options IPFW2 options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default and I tried this also (from http://www.kame.net/~suz/freebsd-ipv6-config- guide.txt) : options IPV6FIREWALL #options IPV6FIREWALL_VERBOSE #options IPV6FIREWALL_VERBOSE_LIMIT=100 #options IPV6FIREWALL_DEFAULT_TO_ACCEPT But all I get is an "unknown option" error when I do a make buildkernel. I've added also this to my /etc/rc.conf : #IPv6 gateway6_enable="YES" ipv6_enable="YES" #ipv6_gateway_enable="YES" #ipv6_router_enable="YES" ipv6_network_interfaces="vr0 tun0" # Enable ip6fw. ipv6_firewall_enable="YES" ipv6_firewall_type="client" # ipv6_firewall_quiet="NO" ipv6_firewall_quiet="YES" # suppress rule display. (By default, it's NO) ipv6_firewall_logging="YES" # enable events logging. (By default, it's NO) ipv6_firewall_flags="" # Flags passed to ip6fw when type is a "filename" pf is enabled for ipv4. So what option(s) do I need to use a ipv6 firewall in my kernel ? -- Beni. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:31:27 2008 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 0CD671065670 for ; Mon, 22 Dec 2008 16:31:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 52B298FC13 for ; Mon, 22 Dec 2008 16:31:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBMGVFZY043886; Mon, 22 Dec 2008 16:31:16 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBMGVFZY043886 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1229963476; bh=KthPMXd4Lj8Deh PHNSLqDMUtXBlokqgNbgvcmkpqKdA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<494FC0CD.7010903@infracaninophile.co.uk>|Date:=20Mon,=2 022=20Dec=202008=2016:31:09=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20beni@brinckman.info|CC:=20freebsd-questions@freebsd.org|Su bject:=20Re:=20kernel=20options=20for=20ipv6=20firewall|References: =20<200812221615.36177.beni@brinckman.info>|In-Reply-To:=20<2008122 21615.36177.beni@brinckman.info>|X-Enigmail-Version:=200.95.6|Conte nt-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20pro tocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-------- ----enigD596B9897422CC360A432ECF"; b=D6d8bXkNP9Lz8R8NDN1opOW1xfF/3r 1Hkb3ZA4uP1Ieu6OXV+p7p/DHwWFNL099qNGGsjJpdlrKFFUdsZKWKwCDnQpe+WgNrH Jl+YXjKhXYor+nxO4JqnHBrve2X/PxGB3Mtiz+MZ9VUOpyExXjCeHIoWHXU0Rql6uw1 r6IvnAU= Message-ID: <494FC0CD.7010903@infracaninophile.co.uk> Date: Mon, 22 Dec 2008 16:31:09 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: beni@brinckman.info References: <200812221615.36177.beni@brinckman.info> In-Reply-To: <200812221615.36177.beni@brinckman.info> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD596B9897422CC360A432ECF" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 22 Dec 2008 16:31:16 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8792/Mon Dec 22 13:21:12 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: kernel options for ipv6 firewall 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, 22 Dec 2008 16:31:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD596B9897422CC360A432ECF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable beni wrote: > and I tried this also (from http://www.kame.net/~suz/freebsd-ipv6-confi= g- > guide.txt) : >=20 > options IPV6FIREWALL > #options IPV6FIREWALL_VERBOSE > #options IPV6FIREWALL_VERBOSE_LIMIT=3D100 > #options IPV6FIREWALL_DEFAULT_TO_ACCEPT > But all I get is an "unknown option" error when I do a make buildkernel= =2E That information is out of date. ipfw now handles both IPv4 and IPv6 wit= hout any extra kernel configuration required. All you need to do is write rul= es that reference IPv6 addresses etc. > I've added also this to my /etc/rc.conf : > #IPv6 > gateway6_enable=3D"YES" > ipv6_enable=3D"YES" > #ipv6_gateway_enable=3D"YES" > #ipv6_router_enable=3D"YES" > ipv6_network_interfaces=3D"vr0 tun0" >=20 > # Enable ip6fw. > ipv6_firewall_enable=3D"YES" > ipv6_firewall_type=3D"client" > # ipv6_firewall_quiet=3D"NO" > ipv6_firewall_quiet=3D"YES" # suppress rule display. (By default, it's= NO) > ipv6_firewall_logging=3D"YES" # enable events logging. (By default, it'= s NO) > ipv6_firewall_flags=3D"" # Flags passed to ip6fw when type is a "filen= ame" Take a look at /etc/rc.firewall6 -- that just does for IPv6 what rc.firew= all does for IPv4. Your settings above should enable it to work, but you'll = need to put the correct network numbers, prefix len and IP address into the rc.firewall6 file. (Not a particularly nice piece of design: configurati= on information like that shouldn't require you to edit the actual rc script.= ) > pf is enabled for ipv4. pf will also do IPv6 automatically. With pf's really very handy indeed feature of being able to deduce from the interface name the IP numbers / networks to put in the rulesets, you can write rules that operate on IPv4= only: pass in on $ext_if inet proto tcp \ from any to $ext_if port ssh \ flags S/SA keep state \ (max-src-conn-rate 3/30, overload flush global) IPv6 only: pass in on $ext_if inet6 proto tcp \ from any to $ext_if port ssh \ flags S/SA keep state \ (max-src-conn-rate 3/30, overload flush global) or both: pass in on $ext_if proto tcp \ from any to $ext_if port ssh \ flags S/SA keep state \ (max-src-conn-rate 3/30, overload flush global) Although this last is internally transformed into two rules, one for the IPv4 address on the i/f, and the other for the IPv6 address. See 'pfctl = -sr' for the generated rules. So on my machine, that becomes: pass in on de0 inet6 proto tcp from any to fe80::240:5ff:fea5:8db7 port =3D= ssh flags S/SA keep state (source-track rule, max-src-conn-rate 3/30, ov= erload flush global, src.track 30) pass in on de0 inet proto tcp from any to 81.187.76.162 port =3D ssh flag= s S/SA keep state (source-track rule, max-src-conn-rate 3/30, overload flush global, src.track 30) (not that I've yet seen any ssh bruteforce attempts over IPv6) If you need bandwidth limiting facilities, you can do this with pf as wel= l, but you will have to compile a custom kernel to enable the ALTQ features.= It's equivalent to IPFW's dummynet but there are subtle differences in th= e way it operates that may or may not be a show stopper for you. > So what option(s) do I need to use a ipv6 firewall in my kernel ?=20 Same as you need for either pf or ipfw with IPv4 -- in fact, you frequent= ly don't need to modify the GENERIC kernel at all. You can just load ipfw a= s a kld. Same with pf, unless you need to use altq which still requires some= compiled-in stuff in the kernel. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigD596B9897422CC360A432ECF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklPwNMACgkQ8Mjk52CukIyjzQCgjdvshqjICAbTlTgjdBZXsoxK ZrMAn2CLM4edic1gTqIsG1Vv/ZE4DB2L =2CM9 -----END PGP SIGNATURE----- --------------enigD596B9897422CC360A432ECF-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:48:19 2008 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 A6B731065675 for ; Mon, 22 Dec 2008 16:48:19 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 585AF8FC18 for ; Mon, 22 Dec 2008 16:48:19 +0000 (UTC) (envelope-from lysergius2001@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1469524ywe.13 for ; Mon, 22 Dec 2008 08:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Df11UHIDYAfnQpWqIWuL6XJjRQPbkNYxQdxiNrLytrI=; b=hltdjctAI/N+WK+5kSmVjSsKru0poSjqaaPxjOBB+MlBJuYExVMFCNItz34sNoa5Hf mP3Xy1gqtLgxiCPZklZwJuhp7B5stxL6jXEFSI+5695w33TB2Hi3K1G1VQ4/KWEIa/Ww CV++X0n9ozgR7fjnCCdynkNURilRQ7Rba40q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=oP3YGxAhPAKgDqba2qEQKoxmvdbQsHLsD6GHseCSy/Bsyd0XMreyB2MAxzDbV4VZm1 GtUZfYJblTXruzHi7uOZ26wpr8RBhyEncAe9I54sFKHvE6dddEUIo/kqdQJcZxPVFm5K UMsvBFdeaFInTH7T+fAdPdWE4YigGYAk7MuU4= Received: by 10.142.134.20 with SMTP id h20mr2748752wfd.178.1229962990902; Mon, 22 Dec 2008 08:23:10 -0800 (PST) Received: by 10.142.68.8 with HTTP; Mon, 22 Dec 2008 08:23:10 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 16:23:10 +0000 From: lysergius2001 To: freebsd-questions@freebsd.org In-Reply-To: <1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> MIME-Version: 1.0 References: <001401c9620b$fcaf9ee0$f60edca0$@com> <20081219194637.GA34178@free.bsd.loc> <1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Snow in my Server 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, 22 Dec 2008 16:48:19 -0000 Hmm, I'm surprised that no one suggested that you build and install the snow-melt port? On Mon, Dec 22, 2008 at 4:01 PM, Brian A. Seklecki < bseklecki@collaborativefusion.com> wrote: > On Fri, 2008-12-19 at 22:46 +0300, Jeff Laine wrote: > > Just mv teh snowflakes to /dev/null ^_- > > $ sudo pkill -9 xsnow > > ~BAS > > -- > Brian A. Seklecki > Collaborative Fusion, Inc. > -- Lysergius says "Stay light and trust gravity" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:50:50 2008 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 2E25E1065676 for ; Mon, 22 Dec 2008 16:50:50 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id AC4DC8FC1A for ; Mon, 22 Dec 2008 16:50:49 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so774192fgb.35 for ; Mon, 22 Dec 2008 08:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NdCEiry9seOqXs/Hw9UE0YETNOp4mzbV5JDWD+YCGCw=; b=oGtFrGfEtZ0vknNxWha+vc7m2PJeqah89ofvu7tgnHkNAGN/DuwH8qCdq2Zm+nj5VY nPJi9L+JdNIMwk5A9oPNafRzkIY2fYbjJ1zl/hAsWbPPRyWmuD+fDUCfTs6k8cbp3WKz N566c3rGlBlTwkmVlgpipJtP9WYdVWGo3D9zA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=U5V4W+Cf7TKZIdSfoZnSc0EBLGYdJ9FawlDniLirOXRYLaNBozANQjwqICh7lwuXgR EpMKuHD1qQdlVpioZ6qtkYJAkCajJDlcmodtT0QkywpFMKUn7uu1ZryDEBoQep8yo1mB lNtaB40kSvPdDVJQEaX/qgyOt2PPkrepXdBLc= Received: by 10.103.247.14 with SMTP id z14mr2370453mur.70.1229964648157; Mon, 22 Dec 2008 08:50:48 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 08:50:48 -0800 (PST) Message-ID: <4ad871310812220850v316e37e8q3b5c04cd6d43bef6@mail.gmail.com> Date: Mon, 22 Dec 2008 11:50:48 -0500 From: "Glen Barber" To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001401c9620b$fcaf9ee0$f60edca0$@com> <20081219194637.GA34178@free.bsd.loc> <1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Subject: Re: Snow in my Server 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, 22 Dec 2008 16:50:50 -0000 This may be kind of late to bring this up, but... I sincerely hope the OP did not have a real issue... Cheers. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:15:50 2008 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 E1ECF106564A for ; Mon, 22 Dec 2008 17:15:50 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 722F28FC12 for ; Mon, 22 Dec 2008 17:15:50 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy14 with SMTP id 14so2700964ewy.19 for ; Mon, 22 Dec 2008 09:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:x-operating-system; bh=X19OvlxRMWnEVrbaOLyS1VRIP3I0NVjcFJ21q122ppg=; b=RJoB2ujKEyaxI9AfUUGxA8SYWcVg0bzeE7qWNzIWsGK/pY0Dtd4TAZO/vPgK32xmPc tsG4dAgWe505D4b7qCfN7McLpI4eKesI1GeA5FwDNCbrk6G9Q1kNnxHLS+SobLu9HeP6 LSejd3K9UNv9RWhWLxiQ87swFVtFAdupT6XEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:x-operating-system; b=kHjAfRoC9Belowjnm7GxNC8mFrOHWqWmK80z3MuF7VUAKosh8SDOH+d5stI8idHfN2 QWWfalM1fLkeAwsCyG+MzTCI5A5ccL5WdDZhfeIG4aTYTFUl9rpisexCJtLeGJwKwSpk mP14urCNptbqD8wJX+WrTZuo7mxaeU/faVKdU= Received: by 10.210.130.13 with SMTP id c13mr7576276ebd.179.1229966149243; Mon, 22 Dec 2008 09:15:49 -0800 (PST) Received: from blackmesa ([77.66.225.53]) by mx.google.com with ESMTPS id 4sm37043129ewy.95.2008.12.22.09.15.47 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 09:15:48 -0800 (PST) Received: by blackmesa (sSMTP sendmail emulation); Mon, 22 Dec 2008 20:15:46 +0300 Date: Mon, 22 Dec 2008 20:15:46 +0300 From: Jeff Laine To: freebsd-questions@freebsd.org Message-ID: <20081222171545.GA6663@free.bsd.loc> Mail-Followup-To: Jeff Laine , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.1-RC1 i386 Subject: Cpu and memory clock tool 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, 22 Dec 2008 17:15:51 -0000 Hello everybody. I've been fiddling with some memory modules on my laptop and realized that I had no idea what frequency memory was running. So is there any tool to measure such things like FSB and memory clocks under FreeBSD? TIA. -- Best regards, Jeff () X-mas ribbon campaign /\ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:21:05 2008 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 A8A331065674 for ; Mon, 22 Dec 2008 17:21:05 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 21CFA8FC1C for ; Mon, 22 Dec 2008 17:21:04 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so6020018bwz.19 for ; Mon, 22 Dec 2008 09:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xGb7GyfOAI4LY3/AfQ75uRh+1cgjUTqOLalGyA6qVQM=; b=Gv7Ye1U1bpRkHr1mSvBjwSMo1ssIKIVEKjYAzXHaBMevZooJLqrBgYio/CgTmU/MTl 4O1hg7GZgnJvS6ohsybmTfB46Hf8fk5pnx6sta7a8ePklx0kgC1o8G/Dq6lycMLexVIc nFAKGkLJCeuPfQ7F62mpkUCsoJueJB37sYC04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=yFHuglds+nr74/uczFo6HFykqosRtn1EYAjF57pRje/cczuDlc8+oXFqy7aGKv1WYG wANdisu6jGYm2QR0yBYDkXpHkIde3G5vRt1eKM8ZreH+XzL8ce52mXxlng6Pv0eZf/cZ hWrFpvHLf5CFT2aev8ITlEsC0s2+7SgVm5xJY= Received: by 10.103.229.12 with SMTP id g12mr2394628mur.16.1229966459276; Mon, 22 Dec 2008 09:20:59 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 09:20:59 -0800 (PST) Message-ID: <4ad871310812220920h4c65d5c1wa27f82ee943aaee0@mail.gmail.com> Date: Mon, 22 Dec 2008 12:20:59 -0500 From: "Glen Barber" To: "Jeff Laine" , freebsd-questions@freebsd.org In-Reply-To: <20081222171545.GA6663@free.bsd.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081222171545.GA6663@free.bsd.loc> Cc: Subject: Re: Cpu and memory clock tool 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, 22 Dec 2008 17:21:05 -0000 On Mon, Dec 22, 2008 at 12:15 PM, Jeff Laine wrote: > Hello everybody. > > I've been fiddling with some memory modules on my laptop and realized that I > had no idea what frequency memory was running. > > So is there any tool to measure such things like FSB and memory clocks > under FreeBSD? > Not sure of how detailed the output will be regarding FSB (check your BIOS for that), but you could always use `sysctl -a' to look at system information. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:21:54 2008 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 CB8501065678 for ; Mon, 22 Dec 2008 17:21:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAD58FC12 for ; Mon, 22 Dec 2008 17:21:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEoTW-00026Q-AX for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 17:21:50 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 17:21:50 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 17:21:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Mon, 22 Dec 2008 18:21:28 +0100 Lines: 30 Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 22 Dec 2008 17:21:54 -0000 On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: [ re. a bootable CURRENT backup system on a USB stick] > I am very sorry for this inaccurate information. As it turns out, > only the GENERIC kernel is bootable, my custom configuration doesn't. > On the bright side, this indicates some feature missing from my > normally very lean kernels, nothing is kaputt beyond repair. I'll > just have to find out which module just has to be in the kernel to > make it boot from an USB stick. The "custom configuration" uses the new USB2 stack, whereas GENERIC still includes the older one. When replacing USB2 with the old stack, I can reliably boot the system from the stick. I have another backup on a MMC card in a $5 card reader, but that one boots with USB2. The USB stick which only runs on the old stack identifies as: ugen1.2: at usbus1 umass0: on usbus1 pass0: Removable Direct Access SCSI-0 device da0: Removable Direct Access SCSI-0 device umass0: SCSI over Bulk-Only; quirks = 0x0000 I don't know if any quirks would make this product work. To me it seems as if it has to do with bulk handling? -c From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:35:10 2008 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 49DFF106567F for ; Mon, 22 Dec 2008 17:35:10 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA808FC21 for ; Mon, 22 Dec 2008 17:35:09 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy14 with SMTP id 14so2711237ewy.19 for ; Mon, 22 Dec 2008 09:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=nx8EqWH0Sqx8UOBEfMibpwXVHfZMHNDlLy1ot8fZvps=; b=RwQCWuZ3IxFQyasJqP4mVHDob1lumpSV+p5v/wfKyNeOyAdC8x0POjYXv38rL8+tuv tkmWIHGAX8wnhv95FPZ3p+Qyd3zMHybaZlcvoIkeHjBvmLuagSVbGHr7I0hZu10EDnaE mJtYGhcyKKmbPHliK5M1mD6Feu1m5wUhN2oqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=kmTv6nBiyqgBCyigKOleasvg7kVAiUg6ai4mvAtTmXMvdB96E7x65/UjJUl/tiftAz hwZ7Cn8a29FRYZand4cxP2fjo1RDZpUgQOOCf/nv2HMwxjY60ZfO0TDvcG1VKLOISn16 cN4RxRqQOE0Uz7e/bbr23O0LOM3/KIyyWdZGo= Received: by 10.210.30.1 with SMTP id d1mr7606437ebd.182.1229967308271; Mon, 22 Dec 2008 09:35:08 -0800 (PST) Received: from blackmesa ([77.66.225.53]) by mx.google.com with ESMTPS id 8sm1149045ewy.32.2008.12.22.09.35.06 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 09:35:07 -0800 (PST) Received: by blackmesa (sSMTP sendmail emulation); Mon, 22 Dec 2008 20:35:06 +0300 Date: Mon, 22 Dec 2008 20:35:06 +0300 From: Jeff Laine To: Glen Barber Message-ID: <20081222173506.GB6663@free.bsd.loc> Mail-Followup-To: Jeff Laine , Glen Barber , freebsd-questions@freebsd.org References: <20081222171545.GA6663@free.bsd.loc> <4ad871310812220920h4c65d5c1wa27f82ee943aaee0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ad871310812220920h4c65d5c1wa27f82ee943aaee0@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.1-RC1 i386 Cc: freebsd-questions@freebsd.org Subject: Re: Cpu and memory clock tool 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, 22 Dec 2008 17:35:10 -0000 On Mon, Dec 22, 2008 at 12:20:59PM -0500, Glen Barber wrote: > On Mon, Dec 22, 2008 at 12:15 PM, Jeff Laine wrote: > > Hello everybody. > > > > I've been fiddling with some memory modules on my laptop and realized that I > > had no idea what frequency memory was running. > > > > So is there any tool to measure such things like FSB and memory clocks > > under FreeBSD? > > > > Not sure of how detailed the output will be regarding FSB (check your > BIOS for that), but you could always use `sysctl -a' to look at system > information. > > -- > Glen Barber Yeah, I did grep for 'clock', 'hz', 'clock', 'mem' and such stuff but it seems that all readings are for the cpu clock only. -- Best regards, Jeff () X-mas ribbon campaign /\ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:45:34 2008 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 2F35A1065670 for ; Mon, 22 Dec 2008 17:45:34 +0000 (UTC) (envelope-from Luca.Presotto@cern.ch) Received: from cernmx10.cern.ch (cernmx10.cern.ch [137.138.142.185]) by mx1.freebsd.org (Postfix) with ESMTP id B22A48FC23 for ; Mon, 22 Dec 2008 17:45:33 +0000 (UTC) (envelope-from Luca.Presotto@cern.ch) Received: from cernfe12.cern.ch (137.138.140.37) by cernmxgwlb.cern.ch (137.138.142.185) with Microsoft SMTP Server (TLS) id 8.1.291.1; Mon, 22 Dec 2008 18:45:32 +0100 Received: from cernxchg50.cern.ch (137.138.137.175) by cernfe12.cern.ch (137.138.140.37) with Microsoft SMTP Server id 8.1.263.0; Mon, 22 Dec 2008 18:45:32 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Dec 2008 18:43:52 +0100 Message-ID: <9A6A62B6B84859469F3EBB5F09D818CA04C9B338@cernxchg50.cern.ch> In-Reply-To: <20081222155057.5153b9a5@gumby.homeunix.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Could not find package - using ports Thread-Index: AclkTVFisoOiJ26NSDqd+0epk34COAAD2vIw References: <4ad871310812220720k26e0b02kaf7a6e4a5ea5137f@mail.gmail.com><20081222162918.47577b53.freebsd@edvax.de> <20081222155057.5153b9a5@gumby.homeunix.com> From: Luca Presotto To: X-CERN-Reverse-DNS: cernfe12.cern.ch Keywords: CERN SpamKiller Note: -50 Subject: R: Could not find package - using ports 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, 22 Dec 2008 17:45:34 -0000 > The reason that portupgrade -P was not using packages is that, by > default it fetches packages built against the tree that's on the > install disks, so there wont be any for updated ports. >=20 > You can set portupgrade to fetch packages for the 7-stable development > branch (you can google for how to do this). For the most part this will > work, but occasionally there will be library problems. Thank you, now it's clear. I will try this as soon as I can. Luca From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:54:08 2008 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 C83DA106564A for ; Mon, 22 Dec 2008 17:54:08 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-defer01.adhost.com (mail-defer01.adhost.com [216.211.128.176]) by mx1.freebsd.org (Postfix) with ESMTP id A36908FC26 for ; Mon, 22 Dec 2008 17:54:08 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in04.adhost.com (mail-in04.adhost.com [10.212.3.14]) by mail-defer01.adhost.com (Postfix) with ESMTP id 4AC8510733 for ; Mon, 22 Dec 2008 09:14:55 -0800 (PST) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in04.adhost.com (Postfix) with ESMTP id A0DF9192813; Mon, 22 Dec 2008 09:14:54 -0800 (PST) (envelope-from mksmith@adhost.com) Received: from 10.142.3.201 ([10.142.3.201]) by ad-exh01.adhost.lan ([10.142.0.20]) with Microsoft Exchange Server HTTP-DAV ; Mon, 22 Dec 2008 17:14:54 +0000 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Mon, 22 Dec 2008 09:14:51 -0800 From: "Michael K. Smith" To: , FreeBSD Questions Message-ID: Thread-Topic: How can I link two separate internal networks to two separate external networks Thread-Index: AclkWMykAlY3H2zIqEa1WYCYbdG5CQ== In-Reply-To: <200812222306.45986.geoff@apro.com.au> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: How can I link two separate internal networks to two separate external 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: Mon, 22 Dec 2008 17:54:08 -0000 Hello Geoff: On 12/22/08 4:06 AM, "Geoff Roberts" wrote: > Hi, > > I have a FreeBSD 7.0 box with pf. > > I have two internal networks (intnet0 and intnet1) and two internal networks > (extnet0 and extnet1). > > extnet0 and extnet1 are two different gateways to the internet. > > I only have one physical internal (int0) and one physical external (ext0) > interface. > > Traffic from intnet0 needs to go out on extnet0 > > Traffic from intnet1 needs to go out on extnet1 (consider this a default route > for any traffic not going out on extnet0). > > What are some suggested ways of doing this? > > Assume addresses are (these are made up, but hopefully help paint the > picture): > > intnet0 - 192.168.50.0/24 > extnet0 - 10.10.10.8/30 > - extnet0 address 10.10.10.8.10 > - default route 10.10.10.9 > - broadcast 10.10.10.11 > > intnet1 - 192.168.60.0/24 > extnet1 - 10.10.10.12/30 > - extnet1 address 10.10.10.14 > - default route 10.10.10.13 > - broadcast 10.10.10.15 > > So far I have created vlans via a switch on each interface to "multiplex" the > connections: > > vlan10 - 192.168.50.0/24 and vlan20 - 192.168.60.0/24 come in on a single > cable to int0. > > vlan50 - 10.10.10.8/30 and vlan60 - 10.10.10.12/30 come in on a single cable > to ext0. > > However, since I have the defaultroute set for 10.10.10.13 all traffic from > intnet0 is going out on vlan60 whereas i want it to go out on vlan50. > > Am I going about this the wrong way? > I think this will work. Let's assume: $vlan10_if -> macro for your tagged VLAN 10 interface $vlan20_if -> macro for your tagged VLAN 20 interface $vlan50_if -> macro for your tagged VLAN 50 interface $vlan60_if -> macro for your tagged VLAN 60 interface $vlan50_gw = 10.10.10.9 $vlan60_gw = 10.10.10.13 pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) from any to any pass in on $vlan20_if route-to ($vlan60_if $vlan60_gw) from any to any That would be in conjunction with your NAT's and any RDR's as well. Regards, Mike From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 17:58:03 2008 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 65E5E1065676 for ; Mon, 22 Dec 2008 17:58:03 +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 13AC78FC1E for ; Mon, 22 Dec 2008 17:58:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan-a.emsphone.com [199.67.51.107]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id mBMHw2FX052048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 11:58:02 -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.3/8.14.3) with ESMTP id mBMHw10u053072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 11:58:01 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mBMHw1b8053070; Mon, 22 Dec 2008 11:58:01 -0600 (CST) (envelope-from dan) Date: Mon, 22 Dec 2008 11:58:01 -0600 From: Dan Nelson To: Laszlo Nagy Message-ID: <20081222175801.GG90803@dan.emsphone.com> References: <494FA0E0.1060108@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <494FA0E0.1060108@shopzeus.com> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Dec 2008 11:58:02 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: "truss" is buggy? 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, 22 Dec 2008 17:58:03 -0000 In the last episode (Dec 22), Laszlo Nagy said: > Apparently, the "truss" trace tool has a bug. At least I was told > that the tracer program should not change the return value of the > getppid() call inside the traced process. Here is an example program: It looks like the ptrace() syscall is the problem: DESCRIPTION The ptrace() system call provides tracing and debugging facilities. It allows one process (the tracing process) to control another (the traced process). The tracing process must first attach to the traced process, and then issue a series of ptrace() system calls to control the execution of the process, as well as access process memory and register state. For the duration of the tracing session, the traced process will be ``re-parented'', with its parent process ID (and resulting behavior) changed to the tracing process. I imagine that also explains why a truss'ed program will die if you kill -9 the truss process. It looks like the "reset parent when trussing" behaviour appeared back in 1996 (sys_process.s r1.21). The fix would probably be to store the pid of the tracing process somewhere other than p_ppid... -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 18:10:29 2008 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 D16A51065780 for ; Mon, 22 Dec 2008 18:10:29 +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 881BF8FC14 for ; Mon, 22 Dec 2008 18:10:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan-a.emsphone.com [199.67.51.107]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id mBMIASOG053040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 12:10:28 -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.3/8.14.3) with ESMTP id mBMIASKI082853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 12:10:28 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mBMIASgS082837; Mon, 22 Dec 2008 12:10:28 -0600 (CST) (envelope-from dan) Date: Mon, 22 Dec 2008 12:10:28 -0600 From: Dan Nelson To: Jeff Laine , freebsd-questions@freebsd.org Message-ID: <20081222181028.GH90803@dan.emsphone.com> References: <20081222171545.GA6663@free.bsd.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081222171545.GA6663@free.bsd.loc> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Dec 2008 12:10:28 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: Subject: Re: Cpu and memory clock tool 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, 22 Dec 2008 18:10:29 -0000 In the last episode (Dec 22), Jeff Laine said: > Hello everybody. > > I've been fiddling with some memory modules on my laptop and realized that I > had no idea what frequency memory was running. > > So is there any tool to measure such things like FSB and memory > clocks under FreeBSD? Try ports/sysutils/dmidecode ; "dmidecode -t 17" should print the installed memory modules and (if your bios exports the info) their speeds. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 18:26:59 2008 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 8AAC11065670 for ; Mon, 22 Dec 2008 18:26:59 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id E26138FC08 for ; Mon, 22 Dec 2008 18:26:58 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy14 with SMTP id 14so2739239ewy.19 for ; Mon, 22 Dec 2008 10:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=gdN1vUTZQ+4u68j1CWp0/TWYtXLY9Qm5J0gZkcgpNSU=; b=kP8hOK1K9In09rWbg11D69EEcOQ8OEIcOJWj9eU3oItNgYNrwX9KWkGE9cgrs1qM/4 dvi5/aH6O2dmnVjgh1xhpqv46uGyd8mgCKgUj1f15520c+Wzcd+gcxRVIz/ccJ7RIigC 1A6ahYNoCHceO6K8ejxvq+NiKkt5yAgEkkBPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=XAgalGyzAn7z+wsoHHIYTLmWExxZRtsSEnzKxTBt/vsqwFprHHIiHGiAQEOW7+Lwgd WxZ45ZyPJDHBbfNuadrMIi29huMfxBYaB14qj6Tvtnc5UX0YUjCIsFyaFByqeaS2VrU3 Xd16qQmBWsrz3GaD0fHPxF01wh9+58527FVA0= Received: by 10.210.88.3 with SMTP id l3mr7691072ebb.88.1229970417715; Mon, 22 Dec 2008 10:26:57 -0800 (PST) Received: from blackmesa ([77.66.225.53]) by mx.google.com with ESMTPS id 6sm14445304ewy.27.2008.12.22.10.26.56 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 10:26:57 -0800 (PST) Received: by blackmesa (sSMTP sendmail emulation); Mon, 22 Dec 2008 21:26:55 +0300 Date: Mon, 22 Dec 2008 21:26:55 +0300 From: Jeff Laine To: Dan Nelson Message-ID: <20081222182655.GC6663@free.bsd.loc> Mail-Followup-To: Jeff Laine , Dan Nelson , freebsd-questions@freebsd.org References: <20081222171545.GA6663@free.bsd.loc> <20081222181028.GH90803@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081222181028.GH90803@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.1-RC1 i386 Cc: freebsd-questions@freebsd.org Subject: Re: Cpu and memory clock tool 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, 22 Dec 2008 18:26:59 -0000 On Mon, Dec 22, 2008 at 12:10:28PM -0600, Dan Nelson wrote: > In the last episode (Dec 22), Jeff Laine said: > > Hello everybody. > > > > I've been fiddling with some memory modules on my laptop and realized that I > > had no idea what frequency memory was running. > > > > So is there any tool to measure such things like FSB and memory > > clocks under FreeBSD? > > Try ports/sysutils/dmidecode ; "dmidecode -t 17" should print the > installed memory modules and (if your bios exports the info) their > speeds. > > -- > Dan Nelson > dnelson@allantgroup.com It worked. Thanks! -- Best regards, Jeff () X-mas ribbon campaign /\ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 18:33:29 2008 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 EDFCB106564A for ; Mon, 22 Dec 2008 18:33:29 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 50DE38FC08 for ; Mon, 22 Dec 2008 18:33:29 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177250219.adsl.alicedsl.de [85.177.250.219]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1LEpap1ZC7-0007zu; Mon, 22 Dec 2008 19:33:27 +0100 Message-ID: <494FDD70.60504@janh.de> Date: Mon, 22 Dec 2008 19:33:20 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Luca Presotto References: 20081222155057.5153b9a5@gumby.homeunix.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18izORix+s3FG2RbrQOcBBxfYK+fpS5p756Rl5 MsGEOofTgTnhb8Ucc6d3jYUb2qeV2dMswvMTPXxLlJeRVoBXLZ dye5CWEOAVhAvnLZ90CYw== Cc: questions-list freebsd Subject: Re: Could not find package - using ports 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, 22 Dec 2008 18:33:30 -0000 Luca wrote: >> The reason that portupgrade -P was not using packages is that, by >> default it fetches packages built against the tree that's on the >> install disks, so there wont be any for updated ports. >> >> You can set portupgrade to fetch packages for the 7-stable development >> branch (you can google for how to do this). For the most part this will >> work, but occasionally there will be library problems. > >Thank you, now it's clear. >I will try this as soon as I can. I did that and would not do it again for a massive upgrade: http://lists.freebsd.org/pipermail/freebsd-questions/2008-August/180336.html Using freebsd-update for a (minor version) upgrade to 7.1-RC1 and after that using 7.1-RELEASE packages for a portupgrade will probably take less time overall. See the 7.1-RC1 announcement on how to do the first part: http://lists.freebsd.org/pipermail/freebsd-stable/2008-December/047014.html When it is available, you should upgrade to 7.1-RELEASE, which will take less time with freebsd-update from 7.1-RC1 than from 7.0-RELEASE, since there are less configuration file changes to be merged. For the portupgrade, you should have in mind that portupgrade uses the ports tree to know what to upgrade to which version. Your ports tree is newer than the 7.1-RELEASE packages. Anyhow, if the newest package is not available but a newer one than the one installed, portupgrade usually works, too. Reading /usr/ports/UPDATING before is still advisable. You might still run into problems of the nature that kde was used to be build against openldap23-client at the time of 7.0-RELEASE, but the 7.1-RELEASE packages are build against openldap24-client and these two ports cannot coexist. With ports this is not a problem, since it can be build against either version. (AFAIR, this particular case will work out fine, but there was something else requiring manual work besides everything listed in UPDATING.) Probably not for 7.0->7.1, but in some cases removing all packages and reinstalling all takes less time than anything else. Cheers, Jan Henrik From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:08:01 2008 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 7ED44106564A for ; Mon, 22 Dec 2008 19:08:01 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp154.iad.emailsrvr.com (smtp154.iad.emailsrvr.com [207.97.245.154]) by mx1.freebsd.org (Postfix) with ESMTP id 573138FC22 for ; Mon, 22 Dec 2008 19:08:01 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from relay5.relay.iad.emailsrvr.com (localhost [127.0.0.1]) by relay5.relay.iad.emailsrvr.com (SMTP Server) with ESMTP id B9CFC738761 for ; Mon, 22 Dec 2008 14:08:00 -0500 (EST) Received: by relay5.relay.iad.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 9BF06738779 for ; Mon, 22 Dec 2008 14:08:00 -0500 (EST) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Mon, 22 Dec 2008 14:07:58 -0500 From: Tom Worster To: FreeBSD Questions Message-ID: Thread-Topic: 7.0-RELEASE-p6:/boot/kernel/linker.hints not updating? Thread-Index: AclkaJoCV1aeR8xAdUSB7U3drbnLQg== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: 7.0-RELEASE-p6:/boot/kernel/linker.hints not updating? 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, 22 Dec 2008 19:08:01 -0000 after running freebsd-update install and rebooting, i ran freebsd-update fetch to check the status and it said: The following files will be updated as part of updating to 7.0-RELEASE-p6: /boot/kernel/linker.hints running freebsd-update install and rebooting again did not clear the message. should that be any concern? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:36:59 2008 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 B67191065673 for ; Mon, 22 Dec 2008 19:36:59 +0000 (UTC) (envelope-from jona@oismail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 777898FC1B for ; Mon, 22 Dec 2008 19:36:59 +0000 (UTC) (envelope-from jona@oismail.com) Received: by yx-out-2324.google.com with SMTP id 8so1501017yxb.13 for ; Mon, 22 Dec 2008 11:36:58 -0800 (PST) Received: by 10.90.100.20 with SMTP id x20mr3434096agb.47.1229974618585; Mon, 22 Dec 2008 11:36:58 -0800 (PST) Received: by 10.90.25.12 with HTTP; Mon, 22 Dec 2008 11:36:58 -0800 (PST) Message-ID: <113ce31b0812221136x351b5d39g17269d5eb9ae4b9a@mail.gmail.com> Date: Mon, 22 Dec 2008 20:36:58 +0100 From: "Jonatan Evald Buus" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NFS Cache 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, 22 Dec 2008 19:36:59 -0000 Greetings, We are having problems with Record Based Log Shipping from our PostGreSQL database server that appears to stem from NFS caching the files. PostGreSQL are continously writing to its WAL files located in the pg_xlog directory which is shared via NFS Our program is in turn continously detecting the changes as described in 24.4.4 at http://www.postgresql.org/docs/8.3/static/warm-standby.html and copying a segment of the WAL file to the local harddisk. The changes written by PostGreSQL however doesn't appear to be reflected through the mapped NFS drive until at some later point in time (not sure how long the delay is, but it appears to be 10+ seconds). The delay causes the transferred WAL files to become corrupt. Running the same program directly on the PostGreSQL machine provides the expected result. The following is the NFS configuration on both the Client and Server machines: sysctl -a |grep nfs vfs.nfs.downdelayinitial: 12 vfs.nfs.downdelayinterval: 30 vfs.nfs.skip_wcc_data_onerr: 1 vfs.nfs.nfs3_jukebox_delay: 10 vfs.nfs.reconnects: 0 vfs.nfs.bufpackets: 4 vfs.nfs.realign_count: 0 vfs.nfs.realign_test: 0 vfs.nfs.defect: 0 vfs.nfs.iodmax: 20 vfs.nfs.iodmin: 0 vfs.nfs.iodmaxidle: 120 vfs.nfs.diskless_rootpath: vfs.nfs.diskless_valid: 0 vfs.nfs.nfs_ip_paranoia: 1 vfs.nfs.nfs_directio_allow_mmap: 1 vfs.nfs.nfs_directio_enable: 1 vfs.nfs.clean_pages_on_close: 1 vfs.nfs.nfsv3_commit_on_close: 0 vfs.nfs.access_cache_timeout: 0 vfs.nfs4.access_cache_timeout: 0 vfs.nfsrv.nfs_privport: 0 vfs.nfsrv.commit_miss: 0 vfs.nfsrv.commit_blks: 0 vfs.nfsrv.async: 0 vfs.nfsrv.realign_count: 0 vfs.nfsrv.realign_test: 4069 vfs.nfsrv.gatherdelay_v3: 0 vfs.nfsrv.gatherdelay: 10000 Are there other ways of disabling the NFS' cache than using sysctl? Preferably at mount time so caching is only disabled for the PostGreSQL mount point. Alternatively, how is NFS forced to use Direct IO? Appreciate the input Cheers Jona From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:41:31 2008 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 1156F1065676 for ; Mon, 22 Dec 2008 19:41:31 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4A38FC13 for ; Mon, 22 Dec 2008 19:41:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so6205188bwz.19 for ; Mon, 22 Dec 2008 11:41:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=un4KutVgbNYk6YJ2gYxkH+D/Pk8rRDC7KwFYvouLsPo=; b=w+56LNLYccDHHVXGFgy6FyRjzhvCunehO+Bz5J2GcFT/pIQ6MFZ+6EXlnw6lzKmKZx +z7UEofd+rKbj+pVxhykraZVEQyzzVWdAWwIK6OY8e+/XWU/JoiE3ADVMpW8bXPIgbVO 5B+wh96iSkIPrJMuwfWhNZF4O3PbRhbX6ISGw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Vnuj/d1haFOSD4gIqUlL4sJTsa9bfGcX+8bPE7TK5qjWX6Qa5S6+kFALRMrGDlO8H8 VdgtXdw6fsLUgKGcJtxk1f87q567uJigk37PiNpPAEj/xI4+K+ZCfT3Z+pbNbntyLjrg hKt5WEaTd7jUDx5FJHp+YCDtnWbUX8iiy7rgM= Received: by 10.103.93.18 with SMTP id v18mr2446166mul.43.1229974861609; Mon, 22 Dec 2008 11:41:01 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 11:41:01 -0800 (PST) Message-ID: <4ad871310812221141y437ae042u203e0772fc0df13e@mail.gmail.com> Date: Mon, 22 Dec 2008 14:41:01 -0500 From: "Glen Barber" To: "Eric Turgeon" , "FreeBSD Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4ad871310812220901j56d65f6bk7419c96f3d9f262b@mail.gmail.com> Cc: Subject: Re: I cant register 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, 22 Dec 2008 19:41:31 -0000 On Mon, Dec 22, 2008 at 12:55 PM, Eric Turgeon wrote: > > > On Mon, Dec 22, 2008 at 5:01 PM, Glen Barber > wrote: >> >> On Mon, Dec 22, 2008 at 11:44 AM, Eric Turgeon >> wrote: >> > Hi. I cant register in your forum because: Image verification could not >> > be >> > verified due to server issues. Please try again later. >> > Please check the problem please. 1 month lather never have access to the >> > forum. >> >> The forum is maintained separately. Please contact the forum >> administrator(s). >> >> do you have the mail please for because i dont have it Please reply to the list, not just to me. Use the contact form on the page. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:42:06 2008 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 ABACE1065676 for ; Mon, 22 Dec 2008 19:42:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swip.net [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 112A68FC2B for ; Mon, 22 Dec 2008 19:42:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=xRNF5UixfvkA:10 a=J7eJdbkFtDMA:10 a=6I5d2MoRAAAA:8 a=zmbqK66cGwQApszikeUA:9 a=9wEoMHBacMjzFg6YWIUA:7 a=fNQkmNDoo6shxJDyOuvvUUanl0cA:4 a=SV7veod9ZcQA:10 a=50e4U0PicR4A:10 a=qNfsqeB5S6M8GqLfWEUA:9 a=sHe3vdHnRMbs7Sbp2UMA:7 a=F5YzBXDzJjiwOpYNm4yZFR7I9fIA:4 a=rPt6xJ-oxjAA:10 Received: from [193.217.167.134] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 424645017; Mon, 22 Dec 2008 19:42:02 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 22 Dec 2008 19:44:14 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_BA+TJdRTB4mJOsd" Message-Id: <200812221944.17694.hselasky@c2i.net> Cc: clemens fischer , freebsd-questions@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 22 Dec 2008 19:42:06 -0000 --Boundary-00=_BA+TJdRTB4mJOsd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Try the attached patch to "sys/kern/vfs_mount.c" Thanks for reporting. I have been aware about this issue for some time now, but the patch has not been committed to current yet. I have FreeSBIE reliably up and running with USB2. --HPS On Monday 22 December 2008, clemens fischer wrote: > On Sun, 21 Dec 2008 14:47:54 +0100 clemens fischer wrote: > > [ re. a bootable CURRENT backup system on a USB stick] > > > I am very sorry for this inaccurate information. As it turns out, > > only the GENERIC kernel is bootable, my custom configuration doesn't. > > On the bright side, this indicates some feature missing from my > > normally very lean kernels, nothing is kaputt beyond repair. I'll > > just have to find out which module just has to be in the kernel to > > make it boot from an USB stick. > > The "custom configuration" uses the new USB2 stack, whereas GENERIC > still includes the older one. When replacing USB2 with the old stack, > I can reliably boot the system from the stick. > > I have another backup on a MMC card in a $5 card reader, but that one > boots with USB2. > > The USB stick which only runs on the old stack identifies as: > > ugen1.2: at usbus1 > umass0: on > usbus1 pass0: Removable Direct Access SCSI-0 > device da0: Removable Direct Access SCSI-0 > device umass0: SCSI over Bulk-Only; quirks = 0x0000 > > I don't know if any quirks would make this product work. To me it seems > as if it has to do with bulk handling? > > -c > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" --Boundary-00=_BA+TJdRTB4mJOsd Content-Type: text/x-diff; charset="iso-8859-1"; name="vfs_mount.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="vfs_mount.c.diff" --- vfs_mount.c.orig Mon Dec 22 14:43:36 2008 +++ vfs_mount.c Mon Dec 22 15:09:14 2008 @@ -58,6 +58,7 @@ #include #include #include +#include #include #include @@ -1606,7 +1607,11 @@ vfs_mountroot(void) { char *cp; - int error, i, asked = 0; + const char *rootdevname_orig; + int error; + unsigned int i; + unsigned char asked = 0; /* set if asked for mount point */ + unsigned char timeout = 16; /* seconds */ root_mount_prepare(); @@ -1624,6 +1629,10 @@ asked = 1; } + /* store a copy of the initial root device name */ + rootdevname_orig = ctrootdevname; + retry: + /* * The root filesystem information is compiled in, and we are * booted with instructions to use it. @@ -1674,12 +1683,27 @@ if (!vfs_mountroot_try(ctrootdevname)) goto mounted; /* - * Everything so far has failed, prompt on the console if we haven't - * already tried that. + * Check if we should try more times. + */ + if (timeout != 0) { + timeout--; + pause("WROOT", hz); + if (cncheckc() == -1) { + /* no key press - try again */ + ctrootdevname = rootdevname_orig; + goto retry; + } + } + + /* + * Everything so far has failed, prompt on the console if we + * haven't already tried that. */ - if (!asked) + if (!asked) { + printf("\n"); if (!vfs_mountroot_ask()) goto mounted; + } panic("Root mount failed, startup aborted."); --Boundary-00=_BA+TJdRTB4mJOsd-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:53:57 2008 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 56D98106564A for ; Mon, 22 Dec 2008 19:53:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DDE8E8FC13 for ; Mon, 22 Dec 2008 19:53:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LEqqd-00089C-6h for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 19:53:51 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 19:53:51 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 19:53:51 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Mon, 22 Dec 2008 20:53:39 +0100 Lines: 8 Message-ID: References: <20081222160902.b63595aa.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 081221-0, 21/12/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 22 Dec 2008 19:53:57 -0000 On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon wrote: >I have a similar setting, but it requires X, WindowMaker and a >Sun Type 6 USB keyboard. :-) Thanks for the input, but this server is text-only. I'll try to find how FreeBSD is configured so that ALT-CTRL-DEL maps to "reboot", and add my own keyboard key to shut it down. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 19:59:28 2008 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 42DF01065678 for ; Mon, 22 Dec 2008 19:59:28 +0000 (UTC) (envelope-from ghartl@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id E7E9B8FC28 for ; Mon, 22 Dec 2008 19:59:27 +0000 (UTC) (envelope-from ghartl@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1501926ywe.13 for ; Mon, 22 Dec 2008 11:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=IIuRhZJFUmyT1MVqBmLyQ93K5J0Yia8Q+9lY9qITvaI=; b=mN+TdY8H6LOo7/69LNPLU7FC49l7uAI27CD8zGhl4r0hTYa+GNscZwm4yfv5eXdDS2 kK5/e/AHZY7uMRNfP7Spk6zCmOLpPE9UQumc57SPSO1x80ah8a79tcctXd1Mxa6dciTZ Arx4yIXzEOwl+S47R3OEaOpTIu1swBibfJTbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; b=eS8cKhwVyevtMeQGBqQI5ZZqlNQ9mzkNO8KHWCcALwfE5Xdl7ucubRG8oSbf42uvqz MejlR/yr/mgKSho8tAOZAOobr/TgSeCXkAEG/qH4mZ+wiOEtRCqg1WKb4qO9p+mXYatF JNG+NHsoZPTd9is46ym16vZHgUOp1JWzN6fgk= Received: by 10.65.241.15 with SMTP id t15mr5365329qbr.8.1229975966677; Mon, 22 Dec 2008 11:59:26 -0800 (PST) Received: from mainpc (d226-16-220.home.cgocable.net [24.226.16.220]) by mx.google.com with ESMTPS id 12sm14662838qbw.9.2008.12.22.11.59.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 11:59:25 -0800 (PST) From: "Gary Hartl" To: "FreeBSD Questions" Date: Mon, 22 Dec 2008 14:58:58 -0500 Message-ID: <000801c9646f$bac267e0$304737a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Aclkb7nppGj0nftlTjGhEAYTcsW6NA== Content-Language: en-ca Subject: SOLVED: Snow in my Server 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, 22 Dec 2008 19:59:28 -0000 Well to all who responded to my emails I thank you...I plus I'm sure everyone else enjoyed the responses and to those who might have considered that I really had a problem...well ....well I got nothing... Merry Christmas, Happy Chanukah, Kwanza, or whatever it is you enjoy / celebrate this holiday season, and if you're one of those types that doesn't celebrate anything this time of year...well...enjoy yourself. Cheers, Gary From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:01:58 2008 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 BF3DB106564A for ; Mon, 22 Dec 2008 20:01:58 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6EDC18FC0C for ; Mon, 22 Dec 2008 20:01:56 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from Singularity.dyn.wh.reachlocal.com (rrcs-67-52-96-162.west.biz.rr.com [67.52.96.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 0C53A681BB for ; Mon, 22 Dec 2008 12:01:41 -0800 (PST) Message-ID: <494FF218.6000007@sequestered.net> Date: Mon, 22 Dec 2008 12:01:28 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <001401c9620b$fcaf9ee0$f60edca0$@com> <20081219194637.GA34178@free.bsd.loc> <1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <4ad871310812220850v316e37e8q3b5c04cd6d43bef6@mail.gmail.com> In-Reply-To: <4ad871310812220850v316e37e8q3b5c04cd6d43bef6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1230580904.25914@CGR6Fl68fsKg3C7QfazxbQ X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 0C53A681BB.8719A X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6, autolearn=not spam) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Subject: Re: Snow in my Server 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, 22 Dec 2008 20:01:58 -0000 Glen Barber wrote: > This may be kind of late to bring this up, but... I sincerely hope the > OP did not have a real issue... > > Cheers. > > I dunno, the idea of some idiot sitting somewhere with his servers in a snowbank upset because dozens of people responded to his earnest plea for help with laughter... I'd like to say I have more faith in people than that, but... -- CJC From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:02:41 2008 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 3EFCF106567D for ; Mon, 22 Dec 2008 20:02:41 +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 ED38B8FC18 for ; Mon, 22 Dec 2008 20:02:40 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan-a.emsphone.com [199.67.51.107]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id mBMK2eeS063071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 14:02:40 -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.3/8.14.3) with ESMTP id mBMK2d96048277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2008 14:02:39 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id mBMK2dKF048275; Mon, 22 Dec 2008 14:02:39 -0600 (CST) (envelope-from dan) Date: Mon, 22 Dec 2008 14:02:39 -0600 From: Dan Nelson To: Gilles Message-ID: <20081222200239.GI90803@dan.emsphone.com> References: <20081222160902.b63595aa.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Dec 2008 14:02:40 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 22 Dec 2008 20:02:41 -0000 In the last episode (Dec 22), Gilles said: > On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon > wrote: > >I have a similar setting, but it requires X, WindowMaker and a > >Sun Type 6 USB keyboard. :-) > > Thanks for the input, but this server is text-only. I'll try to find > how FreeBSD is configured so that ALT-CTRL-DEL maps to "reboot", and > add my own keyboard key to shut it down. See the kbdcontrol(1) manpage; the -d and -l options are what you need. The keyboard(4) manpage sort of describes the layout of the keymap file. The full list of actions isn't documented anywhere, but all you need is 'boot'. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:09:21 2008 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 5A4131065678 for ; Mon, 22 Dec 2008 20:09:21 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6CB8FC0C for ; Mon, 22 Dec 2008 20:09:18 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so6241727bwz.19 for ; Mon, 22 Dec 2008 12:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4SwArwHmrrVECVkPeIShg0Pod8PGBmA8k7vIkIXCHJc=; b=XxiHrcKbgIuRHfqRSFw5Eiu5crDaqGAbc3v3SGI0uZzR0clF3IGzHiT2wuBEgfFT4C dx/nMi8sFlEEhy+MZ3LBrWoTIgvWRyZTxj4/o1JAJ9s3bJL06OlQrkr+OJOvNA2jCmHj uxDnK79NxS6t73o3mHGRdJhrXHpYTYauyXYn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PaMYmFaXtgLR61zLUf+1Y9m6Fdpxrfu2KIflYZWzifd71rpT+ZVdTeDVkB6F18uyiS KH5NfZsjRZ9+1NgVzyIQZXH9lL0uPy8md7GKNyAfu2+w3p96lQhd2YZc97mOWrnPeEPC QJTsrejJMmT67PM/O1gZ7vjfD2KUu/k1pzIGQ= Received: by 10.103.175.8 with SMTP id c8mr2440249mup.117.1229976551046; Mon, 22 Dec 2008 12:09:11 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 12:09:11 -0800 (PST) Message-ID: <4ad871310812221209i4ee6a0b9q12278d3edcd9d6c2@mail.gmail.com> Date: Mon, 22 Dec 2008 15:09:11 -0500 From: "Glen Barber" To: "Gary Hartl" In-Reply-To: <000801c9646f$bac267e0$304737a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000801c9646f$bac267e0$304737a0$@com> Cc: FreeBSD Questions Subject: Re: SOLVED: Snow in my Server 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, 22 Dec 2008 20:09:21 -0000 On Mon, Dec 22, 2008 at 2:58 PM, Gary Hartl wrote: > Well to all who responded to my emails I thank you...I plus I'm sure > everyone else enjoyed the responses and to those who might have considered > that I really had a problem...well ....well I got nothing... > Surely you recognize my last email was sent in humor. :) > Merry Christmas, Happy Chanukah, Kwanza, or whatever it is you enjoy / > celebrate this holiday season, and if you're one of those types that doesn't > celebrate anything this time of year...well...enjoy yourself. > Enjoy! -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:20:19 2008 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 4FA4E106564A for ; Mon, 22 Dec 2008 20:20:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id CA5CE8FC2E for ; Mon, 22 Dec 2008 20:20:18 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so6255456bwz.19 for ; Mon, 22 Dec 2008 12:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zukgzn58yFojaxqEX6hiaxzX5srugxiJo/6maBXKHG8=; b=cNsZ+xjB5a32iE+B+EGZqt7/8nCt3Hgysvu9F2NUwDUdweTpGW4XVANGlDDVpafai1 Wma1z3Qy3gt3fRscZ1CXdwrHMyWs7cz1VI15BPScFrocteOYLDdaJqvkO5cOwUuUYuKg N7w19jbiZPgLEjvc8UVr8KOG5B61YAFIfHFa4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=egGbwsFZ5YWayEkaJaklacjB5gq1upUxNy1P9e0ZDSflRKnKbAF+QBqj8uaM9PjoRP wG3JoLPBveIYUpT13b9x7pCZFBx7VNizRQriflxBPsFps4u5j5kXzjnqxLD6umf8LMN5 //kGSZOMVtaQfRted9DpuA8qtB8VGoR86Gk2c= Received: by 10.103.225.11 with SMTP id c11mr2458508mur.24.1229977189325; Mon, 22 Dec 2008 12:19:49 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 12:19:49 -0800 (PST) Message-ID: <4ad871310812221219y4f9345ebr2028a4493a552ff@mail.gmail.com> Date: Mon, 22 Dec 2008 15:19:49 -0500 From: "Glen Barber" To: Gilles In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 22 Dec 2008 20:20:19 -0000 On Mon, Dec 22, 2008 at 9:31 AM, Gilles wrote: > Hello > > I'd like to make it easier for my dad to shutdown a server. Instead of > having him plug a keyboard, log on as root (with a complicated > password) and finally type "shutdown -h now", is it possible to assign > this command to some unused key like eg. Syst? Even better, send this > command only if the key is hit eg. three times within 2 seconds? > You could add him to the operator group, which would not require him to be root. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:25:41 2008 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 3D3401065674 for ; Mon, 22 Dec 2008 20:25:41 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5278FC19 for ; Mon, 22 Dec 2008 20:25:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LErLM-0000pC-UX for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 20:25:36 +0000 Received: from 93-138-92-40.adsl.net.t-com.hr ([93.138.92.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 20:25:36 +0000 Received: from ivoras by 93-138-92-40.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 20:25:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 22 Dec 2008 21:25:27 +0100 Lines: 69 Message-ID: References: <200812202039.NAA10290@lariat.net> <494D5B32.50806@gmail.com> <11167f520812211526h55a56a91ue4c06c02a170f439@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF99E5472C57462DD0B52F6D2" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-92-40.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <11167f520812211526h55a56a91ue4c06c02a170f439@mail.gmail.com> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Status of hyperthreading 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: Mon, 22 Dec 2008 20:25:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF99E5472C57462DD0B52F6D2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sam Fourman Jr. wrote: >> as far as i know, just enabling smp will allow ht to function. also, i= don't >> know if intel changed ht in the new atom processor, they could have. > is FreeBSD's smp special in some way that it would be the exception to > the following statement. > I know there was a lot of changes made in the new ULE2 scheduler maybe > that is why? >=20 > /* > Hyper-threading relies on support in the operating system as well as > the CPU. Conventional multiprocessor support is not enough to take > advantage of hyper-threading.[1] For example, even though Windows 2000 > supports multiple CPUs, Intel does not recommend that hyper-threading > be enabled under that operating system. > */ >=20 > I found this in wikipedia at the following link > http://en.wikipedia.org/wiki/Hyper-threading Yes, system respond variously to hyperthreading but it's mostly in two areas: a) Granularity of locking - systems with "big locks" like FreeBSD's Giant was when HTT was new don't scale well in multi-CPU configurations ("logical" CPUs) and simply using HTT can expose and increase these inefficiencies. Modern FreeBSD locking is "good enough" for 8 cores in 7.x and it's improving in 8.x. b) Behaviour in multi-core (or multi-CPU) case when individual CPUs or cores support HTT. This is a scheduler issue - if the scheduler isn't aware that some logical CPU's are "fake" and some are not (i.e. if it treats all of them equally) it could move processes or threads from one CPU or CPU core to another when it would be much better to move it from one "fake" (hyperthreaded) CPU to another within the same "real" CPU. There are more similar issues here, but none of them (including those I described) are applicable to Atom since a) locking in FreeBSD is good enough for it in recent releases (even in 6.x) and b) there are only two "fake" logical CPUs and they really can be treated equally. Now, with Nehalem design (i7) the system can have a quad-core CPU (actually, several of those) with each core supporting hyperthreading. A system with 16 logical CPUs (2 x quadcore x HTT) isn't really strange any more. The scheduler knows about HTT, so the issues under "a)" are much more noticable. --------------enigF99E5472C57462DD0B52F6D2 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.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklP97cACgkQldnAQVacBciN0gCfXWIxegNpLrbl5meIi3pj4dmt GwsAnjLjB9Kk/KSVYWOZQAoAql0szZEV =Kxp5 -----END PGP SIGNATURE----- --------------enigF99E5472C57462DD0B52F6D2-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 20:31:55 2008 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 9EB0C1065678 for ; Mon, 22 Dec 2008 20:31:55 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7068C8FC17 for ; Mon, 22 Dec 2008 20:31:53 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LErRM-00012F-Jz for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 20:31:48 +0000 Received: from 93-138-92-40.adsl.net.t-com.hr ([93.138.92.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 20:31:48 +0000 Received: from ivoras by 93-138-92-40.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Dec 2008 20:31:48 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 22 Dec 2008 21:31:39 +0100 Lines: 41 Message-ID: References: <200812202039.NAA10290@lariat.net> <20081222092818.N17220@wojtek.tensor.gdynia.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5A1ABF547A065D94ACDEC6BF" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-92-40.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <20081222092818.N17220@wojtek.tensor.gdynia.pl> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: Status of hyperthreading 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: Mon, 22 Dec 2008 20:31:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A1ABF547A065D94ACDEC6BF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Wojciech Puchar wrote: >> >> Atom's HTT is actually pretty good - I saw up to 25% more performance >> simply by using multithreading in 7zip's compression benchmark (on >> WinXP, though). Of course, OTOH it uses about that much more transisto= rs >> on the CPU die so it's not exactly free performance. >=20 > really that much? i thought maybe 1-2% (just 2 sets of registers). Screenshots are available :) I was also surprised because in this case both threads use the same algorithm with the same requirements on registers. It used to be (in the days of Pentium 4) that HTT would work best if the two threads used different sets of instructions and registers (e.g. one doing integer math and another doing floating point math). I guess they made more effort this time. --------------enig5A1ABF547A065D94ACDEC6BF 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.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklP+SsACgkQldnAQVacBciP+ACgsJs0OpCk7R6ce5SUbNQcbMRy 1+EAnixv9YXJF4sd4ta1RirfKNOAanss =2YNh -----END PGP SIGNATURE----- --------------enig5A1ABF547A065D94ACDEC6BF-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 21:49:47 2008 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 66A7F1065673 for ; Mon, 22 Dec 2008 21:49:47 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id A6E038FC16 for ; Mon, 22 Dec 2008 21:49:46 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by bwz12 with SMTP id 12so6374522bwz.19 for ; Mon, 22 Dec 2008 13:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=oKNYQkidIWInBZrSSYdbo+WpfBV2Y2w8ki3hG+xBy6E=; b=TX7ehQHWAFp/6uUQGv4lkXOs2cBzV7QmNZZHn7eRHFlLZBOKxzuD/3n52o0WCLfiLO e1SkSj3NXxyH+qJjNToRVZJx1djmG5Mrpe8d6zqgWSD2vwgFev4QM4IczjdmOqkIu5Fg F4RF2ev0zxMrdpmNHCdJx4R+7ZUbYlVPub9A0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=La9m18PONA7QxuzIP5bzrprJH8ejAw6mniftkAjAPZayj33E2dr2yiHGFy6z7diLkH QGIMt8To5+NLx7mu5ZKZwkeL6EGFvPEetMGDTD0Gx35nAjMZVaXc1DQta9oSATfK74ed w7U105+W010+LP835lyfoW8sow1h+4ogwyG0I= Received: by 10.181.137.17 with SMTP id p17mr1519856bkn.193.1229982584943; Mon, 22 Dec 2008 13:49:44 -0800 (PST) Received: by 10.181.13.11 with HTTP; Mon, 22 Dec 2008 13:49:44 -0800 (PST) Message-ID: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> Date: Mon, 22 Dec 2008 13:49:44 -0800 From: "Nerius Landys" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Wireless router? 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, 22 Dec 2008 21:49:47 -0000 I have a PC with FreeBSD set up as a router (NAT). The PC has several network cards and I'm grouping the internal-facing network cards as a bridge (promiscuous mode for the interfaces). Everything works well. Now I'd like to extend my wired network to include wireless. I really have no experience with wireless networks. I have a couple of computers that are wireless-ready (a laptop and a Playstation 3 that I won in a raffle). Is it possible to somehow add some hardware to my FreeBSD router PC to make it into a wireless router? What kind of hardware would I install? What is it called? The PC only has PCI slots, can you recommend a brand and model of "wireless server equiptment" if such a thing exists? Would a normal wireless card suffice? What model should I get? I would prefer to set up static internal IPs for my wireless network at home, would this be possible? Or is DHCP the way to go (I hesitate at the thought of configuring a DHCP server). Another way to go is to hook up a standalone wireless router appliance to my FreeBSD machine's network interface (one of the interfaces). I already have such a device, I think it's made by Linksys. But then, I would be NAT'ing both through the FreeBSD machine and through the wireless router. So it would be a double-NAT so to speak. Is there anything wrong with that approach? So in a nutshell, I have a wired FreeBSD router with multiple ethernet jacks at home, and I want to extend it to include wireless network. Any suggestions would be appreciated. Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:05:28 2008 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 AE3931065675 for ; Mon, 22 Dec 2008 22:05:28 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from smtp2.brturbo.com.br (smtp2.brte.com.br [200.199.201.149]) by mx1.freebsd.org (Postfix) with ESMTP id 2E77E8FC16 for ; Mon, 22 Dec 2008 22:05:27 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from lobo (unknown [189.70.96.231]) by smtp2.brturbo.com.br (Postfix) with ESMTP id F34933405 for ; Mon, 22 Dec 2008 19:58:50 -0200 (BRST) From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Mon, 22 Dec 2008 19:05:32 -0300 User-Agent: KMail/1.9.10 References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> In-Reply-To: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812221905.32532.mlobo@digiart.art.br> Subject: Re: Wireless router? 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, 22 Dec 2008 22:05:28 -0000 On Monday 22 December 2008 18:49:44 Nerius Landys wrote: > I have a PC with FreeBSD set up as a router (NAT). The PC has several > network cards and I'm grouping the internal-facing network cards as a > bridge (promiscuous mode for the interfaces). Everything works well. > > Now I'd like to extend my wired network to include wireless. I really > have no experience with wireless networks. I have a couple of > computers that are wireless-ready (a laptop and a Playstation 3 that I > won in a raffle). Is it possible to somehow add some hardware to my > FreeBSD router PC to make it into a wireless router? What kind of > hardware would I install? What is it called? The PC only has PCI > slots, can you recommend a brand and model of "wireless server > equiptment" if such a thing exists? Would a normal wireless card > suffice? What model should I get? I would prefer to set up static > internal IPs for my wireless network at home, would this be possible? > Or is DHCP the way to go (I hesitate at the thought of configuring a > DHCP server). > > Another way to go is to hook up a standalone wireless router appliance > to my FreeBSD machine's network interface (one of the interfaces). I > already have such a device, I think it's made by Linksys. But then, I > would be NAT'ing both through the FreeBSD machine and through the > wireless router. So it would be a double-NAT so to speak. Is there > anything wrong with that approach? > > So in a nutshell, I have a wired FreeBSD router with multiple ethernet > jacks at home, and I want to extend it to include wireless network. > Any suggestions would be appreciated. Thanks. > _______________________________________________ > 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" If you already have a wireless router, all you have to do is to turn it into an access point to your internal lan. Disable its DHCP server, assign a free LAN IP to the router LAN ethernet,plug one of its LAN ports into your switch and assign free LAN IPs to the wireless cards of your LAN machines. That's what I did here at home and works like a charm. If you need a DHCP server you have to set it up on the FreeBSD router. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:06:20 2008 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 656771065673 for ; Mon, 22 Dec 2008 22:06:20 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from viefep18-int.chello.at (viefep14-int.chello.at [62.179.121.34]) by mx1.freebsd.org (Postfix) with ESMTP id CF1598FC1F for ; Mon, 22 Dec 2008 22:06:19 +0000 (UTC) (envelope-from jerome@code-monkey.nl) Received: from edge04.upc.biz ([192.168.13.239]) by viefep18-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081222220510.SSSX10001.viefep18-int.chello.at@edge04.upc.biz>; Mon, 22 Dec 2008 23:05:10 +0100 Received: from f89199.upc-f.chello.nl ([92.108.20.29]) by edge04.upc.biz with edge id uN581a01q0dehbQ04N59th; Mon, 22 Dec 2008 23:05:10 +0100 X-SourceIP: 92.108.20.29 Received: from localhost ([127.0.0.1]) by f89199.upc-f.chello.nl; Mon, 22 Dec 2008 23:07:17 +0100 To: "Paul B. Mahol" From: jerome In-Reply-To: 3a142e750812220415o2a361006vf18468b485440ff3@mail.gmail.com Message-ID: <20081222220717.49dbefc9@f89199.upc-f.chello.nl> Date: Mon, 22 Dec 2008 23:07:17 +0100 X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: disk error / reboot / 6.3 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, 22 Dec 2008 22:06:20 -0000 Hi Paul, Ok, thanks. Will let you know the outcome. -Jerome _____ From: Paul B. Mahol [mailto:onemda@gmail.com] To: jerome [mailto:jerome@code-monkey.nl] Cc: freebsd-questions@freebsd.org Sent: Mon, 22 Dec 2008 13:15:12 +0100 Subject: Re: disk error / reboot / 6.3 On 12/22/08, jerome wrote: > Hi Paul, > > The server resets while running, like pressing the reset button... Try this patch: --- src/sys/dev/ata/ata-queue.c 2008/10/27 09:26:24 1.74 +++ src/sys/dev/ata/ata-queue.c 2008/11/27 03:37:46 1.75 @@ -357,7 +357,7 @@ ata_completed(void *context, int dummy) "\6MEDIA_CHANGED\5NID_NOT_FOUND" "\4MEDIA_CHANGE_REQEST" "\3ABORTED\2NO_MEDIA\1ILLEGAL_LENGTH"); - if ((request->flags & ATA_R_DMA) && + if ((request->flags & ATA_R_DMA) && request->dma && (request->dma->status & ATA_BMSTAT_ERROR)) printf(" dma=0x%02x", request->dma->status); if (!(request->flags & (ATA_R_ATAPI | ATA_R_CONTROL))) -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:13:18 2008 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 119E21065670 for ; Mon, 22 Dec 2008 22:13:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id DAE398FC13 for ; Mon, 22 Dec 2008 22:13:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 7034 invoked from network); 22 Dec 2008 22:13:16 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Dec 2008 22:13:16 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3E26F5085A; Mon, 22 Dec 2008 17:13:15 -0500 (EST) To: RW References: <1229788709.1583.16.camel@MGW_1> <44iqpezlb8.fsf@lowell-desk.lan> <20081220205414.A10042@wojtek.tensor.gdynia.pl> <448wqazfyf.fsf@lowell-desk.lan> <20081220224016.S10302@wojtek.tensor.gdynia.pl> <441vw2zcdb.fsf@lowell-desk.lan> <20081221031611.6f1dc764@gumby.homeunix.com> From: Lowell Gilbert Date: Mon, 22 Dec 2008 17:13:14 -0500 In-Reply-To: <20081221031611.6f1dc764@gumby.homeunix.com> (RW's message of "Sun\, 21 Dec 2008 03\:16\:11 +0000") Message-ID: <44k59rq2o5.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Network Stack Code Re-write (Possible motivations...?) 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, 22 Dec 2008 22:13:18 -0000 RW writes: > On Sat, 20 Dec 2008 17:54:24 -0500 > Lowell Gilbert wrote: > >> However, >> commercial routers generally do not use their OS kernel this way -- it >> is far more common that the kernel does send and receive packets >> within its native IP stack. > > If I'm understanding you right, I'm surprised by that (the native part). > It make any proprietary software less portable. You're also tying your > code into third-party internals, which sounds like a maintenance > problem. Yes, but I think that's a fairly small effect. The packet send/receive interface involved is generally pretty small, regardless of how you implement it. > I would have thought that the likes of Cisco and Alcatel > etc would would have reusable codebases that abstract the OS and > minimize OS dependencies. That's always a goal, of course. Completely throwing out the protocol stacks in the OS kernel doesn't make most things more portable, though. There are a fair number of system parameters that are already implemented in OS kernels, and reinventing that wheel doesn't buy you anything. > What's the advantage, don't routers usually lead OS's in terms > of new protocol support? Protocol support per se is generally fairly independent from the OS in a hardware router; high level protocols are usually handled in userland, and low level protocols are mostly a hardware issue. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:18:10 2008 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 50E4B106564A for ; Mon, 22 Dec 2008 22:18:10 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from smtp2.brturbo.com.br (smtp2.brte.com.br [200.199.201.149]) by mx1.freebsd.org (Postfix) with ESMTP id C4D5B8FC17 for ; Mon, 22 Dec 2008 22:18:09 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from lobo (unknown [189.70.96.231]) by smtp2.brturbo.com.br (Postfix) with ESMTP id 0642F3402 for ; Mon, 22 Dec 2008 20:11:34 -0200 (BRST) From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Mon, 22 Dec 2008 19:18:16 -0300 User-Agent: KMail/1.9.10 References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <200812221905.32532.mlobo@digiart.art.br> In-Reply-To: <200812221905.32532.mlobo@digiart.art.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812221918.16737.mlobo@digiart.art.br> Subject: Re: Wireless router? 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, 22 Dec 2008 22:18:10 -0000 On Monday 22 December 2008 19:05:32 Mario Lobo wrote: > On Monday 22 December 2008 18:49:44 Nerius Landys wrote: > > I have a PC with FreeBSD set up as a router (NAT). The PC has several > > network cards and I'm grouping the internal-facing network cards as a > > bridge (promiscuous mode for the interfaces). Everything works well. > > > > Now I'd like to extend my wired network to include wireless. I really > > have no experience with wireless networks. I have a couple of > > computers that are wireless-ready (a laptop and a Playstation 3 that I > > won in a raffle). Is it possible to somehow add some hardware to my > > FreeBSD router PC to make it into a wireless router? What kind of > > hardware would I install? What is it called? The PC only has PCI > > slots, can you recommend a brand and model of "wireless server > > equiptment" if such a thing exists? Would a normal wireless card > > suffice? What model should I get? I would prefer to set up static > > internal IPs for my wireless network at home, would this be possible? > > Or is DHCP the way to go (I hesitate at the thought of configuring a > > DHCP server). > > > > Another way to go is to hook up a standalone wireless router appliance > > to my FreeBSD machine's network interface (one of the interfaces). I > > already have such a device, I think it's made by Linksys. But then, I > > would be NAT'ing both through the FreeBSD machine and through the > > wireless router. So it would be a double-NAT so to speak. Is there > > anything wrong with that approach? > > > > So in a nutshell, I have a wired FreeBSD router with multiple ethernet > > jacks at home, and I want to extend it to include wireless network. > > Any suggestions would be appreciated. Thanks. > > _______________________________________________ > > 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" > > If you already have a wireless router, all you have to do is to turn it > into an access point to your internal lan. Disable its DHCP server, assign > a free LAN IP to the router LAN ethernet,plug one of its LAN ports into > your switch and assign free LAN IPs to the wireless cards of your LAN > machines. > > That's what I did here at home and works like a charm. > > If you need a DHCP server you have to set it up on the FreeBSD router. Sorry for replying to myself but it needed a correction. You CAN use the wireless router as your DHCP server!. Just assign a range from your LAN's IPs. The WAN port won't matter. It won't be used. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:18:47 2008 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 281EA1065677 for ; Mon, 22 Dec 2008 22:18:47 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id F2ADD8FC12 for ; Mon, 22 Dec 2008 22:18:46 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 20511 invoked from network); 22 Dec 2008 22:18:46 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Dec 2008 22:18:46 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 409B750863; Mon, 22 Dec 2008 17:18:45 -0500 (EST) To: martes@mgwigglesworth.com References: <1229788709.1583.16.camel@MGW_1> <20081220172702.B9566@wojtek.tensor.gdynia.pl> <1229798135.1583.20.camel@MGW_1> <20081220222043.5b336ec0@gumby.homeunix.com> <1229812858.1583.37.camel@MGW_1> From: Lowell Gilbert Date: Mon, 22 Dec 2008 17:18:45 -0500 In-Reply-To: <1229812858.1583.37.camel@MGW_1> (Martes G. Wigglesworth's message of "Sat\, 20 Dec 2008 17\:40\:58 -0500") Message-ID: <44fxkfq2ey.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: RW , freebsd-questions@freebsd.org Subject: Re: Network Stack Code Re-write (Possible motivations...?) 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, 22 Dec 2008 22:18:47 -0000 Martes G Wigglesworth writes: > Thanks again for further information on this topic. > > Where can I find more information this as a research topic. I am > talking about Academic/PHD-level information or industry-level > information. Academic and commercial information tend to be separate topics. The former is mostly found in peer-reviewed journals, like most academic publication. The latter is harder to get access to, but you can often find corporate white papers and so forth to give you some ideas. I can't think of anything more useful to say unless you have a more specific set of questions to investigate. If you're looking for more of an overview, the usual suspects (books by Comer, Stevens, Tanenbaum, etc.) will be a good start. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:19:33 2008 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 D95801065670 for ; Mon, 22 Dec 2008 22:19:33 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6503C8FC1A for ; Mon, 22 Dec 2008 22:19:33 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so522799ika.3 for ; Mon, 22 Dec 2008 14:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=3nqYu6avVIM1a4RLndIDHynehnYI9GoX43kAasT3qN0=; b=PtgOBAwvybjK6ecVNrMPEV5rrIl/FKFeXOMTkZrgQobSVdmzurCLeyYrz16m6bJGJA d3Yknuh3py/utoqNdq4ycK08PdKh/H6BDuiLRsmnUIPT3Wqj4hIts23vBPwaRejlD3Kz mtUR2sKft/zK9ioV9Q/yaQYol7gcYFoNqWGe0= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=WarcHIn+0phpfafuE/9lqfZMj/tK8fmBH7NkV5wEE2tgF5Z0Ma/3QV2Xz2r8BaGnI3 GeinB2MSbHF5JpJ0XHBVFxn+etr4+wN/xufasq6QN8wpf6m+D94WY6hXMzIYTxPUctTv kar1HqtypqPcNoW0FqtHh48dfFOeIFnOllXVs= Received: by 10.210.29.17 with SMTP id c17mr6692158ebc.128.1229984372011; Mon, 22 Dec 2008 14:19:32 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-04701.home.otenet.gr [87.202.18.129]) by mx.google.com with ESMTPS id k5sm24129395nfh.52.2008.12.22.14.19.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Dec 2008 14:19:30 -0800 (PST) Message-ID: <49501270.6020603@gmail.com> Date: Tue, 23 Dec 2008 00:19:28 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Nerius Landys References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> In-Reply-To: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 22 Dec 2008 22:19:34 -0000 Nerius Landys wrote: > I have a PC with FreeBSD set up as a router (NAT). The PC has several > network cards and I'm grouping the internal-facing network cards as a > bridge (promiscuous mode for the interfaces). Everything works well. > > Now I'd like to extend my wired network to include wireless. I really > have no experience with wireless networks. I have a couple of > computers that are wireless-ready (a laptop and a Playstation 3 that I > won in a raffle). Is it possible to somehow add some hardware to my > FreeBSD router PC to make it into a wireless router? What kind of > hardware would I install? What is it called? The PC only has PCI > slots, can you recommend a brand and model of "wireless server > equiptment" if such a thing exists? Would a normal wireless card > suffice? What model should I get? Yes, a supported Wireless net card would suffice. It can be configured to work in "Access Point" mode, essentially what a cheap wireless router would. Instructions in section 32.3.5 here: http://www.freebsd.org/doc/en/books/handbook/network-wireless.html While I haven't used FreeBSD in this mode, from my experience atheros-based (ath(4)) cards work well. I have no less than three Dlink DWL-G520 cards and never had any problems. This is a rather older model now, newer atheros cards may need a newer HAL than the one currently in the source tree (e.g. the Aspire One uses a newer atheros, and needs a custom kernel with some of the original files replaced. I believe -CURRENT has the newer HAL though). I recently also got a Linksys WMP 54G that is based on a Ralink chipset (ral(4)). This also works nicely. > I would prefer to set up static > internal IPs for my wireless network at home, would this be possible? > Sure. I am using static IPs in all my wireless clients. > Or is DHCP the way to go (I hesitate at the thought of configuring a > DHCP server). > > Configuring a DHCP server is very easy. I've only used it with wired ethernet though. Have a read at this: http://www.freebsd.org/doc/en/books/handbook/network-dhcp.html > Another way to go is to hook up a standalone wireless router appliance > to my FreeBSD machine's network interface (one of the interfaces). I > already have such a device, I think it's made by Linksys. But then, I > would be NAT'ing both through the FreeBSD machine and through the > wireless router. So it would be a double-NAT so to speak. Is there > anything wrong with that approach? > I've used something similar and it worked. Don't know about possible drawbacks, cause it was only a toy for me. My setup was something like this: Wireless standalone router (built in NAT) --> FreeBSD system as wireless client of the router + wired ethernet card --> FreeBSD NAT using pf / ipfw --> Wired internal ethernet (with DHCP server) --> Wired client(s) So I guess your approach is also possible. > So in a nutshell, I have a wired FreeBSD router with multiple ethernet > jacks at home, and I want to extend it to include wireless network. > Any suggestions would be appreciated. Thanks. > Probably multiple solutions exist, start up by buying a cheap but supported wireless card. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:36:51 2008 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 F0882106567F for ; Mon, 22 Dec 2008 22:36:51 +0000 (UTC) (envelope-from jdow@earthlink.net) Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by mx1.freebsd.org (Postfix) with ESMTP id BF78E8FC14 for ; Mon, 22 Dec 2008 22:36:51 +0000 (UTC) (envelope-from jdow@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=dZXeMz4eGMuFPmJsIKCuigemzFd1Wx1U/BqfQln58LSeqMtzoC7qHQas+aa00iF5; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP; Received: from [208.127.31.113] (helo=wednesday) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1LEtFN-0004Wy-4t for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 17:27:33 -0500 Message-ID: <8CBB90CA0054418C9F1BC9475BAB3B57@wednesday> From: "jdow" To: References: <000801c9646f$bac267e0$304737a0$@com> <4ad871310812221209i4ee6a0b9q12278d3edcd9d6c2@mail.gmail.com> Date: Mon, 22 Dec 2008 14:27:33 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-ELNK-Trace: bb89ecdb26a8f9f24d2b10475b571120d3803e5970334807e71cdf920be69d55a783c2d323567ccb350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 208.127.31.113 Subject: Re: SOLVED: Snow in my Server 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, 22 Dec 2008 22:36:52 -0000 From: "Glen Barber" Sent: Monday, 2008, December 22 12:09 > On Mon, Dec 22, 2008 at 2:58 PM, Gary Hartl wrote: >> Well to all who responded to my emails I thank you...I plus I'm sure >> everyone else enjoyed the responses and to those who might have >> considered >> that I really had a problem...well ....well I got nothing... >> > > Surely you recognize my last email was sent in humor. :) Surely you know that is why it was taken seriously, don't you? >> Merry Christmas, Happy Chanukah, Kwanza, or whatever it is you enjoy / >> celebrate this holiday season, and if you're one of those types that >> doesn't >> celebrate anything this time of year...well...enjoy yourself. What he said. >> > > Enjoy! > > -- > Glen Barber {^_^} From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:46:18 2008 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 642A11065670 for ; Mon, 22 Dec 2008 22:46:18 +0000 (UTC) (envelope-from jdow@earthlink.net) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8E08FC14 for ; Mon, 22 Dec 2008 22:46:18 +0000 (UTC) (envelope-from jdow@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=P8QbRSffK42J6ZF6JFd1FB+BbQHjAPibSfvV9g0pntjSh+osCjqpJnTFa14u+mKa; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP; Received: from [208.127.31.113] (helo=wednesday) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1LEtDe-0001Qu-Dj for freebsd-questions@freebsd.org; Mon, 22 Dec 2008 17:25:46 -0500 Message-ID: From: "jdow" To: References: <001401c9620b$fcaf9ee0$f60edca0$@com><20081219194637.GA34178@free.bsd.loc><1229961685.4673.52.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Date: Mon, 22 Dec 2008 14:25:46 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-ELNK-Trace: bb89ecdb26a8f9f24d2b10475b571120d3803e59703348075771f3324109ea070f62e258021b615c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 208.127.31.113 Subject: Re: Snow in my Server 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, 22 Dec 2008 22:46:18 -0000 But then you have to add in the "flood-control" port. {^_^} ----- Original Message ----- From: "lysergius2001" Sent: Monday, 2008, December 22 08:23 > Hmm, I'm surprised that no one suggested that you build and install the > snow-melt port? > > On Mon, Dec 22, 2008 at 4:01 PM, Brian A. Seklecki < > bseklecki@collaborativefusion.com> wrote: > >> On Fri, 2008-12-19 at 22:46 +0300, Jeff Laine wrote: >> > Just mv teh snowflakes to /dev/null ^_- >> >> $ sudo pkill -9 xsnow >> >> ~BAS >> >> -- >> Brian A. Seklecki >> Collaborative Fusion, Inc. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 23:02:28 2008 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 E8A73106564A; Mon, 22 Dec 2008 23:02:28 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.190]) by mx1.freebsd.org (Postfix) with ESMTP id 85CCE8FC19; Mon, 22 Dec 2008 23:02:28 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1871559rne.12 for ; Mon, 22 Dec 2008 15:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=gLyHLMJj/77NwE7gpmam95BF6VkMA3SF5MtK6FCICdg=; b=nNOQnOApDgmLieSnj1M29dpfF5JiSJkczjVzU+Uhb/BwFbmqi+Jnp7Xy9kXXG3VPkb FZ1153o+Q2d4I+f8a3zQ0rj1+P6ssLfiGPQLx2qlXATvz8YsLyu8vkBJ7geWnU2cO4wN 46r2yl7EdeZxl6meixaCF5SDmATbAWohTSscQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=luL7R2W/K8JlCFhegMO3HwMT68RcICdOJYocPPpoXaAqzSsMJ9WMxFDiLkE8HWKxcN lWmowAi+q/Q3nJzHEueSXVBwt69l4vuC1lZXamyi7ekIJPc7wOVYppJ34w/X55nJWDpX A06Nj2kjjuQ6LdCybi+XaL4GptJinmLpguhk0= Received: by 10.100.126.15 with SMTP id y15mr4177532anc.123.1229986947751; Mon, 22 Dec 2008 15:02:27 -0800 (PST) Received: by 10.100.4.14 with HTTP; Mon, 22 Dec 2008 15:02:27 -0800 (PST) Message-ID: <539c60b90812221502t4d6d9053jc30d9556ad97c5f7@mail.gmail.com> Date: Mon, 22 Dec 2008 16:02:27 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "Alexander Motin" , "FreeBSD Mailing List" In-Reply-To: <494FE13F.6050107@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <494FE13F.6050107@FreeBSD.org> X-Google-Sender-Auth: 3b3e5e0cbc8ce369 Cc: Subject: Re: No sound from snd_hda 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, 22 Dec 2008 23:02:29 -0000 On Mon, Dec 22, 2008 at 11:49 AM, Alexander Motin wrote: > Damian Gerow wrote: >> >> I've got an Intel HDA device that is sort-of detected, but I get no sound >> from it: >> >> ----- >> FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) >> Installed devices: >> pcm0: at cad 0 nid 1 on hdac0 kld >> snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default) >> pcm1: at cad 0 nid 1 on hdac0 kld >> snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) >> ----- >> >> The same device looked almost exactly the same on a 7.1-BETA build, but I >> actually had audio output. >> >> I've checked the mixer device, tried muting and unmuting various channels, >> all to no avail. The audio devices are created, and every program I've >> tried opens them successfully, but I get no actual sound. >> >> I've tried searching around, but I haven't been able to turn anything up. >> Is there something I'm missing? Something I should be doing that I'm not? > > You are missing new snd_hda man page reading. RTFM. :) > > 1) Read new man page; > 2) Driver provides you two pcm devices for different purposes, so try to use > both (as man page recommends); > 3) If your system has several audio connectors - try all of them, they are > not equal any more. > 4) Boot with verbose logs enabled to get much more information about your > codec and driver operation (as man page recommends); > 5) Connexant audio codecs are rare, so send your verbose output to me, I > would like to see it. > > -- > Alexander Motin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > Should I be asking you about the old snd_hda? I'm having this same problem and ignoring it for some time (no sound), but on FreeBSD aire.franks-development.dyndns.biz 6.4-STABLE FreeBSD 6.4-STABLE #9: Sat Dec 13 18:25:36 MST 2008 root@aire.franks-development.dyndns.biz:/usr/obj/usr/src/sys/GENERIC amd64 instead of current. I read the warning: A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering the snd_hda driver useless, which usually results in a state where the snd_hda driver seems to attach and work, but without any sound. In the man page, and I suspect that may be my problem. Chipset is Intel. I played with the bios, but only got it to be worse (snd_hda not detected at all). [steve@aire ~]$ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at memory 0xfdff8000 irq 16 kld snd_hda [20071129_0050] (1p/1r/1v channels duplex default) Is there any further info that would help? I've been limping along on a usb dongle and it's a bit sad ;) Thanks, Steve From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 23:13:01 2008 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 AA9DA1065674 for ; Mon, 22 Dec 2008 23:13:01 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 580088FC0C for ; Mon, 22 Dec 2008 23:13:00 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id mBMNCr9t092094; Tue, 23 Dec 2008 00:12:59 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 90246B853; Tue, 23 Dec 2008 00:12:53 +0100 (CET) Date: Tue, 23 Dec 2008 00:12:53 +0100 From: Roland Smith To: Nerius Landys Message-ID: <20081222231253.GA38631@slackbox.xs4all.nl> References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 22 Dec 2008 23:13:01 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 22, 2008 at 01:49:44PM -0800, Nerius Landys wrote: > I have a PC with FreeBSD set up as a router (NAT). The PC has several > network cards and I'm grouping the internal-facing network cards as a > bridge (promiscuous mode for the interfaces). Everything works well. >=20 > Now I'd like to extend my wired network to include wireless. I really > have no experience with wireless networks. I have a couple of > computers that are wireless-ready (a laptop and a Playstation 3 that I > won in a raffle). Is it possible to somehow add some hardware to my > FreeBSD router PC to make it into a wireless router?=20 Yes. > What kind of hardware would I install? What is it called?=20 Wireless card. > The PC only has PCI slots, can you recommend a brand and model of > "wireless server equiptment" if such a thing exists? Would a normal > wireless card suffice? Yes > What model should I get?=20 Now that's the tricky bit. If you look at the wlan(4) manual page, you will see the supported wireless chipset in the SEE ALSO section. The trick is knowing which chipset a certain card has. It is usually _not_ listed on the box or on the manufacturer's website, because it comes with windoze drivers so most of the users don't give a damn about the chipset. And some manufacturers put different chipsets in different batches of the same card depending on what they can get their hands on. If you see a card that you like and you cannot get the name and type of chipset used, download the windows driver. It will come with an in information file (.inf) that usually contains the name and type of the chipset. > I would prefer to set up static internal IPs for my wireless network > at home, would this be possible? Or is DHCP the way to go (I hesitate > at the thought of configuring a DHCP server). You could use the wlan_acl module to grant access based on the MAC address. But it might be better to do it somewhat more sophisticated and run hostapd(8). > Another way to go is to hook up a standalone wireless router appliance > to my FreeBSD machine's network interface (one of the interfaces). I > already have such a device, I think it's made by Linksys. But then, I > would be NAT'ing both through the FreeBSD machine and through the > wireless router. So it would be a double-NAT so to speak. Is there > anything wrong with that approach? It's probably easier. But you'll have to be on the lookout for vulnerabilities in the router software.=20 When I got a wireless card for my desktop, the idea was to make a wireless conncetion to my laptop. But you have to set up hostapd on the access point, and wpa_supplicant on the laptop. And the manual pages in question don't give an overview of the process, and neither does the handbook. The section of the handbook dealing with wireless networks is outdated and in need of expert attention. Unfortunately I didn't get far enough to be that expert. In the end it was much easier and faster for me to just plug a cross-cable into the laptop from the desktop. (fast=3Dnice when you're running rsync(1) or if you're transferring dumps via nc(1)) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklQHvUACgkQEnfvsMMhpyXsNwCbBL6fnfc0lIHIUeV8NTvsGnqI kD8AniAxltVcRR068n1J9eMS8ApuoN2i =9+A4 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 23:36:09 2008 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 0BF491065679 for ; Mon, 22 Dec 2008 23:36:09 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.freebsd.org (Postfix) with ESMTP id 96D6E8FC13 for ; Mon, 22 Dec 2008 23:36:08 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 127813926D; Tue, 23 Dec 2008 00:36:07 +0100 (CET) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id E5754392CE; Tue, 23 Dec 2008 00:36:06 +0100 (CET) Received: from [192.168.1.31] (90-227-65-237-no41.tbcn.telia.com [90.227.65.237]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with ESMTP id F352537E48; Tue, 23 Dec 2008 00:36:05 +0100 (CET) Message-ID: <4950245D.5090006@telia.com> Date: Tue, 23 Dec 2008 00:35:57 +0100 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Nerius Landys References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> In-Reply-To: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 23:36:09 -0000 Nerius Landys skrev: > I have a PC with FreeBSD set up as a router (NAT). The PC has several > network cards and I'm grouping the internal-facing network cards as a > bridge (promiscuous mode for the interfaces). Everything works well. > > Now I'd like to extend my wired network to include wireless. I really > have no experience with wireless networks. I have a couple of > computers that are wireless-ready (a laptop and a Playstation 3 that I > won in a raffle). Is it possible to somehow add some hardware to my > FreeBSD router PC to make it into a wireless router? What kind of > hardware would I install? What is it called? The PC only has PCI > slots, can you recommend a brand and model of "wireless server > equiptment" if such a thing exists? Would a normal wireless card > suffice? What model should I get? I would prefer to set up static > internal IPs for my wireless network at home, would this be possible? > Or is DHCP the way to go (I hesitate at the thought of configuring a > DHCP server). > > Another way to go is to hook up a standalone wireless router appliance > to my FreeBSD machine's network interface (one of the interfaces). I > already have such a device, I think it's made by Linksys. But then, I > would be NAT'ing both through the FreeBSD machine and through the > wireless router. So it would be a double-NAT so to speak. Is there > anything wrong with that approach? > > So in a nutshell, I have a wired FreeBSD router with multiple ethernet > jacks at home, and I want to extend it to include wireless network. > Any suggestions would be appreciated. Thanks. > _______________________________________________ > 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" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 > Hello Nerius, I simply bought a standard wireless router, turned off all services in it except the access list and plugged it in the LAN. The access list filters on mac addresses and that level of security is fine where I live. The wireless router does have firewall, dhcp, port triggering and such but I disabled all of those since my FreeBSDs do all of that already. The wireless router has one port for internet and four ports as a normal switch, I don't use the internet port. I just plug in the ethernet cable in the switch part as uplink. I considered having a wifi nic as accesspoint in the FreeBSD main router, however, it was better for me to be able to place the wifi router for optimal range of the wifi. Turned out that the centre point for wifi is not the same as where the main router is.... Greetings /Roger From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 23:43:38 2008 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 0B6641065675 for ; Mon, 22 Dec 2008 23:43:38 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id D17DA8FC18 for ; Mon, 22 Dec 2008 23:43:37 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3769011wfg.7 for ; Mon, 22 Dec 2008 15:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ZqGsm8ZZWWJ4M11LCVHgQE9OJLWx6xeoPmxfV6ZAmRE=; b=Z7yB8s0zluJsiIS0HQpradb7aExM6xTO9unz7/5VYe98dKgl3RuKuoml75Hk2AHf77 mwHLtk0oiZ+CvH9Ec3aYUwNntUl1o3JM8YoyRMbcnNfrfFmK6cXq1EOsJS+GqZf1omya X68CNrsuMvCZtqEV/jtAFt/LUrqCw5Awbv3FY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dcJDmJvWQjrPIHexi9nmuAgBDN1V2BCxYPA65CgPIkeO+DH3jofExPydCQgSpKx3C5 x82MK4aLfjtz+RBNubEPv/td3ACrjKA374Id7frEErRFl7Jy0GBIyMQ0A9EK8h0pB4Iy 9SiQ5fJPGCeoyVhnvawjwMR6DJpon4MXQFQds= Received: by 10.142.178.2 with SMTP id a2mr2896087wff.306.1229989417266; Mon, 22 Dec 2008 15:43:37 -0800 (PST) Received: by 10.142.101.7 with HTTP; Mon, 22 Dec 2008 15:43:37 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 15:43:37 -0800 From: "Kurt Buff" To: "Nerius Landys" In-Reply-To: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 22 Dec 2008 23:43:38 -0000 On Mon, Dec 22, 2008 at 1:49 PM, Nerius Landys wrote: > So in a nutshell, I have a wired FreeBSD router with multiple ethernet > jacks at home, and I want to extend it to include wireless network. > Any suggestions would be appreciated. Thanks. If you have another PCI slot available in your router, one of these should work: http://www.provantage.com/scripts/search.dll?QUERY=pci+802.11g&Submit.x=0&Submit.y=0 HTH, Kurt From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 23:49:14 2008 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 228441065673 for ; Mon, 22 Dec 2008 23:49:14 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id F23FD8FC13 for ; Mon, 22 Dec 2008 23:49:12 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from Singularity.dyn.wh.reachlocal.com (rrcs-67-52-96-162.west.biz.rr.com [67.52.96.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 98B13680C4; Mon, 22 Dec 2008 15:48:55 -0800 (PST) Message-ID: <49502764.10405@sequestered.net> Date: Mon, 22 Dec 2008 15:48:52 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: raggen@raggens.net References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> In-Reply-To: <4950245D.5090006@telia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1230594540.50505@llsaYEV0K1Tqze97QKqDpg X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 98B13680C4.809DE X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.6, required 6, J_CHICKENPOX_33 0.60) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: freebsd-questions@freebsd.org, Nerius Landys Subject: Re: Wireless router? 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, 22 Dec 2008 23:49:14 -0000 Roger Olofsson wrote: > > > Nerius Landys skrev: >> I have a PC with FreeBSD set up as a router (NAT). The PC has several >> network cards and I'm grouping the internal-facing network cards as a >> bridge (promiscuous mode for the interfaces). Everything works well. >> >> Now I'd like to extend my wired network to include wireless. I really >> have no experience with wireless networks. I have a couple of >> computers that are wireless-ready (a laptop and a Playstation 3 that I >> won in a raffle). Is it possible to somehow add some hardware to my >> FreeBSD router PC to make it into a wireless router? What kind of >> hardware would I install? What is it called? The PC only has PCI >> slots, can you recommend a brand and model of "wireless server >> equiptment" if such a thing exists? Would a normal wireless card >> suffice? What model should I get? I would prefer to set up static >> internal IPs for my wireless network at home, would this be possible? >> Or is DHCP the way to go (I hesitate at the thought of configuring a >> DHCP server). >> >> Another way to go is to hook up a standalone wireless router appliance >> to my FreeBSD machine's network interface (one of the interfaces). I >> already have such a device, I think it's made by Linksys. But then, I >> would be NAT'ing both through the FreeBSD machine and through the >> wireless router. So it would be a double-NAT so to speak. Is there >> anything wrong with that approach? >> >> So in a nutshell, I have a wired FreeBSD router with multiple ethernet >> jacks at home, and I want to extend it to include wireless network. >> Any suggestions would be appreciated. Thanks. >> _______________________________________________ >> 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" >> >> >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus >> Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 >> > > Hello Nerius, > > I simply bought a standard wireless router, turned off all services in > it except the access list and plugged it in the LAN. The access list > filters on mac addresses and that level of security is fine where I live. > > The wireless router does have firewall, dhcp, port triggering and such > but I disabled all of those since my FreeBSDs do all of that already. > > The wireless router has one port for internet and four ports as a > normal switch, I don't use the internet port. I just plug in the > ethernet cable in the switch part as uplink. > > I considered having a wifi nic as accesspoint in the FreeBSD main > router, however, it was better for me to be able to place the wifi > router for optimal range of the wifi. Turned out that the centre point > for wifi is not the same as where the main router is.... > > Greetings > > /Roger > > This is definitely the route I'd go. I'm a BIG fan of the Buffalo wireless access points if they've re-entered the channel near you (a patent troll prevented their sale for the last 18 months, but that court case was just overturned), as they support DD-WRT. Failing that, the Linksys WRT54GL isn't a half bad unit. Custom firmware (dd-wrt, OpenWRT, Tomato) also give you a lot finer grained control over what happens on the AP. -- CJC From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 00:10:31 2008 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 C49EF1065673 for ; Tue, 23 Dec 2008 00:10:31 +0000 (UTC) (envelope-from theresascottie@bellsouth.net) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [207.115.11.51]) by mx1.freebsd.org (Postfix) with ESMTP id AE1DC8FC19 for ; Tue, 23 Dec 2008 00:10:31 +0000 (UTC) (envelope-from theresascottie@bellsouth.net) Received: from theresapc (adsl-2-53-43.mia.bellsouth.net[65.2.53.43]) by isp.att.net (frfwmhc01) with SMTP id <20081222235952H0100fjf7ie>; Mon, 22 Dec 2008 23:59:52 +0000 X-Originating-IP: [65.2.53.43] From: "theresascottie" To: Date: Mon, 22 Dec 2008 18:59:50 -0500 Message-ID: <000001c96491$60b43c70$221cb550$@net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcljyNox2qVlYJ8WT2mXg6xoSk/ofQ== Content-Language: en-us X-Mailman-Approved-At: Tue, 23 Dec 2008 00:25:47 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: How do I obtain a copy of the FreeBSD operating system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: theresascottie@bellsouth.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 00:10:31 -0000 How can I download or obtain a copy of FreeBSD? Theresa L. Scottie Boynton Beach FL From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 00:27:58 2008 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 D8D451065674 for ; Tue, 23 Dec 2008 00:27:58 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 654F88FC16 for ; Tue, 23 Dec 2008 00:27:58 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1527338fkk.11 for ; Mon, 22 Dec 2008 16:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YFkpZGg8FOaaBqrjU5XtsQhq1mPqUUmLaMptCCyoUg8=; b=Ji3wTeWY0xnz5jDL8jLfekd7Nn17aDlj4rh9E7BIq0C4cwAKfFvJpB8Cm8RtC02zjE YWDQGHuuvLyHfj7wLDy7rvYQ806YhUmjI01GqerO8Bde2RLOACABwpk0t34/5rFNYAfJ VuFJMm61EU7OY/RbZqjybn1jzGG72vVJP7dzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aDvC5z8maMySZDRLUqzSo4TtJenCqayrdHM6D3gdjxCpWSgBl7rMLiKg7SN/AE19Ou zjKAHhbEUacYEiLe6oL4neHZvzZoiAzcm8i+0tasAc2bS6Ed9G+cOHFkmCA0WndNtzLk 6Ms4PRNWEhOXs6ukGY4p0mzi2lREcW3Agd4CA= Received: by 10.103.24.11 with SMTP id b11mr2533953muj.76.1229992076470; Mon, 22 Dec 2008 16:27:56 -0800 (PST) Received: by 10.103.91.11 with HTTP; Mon, 22 Dec 2008 16:27:56 -0800 (PST) Message-ID: <4ad871310812221627v315f2a5bp6ed5c51aedea64c@mail.gmail.com> Date: Mon, 22 Dec 2008 19:27:56 -0500 From: "Glen Barber" To: theresascottie@bellsouth.net In-Reply-To: <000001c96491$60b43c70$221cb550$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000001c96491$60b43c70$221cb550$@net> Cc: questions@freebsd.org Subject: Re: How do I obtain a copy of the FreeBSD operating system 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, 23 Dec 2008 00:27:58 -0000 On Mon, Dec 22, 2008 at 6:59 PM, theresascottie wrote: > How can I download or obtain a copy of FreeBSD? > You found the mailing list, but not the download link? http://www.freebsd.org/where.html -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 00:29:55 2008 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 586921065673 for ; Tue, 23 Dec 2008 00:29:55 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF318FC0C for ; Tue, 23 Dec 2008 00:29:54 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (246.10.87-79.rev.gaoland.net [79.87.10.246]) by smtp.lamaiziere.net (Postfix) with ESMTPA id D5F3C633692; Tue, 23 Dec 2008 01:29:53 +0100 (CET) Received: from baby-jane (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id F239968777B; Tue, 23 Dec 2008 01:29:52 +0100 (CET) Date: Tue, 23 Dec 2008 01:29:52 +0100 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20081223012952.05e41206@baby-jane> In-Reply-To: <000001c96491$60b43c70$221cb550$@net> References: <000001c96491$60b43c70$221cb550$@net> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: theresascottie@bellsouth.net Subject: Re: How do I obtain a copy of the FreeBSD operating system 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, 23 Dec 2008 00:29:55 -0000 Le Mon, 22 Dec 2008 18:59:50 -0500, "theresascottie" a écrit : > How can I download or obtain a copy of FreeBSD? http://www.freebsd.org No? Regards. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 00:31:58 2008 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 3C423106564A for ; Tue, 23 Dec 2008 00:31:58 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id BCFC88FC12 for ; Tue, 23 Dec 2008 00:31:57 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1528142fkk.11 for ; Mon, 22 Dec 2008 16:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EUN7BAdTyBQnpM0HyoO49SSgpMJ2suynOXjzYv7IYdI=; b=bt0yjfR1V83uJ4HHuHL4SShSARrHW21FLHfW478ZzwWN+Mt09r7VyjRxXJJCTHjvHI eUPGcJGoldnsSt2XWUDVSTe4M6Ot58hhMveCNKx6n/3NkzuVDhwKQ5TMQTcwABFecd0z 460VpL10NAkKFn1cT9f2HduIx1v2huUV3XL0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NvZGMvH0HPQ+YwgLSy1mmTVSbMDwSTC9krsWqDx1biLxlKoKdLt9W8RSYRpBHkb5Vj Ab1CX0h4UZ2otJi9mh/UhFWRK/HfQkDOtjnbnDP2RfAcnYxYLFx0gLTU6KbLpcs0cNI/ RIS6pJLMNa8se3kPBWDYcR3JhgeXndA10lfZM= Received: by 10.181.226.2 with SMTP id d2mr1545239bkr.15.1229992316230; Mon, 22 Dec 2008 16:31:56 -0800 (PST) Received: by 10.181.13.11 with HTTP; Mon, 22 Dec 2008 16:31:56 -0800 (PST) Message-ID: <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> Date: Mon, 22 Dec 2008 16:31:56 -0800 From: "Nerius Landys" To: freebsd-questions@freebsd.org In-Reply-To: <49502764.10405@sequestered.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> Subject: Re: Wireless router? 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, 23 Dec 2008 00:31:58 -0000 Thank you all for your suggestions. This will be a project for me over the holidays. I decided to go the standalone wireless router approach. I will need to figure out how to configure my standalone wireless router to "pass everything through" to the internal LAN that I already have. Also I don't know too much about security, like how to prevent eavesdroppers from connecting to my internal network. One of you mentioned access lists, and I assume that means I tell the wireless router which MAC addresses it accepts, and nothing else. Is there any other way to provide security? Like a password-protected network? What are the buzzwords for these security schemes? Which security scheme do you recommend for preventing random people within proximity from connecting to my internal netowrk? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 01:15:09 2008 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 9ED5F1065670 for ; Tue, 23 Dec 2008 01:15:09 +0000 (UTC) (envelope-from davidfeustel@comcast.net) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3118FC19 for ; Tue, 23 Dec 2008 01:15:09 +0000 (UTC) (envelope-from davidfeustel@comcast.net) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id uHzs1a0010FhH24A4RF8oQ; Tue, 23 Dec 2008 01:15:09 +0000 Received: from localhost ([69.245.244.28]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id uRF61a00P0dV8n18URF79x; Tue, 23 Dec 2008 01:15:08 +0000 From: Dave Feustel To: theresascottie In-Reply-To: <000001c96491$60b43c70$221cb550$@net> Message-Id: <20081223011509.8C3118FC19@mx1.freebsd.org> Date: Tue, 23 Dec 2008 01:15:09 +0000 (UTC) Cc: questions@FreeBSD.org Subject: Re: How do I obtain a copy of the FreeBSD operating system 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, 23 Dec 2008 01:15:09 -0000 On Mon, Dec 22, 2008 at 06:59:50PM -0500, theresascottie wrote: > How can I download or obtain a copy of FreeBSD? cheapbytes.com or bsdmall.com From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 01:32:34 2008 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 1C56C106564A for ; Tue, 23 Dec 2008 01:32:34 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id 655408FC13 for ; Tue, 23 Dec 2008 01:32:33 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from Singularity.dyn.wh.reachlocal.com (rrcs-67-52-96-162.west.biz.rr.com [67.52.96.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 5B734680C4; Mon, 22 Dec 2008 17:31:46 -0800 (PST) Message-ID: <49503F7D.8060805@sequestered.net> Date: Mon, 22 Dec 2008 17:31:41 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Nerius Landys References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> In-Reply-To: <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1230600710.63066@SY80Vuvcxabr1hbw6g72ig X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 5B734680C4.813B5 X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6, autolearn=not spam) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 23 Dec 2008 01:32:34 -0000 Nerius Landys wrote: > Thank you all for your suggestions. This will be a project for me > over the holidays. I decided to go the standalone wireless router > approach. Good man! > I will need to figure out how to configure my standalone > wireless router to "pass everything through" to the internal LAN that > I already have. It's called "Bridge mode" on most APs-- it does exactly what you describe. Just make sure things like "DHCP server" are turned off or you'll see some... odd breakages. > Also I don't know too much about security, like how > to prevent eavesdroppers from connecting to my internal network. One > of you mentioned access lists, and I assume that means I tell the > wireless router which MAC addresses it accepts, and nothing else. Ugh. MAC addresses are trivial to spoof-- I usually don't bother with using them for security, although I do use 'em to ensure that particular machines always inherit particular addresses. > Is there any other way to provide security? Like a password-protected > network? What are the buzzwords for these security schemes? Which > security scheme do you recommend for preventing random people within > proximity from connecting to my internal netowrk? > Absolutely. Google for WPA or WPA2; WEP has been broken and is trivial to bruteforce, so I'd not bother with that. Once you get the unit in, feel free to email me off list for configuration questions; it sounds like a fun project! -- CJC From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 02:01:47 2008 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 DF0361065689 for ; Tue, 23 Dec 2008 02:01:47 +0000 (UTC) (envelope-from gustavoliveir@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 74CB08FC1C for ; Tue, 23 Dec 2008 02:01:47 +0000 (UTC) (envelope-from gustavoliveir@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so252454eyd.7 for ; Mon, 22 Dec 2008 18:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=z7NDJUgytdxtop/it6kpCdlUZvNIwqheNx1QNSqmD/I=; b=mXE5WN7/mh7w0N0Nl/LFI+D/sp/ziMGBMWaGLQAcmnz3mCqs/bbdN2ZuBISHwShUHz G55rxBGcxpy0BXQOcciM3IwHbreh7B/Kmu6G/efH46RYW0uY1XFBT6s9V1800JQPvhaQ ho1Ae7G87JgizE4HIiXmsoSbj/CnisBShPZ2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=t/EqxwNMlzmp98uX2x5fXHw8jlC+EgW8MrQzCaQ89FfzgXvJ/pV7Rfd3zR22W9YHyR iSZi2XyThWQwy528JwEY0UNbY7iskKm/5Crt7O3UeoQ/pHWA2eKU8ZFQVMTo61nmXZzg LERkuoHWqpjDCaK6EfX9sgMGnHSKVRS0bbE5c= Received: by 10.210.51.10 with SMTP id y10mr4463692eby.180.1229995722285; Mon, 22 Dec 2008 17:28:42 -0800 (PST) Received: by 10.210.75.8 with HTTP; Mon, 22 Dec 2008 17:28:42 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 23:28:42 -0200 From: "Gustavo Oliveira" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Shared object "libintl.so.6" not found 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, 23 Dec 2008 02:01:48 -0000 Hi Karol ! Try to copy the /usr/local/lib/libintl.so.6 to /lib That should work ! Regards, -- Gustavo Oliveira ******************* From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 03:41:38 2008 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 DC2B41065674 for ; Tue, 23 Dec 2008 03:41:38 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 3591C8FC13 for ; Tue, 23 Dec 2008 03:41:37 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by bwz12 with SMTP id 12so6652084bwz.19 for ; Mon, 22 Dec 2008 19:41:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=f9csA0kiw23+6YWJhTAR+3BCUGT9zVqRtvga4t5usWc=; b=jmIdfBKBFVD8Xl57RPNJKXhLhU4GkPlkxgXe8SAfXQplizybda0gN6wt82b7mPFG3l k2BvGisJbzD/UEkD2cVsyiQHd/bmqDuDJDTT79mu/j7og16jL1WWlkTbe697FnYwT+cE 6S+Wq6TvQ4VSkrvy8bIyRLi9MSWajYMCLDtJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=cxFQXq8NdX4Ce/4IXPwAXEZlbiCqbdm0p1+Y3oXk/rW6flz3iL8DC0USmWRJJcGMb8 D5crIpL6N0QF6Gt6Nvt2i32rgrjfPZkRKHp2HguWHxcOa2X+p7IJd2abBX+hjmgLhP4L uqE0TO6yP5ymq11zdcmY5rQBMcN4aibJHAhpg= Received: by 10.181.234.13 with SMTP id l13mr2561623bkr.123.1230003696674; Mon, 22 Dec 2008 19:41:36 -0800 (PST) Received: by 10.180.209.3 with HTTP; Mon, 22 Dec 2008 19:41:36 -0800 (PST) Message-ID: <28283d910812221941o266ce1a8p46692b50996d4137@mail.gmail.com> Date: Mon, 22 Dec 2008 22:41:36 -0500 From: "matt donovan" To: "Tom Worster" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: 7.0-RELEASE-p6:/boot/kernel/linker.hints not updating? 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, 23 Dec 2008 03:41:38 -0000 On Mon, Dec 22, 2008 at 2:07 PM, Tom Worster wrote: > after running freebsd-update install and rebooting, i ran freebsd-update > fetch to check the status and it said: > > The following files will be updated as part of updating to 7.0-RELEASE-p6: > /boot/kernel/linker.hints > > running freebsd-update install and rebooting again did not clear the > message. > > should that be any concern? > > > _______________________________________________ > 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" No think it's a small issue since your not the first that actually ran into this problem. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 05:21:17 2008 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 D09BE1065670 for ; Tue, 23 Dec 2008 05:21:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 57E2B8FC1A for ; Tue, 23 Dec 2008 05:21:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBN5KrkY049235; Tue, 23 Dec 2008 16:20:53 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 23 Dec 2008 16:20:53 +1100 (EST) From: Ian Smith To: Gilles In-Reply-To: <20081222195940.A4A4B1065697@hub.freebsd.org> Message-ID: <20081223155700.O29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 05:21:17 -0000 On Mon, 22 Dec 2008 20:53:39 +0100 Gilles wrote: > On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon > wrote: > >I have a similar setting, but it requires X, WindowMaker and a > >Sun Type 6 USB keyboard. :-) :) > Thanks for the input, but this server is text-only. I'll try to find > how FreeBSD is configured so that ALT-CTRL-DEL maps to "reboot", and > add my own keyboard key to shut it down. Or let your dad login with his own account and password. Just add him to the operator group so that he can run /sbin/shutdown. If he's shy, write him a little script that does 'shutdown -p now [comment ..]' Shutdown is cleaner than reboot, runs 'stop' rc.d scripts for all active daemons, and leaves a nice log entry in messages, including any comment. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 05:35:20 2008 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 BD6BC1065670 for ; Tue, 23 Dec 2008 05:35:20 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1BF8FC17 for ; Tue, 23 Dec 2008 05:35:20 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 23 Dec 2008 00:35:20 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PIN76599; Tue, 23 Dec 2008 00:35:19 -0500 (EST) Received: from unknown (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 23 Dec 2008 00:35:19 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18768.30870.452544.128722@jerusalem.litteratus.org> Date: Tue, 23 Dec 2008 00:35:18 -0500 To: Ian Smith In-Reply-To: <20081223155700.O29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> <20081223155700.O29108@sola.nimnet.asn.au> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Gilles , Polytropon , freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 05:35:20 -0000 Ian Smith writes: > Or let your dad login with his own account and password. Just > add him to the operator group so that he can run /sbin/shutdown. If that's the only priveledged command he needs ... is there a reason "sudo" isn't a better answer? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 06:07:48 2008 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 67D931065673 for ; Tue, 23 Dec 2008 06:07:48 +0000 (UTC) (envelope-from pii@topnet.tn) Received: from topnetmail5.outgw.tn (topnetmail5.outgw.tn [193.95.97.77]) by mx1.freebsd.org (Postfix) with ESMTP id DFF9D8FC1B for ; Tue, 23 Dec 2008 06:07:46 +0000 (UTC) (envelope-from pii@topnet.tn) Received: from topnetmail3.outgw.tn (topnetmail3.outgw.tn [193.95.97.76]) by topnetmail5.outgw.tn (Postfix) with ESMTP id 3CDF2277A3E9 for ; Tue, 23 Dec 2008 06:50:51 +0100 (CET) Received: from mail1.topnet.tn (smtp.topnet.tn [213.150.176.204]) by tounes-27.ati.tn (Postfix) with ESMTP id 1EEFC25B0153 for ; Tue, 23 Dec 2008 06:50:49 +0100 (CET) Received: (qmail 9759 invoked by uid 89); 23 Dec 2008 05:50:46 -0000 Received: from unknown (HELO mohamedb6d00c2) (127.0.0.1) by mail1 with ESMTP; 23 Dec 2008 05:50:46 -0000 Received: from mohamedb6d00c2 ([41.226.249.146] helo=mohamedb6d00c2) by ASSP.nospam; 23 Dec 2008 06:49:17 +0100 From: "pii" To: Date: Tue, 23 Dec 2008 06:48:55 +0100 Message-ID: <005001c964c2$5ab98330$102c8990$@tn> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0051_01C964CA.BC7DEB30" X-Mailer: Microsoft Office Outlook 12.0 X-MS-TNEF-Correlator: 000000008BC6FC1FC081D345964108EE49312C3C24032000 x-cr-hashedpuzzle: rxs= AoF9 BixQ DL90 DMod DeR0 DfYV Eakg Ez7f FFOX FWZP FeXo HDYN HPkm IOZ/ I7u+; 1; cQB1AGUAcwB0AGkAbwBuAHMAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcA; Sosha1_v1; 7; {44770962-FA90-411B-A3B5-1C212AE1509D}; cABpAGkAQAB0AG8AcABuAGUAdAAuAHQAbgA=; Thu, 18 Dec 2008 20:58:57 GMT; TQBCAEEAIABuAGUAdwAgAHYAaQBzAGkAbwBuAA== x-cr-puzzleid: {44770962-FA90-411B-A3B5-1C212AE1509D} X-Assp-Re-WhitelistedIP: 41.226. X-Assp-Envelope-From: pii@topnet.tn X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: MBA new vision 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, 23 Dec 2008 06:07:48 -0000 Il s'agit d'un message à parties multiples au format MIME. ------=_NextPart_000_0051_01C964CA.BC7DEB30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit MBA (Master of business administration ) one of the most required degree around the world. We offer a lot of books helping you to gain this degree. We attached one of our .doc word formatted books on "Marketing basics" to download. Our web site http://www.tazeunv.edu.cr/mba/info.htm Contacts: Human resource Ajy klaf AjyKolav@tazeunv.com The sender has added your name to be informed with our services. The original file name is Marketing.rar and compressed by WinRAR no virus found. Use WinRAR to decompress the file. ------=_NextPart_000_0051_01C964CA.BC7DEB30-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 06:08:28 2008 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 837381065676 for ; Tue, 23 Dec 2008 06:08:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id E60218FC21 for ; Tue, 23 Dec 2008 06:08:27 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBN684Mp050738; Tue, 23 Dec 2008 17:08:05 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 23 Dec 2008 17:08:04 +1100 (EST) From: Ian Smith To: Robert Huff In-Reply-To: <18768.30870.452544.128722@jerusalem.litteratus.org> Message-ID: <20081223163910.I29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> <20081223155700.O29108@sola.nimnet.asn.au> <18768.30870.452544.128722@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Gilles , Polytropon , freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 06:08:28 -0000 On Tue, 23 Dec 2008, Robert Huff wrote: > Ian Smith writes: > > > Or let your dad login with his own account and password. Just > > add him to the operator group so that he can run /sbin/shutdown. > > If that's the only priveledged command he needs ... is there a > reason "sudo" isn't a better answer? Well, it's certainly another answer :) The only other thing being in group operator lets you run, apart from what you've added into /etc/devfs.{conf,rules} is /sbin/mksnap_ffs .. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 06:26:14 2008 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 4380C1065675 for ; Tue, 23 Dec 2008 06:26:13 +0000 (UTC) (envelope-from pii@topnet.tn) Received: from topnetmail3.outgw.tn (topnetmail3.outgw.tn [193.95.97.76]) by mx1.freebsd.org (Postfix) with ESMTP id D6AAF8FC17 for ; Tue, 23 Dec 2008 06:26:11 +0000 (UTC) (envelope-from pii@topnet.tn) Received: from mail1.topnet.tn (smtp.topnet.tn [213.150.176.204]) by tounes-27.ati.tn (Postfix) with ESMTP id EFCE425B0141 for ; Tue, 23 Dec 2008 07:26:09 +0100 (CET) Received: (qmail 32728 invoked by uid 89); 23 Dec 2008 06:10:06 -0000 Received: from unknown (HELO mohamedb6d00c2) (127.0.0.1) by mail1 with ESMTP; 23 Dec 2008 06:10:06 -0000 Received: from mohamedb6d00c2 ([41.226.249.146] helo=mohamedb6d00c2) by ASSP.nospam; 23 Dec 2008 07:08:38 +0100 From: "pii" To: Date: Tue, 23 Dec 2008 07:09:40 +0100 Message-ID: <004101c964c5$0e63db90$2b2b92b0$@tn> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0042_01C964CD.70284390" X-Mailer: Microsoft Office Outlook 12.0 X-MS-TNEF-Correlator: 000000008BC6FC1FC081D345964108EE49312C3CC4132000 x-cr-hashedpuzzle: AbD6 BFXY BHYS BuuI CGdX CMD1 Cysw FbBK F3pO GXkr HoPK Hrkk INXG J/A8 LrHT MWyf; 1; cQB1AGUAcwB0AGkAbwBuAHMAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcA; Sosha1_v1; 7; {A08F4E02-CAEE-4C01-A5F4-6C5E332E162E}; cABpAGkAQAB0AG8AcABuAGUAdAAuAHQAbgA=; Tue, 23 Dec 2008 06:07:39 GMT; TQBCAEEAIABuAGUAdwAgAHYAaQBzAGkAbwBuAA== x-cr-puzzleid: {A08F4E02-CAEE-4C01-A5F4-6C5E332E162E} X-Assp-Re-WhitelistedIP: 41.226. X-Assp-Envelope-From: pii@topnet.tn X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: MBA new vision 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, 23 Dec 2008 06:26:14 -0000 Il s'agit d'un message à parties multiples au format MIME. ------=_NextPart_000_0042_01C964CD.70284390 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit MBA (Master of business administration ) one of the most required degree around the world. We offer a lot of books helping you to gain this degree. We attached one of our .doc word formatted books on "Marketing basics" to download. Our web site http://www.tazeunv.edu.cr/mba/info.htm Contacts: Human resource Ajy klaf AjyKolav@tazeunv.com The sender has added your name to be informed with our services. The original file name is Marketing.rar and compressed by WinRAR no virus found. Use WinRAR to decompress the file. ------=_NextPart_000_0042_01C964CD.70284390-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 08:11:40 2008 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 9EF971065670 for ; Tue, 23 Dec 2008 08:11:40 +0000 (UTC) (envelope-from brent@hostetler.ws) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 340878FC29 for ; Tue, 23 Dec 2008 08:11:39 +0000 (UTC) (envelope-from brent@hostetler.ws) Received: by bwz12 with SMTP id 12so6812564bwz.19 for ; Tue, 23 Dec 2008 00:11:38 -0800 (PST) Received: by 10.103.224.17 with SMTP id b17mr2641003mur.61.1230018523689; Mon, 22 Dec 2008 23:48:43 -0800 (PST) Received: by 10.103.131.5 with HTTP; Mon, 22 Dec 2008 23:48:42 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 23:48:42 -0800 From: "Brent Hostetler" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Help with AMD64 install on nforce 590 sli motherboard 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, 23 Dec 2008 08:11:40 -0000 Hello, I am having a rough time trying to install freebsd on one of my machines. The machine in question has the following: ATHLON 64 X2 6000 , EVGA Motherboard 122-M2-NF59-AX (nForce 590 SLI), 2 SATA HDs, PATA DVDRW.. I have tried the following releases: Freebsd 6.4 Release, Freebsd 7.0 Release, Freebsd 7.1 RC1, and Freebsd Snapshot 8-Current. The snapshot of current panics, 7 & 7.1 I can get to the installer screen but no sata drive is detected. I see the controllers being detected fine. I upgraded the mboard bios to latest version. Raid is deselected in BIOS. I do not believe there is a hardware problem. The system currently boots Windows XP fine. I installed Ubuntu 8.10 AMD64 sucessfully and it runs find. I am at a loss of how to proceed. Brent From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 08:29:56 2008 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 AFB171065673 for ; Tue, 23 Dec 2008 08:29:56 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 6921B8FC17 for ; Tue, 23 Dec 2008 08:29:53 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LF2eC-0008Gj-88; Tue, 23 Dec 2008 08:29:48 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id mBN8Ti0a031170; Tue, 23 Dec 2008 08:29:44 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 515DDFCB841; Tue, 23 Dec 2008 08:29:39 +0000 (GMT) Date: Tue, 23 Dec 2008 08:29:39 +0000 From: Frank Shute To: Gilles Message-ID: <20081223082939.GA24805@melon.esperance-linux.co.uk> Mail-Followup-To: Gilles , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Tue, 23 Dec 2008 08:29:45 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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: Tue, 23 Dec 2008 08:29:56 -0000 On Mon, Dec 22, 2008 at 03:31:27PM +0100, Gilles wrote: > > Hello > > I'd like to make it easier for my dad to shutdown a server. Instead of > having him plug a keyboard, log on as root (with a complicated > password) and finally type "shutdown -h now", is it possible to assign > this command to some unused key like eg. Syst? Even better, send this > command only if the key is hit eg. three times within 2 seconds? > > Thank you. > What I'd do is use sudo to enable him to shutdown. Then I'd add this to /etc/rc.local: kbdcontrol -f 10 "sudo shutdown -h now" So, pressing F10 & hitting return will shut the machine down. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 09:11:14 2008 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 D83C510656D3 for ; Tue, 23 Dec 2008 09:11:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id B39358FC20 for ; Tue, 23 Dec 2008 09:11:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id mBN9AssK012238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 23 Dec 2008 01:10:55 -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 mBN9AsYv012237; Tue, 23 Dec 2008 01:10:54 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01994; Tue, 23 Dec 08 01:01:01 PST Date: Tue, 23 Dec 2008 01:03:48 -0800 From: perryh@pluto.rain.com To: roberthuff@rcn.com, smithi@nimnet.asn.au Message-Id: <4950a974.ZI/PaBzEBmLh8NkL%perryh@pluto.rain.com> References: <20081222195940.A4A4B1065697@hub.freebsd.org> <20081223155700.O29108@sola.nimnet.asn.au> <18768.30870.452544.128722@jerusalem.litteratus.org> <20081223163910.I29108@sola.nimnet.asn.au> In-Reply-To: <20081223163910.I29108@sola.nimnet.asn.au> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gilles.ganault@free.fr, freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 09:11:14 -0000 > The only other thing being in group operator lets you run, > apart from what you've added into /etc/devfs.{conf,rules} is > /sbin/mksnap_ffs .. In a default devfs config, it grants read permission to the disk devices (presumably to enable running dump(8)). From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 09:14:45 2008 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 52833106564A for ; Tue, 23 Dec 2008 09:14:45 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id C76EC8FC1C for ; Tue, 23 Dec 2008 09:14:44 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 230388699; Tue, 23 Dec 2008 10:14:42 +0200 Message-ID: <49509DF2.20301@FreeBSD.org> Date: Tue, 23 Dec 2008 10:14:42 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Steve Franks References: <494FE13F.6050107@FreeBSD.org> <539c60b90812221502t4d6d9053jc30d9556ad97c5f7@mail.gmail.com> In-Reply-To: <539c60b90812221502t4d6d9053jc30d9556ad97c5f7@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: No sound from snd_hda 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, 23 Dec 2008 09:14:45 -0000 Steve Franks wrote: > Should I be asking you about the old snd_hda? I'm having this same > problem and ignoring it for some time (no sound), but on > > FreeBSD aire.franks-development.dyndns.biz 6.4-STABLE FreeBSD > 6.4-STABLE #9: Sat Dec 13 18:25:36 MST 2008 > root@aire.franks-development.dyndns.biz:/usr/obj/usr/src/sys/GENERIC > amd64 > > instead of current. Just take HDA driver from CURRENT, it works fine on RELENG_7 and I think it may work on your RELENG_6. > I read the warning: > > A few Hardware/OEM vendors tend to screw up BIOS settings, thus rendering > the snd_hda driver useless, which usually results in a state where the > snd_hda driver seems to attach and work, but without any sound. Such unresolved cases are happen sometimes, but they are really rare. I have being reported only 2 or 3 of them while working on new driver. Absolute majority of devices working fine out of the box, or sometimes require minimal tuning to fix BIOS issues. -- Alexander Motin From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 10:02:16 2008 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 5891A1065674 for ; Tue, 23 Dec 2008 10:02:16 +0000 (UTC) (envelope-from emorras@s21sec.com) Received: from s21sec.com (mail.s21sec.com [88.84.65.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0642E8FC12 for ; Tue, 23 Dec 2008 10:02:15 +0000 (UTC) (envelope-from emorras@s21sec.com) Received: from inv-008.s21sec.com (unknown [83.175.204.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by s21sec.com (Postfix) with ESMTPSA id 6C4972BBF86 for ; Tue, 23 Dec 2008 10:39:00 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 23 Dec 2008 10:46:29 +0100 To: freebsd-questions@freebsd.org From: Eduardo Morras Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20081223093900.6C4972BBF86@s21sec.com> Subject: FreeBSD and OpenCL 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, 23 Dec 2008 10:02:16 -0000 Hello: Is there any plan to implement/use the new OpenCL standard in FreeBSD? What's needed to use/implement it? Better nvidia/ati/intel/other gpu drivers? I don't want to switch my data crunching apps from FreeBSD to linux/windows due to this technology is already working there. http://www.khronos.org/opencl/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 10:03:05 2008 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 ECBCF1065674 for ; Tue, 23 Dec 2008 10:03:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1CE8FC0C for ; Tue, 23 Dec 2008 10:03:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBNA2h1b058046; Tue, 23 Dec 2008 21:02:43 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 23 Dec 2008 21:02:43 +1100 (EST) From: Ian Smith To: perryh@pluto.rain.com In-Reply-To: <4950a974.ZI/PaBzEBmLh8NkL%perryh@pluto.rain.com> Message-ID: <20081223203507.Y29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> <20081223155700.O29108@sola.nimnet.asn.au> <18768.30870.452544.128722@jerusalem.litteratus.org> <20081223163910.I29108@sola.nimnet.asn.au> <4950a974.ZI/PaBzEBmLh8NkL%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: gilles.ganault@free.fr, roberthuff@rcn.com, freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 10:03:06 -0000 On Tue, 23 Dec 2008, perryh@pluto.rain.com wrote: > > The only other thing being in group operator lets you run, > > apart from what you've added into /etc/devfs.{conf,rules} is > > /sbin/mksnap_ffs .. > > In a default devfs config, it grants read permission to > the disk devices (presumably to enable running dump(8)). True, so if Gilles' dad really wants to run dump, he most likely can. The .snap directory in the root of a (mounted) file system to be dumped has owner root, group operator, mode 0770 - paraphrasing from dump(8) - and then he'd need mount and write permissions on the dump destination. Doesn't sound too risky if Gilles trusts him enough to run shutdown :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 10:36:07 2008 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 EE5D0106564A for ; Tue, 23 Dec 2008 10:36:07 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.146]) by mx1.freebsd.org (Postfix) with ESMTP id A9D8F8FC08 for ; Tue, 23 Dec 2008 10:36:07 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1LF4cQ-0002x2-GL for freebsd-questions@freebsd.org; Tue, 23 Dec 2008 10:36:06 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1LF4cP-0000rK-RH for freebsd-questions@freebsd.org; Tue, 23 Dec 2008 10:36:06 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 23 Dec 2008 10:36:05 +0000 User-Agent: KMail/1.9.10 References: <20081222195940.A4A4B1065697@hub.freebsd.org> <4950a974.ZI/PaBzEBmLh8NkL%perryh@pluto.rain.com> <20081223203507.Y29108@sola.nimnet.asn.au> In-Reply-To: <20081223203507.Y29108@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812231036.05674.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 X-Plusnet-Relay: 0666e5b032dad7bbad495e52ed69e41f Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? 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, 23 Dec 2008 10:36:08 -0000 On Tuesday 23 December 2008, Ian Smith wrote: > Doesn't sound too risky if Gilles trusts him enough to run shutdown > :) For a desktop there's no logic in restricting the shutdown command to only trusted users anyway. An untrusted user can't be prevented from shutting down by pulling the plug, far better to let (and encourage) him use shutdown instead -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 10:48:26 2008 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 F2223106564A for ; Tue, 23 Dec 2008 10:48:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 876878FC0C for ; Tue, 23 Dec 2008 10:48:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id mBNAmOV2079131; Tue, 23 Dec 2008 11:48:24 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 3496FBAA4; Tue, 23 Dec 2008 11:48:24 +0100 (CET) Date: Tue, 23 Dec 2008 11:48:24 +0100 From: Roland Smith To: Nerius Landys Message-ID: <20081223104824.GA56833@slackbox.xs4all.nl> References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 23 Dec 2008 10:48:27 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 22, 2008 at 04:31:56PM -0800, Nerius Landys wrote: > Thank you all for your suggestions. This will be a project for me > over the holidays. I decided to go the standalone wireless router > approach. That's probably the easiest way. > I already have. Also I don't know too much about security, like how > to prevent eavesdroppers from connecting to my internal network. There are some things you could do. =20 - Use WPA2 if available or else at least WPA [http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access]=20 - When using WPA with pre-shared keys, use long and random generated pre-shared keys. And change them often. - You can turn off the broadcasting of the SSID=20 [http://en.wikipedia.org/wiki/SSID] to discourage casual snooping.=20 This will not deter a determined attacker, however. - If you are using the pf(4) firewall you could use authpf(8) as an additional security measure. [http://www.openbsd.org/faq/pf/authpf.html] It requires users to log in via ssh(8) and alters the firewall rules as long as the ssh session exists. This requires that the user must have additional authentication in the form of passwords or ssh keys in order to use the network. It provides an additional layer of access contr= ol. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklQwfgACgkQEnfvsMMhpyXIbQCaAlUEfbRmqNhxCJutKAwIJxw6 XXEAmQH8Inb/dZQFHv8FJxsRF8xx+4ap =a4nX -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:06:52 2008 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 8EC801065673 for ; Tue, 23 Dec 2008 12:06:52 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: from web53410.mail.re2.yahoo.com (web53410.mail.re2.yahoo.com [206.190.37.57]) by mx1.freebsd.org (Postfix) with SMTP id 285728FC17 for ; Tue, 23 Dec 2008 12:06:46 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: (qmail 53881 invoked by uid 60001); 23 Dec 2008 12:06:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=rdjjz9VC8Q2B859hrMCzgmnB2D2pAGSu9Fbvp3QEeiWgY2Q6Vr1eguGe85DuuJ7biBc+DYzISHTI/TzspXCBGSETWb/IWmwMMkkhAG3aoJwb0HyUs8Pd2EuwnsobkwocaRzmCjt0FOsypCGmZ88TTor2tyLuc9Xm5FNViR2Wqkg=; X-YMail-OSG: wF9CbbQVM1kuwGaKqfRh.Y2qiqvht2bXR8XiGfJ2TLkGs.Enveb4MGLX0uhjB3cLWfzwczLNmywSPngSLVXOnt0ltLlUmqrWdl4lVPKDlsfdWP_3Lnf6h5CRmYUOTLR8PtHXriWrj0RBg7VEiGxa3K2VK5q2X6DymyM7hoc60dGpuiyysSCwIBI2_jxgWA-- Received: from [166.84.1.2] by web53410.mail.re2.yahoo.com via HTTP; Tue, 23 Dec 2008 04:06:46 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 23 Dec 2008 04:06:46 -0800 (PST) From: "Dr. Jennifer Nussbaum" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <329760.53824.qm@web53410.mail.re2.yahoo.com> Subject: Perl 5.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bg271828@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 12:06:52 -0000 Its now just over a year since Perl 5.10.0 was relased, but its still not in FreeBSD. (/usr/ports/lang only has 5.8). Can someone tell me why? Is there any way to get it working stably? Is there any schedule for when it will be added? This is a major release of a major language, not an obscure maintenence update. Jen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:27:32 2008 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 BE11B106564A for ; Tue, 23 Dec 2008 12:27:32 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 6C1888FC20 for ; Tue, 23 Dec 2008 12:27:32 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 75484 invoked from network); 23 Dec 2008 12:27:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=e6avfAdcTs/hv5Bpwit3IiQTJep8OckEFhSZj9eCL+u19pwiwwAKuyoCdhxgg8OLgAJ56DpJQoLxSOKgrDOi+LATw51GJgObf9ZQbpHQNCjPQI4miz1mM3ld3azE8W5BGT37f1wfx6CgoyYuVSiM+HkqEDYsuziLLNIZa2VVETI= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 23 Dec 2008 12:27:31 -0000 X-YMail-OSG: Qn2xT0wVM1mJZ8OTEwXifqDPyWHHdZz8IAgXxcn_YOgG9MFNuosbUqe90OlPytQga5mVb2yXmUzNgwnpkCxZFy.6Ib4TDjgPW6xBfPqLnwNQ_LsK2SLYouiqJ8XSxAH_0Cl0ozeHeYIpqQ3ziqVQSvibQjHOfygwKKVwNgU1uJKOxjocGzTmoDPtI8JB5iqhGqH4Kjno8MBKUgaFL61nqpCvLi68 X-Yahoo-Newman-Property: ymail-3 Date: Tue, 23 Dec 2008 07:27:19 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081223072719.16f3c047@scorpio> In-Reply-To: <329760.53824.qm@web53410.mail.re2.yahoo.com> References: <329760.53824.qm@web53410.mail.re2.yahoo.com> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/p0ppKzhFmSyWXy..RAVXtQg"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Perl 5.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 12:27:32 -0000 --Sig_/p0ppKzhFmSyWXy..RAVXtQg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 23 Dec 2008 04:06:46 -0800 (PST) "Dr. Jennifer Nussbaum" wrote: >Its now just over a year since Perl 5.10.0 was relased, but its still >not in FreeBSD. (/usr/ports/lang only has 5.8).=20 > >Can someone tell me why? Is there any way to get it working stably? Is >there any schedule for when it will be added? This is a major release >of a major language, not an obscure maintenence update. I asked that same question on the "FreeBSD-Ports" forum a few months ago; however, I never did receive a satisfactory answer. I believe it is readily apparent that it will not be included with the next release of FreeBSD; i.e., '7.1'. Since it does seem to work quite well under Linux, I was wondering if there was some fundamental flaw in FBSD that prevented it from working correctly here. Even so, failing to get a major project like Perl running properly in over a year on FBSD does not bode well for the OS. --=20 Jerry gesbbb@yahoo.com When everything is coming your way, you are probably in the wrong lane. --Sig_/p0ppKzhFmSyWXy..RAVXtQg Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklQ2TEACgkQBvaKIJWWCO3/jwCgk+YDRtzOSsAgqSet51DDeV8F 0VMAnRVKf3VrwO/alVpcbH2hy++s1CcK =f3Ix -----END PGP SIGNATURE----- --Sig_/p0ppKzhFmSyWXy..RAVXtQg-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:38:00 2008 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 B40FA1065670 for ; Tue, 23 Dec 2008 12:38:00 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id 66E948FC14 for ; Tue, 23 Dec 2008 12:38:00 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id DA140FD2CA for ; Tue, 23 Dec 2008 14:37:58 +0200 (EET) Received: by zzz.ee (Postfix, from userid 3019) id D845CFD2C8; Tue, 23 Dec 2008 14:37:58 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,BAYES_50 X-Spam-Checker-URL: http://info.zzz.ee Received: from [192.168.5.3] (adsl215.uninet.ee [194.204.62.215]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id 86687FD2D9 for ; Tue, 23 Dec 2008 14:37:55 +0200 (EET) Message-ID: <4950DBA2.7040502@zzz.ee> Date: Tue, 23 Dec 2008 14:37:54 +0200 From: =?windows-1252?Q?Ott_K=F6stner?= Organization: TIGMA AS User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1229788709.1583.16.camel@MGW_1> <20081220172702.B9566@wojtek.tensor.gdynia.pl> <1229798135.1583.20.camel@MGW_1> <20081220205029.F10042@wojtek.tensor.gdynia.pl> <1229812373.1583.32.camel@MGW_1> In-Reply-To: <1229812373.1583.32.camel@MGW_1> Content-Type: multipart/mixed; boundary="------------000405020603040803090407" X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Network Stack Code Re-write (Possible motivations...?) 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, 23 Dec 2008 12:38:00 -0000 This is a multi-part message in MIME format. --------------000405020603040803090407 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Martes G Wigglesworth wrote: > A year, or two, ago, I found such information buried within the Juniper > website; however, upon recent attempts at further investigation, both > for learning about certifications, and subject matter for this topic, I > am unable to locate said information. The "historic Juniper" blurbs > were very informative. I am sure that the information is still > available, however, I have not been successful in locating it. > Maybe this link helps a little: http://www.juniper.net/solutions/literature/white_papers/200264.pdf "Network Operating System Evolution JUNOS Software: Architectural Choices at the Forefront of Networking" "Juniper’s main operating system, JUNOS software, is an excellent illustration of this industry trend . The basis of the JUNOS software kernel comes from the FreeBSD UNIX OS, an open-source software system . The JUNOS software kernel and infrastructure have since been heavily modified to accommodate advanced and unique features such as state replication, nonstop active routing and in-service software upgrades, all of which do not exist in the donor operating system . Nevertheless, the JUNOS software tree can still be synchronized with the FreeBSD repository to pick the latest in system code, device drivers and development tool chains, which allows Juniper Networks engineers to concentrate on network-specific development ." Best regards, O.K. -- Testi oma Interneti kiirust / Test Your Internet speed: http://speedtest.zzz.ee/ --------------000405020603040803090407-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 12:42:24 2008 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 2E9C4106568D for ; Tue, 23 Dec 2008 12:42:24 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (135-shost.hostoffice.hu [195.228.74.135]) by mx1.freebsd.org (Postfix) with ESMTP id E1E9B8FC19 for ; Tue, 23 Dec 2008 12:42:23 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.104] (localhost [127.0.0.1]) by shopzeus.com (Postfix) with ESMTP id 0441B392439; Tue, 23 Dec 2008 07:38:04 -0500 (EST) Message-ID: <4950DCAD.2010508@shopzeus.com> Date: Tue, 23 Dec 2008 13:42:21 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Dan Nelson References: <494FA0E0.1060108@shopzeus.com> <20081222175801.GG90803@dan.emsphone.com> In-Reply-To: <20081222175801.GG90803@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: "truss" is buggy? 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, 23 Dec 2008 12:42:24 -0000 > It looks like the ptrace() syscall is the problem: > > DESCRIPTION > The ptrace() system call provides tracing and debugging > facilities. It allows one process (the tracing process) to > control another (the traced process). The tracing process must > first attach to the traced process, and then issue a series of > ptrace() system calls to control the execution of the process, as > well as access process memory and register state. For the > duration of the tracing session, the traced process will be > ``re-parented'', with its parent process ID (and resulting > behavior) changed to the tracing process. > > I imagine that also explains why a truss'ed program will die if you > kill -9 the truss process. It looks like the "reset parent when > trussing" behaviour appeared back in 1996 (sys_process.s r1.21). The > fix would probably be to store the pid of the tracing process somewhere > other than p_ppid... > My problem is that there is a process (namely, postgresql stats collector) that may have a bug inside. I was asked on the devel list to send in some traces so they can figure out why it is in an infinite loop, eating 100% CPU time. However, when I start truss-ing this process, getppid() call changes return value. The postgresql stats collector periodically checks if the postmaster (its parent process) is alive or not, and will exit unconditionally if the postmaster has died. After I start truss-ing, the stats collector exits, making it impossible to debug the problem. I'm not able to change the stats collector's source code, because I'm not a C programmer, and because it is a production server and this would be too risky. I also tried to install strace, but it is not available on my platform (amd64). I cannot move to i386, because (apparently) the problem exists on this platform only. Is this a hopeless situation? BTW I'm not an expert, but I believe that the process being debugged should not see any difference, and it should not be able to tell if it is debugged or not. I think this is a bug indeed. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 13:04:21 2008 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 8C0651065678 for ; Tue, 23 Dec 2008 13:04:21 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forwards4.yandex.ru (forwards4.yandex.ru [77.88.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id 364788FC12 for ; Tue, 23 Dec 2008 13:04:21 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from smtp5.yandex.ru (smtp5.yandex.ru [77.88.32.24]) by forwards4.yandex.ru (Yandex) with ESMTP id 14EB74C5BB4 for ; Tue, 23 Dec 2008 16:04:15 +0300 (MSK) Received: from 123-40-178-94.pool.ukrtel.net ([94.178.40.123]:65031 "EHLO HOMEUSER" smtp-auth: "kes-kes" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S6144131AbYLWNEM (ORCPT ); Tue, 23 Dec 2008 16:04:12 +0300 X-Yandex-Spam: 1 X-Yandex-Front: smtp5 X-Yandex-TimeMark: 1230037452 X-BornDate: 1149541200 X-Yandex-Karma: 0 X-Yandex-KarmaStatus: 0 X-MsgDayCount: 1 X-Comment: RFC 2476 MSA function at smtp5.yandex.ru logged sender identity as: kes-kes Date: Tue, 23 Dec 2008 15:04:11 +0200 From: KES X-Mailer: The Bat! (v4.0.24) Professional Organization: SaftTen X-Priority: 3 (Normal) Message-ID: <695928211.20081223150411@yandex.ru> To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Subject: May I load DLL same as SO in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KES List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 13:04:21 -0000 Is it possible to load DLL? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 13:31:54 2008 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 38CC01065676 for ; Tue, 23 Dec 2008 13:31:54 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from av8-2-sn3.vrr.skanova.net (av8-2-sn3.vrr.skanova.net [81.228.9.184]) by mx1.freebsd.org (Postfix) with ESMTP id C22938FC1E for ; Tue, 23 Dec 2008 13:31:53 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: by av8-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 713A137F7D; Tue, 23 Dec 2008 14:31:52 +0100 (CET) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av8-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 436E537EF6; Tue, 23 Dec 2008 14:31:52 +0100 (CET) Received: from [192.168.1.31] (90-227-65-237-no41.tbcn.telia.com [90.227.65.237]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id D55BA37E44; Tue, 23 Dec 2008 14:31:51 +0100 (CET) Message-ID: <4950E83F.3070308@telia.com> Date: Tue, 23 Dec 2008 14:31:43 +0100 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Nerius Landys References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> In-Reply-To: <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Wireless router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 13:31:54 -0000 Nerius Landys skrev: > Thank you all for your suggestions. This will be a project for me > over the holidays. I decided to go the standalone wireless router > approach. I will need to figure out how to configure my standalone > wireless router to "pass everything through" to the internal LAN that > I already have. Also I don't know too much about security, like how > to prevent eavesdroppers from connecting to my internal network. One > of you mentioned access lists, and I assume that means I tell the > wireless router which MAC addresses it accepts, and nothing else. Is > there any other way to provide security? Like a password-protected > network? What are the buzzwords for these security schemes? Which > security scheme do you recommend for preventing random people within > proximity from connecting to my internal netowrk? > _______________________________________________ > 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" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 > Hello again Nerius, You have understood the MAC filtering correctly. You should also encrypt the wifi traffic by using at least WPA encryption. For most wifi routers this is a checkbox and a key or a passphrase that you enter. All clients that wants access and have their MAC address in the access list will have to enter the passphrase/key on the first connect. This means that you control the MAC address list - all new wifi devices that wants to connect to your wifi LAN needs to get added to the MAC access list - manually by you. You also control the encryption passphrase - all wifi clients that wants to connect to your wifi LAN need to know the encryption passphrase. If you use WPA for encryption you will have a higher degree of security than using the old and hackable WEP. Of course both the MAC list and the encryption key/passphrase are stored in the wifi router - so if you don't set a proper password for admin access to this one - all is lost. You should disable wireless access for admin (remote management) to it - only allow cabled access and use a good strong password. Buzzwords? I dunno - I hope people on the mailing list help me out here... Is there a better/simpler way of doing this? Greetings /Roger For a good laugh ... Enjoy Jason Dixons presentations from the BSDcon on http://www.youtube.com/watch?v=g7tvI6JCXD0&feature=channel_page or http://www.youtube.com/watch?v=mMmbjJI5su0&feature=channel_page From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 13:42:52 2008 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 24A63106564A for ; Tue, 23 Dec 2008 13:42:52 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from av12-2-sn2.hy.skanova.net (av12-2-sn2.hy.skanova.net [81.228.8.186]) by mx1.freebsd.org (Postfix) with ESMTP id A48B78FC19 for ; Tue, 23 Dec 2008 13:42:51 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: by av12-2-sn2.hy.skanova.net (Postfix, from userid 502) id 3D00337F6E; Tue, 23 Dec 2008 14:42:50 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av12-2-sn2.hy.skanova.net (Postfix) with ESMTP id 0FB8837E48; Tue, 23 Dec 2008 14:42:50 +0100 (CET) Received: from [192.168.1.31] (90-227-65-237-no41.tbcn.telia.com [90.227.65.237]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id B1F6337E48; Tue, 23 Dec 2008 14:42:49 +0100 (CET) Message-ID: <4950EAD1.6070802@telia.com> Date: Tue, 23 Dec 2008 14:42:41 +0100 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Corey Chandler References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> <49503F7D.8060805@sequestered.net> In-Reply-To: <49503F7D.8060805@sequestered.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Nerius Landys Subject: Re: Wireless router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 13:42:52 -0000 Corey Chandler skrev: > Nerius Landys wrote: >> Thank you all for your suggestions. This will be a project for me >> over the holidays. I decided to go the standalone wireless router >> approach. > Good man! >> I will need to figure out how to configure my standalone >> wireless router to "pass everything through" to the internal LAN that >> I already have. > It's called "Bridge mode" on most APs-- it does exactly what you > describe. Just make sure things like "DHCP server" are turned off or > you'll see some... odd breakages. >> Also I don't know too much about security, like how >> to prevent eavesdroppers from connecting to my internal network. One >> of you mentioned access lists, and I assume that means I tell the >> wireless router which MAC addresses it accepts, and nothing else. > Ugh. MAC addresses are trivial to spoof-- I usually don't bother with > using them for security, although I do use 'em to ensure that particular > machines always inherit particular addresses. > >> Is there any other way to provide security? Like a password-protected >> network? What are the buzzwords for these security schemes? Which >> security scheme do you recommend for preventing random people within >> proximity from connecting to my internal netowrk? >> > > Absolutely. Google for WPA or WPA2; WEP has been broken and is trivial > to bruteforce, so I'd not bother with that. > > Once you get the unit in, feel free to email me off list for > configuration questions; it sounds like a fun project! > > -- CJC > _______________________________________________ > 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" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 > Hello Corey, I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - as well as ips to the FreeBSD gateway and dns. This is for the LAN part of the router - then another internal LAN ip for the wifi part. To examplify. Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns 192.168.0.10 and 192.168.0.11. Wifi wifi part - network 10.0.0.1 - 10.0.0.10. MAC addresses are indeed trivial to spoof - but if combined with a wifi encryption key/passphrase it adds to security. Greetings /Roger From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 14:49:40 2008 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 E5BDC1065670 for ; Tue, 23 Dec 2008 14:49:40 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 37B468FC16 for ; Tue, 23 Dec 2008 14:49:39 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id A2F8E367C4; Tue, 23 Dec 2008 15:29:20 +0100 (CET) Date: Tue, 23 Dec 2008 15:36:06 +0100 From: cpghost To: KES Message-ID: <20081223143605.GA1546@phenom.cordula.ws> References: <695928211.20081223150411@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <695928211.20081223150411@yandex.ru> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: May I load DLL same as SO 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, 23 Dec 2008 14:49:41 -0000 On Tue, Dec 23, 2008 at 03:04:11PM +0200, KES wrote: > Is it possible to load DLL? AFAIK, no. The loader would need to undertand the PE-COFF format (which it doesn't -- yet?). But more importantly, DLLs tend to interact with other Windows DLLs and with the NT kernel, and we don't have an NTlator comparable to the linuxulator. Of course, there's always /usr/ports/emulators/wine, which has the limited ability to load DLLs. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 16:39:09 2008 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 830D2106564A for ; Tue, 23 Dec 2008 16:39:09 +0000 (UTC) (envelope-from pstreem@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id D593E8FC13 for ; Tue, 23 Dec 2008 16:39:08 +0000 (UTC) (envelope-from pstreem@gmail.com) Received: by bwz12 with SMTP id 12so7449477bwz.19 for ; Tue, 23 Dec 2008 08:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=9MoWvFYYyRfQJ9kvKk/xmoAHAWrsEcMNpHm1wGJsCEk=; b=DfT0Yz5pLythgqud+ER8IOqwvt8YIn/V9jd5RabPiv8iV2y42KktuHqbw8qx7HelBy uPKNLro8jSrI1GAIGRj5cyT/NOLLR4NIOKe0a0dF5UKf+uD93jgTewO5tvfTwbjAbYSG AQRnS2gGFplTrfKSCX9KY1Y6WLF0Gx55WELto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ga7X4ovHMaqYBCixC9tsGO2Xlw+I2FcAuAxenx12yys7FsjiiTdybKcGXbG/ojw7CO gOPdGr2RzoipTgAO66lsp9acVLTO6vd5FPEHx21I0Ip31VaKBYMCXZE2zQv7xX8b/Xnc n5W7KjJ9SKItsRpbN1vjUOetY6BcEoBp+R0z8= Received: by 10.181.220.19 with SMTP id x19mr1828801bkq.66.1230048844049; Tue, 23 Dec 2008 08:14:04 -0800 (PST) Received: by 10.180.232.1 with HTTP; Tue, 23 Dec 2008 08:14:03 -0800 (PST) Message-ID: <2c66535d0812230814ldf5becdr3aabe5810d2c2c70@mail.gmail.com> Date: Wed, 24 Dec 2008 00:14:03 +0800 From: "PstreeM China" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to use openjade chages from from sgml to tex ? 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, 23 Dec 2008 16:39:09 -0000 Hello all: i want change the format from sgml to tex , search the google find the methods about : sgmltools , openjade and so on ... after install the ports sgml-tools-lite,openjade ,there is no man about sgml-tools. read the man openjda ,there is a option : -t output_type output_type specifies the type of output as follows: ^^ tex TeX (used for SGML/XML to TeX transformations) but when i use the command : %openjade -t tex book.sgml $B!J(Bthe file of book.sgml is in the path /usr/doc/en_US.ISO8859-1/books/faq/$B!K(B the command tell me$B!'(B Segmentation fault can somebody help me , tell me how to use the openjade to change format from sgml to tex , or how to change sgml to tex format ??? thanks ! From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 16:41:35 2008 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 214A41065670 for ; Tue, 23 Dec 2008 16:41:35 +0000 (UTC) (envelope-from corpsemassacre@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id C745B8FC1C for ; Tue, 23 Dec 2008 16:41:34 +0000 (UTC) (envelope-from corpsemassacre@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1639247ywe.13 for ; Tue, 23 Dec 2008 08:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=LlQWM2p9EgtO1cwj9UoKnJvJvDwaC6cVDIbpaUPTGoQ=; b=RmW3iBFnRJM6avUaGh790oJLZT+24iTs92WyHSalEvNqD1dy3tec1NcYt9eIIXPmJ9 6YOaWGUdkcetYMLxHbPPOqoU588LmoKHwP0RNTC5IhCRRNnjjmGUbj3b2v48bUbSsV0Q yG3i/cjUEZu4/kN1ybX3rauVRk0gy57ij5qIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=itdksva92NOW4SiN7m3h7dmaD3zvXEF9bRKces1t4O1A5qekoeBdE3MIExPJdxtFUF /2OQxr/ywQ7zkyV9yxptryJx9asytoV8CV/EUH+d1old+BoLnA2wdYyBxkiP7iQ3hfnB +DqXmuEqZX9uc8XmciDp7n2+bd/n7nRt2uKPM= Received: by 10.151.26.12 with SMTP id d12mr10813220ybj.112.1230049210629; Tue, 23 Dec 2008 08:20:10 -0800 (PST) Received: by 10.151.8.12 with HTTP; Tue, 23 Dec 2008 08:20:10 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 16:20:10 +0000 From: "Eric Turgeon" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: user and group probleme 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, 23 Dec 2008 16:41:35 -0000 Ok In gnome menu you have shoftware call user and group is halo you to add & remove user & group. it work good in FreeBSD 7.0 but in 7.1rc and 6.4 in cant do noting whit in the root like user. is look like if I don t have the permission to do the change on root. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 16:49:35 2008 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 58501106567C for ; Tue, 23 Dec 2008 16:49:35 +0000 (UTC) (envelope-from karl@candlelight.ca) Received: from mail.candlelight.ca (mail.candlelight.ca [64.184.205.211]) by mx1.freebsd.org (Postfix) with ESMTP id 135468FC23 for ; Tue, 23 Dec 2008 16:49:35 +0000 (UTC) (envelope-from karl@candlelight.ca) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.candlelight.ca (Postfix) with ESMTP id 6462E28818D for ; Tue, 23 Dec 2008 11:26:42 -0500 (EST) Received: from mail.candlelight.ca ([127.0.0.1]) by localhost (mail.candlelight.ca [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 05181-01 for ; Tue, 23 Dec 2008 11:26:42 -0500 (EST) Received: from localhost.localdomain (66-226-75-20.dedicated.abac.net [66.226.75.20]) by mail.candlelight.ca (Postfix) with ESMTP id E6F9428817F for ; Tue, 23 Dec 2008 11:26:41 -0500 (EST) From: To: Message-Id: <20081223162641.E6F9428817F@mail.candlelight.ca> Date: Tue, 23 Dec 2008 11:26:41 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Alert Notification: Billing Pending Inactivation in Account 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, 23 Dec 2008 16:49:35 -0000 Renew Your Account Now ! Dear Advertiser, This is your official notification from Yahoo! Inc. that the service(s) listed below will be deactivated and deleted if not renewed immediately. As the Primary Contact, you must renew the service(s) listed below or it will be deactivated and deleted. [1]Renew Now your Yahoo Sponsored Search services. SERVICE: Yahoo Sponsored Search EXPIRATION: December, 23 2008 Thank you for using Yahoo Inc service. We appreciate your business and the opportunity to serve you. Yahoo Inc. Sponsored Search Service *Note : Please do not reply to this Customer Service e-mail. Copyright ©2008 Yahoo! Inc. All rights reserved. References 1. http://www.yahoobusinessupdate.com/marketingsolutions/adui/renew/login/loadSignin.htm From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 17:21:22 2008 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 20D2A106567D for ; Tue, 23 Dec 2008 17:21:22 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from mail.ricksure.com.au (mail.ricksure.com.au [203.98.89.150]) by mx1.freebsd.org (Postfix) with ESMTP id 7941E8FC18 for ; Tue, 23 Dec 2008 17:21:20 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from dsl-202-173-129-2.nsw.westnet.com.au [202.173.129.2] by mail.ricksure.com.au with SMTP; Wed, 24 Dec 2008 04:20:58 +1100 From: Geoff Roberts Organization: Australian Projects To: "Michael K. Smith" Date: Wed, 24 Dec 2008 04:21:01 +1100 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812240421.01966.geoff@apro.com.au> X-Declude-Sender: geoff@apro.com.au [202.173.129.2] X-Declude-Spoolname: 50228115.eml X-Declude-RefID: X-Declude-Note: Scanned by Declude 4.3.64 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [0] at 04:21:00 on 24 Dec 2008 X-Declude-Tests: Whitelisted X-Country-Chain: X-Declude-Code: 0 X-Declude-Recipcount: 2 Organization: Declude, Inc. X-Helo: bsd7desktop.home.wollongong X-RevDNS: Cc: FreeBSD Questions Subject: Re: How can I link two separate internal networks to two separate external networks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: geoff@apro.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 17:21:22 -0000 Hi Mike, On Tue, 23 Dec 2008 04:14:51 am you wrote: > I think this will work. Let's assume: > > $vlan10_if -> macro for your tagged VLAN 10 interface > $vlan20_if -> macro for your tagged VLAN 20 interface > $vlan50_if -> macro for your tagged VLAN 50 interface > $vlan60_if -> macro for your tagged VLAN 60 interface > $vlan50_gw = 10.10.10.9 > $vlan60_gw = 10.10.10.13 > > pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) from any to any > pass in on $vlan20_if route-to ($vlan60_if $vlan60_gw) from any to any > > That would be in conjunction with your NAT's and any RDR's as well. Spot on! Thanks for that, it worked like a charm. I have a couple more questions below. Firstly, just for completeness, I've listed what the NAT and RDRs look like for others that may be interested. $vlan10_server -> macro for IP address of server on vlan10 nat on $vlan50_if proto {tcp udp icmp} from $vlan10_if to any -> ($vlan50_if) rdr on $vlan50_if proto tcp from any to ($vlan50_if) port 80 -> $vlan10_server port 80 pass in on $vlan50_if inet proto tcp from any to $vlan10_server port 80 pass out on $vlan50_if inet proto { tcp udp icmp } from ($vlan50_if) to any Remaining questions: a) I found I didn't need a reply-to statement on the redirect for the vlan50 interface above. Could someone elaborate or point to a URL that might help explain a little more why this wasn't needed and in what circumstance I might need a reply-to statement. There isn't much about reply-to in the pf pdf. Since my default route is on vlan60 as opposed to vlan50 where the redirect is, you'd think I need a reply-to at first glance. Is the single route-to (pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) from any to any) covering me here? If I had a redirect such as: rdr on $vlan50_if proto tcp from any to ($vlan50_if) port 80 -> $vlan20_server port 80 would I need a reply-to? b) I've also found I needed to assign IP addresses (doesn't matter what they are) to the actual interfaces the VLANs sit on within the FreeBSD box (int0 and ext0). If not, things don't appear work. Should this be necessary, and if so why? If I shouldn't need IP addresses on the actual interfaces themsleves I've probably mucked up someting else in the pf rules :) For example: ext0 (192.168.1.1) | -------------- | | vlan50 vlan60 Thanks again for your help, Geoff From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 18:33:30 2008 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 89C19106564A for ; Tue, 23 Dec 2008 18:33:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id DD0608FC18 for ; Tue, 23 Dec 2008 18:33:29 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so7592357bwz.19 for ; Tue, 23 Dec 2008 10:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Gm0yOyclhoAYWWYT3AeGkXgNnVXacIdMrFOHgwsDDtw=; b=FuXe+DwDH5+ai05v2u4sCKFDC8qVRrLM+x4UWVN3thIw/MqaS20rszRIeY7Rwsmrtq eDXNXintTgf8NQLeDZufbaUDi605yreEsyhHyGtwKmuHK53MBnKjnuShQ4zcQtpLBLyZ vwOC6v1f6cTGB2utv7HtPcBMErGAnNh15kSnw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UiKzjIn4DP2SzVSVcfiXuKByw6c+TJ9mTCM/18muf4sUsqObLji5OtsRPbgdm+PW/N jEsyQDnF7L2DaHyOuOpsSmHRtNn5R9lY8Hm0D7z9MUkHnajo3J1lElxMYXE2RO7gDdeu EXw3hUi4YUG3uyTBFPH9XugRdkE+Rr3x9USlY= Received: by 10.103.52.7 with SMTP id e7mr2868719muk.52.1230057197106; Tue, 23 Dec 2008 10:33:17 -0800 (PST) Received: by 10.103.91.11 with HTTP; Tue, 23 Dec 2008 10:33:17 -0800 (PST) Message-ID: <4ad871310812231033q76e28c4avcefee0463e57bc3e@mail.gmail.com> Date: Tue, 23 Dec 2008 13:33:17 -0500 From: "Glen Barber" To: "Eric Turgeon" , "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4ad871310812222043h7eceeef8s50d97d36cd170d22@mail.gmail.com> Cc: Subject: Re: user and group whit gnome 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, 23 Dec 2008 18:33:30 -0000 Please, do not reply to me off-list. On Tue, Dec 23, 2008 at 11:13 AM, Eric Turgeon wrote: > ok In gnome menu you have shoftware call user and group is halo you to add & > remove user & group. it work good in FreeBSD 7.0 but in 7.1rc and 6.4 in > cant do noting whit in the root like user. is like if I dont have the > permision to do the change on root. > > On Tue, Dec 23, 2008 at 4:43 AM, Glen Barber > wrote: >> >> On Mon, Dec 22, 2008 at 10:54 PM, Eric Turgeon >> wrote: >> > Hi my name is Eric Turgeon I use freebsd 7.0, 6.4 & 7.1rc with gnome. >> > But my big probleme with 6.4 & 7.1 is user and group cant be use in >> > root what is the problem we have with gnome2.22 and not 2.20. please >> > help >> > tanks. >> Your response is unclear, at best. Could you provide specific details about what you need/want? -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 18:40:31 2008 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 116D31065673; Tue, 23 Dec 2008 18:40:31 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id BA1078FC1D; Tue, 23 Dec 2008 18:40:30 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 2086A23534; Tue, 23 Dec 2008 19:30:09 +0100 (CET) Received: from jara3 (unknown [10.10.10.20]) by raats.xs4all.nl (Postfix) with ESMTPA id D55C923518; Tue, 23 Dec 2008 19:30:08 +0100 (CET) Message-ID: From: "Jack Raats" To: "freebsd-stable" , Date: Tue, 23 Dec 2008 19:30:07 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Problems installing FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 18:40:31 -0000 Hi, At this moment I have problems installing FreeBSD 6.4 and FreeBSD 7.0. After booting from CD the system I get the menu. I have tried all = possible options. The system starts checking all hardware but freezes after finding the = CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4) (acd0) The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB Can anyone help me. I never had this problems before on other systems. Thanks=20 Jack From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 18:56:17 2008 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 90C7F1065673 for ; Tue, 23 Dec 2008 18:56:17 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id F082B8FC31 for ; Tue, 23 Dec 2008 18:56:16 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so7619886bwz.19 for ; Tue, 23 Dec 2008 10:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2NcqeaKvXTwUuIqbkuQjbzFMnfb8Qcl1Ul3Q0dZm/yw=; b=FZig8xpYz/QDFt5PCL5gt3tnshuE1mkP8cwmxT36LFI/Gur8L/Fr/Jf3i0XkjBau0N 3jjasRxCI4WSncVIPCzcDWhRAstsSfWkN7qzlq4jjKMFrQoCnTmuSG5NiU0fuUEtvEd9 xbxkigjoIzPWJK/LYqI2a4sotERhdDlkJ6eUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=t+rF+cR3Cy/9BChbdUwp29G5RhXaRZoso88RUXKCowkQt0t2KtwR+f2LEojWPzGIB/ wb6w7dfp0+MVXqGdJyaA0KqE+hxazUepZvcReCqEnmNHQ7kmETvoLTswczdMzei7ENtS rwtxxguBYc8MmOf7tLNQuFWYI1bXFiMKT+7L0= Received: by 10.103.138.16 with SMTP id q16mr2881999mun.7.1230058571941; Tue, 23 Dec 2008 10:56:11 -0800 (PST) Received: by 10.103.91.11 with HTTP; Tue, 23 Dec 2008 10:56:11 -0800 (PST) Message-ID: <4ad871310812231056m72fd7d02sb67ac2bb168e1a6a@mail.gmail.com> Date: Tue, 23 Dec 2008 13:56:11 -0500 From: "Glen Barber" To: "Jack Raats" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-stable , freebsd-questions@freebsd.org Subject: Re: Problems installing FreeBSD 7.0 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, 23 Dec 2008 18:56:17 -0000 On Tue, Dec 23, 2008 at 1:30 PM, Jack Raats wrote: > Hi, > > At this moment I have problems installing FreeBSD 6.4 and FreeBSD 7.0. > After booting from CD the system I get the menu. I have tried all possible options. > The system starts checking all hardware but freezes after finding the CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4) > (acd0) > > The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB > > Can anyone help me. I never had this problems before on other systems. > Have you tried disabling DMA or ACPI? hw.ata.ata_dma=0 -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 18:58:07 2008 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 CA7901065676 for ; Tue, 23 Dec 2008 18:58:07 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id A0BC98FC1C for ; Tue, 23 Dec 2008 18:58:07 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4340388wfg.7 for ; Tue, 23 Dec 2008 10:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=e4RuAgiuEd9Pw05MapxyDNWvuzSWyENYTHCG4OLhcL8=; b=kxEL6xpOEc8zVqnSCJgg2fNE9W+5BpzZQIhWVOU8GMFyr7qSypUnzTKH+ya79wUVXa ihafy/I/rKjxRKG6FcJ7t7UcBkaI7s2v0SEoMj3GgkCaYccrl0iR7PG2qN34RekLDvNQ d2H+sYkKYae1tu94HYXpH2iMsd2Xs7ZankuQA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=cXZl6iztfo0TdYKYQ9zjw4IKbDOFvSxloeL4y6l39gkYwGKBf+I3R/KqzoJnSpcb09 62Gpb4HBjYsZlx0E+vCyqS0dnd18L1E9rpJ5flIu3zpAk71lOm+PcPO3fSS/6A/E28VB ynfqsiQONVDR/tosYyvZw1NH580nongj/gfqQ= Received: by 10.142.48.14 with SMTP id v14mr3268642wfv.122.1230057373440; Tue, 23 Dec 2008 10:36:13 -0800 (PST) Received: by 10.142.229.1 with HTTP; Tue, 23 Dec 2008 10:36:13 -0800 (PST) Message-ID: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> Date: Tue, 23 Dec 2008 12:36:13 -0600 From: "Joseph Simmons" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: starting Tomcat6 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, 23 Dec 2008 18:58:07 -0000 uname -a gives: 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I installed Apache Tomcat from the ports collection (/usr/ports/www/tomcat6) without error. From the documentation that I've seen, starting tomcat is done with the following command /usr/local/etc/rc.d/tomcat6 start But when I do this (as root or otherwise), the tomcat process doesn't seem to start. Should there be some other way of starting the process? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:04:10 2008 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 51BF21065670 for ; Tue, 23 Dec 2008 19:04:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id ADDEB8FC13 for ; Tue, 23 Dec 2008 19:04:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBNJ3wDD005053; Tue, 23 Dec 2008 19:04:04 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBNJ3wDD005053 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230059044; bh=ERRN+DGkJpbtZi nuGqu18LZYaT14yHkrIuOl90QpiAI=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<49513618.8090107@infracaninophile.co.uk>|Date:=20Tue,=2 023=20Dec=202008=2019:03:52=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Joseph=20Simmons=20|CC:=20freebs d-questions@freebsd.org|Subject:=20Re:=20starting=20Tomcat6|Referen ces:=20<1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com >|In-Reply-To:=20<1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail .gmail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/ signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/ pgp-signature"=3B=0D=0A=20boundary=3D"------------enig6552A8E45B363 B7D3E694123"; b=rvxToo7A5U1etvn8ktGPWPU2sUQWdbQp3hrsNgBOFiqklER39rk GtCfl/NUifknLdiakdPHBNWiyQDwhrVQxzw4DrhpfruwejecgqbSuDadW4121nHumcF LXsqSaOgonaOSZB4U/wJtSSGUTCVaOuDUyLOVQTI+xr3WjCp7PNFI= Message-ID: <49513618.8090107@infracaninophile.co.uk> Date: Tue, 23 Dec 2008 19:03:52 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Joseph Simmons References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> In-Reply-To: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig6552A8E45B363B7D3E694123" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 23 Dec 2008 19:04:04 +0000 (GMT) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:04:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6552A8E45B363B7D3E694123 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Joseph Simmons wrote: > uname -a gives: > 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >=20 > I installed Apache Tomcat from the ports collection > (/usr/ports/www/tomcat6) without error. From the documentation that > I've seen, starting tomcat is done with the following command >=20 > /usr/local/etc/rc.d/tomcat6 start >=20 > But when I do this (as root or otherwise), the tomcat process doesn't > seem to start. Should there be some other way of starting the process? Did you put: tomcat6_enable=3D"YES" into /etc/rc.conf ? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig6552A8E45B363B7D3E694123 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklRNh4ACgkQ8Mjk52CukIxd4QCbBPVRJmhh42fUxuRXOFt5DwOe uVIAniAQ2gLga3R3zv7GDEGp9m3F4cwS =ZyMB -----END PGP SIGNATURE----- --------------enig6552A8E45B363B7D3E694123-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:09:00 2008 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 57E98106567E for ; Tue, 23 Dec 2008 19:09:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id EA0BD8FC1F for ; Tue, 23 Dec 2008 19:08:54 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBNJ9NRe035755; Tue, 23 Dec 2008 11:09:23 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 23 Dec 2008 11:08:49 -0800 (PST) Date: Tue, 23 Dec 2008 11:08:49 -0800 From: Gary Kline To: Matthew Seaman Message-ID: <20081223190849.GD98784@thought.org> References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> <494F5590.3090400@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <494F5590.3090400@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: Sed question 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, 23 Dec 2008 19:09:00 -0000 On Mon, Dec 22, 2008 at 08:53:36AM +0000, Matthew Seaman wrote: > Gary Kline wrote: > > > anyway, this is one for giiorgos, or another perl wiz. i've > > been using the perl subsitution cmd one-liner for years with > > unfailing success. is there a way of deleting lines with perl > > using the same idea as: > > > > perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN > > To delete lines matching a R.E. (grep -v effectively): > > perl -ni.bak -e 'm/SOMETHING/ || print;' file1 file2 fileN > Matthew, I've been trying, unsuccessfully, to parse the above. What does the "m" [in 'm/SOMETHING/' do. i thought it was 'match' ... and another one, just FWIW: can perl's regex be set to ignore cases? > To delete lines by number from many files -- eg. exclude lines 3 to 7: > > perl -ni.bak -e 'print unless ( 3 .. 7 ); close ARGV if eof;' \ > file1 file2 fileN > > The malarkey with 'close ARGV' is necessary because otherwise perl > won't reset the input line number counter ($.) for each new file. yeah, it's pretty important to reset the counter to zero since i've got so many files. one way to avoid that extended line would be to embed the perl string within a /bin/shell script, :-) Scripts within scripts, eh? lol. Oh: a final question. does the perl regex match vi's /\ ? it seemed like this plot in /OLDSTRING/ failed last sunday. i'm not entirely sure, tho. thanks much, gary > The range expression ( N .. M ) can take matching terms rather than > line numbers, so you can also do things like: > > perl -ni.bak -e 'print unless ( m/FIRST/ .. m/SECOND/ )' \ > file1 file2 fileN > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:13:40 2008 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 5632F1065675 for ; Tue, 23 Dec 2008 19:13:40 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s8.stradamotorsports.com [64.81.163.126]) by mx1.freebsd.org (Postfix) with ESMTP id 164498FC18 for ; Tue, 23 Dec 2008 19:13:40 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBNIw3v8074142 for ; Tue, 23 Dec 2008 10:58:03 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <495134BB.5040309@highperformance.net> Date: Tue, 23 Dec 2008 10:58:03 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NTPD on 7.1-PRERELEASE 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, 23 Dec 2008 19:13:40 -0000 My ntpd will not sync on my newly installed 7.1-PRERELEASE hosts. The configuration is the same as other correctly time synched hosts. They are behind the same firewall. The only difference is that these hosts are running 7.1. Does anyone have any tricks for getting ntpd to sync on 7.1? Did something time related change in the kernel? Thanks, Jason From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:15:48 2008 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 6AF821065670 for ; Tue, 23 Dec 2008 19:15:48 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9D28FC19 for ; Tue, 23 Dec 2008 19:15:48 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4350395wfg.7 for ; Tue, 23 Dec 2008 11:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d+T5nxTMaBitYxh1us0Q4ieOe+NDXRnwLH7sC9fEaWA=; b=cu6zR6LaxT+lOvlgOCtOrMSntakDy2hoq3NWwuiJO13odWLbSXxnV4pq48NH3oKjO6 dUqrWMu72UEFr4lTYlM00C1b8AQ5cGwQZ3MQWpmkuc3kxDZoR3VATEUCHQy2twOrq1co L84ir95ffz1azmMy8ZPDOy/3vK/2a0CREAxHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=m28UPjOjioRvS3PRD8z7avU5XLP3mmedRTItz1DbAvM3+w0i+A1YQlUHdqmDHYMXn7 wUEYtcm4oc6yQw8H5D80prGwP/0hw9NH6oqaD+0mWo4Y8eoafdUG++UYNGXM4B9U/ObB CunlheS+NwoExho5/VidXsD5PbuKbR6zm2zU0= Received: by 10.142.172.12 with SMTP id u12mr3268739wfe.186.1230059747928; Tue, 23 Dec 2008 11:15:47 -0800 (PST) Received: by 10.142.229.1 with HTTP; Tue, 23 Dec 2008 11:15:47 -0800 (PST) Message-ID: <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> Date: Tue, 23 Dec 2008 13:15:47 -0600 From: "Joseph Simmons" To: "Matthew Seaman" In-Reply-To: <49513618.8090107@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:15:48 -0000 It is now :), but that should only effect things when the computer starts up. I'm still not able to start tomcat from it's rc.d script. On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman wrote: > Joseph Simmons wrote: >> >> uname -a gives: >> 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> I installed Apache Tomcat from the ports collection >> (/usr/ports/www/tomcat6) without error. From the documentation that >> I've seen, starting tomcat is done with the following command >> >> /usr/local/etc/rc.d/tomcat6 start >> >> But when I do this (as root or otherwise), the tomcat process doesn't >> seem to start. Should there be some other way of starting the process? > > Did you put: > > tomcat6_enable="YES" > > into /etc/rc.conf ? > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:23:32 2008 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 C3B1C1065677 for ; Tue, 23 Dec 2008 19:23:32 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5818FC26 for ; Tue, 23 Dec 2008 19:23:31 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so950260fgb.35 for ; Tue, 23 Dec 2008 11:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=8/2Lo7+fPUr4+MLgQBFgbWN9wSBmDrh9WpnawGsWYnQ=; b=hvA8RwwJXiSbSYGA1GWJjKHYCSNqUsLDYC+DS4+ZNgxpp4BiTGkdLrIDnE/GKXO/Fe iyJoODNdAxNx04vl+YQur5UAvoSjV6aaOIWVrrmAsAV8eqoOYqWKEbAZNDQTbx7c1TN/ dGjDBZpbxEvYPWqJjwXpyLJt31t7l+Po5NnzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=cIo+8c29JYqTO/UxMXFqgBsGA9NiGeadBp0uC2ZLBHkXOdz6OY2dUZCXXfFiramNX9 Ja2QMZds7gQjCRlBE/o0wIagl132T0kqDjJXkrFJb/zyIGNWrMfSZf+2zK+qyfB/FLFo SMZnWAd/98zXvSnBfuYp7rHU53je9/h/fowus= Received: by 10.86.91.12 with SMTP id o12mr4649888fgb.16.1230060210806; Tue, 23 Dec 2008 11:23:30 -0800 (PST) Received: by 10.86.76.10 with HTTP; Tue, 23 Dec 2008 11:23:30 -0800 (PST) Message-ID: <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> Date: Tue, 23 Dec 2008 14:23:30 -0500 From: "matt donovan" To: "Joseph Simmons" In-Reply-To: <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> MIME-Version: 1.0 References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:23:32 -0000 On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons wrote: > It is now :), but that should only effect things when the computer > starts up. I'm still not able to start tomcat from it's rc.d script. > > On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman > wrote: > > Joseph Simmons wrote: > >> > >> uname -a gives: > >> 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >> > >> I installed Apache Tomcat from the ports collection > >> (/usr/ports/www/tomcat6) without error. From the documentation that > >> I've seen, starting tomcat is done with the following command > >> > >> /usr/local/etc/rc.d/tomcat6 start > >> > >> But when I do this (as root or otherwise), the tomcat process doesn't > >> seem to start. Should there be some other way of starting the process? > > > > Did you put: > > > > tomcat6_enable="YES" > > > > into /etc/rc.conf ? > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > Flat 3 > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > > Kent, CT11 9PW > > > > > _______________________________________________ > 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" > no you must have tomcat_enable="yes" in your rc.conf to even run the script unless you forcestart it. so ps aux does not show tomcat as running? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:30:32 2008 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 DA8A81065678 for ; Tue, 23 Dec 2008 19:30:32 +0000 (UTC) (envelope-from corpsemassacre@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6348FC28 for ; Tue, 23 Dec 2008 19:30:32 +0000 (UTC) (envelope-from corpsemassacre@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1671140yxb.13 for ; Tue, 23 Dec 2008 11:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=2s54Z2g+BmLpWZxFZMdBTIV3UfSnYdLVU2fZN34iX5Q=; b=wo5QHFwNZjl60i0olLfvdcMS0bA6ji4G+A0GWTMsLgCPC4wXFHb0BzllLMfDDtDSjs gL+5HYWIr5pLyr7p0oBLNm1KUTS3ib9VhyBVXyi7M8d67NYaO0EeqpVoX5Gt56GftM8z 3x7Q+83WhMb0CvtgjSvWKVeH6aUos13dB8nQA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kODehJR/2n32Zw2R9OrMzU5oP8+8GDcSi7xsm2FNdr5cqGXg8pEEMfBpNhanEoTici BtM7S3mv6GsslaL60cFk5Yg8RHXaYIf9/9UaRjQqJnLG6c0AZ+EuFJiUS8r06vIs3alh D6GLylnVW+EwNLsE3R3ovY+146cL32L7DOKSw= Received: by 10.150.204.19 with SMTP id b19mr3388246ybg.130.1230059374052; Tue, 23 Dec 2008 11:09:34 -0800 (PST) Received: by 10.151.8.12 with HTTP; Tue, 23 Dec 2008 11:09:34 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 19:09:34 +0000 From: "Eric Turgeon" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: gnome problem with user and group. 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, 23 Dec 2008 19:30:33 -0000 Ok In gnome menu you have shoftware call user and group is halo you to add & remove user & group. It work good in FreeBSD 7.0 but in 7.1rc and 6.4 in cant do noting whit in the root like user. is look like if I don t have the permission to do the change on root. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:32:40 2008 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 3998C106567D; Tue, 23 Dec 2008 19:32:40 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id E5F7A8FC19; Tue, 23 Dec 2008 19:32:39 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 703E822B26; Tue, 23 Dec 2008 20:32:39 +0100 (CET) Received: from jara3 (unknown [10.10.10.20]) by raats.xs4all.nl (Postfix) with ESMTPA id 3A5E42285E; Tue, 23 Dec 2008 20:32:39 +0100 (CET) Message-ID: From: "Jack Raats" To: "SDH Admin" , "'freebsd-stable'" , References: <00fb01c96531$a5fca290$f1f5e7b0$@com> Date: Tue, 23 Dec 2008 20:32:38 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net Cc: Subject: Re: Problems installing FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 19:32:40 -0000 ----- Original Message ----- From: "SDH Admin" >> The system starts checking all hardware but freezes after finding the >> CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4) >> (acd0) >> >> The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB > > > Can you try to paste exactly what was on the screen before the "freeze" > for > both 6.4 and 7.0? How can I do this if the systeem freezes??? Jack From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:33:42 2008 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 5F0F21065674 for ; Tue, 23 Dec 2008 19:33:42 +0000 (UTC) (envelope-from admin@stardothosting.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 09D8B8FC17 for ; Tue, 23 Dec 2008 19:33:41 +0000 (UTC) (envelope-from admin@stardothosting.com) Received: by yx-out-2324.google.com with SMTP id 8so1671611yxb.13 for ; Tue, 23 Dec 2008 11:33:41 -0800 (PST) Received: by 10.64.251.17 with SMTP id y17mr6226086qbh.9.1230059245001; Tue, 23 Dec 2008 11:07:25 -0800 (PST) Received: from kevin (not.enough.unixsluts.com [76.10.166.187]) by mx.google.com with ESMTPS id 27sm16505584qbw.20.2008.12.23.11.07.23 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 11:07:24 -0800 (PST) From: "SDH Admin" To: "'freebsd-stable'" , References: In-Reply-To: Date: Tue, 23 Dec 2008 14:07:02 -0500 Message-ID: <00fb01c96531$a5fca290$f1f5e7b0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcllLgQxFreWSUS7RVafMEWXj0zbKAAA3LOQ Content-Language: en-us x-cr-hashedpuzzle: ZP0= CRf8 DL2n DvQ/ D69Z FRkn He49 LL7E NG2r Rlha T5FL T74G UWbQ Ub87 VCNE WJ/J; 2; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnADsAZgByAGUAZQBiAHMAZAAtAHMAdABhAGIAbABlAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {6E70CE90-3DB4-4F2A-9D03-4F925082083B}; YQBkAG0AaQBuAEAAcwB0AGEAcgBkAG8AdABoAG8AcwB0AGkAbgBnAC4AYwBvAG0A; Tue, 23 Dec 2008 19:06:55 GMT; UgBFADoAIABQAHIAbwBiAGwAZQBtAHMAIABpAG4AcwB0AGEAbABsAGkAbgBnACAARgByAGUAZQBCAFMARAAgADcALgAwAA== x-cr-puzzleid: {6E70CE90-3DB4-4F2A-9D03-4F925082083B} Cc: Subject: RE: Problems installing FreeBSD 7.0 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, 23 Dec 2008 19:33:42 -0000 > The system starts checking all hardware but freezes after finding the > CD-ROM drives printing the GEOM_LABLE (on FB 7.0, not 6.4) > (acd0) > > The hardware is a Targa Visonary 2700XP, AMD 2700+ CPU, mem 1 GB Can you try to paste exactly what was on the screen before the "freeze" for both 6.4 and 7.0? Thanks. --- Kevin K. Systems Administrator www.stardothosting.com From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:34:10 2008 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 EB4AC1065670 for ; Tue, 23 Dec 2008 19:34:10 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 4179E8FC24 for ; Tue, 23 Dec 2008 19:34:10 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by bwz12 with SMTP id 12so7664935bwz.19 for ; Tue, 23 Dec 2008 11:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qImXq0CZCWBWwvtt76wSXwwflZv9ddJ5n7S4dHo9dSQ=; b=hPgYTWLJf40FiFOrt4nJYeCnjWfB7ShHCoYsU8yLwiV2eyGL46VeXGlxuJ6VKqcJCW pKidRXqghGSPXt5lj4clvhB2KKv9z9T4ro6pEaF8T5WvzvgBCSuBECQMPIxGilyhUEQ8 FPNzPV9wHQS2tnhYvHAmaIzCr0fmCpScyWtK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Jj6lQLkBCjyhbN7gfOSTWknrfTx7hZG8eoJNh/bRu3O2hZDj+rMWuWldhSvEDBOnZY GONy18/HKlPnlJImMs5E2wkcUu4dq627reG3UU6oHm3L6QGjOw7amFlzS+W53JHYktQD 2SKhC4u2xUrOHHE/cFlwc74vSD/pxCzt3KOsg= Received: by 10.181.197.6 with SMTP id z6mr2828932bkp.213.1230060797137; Tue, 23 Dec 2008 11:33:17 -0800 (PST) Received: by 10.181.9.20 with HTTP; Tue, 23 Dec 2008 11:33:17 -0800 (PST) Message-ID: <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> Date: Tue, 23 Dec 2008 13:33:17 -0600 From: "Joseph Simmons" To: "matt donovan" In-Reply-To: <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:34:11 -0000 I have tomcat6_enable="YES" in rc.conf and I don't see any tomcat process when I ps aux. When I try to start the script, nothing is returned either, I'd expect there to be some success or failure message as there is when starting apache22. On Tue, Dec 23, 2008 at 1:23 PM, matt donovan wrote: > > > On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons > wrote: >> >> It is now :), but that should only effect things when the computer >> starts up. I'm still not able to start tomcat from it's rc.d script. >> >> On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman >> wrote: >> > Joseph Simmons wrote: >> >> >> >> uname -a gives: >> >> 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >> >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> >> I installed Apache Tomcat from the ports collection >> >> (/usr/ports/www/tomcat6) without error. From the documentation that >> >> I've seen, starting tomcat is done with the following command >> >> >> >> /usr/local/etc/rc.d/tomcat6 start >> >> >> >> But when I do this (as root or otherwise), the tomcat process doesn't >> >> seem to start. Should there be some other way of starting the process? >> > >> > Did you put: >> > >> > tomcat6_enable="YES" >> > >> > into /etc/rc.conf ? >> > >> > Cheers, >> > >> > Matthew >> > >> > -- >> > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> > Flat 3 >> > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> > Kent, CT11 9PW >> > >> > >> _______________________________________________ >> 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" > > no you must have tomcat_enable="yes" in your rc.conf to even run the script > unless you forcestart it. so ps aux does not show tomcat as running? > > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:34:51 2008 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 C42EF1065753; Tue, 23 Dec 2008 19:34:51 +0000 (UTC) (envelope-from admin@stardothosting.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 620668FC1A; Tue, 23 Dec 2008 19:34:51 +0000 (UTC) (envelope-from admin@stardothosting.com) Received: by yx-out-2324.google.com with SMTP id 8so1671801yxb.13 for ; Tue, 23 Dec 2008 11:34:50 -0800 (PST) Received: by 10.65.75.2 with SMTP id c2mr6234092qbl.12.1230060889754; Tue, 23 Dec 2008 11:34:49 -0800 (PST) Received: from kevin (not.enough.unixsluts.com [76.10.166.187]) by mx.google.com with ESMTPS id s35sm17617951qbs.13.2008.12.23.11.34.48 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 11:34:49 -0800 (PST) From: "SDH Admin" To: "'freebsd-stable'" , References: <00fb01c96531$a5fca290$f1f5e7b0$@com> In-Reply-To: Date: Tue, 23 Dec 2008 14:34:28 -0500 Message-ID: <010101c96535$7a4e6580$6eeb3080$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcllNTj0IkPABzkWRWKToE93fTp1IwAACgbA Content-Language: en-us Cc: Subject: RE: Problems installing FreeBSD 7.0 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, 23 Dec 2008 19:34:51 -0000 > How can I do this if the systeem freezes??? Good old fashioned pen + paper (as long as it's not too long). Never fails. --- Kevin K. Systems Administrator www.stardothosting.com From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:45:31 2008 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 885561065679 for ; Tue, 23 Dec 2008 19:45:31 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 3C82B8FC1E for ; Tue, 23 Dec 2008 19:45:31 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1673355yxb.13 for ; Tue, 23 Dec 2008 11:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=O1Q3Jc3iIrcDR7f6hJuSPZrSqA7/zG+KtLQ+7MaDUoA=; b=mvyqqm9Zwq3frGOy+PxqM0/FYJlXySvQcIeIMVmxvjSO52PcugFINGT36NPCYCmiao Wok2bnCsGXRDXtrbpCVbLv5UdhXuD9F4BNs9uTe9GDQ3eAAjeEEkzD9cOI+rQdTSWHz0 eBE37d8K3DStL3O6Wr+/lpJB+pt1PpRhS2jv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ofJJwz42Cb4Q0BybFgSlF6opIZps0qeRZBBOWUrk9joW6w2QmZ/Fk9BNrZjal6kQWa eiZRxTebJk02wGv8R7OL+irDnNRZ1DcDfbgv3pBZik6nDcqERtYwsxS8Dtri26orWRxY xkMFuwDyY5UpnTS1P7AxzyWjF22i3nmpoI4bk= Received: by 10.65.225.17 with SMTP id c17mr6226097qbr.71.1230061530032; Tue, 23 Dec 2008 11:45:30 -0800 (PST) Received: by 10.64.179.9 with HTTP; Tue, 23 Dec 2008 11:45:29 -0800 (PST) Message-ID: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> Date: Tue, 23 Dec 2008 20:45:29 +0100 From: "Zbigniew Szalbot" To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Going back to generic kernel 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, 23 Dec 2008 19:45:31 -0000 Hi friends, I have a test machine with a custom kernel, which I copied (as the handbook suggests) to /root/kernels/. However, I do not really need it. My question is how do I switch back to the generic kernel? Many thanks and all the best to you all! -- Zbigniew Szalbot www.fairtrade.net.pl www.slowo.pl From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:46:56 2008 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 BD0FE106564A for ; Tue, 23 Dec 2008 19:46:56 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 4264E8FC13 for ; Tue, 23 Dec 2008 19:46:50 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1400079mue.3 for ; Tue, 23 Dec 2008 11:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gc4mMf3s9A/cH2GfgUuzIFAz9NTcMZAm+Kq+vmFV9AQ=; b=CVHe1kQ2RGR7BMiTe/8q/rkPDr+0JTjppB1Un0kQKYpGWwR+kryFggqtahLxeNyYrH YfRIGgDWS3j8tSRFvrWsdqvdiJitWSMOV89OSRBZbZo8p+mWZsXuCoTSxyxv676JO7Qj j+pHRkScy22MScoToK6j3qLIx6qNknduQozHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ag4p5ppZ33etwMTWbhLpgBWfOl6rOlJWnlNDkLXngPtGeggHIs1Tsu0qPj3hrG64cz GrYVMFOM8qtq+CqHsWOd9ATElZh0JqAquWwH9pbwpByHJ8GokwQcUGyNjM90fbnVYsYj XxP/Fn97d5p/mXVaZIlGp1Xp36BvzmrGoqOt4= Received: by 10.103.49.12 with SMTP id b12mr2889813muk.81.1230061609849; Tue, 23 Dec 2008 11:46:49 -0800 (PST) Received: by 10.103.91.11 with HTTP; Tue, 23 Dec 2008 11:46:49 -0800 (PST) Message-ID: <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> Date: Tue, 23 Dec 2008 14:46:49 -0500 From: "Glen Barber" To: "Joseph Simmons" In-Reply-To: <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> Cc: matt donovan , freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:46:56 -0000 On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons wrote: > I have tomcat6_enable="YES" in rc.conf and I don't see any tomcat > process when I ps aux. When I try to start the script, nothing is > returned either, I'd expect there to be some success or failure > message as there is when starting apache22. > After entering the rcvar to rc.conf, did you *start* tomcat again? Doesn't tomcat also require apache22_enable="YES" in rc.conf? -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:52:16 2008 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 775971065675 for ; Tue, 23 Dec 2008 19:52:16 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s5.stradamotorsports.com [64.81.163.123]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8FE8FC22 for ; Tue, 23 Dec 2008 19:52:16 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBNJqFlj014789; Tue, 23 Dec 2008 11:52:15 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <4951416F.8090201@highperformance.net> Date: Tue, 23 Dec 2008 11:52:15 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> In-Reply-To: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Going back to generic kernel 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, 23 Dec 2008 19:52:16 -0000 Zbigniew Szalbot wrote: > Hi friends, > > I have a test machine with a custom kernel, which I copied (as the > handbook suggests) to /root/kernels/. However, I do not really need > it. > > My question is how do I switch back to the generic kernel? Many thanks > and all the best to you all! > > /root/kernels is not booted by default. I doubt this is the kernel that is running. To run generic again, simply install the generic kernel much the same way you did the custon kernel. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC or set KERNCONF in /etc/make.conf If you tweaked /boot/loader.conf to load something other than /boot/kernel/kernel then you'll need to untweak it. Later, Jason From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:53:35 2008 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 2F2D71065673 for ; Tue, 23 Dec 2008 19:53:35 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 666298FC20 for ; Tue, 23 Dec 2008 19:53:34 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by bwz12 with SMTP id 12so7686499bwz.19 for ; Tue, 23 Dec 2008 11:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nWmgn9+rkB0dQGOe0f2fVB6/IzS6ZvbxYL7qtx3eS6E=; b=YbEFarMwNALG1kjDtDFZDvWhl8mZBtYDbghsZenw6vpo6dhP57dLYjgpdnc95W+ghU 6yu9P2gYL3D5lf3Z9+o2IXKWgCsM+riEkF4dC3NZWv3544qqCjh8oh8FA+5mkiG6KeOM 62O5xSiGoip7PGL0bFSoQksqHI7m5ZabFtfZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wfCgd9NDfGiooBH1tfwpjdMsdLRQGUHhKWmxEo4ZMCmB2auxvz0xTlcI8Tt2RlG0wX RhDs5/3PWoTlGpqbTfsLsBylPVk9d0vQrbtEl4Qt5opLrAVvUyJI5PCBmr0FaV4cb7fw C30eLSripWOAgcCsyaUVlICPNL+AcTF2lFAxA= Received: by 10.181.54.8 with SMTP id g8mr1879853bkk.114.1230061963923; Tue, 23 Dec 2008 11:52:43 -0800 (PST) Received: by 10.181.9.20 with HTTP; Tue, 23 Dec 2008 11:52:43 -0800 (PST) Message-ID: <1ba9cd9a0812231152u5f081558k46ba6ca3c3292856@mail.gmail.com> Date: Tue, 23 Dec 2008 13:52:43 -0600 From: "Joseph Simmons" To: "Glen Barber" In-Reply-To: <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:53:35 -0000 Yes, I tried starting it again and got the same result as before which is nothing at all happened. Apache HTTP server works fine, it starts with the computer in fact. I'm not sure if Apache's configuration would effect Tomcat, if so, the following is in rc.conf apache22_enable="YES" apache22_profiles="" apache22limits_enable="NO" apache22_flags="" apache22limits_args="-e -C daemon" apache22_http_accept_enable="NO" On Tue, Dec 23, 2008 at 1:46 PM, Glen Barber wrote: > On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons > wrote: >> I have tomcat6_enable="YES" in rc.conf and I don't see any tomcat >> process when I ps aux. When I try to start the script, nothing is >> returned either, I'd expect there to be some success or failure >> message as there is when starting apache22. >> > > After entering the rcvar to rc.conf, did you *start* tomcat again? > Doesn't tomcat also require apache22_enable="YES" in rc.conf? > > -- > Glen Barber > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:54:16 2008 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 6C7641065674 for ; Tue, 23 Dec 2008 19:54:16 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id DA6098FC16 for ; Tue, 23 Dec 2008 19:54:15 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by mail-bw0-f19.google.com with SMTP id 12so7686499bwz.19 for ; Tue, 23 Dec 2008 11:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BNCk1ti6oBDYI8jGxZFwLAnbl3sR+YgZtb6e+8PFHJA=; b=bbWHySftCa7Ha5EEV7jaEttadFX2pKbtIX4mw1z3Gg/7Q80X/V5FEdHHE4qDfRRM11 /XeteffdABikckw+2aJ5edhSANd94tU2AKU47+BuaNoFFKhkJXukmv5Krv27lVfjiglZ vDr7rVjDlDJrY/UlM+umzXqeqH8ZfpqVBvKKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gEFn9Nwr0pd3ZDWHFIW7495u6b4r4NbAJ5ftHxvvRl1XNNkcsMFFnhBapS9jI8oY82 uKvv+oGHH317TilF/K/1OBlUp9aYCFOUXZ6NV0D4sWvoxHN85DvTezt5RkxhHCNK1+we BmgrJ2hTP+vYsnyeoeyZdaNOXtwi4/7oYH3bI= Received: by 10.223.113.199 with SMTP id b7mr6378857faq.83.1230062027767; Tue, 23 Dec 2008 11:53:47 -0800 (PST) Received: by 10.223.110.143 with HTTP; Tue, 23 Dec 2008 11:53:47 -0800 (PST) Message-ID: <4ad871310812231153tb132617uca8f05b117e2f03e@mail.gmail.com> Date: Tue, 23 Dec 2008 14:53:47 -0500 From: "Glen Barber" To: "Joseph Simmons" In-Reply-To: <1ba9cd9a0812231152u5f081558k46ba6ca3c3292856@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> <1ba9cd9a0812231152u5f081558k46ba6ca3c3292856@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:54:16 -0000 On Tue, Dec 23, 2008 at 2:52 PM, Joseph Simmons wrote: > Yes, I tried starting it again and got the same result as before which > is nothing at all happened. > Apache HTTP server works fine, it starts with the computer in fact. > I'm not sure if Apache's configuration would effect Tomcat, if so, the > following is in rc.conf > > apache22_enable="YES" > apache22_profiles="" > apache22limits_enable="NO" > apache22_flags="" > apache22limits_args="-e -C daemon" > apache22_http_accept_enable="NO" > Try this: /usr/local/etc/rc.d/tomcat rcvar -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:55:38 2008 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 062A71065670 for ; Tue, 23 Dec 2008 19:55:38 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id A33EA8FC2E for ; Tue, 23 Dec 2008 19:55:37 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1672847ywe.13 for ; Tue, 23 Dec 2008 11:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HV2n29KarxwhjA9B584K/p89EVomvgOHfCqVIKpFSv8=; b=wm1wmycVNrEqnG8J3j/3FYcMTP1vanhUturgw6WjBWQ4YrU7Bd6dNt7g7xhiDZpQ1L hG3WAFiUTnoK75Z3Sk7QLh7SZMepSOx8L3DP8gkKqU5iqZbcdOQgjc9QHm9zXQRkBcHe fytmwcO0EGDamF9oRMGkkQML0rNzwK3+mLeXg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=q2EnJOxNQ26rU51/k95Tfqy8g/7nE+32Mxc0IOj+TwHWpBpfd9FQ5uA4Bjy/OmvUBQ FFXBWCps4rLhyfiVy6reP0ZxOPuWpL/jo3E/WexvzaK3DoLCKc1XpEq/PX8WlMdApVrp hCpkcHh3kf+4P2EnhkDt+/pk5Gd0E7IIH88CI= Received: by 10.65.218.13 with SMTP id v13mr6235648qbq.69.1230062137115; Tue, 23 Dec 2008 11:55:37 -0800 (PST) Received: by 10.64.179.9 with HTTP; Tue, 23 Dec 2008 11:55:37 -0800 (PST) Message-ID: <94136a2c0812231155u5e5859f6m75e453fbcbb42306@mail.gmail.com> Date: Tue, 23 Dec 2008 20:55:37 +0100 From: "Zbigniew Szalbot" To: "User Questions" In-Reply-To: <4951416F.8090201@highperformance.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> <4951416F.8090201@highperformance.net> Subject: Re: Going back to generic kernel 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, 23 Dec 2008 19:55:38 -0000 Hello, >> My question is how do I switch back to the generic kernel? Many thanks > /root/kernels is not booted by default. I doubt this is the kernel that is > running. It is as I symlinked it. > To run generic again, simply install the generic kernel much the same way > you did the custon kernel. > > cd /usr/src > make buildkernel KERNCONF=GENERIC > make installkernel KERNCONF=GENERIC That was all that I needed. I just failed to realize I need to compile it one more time and specify a generic one! Thanks! -- Zbigniew Szalbot www.fairtrade.net.pl www.slowo.pl From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:56:13 2008 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 C5710106567C for ; Tue, 23 Dec 2008 19:56:13 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 1B29A8FC28 for ; Tue, 23 Dec 2008 19:56:12 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by bwz12 with SMTP id 12so7690277bwz.19 for ; Tue, 23 Dec 2008 11:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HALf0BgSYTJkJa+3EZ1zZjgutH7XE2Y2k5BlQK/IWPk=; b=r8MI48+tJGeTiIq16UzQHm/LqrnLsHadAfTQUv2BhpqMjeKxrJ8nA7YZNrDu+b52zd c84fgbCT0H3JfSc9tXykIYG8WkSNi1ValD6UU2H0tgzyNK3m3EYe/8wouAF+IgZUDEOr F1W6YwlJOcY5atcbh9H/qgNAz704ZSPZo7dpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZJv9GDL3Bt9KwGaLB4JskiyAmxTZ3EOoOiFkHsJwgS47jcykRmFiwFZ0ZaAnKk+Eko 1gkUzLH6LGQ4oHO4qY6cQSKuar9YwK8GqQ2zH4vF+uTkBZvl/4CSCmVk77jrFB8RhRzB H1+erR2Nu+G2gqJG/e5udkghKxrG1GuGDsGSw= Received: by 10.181.202.12 with SMTP id e12mr2844938bkq.138.1230062169407; Tue, 23 Dec 2008 11:56:09 -0800 (PST) Received: by 10.181.9.20 with HTTP; Tue, 23 Dec 2008 11:56:09 -0800 (PST) Message-ID: <1ba9cd9a0812231156s35fff39esef31160c177eb8e1@mail.gmail.com> Date: Tue, 23 Dec 2008 13:56:09 -0600 From: "Joseph Simmons" To: "Glen Barber" In-Reply-To: <4ad871310812231153tb132617uca8f05b117e2f03e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> <1ba9cd9a0812231152u5f081558k46ba6ca3c3292856@mail.gmail.com> <4ad871310812231153tb132617uca8f05b117e2f03e@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:56:13 -0000 Ok I get what's below [root@cougar /usr/local/etc/rc.d]# ./tomcat6 rcvar # tomcat60 tomcat60_enable=NO I haven't restarted this computer since I've installed tomcat, could that be a problem? On Tue, Dec 23, 2008 at 1:53 PM, Glen Barber wrote: > On Tue, Dec 23, 2008 at 2:52 PM, Joseph Simmons > wrote: >> Yes, I tried starting it again and got the same result as before which >> is nothing at all happened. >> Apache HTTP server works fine, it starts with the computer in fact. >> I'm not sure if Apache's configuration would effect Tomcat, if so, the >> following is in rc.conf >> >> apache22_enable="YES" >> apache22_profiles="" >> apache22limits_enable="NO" >> apache22_flags="" >> apache22limits_args="-e -C daemon" >> apache22_http_accept_enable="NO" >> > > Try this: > > > /usr/local/etc/rc.d/tomcat rcvar > > > -- > Glen Barber > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:56:16 2008 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 979621065678 for ; Tue, 23 Dec 2008 19:56:16 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0208FC13 for ; Tue, 23 Dec 2008 19:56:16 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.42.133] (helo=smtp2.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LFDMV-0000tv-3h; Tue, 23 Dec 2008 20:56:15 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp2.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LFDMQ-00073l-M6; Tue, 23 Dec 2008 20:56:11 +0100 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id EF13F39840; Tue, 23 Dec 2008 20:56:02 +0100 (CET) Message-ID: <49514252.4080009@boosten.org> Date: Tue, 23 Dec 2008 20:56:02 +0100 From: Peter Boosten User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Glen Barber References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> In-Reply-To: <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1LFDMQ-00073l-M6 X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.913, required 5, BAYES_00 -2.60, SPF_NEUTRAL 0.69) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: matt donovan , Joseph Simmons , freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:56:16 -0000 Glen Barber wrote: > On Tue, Dec 23, 2008 at 2:33 PM, Joseph Simmons > wrote: >> I have tomcat6_enable="YES" in rc.conf and I don't see any tomcat >> process when I ps aux. When I try to start the script, nothing is >> returned either, I'd expect there to be some success or failure >> message as there is when starting apache22. >> > > After entering the rcvar to rc.conf, did you *start* tomcat again? > Doesn't tomcat also require apache22_enable="YES" in rc.conf? > It's tomcat60_enable="YES" (/usr/local/etc/rc.d/tomcat6 rcvar) You won't see any 'tomcat' process running, only java processes (default listening on port 8180 (use sockstat). Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:58:07 2008 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 27991106564A for ; Tue, 23 Dec 2008 19:58:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 944BE8FC1A for ; Tue, 23 Dec 2008 19:58:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBNJvtTX003357; Tue, 23 Dec 2008 19:58:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBNJvtTX003357 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230062281; bh=2R+kqavXAJdf8s osApKuLnir4seCyNbhGA0pBr0BmHk=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<495142BD.2070802@infracaninophile.co.uk>|Date:=20Tue,=2 023=20Dec=202008=2019:57:49=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Joseph=20Simmons=20|CC:=20matt=2 0donovan=20,=20freebsd-questions@freebsd.org| Subject:=20Re:=20starting=20Tomcat6|References:=20<1ba9cd9a08122310 36y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com>=09<49513618.8090107@in fracaninophile.co.uk>=09<1ba9cd9a0812231115t416a0002gaab47bc8459720 e0@mail.gmail.com>=09<28283d910812231123r606ed3e7y2900152c34ba1bd2@ mail.gmail.com>=20<1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mai l.gmail.com>|In-Reply-To:=20<1ba9cd9a0812231133p6c45b969pe7f857658f 0ce8a0@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"a pplication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig66 CC4D3CB88D9930796787AF"; b=pb8R/uvBKQ8XeKodO4wl/SeGNRf3PKkSKMXB5Hc4 37vAAM8aml7tSyIEUa6aCDUYxyJn/Ob1//pBYimd+WOgoI8goRzVXf5/2/IiV/9a1Ya fuINofZfHPRBsAVPM+vkUIoTF9kpfqA5B+FHkcQ/OE0ehXSsvY+9ggLl+oJS03L4= Message-ID: <495142BD.2070802@infracaninophile.co.uk> Date: Tue, 23 Dec 2008 19:57:49 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Joseph Simmons References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> In-Reply-To: <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig66CC4D3CB88D9930796787AF" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 23 Dec 2008 19:58:01 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8795/Tue Dec 23 17:58:21 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS,WEIRD_PORT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: matt donovan , freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:58:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig66CC4D3CB88D9930796787AF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Joseph Simmons wrote: > I have tomcat6_enable=3D"YES" in rc.conf and I don't see any tomcat > process when I ps aux. When I try to start the script, nothing is > returned either, I'd expect there to be some success or failure > message as there is when starting apache22. The process you'ld start is called 'java' according to ps(1) -- tomcat runs inside that. You certainly should get some output from the startup script. Seeing not= hing at all is a classic symptom of not having the right settings in rc.conf Try using sockstat(1) to see if you have anything likely with a network listener on ports 8180 8005 or 8009. Note that tomcat doesn't bind to port 80 (or 443 for SSL enabled versions) unless you modify server.xml=20 If there's a port 8180 listener, then http://localhost:8180/ should get you the default tomcat home page. If not then you should be able to find some logs in /usr/local/apache-tomcat6.0/logs which may offer clues. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig66CC4D3CB88D9930796787AF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklRQsMACgkQ8Mjk52CukIxW0gCfe+ezLsx9Byz3JZISJylRZKx7 a7wAnihhOzC0jzQnPeAgv9WJEMJ0undJ =VKVq -----END PGP SIGNATURE----- --------------enig66CC4D3CB88D9930796787AF-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 19:59:48 2008 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 DEB1D10656D6 for ; Tue, 23 Dec 2008 19:59:48 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) by mx1.freebsd.org (Postfix) with ESMTP id 922818FC1A for ; Tue, 23 Dec 2008 19:59:48 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [212.54.42.137] (helo=smtp6.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LFDPv-0008J1-GQ; Tue, 23 Dec 2008 20:59:47 +0100 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp6.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1LFDPt-0003k3-TA; Tue, 23 Dec 2008 20:59:46 +0100 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id C849139840; Tue, 23 Dec 2008 20:59:41 +0100 (CET) Message-ID: <4951432D.5080708@boosten.org> Date: Tue, 23 Dec 2008 20:59:41 +0100 From: Peter Boosten User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Joseph Simmons References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <4ad871310812231146w180d967bn41bf6fcf9ceb5aa8@mail.gmail.com> <1ba9cd9a0812231152u5f081558k46ba6ca3c3292856@mail.gmail.com> <4ad871310812231153tb132617uca8f05b117e2f03e@mail.gmail.com> <1ba9cd9a0812231156s35fff39esef31160c177eb8e1@mail.gmail.com> In-Reply-To: <1ba9cd9a0812231156s35fff39esef31160c177eb8e1@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1LFDPt-0003k3-TA X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.912, required 5, BAYES_00 -2.60, SPF_NEUTRAL 0.69, WEIRD_PORT 0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 23 Dec 2008 19:59:49 -0000 Joseph Simmons wrote: > Ok I get what's below > > [root@cougar /usr/local/etc/rc.d]# ./tomcat6 rcvar > # tomcat60 > tomcat60_enable=NO put this in your /etc/rc.conf tomcat60_enable="YES" then /usr/local/etc/rc.d/tomcat6 start look for the java process and browse to http://yourhost:8180 > > I haven't restarted this computer since I've installed tomcat, could > that be a problem? No, it isn't. Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:02:06 2008 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 E71511065676 for ; Tue, 23 Dec 2008 20:02:06 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 68EDF8FC1B for ; Tue, 23 Dec 2008 20:02:06 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by bwz12 with SMTP id 12so7697008bwz.19 for ; Tue, 23 Dec 2008 12:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0BCBW6m3ir7mgRExixKWOu1ch2ugk6Jt04+YvrMmCIg=; b=JAxjBy1i47cCD43fBDQJpRsm7wn9kam3Gl6HLZlKKTHmBuigElJCy/sJbE7Ge2vbZz 2Qas1EUFI4HCbQBOIcJkWKuM4F9vBfmuMxhEmRpVK77HoYYBLI4RMrz0NulkjNMGe2SN VmoZ19PNTHT0FVL+JZ1EKVg3n7tffX1xvgazM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=I3IBllu8rPpcPQ/LnziQGJ4HPKUbr8oReNSWJQHDqfPZCbtY+gAcmPodw7nvuvmPM6 SMb4b6b7n9JdFx+4Zz3RkaIwJm/A8lqrsVwFEf59ukVDE/X0kO5wAhJr8Bfme/SxoE4e Ncyk0wjHwo9CDmcCGypIObxYY4w3Y6kkxo4MY= Received: by 10.181.239.8 with SMTP id q8mr2854689bkr.1.1230062507910; Tue, 23 Dec 2008 12:01:47 -0800 (PST) Received: by 10.181.9.20 with HTTP; Tue, 23 Dec 2008 12:01:47 -0800 (PST) Message-ID: <1ba9cd9a0812231201o177a1c14k8942a3bfa7540d14@mail.gmail.com> Date: Tue, 23 Dec 2008 14:01:47 -0600 From: "Joseph Simmons" To: "Matthew Seaman" In-Reply-To: <495142BD.2070802@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> <1ba9cd9a0812231133p6c45b969pe7f857658f0ce8a0@mail.gmail.com> <495142BD.2070802@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org, Peter Boosten Subject: Re: starting Tomcat6 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, 23 Dec 2008 20:02:07 -0000 Changing tomcat6_enable to tomcat60_enable worked I'm able to connect on port 8180, thanks for the help. On Tue, Dec 23, 2008 at 1:57 PM, Matthew Seaman wrote: > Joseph Simmons wrote: >> >> I have tomcat6_enable="YES" in rc.conf and I don't see any tomcat >> process when I ps aux. When I try to start the script, nothing is >> returned either, I'd expect there to be some success or failure >> message as there is when starting apache22. > > The process you'ld start is called 'java' according to ps(1) -- tomcat > runs inside that. > > You certainly should get some output from the startup script. Seeing > nothing > at all is a classic symptom of not having the right settings in rc.conf > > Try using sockstat(1) to see if you have anything likely with a network > listener on ports 8180 8005 or 8009. Note that tomcat doesn't bind to > port 80 (or 443 for SSL enabled versions) unless you modify server.xml > If there's a port 8180 listener, then http://localhost:8180/ should get > you the default tomcat home page. > > If not then you should be able to find some logs in > /usr/local/apache-tomcat6.0/logs which may offer clues. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:03:22 2008 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 44DE1106564A for ; Tue, 23 Dec 2008 20:03:22 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id BEA008FC1A for ; Tue, 23 Dec 2008 20:03:21 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so7698513bwz.19 for ; Tue, 23 Dec 2008 12:03:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NOmgJuv2V2EK1C9RTsdUhDZL1og8cX2vbvfSJFe2D/I=; b=nTZm2suIL+ERwBBuSE+JLi9pAiTc2gCJYmgsaywsXunzeyx+55+15PpRY4Q5lfbviC npdkd6m2/Ueei1vmweA/N3MJ7B1l13jfMaa/x8XOQYtKcKSC4I/6K7nEuRIV1TcqcPoz ycnsIE8srVVtMvSnCGykByV5YyNLx3t9oRhVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=n6RuKOjsQZXDgbyM7IM0pYyizpDV8PJqAcNEji+IhUL4p+ZqhcynR+kHVUyGNtjDJK LY5D2TGpDiQXmjlkL+ntPyzQU33FSosTzq1WVRMoW/o79iqAUs0VU5/zi0E8Iw4jEY4I umnpUznINMGHU1j7eo6Iy9iefQdfnWvAdrd2o= Received: by 10.223.120.197 with SMTP id e5mr6415996far.25.1230062586844; Tue, 23 Dec 2008 12:03:06 -0800 (PST) Received: by 10.223.110.143 with HTTP; Tue, 23 Dec 2008 12:03:06 -0800 (PST) Message-ID: <4ad871310812231203k317271bofcf1e623e7c1ade7@mail.gmail.com> Date: Tue, 23 Dec 2008 15:03:06 -0500 From: "Glen Barber" To: "Zbigniew Szalbot" In-Reply-To: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> Cc: User Questions Subject: Re: Going back to generic kernel 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, 23 Dec 2008 20:03:22 -0000 On Tue, Dec 23, 2008 at 2:45 PM, Zbigniew Szalbot wrote: > Hi friends, > > I have a test machine with a custom kernel, which I copied (as the > handbook suggests) to /root/kernels/. However, I do not really need > it. > > My question is how do I switch back to the generic kernel? Many thanks > and all the best to you all! > cd /usr/src; make kernel; reboot -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:11:21 2008 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 F2234106564A for ; Tue, 23 Dec 2008 20:11:21 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 807688FC20 for ; Tue, 23 Dec 2008 20:11:21 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so302637eyd.7 for ; Tue, 23 Dec 2008 12:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=R3hkBesyP0+bPCjPBiXz0XGipPA7bgF2iJdNmWG4mPU=; b=Hf3EGrpAfah8s6PLR5/W12rSkW3J8iES5E7Jt0Eo5nVD0oZSGaTmN4UzJjvUCaS1By 2ub24H6EMBPicw1Y5y0szohFdVvXjU0luzYnHpBuAX6WzfADXYeTVAklFmU9TyJo6qfh MFeeIqpPWHm16NLWR6kR/SnRf9v5Ql7vJv/iY= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=Yg0yQay5Gv8Y8yLY9GmAlaff2M6s3zzhrrlcFFBghuafb4U4R5xD9K6bZ7+3KmQgcf 0fGUG311+++jeE44zoxdTJvPRJbIWPDG8lr+UoVIsDYt5vBT4dFeqIfbu7pcG/HCSjch 9a2xJEgqUrnzmWNEfkqzoczcS7IXFTcsO0Do8= Received: by 10.210.49.7 with SMTP id w7mr9308537ebw.6.1230063080116; Tue, 23 Dec 2008 12:11:20 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-04701.home.otenet.gr [87.202.18.129]) by mx.google.com with ESMTPS id 10sm196312eyz.39.2008.12.23.12.11.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 12:11:19 -0800 (PST) Message-ID: <495145E5.5030909@gmail.com> Date: Tue, 23 Dec 2008 22:11:17 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> In-Reply-To: <94136a2c0812231145w5eebdc20he7bef86fcbcddac@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Going back to generic kernel 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, 23 Dec 2008 20:11:22 -0000 Zbigniew Szalbot wrote: > Hi friends, > > I have a test machine with a custom kernel, which I copied (as the > handbook suggests) to /root/kernels/. However, I do not really need > it. > > My question is how do I switch back to the generic kernel? Many thanks > and all the best to you all! > > If you don't have a copy of your previous GENERIC kernel, you can still get one from the CD. Here is an example, using a FreeBSD 7.0-RELEASE CD: # mount /cdrom # cd /cdrom/7.0-RELEASE/kernels # ./install.sh GENERIC This will install it to /boot/GENERIC and you can copy it to /boot/kernel if you wish. Or you can use nextboot(8) to boot it once and see what happens. Keep in mind that if you have updated your system (e.g. freebsd-update), this kernel may not be in sync with the rest of the system. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:28:05 2008 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 F3BCD1065670 for ; Tue, 23 Dec 2008 20:28:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD208FC17 for ; Tue, 23 Dec 2008 20:28:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBNKRwXf004666; Tue, 23 Dec 2008 20:27:59 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBNKRwXf004666 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230064079; bh=2DHqeojr37AQQT refpw87anTBn9GUPGAhmSaYxFnJ9o=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<495149C9.4050705@infracaninophile.co.uk>|Date:=20Tue,=2 023=20Dec=202008=2020:27:53=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Gary=20Kline=20|CC:=20freebsd-questions @freebsd.org|Subject:=20Re:=20Sed=20question|References:=20<2008122 1053407.GA87868@thought.org>=20<877i5unkx4.fsf@kobe.laptop>=20<1229 854084.6392.52.camel@ethos>=20<20081221140658.GA24691@marge.bs.l>=2 0<20081221222744.GA28185@thought.org>=20<494F5590.3090400@infracani nophile.co.uk>=20<20081223190849.GD98784@thought.org>|In-Reply-To:= 20<20081223190849.GD98784@thought.org>|X-Enigmail-Version:=200.95.6 |Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A =20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-- ----------enig54719555333A7AA1F1D8B2B8"; b=G5iLSddWKNGAzGJOiBasTWVH foAINvsnHys/mDWPM4cQ0EEtSXFKFijei7TtN5RtQw2zPCiDwIGVdKspV1+ytnONtFU zWYfFEuzCRK7URIlMmuscpKy5AMjQPtJZ+zglQmHgYZfv29G5wFGZt3GrFoAv8ufoUQ agmV47gO3rNKY= Message-ID: <495149C9.4050705@infracaninophile.co.uk> Date: Tue, 23 Dec 2008 20:27:53 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Gary Kline References: <20081221053407.GA87868@thought.org> <877i5unkx4.fsf@kobe.laptop> <1229854084.6392.52.camel@ethos> <20081221140658.GA24691@marge.bs.l> <20081221222744.GA28185@thought.org> <494F5590.3090400@infracaninophile.co.uk> <20081223190849.GD98784@thought.org> In-Reply-To: <20081223190849.GD98784@thought.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig54719555333A7AA1F1D8B2B8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 23 Dec 2008 20:27:59 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8795/Tue Dec 23 17:58:21 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Sed question 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, 23 Dec 2008 20:28:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig54719555333A7AA1F1D8B2B8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Gary Kline wrote: > On Mon, Dec 22, 2008 at 08:53:36AM +0000, Matthew Seaman wrote: >> Gary Kline wrote: >> >>> anyway, this is one for giiorgos, or another perl wiz. i've >>> been using the perl subsitution cmd one-liner for years with >>> unfailing success. is there a way of deleting lines with perl >>> using the same idea as: >>> >>> perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' file1 file2 fileN >> To delete lines matching a R.E. (grep -v effectively): >> >> perl -ni.bak -e 'm/SOMETHING/ || print;' file1 file2 fileN >> >=20 > Matthew,=20 >=20 > I've been trying, unsuccessfully, to parse the above. What does > the "m" [in 'm/SOMETHING/' do. i thought it was 'match' ... and > another one, just FWIW: can perl's regex be set to ignore cases? It's the standard perl regular expression matching operator. See the section on "Regexp Quote-Like Operators" in the perlop(1) man page. What= is does is quite similar in English to the way it's written in perl: it checks each line, and either matches SOMETHING or prints the line. Perl RE's can do just about anything (including some things that are actually impossible with pure Regular Expressions (like counting opening and closing brackets)). To make the match case insensitive just use: m/SOMETHING/i (There are several other ways to achieve the same effect: this is perl, a= fter all) >=20 >> To delete lines by number from many files -- eg. exclude lines 3 to 7:= >> >> perl -ni.bak -e 'print unless ( 3 .. 7 ); close ARGV if eof;' \ >> file1 file2 fileN >> >> The malarkey with 'close ARGV' is necessary because otherwise perl >> won't reset the input line number counter ($.) for each new file. >=20 >=20 > yeah, it's pretty important to reset the counter to zero since > i've got so many files. >=20 > one way to avoid that extended line would be to embed the perl > string within a /bin/shell script, :-) Scripts within scripts, > eh? lol. Oh: a final question. does the perl regex match vi's > /\ ? it seemed like this plot in /OLDSTRING/ failed last > sunday. i'm not entirely sure, tho. No need to do that. perl is not just for one-liners, and it can be used = as the interpreter on shebang lines. In fact, that's probably the most comm= on way of running perl stuff. You can write the above (in a more long-winded wa= y) as: #!/usr/bin/perl -n print unless ( 3 .. 7 ); close ARGV if eof; Save as a file 'foo.pl', make it executable by "chmod +x foo.pl" and then= just run it as: ./foo.pl file1 file2 fileN I'm not sure what \ means in vi(1), but I'll hazard a guess that yo= u're=20 trying to match word boundaries. Sure perl can do that. You want the '\= b' thingy[*], like so: m/\bfoo\b/ which will match 'foo' as a separate word= =2E See perlre(1) for the gory details (but be warned, it's a long read). I did see another answer to your question by Jonathan McKeown who was act= ually a lot more thorough about how to do this than I was. He discussed the impo= rtant point about what happens if eg. you apply the 'delete lines 3 .. 7' comma= nd to a file with only 6 lines, and more importantly how to stop that ruining you= r whole day. Cheers, Matthew > thanks much, >=20 > gary >=20 >=20 >> The range expression ( N .. M ) can take matching terms rather than >> line numbers, so you can also do things like: >> >> perl -ni.bak -e 'print unless ( m/FIRST/ .. m/SECOND/ )' \ >> file1 file2 fileN >> >> Cheers, >> >> Matthew >> >> --=20 >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> Kent, CT11 9PW >> >=20 >=20 >=20 [*] Described as a 'zero width assertion' in the man page, but that's too= much typing. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig54719555333A7AA1F1D8B2B8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklRSc4ACgkQ8Mjk52CukIyNqgCfV3aOZU0iWnfSUKzgvrNL9XC5 /GgAnAjLVWRE+oXka1sEIHMCzxHxv2jL =BHOE -----END PGP SIGNATURE----- --------------enig54719555333A7AA1F1D8B2B8-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 20:32:21 2008 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 2274F106564A; Tue, 23 Dec 2008 20:32:21 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from smtpa1.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id 807C18FC1A; Tue, 23 Dec 2008 20:32:19 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKXgMO028223; Tue, 23 Dec 2008 21:33:42 +0100 Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKInbJ007346; Tue, 23 Dec 2008 21:18:50 +0100 Received: from r300-4 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKE6O3006374; Tue, 23 Dec 2008 21:14:06 +0100 Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKAX9I023178; Tue, 23 Dec 2008 21:10:33 +0100 Received: from spotteswoode.dnsalias.org ([77.22.112.43]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBNKBM6R009183; Tue, 23 Dec 2008 21:11:22 +0100 Received: from spotteswoode.de.eu.org (localhost [127.0.0.1]) by spotteswoode.dnsalias.org (Postfix) with ESMTP id 76AD176DBF; Tue, 23 Dec 2008 21:10:23 +0100 (CET) Date: Tue, 23 Dec 2008 21:10:23 +0100 From: clemens fischer To: Hans Petter Selasky Message-ID: <20081223201023.GB3469@spotteswoode.de.eu.org> References: <200812221944.17694.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812221944.17694.hselasky@c2i.net> X-PGP-ID: 0x214190AF X-Archive: encrypt=none User-Agent: Mutt/1.5.18 (2008-05-17) X-mediaBEAM-MailScanner-Information: Spam-/VirusProtection V1.1 X-mediaBEAM-VirusProtection: clean Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 23 Dec 2008 20:32:21 -0000 > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. Sorry, currently I get build errors, possibly unrelated: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c 1 error *** Error code 2 1 error *** Error code 2 1 error I'll svn the repo (to HEAD of CURRENT) and try again. regards, clemens From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 22:04:03 2008 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 2DD0B106564A for ; Tue, 23 Dec 2008 22:04:03 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 479C98FC08 for ; Tue, 23 Dec 2008 22:04:02 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by bwz12 with SMTP id 12so7849271bwz.19 for ; Tue, 23 Dec 2008 14:04:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/AEPMguianaJaFd705AKYWTm6JOvyN4An0JKDKNGqQQ=; b=npyLT/IgkrjtRklYscWFhYarZ/J4kKUlg/cImBFDSjgPEpmrxt3/+zFW9Al3l2y65O AGL39attmrN7lvWEksYPVWK+g5n6nNN1fT1ZS94n/Lu7SPv+WKaR4bzL+jtA/hJUro8n 0sDftvE+Pg8z9pkhybe71+iiuni8ZKpAdS40E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=opN1UJnqht/N3z86CbPTM5BTioUzoU1tTCSjWYtx7RDf3BciStI2NYfUhc+YHd1bkf CQpOkOC0W0oVF+kpDCOfFgrBHr3GbIm+GaYdTyOtXc9YXOzjuB9KxLQEGPFtPirw9IjR k/zYyR4WJFkPPY5acNOv9fJjPHl1dteYTo+jc= Received: by 10.181.208.8 with SMTP id k8mr2880364bkq.128.1230069840578; Tue, 23 Dec 2008 14:04:00 -0800 (PST) Received: by 10.181.13.11 with HTTP; Tue, 23 Dec 2008 14:04:00 -0800 (PST) Message-ID: <560f92640812231404m2d10523wba5c79bdaa4e421d@mail.gmail.com> Date: Tue, 23 Dec 2008 14:04:00 -0800 From: "Nerius Landys" To: "Jason C. Wells" In-Reply-To: <495134BB.5040309@highperformance.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <495134BB.5040309@highperformance.net> Cc: freebsd general questions Subject: Re: NTPD on 7.1-PRERELEASE 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, 23 Dec 2008 22:04:03 -0000 There was recently a thread that I started relating to ntpd not starting correctly becuase DNS and network were not available at the time of start. Do a ps -U root | grep ntpd If you see 2 processes, then the thread I mention may apply to you. If you see one or no processes, then that thread probably does not apply to you. In the thread, we were talking about how the DNS resolver helper process did not return successfully, causing 2 processes to appear and the ntpd not working. The subject of the thread in question is "named and ntpd start order in rc.d". On Tue, Dec 23, 2008 at 10:58 AM, Jason C. Wells wrote: > My ntpd will not sync on my newly installed 7.1-PRERELEASE hosts. The > configuration is the same as other correctly time synched hosts. They are > behind the same firewall. The only difference is that these hosts are > running 7.1. > > Does anyone have any tricks for getting ntpd to sync on 7.1? Did something > time related change in the kernel? > > Thanks, > Jason > _______________________________________________ > 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 Tue Dec 23 22:47:22 2008 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 3B8801065677 for ; Tue, 23 Dec 2008 22:47:22 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id C38788FC14 for ; Tue, 23 Dec 2008 22:47:21 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: by ewy14 with SMTP id 14so3514543ewy.19 for ; Tue, 23 Dec 2008 14:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=XTXFhl5+9eeYjavjdAZlBpwKuIiV0Z4pYYfvO453flQ=; b=kv5V+H2pbkmgknCwekx59ouVYtdceKdxAwif7J3W8w+9Bi4YSh7vQEX2guJD/fRdi7 PHEEIYwSg+dZlf6FPznLZQ5rRTLWSYlvVjQWDCHiIT4lze0qyJK63h1CkoyOtJibDJ9Q 0eNA1t1fJvREz8Zeh6pHsf/2+EpumUryPSROE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=gAxmoWiAh+sReB5Q+ojM9LtgpyQiV6z0dMjGf5/0VUnqCNqa5o/n8LLOnLcLCVl7fe PmYcTPzijIrDc6IizgM9t+eZ0ZRHuLLcgEQEQSDmqSImpHhktkizyyOJg0jCGbfFitFu 2SLescNVMY5I4ORzC+zAj/VrVOSJcV6wlbuyA= Received: by 10.210.51.18 with SMTP id y18mr9453909eby.103.1230072440292; Tue, 23 Dec 2008 14:47:20 -0800 (PST) Received: by 10.210.68.4 with HTTP; Tue, 23 Dec 2008 14:47:20 -0800 (PST) Message-ID: Date: Wed, 24 Dec 2008 00:47:20 +0200 From: EforeZZ To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: boot0 loader minor problems 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, 23 Dec 2008 22:47:22 -0000 Hello, I have a minor problem with boot0 loader on Acer Extensa 5220. I have four slices: FreeBSD, Windows, FreeBSD, FreeBSD. The problem is that sometimes boot0 code loads OS from active partition no matter which of F[1-4] I press. Sometimes boot0 code starts loading OS from the default slice and gives me no chances to select the slice to boot from (I have ticks=12000!) Should it be a problem with my buggy BIOS? Thanks for any suggestions. Best regards, EforeZZ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 22:51:04 2008 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 BF0F7106568A for ; Tue, 23 Dec 2008 22:51:04 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forwards4.yandex.ru (forwards4.yandex.ru [77.88.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id 1C88C8FC0C for ; Tue, 23 Dec 2008 22:51:04 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from smtp13.yandex.ru (smtp13.yandex.ru [77.88.32.83]) by forwards4.yandex.ru (Yandex) with ESMTP id 73D1719306E; Wed, 24 Dec 2008 01:51:01 +0300 (MSK) Received: from 123-40-178-94.pool.ukrtel.net ([94.178.40.123]:13579 "EHLO HOMEUSER" smtp-auth: "kes-kes" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S5980285AbYLWWu4 (ORCPT + 2 others); Wed, 24 Dec 2008 01:50:56 +0300 X-Yandex-Spam: 1 X-Yandex-Front: smtp13 X-Yandex-TimeMark: 1230072656 X-BornDate: 1149541200 X-Yandex-Karma: 0 X-Yandex-KarmaStatus: 0 X-MsgDayCount: 4 X-Comment: RFC 2476 MSA function at smtp13.yandex.ru logged sender identity as: kes-kes Date: Wed, 24 Dec 2008 00:50:59 +0200 From: KES X-Mailer: The Bat! (v4.0.24) Professional Organization: SaftTen X-Priority: 3 (Normal) Message-ID: <1004558695.20081224005059@yandex.ru> To: KES In-Reply-To: <498807086.20081221134904@yandex.ru> References: <42213407.20081212101341@yandex.ru> <200812180805.36858.fbsd.questions@rachie.is-a-geek.net> <869279445.20081218100354@yandex.ru> <200812211210.48287.fbsd.questions@rachie.is-a-geek.net> <498807086.20081221134904@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Mel , users@subversion.tigris.org, freebsd-questions@freebsd.org Subject: Re[3]: can not start SVNserve X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KES List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 22:51:04 -0000 Çäðàâñòâóéòå, KES. Âû ïèñàëè 21 äåêàáðÿ 2008 ã., 13:49:04: K> Çäðàâñòâóéòå, Mel. K> Âû ïèñàëè 21 äåêàáðÿ 2008 ã., 13:10:47: M>> On Thursday 18 December 2008 09:03:54 KES wrote: >>> Çäðàâñòâóéòå, Mel. >>> >>> Âû ïèñàëè 18 äåêàáðÿ 2008 ã., 9:05:35: >>> >>> M> On Wednesday 17 December 2008 21:02:07 KES wrote: >>> >> Çäðàâñòâóéòå, Mel. >>> >> >>> >> Âû ïèñàëè 17 äåêàáðÿ 2008 ã., 9:11:19: >>> >> >>> >> M> On Sunday 14 December 2008 16:11:17 KES wrote: >>> >> >> Çäðàâñòâóéòå, Polytropon. >>> >> >> >>> >> >> Âû ïèñàëè 14 äåêàáðÿ 2008 ã., 15:11:35: >>> >> >> >>> >> >> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar >>> >> >> >>> >> >> P> wrote: >>> >> >> >> > su: Sorry >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > kes# pw user mod svn -s /bin/bash >>> >> >> >> > kes# pw user show svn >>> >> >> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >>> >> >> >> > kes# /usr/local/etc/rc.d/svnserve start >>> >> >> >> > Starting svnserve. >>> >> >> >> > su: Sorry >>> >> >> >> >>> >> >> >> try to change directory to existent >>> >> >> >>> >> >> P> (1) What's /bin/bash? Check existing shell. >>> >> >> >>> >> >> P> (2) As you said: Check existing directory. >>> >> >> >>> >> >> P> (3) Regarding su, check for wheel group inclusion. >>> >> >> >>> >> >> home# uname -a >>> >> >> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 >>> >> >> 02:11:24 EEST 2008 >>> >> >> kes@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw user >>> >> >> show svn >>> >> >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin >>> >> >> >>> >> >> As you can see on 'home' machine svn user has no valid shell also it >>> >> >> has not valid home directory and it is not included into wheel group >>> >> >> >>> >> >> But svnserve is started and works fine. With same settings svnserve >>> >> >> does not work on >>> >> >> kes# uname -a >>> >> >> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov >>> >> >> 23 17:19:12 EET 2008 >>> >> >> kes@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 >>> >> >>> >> M> echo 'rc_debug="YES"'>>/etc/rc.conf >>> >> M> /usr/local/etc/rc.d/svnserve start >>> >> >>> >> M> Show output from /var/log/messages. >>> >> >>> >> kes# kes# /usr/local/etc/rc.d/svnserve start >>> >> /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set >>> >> to YES. Starting svnserve. >>> >> /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c >>> >> 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 --foreground -r >>> >> /var/db/trunk"' su: Sorry >>> >>> M> Does this command work from the command line? >>> M> If not, does it work if called as su -fm rather then su -m? >>> M> If that does not work, does the primary group svn is supposed to be in >>> exist? >>> >>> >>> kes# su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 >>> --foreground -r /var/db/trunk"' su: Sorry >>> kes# su -fm svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 >>> --foreground -r /var/db/trunk"' su: Sorry >>> kes# pw group show svn >>> svn:*:1005: >>> kes# cat /etc/group | grep svn >>> svn:*:1005: >>> kes# pw user show svn >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >>> >>> As you see it does not work also with -fm option >>> >>> >>> Also I notice next differences between FreeBDS 7.0 and 7.1 (detail below) >>> Notice that on both system account is locked, has no valid shell and >>> home directory >>> on FreeBSD 7.0 when I try to login with svn user it says: This account is >>> currently not available. on FreeBSD 7.1 when I try to login with svn user >>> it says: su: Sorry Maybe there is a problem with su on FreeBSD 7.1? >>> >>> >>> >>> home# pw user show svn >>> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin >>> home# su svn >>> This account is currently not available. >>> >>> >>> kes# pw user show svn >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash >>> kes# su svn >>> su: Sorry >>> kes# pw user mod svn -s /usr/bin/nologin >>> kes# pw user show svn >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin >>> kes# su svn >>> su: Sorry M>> The problem is elsewhere. Probably in pam(3) on the faulty machine. The only M>> change to su.c from 7.0 to 7.1 is fixing a compiler warning. There are 3 M>> instances where su exits with "Sorry". All occasions are logged to syslog. M>> Can you dig those log entries up? K> Dec 21 13:47:54 kes su: kes to root on /dev/ttyp5 K> Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES. K> Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: run_rc_command: doit: K> su -m svn -c 'sh -c "/usr/local/bin/svnserve -d K> --listen-port=3690 --foreground -r /var/db/trunk"' K> Dec 21 13:47:58 kes su: pam_acct_mgmt: authentication error K> Yeah, there is problem with pam. Why pam restrict root to run command K> under other user? Strange, but mysql works... (( kes# /r/mysql-server start /r/mysql-server: DEBUG: checkyesno: mysql_enable is set to YES. /r/mysql-server: DEBUG: pid file (/var/db/mysql/kes.net.ua.pid): not readable. /r/mysql-server: DEBUG: run_rc_command: start_precmd: mysql_prestart /r/mysql-server: DEBUG: checkyesno: mysql_limits is set to NO. Starting mysql. /r/mysql-server: DEBUG: run_rc_command: doit: su -m mysql -c 'sh -c "/usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf --user=mysql --datadir=/var/db/mysql --pid-file=/var/db/mysql/kes.net.ua.pid > /dev/null 2>&1 &"' /r/mysql-server: DEBUG: run_rc_command: start_postcmd: mysql_poststart -- Ñ óâàæåíèåì, KES mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 22:51:24 2008 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 C0F461065675 for ; Tue, 23 Dec 2008 22:51:24 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 480B48FC24 for ; Tue, 23 Dec 2008 22:51:23 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so7910971bwz.19 for ; Tue, 23 Dec 2008 14:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pgfpMOVkcLhZymGoFfWQOYeYft/beu0aJIw4d0lbjx0=; b=vMB6zbom75oGKAVROWtEUtlWZXGr3rKWtPXBFkjCYSjDBRgEjIlBSNoY6YTsbMtdqQ q/Ul8W3nOPQlfQjaDc1R6vbxGl4k+Xv3hekTX3Hdr9qiXR6eMiB8ReAZmwMBGBPhXXDW MaUnOf5iu31s4Pcf4QO6l5+iP0efmQ7fuyuY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZNV80o5EgMatBEh/wzwokn3HB/fRwnlzXx1vaIBUzPy+hteWnUdz2MvXJ9ywomv6WP UzPXpblKvgJGCuSZyUU0adkiHVi72kkS6KqcmKxbk7H7LMgSLIyMuJvw6kafidkMIGVp D5zyLX8D5W//8xnLRPUxA4IxQIeDVvZXzAcrc= Received: by 10.103.214.13 with SMTP id r13mr2944196muq.37.1230072681940; Tue, 23 Dec 2008 14:51:21 -0800 (PST) Received: by 10.103.91.11 with HTTP; Tue, 23 Dec 2008 14:51:21 -0800 (PST) Message-ID: <4ad871310812231451w773dbeeco26fe08551efcd8e6@mail.gmail.com> Date: Tue, 23 Dec 2008 17:51:21 -0500 From: "Glen Barber" To: EforeZZ In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions Subject: Re: boot0 loader minor problems 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, 23 Dec 2008 22:51:24 -0000 On Tue, Dec 23, 2008 at 5:47 PM, EforeZZ wrote: > Hello, > > I have a minor problem with boot0 loader on Acer Extensa 5220. > I have four slices: FreeBSD, Windows, FreeBSD, FreeBSD. > > The problem is that sometimes boot0 code loads OS from active > partition no matter which of F[1-4] I press. Sometimes boot0 code > starts loading OS from the default slice and gives me no chances to > select the slice to boot from (I have ticks=12000!) > > Should it be a problem with my buggy BIOS? > Or a corrupt bootsector. One way to test if it is hardware/software related would be to install sysutils/grub -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 01:12:31 2008 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 EFE351065686 for ; Wed, 24 Dec 2008 01:12:31 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 3A7A98FC0C for ; Wed, 24 Dec 2008 01:12:31 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by ewy14 with SMTP id 14so3563926ewy.19 for ; Tue, 23 Dec 2008 17:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=LS4vvPJ7uHRwC+b2aGq5XzG0ii4m2xpkY0EOCha1Kvc=; b=jNumCDdYWteMQRnekXqo0yBj8hZtju3VhdzuY199TKNwufSqUYP4OFy2Wh4AAwoNmo g9tNvRk+iFDZn8zSwsHIBIXKmK1TrIasDgrSewK/ATQIoYKsuNTkwRg8Bk6bB3iZDXI0 iK6PBc8OQQJLo7TvM7SS3LerfobZjnmee72Jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=uQNF/2SWvLaTTb0QOUD7tubGBHoAUJxV666wlUL+FepXH9efRPzawa9V+1a9/gcLjJ 8TO3J9xhnM/aQ/VetLV6PI1/6OKmx0/NGWQTd/auZnF7g1o0RxQCQAAagM7W/iylxeI8 72qOWtdAruUWCTGbzEUxt9qeBaNffi+/rqUNc= Received: by 10.210.127.10 with SMTP id z10mr2005016ebc.33.1230079518065; Tue, 23 Dec 2008 16:45:18 -0800 (PST) Received: by 10.210.88.9 with HTTP; Tue, 23 Dec 2008 16:45:18 -0800 (PST) Message-ID: <28b9b4180812231645q661f85d8o2feab15451d1dbb@mail.gmail.com> Date: Tue, 23 Dec 2008 16:45:18 -0800 From: "Kayven Riese" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: biojava port fails on jakarta-commons-dbcp 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, 24 Dec 2008 01:12:32 -0000 My prompt for root is "KV_BSD#" Here is my java version: KV_BSD# java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) Here is my BSD build: KV_BSD# uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I was trying to build this port: KV_BSD# pwd /usr/ports/biology/biojava KV_BSD# -- Here are the error messages: ===> Building for jakarta-commons-dbcp-1.2.1_2 Buildfile: build.xml BUILD FAILED java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96) at org.apache.tools.ant.Main.runBuild(Main.java:683) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 0 seconds java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:88) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:120) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:104) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:172) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:185) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:138) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:96) at org.apache.tools.ant.Main.runBuild(Main.java:683) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Bad version number in .class file *** Error code 1 Stop in /usr/ports/java/jakarta-commons-dbcp. *** Error code 1 Stop in /usr/ports/java/jakarta-commons-dbcp. /usr/ports/biology/biojava I tried googling, have a feeling that java is the culprit, but I am getting a stomach ache now. *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 04:11:39 2008 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 181501065674 for ; Wed, 24 Dec 2008 04:11:39 +0000 (UTC) (envelope-from corbesero@ptd.net) Received: from pm13.mailnet.ptd.net (pm13.mailnet.ptd.net [204.186.29.106]) by mx1.freebsd.org (Postfix) with ESMTP id B6A418FC12 for ; Wed, 24 Dec 2008 04:11:38 +0000 (UTC) (envelope-from corbesero@ptd.net) Received: (qmail 23314 invoked by uid 50005); 24 Dec 2008 03:44:57 -0000 Received: from 70.15.4.195.res-cmts.sm.ptd.net by pm13.mailnet.ptd.net (envelope-from , uid 50002) with qmail-scanner-2.02 (clamdscan: 0.94.2/8791. Clear:RC:1(70.15.4.195):. Processed in 0.020604 secs); 24 Dec 2008 03:44:57 -0000 Received: from 70.15.4.195.res-cmts.sm.ptd.net (HELO ptd.net) (authenticated:corbesero@[70.15.4.195]) (envelope-sender ) by pm13.mailnet.ptd.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 24 Dec 2008 03:44:57 -0000 Received: from frodo.corbesero.net (frodo.corbesero.net [192.168.201.31]) by corbesero.net (8.14.2/8.14.1) with ESMTP id mBO3iuMF025669 for ; Tue, 23 Dec 2008 22:44:56 -0500 (EST) (envelope-from flash@mailhost.corbesero.net) Received: from frodo.corbesero.net (localhost.localdomain [127.0.0.1]) by frodo.corbesero.net (8.13.8/8.13.8) with ESMTP id mBO3iull016659 for ; Tue, 23 Dec 2008 22:44:56 -0500 Received: (from flash@localhost) by frodo.corbesero.net (8.13.8/8.13.8/Submit) id mBO3iubl016656; Tue, 23 Dec 2008 22:44:56 -0500 Date: Tue, 23 Dec 2008 22:44:56 -0500 Message-Id: <200812240344.mBO3iubl016656@frodo.corbesero.net> From: Stephen Corbesero To: freebsd-questions@freebsd.org X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gimli.corbesero.net Subject: Use Sysinstall/Configure on geom's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: corbesero@ptd.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 04:11:39 -0000 How can I use the visual label editor on a geom object like a mirror, or is using bsdlabel/disklabel the only way to create the partitions? -- Stephen Corbesero It's always darkest Bethlehem, PA 18015 before pitch black. corbesero@ptd.net From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 04:13:11 2008 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 A6593106564A for ; Wed, 24 Dec 2008 04:13:11 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s6.stradamotorsports.com [64.81.163.124]) by mx1.freebsd.org (Postfix) with ESMTP id 666E98FC08 for ; Wed, 24 Dec 2008 04:13:11 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBO4DARp019049 for ; Tue, 23 Dec 2008 20:13:11 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <4951B6D6.30206@highperformance.net> Date: Tue, 23 Dec 2008 20:13:10 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel Variables Sanity Check 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, 24 Dec 2008 04:13:11 -0000 Based on someone elses historical message I tried changing the time counter from TSC to i8254 # sysctl kern.timecounter.hardware=i8254 and after doing some manual calculations I tweaked # sysctl machdep.i8254_freq=1187216 # machdep.i8254_freq: 1193182 -> 1187216 Is doing this safe? I'm concerned that there are unforeseen consequences to messing with these kernel variables. Ntpd seems to like this setup. Anything to make ntpd happy. And if I may, why can't ntpd do this? (Don't answer that.) I use the FINE software to set my clock so I don't have to. It's supposed to make my life easier. Thanks, Jason From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 11:24:16 2008 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 04FA51065673 for ; Wed, 24 Dec 2008 11:24:16 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id B1D948FC19 for ; Wed, 24 Dec 2008 11:24:15 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1767091ywe.13 for ; Wed, 24 Dec 2008 03:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=XZKGJLcFpMY/naL4AsWSfRwK929o++X+CU5jVxbtje8=; b=LtSXCPoR0kKuqW7s4fHnXWzv3DaUs5IxThcgrEnDG+JiralgnsDOohaGCBaSL16iFz FQ2U0AbNtisRlpXuAs+/b2aLag3VSUVLlpZ/CMYKpU7Js6aznf4A6+Max6AD/6dDER28 UxrGcp7RMmUTd3XF1Jt3sSV/JVaZRySDT9kKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=bGu44XyIywuspl1DpmQApjOtRM9tOBZ6Bj7yIzlnSdJhSdMjGW8SsF6R2NvnGnYV27 x1mkkCenfgkXgP7b0FIdckHh7leme32gGLD7OiBwY+5bGofELn164fpB7S4jLyDprPBO iEMGNMj5KmD0OuL6PCFxItgoS3mw349Eh4Fu4= Received: by 10.90.120.19 with SMTP id s19mr4426485agc.17.1230115914342; Wed, 24 Dec 2008 02:51:54 -0800 (PST) Received: from ?192.168.1.100? ([190.177.200.106]) by mx.google.com with ESMTPS id 20sm27894130agb.16.2008.12.24.02.51.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Dec 2008 02:51:53 -0800 (PST) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Wed, 24 Dec 2008 08:51:49 -0200 User-Agent: KMail/1.9.10 References: <4951B6D6.30206@highperformance.net> In-Reply-To: <4951B6D6.30206@highperformance.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812240851.49640.gnemmi@gmail.com> Subject: Re: Kernel Variables Sanity Check 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, 24 Dec 2008 11:24:16 -0000 On Wednesday 24 December 2008 2:13:10 am Jason C. Wells wrote: > Based on someone elses historical message I tried changing the time > counter from TSC to i8254 > > # sysctl kern.timecounter.hardware=i8254 > > and after doing some manual calculations I tweaked > > # sysctl machdep.i8254_freq=1187216 > # machdep.i8254_freq: 1193182 -> 1187216 > > Is doing this safe? I'm concerned that there are unforeseen > consequences to messing with these kernel variables. Ntpd seems to like > this setup. Anything to make ntpd happy. > > And if I may, why can't ntpd do this? (Don't answer that.) I use the > FINE software to set my clock so I don't have to. It's supposed to make > my life easier. > > Thanks, > Jason Hi Jason, and sorry to pop in, but now you got me guessing if I should follow your lead too ... This is what I get in here: [gonzalo@inferna ~]% grep Time /var/run/dmesg.boot Timecounter "i8254" frequency 1193182 Hz quality 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 Timecounters tick every 1.000 msec Should I change kern.timecounter.hardware to i8254 too?? Thanks -- Blessings Gonzalo Nemmi From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 12:00:05 2008 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 E25FB1065675 for ; Wed, 24 Dec 2008 12:00:05 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from mail.poughkeepsieschools.org (mail.poughkeepsieschools.org [64.72.66.117]) by mx1.freebsd.org (Postfix) with ESMTP id 932D58FC27 for ; Wed, 24 Dec 2008 12:00:05 +0000 (UTC) (envelope-from bcook@poughkeepsieschools.org) Received: from [69.206.230.54] (port=51646 helo=imac.at.home) by mail.poughkeepsieschools.org with esmtpsa (TLSv1:AES256-SHA:256) (BSD WebSolutions, Inc.) (envelope-from ) id 1LFSPE-0003fl-Hd for freebsd-questions@freebsd.org (authenticated as bcook@poughkeepsieschools.org); Wed, 24 Dec 2008 07:00:04 -0500 X-BSD-Virus-Check: ClamAV 0.94.2/8796 on mail.poughkeepsieschools.org; Wed, 24 Dec 2008 07:00:04 -0500 Message-ID: <49522444.8080409@poughkeepsieschools.org> Date: Wed, 24 Dec 2008 07:00:04 -0500 From: "B. Cook" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: ports-mgmt/portmaster question 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, 24 Dec 2008 12:00:06 -0000 Is there a way to pass make args (other than -m) for each port? For example if I use -m BUILD_STATIC=YES and -m BUILD_OPTIMIZED=YES for mysql50-server.. other than remembering that I did that.. is there someway to have portmaster read its portmaster.rc and get that information? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 12:35:20 2008 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 E377C1065673 for ; Wed, 24 Dec 2008 12:35:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 611748FC1D for ; Wed, 24 Dec 2008 12:35:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBOCZD2X071700; Wed, 24 Dec 2008 12:35:14 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBOCZD2X071700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230122114; bh=hbGSfzi305OJhc Rsk3DosDRrfaxhMtRPA3whyfo/txA=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<49522C7B.1070101@infracaninophile.co.uk>|Date:=20Wed,=2 024=20Dec=202008=2012:35:07=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20"B.=20Cook"=20|CC:=20freebs d-questions@freebsd.org|Subject:=20Re:=20ports-mgmt/portmaster=20qu estion|References:=20<49522444.8080409@poughkeepsieschools.org>|In- Reply-To:=20<49522444.8080409@poughkeepsieschools.org>|X-Enigmail-V ersion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp -sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A= 20boundary=3D"------------enig5A627A46DBDF3F5780BF96E1"; b=FKBEVBhB 1lkEobVVnwdd2pps6HDn1G/jdECA9oar7NSyhNnt7QecYlW4lNnfhGzABErPbqgvkw1 ZLTJEoRDOUUbYfqSyoKXinVIMTfW+3/9q0IenE/JAIeFtDazwozpaS+vxPo6jrK3iqc CnbkU682k3MOCAbi2OIQZIINFfzts= Message-ID: <49522C7B.1070101@infracaninophile.co.uk> Date: Wed, 24 Dec 2008 12:35:07 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: "B. Cook" References: <49522444.8080409@poughkeepsieschools.org> In-Reply-To: <49522444.8080409@poughkeepsieschools.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5A627A46DBDF3F5780BF96E1" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 24 Dec 2008 12:35:14 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8796/Wed Dec 24 06:19:40 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ports-mgmt/portmaster question 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, 24 Dec 2008 12:35:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A627A46DBDF3F5780BF96E1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable B. Cook wrote: > Is there a way to pass make args (other than -m) for each port? >=20 > For example if I use -m BUILD_STATIC=3DYES and -m BUILD_OPTIMIZED=3DYES= for=20 > mysql50-server.. other than remembering that I did that.. is there=20 > someway to have portmaster read its portmaster.rc and get that informat= ion? Yes. Actually, it's not portmaster specific -- it works for any method o= f using ports. Just edit /etc/make.conf to include the options you want. eg. WITH_OPENSSL_PORT=3D yes WITH_BDB_VER=3D 46 WITH_MYSQL_VER=3D 50 WITH_OPENLDAP_VER=3D 24 WANT_OPENLDAP_SASL=3D yes WITH_APACHE2=3D yes APACHE_PORT=3D www/apache22 WITH_MODPERL2=3D yes If you want options that only apply to specific ports, then you can use a construct like this: =2Eif ${.CURDIR:M*/databases/mysql*} WITH_CHARSET=3Dutf8 WITH_XCHARSET=3Dnone WITH_COLLATION=3Dutf8_unicode_ci WITH_OPENSSL=3Dyes BUILD_OPTIMIZED=3Dyes WITH_INNODB=3Dyes WITH_ARCHIVE=3Dyes WITH_FEDERATED=3Dyes WITH_NDB=3Dyes WITH_CSV=3Dyes WITH_SPHINXSE=3Dyes =2Eendif=20 If editing /etc/make.conf gives you too much grief, then look at the ports-mgmt/portconf tool -- it works the same way (ie. by setting variables in the make system) but has a user interface that attempts to be a bit more friendly. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig5A627A46DBDF3F5780BF96E1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklSLIEACgkQ8Mjk52CukIxrpgCeJHNr9qr1noArHpylUoxw3Yq0 48gAn1hlDdzYUX7BFRTSjsASJBglASz9 =qUus -----END PGP SIGNATURE----- --------------enig5A627A46DBDF3F5780BF96E1-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 12:59:08 2008 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 882FF1065674 for ; Wed, 24 Dec 2008 12:59:08 +0000 (UTC) (envelope-from omer@faruk.net) Received: from hisar.endersys.com (hisar.endersys.com [213.144.99.107]) by mx1.freebsd.org (Postfix) with ESMTP id 6D50C8FC17 for ; Wed, 24 Dec 2008 12:59:06 +0000 (UTC) (envelope-from omer@faruk.net) Received: (surgate 97583 invoked by uid 1001); 24 Dec 2008 12:30:42 -0000 Received: from unknown (HELO abbe) (omer@faruk.net@127.0.0.1) by 0 with ESMTPA; 24 Dec 2008 12:30:42 -0000 Date: Wed, 24 Dec 2008 14:32:05 +0200 From: Omer Faruk SEN Organization: FARUK.NET X-Priority: 3 (Normal) Message-ID: <766190592.20081224143205@faruk.net> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mfi raid tool for 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: Wed, 24 Dec 2008 12:59:08 -0000 =0D=0AI have a server with LSI MegaSAS 1064R RAID controller which is recog= nized as mfid0 . Is there a tool that i can query the status of the raid al= so the status of disks? I have tried smartmontools but it didn't work at al= l.. Regards =20 --=20 Best regards, Omer mailto:omer@faruk.net From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 13:40:07 2008 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 2B0E41065673 for ; Wed, 24 Dec 2008 13:40:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BC94F8FC14 for ; Wed, 24 Dec 2008 13:40:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LFTxy-0005GN-B1 for freebsd-questions@freebsd.org; Wed, 24 Dec 2008 13:40:02 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:40:02 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Wed, 24 Dec 2008 14:39:10 +0100 Lines: 65 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081223201023.GB3469@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 13:40:07 -0000 On Tue, 23 Dec 2008 21:10:23 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. > > Sorry, currently I get build errors, possibly unrelated: > > ===> zyd (depend) > @ -> /usr/src-main/sys > machine -> /usr/src-main/sys/i386/include > ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > > I'll svn the repo (to HEAD of CURRENT) and try again. In the meantime the repo is updated to r186477. An old-school USB kernel compiles, but USB2 does not: ===> zyd (depend) @ -> /usr/src-main/sys machine -> /usr/src-main/sys/i386/include ln -sf /usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386/opt_usb.h opt_usb.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/local/obj/usr/src-main/sys/usb2_fbsd8_i386 /usr/src-main/sys/modules/zyd/../../dev/usb/if_zyd.c machine -> /usr/src-main/sys/i386/include awk -f /usr/src-main/sys/tools/vnode_if.awk /usr/src-main/sys/kern/vnode_if.src -c ... /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -march=athlon-mp -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src-main/sys -I/usr/src-main/sys/contrib/altq -I/usr/src-main/sys/contrib/ipfilter -I/usr/src-main/sys/contrib/pf -I/usr/src-main/sys/dev/ath -I/usr/src-main/sys/dev/ath/ath_hal -I/usr/src-main/sys/contrib/ngatm -I/usr/src-main/sys/dev/twa -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD -I/usr/src-main/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src-main/sys/gnu/fs/xfs -I/usr/src-main/sys/contrib/opensolaris/compat -I/usr/src-main/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stac k-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector /usr/src-main/sys/dev/usb/ucom.c:92:21: error: usbdevs.h: No such file or directory mkdep: compile failed *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error The manual page to zyd(4) indicates that it wants "device usb", so it may be an error in zyd, not USB2. A few questions question though: do I need to specify "nodevice usb" in an USB2 kernel config as well? In the comments, it says: "USB Bus (required)", and the compile error says: "error: usbdevs.h: No such file or directory". Next, I'll try to exclude the zyd module from building. The kernel doesn't contain it, anyway. -c From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:05:44 2008 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 29E6A1065674; Wed, 24 Dec 2008 14:05:44 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from smtpa1.mediabeam.com (smtpa1.mediabeam.com [194.25.41.13]) by mx1.freebsd.org (Postfix) with ESMTP id 973528FC14; Wed, 24 Dec 2008 14:05:38 +0000 (UTC) (envelope-from ino-news@kabelmail.de) Received: from r300-1 ([194.25.41.40]) by smtpa1.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBOE5bxG001609; Wed, 24 Dec 2008 15:05:37 +0100 Received: from spotteswoode.dnsalias.org ([77.22.112.43]) (authenticated bits=0) by smtpa.mediabeam.com (8.13.1/8.13.1) with ESMTP id mBOE5ebX014998; Wed, 24 Dec 2008 15:05:40 +0100 Received: from spotteswoode.de.eu.org (localhost [127.0.0.1]) by spotteswoode.dnsalias.org (Postfix) with ESMTP id 0ED3D7B7A8; Wed, 24 Dec 2008 15:05:33 +0100 (CET) Date: Wed, 24 Dec 2008 15:05:32 +0100 From: clemens fischer To: Hans Petter Selasky Message-ID: <20081224140532.GB2099@spotteswoode.de.eu.org> References: <200812221944.17694.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812221944.17694.hselasky@c2i.net> X-PGP-ID: 0x214190AF X-Archive: encrypt=none User-Agent: Mutt/1.5.18 (2008-05-17) X-mediaBEAM-MailScanner-Information: Spam-/VirusProtection V1.1 X-mediaBEAM-VirusProtection: clean Cc: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 14:05:44 -0000 > Hans Petter Selasky: > Try the attached patch to "sys/kern/vfs_mount.c" > > Thanks for reporting. I have been aware about this issue for some time > now, but the patch has not been committed to current yet. > > I have FreeSBIE reliably up and running with USB2. Can you tell me what to do to the kernel configuration? Maybe I don't have to compile any USB functions into the kernel and can put them into loader.conf? I always get these dependency problems. regards, clemens From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:13:48 2008 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 3CD781065673 for ; Wed, 24 Dec 2008 14:13:47 +0000 (UTC) (envelope-from omer@faruk.net) Received: from hisar.endersys.com (hisar.endersys.com [213.144.99.107]) by mx1.freebsd.org (Postfix) with ESMTP id 8362A8FC0C for ; Wed, 24 Dec 2008 14:13:41 +0000 (UTC) (envelope-from omer@faruk.net) Received: (surgate 9809 invoked by uid 1001); 24 Dec 2008 14:12:02 -0000 Received: from unknown (HELO balli-pc) (omer@faruk.net@127.0.0.1) by 0 with ESMTPA; 24 Dec 2008 14:12:02 -0000 Date: Wed, 24 Dec 2008 16:13:26 +0200 From: Omer Faruk SEN Organization: FARUK.NET X-Priority: 3 (Normal) Message-ID: <1843805277.20081224161326@faruk.net> To: Daniel Gerzo In-Reply-To: <1272746854.20081224151017@rulez.sk> References: <766190592.20081224143205@faruk.net> <1272746854.20081224151017@rulez.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re[2]: mfi raid tool for 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: Wed, 24 Dec 2008 14:13:48 -0000 Which is broken:=20 =20 Unfetchable - mark as BROKEN But thanks again. Wednesday, December 24, 2008, 4:10:17 PM, you wrote: > Hello Omer, > Wednesday, December 24, 2008, 1:32:05 PM, you wrote: >> I have a server with LSI MegaSAS 1064R RAID controller which is >> recognized as mfid0 . Is there a tool that i can query the status of >> the raid also the status of disks? I have tried smartmontools but it did= n't work at all.. > Port: linux-megacli-1.01.40_2 > Path: /usr/ports/sysutils/linux-megacli > Info: LSI MegaRAID SAS controller management utility > Unfortunately, we do not have native tool yet :-( > It would be nice to ask LSI to port it to FreeBSD. --=20 Best regards, Omer mailto:omer@faruk.net From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:13:54 2008 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 E7F281065670 for ; Wed, 24 Dec 2008 14:13:54 +0000 (UTC) (envelope-from c_tolis@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 61CA48FC18 for ; Wed, 24 Dec 2008 14:13:53 +0000 (UTC) (envelope-from c_tolis@otenet.gr) Received: from darkpc (athedsl-383939.home.otenet.gr [79.131.51.193]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id mBOAvtxf017621 for ; Wed, 24 Dec 2008 12:57:55 +0200 From: "Xrhstaras" To: Date: Wed, 24 Dec 2008 12:57:57 +0200 Message-ID: <000001c965b6$7abe60c0$703b2240$@gr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Aclltnp3fEcgg4lbR6+QxLccMHX95A== Content-Language: el Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Big Problem booting the freebsd7 AMD64 !! I can't boot the cd! It frozes 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, 24 Dec 2008 14:13:55 -0000 The booting process stops at the line mounting root ufs /dev/md0 (Starting with the option for no acpi ) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 14:25:54 2008 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 380AC1065670 for ; Wed, 24 Dec 2008 14:25:54 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.rulez.sk (services.rulez.sk [92.240.234.125]) by mx1.freebsd.org (Postfix) with ESMTP id E54BF8FC18 for ; Wed, 24 Dec 2008 14:25:48 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from localhost (services.rulez.sk [92.240.234.125]) by services.rulez.sk (Postfix) with ESMTP id 85D6213344A9; Wed, 24 Dec 2008 15:10:37 +0100 (CET) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.rulez.sk ([92.240.234.125]) by localhost (services.rulez.sk [92.240.234.125]) (amavisd-new, port 10024) with ESMTP id fp1vIq3a3gFc; Wed, 24 Dec 2008 15:10:36 +0100 (CET) Received: from DANGER-PC (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.rulez.sk (Postfix) with ESMTPSA id EDDF4133449C; Wed, 24 Dec 2008 15:10:35 +0100 (CET) Date: Wed, 24 Dec 2008 15:10:17 +0100 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1272746854.20081224151017@rulez.sk> To: Omer Faruk SEN In-Reply-To: <766190592.20081224143205@faruk.net> References: <766190592.20081224143205@faruk.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: mfi raid tool for freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 14:25:54 -0000 Hello Omer, Wednesday, December 24, 2008, 1:32:05 PM, you wrote: > I have a server with LSI MegaSAS 1064R RAID controller which is > recognized as mfid0 . Is there a tool that i can query the status of > the raid also the status of disks? I have tried smartmontools but it didn= 't work at all.. Port: linux-megacli-1.01.40_2 Path: /usr/ports/sysutils/linux-megacli Info: LSI MegaRAID SAS controller management utility Unfortunately, we do not have native tool yet :-( It would be nice to ask LSI to port it to FreeBSD. --=20 Best regards, Daniel mailto:danger@FreeBSD.org From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:08:02 2008 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 522DD106564A for ; Wed, 24 Dec 2008 16:08:02 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (s8.stradamotorsports.com [64.81.163.126]) by mx1.freebsd.org (Postfix) with ESMTP id 258EC8FC17 for ; Wed, 24 Dec 2008 16:08:02 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBOG81uq025018; Wed, 24 Dec 2008 08:08:01 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <49525E61.9000109@highperformance.net> Date: Wed, 24 Dec 2008 08:08:01 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Gonzalo Nemmi References: <4951B6D6.30206@highperformance.net> <200812240851.49640.gnemmi@gmail.com> In-Reply-To: <200812240851.49640.gnemmi@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Kernel Variables Sanity Check 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, 24 Dec 2008 16:08:02 -0000 Gonzalo Nemmi wrote: > Hi Jason, and sorry to pop in, but now you got me guessing if I should follow > your lead too ... > > This is what I get in here: > > [gonzalo@inferna ~]% grep Time /var/run/dmesg.boot > Timecounter "i8254" frequency 1193182 Hz quality 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > Timecounters tick every 1.000 msec > > Should I change kern.timecounter.hardware to i8254 too?? > I did this because NTP wouldn't synch. My clock was so much faster than actual time that the time between running ntpdate and running ntpd would cause to much error (jitter?, offset?) for ntpd to synch. So if you're not having a problem, you don't need to do anything. Later, Jason From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:10:08 2008 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 7E11F1065687 for ; Wed, 24 Dec 2008 16:10:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 321528FC16 for ; Wed, 24 Dec 2008 16:10:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LFWJ8-0001hB-Br for freebsd-questions@freebsd.org; Wed, 24 Dec 2008 16:10:02 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 16:10:02 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 16:10:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Wed, 24 Dec 2008 16:53:00 +0100 Lines: 26 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 24 Dec 2008 16:10:08 -0000 On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: >> Hans Petter Selasky: > >> Try the attached patch to "sys/kern/vfs_mount.c" >> >> Thanks for reporting. I have been aware about this issue for some time >> now, but the patch has not been committed to current yet. >> >> I have FreeSBIE reliably up and running with USB2. > > Can you tell me what to do to the kernel configuration? Maybe I don't > have to compile any USB functions into the kernel and can put them into > loader.conf? I always get these dependency problems. I think I've found my problem. The kernel configuration really needs the line marked "required", which builds support for the USB bus: "device usb". Except this line, every usb related item is a "nodevice" now. The USB2 modules needed are kldload'ed in boot/loader.conf from the USB-stick, and this really works. Hans Petter: although I am not sure if my USB-stick needs it, the kernel was built using your patch. So the least I can say about it: It doesn't hurt, and it might sure help with more restive devices. -c From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:29:07 2008 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 D7E641065677; Wed, 24 Dec 2008 16:29:07 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8EDB88FC08; Wed, 24 Dec 2008 16:29:07 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 1630523698; Wed, 24 Dec 2008 17:29:09 +0100 (CET) Received: from jara3 (unknown [10.10.10.20]) by raats.xs4all.nl (Postfix) with ESMTPA id B5E2A22983; Wed, 24 Dec 2008 17:29:08 +0100 (CET) Message-ID: <5CA7438D59284A97BB5B4BB36FECCD82@jarasoft.net> From: "Jack Raats" To: "'freebsd-stable'" , References: <00fb01c96531$a5fca290$f1f5e7b0$@com> <010101c96535$7a4e6580$6eeb3080$@com> Date: Wed, 24 Dec 2008 17:29:05 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net Cc: Subject: Re: Problems installing FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 16:29:07 -0000 From: "SDH Admin" >> How can I do this if the systeem freezes??? > > Good old fashioned pen + paper (as long as it's not too long). Never > fails. Main problem is: ad0: FreeBSD check1 failed I googled but didn't find any solution. Does anyone have a clue where to find the solution? Jack From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:46:56 2008 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 CE17A1065674 for ; Wed, 24 Dec 2008 16:46:56 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 956988FC12 for ; Wed, 24 Dec 2008 16:46:56 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KCE00EA42K1BEW0@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Wed, 24 Dec 2008 11:16:50 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.3/8.14.3) with ESMTP id mBOGGnBK062828; Wed, 24 Dec 2008 11:16:49 -0500 Date: Wed, 24 Dec 2008 11:16:49 -0500 From: "Aryeh M. Friedman" To: freebsd-questions@freebsd.org Message-id: <49526071.4030305@gmail.com> Organization: FloSoft Systems MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.7 User-Agent: Thunderbird 2.0.0.18 (X11/20081124) Subject: Really strange resolution problems on xorg with a laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aryeh.friedman@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 16:46:56 -0000 I have a HP Pavilion dv5000 and any "standard" xorg app like xterm or anything else that comes with xorg seems to work fine but every other X application has either HUGE (one character fills the whole screen) fonts and/or other weirdness (it could be fonts but who knows).... I just did a complete reinstall from sources (portmaster).... the FB version is 8-CURRENT (current as of last night) and the ports tree from the same time From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 16:48:49 2008 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 BC5611065675 for ; Wed, 24 Dec 2008 16:48:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 90B9C8FC17 for ; Wed, 24 Dec 2008 16:48:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 11284 invoked from network); 24 Dec 2008 16:48:49 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Dec 2008 16:48:49 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 3D7C750820; Wed, 24 Dec 2008 11:48:45 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 916501CCFF; Wed, 24 Dec 2008 11:48:44 -0500 (EST) To: Jack Raats References: <00fb01c96531$a5fca290$f1f5e7b0$@com> <010101c96535$7a4e6580$6eeb3080$@com> <5CA7438D59284A97BB5B4BB36FECCD82@jarasoft.net> From: Lowell Gilbert Date: Wed, 24 Dec 2008 11:48:44 -0500 In-Reply-To: <5CA7438D59284A97BB5B4BB36FECCD82@jarasoft.net> (Jack Raats's message of "Wed\, 24 Dec 2008 17\:29\:05 +0100") Message-ID: <44iqp9cydv.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, sos@freebsd.org Subject: Re: Problems installing FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 16:48:49 -0000 "Jack Raats" writes: > From: "SDH Admin" > >>> How can I do this if the systeem freezes??? >> >> Good old fashioned pen + paper (as long as it's not too long). Never >> fails. > > Main problem is: > ad0: FreeBSD check1 failed > > I googled but didn't find any solution. > Does anyone have a clue where to find the solution? According to my quick look at the code, that message isn't necessarily a hint to the problem. Do you have a RAID array in the machine? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 17:09:36 2008 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 836111065675 for ; Wed, 24 Dec 2008 17:09:36 +0000 (UTC) (envelope-from sdy@corp.sourceforge.com) Received: from mx-2.vasoftware.com (mx-2.vasoftware.com [208.48.95.24]) by mx1.freebsd.org (Postfix) with ESMTP id 71DC78FC12 for ; Wed, 24 Dec 2008 17:09:36 +0000 (UTC) (envelope-from sdy@corp.sourceforge.com) Received: from 24-205-191-30.dhcp.wsco.ca.charter.com ([24.205.191.30] helo=[192.168.0.100]) by mx-2.vasoftware.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.64) id 1LFWZy-0005PK-9t by VAAuthID sdy with plain for freebsd-questions@FreeBSD.org; Wed, 24 Dec 2008 08:27:26 -0800 Message-ID: <495262F0.9060501@corp.sourceforge.com> Date: Wed, 24 Dec 2008 08:27:28 -0800 From: Sheila Dy User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Greetings from Sourceforge and Slashdot 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, 24 Dec 2008 17:09:36 -0000 May I inquire as to who I should discuss media online partnerships with? Thank you for your time. Sheila (510) 520-0490 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 17:25:18 2008 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 ED8061065673 for ; Wed, 24 Dec 2008 17:25:18 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 75ADF8FC1A for ; Wed, 24 Dec 2008 17:25:18 +0000 (UTC) (envelope-from royer.franck@gmail.com) Received: by bwz12 with SMTP id 12so8871294bwz.19 for ; Wed, 24 Dec 2008 09:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:subject:content-type:content-transfer-encoding:from; bh=wy+mSpBDCBrr7LKhlN7FDCA2LyIVXEDeMbLYxXB/z20=; b=K3wXhzO0Waj+SDeS3L0pmSc6FaHIyrzV+rG3IkCIkGJR/D0imCKgCw5Svupq6Ci9Ab FZ6sMzitbc+lw2Dmvcvjvx1HrWQDKmX2ATjey7DbfPRykSbMqIiRmVh7RiYLMIWp3CaN qxUZuyDnUppRHXsD10iivx+jrol6hbJfz5+ME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:content-type :content-transfer-encoding:from; b=fe1VIwd6VzHfqljnl3yw6Ea2g2u0lhQSPvzguHVTqWJ1P6WSZOgMX06dGl6HILArmJ pGsX7yD2QatWokJohzTVnuptMpOZiHSffbi0RShpDIj4EjKgHz/DCeX5NNONSxGOJJUn Bayk2zSRwGDyOzwneef5enARy/nA7cVbN7wzs= Received: by 10.103.93.18 with SMTP id v18mr3223706mul.111.1230139517071; Wed, 24 Dec 2008 09:25:17 -0800 (PST) Received: from ?192.168.0.3? (bx.dantesk.net [82.66.28.193]) by mx.google.com with ESMTPS id 12sm15759487muq.54.2008.12.24.09.25.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Dec 2008 09:25:16 -0800 (PST) Message-ID: <4952707A.7070609@free.fr> Date: Wed, 24 Dec 2008 18:25:14 +0100 User-Agent: Thunderbird 2.0.0.18 (X11/20081127) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Franck Royer Subject: empty root password 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, 24 Dec 2008 17:25:19 -0000 Hi, It's not a "how can I recover my root password" but something more weird. I copied my root filesystem from a partition to another with rsync -Pia. But since that moment, I don't need any password to log myself as root or to do a "su" from a user who is in the wheel group. I did some passwd on root, but that changes nothing. And my normal user password wasn't affected. What can I do ? Thank you Franck From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 17:36:01 2008 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 738AE106564A for ; Wed, 24 Dec 2008 17:36:01 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp114.iad.emailsrvr.com (smtp114.iad.emailsrvr.com [207.97.245.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8738FC18 for ; Wed, 24 Dec 2008 17:36:01 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from relay1.r1.iad.emailsrvr.com (localhost [127.0.0.1]) by relay1.r1.iad.emailsrvr.com (SMTP Server) with ESMTP id E646044C246 for ; Wed, 24 Dec 2008 12:36:00 -0500 (EST) Received: by relay1.r1.iad.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id C9A7544C22A for ; Wed, 24 Dec 2008 12:36:00 -0500 (EST) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Wed, 24 Dec 2008 12:35:59 -0500 From: Tom Worster To: FreeBSD Questions Message-ID: Thread-Topic: install/upgrade FREEBSD on a remote server Thread-Index: Acll7hVB28dhkKR9/E2GfJkeJgzkDg== Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: install/upgrade FREEBSD on a remote server 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, 24 Dec 2008 17:36:01 -0000 what ways exist to upgrade a remote server (to which you have no terminal server attached) if the currently installed FREEBSD is too old for freebsd-update? besides asking someone local to the server to help, i mean. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 18:07:33 2008 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 193581065673 for ; Wed, 24 Dec 2008 18:07:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE318FC0C for ; Wed, 24 Dec 2008 18:07:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBOI7PQ0001477; Wed, 24 Dec 2008 19:07:25 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBOI7OXU001474; Wed, 24 Dec 2008 19:07:25 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 24 Dec 2008 19:07:24 +0100 (CET) From: Wojciech Puchar To: Franck Royer In-Reply-To: <4952707A.7070609@free.fr> Message-ID: <20081224190709.E1473@wojtek.tensor.gdynia.pl> References: <4952707A.7070609@free.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: empty root password 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, 24 Dec 2008 18:07:33 -0000 > But since that moment, I don't need any password to log myself as root > or to do a "su" from a user who is in the wheel group. > > I did some passwd on root, but that changes nothing. And my normal user > password wasn't affected. > > What can I do ? > set a password? looks like some files was not copied! > Thank you > > Franck > _______________________________________________ > 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 24 18:19:05 2008 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 A4A671065670 for ; Wed, 24 Dec 2008 18:19:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3708FC0C for ; Wed, 24 Dec 2008 18:19:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 10861 invoked from network); 24 Dec 2008 18:18:55 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Dec 2008 18:18:55 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id C151550820; Wed, 24 Dec 2008 13:18:51 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 15A961CC10; Wed, 24 Dec 2008 13:18:49 -0500 (EST) To: Franck Royer References: <4952707A.7070609@free.fr> From: Lowell Gilbert Date: Wed, 24 Dec 2008 13:18:49 -0500 In-Reply-To: <4952707A.7070609@free.fr> (Franck Royer's message of "Wed\, 24 Dec 2008 18\:25\:14 +0100") Message-ID: <44abalcu7q.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: empty root password 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, 24 Dec 2008 18:19:05 -0000 Franck Royer writes: > It's not a "how can I recover my root password" but something more weird. > > I copied my root filesystem from a partition to another with rsync -Pia. > But since that moment, I don't need any password to log myself as root > or to do a "su" from a user who is in the wheel group. > > I did some passwd on root, but that changes nothing. And my normal user > password wasn't affected. > > What can I do ? Run pkd_mkdb(8) by hand first, to make sure your password files are updated. [And see if that fixes your problem by itself.] Once you have done that: Running chpass(1) *should* work. Since it didn't, I suggest looking at the password file. Use vipw(8) for that, and see if there is anything in the password field for the root password. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 18:33:16 2008 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 68C2A1065674 for ; Wed, 24 Dec 2008 18:33:16 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id CDD728FC19 for ; Wed, 24 Dec 2008 18:33:15 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl28-172.kln.forthnet.gr [77.49.155.172]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBOIWoZM010792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Dec 2008 20:32:57 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBOIWlBm002266; Wed, 24 Dec 2008 20:32:47 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBOIWjK3002265; Wed, 24 Dec 2008 20:32:45 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Sheila Dy In-Reply-To: <495262F0.9060501@corp.sourceforge.com> (Sheila Dy's message of "Wed, 24 Dec 2008 08:27:28 -0800") References: <495262F0.9060501@corp.sourceforge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Date: Wed, 24 Dec 2008 20:32:31 +0200 Message-ID: <87k59po24g.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-MailScanner-ID: mBOIWoZM010792 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.866, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Greetings from Sourceforge and Slashdot 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, 24 Dec 2008 18:33:16 -0000 --=-=-= On Wed, 24 Dec 2008 08:27:28 -0800, Sheila Dy wrote: > May I inquire as to who I should discuss media online partnerships with? Greetings from FreeBSD too, We hold discussions about FreeBSD publicity over at the freebsd-advocacy mailing list. For anything that is not directly covered by the advocacy team or anything that needs some sort of official partnership, it may also be a good idea to contact the FreeBSD Core team. You can reach the Core Team through email, at . We will then make sure that you are in touch with all the right people or that any mutual questions about how things can work out are resolved. Happy holidays :) For the FreeBSD Core Team, Giorgos Keramidas --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklSgE0ACgkQ1g+UGjGGA7byiQCgkXwyVx59lu1dOZjI6e5ZMcP5 5soAoKuVVITHzqzBFQqVHVoZmb3J1a7/ =nbx+ -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 18:35:39 2008 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 22AC31065670 for ; Wed, 24 Dec 2008 18:35:39 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id BEEBC8FC20 for ; Wed, 24 Dec 2008 18:35:38 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id mBOIZCPP092079; Wed, 24 Dec 2008 12:35:22 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gtF9cXefyfeT; Wed, 24 Dec 2008 12:34:39 -0600 (CST) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id mBOIY41G092059; Wed, 24 Dec 2008 12:34:05 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4952809C.3000707@daleco.biz> Date: Wed, 24 Dec 2008 12:34:04 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: Tom Worster References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: install/upgrade FREEBSD on a remote server 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, 24 Dec 2008 18:35:39 -0000 Tom Worster wrote: > what ways exist to upgrade a remote server (to which you have no terminal > server attached) if the currently installed FREEBSD is too old for > freebsd-update? besides asking someone local to the server to help, i mean. The Canonical Way of Auld(tm)* is detailed in the handbook. It involves fetching the source code via cvsup/csup, and rebuilding the kernel and world(userland), etc. The entire process is covered in Chapter 24 of the handbook; see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html for the beginning of the "old way" part. HTH, Kevin Kinsey -- Neurotics build castles in the sky, Psychotics live in them, And psychiatrists collect the rent. * Hee hee. For many of us, it's the Only Way ;-) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 19:14:43 2008 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 5F6EE1065673 for ; Wed, 24 Dec 2008 19:14:43 +0000 (UTC) (envelope-from sdy@corp.sourceforge.com) Received: from mx-2.vasoftware.com (mx-2.vasoftware.com [208.48.95.24]) by mx1.freebsd.org (Postfix) with ESMTP id 4923E8FC08 for ; Wed, 24 Dec 2008 19:14:43 +0000 (UTC) (envelope-from sdy@corp.sourceforge.com) Received: from adsl-75-47-140-98.dsl.lsan03.sbcglobal.net ([75.47.140.98] helo=[192.168.1.64]) by mx-2.vasoftware.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.64) id 1LFZBo-0007Ad-J7 by VAAuthID sdy with plain; Wed, 24 Dec 2008 11:14:40 -0800 Message-ID: <49528A23.2040807@corp.sourceforge.com> Date: Wed, 24 Dec 2008 11:14:43 -0800 From: Sheila Dy User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Giorgos Keramidas References: <495262F0.9060501@corp.sourceforge.com> <87k59po24g.fsf@kobe.laptop> In-Reply-To: <87k59po24g.fsf@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: core@freeBSD.org, freebsd-questions@freebsd.org Subject: Re: Greetings from Sourceforge and Slashdot 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, 24 Dec 2008 19:14:43 -0000 Hello Giorgos. Thank you for your reply. I am reaching out to talk to someone from your group who would be interested in advertising with Sourceforge and/or Slashdot. If talks about this topic would be something that you would wish to pursue, please do let me know so that we can set up a time and day to conference call. To help us as well, we'd like to know if your headquarters is located outside of the US or if you have a branch here. Our headquarters is based in Mountain view, California. Looking forward to hearing from you. Sincerely, Sheila Dy Account Executive Sourceforge.net / Slashdot.org Voice: (510) 520-0490 Giorgos Keramidas wrote: > On Wed, 24 Dec 2008 08:27:28 -0800, Sheila Dy wrote: > >> May I inquire as to who I should discuss media online partnerships with? >> > > Greetings from FreeBSD too, > > We hold discussions about FreeBSD publicity over at the freebsd-advocacy > mailing list. > > For anything that is not directly covered by the advocacy team or > anything that needs some sort of official partnership, it may also be a > good idea to contact the FreeBSD Core team. You can reach the Core Team > through email, at . > > We will then make sure that you are in touch with all the right people > or that any mutual questions about how things can work out are resolved. > > Happy holidays :) > > For the FreeBSD Core Team, > Giorgos Keramidas > From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 19:22:36 2008 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 82315106564A for ; Wed, 24 Dec 2008 19:22:36 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF1F8FC16 for ; Wed, 24 Dec 2008 19:22:36 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 24 Dec 2008 14:22:35 -0500 From: "Brian A. Seklecki" To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-y7lVL+ERac5USJy3F33W" Organization: Collaborative Fusion, Inc. Date: Wed, 24 Dec 2008 14:22:34 -0500 Message-Id: <1230146554.4673.265.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Cc: Bill Moran Subject: Default list of exported variables in sh(1) - $HOSTNAME X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 19:22:36 -0000 --=-y7lVL+ERac5USJy3F33W Content-Type: text/plain Content-Transfer-Encoding: quoted-printable All: I've got a fun problem ... I'm having trouble tracking down where the default list of exported variables is set for sh(1). I've got a piece of PHP code that runs on GNU/Linux but not FreeBSD because (I think) $HOSTNAME is exported by default. =20 The PHP CLI calls $_ENV["HOSTNAME"], which under GNU/Linux returns: $ php -r 'print gethostbyaddr(gethostbyname($_ENV["HOSTNAME"]))' soundwave.ws....collaborativefusion.com In HTTP/CGI mode, I can call $_SERVER[]. But $_ENV[] should work in both CLI and HTTP mode.=20 However, because Apache is spawned from sh(1) from rc(8) and in FreeBSD 6.x, $HOSTNAME is not exported by default, which is what $_ENV[] uses (getenv()): $ uname -a FreeBSD bdb00 6.3-RELEASE-p2 $ export SSH_CLIENT USER MAIL HOME SSH_TTY PAGER ENV LOGNAME BLOCKSIZE TERM PATH SHELL SSH_CONNECTION FTP_PASSIVE_MODE EDITOR ----------- Compare to: linux$ uname -a Linux soundwave 2.6.25.14-108.fc9.x86_64=20 linux$ bash --version GNU bash, version 3.2.33(1)-release (x86_64-redhat-linux-gnu) linux$ export|wc -l 52 linux$ export|grep -i host declare -x HOSTNAME=3D"soundwave" ------------ It could be set in the sources for sh(1) or shells/bash, login(1), possibly somehow related to PAM. =20 src/usr.bin/login/login.c has : static int export(const char *s) { * - Do not export certain variables. This list was taken from the * Solaris pam_putenv(3) man page. * Then export it. static const char *noexport[] =3D { "SHELL", "HOME", "LOGNAME", "MAIL", "CDPATH", "IFS", "PATH", NULL }.. $HOSTNAME not listed here ------------------- src/bin/sh/var.c has environment(){} and at least one other call to getnamebyaddr() ------------ Bash has set_machine_vars() in variables.c: temp_var =3D set_if_not ("HOSTNAME", current_host_name); ------------- There are also about 500 calls to getenv() in the PHP source code under main/, however none explicitly for $HOSTNAME. =20 This is similar to bash, so unless the Redhat people are maintaining lots of SRPM patches to Bash _and_ PHP, I'm prepared to isolate the problem to FreeBSD and sh(1)/login(1) Thoughts? (Happy holidays all!) ~BAS --=20 Brian A. Seklecki Collaborative Fusion, Inc. --=-y7lVL+ERac5USJy3F33W Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAklSi/oACgkQCne6BNDQ+R8MEACdFoJ/bSMJcTk8XKRGcOJvHlOR GtEAn3O/EBh+LIH0IVpQj2S8DHvjYslI =Ka/h -----END PGP SIGNATURE----- --=-y7lVL+ERac5USJy3F33W-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:02:18 2008 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 E99E81065675 for ; Wed, 24 Dec 2008 21:02:18 +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 AAAFF8FC13 for ; Wed, 24 Dec 2008 21:02:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx02.qsc.de (Postfix) with ESMTP id 2B3C416C0CEC; Wed, 24 Dec 2008 22:02:16 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBOL2Gq1001767; Wed, 24 Dec 2008 22:02:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 24 Dec 2008 22:02:16 +0100 From: Polytropon To: aryeh.friedman@gmail.com Message-Id: <20081224220216.92be9454.freebsd@edvax.de> In-Reply-To: <49526071.4030305@gmail.com> References: <49526071.4030305@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a 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: Wed, 24 Dec 2008 21:02:19 -0000 On Wed, 24 Dec 2008 11:16:49 -0500, "Aryeh M. Friedman" wrote: > I have a HP Pavilion dv5000 and any "standard" xorg app like xterm or > anything else that comes with xorg seems to work fine but every other X > application has either HUGE (one character fills the whole screen) fonts > and/or other weirdness (it could be fonts but who knows).... I just did > a complete reinstall from sources (portmaster).... the FB version is > 8-CURRENT (current as of last night) and the ports tree from the same time Check the DPI settings from your monitor and if they match the settings in xorg.conf. Some programs calculate font sizes according to these values. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:05:40 2008 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 7A5CF1065673 for ; Wed, 24 Dec 2008 21:05:40 +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 3A4578FC56 for ; Wed, 24 Dec 2008 21:05:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx02.qsc.de (Postfix) with ESMTP id D228716C0E9F; Wed, 24 Dec 2008 22:04:41 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBOL4aGU001771; Wed, 24 Dec 2008 22:04:36 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 24 Dec 2008 22:04:35 +0100 From: Polytropon To: Lowell Gilbert Message-Id: <20081224220435.a5996adf.freebsd@edvax.de> In-Reply-To: <44abalcu7q.fsf@lowell-desk.lan> References: <4952707A.7070609@free.fr> <44abalcu7q.fsf@lowell-desk.lan> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Franck Royer , freebsd-questions@freebsd.org Subject: Re: empty root password 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, 24 Dec 2008 21:05:40 -0000 On Wed, 24 Dec 2008 13:18:49 -0500, Lowell Gilbert wrote: > Franck Royer writes: > > > It's not a "how can I recover my root password" but something more weird. > > > > I copied my root filesystem from a partition to another with rsync -Pia. > > But since that moment, I don't need any password to log myself as root > > or to do a "su" from a user who is in the wheel group. > > > > I did some passwd on root, but that changes nothing. And my normal user > > password wasn't affected. > > > > What can I do ? > > Run pkd_mkdb(8) by hand first, to make sure your password files are updated. ^ I think its pwd_mkdb /etc/master.passwd. Check the presence of the files /etc/passwd, /etc/master.passwd and /etc/group to be really sure, check their content. Don't forget, as mentioned: > [And see if that fixes your problem by itself.] Once you have done that: > > Running chpass(1) *should* work. > Since it didn't, I suggest looking at the password file. > Use vipw(8) for that, and see if there is anything in the password field > for the root password. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:09:27 2008 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 5BC62106564A for ; Wed, 24 Dec 2008 21:09:27 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id 70E2A8FC17 for ; Wed, 24 Dec 2008 21:09:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mBOL3YdB007074 for ; Thu, 25 Dec 2008 08:03:34 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mBOL3Vrf011720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Dec 2008 08:03:32 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id mBOL3VjF020160; Thu, 25 Dec 2008 08:03:31 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id mBOL3VeR020159; Thu, 25 Dec 2008 08:03:31 +1100 (EST) (envelope-from peter) Date: Thu, 25 Dec 2008 08:03:31 +1100 From: Peter Jeremy To: Jack Raats Message-ID: <20081224210330.GC1081@server.vk2pj.dyndns.org> References: <010101c96535$7a4e6580$6eeb3080$@com> <5CA7438D59284A97BB5B4BB36FECCD82@jarasoft.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: <5CA7438D59284A97BB5B4BB36FECCD82@jarasoft.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 'freebsd-stable' , freebsd-questions@freebsd.org Subject: Re: Problems installing FreeBSD 7.0 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, 24 Dec 2008 21:09:27 -0000 --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Dec-24 17:29:05 +0100, Jack Raats wrote: >Main problem is: >ad0: FreeBSD check1 failed This is produced when the ATA subsystem is trying to read RAID metadata off the disk and just means it failed to find any. It's not an error. Can you post more context please. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklSo6IACgkQ/opHv/APuIeDbACaAsNY2N7lP7nyoXe2NY5db9YS LhwAn0Jlezjq+GkQGFGDxC6Cb/LREOfI =3jGx -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:22:43 2008 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 348141065673 for ; Wed, 24 Dec 2008 21:22:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 053B38FC19 for ; Wed, 24 Dec 2008 21:22:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KCE00A3LGPTRR70@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Wed, 24 Dec 2008 16:22:42 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.3/8.14.3) with ESMTP id mBOLMeWC063620; Wed, 24 Dec 2008 16:22:41 -0500 Date: Wed, 24 Dec 2008 16:22:40 -0500 From: "Aryeh M. Friedman" In-reply-to: <20081224220216.92be9454.freebsd@edvax.de> To: Polytropon Message-id: <4952A820.6020302@gmail.com> Organization: FloSoft Systems MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.7 References: <49526071.4030305@gmail.com> <20081224220216.92be9454.freebsd@edvax.de> User-Agent: Thunderbird 2.0.0.18 (X11/20081124) Cc: freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aryeh.friedman@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 21:22:43 -0000 Polytropon wrote: > On Wed, 24 Dec 2008 11:16:49 -0500, "Aryeh M. Friedman" wrote: > >> I have a HP Pavilion dv5000 and any "standard" xorg app like xterm or >> anything else that comes with xorg seems to work fine but every other X >> application has either HUGE (one character fills the whole screen) fonts >> and/or other weirdness (it could be fonts but who knows).... I just did >> a complete reinstall from sources (portmaster).... the FB version is >> 8-CURRENT (current as of last night) and the ports tree from the same time >> > > Check the DPI settings from your monitor and if they match the > settings in xorg.conf. Some programs calculate font sizes > according to these values. > > > > How do I check that... btw your name seems familar ever use a public access freebsd machine called m-net? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:42:08 2008 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 7F845106564A for ; Wed, 24 Dec 2008 21:42:08 +0000 (UTC) (envelope-from jirwin@ohns.stanford.edu) Received: from smtp4.stanford.edu (smtp4.Stanford.EDU [171.67.219.84]) by mx1.freebsd.org (Postfix) with ESMTP id 6829B8FC1A for ; Wed, 24 Dec 2008 21:42:08 +0000 (UTC) (envelope-from jirwin@ohns.stanford.edu) Received: from smtp4.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 61255485DEB for ; Wed, 24 Dec 2008 13:22:27 -0800 (PST) Received: from ent-ex.ohns.stanford.edu (ohns.Stanford.EDU [171.65.99.25]) by smtp4.stanford.edu (Postfix) with ESMTP id 4099B485DDF for ; Wed, 24 Dec 2008 13:22:27 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 24 Dec 2008 13:22:27 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SPAM:##] Greater tool is easy to get AGJ81 Thread-Index: AclmDbgWiUgjU42BQ3+qc2uUm9+38wAAABHu From: "Jason Irwin" To: "Victoria K., San Diego" Cc: Subject: Out of Office AutoReply: [SPAM:##] Greater tool is easy to get AGJ81 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, 24 Dec 2008 21:42:08 -0000 In accordance with the University Winter Closure schedule, I will be out = of the office Friday, December 19th - Monday January 5th. I will check = voice mail and email upon my return in January. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:48:10 2008 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 3D5A71065673 for ; Wed, 24 Dec 2008 21:48:10 +0000 (UTC) (envelope-from kevin.raleigh@ledyardbank.com) Received: from mail21.perimeterco.com (smtp5.cybergnostic.com [63.76.209.216]) by mx1.freebsd.org (Postfix) with ESMTP id E51FF8FC12 for ; Wed, 24 Dec 2008 21:48:09 +0000 (UTC) (envelope-from kevin.raleigh@ledyardbank.com) Received: from contentfilter01.perimeterco.com (per1-prod-contentfilter-01.sys.perimeterusa.com [10.25.1.92]) by mail21.perimeterco.com (Perimeter Internetworking Corp.) with ESMTP id 2BFE41B0073 for ; Wed, 24 Dec 2008 16:28:51 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by contentfilter01.perimeterco.com (Postfix) with ESMTP id 2108BE5BF3 for ; Wed, 24 Dec 2008 16:28:51 -0500 (EST) Received: by contentfilter01.perimeterco.com (Postfix, from userid 1272) id E50B0E5D23; Wed, 24 Dec 2008 16:28:50 -0500 (EST) Received: from localhost (per1-prod-smtp-19.sys.perimeterusa.com [10.25.1.100]) by contentfilter01.perimeterco.com (Postfix) with ESMTP id B2521E5BF3 for ; Wed, 24 Dec 2008 16:28:50 -0500 (EST) X-Virus-Scanned: by postmaster@perimeterco.com Received: from mail.ledyardbank.com (216-107-212-34.LedyardBank.static.cust.seg.net [216.107.212.34]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail19.perimeterco.com (Perimeter Internetworking Corp.) with ESMTP id 5BE441B00CA for ; Wed, 24 Dec 2008 16:28:50 -0500 (EST) X-MessageTextProcessor: DisclaimIt (2.60.261) [Ledyard National Bank] X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 24 Dec 2008 16:31:10 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Greater tool is easy to get CD thread-index: AclmDvAfxIC0qOIyR3GI4l3JoZgfpgAAAAH9 Importance: normal From: "Kevin Raleigh" Priority: normal To: "Rita R., San Francisco" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Out of Office AutoReply: Greater tool is easy to get CD 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, 24 Dec 2008 21:48:10 -0000 Kevin Raleigh is out of the office until Monday,January 4, 2009 CONFIDENTIALITY NOTICE: The information contained in this electronic message is intended only = for the addressee(s) named above. The contents of this electronic = message are confidential and may be privileged. If the reader of this = message is not the intended recipient, you are hereby notified that any = use, dissemination, distribution or reproduction of this communication = is strictly prohibited. If you have received this communication in = error, please immediately notify the sender by reply to this message. = After replying, please erase all copies of this message from your = computer system(s). From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 21:54:44 2008 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 C62561065676 for ; Wed, 24 Dec 2008 21:54:44 +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 8680D8FC20 for ; Wed, 24 Dec 2008 21:54:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-14-53.dynamic.qsc.de [92.196.14.53]) by mx01.qsc.de (Postfix) with ESMTP id 0D45682C8; Wed, 24 Dec 2008 22:54:39 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBOLsXab001919; Wed, 24 Dec 2008 22:54:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 24 Dec 2008 22:54:33 +0100 From: Polytropon To: aryeh.friedman@gmail.com Message-Id: <20081224225433.87741d52.freebsd@edvax.de> In-Reply-To: <4952A820.6020302@gmail.com> References: <49526071.4030305@gmail.com> <20081224220216.92be9454.freebsd@edvax.de> <4952A820.6020302@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a 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: Wed, 24 Dec 2008 21:54:44 -0000 On Wed, 24 Dec 2008 16:22:40 -0500, "Aryeh M. Friedman" wrote: > Polytropon wrote: > > Check the DPI settings from your monitor and if they match the > > settings in xorg.conf. Some programs calculate font sizes > > according to these values. > > > How do I check that... Eventually there's a setting in /etc/X11/xorg.conf called "DisplaySize" that does not match the display size of the monitor. Take a ruler and check. Then, calculate the dpi resolution from what the manufacturer says about the amount of pixels in X and Y (e. g. "1200x800"). physical pixels x dpi(x) = --------------------- display width in inch and physical pixels y dpi(y) = ---------------------- display height in inch The dpi resolution chosen by the X server can be determined by % grep DPI /var/log/Xorg.0.log This should match the reality. > btw your name seems familar ever use a public > access freebsd machine called m-net? No, must be somebody else. Name is from Homer's Illias. And, no, it's not Homer Simpson. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 22:35:52 2008 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 DC8A81065674 for ; Wed, 24 Dec 2008 22:35:52 +0000 (UTC) (envelope-from c_tolis@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDA88FC13 for ; Wed, 24 Dec 2008 22:35:52 +0000 (UTC) (envelope-from c_tolis@otenet.gr) Received: from darkpc (athedsl-383939.home.otenet.gr [79.131.51.193]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id mBOMO5JX015192 for ; Thu, 25 Dec 2008 00:24:05 +0200 From: "Xrhstaras" To: Date: Thu, 25 Dec 2008 00:24:06 +0200 Message-ID: <000001c96616$55647390$002d5ab0$@gr> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclmFlTOgezhggd8S5O/XVGq7qGjuA== Content-Language: el Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: The booting process stops at the line mounting root ufs /dev/md0 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, 24 Dec 2008 22:35:53 -0000 The booting process stops at the line mounting root ufs /dev/md0 (Starting with the option for no acpi ) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 22:41:19 2008 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 322A0106567A for ; Wed, 24 Dec 2008 22:41:19 +0000 (UTC) (envelope-from "") Received: from mail.poolhost.com (poolhost.com [64.235.44.108]) by mx1.freebsd.org (Postfix) with ESMTP id 1B94B8FC08 for ; Wed, 24 Dec 2008 22:41:19 +0000 (UTC) (envelope-from "") Received: from ([41.249.83.249]) by mail.poolhost.com (PoolHost.com Mail Server v1.1) with SMTP id QTR46951 for ; Wed, 24 Dec 2008 14:41:18 -0800 Date: Wed, 24 Dec 2008 14:41:18 -0800 From: Support@poolhost.com To: Message-Id: <966292777@mail.poolhost.com> Cc: Subject: PoolHost.com Support: Greater tool is easy to get 8BMF2 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, 24 Dec 2008 22:41:19 -0000 Automated Support Response This is an Automated Support Response. Please do no reply to this message. IF YOU'RE A REGISTERED USER, YOU MUST INCLUDE YOUR USERNAME! Without it, we may not be able to help and you might not get a response. Your inquiry has been received and will be responded to as soon as possible unless your issue is one of the following: 1. My Username/Password you sent me doesn't work - There are two main reasons for this, either you've typed your password incorrectly or you've tried to register two accounts with the same e-mail address. Your password is CASE sensitive which means your must type it exactly as you see it in the password e-mail. If you copy and paste, make sure you don't have an extra 'space' character at the end. After you login, you'll be forced to change your password immediately to something more memorable. If you tried to create two accounts with the same e-mail address, that is not allowed. You can read more about this below. 2. Didn't receive your password email - Please check your SPAM/Junk Mail folder and settings before inquiring about where your password e-mail is. 99% of all problems with receiving password e-mail from us have to do with SPAM/Junk Mail folders and their settings. You can have your info RESENT to you by using the forgotten password link on our home page and entering the e-mail address you used to register with. If you've done all of this, send another e-mail to Support@PoolHost.com with the subject "Missing PW Email" and include the details along with the following info you entered on the Registration Page: Username, First Name, Last Name, City, Zip, Email 3. Forgot your password - You can use our forgotten password link available on the home page to retrieve forgotten passwords. We cannot do this for you manually. If we did this for every user, we'd never have time to run our site. If you don't have access to your old e-mail address from last season, then simply re-register. If you don't have access to your work e-mail address from home, then send your picks to the pool admin. The admin can enter you picks at any time, even if the deadline has passed. MAKE SURE YOU CHANGE YOUR PASSWORD AFTER YOU LOGIN BY GOING TO "EDIT USER INFO". 4. Registering more than one account with the same email address - You CANNOT do this. We use e-mail addresses to uniquely identify each account. That is how we can implement the automated password retrieval system mentioned above. You can enter more than one set of picks with the same account however by going to Add a Pick Sheet under Pool Options in your Pro Football, College Bowl, or March Madness Pool. Your Admin must have this feature enabled however. 5. Didn't get your picks in before the deadline - We can't put them in for you. We host pools, we don't run them. You need to request this to your pool admin, the person who created and invited you to join their pool. They have the ability to put picks in for you if they choose to allow this. 6. Change your username/team name - We don't have team name, your username is what will show up on your pool standings pages and it's also the name you use to login. You can go to Edit User Info which will change your username. It changes immediately for the purpose of logging into PoolHost.com. It may NOT change immediately on your pool standings pages until the pools standings start to update again. We're constantly looking to improve our site and we will definitely listen to your feedback. We can't always implement changes you suggest immediately but we will do our best! Thanks, PoolHost.com From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 23:11:29 2008 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 CA70D1065675 for ; Wed, 24 Dec 2008 23:11:29 +0000 (UTC) (envelope-from savrequest@neu-ins.com) Received: from Mail.neu-ins.com (rrcs-71-41-44-18.se.biz.rr.com [71.41.44.18]) by mx1.freebsd.org (Postfix) with ESMTP id 6785F8FC17 for ; Wed, 24 Dec 2008 23:11:24 +0000 (UTC) (envelope-from savrequest@neu-ins.com) Received: (sendio-qmail 3479 invoked from network); 24 Dec 2008 22:44:42 -0000 Content-Type: multipart/mixed; boundary="===============0074436972==" MIME-Version: 1.0 Date: Wed, 24 Dec 2008 17:44:42 -0500 From: "Tony Frese" To: "Rita R., San Francisco" References: <01c965f7$c39ddc80$c995d6c9@questions> In-Reply-To: <01c965f7$c39ddc80$c995d6c9@questions> X-Priority: 1 Priority: Urgent Importance: high Message-ID: <1230158682.3466.1.1v@sav.neu-ins.com> Auto-Submitted: auto-replied X-Auto-Response-Suppress: DR, OOF, AutoReply Cc: Subject: NorthEast Underwriters requests that you verify your email address: please REPLY to this email. -- 17:44 December 24 2008 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tfrese-verify-1230158682.3466.1.1.8fc7690f@neu-ins.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 23:11:29 -0000 --===============0074436972== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: Address Verification Request ______________________________________________________________________ Message from "Tony Frese" ______________________________________________________________________ I recognize from your email address that this is the first message I have received from you since NorthEast Underwriters began using Sender Address Verification (SAV). Your message is very important to me. Like you, we are very concerned with stopping the proliferation of spam. We have implemented Sender Address Verification (SAV) to ensure that we do not receive unwanted email and to give you the assurance that your messages to me have no chance of being filtered into a bulk mail folder. By pressing REPLY and SEND to this message your original message will be delivered to the top of my Inbox. You need only do this once and all future emails will be recognized and delivered directly to me. When replying to this email, please make sure that the following email address appears in the To: field of the reply: tfrese-verify-1230158682.3466.1.1.8fc7690f@neu-ins.com If you are unable to respond to this authentication request within 1 week, or if your reply is not sent to the correct email address (as indicated above), your message may not be delivered. Thank you! Tony Frese _______________________________________________________________________ 100% spam-free email provided by Sendio (http://www.sendio.org/v/c1lxVXRAf1Nldw) --===============0074436972== Content-Type: message/rfc822 MIME-Version: 1.0 Content-Description: Original Message Message-ID: <01c965f7$c39ddc80$c995d6c9@questions> From: "Rita R., San Francisco" To: Subject: Greater tool is easy to get 6 Date: Wed, 24 Dec 2008 18:45:17 -0400 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.2730.2 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.2730.2 X-Sendio-SAV-Delivery-ID: 1230158682.3466.1.0 X-Sendio-SAV-Delivery-ID: 1230158682.3466.1.1 DomainKey-Status: non-participant (DK_STAT_NOSIG: No signature available in message and no policy found) MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" [Message body removed.] --===============0074436972==-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 23:11:29 2008 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 CC3941065676 for ; Wed, 24 Dec 2008 23:11:29 +0000 (UTC) (envelope-from savrequest@neu-ins.com) Received: from Mail.neu-ins.com (rrcs-71-41-44-18.se.biz.rr.com [71.41.44.18]) by mx1.freebsd.org (Postfix) with ESMTP id 679B48FC18 for ; Wed, 24 Dec 2008 23:11:24 +0000 (UTC) (envelope-from savrequest@neu-ins.com) Received: (sendio-qmail 3476 invoked from network); 24 Dec 2008 22:44:42 -0000 Content-Type: multipart/mixed; boundary="===============2134818646==" MIME-Version: 1.0 Date: Wed, 24 Dec 2008 17:44:42 -0500 From: "Trudy Godden" To: "Rita R., San Francisco" References: <01c965f7$c39ddc80$c995d6c9@questions> In-Reply-To: <01c965f7$c39ddc80$c995d6c9@questions> X-Priority: 1 Priority: Urgent Importance: high Message-ID: <1230158682.3466.1.0v@sav.neu-ins.com> Auto-Submitted: auto-replied X-Auto-Response-Suppress: DR, OOF, AutoReply Cc: Subject: NorthEast Underwriters requests that you verify your email address: please REPLY to this email. -- 17:44 December 24 2008 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tgodden-verify-1230158682.3466.1.0.81df6c37@neu-ins.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 23:11:30 -0000 --===============2134818646== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: Address Verification Request ______________________________________________________________________ Message from "Trudy Godden" ______________________________________________________________________ I recognize from your email address that this is the first message I have received from you since NorthEast Underwriters began using Sender Address Verification (SAV). Your message is very important to me. Like you, we are very concerned with stopping the proliferation of spam. We have implemented Sender Address Verification (SAV) to ensure that we do not receive unwanted email and to give you the assurance that your messages to me have no chance of being filtered into a bulk mail folder. By pressing REPLY and SEND to this message your original message will be delivered to the top of my Inbox. You need only do this once and all future emails will be recognized and delivered directly to me. When replying to this email, please make sure that the following email address appears in the To: field of the reply: tgodden-verify-1230158682.3466.1.0.81df6c37@neu-ins.com If you are unable to respond to this authentication request within 1 week, or if your reply is not sent to the correct email address (as indicated above), your message may not be delivered. Thank you! Trudy Godden _______________________________________________________________________ 100% spam-free email provided by Sendio (http://www.sendio.info/v/c1lxVXRAf1Nldw) --===============2134818646== Content-Type: message/rfc822 MIME-Version: 1.0 Content-Description: Original Message Message-ID: <01c965f7$c39ddc80$c995d6c9@questions> From: "Rita R., San Francisco" To: Subject: Greater tool is easy to get 6 Date: Wed, 24 Dec 2008 18:45:17 -0400 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.2730.2 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.2730.2 X-Sendio-SAV-Delivery-ID: 1230158682.3466.1.0 X-Sendio-SAV-Delivery-ID: 1230158682.3466.1.1 DomainKey-Status: non-participant (DK_STAT_NOSIG: No signature available in message and no policy found) MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" [Message body removed.] --===============2134818646==-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 23:14:42 2008 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 EFDA11065680 for ; Wed, 24 Dec 2008 23:14:42 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7638FC1C for ; Wed, 24 Dec 2008 23:14:42 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so448158nfh.33 for ; Wed, 24 Dec 2008 15:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=c+U3BD+SiecmHhQV3JhhcLEup2ekRtLCa+U29Vt6B2g=; b=IUfMwl7RYqqbByRykMvfKWAWqbQ7TJwGJlzg788+hAS0NhXzRcyhESTPcJbDLHBqqT zPSLDuOAHvau9w8njL6gegyUIF0eX2xS7A1iof0J4isX0C7MBbvIYuS7MjFD9mvNp4jM qT5S0+0Dtxh6BGVKKUczitaC6oVFVUtPsno00= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=AZ34JP/5bFu9IvYWeG+aHC+O7y+S5On16RBP3w2AhWe966zALlEZG9p4jggWw2ykcu DJXJSGlzpMFOP0Kcv31e6M1pHfqEKDLPGjK8o8N5N3g+PlB348HuVyj7okkgT3vgWv2K FMA1S8WuQAyljkKxYzqakAoUQM/1zEIYmscHE= Received: by 10.210.62.12 with SMTP id k12mr7129155eba.126.1230160481336; Wed, 24 Dec 2008 15:14:41 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-04701.home.otenet.gr [87.202.18.129]) by mx.google.com with ESMTPS id 10sm446584eyz.39.2008.12.24.15.14.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Dec 2008 15:14:40 -0800 (PST) Message-ID: <4952C25E.4040409@gmail.com> Date: Thu, 25 Dec 2008 01:14:38 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Xrhstaras References: <000001c96616$55647390$002d5ab0$@gr> In-Reply-To: <000001c96616$55647390$002d5ab0$@gr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: The booting process stops at the line mounting root ufs /dev/md0 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, 24 Dec 2008 23:14:43 -0000 Xrhstaras wrote: > The booting process stops at the line mounting root ufs /dev/md0 > > (Starting with the option for no acpi ) > > > We really need more info to be able to help you... Is this booting off from the CD? What version of FreeBSD? Any specific reason you are booting without ACPI? What is the make/model of your motherboard? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 23:50:53 2008 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 DA1B81065670 for ; Wed, 24 Dec 2008 23:50:53 +0000 (UTC) (envelope-from tgodden@neu-ins.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1268FC16 for ; Wed, 24 Dec 2008 23:50:53 +0000 (UTC) (envelope-from tgodden@neu-ins.com) Received: from mx2.neu-ins.com ([71.41.44.18]) by hrndva-omta02.mail.rr.com with SMTP id <20081224233547.UZVF24032.hrndva-omta02.mail.rr.com@mx2.neu-ins.com> for ; Wed, 24 Dec 2008 23:35:47 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 24 Dec 2008 18:37:17 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Greater tool is easy to get 6 Thread-Index: AclmII5Xj0q4GeV5QKW+kSUTVa6PGQAAAAMM From: "Trudy Godden" To: "Rita R., San Francisco" Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Out of Office AutoReply: Greater tool is easy to get 6 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, 24 Dec 2008 23:50:53 -0000 Our office will be closed from 12:30 December 24th for the Holidays = until Monday the 29th.... Have A Blessed Holiday! From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 00:08:33 2008 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 E5FE71065674 for ; Thu, 25 Dec 2008 00:08:33 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id C6AD68FC18 for ; Thu, 25 Dec 2008 00:08:32 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mBOKvDoK003394 for ; Thu, 25 Dec 2008 07:57:13 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mBOKv9LN026887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Dec 2008 07:57:10 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id mBOKv8K0020105; Thu, 25 Dec 2008 07:57:08 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id mBOKv8Qh020104; Thu, 25 Dec 2008 07:57:08 +1100 (EST) (envelope-from peter) Date: Thu, 25 Dec 2008 07:57:08 +1100 From: Peter Jeremy To: Jack Raats Message-ID: <20081224205708.GB1081@server.vk2pj.dyndns.org> References: <00fb01c96531$a5fca290$f1f5e7b0$@com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 'freebsd-stable' , freebsd-questions@freebsd.org Subject: Re: Problems installing FreeBSD 7.0 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, 25 Dec 2008 00:08:34 -0000 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Dec-23 20:32:38 +0100, Jack Raats wrote: >> Can you try to paste exactly what was on the screen before the "freeze"= =20 >> for >> both 6.4 and 7.0? > >How can I do this if the systeem freezes??? Take a photo and put it up somewhere (http://imagebin.ca/ if nowhere else). If scroll lock still works, you can take pictures of earlier output (and if caps/scroll/num lock don't work, that is a useful piece of information). --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklSoiMACgkQ/opHv/APuIfrKACgiOPGzS2mGwHjdF7tkdG28iQU kskAn3rRUZZq+EXOvI3CJD4PcSYsYybC =5Kss -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 01:35:47 2008 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 AFA751065676 for ; Thu, 25 Dec 2008 01:35:47 +0000 (UTC) (envelope-from express-bounces-questions=freebsd.org@express.smtnet.com) Received: from lists.smtnet.com (smtnet.com [24.39.1.228]) by mx1.freebsd.org (Postfix) with SMTP id 4E2198FC36 for ; Thu, 25 Dec 2008 01:35:47 +0000 (UTC) (envelope-from express-bounces-questions=freebsd.org@express.smtnet.com) Received: (qmail 13004 invoked from network); 25 Dec 2008 00:59:15 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by lists.smtnet.com with SMTP; 25 Dec 2008 00:59:15 -0000 From: express-bounces@express.smtnet.com To: questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0452030035==" Message-ID: Date: Wed, 24 Dec 2008 16:44:36 -0500 Precedence: bulk X-BeenThere: express@express.smtnet.com X-Mailman-Version: 2.1.9 X-List-Administrivia: yes Sender: express-bounces-questions=freebsd.org@express.smtnet.com Errors-To: express-bounces-questions=freebsd.org@express.smtnet.com Cc: Subject: The results of your email commands X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 01:35:47 -0000 --===============0452030035== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit The results of your email command are provided below. Attached is your original message. - Results: questions@freebsd.org is not a member of the Express mailing list - Unprocessed: Greater tool is easy to get T42 Make your love locomotive enter her tunnel on a full speed. http://docs.google.com/View?id=dgrdn7xj_1g97vjxfk AWDJBW3LLL Y9J7AS - Done. --===============0452030035== Content-Type: message/rfc822 MIME-Version: 1.0 Return-Path: Delivered-To: express-unsubscribe@express.smtnet.com Received: (qmail 19111 invoked from network); 24 Dec 2008 21:44:32 -0000 Received: from unknown (HELO ppp18046.hakata02.bbiq.jp) (119.47.47.46) by lists.smtnet.com with SMTP; 24 Dec 2008 21:44:32 -0000 Received: from [119.47.47.46] by mx1.freebsd.org; Thu, 25 Dec 2008 06:52:55 +0900 Message-ID: <01c9665d$6a159200$2e2f2f77@questions> From: "Rita R., San Francisco" To: Subject: Greater tool is easy to get T42 Date: Thu, 25 Dec 2008 06:52:55 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Make your love locomotive enter her tunnel on a full speed. http://docs.google.com/View?id=dgrdn7xj_1g97vjxfk AWDJBW3LLL Y9J7AS --===============0452030035==-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 01:35:48 2008 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 C3BFC1065678 for ; Thu, 25 Dec 2008 01:35:48 +0000 (UTC) (envelope-from express-bounces-questions=freebsd.org@express.smtnet.com) Received: from lists.smtnet.com (smtnet.com [24.39.1.228]) by mx1.freebsd.org (Postfix) with SMTP id 249928FC58 for ; Thu, 25 Dec 2008 01:35:48 +0000 (UTC) (envelope-from express-bounces-questions=freebsd.org@express.smtnet.com) Received: (qmail 12998 invoked from network); 25 Dec 2008 00:59:15 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by lists.smtnet.com with SMTP; 25 Dec 2008 00:59:15 -0000 From: express-bounces@express.smtnet.com To: questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0240314391==" Message-ID: Date: Wed, 24 Dec 2008 16:44:35 -0500 Precedence: bulk X-BeenThere: express@express.smtnet.com X-Mailman-Version: 2.1.9 X-List-Administrivia: yes Sender: express-bounces-questions=freebsd.org@express.smtnet.com Errors-To: express-bounces-questions=freebsd.org@express.smtnet.com Cc: Subject: The results of your email commands X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 01:35:48 -0000 --===============0240314391== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit The results of your email command are provided below. Attached is your original message. - Unprocessed: http://docs.google.com/View?id=dgrdn7xj_1g97vjxfk AWDJBW3LLL Y9J7AS - Done. --===============0240314391== Content-Type: message/rfc822 MIME-Version: 1.0 Return-Path: Delivered-To: express-request@express.smtnet.com Received: (qmail 19111 invoked from network); 24 Dec 2008 21:44:32 -0000 Received: from unknown (HELO ppp18046.hakata02.bbiq.jp) (119.47.47.46) by lists.smtnet.com with SMTP; 24 Dec 2008 21:44:32 -0000 Received: from [119.47.47.46] by mx1.freebsd.org; Thu, 25 Dec 2008 06:52:55 +0900 Message-ID: <01c9665d$6a159200$2e2f2f77@questions> From: "Rita R., San Francisco" To: Subject: Greater tool is easy to get T42 Date: Thu, 25 Dec 2008 06:52:55 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Make your love locomotive enter her tunnel on a full speed. http://docs.google.com/View?id=dgrdn7xj_1g97vjxfk AWDJBW3LLL Y9J7AS --===============0240314391==-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 02:18:59 2008 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 284791065673 for ; Thu, 25 Dec 2008 02:18:59 +0000 (UTC) (envelope-from freebsd@t41t.com) Received: from ehlo.cat.pdx.edu (unknown [IPv6:2610:10:20:208:2e0:81ff:fe5d:b35f]) by mx1.freebsd.org (Postfix) with ESMTP id DDF938FC08 for ; Thu, 25 Dec 2008 02:18:58 +0000 (UTC) (envelope-from freebsd@t41t.com) Received: from nemo.ece.pdx.edu (root@nemo.ece.pdx.edu [131.252.209.162]) by ehlo.cat.pdx.edu (8.14.2/8.14.2/Debian-2build1) with ESMTP id mBP2Is3e003341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 24 Dec 2008 18:18:54 -0800 Received: from nemo.ece.pdx.edu (tait@localhost [127.0.0.1]) by nemo.ece.pdx.edu (8.13.6/8.13.1) with ESMTP id mBP2IssJ003286 for ; Wed, 24 Dec 2008 18:18:54 -0800 (PST) Received: (from tait@localhost) by nemo.ece.pdx.edu (8.13.6/8.12.6/Submit) id mBP2IsHg003285 for freebsd-questions@freebsd.org; Wed, 24 Dec 2008 18:18:54 -0800 (PST) X-Authentication-Warning: nemo.ece.pdx.edu: tait set sender to freebsd@t41t.com using -f Date: Wed, 24 Dec 2008 18:18:54 -0800 From: Tait To: freebsd-questions Message-ID: <20081225021854.GG14242@ece.pdx.edu> References: <18750.53868.986698.928834@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18750.53868.986698.928834@jerusalem.litteratus.org> User-Agent: Mutt/1.5.7i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ehlo.cat.pdx.edu [131.252.208.106]); Wed, 24 Dec 2008 18:18:54 -0800 (PST) X-Spam-Status: No, score=0.0 required=6.0 tests=none autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ehlo.cat.pdx.edu X-Virus-Scanned: ClamAV 0.92.1/8798/Wed Dec 24 08:46:31 2008 on ehlo.cat.pdx.edu X-Virus-Status: Clean Subject: Re: FreeBSD update warns about 7.0 end of life 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, 25 Dec 2008 02:18:59 -0000 > > When running freebsd-update on FreeBSD 7.0, I noticed this message: > > > > WARNING: FreeBSD 7.0-RELEASE is approaching its End-of-Life date. > > Key concept: "RELEASE". > > Robert Huff I'm not trying to be dense, but what is that supposed to mean? I see this on http://www.freebsd.org/releases/7.0R/announce.html: "The FreeBSD Security Team currently plans to support FreeBSD 7.0 until February 28th, 2009." As far as I can tell, 7.1 hasn't even undergone RC2 build yet, much yet the actual -RELEASE build. So what am I supposed to do about this warning and the impending cessation of security support? Will the Security Team actually support 7.0R longer than originally expected? If so, can freebsd-update be made to understand that and stop issuing worrisome warnings? If the Security Team will stop supporting 7.0R, what _will_ they be supporting come Feb? Assuming 7.1R makes it out the door soon, will I really only have seven or so weeks to upgrade? The Security Team is apparently supporting 6.4R well into 2010; should I downgrade to keep receiving security updates? Thanks, Tait From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 03:20:29 2008 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 37BA91065673 for ; Thu, 25 Dec 2008 03:20:29 +0000 (UTC) (envelope-from Diwata.Hunziker@ville-ge.ch) Received: from mail1.ville-ge.ch (mail1.ville-ge.ch [195.176.173.38]) by mx1.freebsd.org (Postfix) with ESMTP id EC8F28FC12 for ; Thu, 25 Dec 2008 03:20:28 +0000 (UTC) (envelope-from Diwata.Hunziker@ville-ge.ch) Received: by mail1.ville-ge.ch (Postfix, from userid 100) id 2213C1B741B; Thu, 25 Dec 2008 04:01:55 +0100 (CET) Received: from gyllir.ville-ge.ch (gyllir.ville-ge.ch [10.20.2.200]) by mail1.ville-ge.ch (Postfix) with ESMTP id EB41C1B7413 for ; Thu, 25 Dec 2008 04:01:54 +0100 (CET) Auto-Submitted: auto-generated From: Diwata.Hunziker@ville-ge.ch To: "Linda F., Bellevue WA" Message-ID: Date: Thu, 25 Dec 2008 04:01:52 +0100 X-MIMETrack: Serialize by Router on gyllir/ville-ge(Release 8.0.2|August 07, 2008) at 25.12.2008 04:01:54 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Cc: Subject: Diwata Hunziker est absent(e). 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, 25 Dec 2008 03:20:29 -0000 Je serai absent(e) du 19.12.2008 au 12.01.2009. Je serai de retour le 12 janvier 2009 et ne manquerai pas de vous r=E9p= ondre. Dans l'intervalle, je vous souhaite de tr=E8s belles f=EAtes de No=EBl = et de fin d'ann=E9e. ****** I will back on Monday, 12th January 2009. Merry Christmas and best wishes for 2009! Diwata Hunziker Service des relations ext=E9rieures Ville de Gen=E8ve = From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 03:20:29 2008 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 3818B1065674 for ; Thu, 25 Dec 2008 03:20:29 +0000 (UTC) (envelope-from Maria-Giuseppina.Scirocco@ville-ge.ch) Received: from mail1.ville-ge.ch (mail1.ville-ge.ch [195.176.173.38]) by mx1.freebsd.org (Postfix) with ESMTP id ECB048FC13 for ; Thu, 25 Dec 2008 03:20:28 +0000 (UTC) (envelope-from Maria-Giuseppina.Scirocco@ville-ge.ch) Received: by mail1.ville-ge.ch (Postfix, from userid 100) id 454861B7413; Thu, 25 Dec 2008 04:03:14 +0100 (CET) Received: from gyllir.ville-ge.ch (gyllir.ville-ge.ch [10.20.2.200]) by mail1.ville-ge.ch (Postfix) with ESMTP id 18C911B73DF for ; Thu, 25 Dec 2008 04:03:14 +0100 (CET) Auto-Submitted: auto-generated From: Maria-Giuseppina.Scirocco@ville-ge.ch To: "Linda F., Bellevue WA" Message-ID: Date: Thu, 25 Dec 2008 04:03:12 +0100 X-MIMETrack: Serialize by Router on gyllir/ville-ge(Release 8.0.2|August 07, 2008) at 25.12.2008 04:03:13 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Cc: Subject: Maria-Giuseppina Scirocco est absent(e). 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, 25 Dec 2008 03:20:29 -0000 Je serai absent(e) du 22.12.2008 au 05.01.2009. En cas de besoin, veuillez vous adresser =E0 Mme Anne-Marie Page t=E9l.= 022 418 42 24, le matin, ou envoyer un courriel =E0 : vvp@ville-ge.ch= From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 04:13:06 2008 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 7F1801065673 for ; Thu, 25 Dec 2008 04:13:06 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 070C78FC12 for ; Thu, 25 Dec 2008 04:13:05 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so455804nfh.33 for ; Wed, 24 Dec 2008 20:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=UGzOOnv7pc7VIqkkCHKdaEAyX5Gkn9hsw5kKs7tOklI=; b=ilftMUA4DFVJNcYHVoB7I1HXx2kqS/vEZlq+6T0x5VsTXyuJunh8Hlulo+ra2tnRkB VzVMLlz1mC9B6jprOiU7DT4gg13AdZMkXqBmgePscfnj2TptD/UpdG3OxqDVNJoiILXb mxfdPrQuxXKnkv0oaEHYAQtPT1owRjSOkhP7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=U4i+Ozn5ALKkHLJrVd8wXA711bIa1b0+mRO31we56Lg3c6rJknE3BMbLbpsq9LbXOM 7vux8HJ7Bi4HSwSVARmr06FoAuF3raKso1XEQ/SAFClYl6lexc4jXgsAxKNLJgLJMljr pwryvowlk0fqioGJ5VyfaQBzAQ7515y0s4m8w= Received: by 10.210.86.10 with SMTP id j10mr10975586ebb.167.1230178384771; Wed, 24 Dec 2008 20:13:04 -0800 (PST) Received: by 10.210.63.9 with HTTP; Wed, 24 Dec 2008 20:13:04 -0800 (PST) Message-ID: Date: Wed, 24 Dec 2008 21:13:04 -0700 From: "Tim Judd" To: "matt donovan" In-Reply-To: <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> MIME-Version: 1.0 References: <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Joseph Simmons , freebsd-questions@freebsd.org Subject: Re: starting Tomcat6 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, 25 Dec 2008 04:13:06 -0000 On Tue, Dec 23, 2008 at 12:23 PM, matt donovan wrote: > On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons >wrote: > > > It is now :), but that should only effect things when the computer > > starts up. I'm still not able to start tomcat from it's rc.d script. > > > > On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman > > wrote: > > > Joseph Simmons wrote: > > >> > > >> uname -a gives: > > >> 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > > >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > >> > > >> I installed Apache Tomcat from the ports collection > > >> (/usr/ports/www/tomcat6) without error. From the documentation that > > >> I've seen, starting tomcat is done with the following command > > >> > > >> /usr/local/etc/rc.d/tomcat6 start > > >> > > >> But when I do this (as root or otherwise), the tomcat process doesn't > > >> seem to start. Should there be some other way of starting the process? > > > > > > Did you put: > > > > > > tomcat6_enable="YES" > > > > > > into /etc/rc.conf ? > > > > > > Cheers, > > > > > > Matthew > > > > > > -- > > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > > Flat 3 > > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > > > Kent, CT11 9PW > > > > > > > > _______________________________________________ > > 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" > > > > no you must have tomcat_enable="yes" in your rc.conf to even run the > script > unless you forcestart it. so ps aux does not show tomcat as running? > Forcestart isn't a good idea. To bypass the rc.conf setting, use the one prefix (onestart, onestop, onerestart) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 05:39:53 2008 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 567081065673 for ; Thu, 25 Dec 2008 05:39:53 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id 91C528FC12 for ; Thu, 25 Dec 2008 05:39:52 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by rn-out-0910.google.com with SMTP id k36so2891140rnd.1 for ; Wed, 24 Dec 2008 21:39:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JLWxGgkK1etaVU/nnVi7SPleGTeVaj7S53AcYr+nLAc=; b=C/KcUTN4jvivVEDEVPjRJesauOpFn3J+bVsI10kA9YatI0Bhz0SQB+mKtCBVeluu6L KzOzXTEZTef/9DLYUPWvwZKvKYNCu5BgVG9+D8fNipjTCA/JoZoA0G5h6+/i7V8DD7Wx CVWdjUcRLixiM4ZnWSQRwH+SmJ/1Eoo/D+QXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Vu6m0OmoaO7nC/tNlU/3Vgfyq/e1JlePDTjGQSb0XsIgP0ZFPRN2N0u1xSBigc6aAn sHdgT4mEd/6U4lsdXpaaBP+MBua77M+yW5Di+GqsXMxmavJ7GT1ufhKsMKjSaKVFC/e3 ldkiTT9ivhLFkHSz6m2ci3CCchBO7W8hbkB7A= Received: by 10.150.202.8 with SMTP id z8mr6795750ybf.83.1230183591516; Wed, 24 Dec 2008 21:39:51 -0800 (PST) Received: by 10.150.190.1 with HTTP; Wed, 24 Dec 2008 21:39:51 -0800 (PST) Message-ID: <25ff90d60812242139y73d4aa47n78e03160f0235af2@mail.gmail.com> Date: Thu, 25 Dec 2008 00:39:51 -0500 From: "David Horn" To: Tait In-Reply-To: <20081225021854.GG14242@ece.pdx.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18750.53868.986698.928834@jerusalem.litteratus.org> <20081225021854.GG14242@ece.pdx.edu> Cc: freebsd-questions Subject: Re: FreeBSD update warns about 7.0 end of life 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, 25 Dec 2008 05:39:53 -0000 On Wed, Dec 24, 2008 at 9:18 PM, Tait wrote: >> > When running freebsd-update on FreeBSD 7.0, I noticed this message: >> > >> > WARNING: FreeBSD 7.0-RELEASE is approaching its End-of-Life date. >> >> Key concept: "RELEASE". >> >> Robert Huff > > I'm not trying to be dense, but what is that supposed to mean? > > I see this on http://www.freebsd.org/releases/7.0R/announce.html: > "The FreeBSD Security Team currently plans to support FreeBSD 7.0 until > February 28th, 2009." > > As far as I can tell, 7.1 hasn't even undergone RC2 build yet, much yet > the actual -RELEASE build. > > So what am I supposed to do about this warning and the impending cessation > of security support? Will the Security Team actually support 7.0R longer > than originally expected? If so, can freebsd-update be made to understand > that and stop issuing worrisome warnings? I have only ever personally seen the 7.0-RELEASE EoL warning when running an non updated kernel. I can not speak for the security team support horizon, but 7.1 RC is working very well on my test machine, so I personally will be updating my production box to 7.1-RELEASE shortly after the bits are frozen solid. What is the output of: uname -a Are you running -p7 already or not ? If not, then run: freebsd-update fetch install And do not forget to reboot your system to actually use the latest kernel after install succeeds. On my 7.0-RELEASE machine (that is already updated to -p7) I do not see EoL warnings. YMMV. Good Luck. --_Dave Non quia difficilia sunt non audemus, sed quia non audemus, difficilia sunt. > If the Security Team will stop > supporting 7.0R, what _will_ they be supporting come Feb? Assuming 7.1R > makes it out the door soon, will I really only have seven or so weeks > to upgrade? The Security Team is apparently supporting 6.4R well into 2010; > should I downgrade to keep receiving security updates? > > Thanks, > Tait > > _______________________________________________ > 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 25 11:16:19 2008 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 EFB3F1065678 for ; Thu, 25 Dec 2008 11:16:19 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp107.prem.mail.ac4.yahoo.com (smtp107.prem.mail.ac4.yahoo.com [76.13.13.46]) by mx1.freebsd.org (Postfix) with SMTP id 623238FC16 for ; Thu, 25 Dec 2008 11:16:19 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 61904 invoked from network); 25 Dec 2008 11:16:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=lt62d4NS7gFUhzmW+2gE2ER7petoAnOafFkjzzTVKKlNoE0Mr1YgZ7nY2vKyd08lB2cyghnkem+45n2ap7xiTSMf76vWEF2brAlLC03gZumGeM0JUKTQUSVP9qCytEEaYFHSETFPipOWeUsaNT417pukxRzUeN09k8vY1ah4Klk= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp107.prem.mail.ac4.yahoo.com with SMTP; 25 Dec 2008 11:16:18 -0000 X-YMail-OSG: IruP4ZQVM1m4N6MtdZhhqpnFXWGCovEdMD66AIKGWPK3kg6l92tCNmBpl6Jsz5GYPNTc.lKqDcJcJZ6pCkLXp4fEun2ud_YS3nFqu0v7QjFnJb65MLwXC9v1Zfz6DUyVaOJVU7gZvsU3qp2NILWHQBkLqwMdMhhIkq7375oB0zMcAMUNl9HT3OaJpVdpji4RHlZ4HTkHmaYvXrnZsw5BiaFFgvYvDPU9 X-Yahoo-Newman-Property: ymail-3 Date: Thu, 25 Dec 2008 06:16:05 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081225061605.524a0d1c@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=2gFKTL6hTlbyP20dBilv4M"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Jason Irwin Subject: Re: Out of Office AutoReply: [SPAM:##] Greater tool is easy to get AGJ81 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 11:16:20 -0000 --Sig_/=2gFKTL6hTlbyP20dBilv4M Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 24 Dec 2008 13:22:27 -0800 "Jason Irwin" wrote: >In accordance with the University Winter Closure schedule, I will be >out of the office Friday, December 19th - Monday January 5th. I will >check voice mail and email upon my return in January. Wonderful; another misconfigured OoO program. When will they ever learn? --=20 Jerry gesbbb@yahoo.com There is no fear in love; but perfect love casteth out fear. --Sig_/=2gFKTL6hTlbyP20dBilv4M Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklTa38ACgkQBvaKIJWWCO1toACbBPTUIhRU8HsEdyAaNEkR69n5 5zcAn0GySCdnzu5bH98TzIKOD549iHju =+nVe -----END PGP SIGNATURE----- --Sig_/=2gFKTL6hTlbyP20dBilv4M-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 11:18:16 2008 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 1C335106564A for ; Thu, 25 Dec 2008 11:18:16 +0000 (UTC) (envelope-from julesg@stockpredictions.com) Received: from mx253o.mysite4now.com (mx253o.mysite4now.com [216.10.248.253]) by mx1.freebsd.org (Postfix) with ESMTP id DF2268FC18 for ; Thu, 25 Dec 2008 11:18:15 +0000 (UTC) (envelope-from julesg@stockpredictions.com) MIME-Version: 1.0 Date: Thu, 25 Dec 2008 03:17:56 -0800 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: julesg@stockpredictions.com To: freebsd-questions@freebsd.org Message-ID: Subject: please resend your mesg to jules.stocks@gmail.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: julesg@stockpredictions.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 11:18:16 -0000 Unfortunately the available space at julesg@stockpredictions.com is insuffi= cient; I keep running out.=0D=0A=0D=0ASo, please use:=0D=0A=0D=0Ajules.sto= cks@gmail.com=0D=0A=0D=0A From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 11:19:23 2008 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 E8A1410656A6 for ; Thu, 25 Dec 2008 11:19:23 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 7AC128FC20 for ; Thu, 25 Dec 2008 11:19:23 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 26738 invoked from network); 25 Dec 2008 11:19:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=H0/nAqHLH2cOPSFKtyahrA2htqYWsEsLKN7rz2RXTakymYyFF6Sfg/G37vI269/Jfy5xhsC8x6ilZu2+pdHiRaaNLG/pXTKcQKHc1dqwu7uWW0PXxiIZV+byRom3W+NMYQ5/OhKfqy5u04185C+2QzC/YlP4kaRXHn+eY4iigRE= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 25 Dec 2008 11:19:22 -0000 X-YMail-OSG: 5dlsmgQVM1mC2jp5pJnAzXY9GKXQRrGXVqwLY3Dgryg8LpzBUXVMBeuz84LnQ2LmQInr2j6Md96Y7VrwMfw_iNtMr9nsSK4FFht71oPZw7apG2dByfsCHs7AWDl6bZTvzGQw7oAtOuhpnXA1r0u.fvjgFghlo8Clm7ECEkNsWzA.uCJQdhatD3QeZw45AWXHPb5WwPznhIpvSCNAk0F7dFW8dCm_VX8Q6mw- X-Yahoo-Newman-Property: ymail-3 Date: Thu, 25 Dec 2008 06:19:18 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081225061918.49b0b0dd@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/htUrap7BOa=ZwI6HmeO3pE6"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Kevin Raleigh Subject: Re: Out of Office AutoReply: Greater tool is easy to get CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 11:19:24 -0000 --Sig_/htUrap7BOa=ZwI6HmeO3pE6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 24 Dec 2008 16:31:10 -0500 "Kevin Raleigh" wrote: >Kevin Raleigh is out of the office until Monday,January 4, 2009 Wow, still another incorrectly configured OoO application. This one comes complete with a legally unenforceable disclaimer. Are you a friend of "Jason Irwin" by any chance? --=20 Jerry gesbbb@yahoo.com Nobody ever ruined their eyesight by looking at the bright side of something. --Sig_/htUrap7BOa=ZwI6HmeO3pE6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklTbDcACgkQBvaKIJWWCO3OVQCcCef2dnihdtQ5390g8ipF8lOZ KF0AnjoakbTOLFyxaw2OjNXNmIMZNLUJ =P6OG -----END PGP SIGNATURE----- --Sig_/htUrap7BOa=ZwI6HmeO3pE6-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 09:02:38 2008 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 5EA7C1065670 for ; Thu, 25 Dec 2008 09:02:38 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0B68FC1E for ; Thu, 25 Dec 2008 09:02:37 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so1379200anc.13 for ; Thu, 25 Dec 2008 01:02:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:x-mailer:subject :mime-version:date; bh=TmaQE7QH6Rv9G6pqTjBfqJQIGF1/ekhIr6wkepv5G/U=; b=F+MiBRgPPrm3364iFLO5liiCV5iqCp6MdywO76Q3Gcaf3spQgdkRCgywcrhbNWL/KX K+R/QvxzoNAAGfL6PYYUwDwBggg0n0rXogJaTk819eWfXxWMB9YJ5hiiAwmPdE3t/FCI eGDNTVbPaRHW7VtauKqeqDUMvtPl9mHKB5V9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:x-mailer :subject:mime-version:date; b=D3/acsxbkTmxsl5Nt+hCqKzitxCziUGXV8RJwmSNmUF2TGRPopQuMv5qmd4V1YM1i2 JPmBmunde4Th5LtxZmITEH1Lk/TuZtcQY8LvxPKh1RKww94mcRr+xF4lhP973UUa2O2b 8QklPicSvRQbttbWv3i+R7KYtHvE6nx89xsH4= Received: by 10.100.178.9 with SMTP id a9mr5768491anf.59.1230194349514; Thu, 25 Dec 2008 00:39:09 -0800 (PST) Received: from ?10.87.50.163? ([32.155.226.8]) by mx.google.com with ESMTPS id b37sm18559906ana.30.2008.12.25.00.39.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Dec 2008 00:39:08 -0800 (PST) Message-Id: <3A9D43F6-030F-4C88-A9F0-E72901D8BBCB@gmail.com> From: Garrett Cooper To: "gcooper@freebsd.org" Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5F136) Mime-Version: 1.0 (iPhone Mail 5F136) Date: Thu, 25 Dec 2008 00:38:31 -0800 X-Mailman-Approved-At: Thu, 25 Dec 2008 12:15:34 +0000 Cc: Subject: Free 1GB laptop RAM 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, 25 Dec 2008 09:02:38 -0000 Hi guys, Not sure if anyone would want them, but I have 2 x 512MB DDR667 working Dimms laying around unused that I'm more than happy to part with. Please note that it is standard laptop ram (this is compatible with some of the ultra small form factor machines though). So if interested give me an email and we'll negotiate shipping or pickup (south bay area / Santa cruz). Thanks! -Garrett From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 14:33:59 2008 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 101EC1065670 for ; Thu, 25 Dec 2008 14:33:59 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 79EAD8FC12 for ; Thu, 25 Dec 2008 14:33:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBPEXuq9060286; Fri, 26 Dec 2008 01:33:56 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 26 Dec 2008 01:33:55 +1100 (EST) From: Ian Smith To: Jerry In-Reply-To: <20081225120030.CD197106568E@hub.freebsd.org> Message-ID: <20081226011920.R29108@sola.nimnet.asn.au> References: <20081225120030.CD197106568E@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: OT [was: Out of Office AutoReply: Greater tool ..] 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, 25 Dec 2008 14:33:59 -0000 On Thu, 25 Dec 2008 06:19:18 -0500 Jerry wrote: > On Wed, 24 Dec 2008 16:31:10 -0500 > "Kevin Raleigh" wrote: > > >Kevin Raleigh is out of the office until Monday,January 4, 2009 > > Wow, still another incorrectly configured OoO application. This one > comes complete with a legally unenforceable disclaimer. Are you a > friend of "Jason Irwin" by any chance? Jerry, please don't respond to spam, backscatter, misconfigured autoresponders and such. It just adds to the problem. Clearly someone/s are spamming this list and others with mail forged to be from questions@freebsd.org; they don't call it the silly season for nothing .. If you have any helpful suggestions about dealing with spam or anything to do with the lists, please send mail to postmaster@freebsd.org offlist .. bearing in mind that he's very likely run off his feet right now. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:33:49 2008 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 3AAAE1065674 for ; Thu, 25 Dec 2008 15:33:49 +0000 (UTC) (envelope-from Diwata.Hunziker@ville-ge.ch) Received: from mail1.ville-ge.ch (mail1.ville-ge.ch [195.176.173.38]) by mx1.freebsd.org (Postfix) with ESMTP id F15178FC0C for ; Thu, 25 Dec 2008 15:33:48 +0000 (UTC) (envelope-from Diwata.Hunziker@ville-ge.ch) Received: by mail1.ville-ge.ch (Postfix, from userid 100) id B4D641B743B; Thu, 25 Dec 2008 16:02:51 +0100 (CET) Received: from gyllir.ville-ge.ch (gyllir.ville-ge.ch [10.20.2.200]) by mail1.ville-ge.ch (Postfix) with ESMTP id 8CC5B1B7428 for ; Thu, 25 Dec 2008 16:02:51 +0100 (CET) Auto-Submitted: auto-generated From: Diwata.Hunziker@ville-ge.ch To: freebsd-questions@freebsd.org Message-ID: Date: Thu, 25 Dec 2008 16:02:50 +0100 X-MIMETrack: Serialize by Router on gyllir/ville-ge(Release 8.0.2|August 07, 2008) at 25.12.2008 16:02:51 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Subject: Diwata Hunziker est absent(e). 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, 25 Dec 2008 15:33:49 -0000 Je serai absent(e) du 19.12.2008 au 12.01.2009. Je serai de retour le 12 janvier 2009 et ne manquerai pas de vous r=E9p= ondre. Dans l'intervalle, je vous souhaite de tr=E8s belles f=EAtes de No=EBl = et de fin d'ann=E9e. ****** I will back on Monday, 12th January 2009. Merry Christmas and best wishes for 2009! Diwata Hunziker Service des relations ext=E9rieures Ville de Gen=E8ve = From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:33:49 2008 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 3AF221065675 for ; Thu, 25 Dec 2008 15:33:49 +0000 (UTC) (envelope-from Maria-Giuseppina.Scirocco@ville-ge.ch) Received: from mail1.ville-ge.ch (mail1.ville-ge.ch [195.176.173.38]) by mx1.freebsd.org (Postfix) with ESMTP id F146D8FC08 for ; Thu, 25 Dec 2008 15:33:48 +0000 (UTC) (envelope-from Maria-Giuseppina.Scirocco@ville-ge.ch) Received: by mail1.ville-ge.ch (Postfix, from userid 100) id C0EDA1B7445; Thu, 25 Dec 2008 16:03:57 +0100 (CET) Received: from gyllir.ville-ge.ch (gyllir.ville-ge.ch [10.20.2.200]) by mail1.ville-ge.ch (Postfix) with ESMTP id 8E9991B7438 for ; Thu, 25 Dec 2008 16:03:57 +0100 (CET) Auto-Submitted: auto-generated From: Maria-Giuseppina.Scirocco@ville-ge.ch To: freebsd-questions@freebsd.org Message-ID: Date: Thu, 25 Dec 2008 16:03:55 +0100 X-MIMETrack: Serialize by Router on gyllir/ville-ge(Release 8.0.2|August 07, 2008) at 25.12.2008 16:03:57 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Subject: Maria-Giuseppina Scirocco est absent(e). 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, 25 Dec 2008 15:33:49 -0000 Je serai absent(e) du 22.12.2008 au 05.01.2009. En cas de besoin, veuillez vous adresser =E0 Mme Anne-Marie Page t=E9l.= 022 418 42 24, le matin, ou envoyer un courriel =E0 : vvp@ville-ge.ch= From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 15:39:19 2008 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 B516F106564A for ; Thu, 25 Dec 2008 15:39:19 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from mx1.highperformance.net (g1.stradamotorsports.com [64.81.163.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7664A8FC1A for ; Thu, 25 Dec 2008 15:39:19 +0000 (UTC) (envelope-from jcw@highperformance.net) Received: from [192.168.1.17] ([192.168.1.17]) by mx1.highperformance.net (8.14.3/8.14.3) with ESMTP id mBPFdIZC037084 for ; Thu, 25 Dec 2008 07:39:19 -0800 (PST) (envelope-from jcw@highperformance.net) Message-ID: <4953A926.7030700@highperformance.net> Date: Thu, 25 Dec 2008 07:39:18 -0800 From: "Jason C. Wells" User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Persistent Kernel Variables 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, 25 Dec 2008 15:39:19 -0000 I have a new kernel variable in /boot/device.hints. kern.timecounter.hardware="i8254" but it's not set during boot. I have other hints that are set during boot. Why is kern.timecounter.hardware not being set? How can I fix it. Later, Jason From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:13:37 2008 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 D72C2106564A for ; Thu, 25 Dec 2008 16:13:37 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9338FC13 for ; Thu, 25 Dec 2008 16:13:37 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy14 with SMTP id 14so4288832ewy.19 for ; Thu, 25 Dec 2008 08:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-operating-system; bh=aE04kcY1WSzL4uYFXydGman72BbNavm2fgftB8Apw4s=; b=ghgPZKaK4RFPuTKfgM50cZedFG0ChOg0Cvx3CyKHTA92FMhWuITondgrSJj1ftR5bI ZNFOdiYtOMsy9MvJ6R1hKp/77BdtWZ4icRoj0Z72H/A1osnp5UV6bA2tv/xKDVrI5Bq+ VFNxKpa8T8sqvbyoRPyF32X8PHfRTqnm9tdIU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-operating-system; b=w2KXbvZJ7AOccLmPKZmyYBhiJvQ19ZVLVLly39bTstPYV5bgvCYE56/Pq0j/NRDUR6 0Yj5n9hEXpK86cycHs3KhFKmJtRV5oVgYSYaTtKibRIvNfwNYI9R3JJAIIOlnk3ET6fG JvX0gwEcLkOK6m2OLhsitdVCl3WOR+Dfb4duw= Received: by 10.210.139.15 with SMTP id m15mr11499916ebd.118.1230221616071; Thu, 25 Dec 2008 08:13:36 -0800 (PST) Received: from blackmesa ([77.66.225.53]) by mx.google.com with ESMTPS id 8sm9529024ewy.56.2008.12.25.08.13.34 (version=SSLv3 cipher=RC4-MD5); Thu, 25 Dec 2008 08:13:35 -0800 (PST) Received: by blackmesa (sSMTP sendmail emulation); Thu, 25 Dec 2008 19:13:32 +0300 Date: Thu, 25 Dec 2008 19:13:32 +0300 From: Jeff Laine To: "Aryeh M. Friedman" Message-ID: <20081225161331.GA4954@free.bsd.loc> Mail-Followup-To: Jeff Laine , "Aryeh M. Friedman" , freebsd-questions@freebsd.org References: <49526071.4030305@gmail.com> <20081224220216.92be9454.freebsd@edvax.de> <4952A820.6020302@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4952A820.6020302@gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.1-RC1 i386 Cc: freebsd-questions@freebsd.org Subject: Re: Really strange resolution problems on xorg with a 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, 25 Dec 2008 16:13:37 -0000 On Wed, Dec 24, 2008 at 04:22:40PM -0500, Aryeh M. Friedman wrote: > Polytropon wrote: > > On Wed, 24 Dec 2008 11:16:49 -0500, "Aryeh M. Friedman" wrote: > > > >> I have a HP Pavilion dv5000 and any "standard" xorg app like xterm or > >> anything else that comes with xorg seems to work fine but every other X > >> application has either HUGE (one character fills the whole screen) fonts > >> and/or other weirdness (it could be fonts but who knows).... I just did > >> a complete reinstall from sources (portmaster).... the FB version is > >> 8-CURRENT (current as of last night) and the ports tree from the same time > >> > > > > Check the DPI settings from your monitor and if they match the > > settings in xorg.conf. Some programs calculate font sizes > > according to these values. > > > > > > > > > How do I check that... btw your name seems familar ever use a public > access freebsd machine called m-net? Maybe this would be useful? xdpyinfo | grep -E "res|dim" Helped me in a similar case. -- Best regards, Jeff () X-mas ribbon campaign /\ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:17:34 2008 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 81747106567A for ; Thu, 25 Dec 2008 16:17:34 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 418DE8FC1B for ; Thu, 25 Dec 2008 16:17:34 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D13C9192D0; Thu, 25 Dec 2008 11:17:32 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.2 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 25 Dec 2008 11:17:32 -0500 (EST) Date: Thu, 25 Dec 2008 16:17:26 +0000 From: Bruce Cran To: "Jason C. Wells" Message-ID: <20081225161726.052b5ee3@gluon> In-Reply-To: <4953A926.7030700@highperformance.net> References: <4953A926.7030700@highperformance.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: Persistent Kernel Variables 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, 25 Dec 2008 16:17:34 -0000 On Thu, 25 Dec 2008 07:39:18 -0800 "Jason C. Wells" wrote: > I have a new kernel variable in /boot/device.hints. > > kern.timecounter.hardware="i8254" > > but it's not set during boot. I have other hints that are set > during boot. Why is kern.timecounter.hardware not being set? How > can I fix it. I think it's something that has to be set later during boot, via /etc/sysctl.conf. I tried setting it through /boot/loader.conf and it didn't work but there's no problem setting it once the system has booted. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 16:39:52 2008 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 B62DB106564A for ; Thu, 25 Dec 2008 16:39:52 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from yorgi.telenet-ops.be (yorgi.telenet-ops.be [195.130.133.69]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6BD8FC17 for ; Thu, 25 Dec 2008 16:39:52 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from monty.telenet-ops.be (monty.telenet-ops.be [195.130.132.56]) by yorgi.telenet-ops.be (Postfix) with ESMTP id 40EE5588213 for ; Thu, 25 Dec 2008 17:29:50 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by monty.telenet-ops.be (Postfix) with SMTP id 3368C54070 for ; Thu, 25 Dec 2008 17:29:48 +0100 (CET) Received: from localhost (d54C06E75.access.telenet.be [84.192.110.117]) by monty.telenet-ops.be (Postfix) with ESMTP id 2606254055 for ; Thu, 25 Dec 2008 17:29:47 +0100 (CET) Date: Thu, 25 Dec 2008 17:29:00 +0100 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20081225162900.GA10942@desmo.3rdrock.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: SMP and ACPI problem ?? 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, 25 Dec 2008 16:39:52 -0000 Hi, To make a long story short....everything worked fine on my system (7.0-RELEASE FreeBSD). Last night I was updating stuff on my windoswXP guess (under qemu) and performed a clean shutdown. This morning, after bringing back up my system it has been unbearably slow. Without doing anyting to FreeBSD, it suddenly started working in SMP mode -> recognizing my 2 processors. Before, it never did this...and looking at the speed it is going now, I'm happy it didn't. After googling a bit, I tried to disable ACPI in order to fall back to single processor mode, but my system keeps acting up like it never did before. Very slow booting and KDM/KDE loading. Once up it's ok until I run a portupgrade or such. 1. What are some suggestions as to make it run 'normal' again? 2. Is it possible to make it actually run better in SMP mode? 3. Can my updates on the Qemu WindowsXP host make my FreeBSD system suddenly recognize the 2nd CPU? -> this doesn't make sense to me but that's the only thing I worked on last night. I hope I can get some pointers as to what could have caused this and what I can do to get it back to the way it was. Thanks in advance, Alain From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 18:13:36 2008 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 D721E1065673 for ; Thu, 25 Dec 2008 18:13:36 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 867C18FC12 for ; Thu, 25 Dec 2008 18:13:36 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 13E17AFCF4B; Thu, 25 Dec 2008 09:13:36 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, KES Date: Thu, 25 Dec 2008 09:13:32 -0900 User-Agent: KMail/1.9.10 References: <42213407.20081212101341@yandex.ru> <498807086.20081221134904@yandex.ru> <1004558695.20081224005059@yandex.ru> In-Reply-To: <1004558695.20081224005059@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812250913.32919.fbsd.questions@rachie.is-a-geek.net> Cc: users@subversion.tigris.org Subject: Re: can not start SVNserve 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, 25 Dec 2008 18:13:36 -0000 On Tuesday 23 December 2008 13:50:59 KES wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, KES. > > =C2=FB =EF=E8=F1=E0=EB=E8 21 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 13:49:04: > > K> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > > K> =C2=FB =EF=E8=F1=E0=EB=E8 21 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 13:10:47: > > M>> On Thursday 18 December 2008 09:03:54 KES wrote: > >>> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > >>> > >>> =C2=FB =EF=E8=F1=E0=EB=E8 18 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:05:35: > >>> > >>> M> On Wednesday 17 December 2008 21:02:07 KES wrote: > >>> >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > >>> >> > >>> >> =C2=FB =EF=E8=F1=E0=EB=E8 17 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:11= :19: > >>> >> > >>> >> M> On Sunday 14 December 2008 16:11:17 KES wrote: > >>> >> >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Polytropon. > >>> >> >> > >>> >> >> =C2=FB =EF=E8=F1=E0=EB=E8 14 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 1= 5:11:35: > >>> >> >> > >>> >> >> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar > >>> >> >> > >>> >> >> P> wrote: > >>> >> >> >> > su: Sorry > >>> >> >> >> > > >>> >> >> >> > > >>> >> >> >> > kes# pw user mod svn -s /bin/bash > >>> >> >> >> > kes# pw user show svn > >>> >> >> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >>> >> >> >> > kes# /usr/local/etc/rc.d/svnserve start > >>> >> >> >> > Starting svnserve. > >>> >> >> >> > su: Sorry > >>> >> >> >> > >>> >> >> >> try to change directory to existent > >>> >> >> > >>> >> >> P> (1) What's /bin/bash? Check existing shell. > >>> >> >> > >>> >> >> P> (2) As you said: Check existing directory. > >>> >> >> > >>> >> >> P> (3) Regarding su, check for wheel group inclusion. > >>> >> >> > >>> >> >> home# uname -a > >>> >> >> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue A= ug > >>> >> >> 12 02:11:24 EEST 2008 > >>> >> >> kes@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 home# pw > >>> >> >> user show svn > >>> >> >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > >>> >> >> > >>> >> >> As you can see on 'home' machine svn user has no valid shell al= so > >>> >> >> it has not valid home directory and it is not included into whe= el > >>> >> >> group > >>> >> >> > >>> >> >> But svnserve is started and works fine. With same settings > >>> >> >> svnserve does not work on > >>> >> >> kes# uname -a > >>> >> >> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun > >>> >> >> Nov 23 17:19:12 EET 2008 > >>> >> >> kes@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 > >>> >> > >>> >> M> echo 'rc_debug=3D"YES"'>>/etc/rc.conf > >>> >> M> /usr/local/etc/rc.d/svnserve start > >>> >> > >>> >> M> Show output from /var/log/messages. > >>> >> > >>> >> kes# kes# /usr/local/etc/rc.d/svnserve start > >>> >> /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is > >>> >> set to YES. Starting svnserve. > >>> >> /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m s= vn > >>> >> -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D3690 > >>> >> --foreground -r /var/db/trunk"' su: Sorry > >>> > >>> M> Does this command work from the command line? > >>> M> If not, does it work if called as su -fm rather then su -m? > >>> M> If that does not work, does the primary group svn is supposed to be > >>> in exist? > >>> > >>> > >>> kes# su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3D= 3690 > >>> --foreground -r /var/db/trunk"' su: Sorry > >>> kes# su -fm svn -c 'sh -c "/usr/local/bin/svnserve -d > >>> --listen-port=3D3690 --foreground -r /var/db/trunk"' su: Sorry > >>> kes# pw group show svn > >>> svn:*:1005: > >>> kes# cat /etc/group | grep svn > >>> svn:*:1005: > >>> kes# pw user show svn > >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >>> > >>> As you see it does not work also with -fm option > >>> > >>> > >>> Also I notice next differences between FreeBDS 7.0 and 7.1 (detail > >>> below) Notice that on both system account is locked, has no valid she= ll > >>> and home directory > >>> on FreeBSD 7.0 when I try to login with svn user it says: This account > >>> is currently not available. on FreeBSD 7.1 when I try to login with s= vn > >>> user it says: su: Sorry Maybe there is a problem with su on FreeBSD > >>> 7.1? > >>> > >>> > >>> > >>> home# pw user show svn > >>> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > >>> home# su svn > >>> This account is currently not available. > >>> > >>> > >>> kes# pw user show svn > >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >>> kes# su svn > >>> su: Sorry > >>> kes# pw user mod svn -s /usr/bin/nologin > >>> kes# pw user show svn > >>> svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/bin/nologin > >>> kes# su svn > >>> su: Sorry > > M>> The problem is elsewhere. Probably in pam(3) on the faulty machine. T= he > only M>> change to su.c from 7.0 to 7.1 is fixing a compiler warning. The= re > are 3 M>> instances where su exits with "Sorry". All occasions are logged > to syslog. M>> Can you dig those log entries up? > > K> Dec 21 13:47:54 kes su: kes to root on /dev/ttyp5 > K> Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: checkyesno: svnserve_enab= le > is set to YES. K> Dec 21 13:47:58 kes kes: /r/svnserve: DEBUG: > run_rc_command: doit: K> su -m svn -c 'sh -c "/usr/local/bin/svnserve -d > K> --listen-port=3D3690 --foreground -r /var/db/trunk"' > K> Dec 21 13:47:58 kes su: pam_acct_mgmt: authentication error > > K> Yeah, there is problem with pam. Why pam restrict root to run command > K> under other user? > > Strange, but mysql works... (( > > kes# /r/mysql-server start > /r/mysql-server: DEBUG: checkyesno: mysql_enable is set to YES. > /r/mysql-server: DEBUG: pid file (/var/db/mysql/kes.net.ua.pid): not > readable. /r/mysql-server: DEBUG: run_rc_command: start_precmd: > mysql_prestart /r/mysql-server: DEBUG: checkyesno: mysql_limits is set to > NO. > Starting mysql. > /r/mysql-server: DEBUG: run_rc_command: doit: su -m mysql -c 'sh -c > "/usr/local/bin/mysqld_safe --defaults-extra-file=3D/var/db/mysql/my.cnf > --user=3Dmysql --datadir=3D/var/db/mysql > --pid-file=3D/var/db/mysql/kes.net.ua.pid > /dev/null 2>&1 &"' > /r/mysql-server: DEBUG: run_rc_command: start_postcmd: mysql_poststart This is a bit of a guess, but what if you change the uid and gid for the sv= n=20 user/group to below 1000. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 19:15:02 2008 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 844FB1065676 for ; Thu, 25 Dec 2008 19:15:02 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id EB5B58FC1F for ; Thu, 25 Dec 2008 19:14:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBPJEpJo006088; Thu, 25 Dec 2008 20:14:51 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBPJEljd006085; Thu, 25 Dec 2008 20:14:50 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 25 Dec 2008 20:14:47 +0100 (CET) From: Wojciech Puchar To: "Jason C. Wells" In-Reply-To: <4953A926.7030700@highperformance.net> Message-ID: <20081225201442.Q6084@wojtek.tensor.gdynia.pl> References: <4953A926.7030700@highperformance.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd general questions Subject: Re: Persistent Kernel Variables 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, 25 Dec 2008 19:15:02 -0000 put it in loader.conf On Thu, 25 Dec 2008, Jason C. Wells wrote: > I have a new kernel variable in /boot/device.hints. > > kern.timecounter.hardware="i8254" > > but it's not set during boot. I have other hints that are set during boot. > Why is kern.timecounter.hardware not being set? How can I fix it. > > Later, > Jason > _______________________________________________ > 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 25 21:39:51 2008 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 4E9851065674 for ; Thu, 25 Dec 2008 21:39:51 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id D28508FC1E for ; Thu, 25 Dec 2008 21:39:50 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1776811mue.3 for ; Thu, 25 Dec 2008 13:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=3mf5G3J7zCwV7yX6HpBef2mpL0OwXli5npUEL3sMNYk=; b=eAaFOCpn7bm8no04Hck6ueo8xLqMCnXYHL+P9dD4gzk37jHdDr8q4bFlIBiyF5iSEK Rn2ox/en0ueUkNb923GmjuqUVq0JomSnfaDok4lwu49WWYzREVCcmZLmmwY1v/5KgkWT WUhN5dmkpeFLQVmA5vUPZU7kvO+DAJV2Hiww0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=o/HkP/PL4W7Qd77yhb/5WdK1g/0Fdlw6iic9CzdKLgD31y/zmE4tMkPuuISoFjfdu1 KtFReqivIzUhgwnykbXjlEeFVZP6UWHLLNaSm6YTyBRJ1DkzyPZWLLk+Ra2ElhSZK/RW GKzYG7DJr1SNoOCIF7bkYqj9lOBk4Hhe0HCKY= Received: by 10.103.102.17 with SMTP id e17mr3610503mum.136.1230241189506; Thu, 25 Dec 2008 13:39:49 -0800 (PST) Received: by 10.103.240.1 with HTTP; Thu, 25 Dec 2008 13:39:49 -0800 (PST) Message-ID: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> Date: Thu, 25 Dec 2008 14:39:49 -0700 From: Modulok To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Security Exploits...to report, or not to report? 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, 25 Dec 2008 21:39:51 -0000 List, This isn't really FreeBSD related, but I have no one else to consult: I was given an FTP account on a server for company X. Being a UNIX guy, I did some poking around and discovered a security flaw in how they set their web server up, which would permit anyone at the company with an FTP account, to intercept ANY data that passed through the company website. Question: Do I tell them about it? On the one hand I want to do the 'right thing' and tell them about it and how to fix it. On the other, I don't want to be criminally prosecuted for finding the flaw. I'm not implying that they would do such a thing, but in order to find said flaw, I had to be poking around. Suggestions? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 21:43:02 2008 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 6BAE21065670 for ; Thu, 25 Dec 2008 21:43:02 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 3830A8FC20 for ; Thu, 25 Dec 2008 21:43:01 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so5525617wfg.7 for ; Thu, 25 Dec 2008 13:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hfTq2pgIx7O1zhTzPQAJTsmqNbMLCyiTIGUahgh+YNs=; b=eYoEHZ+FuED6CRKCEh9pous2F2KvZKDxI+iydEHDhdvjkHXYemoZfS5h2g+olLuSyk ewTPHVIkBqB2kcDhrdxzLkhAgIshiQqi21zIkjLUfLvme+IJrv8AsdG+2IF5zhqp1/he jXr80AUDlFOx5SwphvBvmEzJfVXuTnIgHMRYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BFSU3hpuvrz9WdqqdBtlVq2ASI/B/WexFsUJjeaKFgxg5zZz0MUi8BvoiNacs0BPij nVcpZI9Xg3Vh4w8sHJdXmBsvKVU7hvoeujAJZtoQpN9VskVKwR9xTTHc796XRXHx9UCB GBJOBhCi579avUcPO6jcZ8c71o3G6FzWNKZ9M= Received: by 10.142.237.20 with SMTP id k20mr4147186wfh.218.1230241381633; Thu, 25 Dec 2008 13:43:01 -0800 (PST) Received: by 10.143.109.6 with HTTP; Thu, 25 Dec 2008 13:43:01 -0800 (PST) Message-ID: <27ade5280812251343sa35bbfxeb3219fcd5e3ff5c@mail.gmail.com> Date: Thu, 25 Dec 2008 16:43:01 -0500 From: APseudoUtopia To: Modulok In-Reply-To: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Security Exploits...to report, or not to report? 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, 25 Dec 2008 21:43:02 -0000 On Thu, Dec 25, 2008 at 4:39 PM, Modulok wrote: > List, > > This isn't really FreeBSD related, but I have no one else to consult: > > I was given an FTP account on a server for company X. Being a UNIX > guy, I did some poking around and discovered a security flaw in how > they set their web server up, which would permit anyone at the company > with an FTP account, to intercept ANY data that passed through the > company website. > > Question: > Do I tell them about it? On the one hand I want to do the 'right > thing' and tell them about it and how to fix it. On the other, I don't > want to be criminally prosecuted for finding the flaw. I'm not > implying that they would do such a thing, but in order to find said > flaw, I had to be poking around. > > Suggestions? > -Modulok- Personally, I'd tell them. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 22:46:18 2008 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 C869D106564A for ; Thu, 25 Dec 2008 22:46:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 995BE8FC13 for ; Thu, 25 Dec 2008 22:46:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id AFA29AFC1FF; Thu, 25 Dec 2008 13:46:17 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 25 Dec 2008 13:46:17 -0900 User-Agent: KMail/1.9.10 References: <20081223093900.6C4972BBF86@s21sec.com> In-Reply-To: <20081223093900.6C4972BBF86@s21sec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812251346.17461.fbsd.questions@rachie.is-a-geek.net> Cc: Eduardo Morras Subject: Re: FreeBSD and OpenCL 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, 25 Dec 2008 22:46:18 -0000 On Tuesday 23 December 2008 00:46:29 Eduardo Morras wrote: > Hello: > > Is there any plan to implement/use the new OpenCL standard in > FreeBSD? What's needed to use/implement it? Better > nvidia/ati/intel/other gpu drivers? I don't want to switch my data > crunching apps from FreeBSD to linux/windows due to this technology > is already working there. > > > http://www.khronos.org/opencl/ What is working where? http://www.khronos.org/developers/resources/opencl/ There are no implementations that I can see, only some header files defining an API, a spec that describes the API, but nothing to link your program with. This also shouldn't be implemented in FreeBSD, but in Xorg as far as I can tell, as it is primarily graphics related. Maybe some parts need to be implemented in the FreeBSD kernel, but the API is merely an interface to underlying hardware and without that, not much you can do with it as creating software emulation defeats it's purpose. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 22:54:06 2008 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 C9B98106564A for ; Thu, 25 Dec 2008 22:54:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 01F6C8FC0C for ; Thu, 25 Dec 2008 22:54:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBPMruWd006453; Thu, 25 Dec 2008 23:53:56 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBPMruob006450; Thu, 25 Dec 2008 23:53:56 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 25 Dec 2008 23:53:56 +0100 (CET) From: Wojciech Puchar To: Modulok In-Reply-To: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> Message-ID: <20081225235257.O6449@wojtek.tensor.gdynia.pl> References: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Security Exploits...to report, or not to report? 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, 25 Dec 2008 22:54:06 -0000 > I was given an FTP account on a server for company X. Being a UNIX > guy, I did some poking around and discovered a security flaw in how > they set their web server up, which would permit anyone at the company > with an FTP account, to intercept ANY data that passed through the > company website. > > Question: > Do I tell them about it? it looks like lack of basic skills of their admin. if you'll tell him, you won't even hear "thanks" or in worst case you will end in court. just make use of it From owner-freebsd-questions@FreeBSD.ORG Thu Dec 25 23:42:35 2008 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 C808D1065673 for ; Thu, 25 Dec 2008 23:42:35 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id A509B8FC14 for ; Thu, 25 Dec 2008 23:42:30 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 4CC735C1B for ; Thu, 25 Dec 2008 18:44:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1230248660; bh=oMsvGfIDa+g4ZKbJg6Fz87LYZtND L3kyXR+SP4q+Uco=; b=AZBPdZI85hNFsd+2gaxsr+7fojHNaPuSu1Uuk8DYHKX0 ukx25Ph/DROZ85Qs2qELlzmeVl4DQ+MeiEVUgMIxxHwhwrNv6kzAQ9lTDSYJTi8V 4OTGBD2T6qp6q4GYAAhG2iQP6H+5CogVeq0HIkbQJYCy57/CRe4zRnW+r/0wFsA= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id TDLsXH1bGsMj for ; Thu, 25 Dec 2008 18:44:20 -0500 (EST) Date: Thu, 25 Dec 2008 18:42:28 -0500 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20081225234227.GA174@shepherd> References: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64c038660812251339r71c0a47dy8cb069a322555eda@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: Security Exploits...to report, or not to report? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 23:42:35 -0000 Modulok wrote: > I was given an FTP account on a server for company X. Being a UNIX > guy, I did some poking around and discovered a security flaw in how > they set their web server up, which would permit anyone at the company > with an FTP account, to intercept ANY data that passed through the > company website. > > Question: > Do I tell them about it? On the one hand I want to do the 'right > thing' and tell them about it and how to fix it. On the other, I don't > want to be criminally prosecuted for finding the flaw. I'm not > implying that they would do such a thing, but in order to find said > flaw, I had to be poking around. Report it. If you are afraid of prosecution, and do not wish to be contacted by anyone, create a gmail (yahoo, or whatever) account to send the message and do so from a location that can not be traced to you. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 01:03:20 2008 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 E3AA61065673 for ; Fri, 26 Dec 2008 01:03:20 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id 952808FC08 for ; Fri, 26 Dec 2008 01:03:20 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so2592995rne.12 for ; Thu, 25 Dec 2008 17:03:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=la2XUsC3p/EaO3uMJBbn6HsIv/+DHNrDDpG2P/BFo/4=; b=HkcNnMPxtX7XKTh7N+RNv1Ji4aXmGg3hEV9wzeUYV0FQvpCL4va3S8jt/KUJ69d2Uz +FVKwMtt1RqfA0w89A3kN7attjENMAC0qLUQ4N3AoXb6fV8bxJT7TiLWLNFU6L5lDVlW aedKewDmj6shqpoSfPlLXzDgEj5wu2NZJgtOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=usurtlzZ4+aVPCYxdxFyOEjC0LKbhPhL/hP2Tt81WCM1NrPVKkluVHpFEDGbeC36iv WrVCUQVU3Y9hmL0KzMGnSdJM9TbQ+1cXTrgwhZc++e/CtlayyWSftBi6bmZ0HqYRWbDm 2IF/oAtMZi3U5ZCYcC9JvGkOYfpKfFho3KWzU= Received: by 10.231.20.70 with SMTP id e6mr255340ibb.46.1230253399383; Thu, 25 Dec 2008 17:03:19 -0800 (PST) Received: by 10.231.17.200 with HTTP; Thu, 25 Dec 2008 17:03:19 -0800 (PST) Message-ID: Date: Fri, 26 Dec 2008 02:03:19 +0100 From: "Roy Stuivenberg" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can't find the `7.0-RELEASE-p7' distibution 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, 26 Dec 2008 01:03:21 -0000 Hello, I have FreeBSD 7-RELEASE, and upgraded to point 7. When I try to install packages/ports with sysinstall (FTP) it won't work and give me this message. Warning: Can't find the `7.0-RELEASE-p7' distribution on this FTP server. You may need to visit a different server for the release you are trying to fetch or go to the Options menu and to set the release name to explicitly match what's available on ftp.freebsd.org (or set to "any"). Would you like to select another FTP server? I have already tried multiple ftp locations, but always get the same result. Search the web for answers, and did not find any. That's my Question. Regards, Roy. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 01:47:27 2008 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 EC5681065670 for ; Fri, 26 Dec 2008 01:47:26 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id BC8808FC18 for ; Fri, 26 Dec 2008 01:47:26 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so5586059wfg.7 for ; Thu, 25 Dec 2008 17:47:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HO+wdwpZt195pt41ugShSPc4S5MV7bJsSxuAGrS6ZxM=; b=Mn3Om414rCm7jUbz122pFE7xN7ju1CfPV7jsNkho2ZCGZ/1PTy8gY/29T7zUBpZW5N flSx78VzllPmV/LH2J+PMBTZQh8P+gBg6nfUwXXDBNcZmjVPg+RYNFkj12PDnK9HTRyI laLSZyxZ5N3WI0gFMAF5tkB/zrDGa1wOyjpIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xttDDi1ihUNR9Ggj55HBnE+Cr59GdHq6oXb3HDVYzjqF41mX2i+2NkZTPK1KhrLUiF afbsPZa/qHwwFJo6kOeRjWAmOWM+DsWO4AFBNkKICf6+kPkIi81Pl2NTj+fId+ESsKAB cQNZzkjt9LahX88tIRrjWq6DobiwsMk9Q/GR0= Received: by 10.142.147.15 with SMTP id u15mr4214961wfd.226.1230256046491; Thu, 25 Dec 2008 17:47:26 -0800 (PST) Received: from ?192.168.4.70? (c-76-113-34-1.hsd1.nm.comcast.net [76.113.34.1]) by mx.google.com with ESMTPS id 27sm29838703wfa.49.2008.12.25.17.47.24 (version=SSLv3 cipher=RC4-MD5); Thu, 25 Dec 2008 17:47:25 -0800 (PST) Message-ID: <495437A9.80503@gmail.com> Date: Thu, 25 Dec 2008 18:47:21 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> In-Reply-To: <20081223072719.16f3c047@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Perl 5.10? 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, 26 Dec 2008 01:47:27 -0000 Jerry wrote: > On Tue, 23 Dec 2008 04:06:46 -0800 (PST) > "Dr. Jennifer Nussbaum" wrote: > > >> Its now just over a year since Perl 5.10.0 was relased, but its still >> not in FreeBSD. (/usr/ports/lang only has 5.8). >> >> Can someone tell me why? Is there any way to get it working stably? Is >> there any schedule for when it will be added? This is a major release >> of a major language, not an obscure maintenence update. >> > > I asked that same question on the "FreeBSD-Ports" forum a few months > ago; however, I never did receive a satisfactory answer. I believe it > is readily apparent that it will not be included with the next release > of FreeBSD; i.e., '7.1'. > > Since it does seem to work quite well under Linux, I was wondering > if there was some fundamental flaw in FBSD that prevented it from > working correctly here. Even so, failing to get a major project like > Perl running properly in over a year on FBSD does not bode well for the > OS. > > on the contrary, when 5.8 was released, it took a long time to move to that. And when I asked that question on IRC (why 5.10 isn't currently used), it was described to me that the 5.6 to 5.8 "move" broke everything and caused lots of headache. World and Kernel used to (at least) use perl as a glue to make stuff works. I bet there's at least some 5.8 glue for world or kernel. You can always download the source and compile it yourself. Perl's popular enough that I bet it'll compile fine. I hear it completely as: 1) World glue may break, and until you can be sure it'll work okay, wait. 2) Kernel glue may break, and until you can be sure it'll work okay, wait. 3) Ports glue/dependencies may break, and until you can be sure it'll work okay, wait. Given it's taken a year (I didn't realize it was that long) for this wait/check to happen, there must be something holding it up. You might be able to coexist 5.10 and 5.8 -- except the symlink 'perl' will point to ONE of them. I suggest you point it at 5.8 Good luck. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 02:50:01 2008 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 05FBB106564A for ; Fri, 26 Dec 2008 02:50:01 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF258FC14 for ; Fri, 26 Dec 2008 02:49:59 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 25F7E192D5; Thu, 25 Dec 2008 21:49:28 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.8 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from gluon (tau.demon.co.uk [80.177.26.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Thu, 25 Dec 2008 21:49:28 -0500 (EST) Date: Fri, 26 Dec 2008 02:49:22 +0000 From: Bruce Cran To: Tim Judd Message-ID: <20081226024922.3612bc02@gluon> In-Reply-To: <495437A9.80503@gmail.com> References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> <495437A9.80503@gmail.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Perl 5.10? 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, 26 Dec 2008 02:50:01 -0000 On Thu, 25 Dec 2008 18:47:21 -0700 Tim Judd wrote: > Jerry wrote: > > On Tue, 23 Dec 2008 04:06:46 -0800 (PST) > > "Dr. Jennifer Nussbaum" wrote: > > > > > >> Its now just over a year since Perl 5.10.0 was relased, but its > >> still not in FreeBSD. (/usr/ports/lang only has 5.8). [...] > on the contrary, when 5.8 was released, it took a long time to move > to that. And when I asked that question on IRC (why 5.10 isn't > currently used), it was described to me that the 5.6 to 5.8 "move" > broke everything and caused lots of headache. World and Kernel used > to (at least) use perl as a glue to make stuff works. I bet there's > at least some 5.8 glue for world or kernel. perl was removed from the base system back in 2002 (http://lists.freebsd.org/pipermail/freebsd-announce/2002-May/000823.html) so there can't be anything in the world or kernel build that depends on it. It's one of the first things installed during an initial ports installation though. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 03:26:51 2008 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 7FD34106564A for ; Fri, 26 Dec 2008 03:26:51 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 40F5C8FC12 for ; Fri, 26 Dec 2008 03:26:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBQ3RKho055781 for ; Thu, 25 Dec 2008 19:27:20 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 25 Dec 2008 19:26:46 -0800 (PST) Date: Thu, 25 Dec 2008 19:26:46 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081226032642.GA78671@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: how to use kde konqueror with my .ISO file? 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, 26 Dec 2008 03:26:51 -0000 guys, i burned the iso file from my ubuntu platform, and it is valid. i can use a gnome tool to bring up the gnome broswer and read all the files here on my main, FBSD box. but i'd rather use konqueror and its tts function to read aloud the texts. whenever i point konqueror at the ISO file in /usr/tmp, it spamds the K3B burner. it doesn't reconzide the DVD for unknown reasons. anybody know what's up? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 03:58:39 2008 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 5C70B106564A for ; Fri, 26 Dec 2008 03:58:39 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 36A598FC08 for ; Fri, 26 Dec 2008 03:58:39 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from tim-kellerss-macbook-pro.local (ool-18bb7953.dyn.optonline.net [24.187.121.83]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KCG006XJSBMY330@mta1.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Thu, 25 Dec 2008 22:28:34 -0500 (EST) Date: Thu, 25 Dec 2008 22:28:34 -0500 From: Tim Kellers To: freebsd general questions Message-id: <49544F62.7050709@wallnet.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) Subject: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 03:58:39 -0000 I just bought a Dell 2850 (2 2.8GHZ dual core processors). The server will be used as a webserver, e-mail server. and a db server (both PostgresQL and My SQL Beyond the breaking of the 4 Gig RAM barrier, is there any compelling reason to use a 32 bit i386 or a 64 bit AMD OS? The machine currently has just a gig of RAM but I'm going to add more, soon. The machine runs headless and has no xorg, installed. A pointer to an article that discusses the 32 bit v 64 bit question would be appreciated as well. dell# uname -a FreeBSD dell.smsd.tv 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Dec 25 04:12:57 EST 2008 root@dell.smsd.tv:/usr/obj/usr/src/sys/DELL i386 TIA Tim Kellers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 05:21:49 2008 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 E2D5E1065670 for ; Fri, 26 Dec 2008 05:21:49 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id B31F08FC12 for ; Fri, 26 Dec 2008 05:21:49 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4902134rvf.43 for ; Thu, 25 Dec 2008 21:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=49DG+Rafi7UHM5FrrIjgXlAe3MLLLttzKxmHv/BmWEw=; b=uW7MGFfyBtyVPFdnISsuVOlnlKh5WvD7CQaDVSSVNLye7eL++rC22FgzRxijiEgMsm AvceGDGdNJtUkcH+Om0akvyjwcr73u5ic4+zZ/8YO3DJYJucAA/rfrl7lrKb1vBSmn4c 1bt4EvZHjlQnYm8nxzHKpV76+cUlG7xs8sJtk= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=vNgKF17P3v5bPzX8xbhBfX7hi8d4qRpCfdHCc8q+26AQKYirZ0JYvP06wlD9L86ndt IMFIUlctBj91GHHPUAhwIhx6KPeIebZ99APU78qF+ihSSosD9oO/PB+uyB9HD5gfTJRv R/Vz8urVBe3s+sWlOdm+AqkOlKAjQUsVE6Sz8= Received: by 10.141.2.18 with SMTP id e18mr5104325rvi.142.1230268909377; Thu, 25 Dec 2008 21:21:49 -0800 (PST) Received: from ?192.168.4.70? (c-76-113-34-1.hsd1.nm.comcast.net [76.113.34.1]) by mx.google.com with ESMTPS id c20sm5302888rvf.5.2008.12.25.21.21.47 (version=SSLv3 cipher=RC4-MD5); Thu, 25 Dec 2008 21:21:48 -0800 (PST) Message-ID: <495469ED.4040900@gmail.com> Date: Thu, 25 Dec 2008 22:21:49 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Tim Kellers References: <49544F62.7050709@wallnet.com> In-Reply-To: <49544F62.7050709@wallnet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 05:21:50 -0000 Tim Kellers wrote: > I just bought a Dell 2850 (2 2.8GHZ dual core processors). The server > will be used as a webserver, e-mail server. and a db server (both > PostgresQL and My SQL Beyond the breaking of the 4 Gig RAM barrier, > is there any compelling reason to use a 32 bit i386 or a 64 bit AMD > OS? The machine currently has just a gig of RAM but I'm going to add > more, soon. The machine runs headless and has no xorg, installed. > > A pointer to an article that discusses the 32 bit v 64 bit question > would be appreciated as well. > > dell# uname -a > FreeBSD dell.smsd.tv 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu Dec > 25 04:12:57 EST 2008 root@dell.smsd.tv:/usr/obj/usr/src/sys/DELL > i386 > > > TIA > > Tim Kellers > _______________________________________________ > 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" it's more important to know the CPU inside the machine, by model number instead of the model of the outer case. If windows is still on it, run the cpu identification utility from intel, IF it's an intel cpu. The id utility will tell you if it's 64-bit capable. Using Dell's service tag and looking at warranty/original system config might be a good resource too. Good luck. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 12:14:15 2008 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 27EE21065670 for ; Fri, 26 Dec 2008 12:14:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 99C388FC18 for ; Fri, 26 Dec 2008 12:14:14 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBQCE5l9086846; Fri, 26 Dec 2008 12:14:05 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBQCE5l9086846 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230293646; bh=ymaWjgV914bd1f pWBCInzeD49jdEGgaSrX4G9M3l7K8=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<4954CA87.5050006@infracaninophile.co.uk>|Date:=20Fri,=2 026=20Dec=202008=2012:13:59=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20Roy=20Stuivenberg=20|CC:=20freebsd-que stions@freebsd.org|Subject:=20Re:=20Can't=20find=20the=20`7.0-RELEA SE-p7'=20distibution|References:=20|In-Reply-To:=20|X-Enigmail-Version:=200.95. 6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0 A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"- -----------enig028698BFE7DB4EB9BC43E346"; b=pwJ/PoNCwiHXtDXA9TR9qLb VjvZVW4JpDhjySljMJ1GcNaeXo467gWQ7SC7xfIG4GbNQYSYfJOMwRZs7ps5GhAWIKC dmSNDOaLPrc/smd7ImzDyjNOUuW31+dChvKZKDNwt6DNRr9jSXu9KiQpzcZRGpfINiH Jh0E44Ody6b8fk= Message-ID: <4954CA87.5050006@infracaninophile.co.uk> Date: Fri, 26 Dec 2008 12:13:59 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Roy Stuivenberg References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig028698BFE7DB4EB9BC43E346" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 26 Dec 2008 12:14:06 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8801/Fri Dec 26 01:02:43 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Can't find the `7.0-RELEASE-p7' distibution 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, 26 Dec 2008 12:14:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig028698BFE7DB4EB9BC43E346 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Roy Stuivenberg wrote: > Hello, >=20 > I have FreeBSD 7-RELEASE, and upgraded to point 7. > When I try to install packages/ports with sysinstall (FTP) it won't wor= k and > give me this message. >=20 > Warning: Can't find the `7.0-RELEASE-p7' distribution on this > FTP server. You may need to visit a different server for > the release you are trying to fetch or go to the Options > menu and to set the release name to explicitly match what's > available on ftp.freebsd.org (or set to "any"). > Would you like to select another FTP server? >=20 > I have already tried multiple ftp locations, but always get the same > result. > Search the web for answers, and did not find any. Try setting the release name to exactly '7.0-RELEASE' as described in the error message. There's a package set generated for each OS release, but not one for each different patch level. 7.0-RELEASE packages should be available on all ftp servers at the moment. You can see the list of release names supported via sysinstall at: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ (replace i386 with amd64 if you're on that architecture) Note that this will get you package versions which were current at the time of 7.0-RELEASE, and there have been a good number of updates (including security updates) that have gone in since. Updated packages certainly do exist on the FTP servers but I can't see how to access them from sysinstall. Learning how to use pkg_add(1) (which can reach the parts of ftp.freebsd.org that sysinstall apparently cannot) is probably your best bet. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig028698BFE7DB4EB9BC43E346 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklUyo0ACgkQ8Mjk52CukIx9EQCfbZDymUNwEe6COvjn9aUlCikB P6oAn2s5IMa77KVGknbAH9gS/i8lbvNG =6EyL -----END PGP SIGNATURE----- --------------enig028698BFE7DB4EB9BC43E346-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 12:45:14 2008 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 931761065674 for ; Fri, 26 Dec 2008 12:45:14 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-28-76-39.eur.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A93E68FC0C; Fri, 26 Dec 2008 12:45:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4954D1D8.7070604@FreeBSD.org> Date: Fri, 26 Dec 2008 12:45:12 +0000 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Bruce Cran References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> <495437A9.80503@gmail.com> <20081226024922.3612bc02@gluon> In-Reply-To: <20081226024922.3612bc02@gluon> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Judd , freebsd-questions@freebsd.org Subject: Re: Perl 5.10? 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, 26 Dec 2008 12:45:14 -0000 Bruce Cran wrote: > On Thu, 25 Dec 2008 18:47:21 -0700 > Tim Judd wrote: > >> Jerry wrote: >>> On Tue, 23 Dec 2008 04:06:46 -0800 (PST) >>> "Dr. Jennifer Nussbaum" wrote: >>> >>> >>>> Its now just over a year since Perl 5.10.0 was relased, but its >>>> still not in FreeBSD. (/usr/ports/lang only has 5.8). > [...] >> on the contrary, when 5.8 was released, it took a long time to move >> to that. And when I asked that question on IRC (why 5.10 isn't >> currently used), it was described to me that the 5.6 to 5.8 "move" >> broke everything and caused lots of headache. World and Kernel used >> to (at least) use perl as a glue to make stuff works. I bet there's >> at least some 5.8 glue for world or kernel. > > perl was removed from the base system back in 2002 > (http://lists.freebsd.org/pipermail/freebsd-announce/2002-May/000823.html) > so there can't be anything in the world or kernel build that depends on > it. It's one of the first things installed during an initial ports > installation though. > It is still true that the change from 5.6 to 5.8 was very disruptive because it broke lots of things in the ports tree. Kris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 13:00:50 2008 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 D259B1065674 for ; Fri, 26 Dec 2008 13:00:50 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7E48FC1E for ; Fri, 26 Dec 2008 13:00:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBQD0cim011225; Fri, 26 Dec 2008 14:00:38 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBQD0b9P011222; Fri, 26 Dec 2008 14:00:38 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 26 Dec 2008 14:00:36 +0100 (CET) From: Wojciech Puchar To: Tim Kellers In-Reply-To: <49544F62.7050709@wallnet.com> Message-ID: <20081226140014.C11208@wojtek.tensor.gdynia.pl> References: <49544F62.7050709@wallnet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd general questions Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 13:00:50 -0000 > be used as a webserver, e-mail server. and a db server (both PostgresQL and > My SQL Beyond the breaking of the 4 Gig RAM barrier, is there any compelling > reason to use a 32 bit i386 or a 64 bit AMD OS? the same as using 32-bit software (not 16-bit) on 32-bit CPU. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 13:05:06 2008 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 E822A106567E for ; Fri, 26 Dec 2008 13:05:06 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp108.prem.mail.ac4.yahoo.com (smtp108.prem.mail.ac4.yahoo.com [76.13.13.47]) by mx1.freebsd.org (Postfix) with SMTP id 8D4E18FC33 for ; Fri, 26 Dec 2008 13:05:06 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 7400 invoked from network); 26 Dec 2008 13:05:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=uyMMbU+YX+P3kVgJJUbaS0RJCvbrwLiG3gke1KuQrLRJNoWzTWGXLumjdxhJtb7PHadoo+tHZ7PQjNFxFvvQW7wKfuG2YL9bcSMSSbc6YQX6z5LH/027T57qoMnugMymw3sDRQpT6xr/Yc0xn8YxDJ6paSbgmnnbWiPaELbb5L8= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp108.prem.mail.ac4.yahoo.com with SMTP; 26 Dec 2008 13:05:05 -0000 X-YMail-OSG: a6ZTH40VM1njQsymjzrUznDtBpY916IDbNCxtd8xzvCI1Ry4YAha1Pteloi6YV9Les1Kd6m7fLJPWKdZk4wATojgAmFxivLKfQZ7Pb0Z_PUWsmiQCbOmw_cBo.L.v.DXVRukX7N5hijqBbuof4PDS9ZxmmC5eKBi1azQ1gKOCl_Ww8VTMeZqDlPoDxVLYzqD1g13j8QjzUY6bN7tSnjBG5bqfITKAXA- X-Yahoo-Newman-Property: ymail-3 Date: Fri, 26 Dec 2008 08:05:02 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081226080502.7d21a54a@scorpio> In-Reply-To: <4954D1D8.7070604@FreeBSD.org> References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> <495437A9.80503@gmail.com> <20081226024922.3612bc02@gluon> <4954D1D8.7070604@FreeBSD.org> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zQrStBmOCBL4zBzrQjMEvF8"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Perl 5.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 13:05:07 -0000 --Sig_/zQrStBmOCBL4zBzrQjMEvF8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 26 Dec 2008 12:45:12 +0000 Kris Kennaway wrote: [snip] >It is still true that the change from 5.6 to 5.8 was very disruptive=20 >because it broke lots of things in the ports tree. Is this the official reason that Perl-5.10 has not been released into the ports tree? Are ports being tied to specific versions of Perl? I did some Googling and found that of the users that have installed Perl from source on FBSD, most were not experiencing any major problem. If every time Perl is updated it will require massive changes or whatever to the FBSD ports, then perhaps there is a fundamental flaw in the ports system to start with. Perhaps you could list what the specific problems are so that others might start looking for solutions. This is really the first time that I have become aware of problems between Perl and the ports system. Just my 2=C2=A2. --=20 Jerry gesbbb@yahoo.com I poured spot remover on my dog. Now he's gone. Steven Wright --Sig_/zQrStBmOCBL4zBzrQjMEvF8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklU1n8ACgkQBvaKIJWWCO3D/QCfVWElCKhKp9tKESesQjfyDFIo MbYAn1+6H//CVKifs48wJrcpwdlxIuGv =dHCp -----END PGP SIGNATURE----- --Sig_/zQrStBmOCBL4zBzrQjMEvF8-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 13:48:35 2008 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 628A41065673 for ; Fri, 26 Dec 2008 13:48:35 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 151188FC1B for ; Fri, 26 Dec 2008 13:48:34 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 26 Dec 2008 08:48:33 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.3-GA) with ESMTP id KNL38637; Fri, 26 Dec 2008 08:48:08 -0500 (EST) Received: from unknown (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 26 Dec 2008 08:48:08 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18772.57495.784652.374754@jerusalem.litteratus.org> Date: Fri, 26 Dec 2008 08:48:07 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <20081226080502.7d21a54a@scorpio> References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> <495437A9.80503@gmail.com> <20081226024922.3612bc02@gluon> <4954D1D8.7070604@FreeBSD.org> <20081226080502.7d21a54a@scorpio> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: Perl 5.10? 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, 26 Dec 2008 13:48:35 -0000 Jerry writes: > Are ports being tied to specific versions of Perl? I did some > Googling and found that of the users that have installed Perl > from source on FBSD, most were not experiencing any major > problem. If every time Perl is updated it will require massive > changes or whatever to the FBSD ports, then perhaps there is a > fundamental flaw in the ports system to start with. There is no requirement any port use Perl. Many do. There is no requiremment that any Perl-using port use a particular version. Many - I would guess most - do, at least to the extent of requiring the same major version (e.g. 5.x). There are 63 instances of USE_PERL5 in ports/textproc alone. I'm not a major direct Perl user, but I remember the jumps from 5.0 to 5.6 and from 5.6 to 5.8. Both required the testing of every affected port, and as I remember it problems were discovered in both the ports and in the new Perl itself. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 13:52:52 2008 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 321151065675 for ; Fri, 26 Dec 2008 13:52:52 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0884E8FC16 for ; Fri, 26 Dec 2008 13:52:51 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from tim-kellerss-macbook-pro.local (ool-18bb7953.dyn.optonline.net [24.187.121.83]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KCH0098EL82SVI0@mta5.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 26 Dec 2008 08:52:51 -0500 (EST) Date: Fri, 26 Dec 2008 08:52:50 -0500 From: Tim Kellers In-reply-to: <495469ED.4040900@gmail.com> To: Tim Judd Message-id: <4954E1B2.6020503@wallnet.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <49544F62.7050709@wallnet.com> <495469ED.4040900@gmail.com> User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) Cc: freebsd general questions Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 13:52:52 -0000 Tim Judd wrote: > Tim Kellers wrote: >> I just bought a Dell 2850 (2 2.8GHZ dual core processors). The >> server will be used as a webserver, e-mail server. and a db server >> (both PostgresQL and My SQL Beyond the breaking of the 4 Gig RAM >> barrier, is there any compelling reason to use a 32 bit i386 or a 64 >> bit AMD OS? The machine currently has just a gig of RAM but I'm >> going to add more, soon. The machine runs headless and has no xorg, >> installed. >> >> A pointer to an article that discusses the 32 bit v 64 bit question >> would be appreciated as well. >> >> dell# uname -a >> FreeBSD dell.smsd.tv 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Thu >> Dec 25 04:12:57 EST 2008 >> root@dell.smsd.tv:/usr/obj/usr/src/sys/DELL i386 >> >> >> TIA >> >> Tim Kellers >> _______________________________________________ >> 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" > it's more important to know the CPU inside the machine, by model > number instead of the model of the outer case. > > If windows is still on it, run the cpu identification utility from > intel, IF it's an intel cpu. The id utility will tell you if it's > 64-bit capable. > > Using Dell's service tag and looking at warranty/original system > config might be a good resource too. > > Good luck. > _______________________________________________ > 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" > > Thanks for the reply. I already know it is 64 bit capable. I 'm interested in finding out if their are measurable performance advantages to running it using 64 v 32 bit FreeBSD. Thanks Tin Kellers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 14:39:55 2008 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 37EF81065677 for ; Fri, 26 Dec 2008 14:39:55 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from edu-smtp-01.edutel.nl (edu-smtp-01.edutel.nl [88.159.1.221]) by mx1.freebsd.org (Postfix) with ESMTP id 01F7C8FC16 for ; Fri, 26 Dec 2008 14:39:49 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from Rena.FStaals.net (unknown [88.159.208.104]) by edu-smtp-01.edutel.nl (Postfix) with ESMTP id 7B0C26808A for ; Fri, 26 Dec 2008 15:20:57 +0100 (CET) Message-ID: <4954E849.6020000@gmx.net> Date: Fri, 26 Dec 2008 15:20:57 +0100 From: Frank Staals User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Off-topic: Java Reflection/Generics/Collections question 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, 26 Dec 2008 14:39:55 -0000 Not realy a FreeBSD-specific question but I was not sure where I could find what I was looking for elseware (Googling did not manage to dig up much info): The problem: I want to set the type of objects some Collection object holds on runtime. In other wors I have an object C with: C extends AbstractCollection, I have the Class object T specifying what type of objects C should hold and I have a method M which takes a C as an argument. I made a generic version of C (without the type) and now I have to set it so it can only carry objects of type T. Does anyone know how to do this ? Information in programming style: C extends AbstractCollection myCollection; Class itemType; public void myMethod(C myCollectionArgument) How do I convert myCollection from being a C to a C on runtime so I can call myMethod(myCollection) ? I hope the explanation of my problem makes sense and someone can help me. Regards, -- - Frank From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 14:48:07 2008 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 4EE4A106579B for ; Fri, 26 Dec 2008 14:48:02 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 3324C8FC17 for ; Fri, 26 Dec 2008 14:48:02 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id mBQEm0CR060989 for ; Fri, 26 Dec 2008 15:48:00 +0100 (CET) X-Ids: 166 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 2FA1D8A265 for ; Fri, 26 Dec 2008 15:47:59 +0100 (CET) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 1F2D115; Fri, 26 Dec 2008 15:47:59 +0100 (CET) Date: Fri, 26 Dec 2008 15:47:59 +0100 From: Michel Talon To: freebsd-questions@freebsd.org Message-ID: <20081226144759.GA3715@lpthe.jussieu.fr> 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.0.1 (shiva.jussieu.fr [134.157.0.166]); Fri, 26 Dec 2008 15:48:00 +0100 (CET) X-Virus-Scanned: ClamAV 0.94.2/8801/Fri Dec 26 02:02:43 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 4954EEA0.003 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4954EEA0.003/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 4954EEA0.003 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.014 -> S=0.014 X-j-chkmail-Status: Ham Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 14:48:07 -0000 Tim Kellers wrote: > Thanks for the reply. I already know it is 64 bit capable. I 'm > interested in finding out if their are measurable performance advantages > to running it using 64 v 32 bit FreeBSD. For the type of use of the OP (databases, etc.) i don't know, but for scientific computations we observe a massive performance advantage running in 64 bits mode (by this i mean more than 20%, i have seen some Maple formal computations run 100% faster). The only problem with 64 bits mode is that some ports may have problems, but, as far as i know, these ports are more desktop oriented than server oriented. For a server i don't see a reason to run in 32 bits mode. Contrary to some frequent assertions the increase in size of binaries is extremely limited as can easily be checked. This is very largely compensated by the increase in the number of registers. The possibility of using more than 4 gigs memory is just one advantage of 64 bits mode, and by the way, very few of our machines have more than 4 gigs memory, and they don't lack it at all. -- Michel TALON From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 14:55:02 2008 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 541F6106564A for ; Fri, 26 Dec 2008 14:55:02 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-28-76-39.eur.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D08C38FC16 for ; Fri, 26 Dec 2008 14:55:01 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4954F045.7070206@FreeBSD.org> Date: Fri, 26 Dec 2008 14:55:01 +0000 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> <495437A9.80503@gmail.com> <20081226024922.3612bc02@gluon> <4954D1D8.7070604@FreeBSD.org> <20081226080502.7d21a54a@scorpio> In-Reply-To: <20081226080502.7d21a54a@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Perl 5.10? 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, 26 Dec 2008 14:55:02 -0000 Jerry wrote: > On Fri, 26 Dec 2008 12:45:12 +0000 > Kris Kennaway wrote: > > [snip] > >> It is still true that the change from 5.6 to 5.8 was very disruptive >> because it broke lots of things in the ports tree. > > Is this the official reason that Perl-5.10 has not been released into > the ports tree? > > Are ports being tied to specific versions of Perl? I did some Googling > and found that of the users that have installed Perl from source on > FBSD, most were not experiencing any major problem. If every time Perl > is updated it will require massive changes or whatever to the FBSD > ports, then perhaps there is a fundamental flaw in the ports system to > start with. The issue with 5.8 was that the perl developers made various incompatible changes that broke lots of third party software included in the ports tree, which all had to be fixed. I don't know what the issue is with 5.10. Kris From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 15:50:07 2008 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 1660F106564A for ; Fri, 26 Dec 2008 15:50:07 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 75B468FC0C for ; Fri, 26 Dec 2008 15:50:06 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LGEws-0004li-AD for freebsd-questions@freebsd.org; Fri, 26 Dec 2008 15:50:02 +0000 Received: from 77.22.112.43 ([77.22.112.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Dec 2008 15:50:02 +0000 Received: from ino-news by 77.22.112.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Dec 2008 15:50:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: clemens fischer Followup-To: gmane.os.freebsd.questions Date: Fri, 26 Dec 2008 16:43:27 +0100 Lines: 45 Message-ID: References: <200812221944.17694.hselasky@c2i.net> <20081224140532.GB2099@spotteswoode.de.eu.org> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.22.112.43 X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Cc: freebsd-usb@freebsd.org Subject: Re: [solved] Re: usb-stick accessible, but doesn't boot 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, 26 Dec 2008 15:50:07 -0000 On Wed, 24 Dec 2008 16:53:00 +0100 clemens fischer wrote: > On Wed, 24 Dec 2008 15:05:32 +0100 clemens fischer wrote: > >>> Hans Petter Selasky: >> >>> Try the attached patch to "sys/kern/vfs_mount.c" >>> >>> Thanks for reporting. I have been aware about this issue for some >>> time now, but the patch has not been committed to current yet. >>> >>> I have FreeSBIE reliably up and running with USB2. >> >> Can you tell me what to do to the kernel configuration? Maybe I >> don't have to compile any USB functions into the kernel and can put >> them into loader.conf? I always get these dependency problems. > > I think I've found my problem. The kernel configuration really > needs the line marked "required", which builds support for the > USB bus: "device usb". Except this line, every usb related item > is a "nodevice" now. The USB2 modules needed are kldload'ed in > boot/loader.conf from the USB-stick, and this really works. > > Hans Petter: although I am not sure if my USB-stick needs it, the > kernel was built using your patch. So the least I can say about it: > It doesn't hurt, and it might sure help with more restive devices. Hans Petter pointed to me to the _real_ solution of my problem, and I want to set the record straight: The USB2 stack works fine, the patch to vfs_mount.c makes the booting process more robust. The easiest way to make a system booting from USB mass storage is to exclude every usb- related device from the kernel and kldload the needed modules in boot/loader.conf: # /boot/loader.conf usb2_controller_ehci_load="YES" usb2_controller_ohci_load="YES" usb2_controller_uhci_load="YES" usb2_storage_mass_load="YES" My problem was a left-over "device ucom" in the kernel configuration, or actually, since I have "include GENERIC" at the top, the missing "nodevice ucom" line. It pulled in dependencies on the old USB stack. -c From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 15:56:19 2008 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 CAB6F1065670 for ; Fri, 26 Dec 2008 15:56:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E5F408FC17 for ; Fri, 26 Dec 2008 15:56:18 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBQFuADo011516; Fri, 26 Dec 2008 16:56:10 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBQFuA6K011513; Fri, 26 Dec 2008 16:56:10 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 26 Dec 2008 16:56:10 +0100 (CET) From: Wojciech Puchar To: Michel Talon In-Reply-To: <20081226144759.GA3715@lpthe.jussieu.fr> Message-ID: <20081226165549.U11511@wojtek.tensor.gdynia.pl> References: <20081226144759.GA3715@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 15:56:19 -0000 > server i don't see a reason to run in 32 bits mode. Contrary to > some frequent assertions the increase in size of binaries is > extremely limited as can easily be checked. This is very largely program code size is a very little part of system memory today. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:13:04 2008 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 AAB4E1065673 for ; Fri, 26 Dec 2008 17:13:04 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1AE8FC1C for ; Fri, 26 Dec 2008 17:13:04 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from www.smsd.tv (ool-18bb7953.dyn.optonline.net [24.187.121.83]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0KCH00GZ5UHRB440@mta5.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 26 Dec 2008 12:13:03 -0500 (EST) Received: from tim-kellerss-macbook-pro.local ([10.10.10.10]) by www.smsd.tv (8.14.3/8.14.3) with ESMTP id mBQHD2TG081634; Fri, 26 Dec 2008 12:13:02 -0500 (EST envelope-from timothyk@wallnet.com) Date: Fri, 26 Dec 2008 12:12:57 -0500 From: Tim Kellers In-reply-to: <20081226144759.GA3715@lpthe.jussieu.fr> To: Michel Talon Message-id: <49551099.5070902@wallnet.com> MIME-version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (www.smsd.tv [192.168.1.105]); Fri, 26 Dec 2008 12:13:03 -0500 (EST) References: <20081226144759.GA3715@lpthe.jussieu.fr> User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Dell 2850 use 32 or 64 bit? 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, 26 Dec 2008 17:13:04 -0000 Michel Talon wrote: > Tim Kellers wrote: > >> Thanks for the reply. I already know it is 64 bit capable. I 'm >> interested in finding out if their are measurable performance advantages >> to running it using 64 v 32 bit FreeBSD. >> > > For the type of use of the OP (databases, etc.) i don't know, but > for scientific computations we observe a massive performance advantage > running in 64 bits mode (by this i mean more than 20%, i have seen some > Maple formal computations run 100% faster). The only problem with > 64 bits mode is that some ports may have problems, but, as far as i > know, these ports are more desktop oriented than server oriented. For a > server i don't see a reason to run in 32 bits mode. Contrary to > some frequent assertions the increase in size of binaries is > extremely limited as can easily be checked. This is very largely > compensated by the increase in the number of registers. The possibility > of using more than 4 gigs memory is just one advantage of 64 bits mode, > and by the way, very few of our machines have more than 4 gigs memory, > and they don't lack it at all. > > > Thanks, that was exactly what I needed to know. There won't be any Desktop apps on this machine and optimal performance is what I am after. Tim From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:41:21 2008 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 AA2BF1065673 for ; Fri, 26 Dec 2008 17:41:21 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id DD9328FC13 for ; Fri, 26 Dec 2008 17:41:20 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 37442 invoked from network); 26 Dec 2008 20:14:45 +0300 Received: from unknown (HELO ?192.168.0.12?) (192.168.0.12) by 84.21.226.211 with SMTP; 26 Dec 2008 20:14:45 +0300 Message-ID: <49551091.5000009@itlegion.ru> Date: Fri, 26 Dec 2008 20:12:49 +0300 From: Artem Kuchin Organization: IT Legion User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: 3ware array access lock up on 7.1-RC 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, 26 Dec 2008 17:41:21 -0000 I am not even sure that it is related to freebsd, but maybe someone could point out the problem. We wanted to upgrade our hosting server from FreeBSD 6.2, 3ware 8506-4LP SATA RAID, raid 5 to FreeBSD 7.1 (RC for now), 9550SXU-4LP, raid 10 We have tested the new installation on ASUS P5K WS motherboard with PCI-X slot while the server kept running. The server has Supermicro X5DPE-G2 (pretty old one, 2004). So, when everything was ready, i just took out the old controller and disks and installed the new controller and the array disks. The system booted up, but when i started very intense file operations the file system just froze. The weird thing is that any open program which does not use filesystem kept running fine. For example, i could type and edit in open ee editor, but copying progress bar in midnight commander just stood still. If i tried to save file or open file or do anything disk related from ee in another console the program froze too, apparently waiting for disk system to reply forever (i tried waiting for 20 minutes). I could even connect to ssh port, but it does not auth because sshd needs to read something from the disk. I put everything back into Asus P5K WS and tested it. Everything worked fine again. Any idea what might going on here? -- Artem From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 18:14:38 2008 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 9A7D21065674 for ; Fri, 26 Dec 2008 18:14:38 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from rv-out-0304.google.com (rv-out-0304.google.com [209.85.198.222]) by mx1.freebsd.org (Postfix) with ESMTP id 80C468FC16 for ; Fri, 26 Dec 2008 18:14:38 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by rv-out-0304.google.com with SMTP id b20so8867553rvf.31 for ; Fri, 26 Dec 2008 10:14:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.67.2 with SMTP id p2mr6318009waa.24.1230315278209; Fri, 26 Dec 2008 10:14:38 -0800 (PST) Message-ID: <001636458c861e94e4045ef719cf@google.com> Date: Fri, 26 Dec 2008 18:14:38 +0000 From: af300wsm@gmail.com To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Having issues with the nvidia driver on my box 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, 26 Dec 2008 18:14:38 -0000 Hi, For several reasons, one of which was to use the nvidia driver for my board, I switched from amd64 to i386. So, I installed the driver and although things are working I'm getting this on console 0: NVRM: AGP cannot be enabled on this combination of the amd CPU and OS kernel NVRM: kernel upgrade recommended So, when I installed the nvidia driver I said to enable AGP. (Figuring only that this is an AGP board, why not?) My graphical environment works but I'd like to resolve this. Also, I think that some little quirks in my display can be attributed to this, but I'm not sure. Is there some sort of kernel option I must include and build my own kernel? Thanks, Andy ps in case it matters, my board is rather "old." I purchased it 4 years ago and as I'm not a gamer, it suffices quite nicely. Here's the driver I had to install for support of this chip: nvidia-driver-96.43.07 NVidia graphics card binary drivers for hardware OpenGL ren From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 18:32:47 2008 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 0CBD4106564A for ; Fri, 26 Dec 2008 18:32:47 +0000 (UTC) (envelope-from npacemo@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id 47BBA8FC0C for ; Fri, 26 Dec 2008 18:32:46 +0000 (UTC) (envelope-from npacemo@gmail.com) Received: by bwz12 with SMTP id 12so10609772bwz.19 for ; Fri, 26 Dec 2008 10:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=6Ydeh7RDKeA9rFLkRiXquL7Uw1hn9aU603GyGaTJdWY=; b=jFkWxJUtYrbl/42MG3CiiOrd8boUV+LkQaxMkFFd71vie85tEyjfBcbPTx0EhTuDkp IGrKroGnKKYUbY/4Iree0N6tcBS0+6xpgoCMwNEZ/5ajqoK/+WXlLXiSTBc51XxoyppB FpqI5QOJ25WrRwF/+UqDQQhSPVELtIzZNFcwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lC6coDSDSejXmgqME9Zyf52+H4JZ7pqh8/fY8CBwz+mC7fU34q03m3GIoyR3AFVVhk gAPtB1zY2X0rIUAuajQ56CGImezuZUYAzbgbjyIWc4Xy9SjPpJWRNu4uodfO3MZg8Szi njKVTCi6wZQ5xHD9Wxqymh3syEozLL8GQskHY= Received: by 10.223.107.198 with SMTP id c6mr8337095fap.32.1230314837046; Fri, 26 Dec 2008 10:07:17 -0800 (PST) Received: by 10.223.117.83 with HTTP; Fri, 26 Dec 2008 10:07:16 -0800 (PST) Message-ID: <666bdb140812261007p21b23e13k48d80e4a454ce49e@mail.gmail.com> Date: Fri, 26 Dec 2008 20:07:16 +0200 From: "Vladimir Tsvetkov" To: "Frank Staals" In-Reply-To: <4954E849.6020000@gmx.net> MIME-Version: 1.0 References: <4954E849.6020000@gmx.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Off-topic: Java Reflection/Generics/Collections question 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, 26 Dec 2008 18:32:47 -0000 What you try to do is not a valid operation in type-safe language as Java. You can't convert Coll to Coll, but you can cast Coll to Coll. Don't know if this is OK with the problem you're trying to solve Merry Christmas! On Fri, Dec 26, 2008 at 4:20 PM, Frank Staals wrote: > Not realy a FreeBSD-specific question but I was not sure where I could find > what I was looking for elseware (Googling did not manage to dig up much > info): > > The problem: > > I want to set the type of objects some Collection object holds on runtime. > In other wors I have an object C with: C extends AbstractCollection, I have > the Class object T specifying what type of objects C should hold and I have > a method M which takes a C as an argument. I made a generic version of C > (without the type) and now I have to set it so it can only carry objects of > type T. Does anyone know how to do this ? > > Information in programming style: > > C extends AbstractCollection myCollection; > Class itemType; > > > public void myMethod(C myCollectionArgument) > > How do I convert myCollection from being a C to a C on runtime > so I can call myMethod(myCollection) ? > > I hope the explanation of my problem makes sense and someone can help me. > > Regards, > > > -- > > - Frank > > _______________________________________________ > 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 Fri Dec 26 19:35:03 2008 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 556421065673 for ; Fri, 26 Dec 2008 19:35:03 +0000 (UTC) (envelope-from Ron.Wingfield@Archaxis.net) Received: from archaxis.net (adsl-66-138-104-74.dsl.ltrkar.swbell.net [66.138.104.74]) by mx1.freebsd.org (Postfix) with ESMTP id 03AE38FC1B for ; Fri, 26 Dec 2008 19:35:02 +0000 (UTC) (envelope-from Ron.Wingfield@Archaxis.net) Received: from [192.168.1.2] ([192.168.1.1]) by archaxis.net (8.12.8p1/8.12.8) with ESMTP id mBQJ5Vdw011595 for ; Fri, 26 Dec 2008 13:05:32 -0600 (CST) (envelope-from Ron.Wingfield@Archaxis.net) Message-ID: <49552B02.1000203@Archaxis.net> Date: Fri, 26 Dec 2008 13:05:38 -0600 From: Ron Wingfield User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) To: freebsd-questions@freebsd.org References: 20050106101453.GA26081@mccme.ru Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Thanks for solution re: Can't remove directory 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, 26 Dec 2008 19:35:03 -0000 Mr. Chuck: I found your post, [1]http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/0 70766.html, re. "system immutable flags" via Google. Just want to say thanks. :-) Sincerely, Ron W. [2]Ron.Wingfield@Archaxis.net 501-920-7860 cell (best way) 501-228-4798 home References 1. http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070766.html 2. mailto:Ron.Wingfield@Archaxis.net From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 19:47:11 2008 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 9F28E106564A for ; Fri, 26 Dec 2008 19:47:11 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from edu-smtp-02.edutel.nl (edu-smtp-02.edutel.nl [88.159.1.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5F18FC13 for ; Fri, 26 Dec 2008 19:47:11 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from Rena.FStaals.net (unknown [88.159.208.104]) by edu-smtp-02.edutel.nl (Postfix) with ESMTP id 55044121943; Fri, 26 Dec 2008 20:47:09 +0100 (CET) Message-ID: <495534BC.1020209@gmx.net> Date: Fri, 26 Dec 2008 20:47:08 +0100 From: Frank Staals User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Vladimir Tsvetkov References: <4954E849.6020000@gmx.net> <666bdb140812261007p21b23e13k48d80e4a454ce49e@mail.gmail.com> In-Reply-To: <666bdb140812261007p21b23e13k48d80e4a454ce49e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Off-topic: Java Reflection/Generics/Collections question 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, 26 Dec 2008 19:47:11 -0000 Vladimir Tsvetkov wrote: > What you try to do is not a valid operation in type-safe language as > Java. > > You can't convert Coll to Coll, > but you can cast Coll to Coll. > > Don't know if this is OK with the problem you're trying to solve > > Merry Christmas! > > On Fri, Dec 26, 2008 at 4:20 PM, Frank Staals > wrote: > > Not realy a FreeBSD-specific question but I was not sure where I > could find what I was looking for elseware (Googling did not > manage to dig up much info): > > The problem: > > I want to set the type of objects some Collection object holds on > runtime. In other wors I have an object C with: C extends > AbstractCollection, I have the Class object T specifying what type > of objects C should hold and I have a method M which takes a C > as an argument. I made a generic version of C (without the type) > and now I have to set it so it can only carry objects of type T. > Does anyone know how to do this ? > > Information in programming style: > > C extends AbstractCollection myCollection; > Class itemType; > > > public void myMethod(C myCollectionArgument) > > How do I convert myCollection from being a C to a C on > runtime so I can call myMethod(myCollection) ? > > I hope the explanation of my problem makes sense and someone can > help me. > > Regards, > > > -- > > - Frank > > _______________________________________________ > 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 > " > > Whell just after I posted my mail to this list I realized that I may have fogotten to mention something: I want to do the 'conversion' because the myCollection Collection is still empty. So in other words I want to create a new collection and fill it. However I do not know the type of the items I want to put in beforehand so it has to occur dynamically. So an equivalent question may be: How do I create a new 'C extends AbstractCollection' using reflection ? -- - Frank From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 20:27:34 2008 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 43D511065673 for ; Fri, 26 Dec 2008 20:27:34 +0000 (UTC) (envelope-from kusanagiyang@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id F109B8FC0C for ; Fri, 26 Dec 2008 20:27:33 +0000 (UTC) (envelope-from kusanagiyang@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2057973ywe.13 for ; Fri, 26 Dec 2008 12:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=S0nTkWFc5kF6aKM5qamnWwIRT9Rqp81Q87+j49fBpPo=; b=PJEiDlWRI3iIh9QTq3u1YyyIhV3KVkaJS0b9baihzEdrMc9QAj1G02F9mtES9e8a5n R+mYQbbYcOZlhVtL88J5z2J5Oarrim2VI7eTnlaRSy1yc5DmHi+RWS5FSe6Mw6yKaAD6 YMenKddstzrEN8KpGRsDH4fjrclopGaXyOZ00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=SAYF8R3DuCkNmCO9VuptuzIFAzPSTwqkDEuJGQbomREcDb03Szt9b+IgeBY/N8v3Vw +xJF6kQnxgF8abC/1qYmzNl3cWwAzaKb/PVb9Tfvg292s7IV72y19VOr8TI0xhMh+Wr1 Cc19gxY1f8HDM25XL6vi7gIMVUsCzPo4qrhEc= Received: by 10.64.10.2 with SMTP id 2mr8590893qbj.76.1230323252314; Fri, 26 Dec 2008 12:27:32 -0800 (PST) Received: by 10.64.208.13 with HTTP; Fri, 26 Dec 2008 12:27:32 -0800 (PST) Message-ID: Date: Fri, 26 Dec 2008 12:27:32 -0800 From: "Richard Yang" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: nat and ipfw, port forwarding 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, 26 Dec 2008 20:27:34 -0000 hi, i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx -- Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 00:05:45 2008 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 E808A106564A for ; Sat, 27 Dec 2008 00:05:45 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44]) by mx1.freebsd.org (Postfix) with ESMTP id 58A218FC17 for ; Sat, 27 Dec 2008 00:05:44 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id D89529B49A for ; Sat, 27 Dec 2008 02:05:42 +0200 (SAST) Received: by thavinci.za.net (Postfix, from userid 1002) id B82479B499; Sat, 27 Dec 2008 02:05:42 +0200 (SAST) Received: from thavincimain (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id A93D69B493 for ; Sat, 27 Dec 2008 02:05:42 +0200 (SAST) From: "Marcel Grandemange" To: Date: Sat, 27 Dec 2008 02:05:33 +0200 Message-ID: <045701c967b6$d668c8f0$833a5ad0$@za.net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclnttY287WueDntTCiDJ+93Ty4G/Q== Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: EOIP Tunnels 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, 27 Dec 2008 00:05:46 -0000 Does FreeBSD support EOIP tunnels? If so where can I find more info? Thank You! Marcel Grandemange From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:13:44 2008 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 707571065670 for ; Sat, 27 Dec 2008 01:13:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 33A6C8FC0C for ; Sat, 27 Dec 2008 01:13:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBR1EDkC063911 for ; Fri, 26 Dec 2008 17:14:13 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 26 Dec 2008 17:13:39 -0800 (PST) Date: Fri, 26 Dec 2008 17:13:39 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081227011335.GA29354@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 01:13:44 -0000 folks, is there a way i can be sure that my little C program has copied a dos/win file named, say, foo.htm\;7 to simply foo.htm? my program uses fopen/fgets/fputs to copy the markup files. of the several i have copied, no problem. unless i hack cmp or diff, i have to avoid the shell. any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile) fn? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:29:29 2008 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 96E921065670 for ; Sat, 27 Dec 2008 01:29:29 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7638FC12 for ; Sat, 27 Dec 2008 01:29:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-25.kln.forthnet.gr [77.49.184.25]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBR1T6CH013740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Dec 2008 03:29:12 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBR1T6k3003757; Sat, 27 Dec 2008 03:29:06 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBR1T5SC003756; Sat, 27 Dec 2008 03:29:05 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081227011335.GA29354@thought.org> Date: Sat, 27 Dec 2008 03:29:05 +0200 In-Reply-To: <20081227011335.GA29354@thought.org> (Gary Kline's message of "Fri, 26 Dec 2008 17:13:39 -0800") Message-ID: <87ocyy2you.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBR1T6CH013740 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.867, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 01:29:29 -0000 On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline wrote: > is there a way i can be sure that my little C program has copied a > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > my program uses fopen/fgets/fputs to copy the markup files. of the > several i have copied, no problem. unless i hack cmp or diff, i have > to avoid the shell. > > any ideas? in other words, does anybody have a prefab cmp(oldfile, > newfile) fn? You don't need a prefab `cmp' function, because the base system already includes tools that can help: (a) The `cmp' utility: cmp file1 file2 ; echo $? (b) Checksum tools like `md5', `sha1' and `sha256': md5 file1 file2 sha1 file1 file2 sha256 file1 file2 You can then compare the file checksums. If both the md5 and sha256 checksums are identical, then the files are the same[1]. [1] There is a possibility of ``checksum collisions'', especially with md5 (see [2] for more details). But if you use two or more checksum types and none of them show differences, the odds of a collision are small enough for most practical purposes. [2] http://en.wikipedia.org/wiki/Md5#Vulnerability From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:31:05 2008 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 1AD391065676 for ; Sat, 27 Dec 2008 01:31:05 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id EFD788FC22 for ; Sat, 27 Dec 2008 01:31:04 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from singularity.sequestered.net (unknown [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 22F416817F; Fri, 26 Dec 2008 17:30:47 -0800 (PST) Message-ID: <49558546.9050702@sequestered.net> Date: Fri, 26 Dec 2008 17:30:46 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Gary Kline References: <20081227011335.GA29354@thought.org> In-Reply-To: <20081227011335.GA29354@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1230946248.04714@YtSPvQW4qvwrL16xz0BM2g X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 22F416817F.813C6 X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.6, required 6, J_CHICKENPOX_37 0.60) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 01:31:05 -0000 Gary Kline wrote: > folks, > > is there a way i can be sure that my little C program has copied a > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > my program uses fopen/fgets/fputs to copy the markup files. of > the several i have copied, no problem. unless i hack cmp or diff, > i have to avoid the shell. > > any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile) > fn? > > gary > > > http://www.daemonology.net/bsdiff/ seems to maybe do what you want-- essentially diff should solve your problem, although I'm not too clear on how that works on differently compiled binaries. I also seem to recall there was a test function that returned different results based on if the two files mentioned as arguments were identical, but I can't recall offhand quite what it was. -- CJC From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:32:55 2008 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 AC4351065678 for ; Sat, 27 Dec 2008 01:32:55 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8471B8FC20 for ; Sat, 27 Dec 2008 01:32:50 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2650 invoked from network); 27 Dec 2008 01:32:50 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 01:32:49 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 9EDB250820; Fri, 26 Dec 2008 20:32:46 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4D0D51CC73; Fri, 26 Dec 2008 20:32:45 -0500 (EST) To: Gary Kline References: <20081227011335.GA29354@thought.org> From: Lowell Gilbert Date: Fri, 26 Dec 2008 20:32:45 -0500 In-Reply-To: <20081227011335.GA29354@thought.org> (Gary Kline's message of "Fri\, 26 Dec 2008 17\:13\:39 -0800") Message-ID: <44bpuyh076.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Mailing List List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 01:32:55 -0000 Gary Kline writes: > is there a way i can be sure that my little C program has copied a > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > my program uses fopen/fgets/fputs to copy the markup files. of > the several i have copied, no problem. unless i hack cmp or diff, > i have to avoid the shell. > > any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile) > fn? mtree(1) handles whole ranges of files. For a single file, you could use some kind of checksum in your program or externally, but in general it will be comparing against the cache of the file's buffers, not against what is really on disk, so if you suspect an operating system or hardware-write bug, you won't spot it immediately. What, precisely, would you like to protect against? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:44:44 2008 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 575C6106564A for ; Sat, 27 Dec 2008 01:44:44 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2DC8FC2A for ; Sat, 27 Dec 2008 01:44:44 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [192.168.1.174] (76-14-72-6.sf-cable.astound.net [76.14.72.6] (may be forged)) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mBR1ia6Y025621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 26 Dec 2008 17:44:42 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <4955887F.1090704@enabled.com> Date: Fri, 26 Dec 2008 17:44:31 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: running shell command through ssh tunnel 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, 27 Dec 2008 01:44:44 -0000 Hi there, I am trying to run a shell command to the host at the far end of an ssh tunnel. Here is how I structured access. Is there any way to do this more compactly on one line? ssh -L 12345:192.168.1.20:22 noah@domain.com ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' Cheers, Noah From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:52:57 2008 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 934851065673 for ; Sat, 27 Dec 2008 01:52:57 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.240]) by mx1.freebsd.org (Postfix) with ESMTP id 68F568FC16 for ; Sat, 27 Dec 2008 01:52:57 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: by rv-out-0708.google.com with SMTP id k29so4768245rvb.0 for ; Fri, 26 Dec 2008 17:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=qAaXlBZR0Q42KxVl8hhGtDxUCjbdXDV9ym7+p9xigEM=; b=p7Bx5ARlyEJwKUfuEd+w98Jb/Eicyut/Pc9yO3/w1+99dDGLEXjwbZ+nXldChwR91G 9hWB/7dgI8kbqCv6/RgQnE9vmclxucfhbNeA2SIABVoP3A3IGry+DGLYh1iH6CwXaWYV rtOjj64FHiybQrC87L5SQYlb0jc43gwvfqy10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=VlJysJbkYwNPsSB7n2twE+5SQrow27VF7XjSLYynbyVIr7H2JGSCc7L3fhk3EAFfDQ +gfa+E1/JMgKFfYEExBHsGFQk7VSEvGcB4OXhSzcrCSaft6FULXHE2x3IFOdhJFKpbhT ofcD+Bx820YlfMSuK3CQIVSGZtboT7SFgTTKg= Received: by 10.142.142.14 with SMTP id p14mr4656929wfd.29.1230342776949; Fri, 26 Dec 2008 17:52:56 -0800 (PST) Received: by 10.142.156.5 with HTTP; Fri, 26 Dec 2008 17:52:56 -0800 (PST) Message-ID: Date: Fri, 26 Dec 2008 20:52:56 -0500 From: "Tsu-Fan Cheng" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: OSX mount UFS 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, 27 Dec 2008 01:52:57 -0000 Hi, I apologize for this diversion of topic. I format a external HD by BSD and move files to it. When trying to read it on OSX, it wouldn't recognize. Googling it didn't help much. I wonder if people here and lend a hand. Thanks!! TFC From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 01:56:45 2008 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 058EC106564A for ; Sat, 27 Dec 2008 01:56:45 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA818FC17 for ; Sat, 27 Dec 2008 01:56:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBR1v9Dq064171; Fri, 26 Dec 2008 17:57:09 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 26 Dec 2008 17:56:34 -0800 (PST) Date: Fri, 26 Dec 2008 17:56:34 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20081227015634.GB29639@thought.org> References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ocyy2you.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 01:56:45 -0000 On Sat, Dec 27, 2008 at 03:29:05AM +0200, Giorgos Keramidas wrote: > On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline wrote: > > is there a way i can be sure that my little C program has copied a > > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > > > my program uses fopen/fgets/fputs to copy the markup files. of the > > several i have copied, no problem. unless i hack cmp or diff, i have > > to avoid the shell. > > > > any ideas? in other words, does anybody have a prefab cmp(oldfile, > > newfile) fn? > > You don't need a prefab `cmp' function, because the base system already > includes tools that can help: > > (a) The `cmp' utility: > > cmp file1 file2 ; echo $? > > (b) Checksum tools like `md5', `sha1' and `sha256': > > md5 file1 file2 > > sha1 file1 file2 > > sha256 file1 file2 > > You can then compare the file checksums. If both the md5 and > sha256 checksums are identical, then the files are the same[1]. > > [1] There is a possibility of ``checksum collisions'', especially > with md5 (see [2] for more details). But if you use two or > more checksum types and none of them show differences, the > odds of a collision are small enough for most practical > purposes. > > [2] http://en.wikipedia.org/wiki/Md5#Vulnerability the problem is that there are several thousands of these files with dos names and an embedded '\;'7 in the file names. the shell gets in the way. i have tried sprintf(cmdbuf, "/usr/bin/cmp %s %s", orig, new); system(cmdbuf); chokes on the embedded bytes. i'm thinking of using find . -name "*" -print -exec {} \; and let me program select out the file suffix. i unlink the screwy dos-ish filename. that's why i want to be sure the copied/renamed files are right. > > _______________________________________________ > 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 http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 02:01:51 2008 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 A22821065675 for ; Sat, 27 Dec 2008 02:01:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7A2478FC1C for ; Sat, 27 Dec 2008 02:01:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2098 invoked from network); 27 Dec 2008 02:01:51 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 02:01:50 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 346C650820; Fri, 26 Dec 2008 21:01:47 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id D88A81CF23; Fri, 26 Dec 2008 21:01:46 -0500 (EST) To: Gary Kline References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> From: Lowell Gilbert Date: Fri, 26 Dec 2008 21:01:46 -0500 In-Reply-To: <20081227015634.GB29639@thought.org> (Gary Kline's message of "Fri\, 26 Dec 2008 17\:56\:34 -0800") Message-ID: <447i5mgyut.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Giorgos Keramidas , FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 02:01:51 -0000 Gary Kline writes: > On Sat, Dec 27, 2008 at 03:29:05AM +0200, Giorgos Keramidas wrote: >> On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline wrote: >> > is there a way i can be sure that my little C program has copied a >> > dos/win file named, say, foo.htm\;7 to simply foo.htm? >> > >> > my program uses fopen/fgets/fputs to copy the markup files. of the >> > several i have copied, no problem. unless i hack cmp or diff, i have >> > to avoid the shell. >> > >> > any ideas? in other words, does anybody have a prefab cmp(oldfile, >> > newfile) fn? >> >> You don't need a prefab `cmp' function, because the base system already >> includes tools that can help: >> >> (a) The `cmp' utility: >> >> cmp file1 file2 ; echo $? >> >> (b) Checksum tools like `md5', `sha1' and `sha256': >> >> md5 file1 file2 >> >> sha1 file1 file2 >> >> sha256 file1 file2 >> >> You can then compare the file checksums. If both the md5 and >> sha256 checksums are identical, then the files are the same[1]. >> >> [1] There is a possibility of ``checksum collisions'', especially >> with md5 (see [2] for more details). But if you use two or >> more checksum types and none of them show differences, the >> odds of a collision are small enough for most practical >> purposes. >> >> [2] http://en.wikipedia.org/wiki/Md5#Vulnerability > > > the problem is that there are several thousands of these files > with dos names and an embedded '\;'7 in the file names. the > shell gets in the way. i have tried > > sprintf(cmdbuf, "/usr/bin/cmp %s %s", orig, new); > system(cmdbuf); > > chokes on the embedded bytes. > > i'm thinking of using > > find . -name "*" -print -exec {} \; > > and let me program select out the file suffix. i unlink the > screwy dos-ish filename. that's why i want to be sure the > copied/renamed files are right. Your problem there is just normal file globbing. If you quote the names just like you would on the command line (modulo escaping for C's special characters), it should work fine. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 02:05:50 2008 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 889B2106564A for ; Sat, 27 Dec 2008 02:05:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 481828FC0C for ; Sat, 27 Dec 2008 02:05:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBR26HCS064246; Fri, 26 Dec 2008 18:06:17 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 26 Dec 2008 18:05:43 -0800 (PST) Date: Fri, 26 Dec 2008 18:05:43 -0800 From: Gary Kline To: Corey Chandler Message-ID: <20081227020543.GC29639@thought.org> References: <20081227011335.GA29354@thought.org> <49558546.9050702@sequestered.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49558546.9050702@sequestered.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 02:05:50 -0000 On Fri, Dec 26, 2008 at 05:30:46PM -0800, Corey Chandler wrote: > Gary Kline wrote: > > folks, > > > > is there a way i can be sure that my little C program has copied a > > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > > > my program uses fopen/fgets/fputs to copy the markup files. of > > the several i have copied, no problem. unless i hack cmp or diff, > > i have to avoid the shell. > > > > any ideas? in other words, does anybody have a prefab cmp(oldfile, > > newfile) > > fn? > > > > gary > > > > > > > http://www.daemonology.net/bsdiff/ seems to maybe do what you want-- > essentially diff should solve your problem, although I'm not too clear > on how that works on differently compiled binaries. > > I also seem to recall there was a test function that returned different > results based on if the two files mentioned as arguments were identical, > but I can't recall offhand quite what it was. > > -- CJC ugh, i just founf both gif's and jpeg's with that same suffix. have to use something like while (n = read...)>0 write(fd2, buf,n) if i want to copy these binary files. ... maybe not: who needs graphics? :-) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 02:10:27 2008 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 E57CB1065670 for ; Sat, 27 Dec 2008 02:10:27 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id A53588FC1A for ; Sat, 27 Dec 2008 02:10:27 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBR2AvZ0064263 for ; Fri, 26 Dec 2008 18:10:57 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 26 Dec 2008 18:10:23 -0800 (PST) Date: Fri, 26 Dec 2008 18:10:23 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20081227021022.GD29639@thought.org> References: <20081227011335.GA29354@thought.org> <44bpuyh076.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44bpuyh076.fsf@lowell-desk.lan> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 02:10:28 -0000 On Fri, Dec 26, 2008 at 08:32:45PM -0500, Lowell Gilbert wrote: > Gary Kline writes: > > > is there a way i can be sure that my little C program has copied a > > dos/win file named, say, foo.htm\;7 to simply foo.htm? > > > > my program uses fopen/fgets/fputs to copy the markup files. of > > the several i have copied, no problem. unless i hack cmp or diff, > > i have to avoid the shell. > > > > any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile) > > fn? > > mtree(1) handles whole ranges of files. > > For a single file, you could use some kind of checksum in your program > or externally, but in general it will be comparing against the cache of > the file's buffers, not against what is really on disk, so if you > suspect an operating system or hardware-write bug, you won't spot it > immediately. > > What, precisely, would you like to protect against? again bad copies! mtree might work, but given the number of files, i'd be better off hacking usr.bin/cmp !! oh-well, enjoy, spring is only 90 da off:-) > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 02:51:40 2008 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 1DE4A1065680 for ; Sat, 27 Dec 2008 02:51:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8BC8FC17 for ; Sat, 27 Dec 2008 02:51:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-25.kln.forthnet.gr [77.49.184.25]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBR2pIWt018149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Dec 2008 04:51:31 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBR2pIkp039582; Sat, 27 Dec 2008 04:51:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBR2pIYw039581; Sat, 27 Dec 2008 04:51:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> Date: Sat, 27 Dec 2008 04:51:18 +0200 In-Reply-To: <20081227015634.GB29639@thought.org> (Gary Kline's message of "Fri, 26 Dec 2008 17:56:34 -0800") Message-ID: <8763l61gbd.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBR2pIWt018149 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.867, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 02:51:40 -0000 On Fri, 26 Dec 2008 17:56:34 -0800, Gary Kline wrote: > On Sat, Dec 27, 2008 at 03:29:05AM +0200, Giorgos Keramidas wrote: >> On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline wrote: >> > is there a way i can be sure that my little C program has copied a >> > dos/win file named, say, foo.htm\;7 to simply foo.htm? >> > >> > my program uses fopen/fgets/fputs to copy the markup files. of the >> > several i have copied, no problem. unless i hack cmp or diff, i have >> > to avoid the shell. >> > >> > any ideas? in other words, does anybody have a prefab cmp(oldfile, >> > newfile) fn? >> >> You don't need a prefab `cmp' function, because the base system already >> includes tools that can help: >> >> cmp file1 file2 ; echo $? >> md5 file1 file2 >> sha1 file1 file2 >> sha256 file1 file2 > > the problem is that there are several thousands of these files with > dos names and an embedded '\;'7 in the file names. the shell gets in > the way. i have tried > > sprintf(cmdbuf, "/usr/bin/cmp %s %s", orig, new); > system(cmdbuf); > > chokes on the embedded bytes. > > i'm thinking of using > > find . -name "*" -print -exec {} \; > > and let me program select out the file suffix. i unlink the screwy > dos-ish filename. that's why i want to be sure the copied/renamed > files are right. Use quoting (and snprintf() because it supports range-checks for the buffer you are passing to it): snprintf(cmdbuf, sizeof(cmdbuf), "cmp \"%s\" \"%s\"", orig, new); From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 03:02:49 2008 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 D7D511065673 for ; Sat, 27 Dec 2008 03:02:49 +0000 (UTC) (envelope-from reese@adeptscience.com) Received: from panther.adeptscience.co.uk (panther.adeptscience.co.uk [193.116.153.7]) by mx1.freebsd.org (Postfix) with ESMTP id 66D1C8FC08 for ; Sat, 27 Dec 2008 03:02:49 +0000 (UTC) (envelope-from reese@adeptscience.com) Received: from HP13523161411 (host86-149-199-166.range86-149.btcentralplus.com [86.149.199.166]) by panther.adeptscience.co.uk (8.13.6/8.13.6) with ESMTP id mBQIbZ8r018323 for ; Fri, 26 Dec 2008 18:37:35 GMT (envelope-from reese@adeptscience.com) From: reese@adeptscience.com To: freebsd-questions@freebsd.org Date: Fri, 26 Dec 2008 18:37:21 -0000 MIME-Version: 1.0 Message-ID: <49552461.25264.5D35D1@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: strange fsck results 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, 27 Dec 2008 03:02:49 -0000 I am running FreeBSD 6.3 as a VMware virtual server and am getting some strange results when I run fsck. When I run it in multi-user mode I get quite a few UNREF FILE errors but when I switch to single user mode fsck does not find any errors. Is this something I need to worry about and if it is how might I try to get fsck to repair them? TIA Charlie Reese From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 03:28:58 2008 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 444A6106564A for ; Sat, 27 Dec 2008 03:28:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0FF8FC1A for ; Sat, 27 Dec 2008 03:28:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 24835 invoked from network); 27 Dec 2008 03:28:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 03:28:57 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id E5B6E50820; Fri, 26 Dec 2008 22:28:53 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 5187A1CCFA; Fri, 26 Dec 2008 22:28:53 -0500 (EST) To: Gary Kline References: <20081227011335.GA29354@thought.org> <44bpuyh076.fsf@lowell-desk.lan> <20081227021022.GD29639@thought.org> From: Lowell Gilbert Date: Fri, 26 Dec 2008 22:28:53 -0500 In-Reply-To: <20081227021022.GD29639@thought.org> (Gary Kline's message of "Fri\, 26 Dec 2008 18\:10\:23 -0800") Message-ID: <44wsdmpa8a.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 03:28:58 -0000 Gary Kline writes: > On Fri, Dec 26, 2008 at 08:32:45PM -0500, Lowell Gilbert wrote: >> Gary Kline writes: >> >> > is there a way i can be sure that my little C program has copied a >> > dos/win file named, say, foo.htm\;7 to simply foo.htm? >> > >> > my program uses fopen/fgets/fputs to copy the markup files. of >> > the several i have copied, no problem. unless i hack cmp or diff, >> > i have to avoid the shell. >> > >> > any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile) >> > fn? >> >> mtree(1) handles whole ranges of files. >> >> For a single file, you could use some kind of checksum in your program >> or externally, but in general it will be comparing against the cache of >> the file's buffers, not against what is really on disk, so if you >> suspect an operating system or hardware-write bug, you won't spot it >> immediately. >> >> What, precisely, would you like to protect against? > > > again bad copies! mtree might work, but given the number of > files, i'd be better off hacking usr.bin/cmp !! Bad copies caused by bugs in your software, or bad copies caused by bugs in FreeBSD? Or problems with your hardware? Once you know what you're after, you can start figuring out how to get it. If you don't know that yet, don't waste your time chasing it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 03:31:04 2008 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 29C411065675 for ; Sat, 27 Dec 2008 03:31:04 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 059E48FC16 for ; Sat, 27 Dec 2008 03:31:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9827 invoked from network); 27 Dec 2008 03:31:03 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 03:31:03 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 285ED50820; Fri, 26 Dec 2008 22:30:58 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 9AD6E1CD5E; Fri, 26 Dec 2008 22:30:57 -0500 (EST) To: reese@adeptscience.com References: <49552461.25264.5D35D1@localhost> From: Lowell Gilbert Date: Fri, 26 Dec 2008 22:30:57 -0500 In-Reply-To: <49552461.25264.5D35D1@localhost> (reese@adeptscience.com's message of "Fri\, 26 Dec 2008 18\:37\:21 -0000") Message-ID: <44skoapa4u.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: strange fsck results 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, 27 Dec 2008 03:31:04 -0000 reese@adeptscience.com writes: > I am running FreeBSD 6.3 as a VMware virtual server and am getting some > strange results when I run fsck. When I run it in multi-user mode I get > quite a few UNREF FILE errors but when I switch to single user mode > fsck does not find any errors. Is this something I need to worry about > and if it is how might I try to get fsck to repair them? When you run fsck in multi-user mode, are you running it on a mounted filesystem? In that case, those errors would be perfectly normal, since the kernel will typically have several file handles open on each filesystem it mounts. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 03:38:14 2008 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 4467C106564A for ; Sat, 27 Dec 2008 03:38:14 +0000 (UTC) (envelope-from kijaso@austin.rr.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6018FC16 for ; Sat, 27 Dec 2008 03:38:13 +0000 (UTC) (envelope-from kijaso@austin.rr.com) Received: from [192.168.1.2] (really [67.9.150.59]) by hrndva-omta06.mail.rr.com with ESMTP id <20081227032300.XJDN2682.hrndva-omta06.mail.rr.com@[192.168.1.2]> for ; Sat, 27 Dec 2008 03:23:00 +0000 User-Agent: Microsoft-Entourage/12.0.0.071130 Date: Fri, 26 Dec 2008 21:22:52 -0600 From: Bernson To: Message-ID: Thread-Topic: {Classmates#889-142}read it immediately Thread-Index: Acln0maqWASIDLJQQq2bYLidXEpASw== Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: {Classmates#889-142}read it immediately 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, 27 Dec 2008 03:38:14 -0000 Will you please unsubscribe me at kijaso@austin.rr.com. Thanks, B. Kim Bernson Cooper High School 1974 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 04:55:56 2008 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 B7A5D106564A for ; Sat, 27 Dec 2008 04:55:56 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [204.127.217.105]) by mx1.freebsd.org (Postfix) with ESMTP id A7EF68FC19 for ; Sat, 27 Dec 2008 04:55:56 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from [10.5.21.122] (adsl-1-101-167.bna.bellsouth.net[65.1.101.167]) by isp.att.net (frfwmhc05) with ESMTP id <20081227044139H05005qvi1e>; Sat, 27 Dec 2008 04:41:39 +0000 X-Originating-IP: [65.1.101.167] Message-ID: <4955B1EF.90909@datapipe.com> Date: Fri, 26 Dec 2008 22:41:19 -0600 From: Paul Procacci User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Bernson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: {Classmates#889-142}read it immediately 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, 27 Dec 2008 04:55:56 -0000 > _______________________________________________ > 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 Sat Dec 27 05:10:14 2008 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 82A7B1065674 for ; Sat, 27 Dec 2008 05:10:14 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 55A678FC14 for ; Sat, 27 Dec 2008 05:10:14 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so6070159wfg.7 for ; Fri, 26 Dec 2008 21:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ELK4EcLeQXUYuLI09yrygsqY/V46zKn7jZxPGl7QPlI=; b=uQRGoFxD1TylUPDIV4P4EC3QUDY3DrVSt9sMP8VMowZYVoOFmPET2VxwDV77RUCRbc zlp/basNp+MoFbT7hPg9RZtwCa0GVRRALIYwOVSOGg1L82/pHDIXhK7J14gwpH6SI4A9 mZEZkN/fjEKTOK0C3GRVyfOBcSU3eFBCFEerA= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=GbE1Cosr8XpQsl1NjhWnqI2yPB4Ylh3Cp1QwUu/8TUpCSHCYvYAplJ/dk/gkLWgKsd rNIZG+v98bzNubxL3IRPD29+v5PqKUjkV7JijS+K3aFsmjbxpwWY16TFU6Ox75mOrtxu xWn9AFu7z9e8yq+fquufUaf24yAj1n7A35kQg= Received: by 10.142.185.21 with SMTP id i21mr4712562wff.220.1230354614034; Fri, 26 Dec 2008 21:10:14 -0800 (PST) Received: from ?192.168.4.20? (c-76-113-34-1.hsd1.nm.comcast.net [76.113.34.1]) by mx.google.com with ESMTPS id 32sm36615748wfa.40.2008.12.26.21.10.11 (version=SSLv3 cipher=RC4-MD5); Fri, 26 Dec 2008 21:10:12 -0800 (PST) Message-ID: <4955B8B2.2080304@gmail.com> Date: Fri, 26 Dec 2008 22:10:10 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: reese@adeptscience.com References: <49552461.25264.5D35D1@localhost> In-Reply-To: <49552461.25264.5D35D1@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: strange fsck results 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, 27 Dec 2008 05:10:14 -0000 reese@adeptscience.com wrote: > I am running FreeBSD 6.3 as a VMware virtual server and am getting some > strange results when I run fsck. When I run it in multi-user mode I get > quite a few UNREF FILE errors but when I switch to single user mode > fsck does not find any errors. Is this something I need to worry about > and if it is how might I try to get fsck to repair them? > > > TIA > Charlie Reese > It may be a issue that fsck preening won't fix. A forceful repair might be required. see the fsck manpage. A forceful repair may cause more damage than help, which is part of the reason the multiboot process just preens it. Good luck. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 09:40:22 2008 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 0E4D11065674 for ; Sat, 27 Dec 2008 09:40:22 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id B481B8FC12 for ; Sat, 27 Dec 2008 09:40:21 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBR9elx8066955; Sat, 27 Dec 2008 01:40:47 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 27 Dec 2008 01:40:13 -0800 (PST) Date: Sat, 27 Dec 2008 01:40:13 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20081227094012.GA39306@thought.org> References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> <8763l61gbd.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8763l61gbd.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 09:40:22 -0000 On Sat, Dec 27, 2008 at 04:51:18AM +0200, Giorgos Keramidas wrote: > On Fri, 26 Dec 2008 17:56:34 -0800, Gary Kline wrote: > > On Sat, Dec 27, 2008 at 03:29:05AM +0200, Giorgos Keramidas wrote: > >> On Fri, 26 Dec 2008 17:13:39 -0800, Gary Kline wrote: > >> > is there a way i can be sure that my little C program has copied a > >> > dos/win file named, say, foo.htm\;7 to simply foo.htm? > >> > > >> > my program uses fopen/fgets/fputs to copy the markup files. of the > >> > several i have copied, no problem. unless i hack cmp or diff, i have > >> > to avoid the shell. > >> > > >> > any ideas? in other words, does anybody have a prefab cmp(oldfile, > >> > newfile) fn? > >> > >> You don't need a prefab `cmp' function, because the base system already > >> includes tools that can help: > >> > >> cmp file1 file2 ; echo $? > >> md5 file1 file2 > >> sha1 file1 file2 > >> sha256 file1 file2 > > > > the problem is that there are several thousands of these files with > > dos names and an embedded '\;'7 in the file names. the shell gets in > > the way. i have tried > > > > sprintf(cmdbuf, "/usr/bin/cmp %s %s", orig, new); > > system(cmdbuf); > > > > chokes on the embedded bytes. > > > > i'm thinking of using > > > > find . -name "*" -print -exec {} \; > > > > and let me program select out the file suffix. i unlink the screwy > > dos-ish filename. that's why i want to be sure the copied/renamed > > files are right. > > Use quoting (and snprintf() because it supports range-checks for the > buffer you are passing to it): > > snprintf(cmdbuf, sizeof(cmdbuf), "cmp \"%s\" \"%s\"", orig, new); > howdy, in a word, YES, /usr/bin/cmp saved the save before i unlinked the oldfile. here is the strangeness. maybe you know, giorgos, or somebody else on-list. At first--before i got smart and used your snprintf to simply /bin/cp and then unlink---yes, or /bin/mv, or simply rename()--- Before, while i creating via fgets/fputs a new file, everything went fine until i ran out of buffer space. i increased to buf[4096] to buf[65535]. more files were successfully copied from dos\;5 to .dos/*.htm, actually. suddenly, cmp caught a mismatch and the program exited. a careful diff showed the err a something like line 3751. my copy was missing a byte near the EOF: " so i upped the buffer space to 256000; same thing. is there a lim on the sizeof arrays, or is it [more likely] sloppy hacking? the size of the last file that wouldn't copy is 202K. just wondering. as i said, using snprintf() with quotes works, so i can do the same with the jpeg and gif files. just cp or mv then to a cleaner, more rational unix-esque [[ :-) ]] name. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 12:15:17 2008 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 131B01065679 for ; Sat, 27 Dec 2008 12:15:17 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 72D5D8FC12 for ; Sat, 27 Dec 2008 12:15:16 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id MAA12422 for ; Sat, 27 Dec 2008 12:57:38 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Received: from ppp-88-217-92-118.dynamic.mnet-online.de(88.217.92.118) by hunter.Sisis.de via smap (V2.1) id xma012389; Sat, 27 Dec 08 12:57:10 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id mBRC6B9O008760 for freebsd-questions@freebsd.org; Sat, 27 Dec 2008 13:06:11 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Sat, 27 Dec 2008 13:06:11 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20081227120610.GA8365@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) Subject: old flopy drive on parallel port 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: Sat, 27 Dec 2008 12:15:17 -0000 Hello, I've just thrown away an very old laptop which was running FreeBSD 2.2.5 in the mid of the 90's; this have had an external 3.5 inch floppy drive, connected through a cable to the parallel port and this way fully supported, even for the basic installation of FreeBSD which was based on making a boot-able floppy; I saved this drive because I still have some old floppies here around and at home no other drive to read them; My question is: can it be used / plug'eg in without any danger into to parallel port of my actual laptop (Fujitsu Siemens) and is this somehow still supported in FreeBSD 7.0 as well? Thx matthias -- Matthias Apitz SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen >From: -40 % die Neujahrsaktion From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 12:28:26 2008 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 4F9171065676 for ; Sat, 27 Dec 2008 12:28:26 +0000 (UTC) (envelope-from mjs@rakupottery.org.uk) Received: from lon1-post-2.mail.demon.net (lon1-post-2.mail.demon.net [195.173.77.149]) by mx1.freebsd.org (Postfix) with ESMTP id 167C88FC2D for ; Sat, 27 Dec 2008 12:28:26 +0000 (UTC) (envelope-from mjs@rakupottery.org.uk) Received: from rakuman.demon.co.uk ([80.177.154.53] helo=rakuba.rakupottery.org.uk) by lon1-post-2.mail.demon.net with esmtp (Exim 4.69) id 1LGY0I-0005C5-cc for freebsd-questions@freebsd.org; Sat, 27 Dec 2008 12:10:51 +0000 Message-ID: <49561B4A.2080905@rakupottery.org.uk> Date: Sat, 27 Dec 2008 12:10:50 +0000 From: Martin Smith User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: OSX mount UFS 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, 27 Dec 2008 12:28:26 -0000 Tsu-Fan Cheng wrote: > Hi, > I apologize for this diversion of topic. I format a external HD by > BSD and move files to it. When trying to read it on OSX, it wouldn't > recognize. Googling it didn't help much. I wonder if people here and > lend a hand. Thanks!! Well, how is it formatted, ufs?, msdos? When you attach it to your OSX machine, have a look at the console messages and have a look at man mount on that machine too, that should sort it for you. -- Martin From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 12:50:15 2008 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 DDCEA106564A for ; Sat, 27 Dec 2008 12:50:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 535798FC19 for ; Sat, 27 Dec 2008 12:50:13 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBRCo5Gg004316; Sat, 27 Dec 2008 13:50:05 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBRCo5Hr004313; Sat, 27 Dec 2008 13:50:05 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 27 Dec 2008 13:50:05 +0100 (CET) From: Wojciech Puchar To: Martin Smith In-Reply-To: <49561B4A.2080905@rakupottery.org.uk> Message-ID: <20081227134941.U4312@wojtek.tensor.gdynia.pl> References: <49561B4A.2080905@rakupottery.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Subject: Re: OSX mount UFS 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, 27 Dec 2008 12:50:15 -0000 >> I apologize for this diversion of topic. I format a external HD by >> BSD and move files to it. When trying to read it on OSX, it wouldn't >> recognize. Googling it didn't help much. I wonder if people here and >> lend a hand. Thanks!! > > Well, how is it formatted, ufs?, msdos? > When you attach it to your OSX machine, have a look at the console messages > and have a look at man mount on that machine too, that should sort it for > you. > > i don't know how different MAC-UFS is from UFS. if too much - use FAT filesystem or just tar From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 12:58:24 2008 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 B0B221065673 for ; Sat, 27 Dec 2008 12:58:24 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2424C8FC2E for ; Sat, 27 Dec 2008 12:58:23 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl57-25.kln.forthnet.gr [77.49.184.25]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBRCw7ti023493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Dec 2008 14:58:13 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBRCw7aD031988; Sat, 27 Dec 2008 14:58:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBRCw6g4031987; Sat, 27 Dec 2008 14:58:06 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> <8763l61gbd.fsf@kobe.laptop> <20081227094012.GA39306@thought.org> Date: Sat, 27 Dec 2008 14:58:06 +0200 In-Reply-To: <20081227094012.GA39306@thought.org> (Gary Kline's message of "Sat, 27 Dec 2008 01:40:13 -0800") Message-ID: <87zlihixlt.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBRCw7ti023493 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.867, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.53, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 12:58:24 -0000 On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline wrote: > howdy, > > in a word, YES, /usr/bin/cmp saved the save before i unlinked the > oldfile. here is the strangeness. maybe you know, giorgos, or > somebody else on-list. At first--before i got smart and used your > snprintf to simply /bin/cp and then unlink---yes, or /bin/mv, or > simply rename()--- Before, while i creating via fgets/fputs a new > file, everything went fine until i ran out of buffer space. i > increased to buf[4096] to buf[65535]. more files were successfully > copied from dos\;5 to .dos/*.htm, actually. suddenly, cmp caught a > mismatch and the program exited. a careful diff showed the err a > something like line 3751. my copy was missing a byte near the EOF: > > > minus the closing ">" There should be no problem when you copy a file using read() and write() with _any_ buffer size. Even a simple routine that reads byte by byte and copies the file should work (a bit more of error checking is needed wherever I have used a (void) cast but you get the idea): #include #include /*- * \brief copy a file, using stdio byte-level read and writes * * Copy the `fromname' file to the `toname' file, using only fgetc() * and fputc() operations from stdio. The internals of stdio are * free, of course, to use larger read() and write() buffers but all * this should be "hidden" from the code of copyfile(). * * \param fromname The name of the source file to copy. * \param toname The name of the destination file where * `fromname' will be copied to. * * \return Upon successful completion 0 is * returned. Otherwise, EOF is returned * and the global variable errno is set to * indicate the error. */ int copyfile(const char *fromname, const char *toname) { FILE *ifp; FILE *ofp; int ch; if ((ifp = fopen(fromname, "rb")) == NULL) return -1; if ((ofp = fopen(toname, "wb")) == NULL) { (void)fclose(ifp); return -1; } while ((ch = fgetc(ifp)) != EOF) { if (fputc(ch, ofp) == EOF) break; } if (ferror(ifp) != 0 || ferror(ofp) != 0) { (void)unlink(toname); (void)fclose(ofp); (void)fclose(ifp); return -1; } if (fclose(ofp) == EOF) { (void)fclose(ifp); return -1; } if (fclose(ifp) == EOF) { return -1; } return 0; } So if you are seeing copy errors when you change the buffer size, you are doing something odd with your buffers. We would have to see the actual code if you want more detailed help about possible buffer handling bugs :) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:10:23 2008 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 95CA61065670 for ; Sat, 27 Dec 2008 15:10:23 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [213.239.213.48]) by mx1.freebsd.org (Postfix) with ESMTP id 42D128FC08 for ; Sat, 27 Dec 2008 15:10:23 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id F3221170A8; Sat, 27 Dec 2008 16:10:21 +0100 (CET) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 70C1F8CB; Sat, 27 Dec 2008 16:10:21 +0100 (CET) To: freebsd-questions@freebsd.org References: <4955887F.1090704@enabled.com> From: Christian Laursen Date: Sat, 27 Dec 2008 16:10:20 +0100 In-Reply-To: <4955887F.1090704@enabled.com> (Noah's message of "Fri\, 26 Dec 2008 17\:44\:31 -0800") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Noah Subject: Re: running shell command through ssh tunnel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 15:10:23 -0000 Noah writes: > I am trying to run a shell command to the host at the far end of an ssh > tunnel. Here is how I structured access. Is there any way to do this > more compactly on one line? > > > ssh -L 12345:192.168.1.20:22 noah@domain.com > ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' Put something like the following in your ~/.ssh/config: Host otherhost HostKeyAlias otherhost ProxyCommand ssh noah@domain.com nc 192.168.1.20 22 Then you can simply run: ssh otherhost 'chown -R noah:noah /shares/internal/Music/' Reading the ssh_config man page might reveal a number of other nice features ssh has to offer. -- Christian Laursen From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:10:47 2008 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 4F130106568D for ; Sat, 27 Dec 2008 15:10:47 +0000 (UTC) (envelope-from anniesimanski@ibrain.org) Received: from orange.aabox.com (c2.88.344a.static.theplanet.com [74.52.136.194]) by mx1.freebsd.org (Postfix) with ESMTP id 23DDA8FC1E for ; Sat, 27 Dec 2008 15:10:47 +0000 (UTC) (envelope-from anniesimanski@ibrain.org) Received: from [127.0.0.1] (helo=SG-16) by orange.aabox.com with esmtpa (Exim 4.69) (envelope-from ) id 1LGaMv-00047J-LG for questions@freebsd.org; Sat, 27 Dec 2008 07:42:21 -0700 Received: from SG-16 ([69.209.212.207] helo=SG-16) by ASSP.nospam; 27 Dec 2008 07:42:21 -0700 From: "Annie Simanski" To: Date: Sat, 27 Dec 2008 08:42:21 -0600 Importance: Normal X-Priority: 3 (Normal) MIME-Version: 1.0 X-AntiAbuse: Message Originator UID: RI {532e7-71933} X-AntiAbuse: Since we wish to continue to provide abuse tracking! X-AntiAbuse: Please do not use this header to filter out email X-AntiAbuse: Report abuse incidents to mach 5 enterprises X-AntiAbuse: This header is intended to track abuse. Include with any abuse report X-Mailer: Mach 5 Mailer version 4 RI{532e7-71933} Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Assp-Whitelisted: Yes X-Assp-Envelope-From: anniesimanski@ibrain.org X-Assp-Intended-For: questions@freebsd.org X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orange.aabox.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ibrain.org X-Source: X-Source-Args: X-Source-Dir: Message-Id: <20081227151047.23DDA8FC1E@mx1.freebsd.org> Cc: Subject: Would you like to trade links? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Annie Simanski List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 15:10:47 -0000 Hi, I visited your site www.freebsd.org and I'm interested in swapping links with you. I can add your link to a category specific page on our site ibrain.org, in exchange for a link back from the home or internal page of your site. If you're interested, please reply to this email with your link details and the URL of your links page below: Anchor Text (example: Atlanta employment agency): URL: Description: Links Page: Once I hear back from you with the following information, I'll send you a reply regarding our link details. Remember, we need all of the information above in order to post your link. I look forward to hearing from you. Best regards, Annie Simanski Account Manager ibrain.org Ref: 12-26 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:41:23 2008 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 2CB941065721 for ; Sat, 27 Dec 2008 15:41:23 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0348A8FC14 for ; Sat, 27 Dec 2008 15:41:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4153 invoked from network); 27 Dec 2008 15:40:23 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 15:40:22 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 0081250820; Sat, 27 Dec 2008 10:40:19 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id A1E5A1D10E; Sat, 27 Dec 2008 10:40:18 -0500 (EST) To: Noah References: <4955887F.1090704@enabled.com> From: Lowell Gilbert Date: Sat, 27 Dec 2008 10:40:18 -0500 In-Reply-To: <4955887F.1090704@enabled.com> (Noah's message of "Fri\, 26 Dec 2008 17\:44\:31 -0800") Message-ID: <44bpux7hjx.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: User Questions Subject: Re: running shell command through ssh tunnel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 15:41:23 -0000 Noah writes: > I am trying to run a shell command to the host at the far end of an ssh > tunnel. Here is how I structured access. Is there any way to do this > more compactly on one line? > > > ssh -L 12345:192.168.1.20:22 noah@domain.com > ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' Maybe I haven't had enough coffee yet, but wouldn't that just be ssh noah@192.168.1.20 'chown -R noah:noah /shares/internal/Music/' ? You might even want to use '-n' as an option to the ssh command. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:49:11 2008 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 77A1D106564A for ; Sat, 27 Dec 2008 15:49:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8F28FC18 for ; Sat, 27 Dec 2008 15:49:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 7076 invoked from network); 27 Dec 2008 15:49:10 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 15:49:10 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 7D8CB50820; Sat, 27 Dec 2008 10:49:07 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id D74361D12B; Sat, 27 Dec 2008 10:49:05 -0500 (EST) To: "Alain G. Fabry" References: <20081225162900.GA10942@desmo.3rdrock.kicks-ass.net> From: Lowell Gilbert Date: Sat, 27 Dec 2008 10:49:04 -0500 In-Reply-To: <20081225162900.GA10942@desmo.3rdrock.kicks-ass.net> (Alain G. Fabry's message of "Thu\, 25 Dec 2008 17\:29\:00 +0100") Message-ID: <447i5l7h5b.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: SMP and ACPI problem ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 15:49:11 -0000 "Alain G. Fabry" writes (in *extremely* long lines, which I wrapped for him): > To make a long story short....everything worked fine on my system > (7.0-RELEASE FreeBSD). Last night I was updating stuff on my windoswXP > guess (under qemu) and performed a clean shutdown. > > This morning, after bringing back up my system it has been unbearably > slow. Without doing anyting to FreeBSD, it suddenly started working in > SMP mode -> recognizing my 2 processors. Before, it never did > this...and looking at the speed it is going now, I'm happy it didn't. > > After googling a bit, I tried to disable ACPI in order to fall back to > single processor mode, but my system keeps acting up like it never did > before. Very slow booting and KDM/KDE loading. Once up it's ok until I > run a portupgrade or such. That's weird all right. My first guess would be interrupt problems. vmstat(8) will show you what is happening on that front. > 1. What are some suggestions as to make it run 'normal' again? > You need to understand what's going wrong first. > 2. Is it possible to make it actually run better in SMP mode? Your system has an SMP kernel, I presume? [The GENERIC kernel does, these days.] > 3. Can my updates on the Qemu WindowsXP host make my FreeBSD system > suddenly recognize the 2nd CPU? -> this doesn't make sense to me but > that's the only thing I worked on last night. Vanishingly unlikely, but not completely impossible. > I hope I can get some pointers as to what could have caused this and > what I can do to get it back to the way it was. I wouldn't be surprised if it were a hardware problem, which can be tricky to trace down from the software side. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:54:09 2008 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 8B35B1065679 for ; Sat, 27 Dec 2008 15:54:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 606E78FC1F for ; Sat, 27 Dec 2008 15:54:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 18527 invoked from network); 27 Dec 2008 15:54:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 15:54:08 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id E7F8D50820; Sat, 27 Dec 2008 10:54:05 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 559561CEE7; Sat, 27 Dec 2008 10:54:04 -0500 (EST) To: af300wsm@gmail.com References: <001636458c861e94e4045ef719cf@google.com> From: Lowell Gilbert Date: Sat, 27 Dec 2008 10:54:03 -0500 In-Reply-To: <001636458c861e94e4045ef719cf@google.com> (af300wsm@gmail.com's message of "Fri\, 26 Dec 2008 18\:14\:38 +0000") Message-ID: <443ag97gx0.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: Having issues with the nvidia driver on my box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 15:54:09 -0000 af300wsm@gmail.com writes: > For several reasons, one of which was to use the nvidia driver for my > board, I switched from amd64 to i386. So, I installed the driver and > although things are working I'm getting this on console 0: > > NVRM: AGP cannot be enabled on this combination of the amd CPU and OS kernel > NVRM: kernel upgrade recommended Do you have AGP in the kernel? > So, when I installed the nvidia driver I said to enable AGP. (Figuring > only that this is an AGP board, why not?) If you say 'no' to that, I think it will use its own AGP driver instead of the native one. > ps in case it matters, my board is rather "old." I purchased it 4 > years ago and as I'm not a gamer, it suffices quite nicely. Here's > the driver I had to install for support of this chip: > > nvidia-driver-96.43.07 NVidia graphics card binary drivers for > hardware OpenGL ren What do you use NVidia's driver for? If find that the open-source nv driver works just fine for most things (I, too, do not play games on my desktop computer). Until I installed Google Earth, the proprietary driver was completely unnecessary for me. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 16:01:39 2008 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 8BD35106564A for ; Sat, 27 Dec 2008 16:01:39 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 62D048FC1F for ; Sat, 27 Dec 2008 16:01:39 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4571 invoked from network); 27 Dec 2008 16:01:39 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 16:01:38 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 482E650820; Sat, 27 Dec 2008 11:01:36 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id D61641D12B; Sat, 27 Dec 2008 11:01:34 -0500 (EST) To: "Richard Yang" References: From: Lowell Gilbert Date: Sat, 27 Dec 2008 11:01:34 -0500 In-Reply-To: (Richard Yang's message of "Fri\, 26 Dec 2008 12\:27\:32 -0800") Message-ID: <44y6y16201.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: nat and ipfw, port forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 16:01:39 -0000 "Richard Yang" writes: > i have a ssh machine behind a freebsd firewall with nat and ipfw. > how do i make port forwarding so internet can access the ssh machine? Use 'redirect_port' with natd(8). This is extensively documented in the Handbook: http://www.freebsd.org/doc/en/books/handbook/network-natd.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 16:19:58 2008 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 55904106564A for ; Sat, 27 Dec 2008 16:19:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2CDAE8FC08 for ; Sat, 27 Dec 2008 16:19:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 23921 invoked from network); 27 Dec 2008 16:19:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Dec 2008 16:19:57 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 8DA6E50820; Sat, 27 Dec 2008 11:19:54 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id BBB9F1CEE7; Sat, 27 Dec 2008 11:19:52 -0500 (EST) To: "Marcel Grandemange" References: <045701c967b6$d668c8f0$833a5ad0$@za.net> From: Lowell Gilbert Date: Sat, 27 Dec 2008 11:19:52 -0500 In-Reply-To: <045701c967b6$d668c8f0$833a5ad0$@za.net> (Marcel Grandemange's message of "Sat\, 27 Dec 2008 02\:05\:33 +0200") Message-ID: <44tz8p615j.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: EOIP Tunnels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 16:19:58 -0000 "Marcel Grandemange" writes: > Does FreeBSD support EOIP tunnels? The kernel used to, and the code seems to still be around, but it may not be used much any more. There are netgraph nodes that you should be able to build it out of as well. > If so where can I find more info? I'd look at the manuals for netgraph's Ethernet nodes, and perhaps the GIF source code. But I'd *really* recommend you tunnel IP rather than ethernet if you can. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 16:47:43 2008 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 1170C106564A for ; Sat, 27 Dec 2008 16:47:43 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 879CD8FC1D for ; Sat, 27 Dec 2008 16:47:42 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id mBRGlIsD080592; Sat, 27 Dec 2008 16:47:27 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk mBRGlIsD080592 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1230396448; bh=OzjQ4GvFEhGEX9 jQ3ODooGxYwDRyU94Fb6I7YXFZBqk=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<49565C10.1010505@infracaninophile.co.uk>|Date:=20Sat,=2 027=20Dec=202008=2016:47:12=20+0000|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.18=20(X11/20081125)|MIME-Version:=201 .0|To:=20User=20Questions=20|CC:=20N oah=20|Subject:=20Re:=20running=20shell=20comma nd=20through=20ssh=20tunnel|References:=20<4955887F.1090704@enabled .com>=20<44bpux7hjx.fsf@lowell-desk.lan>|In-Reply-To:=20<44bpux7hjx .fsf@lowell-desk.lan>|X-Enigmail-Version:=200.95.6|Content-Type:=20 multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"ap plication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig23F 7755DC2D7A4C709656272"; b=RrONVyaXzlVggo8TkTW5WRantIpcEOB2q3FvZjnOT oA3RTcyecxNEGKr5ymr92G/KEhltDGcAmCyasmiuaIlbB1z3wCaoXyr81WYRDmgmdGi eOYivRmEfJg7BN7HIRPabC06q0quyNIKtr4xCdiI6KciIYt88DzWiOoWtSGvkoQ= Message-ID: <49565C10.1010505@infracaninophile.co.uk> Date: Sat, 27 Dec 2008 16:47:12 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: User Questions References: <4955887F.1090704@enabled.com> <44bpux7hjx.fsf@lowell-desk.lan> In-Reply-To: <44bpux7hjx.fsf@lowell-desk.lan> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig23F7755DC2D7A4C709656272" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 27 Dec 2008 16:47:28 +0000 (GMT) X-Virus-Scanned: ClamAV 0.94.2/8802/Sat Dec 27 04:59:54 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Noah Subject: Re: running shell command through ssh tunnel 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, 27 Dec 2008 16:47:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig23F7755DC2D7A4C709656272 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Lowell Gilbert wrote: > Noah writes: >=20 >> I am trying to run a shell command to the host at the far end of an ss= h >> tunnel. Here is how I structured access. Is there any way to do thi= s >> more compactly on one line? >> >> >> ssh -L 12345:192.168.1.20:22 noah@domain.com >> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' >=20 > Maybe I haven't had enough coffee yet, but wouldn't that just be > ssh noah@192.168.1.20 'chown -R noah:noah /shares/internal/Music/' > ? You might even want to use '-n' as an option to the ssh command. ENOCOFFEE. Your equivalence is only the case if you're already logged into 'domain.com' This is a fairly standard idiom for tunnelling a netwo= rk connection in through a NAT gateway or a firewall from an external Intern= et site to a protected RFC 1918 internal back-end, although the forwarded pr= otocol is usually other than SSH. Given that the OP is wanting to tunnel SSH through SSH, a one-liner to achieve his desired effect might be something like: ssh noah@domain.com ssh noah@192.168.1.20 chown -R noah:noah /shares/inte= rnal/Music/ Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig23F7755DC2D7A4C709656272 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklWXBYACgkQ8Mjk52CukIwL2gCdEpgl05qGEY8pgPyjxxf9wh/i eLcAn1nTHzqXP631xSigoF4RVarKE8pQ =2p8o -----END PGP SIGNATURE----- --------------enig23F7755DC2D7A4C709656272-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 17:00:30 2008 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 C994D1065673 for ; Sat, 27 Dec 2008 17:00:30 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA648FC14 for ; Sat, 27 Dec 2008 17:00:30 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id mBRH0GTg021959; Sat, 27 Dec 2008 11:00:17 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081227105751.0267ade8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 27 Dec 2008 11:00:05 -0600 To: reese@adeptscience.com, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <49552461.25264.5D35D1@localhost> References: <49552461.25264.5D35D1@localhost> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081226-0, 12/26/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.94.2-exp/8802/Fri Dec 26 22:59:54 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: mBRH0GTg021959 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: strange fsck results 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, 27 Dec 2008 17:00:30 -0000 At 12:37 PM 12/26/2008, reese@adeptscience.com wrote: >I am running FreeBSD 6.3 as a VMware virtual server and am getting some >strange results when I run fsck. When I run it in multi-user mode I get >quite a few UNREF FILE errors but when I switch to single user mode >fsck does not find any errors. Is this something I need to worry about >and if it is how might I try to get fsck to repair them? > > >TIA >Charlie Reese You need to give a bit more information: Are you running your VM under esx server or workstation? What is your filesystem layout under freebsd. What is the underlying server and disks you are running vmware on? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 17:03:42 2008 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 5C5841065670 for ; Sat, 27 Dec 2008 17:03:42 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8FA8FC19 for ; Sat, 27 Dec 2008 17:03:42 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so6239644wfg.7 for ; Sat, 27 Dec 2008 09:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=c+hFTHRHF5ECyC1eSCyxuf54AIJbxiEUhokGbH16xuM=; b=n/5pEu8uOi4OxEMG6TmmomDsFYQNUsRsJdbSQ5n7lStTvZKZoVKsPDX09AGHfzoOhY JT6FfonZffVn2ecoai/U1EtmCR4rrF50NNrFHNEem850F7wdzRtZ+oGO8zEaBlMHM9jS YEnFIG9/cFRLU5qsgvrVV/9G2YqySieeD/X48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=RrRgz40Yo544+5d/cqwtsEAETSv6OcFlJYITq8qc//46EMz46Un96NIZqmnXjva46v /Ybm/e0j0OwIEQkaAYA07yL49Nit+UdnCxJksGlHuIiEfzs8af36xQeZXgI7xUYRMuWr w1gv4FWVxZrnn91oRIUyYrHsQxEbtqq2wTESA= Received: by 10.143.1.12 with SMTP id d12mr4909130wfi.189.1230396053855; Sat, 27 Dec 2008 08:40:53 -0800 (PST) Received: by 10.142.166.4 with HTTP; Sat, 27 Dec 2008 08:40:53 -0800 (PST) Message-ID: Date: Sat, 27 Dec 2008 17:40:53 +0100 From: usleepless@gmail.com To: "Richard Yang" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: nat and ipfw, port forwarding 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, 27 Dec 2008 17:03:42 -0000 Hi Ricard, On Fri, Dec 26, 2008 at 9:27 PM, Richard Yang wrote: > hi, > i have a ssh machine behind a freebsd firewall with nat and ipfw. > how do i make port forwarding so internet can access the ssh machine? > thanx > i think you need to configure /etc/ipnat.conf ( read 'man ipnat' ). this is a example definition: rdr em1 0.0.0.0/0 port 2223 -> 192.168.1.96 port 22 ( this redirects incoming traffic on outside-interface em1 port 2223 to an internal machine on port 22 ) also, include "firewall_nat_enable" in your rc.conf ( read 'man rc.conf' ) to configure the settings from ipnat.conf, run "ipnat -C -f /etc/ipnat.conf" regards, usleep > -- > > Best Regards > > Richard Yang > richardyang@richardyang.net > kusanagiyang@gmail.com > _______________________________________________ > 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 Sat Dec 27 19:08:35 2008 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 96179106564A for ; Sat, 27 Dec 2008 19:08:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 656C38FC13 for ; Sat, 27 Dec 2008 19:08:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 9AB07AFBC02; Sat, 27 Dec 2008 10:08:34 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 27 Dec 2008 10:08:34 -0900 User-Agent: KMail/1.9.10 References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> In-Reply-To: <49502764.10405@sequestered.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271008.34277.fbsd.questions@rachie.is-a-geek.net> Cc: Corey Chandler , Nerius Landys Subject: Re: Wireless router? 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, 27 Dec 2008 19:08:35 -0000 On Monday 22 December 2008 14:48:52 Corey Chandler wrote: > Failing that, the > Linksys WRT54GL isn't a half bad unit. Yes it is a half bad unit. If you make changes to routing or firewall rules, you need to unplug everything, power cycle it, say a prayer and hope it works. I never got it working correctly at a previous location. Over here it works, but have no need for it anymore, since a FreeBSD wireless router is doing it's job. There are many advantages of using a full-blown computer for (wireless) routing/nat/firewall, most notably the diagnostics that are available. Our FreeBSD nat is using: PPP/ADSL to provider: fxp0@pci0:2:8:0: class=0x020000 card=0x30138086 chip=0x24498086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82559ER 82559ER Integrated 10Base-T/100Base-TX Ethernet Controller' class = network subclass = ethernet Wireless: ath0@pci0:2:10:0: class=0x020000 card=0x7057144f chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class = network subclass = ethernet Wire, soon to be upgraded to Gbit: xl0@pci0:2:11:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x78 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905 CX-TX-M Fast EtherLink for PC Management NIC' class = network subclass = ethernet ISC dhcpd, pf including altq provide the services. Currently connected with an Intel wpi(4), mother in law a few houses down uses some linksys card on windows, daughter uses a D-Link wireless with atheros chip on Kubuntu. Currently using WEP, but that'll change when lagg(4) will support WPA on wireless interfaces or when I get tired of waiting and decide to netgraph it myself somehow. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:24:42 2008 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 317C0106564A for ; Sat, 27 Dec 2008 19:24:42 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id 09B128FC08 for ; Sat, 27 Dec 2008 19:24:42 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from singularity.sequestered.net (unknown [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id A523B68033; Sat, 27 Dec 2008 11:24:28 -0800 (PST) Message-ID: <495680E9.7070800@sequestered.net> Date: Sat, 27 Dec 2008 11:24:25 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: raggen@raggens.net References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> <49503F7D.8060805@sequestered.net> <4950EAD1.6070802@telia.com> In-Reply-To: <4950EAD1.6070802@telia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1231010669.18492@P7QVDrgRws5gC4lAMu/h6A X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: A523B68033.625CB X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6, autolearn=not spam) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: freebsd-questions@freebsd.org, Nerius Landys Subject: Re: Wireless router? 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, 27 Dec 2008 19:24:42 -0000 Roger Olofsson wrote: > > > Corey Chandler skrev: >> Nerius Landys wrote: >>> Thank you all for your suggestions. This will be a project for me >>> over the holidays. I decided to go the standalone wireless router >>> approach. >> Good man! >>> I will need to figure out how to configure my standalone >>> wireless router to "pass everything through" to the internal LAN that >>> I already have. >> It's called "Bridge mode" on most APs-- it does exactly what you >> describe. Just make sure things like "DHCP server" are turned off or >> you'll see some... odd breakages. >>> Also I don't know too much about security, like how >>> to prevent eavesdroppers from connecting to my internal network. One >>> of you mentioned access lists, and I assume that means I tell the >>> wireless router which MAC addresses it accepts, and nothing else. >> Ugh. MAC addresses are trivial to spoof-- I usually don't bother >> with using them for security, although I do use 'em to ensure that >> particular machines always inherit particular addresses. >> >>> Is there any other way to provide security? Like a password-protected >>> network? What are the buzzwords for these security schemes? Which >>> security scheme do you recommend for preventing random people within >>> proximity from connecting to my internal netowrk? >>> >> >> Absolutely. Google for WPA or WPA2; WEP has been broken and is >> trivial to bruteforce, so I'd not bother with that. >> >> Once you get the unit in, feel free to email me off list for >> configuration questions; it sounds like a fun project! >> >> -- CJC >> _______________________________________________ >> 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" >> >> >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus >> Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 >> > > Hello Corey, > > I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - > as well as ips to the FreeBSD gateway and dns. This is for the LAN > part of the router - then another internal LAN ip for the wifi part. > > To examplify. > > Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns > 192.168.0.10 and 192.168.0.11. > > Wifi wifi part - network 10.0.0.1 - 10.0.0.10. The problem with doing that is a lot of systems start throwing weird errors in a double NAT environment. I'd probably avoid that step and restrict wireless to its own VLAN if I were to go that route... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:28:12 2008 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 769AF106564A for ; Sat, 27 Dec 2008 19:28:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 478298FC16 for ; Sat, 27 Dec 2008 19:28:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 988DBAFBC02; Sat, 27 Dec 2008 10:28:11 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, bseklecki@collaborativefusion.com Date: Sat, 27 Dec 2008 10:28:11 -0900 User-Agent: KMail/1.9.10 References: <1230146554.4673.265.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> In-Reply-To: <1230146554.4673.265.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271028.11339.fbsd.questions@rachie.is-a-geek.net> Cc: Bill Moran Subject: Re: Default list of exported variables in sh(1) - $HOSTNAME 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, 27 Dec 2008 19:28:12 -0000 On Wednesday 24 December 2008 10:22:34 Brian A. Seklecki wrote: > All: > > I've got a fun problem ... > > I'm having trouble tracking down where the default list of exported > variables is set for sh(1). > > I've got a piece of PHP code that runs on GNU/Linux but not FreeBSD > because (I think) $HOSTNAME is exported by default. > > The PHP CLI calls $_ENV["HOSTNAME"], which under GNU/Linux returns: > > $ php -r 'print gethostbyaddr(gethostbyname($_ENV["HOSTNAME"]))' > soundwave.ws....collaborativefusion.com > > In HTTP/CGI mode, I can call $_SERVER[]. But $_ENV[] should work in both > CLI and HTTP mode. > > However, because Apache is spawned from sh(1) from rc(8) and in FreeBSD > 6.x, $HOSTNAME is not exported by default, which is what $_ENV[] uses > (getenv()): > > $ uname -a > FreeBSD bdb00 6.3-RELEASE-p2 > $ export > SSH_CLIENT > USER > MAIL > HOME > SSH_TTY > PAGER > ENV > LOGNAME > BLOCKSIZE > TERM > PATH > SHELL > SSH_CONNECTION > FTP_PASSIVE_MODE > EDITOR I suspect linux to set them from .profile files (even /etc/profile) and not hardcoded in a shell or login program. The default skeletons in /usr/share/skel on FreeBSD does not set them. Neither does /etc/login.conf. I would set it in /etc/profile. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:29:08 2008 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 69F0C1065674 for ; Sat, 27 Dec 2008 19:29:08 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from alcatraz.sequestered.net (alcatraz.sequestered.net [24.199.11.2]) by mx1.freebsd.org (Postfix) with ESMTP id 48EF08FC08 for ; Sat, 27 Dec 2008 19:29:08 +0000 (UTC) (envelope-from lists@sequestered.net) Received: from singularity.sequestered.net (unknown [192.168.1.1]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jay@sequestered.net) by alcatraz.sequestered.net (Postfix) with ESMTPSA id 0FAE668033; Sat, 27 Dec 2008 11:28:06 -0800 (PST) Message-ID: <495681BC.9050708@sequestered.net> Date: Sat, 27 Dec 2008 11:27:56 -0800 From: Corey Chandler User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Mel References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <200812271008.34277.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200812271008.34277.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SEQUESTERED-NET-MailScanner-Watermark: 1231010907.75469@VeLtkB+U9nk0HGYIc8RoUA X-SEQUESTERED-NET-MailScanner-Information: Please contact Sequestered.net support for more information X-MailScanner-ID: 0FAE668033.E2116 X-SEQUESTERED-NET-MailScanner: Found to be clean X-SEQUESTERED-NET-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6, autolearn=not spam) X-SEQUESTERED-NET-MailScanner-From: lists@sequestered.net X-Spam-Status: No Cc: freebsd-questions@freebsd.org, Nerius Landys Subject: Re: Wireless router? 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, 27 Dec 2008 19:29:08 -0000 Mel wrote: > On Monday 22 December 2008 14:48:52 Corey Chandler wrote: > >> Failing that, the >> Linksys WRT54GL isn't a half bad unit. >> > > Yes it is a half bad unit. Absolutely-- if you're running out of the box firmware. I use DD-WRT or Tomato specifically to get around the issues you describe. The reason I go for the GL is that it's a more robust platform than their standard wrt-54g, which for some ungodly reason they started stripping flash and processing power out of after their switch to VxWorks. --CJC From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:41:42 2008 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 29B211065673 for ; Sat, 27 Dec 2008 19:41:42 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EA8638FC08 for ; Sat, 27 Dec 2008 19:41:41 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 273A5AFBC02; Sat, 27 Dec 2008 10:41:40 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 27 Dec 2008 10:41:39 -0900 User-Agent: KMail/1.9.10 References: <49551091.5000009@itlegion.ru> In-Reply-To: <49551091.5000009@itlegion.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271041.39903.fbsd.questions@rachie.is-a-geek.net> Cc: Artem Kuchin Subject: Re: 3ware array access lock up on 7.1-RC 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, 27 Dec 2008 19:41:42 -0000 On Friday 26 December 2008 08:12:49 Artem Kuchin wrote: > I am not even sure that it is related to freebsd, but maybe someone could > point out the problem. > > We wanted to upgrade our hosting server from > FreeBSD 6.2, 3ware 8506-4LP SATA RAID, raid 5 > to > FreeBSD 7.1 (RC for now), 9550SXU-4LP, raid 10 > > We have tested the new installation on ASUS P5K WS motherboard > with PCI-X slot while the server kept running. > > The server has Supermicro X5DPE-G2 (pretty old one, 2004). > > So, when everything was ready, i just took out the old controller and > disks and installed the new controller and the array disks. > > The system booted up, but when i started very intense file operations > the file > system just froze. The weird thing is that any open program which does > not use > filesystem kept running fine. For example, i could type and edit in open > ee editor, > but copying progress bar in midnight commander just stood still. If i > tried to save file > or open file or do anything disk related from ee in another console the > program froze too, > apparently waiting for disk system to reply forever (i tried waiting for > 20 minutes). > I could even connect to ssh port, but it does not auth because sshd > needs to read something > from the disk. > I put everything back into Asus P5K WS and tested it. Everything worked > fine again. > > Any idea what might going on here? OS bugs aside, a dead disk that keeps getting IO request explains all symptoms. Dead can also mean, faulty cable, buggy connector. I would expect the hardware raid controller to pick up on it though and remove it from the array. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:44:20 2008 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 DA2561065670 for ; Sat, 27 Dec 2008 19:44:20 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 97C538FC17 for ; Sat, 27 Dec 2008 19:44:20 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 8B1D2192D1; Sat, 27 Dec 2008 14:44:18 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sat, 27 Dec 2008 14:44:18 -0500 (EST) Date: Sat, 27 Dec 2008 19:44:12 +0000 From: Bruce Cran To: Corey Chandler Message-ID: <20081227194412.780b750b@gluon> In-Reply-To: <495681BC.9050708@sequestered.net> References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <200812271008.34277.fbsd.questions@rachie.is-a-geek.net> <495681BC.9050708@sequestered.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Nerius Landys , Mel , freebsd-questions@freebsd.org Subject: Re: Wireless router? 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, 27 Dec 2008 19:44:20 -0000 On Sat, 27 Dec 2008 11:27:56 -0800 Corey Chandler wrote: > Mel wrote: > > On Monday 22 December 2008 14:48:52 Corey Chandler wrote: > > > >> Failing that, the > >> Linksys WRT54GL isn't a half bad unit. > >> > > > > Yes it is a half bad unit. > > Absolutely-- if you're running out of the box firmware. I use DD-WRT > or Tomato specifically to get around the issues you describe. The > reason I go for the GL is that it's a more robust platform than their > standard wrt-54g, which for some ungodly reason they started > stripping flash and processing power out of after their switch to > VxWorks. Probably because they realised they could get away with less memory and a slower CPU because code runs more efficiently on VxWorks vs. Linux on the same hardware. Of course it also provides fewer features than Linux, so I'd prefer a Linux-based router over VxWorks. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 19:50:02 2008 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 CD7F3106564A for ; Sat, 27 Dec 2008 19:50:02 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from av12-2-sn2.hy.skanova.net (av12-2-sn2.hy.skanova.net [81.228.8.186]) by mx1.freebsd.org (Postfix) with ESMTP id 600E18FC23 for ; Sat, 27 Dec 2008 19:50:02 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: by av12-2-sn2.hy.skanova.net (Postfix, from userid 502) id F3E05399C2; Sat, 27 Dec 2008 20:50:00 +0100 (CET) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av12-2-sn2.hy.skanova.net (Postfix) with ESMTP id 930F6399BC; Sat, 27 Dec 2008 20:50:00 +0100 (CET) Received: from [192.168.1.31] (90-227-65-237-no41.tbcn.telia.com [90.227.65.237]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id D392337E46; Sat, 27 Dec 2008 20:49:59 +0100 (CET) Message-ID: <495686E2.8090702@telia.com> Date: Sat, 27 Dec 2008 20:49:54 +0100 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Corey Chandler References: <560f92640812221349y683a7cbhce8ae0f22a8bedf0@mail.gmail.com> <4950245D.5090006@telia.com> <49502764.10405@sequestered.net> <560f92640812221631l777631eaga00687a7e3dafe77@mail.gmail.com> <49503F7D.8060805@sequestered.net> <4950EAD1.6070802@telia.com> <495680E9.7070800@sequestered.net> In-Reply-To: <495680E9.7070800@sequestered.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: raggen@raggens.net, freebsd-questions@freebsd.org, Nerius Landys Subject: Re: Wireless router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 19:50:03 -0000 Corey Chandler skrev: > Roger Olofsson wrote: >> >> >> Corey Chandler skrev: >>> Nerius Landys wrote: >>>> Thank you all for your suggestions. This will be a project for me >>>> over the holidays. I decided to go the standalone wireless router >>>> approach. >>> Good man! >>>> I will need to figure out how to configure my standalone >>>> wireless router to "pass everything through" to the internal LAN that >>>> I already have. >>> It's called "Bridge mode" on most APs-- it does exactly what you >>> describe. Just make sure things like "DHCP server" are turned off or >>> you'll see some... odd breakages. >>>> Also I don't know too much about security, like how >>>> to prevent eavesdroppers from connecting to my internal network. One >>>> of you mentioned access lists, and I assume that means I tell the >>>> wireless router which MAC addresses it accepts, and nothing else. >>> Ugh. MAC addresses are trivial to spoof-- I usually don't bother >>> with using them for security, although I do use 'em to ensure that >>> particular machines always inherit particular addresses. >>> >>>> Is there any other way to provide security? Like a password-protected >>>> network? What are the buzzwords for these security schemes? Which >>>> security scheme do you recommend for preventing random people within >>>> proximity from connecting to my internal netowrk? >>>> >>> >>> Absolutely. Google for WPA or WPA2; WEP has been broken and is >>> trivial to bruteforce, so I'd not bother with that. >>> >>> Once you get the unit in, feel free to email me off list for >>> configuration questions; it sounds like a fun project! >>> >>> -- CJC >>> _______________________________________________ >>> 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" >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> No virus found in this incoming message. >>> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus >>> Database: 270.10.0/1861 - Release Date: 2008-12-22 11:23 >>> >> >> Hello Corey, >> >> I don't use 'bridge mode'. I set a normal LAN ip for the wifi router - >> as well as ips to the FreeBSD gateway and dns. This is for the LAN >> part of the router - then another internal LAN ip for the wifi part. >> >> To examplify. >> >> Wifi router LAN part - ip 192.168.0.20, gateway 192.168.0.1, dns >> 192.168.0.10 and 192.168.0.11. >> >> Wifi wifi part - network 10.0.0.1 - 10.0.0.10. > The problem with doing that is a lot of systems start throwing weird > errors in a double NAT environment. I'd probably avoid that step and > restrict wireless to its own VLAN if I were to go that route... > _______________________________________________ > 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" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.10.0/1865 - Release Date: 2008-12-26 13:01 > Hello Corey, There is no double NAT involved. /Roger From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 20:06:51 2008 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 9A1FA106564A for ; Sat, 27 Dec 2008 20:06:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6FEBB8FC14 for ; Sat, 27 Dec 2008 20:06:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 82A89AFC201; Sat, 27 Dec 2008 11:06:50 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 27 Dec 2008 11:06:50 -0900 User-Agent: KMail/1.9.10 References: <329760.53824.qm@web53410.mail.re2.yahoo.com> <20081223072719.16f3c047@scorpio> In-Reply-To: <20081223072719.16f3c047@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271106.50265.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: Perl 5.10? 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, 27 Dec 2008 20:06:51 -0000 On Tuesday 23 December 2008 03:27:19 Jerry wrote: > Since it does seem to work quite well under Linux, I was wondering > if there was some fundamental flaw in FBSD that prevented it from > working correctly here. Even so, failing to get a major project like > Perl running properly in over a year on FBSD does not bode well for the > OS. Aside from the rest said in this thread, maybe you should consider the fact that it's a cross platform scripting language's responsibility to provide compatibility for the operating system, not the other way around. Also, Perl should really be cremated already, but you can file that under 'opinion'. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 20:51:05 2008 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 3CB10106564A for ; Sat, 27 Dec 2008 20:51:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B95FD8FC1B for ; Sat, 27 Dec 2008 20:51:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LGg7e-0003s3-3g for freebsd-questions@freebsd.org; Sat, 27 Dec 2008 20:50:58 +0000 Received: from pool-138-88-90-120.res.east.verizon.net ([138.88.90.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Dec 2008 20:50:58 +0000 Received: from nightrecon by pool-138-88-90-120.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Dec 2008 20:50:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 27 Dec 2008 15:51:02 -0500 Lines: 55 Message-ID: References: <001636458c861e94e4045ef719cf@google.com> <443ag97gx0.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-90-120.res.east.verizon.net Sender: news Subject: Re: Having issues with the nvidia driver on my box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 20:51:05 -0000 Lowell Gilbert wrote: > af300wsm@gmail.com writes: > >> For several reasons, one of which was to use the nvidia driver for my >> board, I switched from amd64 to i386. So, I installed the driver and >> although things are working I'm getting this on console 0: >> >> NVRM: AGP cannot be enabled on this combination of the amd CPU and OS >> kernel NVRM: kernel upgrade recommended > > Do you have AGP in the kernel? > >> So, when I installed the nvidia driver I said to enable AGP. (Figuring >> only that this is an AGP board, why not?) > > If you say 'no' to that, I think it will use its own AGP driver instead > of the native one. This reminds me of a situation I had on an old KT-400a chipset. Some VIA chipsets had a weak signal condition on one of the AGP pins. The way to make it work was to remove device agp from the kernel, install the nvidia-drivers, and place Option "NvAgp" "1" in the xorg.conf. I do not believe the OP scenario is a match, as his is working while mine would only show colored bars and trash on the screen. I don't recall which is the default, but here are the options available: Option "NvAgp" "0" Disable AGP Option "NvAgp" "1" Use NVIDIA's AGP GART Driver Option "NvAgp" "2" Use the OS AGP GART driver (agp.ko) Option "NvAgp" "3" Attempt "2", fall back to "1" Perhaps placing an appropriate choice in Section "Device" will nuke the error message. The OP can probably discern which AGP is being used from the Xorg.0.log file and choose accordingly. >> ps in case it matters, my board is rather "old." I purchased it 4 >> years ago and as I'm not a gamer, it suffices quite nicely. Here's >> the driver I had to install for support of this chip: >> >> nvidia-driver-96.43.07 NVidia graphics card binary drivers for >> hardware OpenGL ren [snip] The nvidia-driver ports being broken up into sub-ports because NVidia broke their monolithic into "Legacy" or "New" necessitates the need to dig out of the comments in the Makefiles which port matches which hardware. Since the above mentioned version rev matches one of the port installs I am going to just assume that it is the right one - after all it probably wouldn't work at all if it wasn't. -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:14:26 2008 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 71F1D106564A for ; Sat, 27 Dec 2008 21:14:26 +0000 (UTC) (envelope-from mmitar@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 2FADC8FC19 for ; Sat, 27 Dec 2008 21:14:25 +0000 (UTC) (envelope-from mmitar@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2168800ywe.13 for ; Sat, 27 Dec 2008 13:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=jPh2SHd5Sk4n9B6bpTzsDApGeGvjniBve/FGHdohf9s=; b=Ny3AZD4Fdwl+SJDC+r0sUYf/jZArOEr2eSgpLY8ZR+rmZ48Nd6qAlU5P3+XwLZnkgU R2MG9qgLYiAv3BIPOOM3O48RbCy4A9W0PT+gRRJMpc/CuVLr2GSU6Xbk1kjINWOvl/sQ LgUku6woy31KaMwJ7IWMmAIhdMshGtug8JGbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=wzdd+QhvlzuYTzl0J4hREWL3eaZRHFPxmuxsF5d9q0amqRPnrXW1NzjtAU9ROqcxRU qyDUjXuDzf41QlD6axSB3S+CXlgP8bXh0k6itVG2UJ+mxOAuhdlkNPtTSt9TzQ8nEJN9 qCVie6DnlcvCdwgEhz3XU9CRYdHUGnx/nCwiQ= Received: by 10.100.254.15 with SMTP id b15mr6948694ani.35.1230410763743; Sat, 27 Dec 2008 12:46:03 -0800 (PST) Received: by 10.100.6.8 with HTTP; Sat, 27 Dec 2008 12:46:03 -0800 (PST) Message-ID: Date: Sat, 27 Dec 2008 21:46:03 +0100 From: Mitar To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Open with O_APPEND fails 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, 27 Dec 2008 21:14:26 -0000 Hi! I discovered that open syscall with only O_APPEND fails with "permission denied" if an user does not have rights to write to a file (what is normal) even if it is root (what is a surprise). For example, if I have a file owned by www:www and with 644 permissions root cannot do open("testfile", O_APPEND) call. If I change ownership of I change permission to for example 666, call succeedes. This works on Linux (Debian). So this is a feature? Or a bug? (I discovered that because htpasswd failed to add new username/password pair (ran as root) to a file owner by www.) Checked on FreeBSD 7.0-STABLE. Mitar From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:31:35 2008 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 1CB5C1065677 for ; Sat, 27 Dec 2008 21:31:35 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0A9558FC13 for ; Sat, 27 Dec 2008 21:31:35 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.0.135] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mBRLVYjc014502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 27 Dec 2008 13:31:34 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <49569EB1.9050803@enabled.com> Date: Sat, 27 Dec 2008 13:31:29 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4955887F.1090704@enabled.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: running shell command through ssh tunnel 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, 27 Dec 2008 21:31:35 -0000 Christian Laursen wrote: > Noah writes: > >> I am trying to run a shell command to the host at the far end of an ssh >> tunnel. Here is how I structured access. Is there any way to do this >> more compactly on one line? >> >> >> ssh -L 12345:192.168.1.20:22 noah@domain.com >> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' > > Put something like the following in your ~/.ssh/config: > > Host otherhost > HostKeyAlias otherhost > ProxyCommand ssh noah@domain.com nc 192.168.1.20 22 > > Then you can simply run: > > ssh otherhost 'chown -R noah:noah /shares/internal/Music/' I cant do this since I need to reach a publicly addressable host before reaching the server at 192.168.1.20 > > > Reading the ssh_config man page might reveal a number of other nice > features ssh has to offer. > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:33:11 2008 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 7E637106564A for ; Sat, 27 Dec 2008 21:33:11 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6C91C8FC19 for ; Sat, 27 Dec 2008 21:33:11 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.0.135] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mBRLXBJL014544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 27 Dec 2008 13:33:11 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <49569F12.5070504@enabled.com> Date: Sat, 27 Dec 2008 13:33:06 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: User Questions References: <4955887F.1090704@enabled.com> <44bpux7hjx.fsf@lowell-desk.lan> In-Reply-To: <44bpux7hjx.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: running shell command through ssh tunnel 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, 27 Dec 2008 21:33:11 -0000 Lowell Gilbert wrote: > Noah writes: > >> I am trying to run a shell command to the host at the far end of an ssh >> tunnel. Here is how I structured access. Is there any way to do this >> more compactly on one line? >> >> >> ssh -L 12345:192.168.1.20:22 noah@domain.com >> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' > > Maybe I haven't had enough coffee yet, but wouldn't that just be > ssh noah@192.168.1.20 'chown -R noah:noah /shares/internal/Music/' > ? You might even want to use '-n' as an option to the ssh command. I cant do this since I need to reach a publicly addressable host before reaching the server at 192.168.1.20 . Therefore I am under the impression I need to tunnel through the publicly addressed host first then I can ssh to 192.168.1.20 . From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:33:52 2008 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 8ABA0106567D for ; Sat, 27 Dec 2008 21:33:52 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 38AF98FC13 for ; Sat, 27 Dec 2008 21:33:52 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.0.135] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mBRLXoAZ014574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Dec 2008 13:33:51 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <49569F39.4030209@enabled.com> Date: Sat, 27 Dec 2008 13:33:45 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Matthew Seaman References: <4955887F.1090704@enabled.com> <44bpux7hjx.fsf@lowell-desk.lan> <49565C10.1010505@infracaninophile.co.uk> In-Reply-To: <49565C10.1010505@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: running shell command through ssh tunnel 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, 27 Dec 2008 21:33:52 -0000 Matthew Seaman wrote: > Lowell Gilbert wrote: >> Noah writes: >> >>> I am trying to run a shell command to the host at the far end of an ssh >>> tunnel. Here is how I structured access. Is there any way to do this >>> more compactly on one line? >>> >>> >>> ssh -L 12345:192.168.1.20:22 noah@domain.com >>> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' >> >> Maybe I haven't had enough coffee yet, but wouldn't that just be >> ssh noah@192.168.1.20 'chown -R noah:noah /shares/internal/Music/' >> ? You might even want to use '-n' as an option to the ssh command. > > ENOCOFFEE. Your equivalence is only the case if you're already logged > into 'domain.com' This is a fairly standard idiom for tunnelling a network > connection in through a NAT gateway or a firewall from an external Internet > site to a protected RFC 1918 internal back-end, although the forwarded > protocol > is usually other than SSH. > > Given that the OP is wanting to tunnel SSH through SSH, a one-liner to > achieve his desired effect might be something like: > > ssh noah@domain.com ssh noah@192.168.1.20 chown -R noah:noah > /shares/internal/Music/ you will the prize. please retrieve it on the way out. :) > > Cheers, > > Matthew > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:36:00 2008 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 29A331065673 for ; Sat, 27 Dec 2008 21:36:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id E71798FC18 for ; Sat, 27 Dec 2008 21:35:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mBRLaPSA071984; Sat, 27 Dec 2008 13:36:26 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 27 Dec 2008 13:35:51 -0800 (PST) Date: Sat, 27 Dec 2008 13:35:51 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20081227213551.GA75428@thought.org> References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> <8763l61gbd.fsf@kobe.laptop> <20081227094012.GA39306@thought.org> <87zlihixlt.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zlihixlt.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 21:36:00 -0000 On Sat, Dec 27, 2008 at 02:58:06PM +0200, Giorgos Keramidas wrote: > On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline wrote: > > howdy, > > > > in a word, YES, /usr/bin/cmp saved the save before i unlinked the > > oldfile. here is the strangeness. maybe you know, giorgos, or > > somebody else on-list. At first--before i got smart and used your > > snprintf to simply /bin/cp and then unlink---yes, or /bin/mv, or > > simply rename()--- Before, while i creating via fgets/fputs a new > > file, everything went fine until i ran out of buffer space. i > > increased to buf[4096] to buf[65535]. more files were successfully > > copied from dos\;5 to .dos/*.htm, actually. suddenly, cmp caught a > > mismatch and the program exited. a careful diff showed the err a > > something like line 3751. my copy was missing a byte near the EOF: > > > > > > > minus the closing ">" Your code copies flawlessly. I noticed late last night that cmp uses the same byte-by-byte cp and IIRC checks each to make certain they bytes are identical. My copyFile() function simply used fopen, fgets, and fputs. I yanked it from a program that copied files from ~/Mail where the lines were around 80 bytes rather than in the thousands. With few newlines. The gotcha got me, in other words! Thanks much for the function! gary > > There should be no problem when you copy a file using read() and write() > with _any_ buffer size. Even a simple routine that reads byte by byte > and copies the file should work (a bit more of error checking is needed > wherever I have used a (void) cast but you get the idea): > > #include > #include > > /*- > * \brief copy a file, using stdio byte-level read and writes > * > * Copy the `fromname' file to the `toname' file, using only fgetc() > * and fputc() operations from stdio. The internals of stdio are > * free, of course, to use larger read() and write() buffers but all > * this should be "hidden" from the code of copyfile(). > * > * \param fromname The name of the source file to copy. > * \param toname The name of the destination file where > * `fromname' will be copied to. > * > * \return Upon successful completion 0 is > * returned. Otherwise, EOF is returned > * and the global variable errno is set to > * indicate the error. > */ > > int > copyfile(const char *fromname, const char *toname) > { > FILE *ifp; > FILE *ofp; > int ch; > > if ((ifp = fopen(fromname, "rb")) == NULL) > return -1; > if ((ofp = fopen(toname, "wb")) == NULL) { > (void)fclose(ifp); > return -1; > } > > while ((ch = fgetc(ifp)) != EOF) { > if (fputc(ch, ofp) == EOF) > break; > } > if (ferror(ifp) != 0 || ferror(ofp) != 0) { > (void)unlink(toname); > (void)fclose(ofp); > (void)fclose(ifp); > return -1; > } > > if (fclose(ofp) == EOF) { > (void)fclose(ifp); > return -1; > } > if (fclose(ifp) == EOF) { > return -1; > } > > return 0; > } > > So if you are seeing copy errors when you change the buffer size, you > are doing something odd with your buffers. We would have to see the > actual code if you want more detailed help about possible buffer > handling bugs :) I'll grep -r thru /usr/src to see if any utility actually does use my shortcut! ...Somehow I doubt it. gary > > _______________________________________________ > 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 http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:45:14 2008 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 F3E4F1065688 for ; Sat, 27 Dec 2008 21:45:13 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [213.239.213.48]) by mx1.freebsd.org (Postfix) with ESMTP id B6F788FC0C for ; Sat, 27 Dec 2008 21:45:13 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id 75FA4170A8; Sat, 27 Dec 2008 22:45:12 +0100 (CET) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 2BA2E8CB; Sat, 27 Dec 2008 22:45:12 +0100 (CET) To: freebsd-questions@freebsd.org References: <4955887F.1090704@enabled.com> <49569EB1.9050803@enabled.com> From: Christian Laursen Date: Sat, 27 Dec 2008 22:45:11 +0100 In-Reply-To: <49569EB1.9050803@enabled.com> (Noah's message of "Sat\, 27 Dec 2008 13\:31\:29 -0800") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Noah Subject: Re: running shell command through ssh tunnel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 21:45:14 -0000 Noah writes: > Christian Laursen wrote: >> Noah writes: >> >>> I am trying to run a shell command to the host at the far end of an ssh >>> tunnel. Here is how I structured access. Is there any way to do this >>> more compactly on one line? >>> >>> >>> ssh -L 12345:192.168.1.20:22 noah@domain.com >>> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' >> >> Put something like the following in your ~/.ssh/config: >> >> Host otherhost >> HostKeyAlias otherhost >> ProxyCommand ssh noah@domain.com nc 192.168.1.20 22 >> >> Then you can simply run: >> >> ssh otherhost 'chown -R noah:noah /shares/internal/Music/' > > > I cant do this since I need to reach a publicly addressable host > before reaching the server at 192.168.1.20 Yes, that's exactly what it does. Try reading the mail one more time and look up how ProxyCommand works... -- Christian Laursen From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 21:58:51 2008 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 92F851065673 for ; Sat, 27 Dec 2008 21:58:51 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2228FC1E for ; Sat, 27 Dec 2008 21:58:50 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl57-25.kln.forthnet.gr [77.49.184.25]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBRLwa8k026967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Dec 2008 23:58:42 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBRLwa5M037784; Sat, 27 Dec 2008 23:58:36 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBRLwZUL037783; Sat, 27 Dec 2008 23:58:35 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Gary Kline References: <20081227011335.GA29354@thought.org> <87ocyy2you.fsf@kobe.laptop> <20081227015634.GB29639@thought.org> <8763l61gbd.fsf@kobe.laptop> <20081227094012.GA39306@thought.org> <87zlihixlt.fsf@kobe.laptop> <20081227213551.GA75428@thought.org> Date: Sat, 27 Dec 2008 23:58:35 +0200 In-Reply-To: <20081227213551.GA75428@thought.org> (Gary Kline's message of "Sat, 27 Dec 2008 13:35:51 -0800") Message-ID: <87k59lgu0k.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBRLwa8k026967 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.302, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.10, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: FreeBSD Mailing List Subject: Re: how can i be certain that a file has copied exactly? 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, 27 Dec 2008 21:58:51 -0000 On Sat, 27 Dec 2008 13:35:51 -0800, Gary Kline wrote: > On Sat, Dec 27, 2008 at 02:58:06PM +0200, Giorgos Keramidas wrote: >> On Sat, 27 Dec 2008 01:40:13 -0800, Gary Kline wrote: >> > howdy, >> > >> > in a word, YES, /usr/bin/cmp saved the save before i unlinked the >> > oldfile. here is the strangeness. maybe you know, giorgos, or >> > somebody else on-list. At first--before i got smart and used your >> > snprintf to simply /bin/cp and then unlink---yes, or /bin/mv, or >> > simply rename()--- Before, while i creating via fgets/fputs a new >> > file, everything went fine until i ran out of buffer space. i >> > increased to buf[4096] to buf[65535]. more files were successfully >> > copied from dos\;5 to .dos/*.htm, actually. suddenly, cmp caught a >> > mismatch and the program exited. a careful diff showed the err a >> > something like line 3751. my copy was missing a byte near the EOF: >> > >> > > > >> > minus the closing ">" > > Your code copies flawlessly. I noticed late last night that cmp uses > the same byte-by-byte cp and IIRC checks each to make certain they > bytes are identical. My copyFile() function simply used fopen, fgets, > and fputs. I yanked it from a program that copied files from ~/Mail > where the lines were around 80 bytes rather than in the thousands. > With few newlines. The gotcha got me, in other words! Thanks much > for the function! That's good news, because I didn't even compile it. I just wrote it in my mailer and hit send. I'm glad it worked :) For what it's worth, if you are not handling *text* files, fgets() and fputs() are probably a bad idea. They are line oriented, and they depend on the presence of '\n' characters. The concept of ``lines'' is, at best, ill defined for binary files. So it makes more sense to use either byte-for-byte copies and rely on stdio to do buffering, or to use some sort of custom buffer and fread()/fwrite() or plain read()/write(). From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 23:48:54 2008 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 646C2106567A for ; Sat, 27 Dec 2008 23:48:54 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 380EC8FC08 for ; Sat, 27 Dec 2008 23:48:54 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 73A17AFBC02; Sat, 27 Dec 2008 14:48:53 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 27 Dec 2008 14:48:53 -0900 User-Agent: KMail/1.9.10 References: <49522444.8080409@poughkeepsieschools.org> <49522C7B.1070101@infracaninophile.co.uk> In-Reply-To: <49522C7B.1070101@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812271448.53240.fbsd.questions@rachie.is-a-geek.net> Cc: "B. Cook" Subject: Re: ports-mgmt/portmaster question 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, 27 Dec 2008 23:48:54 -0000 On Wednesday 24 December 2008 03:35:07 Matthew Seaman wrote: > B. Cook wrote: > > Is there a way to pass make args (other than -m) for each port? > > ... > If you want options that only apply to specific ports, then you can use > a construct like this: > > .if ${.CURDIR:M*/databases/mysql*} > WITH_CHARSET=utf8 > WITH_XCHARSET=none > WITH_COLLATION=utf8_unicode_ci > WITH_OPENSSL=yes > BUILD_OPTIMIZED=yes > WITH_INNODB=yes > WITH_ARCHIVE=yes > WITH_FEDERATED=yes > WITH_NDB=yes > WITH_CSV=yes > WITH_SPHINXSE=yes > .endif Or, so you don't have one blobby make.conf that needs to be read for everything that uses FreeBSD's make, you can make a file called Makefile.local in the port's directory and set these. There are only a few special cases in which this won't work, because it is included at "the bottom of the port's Makefile", but then you can resort to /etc/make.conf. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.