From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 00:18:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9D3B106566B for ; Sun, 14 Jun 2009 00:18:03 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDC18FC12 for ; Sun, 14 Jun 2009 00:18:03 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by ewy11 with SMTP id 11so3834280ewy.19 for ; Sat, 13 Jun 2009 17:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=X3hRIFrQoDqb6pdV3T3uSnOhMGSNvbdR2igbf8SuK74=; b=gNmG2sEb1TfGl6OFmbJmF/+hq7M1v5LEbS8XK9gb1tRqOdASxjHF2wGP9IwOXvaKk/ dziy34+Q0Jxf+ZJBSVRw+NEp9aUMkpFvONLRC2WJL+Pkgxg+oWIppwSh/ulJnpAi3ydu Pc6q0EHo20cLFgDkm5zVGOhc+8DYvj6lExi7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=aMzfNau/U7mPkE3QMLh6Vnp9nQpKCvcdioDG2ll0o9IT1VfM1aA5HBaC/+bLGfgLcU s9YMYHLuxnFuzJuK6HF/AmQJJ5qCSIkpEzGFXZwZ1nrEtP2PJYWZGQUVd8jpcflEdSbR At0HyRWnnvRUwQcH2IwQLXjJ7DQiNrWBb4y0E= MIME-Version: 1.0 Received: by 10.210.11.13 with SMTP id 13mr2650545ebk.27.1244938682289; Sat, 13 Jun 2009 17:18:02 -0700 (PDT) Date: Sat, 13 Jun 2009 20:18:02 -0400 Message-ID: From: Daniel Underwood To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 00:18:04 -0000 I edit python code in vim using Terminal on xfce. I find myself, not surprisingly, having to exit "insert mode" and save changes frequently (when making code changes and wishing to test the immediate effects of the changes in a separate terminal). This requires pressing 4 keys: "esc", ":", "w", and "enter". How can I configure a shortcut (ideally using an F# key) that will perform this sequence of 4 key-presses? TIA, Daniel From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 02:47:51 2009 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 1C7921065674 for ; Sun, 14 Jun 2009 02:47:51 +0000 (UTC) (envelope-from tj@tjvarghese.com) Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by mx1.freebsd.org (Postfix) with ESMTP id E992F8FC08 for ; Sun, 14 Jun 2009 02:47:50 +0000 (UTC) (envelope-from tj@tjvarghese.com) Received: by mail-px0-f192.google.com with SMTP id 30so2235592pxi.3 for ; Sat, 13 Jun 2009 19:47:50 -0700 (PDT) Received: by 10.142.103.11 with SMTP id a11mr2177616wfc.303.1244946049986; Sat, 13 Jun 2009 19:20:49 -0700 (PDT) Received: from ?192.168.10.2? ([60.53.93.20]) by mx.google.com with ESMTPS id 31sm2515098wff.24.2009.06.13.19.20.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Jun 2009 19:20:49 -0700 (PDT) Message-ID: <4A345E80.90103@tjvarghese.com> Date: Sun, 14 Jun 2009 10:20:48 +0800 From: TJ Varghese User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Robert Huff References: <18954.2252.774279.926149@jerusalem.litteratus.org> In-Reply-To: <18954.2252.774279.926149@jerusalem.litteratus.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060307050305050907010209" Cc: questions@freebsd.org Subject: Re: CPU/motherboard recommendations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 02:47:51 -0000 This is a cryptographically signed message in MIME format. --------------ms060307050305050907010209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Robert Huff wrote: > I am actively building the parts list for a new system, and > would welcome advice on motherboards. > Quick research has pointed me to two paths with regard to CPUs: > Intel Q9550(s)/Q9650, and AMD Phenom II 925/945. (Unfortunately, the > 925 doesn't seem to be available to the general public yet.) > The ideal motherboard would be small on bells and whistles > (onboard NIC, video, and RAID are optional (even undesirable) though > a decent sound chip would be good) and big on reliability, > expandability (this machine might end up with 8gbytes memory and > many storage devices), and good layout. > > I've had good luck with Intel Desktopboards...it's a boring choice, since everything just works. Desktopboards tried: 1) DG965RY - 4DIMM, max 8GB, Intel GbE, 4 sata w/PS2 2) DG31PR - 2 DIMM, max 4GB, Realtek GbE, 4 sata w/PS2. 3) DQ35JOE - 4 DIMM max 8GB, Intel GbE, 6 sata, no PS2 -- TJ --------------ms060307050305050907010209 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJAzCC AtwwggJFoAMCAQICEFUdT4NLAipXkMHAjoFpvAswDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDcyODExMzUzOVoX DTA5MDcyODExMzUzOVowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4G CSqGSIb3DQEJARYRdGpAdGp2YXJnaGVzZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQDFl/GhlE7WKbUks+u0yFmC7HYZlpD8MfREEtYCaRFw/o9dppfB1EJk9i/8zdNF 3V5XnTmHnw78HE3Z0MSn3hoEytAzVEU71olGbNRm1hUCphRK54aUU/NDMQyxPmAupuleeMeO zxkY4mvgUmOBp+QAEbCaaAX4i6MltzXMbMvC9+352N2XET6BgOhVXTCWQ30w46uLWedgVVIm CkGYzpXidXtNeZvImaWOZPE3aO9vUWi5AcURjR2txmL+qEZRFb0TRYwwrDAhK2hr1dNQCPKU JYyOPMBSL7p6ZO/Jyvp/eZJJx/hCRy03Xj4ORgyddhJdUbObo1igQnVupm9bpr9xAgMBAAGj LjAsMBwGA1UdEQQVMBOBEXRqQHRqdmFyZ2hlc2UuY29tMAwGA1UdEwEB/wQCMAAwDQYJKoZI hvcNAQEFBQADgYEAt/4tn9aDq/n+mtc+yJK31JDLZILtmqju2qnpeREw9QRMfRcO9gwRjXGJ ZXMkOZEzYBKcHlnfi1crlf5JBw5WW1zZ9Qum3+pVG+kp9sa5AdzE+f3FNHLeLXbYtgpdTYxO U7MDXDm9h+YOHmBzNo+SCXReu7zeH6Vsfth7CwlRPO8wggLcMIICRaADAgECAhBVHU+DSwIq V5DBwI6BabwLMA0GCSqGSIb3DQEBBQUAMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3 dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJl ZW1haWwgSXNzdWluZyBDQTAeFw0wODA3MjgxMTM1MzlaFw0wOTA3MjgxMTM1MzlaMEMxHzAd BgNVBAMTFlRoYXd0ZSBGcmVlbWFpbCBNZW1iZXIxIDAeBgkqhkiG9w0BCQEWEXRqQHRqdmFy Z2hlc2UuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxZfxoZRO1im1JLPr tMhZgux2GZaQ/DH0RBLWAmkRcP6PXaaXwdRCZPYv/M3TRd1eV505h58O/BxN2dDEp94aBMrQ M1RFO9aJRmzUZtYVAqYUSueGlFPzQzEMsT5gLqbpXnjHjs8ZGOJr4FJjgafkABGwmmgF+Iuj Jbc1zGzLwvft+djdlxE+gYDoVV0wlkN9MOOri1nnYFVSJgpBmM6V4nV7TXmbyJmljmTxN2jv b1FouQHFEY0drcZi/qhGURW9E0WMMKwwIStoa9XTUAjylCWMjjzAUi+6emTvycr6f3mSScf4 QkctN14+DkYMnXYSXVGzm6NYoEJ1bqZvW6a/cQIDAQABoy4wLDAcBgNVHREEFTATgRF0akB0 anZhcmdoZXNlLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBALf+LZ/Wg6v5 /prXPsiSt9SQy2SC7Zqo7tqp6XkRMPUETH0XDvYMEY1xiWVzJDmRM2ASnB5Z34tXK5X+SQcO Vltc2fULpt/qVRvpKfbGuQHcxPn9xTRy3i122LYKXU2MTlOzA1w5vYfmDh5gczaPkgl0Xru8 3h+lbH7YewsJUTzvMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TELMAkGA1UE BhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMRowGAYD VQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNl cyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENBMSswKQYJ KoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcxNzAwMDAw MFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25z dWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJ c3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnKmVoeaMB1 BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/cVbLrzwL B+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8YQRAHmQZ cmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4oDagNIYy aHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5jcmwwCwYD VR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTEzODAN BgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4Nh+qLZ82 L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowgT2Vfldr3 94fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCA2QwggNgAgEBMHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBVHU+DSwIqV5DB wI6BabwLMAkGBSsOAwIaBQCgggHDMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI hvcNAQkFMQ8XDTA5MDYxNDAyMjA0OFowIwYJKoZIhvcNAQkEMRYEFEkhf0ithY7ZaqsWy/BL XTH+/v5aMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGFBgkrBgEEAYI3EAQxeDB2 MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQu MSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQVR1Pg0sC KleQwcCOgWm8CzCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQK ExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgSXNzdWluZyBDQQIQVR1Pg0sCKleQwcCOgWm8CzANBgkqhkiG9w0BAQEF AASCAQBSuiTjZt8dXVQdzpZI9FPYO+TGdZClmaQMTjnnzbHLwaldQaJIPf07U1uJcO2mRQkS NCE1iqbtti84XSr3T3fzpunaeR7YXewiJUln3tN+PKEantiR4cX+llJczcJG5mZd06olJTxa IFsYFk5rno2xcFCyS8o4dKJoSEHEfBn2rJJP6IY0p9euFlIOy+ceEeQrnTmX+R4fnic7M2+3 rc8MIrXEBsMn6OHnOxaSes5gRTP6LYV5ynH33nEsBjTFkbThkGeWmT7kiO0TFtyh2xyDR25w 6yhVpTKcLftKdOq8rN71bP51/NxsxU9/NCLDULKbUdsf58zWi4xTl1fD0mblAAAAAAAA --------------ms060307050305050907010209-- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 05:07:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30511106566B for ; Sun, 14 Jun 2009 05:07:43 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id D10478FC13 for ; Sun, 14 Jun 2009 05:07:42 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 271B328418; Sun, 14 Jun 2009 17:07:41 +1200 (NZST) Date: Sun, 14 Jun 2009 17:07:41 +1200 From: Jonathan Chen To: Daniel Underwood Message-ID: <20090614050741.GA12776@osiris.chen.org.nz> 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 Cc: freebsd-questions@freebsd.org Subject: Re: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 05:07:43 -0000 On Sat, Jun 13, 2009 at 08:18:02PM -0400, Daniel Underwood wrote: > I edit python code in vim using Terminal on xfce. I find myself, not > surprisingly, having to exit "insert mode" and save changes frequently > (when making code changes and wishing to test the immediate effects of > the changes in a separate terminal). This requires pressing 4 keys: > "esc", ":", "w", and "enter". How can I configure a shortcut (ideally > using an F# key) that will perform this sequence of 4 key-presses? Dunno about vim, but for vi, I'd put the following into ~/.exrc map #5 ^[:w^M where ^[ is "esc", and ^M is "enter". This maps the keys to F5. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 12:48:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 519EC1065674 for ; Sun, 14 Jun 2009 12:48:26 +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 1EE288FC21 for ; Sun, 14 Jun 2009 12:48: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 n5ECmGrd009450; Sun, 14 Jun 2009 14:48:16 +0200 (CEST) (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 n5ECmFcg009447; Sun, 14 Jun 2009 14:48:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 14 Jun 2009 14:48:14 +0200 (CEST) From: Wojciech Puchar To: Alexander Best In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Google groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 12:48:26 -0000 > i've been using the mailman interface for a long time now to read the various > freebsd mailinglists. recently i found out about Google groups which are great isn't standard interface the simplest? you get it on your mailbox, and you use .procmailrc to put it into separate folder each mailing list. Or whatever you like. > and a lot better than the mailman interface imo. (no broken search, etc.) > > however a lot of mailinglists seem to be missing on google. what's the reason Few years more and EVERYTHING will be on by google ;) All data about everything in single place. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 12:58:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 804B91065670 for ; Sun, 14 Jun 2009 12:58:47 +0000 (UTC) (envelope-from hartkemd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0038FC0A for ; Sun, 14 Jun 2009 12:58:47 +0000 (UTC) (envelope-from hartkemd@gmail.com) Received: by qyk3 with SMTP id 3so4229639qyk.3 for ; Sun, 14 Jun 2009 05:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Nki/6Kvpjm4nQOKmkPcshwwcph3rhdpBXNEKNOnTp/E=; b=SxX8F/nrR7ymNOTUrj0Yi7ow27HAAErkSeceCek7wdBP3F74ZP1y25FW6zyxyzukjB vEkx+HwCGgOpp8A6bH4/ANVwb6Jx1voqPRkvLB33bRGp3TueJ/TMDhgqn1nlmmxRkiLx icYeZLO9eNzRBIrl7mKpXd+6O9/Jn7U5d6UhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=W/hYlY8mj/fkPx3x3Lnfws1zNx8JmGvOf8OgK3R+RixQ1lKmY98zEmnTy4vviYkfMh b47/wn3JsWmghWGzJCoXjFAAg9LdJ5Z1cpb5nHd8bZxXQZVkohrkklRFYBQWqameXfTC R0PGx7/cIdyTkjDpb/zc8fvFWiE7Uf69MF1LA= MIME-Version: 1.0 Received: by 10.229.80.78 with SMTP id s14mr1156975qck.101.1244984326683; Sun, 14 Jun 2009 05:58:46 -0700 (PDT) Date: Sun, 14 Jun 2009 08:58:46 -0400 Message-ID: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> From: Mark Hartkemeyer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: what is the best way to remove a program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 12:58:48 -0000 I was installing the mysql51-server port and I had a message that the install could not proceed, because mysql50-client was already installed. I simply ran a "cd" and then a "make deinstall" in the mysql50-client directory. Is this is the best way to remove a program? Does it depend on how the program was added (compiled versus prebuilt binary added with pkg_add -r)? I've tried pkg_delete in the past, but it seems to always complain about dependencies and not actually remove the program. Thanks, Mark Hartkemeyer From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 13:00:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A469210656CC for ; Sun, 14 Jun 2009 13:00:21 +0000 (UTC) (envelope-from eingorn777@gmail.com) Received: from mail-fx0-f228.google.com (mail-fx0-f228.google.com [209.85.220.228]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8428FC27 for ; Sun, 14 Jun 2009 13:00:20 +0000 (UTC) (envelope-from eingorn777@gmail.com) Received: by fxm28 with SMTP id 28so504960fxm.43 for ; Sun, 14 Jun 2009 06:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=ee6DQJFb6C/kXh4PB2ftDtLv11M+MY/Troh/N/uHi0w=; b=cyXzeIZ+gjieEr8Bu6Ag6PIf6IaNefN6hV2vTbVLLTZJNxueLXIpj/q7RJ+1M7xY6f Gs1Q7IpFAwFoN1T7SKVBi5TYRK5nUGjGmTRTI+7IeywR9GyowATZtVHwsFLlcHhS28sb JlSt2JhNo9efRiyG/KPfcoypyNwh6OyYz8l9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=afqnUkY5IZyoYab8YzegQ87S1U63ok1kUIkCCgtPifTBw2C7pMz5yw/whyPEpJ8pG3 Ane6OqnacY7WKxiA5GL8gpfwQtfvbyKLeq9be0mIkS0mRJPEqawNbqzpNhpdUrng5nyq 4q9G6LylA8R+R91Be/uEo5UUJLdGhi49nlCq4= MIME-Version: 1.0 Received: by 10.204.61.204 with SMTP id u12mr5838744bkh.149.1244982508018; Sun, 14 Jun 2009 05:28:28 -0700 (PDT) Date: Sun, 14 Jun 2009 12:28:27 +0000 Message-ID: <23ae50da0906140528l64e70cc5nf65a8e2861cd6c68@mail.gmail.com> From: Dmitry Lunts To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: sound disappeared when transition from linux_base-fc4 to linux_base-fc6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 13:00:22 -0000 Hello,all! The problem is as follows. A couple of days ago I did transition from linux_base-fc4 (default linux support module) to linux_base-fc6. The purpose was to install skype, which rquires at least linux_base-fc6 support. Along with this I completely reinstalled ("pkg_delete" then "make install clean" from week-ago portsnapped ports tree) all the dependent ports, including linux-flashplugin-9.0r159 and nspluginwrapper. The rusult is: skype works OK, but sound completely disappeared when when watchin videos from, say, youtube. Sound system itself works OK, as well as skype, too :-)) Could anyone give me a hint or readdress me to the right mailing list? Regards, P.S.OS FreeBSD 7.1 From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 13:06:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79814106566B for ; Sun, 14 Jun 2009 13:06:47 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57002.mail.re3.yahoo.com (web57002.mail.re3.yahoo.com [66.196.97.106]) by mx1.freebsd.org (Postfix) with SMTP id 07E618FC1B for ; Sun, 14 Jun 2009 13:06:46 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 84230 invoked by uid 60001); 14 Jun 2009 13:06:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244984806; bh=B8AMbzpVhLlR4impajGrr6z19/DdMr6fGizbfQxu8SQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=4KA6ByxznyAJFZkMbXm0EMoqHGQh/hs9kjBNtXaGCFdF26cI9c8PJlodcCUfTaSL+N2CO4hzpoNhdNS69ip6FTVZJHLSTvwBUiuTlyEItc01xu6wPKniEqKFsoKBvdWOC0iAev+sdEXv8gDoYh8ziDFua7eAAd6zXhbj3rWQVrQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=1xr5SF5cpzCK/HF8KAkbOG36eDcU1d7FZN9lvnheNAR3OY1S3JmVcu+sJK01A5LbUHVUO7pgqL29V1igradnLSO5cFaWkFFXxGzEZ9dGV3uht1FTiBrZyPW8v9akt5vhYjUu+6wGhmK7hLXN6D+MT+Fk4N1lhGmfg6NPxWEX5zA=; Message-ID: <194669.83794.qm@web57002.mail.re3.yahoo.com> X-YMail-OSG: qdCm0tMVM1meUn.qcK4mTFYT8HY_AhmY.LOCPAJw6VZYqitpnr0HWbbwjnsywMZtYYsVx2kRa6zMqQ9imM66LMGD3nc8TSRDz6m588sF32yOtC.1Gxzz1EyCQKe9ME.Y.pt6FZWb4cOfAphQrTgIL1V9I9jM6M4_Ff9Gj537GG8u9ZlySinQbacFZPFxKIawDohkAeiSe4ifyfT7Q0ayBRPbJDMIuhj_rMPbkj1Z3dfVa0XP5BF5CwDODZ9gKytZaWJ2DsF85zWhZ2fzV6KLmGhY Received: from [220.255.7.144] by web57002.mail.re3.yahoo.com via HTTP; Sun, 14 Jun 2009 06:06:45 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Sun, 14 Jun 2009 06:06:45 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 13:06:47 -0000 Hi all This is FreeBSD 7.2 on i386. After a custom compiled from sources installation, root cannot log in but normal users can log in. Here are the messages in /var/log/messages: Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON ttyv0 Jun 14 00:44:58 xxx kernel: pid 757 (login), uid 0: exited on signal 11 Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid 0: exited on signal 11 (core dumped) Note, cron also fails. When try to log in, it checks the password correctly, ie. if I type a wrong password for root, it says "Incorrect ...", but when type the correct password, it simply come out and prompts the login prompt. It looks like something is missing required for the root to log in. I'm using bash shell. Any ideas? Many thanks in advance. Best regards Unga From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 13:10:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E217B106566B for ; Sun, 14 Jun 2009 13:10:17 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id 76ABC8FC18 for ; Sun, 14 Jun 2009 13:10:17 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from marge.bs.l (e180016041.adsl.alicedsl.de [85.180.16.41]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1MFpHK1lfW-000j6U; Sun, 14 Jun 2009 14:57:42 +0200 Received: from bsch by marge.bs.l with local (Exim 4.69) (envelope-from ) id 1MFpHJ-0000X4-Tr for freebsd-questions@freebsd.org; Sun, 14 Jun 2009 14:57:41 +0200 Date: Sun, 14 Jun 2009 14:57:41 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090614125741.GA1829@marge.bs.l> Mail-Followup-To: 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.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX19seKwkfJ7ZdhZ3ugFR60RRitgMyosL0mcddYW W9LXC2y5sxRGFQSexaWpoQqBJsi1mL87wOr4i88zyuN7bo3Ptr IGNLErlTlSH4zIGjwjSvdflq1VDe4mf Subject: Re: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 13:10:18 -0000 Hi, Am Samstag, 13. Jun 2009, 20:18:02 -0400 schrieb Daniel Underwood: > I edit python code in vim using Terminal on xfce. I find myself, not > surprisingly, having to exit "insert mode" and save changes frequently > (when making code changes and wishing to test the immediate effects of > the changes in a separate terminal). This requires pressing 4 keys: > "esc", ":", "w", and "enter". How can I configure a shortcut (ideally > using an F# key) that will perform this sequence of 4 key-presses? This would rather be a question for the Vim mailing list. imap :wsleep 1gi The purpose of the sleep is that you see the "written" message. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 13:55:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6823106566C for ; Sun, 14 Jun 2009 13:55:52 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB198FC1C for ; Sun, 14 Jun 2009 13:55:52 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 2033 invoked by uid 89); 14 Jun 2009 13:56:14 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 14 Jun 2009 13:56:14 -0000 In-Reply-To: <20090614125741.GA1829@marge.bs.l> References: <20090614125741.GA1829@marge.bs.l> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7E38087D-71A3-467D-9BCD-B7AC0CDD4A3E@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Sun, 14 Jun 2009 09:55:49 -0400 To: Bertram Scharpf X-Mailer: Apple Mail (2.753.1) Cc: freebsd-questions@freebsd.org Subject: Re: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 13:55:53 -0000 >> I edit python code in vim using Terminal on xfce. I find myself, not >> surprisingly, having to exit "insert mode" and save changes >> frequently >> (when making code changes and wishing to test the immediate >> effects of >> the changes in a separate terminal). This requires pressing 4 keys: >> "esc", ":", "w", and "enter". How can I configure a shortcut >> (ideally >> using an F# key) that will perform this sequence of 4 key-presses? > > This would rather be a question for the Vim mailing list. > > imap :wsleep 1gi > > The purpose of the sleep is that you see the "written" message. It may be off topic, but also very cool! Thanks for the question and the answer. -- John From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 14:06:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C49DE10656A9 for ; Sun, 14 Jun 2009 14:06:17 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id 47FCF8FC1A for ; Sun, 14 Jun 2009 14:06:16 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id n5EE5jdL015903 for ; Sun, 14 Jun 2009 16:05:45 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 14 Jun 2009 16:05:45 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; amd64; ; ) References: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> In-Reply-To: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906141605.45421.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Subject: Re: what is the best way to remove a program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 14:06:18 -0000 On Sunday 14 June 2009 14:58:46 Mark Hartkemeyer wrote: > I was installing the mysql51-server port and I had a message that the > install could not proceed, because mysql50-client was already > installed. I simply ran a "cd" and then a "make deinstall" in the > mysql50-client directory. Is this is the best way to remove a > program? Does it depend on how the program was added (compiled versus > prebuilt binary added with pkg_add -r)? I've tried pkg_delete in the > past, but it seems to always complain about dependencies and not > actually remove the program. > > Thanks, > Mark Hartkemeyer "make deinstall" is a good way to remove a program, but it ignores dependencies as you discovered. Some other program on your system requires mysql50-client to function and might now be broken. pkg_delete -f does basically the same. pkg_deinstall (which comes with portupgrade) also does the trick. Before doing a "make deinstall" you can check which installed packages require it by: pkg_info -Rx mysql-client If you want to upgrade mysql-client from 5.0 to 5.1, use portupgrade: portupgrade -rf -o databases/mysql51-client mysql-client This will replace mysql50-client with mysql51-client and reinstall all ports depending on mysql50-client ("-rf"), so they will use the new version. In this case the last step probably isn't necessary because the libraries are (mostly I think) compatible, but in general it is recommended. For more information, see "man ports" and "man portupgrade". -- Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 15:08:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3C121065673 for ; Sun, 14 Jun 2009 15:08:48 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 59EE58FC0A for ; Sun, 14 Jun 2009 15:08:47 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4468804.home.otenet.gr [94.71.112.52]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5EF8hBh015397; Sun, 14 Jun 2009 18:08:43 +0300 Message-ID: <4A35127A.2090708@otenet.gr> Date: Sun, 14 Jun 2009 18:08:42 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Pieter de Goeje References: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> <200906141605.45421.pieter@degoeje.nl> In-Reply-To: <200906141605.45421.pieter@degoeje.nl> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: what is the best way to remove a program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 15:08:49 -0000 Pieter de Goeje wrote: > On Sunday 14 June 2009 14:58:46 Mark Hartkemeyer wrote: > >> I was installing the mysql51-server port and I had a message that the >> install could not proceed, because mysql50-client was already >> installed. I simply ran a "cd" and then a "make deinstall" in the >> mysql50-client directory. Is this is the best way to remove a >> program? Does it depend on how the program was added (compiled versus >> prebuilt binary added with pkg_add -r)? I've tried pkg_delete in the >> past, but it seems to always complain about dependencies and not >> actually remove the program. >> >> Thanks, >> Mark Hartkemeyer >> > > "make deinstall" is a good way to remove a program, but it ignores > dependencies as you discovered. Some other program on your system requires > mysql50-client to function and might now be broken. > pkg_delete -f does basically the same. pkg_deinstall (which comes with > portupgrade) also does the trick. > > Before doing a "make deinstall" you can check which installed packages require > it by: > pkg_info -Rx mysql-client > > If you want to upgrade mysql-client from 5.0 to 5.1, use portupgrade: > portupgrade -rf -o databases/mysql51-client mysql-client > > This will replace mysql50-client with mysql51-client and reinstall all ports > depending on mysql50-client ("-rf"), so they will use the new version. In this > case the last step probably isn't necessary because the libraries are (mostly > I think) compatible, but in general it is recommended. > > For more information, see "man ports" and "man portupgrade". > > For an easy interactive program that takes care of dependencies, I would suggest ports-mgmt/pkg_rmleaves From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 16:28:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2F75106564A for ; Sun, 14 Jun 2009 16:28:48 +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 34E5C8FC19 for ; Sun, 14 Jun 2009 16:28:48 +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 n5EGSVsX062949; Sun, 14 Jun 2009 17:28:41 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n5EGSVsX062949 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1244996921; bh=SxL5TjzV5u+FRbf48sFcl7HbwZaWfWHI9OTNessQ9cE=; 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=Message-ID:=20<4A352529.7010902@infracaninophile.co.uk>|Date:=20S un,=2014=20Jun=202009=2017:28:25=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Pieter=20de=20Goeje=20|CC:=20f reebsd-questions@freebsd.org|Subject:=20Re:=20what=20is=20the=20be st=20way=20to=20remove=20a=20program?|References:=20<4096aedd09061 40558x5ad1b562h2c43a0b36051a40e@mail.gmail.com>=20<200906141605.45 421.pieter@degoeje.nl>|In-Reply-To:=20<200906141605.45421.pieter@d egoeje.nl>|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"------------enigE8016782402 4E034C70C8E9A"; b=IRZVCHubESYGz4eS/TLahhzHMo4u9fZonpqZJr26rKae5kHsjwbOPPgrdtiL6yLjT JnZhK/nhjPl6deC9PdAM6sVVxhYlsP/qus6MJW2MvP2y7H+1DQlQnIcwa3Zj3H2C6A 9klZbl8v5p9VV8vDbDNkNeS9xPDLzU2XjtNv2SY4= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A352529.7010902@infracaninophile.co.uk> Date: Sun, 14 Jun 2009 17:28:25 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Pieter de Goeje References: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> <200906141605.45421.pieter@degoeje.nl> In-Reply-To: <200906141605.45421.pieter@degoeje.nl> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE80167824024E034C70C8E9A" X-Virus-Scanned: clamav-milter 0.95.2 at 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: what is the best way to remove a program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 16:28:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE80167824024E034C70C8E9A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Pieter de Goeje wrote: > This will replace mysql50-client with mysql51-client and reinstall all = ports=20 > depending on mysql50-client ("-rf"), so they will use the new version. = In this=20 > case the last step probably isn't necessary because the libraries are (= mostly=20 > I think) compatible, but in general it is recommended. Rebuilding all dependents when upgrading from mysql50 to mysql51 is absol= utely required. mysql50-client installs ${LOCALBASE}/lib/mysql/libmysqlclient.= so.15 whereas mysql51-client installs ${LOCALBASE}/lib/mysql/libmysqlclient.so.= 16 -- note the changed ABI version number. Unless you use portupgrade(1)=20 or save a copy of the old shlib by other means, anything that linked agai= nst libmysqlclient would be rendered inoperable by the change, and must at le= ast be re-linked. Yes, the APIs have not changed, but APIs are a matter for pro= grammers at the time of writing the source code -- once compiled, it's the ABI tha= t counts. 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 --------------enigE80167824024E034C70C8E9A 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.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAko1JS8ACgkQ8Mjk52CukIzYZgCePWZuH2ROhHN3taKoSn5scv/F RHEAnA8VbLTLOSMUNv0k1dqJolJ3CrpH =4oi0 -----END PGP SIGNATURE----- --------------enigE80167824024E034C70C8E9A-- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 16:42:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBDB106566B for ; Sun, 14 Jun 2009 16:42:58 +0000 (UTC) (envelope-from ltcddats@nildram.co.uk) Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by mx1.freebsd.org (Postfix) with ESMTP id E9C468FC0A for ; Sun, 14 Jun 2009 16:42:57 +0000 (UTC) (envelope-from ltcddats@nildram.co.uk) X-Trace: 168813316/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-NILDRAM-ACCEPTED/f2s-nildram-customers/62.3.226.102/None/ltcddats@nildram.co.uk X-SBRS: None X-RemoteIP: 62.3.226.102 X-IP-MAIL-FROM: ltcddats@nildram.co.uk X-SMTP-AUTH: X-MUA: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.1) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvoCAPrENEo+A+Jm/2dsb2JhbACXT7hlhA0F X-IronPort-AV: E=Sophos;i="4.42,218,1243810800"; d="scan'208";a="168813316" X-IP-Direction: IN Received: from davids-website.com (HELO www.davids-website.com) ([62.3.226.102]) by smtp.f2s.tiscali.co.uk with ESMTP; 14 Jun 2009 17:42:56 +0100 Received: from davids-website.com (farscape [10.0.0.1]) by www.davids-website.com (Postfix) with ESMTP id 4B93422809 for ; Sun, 14 Jun 2009 17:42:52 +0100 (BST) Date: Sun, 14 Jun 2009 17:42:55 +0100 From: To: FreeBSD-Questions Message-ID: <20090614174255.70e052f5@davids-website.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: still no speil checking with openoffice.org-3.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 16:42:58 -0000 Hi After building openoffice3.1 three times and trying the binary versions I am still not able to get the spell checker to work. I have openoffice3.0 also built and working ok with spell checking but for some reason the writing aids edit button remains greyed out on OOo-3.1.0 The DicOOo.sxw macro appears to work (security set to low for macros) and runs through without errors but on restart there is no change in the writing aids box. Has anyone else had this problem and or fix? From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 18:28:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D821065672 for ; Sun, 14 Jun 2009 18:28:40 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s10.blu0.hotmail.com (blu0-omc4-s10.blu0.hotmail.com [65.55.111.149]) by mx1.freebsd.org (Postfix) with ESMTP id 012CA8FC18 for ; Sun, 14 Jun 2009 18:28:39 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP51 ([65.55.111.137]) by blu0-omc4-s10.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 14 Jun 2009 11:28:39 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio ([76.23.177.172]) by BLU0-SMTP51.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 14 Jun 2009 11:28:39 -0700 Date: Sun, 14 Jun 2009 14:28:31 -0400 From: Carmel To: FreeBSD Question Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd6.4) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 14 Jun 2009 18:28:39.0321 (UTC) FILETIME=[F0012090:01C9ED1D] Subject: Unable to start clamsmtpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: carmel_ny@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 18:28:40 -0000 I just installed clamsmtpd on a fresh FreeBSD-7.2 installation. When I attempt to start the program via the start up script supplied by the port maintainer, I receive this error message: Clamsmtpd: invalid Outaddress socket name or ip: start I receive the exact same message when I terminate the program, except start is replaced by stop. In the config file, this is listed: OutAddress: 10026 That is the default setting. I made sure that clamav was running. I cannot figure out what the problem is. Anyone have any suggestions? -- Carmel From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 18:42:01 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E04551065673 for ; Sun, 14 Jun 2009 18:42:01 +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 9F30D8FC0C for ; Sun, 14 Jun 2009 18:42:01 +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 n5EIfmVi001456 for ; Sun, 14 Jun 2009 11:41:48 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Jun 2009 11:41:48 -0700 (PDT) Date: Sun, 14 Jun 2009 11:41:47 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090614184144.GA31718@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=-1.5 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_DOB,RCVD_IN_DOB,URIBL_RHS_DOB autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: upgrade almost done on ns1.thought.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 18:42:02 -0000 well, guys, i just pulled the trigger and install kernel and world. upon reboot most things worked. i'm having trouble with the ntp stuff and need help there. who can tell me what idiot thing is wrong with my ntp.conf file: drwx------ 2 root wheel 512 Dec 24 2007 ntp -rw-r--r-- 1 root wheel 157 Jan 19 2008 ntp.conf the ntp directory is/has been empty. in ntp.conf i thought this was correct, but upon reboot, i get sudden errors (with 7.2) sage# cat ntp.conf server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.htp.org driftfile /var/db/ntp.drift restrict 10.47.0.0 mask 255.255.255.0 nomodify notrap anybody? gary ps: i'm having similar problems on 'tao.thought.org' where i live 90% of the time, so a fix on my server might fix my desktop freebsd.... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:06:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25843106566B for ; Sun, 14 Jun 2009 19:06:15 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id CFB258FC17 for ; Sun, 14 Jun 2009 19:06:14 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by gxk3 with SMTP id 3so5189954gxk.19 for ; Sun, 14 Jun 2009 12:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:reply-to:from:to:subject:date :organization:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; bh=bpaC5M4WpFYeB5sZz/8tUoFnjORpJQniupNYsCnOBqs=; b=YFz8kkRRkI9DvM42Geg5gYEYQmACoURjmvyEPKb3apib/bEsuSG4HChqhiQqhn93qE veTK2p2jEsg+3MV0Df4EvRx0hZgoMVIdZZlBvkbrLMyoE5cyH1645QGTOMY6P16YoL4i HDf9RcMIlvaIgFouVTvu5FyxfOjhE59mL6SlI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:subject:date:organization:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:x-mimeole :thread-index; b=nooSlq0WizuuXxFtzE5onInHoQryQs/C8bt1QnpFnw78t4k7KZvznuyj84z3GnkYOP BAwghtn2G6SN4SYOQJGIiHcC2Sg/fjTQWK+s1fIRwfbNv+Bpxa032CdjtIbLivaLxoSM 0G8+CBA5HlAnZSMu9EVxi6hVbg4ZfxrkM8szU= Received: by 10.90.54.6 with SMTP id c6mr5428711aga.108.1245006374122; Sun, 14 Jun 2009 12:06:14 -0700 (PDT) Received: from hades ([99.23.122.251]) by mx.google.com with ESMTPS id 6sm5759947agb.28.2009.06.14.12.06.13 (version=SSLv3 cipher=RC4-MD5); Sun, 14 Jun 2009 12:06:13 -0700 (PDT) From: "Dave" To: Date: Sun, 14 Jun 2009 15:06:56 -0400 Organization: davemehler.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcntI0k9CHJBEXAgRUWmn4gYL0WUzw== Subject: FreeBSD and apache 2.2 band width limiting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dave.mehler@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 19:06:15 -0000 Hello, I've got a FreeBSD 7.2 box that i want to run web services on with apache. I've got requirements to have protected content. Two groups of users should be able to access it and no one else, in one group they get a certain amound of band width, the other group gets another set amount. I'm wondering if this is doable? Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:07:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E878B10656AD for ; Sun, 14 Jun 2009 19:07:57 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id AA82D8FC1F for ; Sun, 14 Jun 2009 19:07:57 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 186F57E837; Sat, 13 Jun 2009 06:15:17 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 13 Jun 2009 06:15:15 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A334554.90501@eskk.nu> In-Reply-To: <4A334554.90501@eskk.nu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906130615.15964.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Leslie Jensen Subject: Re: The freebsd-questions Archives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:07:58 -0000 On Friday 12 June 2009 22:21:08 Leslie Jensen wrote: > No matches were found for ........... htdung is a failed project. > How should I search the list ? http://www.freebsd.org/search/search.html#mailinglists -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:28:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A0A4106567C for ; Sun, 14 Jun 2009 19:28:24 +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 BC33B8FC14 for ; Sun, 14 Jun 2009 19:28:23 +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 5927AFD7DD; Sun, 14 Jun 2009 22:28:22 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id 48020FD7C2; Sun, 14 Jun 2009 22:28:22 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-10.5 required=5.0 tests=ALL_TRUSTED,BAYES_05 X-Spam-Checker-URL: http://info.zzz.ee Received: from unknown-00-0f-ea-cc-7f-eb.lan (87-119-181-26.tll.elisa.ee [87.119.181.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id BE3EEFD7A2; Sun, 14 Jun 2009 22:28:18 +0300 (EEST) From: Ott =?utf-8?q?K=C3=B6stner?= To: freebsd-questions@freebsd.org, carmel_ny@hotmail.com Date: Sun, 14 Jun 2009 22:28:17 +0300 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906142228.17898.ottk@zzz.ee> X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Cc: Subject: Re: Unable to start clamsmtpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:28:25 -0000 On Sunday 14 June 2009 9:28:31 pm Carmel wrote: > I just installed clamsmtpd on a fresh FreeBSD-7.2 installation. When I > attempt to start the program via the start up script supplied by the > port maintainer, I receive this error message: > > Clamsmtpd: invalid Outaddress socket name or ip: start I have clamsmtp running fine on my mail server. Hope I can help You. First, please check that the directory, where clamsmtpd creates socket, is writable by clamsmtpd user. For example, I have yhe following lines in my config file: [...] # The address clamd is listening on ClamAddress: /var/run/clamav/clamd.sock [...] # User to switch to User: clamav ...and... # ls -ld /var/run/clamav/ drwxr-xr-x 2 clamav clamav 512 Nov 27 2008 /var/run/clamav/ # ls -l /var/run/clamav/clamd.sock srwxrwxrwx 1 clamav clamav 0 Nov 27 2008 /var/run/clamav/clamd.sock From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:36:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80439106568C for ; Sun, 14 Jun 2009 19:36:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 38B3E8FC29 for ; Sun, 14 Jun 2009 19:36:50 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1644060qwe.7 for ; Sun, 14 Jun 2009 12:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=J1prs1Pk2/PMziqWhz6x0cmMMUw7lX2QaQdvHBW9uG4=; b=t525De0N4vLVdE/qY57I7pUl27jOZZMtLt54dFkg6NckBKsUtOtMGG3SDQBmz9h9Tm WVkYjzg+SmKESPVz3ufIHijf9qLZMn7FZdfI/QkVTaZ3GQXuY+8i5Uu5zuP7R1gfnG5y yHRSAQsedJdpDefBVo0I1gdY1LOQrWzwt7oq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DKGKxflgc7t7DagaMeKwxNtcEs8Krx8sIqie+4mZixQeEqjVKKrZ/Rw8ALmw0oZSaN icftEgxMqF0Ho8y0uae3Kznkd9dajdI58zzOg/MC0OGY4J6Vz+HjxXWd00F56LTmSDso ZKpMmBjW8UIQYgIZ42BD2ViSr+ZzYhfKRNOE4= MIME-Version: 1.0 Received: by 10.220.72.78 with SMTP id l14mr4177754vcj.81.1245008210229; Sun, 14 Jun 2009 12:36:50 -0700 (PDT) In-Reply-To: <20090614184144.GA31718@thought.org> References: <20090614184144.GA31718@thought.org> Date: Sun, 14 Jun 2009 13:36:50 -0600 Message-ID: From: Tim Judd To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: upgrade almost done on ns1.thought.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:36:51 -0000 About the NTP problem, I'd start with the bare necessities, then extend until the breakage reappears. My only line I leave in ntp.conf is server us.pool.ntp.org There was a recent ntp security announcement too; so if you missed it, I'd rebuild it again. --Tim On 6/14/09, Gary Kline wrote: > > well, guys, i just pulled the trigger and install kernel and > world. upon reboot most things worked. i'm having trouble with > the ntp stuff and need help there. > > who can tell me what idiot thing is wrong with my ntp.conf file: > > > > drwx------ 2 root wheel 512 Dec 24 2007 ntp > -rw-r--r-- 1 root wheel 157 Jan 19 2008 ntp.conf > > the ntp directory is/has been empty. in ntp.conf i thought this > was correct, but upon reboot, i get sudden errors (with 7.2) > > > > sage# cat ntp.conf > server 0.us.pool.ntp.org > server 1.us.pool.ntp.org > server 2.us.pool.htp.org > driftfile /var/db/ntp.drift > restrict 10.47.0.0 mask 255.255.255.0 nomodify notrap > > > anybody? > > gary > > ps: i'm having similar problems on 'tao.thought.org' where i live > 90% of the time, so a fix on my server might fix my desktop > freebsd.... > > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > For FBSD list: http://transfinite.thought.org/slicejourney.php > The 4.98a release of Jottings: http://jottings.thought.org/index.php > > _______________________________________________ > 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 Jun 14 19:45:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F22D610656C0 for ; Sun, 14 Jun 2009 19:45:46 +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 A6AAA8FC1C for ; Sun, 14 Jun 2009 19:45:46 +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 BC103FD806; Sun, 14 Jun 2009 22:45:45 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id B9F6FFD7FE; Sun, 14 Jun 2009 22:45:45 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-13.0 required=5.0 tests=ALL_TRUSTED,BAYES_00 X-Spam-Checker-URL: http://info.zzz.ee Received: from [192.168.1.3] (87-119-181-26.tll.elisa.ee [87.119.181.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id 91839FD7C2; Sun, 14 Jun 2009 22:45:42 +0300 (EEST) Message-ID: <4A355366.9040804@zzz.ee> Date: Sun, 14 Jun 2009 22:45:42 +0300 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: TIGMA AS User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: Mark Hartkemeyer References: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> In-Reply-To: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------060209060104030900090300" X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: what is the best way to remove a program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:45:47 -0000 This is a multi-part message in MIME format. --------------060209060104030900090300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mark Hartkemeyer wrote: > I was installing the mysql51-server port and I had a message that the > install could not proceed, because mysql50-client was already > installed. I simply ran a "cd" and then a "make deinstall" in the > mysql50-client directory. Is this is the best way to remove a > program? Does it depend on how the program was added (compiled versus > prebuilt binary added with pkg_add -r)? I've tried pkg_delete in the > past, but it seems to always complain about dependencies and not > actually remove the program. > In this case, pkg_delete should do the work for you. with best regards, Ott --------------060209060104030900090300-- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:46:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F19A81065691 for ; Sun, 14 Jun 2009 19:46:05 +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 98AE08FC0C for ; Sun, 14 Jun 2009 19:46:05 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 28942 invoked from network); 14 Jun 2009 19:46:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP: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=RSElrdGRe/jQYPwPQh+cPihKiqE2dmjFjtJFfNmBIuiTS/9tMOXCKPlf19Rw2QoS5qfw1z17HwFBfHazKRXM/Ep+/fLRULwKP0rQa9wjnkk9VzqRLUuJ3BH2Bz/k6wd93fq5571pME92c0GID2UlUGYlSfVC+nAxRCl08db2zps= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 14 Jun 2009 12:46:04 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: eGjKzrUVM1ljPioD9sBYCXa4mumY4vpWCrdvWay8JwDPto3dv65FidjDWrSM3UGCfuNQw82zDxju7g05rd31tbuFaNu8CcpKtlKka9Hdnr4z_M8IYjTthgXRfS7oVXQ1bE_EYzRyXA8OxyjLiqGD3JnOB_kSGfN9fudV52yMEofGT7YV8s7yoQGo_yoIuy_cvfQhC3D7he.9Vw_hto.k2_cqWrXteeTBppW2i1WUSxW46xBpDU_aQHneDIshHjiyK5Y1YBie.1eMfYRCJoRGt3gh9HEPkbhfaz_PzMpRU1WTI2c0izS_Fh0mtwODdIgWn2FinYrC X-Yahoo-Newman-Property: ymail-3 Date: Sun, 14 Jun 2009 15:46:01 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090614154601.0cc0b47f@scorpio> In-Reply-To: <200906142228.17898.ottk@zzz.ee> References: <200906142228.17898.ottk@zzz.ee> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd6.4) 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; micalg=PGP-SHA1; boundary="Sig_/RS4LZFrulPvAdlRY.nZqHKZ"; protocol="application/pgp-signature" Subject: Re: Unable to start clamsmtpd 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: Sun, 14 Jun 2009 19:46:06 -0000 --Sig_/RS4LZFrulPvAdlRY.nZqHKZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 14 Jun 2009 22:28:17 +0300 Ott K=C3=B6stner wrote: >On Sunday 14 June 2009 9:28:31 pm Carmel wrote: >> I just installed clamsmtpd on a fresh FreeBSD-7.2 installation. When >> I attempt to start the program via the start up script supplied by >> the port maintainer, I receive this error message: >>=20 >> Clamsmtpd: invalid Outaddress socket name or ip: start > >I have clamsmtp running fine on my mail server. Hope I can help You. > >First, please check that the directory, where clamsmtpd creates >socket, is writable by clamsmtpd user. For example, I have yhe >following lines in my config file: > >[...] ># The address clamd is listening on >ClamAddress: /var/run/clamav/clamd.sock >[...] ># User to switch to >User: clamav > >...and... > ># ls -ld /var/run/clamav/ >drwxr-xr-x 2 clamav clamav 512 Nov 27 2008 /var/run/clamav/ > ># ls -l /var/run/clamav/clamd.sock >srwxrwxrwx 1 clamav clamav 0 Nov 27 2008 /var/run/clamav/clamd.sock I had: ClamAddress: /var/run/clamav/clamd in my config file. I changed the clamd to clamd.sock but it did not make a difference. The clamd.pin, clamd.sock=3D and freshclam.pid files are in the /var/run/clamav directory. This is becoming really annoying. Aparently, clamdsmtp will not create its own clamsmtpd.pid file. --=20 Jerry gesbbb@yahoo.com We are not loved by our friends for what we are; rather, we are loved in spite of what we are. -- Victor Hugo --Sig_/RS4LZFrulPvAdlRY.nZqHKZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko1U3sACgkQBvaKIJWWCO3SugCdEstXX3JW/qYi/NoxCmtdGQXV DYwAniklM5Py+olaSmgLkiQjdl4yNG3Q =tBwR -----END PGP SIGNATURE----- --Sig_/RS4LZFrulPvAdlRY.nZqHKZ-- From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:48:47 2009 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 F418410657F0 for ; Sun, 14 Jun 2009 19:48:46 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id D50338FC21 for ; Sun, 14 Jun 2009 19:48:45 +0000 (UTC) (envelope-from doug@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta01.mail.rr.com with ESMTP id <20090614192853601.ETKC9737@hrndva-omta01.mail.rr.com> for ; Sun, 14 Jun 2009 19:28:53 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n5EJSqCC066754 for ; Sun, 14 Jun 2009 14:28:52 -0500 (CDT) (envelope-from doug@polands.org) Received: from 172.16.1.37 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Sun, 14 Jun 2009 14:28:52 -0500 Message-ID: Date: Sun, 14 Jun 2009 14:28:52 -0500 From: "Doug Poland" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: Bootable GPT USB device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:48:48 -0000 Hello, I'm trying to create a bootable USB drive using the new GEOM_PART_ partitioning technology. Following gpart(8), I've done this... gpart create -s GPT da0 gpart bootcode -b /boot/pmbr da0 gpart add -b 34 -s 128 -t freebsd-boot da0 gpart bootcode -p /boot/gptboot -i 1 da0 gpart add -b 162 -s 2097152 -t freebsd-ufs da0 gpart add -b 2097314 -s 8388608 -t freebsd-swap da0 gpart add -b 10485922 -s 2097152 -t freebsd-ufs da0 gpart add -b 12583074 -s 8388608 -t freebsd-ufs da0 gpart add -b 20971682 -s 135329773 -t freebsd-ufs da0 # gpart show => 34 156301421 da0 GPT (75G) 34 128 1 freebsd-boot (64K) 162 2097152 2 freebsd-ufs (1.0G) 2097314 8388608 3 freebsd-swap (4.0G) 10485922 2097152 4 freebsd-ufs (1.0G) 12583074 8388608 5 freebsd-ufs (4.0G) 20971682 135329773 6 freebsd-ufs (65G) newfs -L boot /dev/da0p2 newfs -L swap /dev/da0p3 newfs -UL tmp /dev/da0p4 newfs -UL var /dev/da0p5 gjournal load gjournal label /dev/da0p6 newfs -L usrgj /dev/da0p6.journal mkdir -p /mnt/{boot,var,tmp,usr} mount /dev/ufs/boot /mnt/boot/ mount /dev/ufs/tmp /mnt/tmp mount /dev/ufs/var /mnt/var/ mount -o async /dev/ufs/usrgj /mnt/usr/ cd /mnt/boot && dump -0aLuC32 -f- / | restore -rf- cd /mnt/tmp && dump -0aLuC32 -f- /tmp | restore -rf- cd /mnt/var && dump -0aLuC32 -f- /var | restore -rf- cd /mnt/usr && dump -0aLuC32 -f- /usr | restore -rf- I've tried this on two systems now, 7.1-RELEASE i386 and 7.2-STABLE amd64. In each case, I cannot boot from the newly create USB drive. I know each machine is capable of USB boot as I have a 4GB thumbdrive created with the traditional bsdlabel partitioning tools. Each box boots nicely off that USB disk. So, question is, what am I doing wrong? And, how can use the new disk partitioning GEOM class to create a bootable, external, USB drive? Many thanks in advance. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 19:57:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A21C106566C for ; Sun, 14 Jun 2009 19:57:52 +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 E4C628FC14 for ; Sun, 14 Jun 2009 19:57:51 +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 52050FD97B for ; Sun, 14 Jun 2009 22:57:50 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id 3C143FD96C; Sun, 14 Jun 2009 22:57:50 +0300 (EEST) 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 unknown-00-0f-ea-cc-7f-eb.lan (87-119-181-26.tll.elisa.ee [87.119.181.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id AB9A3FD80C for ; Sun, 14 Jun 2009 22:55:04 +0300 (EEST) From: Ott =?utf-8?q?K=C3=B6stner?= To: freebsd-questions@freebsd.org Date: Sun, 14 Jun 2009 22:55:03 +0300 User-Agent: KMail/1.9.10 References: <200906142228.17898.ottk@zzz.ee> <20090614154601.0cc0b47f@scorpio> In-Reply-To: <20090614154601.0cc0b47f@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906142255.04001.ottk@zzz.ee> X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: Unable to start clamsmtpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 19:57:52 -0000 On Sunday 14 June 2009 10:46:01 pm Jerry wrote: > I had: > > ClamAddress: /var/run/clamav/clamd > > in my config file. I changed the clamd to clamd.sock but it did not > make a difference. > > The clamd.pin, clamd.sock= and freshclam.pid files are in > the /var/run/clamav directory. > > This is becoming really annoying. Aparently, clamdsmtp will not create > its own clamsmtpd.pid file. Name does not matter, but '/var/run/clamav/' should be owned by 'clamsmtp' owner. Also 'clamd.conf' should be edited. The socket must be the same in both configuration files. # Path to a local socket file the daemon will listen on. # Default: disabled (must be specified by a user) LocalSocket /var/run/clamav/clamd.sock All 3 programs should run under the same username: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 56863 clamav 3 45 0 236M 28292K ucond 0 0:03 0.98% clamd 21484 clamav 1 4 0 15704K 984K accept 1 1:44 0.00% clamsmtpd 56894 clamav 1 20 0 19188K 636K pause 1 0:39 0.00% freshclam Works fine. I can send all my conf files, if needed. Probably not a very good idea to copy/paste these into this list. My clamd works fine for some time already. This very e-mail goes through my clamd... greetings, Ott From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 20:11:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 839D8106566C for ; Sun, 14 Jun 2009 20:11:14 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 112838FC3E for ; Sun, 14 Jun 2009 20:11:13 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so26163fxm.43 for ; Sun, 14 Jun 2009 13:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xQnwlFatg2pVvQCFCTTAPPVUbuYEHjTlM4a7bdIk0Xk=; b=Q8gzF3It+8E4ktzynbGQfeG5Y+JZNEX1XMPkPWJDFEgpmYNSY40K7sAmXpG0YVx5G/ ojrYEilplW2TPPDmQ8k5zdt0Xj63kCKjnn9G/+8LffoI2dVYM4Bw/+LEdZDmNAi4iLM4 LqRNHvXZ7ObkJOhd/mYq1IzzdiJPMG0Odb6Hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y/tQxJ5xkiIoC8SJZdYKuMWJLg2/PS4pQ3qT0c/BHWqYDAUpByaxO+UwY3jAmi2wFN b1z5pkLe+fpfJrUdGa5GSVB4PPg5EwZqyv8UAmcB/tXdpkI9u4dPEVh9rbe3HJeZWiOL CO0Jvmxm5xoUKi1L+U+Vn+aP8LrO74OSOP3XY= MIME-Version: 1.0 Received: by 10.204.115.143 with SMTP id i15mr6266846bkq.103.1245010272888; Sun, 14 Jun 2009 13:11:12 -0700 (PDT) In-Reply-To: <194669.83794.qm@web57002.mail.re3.yahoo.com> References: <194669.83794.qm@web57002.mail.re3.yahoo.com> Date: Sun, 14 Jun 2009 16:11:12 -0400 Message-ID: <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> From: Glen Barber To: Unga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 20:11:15 -0000 On Sun, Jun 14, 2009 at 9:06 AM, Unga wrote: > > Hi all > > This is FreeBSD 7.2 on i386. > > After a custom compiled from sources installation, root cannot log in but normal users can log in. > > Here are the messages in /var/log/messages: > Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON ttyv0 > Jun 14 00:44:58 xxx kernel: pid 757 (login), uid 0: exited on signal 11 > Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid 0: exited on signal 11 (core dumped) > > Note, cron also fails. > > When try to log in, it checks the password correctly, ie. if I type a wrong password for root, it says "Incorrect ...", but when type the correct password, it simply come out and prompts the login prompt. > > It looks like something is missing required for the root to log in. I'm using bash shell. Any ideas? I'll make the (probably correct) assumption that you've changed root's default shell to bash. If so, reboot into single-user mode, and change it back. This is one of the best reasons not to screw around with the root account. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 20:33:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64F081065693 for ; Sun, 14 Jun 2009 20:33:21 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id 009E68FC08 for ; Sun, 14 Jun 2009 20:33:20 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOL6NErUnw6R/2dsb2JhbADQXIQNBQ Received: from ptb-relay01.plus.net ([212.159.14.145]) by relay.ptn-ipout01.plus.net with ESMTP; 14 Jun 2009 21:33:19 +0100 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by ptb-relay01.plus.net with esmtp (Exim) id 1MFwOF-000380-Dx; Sun, 14 Jun 2009 21:33:19 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1MFwOE-0000z4-W4; Sun, 14 Jun 2009 21:33:19 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 14 Jun 2009 21:33:18 +0100 User-Agent: KMail/1.9.10 References: <20090614174255.70e052f5@davids-website.com> In-Reply-To: <20090614174255.70e052f5@davids-website.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906142133.18891.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: 88b979ec4b11f2a95a2b65e9f0b1045a Cc: ltcddats@nildram.co.uk Subject: Re: still no speil checking with openoffice.org-3.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 20:33:21 -0000 On Sunday 14 June 2009, ltcddats@nildram.co.uk wrote: > After building openoffice3.1 three times and trying the binary > versions I am still not able to get the spell checker to work. I have > openoffice3.0 also built and working ok with spell checking but for > some reason the writing aids edit button remains greyed out on > OOo-3.1.0 The patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127946 fixed it for me. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 21:08:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECE6B106566B for ; Sun, 14 Jun 2009 21:08:41 +0000 (UTC) (envelope-from john.thorup.dk@gmail.com) Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by mx1.freebsd.org (Postfix) with ESMTP id C49858FC20 for ; Sun, 14 Jun 2009 21:08:41 +0000 (UTC) (envelope-from john.thorup.dk@gmail.com) Received: by pxi30 with SMTP id 30so2470293pxi.3 for ; Sun, 14 Jun 2009 14:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=FSw5bsrVi1IGR3Kp2+9Oz9eGwQsHumi96xBzrX0sn84=; b=SJi46/hItyPZvQ2TA+A1SRcF3SktgaG0spB1AMjYckXjY4gtdUQy076e/U0JDhJgvE a5QXIlDh3uWH3jBAIhhTHxDCsYrTOerdVhsec1nsKlmu7YDqRas2K6OZAaIHZ6t/DJYG ovFVtDYOU8+i3vtuvcqioC6mwi0++9FMn9d0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PVfJxAu2SK70QlFq37vNi+C+2j17iayk6joZUBS98uAHhOM67FkOCVAkb5iTUrJnUd 6EAp7onS5j1BvMdiYMvauQQWKeaBfN8lPCOw6Lw6E/6YYVa/sCC27W3pld6OiyitLOHS FIKJznkGERpE+hYezBv5L4kLVT3+CDYFPbYzE= MIME-Version: 1.0 Received: by 10.142.194.1 with SMTP id r1mr2522231wff.122.1245011940581; Sun, 14 Jun 2009 13:39:00 -0700 (PDT) Date: Sun, 14 Jun 2009 22:39:00 +0200 Message-ID: <606994910906141339r47815ae3j796e41fb44f0274a@mail.gmail.com> From: John Thorup To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Network interface dc0 fails to negotiate media type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 21:08:42 -0000 I have installed FreeBSD 7.2-RELEASE i386 on a Fujitsu Siemens Scaleo T P 340 0 1,0G PC (mainboard name D1826-G). $ uname -a FreeBSD dhcppc0.thorup 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $ I will mention that I have csup'ed and updated my ports the 31.th May. Some time after that the network (interface dc0) suddenly stopped working. First I saw it was not possible to get an IP address from my router. I thought initially that it was the network cable or router, that caused the problem but the PC can still boot up with Win XP without any network connectivity problems. I can see that there must be problems with the negotiation of media type and options from: $ ifconfig -m dc0 dc0: flags=8847 metric 0 mtu 1500 options=8 capabilities=8 ether 00:30:05:d4:25:c7 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: Ethernet autoselect (none) status: active supported media: media autoselect media 10baseT/UTP mediaopt full-duplex media none $ The strange thing is that the normal selection "media 100baseTX mediaopt full-duplex" (before this error) are not on the list of supported meadia. When I boot up in Win XP, the negotiation ends up with 100baseTX / full-duplex. If I try to configure "sudo ifconfig dc0 media 100baseTX mediaopt full-duplex", I receive the answer "ifconfig: SIOCSIFMEDIA (media): Device not configured". If I try to configure "sudo ifconfig dc0 media 10baseT/UTP mediaopt full-duplex", the command changes the settings. I have been studying the FreeBSD man pages, reading the Handbook, searching the mailing lists and searching the internet without finding something that did could help me. Can you at freebsd-questions@freebsd.org help me, so that I can get my network up and running again. dmesg output and sysctl's of interest: $ dmesg Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3401.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Features2=0x441d Logical CPUs per core: 2 real memory = 1072627712 (1022 MB) avail memory = 1035931648 (987 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x4000-0x40ff mem 0xe0000000-0xefffffff,0xf0100000-0xf010ffff irq 16 at device 0.0 on pci1 vgapci1: mem 0xf0110000-0xf011ffff at device 0.1 on pci1 pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci3: on pcib2 pcib3: irq 16 at device 28.1 on pci0 pci5: on pcib3 pcib4: irq 18 at device 28.2 on pci0 pci7: on pcib4 pcib5: irq 19 at device 28.3 on pci0 pci9: on pcib5 uhci0: port 0x2000-0x201f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x2400-0x241f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x2800-0x281f irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x2c00-0x2c1f irq 20 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf0004000-0xf00043ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered ugen0: on uhub4 pcib6: at device 30.0 on pci0 pci11: on pcib6 dc0: port 0x5000-0x50ff mem 0xf0201000-0xf02013ff irq 23 at device 4.0 on pci11 miibus0: on dc0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT-FDX, auto dc0: Ethernet address: 00:30:05:d4:25:c7 dc0: [ITHREAD] fwohci0: mem 0xf0200000-0xf0200fff irq 20 at device 6.0 on pci11 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:30:05:b3:50:01:dd:d6 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:30:05:01:dd:d6 fwe0: Ethernet address: 02:30:05:01:dd:d6 fwip0: on firewire0 fwip0: Firewire address: 00:30:05:b3:50:01:dd:d6 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x108c000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3400-0x340f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x3430-0x3437,0x3424-0x3427,0x3428-0x342f,0x3420-0x3423,0x3410-0x341f mem 0xf0004400-0xf00047ff irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.00 controller with 4 ports detected ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: port not implemented ata3: [ITHREAD] ata4: on atapci1 ata4: port not implemented ata4: [ITHREAD] ata5: on atapci1 ata5: port not implemented ata5: [ITHREAD] pci0: at device 31.3 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xcd000-0xcdfff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub2 ums0: 16 buttons and Z dir. Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acd0: DVDROM at ata0-master UDMA33 acd1: DVDR at ata0-slave UDMA33 ad4: 238475MB at ata2-master SATA150 GEOM_LABEL: Label for provider ad4s1 is ntfs/WINDOWS-XP. GEOM_LABEL: Label for provider ad4s2 is ext2fs/UBUNTU. GEOM_LABEL: Label for provider ad4s3a is ufsid/49ff54332ba6db2e. GEOM_LABEL: Label for provider ad4s3d is ufsid/49ff543456dba19f. GEOM_LABEL: Label for provider ad4s3e is ufsid/49ff5433f58989ab. GEOM_LABEL: Label for provider ad4s3f is ufsid/49ff54339167a9fa. GEOM_LABEL: Label for provider ad4s5 is ntfs/DATA. acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe7:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe7:ata0:0:0:0): CAM Status: SCSI Status Error (probe7:ata0:0:0:0): SCSI Status: Check Condition (probe7:ata0:0:0:0): NOT READY asc:3a,0 (probe7:ata0:0:0:0): Medium not present (probe7:ata0:0:0:0): Unretryable error (probe8:ata0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe8:ata0:0:1:0): CAM Status: SCSI Status Error (probe8:ata0:0:1:0): SCSI Status: Check Condition (probe8:ata0:0:1:0): NOT READY asc:3a,0 (probe8:ata0:0:1:0): Medium not present sks:0x80,0xffff (probe8:ata0:0:1:0): Unretryable error SMP: AP CPU #1 Launched! cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata0 bus 0 target 1 lun 0 cd1: <_NEC DVD_RW ND-2510A 2.96> Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s3a GEOM_LABEL: Label ufsid/49ff54332ba6db2e removed. GEOM_LABEL: Label for provider ad4s3a is ufsid/49ff54332ba6db2e. GEOM_LABEL: Label ufsid/49ff5433f58989ab removed. GEOM_LABEL: Label for provider ad4s3e is ufsid/49ff5433f58989ab. GEOM_LABEL: Label ufsid/49ff54339167a9fa removed. GEOM_LABEL: Label for provider ad4s3f is ufsid/49ff54339167a9fa. GEOM_LABEL: Label ufsid/49ff543456dba19f removed. GEOM_LABEL: Label for provider ad4s3d is ufsid/49ff543456dba19f. GEOM_LABEL: Label ufsid/49ff54332ba6db2e removed. ukbd0: on uhub2 kbd2 at ukbd0 uhid0: on uhub2 GEOM_LABEL: Label ufsid/49ff5433f58989ab removed. GEOM_LABEL: Label ufsid/49ff54339167a9fa removed. GEOM_LABEL: Label ufsid/49ff543456dba19f removed. fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 GEOM_LABEL: Label ntfs/WINDOWS-XP removed. GEOM_LABEL: Label ntfs/DATA removed. oss_hdaudio0: [ITHREAD] oss_hdaudio0: mem 0xf0000000-0xf0003fff irq 16 at device 27.0 on pci0 osscore: mmap() not possible with currently selected sample format. $ $ sysctl -a | grep dev.dc.0 dev.dc.0.%desc: ADMtek AN985 10/100BaseTX dev.dc.0.%driver: dc dev.dc.0.%location: slot=4 function=0 dev.dc.0.%pnpinfo: vendor=0x1317 device=0x0985 subvendor=0x1734 subdevice=0x100c class=0x020000 dev.dc.0.%parent: pci11 $ sysctl -a | grep miibus dev.miibus.0.%desc: MII bus dev.miibus.0.%driver: miibus dev.miibus.0.%parent: dc0 dev.ukphy.0.%parent: miibus0 $ sysctl -a | grep ukphy dev.ukphy.0.%desc: Generic IEEE 802.3u media interface dev.ukphy.0.%driver: ukphy dev.ukphy.0.%location: phyno=1 dev.ukphy.0.%pnpinfo: oui=0x67f83 model=0xe rev=0xc dev.ukphy.0.%parent: miibus0 $ ---- John Thorup Aarhus, Denmark E-mail: john.thorup.dk at gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 22:39:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C30C106567F for ; Sun, 14 Jun 2009 22:39:04 +0000 (UTC) (envelope-from freecsb@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 0944C8FC1B for ; Sun, 14 Jun 2009 22:39:03 +0000 (UTC) (envelope-from freecsb@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1812695ywe.13 for ; Sun, 14 Jun 2009 15:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vHMNVJevgDFUqvKDFPJE97rg4BhKicRENg/9fR2QkcE=; b=ARqihaaBdEi/oj47K92cVzllAam03ZMY/Sr56OP9kyXTz3nOyOKlb6zpYug5f17pxn HVvzmseg8XVmfX0E9BZizmnGFWTucbToL56l8zM9PivMKeZ95TOE6HJkL9wYvDcIpFIk GsjD5ChvO+sdiLaatUD9KsABqmclF2eOVshMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=h5ArCqwXnSZTGnGJqGmo+TkfjGuZBzfo7SGeoRdxOR4zo8z6V5HA27pT8BrqJX8Mzs 6vqVCU1XupQJB2a4/5QwD5cC5A5mFeEIaY7f+xVHdlxJfuvg2dug8p1Or+5QS7nVuYZc JX7Fg6tWOIx8PqaGnMsqNKg3wHKm4manwB3XM= MIME-Version: 1.0 Received: by 10.100.11.4 with SMTP id 4mr7907647ank.84.1245019143408; Sun, 14 Jun 2009 15:39:03 -0700 (PDT) In-Reply-To: References: Date: Sun, 14 Jun 2009 18:39:03 -0400 Message-ID: <90f0a2770906141539s696a5c0x1183a22ed90160fd@mail.gmail.com> From: Chad Brown To: dave.mehler@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and apache 2.2 band width limiting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 22:39:05 -0000 On Sun, Jun 14, 2009 at 3:06 PM, Dave wrote: > Hello, > I've got a FreeBSD 7.2 box that i want to run web services on with > apache. I've got requirements to have protected content. Two groups of > users > should be able to access it and no one else, in one group they get a > certain > amound of band width, the other group gets another set amount. I'm > wondering > if this is doable? > Thanks. > Dave. > > mod_throttle and ThrottleUser ? From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 23:04:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B46F1065670 for ; Sun, 14 Jun 2009 23:04:36 +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 EBDCC8FC0A for ; Sun, 14 Jun 2009 23:04:35 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id n5EN4Sst046209; Sun, 14 Jun 2009 18:04:28 -0500 (CDT) (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 40liGSZGAjFN; Sun, 14 Jun 2009 18:04:01 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id n5EN3oC1046202; Sun, 14 Jun 2009 18:03:51 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4A3581D6.1070709@daleco.biz> Date: Sun, 14 Jun 2009 18:03:50 -0500 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: Gary Kline References: <20090614184144.GA31718@thought.org> In-Reply-To: <20090614184144.GA31718@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: upgrade almost done on ns1.thought.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Jun 2009 23:04:36 -0000 Gary Kline wrote: > well, guys, i just pulled the trigger and install kernel and > world. upon reboot most things worked. i'm having trouble with > the ntp stuff and need help there. > > who can tell me what idiot thing is wrong with my ntp.conf file: > > drwx------ 2 root wheel 512 Dec 24 2007 ntp > -rw-r--r-- 1 root wheel 157 Jan 19 2008 ntp.conf > > the ntp directory is/has been empty. in ntp.conf i thought this > was correct, but upon reboot, i get sudden errors (with 7.2) > > sage# cat ntp.conf > server 0.us.pool.ntp.org > server 1.us.pool.ntp.org > server 2.us.pool.htp.org > driftfile /var/db/ntp.drift > restrict 10.47.0.0 mask 255.255.255.0 nomodify notrap > > anybody? Not certain, Gary, as IANAE; here, /etc/ntp/holds "ntpd.conf", and /etc/ntp.conf is a symlink to said file. No issues with ntp; I'm running 7-STABLE from last summer. Kevin Kinsey -- It's better to be quotable than to be honest. -- Tom Stoppard From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 23:32:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02775106564A for ; Sun, 14 Jun 2009 23:32:48 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id 9F0698FC0A for ; Sun, 14 Jun 2009 23:32:47 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 6520 invoked from network); 14 Jun 2009 23:32:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP: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=TEBvR3IYoz1Nar4dbhGW44GdOM/oQbF4pLPctstl/K32aH519R5KNu0UpvQi3WA6jOBdkKEJsQOgYk02/jGASSOMfLgAS8ntgJATdQpM0fYSasOBdd6TXFis5Wts25hFcvPJMoICDqfgM6vZXRy3iSEBLiqnI66ZS/5IW4gF7I0= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 14 Jun 2009 16:32:46 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: 4xr82PMVM1noTQQjxh6535zGRw5gtzDy_3h2M5EIZvdLhRZhYDJXdwLTsk37aj.LKcfdzaVuoOHhHTEJSpNljSin5DgOgd92MmlPWDRs.DXIeLRDHuy_U_ugRwL4tPyJq4RiVA9an0tkbtJ8T7xdQpyIeTpz5z7hZ_Z5ZWEG2f7YY3Jm00Sj1rn.JWhxGr3um3wRaGsFKpMjDb4hTMEmj7CAmwGgU9_aOg2A8x5vR9LtpRzOEkalOo98SNvO_IvIPL0iJMiP402X7S7A57S..oM7_Wx9Z49l_kFkHpMPD8jeLypCLAn9oanorpkKSgI0Mi9IEc_5BCRMwSyeIVwoAMINB43QdulZP2Cq X-Yahoo-Newman-Property: ymail-3 Date: Sun, 14 Jun 2009 19:32:34 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090614193234.434c3922@scorpio> In-Reply-To: <200906142255.04001.ottk@zzz.ee> References: <200906142228.17898.ottk@zzz.ee> <20090614154601.0cc0b47f@scorpio> <200906142255.04001.ottk@zzz.ee> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd6.4) 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; micalg=PGP-SHA1; boundary="Sig_/h=oCmOH7DhdO+Bzi+eaP=b="; protocol="application/pgp-signature" Subject: Re: Unable to start clamsmtpd 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: Sun, 14 Jun 2009 23:32:48 -0000 --Sig_/h=oCmOH7DhdO+Bzi+eaP=b= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 14 Jun 2009 22:55:03 +0300 Ott K=C3=B6stner wrote: >On Sunday 14 June 2009 10:46:01 pm Jerry wrote: > >> I had: >>=20 >> ClamAddress: /var/run/clamav/clamd >>=20 >> in my config file. I changed the clamd to clamd.sock but it did not >> make a difference. >>=20 >> The clamd.pin, clamd.sock=3D and freshclam.pid files are in >> the /var/run/clamav directory. >>=20 >> This is becoming really annoying. Aparently, clamdsmtp will not >> create its own clamsmtpd.pid file. > >Name does not matter, but '/var/run/clamav/' should be owned by >'clamsmtp' owner. Also 'clamd.conf' should be edited. The socket must >be the same in both configuration files. > ># Path to a local socket file the daemon will listen on. ># Default: disabled (must be specified by a user) >LocalSocket /var/run/clamav/clamd.sock > >All 3 programs should run under the same username: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND >56863 clamav 3 45 0 236M 28292K ucond 0 0:03 0.98% >clamd 21484 clamav 1 4 0 15704K 984K accept 1 1:44 >0.00% clamsmtpd 56894 clamav 1 20 0 19188K 636K pause 1 >0:39 0.00% freshclam > >Works fine. I can send all my conf files, if needed. Probably not a >very good idea to copy/paste these into this list. My clamd works fine >for some time already. This very e-mail goes through my clamd... OK, when I reboot, clamsmtpd will install it's 'PID' file in the /var/run/clamav directory. There are no errors shown. Postfix then immediately starts. Now, when I receive a message, the maillog has an error message: clamsmtpd: 100007: CLAMAV: couldn't connect to : /var/run/clamav/clamd: No such file or directory. Now, the file and directory do exist. If I stop or restart clamsmtpd, that error message about "clamsmtpd: invalid OutAddress socket or ip:" reappears. --=20 Jerry gesbbb@yahoo.com How come only your friends step on your new white sneakers? --Sig_/h=oCmOH7DhdO+Bzi+eaP=b= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko1iJ0ACgkQBvaKIJWWCO1U8gCeNfnLQqqQwL70OTx1PMllP3bp xMoAnRZ5+pnbKxMd5QaTp8CmmC5N4PZd =znS7 -----END PGP SIGNATURE----- --Sig_/h=oCmOH7DhdO+Bzi+eaP=b=-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 00:48:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D6F106564A for ; Mon, 15 Jun 2009 00:48:45 +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 CC0D98FC0A for ; Mon, 15 Jun 2009 00:48: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 n5F0mWlP004342; Sun, 14 Jun 2009 17:48:32 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Jun 2009 17:48:32 -0700 (PDT) Date: Sun, 14 Jun 2009 17:48:32 -0700 From: Gary Kline To: Kevin Kinsey Message-ID: <20090615004832.GA33034@thought.org> References: <20090614184144.GA31718@thought.org> <4A3581D6.1070709@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A3581D6.1070709@daleco.biz> 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=-2.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, URIBL_BLACK autolearn=no 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: upgrade almost done on ns1.thought.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 00:48:45 -0000 On Sun, Jun 14, 2009 at 06:03:50PM -0500, Kevin Kinsey wrote: > Gary Kline wrote: > > well, guys, i just pulled the trigger and install kernel and > > world. upon reboot most things worked. i'm having trouble with > > the ntp stuff and need help there. > > > > who can tell me what idiot thing is wrong with my ntp.conf file: > > > >drwx------ 2 root wheel 512 Dec 24 2007 ntp > >-rw-r--r-- 1 root wheel 157 Jan 19 2008 ntp.conf > > > > the ntp directory is/has been empty. in ntp.conf i thought this > > was correct, but upon reboot, i get sudden errors (with 7.2) > > > >sage# cat ntp.conf > >server 0.us.pool.ntp.org > >server 1.us.pool.ntp.org > >server 2.us.pool.htp.org > >driftfile /var/db/ntp.drift > >restrict 10.47.0.0 mask 255.255.255.0 nomodify notrap > > > > anybody? > > Not certain, Gary, as IANAE; here, /etc/ntp/holds "ntpd.conf", > and /etc/ntp.conf is a symlink to said file. No issues with > ntp; I'm running 7-STABLE from last summer. > > Kevin Kinsey > well, maybe the way i had the pool listed, 0.us., 1.us., &c was wrong. i'll know more after i shutdown -r my ns1 machine. same thing here on "tao", my desktop. i just exec'd the /usr/sbin/ntpd on my server and no errors. are there any diagnostics that i can use? (don't make the read the man page until i know what the heck i'm doing!!) gary ps: to the entire list:: my heart is beating again. it was stalled for a couple hours while i finished the 7.2 stuff ;-) --pps: i've done this scores of times, yes, but had it failed, i'd be getting ready to blow my brains out with a pea shooter.... > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 01:18:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2AE5106566C for ; Mon, 15 Jun 2009 01:18:23 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 83EF48FC12 for ; Mon, 15 Jun 2009 01:18:23 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n5F1IHax014656 for ; Sun, 14 Jun 2009 21:18:18 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n5F1IHd5014655; Sun, 14 Jun 2009 21:18:17 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 1C435BEE2; Sun, 14 Jun 2009 21:18:05 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: (message from Daniel Underwood on Sat, 13 Jun 2009 20:18:02 -0400) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090615011806.1C435BEE2@kev.msw.wpafb.af.mil> Date: Sun, 14 Jun 2009 21:18:05 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 01:18:24 -0000 >> On Sat, 13 Jun 2009 20:18:02 -0400, >> Daniel Underwood said: D> I edit python code in vim using Terminal on xfce. I find myself, not D> surprisingly, having to exit "insert mode" and save changes frequently D> (when making code changes and wishing to test the immediate effects of D> the changes in a separate terminal). This requires pressing 4 keys: D> "esc", ":", "w", and "enter". How can I configure a shortcut (ideally D> using an F# key) that will perform this sequence of 4 key-presses? If you're moving to a separate terminal to test, that sounds like another keystroke or mouse-movement. You could set up vi/vim to autosave on suspension, then use one function key to suspend back to your shell prompt, run your test, and use a shell alias to get back to your edit session. VIM settings: set autowrite imap #5 :suspend Shell aliases (works for bash/zsh, syntax for tcsh is different): alias 1='%1' alias 2='%2' alias 3='%3' alias 4='%4' alias 5='%5' alias 6='%6' alias 7='%7' alias 8='%8' alias 9='%9' This way, you can restart a suspended job without having to type a dopey percent sign first. Here are some other VIM mappings I've found useful. I hate using the shift key unless it's essential, so to indent/deindent: map ; >> map = << It's easier for me to see context when the cursor is around the middle of the screen: map q z. Sometimes I like a column ruler just for a second or two. Press 'E' to see it, then 'u': map E oi....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+ I like my paragraphs ragged-right, around 75 columns long. This lets me reformat whatever paragraph I'm in by pressing 'v': map v }jmbk{ma}:'a,.!fmt -1^V|fmt -75'b The "^V" is an actual control character, so you have to hit Ctrl-V twice to put it in your .vimrc file. My .vimrc file is here: http://www.hcst.net/~vogelke/src/editors/vim/ -- Karl Vogel I don't speak for the USAF or my company To sin by silence when they should protest makes cowards of men. --Abraham Lincoln From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 01:36:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 882C11065670 for ; Mon, 15 Jun 2009 01:36:20 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 1DD4E8FC19 for ; Mon, 15 Jun 2009 01:36:19 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by ewy8 with SMTP id 8so3859388ewy.43 for ; Sun, 14 Jun 2009 18:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=C10Su43ZcYhFs9ArfC3aYVSzfGhU+P18VGvHYNdMTGA=; b=TDL9oHLoEnzXHHBWcUKFICa+9/AsDQRoF81B0RverFDfv9CeKsbYgx5YHASTpB62UN X7nhu6jQ+VXxDu9ElJ4yELqB89abAbVnHFIOl0W0184Nw/jnxF/kPWoYb5N2VZkjk7CG 8HIqnytxcUfyHw7al81oKxZNu79jmE1JCHeqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=aL+3/fI8SNNRQYqtmcubpmQHCG6H4xZlSwd8h0fu4N7oOH3X9lXItiav4hSST86orr T3U0l6XAEqA08cfUbDD7sNivSzf51WLRCicVFHMoraXVe15yK+HoISU9OQe5yCD7r+QO q3etH/caB2OWgcS6b0CZUheR0l2zV+XTfNy2I= MIME-Version: 1.0 Received: by 10.210.51.10 with SMTP id y10mr6940088eby.42.1245029778858; Sun, 14 Jun 2009 18:36:18 -0700 (PDT) In-Reply-To: <20090615011806.1C435BEE2@kev.msw.wpafb.af.mil> References: <20090615011806.1C435BEE2@kev.msw.wpafb.af.mil> Date: Sun, 14 Jun 2009 21:36:18 -0400 Message-ID: From: Daniel Underwood To: vogelke+unix@pobox.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 01:36:21 -0000 Thanks for these great answers! I already use a customized .vimrc file. So I can just add the mappings to this file, instead of to .exrc, right? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 02:46:50 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F2EC106566B for ; Mon, 15 Jun 2009 02:46:50 +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 408448FC15 for ; Mon, 15 Jun 2009 02:46:49 +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 n5F2kj3a005234 for ; Sun, 14 Jun 2009 19:46:46 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Jun 2009 19:46:45 -0700 (PDT) Date: Sun, 14 Jun 2009 19:46:45 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090615024643.GA33420@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.2 required=3.6 tests=ALL_TRUSTED,AWL,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: vim 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, 15 Jun 2009 02:46:50 -0000 the main reason i don't use vim is because of its [u]ndo command. as most of you can understand, there are a whole slew of times when i need to undo something. too often in vim, hitting 'u' --- sometimes > once accidentally --- has resulted in a small disaster. [[i have too many current/recent copies of my working files to do TOO much damage!]] Anyway, is there a means of setting the undo key to mimic vi/nvi? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 03:01:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80282106566C for ; Mon, 15 Jun 2009 03:01:01 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 0754C8FC19 for ; Mon, 15 Jun 2009 03:01:00 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz28 with SMTP id 28so346676bwz.43 for ; Sun, 14 Jun 2009 20:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Fc7Ei3smhjQkLk1oDmli0O8pH1qqRxRlb0QmZzGvr0Y=; b=vhqs9RgYfFdeM3RhQQk/ncxerfaebQO7LUPx44nEM93BVEK99Axrnn99JmZZmDoR4k 7kNACvb4wETjqhOclSbda6m/swVDFlYDqYacZvttS4IfaE8mbROEfvAkugk6K71ndfLb 2hzdBPs05qAsoaky2OKyV59RqOdCUPMzxKSfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uyqzgHdapoXTcqNsGR2TyeVU57ICnEAHkdAbEq3HkHDtALKukuVUzEpBr0/iI3KFor zOja6POAlWSJS72ia8/K2jdq+XFUcRp3mgBvYWYiAief7w3y/nzr1iokxtYejD+SHCgi vp1EE66PLk8wP3HOG27WQ2tNA+i/sShvsiX+Q= MIME-Version: 1.0 Received: by 10.204.101.13 with SMTP id a13mr6550042bko.89.1245034859749; Sun, 14 Jun 2009 20:00:59 -0700 (PDT) In-Reply-To: <20090615024643.GA33420@thought.org> References: <20090615024643.GA33420@thought.org> Date: Sun, 14 Jun 2009 23:00:59 -0400 Message-ID: <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: vim 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, 15 Jun 2009 03:01:01 -0000 Hi, Gary On Sun, Jun 14, 2009 at 10:46 PM, Gary Kline wrote: > > > =A0 =A0 =A0 =A0the main reason i don't use vim is because of its [u]ndo > =A0 =A0 =A0 =A0command. =A0as most of you can understand, there are a who= le slew > =A0 =A0 =A0 =A0of times when i need to undo something. =A0too often in vi= m, > =A0 =A0 =A0 =A0hitting 'u' --- sometimes > once accidentally --- has resu= lted in > =A0 =A0 =A0 =A0a small disaster. =A0[[i have too many current/recent copi= es of > =A0 =A0 =A0 =A0my working files to do TOO much damage!]] =A0Anyway, is th= ere a > =A0 =A0 =A0 =A0means of setting the undo key to mimic vi/nvi? > > =A0 =A0 =A0 =A0thanks, > > =A0 =A0 =A0 =A0gary > > > I don't know what the keybindings for [u]ndo in Vim versus Vi/Nvi are, but there was a recent thread about Vi keybindings for .vimrc. Perhaps that'll provide some insight. Cheers. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 03:18:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C2F106566C for ; Mon, 15 Jun 2009 03:18:37 +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 B11748FC0A for ; Mon, 15 Jun 2009 03:18:36 +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 n5F3IWr6005462; Sun, 14 Jun 2009 20:18:32 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Jun 2009 20:18:32 -0700 (PDT) Date: Sun, 14 Jun 2009 20:18:32 -0700 From: Gary Kline To: Glen Barber Message-ID: <20090615031831.GA33450@thought.org> References: <20090615024643.GA33420@thought.org> <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> 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.3 required=3.6 tests=ALL_TRUSTED,AWL,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: vim 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, 15 Jun 2009 03:18:37 -0000 On Sun, Jun 14, 2009 at 11:00:59PM -0400, Glen Barber wrote: > Hi, Gary > > On Sun, Jun 14, 2009 at 10:46 PM, Gary Kline wrote: > > > > > >        the main reason i don't use vim is because of its [u]ndo > >        command.  as most of you can understand, there are a whole slew > >        of times when i need to undo something.  too often in vim, > >        hitting 'u' --- sometimes > once accidentally --- has resulted in > >        a small disaster.  [[i have too many current/recent copies of > >        my working files to do TOO much damage!]]  Anyway, is there a > >        means of setting the undo key to mimic vi/nvi? > > > >        thanks, > > > >        gary > > > > > > > > I don't know what the keybindings for [u]ndo in Vim versus Vi/Nvi are, > but there was a recent thread about Vi keybindings for .vimrc. > > Perhaps that'll provide some insight. > > Cheers. > > -- > Glen Barber hi glenn, yeah, i read the recent posts about the key binding and vim; that's what brought my question to the fore. i did read on the evolution list that a gvim plugin may happen. the main reason i use mutt is that my fingers know vi. unfortunately, there're too many things in email now that require a gui reader. be nice to be able to read in evo and if i had to reply, use gvim. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 03:24:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CAA106564A for ; Mon, 15 Jun 2009 03:24:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 3020D8FC12 for ; Mon, 15 Jun 2009 03:24:29 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so9720fxm.43 for ; Sun, 14 Jun 2009 20:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=53VpZMvWdSoGUHgiWKGvL+I3ffg55tCRg3ZvmsxTw2g=; b=C0Z7QogUgfzvKAFZ3ngfXO5WcArr+NrjR8anMIF0qdUaTQznniHXDtav6h4LCYf8Ig ylI64Dj3SaP9IT0/EuSmc2i8s3yOkmn74XjeeiU/aX/MbHYs2yyeX9P9FLidkGuOjNpU Y9TGC2HCMgGOyBaUu5Ld7Kbl+Zkdi5oshhPfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ltc1uW5pERFVRxOEEERJeCbFs3UGRp9akcCHtmUJ371aV2R1IeP7Mlb6Dof+/ViGvz 8XI05HwAaDsyK+96ob00CYEiJXMMkLzErhAMF+oHcnZjPkOmMn93AXCEj+9Q8uJSjv9l +DLMxR88CN1vn/gZVPNPNracHWyJTe85zVpHY= MIME-Version: 1.0 Received: by 10.204.77.93 with SMTP id f29mr6543463bkk.74.1245036269125; Sun, 14 Jun 2009 20:24:29 -0700 (PDT) In-Reply-To: <20090615031831.GA33450@thought.org> References: <20090615024643.GA33420@thought.org> <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> <20090615031831.GA33450@thought.org> Date: Sun, 14 Jun 2009 23:24:29 -0400 Message-ID: <4ad871310906142024i70597c40udad1dab11197cc4b@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: vim 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, 15 Jun 2009 03:24:30 -0000 On Sun, Jun 14, 2009 at 11:18 PM, Gary Kline wrote: > > =A0 =A0 =A0 =A0hi glenn, One 'n'. :) > > =A0 =A0 =A0 =A0yeah, i read the recent posts about the key binding and vi= m; > =A0 =A0 =A0 =A0that's what brought my question to the fore. =A0i did read= on the > =A0 =A0 =A0 =A0evolution list that a gvim plugin may happen. =A0the main = reason i > =A0 =A0 =A0 =A0use mutt is that my fingers know vi. =A0unfortunately, the= re're too I use mutt because "it sucks less", quoting the author. > =A0 =A0 =A0 =A0many things in email now that require a gui reader. =A0be = nice to > =A0 =A0 =A0 =A0be able to read in evo and if i had to reply, use gvim. > Hmm.... Well, for what it's worth, I didn't even know *vi* had an 'undo' option. I thought that was what 'q!' was for. :) I'm as interested as you are now. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 03:51:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B19F106564A for ; Mon, 15 Jun 2009 03:51:07 +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 24B848FC1B for ; Mon, 15 Jun 2009 03:51:07 +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 n5F3p22O005685; Sun, 14 Jun 2009 20:51:02 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 14 Jun 2009 20:51:02 -0700 (PDT) Date: Sun, 14 Jun 2009 20:51:02 -0700 From: Gary Kline To: Glen Barber Message-ID: <20090615035101.GA33585@thought.org> References: <20090615024643.GA33420@thought.org> <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> <20090615031831.GA33450@thought.org> <4ad871310906142024i70597c40udad1dab11197cc4b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ad871310906142024i70597c40udad1dab11197cc4b@mail.gmail.com> 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.3 required=3.6 tests=ALL_TRUSTED,AWL,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: vim 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, 15 Jun 2009 03:51:07 -0000 On Sun, Jun 14, 2009 at 11:24:29PM -0400, Glen Barber wrote: > On Sun, Jun 14, 2009 at 11:18 PM, Gary Kline wrote: > > > >        hi glenn, > > One 'n'. :) > gotcha! and see, this is a case of my occasionally typing > 1 key. in vim, typing 'uu' can cause a truckload of code or whatever to vanish. ... > > [ ... ] > > use mutt is that my fingers know vi.  unfortunately, there're too > > I use mutt because "it sucks less", quoting the author. be nice if there were a quasi-gui version of mutt.... > > >        many things in email now that require a gui reader.  be nice to > >        be able to read in evo and if i had to reply, use gvim. > > > > Hmm.... Well, for what it's worth, I didn't even know *vi* had an > 'undo' option. I thought that was what 'q!' was for. :) > that's almost funny; i have had to use "q!" all to often if i forget and use vim. it does indeed have some nice features. but if you have to reply using a gui mailer and your typing isn't flawlwss, it's keyboard <-> mouse. > I'm as interested as you are now. > > -- > Glen Barber -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 04:18:46 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59B7D106564A for ; Mon, 15 Jun 2009 04:18:46 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from mail-in03.adhost.com (mail-in03.adhost.com [216.211.128.133]) by mx1.freebsd.org (Postfix) with ESMTP id 401B88FC13 for ; Mon, 15 Jun 2009 04:18:46 +0000 (UTC) (envelope-from mksmith@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in03.adhost.com (Postfix) with ESMTP id E826BE0481E; Sun, 14 Jun 2009 21:18:44 -0700 (PDT) (envelope-from mksmith@adhost.com) Received: from 192.168.111.7 ([192.168.111.7]) by ad-exh01.adhost.lan ([10.142.0.20]) with Microsoft Exchange Server HTTP-DAV ; Mon, 15 Jun 2009 04:18:42 +0000 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Sun, 14 Jun 2009 21:18:42 -0700 From: "Michael K. Smith" To: Gary Kline , FreeBSD Questions Message-ID: Thread-Topic: vim question... Thread-Index: AcntcF2lP34ePAc+4U60jbWy0Gji6w== In-Reply-To: <20090615024643.GA33420@thought.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: vim 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, 15 Jun 2009 04:18:46 -0000 On 6/14/09 7:46 PM, "Gary Kline" wrote: > > > the main reason i don't use vim is because of its [u]ndo > command. as most of you can understand, there are a whole slew > of times when i need to undo something. too often in vim, > hitting 'u' --- sometimes > once accidentally --- has resulted in > a small disaster. [[i have too many current/recent copies of > my working files to do TOO much damage!]] Anyway, is there a > means of setting the undo key to mimic vi/nvi? > > thanks, > > gary > > If you undo something and it was a mistake, just use the period (.). Mike From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 04:56:40 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99ABC1065674 for ; Mon, 15 Jun 2009 04:56:40 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-301.bluehost.com (outbound-mail-301.bluehost.com [67.222.53.8]) by mx1.freebsd.org (Postfix) with SMTP id 669748FC18 for ; Mon, 15 Jun 2009 04:56:40 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 25220 invoked by uid 0); 15 Jun 2009 04:56:40 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy6.bluehost.com with SMTP; 15 Jun 2009 04:56:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=eisj3RdQTc3WGemWtb3zx9W+U2ITGym4/nhrT0U5KkYepI1W81fDjDNGAwT6n085Iz8eFKgp4p/XuHO2BQdzf7d7W5eXltNJ2lXAwEwEJ5G4uU48GIJu2fX+vmNQdvJ3; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MG4FL-00025u-Mu for freebsd-questions@FreeBSD.ORG; Sun, 14 Jun 2009 22:56:40 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Sun, 14 Jun 2009 22:51:06 -0600 Date: Sun, 14 Jun 2009 22:51:06 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20090615045106.GA56586@kokopelli.hydra> Mail-Followup-To: FreeBSD Questions References: <20090615024643.GA33420@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: vim 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, 15 Jun 2009 04:56:40 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 14, 2009 at 09:18:42PM -0700, Michael K. Smith wrote: > On 6/14/09 7:46 PM, "Gary Kline" wrote: > >=20 > > the main reason i don't use vim is because of its [u]ndo > > command. as most of you can understand, there are a whole slew > > of times when i need to undo something. too often in vim, > > hitting 'u' --- sometimes > once accidentally --- has resulted in > > a small disaster. [[i have too many current/recent copies of > > my working files to do TOO much damage!]] Anyway, is there a > > means of setting the undo key to mimic vi/nvi? > >=20 > If you undo something and it was a mistake, just use the period (.). It's probably better to get in the habit of using :redo than the period to undo an undo, since :redo (or :red for not-very-short) can advance through several levels of undos, but the period can only repeat one single thing over and over again. If you're six levels back in undos, and you want to undo all six levels, but you use the period once, I think that'd wipe out all those levels of undo so they aren't recoverable. I haven't directly tested that recently, but that's how I recall it working back when I first learned about multiple undo/redo levels for Vim, lo these many moons ago when the world was young and dinosaurs roamed the Earth. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth H. L. Mencken: "Democracy is the theory that the common people know what they want and deserve to get it good and hard." --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAko10zoACgkQ9mn/Pj01uKWwGQCgrTeczVAvGf2AhfAhLSgY7yfd JbkAnROIn6iXLZGZMIiLpU8AdDDpHLwO =LIa2 -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 05:21:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46B761065670 for ; Mon, 15 Jun 2009 05:21:18 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id C94AB8FC0A for ; Mon, 15 Jun 2009 05:21:17 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so30172fxm.43 for ; Sun, 14 Jun 2009 22:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=l1/vxZsm6LIrQv5snXq+BQNoeLQhMkBPS9X4gnI2s8M=; b=MTE2mYMyBwl6M18Elw9I+lQ0qcY2kyNLVS3FZJRZEfNuyiaT2CAivBIHzhbeE3RlPi /m7p4b7b1FPYuJ6k4/26qUPuomwOOgSmn0o/7fCNWNDE0270ESCgZwVVJr3NaiM2zj7a a1K4eSWUR4XkDqLfYpODSNpWtT+dt7FgrhWKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gPecYbwOCFT7kZb7XeJogyZHfvVGHFcmf1obN4T2wN3fXeoOMoX2L5Q9Sa7x0zBMKp 268/g+d96xOOMRjBkwf+AfbNu2O4n/lQsZaDHPwKdkTETSsJgbPPXZFnwPRl2l2xRVel PbCBCQbHBJ3zL6c9vNatWJup8XF23R4H7+Ks0= MIME-Version: 1.0 Received: by 10.204.51.210 with SMTP id e18mr6669756bkg.38.1245043276803; Sun, 14 Jun 2009 22:21:16 -0700 (PDT) In-Reply-To: <20090615035101.GA33585@thought.org> References: <20090615024643.GA33420@thought.org> <4ad871310906142000x6515bdau8020dafce579745e@mail.gmail.com> <20090615031831.GA33450@thought.org> <4ad871310906142024i70597c40udad1dab11197cc4b@mail.gmail.com> <20090615035101.GA33585@thought.org> Date: Mon, 15 Jun 2009 01:21:16 -0400 Message-ID: <4ad871310906142221y39ee173dg92295799ba0539f2@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: vim 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, 15 Jun 2009 05:21:18 -0000 On Sun, Jun 14, 2009 at 11:51 PM, Gary Kline wrote: > On Sun, Jun 14, 2009 at 11:24:29PM -0400, Glen Barber wrote: >> On Sun, Jun 14, 2009 at 11:18 PM, Gary Kline wrote: >> > >> > hi glenn, >> >> One 'n'. :) >> > > gotcha! and see, this is a case of my occasionally typing > 1 > key. in vim, typing 'uu' can cause a truckload of code or whatever to > vanish. ... > Agreed. :) >> > > [ ... ] >> > use mutt is that my fingers know vi. unfortunately, there're too >> >> I use mutt because "it sucks less", quoting the author. > > > be nice if there were a quasi-gui version of mutt.... > > Interesting idea.... >> >> > many things in email now that require a gui reader. be nice to >> > be able to read in evo and if i had to reply, use gvim. >> > >> >> Hmm.... Well, for what it's worth, I didn't even know *vi* had an >> 'undo' option. I thought that was what 'q!' was for. :) >> > > that's almost funny; i have had to use "q!" all to often if i > forget and use vim. it does indeed have some nice features. > but if you have to reply using a gui mailer and your typing isn't > flawlwss, it's keyboard <-> mouse. > I've found that 'q!' is now muscle-memory to me. When I'm actually in front of a GUI, the Gmail/Firefox spellcheck tends to find most of my typographical mistakes, though unfortunately, not my logic mistakes. :) -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 07:24:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F87106564A for ; Mon, 15 Jun 2009 07:24:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB5C8FC0A for ; Mon, 15 Jun 2009 07:24:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz28 with SMTP id 28so407079bwz.43 for ; Mon, 15 Jun 2009 00:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gQr5EYiDdjZRSLD2bgZH1UjLI71f9zFe0/49MLd9Nbc=; b=loj2wFWF5xhWxlb8qEmWJMEKntIomXCC2hZ0t6As2B6dHtTUc30R9ydYKo17WtyDOc JsOvoB493sff0jbx+wgtJZNaY3EUEOsckPxLqUhfEUKi7RLtah0/qRVx4C+FyHtmHCFg Hc/e0x5YcS1wGOtZdVqHNpKAAubnSh8YJWh24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jIQqiklI1L+G4IK26BC5DJMb0wbH+o9gLh0WqC+3c1ERPvF0+rVXJoVP3gm++GHPdI HkzXhmMWAELzPEgrkaKtXAiqjCDu7nYgWy4GL/Ab6S32z+5n6FWjnHuyfi8HNJ9Yb2CK HNVOIUeenY31N/VYTZAgkWvExA0j24Np+9sEA= MIME-Version: 1.0 Received: by 10.204.61.9 with SMTP id r9mr2998905bkh.156.1245050697381; Mon, 15 Jun 2009 00:24:57 -0700 (PDT) In-Reply-To: <20090615024643.GA33420@thought.org> References: <20090615024643.GA33420@thought.org> Date: Mon, 15 Jun 2009 09:24:57 +0200 Message-ID: <3a142e750906150024v2936759amd5229ccbb2a71daf@mail.gmail.com> From: "Paul B. Mahol" To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: vim 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, 15 Jun 2009 07:24:59 -0000 On 6/15/09, Gary Kline wrote: > > > the main reason i don't use vim is because of its [u]ndo > command. as most of you can understand, there are a whole slew > of times when i need to undo something. too often in vim, > hitting 'u' --- sometimes > once accidentally --- has resulted in > a small disaster. [[i have too many current/recent copies of > my working files to do TOO much damage!]] Anyway, is there a > means of setting the undo key to mimic vi/nvi? >From vim help: 2. Two ways of undo *undo-two-ways* How undo and redo commands work depends on the 'u' flag in 'cpoptions'. There is the Vim way ('u' excluded) and the vi-compatible way ('u' included). In the Vim way, "uu" undoes two changes. In the Vi-compatible way, "uu" does nothing (undoes an undo). 'u' excluded, the Vim way: You can go back in time with the undo command. You can then go forward again with the redo command. If you make a new change after the undo command, the redo will not be possible anymore. 'u' included, the Vi-compatible way: The undo command undoes the previous change, and also the previous undo command. The redo command repeats the previous undo command. It does NOT repeat a change command, use "." for that. Examples Vim way Vi-compatible way ~ "uu" two times undo no-op "u CTRL-R" no-op two times undo Rationale: Nvi uses the "." command instead of CTRL-R. Unfortunately, this is not Vi compatible. For example "dwdwu." in Vi deletes two words, in Nvi it does nothing. Anyway this topic is offtopic. -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:08:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FA701065673 for ; Mon, 15 Jun 2009 08:08:50 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 971658FC08 for ; Mon, 15 Jun 2009 08:08:49 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id 22so1028945fge.12 for ; Mon, 15 Jun 2009 01:08:48 -0700 (PDT) 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:disposition-notification-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=SB9zEcb1Bp/07k87uO/yS9F0ene47/u/YUqUk1iiaho=; b=hzACm9WV4AF6QxCNrQiyXTttYIWk1AhX6peAjDxhVpeCYysqc4GwLG0q3pF3qds1OI ip/paXKedKMZpdOKW468SYqwSIPHcav9JTDN8TW7LI6+3eMyMXzxi7vi1SWb3x6PDafR kXhpp5OWTSsYot7ZWj67EdsNGVkrcLfxAKhdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:disposition-notification-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=LoGOt69ZzdNR3djb+yeZH4QH5nJPjC2mD5pO4UJC+H0w80XM7ZVw71faxgCvlZZFDy 5t17nfgOwKGJHpVvk38OEEasE0kifbK8gbdPfY7fjQ/RftRHqvJXGwmVlJZu5aGPmoC0 uL7Z/Xcyc9GOfXM5CRStha9mF9y/XE0qVUV2g= Received: by 10.86.35.8 with SMTP id i8mr6431398fgi.42.1245051876999; Mon, 15 Jun 2009 00:44:36 -0700 (PDT) Received: from gizmo.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id d4sm9569326fga.21.2009.06.15.00.44.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 00:44:36 -0700 (PDT) From: subbsd To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 11:44:33 +0400 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151144.34054.subbsd@gmail.com> Subject: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 08:08:50 -0000 Hello maillist, Whether there is a way for booting GENERIC kernel with ipfw_load="YES" and 65535 allow ip from any to any rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? This is single options who force me customize my own kernel with freebsd- update. Thanks! From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:37:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE9821065690 for ; Mon, 15 Jun 2009 08:37:24 +0000 (UTC) (envelope-from stopeme@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6418FC19 for ; Mon, 15 Jun 2009 08:37:23 +0000 (UTC) (envelope-from stopeme@gmail.com) Received: by fxm2 with SMTP id 2so98642fxm.43 for ; Mon, 15 Jun 2009 01:37:23 -0700 (PDT) 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=63sSr3pOIfDRguNDHYU04F8sViZLEBnud2a/WfkT2bk=; b=DXtdSld/z8H4w5/bRstUFq/nPDA/RKIrZXud4T8nrcTA/vHy0eWG2PPEJiZ80h1LAc +rbHz2cgVthz7T7F7aZmoW4w6GW72z+v4eOHaAgecSzjJQFH2aUpWMWQ4r0Ep8RZfHZc th2emJi6f4SQeeD/hsOFj1CAswEkuTfDRd79c= 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=oCICu9VmzA4usFi2xrrTeqwkKeIBQw5/68m65M4iLoqMKiAIg2xUc8IiPi7BOnZfoO L8azJXjhti7EouzqEr+hNQiKcbJV+Lq+oJDUc6pzYkogApYUjTt4/zgunnm4G9kf2Job stUUaT2O92tD+OwNOeHgiZaxVKjnHiIB7mHGE= Received: by 10.204.57.210 with SMTP id d18mr1380166bkh.13.1245055043123; Mon, 15 Jun 2009 01:37:23 -0700 (PDT) Received: from ?192.168.110.20? ([87.120.162.65]) by mx.google.com with ESMTPS id 26sm7248683fks.1.2009.06.15.01.37.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 01:37:21 -0700 (PDT) Message-ID: <4A360834.2070503@gmail.com> Date: Mon, 15 Jun 2009 11:37:08 +0300 From: membrana User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: subbsd References: <200906151144.34054.subbsd@gmail.com> In-Reply-To: <200906151144.34054.subbsd@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 08:37:25 -0000 subbsd wrote: > Hello maillist, > > Whether there is a way for booting GENERIC kernel with > ipfw_load="YES" > > and > > 65535 allow ip from any to any > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? > > This is single options who force me customize my own kernel with freebsd- > update. > > Thanks! > > put ipfw_load="YES" in /boot/loader.conf - keep in mind default is deny use firewall_enable="YES" and firewall_type="open" in /etc/rc.conf Available values for firewall_type: * open -- pass all traffic. * client -- will protect only this machine. * simple -- protect the whole network. * closed -- entirely disables IP traffic except for the loopback interface. * UNKNOWN -- disables the loading of firewall rules. * /filename/ -- absolute path of file containing firewall rules From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:37:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D3A10656B5 for ; Mon, 15 Jun 2009 08:37:36 +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 8B6178FC1F for ; Mon, 15 Jun 2009 08:37:36 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MG7h9-0002jN-Sm for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 08:37:35 +0000 Received: from pool-72-75-56-147.washdc.east.verizon.net ([72.75.56.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 08:37:35 +0000 Received: from nightrecon by pool-72-75-56-147.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jun 2009 08:37:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 15 Jun 2009 04:39:08 -0400 Lines: 30 Message-ID: References: <200906151144.34054.subbsd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-56-147.washdc.east.verizon.net Sender: news Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel 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: Mon, 15 Jun 2009 08:37:37 -0000 subbsd wrote: > Hello maillist, > > Whether there is a way for booting GENERIC kernel with > ipfw_load="YES" > > and > > 65535 allow ip from any to any > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? > > This is single options who force me customize my own kernel with freebsd- > update. > In your /etc/rc.conf: firewall_enable="YES" # Set to YES to enable firewall functionality In addition to the above to activate include this below: firewall_type="open" IIRC that should do what you need. There is a list of the types and their function commented in the /etc/rc.firewall script. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:47:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B878F106564A for ; Mon, 15 Jun 2009 08:47:43 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 40C558FC19 for ; Mon, 15 Jun 2009 08:47:42 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so332865fga.12 for ; Mon, 15 Jun 2009 01:47:42 -0700 (PDT) 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:disposition-notification-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=iyQGDpDnL15WeCrKYZasUVtSI/ktDqHMLTxjO4W+BLs=; b=QnKvJkaftD+Sx3BycTwLRSoV1H1bcVvdcTklFyBgsha8AHTLrPT6Q2Ua/tBndNEUDf OiIn+9uUj9Sc8+xSKJUMEqqYYxQT6IVVMPJoWQ3/PUg08rzF01nH9nUC0XAm1qo7GkN+ QEnilkuYWh891RzItT6IrroRlwMJLXm9C4Rms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to :disposition-notification-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=hjJxJyRUQi8oBm2Q1qsFtu9ZsUfmVd+mn8XU5SwJnN3Nhf9zYZMCsMV9haA0B0TRg5 +lh/njA9eaZIK4egJ3h8tIWmXltsZd19V2aVszWSKdCrvdWv20IlbmadbT9tCMAQItu9 ARRdVrV80QnQmt1E2f9wJldoSjUn26/Slksv4= Received: by 10.86.92.9 with SMTP id p9mr6476734fgb.15.1245055662188; Mon, 15 Jun 2009 01:47:42 -0700 (PDT) Received: from gizmo.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id 4sm8462329fge.13.2009.06.15.01.47.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 01:47:41 -0700 (PDT) From: subbsd To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 12:47:38 +0400 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; amd64; ; ) References: <200906151144.34054.subbsd@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151247.39740.subbsd@gmail.com> Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 08:47:44 -0000 Hello On Monday 15 June 2009 12:39:08 Michael Powell wrote: > subbsd wrote: > > Hello maillist, > > > > Whether there is a way for booting GENERIC kernel with > > ipfw_load="YES" > > > > and > > > > 65535 allow ip from any to any > > > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT > > ? > > > > This is single options who force me customize my own kernel with freebsd- > > update. > > In your /etc/rc.conf: > > firewall_enable="YES" # Set to YES to enable firewall functionality > > In addition to the above to activate include this below: > > firewall_type="open" > Thanks for answer. but its a little bit other than i needed. I've try for safe "ipfw flush" in remote machine, when FW no have any user rules . OPEN firewall type is not get 65535 rules for pass all traffic by default > IIRC that should do what you need. There is a list of the types and their > function commented in the /etc/rc.firewall script. > > -Mike > > > > _______________________________________________ > 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 Jun 15 08:51:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF087106570B for ; Mon, 15 Jun 2009 08:51:41 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 415668FC14 for ; Mon, 15 Jun 2009 08:51:40 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so333470fga.12 for ; Mon, 15 Jun 2009 01:51:40 -0700 (PDT) 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:disposition-notification-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=xJH79XFcurkSbUQE+iF88QVIDg3M8+J3a4onIcBacLA=; b=INbgKicuY/+QfvpeJAcimJm0YXzuQ1QKOnKcV8pmptQelNCDmgUA5mE8OyiJ8x/rHU fT+b0aey3M55fwvIUvYyYXzb49NG8QOssAHOkbqbX08nxI432DyR+ivJ6/Zdp5V3Rpur G1bS1WIuJn3G/6ARc3RZ54eefwqcCEZRwJKX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to :disposition-notification-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=iHbuQ7FsFdnOjEGhgNWajguV1FcbSP8LhKdH++HrO2CEqBISK5xJSnJ4yPVrwWoJLL hxJvmCwCCMi4phuiepLmhpyhQ1FIVm31z8uughtH4rdbwqjSuO5ydyWVKVmadDzc50bl clgjGdUvwnILQSRuijTEGZk4X2YbNP3B7dLRk= Received: by 10.86.80.17 with SMTP id d17mr6440395fgb.27.1245055900060; Mon, 15 Jun 2009 01:51:40 -0700 (PDT) Received: from gizmo.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id l19sm8460300fgb.27.2009.06.15.01.51.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 01:51:39 -0700 (PDT) From: subbsd To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 12:51:36 +0400 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; amd64; ; ) References: <200906151144.34054.subbsd@gmail.com> <4A360834.2070503@gmail.com> In-Reply-To: <4A360834.2070503@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151251.36846.subbsd@gmail.com> Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 08:51:42 -0000 Hello On Monday 15 June 2009 12:37:08 membrana wrote: > subbsd wrote: > > Hello maillist, > > > > Whether there is a way for booting GENERIC kernel with > > ipfw_load="YES" > > > > and > > > > 65535 allow ip from any to any > > > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT > > ? > > > > This is single options who force me customize my own kernel with freebsd- > > update. > > > > Thanks! > > put ipfw_load="YES" in /boot/loader.conf - keep in mind default is deny > ... As i understand, no way for make permit by default when ipfw.ko is loading, before running rc-/user-scripts (rc/rc.firewall...) ? Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 08:51:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B2221065718 for ; Mon, 15 Jun 2009 08:51:53 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from f.mail.ru.ac.za (f.mail.ru.ac.za [IPv6:2001:4200:1010::25:6]) by mx1.freebsd.org (Postfix) with ESMTP id BCF928FC19 for ; Mon, 15 Jun 2009 08:51:52 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:59422) by f.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MG7uw-000OK8-Ua for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 10:51:50 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MG7uw-0006Zj-RM for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 10:51:50 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 10:51:50 +0200 MIME-Version: 1.0 Message-ID: <4A3627C6.11047.FCEDEE6@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: f.mail.ru.ac.za (146.231.129.38) Subject: cron output mail contains no recipient address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 08:51:54 -0000 Hiya all Ever since I upgraded my backup server to 7.2R (via source compile) cron jobs that produce output that used to be emailed to me now fail with a report of "contained no recipient addresses" on the receiving server. Mail setup is very basic, just exim that delivers to the main server. A command like ls | mail -s " test" root will work fine, it is only the cron outputs that have no to: line (root is aliased in the /etc/aliases) Any ideas? Google has been unhelpful, so far -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 09:10:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C324106566B for ; Mon, 15 Jun 2009 09:10:46 +0000 (UTC) (envelope-from pirat@tint.or.th) Received: from mail.tint.or.th (ns2.tint.or.th [122.154.13.210]) by mx1.freebsd.org (Postfix) with SMTP id 419738FC1C for ; Mon, 15 Jun 2009 09:10:44 +0000 (UTC) (envelope-from pirat@tint.or.th) Received: (qmail 19961 invoked from network); 15 Jun 2009 08:41:35 -0000 Received: from www.tint.or.th (HELO alpha.nst.or.th) (122.154.13.80) by mail.tint.or.th with SMTP; 15 Jun 2009 08:41:35 -0000 Received: from 10.3.1.26 (10.3.1.26 [10.3.1.26]) by webmail.tint.or.th (Horde Framework) with HTTP; Mon, 15 Jun 2009 15:35:29 +0700 Message-ID: <20090615153529.14971kzdax3jc5w1@webmail.tint.or.th> X-Priority: 3 (Normal) Date: Mon, 15 Jun 2009 15:35:29 +0700 From: =?utf-8?b?4LmE4Lie4Lij4Lix4LiKIA==?= =?utf-8?b?4Lio4Lij4Li14LmC4Lii4LiY4Liy?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) Subject: blogtk and text formatting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 09:10:46 -0000 hi sirs, am very sorry to disturb this list once again but i really have =20 problem with blogtk to write to my blog, http://makham.blogspot.com. =20 prior to this time, when i hit enter i get enter in the text but now =20 after i reinstall xorg from ports it seems that blogtk convert all =20 \r\n into white spaces. that makes text formatting in my blog is =20 unavailable any more. i have to use html tags for formatting texts look and feel in my blog. any helps and hints are appreciated. with best regards, --=20 =E0=B8=A1=E0=B8=B0=E0=B9=84=E0=B8=9F =E0=B8=85=E0=B8=99=E0=B9=80=E0=B8=AB=E0= =B8=A5=E0=B8=B4=E0=B8=87=E0=B8=9F=E0=B9=89=E0=B8=B2 =E0=B8=A1=E0=B8=B0=E0=B8=82=E0=B8=B2=E0=B8=A1 =E0=B8=84=E0=B8=B4=E0=B8=99=E0= =B9=80=E0=B8=94=E0=B8=B4=E0=B8=99=E0=B8=94=E0=B8=99 http://makham.blogspot.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 09:11:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2289B1065670 for ; Mon, 15 Jun 2009 09:11:18 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from f.mail.ru.ac.za (f.mail.ru.ac.za [IPv6:2001:4200:1010::25:6]) by mx1.freebsd.org (Postfix) with ESMTP id B2D568FC1C for ; Mon, 15 Jun 2009 09:11:17 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:52529) by f.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MG8Di-000Pkv-A7 for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 11:11:14 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MG8Di-0007Nq-6u for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 11:11:14 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 11:11:14 +0200 MIME-Version: 1.0 Message-ID: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: f.mail.ru.ac.za (146.231.129.38) Subject: cron mail problem solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 09:11:18 -0000 Why do I become so clever AFTER asking for help? Anyhow, I have solved the cron not sending email problem. The cron log file contains lines like this NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found which when searched for produces the page at http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors- 44.html So I have edited my /etc/nsswitch.conf to have group: files password: files (instead of 'compat') and now it works again. I guess I must have installed that file in the upgrade during my glazed mergemaster phase of 'esc i enter' to install all those files whose only difference is the $Id$ tag (why do they bother?) -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 09:16:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66F70106566B for ; Mon, 15 Jun 2009 09:16:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id E282D8FC08 for ; Mon, 15 Jun 2009 09:16:57 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz28 with SMTP id 28so459164bwz.43 for ; Mon, 15 Jun 2009 02:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qHc13zcRxYo1xBmxeDOocml50AAuvmOuy2KovefKZQI=; b=f+1GZyui9+azd7fQfEFRsSMXJ106SsIdS/Scm51oBD2EiSL6y+JB1VcNzFd27FwIds SCbqUlW+FPjTiJ/FwLjMSCLyITgj4WWzdmZ6lTX/ioNChyboFrQHbt7pxGuV+vP/E2nB AgXGs1IKGj90tdHLeIs3U65NvHjgAErGvhj0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZaTrEx4bIxmh6xtY2bPAypQ7tsW/KWzGILkRr6DSo9xC/myfILObkqslrwiqKP9KVG TtwwBfiZ7RdAI2ICvsEDRM9GkiQgT9QrkmXQT1ZQ2fl+WcHFs+uDP9gWHUUIbQoxPYsX coGnFntqgZo5HCK1sAZX3x84zQwdrXp9J4LrA= MIME-Version: 1.0 Received: by 10.204.71.134 with SMTP id h6mr382464bkj.70.1245057416704; Mon, 15 Jun 2009 02:16:56 -0700 (PDT) In-Reply-To: <200906151251.36846.subbsd@gmail.com> References: <200906151144.34054.subbsd@gmail.com> <4A360834.2070503@gmail.com> <200906151251.36846.subbsd@gmail.com> Date: Mon, 15 Jun 2009 11:16:56 +0200 Message-ID: <3a142e750906150216t3a841097w928b079e238530bc@mail.gmail.com> From: "Paul B. Mahol" To: subbsd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 09:16:58 -0000 On 6/15/09, subbsd wrote: > Hello > > On Monday 15 June 2009 12:37:08 membrana wrote: >> subbsd wrote: >> > Hello maillist, >> > >> > Whether there is a way for booting GENERIC kernel with >> > ipfw_load="YES" >> > >> > and >> > >> > 65535 allow ip from any to any >> > >> > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT >> > ? >> > >> > This is single options who force me customize my own kernel with >> > freebsd- >> > update. >> > >> > Thanks! >> >> put ipfw_load="YES" in /boot/loader.conf - keep in mind default is deny >> > ... > As i understand, no way for make permit by default when ipfw.ko is loading, > before running rc-/user-scripts (rc/rc.firewall...) ? Thanks put "net.inet.ip.fw.default_to_accept=1" in /etc/sysctl.conf I guess that rc.d/sysctl is run before rc.d/ipfw -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 09:36:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BA551065680 for ; Mon, 15 Jun 2009 09:36:06 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id A53878FC36 for ; Mon, 15 Jun 2009 09:36:05 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.3/8.14.3) with ESMTP id n5F9a3Nh034512 for ; Mon, 15 Jun 2009 11:36:03 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.3/8.14.3/Submit) with ESMTP id n5F9a3Lp034509 for ; Mon, 15 Jun 2009 11:36:03 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Mon, 15 Jun 2009 11:36:03 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 09:36:08 -0000 How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 10:13:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EA641065735 for ; Mon, 15 Jun 2009 10:13:23 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id D31B08FC08 for ; Mon, 15 Jun 2009 10:13:22 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id 22so1048245fge.12 for ; Mon, 15 Jun 2009 03:13:21 -0700 (PDT) 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:disposition-notification-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=C7FW3SnBSOJqHU0OY2TPlijY0byA0qD+Ie/BNzxnC9w=; b=umk/tN++6bRRPhXM9A08gR1J2jSM6kTrBY+HkBSbryMaEShW9rTvdzVT55azbOH2nD UNIdKhpQY2U5mQ7S/0G4Tyub/sk5c0yqzoEaO9LC6jbYZ0G0dsZ7iBfZls+NpP1PCkrv CrE9MtrKa22rNif2hEg0vzoaTHJ6dAeHQqhE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to :disposition-notification-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=fjkKnGOAVCt67XPsuGvJrDNKM2/8B3+rgSgR3g0+aL4N4xEixTGeZ7Pg1Kx+b7G/xm MLFbieMYJ7ppRRqhS9OuwQwzoqf0t5x8s31mTIHpSccvrcAcHL92W6OUNvF28nO+dzMb 8330V3PELexzZlrJKtWb8lcy4JPyjviHGfqW0= Received: by 10.86.92.9 with SMTP id p9mr6542708fgb.15.1245060801308; Mon, 15 Jun 2009 03:13:21 -0700 (PDT) Received: from gizmo.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id e11sm8610397fga.1.2009.06.15.03.13.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 03:13:20 -0700 (PDT) From: subbsd To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 14:13:19 +0400 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; amd64; ; ) References: <200906151144.34054.subbsd@gmail.com> <200906151251.36846.subbsd@gmail.com> <3a142e750906150216t3a841097w928b079e238530bc@mail.gmail.com> In-Reply-To: <3a142e750906150216t3a841097w928b079e238530bc@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151413.19330.subbsd@gmail.com> Subject: Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for 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: Mon, 15 Jun 2009 10:13:24 -0000 On Monday 15 June 2009 13:16:56 Paul B. Mahol wrote: > On 6/15/09, subbsd wrote: > > Hello > > > > On Monday 15 June 2009 12:37:08 membrana wrote: > >> subbsd wrote: > >> > Hello maillist, > >> > > >> > Whether there is a way for booting GENERIC kernel with > >> > ipfw_load="YES" > >> > > >> > and > >> > > >> > 65535 allow ip from any to any > >> > > >> > rules without recompile kernel with options > >> > IPFIREWALL_DEFAULT_TO_ACCEPT ? > >> > > >> > This is single options who force me customize my own kernel with > >> > freebsd- > >> > update. > >> > > >> > Thanks! > >> > >> put ipfw_load="YES" in /boot/loader.conf - keep in mind default is deny > > > > ... > > As i understand, no way for make permit by default when ipfw.ko is > > loading, before running rc-/user-scripts (rc/rc.firewall...) ? Thanks > > put "net.inet.ip.fw.default_to_accept=1" in /etc/sysctl.conf > > I guess that rc.d/sysctl is run before rc.d/ipfw Perfect, thats what i needs. OID net.inet.ip.fw.default_to_accept is read-only for userland/sysctl. I change this value in /boot/loader.conf. Thanks Paul! From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 11:48:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98DCA106567C for ; Mon, 15 Jun 2009 11:48:56 +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 58C968FC08 for ; Mon, 15 Jun 2009 11:48:56 +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; 15 Jun 2009 07:48:55 -0400 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.5-GA) with ESMTP id KXX39311; Mon, 15 Jun 2009 07:48:55 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 15 Jun 2009 07:48:55 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18998.13606.129658.46433@jerusalem.litteratus.org> Date: Mon, 15 Jun 2009 07:48:54 -0400 To: Pieter Donche In-Reply-To: References: 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) Cc: "mail.list freebsd-questions" Subject: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 11:48:58 -0000 Pieter Donche writes: > How can one change the PATH for the user www ? > to include e.g. /usr/local/bin > > In /etc/passwd the entry now is: > www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin Start by reading the section 5 man page for "passwd". Could you provide a little more detail about what's breaking and why you think this user's path is involved? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 12:16:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128CC1065701 for ; Mon, 15 Jun 2009 12:16:55 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id 996BE8FC13 for ; Mon, 15 Jun 2009 12:16:54 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.3/8.14.3) with ESMTP id n5FCGpLV038371; Mon, 15 Jun 2009 14:16:51 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.3/8.14.3/Submit) with ESMTP id n5FCGp45038368; Mon, 15 Jun 2009 14:16:51 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Mon, 15 Jun 2009 14:16:51 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: Robert Huff In-Reply-To: <18998.13606.129658.46433@jerusalem.litteratus.org> Message-ID: References: <18998.13606.129658.46433@jerusalem.litteratus.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "mail.list freebsd-questions" Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 12:16:55 -0000 On Mon, 15 Jun 2009, Robert Huff wrote: > > Pieter Donche writes: >> How can one change the PATH for the user www ? >> to include e.g. /usr/local/bin >> >> In /etc/passwd the entry now is: >> www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin > > Start by reading the section 5 man page for "passwd". > Could you provide a little more detail about what's breaking > and why you think this user's path is involved? > Robert Huff Some users on my system run scripts in their webpages. If they specify commands (e.g.) 'python', it is not found, unless it is specified as '/usr/local/bin/python', since the Apache runs in an environment which has as PATH: (as can be seen from phpinfo() output) /sbin:/bin:/usr/sbin:/usr:bin only. How can one make the PATH that Apache httpd deamon will use be a different path? and where exaclty does it get /sbin:/bin:/usr/sbin:/usr:bin from in the first place? I could try specifying in /usr/local/sbin/apachectl 's Bourne shell script: PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin export PATH but wouldn't this be set back to the original at an Apache update? root has a better path: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin how could I have httpd have the same path? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 12:24:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77FA106564A for ; Mon, 15 Jun 2009 12:24:34 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 34E928FC13 for ; Mon, 15 Jun 2009 12:24:32 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by bwz28 with SMTP id 28so555596bwz.43 for ; Mon, 15 Jun 2009 05:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=hN+cSQpO7HAC0Nx+TQp4SjK09A5PSsJ2zyzptyAugLk=; b=Zb/Pm4UYMdY+qccbdHdzcJwhyd5lg9ITS/1AwU+CtqxFx/aO8ndm+KjU3k6oWGhx2d oMQDQ+6lLsY0YYhuIaVpY4fWeSdyM/5SuR0HHJbbtQUmG6J0/otxMxvDBxHJa986u7j+ F2pLK/8MNdJMhrRnI9Ohuubxr1OIjrZdhz+CI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=C8z2SyJiZSZ6OhocRy1z/YS+7apihAUGf8LAQsBuZQrQJWM8CEPCtZx068GsDoDvsh tMb7IRvRnOl2bNt7ADgtPT2L1KrGBYxTmlf3cabXSPnrg1yrgaeoXd0BorR4aDHHlW9y nLJDPdcg9hWLrYa0JmQVcKWgewMu+hy9BzwXw= MIME-Version: 1.0 Received: by 10.103.1.5 with SMTP id d5mr3621611mui.113.1245068672140; Mon, 15 Jun 2009 05:24:32 -0700 (PDT) In-Reply-To: References: <18998.13606.129658.46433@jerusalem.litteratus.org> From: Valentin Bud Date: Mon, 15 Jun 2009 15:24:12 +0300 Message-ID: <139b44430906150524i70940c6dp2fbc8c22ffd9e55@mail.gmail.com> To: Pieter Donche Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Robert Huff , "mail.list freebsd-questions" Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 12:24:35 -0000 On Mon, Jun 15, 2009 at 3:16 PM, Pieter Donche wrote: > On Mon, 15 Jun 2009, Robert Huff wrote: > > >> Pieter Donche writes: >> >>> How can one change the PATH for the user www ? >>> to include e.g. /usr/local/bin >>> >>> In /etc/passwd the entry now is: >>> www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin >>> >> >> Start by reading the section 5 man page for "passwd". >> Could you provide a little more detail about what's breaking >> and why you think this user's path is involved? >> Robert Huff >> > > Some users on my system run scripts in their webpages. If they specify > commands (e.g.) 'python', it is not found, unless it is specified as > '/usr/local/bin/python', since the Apache runs in an environment which > has as PATH: (as can be seen from phpinfo() output) > /sbin:/bin:/usr/sbin:/usr:bin only. > > How can one make the PATH that Apache httpd deamon will use > be a different path? and where exaclty does it get > /sbin:/bin:/usr/sbin:/usr:bin from > in the first place? > > I could try specifying in /usr/local/sbin/apachectl 's Bourne shell script: > PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin > export PATH > > but wouldn't this be set back to the original at an Apache update? > > root has a better path: > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > > how could I have httpd have the same path? > Hello Pieter, I guess you are looking for apache's SetEnv directive: http://httpd.apache.org/docs/1.3/mod/mod_env.html#setenv a great day, v -- network warrior since 2005 From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 13:27:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 873B1106564A for ; Mon, 15 Jun 2009 13:27:50 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id EB48D8FC0C for ; Mon, 15 Jun 2009 13:27:49 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5FDRixN086909; Mon, 15 Jun 2009 15:27:44 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5FDRiHR086908; Mon, 15 Jun 2009 15:27:44 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Mon, 15 Jun 2009 15:27:43 +0200 From: Ruben de Groot To: Glen Barber Message-ID: <20090615132743.GA86767@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Glen Barber , Unga , freebsd-questions@freebsd.org References: <194669.83794.qm@web57002.mail.re3.yahoo.com> <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Mon, 15 Jun 2009 15:27:48 +0200 (CEST) Cc: Unga , freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 13:27:51 -0000 On Sun, Jun 14, 2009 at 04:11:12PM -0400, Glen Barber typed: > On Sun, Jun 14, 2009 at 9:06 AM, Unga wrote: > > > > Hi all > > > > This is FreeBSD 7.2 on i386. > > > > After a custom compiled from sources installation, root cannot log in but normal users can log in. > > > > Here are the messages in /var/log/messages: > > Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON ttyv0 > > Jun 14 00:44:58 xxx kernel: pid 757 (login), uid 0: exited on signal 11 > > Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid 0: exited on signal 11 (core dumped) > > > > Note, cron also fails. > > > > When try to log in, it checks the password correctly, ie. if I type a wrong password for root, it says "Incorrect ...", but when type the correct password, it simply come out and prompts the login prompt. > > > > It looks like something is missing required for the root to log in. I'm using bash shell. Any ideas? > > I'll make the (probably correct) assumption that you've changed root's > default shell to bash. > > If so, reboot into single-user mode, and change it back. Why reboot? You can "su -s /bin/tcsh" > This is one of the best reasons not to screw around with the root account. Agree. I should bookmark this thread for when (not if) this discussion comes up again. Ruben From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 13:34:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C491065679 for ; Mon, 15 Jun 2009 13:34:13 +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 AEE248FC12 for ; Mon, 15 Jun 2009 13:34:12 +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 1MGCK7-0006Oa-Lk; Mon, 15 Jun 2009 14:34:07 +0100 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 n5FDY6N6000421; Mon, 15 Jun 2009 14:34:06 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 1AE5AFCA505; Mon, 15 Jun 2009 14:34:01 +0100 (BST) Date: Mon, 15 Jun 2009 14:34:01 +0100 From: Frank Shute To: DA Forsyth Message-ID: <20090615133401.GA43054@melon.esperance-linux.co.uk> Mail-Followup-To: DA Forsyth , freebsd-questions@freebsd.org References: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> 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.4-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]); Mon, 15 Jun 2009 14:34:07 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: cron mail problem solved 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: Mon, 15 Jun 2009 13:34:13 -0000 On Mon, Jun 15, 2009 at 11:11:14AM +0200, DA Forsyth wrote: > > Why do I become so clever AFTER asking for help? > > Anyhow, I have solved the cron not sending email problem. > The cron log file contains lines like this > NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found > which when searched for produces the page at > http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors- > 44.html > > So I have edited my /etc/nsswitch.conf to have > group: files > password: files > (instead of 'compat') > > and now it works again. > > I guess I must have installed that file in the upgrade during my > glazed mergemaster phase of 'esc i enter' to install all those files > whose only difference is the $Id$ tag (why do they bother?) You can get mergemaster to ignore those cvs tags. In /etc/mergemaster.rc: DIFF_FLAG='-Bub' DIFF_OPTIONS='-I$FreeBSD:.*[$]' IGNORE_FILES='/etc/motd /etc/mail/mailer.conf /etc/printcap' The 2nd line above tells diff to ignore lines that match that RE. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 14:15:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33882106564A for ; Mon, 15 Jun 2009 14:15:15 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id BDD7D8FC16 for ; Mon, 15 Jun 2009 14:15:14 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.3/8.14.3) with ESMTP id n5FEFCxK046413; Mon, 15 Jun 2009 16:15:12 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.3/8.14.3/Submit) with ESMTP id n5FEFBbd046410; Mon, 15 Jun 2009 16:15:11 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Mon, 15 Jun 2009 16:15:11 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: Valentin Bud In-Reply-To: <139b44430906150524i70940c6dp2fbc8c22ffd9e55@mail.gmail.com> Message-ID: References: <18998.13606.129658.46433@jerusalem.litteratus.org> <139b44430906150524i70940c6dp2fbc8c22ffd9e55@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Robert Huff , "mail.list freebsd-questions" Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 14:15:15 -0000 On Mon, 15 Jun 2009, Valentin Bud wrote: > On Mon, Jun 15, 2009 at 3:16 PM, Pieter Donche > wrote: > On Mon, 15 Jun 2009, Robert Huff wrote: > Pieter Donche writes: > How can one change the PATH for the > user www ? > to include e.g. /usr/local/bin > In /etc/passwd the entry now is: > www:*:80:80:World Wide Web > Owner:/nonexistent:/usr/sbin/nologin > Start by reading the section 5 man page for > "passwd". > Could you provide a little more detail about > what's breaking > and why you think this user's path is involved? > Robert Huff > Some users on my system run scripts in their webpages. If they specify > commands (e.g.) 'python', it is not found, unless it is specified as > '/usr/local/bin/python', since the Apache runs in an environment which > has as PATH: (as can be seen from phpinfo() output) > /sbin:/bin:/usr/sbin:/usr:bin only. > > How can one make the PATH that Apache httpd deamon will use > be a different path? and where exaclty does it get > /sbin:/bin:/usr/sbin:/usr:bin from > in the first place? > > I could try specifying in /usr/local/sbin/apachectl 's Bourne shell > script: > PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin > export PATH > > but wouldn't this be set back to the original at an Apache update? > > root has a better path: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi > n:/root/bin > > how could I have httpd have the same path? > > > Hello Pieter, > > I guess you are looking for apache's SetEnv directive: > http://httpd.apache.org/docs/1.3/mod/mod_env.html#setenv (I use apache 2.2.11) 1. I noticed that when I do a # apachectl graceful from within a root shell, then the PATH env. var. for Apache Environment as reported by phpinfo() is equal to the PATH setting of my root user. (/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin) Probably when rebooting the machine, PATH will be set to a very limited /sbin:/bin:/usr/sbin:/usr/bin (where does this come from?) Now I see from reading the apache start-up script /usr/local/sbin/apachectl that one can create a file with instructions to be executed at startup of Apache: any file in /usr/local/etc/apache22/envvars.d is sourced into the start up environment of apache. This directory was empty for the moment. So I could put in there a file, /usr/local/etc/apache22/envvars.d/mysettings PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin export PATH # apachectl graceful however this did not change the phpinfo() reported PATH, it remained the same as my root path 2. I also tried, as you suggested # vi /etc/httpd.conf ... SetEnv TEST_ENV_VAR foo-foo SetEnv PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin (the first SetEnv is just to see if it indeed sets Env. vars.) # apachectl graceful The TEST_ENV_VAR foo-foo is reported But again PATH remains the same as my root path. Does this mean when executing # apachectl graceful from within a root shell PATH will ALWAYS be overridden by the value of PATH of the root shell? I don't see what rules of precedence acutally apply ... Anyone can explain me? And will SetEnv in /etc/httpd.conf also work at boot ??? Or will only /usr/local/etc/apache22/envvars.d/mysettings work at boot ?? Or will none of these work at boot ? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 14:58:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B4251065670 for ; Mon, 15 Jun 2009 14:58:06 +0000 (UTC) (envelope-from prvs=4100df0ae=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 578988FC08 for ; Mon, 15 Jun 2009 14:58:06 +0000 (UTC) (envelope-from prvs=4100df0ae=pschmehl_lists@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.42,222,1243832400"; d="scan'208";a="12536278" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 15 Jun 2009 09:29:13 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 668454EF49; Mon, 15 Jun 2009 09:29:13 -0500 (CDT) Date: Mon, 15 Jun 2009 14:29:13 +0000 From: Paul Schmehl To: Pieter Donche , Robert Huff Message-ID: <2A832F905771652089DDC019@utd65257.utdallas.edu> In-Reply-To: References: <18998.13606.129658.46433@jerusalem.litteratus.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: "mail.list freebsd-questions" Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 14:58:06 -0000 --On Monday, June 15, 2009 07:16:51 -0500 Pieter Donche wrote: > > On Mon, 15 Jun 2009, Robert Huff wrote: > >> >> Pieter Donche writes: >>> How can one change the PATH for the user www ? >>> to include e.g. /usr/local/bin >>> >>> In /etc/passwd the entry now is: >>> www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin >> >> Start by reading the section 5 man page for "passwd". >> Could you provide a little more detail about what's breaking >> and why you think this user's path is involved? >> Robert Huff > > Some users on my system run scripts in their webpages. If they specify > commands (e.g.) 'python', it is not found, unless it is specified as > '/usr/local/bin/python', since the Apache runs in an environment which > has as PATH: (as can be seen from phpinfo() output) > /sbin:/bin:/usr/sbin:/usr:bin > only. > > How can one make the PATH that Apache httpd deamon will use > be a different path? > and where exaclty does it get /sbin:/bin:/usr/sbin:/usr:bin from > in the first place? > > I could try specifying in /usr/local/sbin/apachectl 's Bourne shell script: > PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin > export PATH > > but wouldn't this be set back to the original at an Apache update? > > root has a better path: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: > /root/bin > > how could I have httpd have the same path? Why would you want to? You'd open yourself up to all sorts of potential compromise paths. There's a reason why root's path is different from normal users. Instead of doing that, consider creating jails. Or create a symlink to only those binaries that they need to run their scripts to a location that www already has in its path. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 15:09:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1382D106564A for ; Mon, 15 Jun 2009 15:09:12 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57001.mail.re3.yahoo.com (web57001.mail.re3.yahoo.com [66.196.97.105]) by mx1.freebsd.org (Postfix) with SMTP id C3A2A8FC18 for ; Mon, 15 Jun 2009 15:09:11 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 78533 invoked by uid 60001); 15 Jun 2009 15:09:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245078550; bh=VTYHuUf2ME9aZDP3sn+H4i4dAKBJAHHtXY6mwzXdfC0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=FdqxKpvXCjiOK1czHBWDLqSVjYlWxKAPJh/K/ksGoza8rnwiv04sjagKwin82s+RsoIWmXHPWeeLYrAEZya6thf0Wsn5FgalYCdl8bzHuLsChJ+nPBsKYBX/AsCwQrZZDVNg/9qxKkXd/i93JDvXU6sBUNHC8SmfeFrKGOXwZfE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=UONDoGajWzqxaSSj1RYAZDjyyanUgLNb0j0MOTbdgFpSl5SiS3kL0vj9JdZSPou+Vi+gozN14yw7h3sou0Km9j+martZC8JqcBUVFjwG2Re5xLhHlndBffCdJ5CY2nSS020akzQDUg+rM0eUwiTS4FpeOvk20IwWRPL/kGtrSH8=; Message-ID: <966744.78461.qm@web57001.mail.re3.yahoo.com> X-YMail-OSG: j4SzcO0VM1kkY4ntealTQVIlEiEDVjIAUl_IURwUiO0wHEZKQ9e_4Lve8Epc9HJ3Jj5mh1q9zikXVq2A2oQ22pXnEAGNBtL9GoIgv8_hwsuwGmpido5r9RtoUyuKCcgMD5SjKKQDUVNjIZ.HSgZ7jfjtFT8JbDYP0Rb7EWuuUSjU8YWYC2RKkeLRo8RwhMIs5njt.2H8g5VKafWyrHNBGSVIBw5CPla7_sR0eZ0wPrIhruYkRRIZ2sKgeKifO6JIDEN3zQTRJsmBLCQf9YB9pQBJUqSrUpQV9GHsntUzaSk- Received: from [220.255.7.178] by web57001.mail.re3.yahoo.com via HTTP; Mon, 15 Jun 2009 08:09:10 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Mon, 15 Jun 2009 08:09:10 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mail25@bzerk.org, glen.j.barber@gmail.com Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 15:09:12 -0000 --- On Mon, 6/15/09, Ruben de Groot wrote: > From: Ruben de Groot > Subject: Re: Cannot login as root, exited on signal 11 > To: "Glen Barber" > Cc: "Unga" , freebsd-questions@freebsd.org > Date: Monday, June 15, 2009, 9:27 PM > On Sun, Jun 14, 2009 at 04:11:12PM > -0400, Glen Barber typed: > > On Sun, Jun 14, 2009 at 9:06 AM, Unga > wrote: > > > > > > Hi all > > > > > > This is FreeBSD 7.2 on i386. > > > > > > After a custom compiled from sources > installation, root cannot log in but normal users can log > in. > > > > > > Here are the messages in /var/log/messages: > > > Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON > ttyv0 > > > Jun 14 00:44:58 xxx kernel: pid 757 (login), uid > 0: exited on signal 11 > > > Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid > 0: exited on signal 11 (core dumped) > > > > > > Note, cron also fails. > > > > > > When try to log in, it checks the password > correctly, ie. if I type a wrong password for root, it says > "Incorrect ...", but when type the correct password, it > simply come out and prompts the login prompt. > > > > > > It looks like something is missing required for > the root to log in. I'm using bash shell. Any ideas? > > > > I'll make the (probably correct) assumption that > you've changed root's > > default shell to bash. > > > > If so, reboot into single-user mode, and change it > back. > > Why reboot? You can "su -s /bin/tcsh" > > > This is one of the best reasons not to screw around > with the root account. > > Agree. I should bookmark this thread for when (not if) this > discussion comes up > again. > Thank you guys for replies. Now I have more info. I have put some print messages to login.c and libutil/login_class.c source files. Here what it shows: login: pam_session_established, going to fork. login: Master process ID: 763 login: We are now in the child process! kernel: pid 868 (login), uid 0: exited on signal 11 login: Child process ID: 868 login: export_pam_environment() done. login: We're done with PAM now login: username: root login: setlogin() done login: lc: root login: pw_uid: 0 login: We are now inside setusercontext() What happens is, after the child process is forked in login, it die due to some reason. But the child process continue up to setusercontext(). That "We are now inside setusercontext()" is the first statement in the setusercontext(). It doesn't execute up to LOGIN_SETGROUP after that. But the strange thing is whole thing get executed well for normal users. The cron also fail due to same reason. Btw, regarding bash for root, I'm using that on other FreeBSD machines for long time. Any ideas for whats going on? Regards Unga From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 16:12:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA371065670 for ; Mon, 15 Jun 2009 16:12:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB408FC1F for ; Mon, 15 Jun 2009 16:12:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id ED61DEB5339; Mon, 15 Jun 2009 19:12:03 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id E27854509B; Mon, 15 Jun 2009 19:12:03 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55fsnQ0fTK3D; Mon, 15 Jun 2009 19:12:03 +0300 (EEST) Received: from kobe.laptop (adsl105-76.kln.forthnet.gr [77.49.224.76]) by mail.ceid.upatras.gr (Postfix) with ESMTP id AFAD045088; Mon, 15 Jun 2009 19:12:03 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n5FGC34Z033065; Mon, 15 Jun 2009 19:12:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n5FGC1ZK033064; Mon, 15 Jun 2009 19:12:02 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20090615024643.GA33420@thought.org> Date: Mon, 15 Jun 2009 19:12:01 +0300 In-Reply-To: <20090615024643.GA33420@thought.org> (Gary Kline's message of "Sun, 14 Jun 2009 19:46:45 -0700") Message-ID: <87fxe179ym.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: vim 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, 15 Jun 2009 16:12:05 -0000 On Sun, 14 Jun 2009 19:46:45 -0700, Gary Kline wrote: > the main reason i don't use vim is because of its [u]ndo command. as > most of you can understand, there are a whole slew of times when i > need to undo something. too often in vim, hitting 'u' --- sometimes > > once accidentally --- has resulted in a small disaster. [[i have too > many current/recent copies of my working files to do TOO much > damage!]] Anyway, is there a means of setting the undo key to mimic > vi/nvi? Hi Gary, If you accidentally type 'u' in vim, you can "redo" it by ^R. There is also the "set compatible" option, but it isn't exactly "compatible" with the nvi behavior. In nvi, typing 'u' can undo the last operation. Then repeating the undo command with '.' keeps undoing changes until the buffer is reverted to its original state. In vim, with "set compatible" enabled", typing 'u' repeatedly toggles between the last two states of the buffer. In "compatible" mode I am not sure of how to undo multiple changes. In "set nocompatible" mode, typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple times redoes them. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 16:24:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E6AC1065670; Mon, 15 Jun 2009 16:24:24 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id AB3298FC17; Mon, 15 Jun 2009 16:24:23 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by yxe38 with SMTP id 38so2192540yxe.3 for ; Mon, 15 Jun 2009 09:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=NnJYc5gAjG5ZUcKsNHwPawIuCOOOQON7IWs8I4Jd3RY=; b=IKTMyu3CqbhbpgtLjmMx5wHUGfLvWqqYmzLkE+eRDRo8VfNmrEeHt0uGWhL4bwWajj xQrbVRLVPP/4TI2C3STU0aFzHnxoCztmU/xx15Y0gBsYbYRJlP6F0jfHaSd+5HFbPivd kmKF6g1iSGfOEbWWDtMxf4E1KviSon8dgbqmA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Qi/un1twAZ1TSNt+MWjvh6/6kRfF9DmhBqbiGE2f8CdtW97H93eIEhBaArpXTxSzEF 0JqxyKLIBjXALufUWP3h1FMrZAEPcyHvG30MavMZMKI4BVUC8fdPpMRALpPl9UeNuS3u If72oOJXaSn3sEuToPUoyCDF3eijCUb9+GsnY= MIME-Version: 1.0 Received: by 10.100.153.12 with SMTP id a12mr9085922ane.191.1245083061063; Mon, 15 Jun 2009 09:24:21 -0700 (PDT) Date: Mon, 15 Jun 2009 09:24:21 -0700 Message-ID: <539c60b90906150924v6c199b28h10e7ed866a063418@mail.gmail.com> From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Stanislav Sedov Subject: Fixed: Re: another cross-gcc question ("can't compute suffix of object files") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 16:24:24 -0000 On Fri, Jun 12, 2009 at 9:48 AM, Steve Franks wrot= e: > Sorry to be such a pest, =A0I'm trying to go from being a good hardware > programmer to a good OS programmer, but there's alot to pick up to be > FreeBSD proficient... > > Can't seem to do a vanilla cross-gcc on my home system, which works > fine on my work machine, both of them are recent 7.2 installs... > > I don't even know what other info would be needed to track this down. > My machine is pretty much useless without an arm compiler - that's > what I do for work. > > Best, > Steve > > [steve@terra /usr/ports/devel/cross-gcc]$ sudo make > MULTILIB_OPTIONS=3D"mno-thumb-interwork/mthumb-interwork" > MULTILIB_DIRNAMES=3D"normal interwork" TGTARCH=3Darm TGTABI=3Delf > WITH_FLOAT_TYPE=3Dsoft install > > ... > > gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/gcc' > Checking multilib configuration for libgcc... > mkdir arm-elf > mkdir arm-elf/libgcc > Configuring in arm-elf/libgcc > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /usr/bin/install -c -o root -g w= heel > checking for gawk... gawk > checking build system type... i386-portbld-freebsd7.2 > checking host system type... arm-unknown-elf > checking for arm-elf-ar... /usr/local/arm-elf/bin/ar > checking for arm-elf-lipo... arm-elf-lipo > checking for arm-elf-nm... /usr/ports/devel/cross-gcc/work/build/./gcc/nm > checking for arm-elf-ranlib... /usr/local/arm-elf/bin/ranlib > checking for arm-elf-strip... /usr/local/arm-elf/bin/strip > checking whether ln -s works... yes > checking for arm-elf-gcc... > /usr/ports/devel/cross-gcc/work/build/./gcc/xgcc > -B/usr/ports/devel/cross-gcc/work/build/./gcc/ -nostdinc > -B/usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/ -isystem > /usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/targ-include > -isystem /usr/ports/devel/cross-gcc/work/gcc-4.3.2/newlib/libc/include > -B/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/arm > -L/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/libnosys > -L/usr/ports/devel/cross-gcc/work/gcc-4.3.2/libgloss/arm > -B/usr/local/arm-elf/bin/ -B/usr/local/arm-elf/lib/ -isystem > /usr/ports/devel/cross-gcc/work/build/./gcc -isystem > /usr/local/arm-elf/include -isystem /usr/local/arm-elf/sys-include > checking for suffix of object files... configure: error: cannot > compute suffix of object files: cannot compile > See `config.log' for more details. > gmake[1]: *** [configure-target-libgcc] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/devel/cross-gcc. > *** Error code 1 > > Stop in /usr/ports/devel/cross-gcc. > [steve@terra /usr/ports/devel/cross-gcc]$ which gcc > /usr/bin/gcc > [steve@terra /usr/ports/devel/cross-gcc]$ gcc --version > gcc (GCC) 4.2.1 20070719 =A0[FreeBSD] > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. =A0There is= NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. > > [steve@terra /usr/ports/devel/cross-gcc]$ > Did a fresh csup and make/build/install world, to no avail. Figured out I had to export LD_LIBRARY_PATH=3D/usr/local/lib:/usr/lib:/lib before the make command and then it worked fine. Don't know if I fubarred my system, or if that's expected behavior, but the problem was that building libgcc (soft floating point routines) couldn't find libmpfr ... the opensolaris people report this issue all over google, with many gcc versions. I think they're one of the few dists besides bsd that uses /usr/local instead of /usr for things. Linux. Bah. Anyway, if someone else can confirm, I'll submit a pr, otherwise, I'll just assume I did something dumb to my system along the way. Haven't had any problems building other ports with use libs in /usr/local/lib, though (i.e. devel/urjtag uses /usr/local/lib/libftdi, methinks) Best, Steve From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 16:31:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A13106566C for ; Mon, 15 Jun 2009 16:31:25 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id A0CC88FC2C for ; Mon, 15 Jun 2009 16:31:24 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 9386350A0C; Mon, 15 Jun 2009 18:31:23 +0200 (CEST) Received: from [10.10.10.71] (unknown [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id 78475509F6; Mon, 15 Jun 2009 18:31:23 +0200 (CEST) Message-ID: <4A367760.7020405@webrz.net> Date: Mon, 15 Jun 2009 18:31:28 +0200 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: dave.mehler@gmail.com References: In-Reply-To: X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net 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: FreeBSD and apache 2.2 band width limiting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 16:31:26 -0000 Dave wrote: > amound of band width, the other group gets another set amount. I'm wondering > if this is doable? Source: linux-mag.com The traditional solution to handling traffic surges is to throttle traffic on the network -- often at the router. While effective, reconfiguring a router typically requires you to get in touch with your ISP or hosting provider and convince them to implement the necessary throttling. All the while, your bill grows larger and larger. Even worse, if you hit a bandwidth cap, your entire site can effectively be taken off-line. Rather than depending on someone else to solve your traffic problems, you can take matters into your own hands and install the Apache module mod_throttle. mod_throttle allows you to build custom bandwidth and connection rate policies for individual files and directories and entire servers. To understand why mod_throttle is so powerful, consider the traditional solution of throttling at the router (or firewall). This simple-minded approach configures a router to limit the rate at which packets go to and from your server. It's a unilateral constraint: all traffic is effected. Throttle at the router and all of your services are punished for the bad behavior of just one. In a virtual hosting environment, that means all customers are punished for the popularity of a single, unrelated site. If the content you'd like to throttle is in one particular directory, there's no need to punish the users of the rest of your site. With mod_throttle, you can make that decision. Even the most sophisticated router-based throttling isn't granular enough to handle this. Using mod_throttle, you can control the average maximum transfer rate for a given client. Modus Operandi As you can see, throttling isn't as simple as it first might seem. Luckily, mod_throttle provides policies to combat most of the throttling problems you're likely to encounter. Let's take a quick look at them. * The None policy doesn't provide any throttling. It's used to test throttling rules before deploying them. * Using the Concurrent policy you can control the number of concurrent requests that can be made. This policy can keep clients from monopolizing your server with too many simultaneous requests. * The Document policy limits the number of "document" requests per time period. This policy applies to "pages" rather than "hits" since a single page may cause many requests to retrieve referenced images, CSS, and other media files. * The Idle policy forces a minimum idle time (or delay) between requests. This can be used to counteract web spiders that try to suck down pages from your site as fast as possible. * The Original policy is a volume-based policy that is inherited from an earlier version of mod_throttle. It's a bit complicated, so check the mod_throttle docs if you're curious. * The Random policy randomly accepts a percentage of incoming requests. If the percentage is 100, all requests are accepted. If it is 0, none are. By using a value between 0 and 100, you can effectively refuse a percentage of your requests. * The Speed policy imposes a limit on how fast data is sent per period. The Volume policy imposes a limit on how much data is sent per period. And the Request policy limits the number of requests per time period. The Request policy is also effective in slowing web spiders. Each of the policies are controlled by parameters, including a limit and a period. If you want to throttle something to 10 KB/s, then the limit is 10 KB and the period is 1 second. The Original, Speed, and Volume policies all work on the amount of data sent. In other words, they count bytes. Because you can configure the period for those policies, you can be tolerant of short bursts of traffic while still capping potential abusers. Concurrent, Document, Idle, and Request deal with requests, regardless of size. Adding the Throttle Installing mod_throttle is simple. The easiest method is to build it as a Dynamic Shared Object (DSO) and then add it to your Apache configuration. First, download and unpack the code: First get mod_throttle from ports Next, build and install it: $ make; sudo make install Add a LoadModule line to your httpd.conf: LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so And then add an initial throttle configuration: ThrottleClientIP 100 None ThrottlePolicy None SetHandler throttle-status SetHandler throttle-me Next, test and restart Apache: $ sudo apachectl configtest $ sudo apachectl restart lamp_01 Figure One: The mod_throttle status page Finally, visit the throttle-status page to make sure the module is working. Use a URL similar to http://www.example .com/throttle-status. The page should look roughly like Figure One. Configuration With mod_throttle installed and working, let's look at a couple of real configurations to get you started. First, let's consider serving a directory of large and popular content, such as a collection of parodies of Apple's "switch" commercials (http://www.apple.com/switch). ThrottlePolicy Speed 100K 1s The ThrottlePolicy directive, as you might guess, specifies the policy you'd like to implement for this location. The specifications always follow the form: ThrottlePolicy Policy Limit Period If you put a collection of big movies on the server and then try to fetch a movie from another machine, you might find that the file is transmitted at a very high speed -- much higher than 100 KB/s. What's happening? Unlike the granular rate-limiting that is possible at the router or kernel level, mod_throttle works with HTTP requests (rather than network packets). All of the bytes are counted, but they can't be counted until after a request is serviced. mod_throttle keeps track of how many bytes were sent and how long it took. Next, let's consider the problem of a Web robot that hits your site too quickly. The following entry limits all clients (identified by unique IP address) to five requests per second. That rule is applied server-wide unless the entry is enclosed in a VirtualHost, Location, or Directory block. ThrottlePolicy Request 5 1 Watch it As you add new policies to your server, the mod_throttle statistics page reflects each one, along with various statistics, including number of hits refused and bytes sent. By clicking on a policy name, you can discover which clients are currently in violation of the policy. You can also use the Web interface to reset those clients. That's all there is to getting started. mod_throttle can keep your bandwidth costs under control, and can also help prevent a Denial of Service attack from crippling your web site. hope this helps, Jos Chrispijn* * From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 16:49:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55EBA106566C for ; Mon, 15 Jun 2009 16:49:54 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 08C698FC0C for ; Mon, 15 Jun 2009 16:49:53 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id A381B7E83F; Mon, 15 Jun 2009 08:49:52 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org, Pieter Donche Date: Mon, 15 Jun 2009 08:49:38 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <139b44430906150524i70940c6dp2fbc8c22ffd9e55@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906150849.39244.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Robert Huff , Valentin Bud Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 16:49:54 -0000 On Monday 15 June 2009 06:15:11 Pieter Donche wrote: > Now I see from reading the apache start-up script /usr/local/sbin/apachectl > that one can create a file with instructions to be executed at > startup of Apache: any file in /usr/local/etc/apache22/envvars.d is > sourced into the start up environment of apache. Nope, you didn't read it right. > This directory was empty for the moment. > So I could put in there a file, > /usr/local/etc/apache22/envvars.d/mysettings > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin > export PATH > I don't see what rules of precedence acutally apply ... > Anyone can explain me? > > And will SetEnv in /etc/httpd.conf also work at boot ??? > Or will only /usr/local/etc/apache22/envvars.d/mysettings work at boot ?? It will never work: 1) Your file needs to end in .env. 2) graceful does not restart the root process and the environment is kept in the root httpd process, thus you need to restart apache. % alias aprestart aprestart='sudo /usr/local/etc/rc.d/apache22 restart' % cat /usr/local/etc/apache22/envvars.d/path.env #!/bin/sh export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin % aprestart Performing sanity check on apache22 configuration: Syntax OK Stopping apache22. Waiting for PIDS: 85453. Performing sanity check on apache22 configuration: Syntax OK Starting apache22. % curl -s http://localhost/info.php |sed -ne '/PATH / s,<[^>]*>,,gp' |head -1 PATH /sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 17:33:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 250E01065676 for ; Mon, 15 Jun 2009 17:33:16 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DA36B8FC22 for ; Mon, 15 Jun 2009 17:33:15 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5FHUN8p007326; Mon, 15 Jun 2009 13:30:23 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5FHUN3Q007325; Mon, 15 Jun 2009 13:30:23 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 15 Jun 2009 13:30:23 -0400 From: Jerry McAllister To: Unga Message-ID: <20090615173022.GA7242@gizmo.acns.msu.edu> References: <966744.78461.qm@web57001.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <966744.78461.qm@web57001.mail.re3.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: mail25@bzerk.org, glen.j.barber@gmail.com, freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 17:33:16 -0000 On Mon, Jun 15, 2009 at 08:09:10AM -0700, Unga wrote: > > --- On Mon, 6/15/09, Ruben de Groot wrote: > > > From: Ruben de Groot > > Subject: Re: Cannot login as root, exited on signal 11 > > To: "Glen Barber" > > Cc: "Unga" , freebsd-questions@freebsd.org > > Date: Monday, June 15, 2009, 9:27 PM > > On Sun, Jun 14, 2009 at 04:11:12PM > > -0400, Glen Barber typed: > > > On Sun, Jun 14, 2009 at 9:06 AM, Unga > > wrote: > > > > > > > > Hi all > > > > > > > > This is FreeBSD 7.2 on i386. > > > > > > > > After a custom compiled from sources > > installation, root cannot log in but normal users can log > > in. > > > > > > > > Here are the messages in /var/log/messages: > > > > Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON > > ttyv0 > > > > Jun 14 00:44:58 xxx kernel: pid 757 (login), uid > > 0: exited on signal 11 > > > > Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid > > 0: exited on signal 11 (core dumped) > > > > > > > > Note, cron also fails. > > > > > > > > When try to log in, it checks the password > > correctly, ie. if I type a wrong password for root, it says > > "Incorrect ...", but when type the correct password, it > > simply come out and prompts the login prompt. > > > > > > > > It looks like something is missing required for > > the root to log in. I'm using bash shell. Any ideas? > > > > > > I'll make the (probably correct) assumption that > > you've changed root's > > > default shell to bash. > > > > > > If so, reboot into single-user mode, and change it > > back. > > > > Why reboot? You can "su -s /bin/tcsh" > > > > > This is one of the best reasons not to screw around > > with the root account. > > > > Agree. I should bookmark this thread for when (not if) this > > discussion comes up > > again. > > > > Thank you guys for replies. > > Now I have more info. I have put some print messages to login.c and libutil/login_class.c source files. Here what it shows: > login: pam_session_established, going to fork. > login: Master process ID: 763 > login: We are now in the child process! > kernel: pid 868 (login), uid 0: exited on signal 11 > login: Child process ID: 868 > login: export_pam_environment() done. > login: We're done with PAM now > login: username: root > login: setlogin() done > login: lc: root > login: pw_uid: 0 > login: We are now inside setusercontext() > > What happens is, after the child process is forked in login, it die due to some reason. But the child process continue up to setusercontext(). > > That "We are now inside setusercontext()" is the first statement in the setusercontext(). It doesn't execute up to LOGIN_SETGROUP after that. > > But the strange thing is whole thing get executed well for normal users. > > The cron also fail due to same reason. > > Btw, regarding bash for root, I'm using that on other FreeBSD machines > for long time. You can if you want, but you may have to make sure it is in root's path. That becomes an issue if you are booted to single user for any reason. Some of those reasons may also make /usr unavailable at that time. Also, although most system scripts should explicitly name their shell interpreter at the beginning, it is possible some scripts somewhere do not and make an assumption that is it sh or csh. That is more likely if you have something non-base installed. I haven't followed the thread, but is it possible that you are coming up against root not being allowed to log in from a remote location that is the default in FreeBSD? You normally have to log in on a non-root account and then su(1) to be root. Or you have to change some configuration to allow root to remote log in (not advised!). ////jerry > > Any ideas for whats going on? > > Regards > Unga > > > > > > > > _______________________________________________ > 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 Jun 15 17:56:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BE7106564A for ; Mon, 15 Jun 2009 17:56:45 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2BEBD8FC0A for ; Mon, 15 Jun 2009 17:56:45 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 1188F7E837; Mon, 15 Jun 2009 09:56:44 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 09:56:42 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <2A832F905771652089DDC019@utd65257.utdallas.edu> In-Reply-To: <2A832F905771652089DDC019@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906150956.43085.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Paul Schmehl , "Philip M. Gollucci" Subject: Re: path for user www X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 17:56:45 -0000 On Monday 15 June 2009 06:29:13 Paul Schmehl wrote: > Why would you want to? You'd open yourself up to all sorts of potential > compromise paths. There's a reason why root's path is different from > normal users. Without forcing a PATH for apache, you open yourself up to exactly the things you're warning for, when you restart apache in multi-user. When using sudo apache would actually have the PATH of your normal user. Also, PATH for root is _not_ noticably different from normal users in a vanilla install. Only the path during rc(8) stage is sanitized, which is why you see a different path after reboot. Ideally, the apache port would install a path.env.default in the envvars.d directory and mention it's usage in pkg-message. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 18:33:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C57321065673 for ; Mon, 15 Jun 2009 18:33:29 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 819E68FC1E for ; Mon, 15 Jun 2009 18:33:29 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so5096565qyk.3 for ; Mon, 15 Jun 2009 11:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=v4iBj+yOKK/+BMUqt+StdUldV3Vr21PPLJD0kM9MZpE=; b=O1j96g+Td6r/VpVbssdY6emmK2FN7LwIdPquwnZVzSFH5ZwiToWj03JXqxsvcpayOR UGcahWCHfwy8GdrN5MyAZo6tmfAt9p3C7Tnl+6tjU0cFvttS6FSe9jqZa2NuvHrNUu7g /7VLrNTnZXXuKzdKfF1dZ39KILDnkxQHuaKtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qw1nqGLIc2OBN5pAz+X+1Qr3vMs4h8j9LdfZlz+Qbuuqxlxv1lLvsvmeho7mF58Xhr LZMyo2oNjCaSotFhITUPp0va5fSQp466aX4NaDYZ543+hbc/7ag9FLZ983+RzfQmOJfB tU4IBH4HRL0vmR0pTk7MvoWUIzTb5FmNAhpOI= MIME-Version: 1.0 Received: by 10.220.77.75 with SMTP id f11mr5043556vck.85.1245090807992; Mon, 15 Jun 2009 11:33:27 -0700 (PDT) In-Reply-To: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> References: <4A362C52.13411.FE09F46@d.forsyth.ru.ac.za> Date: Mon, 15 Jun 2009 12:33:27 -0600 Message-ID: From: Tim Judd To: d.forsyth@ru.ac.za Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: cron mail problem solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 18:33:30 -0000 On 6/15/09, DA Forsyth wrote: > Why do I become so clever AFTER asking for help? > > Anyhow, I have solved the cron not sending email problem. > The cron log file contains lines like this > NSSWITCH(nss_method_lookup): nis, group_compat, setgrent, not found > which when searched for produces the page at > http://www.ivorde.ro/FreeBSD_Cron__NSSWITCH_nss_method_lookup_errors- > 44.html > > So I have edited my /etc/nsswitch.conf to have > group: files > password: files > (instead of 'compat') > > and now it works again. > > I guess I must have installed that file in the upgrade during my > glazed mergemaster phase of 'esc i enter' to install all those files > whose only difference is the $Id$ tag (why do they bother?) > > mergemaster(8) -F Lots of options, maybe check it out. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 18:37:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D250106564A for ; Mon, 15 Jun 2009 18:37:56 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id AB15E8FC08 for ; Mon, 15 Jun 2009 18:37:55 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz28 with SMTP id 28so821672bwz.43 for ; Mon, 15 Jun 2009 11:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kLyq/RtQFTLYDlIhTXTXfPS2gJxAI/N7MKUAqv0TPus=; b=VuvJP+bPfN0HySSOA1WujXzfM1KwqrV59BAOWeL3/sKVoKBZ0lRJ/LulsYn+FoZ6B5 Kmt9hTf03NckirICg6UKhS3bDx/eXBVqp4oK5dDnIFt+EYEblblXJhaQrgwwFXP1hoEu AP2b/PviYkChK5mihrY8PIInxQOp0kXaHSwbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=obr830zGfrugqMSJmhZ2K1V7LTAMlPBHcixmiw2RpWPaEyz5mEX85DiLRUQV3vjmdf 5VItuWpQUCKZZqhLsJw4KTWiW8Q7tesCnyVGBYwFRT1VZXYKUAaVNCcEdP3nAy5tmgPi lwlwidzuWs4mo0IaOH5Cd8S7Jlk6id8bis3OA= MIME-Version: 1.0 Received: by 10.204.115.143 with SMTP id i15mr7360222bkq.103.1245091074587; Mon, 15 Jun 2009 11:37:54 -0700 (PDT) In-Reply-To: <20090615132743.GA86767@ei.bzerk.org> References: <194669.83794.qm@web57002.mail.re3.yahoo.com> <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> <20090615132743.GA86767@ei.bzerk.org> Date: Mon, 15 Jun 2009 14:37:54 -0400 Message-ID: <4ad871310906151137t7cdf48a3q4af34a98a286089c@mail.gmail.com> From: Glen Barber To: Ruben de Groot , Unga , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 18:37:56 -0000 On Mon, Jun 15, 2009 at 9:27 AM, Ruben de Groot wrote: >> If so, reboot into single-user mode, and change it back. > > Why reboot? You can "su -s /bin/tcsh" > How can you change the shell if you cannot log in? That's why I suggested single-user mode. >> This is one of the best reasons not to screw around with the root account. > > Agree. I should bookmark this thread for when (not if) this discussion comes up > again. > > Ruben > > -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 19:07:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E24B106566C for ; Mon, 15 Jun 2009 19:07:20 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out1.uni-muenster.de (ZIVM-OUT1.UNI-MUENSTER.DE [128.176.192.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9F98FC16 for ; Mon, 15 Jun 2009 19:07:19 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,224,1243807200"; d="scan'208";a="274567114" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 15 Jun 2009 21:07:06 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id 5EE7B1B075E; Mon, 15 Jun 2009 21:07:06 +0200 (CEST) Date: Mon, 15 Jun 2009 21:07:05 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 19:07:20 -0000 hi there, when i try printing certain website the font looks very pixelated and i can't read anything. the same happens if i tell firefox to redirect the print output to a pdf or ps file so it's probably not a printer issue. the website that causes problems has this in css: font-size: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; i'm running firefox 2.5b99, but i've had this problem with firefox 2 already. apart from certain webpages pinting works without any problem. might this be a font issue? or a firefox bug? cheers. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 19:21:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D719106566B for ; Mon, 15 Jun 2009 19:21:32 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 250148FC22 for ; Mon, 15 Jun 2009 19:21:32 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5FJIgPO007669; Mon, 15 Jun 2009 15:18:42 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5FJIgtm007668; Mon, 15 Jun 2009 15:18:42 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 15 Jun 2009 15:18:42 -0400 From: Jerry McAllister To: Alexander Best Message-ID: <20090615191842.GA7652@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 19:21:32 -0000 On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > hi there, > > when i try printing certain website the font looks very pixelated and i can't > read anything. the same happens if i tell firefox to redirect the print output > to a pdf or ps file so it's probably not a printer issue. the website that > causes problems has this in css: > > font-size: 20px; > font-family: Verdana, Arial, Helvetica, sans-serif; > > i'm running firefox 2.5b99, but i've had this problem with firefox 2 already. > apart from certain webpages pinting works without any problem. > > might this be a font issue? or a firefox bug? I have something that sounds the same in Firefox 3 on FreeBSD. I just assumed I did something wrong with fonts - about which I know little. But, if someone has some helpful information I would be glad to know about it too. ////jerry > > cheers. > _______________________________________________ > 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 Jun 15 19:41:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FCA61065673 for ; Mon, 15 Jun 2009 19:41:16 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3592D8FC21 for ; Mon, 15 Jun 2009 19:41:15 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 5DF227E83F; Mon, 15 Jun 2009 11:41:15 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 11:41:14 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090615191842.GA7652@gizmo.acns.msu.edu> In-Reply-To: <20090615191842.GA7652@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Jerry McAllister , Alexander Best Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 19:41:16 -0000 On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > hi there, > > > > when i try printing certain website the font looks very pixelated and i > > can't read anything. the same happens if i tell firefox to redirect the > > print output to a pdf or ps file so it's probably not a printer issue. > > the website that causes problems has this in css: > > > > font-size: 20px; > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > i'm running firefox 2.5b99, but i've had this problem with firefox 2 > > already. apart from certain webpages pinting works without any problem. > > > > might this be a font issue? or a firefox bug? > > I have something that sounds the same in Firefox 3 on FreeBSD. > I just assumed I did something wrong with fonts - about which > I know little. But, if someone has some helpful information > I would be glad to know about it too. On a hunch, is x11-fonts/webfonts installed? -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:00:36 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA68D106564A for ; Mon, 15 Jun 2009 20:00:36 +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 698C68FC1A for ; Mon, 15 Jun 2009 20:00:36 +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 n5FK0VBa014420 for ; Mon, 15 Jun 2009 13:00:31 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 13:00:31 -0700 (PDT) Date: Mon, 15 Jun 2009 13:00:30 -0700 From: Gary Kline To: FreeBSD Questions Message-ID: <20090615200030.GA37102@thought.org> References: <20090615024643.GA33420@thought.org> <20090615045106.GA56586@kokopelli.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090615045106.GA56586@kokopelli.hydra> 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: vim 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, 15 Jun 2009 20:00:37 -0000 On Sun, Jun 14, 2009 at 10:51:06PM -0600, Chad Perrin wrote: > On Sun, Jun 14, 2009 at 09:18:42PM -0700, Michael K. Smith wrote: > > On 6/14/09 7:46 PM, "Gary Kline" wrote: > > > > > > the main reason i don't use vim is because of its [u]ndo > > > command. as most of you can understand, there are a whole slew > > > of times when i need to undo something. too often in vim, > > > hitting 'u' --- sometimes > once accidentally --- has resulted in > > > a small disaster. [[i have too many current/recent copies of > > > my working files to do TOO much damage!]] Anyway, is there a > > > means of setting the undo key to mimic vi/nvi? > > > > > If you undo something and it was a mistake, just use the period (.). > > It's probably better to get in the habit of using :redo than the period > to undo an undo, since :redo (or :red for not-very-short) can advance > through several levels of undos, but the period can only repeat one > single thing over and over again. If you're six levels back in undos, > and you want to undo all six levels, but you use the period once, I think > that'd wipe out all those levels of undo so they aren't recoverable. Yeah, see, this is exactly my problem. UAually, i just hit 'u' once, check my code, continue. But then I think there may be cap-u ['U'] ... or maybe not. It's only happened three or four times, but that was enough to keep me away from vim! You say that :red can undo 'several' levels.... without having me dig thru the vim docs, does :reo take an arg, like maybe :redo 5 ? bleah. bill joy had the better idea back in the late 70's with the original vi [IMHO] :_) > > I haven't directly tested that recently, but that's how I recall it > working back when I first learned about multiple undo/redo levels for > Vim, lo these many moons ago when the world was young and dinosaurs > roamed the Earth. man, i hear THAT! > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Quoth H. L. Mencken: "Democracy is the theory that the common people > know what they want and deserve to get it good and hard." -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:03:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246661065676 for ; Mon, 15 Jun 2009 20:03:42 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DD8D78FC21 for ; Mon, 15 Jun 2009 20:03:41 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5FK0qwC007880; Mon, 15 Jun 2009 16:00:52 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5FK0qkZ007879; Mon, 15 Jun 2009 16:00:52 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 15 Jun 2009 16:00:52 -0400 From: Jerry McAllister To: Mel Flynn Message-ID: <20090615200051.GA7811@gizmo.acns.msu.edu> References: <20090615191842.GA7652@gizmo.acns.msu.edu> <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , Alexander Best , freebsd-questions@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 20:03:42 -0000 On Mon, Jun 15, 2009 at 11:41:14AM -0800, Mel Flynn wrote: > On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > hi there, > > > > > > when i try printing certain website the font looks very pixelated and i > > > can't read anything. the same happens if i tell firefox to redirect the > > > print output to a pdf or ps file so it's probably not a printer issue. > > > the website that causes problems has this in css: > > > > > > font-size: 20px; > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > > > i'm running firefox 2.5b99, but i've had this problem with firefox 2 > > > already. apart from certain webpages pinting works without any problem. > > > > > > might this be a font issue? or a firefox bug? > > > > I have something that sounds the same in Firefox 3 on FreeBSD. > > I just assumed I did something wrong with fonts - about which > > I know little. But, if someone has some helpful information > > I would be glad to know about it too. > > On a hunch, is x11-fonts/webfonts installed? In Firefox or in X? How do I tell? I don't see anything that looks like those names in X.../fonts directory ////jerry > -- > Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:31:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27B01065673 for ; Mon, 15 Jun 2009 20:31:01 +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 912A08FC23 for ; Mon, 15 Jun 2009 20:31:01 +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 n5FKUupF014808; Mon, 15 Jun 2009 13:30:56 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 13:30:56 -0700 (PDT) Date: Mon, 15 Jun 2009 13:30:56 -0700 From: Gary Kline To: "Paul B. Mahol" Message-ID: <20090615203055.GB37102@thought.org> References: <20090615024643.GA33420@thought.org> <3a142e750906150024v2936759amd5229ccbb2a71daf@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e750906150024v2936759amd5229ccbb2a71daf@mail.gmail.com> 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: vim 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, 15 Jun 2009 20:31:02 -0000 On Mon, Jun 15, 2009 at 09:24:57AM +0200, Paul B. Mahol wrote: > On 6/15/09, Gary Kline wrote: > > > > > > the main reason i don't use vim is because of its [u]ndo > > command. as most of you can understand, there are a whole slew > > of times when i need to undo something. too often in vim, > > hitting 'u' --- sometimes > once accidentally --- has resulted in > > a small disaster. [[i have too many current/recent copies of > > my working files to do TOO much damage!]] Anyway, is there a > > means of setting the undo key to mimic vi/nvi? > > From vim help: > > 2. Two ways of undo *undo-two-ways* > > How undo and redo commands work depends on the 'u' flag in 'cpoptions'. > There is the Vim way ('u' excluded) and the vi-compatible way ('u' included). > In the Vim way, "uu" undoes two changes. In the Vi-compatible way, "uu" does > nothing (undoes an undo). > > 'u' excluded, the Vim way: > You can go back in time with the undo command. You can then go forward again > with the redo command. If you make a new change after the undo command, > the redo will not be possible anymore. > > 'u' included, the Vi-compatible way: > The undo command undoes the previous change, and also the previous undo command. > The redo command repeats the previous undo command. It does NOT repeat a > change command, use "." for that. > > Examples Vim way Vi-compatible way ~ > "uu" two times undo no-op > "u CTRL-R" no-op two times undo > > Rationale: Nvi uses the "." command instead of CTRL-R. Unfortunately, this > is not Vi compatible. For example "dwdwu." in Vi deletes two > words, in Nvi it does nothing. > strange, but i just tested dwdw in the nvi that keith bostic gave us. it deletes 2 words. and if you type '.', it repeats the dw by deleting each word. no sense in getting into any 'religious war' over vim vs nvi. it may be what you're used to. i've been using vi for over 30 years and am used to its ease ... and its quirks. gary > > Anyway this topic is offtopic. > -- > Paul -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:34:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEEFD106566B for ; Mon, 15 Jun 2009 20:34:21 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id AC8BF8FC08 for ; Mon, 15 Jun 2009 20:34:21 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 6D52D7E837; Mon, 15 Jun 2009 12:34:20 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 12:34:19 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615200051.GA7811@gizmo.acns.msu.edu> In-Reply-To: <20090615200051.GA7811@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Jerry McAllister , Alexander Best Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 20:34:22 -0000 On Monday 15 June 2009 12:00:52 Jerry McAllister wrote: > On Mon, Jun 15, 2009 at 11:41:14AM -0800, Mel Flynn wrote: > > On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > > hi there, > > > > > > > > when i try printing certain website the font looks very pixelated and > > > > i can't read anything. the same happens if i tell firefox to redirect > > > > the print output to a pdf or ps file so it's probably not a printer > > > > issue. the website that causes problems has this in css: > > > > > > > > font-size: 20px; > > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > > > > > i'm running firefox 2.5b99, but i've had this problem with firefox 2 > > > > already. apart from certain webpages pinting works without any > > > > problem. > > > > > > > > might this be a font issue? or a firefox bug? > > > > > > I have something that sounds the same in Firefox 3 on FreeBSD. > > > I just assumed I did something wrong with fonts - about which > > > I know little. But, if someone has some helpful information > > > I would be glad to know about it too. > > > > On a hunch, is x11-fonts/webfonts installed? > > In Firefox or in X? > How do I tell? I don't see anything that looks like > those names in X.../fonts directory % grep ' ORIGIN:' /var/db/pkg/webfonts-0.30_6/+CONTENTS @comment ORIGIN:x11-fonts/webfonts The reason I think it might be the issue, is that in your installations 'verdana' is an aliased screen font, that doesn't print well. The Microsoft variant installed via this port, has better printing characteristics. The Luxi/Luci fonts, are very pixelated. Bitstream-vera are of higher quality as are these MS fonts. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:46:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B2B1065694 for ; Mon, 15 Jun 2009 20:46:03 +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 AEAB58FC15 for ; Mon, 15 Jun 2009 20:46:02 +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 n5FKjt4p014994; Mon, 15 Jun 2009 13:45:56 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 13:45:55 -0700 (PDT) Date: Mon, 15 Jun 2009 13:45:54 -0700 From: Gary Kline To: Giorgos Keramidas Message-ID: <20090615204554.GC37102@thought.org> References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fxe179ym.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-questions@freebsd.org Subject: Re: vim 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, 15 Jun 2009 20:46:04 -0000 On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: > On Sun, 14 Jun 2009 19:46:45 -0700, Gary Kline wrote: > > the main reason i don't use vim is because of its [u]ndo command. as > > most of you can understand, there are a whole slew of times when i > > need to undo something. too often in vim, hitting 'u' --- sometimes > > > once accidentally --- has resulted in a small disaster. [[i have too > > many current/recent copies of my working files to do TOO much > > damage!]] Anyway, is there a means of setting the undo key to mimic > > vi/nvi? > > Hi Gary, > > If you accidentally type 'u' in vim, you can "redo" it by ^R. There is > also the "set compatible" option, but it isn't exactly "compatible" with > the nvi behavior. > > In nvi, typing 'u' can undo the last operation. Then repeating the undo > command with '.' keeps undoing changes until the buffer is reverted to > its original state. > Thank you, Giorgos. THIS is what I wanted to know:: > In vim, with "set compatible" enabled", typing 'u' repeatedly toggles > between the last two states of the buffer. In "compatible" mode I am > not sure of how to undo multiple changes. In "set nocompatible" mode, > typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple > times redoes them. > I've saved this to my vimHelp file. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 20:59:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 824231065679 for ; Mon, 15 Jun 2009 20:59:20 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5568FC15 for ; Mon, 15 Jun 2009 20:59:19 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5FKuUq6008068; Mon, 15 Jun 2009 16:56:30 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5FKuT7c008067; Mon, 15 Jun 2009 16:56:29 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 15 Jun 2009 16:56:29 -0400 From: Jerry McAllister To: Mel Flynn Message-ID: <20090615205629.GA8029@gizmo.acns.msu.edu> References: <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615200051.GA7811@gizmo.acns.msu.edu> <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , Alexander Best , freebsd-questions@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 20:59:20 -0000 On Mon, Jun 15, 2009 at 12:34:19PM -0800, Mel Flynn wrote: > On Monday 15 June 2009 12:00:52 Jerry McAllister wrote: > > On Mon, Jun 15, 2009 at 11:41:14AM -0800, Mel Flynn wrote: > > > On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > > > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > > > hi there, > > > > > > > > > > when i try printing certain website the font looks very pixelated and > > > > > i can't read anything. the same happens if i tell firefox to redirect > > > > > the print output to a pdf or ps file so it's probably not a printer > > > > > issue. the website that causes problems has this in css: > > > > > > > > > > font-size: 20px; > > > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > > > > > > > i'm running firefox 2.5b99, but i've had this problem with firefox 2 > > > > > already. apart from certain webpages pinting works without any > > > > > problem. > > > > > > > > > > might this be a font issue? or a firefox bug? > > > > > > > > I have something that sounds the same in Firefox 3 on FreeBSD. > > > > I just assumed I did something wrong with fonts - about which > > > > I know little. But, if someone has some helpful information > > > > I would be glad to know about it too. > > > > > > On a hunch, is x11-fonts/webfonts installed? > > > > In Firefox or in X? > > How do I tell? I don't see anything that looks like > > those names in X.../fonts directory > > % grep ' ORIGIN:' /var/db/pkg/webfonts-0.30_6/+CONTENTS > @comment ORIGIN:x11-fonts/webfonts I don't seem to have any 'webfonts...' directory in /var/db/pkg/ I guess that means nothing was every installed. Should I now? > The reason I think it might be the issue, is that in your installations > 'verdana' is an aliased screen font, that doesn't print well. The Microsoft > variant installed via this port, has better printing characteristics. > > The Luxi/Luci fonts, are very pixelated. Bitstream-vera are of higher quality > as are these MS fonts. I have never played around with fonts - just took whatever was default so this is new and very hazy to me. ////jerry > -- > Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:07:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7B5910657BA for ; Mon, 15 Jun 2009 21:07:02 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C72A8FC1A for ; Mon, 15 Jun 2009 21:07:02 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id BE8187E83F; Mon, 15 Jun 2009 13:07:01 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 13:06:37 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615205629.GA8029@gizmo.acns.msu.edu> In-Reply-To: <20090615205629.GA8029@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Jerry McAllister , Alexander Best Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 21:07:06 -0000 On Monday 15 June 2009 12:56:29 Jerry McAllister wrote: > On Mon, Jun 15, 2009 at 12:34:19PM -0800, Mel Flynn wrote: > > On Monday 15 June 2009 12:00:52 Jerry McAllister wrote: > > > On Mon, Jun 15, 2009 at 11:41:14AM -0800, Mel Flynn wrote: > > > > On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > > > > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > > > > hi there, > > > > > > > > > > > > when i try printing certain website the font looks very pixelated > > > > > > and i can't read anything. the same happens if i tell firefox to > > > > > > redirect the print output to a pdf or ps file so it's probably > > > > > > not a printer issue. the website that causes problems has this in > > > > > > css: > > > > > > > > > > > > font-size: 20px; > > > > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > > > > > > > > > i'm running firefox 2.5b99, but i've had this problem with > > > > > > firefox 2 already. apart from certain webpages pinting works > > > > > > without any problem. > > > > > > > > > > > > might this be a font issue? or a firefox bug? > > > > > > > > > > I have something that sounds the same in Firefox 3 on FreeBSD. > > > > > I just assumed I did something wrong with fonts - about which > > > > > I know little. But, if someone has some helpful information > > > > > I would be glad to know about it too. > > > > > > > > On a hunch, is x11-fonts/webfonts installed? > > > > > > In Firefox or in X? > > > How do I tell? I don't see anything that looks like > > > those names in X.../fonts directory > > > > % grep ' ORIGIN:' /var/db/pkg/webfonts-0.30_6/+CONTENTS > > @comment ORIGIN:x11-fonts/webfonts > > I don't seem to have any 'webfonts...' directory in /var/db/pkg/ > I guess that means nothing was every installed. Should I now? Yes: portmaster /usr/ports/x11-fonts/webfonts or make -C /usr/ports/x11- fonts/webfonts/ install Follow the instructions from the pkg-message (allthough I don't think they're needed anymore with automatic configuration, but it don't hurt if you already have an xorg.conf). Restart X for the fonts to be usable or you can use xset +fp /usr/local/lib/X11/fonts/webfonts and restart the app you want to use the fonts in. Easiest way to check if the fonts are enabled is to pull up any font selector for an application and checking for "Andale Mono" and "Arial black" in the list. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:14:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FBFA106570F for ; Mon, 15 Jun 2009 21:14:47 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6FC8FC1A for ; Mon, 15 Jun 2009 21:14:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 199127E837; Mon, 15 Jun 2009 13:14:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 13:14:44 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> <20090615204554.GC37102@thought.org> In-Reply-To: <20090615204554.GC37102@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Giorgos Keramidas , Gary Kline Subject: Re: vim 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, 15 Jun 2009 21:14:50 -0000 On Monday 15 June 2009 12:45:54 Gary Kline wrote: > On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: > > In vim, with "set compatible" enabled", typing 'u' repeatedly toggles > > between the last two states of the buffer. In "compatible" mode I am > > not sure of how to undo multiple changes. In "set nocompatible" mode, > > typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple > > times redoes them. > > I've saved this to my vimHelp file. Really, when using new software it's not a bad thing to get familiar with it. This is covered in lesson 2.7 from the vim tutorial, accessible by typing vimtutor in a terminal near you. Running vim in compatible mode, you might as well run vi as it has roughly the same quirks. You won't get the "Improved" part, when you don't investigate what the software is capable of. The vimtutor is excellent for this and you may still decide that your fingers are too old to get used to the improved stuff, like I'm incapable of learning emacs. -- Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:22:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54DE6106567A for ; Mon, 15 Jun 2009 21:22:55 +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 E54918FC20 for ; Mon, 15 Jun 2009 21:22: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 n5FLMmNx015314; Mon, 15 Jun 2009 14:22:48 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 14:22:48 -0700 (PDT) Date: Mon, 15 Jun 2009 14:22:48 -0700 From: Gary Kline To: Mel Flynn Message-ID: <20090615212247.GG37102@thought.org> References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> <20090615204554.GC37102@thought.org> <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.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: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: vim 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, 15 Jun 2009 21:22:57 -0000 On Mon, Jun 15, 2009 at 01:14:44PM -0800, Mel Flynn wrote: > On Monday 15 June 2009 12:45:54 Gary Kline wrote: > > On Mon, Jun 15, 2009 at 07:12:01PM +0300, Giorgos Keramidas wrote: > > > > In vim, with "set compatible" enabled", typing 'u' repeatedly toggles > > > between the last two states of the buffer. In "compatible" mode I am > > > not sure of how to undo multiple changes. In "set nocompatible" mode, > > > typing 'u' repeatedly undoes multiple changes, and typing '^R' multiple > > > times redoes them. > > > > I've saved this to my vimHelp file. > > Really, when using new software it's not a bad thing to get familiar with it. > This is covered in lesson 2.7 from the vim tutorial, accessible by typing > vimtutor in a terminal near you. > > Running vim in compatible mode, you might as well run vi as it has roughly the > same quirks. You won't get the "Improved" part, when you don't investigate > what the software is capable of. The vimtutor is excellent for this and you > may still decide that your fingers are too old to get used to the improved > stuff, like I'm incapable of learning emacs. i first used vim in the mid 90's -- guessing, but your point is well taken. gary PS: if gvim ever evolves into a word-processor, life will be *perfect* ;-) > -- > Mel -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:39:12 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F9AE1065672 for ; Mon, 15 Jun 2009 21:39:12 +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 615808FC25 for ; Mon, 15 Jun 2009 21:39:12 +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 n5FLd8F7015434 for ; Mon, 15 Jun 2009 14:39:08 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 14:39:08 -0700 (PDT) Date: Mon, 15 Jun 2009 14:39:08 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090615213905.GA37431@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: 100% Ot and self-serving... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 21:39:13 -0000 people, i finally heard back from a writer of world renoun who couldn't put down my 150+K word manuscript. she loves it. the tenth i have below on the "for fbsd" line in my .sig IS going away after 30jun09, so if you guy want a preview this is the time. (and i thought it was for-nerds only) ! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:41:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F77C1065676 for ; Mon, 15 Jun 2009 21:41:36 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id CEA8C8FC28 for ; Mon, 15 Jun 2009 21:41:35 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz28 with SMTP id 28so934682bwz.43 for ; Mon, 15 Jun 2009 14:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HrDs0uGxLzkSNUS4qoJMX6BR1jhgRWSmD8oCiCvILj0=; b=xe0sSAtn6fyEK91t5R2beo29aYf2QK/14HYx8jEcIMV9Qx39ePgB89xDzKmc+q40Oh oOVrZaEhHOEaOsIAR42VmG8EYwGVQ15pnnOl8udjbORARkxUbR0EBivioSrZT9Fxn1lo UVRXKkOpgaA1a17Rl7+aRrWfXKCGeQ0ZL3gqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Kdhjj1j9sDlqlLHFSAbJ1ORb3EHMcChncizAhBCf5fqN0xv7lSTt558hpJ6EYAQF7/ 2a0s0jO9VELUCn9ryjk0xUxwwZRZqowJG14otzCTNzIqqyqP93Pd3jBcoUZIH/jB9d5f kPB9dFzbUkg1tE9i9yO0YRQ24gRoTaB6dFqI4= MIME-Version: 1.0 Received: by 10.204.101.13 with SMTP id a13mr7496859bko.89.1245102094614; Mon, 15 Jun 2009 14:41:34 -0700 (PDT) In-Reply-To: <20090615203055.GB37102@thought.org> References: <20090615024643.GA33420@thought.org> <3a142e750906150024v2936759amd5229ccbb2a71daf@mail.gmail.com> <20090615203055.GB37102@thought.org> Date: Mon, 15 Jun 2009 23:41:34 +0200 Message-ID: <3a142e750906151441p6a9db819r1b9da3f82dd48097@mail.gmail.com> From: "Paul B. Mahol" To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: vim 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, 15 Jun 2009 21:41:37 -0000 On 6/15/09, Gary Kline wrote: > On Mon, Jun 15, 2009 at 09:24:57AM +0200, Paul B. Mahol wrote: >> On 6/15/09, Gary Kline wrote: >> > >> > >> > the main reason i don't use vim is because of its [u]ndo >> > command. as most of you can understand, there are a whole slew >> > of times when i need to undo something. too often in vim, >> > hitting 'u' --- sometimes > once accidentally --- has resulted in >> > a small disaster. [[i have too many current/recent copies of >> > my working files to do TOO much damage!]] Anyway, is there a >> > means of setting the undo key to mimic vi/nvi? >> >> From vim help: >> >> 2. Two ways of undo *undo-two-ways* >> >> How undo and redo commands work depends on the 'u' flag in 'cpoptions'. >> There is the Vim way ('u' excluded) and the vi-compatible way ('u' >> included). >> In the Vim way, "uu" undoes two changes. In the Vi-compatible way, "uu" >> does >> nothing (undoes an undo). >> >> 'u' excluded, the Vim way: >> You can go back in time with the undo command. You can then go forward >> again >> with the redo command. If you make a new change after the undo command, >> the redo will not be possible anymore. >> >> 'u' included, the Vi-compatible way: >> The undo command undoes the previous change, and also the previous undo >> command. >> The redo command repeats the previous undo command. It does NOT repeat a >> change command, use "." for that. >> >> Examples Vim way Vi-compatible way ~ >> "uu" two times undo no-op >> "u CTRL-R" no-op two times undo >> >> Rationale: Nvi uses the "." command instead of CTRL-R. Unfortunately, >> this >> is not Vi compatible. For example "dwdwu." in Vi deletes two >> words, in Nvi it does nothing. >> > > strange, but i just tested dwdw in the nvi that keith bostic > gave us. > it deletes 2 words. and if you type '.', it repeats the dw by > deleting each word. > > no sense in getting into any 'religious war' over vim vs nvi. > it may be what you're used to. i've been using vi for over 30 > years and am used to its ease ... and its quirks. Nvi is not Vi, and Vim is not Nvi clone. > gary > > >> >> Anyway this topic is offtopic. >> -- >> Paul > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > For FBSD list: http://transfinite.thought.org/slicejourney.php > The 4.98a release of Jottings: http://jottings.thought.org/index.php > > -- Paul From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:46:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE4991065679 for ; Mon, 15 Jun 2009 21:46:49 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id BC94F8FC33 for ; Mon, 15 Jun 2009 21:46:49 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.4] (pool-71-109-162-173.lsanca.dsl-w.verizon.net [71.109.162.173]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id n5FLknlt064429 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 15 Jun 2009 14:46:49 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: <1B37C3FB-1D82-4E8D-827D-D1391373C450@lafn.org> From: Doug Hardie To: freebsd-questions - Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Mon, 15 Jun 2009 14:46:48 -0700 X-Mailer: Apple Mail (2.935.3) X-Virus-Scanned: clamav-milter 0.95.1 at zoom.lafn.org X-Virus-Status: Clean Subject: pf vs null route X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 21:46:51 -0000 My web server is always being attacked by people trying to guess our user's passwords. Most of the time the ids they try are not in use so there is only a log entry and a bit of packet time involved. However, eventually they are likely to guess a valid id and password. Some of our users have very weak passwords. Granted they will only be able to get to the user's personal web space, but that would be inconvenient for the user. For a long time I have been using null routes for the persistent attacks (set a route of 127.0.0.2 for their adddress in the route table). This works fine. We still get the first SYN packet, but nothing after that. I do have pf running on several of our servers for other purposes and have been thinking about replacing the null routes with a blocking table using pf. The question is which scales better? My guess based on presumed implementation techniques is that pf will scale better. I currently have a table for incoming mail that has over 100K entries and there is no noticable effect on mail processing times. Unfortunately I can't tell if that is because I also don't have any good way to determine if there were any effects. pf would certainly provide additional capabilites, but given the limited use of this server, I don't see any need for anything more. Since we provide telnet and ftp access for users to their personal web pages, I keep anything important on another server. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 21:57:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 909AB106566C for ; Mon, 15 Jun 2009 21:57:52 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 567048FC1B for ; Mon, 15 Jun 2009 21:57:52 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5FLvFRa010258; Mon, 15 Jun 2009 16:57:26 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6D3218A5F7; Mon, 15 Jun 2009 16:57:15 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id 4D1EB8A5EC; Mon, 15 Jun 2009 16:57:15 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Jun 2009 16:57:14 -0500 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, 15 Jun 2009 16:56:45 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793EFB6@WADPEXV0.waddell.com> In-Reply-To: <1B37C3FB-1D82-4E8D-827D-D1391373C450@lafn.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pf vs null route thread-index: AcnuAvq2BNCS0GxcRC27dcQTFiWPfQAADelQ References: <1B37C3FB-1D82-4E8D-827D-D1391373C450@lafn.org> From: "Gary Gatten" To: "Doug Hardie" , "freebsd-questions -" X-OriginalArrivalTime: 15 Jun 2009 21:57:14.0914 (UTC) FILETIME=[3E4AD020:01C9EE04] Cc: Subject: RE: pf vs null route X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 21:57:52 -0000 Well, that's more "black holing" than null routing, but regardless, routing will always be "faster" / less cpu intensive than L4+ filtering. Unless of course the rules are compiled and executed in an Asic like Ci$co does. Anyway, whether or not the processing latency is noticeable to the users only time will tell. This is a never ending battle. Force your users to make stronger passwords and implement an automated password recovery process for them. Your webserver SHOULD be able to blacklist IP's that do bad things automatically as well. If you have another "good" solution let me know. With all the spoofing, bots, etc. - it's VERY difficult to block access without causing problems for legitimate users. One thing pf would allow is a sort of "tar pit" / rate limiting vs. 100% block like a black-hole. This way if you accidentally trigger an "enforce" action on a legit user, the'll just run slow for a little while instead of being blocked entirely. G -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Doug Hardie Sent: Monday, June 15, 2009 4:47 PM To: freebsd-questions - Subject: pf vs null route My web server is always being attacked by people trying to guess our=20=20 user's passwords. Most of the time the ids they try are not in use so=20= =20 there is only a log entry and a bit of packet time involved. However,=20= =20 eventually they are likely to guess a valid id and password. Some of=20=20 our users have very weak passwords. Granted they will only be able to=20= =20 get to the user's personal web space, but that would be inconvenient=20=20 for the user. For a long time I have been using null routes for the persistent=20=20 attacks (set a route of 127.0.0.2 for their adddress in the route=20=20 table). This works fine. We still get the first SYN packet, but=20=20 nothing after that. I do have pf running on several of our servers=20=20 for other purposes and have been thinking about replacing the null=20=20 routes with a blocking table using pf. The question is which scales=20=20 better? My guess based on presumed implementation techniques is that=20=20 pf will scale better. I currently have a table for incoming mail that=20= =20 has over 100K entries and there is no noticable effect on mail=20=20 processing times. Unfortunately I can't tell if that is because I=20=20 also don't have any good way to determine if there were any effects.=20=20= =20 pf would certainly provide additional capabilites, but given the=20=20 limited use of this server, I don't see any need for anything more.=20=20= =20 Since we provide telnet and ftp access for users to their personal web=20= =20 pages, I keep anything important on another server. _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 22:01:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD02106566B for ; Mon, 15 Jun 2009 22:01:26 +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 48B568FC15 for ; Mon, 15 Jun 2009 22:01:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx02.qsc.de (Postfix) with ESMTP id D5C9D16C0070; Tue, 16 Jun 2009 00:01:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5FM1HU2008102; Tue, 16 Jun 2009 00:01:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Jun 2009 00:01:17 +0200 From: Polytropon To: Gary Kline Message-Id: <20090616000117.d4090ade.freebsd@edvax.de> In-Reply-To: <20090615212247.GG37102@thought.org> References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> <20090615204554.GC37102@thought.org> <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615212247.GG37102@thought.org> 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: Keramidas , Giorgos, freebsd-questions@freebsd.org Subject: Re: vim 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, 15 Jun 2009 22:01:26 -0000 On Mon, 15 Jun 2009 14:22:48 -0700, Gary Kline wrote: > PS: if gvim ever evolves into a word-processor, life will be > *perfect* ;-) If you load a LaTeX file in gvim, it will get ahead of a word processor and evolve into a typesetting system. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 22:21:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9384106566B for ; Mon, 15 Jun 2009 22:21:52 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6988FC19 for ; Mon, 15 Jun 2009 22:21:52 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm25 with SMTP id 25so440997fxm.43 for ; Mon, 15 Jun 2009 15:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cJFfkj+uNQ9zwsNxICrwmgM9mSH4UyjZ+A7bFHaYdm4=; b=KX2J5FHau5U02KZaq85U3aO3wlJ3cD+tb7OeheTj/XLD1g/69x0GP23ZClea/Gmwxf bJSzmnKF4H5f/qPLdPK9LRoRQygA0iqJAX+w0oyGePJ//sRLTh3hObHN6mbAFL+j9a+A s/Qkb2+CsQ57D1WByxHisM/DAi9uO5CxhX3l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NiQorg2k6SnKsnrh8UWHFnb+a6jVfMl7tEZFLf9V0dHuHqonL+Al79r7t941tIiSah 5DzU7Q8yzzyFjWhoXoefiN4H6ujhgsbTNaaX3/AoNBB7iHbQcWTeeROHjAPAJXKzKlgj skMCH5TJdeXZjr7cxbKyFGPvMV+2r4XQP3wlQ= MIME-Version: 1.0 Received: by 10.204.54.198 with SMTP id r6mr7547317bkg.191.1245104511300; Mon, 15 Jun 2009 15:21:51 -0700 (PDT) In-Reply-To: <20090615213905.GA37431@thought.org> References: <20090615213905.GA37431@thought.org> Date: Mon, 15 Jun 2009 18:21:51 -0400 Message-ID: <4ad871310906151521sf82572ck2906b97a70a4318@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: 100% Ot and self-serving... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 22:21:53 -0000 On Mon, Jun 15, 2009 at 5:39 PM, Gary Kline wrote: > > people, i finally heard back from a writer of world renoun who couldn't > put down my 150+K word manuscript. she loves it. the tenth i have below > on the "for fbsd" line in my .sig IS going away after 30jun09, so if you > guy want a preview this is the time. > > (and i thought it was for-nerds only) ! > Congrats. :) -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 22:29:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3EC7106564A for ; Mon, 15 Jun 2009 22:29:53 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out2.uni-muenster.de (ZIVM-OUT2.UNI-MUENSTER.DE [128.176.192.9]) by mx1.freebsd.org (Postfix) with ESMTP id 47BDA8FC19 for ; Mon, 15 Jun 2009 22:29:52 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,224,1243807200"; d="scan'208";a="216237548" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay2.uni-muenster.de with ESMTP; 16 Jun 2009 00:29:51 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 9A9D71B07E4; Tue, 16 Jun 2009 00:29:51 +0200 (CEST) Date: Tue, 16 Jun 2009 00:29:51 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: In-Reply-To: <200906151141.14496.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Jerry McAllister Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 22:29:54 -0000 thx a bunch. installing webfonts completely solved the issue. :-) Mel Flynn schrieb am 2009-06-15: > On Monday 15 June 2009 11:18:42 Jerry McAllister wrote: > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > hi there, > > > when i try printing certain website the font looks very pixelated > > > and i > > > can't read anything. the same happens if i tell firefox to > > > redirect the > > > print output to a pdf or ps file so it's probably not a printer > > > issue. > > > the website that causes problems has this in css: > > > font-size: 20px; > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > i'm running firefox 2.5b99, but i've had this problem with > > > firefox 2 > > > already. apart from certain webpages pinting works without any > > > problem. > > > might this be a font issue? or a firefox bug? > > I have something that sounds the same in Firefox 3 on FreeBSD. > > I just assumed I did something wrong with fonts - about which > > I know little. But, if someone has some helpful information > > I would be glad to know about it too. > On a hunch, is x11-fonts/webfonts installed? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 22:43:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45221106566C for ; Mon, 15 Jun 2009 22:43:28 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE [128.176.192.18]) by mx1.freebsd.org (Postfix) with ESMTP id CE4FD8FC1C for ; Mon, 15 Jun 2009 22:43:27 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,224,1243807200"; d="scan'208";a="5981149" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay3.uni-muenster.de with ESMTP; 16 Jun 2009 00:43:26 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 3AB671B07E4; Tue, 16 Jun 2009 00:43:26 +0200 (CEST) Date: Tue, 16 Jun 2009 00:43:25 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Wojciech Puchar Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Google groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 22:43:28 -0000 i've changed the mailinglist settings from the mailman interface so i don't receive and mails. i'd rather read the mails in my browser. well i'm no huge fan of google. but their usenet interface is so much nicer than the mailman interface (which looks so 1995). ;-) unfortunately google seems to gather the mailinglist threads by websearches and not by producing a mirror of the actual mailinglists. that's why there's lots of spam mails and misc crap in the google usenet archives. just had a look at freebsd.questions and it's really bad! :-( http://groups.google.com/group/mailing.freebsd.questions/topics?lnk Wojciech Puchar schrieb am 2009-06-14: > >i've been using the mailman interface for a long time now to read > >the various > >freebsd mailinglists. recently i found out about Google groups > >which are great > isn't standard interface the simplest? you get it on your mailbox, > and you use .procmailrc to put it into separate folder each mailing > list. Or whatever you like. > >and a lot better than the mailman interface imo. (no broken search, > >etc.) > >however a lot of mailinglists seem to be missing on google. what's > >the reason > Few years more and EVERYTHING will be on by google ;) All data about > everything in single place. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 22:57:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 792E61065670 for ; Mon, 15 Jun 2009 22:57:26 +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 3200D8FC08 for ; Mon, 15 Jun 2009 22:57:23 +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 n5FMvDJB016045; Mon, 15 Jun 2009 15:57:13 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 15:57:13 -0700 (PDT) Date: Mon, 15 Jun 2009 15:57:12 -0700 From: Gary Kline To: Polytropon Message-ID: <20090615225712.GB37569@thought.org> References: <20090615024643.GA33420@thought.org> <87fxe179ym.fsf@kobe.laptop> <20090615204554.GC37102@thought.org> <200906151314.45257.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615212247.GG37102@thought.org> <20090616000117.d4090ade.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090616000117.d4090ade.freebsd@edvax.de> 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,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: vim 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, 15 Jun 2009 22:57:26 -0000 On Tue, Jun 16, 2009 at 12:01:17AM +0200, Polytropon wrote: > On Mon, 15 Jun 2009 14:22:48 -0700, Gary Kline wrote: > > PS: if gvim ever evolves into a word-processor, life will be > > *perfect* ;-) > > If you load a LaTeX file in gvim, it will get ahead of a > word processor and evolve into a typesetting system. :-) > how about if i use times-roman at 18pt? the last time i tried to set up gvim with proportional fonts, bzzzt, poor results. gary ps: man, good thing i left in all the TeX stuff in my ascii-to-markup stuff. if you're interested in hanving an ascii or iso_8859-1 textfile be turned into LaTeX, the skeleton is there. if you have time, please have a look. > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 23:05:03 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C80D71065677 for ; Mon, 15 Jun 2009 23:05:03 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7475D8FC20 for ; Mon, 15 Jun 2009 23:05:03 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 9529FEB4C6F; Tue, 16 Jun 2009 02:05:02 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 857CD45088; Tue, 16 Jun 2009 02:05:02 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IJ05uD0Hu6nU; Tue, 16 Jun 2009 02:05:02 +0300 (EEST) Received: from kobe.laptop (adsl105-76.kln.forthnet.gr [77.49.224.76]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 4A9F74503F; Tue, 16 Jun 2009 02:05:02 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n5FN51wU023069; Tue, 16 Jun 2009 02:05:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n5FN50iD023065; Tue, 16 Jun 2009 02:05:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Gary Kline References: <20090615213905.GA37431@thought.org> Date: Tue, 16 Jun 2009 02:04:59 +0300 In-Reply-To: <20090615213905.GA37431@thought.org> (Gary Kline's message of "Mon, 15 Jun 2009 14:39:08 -0700") Message-ID: <87ljntksis.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: 100% Ot and self-serving... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 15 Jun 2009 23:05:04 -0000 On Mon, 15 Jun 2009 14:39:08 -0700, Gary Kline wrote: > people, i finally heard back from a writer of world renoun who couldn't > put down my 150+K word manuscript. she loves it. Good. Very good. Congratulations :) From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 23:34:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BD07106564A for ; Mon, 15 Jun 2009 23:34:59 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 262198FC15 for ; Mon, 15 Jun 2009 23:34:58 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5FNW9Rp008725; Mon, 15 Jun 2009 19:32:09 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5FNW9UX008724; Mon, 15 Jun 2009 19:32:09 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 15 Jun 2009 19:32:09 -0400 From: Jerry McAllister To: Mel Flynn Message-ID: <20090615233208.GA8705@gizmo.acns.msu.edu> References: <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615205629.GA8029@gizmo.acns.msu.edu> <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , Alexander Best , freebsd-questions@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 23:34:59 -0000 On Mon, Jun 15, 2009 at 01:06:37PM -0800, Mel Flynn wrote: > > > > > > On Mon, Jun 15, 2009 at 09:07:05PM +0200, Alexander Best wrote: > > > > > > > hi there, > > > > > > > > > > > > > > when i try printing certain website the font looks very pixelated > > > > > > > and i can't read anything. the same happens if i tell firefox to > > > > > > > redirect the print output to a pdf or ps file so it's probably > > > > > > > not a printer issue. the website that causes problems has this in > > > > > > > css: > > > > > > > > > > > > > > font-size: 20px; > > > > > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > > > > > > > > > > On a hunch, is x11-fonts/webfonts installed? > > > > > > > > In Firefox or in X? > > > > How do I tell? I don't see anything that looks like > > > > those names in X.../fonts directory > > > > > > % grep ' ORIGIN:' /var/db/pkg/webfonts-0.30_6/+CONTENTS > > > @comment ORIGIN:x11-fonts/webfonts > > > > I don't seem to have any 'webfonts...' directory in /var/db/pkg/ > > I guess that means nothing was every installed. Should I now? > > Yes: > portmaster /usr/ports/x11-fonts/webfonts or make -C /usr/ports/x11- > fonts/webfonts/ install > > Follow the instructions from the pkg-message (allthough I don't think they're > needed anymore with automatic configuration, but it don't hurt if you already > have an xorg.conf). > > Restart X for the fonts to be usable or you can use xset +fp > /usr/local/lib/X11/fonts/webfonts and restart the app you want to use the > fonts in. OK. Thank you very much. That seems to have fixed my problem - at least for a couple of sites I could remember that printed poorly since the upgrade. ////jerry > > Easiest way to check if the fonts are enabled is to pull up any font selector > for an application and checking for "Andale Mono" and "Arial black" in the > list. > -- > Mel From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 23:49:41 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265A0106564A for ; Mon, 15 Jun 2009 23:49:41 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-310.bluehost.com (outbound-mail-310.bluehost.com [67.222.54.3]) by mx1.freebsd.org (Postfix) with SMTP id E73B68FC16 for ; Mon, 15 Jun 2009 23:49:40 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 16919 invoked by uid 0); 15 Jun 2009 23:49:40 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy6.bluehost.com with SMTP; 15 Jun 2009 23:49:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=Pw9eQkht0PAaNHCxnvaMMyuTKeHYXrb6ieQoaIvKBKlllz2L2JwZIsRFZKvVZy/N5JU57Asx5y714Eu+HdbBQ46MHsYKmQvSeU3lzYKnpnQesY69meIPhzMul5YhJHB6; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MGLvo-0004YE-71 for freebsd-questions@FreeBSD.ORG; Mon, 15 Jun 2009 17:49:40 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Mon, 15 Jun 2009 17:44:04 -0600 Date: Mon, 15 Jun 2009 17:44:04 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20090615234404.GA60404@kokopelli.hydra> Mail-Followup-To: FreeBSD Questions References: <20090615024643.GA33420@thought.org> <20090615045106.GA56586@kokopelli.hydra> <20090615200030.GA37102@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20090615200030.GA37102@thought.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: vim 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, 15 Jun 2009 23:49:41 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 15, 2009 at 01:00:30PM -0700, Gary Kline wrote: >=20 > Yeah, see, this is exactly my problem. UAually, i just hit 'u' > once, check my code, continue. But then I think there may be=20 > cap-u ['U'] ... or maybe not. It's only happened three or four > times, but that was enough to keep me away from vim! =20 U executes a number of undos in one shot. I've never felt the need to use it, though, so I'm not very familiar with how it works. >=20 > You say that :red can undo 'several' levels.... without having > me dig thru the vim docs, does :reo take an arg, like maybe > :redo 5 ? That won't work. Ctrl-R is a synonym for :redo, though, and if you precede Ctrl-R with a number, it'll undo that many changes. >=20 > bleah. bill joy had the better idea back in the late 70's with > the original vi [IMHO] > :_) I feel like the original vi is insufficient for my needs, but that Vim's development doesn't exactly match my preferences. FreeBSD's nvi seems to have moved in exactly the right direction from the original vi, but not far enough for my needs. As a result, I'm pretty much stuck with Vim for now. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Yasir Arafat on religious wars: "You're basically killing each other to see who's got the better imaginary friend." --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAko23MQACgkQ9mn/Pj01uKUPEQCfRz95z4IMiHp2pBKOButxRwvA Dn4AoK/4haEtMOiK48C2nbL72f6+Xogo =O4fN -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 23:54:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 251CC106566B for ; Mon, 15 Jun 2009 23:54:15 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-110.bluehost.com (outbound-mail-110.bluehost.com [69.89.22.10]) by mx1.freebsd.org (Postfix) with SMTP id E51EE8FC36 for ; Mon, 15 Jun 2009 23:54:14 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 19325 invoked by uid 0); 15 Jun 2009 23:54:14 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy3.bluehost.com with SMTP; 15 Jun 2009 23:54:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=hzz3qMZzYcZUwW+R+Lt5euJqqa+M5oqFXMRSeo6YskCSjvbEqNu6u4QZbg6cTgdpS+waUMHgMPX7xvxVJLGEhlwh/d/BIC207atpvRoN5YU3dnX9oazfnYO3RUVtfA0V; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MGM0D-0002tU-U1 for freebsd-questions@freebsd.org; Mon, 15 Jun 2009 17:54:14 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Mon, 15 Jun 2009 17:48:37 -0600 Date: Mon, 15 Jun 2009 17:48:37 -0600 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20090615234837.GB60404@kokopelli.hydra> Mail-Followup-To: FreeBSD Mailing List References: <20090615024643.GA33420@thought.org> <3a142e750906150024v2936759amd5229ccbb2a71daf@mail.gmail.com> <20090615203055.GB37102@thought.org> <3a142e750906151441p6a9db819r1b9da3f82dd48097@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <3a142e750906151441p6a9db819r1b9da3f82dd48097@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: vim 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, 15 Jun 2009 23:54:15 -0000 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 15, 2009 at 11:41:34PM +0200, Paul B. Mahol wrote: >=20 > Nvi is not Vi, and Vim is not Nvi clone. I thought that was self-evident. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Steve McConnell: "Good code is its own best documentation. As you're about to add a comment, ask yourself, 'How can I improve the code so that this comment isn't needed?'" --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAko23dUACgkQ9mn/Pj01uKU3qwCg6vj5teiWED/t5+WUIBaohF2k J5IAnjJVMt2a0Xjd0IE7JvqTBUF6guET =WSlG -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 00:15:39 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF14F1065670 for ; Tue, 16 Jun 2009 00:15:39 +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 ABAD58FC0A for ; Tue, 16 Jun 2009 00:15:39 +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 n5G0FZrS016644; Mon, 15 Jun 2009 17:15:35 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 17:15:35 -0700 (PDT) Date: Mon, 15 Jun 2009 17:15:35 -0700 From: Gary Kline To: FreeBSD Questions Message-ID: <20090616001534.GF37569@thought.org> References: <20090615024643.GA33420@thought.org> <20090615045106.GA56586@kokopelli.hydra> <20090615200030.GA37102@thought.org> <20090615234404.GA60404@kokopelli.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090615234404.GA60404@kokopelli.hydra> 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,AWL,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: vim 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, 16 Jun 2009 00:15:40 -0000 On Mon, Jun 15, 2009 at 05:44:04PM -0600, Chad Perrin wrote: > On Mon, Jun 15, 2009 at 01:00:30PM -0700, Gary Kline wrote: > > > > I feel like the original vi is insufficient for my needs, but that Vim's > development doesn't exactly match my preferences. FreeBSD's nvi seems to > have moved in exactly the right direction from the original vi, but not > far enough for my needs. As a result, I'm pretty much stuck with Vim for > now. the one extension that nvi has--and the only "feature" added was :wn; joy's original didn't have this. as for vim, from what i can glean from the docs, it does everything but pay its own taxes. ---the important thing is that we don't get into a spitball-throwing contest over which editor is better! gary > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > Quoth Yasir Arafat on religious wars: "You're basically killing each > other to see who's got the better imaginary friend." -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 01:21:21 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B49A8106567B for ; Tue, 16 Jun 2009 01:21:21 +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 73BF58FC0C for ; Tue, 16 Jun 2009 01:21: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 n5G1LHca017129 for ; Mon, 15 Jun 2009 18:21:17 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 15 Jun 2009 18:21:17 -0700 (PDT) Date: Mon, 15 Jun 2009 18:21:16 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090616012114.GA38011@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: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 01:21:21 -0000 guys, last night i was lost with a slightly shorter version of this. even looking at a printout did nothing. this morning i had another go and went in a corner and started at the code. finally i figured it out. this *seems* to work... The only thing this does is remove the "" delimiters. i'll go more into my rationale later on. i'm pretty sure i can tighten up on this; getting it to work was my main goal. can any of you break this? gary Encl: dephp.c, test -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix $Id: dephp.c,v 1.6 2009/06/16 01:05:47 kline Exp kline $ #include int main() { int ch; do { if ((ch = getchar()) != EOF) switch (ch) { case '>': putchar (ch); break; case '<': putchar (ch); switch ((ch = getchar()) ) { case '?': ch = getchar(); while (1) { if (ch == '?' && (ch = getchar()) == '>') { break; } else { ch = getchar(); } } break; case '>': putchar (ch); break; default: putchar(ch); break; } break; default: putchar (ch); } } while (ch != EOF); return 0; } // test foo bar blah, blah < > blah, blah: more HERE. <> < > < > < > From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 02:50:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BFA106564A for ; Tue, 16 Jun 2009 02:50:25 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A313B8FC14 for ; Tue, 16 Jun 2009 02:50:24 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id B79477E837; Mon, 15 Jun 2009 18:50:22 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 18:50:21 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <808502.49035.qm@web56501.mail.re3.yahoo.com> In-Reply-To: <808502.49035.qm@web56501.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151850.21650.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Neil Short Subject: Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 02:50:25 -0000 On Friday 12 June 2009 10:26:26 Neil Short wrote: > --- On Fri, 6/12/09, Mel Flynn wrote: > > From: Mel Flynn > > Subject: Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in > > sched_ule.o To: freebsd-questions@freebsd.org > > Cc: "Neil Short" > > Date: Friday, June 12, 2009, 9:21 AM > > On Friday 12 June 2009 06:44:50 Neil > > > > Short wrote: > > > I'm taking a crack at the port win4bsd. The port > > > > informs me that I need to > > > > > add options SCHED_4BSD > > > to my kernel. > > > > It's an either/or thing. Remove SCHED_ULE. > > -- > > Mel > > I was starting to suspect as much after having found the related man pages. > Do you know if sched_4bsd is required for the port win4bsd? It's definitely > required for the port install; but I wonder if I can change it back > afterwards. I have no idea. I tried it once, didn't work as advertised and moved on. So if you're serious about taking maintainership of this port, you have your work cut out for you and it's probably best to get a good working relationship with the developers of the software. -- Mel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 02:57:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B23E106564A for ; Tue, 16 Jun 2009 02:57:48 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id EFFEA8FC13 for ; Tue, 16 Jun 2009 02:57:47 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id D71E77E83F; Mon, 15 Jun 2009 18:57:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 15 Jun 2009 18:57:45 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090616012114.GA38011@thought.org> In-Reply-To: <20090616012114.GA38011@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Gary Kline Subject: Re: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 02:57:48 -0000 On Monday 15 June 2009 17:21:16 Gary Kline wrote: > Encl: dephp.c, test case '?': ch = getchar(); while (1) { if (ch == '?' && (ch = getchar()) == '>') { break; } else { ch = getchar(); } } break; As has been hinted before you're not handling the EOF case. Files like: , because one can start filling the output by trailing whitespace before EOF and thus not set any header() anymore. The above code will wait indefinitely for the next char or spin like mad if you're using non-blocking IO. You should really take the pointers from Jeffrey Goldberg and record states and decide based on the state, rather then inlined switch statements, if only for readability. You're also in trouble with 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 C8D191065674 for ; Tue, 16 Jun 2009 06:46:32 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC338FC37 for ; Tue, 16 Jun 2009 06:46:31 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fxm25 with SMTP id 25so573254fxm.43 for ; Mon, 15 Jun 2009 23:46:31 -0700 (PDT) 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:x-enigmail-version:content-type :content-transfer-encoding; bh=RO5W3sSiIvLe9bV0k3OLMEKREUrqUbsTogHMJFyv7Zg=; b=RpRprL6hitm2nlEktdsk72x2kwNDo4xtHbl441DGc9/Hzfv+csMBFglvdf+9k4Y1pd yyT98JlFmo0H3DX6KnOH6sM9A+BXR3pIvEdBc+wDdQGj6LyAS1Ji22y0kXS36NDlYUbx 6xM8GA6/20QwsJDFLeyI9Eet+NnZelLgc8KdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=toxWHf2bjpCvkjozyDAnzNc4C0CuvjB3OhYebThBxF6+ck18+UhwraDnXPvoN7gNJE S3/jvL0xvTBsNWaqR599UnwC1l0h3AdhQta5nnd/WSLCtkatnJwSgMh0YXrOXHIJEjhT PaTB5V4lzYrMelrTeYtyMaSgW7pI9NPH21VAQ= Received: by 10.204.69.66 with SMTP id y2mr7924356bki.49.1245132817290; Mon, 15 Jun 2009 23:13:37 -0700 (PDT) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by mx.google.com with ESMTPS id 21sm9625783fks.9.2009.06.15.23.13.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 23:13:36 -0700 (PDT) Message-ID: <4A37380F.8020505@gmail.com> Date: Tue, 16 Jun 2009 09:13:35 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: Subject: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 06:46:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all, This is a continuation of the effort that started with this post: http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/198284.html This little project also found its way to Distrowatch Weekly news (Thanks!): http://distrowatch.com/weekly.php?issue=20090615#news Since there was an update of the base system to 7.2-RELEASE-p1 a few days ago, it was a good chance to update this ISO and also include some newer packages. The new ISO may be downloaded from here (space and bandwidth courtesy of Glen Barber): http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/7.2-RELEASE-p1-i386-disc1.iso Don't forget to check the integrity of the download using the CHECKSUM / signature files provided: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/7.2-RELEASE-p1-i386-disc1-iso.CHECKSUM.MD5 http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/7.2-RELEASE-p1-i386-disc1.iso.asc The following tarball contains the options used to build the ports. The ports tree on the ISO is the actual one used to build the packages: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/options.tar.gz Note: Updated openoffice.org packages (from the same ports tree) will follow soon. Changes from the previous version ====================== - - Wbar was removed. The package would install without problems but did not run. Please install this from ports. - - Some other small apps were introduced. See below. - - Base system was updated to 7.2-RELEASE-p1 - - Ports that use python now use python26. This was not done intentionally, the tinderbox built them that way. It delayed me however as the INDEX file (required in the release process) was still pointing to python25 dependencies and was causing errors. List of main packages ============== This is a comprehensive list of packages included in the ISO: abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, cdrtools, dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, gnupg, inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, rdesktop, rtorrent, ristretto, samba, scribus, sudo, thunderbird, tilda, wget, xfburn, xfce4 + plugins, xorg, zim. Several other packages are included as dependencies of the above top level ones. The total list of packages is 496. There are no conflicts between them, you may even install all of them during the initial setup or afterwards. I will start preparing a server ISO (CD sized) soon. I also welcome all ideas on what to include/exclude in later versions of this DVD. It has been suggested to include openoffice packages as abiword / gnumeric don't cut it for many people. This will increase the size of the download, although hopefully not dramatically as most dependencies are probably already included. I am all open to ideas, so please email me your suggestions and comments. Thanks, Manolis Kiagias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAko3OA4ACgkQZ/MxGm4PtJRuvgCfYcOTk2whTnOekRqrBMJYjWZ3 tOcAnRF2Y1E14T/zFGOMBJk+v46tz2AN =VfqE -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 07:19:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3DE7106566C for ; Tue, 16 Jun 2009 07:19:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 3F4968FC0C for ; Tue, 16 Jun 2009 07:19:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from localhost.my.domain (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 02693184ECCF5; Tue, 16 Jun 2009 09:19:18 +0200 (CEST) Received: (from guru@localhost) by localhost.my.domain (8.14.3/8.14.3/Submit) id n5G7JKxD001907; Tue, 16 Jun 2009 09:19:20 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 16 Jun 2009 09:19:15 +0200 From: Matthias Apitz To: Mel Flynn Message-ID: <20090616071915.GA1895@current.Sisis.de> References: <200906151234.19454.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090615205629.GA8029@gizmo.acns.msu.edu> <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Jerry McAllister , Alexander Best , freebsd-questions@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox 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: Tue, 16 Jun 2009 07:19:20 -0000 El día Monday, June 15, 2009 a las 01:06:37PM -0800, Mel Flynn escribió: > Yes: > portmaster /usr/ports/x11-fonts/webfonts or make -C /usr/ports/x11- > fonts/webfonts/ install > > Follow the instructions from the pkg-message (allthough I don't think they're > needed anymore with automatic configuration, but it don't hurt if you already > have an xorg.conf). > > Restart X for the fonts to be usable or you can use xset +fp > /usr/local/lib/X11/fonts/webfonts and restart the app you want to use the > fonts in. > > Easiest way to check if the fonts are enabled is to pull up any font selector > for an application and checking for "Andale Mono" and "Arial black" in the > list. Mel, The postinstall instructions of x11-fonts/webfonts say: ... Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of xorg.conf or XF86Config: Load "freetype" Add the following line to the "Files" section of xorg.conf or XF86Config: FontPath "/usr/local/lib/X11/fonts/webfonts/" ===> Registering installation for webfonts-0.30_6 but the module "freetype" does not exist: (II) LoadModule: "freetype" (WW) Warning, couldn't open module freetype (II) UnloadModule: "freetype" (EE) Failed to load module "freetype" (module does not exist, 0) and there are posts in Google that this is not needed anymore because it is now parts of libXfont -- what is true? If so someone should fix the postinstall messages... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 08:06:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E751065670 for ; Tue, 16 Jun 2009 08:06:12 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id A70318FC18 for ; Tue, 16 Jun 2009 08:06:11 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5G866sb095963; Tue, 16 Jun 2009 10:06:06 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5G866MT095960; Tue, 16 Jun 2009 10:06:06 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 16 Jun 2009 10:06:05 +0200 From: Ruben de Groot To: Glen Barber Message-ID: <20090616080605.GA95792@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Glen Barber , Unga , freebsd-questions@freebsd.org References: <194669.83794.qm@web57002.mail.re3.yahoo.com> <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> <20090615132743.GA86767@ei.bzerk.org> <4ad871310906151137t7cdf48a3q4af34a98a286089c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ad871310906151137t7cdf48a3q4af34a98a286089c@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 16 Jun 2009 10:06:10 +0200 (CEST) Cc: Unga , freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 08:06:12 -0000 On Mon, Jun 15, 2009 at 02:37:54PM -0400, Glen Barber typed: > On Mon, Jun 15, 2009 at 9:27 AM, Ruben de Groot wrote: > >> If so, reboot into single-user mode, and change it back. > > > > Why reboot? You can "su -s /bin/tcsh" > > > > How can you change the shell if you cannot log in? That's why I > suggested single-user mode. He said he could log in as a normal user. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 08:36:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99F8C1065673 for ; Tue, 16 Jun 2009 08:36:53 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57005.mail.re3.yahoo.com (web57005.mail.re3.yahoo.com [66.196.97.109]) by mx1.freebsd.org (Postfix) with SMTP id 443988FC08 for ; Tue, 16 Jun 2009 08:36:53 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 68888 invoked by uid 60001); 16 Jun 2009 08:36:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245141412; bh=GHoPJEXt/7CxpgL+ccqE3Rh0+46Ih7X78+tayTJQYjA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d1pKikCoBvj0BC6vhVlwjIZxBatFGf7OAG3oCgcfU+vKOytRIbwIHfAocYH1HfXgkFd6+K98LOoh+B/ajEpkGSjMk0z77FJWbdfZP/7DjavNS5YdhNyvXue/q0vtt0PTuPl/FOxWDVEaD59BDgQNMbLfdvrVEt1z7ciNY/4eFz8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Hz8rDS9hTsQ8Mu7F0jY3Bck4ppovjQHRZasp3VZq4GtvW2PoZHr2gCwTcyUlGXRA7PjKS1Co5KhNid+aj6Z2clcZiGMha7YzHndGdKkBySBo0fQqdE+LdxPQBaKTcp8Ej92vI/bH4sYWjhBuMrJu2SmsymYoTzgbdNoNh52GXhU=; Message-ID: <695233.67903.qm@web57005.mail.re3.yahoo.com> X-YMail-OSG: .y6IlNkVM1lnbc2xKaul4U0tg.XDHbVxsgoISnYn19v_0Gw3Kh1K6QQ.m8yfIosYsv2mnoapyI1hRXlqJOZa5T_Kvhm_tFId3oOUIiimy5kl1V4F87cBoqqFRvH3_pR2STsPxAMXR8O2FVhkxaRsvovkIjKZjG_zeBVmFen_PsB24K3qJqbvkssPaU3Ee5dXVVhRwfvG6lzYleX_70O7Sia1UrnRtson.F6eIKHhmpB82dbEgfFth.WJT5.Res7TqeJPFaSZ5erF9qvvK499AaDDOPnycAeSNaPYxIhS22alYf0Ls3P4UMYpBQ-- Received: from [220.255.7.218] by web57005.mail.re3.yahoo.com via HTTP; Tue, 16 Jun 2009 01:36:52 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Tue, 16 Jun 2009 01:36:52 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: mail25@bzerk.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 08:36:53 -0000 =0A--- On Tue, 6/16/09, Ruben de Groot wrote:=0A=0A> Fro= m: Ruben de Groot =0A> Subject: Re: Cannot login as root,= exited on signal 11=0A> To: "Glen Barber" =0A> Cc= : "Unga" , freebsd-questions@freebsd.org=0A> Date: Tuesd= ay, June 16, 2009, 4:06 PM=0A> On Mon, Jun 15, 2009 at 02:37:54PM=0A> -0400= , Glen Barber typed:=0A> > On Mon, Jun 15, 2009 at 9:27 AM, Ruben de Groot<= mail25@bzerk.org>=0A> wrote:=0A> > >> If so, reboot into single-user mode, = and=0A> change it back.=0A> > >=0A> > > Why reboot? You can "su -s /bin/tcs= h"=0A> > >=0A> > =0A> > How can you change the shell if you cannot log=0A> = in?=A0 That's why I=0A> > suggested single-user mode.=0A> =0A> He said he c= ould log in as a normal user.=0A> =0A=0AYes, normal users can log in. Its o= nly root cannot.=0A=0ANormal user, after log in, can su to root but "su -l"= develops the same problem, the child process die.=0A=0AAll users use bash = shell. =0A=0AWhat is "su -l" requires that su doesn't?=0A=0ABest regards=0A= Unga=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 09:26:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CB41065673 for ; Tue, 16 Jun 2009 09:26:08 +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 727158FC18 for ; Tue, 16 Jun 2009 09:26:08 +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 1MGUvc-0003d2-MO for freebsd-questions@freebsd.org; Tue, 16 Jun 2009 10:26:07 +0100 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 1MGUvc-0006gY-7X for freebsd-questions@freebsd.org; Tue, 16 Jun 2009 10:26:04 +0100 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 n5G9Q30J090635 for ; Tue, 16 Jun 2009 10:26:03 +0100 (BST) (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 n5G9Q2Wu090528 for freebsd-questions@freebsd.org; Tue, 16 Jun 2009 10:26:02 +0100 (BST) (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: Tue, 16 Jun 2009 10:26:02 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20090616092602.GA85961@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.19 (2009-01-05) X-Spam-Score: -1.4 X-Spam-Level: - Subject: port misc/e2fsprogs-libuuid - relocation error with gcc44 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 09:26:08 -0000 on FBSD-6.4-stable alpha, if I build port misc/e2fsprogs with gcc44, I get: # xdm /libexec/ld-elf.so.1: /usr/local/lib/libuuid.so.1: Unsupported relocation type 3 1 in non-PLT relocations # The default system compiler gcc3.4.6 is fine. Please advise 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 Tue Jun 16 09:31:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA9DD106566B for ; Tue, 16 Jun 2009 09:31:27 +0000 (UTC) (envelope-from oxyopes@googlemail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCE98FC1A for ; Tue, 16 Jun 2009 09:31:27 +0000 (UTC) (envelope-from oxyopes@googlemail.com) Received: by ewy8 with SMTP id 8so4891067ewy.43 for ; Tue, 16 Jun 2009 02:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=d9EAXURlhnY0ZAyPCDq+ityMg1KY4AgzTlDFX46TUMY=; b=ESV3xkttEqyV7lyZrIvOfSy5ZstgGadfTiVZcdssiGa9hb+EPz2TpSpCMzbEcTpBWN ph395csjPKsstSKfjXIXJESMU0b3xtSGl8AJV0XZy+zKfgzCp6Dvipxziz8AACRThy2V UF3t8N61Uy08kK3TuuF8a+RDNMLp+Blhgax9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=uaVr0wPGjxGRLdTS/uMngzX+uvlFSfLlG9+LYi86wHkyAuySwpX/hGpv2DxCp17ue2 viTXq44FwjIbvVZgu1EiYqdGgZjlky9ZaOmCFnUl1gYfwBip3tzdMGVLLCHYLZ0708mT vOpobBEZg60Uw9kijLh32pxEU+eEEcnZrYlOU= MIME-Version: 1.0 Received: by 10.210.53.1 with SMTP id b1mr9409202eba.78.1245143434745; Tue, 16 Jun 2009 02:10:34 -0700 (PDT) Date: Tue, 16 Jun 2009 11:10:34 +0200 Message-ID: <98aa46640906160210n35c4b5fck6e151ff03396bb09@mail.gmail.com> From: oxy To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ipmon-like tool for ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 09:31:28 -0000 Hi, I' ve being searching but found no direct way to monitor indivitually logged entries of ipfw in real time. Something like ipmon from ipf. >From the ipfw --option command i get only summaries. How do i get real time logs on my screen? Thanks in advance ... From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 09:40:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 490E21065688 for ; Tue, 16 Jun 2009 09:40:36 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id CE6BF8FC12 for ; Tue, 16 Jun 2009 09:40:35 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: by ewy8 with SMTP id 8so4897284ewy.43 for ; Tue, 16 Jun 2009 02:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=scRemZEx7g5fSPQEsyaq5tcvx0P3+oDyjmjoZfOCm2o=; b=Plcl/AMUJ7MEVJMnO4J36Wcq9EfJOzS0YiKjfi9b9+QYXXMqIxu0whH/mtzJcSjSpH FXYv5Mx20YShnysZ4NA/JcvRDKQlOPD7JfKnxQxJdJKNKUuunfven0fZIhsVaUs5ogdj KPqJc2Bb1Nu5y2oGGG0GhJd1Karvj8p7gV+Uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=WcyWPr9AyULqLpnEMsetYKAwDp3yQIVV7XVUChyR7kasG2H3dNyE4cKwEbEl5wooXO Zk1d9R8gGA4fYLwzQ5NXDKoJ70aXe9Qey/ufokvCAkQ5odizCDZWWc+cycMe0l+FD1re uQdbsGRYuxxzQMO9rI4MiEqEwXKyqOGO9/QDA= Received: by 10.210.59.14 with SMTP id h14mr2901879eba.63.1245145234874; Tue, 16 Jun 2009 02:40:34 -0700 (PDT) Received: from ?192.168.1.125? (ip193-123-210-87.adsl2.static.versatel.nl [87.210.123.193]) by mx.google.com with ESMTPS id 10sm151591eyz.21.2009.06.16.02.40.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 02:40:34 -0700 (PDT) From: Roy Stuivenberg To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 16 Jun 2009 11:40:25 +0200 Message-Id: <1245145225.1198.5.camel@rs-unix.roycs.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: java jre X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 09:40:36 -0000 Hello, I'm having a problem getting java to work on Firefox 2. diablo-jre16 latest version is installed. After about:plugins it doesn't show. Manual says to enter this as root, and so I do that. ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \ /usr/local/lib/browser_plugins/ Then I get --> File exists !! I'm running 7.2 stable gnome2 Anyone encountered this problem too? Regards, Roy. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 13:09:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 767541065731 for ; Tue, 16 Jun 2009 13:09:12 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s28.blu0.hotmail.com (blu0-omc4-s28.blu0.hotmail.com [65.55.111.167]) by mx1.freebsd.org (Postfix) with ESMTP id 24B818FC17 for ; Tue, 16 Jun 2009 13:09:12 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP58 ([65.55.111.136]) by blu0-omc4-s28.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Jun 2009 06:09:11 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP58.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Jun 2009 06:09:11 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id DCFAD22860 for ; Tue, 16 Jun 2009 09:09:09 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 9E6A32285F for ; Tue, 16 Jun 2009 09:09:09 -0400 (EDT) Date: Tue, 16 Jun 2009 09:09:09 -0400 From: Carmel NY To: FreeBSD Questions Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 16 Jun 2009 13:09:11.0385 (UTC) FILETIME=[A3D9B490:01C9EE83] Subject: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 13:09:13 -0000 I am attempting to write a simple Bash script that will find all the '*.pem' files in a directory structure and move them to another directory. It seems to work until I get to the copy part where it fails. My scripting skills are not that good. Perhaps someone could tell me what I am doing wrong. This is the script: #! /usr/bin/env bash # Save the field separator oIFS=$IFS # Set it to line breaks IFS=$'\n' for i in $(find ./ -name "*.pem" -print); do # Get the basename BN=$(basename $i) # copy the file to another directory using the base name cp $i /usr/home/tmp/$BN done # Reset the IFS variable IFS=$oIFS exit -- Carmel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 13:56:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DF4106564A for ; Tue, 16 Jun 2009 13:56:18 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 47CD58FC16 for ; Tue, 16 Jun 2009 13:56:18 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from marge.bs.l (e180020004.adsl.alicedsl.de [85.180.20.4]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1MGZ9549Zz-0002Oe; Tue, 16 Jun 2009 15:56:17 +0200 Received: from bsch by marge.bs.l with local (Exim 4.69) (envelope-from ) id 1MGZ95-0004im-FJ for freebsd-questions@freebsd.org; Tue, 16 Jun 2009 15:56:15 +0200 Date: Tue, 16 Jun 2009 15:56:15 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090616135615.GA18052@marge.bs.l> Mail-Followup-To: 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.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX1/LBJY0mMjBfedJnJGRisvnUj1wW/c0oh5a19C SGaz28jZonJcj5/fzFZBVYb0Binrct+F6nLmcTwlVrF4lEAL9s uF9k5MiNFTg2J0CMDOWQDESVmqLYpCGHZxnRB68jxw= Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 13:56:19 -0000 Hi, Am Dienstag, 16. Jun 2009, 09:09:09 -0400 schrieb Carmel NY: > [...] It seems to work until I get to the copy part where it fails. > > My scripting skills are not that good. Perhaps someone could tell me > what I am doing wrong. > > # copy the file to another directory using the base name > cp $i /usr/home/tmp/$BN Please provide the error message next time. I guess the filenames contain spaces. Try cp "$i" "/usr/home/tmp/$BN" Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 13:56:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50FB51065678 for ; Tue, 16 Jun 2009 13:56:58 +0000 (UTC) (envelope-from m2o7i1@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 073078FC12 for ; Tue, 16 Jun 2009 13:56:57 +0000 (UTC) (envelope-from m2o7i1@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2183972qwe.7 for ; Tue, 16 Jun 2009 06:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=RtVByUE7oSnHyt1Xdj62+Feebr4dmnqzQ6lO7CgliRs=; b=hn/F+G4YY1cyG1cqDdK84ons5PWftcKseh8PN4KCj4mSSdfB/Sn7EEwOk89SRMXh94 KH9kcNUfyo+BPa/nMJZiDx/FeADS0xCN5I1ebyEbnf6Ge2veonrtJ+6m9dHrYdQFdPYA fgaBPUd4QRoWGbAnaNHt9DkpeNupYF1Z/QB/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xn/OePHG3hHrc0I3+DBHYzDemUPu90V4rFfN4PWUXL/i+TuHk3Nk7R5nS0WAq62Ojq T72ByeGXPiF9y7XR6MaP3vxCQvKQF02adHPKOjbOW+5DwntXYizH3us+QFPReW/SRVy4 /Wf2wrTqdO7bHQ4rvotyOIFCJrUNQ/fpTXH+U= MIME-Version: 1.0 Received: by 10.220.76.147 with SMTP id c19mr5550411vck.96.1245159415245; Tue, 16 Jun 2009 06:36:55 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2009 09:06:55 +1930 Message-ID: <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com> From: Moises Castellanos To: Carmel NY Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 13:56:58 -0000 Hi Carmel On Wed, Jun 17, 2009 at 8:39 AM, Carmel NY wrote: > I am attempting to write a simple Bash script that will find all the > '*.pem' files in a directory structure and move them to another > directory. It seems to work until I get to the copy part where it fails. > > My scripting skills are not that good. Perhaps someone could tell me > what I am doing wrong. > > This is the script: > > #! /usr/bin/env bash > > # Save the field separator > oIFS=$IFS > > # Set it to line breaks > IFS=$'\n' > > for i in $(find ./ -name "*.pem" -print); do > > # Get the basename > BN=$(basename $i) > > # copy the file to another directory using the base name > cp $i /usr/home/tmp/$BN > > done > > # Reset the IFS variable > IFS=$oIFS > > exit > > > -- > Carmel > _______________________________________________ > 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" > Why you don't use exec flag of find ? You could use: $ find ./ -name "*.pem" -exec cp {} /usr/home/tmp/something \; Regards Moises Castellanos From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 14:03:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92705106566C for ; Tue, 16 Jun 2009 14:03:38 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 265958FC2C for ; Tue, 16 Jun 2009 14:03:37 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by ewy8 with SMTP id 8so5077846ewy.43 for ; Tue, 16 Jun 2009 07:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Vb7R5l0PY5qCY14Cwv4fck1ogSrsu5eIX7avPfNkcWQ=; b=O01WhoKPdZwR5Zk6nkOHxi2y7Rg9Il2UaL+F9DLm+pqwZ3I9v/kwtsbRV8GliyBEJI gMw+ak6XhA2Jj8zpNuIHTaOllxS2v9uMVnr25XGiZEF7xX8xNiHlA3QzcRpDpkCDn4bg 7UBTmL1dDlbesVAGjiPkghBAkfx/pTOQHba8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Jxqohg04Dl+BZqn4hehCAgDNc7TEE2QnbzueopS4qmzw+DVgNnPqvaEdI4rLu3SpEP gC2UI90u75uvji1097jZXG72z87guuj2IiAKgTa3qKMwNDAXBp0d3yjkxhDWoYEC975A 5iAnljw1K5k9E4PWSPKAOWiHLF7zbzDEU9miU= MIME-Version: 1.0 Received: by 10.210.56.2 with SMTP id e2mr7277919eba.18.1245161016174; Tue, 16 Jun 2009 07:03:36 -0700 (PDT) In-Reply-To: <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com> References: <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com> Date: Tue, 16 Jun 2009 10:03:33 -0400 Message-ID: From: Daniel Underwood To: Moises Castellanos Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Carmel NY , FreeBSD Questions Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 14:03:38 -0000 > $ find ./ -name "*.pem" -exec cp {} /usr/home/tmp/something \; I'm a novice with shell scripting myself, but what's the difference between that code and some variant thereof using a pipe and "xargs"? Are they simply two different ways of achieving the same result? Or is there some more important difference I may be overlooking? Thanks, Daniel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 14:10:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EC85106566C for ; Tue, 16 Jun 2009 14:10:57 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1783B8FC17 for ; Tue, 16 Jun 2009 14:10:56 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2189430qwe.7 for ; Tue, 16 Jun 2009 07:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mv7pvhwLJdQ5+aDU7BNN4n/3A8XzB5/QrcwtOluNcFI=; b=HrrbyKOPo7uaPEJ2Lqtyj3oySyNWWCa1alnPwtYJV+XWfCOwh8pjLOTOo1qi44zMMd w3C8XnE0thTfmsIlVPKewLrCOmRacwLn2Ub90p7q2I5w/29tesXmOLH8I4r2tDf9bTCY vH5kbyGliUchzzyBUiK2V2OlnoDlP6uf6IOUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SAQRP+xWYNp5oGufkcaVSxCGIYmTAMGgTICOeOvbO6BjpPZnEdTQ/h+i+f+rwTdBvW /2QIJsi0067P3OuVgN9sS40bVAO3wcLe9ZzQ/1Me9NGTK9EqQ7+pMdL+KAofyqa1mle8 jvm8qfh0XWO+5qfDGgd+bBQANlXvZou+Ez/Ao= MIME-Version: 1.0 Received: by 10.220.85.67 with SMTP id n3mr5697670vcl.53.1245161456503; Tue, 16 Jun 2009 07:10:56 -0700 (PDT) In-Reply-To: <695233.67903.qm@web57005.mail.re3.yahoo.com> References: <695233.67903.qm@web57005.mail.re3.yahoo.com> Date: Tue, 16 Jun 2009 08:10:54 -0600 Message-ID: From: Tim Judd To: Unga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: mail25@bzerk.org, freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 14:10:57 -0000 su -l discards the previous environment and loads a new environment. It's as if you're "logging in" as root (-l) running su without -l will elevate your priveledges without this same problem, you keep the same shell. Fix your shell problems via this way (or single user as originally described), and be careful next time. --TJ On 6/16/09, Unga wrote: > > > --- On Tue, 6/16/09, Ruben de Groot wrote: > >> From: Ruben de Groot >> Subject: Re: Cannot login as root, exited on signal 11 >> To: "Glen Barber" >> Cc: "Unga" , freebsd-questions@freebsd.org >> Date: Tuesday, June 16, 2009, 4:06 PM >> On Mon, Jun 15, 2009 at 02:37:54PM >> -0400, Glen Barber typed: >> > On Mon, Jun 15, 2009 at 9:27 AM, Ruben de Groot >> wrote: >> > >> If so, reboot into single-user mode, and >> change it back. >> > > >> > > Why reboot? You can "su -s /bin/tcsh" >> > > >> > >> > How can you change the shell if you cannot log >> in?=A0 That's why I >> > suggested single-user mode. >> >> He said he could log in as a normal user. >> > > Yes, normal users can log in. Its only root cannot. > > Normal user, after log in, can su to root but "su -l" develops the same > problem, the child process die. > > All users use bash shell. > > What is "su -l" requires that su doesn't? > > Best regards > Unga > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 14:13:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26DC0106571F for ; Tue, 16 Jun 2009 14:13:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id D05238FC0A for ; Tue, 16 Jun 2009 14:13:52 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n5GEDo2O041443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 16 Jun 2009 09:13:50 -0500 (CDT) (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 n5GEDnJ0071101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 16 Jun 2009 09:13:49 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n5GEDmUS071098; Tue, 16 Jun 2009 09:13:48 -0500 (CDT) (envelope-from dan) Date: Tue, 16 Jun 2009 09:13:48 -0500 From: Dan Nelson To: oxy Message-ID: <20090616141348.GB79514@dan.emsphone.com> References: <98aa46640906160210n35c4b5fck6e151ff03396bb09@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98aa46640906160210n35c4b5fck6e151ff03396bb09@mail.gmail.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 16 Jun 2009 09:13:50 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: ipmon-like tool for ipfw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 14:14:28 -0000 In the last episode (Jun 16), oxy said: > I've being searching but found no direct way to monitor indivitually > logged entries of ipfw in real time. Something like ipmon from ipf. > From the ipfw --option command i get only summaries. > > How do i get real time logs on my screen? If you set the sysctl net.inet.ip.fw.verbose=1, then any ipfw rule with the "log" flag on it will get logged via syslog to /var/log/security. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 14:54:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14771106566C for ; Tue, 16 Jun 2009 14:54:24 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s32.blu0.hotmail.com (blu0-omc4-s32.blu0.hotmail.com [65.55.111.171]) by mx1.freebsd.org (Postfix) with ESMTP id BA75A8FC18 for ; Tue, 16 Jun 2009 14:54:23 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP18 ([65.55.111.136]) by blu0-omc4-s32.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Jun 2009 07:54:23 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP18.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Jun 2009 07:54:22 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 6BFC72298D for ; Tue, 16 Jun 2009 10:54:21 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 2C3D12297D for ; Tue, 16 Jun 2009 10:54:21 -0400 (EDT) Date: Tue, 16 Jun 2009 10:54:20 -0400 From: Carmel NY To: freebsd-questions@freebsd.org In-Reply-To: <20090616135615.GA18052@marge.bs.l> References: <20090616135615.GA18052@marge.bs.l> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 16 Jun 2009 14:54:22.0977 (UTC) FILETIME=[55DA3710:01C9EE92] Subject: Re: Problem with bash script 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, 16 Jun 2009 14:54:24 -0000 On Tue, 16 Jun 2009 15:56:15 +0200 Bertram Scharpf wrote: > Hi, > > Am Dienstag, 16. Jun 2009, 09:09:09 -0400 schrieb Carmel NY: > > [...] It seems to work until I get to the copy part where it fails. > > > > My scripting skills are not that good. Perhaps someone could tell me > > what I am doing wrong. > > > > # copy the file to another directory using the base name > > cp $i /usr/home/tmp/$BN > > Please provide the error message next time. > > I guess the filenames contain spaces. Try > > cp "$i" "/usr/home/tmp/$BN" > > Bertram I am an idiot. The problem was that the directory did not exist. It was suppose to be "$HOME/tmp/$BN". However, I rarely use find and was not aware of the '-exec' function. I use that and it worked fine. Thanks to everyone for their assistance. -- Carmel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:02:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB64610656D5 for ; Tue, 16 Jun 2009 15:02:38 +0000 (UTC) (envelope-from prvs=411319fdb=pauls@utdallas.edu) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 892418FC1B for ; Tue, 16 Jun 2009 15:02:38 +0000 (UTC) (envelope-from prvs=411319fdb=pauls@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.42,229,1243832400"; d="scan'208";a="12579184" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 16 Jun 2009 09:33:37 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id D26FC4EF47; Tue, 16 Jun 2009 09:33:37 -0500 (CDT) Date: Tue, 16 Jun 2009 14:33:37 +0000 From: Paul Schmehl To: Carmel NY , FreeBSD Questions Message-ID: <7F04C88B7C6A39C7E1B6F366@utd65257.utdallas.edu> In-Reply-To: References: X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========1E08F14CBC8E2C2B4973==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:02:39 -0000 --==========1E08F14CBC8E2C2B4973========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Tuesday, June 16, 2009 08:09:09 -0500 Carmel NY =20 wrote: > > I am attempting to write a simple Bash script that will find all the > '*.pem' files in a directory structure and move them to another > directory. It seems to work until I get to the copy part where it fails. > > My scripting skills are not that good. Perhaps someone could tell me > what I am doing wrong. > > This is the script: > ># ! /usr/bin/env bash > ># Save the field separator > oIFS=3D$IFS > ># Set it to line breaks > IFS=3D$'\n' > > for i in $(find ./ -name "*.pem" -print); do > ># Get the basename > BN=3D$(basename $i) > ># copy the file to another directory using the base name > cp $i /usr/home/tmp/$BN > > done > ># Reset the IFS variable > IFS=3D$oIFS > > exit > When I write scripts, I test them on the commandline to see if they're doing=20 what I think they're doing. I don't get the $(find ....) construction. You're = invoking find from within a for loop to return a value. Use backticks. This works. for i in `find ./ -name "*.pem" -print` do foo bar done --=20 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========1E08F14CBC8E2C2B4973==========-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:11:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7554610656FE for ; Tue, 16 Jun 2009 15:11:49 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57006.mail.re3.yahoo.com (web57006.mail.re3.yahoo.com [66.196.97.110]) by mx1.freebsd.org (Postfix) with SMTP id A53F38FC12 for ; Tue, 16 Jun 2009 15:11:48 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 70181 invoked by uid 60001); 16 Jun 2009 15:11:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245165107; bh=ewCYH3OfEgkDM58mbGI0l3zPR+F3zye1EQNMomWuPGE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gNar7aVVpIUXnOasIa1ixc8LlBCwX0hsXfJYKEjhmiE20oOgnCWG7Q/K6wcpTXuwhI3o+pfs3Vktcg99y7CGLInfIGWGt7h16pbSQNAk128iUutwVx1RzdE4lWnJhE7yvFkNsSdC+HmGgYDejeM7up3i7AWMB63A42TMm3n4MMc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AhzzpSjYwjYfflxvOGJ2QqnvbLdWJ434aG6+TlUDtAZSeHcOxm17s2b8hNxaye6SQEUGL9t06jvPbNmQw3rByyA4+dvZwOHApz4HdKexztVDF7CceH7/e7TF+6wfJbN16YUvuBAR7Xt16oEixdYjPFeCMiccRizQbGx1aNnw23g=; Message-ID: <633585.69987.qm@web57006.mail.re3.yahoo.com> X-YMail-OSG: TUaye68VM1nndL5MDtagWv5pkOaMPBb4qZwV5bAVi9wxSZF8gq2TiBhXeY1mkvjb2hQuBM3nW2z6ixEbiebVSxugmPpXxINgXw6W0PtX7C4NXhlUsISozLcHzbpWKIlCC80IHnnfB5Nl9Mh82u5Ocdzyv4Kw.IZf1MrQWC5xQ2skBzPDkZtTO84eCWdG4JnNS7J8233DY5skjnel2K5tYk93_Sn4xy_AqA3ZPBpLdY8cIpDHr7.OnxxKigALwx8prvBrMLv2fDqd_pncgA60aw-- Received: from [220.255.7.182] by web57006.mail.re3.yahoo.com via HTTP; Tue, 16 Jun 2009 08:11:47 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Tue, 16 Jun 2009 08:11:47 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Tim Judd Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:11:50 -0000 --- On Tue, 6/16/09, Tim Judd wrote:=0A=0A> From: Tim Ju= dd =0A> Subject: Re: Cannot login as root, exited on sign= al 11=0A> To: "Unga" =0A> Cc: freebsd-questions@freebsd.= org, mail25@bzerk.org=0A> Date: Tuesday, June 16, 2009, 10:10 PM=0A> su -l = discards the previous=0A> environment and loads a new environment.=0A> It's= as if you're "logging in" as root (-l)=0A> =0A> running su without -l will= elevate your priveledges without=0A> this same=0A> problem, you keep the s= ame shell.=A0 Fix your shell=0A> problems via this=0A> way (or single user = as originally described), and be=0A> careful next=0A> time.=0A> =0A=0AHi Ti= m, thanks for the reply. I have not identified yet the problem to be solved= .=0A=0AIf you refer that I use bash for root is the problem, there is no di= fference by switching root's shell to sh.=0A=0AWith sh as the shell for roo= t:=0A1. Still cannot login as root from the console. Child process died err= or.=0A=0A2. "su -l" doesn't work, child process died error.=0A=0A3. su work= s. But the prompt is [\u@host name]#=0AWhy it doesn't print root@host? whoa= mi shows root.=0A=0AWhat is the problem you think that I should fix? any id= eas? any thread related error as the child process die when in root? =0A=0A= Best regards=0AUnga=0A=0A=0A=0A=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:16:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97F00106564A for ; Tue, 16 Jun 2009 15:16:31 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8D48FC0C for ; Tue, 16 Jun 2009 15:16:30 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090616151629.WMXY6611.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Tue, 16 Jun 2009 16:16:29 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090616151629.KPPD21638.aamtaout02-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Tue, 16 Jun 2009 16:16:29 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 9B2BA6182; Tue, 16 Jun 2009 16:16:26 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 29C9A6103 for ; Tue, 16 Jun 2009 16:16:26 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Tue, 16 Jun 2009 16:16:26 +0100 From: "Daniel Bye" Date: Tue, 16 Jun 2009 16:16:26 +0100 To: FreeBSD Questions Message-ID: <20090616151626.GD93430@torus.slightlystrange.org> Mail-Followup-To: FreeBSD Questions References: <7F04C88B7C6A39C7E1B6F366@utd65257.utdallas.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JwB53PgKC5A7+0Ej" Content-Disposition: inline In-Reply-To: <7F04C88B7C6A39C7E1B6F366@utd65257.utdallas.edu> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-STABLE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=69EAbJreAAAA:8 a=TwLsjuQZDPgjb56AtoUA:9 a=tzSt98q9iXDEXhlTwnQA:7 a=qfO4w60kamiLTKb0VNqGmeyShFIA:4 a=EfJqPEOeqlMA:10 a=1XuXOsdpdX2DVTDmMRUA:9 a=joRnNCioLg7y9Wk7sHQBjDy8BU0A:4 Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 15:16:31 -0000 --JwB53PgKC5A7+0Ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 16, 2009 at 02:33:37PM +0000, Paul Schmehl wrote: > --On Tuesday, June 16, 2009 08:09:09 -0500 Carmel NY=20 > wrote: >=20 > > > >I am attempting to write a simple Bash script that will find all the > >'*.pem' files in a directory structure and move them to another > >directory. It seems to work until I get to the copy part where it fails. > > > >My scripting skills are not that good. Perhaps someone could tell me > >what I am doing wrong. > > > >This is the script: > > > ># ! /usr/bin/env bash > > > ># Save the field separator > >oIFS=3D$IFS > > > ># Set it to line breaks > >IFS=3D$'\n' > > > >for i in $(find ./ -name "*.pem" -print); do > > > ># Get the basename > >BN=3D$(basename $i) > > > ># copy the file to another directory using the base name > >cp $i /usr/home/tmp/$BN > > > >done > > > ># Reset the IFS variable > >IFS=3D$oIFS > > > >exit > > >=20 > When I write scripts, I test them on the commandline to see if they're=20 > doing what I think they're doing. I don't get the $(find ....)=20 It does exactly the same as `command -a rgs`, but all characters between the parentheses are taken literally (in the backtick form, certain chars have special meaning, but not in the $() form.) > construction. You're invoking find from within a for loop to return a=20 > value. Use backticks. >=20 > This works. >=20 > for i in `find ./ -name "*.pem" -print` > do > foo > bar > done It also works with the $() form, provided the target directory exists! Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --JwB53PgKC5A7+0Ej Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko3t0oACgkQixf5fBYiFmqVrACffBmCn76T5aud+KmMHFlQrcP2 1XcAn3KfajVpkGq3tioCe9+++k2wPYTD =A/4y -----END PGP SIGNATURE----- --JwB53PgKC5A7+0Ej-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:22:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE28106566B for ; Tue, 16 Jun 2009 15:22:15 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id D537A8FC22 for ; Tue, 16 Jun 2009 15:22:14 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz27 with SMTP id 27so414389bwz.43 for ; Tue, 16 Jun 2009 08:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jy628AAvsMMRQv7bvghVGj+fcBaBqjqFdAepAQ+Ffrc=; b=hRKl4EoPCwt9NASWND4GzRfsADDa3aB/aueg3iJG6p4jsxwC5Q1XkWdYG714oeAnLW F6C4e+3ACU9c9jbk+DvNA9X0ou8jsmIXMvxkFR8guaL7/5IHUiIK6GnbQ6oUMDkLIt/t OuizaQPKG7GgY9EGv+c8tlB4xidDhgO54Chu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=g/t5a0SaEPdHLwzF7xx4KqsneH9wUVRJRxNoeh7c9zHT947tINwwFjHlIkqHnxA2Ey jUDF5xEhkQ2b0J2EBtsD2RxxH6gVxUjjIszEujazPSja5pLInjyBSggzhA7mV1Ovbmov aTkWcZnpR0kTMlr4DrVWFUHzbqmrSO6vSuRFE= MIME-Version: 1.0 Received: by 10.204.119.71 with SMTP id y7mr8315266bkq.24.1245165733519; Tue, 16 Jun 2009 08:22:13 -0700 (PDT) In-Reply-To: <633585.69987.qm@web57006.mail.re3.yahoo.com> References: <633585.69987.qm@web57006.mail.re3.yahoo.com> Date: Tue, 16 Jun 2009 11:22:13 -0400 Message-ID: <4ad871310906160822y4e86ab68mc1dfc15e2a4a6262@mail.gmail.com> From: Glen Barber To: Unga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Tim Judd , freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:22:16 -0000 On Tue, Jun 16, 2009 at 11:11 AM, Unga wrote: > > --- On Tue, 6/16/09, Tim Judd wrote: > >> From: Tim Judd >> Subject: Re: Cannot login as root, exited on signal 11 >> To: "Unga" >> Cc: freebsd-questions@freebsd.org, mail25@bzerk.org >> Date: Tuesday, June 16, 2009, 10:10 PM >> su -l discards the previous >> environment and loads a new environment. >> It's as if you're "logging in" as root (-l) >> >> running su without -l will elevate your priveledges without >> this same >> problem, you keep the same shell.=A0 Fix your shell >> problems via this >> way (or single user as originally described), and be >> careful next >> time. >> > > Hi Tim, thanks for the reply. I have not identified yet the problem to be= solved. > > If you refer that I use bash for root is the problem, there is no differe= nce by switching root's shell to sh. > > With sh as the shell for root: > 1. Still cannot login as root from the console. Child process died error. > > 2. "su -l" doesn't work, child process died error. > > 3. su works. But the prompt is [\u@host name]# > Why it doesn't print root@host? whoami shows root. > > What is the problem you think that I should fix? any ideas? any thread re= lated error as the child process die when in root? > What have you recently changed on the system? What did you do / were you doing right before you could no longer log in as root? When was the last time you checked your system for malware? security/rkhunter may be a good idea. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:24:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876CC1065694 for ; Tue, 16 Jun 2009 15:24:07 +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 5FDFA8FC16 for ; Tue, 16 Jun 2009 15:24:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 28280 invoked from network); 16 Jun 2009 15:24:06 -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 ; 16 Jun 2009 15:24:06 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 60D1F50852; Tue, 16 Jun 2009 11:24:05 -0400 (EDT) To: Unga References: <633585.69987.qm@web57006.mail.re3.yahoo.com> From: Lowell Gilbert Date: Tue, 16 Jun 2009 11:24:05 -0400 In-Reply-To: <633585.69987.qm@web57006.mail.re3.yahoo.com> (Unga's message of "Tue\, 16 Jun 2009 08\:11\:47 -0700 \(PDT\)") Message-ID: <44hbygw6ay.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: Cannot login as root, exited on signal 11 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, 16 Jun 2009 15:24:08 -0000 Unga writes: > If you refer that I use bash for root is the problem, there is no difference by switching root's shell to sh. > > With sh as the shell for root: > 1. Still cannot login as root from the console. Child process died error. > > 2. "su -l" doesn't work, child process died error. > > 3. su works. But the prompt is [\u@host name]# > Why it doesn't print root@host? whoami shows root. > > What is the problem you think that I should fix? any ideas? any thread related error as the child process die when in root? Another thing to check is the login files. For /bin/sh, I think that would be /etc/profile, /root/.profile, anything that ENV might be set to. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:30:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1454E106567D for ; Tue, 16 Jun 2009 15:30:46 +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 A894C8FC2A for ; Tue, 16 Jun 2009 15:30:45 +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 n5GFUf3n025080; Tue, 16 Jun 2009 08:30:41 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 16 Jun 2009 08:30:41 -0700 (PDT) Date: Tue, 16 Jun 2009 08:30:40 -0700 From: Gary Kline To: Mel Flynn Message-ID: <20090616153040.GA40540@thought.org> References: <20090616012114.GA38011@thought.org> <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.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-questions@freebsd.org Subject: Re: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:30:46 -0000 On Mon, Jun 15, 2009 at 06:57:45PM -0800, Mel Flynn wrote: > On Monday 15 June 2009 17:21:16 Gary Kline wrote: > > > Encl: dephp.c, test > case '?': > ch = getchar(); > while (1) > { > if (ch == '?' && (ch = getchar()) == '>') > { > break; > } > else > { > ch = getchar(); > } > } > break; > > As has been hinted before you're not handling the EOF case. Files like: > class foo > { > function __construct() { echo 'foo'; }; > }; > > Are perfectly valid php files and actually preferred for included files, > rather then a terminating ?>, because one can start filling the output by > trailing whitespace before EOF and thus not set any header() anymore. The > above code will wait indefinitely for the next char or spin like mad if you're > using non-blocking IO. YUP. I thought my initial getchar() != EOF would handle that. But then there's that do-forever loop. I remember Jeffrey's post and tried a case 'EOF' or case '-1'; thar gives me compiler errors. Suggestions? > > You should really take the pointers from Jeffrey Goldberg and record states > and decide based on the state, rather then inlined switch statements, if only > for readability. > > You're also in trouble with you might actually be doing the right thing from your usage perspective. > -- > Mel -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:32:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DF0A1065670 for ; Tue, 16 Jun 2009 15:32:18 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 05DC78FC16 for ; Tue, 16 Jun 2009 15:32:17 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n5GFTJgY011499; Tue, 16 Jun 2009 11:29:19 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n5GFTIlc011498; Tue, 16 Jun 2009 11:29:18 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 16 Jun 2009 11:29:18 -0400 From: Jerry McAllister To: Polytropon Message-ID: <20090616152918.GA11443@gizmo.acns.msu.edu> References: <4ad871310906030653o62d7e708w1a7be44334ab8dab@mail.gmail.com> <20090603152939.GF1988@phenom.cordula.ws> <20090603185039.54cdd820.freebsd@edvax.de> <70C0964126D66F458E688618E1CD008A0793EE90@WADPEXV0.waddell.com> <20090603213531.c56f385b.freebsd@edvax.de> <20090603201342.GA8685@slackbox.xs4all.nl> <20090604183146.GB1386@phenom.cordula.ws> <20090604205824.9167e361.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090604205824.9167e361.freebsd@edvax.de> User-Agent: Mutt/1.4.2.2i Cc: Roland Smith , cpghost , freebsd-questions@freebsd.org Subject: Re: Open_Source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:32:19 -0000 On Thu, Jun 04, 2009 at 08:58:24PM +0200, Polytropon wrote: > On Thu, 4 Jun 2009 20:31:46 +0200, cpghost wrote: > > BTW, since we're talking about vintage OSes: anyone knows of a > > BS2000 clone, emulator, ...? > > > > http://ts.fujitsu.com/products/bs2000/index.html > > http://en.wikipedia.org/wiki/BS2000 > > > > I'm especially interested in an emulation of the old terminal-based > > BS2000 before they introduced POSIX compat in 1992 (i.e. BS2000 as > > of between 1986 and 1992). > > > > For other emulators of old hardware, we have the great collecton of > > /usr/ports/emulators/simh plus images, but nothing BS2000-ish (yet). > > Or do we? > > Maybe you're interested in hercules, which provides emulation > of IBM's mainframe architecture that was the "parent" (with > OS/360 and OS/390) of Siemens' original BS2000. > > Vintage operating systems, let's see what I can remember... > SCP, DCP, MUTOS, SVP, VMX, PSU, WEGA, KAOS, OS/ES (once my > favourite)... I'm sure no one of you knows from mind what > I'm talking about. But don't mind, they don't exist anymore. :-) How about Scope2, Scope3, Nos, Nos/BE, Nos/VE, and the king of all, Scope/Hustler. Of course, they were not IBM mainframe OSen. They ran on the CDC 6000 and 170-180 mainframe systems. ////jerry > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 Jun 16 15:55:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49EF8106567A for ; Tue, 16 Jun 2009 15:55:37 +0000 (UTC) (envelope-from mgass@unix.csbsju.edu) Received: from smtp1.computing.csbsju.edu (smtp1-out.csbsju.edu [152.65.184.20]) by mx1.freebsd.org (Postfix) with ESMTP id B1F938FC18 for ; Tue, 16 Jun 2009 15:55:36 +0000 (UTC) (envelope-from mgass@unix.csbsju.edu) X-AuditID: c0a8b816-b7b9bae00000786e-2b-4a37bcf31d70 Received: from maple.computing.csbsju.edu ( [152.65.165.5]) by smtp1.computing.csbsju.edu (Symantec Mail Security) with SMTP id 05.9A.30830.3FCB73A4; Tue, 16 Jun 2009 10:40:35 -0500 (CDT) Received: from nx2.csbsju.edu (nx2.csbsju.edu [10.185.11.77]) by maple.computing.csbsju.edu (8.13.1/8.13.1) with ESMTP id n5GFeZgQ013191 for ; Tue, 16 Jun 2009 10:40:35 -0500 Received: by nx2.csbsju.edu (Postfix, from userid 1401) id 14D1F864C7; Tue, 16 Jun 2009 10:40:36 -0500 (CDT) Date: Tue, 16 Jun 2009 10:40:36 -0500 From: Michael Gass To: freebsd-questions@freebsd.org Message-ID: <20090616154036.GC7334@unix.csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Brightmail-Tracker: AAAAAA== Subject: Why obsoleted if_watchdog interface ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 15:55:39 -0000 I installed an old 3Com network card in my machine (Pavilion 4455) and it works fine, but I get the following warning in dmesg ep0: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep0: WARNING: using obsoleted if_watchdog interface ep0: Ethernet address: 00:01:02:69:4f:7c ep0: [ITHREAD] What does "obsoleted if_watchdog interface" mean? Is it a problem that I should try to do something about. Thanks, Mike Gass Minnesota USA From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 16:58:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5614910656C5 for ; Tue, 16 Jun 2009 16:58:49 +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 CD7188FC21 for ; Tue, 16 Jun 2009 16:58:48 +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 n5GGwgZc058584; Tue, 16 Jun 2009 17:58:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n5GGwgZc058584 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1245171523; bh=7EOw2xQbnIa440Gf5OxTKkslO1Wf2F+Wml1dfjLtjDk=; 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=Message-ID:=20<4A37CF3C.5000808@infracaninophile.co.uk>|Date:=20T ue,=2016=20Jun=202009=2017:58:36=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Carmel=20NY=20|CC:=20FreeB SD=20Questions=20|Subject:=20Re:=20 Problem=20with=20bash=20script|References:=20|In-Reply-To:=20|X-Enigmail-Version:=200.95.6|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D" application/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig 3BD5A5F4D1015FA78118F8E8"; b=UrbxAKc3gXBAhPNGhy8kIS5EeFfFbk/kgQvJo8dNKGOmKa+/IYDUoo4YFulu+6kuO H6BDhM5J8yeuWfNOr642VDjwe4MPiEzUiaFMzKPblCGi1BV2F5gO3tM3CL7xAfviH+ 3oh1C6bRJfnU1go10jGK1grLWFczRlLy+4DMhaAU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A37CF3C.5000808@infracaninophile.co.uk> Date: Tue, 16 Jun 2009 17:58:36 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Carmel NY References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3BD5A5F4D1015FA78118F8E8" X-Virus-Scanned: clamav-milter 0.95.2 at 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 Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 16:58:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3BD5A5F4D1015FA78118F8E8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Carmel NY wrote: > I am attempting to write a simple Bash script that will find all the > '*.pem' files in a directory structure and move them to another > directory. It seems to work until I get to the copy part where it fails= =2E >=20 > My scripting skills are not that good. Perhaps someone could tell me > what I am doing wrong. >=20 > This is the script: >=20 > #! /usr/bin/env bash >=20 > # Save the field separator > oIFS=3D$IFS >=20 > # Set it to line breaks > IFS=3D$'\n' >=20 > for i in $(find ./ -name "*.pem" -print); do >=20 > # Get the basename > BN=3D$(basename $i) >=20 > # copy the file to another directory using the base name > cp $i /usr/home/tmp/$BN >=20 > done >=20 > # Reset the IFS variable > IFS=3D$oIFS >=20 > exit That's a one-liner: % find . -depth -name '*.pem' -print0 | cpio -0pdmu /usr/home/tmp Actually, that just /copies/ all of the *.pem files to the other director= y tree, so if you want to remove the original files, you'ld also need to do= : % find . -name '*.pem' -delete=20 once you're sure everything has copied across OK, and with the proviso that '.' is neither a parent or child of /usr/home/tmp 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 --------------enig3BD5A5F4D1015FA78118F8E8 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.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAko3z0IACgkQ8Mjk52CukIyb1QCfbWLKF5gh4ogdyVjDJeWLLNVm 6eQAnRvLzM2UYnR4T7kxFMeCT8i+nuf4 =TYen -----END PGP SIGNATURE----- --------------enig3BD5A5F4D1015FA78118F8E8-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 17:02:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224C61065686 for ; Tue, 16 Jun 2009 17:02:49 +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 CB1378FC19 for ; Tue, 16 Jun 2009 17:02:48 +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 n5GH2ieM025866; Tue, 16 Jun 2009 10:02:45 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 16 Jun 2009 10:02:44 -0700 (PDT) Date: Tue, 16 Jun 2009 10:02:44 -0700 From: Gary Kline To: Mel Flynn Message-ID: <20090616170244.GA40934@thought.org> References: <20090616012114.GA38011@thought.org> <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090616153040.GA40540@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090616153040.GA40540@thought.org> 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: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 17:02:49 -0000 On Tue, Jun 16, 2009 at 08:30:40AM -0700, Gary Kline wrote: > On Mon, Jun 15, 2009 at 06:57:45PM -0800, Mel Flynn wrote: > > On Monday 15 June 2009 17:21:16 Gary Kline wrote: > > > > > Encl: dephp.c, test > > case '?': > > ch = getchar(); > > while (1) > > { > > if (ch == '?' && (ch = getchar()) == '>') > > { > > break; > > } > > else > > { > > ch = getchar(); > > } > > } > > break; > > > > As has been hinted before you're not handling the EOF case. Files like: > > > class foo > > { > > function __construct() { echo 'foo'; }; > > }; > > > > Are perfectly valid php files and actually preferred for included files, > > rather then a terminating ?>, because one can start filling the output by > > trailing whitespace before EOF and thus not set any header() anymore. The > > above code will wait indefinitely for the next char or spin like mad if you're > > using non-blocking IO. > > > YUP. > > I thought my initial getchar() != EOF would handle that. > But then there's that do-forever loop. I remember Jeffrey's > post and tried a case 'EOF' or case '-1'; thar gives me > compiler errors. > > Suggestions? > > > > > > You should really take the pointers from Jeffrey Goldberg and record states > > and decide based on the state, rather then inlined switch statements, if only > > for readability. > > > > You're also in trouble with > you might actually be doing the right thing from your usage perspective. > > -- > > Mel this works, but still gives a warning. it's sloppy coding, but as a second version... gary #include #include int main(int argc, char *argv[]) { FILE *fp; int results=0; *argv++; if ((fp = fopen(*argv, "r")) == NULL) exit(printf("[%s] not found\n", *argv)); else results = foo(fp); printf("\nend of main(), %s, results = [%d]\n", __FILE__, results); } int foo(FILE *fp) { int ch; do { if ((ch = getc(fp)) != EOF) switch (ch) { case 'EOF': feof(fp); exit(0); case '>': putchar (ch); break; case '<': putchar (ch); switch ((ch = getc(fp)) ) { case '?': ch = getc(fp); while ( (ch = getc(fp)) != EOF) { if (ch == '?' && (ch = getc(fp)) == '>' ) { break; } else { ch = getc(fp); } } break; case '>': putchar (ch); break; default: putchar(ch); break; } break; default: putchar (ch); } } while (ch != EOF); return 0; } From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:01:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70FF106566B for ; Tue, 16 Jun 2009 18:01:11 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 96B5B8FC1D for ; Tue, 16 Jun 2009 18:01:11 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id E19757E844; Tue, 16 Jun 2009 10:01:10 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 16 Jun 2009 10:01:10 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090616154036.GC7334@unix.csbsju.edu> In-Reply-To: <20090616154036.GC7334@unix.csbsju.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906161001.10312.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Michael Gass Subject: Re: Why obsoleted if_watchdog interface ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 18:01:12 -0000 On Tuesday 16 June 2009 07:40:36 Michael Gass wrote: > I installed an old 3Com network card in my machine (Pavilion 4455) > and it works fine, but I get the following warning in dmesg > > ep0: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0 > ep0: WARNING: using obsoleted if_watchdog interface > ep0: Ethernet address: 00:01:02:69:4f:7c > ep0: [ITHREAD] > > What does "obsoleted if_watchdog interface" mean? Is it a problem that > I should try to do something about. A watchdog interface checks if the hardware is still responsive. The ep driver uses the old interface, which still works, but is replaced with a new interface. The driver should be updated, yet it has not happened and as such the driver may stop working in a future major release. I do not know the current status of if_watchdog and when it's scheduled to be removed. -- Mel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:04:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFF85106566B for ; Tue, 16 Jun 2009 18:04:57 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA018FC20 for ; Tue, 16 Jun 2009 18:04:57 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 775117E847; Tue, 16 Jun 2009 10:04:56 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 16 Jun 2009 10:04:55 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <2620c3260906160636j1f6758fcgafaa6c50811a3452@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906161004.55935.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Carmel NY , Daniel Underwood , Moises Castellanos Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 18:04:58 -0000 On Tuesday 16 June 2009 06:03:33 Daniel Underwood wrote: > > $ find ./ -name "*.pem" -exec cp {} /usr/home/tmp/something \; > > I'm a novice with shell scripting myself, but what's the difference > between that code and some variant thereof using a pipe and "xargs"? > Are they simply two different ways of achieving the same result? Or > is there some more important difference I may be overlooking? Moises' way is less efficient as it will copy each file separately, however, if he ends with a + rather then a \;, then using exec is marginally faster as you eliminate 1 pipe from the tool chain. See find(1) for more info. -- Mel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:12:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65D9E106564A for ; Tue, 16 Jun 2009 18:12:24 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2882C8FC1B for ; Tue, 16 Jun 2009 18:12:23 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n5GICMQr019874 for ; Tue, 16 Jun 2009 14:12:22 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n5GICM7i019873; Tue, 16 Jun 2009 14:12:22 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 7FCB1BEE4; Tue, 16 Jun 2009 14:05:10 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <20090616151626.GD93430@torus.slightlystrange.org> (danielby@slightlystrange.org) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090616180510.7FCB1BEE4@kev.msw.wpafb.af.mil> Date: Tue, 16 Jun 2009 14:05:10 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 18:12:24 -0000 >> On Tuesday, June 16, 2009 08:09:09 -0500 Carmel NY >> wrote: C> I am attempting to write a simple Bash script that will find all the C> '*.pem' files in a directory structure and move them to another C> directory. Using find and pax will correctly handle filenames with spaces and other crap. If you use the -depth option in find, you'll also preserve directory modtimes: root# cd /src/directory root# mkdir -p /dest/directory root# find . -depth -print | pax -rwd -pe /dest/directory Use "-rwdu" if /dest/directory already exists and you don't want to overwrite newer files there with older files from /src/directory. If you want to store the output from pax as an archive file, use the "cpio" format for the most portability and the least number of limitations on things like pathname size. Another advantage of find vs backquotes is the ability to filter things out of the files being copied: root# find . -depth -print | fgrep -f /files/to/ignore | pax -x cpio -wd | gzip -1c > /tmp/src.pax.gz [ archive the pax file, copy it to another system, etc. ] root# cd /dest/directory root# gunzip -c < src.pax.gz | pax -r -pe If you have spaces in your filenames and you still want to do some filtering before running xargs, use tr to change newlines to nulls: root# find . -depth -print | /some/filter/here | tr '\012' '\000' | xargs -0 /some/command >> On Tue, 16 Jun 2009 16:16:26 +0100, >> "Daniel Bye" said: D> It does exactly the same as `command -a rgs`, but all characters between D> the parentheses are taken literally (in the backtick form, certain chars D> have special meaning, but not in the $() form.) Either solution will run the command first and then rescan the line in the calling script. You can run into problems when the results of the backquoted command are too big; there's an upper limit to how many arguments you can put in a for loop or pass to a program. Also, any spaces or weird characters in the output are likely to play hell with whatever else you're doing. You're much safer using a pipe. Use backquotes or $() when you're pretty sure the output won't be too big. To be safe, check the argument count when you run something: #!/bin/bash set X `date` # should give 6 tokens plus X. case "$#" in 1) echo "command didn't print anything" ;; 7) echo "success: $*"; echo "year should be 7th arg: $7" ;; *) echo "something else is wrong" ;; esac exit 0 -- Karl Vogel I don't speak for the USAF or my company There is nothing more satisfying than having someone take a shot at you and miss. --Murphy's Laws of Combat From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:22:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F13551065672 for ; Tue, 16 Jun 2009 18:22:16 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0EE8FC21 for ; Tue, 16 Jun 2009 18:22:16 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9B03E7E837; Tue, 16 Jun 2009 10:22:15 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Tue, 16 Jun 2009 10:22:14 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906151306.38458.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090616071915.GA1895@current.Sisis.de> In-Reply-To: <20090616071915.GA1895@current.Sisis.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906161022.14687.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Matthias Apitz , flz@freebsd.org Subject: Re: Problem with certain fonts when printing from firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 18:22:17 -0000 On Monday 15 June 2009 23:19:15 Matthias Apitz wrote: > (II) LoadModule: "freetype" > (WW) Warning, couldn't open module freetype > (II) UnloadModule: "freetype" > (EE) Failed to load module "freetype" (module does not exist, 0) > > and there are posts in Google that this is not needed anymore because it > is now parts of libXfont -- what is true? If so someone should fix the > postinstall messages... Yep, but only if the right libXfont is installed. So this gets a bit messy, but CC'ing flz@ with the fonts and maintainers on the hook: % find /usr/ports/x11-fonts \( -name pkg-message -o -name pkg-message.in \) - exec grep 'Load "freetype"' {} + /usr/ports/x11-fonts/arkpandora/pkg-message: Load "freetype" /usr/ports/x11-fonts/avifonts/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/bitstream-vera/pkg-message: Load "freetype" /usr/ports/x11-fonts/code2000/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/dejavu/pkg-message: Load "freetype" /usr/ports/x11-fonts/gentium/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/indic-ttf/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/liberation-fonts-ttf/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/mgopen/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/stix-fonts/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/texcm-ttf/files/pkg-message.in: Load "freetype" /usr/ports/x11-fonts/webfonts/files/pkg-message.in: Load "freetype" % find /usr/ports/x11-fonts \( -name pkg-message -o -name pkg-message.in \) - exec grep -l 'Load "freetype"' {} + |while read FILE; do dir=$(dirname ${FILE}); dir=${dir%/files}; make -C ${dir} -V MAINTAINER; done|sort -u ahze@FreeBSD.org danfe@FreeBSD.org gnome@FreeBSD.org jacula@gmail.com kkonstan@duth.gr m.seaman@infracaninophile.co.uk ports@FreeBSD.org thierry@FreeBSD.org -- Mel From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:23:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D563106564A for ; Tue, 16 Jun 2009 18:23:11 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 15A798FC31 for ; Tue, 16 Jun 2009 18:23:10 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n5GIN9UH020718 for ; Tue, 16 Jun 2009 14:23:09 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n5GIN9G8020717; Tue, 16 Jun 2009 14:23:09 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id A2F1DBEE4; Tue, 16 Jun 2009 14:22:57 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <20090616151626.GD93430@torus.slightlystrange.org> (danielby@slightlystrange.org) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090616182257.A2F1DBEE4@kev.msw.wpafb.af.mil> Date: Tue, 16 Jun 2009 14:22:57 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Problem with bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 18:23:12 -0000 I botched the filter example in my previous blathering. This will ignore output from find containing patterns: root# find . -depth -print | fgrep -v -f /some/patterns Leaving off the -v will keep output containing those patterns. -- Karl Vogel I don't speak for the USAF or my company Sign in a Tacoma, Washington men's clothing store: "15 men's wool suits, $10. They won't last an hour!" From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 18:51:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99617106564A for ; Tue, 16 Jun 2009 18:51:52 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 5141A8FC08 for ; Tue, 16 Jun 2009 18:51:52 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so6043821qyk.3 for ; Tue, 16 Jun 2009 11:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qHMnprFQGrFhdpwb0Dm3CMOgyaJ8Inrintmv2gwjsu0=; b=i7tGUo4L7ny7CFtD424c+UduA4crsdRfg2nZJ0tHueWIqRupEhJJdSNHx75Oo8hB1F ugoISoR1mzd6xBkqFUGxg1vAMtSQJCzdHZ6orGxBgzRiCu893L/x+TFlMpGH/yGMT/bU 4ae3HJ9olokXnzj5NpdSB1KuqOY8uLilTlPds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ucjv1LKEn6vDdF2CqlPAHvHEd7agLUa7DjGGlxZa9m/xWM5owTRKiz0cW0rYOJ5zzh qzyVTSn+k/YV/u2XsKgEwJL0ZdmR8EewbwKGKubeffABBgWIaEiqCzvA3A32N1P3OmoC inQXR5RzoeGdjQljpTeH/dcnr/XZXZ8hetMAg= MIME-Version: 1.0 Received: by 10.220.45.80 with SMTP id d16mr6194438vcf.93.1245178311576; Tue, 16 Jun 2009 11:51:51 -0700 (PDT) In-Reply-To: <633585.69987.qm@web57006.mail.re3.yahoo.com> References: <633585.69987.qm@web57006.mail.re3.yahoo.com> Date: Tue, 16 Jun 2009 12:51:51 -0600 Message-ID: From: Tim Judd To: Unga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 18:51:52 -0000 On 6/16/09, Unga wrote: > > --- On Tue, 6/16/09, Tim Judd wrote: > >> From: Tim Judd >> Subject: Re: Cannot login as root, exited on signal 11 >> To: "Unga" >> Cc: freebsd-questions@freebsd.org, mail25@bzerk.org >> Date: Tuesday, June 16, 2009, 10:10 PM >> su -l discards the previous >> environment and loads a new environment. >> It's as if you're "logging in" as root (-l) >> >> running su without -l will elevate your priveledges without >> this same >> problem, you keep the same shell. Fix your shell >> problems via this >> way (or single user as originally described), and be >> careful next >> time. >> > > Hi Tim, thanks for the reply. I have not identified yet the problem to be > solved. > > If you refer that I use bash for root is the problem, there is no difference > by switching root's shell to sh. > > With sh as the shell for root: > 1. Still cannot login as root from the console. Child process died error. > > 2. "su -l" doesn't work, child process died error. > > 3. su works. But the prompt is [\u@host name]# > Why it doesn't print root@host? whoami shows root. > > What is the problem you think that I should fix? any ideas? any thread > related error as the child process die when in root? > > Best regards > Unga > Unga, This is the first time I've read from you that you were using the recommended shell. Given you're running the recommended shell and you're still having problems sporadically (users = ok, root = not), I'd start the invasive discovery why it's not working. First is system-wide: is your kernel version and userland in sync? Such as RELENG_7 userland with RELENG_7 kernel? Running non-synchronized kernel and userland (aka world) is not supported* and will cause problems. Back to the individualized problem -- if you backup your root's dotfiles, and then remove or rename them, does the problem remain? What if you set root's home directory to one of your user's home directory as a test to see if it's the dotfiles? These would be my next steps to diagnose what might be the problem. Good luck. * - Only supported is when you're upgrading and have a newer kernel just long enough to install world. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:30:03 2009 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 17DA61065686 for ; Tue, 16 Jun 2009 19:30:03 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id B40BB8FC1F for ; Tue, 16 Jun 2009 19:30:02 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 9AD8D1C1A66 for ; Tue, 16 Jun 2009 21:30:00 +0200 (CEST) Message-ID: <4A37F2B7.6000505@locolomo.org> Date: Tue, 16 Jun 2009 21:29:59 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:30:03 -0000 Hi: I have set up a jail with local ip 127.0.0.2 on the loopback interface: On host: lo0: flags=8049 metric 0 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.2 netmask 0xffffffff On jail: lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.2 netmask 0xffffffff I have no problem connecting from the host to the jail, but the other way around doesn't work. Also, related, how do I configure multiple interfaces in a jail? Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:36:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864AF106566B for ; Tue, 16 Jun 2009 19:36:36 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from dns.msk.asap.bg (dns.msk.asap.bg [78.90.206.101]) by mx1.freebsd.org (Postfix) with ESMTP id 457E58FC23 for ; Tue, 16 Jun 2009 19:36:35 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from [10.30.1.106] (unknown [95.87.202.193]) by dns.msk.asap.bg (Postfix) with ESMTP id 70DE23986C for ; Tue, 16 Jun 2009 22:36:37 +0300 (EEST) Message-ID: <4A37F434.6090707@aboutsupport.com> Date: Tue, 16 Jun 2009 22:36:20 +0300 From: Peter User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:36:37 -0000 Hi, I know it is possible, but not sure how to do it. When power goes down and file system gets corrupted and system becomes unbootable I need to login to the machine via console and run fsck -y /dev/XXXXX Any idea how to make Freebsd do that alone so it always boot, but without paying penalty of slow reboot in case of clean shutdown and restart ? Thanks, Peter From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:39:50 2009 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 658F61065670 for ; Tue, 16 Jun 2009 19:39:50 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from honeysuckle.london.02.net (honeysuckle.london.02.net [87.194.255.144]) by mx1.freebsd.org (Postfix) with ESMTP id 039428FC21 for ; Tue, 16 Jun 2009 19:39:49 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.72] (93.97.24.219) by honeysuckle.london.02.net (8.5.016.1) id 4A23EDE600ECCA5A; Tue, 16 Jun 2009 20:39:48 +0100 Message-ID: <4A37F503.7070207@onetel.com> Date: Tue, 16 Jun 2009 20:39:47 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: Manolis Kiagias References: <4A37380F.8020505@gmail.com> In-Reply-To: <4A37380F.8020505@gmail.com> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:39:50 -0000 Manolis Kiagias wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey all, > > This is a continuation of the effort that started with this post: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/198284.html > > This little project also found its way to Distrowatch Weekly news > (Thanks!): > > http://distrowatch.com/weekly.php?issue=20090615#news Congratulations! > > Since there was an update of the base system to 7.2-RELEASE-p1 a few > days ago, it was a good chance to update this ISO and also include > some newer packages. > > The new ISO may be downloaded from here (space and bandwidth courtesy > of Glen Barber): > > http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/7.2-RELEASE-p1-i386-disc1.iso Are you updating the name with each new iso? > I will start preparing a server ISO (CD sized) soon. I also welcome > all ideas on what to include/exclude in later versions of this DVD. > It has been suggested to include openoffice packages as abiword / > gnumeric don't cut it for many people. This will increase the size of > the download, although hopefully not dramatically as most dependencies > are probably already included. I am all open to ideas, so please email > me your suggestions and comments. I would vote for including openoffice, it takes much longer to compile than to download, or maybe make the package and any dependencies that are not already included available as a separate tarball. Any chance of x11-wm/icewm and maybe x11/idesk? icewm with config option BEASTIE :) I've been between hardware for a while but I can offer some compile time if needed. Chris > > Thanks, > Manolis Kiagias > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAko3OA4ACgkQZ/MxGm4PtJRuvgCfYcOTk2whTnOekRqrBMJYjWZ3 > tOcAnRF2Y1E14T/zFGOMBJk+v46tz2AN > =VfqE > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 Jun 16 19:39:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 463EB1065674 for ; Tue, 16 Jun 2009 19:39:52 +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 1AB468FC23 for ; Tue, 16 Jun 2009 19:39:51 +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 0296EEBC0A; Tue, 16 Jun 2009 15:39:50 -0400 (EDT) Date: Tue, 16 Jun 2009 15:39:48 -0400 From: Bill Moran To: Peter Message-Id: <20090616153948.dd35087d.wmoran@potentialtech.com> In-Reply-To: <4A37F434.6090707@aboutsupport.com> References: <4A37F434.6090707@aboutsupport.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:39:52 -0000 In response to Peter : > Hi, > > I know it is possible, but not sure how to do it. > When power goes down and file system gets corrupted and system becomes > unbootable I need to login to the machine via console and run > > fsck -y /dev/XXXXX > > Any idea how to make Freebsd do that alone so it always boot, but > without paying penalty of slow reboot in case of clean shutdown and > restart ? fsck_y_enable="YES" in /etc/rc.conf See the man page for details. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:46:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA5CB1065672 for ; Tue, 16 Jun 2009 19:46:16 +0000 (UTC) (envelope-from john.thorup.dk@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 8EB938FC13 for ; Tue, 16 Jun 2009 19:46:16 +0000 (UTC) (envelope-from john.thorup.dk@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1601521wfg.7 for ; Tue, 16 Jun 2009 12:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=OcChSOOnPBqJlepFePNMzMT5h/F5Q+lXJ9tGTrOAlzQ=; b=JzJoNRq0OTJL9hf19CQLpoKrGee/PdsxLdd7TkMElZw/PJz8QLnzaxXpY0T7Vgl3Il JvVFU5bt+Y0aRugjtjilKFLeC596CLML0+ye4pqO9OQhBfQBT9wFoZpbEm3L2ZlvvQ3g YVIEEpoxY7oMQw03LUGTLBAbTsTWWzWygvt5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cMZn91CUqNksz8MlsuXhjAmsYsee4TF1qHfNdIqOFlQ5gllJNHXS5g3ery6QcMtLsl E9Wqccozd+5IE8EQ0Ic/b+KiJeyy8q+G24VEqRsK+q7loS7iw0QZlfp1az8hzZb8Qqn7 KeYlwuPkCzciq/+7/GArIWVYvowbFDqscNb1Q= MIME-Version: 1.0 Received: by 10.142.215.4 with SMTP id n4mr4552361wfg.3.1245181576008; Tue, 16 Jun 2009 12:46:16 -0700 (PDT) In-Reply-To: <606994910906141339r47815ae3j796e41fb44f0274a@mail.gmail.com> References: <606994910906141339r47815ae3j796e41fb44f0274a@mail.gmail.com> Date: Tue, 16 Jun 2009 21:46:15 +0200 Message-ID: <606994910906161246y6fa35434x59efd9edc49d4fdc@mail.gmail.com> From: John Thorup To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Network interface dc0 fails to negotiate media type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:46:17 -0000 Content of /etc/rc.conf # -- sysinstall generated deltas -- # Mon May 4 22:51:52 2009 # Created: Mon May 4 22:51:52 2009 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. ifconfig_dc0=3D"dhcp" hostname=3D"dhcppc0.thorup" inetd_enable=3D"NO" keymap=3D"danish.iso" linux_enable=3D"YES" sshd_enable=3D"YES" #Open Sound System oss_enable=3D"YES" #Manually added for X11 #hald and dbus is started by gnome_enable dbus_enable=3D"YES" gdm_lang=3D"da_DK.UTF-8" gnome_enable=3D"YES" fusefs_enable=3D"YES" #devfs_system_ruleset=3D"localrules" dhcppc0# I have noticed a difference in the syslogs dmesg.today and messages; see the 4.th line from the cutting from both. Why are they different ? >From dmesg.today dc0: port 0x5000-0x50ff mem 0xf0201000-0xf02013ff irq 23 at device 4.0 on pci11 miibus0: on dc0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:30:05:d4:25:c7 dc0: [ITHREAD] >From messages Jun 16 20:33:01 dhcppc0 kernel: dc0: port 0x5000-0x50ff mem 0xf0201000-0xf02013ff irq 23 at device 4.0 on pci11 Jun 16 20:33:01 dhcppc0 kernel: miibus0: on dc0 Jun 16 20:33:01 dhcppc0 kernel: ukphy0: PHY 1 on miibus0 Jun 16 20:33:01 dhcppc0 kernel: ukphy0: 10baseT-FDX, auto Jun 16 20:33:01 dhcppc0 kernel: dc0: Ethernet address: 00:30:05:d4:25:c7 Jun 16 20:33:01 dhcppc0 kernel: dc0: [ITHREAD] ---------- Forwarded message ---------- From: John Thorup Date: 2009/6/14 Subject: Network interface dc0 fails to negotiate media type To: freebsd-questions@freebsd.org I have installed FreeBSD 7.2-RELEASE i386 on a Fujitsu Siemens Scaleo T P 340 0 1,0G PC (mainboard name D1826-G). $ uname -a FreeBSD dhcppc0.thorup 7.2-RELEASE FreeBSD 7.2-RELEASE #0: =A0Fri May =A01 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC =A0i386 $ I will mention that I have csup'ed and updated my ports the 31.th May. Some time after that the network (interface dc0) suddenly stopped working. First I saw it was not possible to get an IP address from my router. I thought initially that it was the network cable or router, that caused the problem but the PC can still boot up with Win XP without any network connectivity problems. I can see that there must be problems with the negotiation of media type and options from: $ ifconfig -m dc0 dc0: flags=3D8847 metric 0 mt= u 1500 =A0 =A0 =A0 =A0options=3D8 =A0 =A0 =A0 =A0capabilities=3D8 =A0 =A0 =A0 =A0ether 00:30:05:d4:25:c7 =A0 =A0 =A0 =A0inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 =A0 =A0 =A0 =A0media: Ethernet autoselect (none) =A0 =A0 =A0 =A0status: active =A0 =A0 =A0 =A0supported media: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0media autoselect =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0media 10baseT/UTP mediaopt full-duplex =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0media none $ The strange thing is that the normal selection "media 100baseTX mediaopt full-duplex" (before this error) are not on the list of supported meadia. When I boot up in Win XP, the negotiation ends up with 100baseTX / full-dup= lex. If I try to configure "sudo ifconfig dc0 media 100baseTX mediaopt full-duplex", I receive the answer "ifconfig: SIOCSIFMEDIA (media): Device not configured". If I try to configure "sudo ifconfig dc0 media 10baseT/UTP mediaopt full-duplex", the command changes the settings. I have been studying the FreeBSD man pages, reading the Handbook, searching the mailing lists and searching the internet without finding something that did could help me. Can you at freebsd-questions@freebsd.org help me, so that I can get my network up and running again. dmesg output and sysctl's of interest: $ dmesg Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 =A0 =A0 =A0 =A0The Regents of the University of California. All rights rese= rved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May =A01 08:49:13 UTC 2009 =A0 =A0root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3401.05-MHz 686-class CPU) =A0Origin =3D "GenuineIntel" =A0Id =3D 0xf34 =A0Stepping =3D 4 =A0Features=3D0xbfebfbff =A0Features2=3D0x441d =A0Logical CPUs per core: 2 real memory =A0=3D 1072627712 (1022 MB) avail memory =3D 1035931648 (987 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs =A0cpu0 (BSP): APIC ID: =A00 =A0cpu1 (AP/HT): APIC ID: =A01 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf008-0xf00b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x4000-0x40ff mem 0xe0000000-0xefffffff,0xf0100000-0xf010ffff irq 16 at device 0.0 on pci1 vgapci1: mem 0xf0110000-0xf011ffff at device 0.1 on pci1 pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci3: on pcib2 pcib3: irq 16 at device 28.1 on pci0 pci5: on pcib3 pcib4: irq 18 at device 28.2 on pci0 pci7: on pcib4 pcib5: irq 19 at device 28.3 on pci0 pci9: on pcib5 uhci0: port 0x2000-0x201f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x2400-0x241f irq 22 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x2800-0x281f irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x2c00-0x2c1f irq 20 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf0004000-0xf00043ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered ugen0: on uhub4 pcib6: at device 30.0 on pci0 pci11: on pcib6 dc0: port 0x5000-0x50ff =A0 =A0 =A0 =A0 =A0 =A0 =A0 mem 0xf0201000-0xf02013ff irq 23 at device 4.0 = on pci11 miibus0: on dc0 ukphy0: PHY 1 on miibus0 ukphy0: =A010baseT-FDX, auto dc0: Ethernet address: 00:30:05:d4:25:c7 dc0: [ITHREAD] fwohci0: mem 0xf0200000-0xf0200fff irq 20 at device 6.0 on pci11 fwohci0: [FILTER] fwohci0: OHCI version 1.0 (ROM=3D1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:30:05:b3:50:01:dd:d6 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:30:05:01:dd:d6 fwe0: Ethernet address: 02:30:05:01:dd:d6 fwip0: on firewire0 fwip0: Firewire address: 00:30:05:b3:50:01:dd:d6 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x108c000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=3D0xc800ffc0, gen=3D2, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3400-0x340f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x3430-0x3437,0x3424-0x3427,0x3428-0x342f,0x3420-0x3423,0x3410-0x341f mem 0xf0004400-0xf00047ff irq 19 at device 31.2 on pci0 atapci1: [ITHREAD] atapci1: AHCI Version 01.00 controller with 4 ports detected ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: port not implemented ata3: [ITHREAD] ata4: on atapci1 ata4: port not implemented ata4: [ITHREAD] ata5: on atapci1 ata5: port not implemented ata5: [ITHREAD] pci0: at device 31.3 (no driver attached) fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xcd000-0xcdfff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub2 ums0: 16 buttons and Z dir. Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) acd0: DVDROM at ata0-master UDMA33 acd1: DVDR at ata0-slave UDMA33 ad4: 238475MB at ata2-master SATA150 GEOM_LABEL: Label for provider ad4s1 is ntfs/WINDOWS-XP. GEOM_LABEL: Label for provider ad4s2 is ext2fs/UBUNTU. GEOM_LABEL: Label for provider ad4s3a is ufsid/49ff54332ba6db2e. GEOM_LABEL: Label for provider ad4s3d is ufsid/49ff543456dba19f. GEOM_LABEL: Label for provider ad4s3e is ufsid/49ff5433f58989ab. GEOM_LABEL: Label for provider ad4s3f is ufsid/49ff54339167a9fa. GEOM_LABEL: Label for provider ad4s5 is ntfs/DATA. acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 (probe7:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe7:ata0:0:0:0): CAM Status: SCSI Status Error (probe7:ata0:0:0:0): SCSI Status: Check Condition (probe7:ata0:0:0:0): NOT READY asc:3a,0 (probe7:ata0:0:0:0): Medium not present (probe7:ata0:0:0:0): Unretryable error (probe8:ata0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe8:ata0:0:1:0): CAM Status: SCSI Status Error (probe8:ata0:0:1:0): SCSI Status: Check Condition (probe8:ata0:0:1:0): NOT READY asc:3a,0 (probe8:ata0:0:1:0): Medium not present sks:0x80,0xffff (probe8:ata0:0:1:0): Unretryable error SMP: AP CPU #1 Launched! cd0 at ata0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata0 bus 0 target 1 lun 0 cd1: <_NEC DVD_RW ND-2510A 2.96> Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s3a GEOM_LABEL: Label ufsid/49ff54332ba6db2e removed. GEOM_LABEL: Label for provider ad4s3a is ufsid/49ff54332ba6db2e. GEOM_LABEL: Label ufsid/49ff5433f58989ab removed. GEOM_LABEL: Label for provider ad4s3e is ufsid/49ff5433f58989ab. GEOM_LABEL: Label ufsid/49ff54339167a9fa removed. GEOM_LABEL: Label for provider ad4s3f is ufsid/49ff54339167a9fa. GEOM_LABEL: Label ufsid/49ff543456dba19f removed. GEOM_LABEL: Label for provider ad4s3d is ufsid/49ff543456dba19f. GEOM_LABEL: Label ufsid/49ff54332ba6db2e removed. ukbd0: on uhub2 kbd2 at ukbd0 uhid0: on uhub2 GEOM_LABEL: Label ufsid/49ff5433f58989ab removed. GEOM_LABEL: Label ufsid/49ff54339167a9fa removed. GEOM_LABEL: Label ufsid/49ff543456dba19f removed. fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 GEOM_LABEL: Label ntfs/WINDOWS-XP removed. GEOM_LABEL: Label ntfs/DATA removed. oss_hdaudio0: [ITHREAD] oss_hdaudio0: mem 0xf0000000-0xf0003fff irq 16 at device 27.0 on pci0 osscore: mmap() not possible with currently selected sample format. $ $ sysctl -a | grep dev.dc.0 dev.dc.0.%desc: ADMtek AN985 10/100BaseTX dev.dc.0.%driver: dc dev.dc.0.%location: slot=3D4 function=3D0 dev.dc.0.%pnpinfo: vendor=3D0x1317 device=3D0x0985 =A0 =A0 =A0 =A0 =A0 =A0 =A0 subvendor=3D0x1734 subdevice=3D0x100c class=3D0= x020000 dev.dc.0.%parent: pci11 $ sysctl -a | grep miibus dev.miibus.0.%desc: MII bus dev.miibus.0.%driver: miibus dev.miibus.0.%parent: dc0 dev.ukphy.0.%parent: miibus0 $ sysctl -a | grep ukphy dev.ukphy.0.%desc: Generic IEEE 802.3u media interface dev.ukphy.0.%driver: ukphy dev.ukphy.0.%location: phyno=3D1 dev.ukphy.0.%pnpinfo: oui=3D0x67f83 model=3D0xe rev=3D0xc dev.ukphy.0.%parent: miibus0 $ ---- John Thorup Aarhus, Denmark E-mail: john.thorup.dk at gmail.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 19:50:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C754A106566C for ; Tue, 16 Jun 2009 19:50:53 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from dns.msk.asap.bg (dns.msk.asap.bg [78.90.206.101]) by mx1.freebsd.org (Postfix) with ESMTP id 83B528FC16 for ; Tue, 16 Jun 2009 19:50:53 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from [10.30.1.106] (unknown [95.87.202.193]) by dns.msk.asap.bg (Postfix) with ESMTP id CD18939836 for ; Tue, 16 Jun 2009 22:50:55 +0300 (EEST) Message-ID: <4A37F78D.4040302@aboutsupport.com> Date: Tue, 16 Jun 2009 22:50:37 +0300 From: Peter User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <4A37F434.6090707@aboutsupport.com> <20090616153948.dd35087d.wmoran@potentialtech.com> In-Reply-To: <20090616153948.dd35087d.wmoran@potentialtech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 19:50:54 -0000 Bill Moran wrote: > fsck_y_enable="YES" in /etc/rc.conf > > See the man page for details. > Thanks :-) Peter From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 20:04:49 2009 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 C14A01065695 for ; Tue, 16 Jun 2009 20:04:49 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 46BF98FC08 for ; Tue, 16 Jun 2009 20:04:49 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5GK4k0t008110; Tue, 16 Jun 2009 23:04:47 +0300 Message-ID: <4A37FADE.4090200@otenet.gr> Date: Tue, 16 Jun 2009 23:04:46 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Chris Whitehouse References: <4A37380F.8020505@gmail.com> <4A37F503.7070207@onetel.com> In-Reply-To: <4A37F503.7070207@onetel.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 20:04:51 -0000 Chris Whitehouse wrote: > Manolis Kiagias wrote: > Hey all, > > This is a continuation of the effort that started with this post: > > http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/198284.html > > This little project also found its way to Distrowatch Weekly news > (Thanks!): > > http://distrowatch.com/weekly.php?issue=20090615#news > > > Congratulations! > Thanks! > Since there was an update of the base system to 7.2-RELEASE-p1 a few > days ago, it was a good chance to update this ISO and also include > some newer packages. > > The new ISO may be downloaded from here (space and bandwidth courtesy > of Glen Barber): > > http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/7.2-RELEASE-p1-i386-disc1.iso > > > Are you updating the name with each new iso? I've included the -p1 in this release. I haven't come up with a naming scheme yet but will do when I decide the intervals between releases. > > I will start preparing a server ISO (CD sized) soon. I also welcome > all ideas on what to include/exclude in later versions of this DVD. > It has been suggested to include openoffice packages as abiword / > gnumeric don't cut it for many people. This will increase the size of > the download, although hopefully not dramatically as most dependencies > are probably already included. I am all open to ideas, so please email > me your suggestions and comments. > > > I would vote for including openoffice, it takes much longer to > compile than to download, or maybe make the package and any > dependencies that are not already included available as a separate > tarball. The tarball idea is good and probably most dependencies are already in the iso, so it won't be huge. I'll investigate this, thanks! > > > Any chance of x11-wm/icewm and maybe x11/idesk? icewm with config option > > BEASTIE :) > Probably create a "small WM collection CD" with the likes of wmaker, afterstep, icewm, blackbox etc. Need to find the more popular ones. > > I've been between hardware for a while but I can offer some compile > time if needed. > > > Chris Compiling is not a problem, I've got a separate system for it. But can only do i386 releases - don't have suitable 64bit hardware. If you do, mail me and we can arrange something. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 21:02:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01BBA1065679 for ; Tue, 16 Jun 2009 21:02:56 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id C9C918FC13 for ; Tue, 16 Jun 2009 21:02:55 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 5CC3236084D; Tue, 16 Jun 2009 17:02:55 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 16 Jun 2009 17:02:55 -0400 X-Sasl-enc: 3fP0E5F7tg59dq+OfCM9XuNFmki+39nP32AMpVRegfRV 1245186175 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id C3DCE16976; Tue, 16 Jun 2009 17:02:54 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Gary Kline In-Reply-To: <20090616153040.GA40540@thought.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 16 Jun 2009 16:02:52 -0500 References: <20090616012114.GA38011@thought.org> <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090616153040.GA40540@thought.org> X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD Questions Subject: Re: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 21:02:56 -0000 On Jun 16, 2009, at 10:30 AM, Gary Kline wrote: > I thought my initial getchar() != EOF would handle that. > But then there's that do-forever loop. As I said, the most common problem people had was failing to check of EOF in all the places it could occur, and so looping forever. Do not rely on the input being well formed. > I remember Jeffrey's > post and tried a case 'EOF' or case '-1'; thar gives me > compiler errors. Look at the man page for getchar() paying close attention to the type of what it returns. >> You should really take the pointers from Jeffrey Goldberg and >> record states >> and decide based on the state, rather then inlined switch >> statements, if only >> for readability. Even for a very simple task, the logic of your code is very very hard to read. Clarify the logic (using the idea of a "state") and you will find that this can be programmed very simply. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 21:27:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC8E2106566C for ; Tue, 16 Jun 2009 21:27:26 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) by mx1.freebsd.org (Postfix) with ESMTP id 970138FC0A for ; Tue, 16 Jun 2009 21:27:26 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from [192.168.2.161] (soundwave.ws.pitbpa0.priv.collaborativefusion.com [192.168.2.161]) by relay.admin.pitbpa0.priv.collaborativefusion.com with esmtp; Tue, 16 Jun 2009 17:17:24 -0400 id 00017238.000000004A380BE4.0001022E From: "Brian A. Seklecki" To: Peter In-Reply-To: <4A37F434.6090707@aboutsupport.com> References: <4A37F434.6090707@aboutsupport.com> Organization: Collaborative Fusion, Inc. Date: Tue, 16 Jun 2009 17:17:24 -0400 Message-Id: <1245187044.4754.4983.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_skyhopper-66094-1245187044-0001-2" X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Cc: "freebsd-questions@freebsd.org" Subject: Re: fsck 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: Tue, 16 Jun 2009 21:27:27 -0000 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_skyhopper-66094-1245187044-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-06-16 at 22:36 +0300, Peter wrote: > When power goes down and file system gets corrupted and system becomes > unbootable I need to login to the machine via console and run APC upsd(8) can auto-run 'shutdown -hp now' for you when your UPS is almost discharged. Then you an set your ACPI settings to default to power on state when power is restored. You can get a APC Backups 350 for ~ $50 retail. --=20 Brian A. Seklecki Collaborative Fusion, Inc. --=_skyhopper-66094-1245187044-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAko4C+QACgkQCne6BNDQ+R8pVQCfU218g7eRatEqVlIjJqN5EsEc xZIAn16JJbNw4UQRi6ku+wMYqpmNQ7rr =YbRP -----END PGP SIGNATURE----- --=_skyhopper-66094-1245187044-0001-2-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 21:44:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 486C5106564A for ; Tue, 16 Jun 2009 21:44: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 738F88FC16 for ; Tue, 16 Jun 2009 21:44: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 n5GLiDLD030570; Tue, 16 Jun 2009 23:44:13 +0200 (CEST) (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 n5GLiD9D030567; Tue, 16 Jun 2009 23:44:13 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 16 Jun 2009 23:44:13 +0200 (CEST) From: Wojciech Puchar To: Peter In-Reply-To: <4A37F434.6090707@aboutsupport.com> Message-ID: References: <4A37F434.6090707@aboutsupport.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" Subject: Re: fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 21:44:24 -0000 fsck_y_enable="YES" From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 23:04:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7771B106566B for ; Tue, 16 Jun 2009 23:04:33 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp1.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id 567EC8FC23 for ; Tue, 16 Jun 2009 23:04:33 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: (qmail 1632 invoked from network); 16 Jun 2009 16:22:50 -0700 Received: by simscan 1.1.0 ppid: 1608, pid: 1614, t: 2.4342s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp1.surewest.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=10.0 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=jDt-9pEAAAAA:8 a=h5ktZYGZ3q7tVKMOsykA:9 a=u6Vq7mp9Z3cWeLpPgSAA:7 a=mCCJXh16My5GrWcNCWHR8JcUFjMA:4 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp1 with SMTP; 16 Jun 2009 16:22:48 -0700 Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 4A308164E80 for ; Tue, 16 Jun 2009 16:04:20 -0700 (PDT) Message-ID: <4A3824EA.4080906@mykitchentable.net> Date: Tue, 16 Jun 2009 16:04:10 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090616-0, 06/16/2009), Outbound message X-Antivirus-Status: Clean Subject: OpenSSL Base vs. OpenSSL Port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 23:04:33 -0000 I had been running 6.2 with openssl base for quite a while. Then I attempted to implement the dkim-filter port which required using openssl to generate keys. That's when I noticed that openssl is broken on my machine. See this example: # openssl genrsa -out rsa.private 1024 Error configuring OpenSSL 28086:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd name:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_ctrl.c:318: 28086:error:0E07406D:configuration file routines:CONF_modules_load:module initialization error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_mod.c:234:module=engines, value=openssl_engines, retcode=-1 So I thought rebuilding world might fix it and while I was at it, I upgraded to 6.4 but still have the same problem. Next I tried installing openssl from ports. This openssl seems to work: # /usr/local/bin/openssl genrsa -out rsa.private 1024 Generating RSA private key, 1024 bit long modulus ..............................................................++++++ ..............++++++ e is 65537 (0x10001) But now I am unclear as to what state my system is in. What is the preferred method for using openssl from ports vs. using openssl base. I don't really care which I use but want to avoid trouble with multiple versions of openssl and/or ports compiled against the wrong version. I've been Googling all day but can not find a clear guide. Specifically, what should I have in my /etc/make.conf and what portupgrade command should I use to ensure things are build against the correct openssl? I've seen things like OPENSSL_OVERWRITE_BASE=yes, NO_OPENSSL=yes, WITH_OPENSSL_PORT=yes, WITH_OPENSSL_BETA=yes, and portupgrade -rf openssl but remain confused. Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 23:26:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EDE9106566B for ; Tue, 16 Jun 2009 23:26:36 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from fear.mtmary.edu (fear.mtmary.edu [74.62.87.82]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB9F8FC14 for ; Tue, 16 Jun 2009 23:26:36 +0000 (UTC) (envelope-from clarkp@mtmary.edu) Received: from [127.0.0.1] (war.mtmary.edu [172.16.0.200]) by fear.mtmary.edu (Postfix) with ESMTP id 49F6D6187E3 for ; Tue, 16 Jun 2009 18:26:35 -0500 (CDT) Message-ID: <4A382A27.2010108@mtmary.edu> Date: Tue, 16 Jun 2009 18:26:31 -0500 From: Peter Clark User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A3159B3.5090009@mtmary.edu> <4A316C54.3040409@otenet.gr> <44zlcephis.fsf@be-well.ilk.org> In-Reply-To: <44zlcephis.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Crusty upgrade (was Make 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, 16 Jun 2009 23:26:36 -0000 Lowell Gilbert wrote: > Manolis Kiagias writes: > >>> I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I >>> realize that the short answer to my question is more than likely to >>> upgrade the OS to a current release and I would if I had that option >>> right now, but I do not. I needed to upgrade the perl/openssh/openssl >>> implementation on this box. My first thought was to use the port on >>> the machine that was from that era but make fails. So then I thought >>> to csup the ports tree and try with a new version, that fails as well. >>> The error is as follows: >>> >> 5.1 (in fact all 5.X) has reached EOL. The latest ports tree won't >> compile stuff for 5.X. Use the following line in your ports-supfile to >> get the last ports tree that was supported in 5.X: >> >> *default release=cvs tag=RELEASE_5_EOL >> >> instead of >> >> *default release=cvs tag=. >> >> Still, since this is going to be really old you may still have problems >> (missing distfiles and so on). But is worth trying if you must stay with >> 5.X for whatever reason. > > One thing it won't do is get you any of the bug fixes to the ssh port. > As a number of people have pointed out this is turning into a bigger headache than it needs to be. The good thing is that allowed me to get the ok to upgrade the system. This box will be taken out of service in the near future but I do need it to remain functional for a couple months. Is there a recommended upgrade path? I know about cvsup and whatnot. What I mean is are there some blatant gotchas when making this big a jump (5.1p18 -> 6.4)? Are there some recommended stops along the way or can it be done in one fell swoop. Is Colin Percival's freebsd-update.sh a viable way to approach this? http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html This is a production box so I want to cover my bases before I jump into this. Peter From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 23:32:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1FDB106566B for ; Tue, 16 Jun 2009 23:32:46 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id B054D8FC12 for ; Tue, 16 Jun 2009 23:32:46 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 3EC6C361383; Tue, 16 Jun 2009 19:32:46 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 16 Jun 2009 19:32:46 -0400 X-Sasl-enc: F74gpKBQbrTK6B1e/5EPGBZwvTnhoVSP9PI41MyQfsYn 1245195165 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 77A3D2E09C; Tue, 16 Jun 2009 19:32:45 -0400 (EDT) Message-Id: <57E07CDA-AA9E-4A8F-91BC-3BF90177CA3A@goldmark.org> From: Jeffrey Goldberg To: Gary Kline In-Reply-To: <20090616170244.GA40934@thought.org> Content-Type: multipart/mixed; boundary=Apple-Mail-1486-599991389 Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 16 Jun 2009 18:32:43 -0500 References: <20090616012114.GA38011@thought.org> <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090616153040.GA40540@thought.org> <20090616170244.GA40934@thought.org> X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD Questions Subject: Re: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 16 Jun 2009 23:32:47 -0000 --Apple-Mail-1486-599991389 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jun 16, 2009, at 12:02 PM, Gary Kline wrote: > this works, but still gives a warning. it's sloppy coding, but > as a second version... You've got some superfluous tests for EOF in some places, and you may also be missing some. Your approach has been to "look ahead" with an extra getc() when you come across an interesting character. I recommended that instead of doing that you keep a variable "state" to keep track of where you are (and have very recently been) instead of looking ahead. I haven't tried your code, but I suspect that it behaves incorrectly with input (1) that has a '<' as a final character (2) that includes things like "<<<" There is a systematic (if a bit tedious) way to make sure that you check every condition. When you've worked enough on this, you can peek at an answer which I've attached. (For the rest of you, I know that it would be more efficient to make the big switch on state instead of on input character, but for pedagogical reasons I did it the other way around. I deliberately avoided other available tunings). The extensive comments in the code should make it clear what is going on. Once you understand the concepts here it should be very easy to write code to do similar things in the future. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ --Apple-Mail-1486-599991389 Content-Disposition: attachment; filename=gkline.c Content-Type: application/octet-stream; x-unix-mode=0644; name="gkline.c" Content-Transfer-Encoding: 7bit /* simple code to parse out stuff between inclusively * does not need to nest. exits with 0 if end of input occurs outside of * the PHP stuff, and with 1 otherwise * * Copyright 2009 Jeffrey Goldberg * free to use and distribute under the BSD license */ /* Speicial cases need to be considered: * (1) input ends with "<" as the last character * (2) Input contains "<<<" * and many more * * Overall strategy is to recognize that we are interested in five * types of characters and four different "states" * The character types are * 1. "<" * 2. "?" * 3. ">" * 4. "EOF" (yes, it's not a character, but let me call it that) * 5. any other character * * The states are for keeping track of what we have found already, * there are 4 of them * * (1) Outside PHP with nothing special going on * (2) We were outside PHP but found a '<' * (3) We are inside the PHP * (4) We are inside the PHP and have found a '?' * * It's easy to forget, but important to remember, that in each state * we might encounter any character. This gives us 5 X 4 different * combinations, which each require their own behavior. The way to * make sure that you take care of all 20 possibilities is to * explicitly spell them out. */ #include #include /* define the various values for state * We could use "enum state {...}", but I'm old fashioned. */ #define OUTSIDE (1) // in normal text #define AFTER_LT (2) // found "<" looking for "? #define INSIDE (3) // between #define AFTER_Q (4) // was INSIDE and after "?" int main(void) { int c; // because of EOF we need to make this an integer unsigned char state; state = OUTSIDE; /* set starting state */ while( (c=getchar()) ) switch (c) { case '<': if (state == OUTSIDE) state = AFTER_LT; else if (state == AFTER_LT) putchar('<'); // print previous '<' else if (state == INSIDE) ; /* stay in state, don't print */ else if (state == AFTER_Q) state = INSIDE; break; case '?': if (state == AFTER_LT) state = INSIDE; else if (state == INSIDE) state = AFTER_Q; else if (state == AFTER_Q) ; /* stay in same state, don't print */ else if (state == OUTSIDE) putchar(c); /* and stay in same state */ break; case '>': if (state == AFTER_Q) state = OUTSIDE; else if (state == AFTER_LT) { putchar('<'); putchar(c); state = OUTSIDE; } else if (state == INSIDE) ; /* same state, don't print */ else if (state == OUTSIDE) putchar(c); break; case EOF: if (state == OUTSIDE) exit(0); else if (state == AFTER_LT) { putchar('<'); exit(0); } else exit(1); default: /* for normal characters */ if (state == OUTSIDE) putchar(c); else if (state == INSIDE) ; /* same state, don't print */ else if (state == AFTER_LT) { putchar('<'); putchar(c); state = OUTSIDE; } else if (state == AFTER_Q) state = INSIDE; } exit(3); /* this should never be reached, but it eliminates a gcc warning */ } --Apple-Mail-1486-599991389 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-1486-599991389-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 23:58:19 2009 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 3E6F41065672 for ; Tue, 16 Jun 2009 23:58:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id C53CD8FC13 for ; Tue, 16 Jun 2009 23:58:18 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm25 with SMTP id 25so1187274fxm.43 for ; Tue, 16 Jun 2009 16:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Afjkpc31zRswuIUDdylya7BK19ACiedXDiEmZ/N1cGo=; b=SKQ/ta14xmTOpfyMYYBOfVuh3JfOodnxqOpK0ShQa35jrUCLtZWs/GDfdRGQjJcKNX Xd6QrmgwaJ2SbbF4mQId5GmZSTzbcPYQvKqqvCI+0M0sUWycScNvjhTrL4VC8YtJFdwl lSjXxhfu0BIywWeZEpFYbiokUS252ouwU05MI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=kZsoswPbePkK2QLFBjzCNFM02oLhu4d+jIcTH56NrttEjSFqJf3mUWOZ8aFD0qVL/L Svu8te6LMPZfhdArkzdm2SLafk+nNPARCNJVILdOz4mjGYYqgDPc0DbRQfhlT+VpycyI XhgW8eU7iwZEK0F0Kl2VeIUGuTRK7dToy6XYE= MIME-Version: 1.0 Received: by 10.204.63.193 with SMTP id c1mr8804208bki.20.1245196696961; Tue, 16 Jun 2009 16:58:16 -0700 (PDT) Date: Tue, 16 Jun 2009 19:58:16 -0400 Message-ID: <4ad871310906161658o703b1c5v8f413f3dd03498d9@mail.gmail.com> From: Glen Barber To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: VirtualBox Package Available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 23:58:19 -0000 Hello, folks Since the recent availability in the ports tree of VirtualBox on a FreeBSD host I have made a binary installer available. The package was built on a 7-STABLE machine with the only kernel modifications being KDB and GDB: FreeBSD orion 7.2-STABLE FreeBSD 7.2-STABLE #3 r193905: Wed Jun 10 08:42:33 EDT 2009 root@orion:/usr/obj/usr/src/sys/ORION i386 Feel free to download, use, criticize, but hopefully enjoy. :) You can install by doing the following: setenv PACKAGESITE http://freebsd.dev-urandom.com/packages/VirtualBox/ pkg_add -r http://freebsd.dev-urandom.com/packages/VirtualBox/virtualbox-2.2.51.r20457_2.tbz Of course, if there are any installation problems, please let me know. Cheers. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 00:28:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A534E106566C for ; Wed, 17 Jun 2009 00:28:11 +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 642568FC15 for ; Wed, 17 Jun 2009 00:28:11 +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; 16 Jun 2009 20:28:10 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.5-GA) with ESMTP id PZB17173; Tue, 16 Jun 2009 20:28:09 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 16 Jun 2009 20:28:09 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19000.14488.566751.617255@jerusalem.litteratus.org> Date: Tue, 16 Jun 2009 20:28:08 -0400 To: Peter Clark In-Reply-To: <4A382A27.2010108@mtmary.edu> References: <4A3159B3.5090009@mtmary.edu> <4A316C54.3040409@otenet.gr> <44zlcephis.fsf@be-well.ilk.org> <4A382A27.2010108@mtmary.edu> 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: freebsd-questions@freebsd.org Subject: Crusty upgrade (was Make 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, 17 Jun 2009 00:28:11 -0000 Peter Clark writes: > Is there a recommended upgrade path? I know about cvsup and whatnot. > What I mean is are there some blatant gotchas when making this big a > jump (5.1p18 -> 6.4)? Are there some recommended stops along the way or > can it be done in one fell swoop. Is Colin Percival's freebsd-update.sh > a viable way to approach this? I do not know if freebsd-update works on 5.x. Even if it were possible, I strongly recommend installing from scratch when crossing a ",0" boundary and am not alone in that opinion. It provides the opportunity to resize partitions; there is less likelihood of a library mismatch, and you will recover the space used by any orphaned files. (My personal practice is to install to a new disk, and mount the old disk read-only until I'm willing to bet there's nothing more I need.) Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 00:54:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBE1A1065714 for ; Wed, 17 Jun 2009 00:54:41 +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 810188FC20 for ; Wed, 17 Jun 2009 00:54:41 +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 n5H0sabk029765; Tue, 16 Jun 2009 17:54:37 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 16 Jun 2009 17:54:36 -0700 (PDT) Date: Tue, 16 Jun 2009 17:54:36 -0700 From: Gary Kline To: Jeffrey Goldberg Message-ID: <20090617005435.GA42176@thought.org> References: <20090616012114.GA38011@thought.org> <200906151857.45945.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090616153040.GA40540@thought.org> <20090616170244.GA40934@thought.org> <57E07CDA-AA9E-4A8F-91BC-3BF90177CA3A@goldmark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57E07CDA-AA9E-4A8F-91BC-3BF90177CA3A@goldmark.org> 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 Subject: Re: feedback, comments on this php-delimiter scrubbing program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 00:54:42 -0000 On Tue, Jun 16, 2009 at 06:32:43PM -0500, Jeffrey Goldberg wrote: > On Jun 16, 2009, at 12:02 PM, Gary Kline wrote: > > > this works, but still gives a warning. it's sloppy coding, but > > as a second version... > > You've got some superfluous tests for EOF in some places, and you may > also be missing some. > > Your approach has been to "look ahead" with an extra getc() when you > come across an interesting character. I recommended that instead of > doing that you keep a variable "state" to keep track of where you are > (and have very recently been) instead of looking ahead. > > I haven't tried your code, but I suspect that it behaves incorrectly > with input > > (1) that has a '<' as a final character > (2) that includes things like "<<< (3) that includes things like "??>" > this is exactly why i asked here. i've removed at least one of the EOF checks and will rewrite in my usual style of while ((ch = getc(fp)) != EOF) { } as my next cut. yes, i shamelessly cribbed this code from else. it originally deleted both C and C++ comments. i think it was written in C# that i'm unfamiliar with. i'm most familiar with lokahead, not that familar with the STATE method. when you have time could you say a few more words? or point me at a url? ...i'm all but certain this kind of function has been invented and re-invented dozens of times. > There is a systematic (if a bit tedious) way to make sure that you > check every condition. When you've worked enough on this, you can > peek at an answer which I've attached. you're right above with numbers two and three. pretty sure that the first one passes. gary > > (For the rest of you, I know that it would be more efficient to make > the big switch on state instead of on input character, but for > pedagogical reasons I did it the other way around. I deliberately > avoided other available tunings). > > The extensive comments in the code should make it clear what is going > on. Once you understand the concepts here it should be very easy to > write code to do similar things in the future. > > -j > > > > -- > Jeffrey Goldberg http://www.goldmark.org/jeff/ > > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 02:04:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0278106566B for ; Wed, 17 Jun 2009 02:04:30 +0000 (UTC) (envelope-from engage@ideasforchange.tv) Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by mx1.freebsd.org (Postfix) with ESMTP id 256728FC14 for ; Wed, 17 Jun 2009 02:04:29 +0000 (UTC) (envelope-from engage@ideasforchange.tv) X-SMTPAUTH: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYQANPpN0rDNmV6hWdsb2JhbACCJS6EHJFnAQEBCgsKBRW5O4QLBQ X-IronPort-AV: E=Sophos;i="4.42,233,1243807200"; d="scan'208,217";a="21571817" Received: from ironport2.bredband.com ([195.54.101.122]) by iph1.telenor.se with ESMTP; 17 Jun 2009 03:52:55 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsL6AOLoN0pV5X7VPGdsb2JhbACGb5IY X-IronPort-AV: E=Sophos;i="4.42,233,1243807200"; d="scan'208,217";a="502995205" Received: from c-d57ee555.016-94-73746f11.cust.bredbandsbolaget.se (HELO [10.0.1.4]) ([85.229.126.213]) by ironport2.bredband.com with SMTP; 17 Jun 2009 03:52:55 +0200 Date: Wed, 17 Jun 2009 03:52:55 +0200 Mime-version: 1.0 From: IdeasForChange.TV To: Message-Id: <617352.LPUFQOWF@ideasforchange.tv> Original-recipient: rfc822;freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The worlds only editorial space for video content on sustainability X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: engage@ideasforchange.tv List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 02:04:31 -0000 Hi Today we are launching our massive effort to create the world's only editor= ial place for content on sustainability. What you see on ideasforchange.tv = is still just a teaser, a demo. We know that the power and knowledge of the grassroots can be really powerf= ul if put in good use. We know that the right information is out there; we = know that videos are made of products, seminars, ideas, interviews, and mee= tings. We know that a lot of spaces, schools, organizations, people and com= panies do a lot of good work already. But we need to join forces. We need a= place to meet, connect, engage and exist. We need to do it together. We ne= ed to join forces to create a more sustainable world. On so many levels lik= e: economy, urbanity, ecology, peace, social issues and way of thinking. We want to start by asking for your help. Your help to build our forces, yo= ur help to gather all information available and to tell your friends. We ne= ed your help with inputs, suggestions and we need you to tell us your needs= on sustainability. Basically we need your help to change the world. Because that's exactly what we are aiming to do. And that's why we are building this global team, webpage and project. To st= art connecting the dots. To become bigger, smarter, and so that our ideas o= n how to make a more sustainable world can become real. Soon! And this time= its done for real. So join our newsletter, send us your video material and inputs, engage your= self and expect the beta site to launch in august. Visit the web site IdeasForChange.TV /Daniel Daboczy Global project manager From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 02:18:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 495F11065670 for ; Wed, 17 Jun 2009 02:18:35 +0000 (UTC) (envelope-from shopacct13@yahoo.com) Received: from n54.bullet.mail.sp1.yahoo.com (n54.bullet.mail.sp1.yahoo.com [98.136.44.32]) by mx1.freebsd.org (Postfix) with SMTP id 0AD908FC16 for ; Wed, 17 Jun 2009 02:18:35 +0000 (UTC) (envelope-from shopacct13@yahoo.com) Received: from [216.252.122.217] by n54.bullet.mail.sp1.yahoo.com with NNFMP; 17 Jun 2009 02:04:48 -0000 Received: from [69.147.84.109] by t2.bullet.sp1.yahoo.com with NNFMP; 17 Jun 2009 02:04:48 -0000 Received: from [127.0.0.1] by omp207.mail.sp1.yahoo.com with NNFMP; 17 Jun 2009 02:04:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 109163.79725.bm@omp207.mail.sp1.yahoo.com Received: (qmail 6818 invoked by uid 60001); 17 Jun 2009 02:04:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245204287; bh=NfvMi+q0J7B9++v3Y4DM5kaTTgr10rKDh1GSLoSZ9G4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=GrW0EHFpTQ+cnZ+Y680oSz/l52k3fHwP2+AOz0F6O4knGx6T4ih1ejkqulfrpUmZmrIrDNMFoGl4VMLyfhGCQebTbVnR0Nu7auwYj0GBt44rgz7GQ7Wk5NXTx3XilASLkTEyTzatTWgPWsLPv7N3mY/CSm0BASrRoqK57PiXg1Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=cuwkqgzikHM5cPcwRmOpc99F0i4xU0lRb7AyqXyLY3AXS4WE7wCscHC4nPe7G6bV4g3HrJfDO/T3I8GMVdQZnPsCqKLOnjdscHnSS+gB3DcazceQ7oCsoeKVVtO/ZmH1Hka3/+k8v0AeBwZHSbMUmFpV4ZHf6pw4gGQA6TLXy1g=; Message-ID: <984490.6805.qm@web43139.mail.sp1.yahoo.com> X-YMail-OSG: SuApEBIVM1ldkZ0HLQumXGDIa.6SENo9t2FwaWu5FY0wYNQg.6vTn.OlcNKfRW6jzLXN1eh0bnQzx.qAp3kL2yUgqoRPz9dkx8KS7bOsEGDWYp_.n1pMGf.gZukYifDuYwmZcM0LJkbuwkCuMllIivB1zzac7HE9Nfa5TxqUlQ8uewBHuBSCY2GiWF9lVrF5Ebda5tz4YGGr5g54KWQnrieu9JqzmCp20KTK6UxmgQ7ZkeocWtmoRtHeHYHcQcbAsx8iDQHI29oYF.9bfgXfJWcslfqDRWOWx36tJK1n5DNaJ17UEPMBtbpUSeaemFsbN8ItgCP0sFHsotS9ryHkJxQHjF_kbnF4r2iPywHzGiQV4Q-- Received: from [76.166.206.37] by web43139.mail.sp1.yahoo.com via HTTP; Tue, 16 Jun 2009 19:04:47 PDT X-Mailer: YahooMailRC/1357.18 YahooMailWebService/0.7.289.15 Date: Tue, 16 Jun 2009 19:04:47 -0700 (PDT) From: SA To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 17 Jun 2009 03:46:11 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd "toaster" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 02:18:36 -0000 Hello, This article by Colin Percival http://www.daemonology.net/freebsd-update/binup.html discusses using freebsd-update as a "toaster" for updating an entire FreeBSD based distribution, instead of just the base system like freebsd-update normally does. Does anyone know where there might be more information on this topic? Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 03:50:52 2009 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 1D063106566B for ; Wed, 17 Jun 2009 03:50:52 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id C7B7F8FC16 for ; Wed, 17 Jun 2009 03:50:51 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so35418qwe.7 for ; Tue, 16 Jun 2009 20:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3DIz+m7S9f+eNz0FXSufCq6i9s21soYPuVfEb6YfR2Y=; b=enSQ9kSDWtOAO9AgLeDFsVJcHkmeQOwJH4hdmppyoHj8S/qcxlSTI5v7t8DucfFhiV lBe+NZ6KExDv8MPCJbGpGdu86qMUXTsgS4IC79znrd7HciNi2/lDHI+xTj7LqENb3g+C xQYZARgSr/aR7QCPsPWxO3AfUOgj/FkQI+LWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dAsTjmM05KLSIUqF5Mu84f4Q2SFOdLb3bSAmput0MyOLfSnr4yxL4s7Pppl8HRAUzk sZoQb+EGTkHwoBEdVQdhZJmzNKmBZeEXdpzUeZ0mBWDEDyF0LuSZOcEt1PLRpVNDgkYj fMsozxvGRCl78j77a8qSeENOELirUVisE4r6g= MIME-Version: 1.0 Received: by 10.229.82.12 with SMTP id z12mr1739765qck.59.1245208737464; Tue, 16 Jun 2009 20:18:57 -0700 (PDT) In-Reply-To: <4A37FADE.4090200@otenet.gr> References: <4A37380F.8020505@gmail.com> <4A37F503.7070207@onetel.com> <4A37FADE.4090200@otenet.gr> Date: Tue, 16 Jun 2009 22:18:53 -0500 Message-ID: <11167f520906162018y74ca648ehac322944b7af4941@mail.gmail.com> From: "Sam Fourman Jr." To: Manolis Kiagias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Chris Whitehouse Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 03:50:52 -0000 >> I will start preparing a server ISO (CD sized) soon. I also welcome >> all ideas on what to include/exclude in later versions of this DVD. >> It has been suggested to include openoffice packages as abiword / >> gnumeric don't cut it for many people. This will increase the size of >> the download, although hopefully not dramatically as most dependencies >> are probably already included. I am all open to ideas, so please email >> me your suggestions and comments. I have not yet tried your CD so I do not know what is already on it. but I always like the following on my installs. Gvim (with Icon) Wireshark iperf filezilla a PDF reader of some sort Sam Fourman Jr. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 03:52:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0501D1065670 for ; Wed, 17 Jun 2009 03:52:56 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57008.mail.re3.yahoo.com (web57008.mail.re3.yahoo.com [66.196.97.112]) by mx1.freebsd.org (Postfix) with SMTP id B7F878FC15 for ; Wed, 17 Jun 2009 03:52:55 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 36136 invoked by uid 60001); 17 Jun 2009 03:52:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245210774; bh=g5DLuHSJ1ILUUQJY8OMuA1mxBovkxs+/FW08sAUE3OU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=o7IrjVwEuqZl7fTIJCpuVcfune9GIQHAYrX5Bmc8512nwgn180bS2VOjpO+DGemNRmcVoclPWM11FWZ3kUoKhIHusEx2aAEcg85Oqbbw3c3iKXiUXvjU4ONPUZaTr5P9/jz7lx5zzyzSpWT83PyOoTReBQ9g7YDlV2l4locq5H4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PxSj5tkGaD9wVkUh+S2umKA1np/QxscLLCeLqYJ/bNnMiSa1TqtquEnGHwgImutl91/OVDkvKyk7ECMcW7qcoEghLlj88eW+RmM+HGjCXbZX+lwiq7i0NQZ/et+VPm2L2aKs5NbpVTA/3GyC1+A4Fh8FdDs9EGWLnmK0hDEtbCE=; Message-ID: <958562.35592.qm@web57008.mail.re3.yahoo.com> X-YMail-OSG: HQyLGogVM1nuQC3E7ioBr2Vfh1elvDRYwJJMhWCPwjAbEn.GKMOwzq1ZRhQetKU3tRmZnNvNRWJcuHi5vf3aGT9Q0J13t6ZznbWjOMOBrz.qFruqNndqJ6Uf9piUfamA9yyVr04qfpX5KzKejHkY9D.U3NAqiYnMqu4tZEpI6MBOTJQ8T2w1XKgYNmbBmzOuNhVa1e4gbEqdPtMwCJLM6WGMWb5ey4dfuE4p24chNHzDZkV32oLJSmh8ICffUr1uSQjls5RjoRzmGPanzjS5QllBthLvvP3vjFliO6iWsKoqwJVTUg-- Received: from [220.255.7.232] by web57008.mail.re3.yahoo.com via HTTP; Tue, 16 Jun 2009 20:52:54 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Tue, 16 Jun 2009 20:52:54 -0700 (PDT) From: Unga To: Tim Judd MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 03:52:56 -0000 --- On Wed, 6/17/09, Tim Judd wrote:=0A=0A> From: Tim Ju= dd =0A> Subject: Re: Cannot login as root, exited on sign= al 11=0A> To: "Unga" =0A> Cc: freebsd-questions@freebsd.= org=0A> Date: Wednesday, June 17, 2009, 2:51 AM=0A> On 6/16/09, Unga =0A> wrote:=0A> >=0A> > --- On Tue, 6/16/09, Tim Judd =0A> wrote:=0A> >=0A> >> From: Tim Judd =0A> >>= Subject: Re: Cannot login as root, exited on=0A> signal 11=0A> >> To: "Ung= a" =0A> >> Cc: freebsd-questions@freebsd.org,=0A> mail25= @bzerk.org=0A> >> Date: Tuesday, June 16, 2009, 10:10 PM=0A> >> su -l disca= rds the previous=0A> >> environment and loads a new environment.=0A> >> It'= s as if you're "logging in" as root (-l)=0A> >>=0A> >> running su without -= l will elevate your=0A> priveledges without=0A> >> this same=0A> >> problem= , you keep the same shell.=A0 Fix your=0A> shell=0A> >> problems via this= =0A> >> way (or single user as originally described), and=0A> be=0A> >> car= eful next=0A> >> time.=0A> >>=0A> >=0A> > Hi Tim, thanks for the reply. I h= ave not identified=0A> yet the problem to be=0A> > solved.=0A> >=0A> > If y= ou refer that I use bash for root is the problem,=0A> there is no differenc= e=0A> > by switching root's shell to sh.=0A> >=0A> > With sh as the shell f= or root:=0A> > 1. Still cannot login as root from the console. Child=0A> pr= ocess died error.=0A> >=0A> > 2. "su -l" doesn't work, child process died e= rror.=0A> >=0A> > 3. su works. But the prompt is [\u@host name]#=0A> > Why = it doesn't print root@host? whoami shows root.=0A> >=0A> > What is the prob= lem you think that I should fix? any=0A> ideas? any thread=0A> > related er= ror as the child process die when in root?=0A> >=0A> > Best regards=0A> > U= nga=0A> >=0A> =0A> =0A> Unga,=0A> =0A> This is the first time I've read fro= m you that you were=0A> using the=0A> recommended shell.=A0 Given you're ru= nning the=0A> recommended shell and=0A> you're still having problems sporad= ically (users =3D ok, root=0A> =3D not),=0A> I'd start the invasive discove= ry why it's not=0A> working.=A0 First is=0A> system-wide:=0A> =A0 is your k= ernel version and userland in sync?=0A> =0A> =A0 Such as RELENG_7 userland = with RELENG_7=0A> kernel?=A0 Running=0A> non-synchronized kernel and userla= nd (aka world) is not=0A> supported* and=0A> will cause problems.=0A> =0A> = =0A> Back to the individualized problem -- if you backup your=0A> root's=0A= > dotfiles, and then remove or rename them, does the problem=0A> remain?=0A= > What if you set root's home directory to one of your user's=0A> home=0A> = directory as a test to see if it's the dotfiles?=0A> =0A> =0A> These would = be my next steps to diagnose what might be the=0A> problem.=A0 Good luck.= =0A> =0A> =0A> * - Only supported is when you're upgrading and have a=0A> n= ewer kernel=0A> just long enough to install world.=0A> =0A=0ADear Tim=0A=0A= I suspect this is a build error. Therefore, let me rebuild and see whether = the problem go away. I'm going to do a careful rebuild more towards the end= of the week. I'll let the list and you know the result. If the problem sti= ll persists, I really like to know what causes it.=0A=0ABest regards=0AUnga= =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 04:38:20 2009 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 A3CA4106566B for ; Wed, 17 Jun 2009 04:38:20 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3A08FC08 for ; Wed, 17 Jun 2009 04:38:19 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5H4cITi008082; Wed, 17 Jun 2009 07:38:18 +0300 Message-ID: <4A38733A.8030500@otenet.gr> Date: Wed, 17 Jun 2009 07:38:18 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: "Sam Fourman Jr." References: <4A37380F.8020505@gmail.com> <4A37F503.7070207@onetel.com> <4A37FADE.4090200@otenet.gr> <11167f520906162018y74ca648ehac322944b7af4941@mail.gmail.com> In-Reply-To: <11167f520906162018y74ca648ehac322944b7af4941@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 04:38:20 -0000 Sam Fourman Jr. wrote: >>> I will start preparing a server ISO (CD sized) soon. I also welcome >>> all ideas on what to include/exclude in later versions of this DVD. >>> It has been suggested to include openoffice packages as abiword / >>> gnumeric don't cut it for many people. This will increase the size of >>> the download, although hopefully not dramatically as most dependencies >>> are probably already included. I am all open to ideas, so please email >>> me your suggestions and comments. >>> > > > I have not yet tried your CD so I do not know what is already on it. > but I always like the following on my installs. > > Gvim (with Icon) > I intend to include gvim. I simply need to pass options (like WITH_GTK2) and since it does not use the options framework it will be somewhat more difficult in tinderbox. > Wireshark > iperf > filezilla > These are all small ports and won't be a problem to include. > a PDF reader of some sort > > Evince is already provided. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 04:55:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E911F106566C for ; Wed, 17 Jun 2009 04:55:36 +0000 (UTC) (envelope-from alex@stangl.us) Received: from stangl.us (stangl.us [66.93.193.95]) by mx1.freebsd.org (Postfix) with ESMTP id BB24E8FC0C for ; Wed, 17 Jun 2009 04:55:36 +0000 (UTC) (envelope-from alex@stangl.us) Received: by scout.stangl.us (Postfix, from userid 1001) id 05DAAB854; Tue, 16 Jun 2009 23:55:36 -0500 (CDT) Date: Tue, 16 Jun 2009 23:55:36 -0500 From: Alex Stangl To: SA Message-ID: <20090617045535.GD78640@scout.stangl.us> References: <984490.6805.qm@web43139.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <984490.6805.qm@web43139.mail.sp1.yahoo.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: freebsd "toaster" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 04:55:37 -0000 On Tue, Jun 16, 2009 at 07:04:47PM -0700, SA wrote: > This article by Colin Percival http://www.daemonology.net/freebsd-update/binup.html discusses using freebsd-update as a "toaster" for updating an entire FreeBSD based distribution, instead of just the base system like freebsd-update normally does. Does anyone know where there might be more information on this topic? Not long ago I tried using freebsd-update to update from 6.0-RELEASE to 7.2-RELEASE, based upon instructions on Percival's blog, http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html It blew away the contents of /boot/kernel. Multiple emails to Percival went unanswered, and when I later asked about it on this list, the only response was a suggestion to upgrade via source. (Thanks for the suggestion, by the way -- I think I'll rather do that to stay up to date once I get caught up.) Based upon my experience and the apparent lack of current support, I would not recommend using these tools for binary updates, especially in an automated fashion. If I get some spare time and inclination, I may try to diagnose what went wrong with the freebsd-update script, but more likely will end up doing a clean install of 7.2-RELEASE from ISO onto a new drive, and migrate everything over. Alex From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 04:59:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C8141065673 for ; Wed, 17 Jun 2009 04:59:14 +0000 (UTC) (envelope-from dkarapet@nd.edu) Received: from mx-p2.cc.nd.edu (mx-p2.cc.nd.edu [129.74.250.58]) by mx1.freebsd.org (Postfix) with ESMTP id B2F5D8FC28 for ; Wed, 17 Jun 2009 04:59:13 +0000 (UTC) (envelope-from dkarapet@nd.edu) Received: from yw-out-1718.google.com ([129.74.12.13]) by mx-p2.cc.nd.edu (Switch-3.3.0/Switch-3.3.0) with ESMTP id n5H511iL001143 for ; Wed, 17 Jun 2009 01:01:09 -0400 Received: by yw-out-1718.google.com with SMTP id 5so41786ywr.84 for ; Tue, 16 Jun 2009 21:59:12 -0700 (PDT) Received: by 10.90.79.17 with SMTP id c17mr7935839agb.12.1245214752005; Tue, 16 Jun 2009 21:59:12 -0700 (PDT) Received: from localhost (c-98-206-77-94.hsd1.in.comcast.net [98.206.77.94]) by mx.google.com with ESMTPS id 6sm1015803agd.32.2009.06.16.21.59.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 21:59:11 -0700 (PDT) Date: Wed, 17 Jun 2009 00:59:08 -0400 From: David Karapetyan To: freebsd-questions@freebsd.org Message-ID: <20090617045908.GA352@vagrant.hsd1.in.comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Source-IP: 129.74.12.13 X-ND-MTA-Date: Wed, 17 Jun 2009 01:01:09 EDT Subject: Pre-compiled package shortage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 04:59:14 -0000 Hello everyone. I am a former user of Freebsd-7.2 Release who migrated to Debian. I was unable to find an ftp server that had a decent enough list of precompiled packages (including the default at ftp.freebsd.org; for example, when installing gnome2 via precompiled packages, the package manager was unable to find a number of dependencies available in package form. True, I can compile them from source, but this is rather time consuming. Does anyone know of an ftp server dedicated to maintaining a comprehensive list of precompiled packages (a la Debian Testing)? In all other regards, I favor freebsd over Debian or any other linux distribution, and would like to return to using it. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 06:09:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C8C106566C for ; Wed, 17 Jun 2009 06:09:56 +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 16CC18FC15 for ; Wed, 17 Jun 2009 06:09:55 +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 n5H69mb8008726; Wed, 17 Jun 2009 07:09:49 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n5H69mb8008726 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1245218989; bh=6BK8tdaZRJGNwvPJeb+LeaBfgvQwhi2wWBh9s/BNbkw=; 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=Message-ID:=20<4A3888A6.6030205@infracaninophile.co.uk>|Date:=20W ed,=2017=20Jun=202009=2007:09:42=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Peter=20Clark=20|CC:=20freebsd -questions@freebsd.org|Subject:=20Re:=20Crusty=20upgrade=20(was=20 Make=20Question)|References:=20<4A3159B3.5090009@mtmary.edu>=20<4A 316C54.3040409@otenet.gr>=09<44zlcephis.fsf@be-well.ilk.org>=20<4A 382A27.2010108@mtmary.edu>|In-Reply-To:=20<4A382A27.2010108@mtmary .edu>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signe d=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp- signature"=3B=0D=0A=20boundary=3D"------------enigEE9866E2A7312CB0 B030CB6B"; b=DCNVRbA+6buQSPV8VIM+EYoYmKxMfpUWFT8p5nIg8VpigvA+VcI9tQ4GqODpgX7oV 7ZVJdiWaW2YoWMmRLkvbOm+s4sNecKXthZkFmLb30axlFVXNb1tbWTTPjyWy4TCDTr Ar4bNlwtnCfszk4fr3gWs1GCPT+PFfj+3rle+FdA= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A3888A6.6030205@infracaninophile.co.uk> Date: Wed, 17 Jun 2009 07:09:42 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Peter Clark References: <4A3159B3.5090009@mtmary.edu> <4A316C54.3040409@otenet.gr> <44zlcephis.fsf@be-well.ilk.org> <4A382A27.2010108@mtmary.edu> In-Reply-To: <4A382A27.2010108@mtmary.edu> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigEE9866E2A7312CB0B030CB6B" X-Virus-Scanned: clamav-milter 0.95.2 at 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: Crusty upgrade (was Make 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, 17 Jun 2009 06:09:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEE9866E2A7312CB0B030CB6B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Peter Clark wrote: > Lowell Gilbert wrote: >> Manolis Kiagias writes: >> >>>> I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I >>>> realize that the short answer to my question is more than likely to >>>> upgrade the OS to a current release and I would if I had that option= >>>> right now, but I do not. I needed to upgrade the perl/openssh/openss= l >>>> implementation on this box. My first thought was to use the port on >>>> the machine that was from that era but make fails. So then I thought= >>>> to csup the ports tree and try with a new version, that fails as wel= l. >>>> The error is as follows: >>>> >>> 5.1 (in fact all 5.X) has reached EOL. The latest ports tree won't >>> compile stuff for 5.X. Use the following line in your ports-supfile = to >>> get the last ports tree that was supported in 5.X: >>> >>> *default release=3Dcvs tag=3DRELEASE_5_EOL >>> >>> instead of >>> >>> *default release=3Dcvs tag=3D. >>> >>> Still, since this is going to be really old you may still have proble= ms >>> (missing distfiles and so on). But is worth trying if you must stay w= ith >>> 5.X for whatever reason. >> >> One thing it won't do is get you any of the bug fixes to the ssh port.= >> > As a number of people have pointed out this is turning into a bigger=20 > headache than it needs to be. The good thing is that allowed me to get = > the ok to upgrade the system. This box will be taken out of service in = > the near future but I do need it to remain functional for a couple mont= hs. >=20 > Is there a recommended upgrade path? I know about cvsup and whatnot.=20 > What I mean is are there some blatant gotchas when making this big a=20 > jump (5.1p18 -> 6.4)? Are there some recommended stops along the way or= =20 > can it be done in one fell swoop. Is Colin Percival's freebsd-update.sh= =20 > a viable way to approach this? > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrad= e.html=20 >=20 > This is a production box so I want to cover my bases before I jump into= =20 > this. FreeBSD 5.1 was a transitional release between the old 4.x series where the giant lock reigned supreme, multiprocessor support and threading had = not been very well developed; and 5.4 or above where the essentials of the mo= dern fine-grained locking, multithreaded, multicpu-core style were establ= ished.=20 Which means that upgrading across those versions is only for gurus or mas= ochists. It's also way before freebsd-update was available (possibly even before i= t was conceived in the mind of Colin). My recommendation is to buy a replacement HDD (or HDDs), swap into the ma= chine reserving the old disk(s) as your fall-back in case of disaster, and then= build a new system from scratch using an up to date version of the OS. Given t= he HDDs in that box must be about 4 years old anyhow, swapping out the disks is a= pretty good idea just from a reliability point of view. Personally I'd go for 7= =2E2-RELEASE on the basis that a) it performs better than 6.x and b) there's more supp= ort lifetime remaining for the 7.x series. 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 --------------enigEE9866E2A7312CB0B030CB6B 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.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAko4iKwACgkQ8Mjk52CukIxCGACdHyJEEZVUBR0jhzpK10VnrODE zlEAn3dOo+k15wHa4UGsWdKrBdrbTx1b =EWbH -----END PGP SIGNATURE----- --------------enigEE9866E2A7312CB0B030CB6B-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 06:57:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313871065708 for ; Wed, 17 Jun 2009 06:57:11 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id E01D38FC17 for ; Wed, 17 Jun 2009 06:57:10 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:58870 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MGp4y-0005aE-57 for freebsd-questions@freebsd.org; Wed, 17 Jun 2009 08:57:09 +0200 Received: (qmail 32955 invoked from network); 17 Jun 2009 08:57:02 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 17 Jun 2009 08:57:02 +0200 Received: (qmail 8548 invoked by uid 1001); 17 Jun 2009 08:57:02 +0200 Date: Wed, 17 Jun 2009 08:57:02 +0200 From: Erik Trulsson To: freebsd-questions@freebsd.org Message-ID: <20090617065702.GA8494@owl.midgard.homeip.net> References: <20090617045908.GA352@vagrant.hsd1.in.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090617045908.GA352@vagrant.hsd1.in.comcast.net> User-Agent: Mutt/1.5.19 (2009-01-05) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1MGp4y-0005aE-57. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MGp4y-0005aE-57 303263227cfbc03f9d3d1a9aea45e86d Subject: Re: Pre-compiled package shortage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 06:57:11 -0000 On Wed, Jun 17, 2009 at 12:59:08AM -0400, David Karapetyan wrote: > Hello everyone. I am a former user of Freebsd-7.2 Release who migrated to > Debian. I was unable to find an ftp server that had a decent enough list of > precompiled packages (including the default at ftp.freebsd.org; for > example, when installing gnome2 via precompiled packages, the package > manager was unable to find a number of dependencies available in package > form. True, I can compile them from source, but this is rather time > consuming. Does anyone know of an ftp server dedicated to maintaining a > comprehensive list of precompiled packages (a la Debian Testing)? In all > other regards, I favor freebsd over Debian or any other linux distribution, > and would like to return to using it. There are a number of ports that for legal reasons cannot be redistributed as pre-compiled packages. Quite possibly you ran into one or more of those. Other than those ftp.freebsd.org (and mirrors) should have a complete set of pre-compiled packages. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 07:02:51 2009 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 A4EB4106566C for ; Wed, 17 Jun 2009 07:02:51 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0CA8FC14 for ; Wed, 17 Jun 2009 07:02:50 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fxm25 with SMTP id 25so88280fxm.43 for ; Wed, 17 Jun 2009 00:02:50 -0700 (PDT) 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 :x-enigmail-version:content-type:content-transfer-encoding; bh=GL54OkLHyfYfr3ltcdwRk+MTkepPkKiROLH4tT2Yvr8=; b=GJ8Z4dfzBQO4IcbBf3beKFUzXc7vrV7p+piCGbjx0KoH8Wcny9SSZniq5ZJ98qykqJ 6XDfFDf3wumQaoxtjK91GPx8pPATOMAl3emAiw9pgXVq/Uqzls1Ix/FJYdwAQejq3PL2 4ZJok9e1WyDbkLNKYhn3h87FntsJL46T13E7Y= 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:x-enigmail-version:content-type :content-transfer-encoding; b=B30iLvBk/vC12Eaik0FJ1E/Ac7/ylra3epQbbk1i4RFt0GDAQACH3akLl6p9ymjpFj LcGeTdhjkEIPMzZAVUPsOODBG99omgi4opC74tB1En7ICYQDBDqIMlFQy2kJoDMb+ecd J9ojJA86oe2jk4W5acUQKy5zXgf1Ey7Gsl9nc= Received: by 10.204.72.129 with SMTP id m1mr9140072bkj.61.1245222169819; Wed, 17 Jun 2009 00:02:49 -0700 (PDT) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by mx.google.com with ESMTPS id 2sm546677fks.33.2009.06.17.00.02.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 00:02:48 -0700 (PDT) Message-ID: <4A389517.6010906@gmail.com> Date: Wed, 17 Jun 2009 10:02:47 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Chris Whitehouse References: <4A37380F.8020505@gmail.com> <4A37F503.7070207@onetel.com> In-Reply-To: <4A37F503.7070207@onetel.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) - Openoffice packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 07:02:51 -0000 Chris Whitehouse wrote: > > > I would vote for including openoffice, it takes much longer to compile > than to download, or maybe make the package and any dependencies that > are not already included available as a separate tarball. > I've implemented this neat idea, the tarball is here: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/openoffice.tar.gz Instructions: http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/README.openoffice As a matter of fact, I noticed only the main openoffice package is needed - every other run dependency is already present in the XFCE iso. The few other packages in the tarball are build dependencies. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 07:07:23 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB011065670 for ; Wed, 17 Jun 2009 07:07:23 +0000 (UTC) (envelope-from bf1783@googlemail.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 A5D1D8FC1A for ; Wed, 17 Jun 2009 07:07:21 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so63915ywe.13 for ; Wed, 17 Jun 2009 00:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=DbMmlWp9qPCFKpPdlt5p9IGHog9EynefVWoe4joUm5M=; b=BwSZlZUTxaqI+1g2psCUWSTk7oMowSmT2jA2MaFliRB8pLqBuMzP0MWqY8C7rCtcDE ZLiA+JWXvln4O4bUx7qzF4iDCQ+Ue8i23EJISD5xGkEEa40JVE8ueyJlm4RlzedbxH6O L8e30NcMXTSs92RYRUW896dgJEqA3+GJOPfto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hlfQqw/6yhD1skjBoMlHtYy7h2lG0iz+UuOEtxWcfreEsO5Cz9C908PijAnfT7lsUu hLoyc2u5x51WHlwvVmIW7yNmKwQIoiPR/eUS2jENa9NX7jWqAnuQetj+A8eGvGyxYmsu zVTo0/lPrGFRySZZdZ6OxwJuW6g/tWi1fYYTg= MIME-Version: 1.0 Received: by 10.231.14.131 with SMTP id g3mr3211052iba.54.1245222441122; Wed, 17 Jun 2009 00:07:21 -0700 (PDT) Date: Wed, 17 Jun 2009 00:07:21 -0700 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drew@mykitchentable.net Subject: Re: OpenSSL Base vs. OpenSSL Port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 07:07:23 -0000 >I had been running 6.2 with openssl base for quite a while. Then I >attempted to implement the dkim-filter port which required using openssl >to generate keys. That's when I noticed that openssl is broken on my >machine. See this example: ># openssl genrsa -out rsa.private 1024 >Error configuring OpenSSL >28086:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd >name:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_ctrl.c:318: >28086:error:0E07406D:configuration file >routines:CONF_modules_load:module initialization >error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto >/conf/conf_mod.c:234:module=engines, >value=openssl_engines, retcode=-1 >So I thought rebuilding world might fix it and while I was at it, I >upgraded to 6.4 but still have the same problem. I'm not familiar with this problem. If you have the a supported version of 6.X installed, and you've read the documentation, and are convinced that the error is due to some problem with the openssl in base, then you should submit a PR: http://www.freebsd.org/support/bugreports.html >Next I tried installing openssl from ports. This openssl seems to work: ># /usr/local/bin/openssl genrsa -out rsa.private 1024 >Generating RSA private key, 1024 bit long modulus >..............................................................++++++ >..............++++++ >e is 65537 (0x10001) >But now I am unclear as to what state my system is in. What is the >preferred method for using openssl from ports vs. using openssl base. I >don't really care which I use but want to avoid trouble with multiple >versions of openssl and/or ports compiled against the wrong version. >I've been Googling all day but can not find a clear guide. No need to waste time googling -- just go straight to the code, the port makefiles on your system that actually _do_ the work -- in this case /usr/ports/Mk/bsd.openssl.mk (or substitute the value of PORTSDIR for /usr/ports if you've got your Ports tree in some nondefault location). There you will see some comments and the actual code governing the use of the variables. >Specifically, what should I have in my /etc/make.conf and what >portupgrade command should I use to ensure things are build against the >correct openssl? I've seen things like OPENSSL_OVERWRITE_BASE=yes, >NO_OPENSSL=yes, WITH_OPENSSL_PORT=yes, WITH_OPENSSL_BETA=yes, and >portupgrade -rf openssl but remain confused. Put WITH_OPENSSL_PORT=yes in your build environment -- /etc/make.conf is a good way -- and then rebuild all ports that depend on openssl. There are many different ways to do this -- you could use: pkgdb -L && portupgrade -fur openssl-* (The first command may not be necessary, but I find that the dependencies of some ports on openssl are sometimes missing from the pkgdb, and need to be added.) or portmaster -t -r openssl-* for example. Note that this will only ensure that ports that correctly use USE_OPENSSL are linked to the proper version of openssl -- some ports may not have been constructed properly, and may still end up being linked to the base openssl. You can check if there are any such ports by using ldd(1) or the sysutils/libchk port. b. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:01:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CDB4106566C for ; Wed, 17 Jun 2009 08:01:22 +0000 (UTC) (envelope-from bf1783@googlemail.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 C913C8FC14 for ; Wed, 17 Jun 2009 08:01:21 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so71033ywe.13 for ; Wed, 17 Jun 2009 01:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FRagjJTcIAfKtLsYTYAWzMFdmZ0QNoFqeLeg1cnFIXg=; b=qGekHkDPY5TiME01UutSxQL9lBdl6beWSAos81hOg/dPN7oKHjE9Sq95ulp6nAmD6K Qyd2bxO7nOXug2volm/CaGd8iHvkzVVhwiVY7CflJgpSlqs8iOL2yk5SnYaO4M5NNUJc z7GaLK3GtvwfczYIeEqumn4c3N6Y4Ei0KThkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jRn8XWrBJxb2EEhRoekmqynptx+9L0JAUF9MsxgEoPLiS2o8oTI05yLTAdXCbgZjco BAF5cyeXa/U5h1qmoMg0kDyWcZ24CccvVsJnZKotgv9KPPsGswXIjmez4BXoooBEhlsE FOhd3tygO8+EUINx4erMCF1m6s3zo5gxn/yhU= MIME-Version: 1.0 Received: by 10.231.18.5 with SMTP id u5mr3226850iba.5.1245225681017; Wed, 17 Jun 2009 01:01:21 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2009 01:01:20 -0700 Message-ID: From: "b. f." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drew@mykitchentable.net Subject: Re: OpenSSL Base vs. OpenSSL Port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 08:01:22 -0000 On 6/17/09, b. f. wrote: > Put WITH_OPENSSL_PORT=yes in your build environment -- /etc/make.conf is a > good > way -- and then rebuild all ports that depend on openssl. There are > many different > ways to do this -- you could use: > > pkgdb -L && portupgrade -fur openssl-* > > (The first command may not be necessary, but I find that the > dependencies of some > ports on openssl are sometimes missing from the pkgdb, and need to be > added.) > > or > > portmaster -t -r openssl-* > I should mention that if you are switching from using the base openssl to using the openssl from the port, and you intend to use portupgrade, then you will definitely need to to run pkgdb -L && pkgdb -F before running portupgrade, because otherwise no ports will be listed as being dependent upon the openssl port. I'm not sure if portmaster will do this properly, as it uses the existing /var/db/pkg in many cases, which will not contain the correct dependency information. You may need to get a list of ports that USE_OPENSSL, and then update those ports and the ports that depend upon them. For example, you could first install the openssl port, and then use: pkg_info -aoq | xargs -I % make -C /usr/ports/% -V USE_OPENSSL -V PKGNAME | sed -n '/[yY][eE][sS]/{n;p;}' | xargs portmaster -t -r or something like that. b. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:26:18 2009 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 DEE9A1065670 for ; Wed, 17 Jun 2009 08:26:18 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id EDE398FC17 for ; Wed, 17 Jun 2009 08:26:17 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id C08131C1A66 for ; Wed, 17 Jun 2009 10:26:14 +0200 (CEST) Message-ID: <4A38A8A6.4090702@locolomo.org> Date: Wed, 17 Jun 2009 10:26:14 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: questions@freebsd.org References: <4A37F2B7.6000505@locolomo.org> In-Reply-To: <4A37F2B7.6000505@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 08:26:19 -0000 Erik Norgaard wrote: > I have no problem connecting from the host to the jail, but the other > way around doesn't work. > > Also, related, how do I configure multiple interfaces in a jail? Second problem solved, starting jail with # jail /var/jail jail 127.0.0.2,172.16.0.2 /bin/sh /etc/rc So, now I have: vr1: flags=8943 metric 0 mtu 1500 options=2808 ether 00:40:63:ee:97:f1 inet 172.16.0.2 netmask 0xffffffff broadcast 172.16.0.2 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.2 netmask 0xffffffff Now, I can connect out on vr1 to 172.16.0.1, but not on lo0 to 127.0.0.1. Any suggestions what might be wrong? Btw, this jail and host system is FBSD 7.2-STABLE. Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:32:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55D8D1065673 for ; Wed, 17 Jun 2009 08:32:44 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDA18FC08 for ; Wed, 17 Jun 2009 08:32:43 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yxe38 with SMTP id 38so148882yxe.3 for ; Wed, 17 Jun 2009 01:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HgnV5n0zqIEhfu51HhxUGgpUSAq2Aw3+OfDpA67n/8o=; b=LibBOOKK9GSxNHQGpBVYoeBTTdUHAF8Oc3fUdiyl6/JYSTVBIU7xSM7W7RxcXC5b68 jVP0GRqx6lt6B1SmC40uQ15soFLK2lc4ZmTjS8IALGOBjEQyWKNd8bZqx8AnHRbDT+QV DvzO/Jp/yNkQGqRxmPp8Yj0j1g3ZOtvH/k80o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y2mceWedjxDqwMdCY/587GPL3DnWB3eK8Urs1LMMDA8XQx7UO16oloQnWBpZl2Awel 8PqlSlsdQkN+MoprVZ0+ZxP+Ot+9c5caq7kdadQVAzBHtQNEUi961r/j8fKnBUh6sWzY I1kB5yYzSpRBci0MWeTZl7MrrFfJt46M8m/IA= MIME-Version: 1.0 Received: by 10.231.17.199 with SMTP id t7mr3325313iba.46.1245227563297; Wed, 17 Jun 2009 01:32:43 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2009 01:32:43 -0700 Message-ID: From: "b. f." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drew@mykitchentable.net Subject: Re: OpenSSL Base vs. OpenSSL Port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 08:32:44 -0000 On 6/17/09, b. f. wrote: > On 6/17/09, b. f. wrote: > >> Put WITH_OPENSSL_PORT=yes in your build environment -- /etc/make.conf is >> a >> good >> way -- and then rebuild all ports that depend on openssl. There are >> many different >> ways to do this -- you could use: >> >> pkgdb -L && portupgrade -fur openssl-* >> >> (The first command may not be necessary, but I find that the >> dependencies of some >> ports on openssl are sometimes missing from the pkgdb, and need to be >> added.) >> >> or >> >> portmaster -t -r openssl-* >> > > I should mention that if you are switching from using the base openssl to > using > the openssl from the port, and you intend to use portupgrade, then you > will definitely > need to to run pkgdb -L && pkgdb -F before running portupgrade, > because otherwise > no ports will be listed as being dependent upon the openssl port. > > I'm not sure if portmaster will do this properly, as it uses the > existing /var/db/pkg in > many cases, which will not contain the correct dependency information. > You may need to > get a list of ports that USE_OPENSSL, and then update those ports and > the ports that > depend upon them. For example, you could first install the openssl > port, and then use: > > pkg_info -aoq | xargs -I % make -C /usr/ports/% -V USE_OPENSSL -V > PKGNAME | sed -n '/[yY][eE][sS]/{n;p;}' | xargs portmaster -t -r > > or something like that. > > b. > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:39:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3633106564A for ; Wed, 17 Jun 2009 08:39:39 +0000 (UTC) (envelope-from bf1783@googlemail.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 8EB9B8FC14 for ; Wed, 17 Jun 2009 08:39:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so76053ywe.13 for ; Wed, 17 Jun 2009 01:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+14wUASxMJMxscP/NQ/2Wp9Z517LbHKmN1CNy0LB594=; b=NkuYf65X5H2EUv/Rije9YMQWwYN4ZjAxjd9pESCz4fhAGmxBDyUsTwmdsfiMWnK7u6 qOZ6m8I9KUCTyWT5YJlZdIHlXnW1WoHkV8NY74dbfh7GxAtrco4uFJWJSzHhxFoBgSI/ BwTF3mnIeG95cnSUiU0qauubwT9bYoakqj5hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=We/Mc+BLPT6VfCsWqfNjs/YcjHcFxJyKIze9wUIkswKKulUZJSCUGi89hWXESQTnb2 O6FipB4zIgJSFsD4+p+znshXjFeEa5h2aGwKxwR+vE0YE4F3Rx4l/ox/B8+iYfcbXHFB SsmenlyH0OE7tLwPnd8JR6UnpDt0HqUTnZvTk= MIME-Version: 1.0 Received: by 10.231.15.138 with SMTP id k10mr3316089iba.26.1245227978833; Wed, 17 Jun 2009 01:39:38 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2009 01:39:38 -0700 Message-ID: From: "b. f." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drew@mykitchentable.net Subject: Re: OpenSSL Base vs. OpenSSL Port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 08:39:40 -0000 On 6/17/09, b. f. wrote: > On 6/17/09, b. f. wrote: > >> Put WITH_OPENSSL_PORT=yes in your build environment -- /etc/make.conf is >> a >> good >> way -- and then rebuild all ports that depend on openssl. There are >> many different >> ways to do this -- you could use: >> >> pkgdb -L && portupgrade -fur openssl-* >> >> (The first command may not be necessary, but I find that the >> dependencies of some >> ports on openssl are sometimes missing from the pkgdb, and need to be >> added.) >> >> or >> >> portmaster -t -r openssl-* >> > > I should mention that if you are switching from using the base openssl to > using > the openssl from the port, and you intend to use portupgrade, then you > will definitely > need to to run pkgdb -L && pkgdb -F before running portupgrade, > because otherwise > no ports will be listed as being dependent upon the openssl port. > > I'm not sure if portmaster will do this properly, as it uses the > existing /var/db/pkg in > many cases, which will not contain the correct dependency information. > You may need to > get a list of ports that USE_OPENSSL, and then update those ports and > the ports that > depend upon them. For example, you could first install the openssl > port, and then use: > > pkg_info -aoq | xargs -I % make -C /usr/ports/% -V USE_OPENSSL -V > PKGNAME | sed -n '/[yY][eE][sS]/{n;p;}' | xargs portmaster -t -r > > or something like that. > > b. > Argh. Sorry about the last (non-)message. I meant to say: Or rather, since (portmaster -r only accepts a single port as an argument -- _sigh_ ) : pkg_info -aoq | xargs -I % make -C /usr/ports/% -V USE_OPENSSL -V PKGNAME | sed -n '/[yY][eE][sS]/{n;p;}' | xargs portmaster -f which is thorough, but overkill. I'd stick with portupgrade or manual 'make deinstall clean install && make clean' for this task. b. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 10:17:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1459106564A for ; Wed, 17 Jun 2009 10:17:53 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 826128FC08 for ; Wed, 17 Jun 2009 10:17:53 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by ewy8 with SMTP id 8so271601ewy.43 for ; Wed, 17 Jun 2009 03:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ZA47ZZfowAoiIwHVNsFeMhkuR8LmKz14THPPr36B0QY=; b=aPhGVXqbQIpvPlgfPmRVyPSyfqwDpXNNp9mkmctnWw7ZKaG+UZT29JG//T4eborsE7 OgiOzzNlgXxwwmJ0r/GlfNSl7fBl66rW6KWmcAOSLuydqzeKCmt0T5EWoF3X7HuU8Toj 41dlXw2U2FJuPmyMi1zHoGOdGJayb/HUZNuyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=Rc4dwauM3pPbEKunCUM9n+jv9BQ1hDwC4YKVCCGsazt0pJDwf4noiOWvq9Ub8osR3A cWp1ujQh790/e7eti+EpXTP4OCDaSi3jiewlAtaxGLwA0AVv4DvdfzEtatKV299ek2b2 +gCNImYWQd+knUywTrIiF4rnVDhUwp74KiZdg= MIME-Version: 1.0 Received: by 10.216.50.144 with SMTP id z16mr3182136web.65.1245233872108; Wed, 17 Jun 2009 03:17:52 -0700 (PDT) In-Reply-To: <20090617045535.GD78640@scout.stangl.us> References: <984490.6805.qm@web43139.mail.sp1.yahoo.com> <20090617045535.GD78640@scout.stangl.us> From: Chris Rees Date: Wed, 17 Jun 2009 11:17:32 +0100 Message-ID: To: Alex Stangl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: SA , freebsd-questions@freebsd.org Subject: Re: freebsd "toaster" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 10:17:54 -0000 2009/6/17 Alex Stangl : > On Tue, Jun 16, 2009 at 07:04:47PM -0700, SA wrote: >> This article by Colin Percival http://www.daemonology.net/freebsd-update= /binup.html discusses using freebsd-update as a "toaster" for updating an e= ntire FreeBSD based distribution, instead of just the base system like free= bsd-update normally does. Does anyone know where there might be more inform= ation on this topic? > > Not long ago I tried using freebsd-update to update from 6.0-RELEASE to 7= .2-RELEASE, > based upon instructions on Percival's blog, > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.= html > > It blew away the contents of /boot/kernel. Multiple emails to Percival > went unanswered, and when I later asked about it on this list, the only > response was a suggestion to upgrade via source. (Thanks for the > suggestion, by the way -- I think I'll rather do that to stay up to date > once I get caught up.) > > Based upon my experience and the apparent lack of current support, I > would not recommend using these tools for binary updates, especially in > an automated fashion. If I get some spare time and inclination, I may > try to diagnose what went wrong with the freebsd-update script, but more > likely will end up doing a clean install of 7.2-RELEASE from ISO onto > a new drive, and migrate everything over. > > Alex Just curiosity, what's wrong with source upgrading? Isn't it miles easier than reinstalling? Chris --=20 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 10:19:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17381065686 for ; Wed, 17 Jun 2009 10:19:35 +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 825A28FC17 for ; Wed, 17 Jun 2009 10:19:35 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 57331 invoked from network); 17 Jun 2009 10:19:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=NgzGph7+wTONsy7OfPjNHPZIhKmaJ6gXc5OPv+JpAuwCyCx8NcsAokNDLWZiLzOoev6IcudaFFuRAfA8Xb9pH376jzRdJ8vtBDYtGBEw3AUiszdwIZgojYH55a/bgH8BsOfBgtMJ1yKoNxkxbDkrcEx26oYJsuKyuOp+zWAkHLA= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 17 Jun 2009 03:19:34 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: s9PeNhgVM1mND0p2T02b26sYIV48HvsnueZHY5wRG1E03ZJi6wNQ7uIAlMxuyWptTA4WUtGATN8730b10ovRfHJAyKEjmcH3yrucp_LXsqFT65QGbnvYrDBMjBG0gUc9.9VjGabv.hLqf78DNHLAKAZQn7MYm34xTAZvFZiyGfpP8UZVTgMr6jiu39ceSfLl3fSbU0KZsNF7H13x8IX1uAxXU.cd9.zH5YbHCHwesO1CoC3NbuNHPRpdAFDvze3O0Kw_HAj7pU3s2fc3xVFm8mfXV3yyPamkLRp8LDhwWNrQNLpXzaCfqHP86RRbNYwQiQrrQn0C X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 4A45C22886 for ; Wed, 17 Jun 2009 06:19:34 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 0F42222875 for ; Wed, 17 Jun 2009 06:19:34 -0400 (EDT) Date: Wed, 17 Jun 2009 06:19:33 -0400 From: Gerard To: freebsd-questions@freebsd.org Message-ID: <20090617061933.33878200@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Updating linux-pango 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, 17 Jun 2009 10:19:36 -0000 Affected package: linux-pango-1.10.2_3 Type of problem: pango -- integer overflow. Reference: This problem has existed for awhile now. Unless: DISABLE_VULNERABILITIES=yes is used, linux-pango and any port that depends on it will refuse to build. Is there any information on when this problem will be resolved? I really do not like intentionally installing a program with a potential security problem; however, in this case I have no choice. -- Jerry gesbbb@yahoo.com Vote early and vote often. Al Capone's slogan for Big Bill Thompson's anti-reform campaign for Mayor of Chicago, 1926. Big Bill won. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 11:44:02 2009 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 C581A106564A for ; Wed, 17 Jun 2009 11:44:02 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCA18FC25 for ; Wed, 17 Jun 2009 11:44:02 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 281DE1C1A66 for ; Wed, 17 Jun 2009 13:43:59 +0200 (CEST) Message-ID: <4A38D6FE.8000804@locolomo.org> Date: Wed, 17 Jun 2009 13:43:58 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 11:44:03 -0000 Hi: I am migrating my imap server to a jail, I got the jail up and cyrus-imapd starts. I have copied configuration files from the current server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is running, yet when I try to login I get the error: IMAP Password: Login failed: generic failure at /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 cyradm: cannot authenticate to server with as cyrus in /var/log/messages Jun 17 13:40:04 jail perl: No worthy mechs found in imap log file: Jun 17 13:40:07 jail imap[2280]: badlogin: jail.example.com [172.16.0.2] plaintext cyrus@example.com SASL(-1): generic failure: checkpass failed jails hostname is jail (maybe not the best choice). I'm using FBSD 7.2 for both host and jail system, jail installed with packages: cyrus-imapd-2.3.14_1 cyrus-sasl-2.1.23 cyrus-sasl-saslauthd-2.1.23 Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 12:01:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34BA10656BD for ; Wed, 17 Jun 2009 12:01:29 +0000 (UTC) (envelope-from matej.serc@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADD38FC0A for ; Wed, 17 Jun 2009 12:01:29 +0000 (UTC) (envelope-from matej.serc@gmail.com) Received: by fxm25 with SMTP id 25so243716fxm.43 for ; Wed, 17 Jun 2009 05:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=RNyV44uivCVcROocAWu56zdhTZBlWryNQDKY1hi/PG0=; b=B8cE+PRAAcdw7jEOvapFpi76TlNsWhEzhCg+FdDJIBlPgpu4LKWDY5BSJZUGqU9ft2 SPlZgMjdMJV9bZkVd6dgeblz3APccM3mksHL64avG8BN08yH6FMvJLvV3DL3IvWB3Dy2 q5JL+Kq3g0P0lZiGrcjXE4S3ZTdEL2VKNGYYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Yb4HzcgEJaBMK3DaOJPEdiIJ5hxsVebBOsAY6Hfpd6Gy7+NgQS3bhrs4fwZaJ9Lciq VHkFI8eDNFMGk19S2G0ck1r3RKP6hyhXCIqCmD2ZkzRTbKdbblMo9kphO6qxszEIKD1H vMjb7U6MTSiryas3PjpePhCpbTH6pGFPhWIuM= MIME-Version: 1.0 Received: by 10.204.60.72 with SMTP id o8mr22921bkh.184.1245238552040; Wed, 17 Jun 2009 04:35:52 -0700 (PDT) Date: Wed, 17 Jun 2009 13:35:52 +0200 Message-ID: <497fe93d0906170435l5a3a18ccw2159d99443055122@mail.gmail.com> From: =?windows-1252?Q?Matej_=8Aerc?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Very slow disk speed / mpt0: LSILogic SAS/SATA Adapter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 12:01:35 -0000 Hi, we have a HP ProLiant server with RAID 0/1 controller onboard. It is detected as mpt0 (I have attached a part of dmesg output at the end of the mail). As reported by some already ( http://www.mail-archive.com/freebsd-performance@freebsd.org/msg02446.html), we are also getting extremely slow write speeds. I read somewhere that there are some improvements which could solve the situation in 7.2 (our system has 7.1 installed and I am currently unable to turn it off and it will stay so for at least 3 months). There are some information that setting hw.mpt.enable_sata_wc=1 solves the write speed (it actually does as I tested!), but I would like to know more about how danger that option is. We are using softupdates and now have this hw.mpt.enable_sata_wc=0, after reading that it might be very dangerous when using sata_wc=1. I am really looking forward to getting more information about this, it is actually driving me nuts. We have a number of other servers and there are no problems with RAID controllers at all. And as I said, I cannot actually turn of this machine and bring it back to reinstall new OS. Thank you very much for your comments and thoughts, Matej The server model is ML110G5. mpt0: port 0xd000-0xd0ff mem 0xfcefc000-0xfcefffff,0xfcee0000-0xfceeffff irq 16 at device 0.0 on pci5 mpt0: [ITHREAD] mpt0: MPI Version=1.5.16.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 1 Active Volume (2 Max) mpt0: 3 Hidden Drive Members (10 Max) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 12:40:41 2009 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 2C577106564A for ; Wed, 17 Jun 2009 12:40:41 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id AA7DB8FC0A for ; Wed, 17 Jun 2009 12:40:40 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by bwz7 with SMTP id 7so268442bwz.43 for ; Wed, 17 Jun 2009 05:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pXauyqqKenHhPEGitDH48xICbsowhMwLXBPt7uBVaDw=; b=vCav4NDi+yrucvxjkyt28JREcgDJH0xpSdLF8+eiqMYYq3B0D+kgmdpOKAsoBygxDq xI8dUoouUsHvY8SuZPs8EwBgbUj5ogeqtVV7Oi2vMQk1u7TLKLkgDsRqfJk8R4k3x7jv P6rfEkbpV5WtEis9H3K/pjnsNFWQ/ZH925Oqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JtA0OXOm5J5CgLZg9Qg7PXHriDSXjGmxZ4FT8JhEGKlkNfy3nQ1KcJNRM6GMVcNNCD +/8eT9OZWSQqZtuOD+XGpMRZlSZaR471wiiv08CxZo+yQ0LDcIL8FHvbbELgXCppfCed pgODSdCB2+JxnsnxnarHYbhENuzySSxDjKK0Q= MIME-Version: 1.0 Received: by 10.103.217.7 with SMTP id u7mr42788muq.121.1245240937233; Wed, 17 Jun 2009 05:15:37 -0700 (PDT) In-Reply-To: <4A37380F.8020505@gmail.com> References: <4A37380F.8020505@gmail.com> Date: Wed, 17 Jun 2009 07:15:37 -0500 Message-ID: From: Andrew Gould To: Manolis Kiagias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 12:40:41 -0000 2009/6/16 Manolis Kiagias : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey all, > > List of main packages > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > This is a comprehensive list of packages included in the ISO: > > abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, cdrtools, > dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, gnupg, > inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, =A0rdesktop, > rtorrent, ristretto, samba, scribus, sudo, thunderbird, tilda, wget, > xfburn, =A0xfce4 + plugins, =A0xorg, zim. > > Several other packages are included as dependencies of the above top > level ones. The total list of packages is 496. =A0There are no conflicts > between them, you may even install all of them during the initial > setup or afterwards. > > I will start preparing a server ISO (CD sized) soon. I also welcome > all ideas on what to include/exclude in later versions of this DVD. > It has been suggested to include openoffice packages as abiword / > gnumeric don't cut it for many people. This will increase the size of > the download, although hopefully not dramatically as most dependencies > are probably already included. I am all open to ideas, so please email > me your suggestions and comments. > > Thanks, > Manolis Kiagias > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAko3OA4ACgkQZ/MxGm4PtJRuvgCfYcOTk2whTnOekRqrBMJYjWZ3 > tOcAnRF2Y1E14T/zFGOMBJk+v46tz2AN > =3DVfqE > -----END PGP SIGNATURE----- Would you consider adding unix2dos? Thanks Andrew From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 12:49:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E01AE1065672 for ; Wed, 17 Jun 2009 12:49:20 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 70A628FC28 for ; Wed, 17 Jun 2009 12:49:19 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:54730 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MGuYm-0002Z1-5I for freebsd-questions@freebsd.org; Wed, 17 Jun 2009 14:48:15 +0200 Received: (qmail 34771 invoked from network); 17 Jun 2009 14:48:11 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 17 Jun 2009 14:48:11 +0200 Received: (qmail 2118 invoked by uid 1001); 17 Jun 2009 14:48:11 +0200 Date: Wed, 17 Jun 2009 14:48:11 +0200 From: Erik Trulsson To: Matej ?erc Message-ID: <20090617124811.GA1995@owl.midgard.homeip.net> References: <497fe93d0906170435l5a3a18ccw2159d99443055122@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <497fe93d0906170435l5a3a18ccw2159d99443055122@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1MGuYm-0002Z1-5I. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MGuYm-0002Z1-5I f5b3449b1fc564c1a4d2ec8d66db2e2d Cc: freebsd-questions@freebsd.org Subject: Re: Very slow disk speed / mpt0: LSILogic SAS/SATA Adapter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 12:49:21 -0000 On Wed, Jun 17, 2009 at 01:35:52PM +0200, Matej ?erc wrote: > Hi, > > we have a HP ProLiant server with RAID 0/1 controller onboard. It is > detected as mpt0 (I have attached a part of dmesg output at the end of the > mail). As reported by some already ( > http://www.mail-archive.com/freebsd-performance@freebsd.org/msg02446.html), > we are also getting extremely slow write speeds. I read somewhere that there > are some improvements which could solve the situation in 7.2 (our system has > 7.1 installed and I am currently unable to turn it off and it will stay so > for at least 3 months). > > There are some information that setting hw.mpt.enable_sata_wc=1 solves the > write speed (it actually does as I tested!), but I would like to know more > about how danger that option is. We are using softupdates and now have this > hw.mpt.enable_sata_wc=0, after reading that it might be very dangerous when > using sata_wc=1. Not very dangerous at all, as long as you are not using background fsck. The problem with write caching on standard IDE/SATA drives is that they report that a write operation is finished even if it has only reached the disk's cache. This means that some of the guarantees that softupdates is supposed to provide regarding which order data is written to the disk, cannot be fulfilled. This essentially means that if you lose power to the machine unexpectedly you might have some filesystem inconsistencies afterward that you would not have had without the disks' cache being enabled. (A normal reset would not cause this problem since the disks would still retain the contents of their caches.) If you are using background fsck this could be a big problem, since for background fsck to work properly the only inconsistencies on the filesystem must be that some blocks are marked as in use when they actually are not. (That is one of the guarantees that softupdates is supposed to provide, but may not be able to provide due to the behaviour of the disks' cache.) If you do have other inconsistencies on the filesystem the whole system may throw a kernel panic when it encounters one of them. (A normal foreground fsck would fix all such inconsistencies before the system starts running for real.) It is also the case that if your system is really busy writing to the disks (with write caching enabled) and you lose power at exactly the wrong time you could potentially lose a lot of data from the filesystem, since any given write could theoretically get delayed indefinitely before it hits the disk's platters. (If the write that gets delayed is the creation of a directory in which lots of writes happen later you could lose all of them.) If you have write caching disabled you will not lose more than the last 30 seconds or so of updates. Using an UPS is one obvious way of drastically reducing the number of times the machine loses power unexpectedly, and if it is so important that this server is not taken down I assume you already have an UPS, in which case enabling the write caching is essentially riskfree. > > I am really looking forward to getting more information about this, it is > actually driving me nuts. We have a number of other servers and there are no > problems with RAID controllers at all. And as I said, I cannot actually turn > of this machine and bring it back to reinstall new OS. > > Thank you very much for your comments and thoughts, > Matej > > > The server model is ML110G5. > > mpt0: port 0xd000-0xd0ff mem > 0xfcefc000-0xfcefffff,0xfcee0000-0xfceeffff irq 16 at device 0.0 on pci5 > mpt0: [ITHREAD] > mpt0: MPI Version=1.5.16.0 > mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) > mpt0: 1 Active Volume (2 Max) > mpt0: 3 Hidden Drive Members (10 Max) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:11:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11308106566B for ; Wed, 17 Jun 2009 13:11:31 +0000 (UTC) (envelope-from alex@stangl.us) Received: from stangl.us (stangl.us [66.93.193.95]) by mx1.freebsd.org (Postfix) with ESMTP id D8E7E8FC2C for ; Wed, 17 Jun 2009 13:11:30 +0000 (UTC) (envelope-from alex@stangl.us) Received: by scout.stangl.us (Postfix, from userid 1001) id 563A8B856; Wed, 17 Jun 2009 08:11:30 -0500 (CDT) Date: Wed, 17 Jun 2009 08:11:30 -0500 From: Alex Stangl To: utisoft@gmail.com Message-ID: <20090617131130.GF78640@scout.stangl.us> References: <984490.6805.qm@web43139.mail.sp1.yahoo.com> <20090617045535.GD78640@scout.stangl.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: SA , freebsd-questions@freebsd.org Subject: Re: freebsd "toaster" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 13:11:31 -0000 On Wed, Jun 17, 2009 at 11:17:32AM +0100, Chris Rees wrote: > Just curiosity, what's wrong with source upgrading? Isn't it miles > easier than reinstalling? Probably nothing. I haven't done it before, so there's the usual apprehension dealing with the unknown. I originally thought that since I just use a generic kernel, a binary upgrade should be quickest, easiest, and safest. Freebsd.org was touting the freebsd-update script, so that seemed the obvious way to go. I guess I'll clean up the mess left by freebsd-update and try the route of upgrading via source. But then I am left wondering why the freebsd.org site continues to recommend using freebsd-update which is seemingly broken and unsupported, while people on the mailing list recommend source upgrades instead. Thanks, Alex From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:13:13 2009 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 8B3B41065675 for ; Wed, 17 Jun 2009 13:13:13 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id DA60B8FC28 for ; Wed, 17 Jun 2009 13:13:12 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 41633 invoked by uid 89); 17 Jun 2009 13:15:34 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 17 Jun 2009 13:15:34 -0000 Message-ID: <4A38EBE4.9040009@ibctech.ca> Date: Wed, 17 Jun 2009 09:13:08 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Erik Norgaard References: <4A37F2B7.6000505@locolomo.org> <4A38A8A6.4090702@locolomo.org> In-Reply-To: <4A38A8A6.4090702@locolomo.org> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020601050702060806010504" Cc: questions@freebsd.org Subject: Re: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 13:13:14 -0000 This is a cryptographically signed message in MIME format. --------------ms020601050702060806010504 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Erik Norgaard wrote: > Erik Norgaard wrote: > >> I have no problem connecting from the host to the jail, but the other >> way around doesn't work. >> >> Also, related, how do I configure multiple interfaces in a jail? > > Second problem solved, starting jail with > > # jail /var/jail jail 127.0.0.2,172.16.0.2 /bin/sh /etc/rc > > So, now I have: > > vr1: flags=8943 metric 0 > mtu 1500 > options=2808 > ether 00:40:63:ee:97:f1 > inet 172.16.0.2 netmask 0xffffffff broadcast 172.16.0.2 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.2 netmask 0xffffffff > > Now, I can connect out on vr1 to 172.16.0.1, but not on lo0 to > 127.0.0.1. Any suggestions what might be wrong? I don't think that it is a wise idea to be using the loopback address space to route packets outside of the OS, and it is even possible that some implementations forbid this behaviour (don't quote me on that). You could probably break the default behaviour by modifying your routing table, but I would advise strongly against doing that. If you want a loopback to be a receive interface, you should clone off a second one (lo1), and assign an IP address to it that was not designed to be short circuited within the host, like this: % grep lo10 /etc/rc.conf cloned_interfaces="lo1 lo3 lo10 ...etc # lo10 (IPv4 iBGP loopback, advertised by OSPF) ifconfig_lo10="UP" ifconfig_lo10="inet 172.16.104.8 netmask 255.255.255.255" ------ >From RFC 1700: (g) {127, } Internal host loopback address. Should never appear outside a host. Steve --------------ms020601050702060806010504 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwNjE3MTMxMzA4WjAjBgkqhkiG9w0BCQQxFgQUKcolqnS0S0s/bXZRTeSu/cU1 xJ8wUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AGuklziD4+vz46HdqsWymQlX6Bwza/2Brtg1Z5finRXzRrFPqKfrSWXWFCMvBas9YB83TFi4 2/reAptWZT0yiaGvLsfpFx9zBLE+R0Qb3CwKlZXvLdN81B/b+W/F5pxqr9FzGcAKB9h/hKzD 6cjp03GmhNuqcFLxYS04qwSfY2pNLEo9wEBHEe/KswDhYCQIIlR/hl4uYYQWluGX/OHqcopE taZCq/Ufo4yqWbII4JLQeL2I+IBO2yz4HeiFhroWwJGt+bTxM9Nnmeom2+XvxyWvsmw7BR00 iK/1eaqnI6Ka/a360/Y0X4+bXCTLW63g1CDK6Ij/lMihPUwG1RpnSJQAAAAAAAA= --------------ms020601050702060806010504-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:22:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71C241065672 for ; Wed, 17 Jun 2009 13:22:23 +0000 (UTC) (envelope-from matej.serc@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id BA4338FC16 for ; Wed, 17 Jun 2009 13:22:22 +0000 (UTC) (envelope-from matej.serc@gmail.com) Received: by bwz7 with SMTP id 7so298404bwz.43 for ; Wed, 17 Jun 2009 06:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=hNYpuFi+bzymgrU+Kj2GW7CLgNbOyrmuv1KOaB4BWAs=; b=Sf1mUTwsuJtBoLgOUqRWCBu7n6y/CuzFOjAFMCo2CVc5N/7P6QXMKGAeqKQ8EqPC7P uvd7ZzlbhjMKZS8/H0e6XIc+jQb4kXP0lZGgKEu6YQXaE6MVYFa6FM1rBZ9Vn20YPWas RX4AaxDFmkMrDkkJPsNlfVn3jEy3X6xaVivso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gFHmBo+KXakozrGRj0yv415G+ryfIcyUIhtGO/i3GgeV15ospzqiYmdgI59HI8a68d tSl7zjCEkrlJAE2fKhFq4QCGGj8oOtikg4UEEsM4t8NnF3o321J9GVOwxxaEH/0CXygR EtjNRJR75hwhcknkXGtqiqWY9aBal8D9c7c4s= MIME-Version: 1.0 Received: by 10.204.60.148 with SMTP id p20mr118387bkh.165.1245244941750; Wed, 17 Jun 2009 06:22:21 -0700 (PDT) In-Reply-To: <20090617124811.GA1995@owl.midgard.homeip.net> References: <497fe93d0906170435l5a3a18ccw2159d99443055122@mail.gmail.com> <20090617124811.GA1995@owl.midgard.homeip.net> Date: Wed, 17 Jun 2009 15:22:21 +0200 Message-ID: <497fe93d0906170622o672722e6pa4e3cdd589cdc0a@mail.gmail.com> From: =?windows-1252?Q?Matej_=8Aerc?= To: Erik Trulsson , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Very slow disk speed / mpt0: LSILogic SAS/SATA Adapter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 13:22:23 -0000 Hi, thank you very much for a very detailed answer. This machine is in co-location in a specialized data center which provides totally controlled environment (temperature, power etc.) and after being their partner for about 5 years now not a single power outage occured. Of course the data is backed-up regularily. One more question: where can I see if we are using background fsck? I occassionally run it to check for inconsistencies (as a forground - is this OK?). I suppose I can turn this write-caching on then. Thank you, Matej On Wed, Jun 17, 2009 at 2:48 PM, Erik Trulsson wrote: > On Wed, Jun 17, 2009 at 01:35:52PM +0200, Matej ?erc wrote: > > Hi, > > > > we have a HP ProLiant server with RAID 0/1 controller onboard. It is > > detected as mpt0 (I have attached a part of dmesg output at the end of > the > > mail). As reported by some already ( > > > http://www.mail-archive.com/freebsd-performance@freebsd.org/msg02446.html > ), > > we are also getting extremely slow write speeds. I read somewhere that > there > > are some improvements which could solve the situation in 7.2 (our system > has > > 7.1 installed and I am currently unable to turn it off and it will stay > so > > for at least 3 months). > > > > There are some information that setting hw.mpt.enable_sata_wc=1 solves > the > > write speed (it actually does as I tested!), but I would like to know > more > > about how danger that option is. We are using softupdates and now have > this > > hw.mpt.enable_sata_wc=0, after reading that it might be very dangerous > when > > using sata_wc=1. > > Not very dangerous at all, as long as you are not using background fsck. > The problem with write caching on standard IDE/SATA drives is that they > report that a write operation is finished even if it has only reached the > disk's cache. This means that some of the guarantees that softupdates is > supposed to provide regarding which order data is written to the disk, > cannot be fulfilled. > > This essentially means that if you lose power to the machine unexpectedly > you might have some filesystem inconsistencies afterward that you would not > have had without the disks' cache being enabled. (A normal reset would not > cause this problem since the disks would still retain the contents of their > caches.) > > If you are using background fsck this could be a big problem, since for > background fsck to work properly the only inconsistencies on the filesystem > must be that some blocks are marked as in use when they actually are not. > (That is one of the guarantees that softupdates is supposed to provide, but > may not be able to provide due to the behaviour of the disks' cache.) If > you do have other inconsistencies on the filesystem the whole system may > throw a kernel panic when it encounters one of them. > (A normal foreground fsck would fix all such inconsistencies before the > system starts running for real.) > > It is also the case that if your system is really busy writing to the disks > (with write caching enabled) and you lose power at exactly the wrong time > you could potentially lose a lot of data from the filesystem, since any > given write could theoretically get delayed indefinitely before it hits the > disk's platters. (If the write that gets delayed is the creation of a > directory in which lots of writes happen later you could lose all of them.) > If you have write caching disabled you will not lose more than the last 30 > seconds or so of updates. > > > Using an UPS is one obvious way of drastically reducing the number of times > the machine loses power unexpectedly, and if it is so important that this > server is not taken down I assume you already have an UPS, in which case > enabling the write caching is essentially riskfree. > > > > > > I am really looking forward to getting more information about this, it is > > actually driving me nuts. We have a number of other servers and there are > no > > problems with RAID controllers at all. And as I said, I cannot actually > turn > > of this machine and bring it back to reinstall new OS. > > > > Thank you very much for your comments and thoughts, > > Matej > > > > > > The server model is ML110G5. > > > > mpt0: port 0xd000-0xd0ff mem > > 0xfcefc000-0xfcefffff,0xfcee0000-0xfceeffff irq 16 at device 0.0 on pci5 > > mpt0: [ITHREAD] > > mpt0: MPI Version=1.5.16.0 > > mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) > > mpt0: 1 Active Volume (2 Max) > > mpt0: 3 Hidden Drive Members (10 Max) > > > > -- > > Erik Trulsson > ertr1013@student.uu.se > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:37:47 2009 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 89D811065670 for ; Wed, 17 Jun 2009 13:37:47 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id EAF7D8FC0A for ; Wed, 17 Jun 2009 13:37:46 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5HDbiYw018971; Wed, 17 Jun 2009 16:37:44 +0300 Message-ID: <4A38F1A8.2040908@otenet.gr> Date: Wed, 17 Jun 2009 16:37:44 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Andrew Gould References: <4A37380F.8020505@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 13:37:47 -0000 Andrew Gould wrote: > 2009/6/16 Manolis Kiagias : > > > List of main packages > ============== > > This is a comprehensive list of packages included in the ISO: > > abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, cdrtools, > dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, gnupg, > inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, rdesktop, > rtorrent, ristretto, samba, scribus, sudo, thunderbird, tilda, wget, > xfburn, xfce4 + plugins, xorg, zim. > > Would you consider adding unix2dos? > Thanks > Andrew > Sure. I am making a list of what people would like to see included, and will add most of them in the next iteration. Small utilities like this are not a problem. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 13:43:37 2009 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 C16691065673 for ; Wed, 17 Jun 2009 13:43:37 +0000 (UTC) (envelope-from nealhogan@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 7C1D68FC19 for ; Wed, 17 Jun 2009 13:43:37 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so133552ywe.13 for ; Wed, 17 Jun 2009 06:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PZeoMojlHgdKiid1sgoNFLCj2kYZviUr0/eX0SxBPqU=; b=CvjZWsXNlJHTooX0ccvVyUVsT4fl57OGtlUL3hlfWZ9c1KS0mzYElek1rDW+ILSpcX PJpjqfWLntU10wflU9G935JpSK9flQiuIR/bAVKckXgDsxfXWCwsaKxJV135XnvRfcz0 jFYU7UdjmVJoS4kmD3BZe4Fbjkzm/1+lAn+Pc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WAFgMfITtG3AI4Ciogidhi3+he7JXrxczh5/UVdn317xRQrwHh96M9CS3lvfuSRQ/9 Erx91fiBB/+nLSBfDj5Qwxm23xyWHeeX/6SanSV1SZaiJt9ItysVWyvsQjmlrFekfTmE mr1zCLQeFPk1iUjGHo32H0BrxxBFxaiTWWCiE= MIME-Version: 1.0 Received: by 10.151.123.13 with SMTP id a13mr1216869ybn.246.1245246216920; Wed, 17 Jun 2009 06:43:36 -0700 (PDT) In-Reply-To: <4A38F1A8.2040908@otenet.gr> References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> Date: Wed, 17 Jun 2009 08:43:36 -0500 Message-ID: From: Neal Hogan To: Manolis Kiagias Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 13:43:38 -0000 On Wed, Jun 17, 2009 at 8:37 AM, Manolis Kiagias wrote: > Andrew Gould wrote: >> 2009/6/16 Manolis Kiagias : >> >> >> List of main packages >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> This is a comprehensive list of packages included in the ISO: >> >> abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, cdrtools, >> dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, gnupg, >> inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, =A0rdesktop, >> rtorrent, ristretto, samba, scribus, sudo, thunderbird, tilda, wget, >> xfburn, =A0xfce4 + plugins, =A0xorg, zim. >> > >> Would you consider adding unix2dos? > >> Thanks > >> Andrew >> > > > Sure. I am making a list of what people would like to see included, and > will add most of them in the next iteration. Small utilities like this > are not a problem. I'm curious (and it may help quell some suggestions) what your criteria is for adding things. So far, it seems that your adding all suggestions. BTW - I like this project and have been thinking of doing something similar with oBSD. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:00:19 2009 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 B7647106564A for ; Wed, 17 Jun 2009 14:00:19 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 22DD68FC16 for ; Wed, 17 Jun 2009 14:00:11 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5HE06MO015150; Wed, 17 Jun 2009 17:00:06 +0300 Message-ID: <4A38F6E6.9090405@otenet.gr> Date: Wed, 17 Jun 2009 17:00:06 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Robert References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> <20090617064450.277f907e@vaio> In-Reply-To: <20090617064450.277f907e@vaio> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Andrew Gould Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 14:00:20 -0000 Robert wrote: > On Wed, 17 Jun 2009 16:37:44 +0300 > Manolis Kiagias wrote: > > >> Andrew Gould wrote: >> >>> 2009/6/16 Manolis Kiagias : >>> >>> >>> List of main packages >>> ============== >>> >>> This is a comprehensive list of packages included in the ISO: >>> >>> abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, >>> cdrtools, dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, >>> gnupg, inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, >>> rdesktop, rtorrent, ristretto, samba, scribus, sudo, thunderbird, >>> tilda, wget, xfburn, xfce4 + plugins, xorg, zim. >>> >>> >>> Would you consider adding unix2dos? >>> >>> Thanks >>> >>> Andrew >>> >>> >> Sure. I am making a list of what people would like to see included, >> and will add most of them in the next iteration. Small utilities like >> this are not a problem. >> >> > > First I want to say thank you. This is very welcome for my older slow > laptop. > > That said. Have you considered Claws-Mail? > > Robert > > Will consider this too, thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:10:02 2009 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 7E6B41065672 for ; Wed, 17 Jun 2009 14:10:02 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmpop111.cox.net (fed1rmpop111.cox.net [68.230.241.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4045D8FC1C for ; Wed, 17 Jun 2009 14:09:54 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090617134456.WXLU2915.fed1rmmtao103.cox.net@fed1rmimpo01.cox.net>; Wed, 17 Jun 2009 09:44:56 -0400 Received: from vaio ([98.176.33.70]) by fed1rmimpo01.cox.net with bizsmtp id 51kv1c0041WnGw2031kvA4; Wed, 17 Jun 2009 09:44:55 -0400 X-VR-Score: -280.00 X-Authority-Analysis: v=1.0 c=1 a=2W9884pQqyMA:10 a=pGLkceISAAAA:8 a=nJPtdzKIZVf4-Q6gHawA:9 a=Nl7RpykRzEy5N-rqwqajDk51sUwA:4 a=MSl-tDqOz04A:10 X-CM-Score: 0.00 Date: Wed, 17 Jun 2009 06:44:50 -0700 From: Robert To: Manolis Kiagias Message-ID: <20090617064450.277f907e@vaio> In-Reply-To: <4A38F1A8.2040908@otenet.gr> References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Andrew Gould Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 14:10:02 -0000 On Wed, 17 Jun 2009 16:37:44 +0300 Manolis Kiagias wrote: > Andrew Gould wrote: > > 2009/6/16 Manolis Kiagias : > > > > > > List of main packages > > ============== > > > > This is a comprehensive list of packages included in the ISO: > > > > abiword, archivers (zip, unzip, rar, unrar) bash, bluefish, > > cdrtools, dvd+rw-tools, evince, firefox3, gimp, gnash, gnumeric, > > gnupg, inkscape, mercurial, pkg_rmleaves, portaudit, portupgrade, > > rdesktop, rtorrent, ristretto, samba, scribus, sudo, thunderbird, > > tilda, wget, xfburn, xfce4 + plugins, xorg, zim. > > > > > Would you consider adding unix2dos? > > > Thanks > > > Andrew > > > > > Sure. I am making a list of what people would like to see included, > and will add most of them in the next iteration. Small utilities like > this are not a problem. > First I want to say thank you. This is very welcome for my older slow laptop. That said. Have you considered Claws-Mail? Robert From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:12:45 2009 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 769D6106566C for ; Wed, 17 Jun 2009 14:12:45 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id F3B648FC0A for ; Wed, 17 Jun 2009 14:12:44 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by fxm25 with SMTP id 25so340136fxm.43 for ; Wed, 17 Jun 2009 07:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=B6/7xw3d7kOj8r92xOHHkDk0tqHRbI7SJCz5kLm2nSQ=; b=bvky4gKatp5BWAuyi91VXNJhB2+QSVra4MDi8KlMgBx/NxvzBBIgojLVetTnjWj/hM nf/tns+ylFRuIzX8zGGTtcGwaH1Km3E/DRkhW7DERjnJpDFt0y+1hv235PriK/9+VlkX NAvW0LQTU5M2bhDSIfaPG9UEJKh828UP78IjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=C0tyKJOUhcKq1sqY8xthvaci/laTmqmC2XJpYO+XAfMyghCOuDm8hlV+sObxGR0FHV hWEs2FF6PchIYIrTENg6HSqZNsM1d6Xf0piDGXoqygdJhFMEuHrM4g/qw1RsphF/Cnwo 8rDchlTJTVplG+VkaCOqWhpgTaanoZ+XOkesM= MIME-Version: 1.0 Received: by 10.103.173.5 with SMTP id a5mr170234mup.5.1245247963852; Wed, 17 Jun 2009 07:12:43 -0700 (PDT) In-Reply-To: <20090617064450.277f907e@vaio> References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> <20090617064450.277f907e@vaio> Date: Wed, 17 Jun 2009 09:12:43 -0500 Message-ID: From: Andrew Gould To: Robert Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Manolis Kiagias , FreeBSD Questions Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 14:12:46 -0000 On Wed, Jun 17, 2009 at 8:44 AM, Robert wrote: > On Wed, 17 Jun 2009 16:37:44 +0300 > > First I want to say thank you. This is very welcome for my older slow > laptop. > > That said. Have you considered Claws-Mail? > > Robert > Claws-Mail is good. It can also use the address book in jpilot, which might be a good option for a lightweight PIM. Andrew From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:22:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0904C1065675 for ; Wed, 17 Jun 2009 14:22:18 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s7.blu0.hotmail.com (blu0-omc4-s7.blu0.hotmail.com [65.55.111.146]) by mx1.freebsd.org (Postfix) with ESMTP id AD44E8FC24 for ; Wed, 17 Jun 2009 14:22:17 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP9 ([65.55.111.136]) by blu0-omc4-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 07:22:17 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP9.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 07:22:16 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 3E9EF22886 for ; Wed, 17 Jun 2009 10:22:15 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 0384322873 for ; Wed, 17 Jun 2009 10:22:15 -0400 (EDT) Date: Wed, 17 Jun 2009 10:22:14 -0400 From: Carmel NY To: FreeBSD Questions Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 17 Jun 2009 14:22:16.0611 (UTC) FILETIME=[040FD730:01C9EF57] Subject: Files in /var/ftp/etc 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: Wed, 17 Jun 2009 14:22:18 -0000 This is probably a dumb question; however, since I don't know the answer I figured I might as well ask. On a new installation of FreeBSD-7.2, I opted to set up an anonymous FTP server. I just noticed that there are three files in the '/etc' directory. 1) ftpmold 2) group 3) pwd.db I know what the first one is, but what are the other two for? They are visible and down loadable to any visitor who accesses the site. Is this normal or is this something I should be concerned about? Can I just delete the two files I am unsure of? Thanks! -- Carmel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:36:54 2009 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 9BBF1106564A for ; Wed, 17 Jun 2009 14:36:54 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0858FC13 for ; Wed, 17 Jun 2009 14:36:53 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 5B7621C1A66; Wed, 17 Jun 2009 16:36:52 +0200 (CEST) Message-ID: <4A38FF83.3010501@locolomo.org> Date: Wed, 17 Jun 2009 16:36:51 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Steve Bertrand References: <4A37F2B7.6000505@locolomo.org> <4A38A8A6.4090702@locolomo.org> <4A38EBE4.9040009@ibctech.ca> In-Reply-To: <4A38EBE4.9040009@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 14:36:54 -0000 Steve Bertrand wrote: > Erik Norgaard wrote: >> Erik Norgaard wrote: >> >>> I have no problem connecting from the host to the jail, but the other >>> way around doesn't work. >>> >>> Also, related, how do I configure multiple interfaces in a jail? >> Second problem solved, starting jail with >> >> # jail /var/jail jail 127.0.0.2,172.16.0.2 /bin/sh /etc/rc >> >> So, now I have: >> >> vr1: flags=8943 metric 0 >> mtu 1500 >> options=2808 >> ether 00:40:63:ee:97:f1 >> inet 172.16.0.2 netmask 0xffffffff broadcast 172.16.0.2 >> media: Ethernet autoselect (100baseTX ) >> status: active >> lo0: flags=8049 metric 0 mtu 16384 >> inet 127.0.0.2 netmask 0xffffffff >> >> Now, I can connect out on vr1 to 172.16.0.1, but not on lo0 to >> 127.0.0.1. Any suggestions what might be wrong? > > I don't think that it is a wise idea to be using the loopback address > space to route packets outside of the OS, and it is even possible that > some implementations forbid this behaviour (don't quote me on that). I have read some recommendations not to use the loopback interface without any real explanation, I don't see why it shouldn't work with a different IP as for other interfaces - or a cloned loopback. > If you want a loopback to be a receive interface, you should clone off a > second one (lo1), and assign an IP address to it that was not designed > to be short circuited within the host, like this: > > % grep lo10 /etc/rc.conf > > cloned_interfaces="lo1 lo3 lo10 ...etc > > # lo10 (IPv4 iBGP loopback, advertised by OSPF) > ifconfig_lo10="UP" > ifconfig_lo10="inet 172.16.104.8 netmask 255.255.255.255" > >>From RFC 1700: > > (g) {127, } > > Internal host loopback address. Should never appear outside > a host. It won't. It's intended to be stricly local on the internal loopback interface. The idea is to use the loopback interface for connecting between the jail and the host while not exposing the jail to the exterior. Basically, I'm trying to setup a jail for my imap server to migrate my mail from the existing server, a last resort clumsy way of upgrading the Berkeley DB. Then a script connecting to both services can create accounts, folders and copy the mail to the new service. The idea is that this way I could do it transparently - well, that's the theory. BR, Erik. -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:42:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2019B1065686 for ; Wed, 17 Jun 2009 14:42:43 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 96EDF8FC17 for ; Wed, 17 Jun 2009 14:42:37 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by bwz7 with SMTP id 7so363406bwz.43 for ; Wed, 17 Jun 2009 07:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+tvpYFUft6j4Eg6SrYkRjgoylCvwDuM8nrP++MJtLqQ=; b=gotGVLtzswHVwPXp4EBPU/PdkACeQ3c6A4Qm2afnd0IOPE/WMyh7UAjs1+ueBnrYR/ +JBMRwGk2gagv+vdIAKZf3pcZkPHU/NgORhH8apM9o0UoANT9xUkZMAtqOgxE6mEB4au AAJ0mQQdYoS2rBWQK/kdwLOcXwG2DXzvwovpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=w90sYbN6a0t8JbztnNU8JNI1zRSkqsiSoG51FbiQNuwXnkgCWXIcfA0pbiLOwECWKY vAGJagka0QA07Pzso0bkbR2EIj9qr5YiFGko1RNlQC9dJGHf2T2WA84AwxRSb+OLJcyu KUHdtjxxR9n5Le6itQe7HinVt8x+pUSzNF4B4= MIME-Version: 1.0 Received: by 10.216.48.209 with SMTP id v59mr121008web.78.1245249755127; Wed, 17 Jun 2009 07:42:35 -0700 (PDT) In-Reply-To: <20090617131130.GF78640@scout.stangl.us> References: <984490.6805.qm@web43139.mail.sp1.yahoo.com> <20090617045535.GD78640@scout.stangl.us> <20090617131130.GF78640@scout.stangl.us> From: Chris Rees Date: Wed, 17 Jun 2009 15:42:15 +0100 Message-ID: To: Alex Stangl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: SA , freebsd-questions@freebsd.org Subject: Re: freebsd "toaster" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 14:42:43 -0000 2009/6/17 Alex Stangl : > On Wed, Jun 17, 2009 at 11:17:32AM +0100, Chris Rees wrote: >> Just curiosity, what's wrong with source upgrading? Isn't it miles >> easier than reinstalling? > > Probably nothing. I haven't done it before, so there's the usual > apprehension dealing with the unknown. I originally thought that since I > just use a generic kernel, a binary upgrade should be quickest, easiest, > and safest. Freebsd.org was touting the freebsd-update script, so that > seemed the obvious way to go. > > I guess I'll clean up the mess left by freebsd-update and try the route > of upgrading via source. But then I am left wondering why the > freebsd.org site continues to recommend using freebsd-update which is > seemingly broken and unsupported, while people on the mailing list > recommend source upgrades instead. > > Thanks, > > Alex > As I see it, binary updates are fantastic for incremental patches (for security etc), but for anything other than small patches or point releases (eg 7.1-7.2) I'd use source. Just my opinion, but it's served me fine. Basically, a source update is guaranteed and THE supported method, but freebsd-update is just so damn convenient! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 14:54:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876C51065670 for ; Wed, 17 Jun 2009 14:54:23 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-pz0-f182.google.com (mail-pz0-f182.google.com [209.85.222.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8048FC0C for ; Wed, 17 Jun 2009 14:54:23 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by pzk12 with SMTP id 12so390887pzk.7 for ; Wed, 17 Jun 2009 07:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:reply-to:from:to:subject:date :organization:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; bh=whMlSlWFYFBcno5z/0m6bVLAtlibrCXOybzbWbwzlMU=; b=thCx7Tu0fSe10s0I3Y/eSZwqbGi1NcrceL///qFG2TMSOzqXQPEkN7+ojCFwW5eDm9 f9ioICJH6u6AxZYdUcMTN/gEoB6jdyI/3drNIxrdmrPlI5I4GeOeLg+cbO7mtMxMr48X cvmWCl2IfiHt8JY6XRabOOPNe0hPblO89n6Sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:subject:date:organization:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:x-mimeole :thread-index; b=To9FxLoXn1c3VLQorZpt6etIXLHnJ1AgkheCySG9zhbmHK0X91DyJfJ5JxlC6FmobZ 37ltmyV4hxsS7TG3nnGl2e5xw/DchQjynMIqGIz5TBBdk5UYPjFjujtg3Guoxw/Adrbu Yn51resANGtAtbSPiLPvZVaHT9UJNWpekJdVc= Received: by 10.114.130.15 with SMTP id c15mr345983wad.59.1245250462606; Wed, 17 Jun 2009 07:54:22 -0700 (PDT) Received: from hades ([99.32.58.61]) by mx.google.com with ESMTPS id n9sm1275395wag.23.2009.06.17.07.54.20 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 07:54:21 -0700 (PDT) From: "Dave" To: Date: Wed, 17 Jun 2009 10:54:45 -0400 Organization: davemehler.com Message-ID: <6E7B08E1B7254B2BBD19FDC66EC4EC18@hades> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-index: AcnvW4zvJStHGUZbTdmp8B8JJ6BxOQ== Subject: bannerfiltering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dave.mehler@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 14:54:23 -0000 Hello, I've got a freebsd 7.2 machine that i need to use for banner filtering, addzapping and filtering out all the junk that comes along with adds windows viruses trojans things like that before they can get to my internal clients. Previously i used squid and dansguardian but found that slowed things down to a crawl and at times was to restrictive at times not restrictive enough. I've also tried squidguard but that didn't meet my needs either, it didn't seem to be being maintained. In the interim i was looking for a hosts file i can use on servers and clients to redirect requests to add sites to nowhere. Any solutions appreciated. Thanks. Dave. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 15:00:40 2009 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 49ADD1065676 for ; Wed, 17 Jun 2009 15:00:40 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id E996C8FC12 for ; Wed, 17 Jun 2009 15:00:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 4B2E8EB4BFF; Wed, 17 Jun 2009 17:38:32 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 3F9C3450C6; Wed, 17 Jun 2009 17:38:32 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3RD82fSskffb; Wed, 17 Jun 2009 17:38:32 +0300 (EEST) Received: from kobe.laptop (adsl105-76.kln.forthnet.gr [77.49.224.76]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 105994503F; Wed, 17 Jun 2009 17:38:32 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n5HEcVGn024363; Wed, 17 Jun 2009 17:38:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n5HEcUBD024362; Wed, 17 Jun 2009 17:38:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Manolis Kiagias References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> Date: Wed, 17 Jun 2009 17:38:30 +0300 In-Reply-To: <4A38F1A8.2040908@otenet.gr> (Manolis Kiagias's message of "Wed, 17 Jun 2009 16:37:44 +0300") Message-ID: <873a9zj57d.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions , Andrew Gould Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 15:00:40 -0000 On Wed, 17 Jun 2009 16:37:44 +0300, Manolis Kiagias wrote: > Sure. I am making a list of what people would like to see included, > and will add most of them in the next iteration. Small utilities like > this are not a problem. Until someone jumps in and asks for Emacs, I guess :grin: Good job with the ISO images, Manoli :-) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 15:03:38 2009 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 7294D106568F for ; Wed, 17 Jun 2009 15:03:38 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id D365B8FC2C for ; Wed, 17 Jun 2009 15:03:37 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488437.home.otenet.gr [94.71.72.253]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5HF3ajl028399; Wed, 17 Jun 2009 18:03:36 +0300 Message-ID: <4A3905C8.7010708@otenet.gr> Date: Wed, 17 Jun 2009 18:03:36 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Giorgos Keramidas References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> <873a9zj57d.fsf@kobe.laptop> In-Reply-To: <873a9zj57d.fsf@kobe.laptop> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Andrew Gould Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 15:03:38 -0000 Giorgos Keramidas wrote: > On Wed, 17 Jun 2009 16:37:44 +0300, Manolis Kiagias wrote: > >> Sure. I am making a list of what people would like to see included, >> and will add most of them in the next iteration. Small utilities like >> this are not a problem. >> > > Until someone jumps in and asks for Emacs, I guess :grin: > > Good job with the ISO images, Manoli :-) > > Hehe, thanks. Emacs and Vim should both be included actually. I wouldn't like my ISOs to burst up in flames ;) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 15:10:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D1211065673 for ; Wed, 17 Jun 2009 15:10:19 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id B8ADD8FC20 for ; Wed, 17 Jun 2009 15:10:18 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090617151017.JLLT6742.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Wed, 17 Jun 2009 16:10:17 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090617151017.XSHG2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Wed, 17 Jun 2009 16:10:17 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id A079F66EB; Wed, 17 Jun 2009 16:10:14 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id DA46B66E3 for ; Wed, 17 Jun 2009 16:10:13 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Wed, 17 Jun 2009 16:10:13 +0100 From: "Daniel Bye" Date: Wed, 17 Jun 2009 16:10:13 +0100 To: FreeBSD Questions Message-ID: <20090617151012.GF93430@torus.slightlystrange.org> Mail-Followup-To: FreeBSD Questions References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8TaQrIeukR7mmbKf" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.1-STABLE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=NVliporH3LYA:10 a=ehNlctqhnw0A:10 a=p4f0Z-4_ulNVMLoDu5oA:9 a=bP3CTvKuXheXvBUey4AA:7 a=IbF5opJTKBglKaaVWHt3xlv-JeQA:4 a=cKfpXejYf7zMyQ0m_m4A:9 a=AUgVTCZoyCU8m8PB-9o_6z5u77YA:4 Subject: Re: Files in /var/ftp/etc directory. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 15:10:19 -0000 --8TaQrIeukR7mmbKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 17, 2009 at 10:22:14AM -0400, Carmel NY wrote: > This is probably a dumb question; however, since I don't know the > answer I figured I might as well ask. >=20 > On a new installation of FreeBSD-7.2, I opted to set up an anonymous > FTP server. I just noticed that there are three files in the '/etc' > directory. >=20 > 1) ftpmold > 2) group > 3) pwd.db They are to enable group and uid lookups when a logged in client issues, for example, an ls command. Without them, clients will only see the=20 numeric user and group ids. And is it really pwd.db? I would expect passwd,= =20 but I haven't run an anonymous ftp server for about a decade now... In=20 either case, both files must be readable by everyone, or lookups would=20 fail. Compare the files of the same name in your system's /etc - both=20 have rw-r--r-- permissions, for the same reason - to commands invoked by ordinary users to perform user name and group name lookups. >=20 > I know what the first one is, but what are the other two for? They are > visible and down loadable to any visitor who accesses the site. Is this > normal or is this something I should be concerned about? Can I just > delete the two files I am unsure of? --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko5B1QACgkQixf5fBYiFmqlOACggMjNG+fGSXhdG1FVrEE3M4hv b1gAn2w7pWNlIb73B3u6fKozgBMb2Xf3 =jzWS -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 15:51:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 650FD106566B for ; Wed, 17 Jun 2009 15:51:45 +0000 (UTC) (envelope-from brentb@beanfield.com) Received: from smtp2.beanfield.net (smtp2.beanfield.net [206.223.173.34]) by mx1.freebsd.org (Postfix) with ESMTP id 32A6B8FC12 for ; Wed, 17 Jun 2009 15:51:44 +0000 (UTC) (envelope-from brentb@beanfield.com) Received: from brent.local ([66.207.193.251]) by smtp2.beanfield.net (8.13.4/8.12.11) with ESMTP id n5HFBUN1088146; Wed, 17 Jun 2009 11:11:30 -0400 (EDT) (envelope-from brentb@beanfield.com) Message-ID: <4A39088B.1060700@beanfield.com> Date: Wed, 17 Jun 2009 11:15:23 -0400 From: Brent Bloxam Organization: Beanfield Technologies User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: dave.mehler@gmail.com References: <6E7B08E1B7254B2BBD19FDC66EC4EC18@hades> In-Reply-To: <6E7B08E1B7254B2BBD19FDC66EC4EC18@hades> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: bannerfiltering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 15:51:45 -0000 Dave wrote: > Hello, > I've got a freebsd 7.2 machine that i need to use for banner > filtering, addzapping and filtering out all the junk that comes along with > adds windows viruses trojans things like that before they can get to my > internal clients. Previously i used squid and dansguardian but found that > slowed things down to a crawl and at times was to restrictive at times not > restrictive enough. I've also tried squidguard but that didn't meet my needs > either, it didn't seem to be being maintained. > In the interim i was looking for a hosts file i can use on servers > and clients to redirect requests to add sites to nowhere. > Any solutions appreciated. > Thanks. > Dave. > > _______________________________________________ > 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" http://someonewhocares.org/hosts/ should suffice. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 15:54:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 982EF1065670 for ; Wed, 17 Jun 2009 15:54:52 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0251.b.hostedemail.com [64.98.42.251]) by mx1.freebsd.org (Postfix) with ESMTP id 44ABF8FC22 for ; Wed, 17 Jun 2009 15:54:52 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (b-bigip1 [10.5.19.254]) by smtpgrave03.b.hostedemail.com (Postfix) with ESMTP id C63D9493A3F9 for ; Wed, 17 Jun 2009 15:33:15 +0000 (UTC) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay02.b.hostedemail.com (Postfix) with SMTP id 74B342B84232; Wed, 17 Jun 2009 15:33:14 +0000 (UTC) X-Spam-Summary: 2, 0, 0, b6b128e9b43dc2ab, 944facfeb153b4f0, eagletree@hughes.net, freebsd-questions@freebsd.org:dave.mehler@gmail.com, RULES_HIT:355:379:541:599:601:945:966:967:973:980:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2196:2199:2393:2525:2553:2559:2563:2682:2685:2857:2859:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3353:3636:3865:3866:3867:3868:3869:3871:3872:3873:3874:3876:3877:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4385:4860:5007:6114: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 X-Session-Marker: 6561676C6574726565406875676865732E6E6574 X-Filterd-Recvd-Size: 2183 Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf02.b.hostedemail.com (Postfix) with ESMTP; Wed, 17 Jun 2009 15:33:08 +0000 (UTC) Message-Id: From: Chris To: dave.mehler@gmail.com In-Reply-To: <6E7B08E1B7254B2BBD19FDC66EC4EC18@hades> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 17 Jun 2009 08:32:54 -0700 References: <6E7B08E1B7254B2BBD19FDC66EC4EC18@hades> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-questions@freebsd.org Subject: Re: bannerfiltering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 15:54:52 -0000 On Jun 17, 2009, at 7:54 AM, Dave wrote: > Hello, > I've got a freebsd 7.2 machine that i need to use for banner > filtering, addzapping and filtering out all the junk that comes > along with > adds windows viruses trojans things like that before they can get to > my > internal clients. Previously i used squid and dansguardian but found > that > slowed things down to a crawl and at times was to restrictive at > times not > restrictive enough. I've also tried squidguard but that didn't meet > my needs > either, it didn't seem to be being maintained. > I'm using snort_inline with FreeBSD 7.0, IPFW, and IF_BRIDGE. Massive traffic running through it and no performance issues. Dropping sessions is effortless but there are more complex ways to filter and pass which sounds like what you would want to do. I've not experimented with that. There isn't a lot of documentation on set up and what there is states that it doesn't work. That's out of date because it does, quite well really. The docs out there for snort_inline and non-bridged configurations are still useful. I don't have a link but found them with googling. > _______________________________________________ > 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 Jun 17 16:27:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8038A106566C for ; Wed, 17 Jun 2009 16:27:48 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4D28FC15 for ; Wed, 17 Jun 2009 16:27:48 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 2891B5E229 for ; Wed, 17 Jun 2009 18:27:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.016 X-Spam-Level: X-Spam-Status: No, score=-2.016 tagged_above=-999 required=5 tests=[AWL=0.584, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KJc8RWPowF69 for ; Wed, 17 Jun 2009 18:27:42 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 0607E5E197 for ; Wed, 17 Jun 2009 18:27:41 +0200 (CEST) Message-ID: <4A39197D.6000501@eskk.nu> Date: Wed, 17 Jun 2009 18:27:41 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.21 (X11/20090407) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 16:27:48 -0000 On a newly installed 7.2-RELEASE system with all ports upgraded and cvsup'ed I have a problem. Both root and user has .xsession linked to .xinitrc and contains #!/bin/sh exec /usr/local/bin/startxfce4 If I execute startx as root TWM is started! If I execute startxfce4 as root XFCE4 is started If I execute startx as user I get a black screen that after some minutes returns to the prompt. If I execute startxfce4 as user XFCE4 is started I've checked the rights on startx and startxfce4 plus .xsession and .xinitrc and they are the same as I have on another 7.2 system that works. I could need some help to find the problem. Thanks Leslie From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 16:53:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC3B01065675 for ; Wed, 17 Jun 2009 16:53:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5714E8FC0A for ; Wed, 17 Jun 2009 16:53:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz7 with SMTP id 7so467255bwz.43 for ; Wed, 17 Jun 2009 09:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AYHHdN1BFwXB4E/0F9QafhdZpkvIUQmq4eNAeHpVNBo=; b=aF6FBZ5wpVoMAhVoNruv9DX4IZASEdKjRQfwoyqujpx66A8pJhhIuS/5x2ML6SIDaa rOAwDCJvcp9zmfx9MYf+FXssIgP3g+d++PckMHW/YfS6pEs42ptEKhPnUZSqTuH7N7d1 6+W4KuH6eb3ao9UlOngoMI3k3xwxvsgIKdSN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Zczc/leWGjhL061jvQ6A4CkRwhKozJ1ZzQoICceNZHZQhsQcnjRFB2pAab6d4crmUA 5N8n3sQTZ5YJJcsHxWax7Ql8iiy4rsRNkWUi5N1vmUgEXT6ZKW/iPJOKyFiUxlS27lG+ Hy6Ypc3Tkm7TukpwcdE6dK5K/IU5jbLdHXMas= MIME-Version: 1.0 Received: by 10.204.51.210 with SMTP id e18mr328385bkg.69.1245257636153; Wed, 17 Jun 2009 09:53:56 -0700 (PDT) In-Reply-To: <4A39197D.6000501@eskk.nu> References: <4A39197D.6000501@eskk.nu> Date: Wed, 17 Jun 2009 12:53:55 -0400 Message-ID: <4ad871310906170953r56827e13wb4fac8473ac58dd5@mail.gmail.com> From: Glen Barber To: Leslie Jensen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 16:53:58 -0000 On Wed, Jun 17, 2009 at 12:27 PM, Leslie Jensen wrote: > On a newly installed 7.2-RELEASE system with all ports upgraded and cvsup'ed > I have a problem. > > Both root and user has > > .xsession linked to .xinitrc > > and contains > > #!/bin/sh > exec /usr/local/bin/startxfce4 > > > If I execute startx as root TWM is started! > > If I execute startxfce4 as root XFCE4 is started > > > > If I execute startx as user I get a black screen that after some minutes > returns to the prompt. > > If I execute startxfce4 as user XFCE4 is started > > I've checked the rights on startx and startxfce4 plus .xsession and .xinitrc > and they are the same as I have on another 7.2 system that works. > > I could need some help to find the problem. > Hi, Leslie Try this. Create a file: $HOME/.xinitrc containing: /usr/local/bin/startxfce4 Then give 'startx' another shot. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 17:11:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 135B11065670 for ; Wed, 17 Jun 2009 17:11:05 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id C44798FC23 for ; Wed, 17 Jun 2009 17:11:04 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.194] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MGyfG-000Bfp-UY for freebsd-questions@freebsd.org; Wed, 17 Jun 2009 21:11:11 +0400 To: freebsd-questions@freebsd.org References: <20090617061933.33878200@scorpio.seibercom.net> From: Boris Samorodov Date: Wed, 17 Jun 2009 21:11:51 +0400 In-Reply-To: <20090617061933.33878200@scorpio.seibercom.net> (Gerard's message of "Wed\, 17 Jun 2009 06\:19\:33 -0400") Message-ID: <01023496@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Updating linux-pango X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 17:11:05 -0000 Gerard writes: > Affected package: linux-pango-1.10.2_3 > Type of problem: pango -- integer overflow. > Reference: > > This problem has existed for awhile now. Unless: > > DISABLE_VULNERABILITIES=yes > > is used, linux-pango and any port that depends on it will refuse to > build. Is there any information on when this problem will be resolved? > I really do not like intentionally installing a program with a > potential security problem; however, in this case I have no choice. Usually a search at archieves of FreeBSD maillists may be helpful: http://lists.freebsd.org/pipermail/freebsd-questions/2009-June/200565.html WBR -- bsam From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 17:39:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 776491065672 for ; Wed, 17 Jun 2009 17:39:23 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id 23BFA8FC12 for ; Wed, 17 Jun 2009 17:39:23 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 024F064666 for ; Wed, 17 Jun 2009 14:19:09 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0MYfmY3Vxyu for ; Wed, 17 Jun 2009 14:19:02 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id 9335F645E2 for ; Wed, 17 Jun 2009 14:19:02 -0300 (ART) Message-ID: <4A39254F.6000603@unp.edu.ar> Date: Wed, 17 Jun 2009 14:18:07 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: FreeBSD Users Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 17:39:23 -0000 Hi all First time posting. I am a long time Linux user (desktop and server) and started with FreeBSD a year ago. Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about the OS and how to configure different services I used in Linux (Slackware). My post is regarding something I couldn't find information on how to implement it. Here's the situation: I had a proxy server (Squid + Dansguardian) under Slackware on the LAN which, via 'ip route' I make it use 3 gateways connected each one to an ADSL line and balance the requests. Unfortunately my server crashed and I took the oportunity to install a new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working fine. My problem is that I don't know how to make the server use the other 2 gateways I have left and balance the requests on all ADSL lines. 192.168.10.9/16 proxy 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC to ADSL modem) 192.168.30.100/16 2nd gateway 192.168.30.1/16 3rd gateway I found it could be done with PF (also read most of The Book of PF) but I am quite lost about how to do it. Any information would be greatly appreciated. Thanks in advance Raúl I. Becette From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 17:50:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55549106566B for ; Wed, 17 Jun 2009 17:50:02 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 27F3A8FC13 for ; Wed, 17 Jun 2009 17:50:02 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5HHnL1Q008812; Wed, 17 Jun 2009 12:49:31 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id AB0AA8A913; Wed, 17 Jun 2009 12:49:20 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id 89CEC8A906; Wed, 17 Jun 2009 12:49:20 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 12:49:19 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 17 Jun 2009 12:48:58 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gateway load balance thread-index: AcnvcrzFoMfyVLQ8SzmXbGLlj4RySQAASdy5 From: "Gary Gatten" To: , X-OriginalArrivalTime: 17 Jun 2009 17:49:19.0914 (UTC) FILETIME=[F0ED70A0:01C9EF73] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 17:50:02 -0000 QWRkaW5nIDIgbW9yZSBkZWZhdWx0IHJvdXRlcyB3aXRoIHNhbWUgd2VpZ2h0IHRvIGVhY2ggZHNs IGxpbmUgd29uJ3Qgd29yaz8NCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQ0KRnJvbTog b3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgPG93bmVyLWZyZWVic2QtcXVlc3Rp b25zQGZyZWVic2Qub3JnPg0KVG86IEZyZWVCU0QgVXNlcnMgPGZyZWVic2QtcXVlc3Rpb25zQGZy ZWVic2Qub3JnPg0KU2VudDogV2VkIEp1biAxNyAxMjoxODowNyAyMDA5DQpTdWJqZWN0OiBHYXRl d2F5IGxvYWQgYmFsYW5jZQ0KDQpIaSBhbGwNCg0KRmlyc3QgdGltZSBwb3N0aW5nLg0KDQpJIGFt IGEgbG9uZyB0aW1lIExpbnV4IHVzZXIgKGRlc2t0b3AgYW5kIHNlcnZlcikgYW5kIHN0YXJ0ZWQg d2l0aCANCkZyZWVCU0QgYSB5ZWFyIGFnby4NClRoYW5rcyB0byB0aGUgYm9vayBBYnNvbHV0ZSBG cmVlQlNEIDJuZCBFZGl0aW9uIEkgbGVhcm5lZCBhIGxvdCBhYm91dCANCnRoZSBPUyBhbmQgaG93 IHRvIGNvbmZpZ3VyZSBkaWZmZXJlbnQgc2VydmljZXMgSSB1c2VkIGluIExpbnV4IChTbGFja3dh cmUpLg0KDQpNeSBwb3N0IGlzIHJlZ2FyZGluZyBzb21ldGhpbmcgSSBjb3VsZG4ndCBmaW5kIGlu Zm9ybWF0aW9uIG9uIGhvdyB0byANCmltcGxlbWVudCBpdC4gSGVyZSdzIHRoZSBzaXR1YXRpb246 DQoNCkkgaGFkIGEgcHJveHkgc2VydmVyIChTcXVpZCArIERhbnNndWFyZGlhbikgdW5kZXIgU2xh Y2t3YXJlIG9uIHRoZSBMQU4gDQp3aGljaCwgdmlhICdpcCByb3V0ZScgSSBtYWtlIGl0IHVzZSAz IGdhdGV3YXlzIGNvbm5lY3RlZCBlYWNoIG9uZSB0byBhbiANCkFEU0wgbGluZSBhbmQgYmFsYW5j ZSB0aGUgcmVxdWVzdHMuDQpVbmZvcnR1bmF0ZWx5IG15IHNlcnZlciBjcmFzaGVkIGFuZCBJIHRv b2sgdGhlIG9wb3J0dW5pdHkgdG8gaW5zdGFsbCBhIA0KbmV3IG9uZSB1bmRlciBGcmVlQlNEIDcu MC1SRUxFQVNFLiBTcXVpZCBhbmQgRGFuc2d1YXJkaWFuIGFyZSB3b3JraW5nIA0KZmluZS4gTXkg cHJvYmxlbSBpcyB0aGF0IEkgZG9uJ3Qga25vdyBob3cgdG8gbWFrZSB0aGUgc2VydmVyIHVzZSB0 aGUgDQpvdGhlciAyIGdhdGV3YXlzIEkgaGF2ZSBsZWZ0IGFuZCBiYWxhbmNlIHRoZSByZXF1ZXN0 cyBvbiBhbGwgQURTTCBsaW5lcy4NCg0KMTkyLjE2OC4xMC45LzE2ICAgICAgICAgICAgICAgICAg ICAgIHByb3h5DQoxOTIuMTY4LjEwLjIvMTYgICAgICAgICAgICAgICAgICAgICAgMXN0IGdhdGV3 YXkgKDEgTklDIHRvIExBTiAtIDIgTklDIA0KdG8gQURTTCBtb2RlbSkNCjE5Mi4xNjguMzAuMTAw LzE2ICAgICAgICAgICAgICAgICAybmQgZ2F0ZXdheQ0KMTkyLjE2OC4zMC4xLzE2ICAgICAgICAg ICAgICAgICAgICAgIDNyZCBnYXRld2F5DQoNCkkgZm91bmQgaXQgY291bGQgYmUgZG9uZSB3aXRo IFBGIChhbHNvIHJlYWQgbW9zdCBvZiBUaGUgQm9vayBvZiBQRikgYnV0IA0KSSBhbSBxdWl0ZSBs b3N0IGFib3V0IGhvdyB0byBkbyBpdC4NCg0KQW55IGluZm9ybWF0aW9uIHdvdWxkIGJlIGdyZWF0 bHkgYXBwcmVjaWF0ZWQuDQoNClRoYW5rcyBpbiBhZHZhbmNlDQoNClJhw7psIEkuIEJlY2V0dGUN Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpmcmVlYnNk LXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QNCmh0dHA6Ly9saXN0cy5mcmVlYnNk Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtcXVlc3Rpb25zDQpUbyB1bnN1YnNjcmliZSwg c2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVzdGlvbnMtdW5zdWJzY3JpYmVAZnJlZWJzZC5v cmciDQoKCgoKCjxmb250IHNpemU9IjEiPgo8ZGl2IHN0eWxlPSdib3JkZXI6bm9uZTtib3JkZXIt Ym90dG9tOmRvdWJsZSB3aW5kb3d0ZXh0IDIuMjVwdDtwYWRkaW5nOjBpbiAwaW4gMS4wcHQgMGlu Jz4KPC9kaXY+CiJUaGlzIGVtYWlsIGlzIGludGVuZGVkIHRvIGJlIHJldmlld2VkIGJ5IG9ubHkg dGhlIGludGVuZGVkIHJlY2lwaWVudAogYW5kIG1heSBjb250YWluIGluZm9ybWF0aW9uIHRoYXQg aXMgcHJpdmlsZWdlZCBhbmQvb3IgY29uZmlkZW50aWFsLgogSWYgeW91IGFyZSBub3QgdGhlIGlu dGVuZGVkIHJlY2lwaWVudCwgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQgdGhhdAogYW55IHJldmll dywgdXNlLCBkaXNzZW1pbmF0aW9uLCBkaXNjbG9zdXJlIG9yIGNvcHlpbmcgb2YgdGhpcyBlbWFp bAogYW5kIGl0cyBhdHRhY2htZW50cywgaWYgYW55LCBpcyBzdHJpY3RseSBwcm9oaWJpdGVkLiAg SWYgeW91IGhhdmUKIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJyb3IsIHBsZWFzZSBpbW1lZGlh dGVseSBub3RpZnkgdGhlIHNlbmRlciBieQogcmV0dXJuIGVtYWlsIGFuZCBkZWxldGUgdGhpcyBl bWFpbCBmcm9tIHlvdXIgc3lzdGVtLiIKPC9mb250PgoK From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:00:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70CAE1065692 for ; Wed, 17 Jun 2009 18:00:14 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3F98FC24 for ; Wed, 17 Jun 2009 18:00:13 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5HHxb3w023085; Wed, 17 Jun 2009 12:59:53 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CC4438A92E; Wed, 17 Jun 2009 12:59:37 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id ACC558A92B; Wed, 17 Jun 2009 12:59:37 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 12:59:37 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 17 Jun 2009 12:59:36 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793EFEF@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gateway load balance thread-index: AcnvcrzFoMfyVLQ8SzmXbGLlj4RySQAAqN5i From: "Gary Gatten" To: , X-OriginalArrivalTime: 17 Jun 2009 17:59:37.0226 (UTC) FILETIME=[60DFC6A0:01C9EF75] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:00:16 -0000 UFM6IGt1ZG9zIGZvciBhY3R1YWxseSByZWFkaW5nIGFsbCB0aGF0IHN0dWZmIQ0KDQotLS0tLSBP cmlnaW5hbCBNZXNzYWdlIC0tLS0tDQpGcm9tOiBvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVl YnNkLm9yZyA8b3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpUbzogRnJlZUJT RCBVc2VycyA8ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc+DQpTZW50OiBXZWQgSnVuIDE3 IDEyOjE4OjA3IDIwMDkNClN1YmplY3Q6IEdhdGV3YXkgbG9hZCBiYWxhbmNlDQoNCkhpIGFsbA0K DQpGaXJzdCB0aW1lIHBvc3RpbmcuDQoNCkkgYW0gYSBsb25nIHRpbWUgTGludXggdXNlciAoZGVz a3RvcCBhbmQgc2VydmVyKSBhbmQgc3RhcnRlZCB3aXRoIA0KRnJlZUJTRCBhIHllYXIgYWdvLg0K VGhhbmtzIHRvIHRoZSBib29rIEFic29sdXRlIEZyZWVCU0QgMm5kIEVkaXRpb24gSSBsZWFybmVk IGEgbG90IGFib3V0IA0KdGhlIE9TIGFuZCBob3cgdG8gY29uZmlndXJlIGRpZmZlcmVudCBzZXJ2 aWNlcyBJIHVzZWQgaW4gTGludXggKFNsYWNrd2FyZSkuDQoNCk15IHBvc3QgaXMgcmVnYXJkaW5n IHNvbWV0aGluZyBJIGNvdWxkbid0IGZpbmQgaW5mb3JtYXRpb24gb24gaG93IHRvIA0KaW1wbGVt ZW50IGl0LiBIZXJlJ3MgdGhlIHNpdHVhdGlvbjoNCg0KSSBoYWQgYSBwcm94eSBzZXJ2ZXIgKFNx dWlkICsgRGFuc2d1YXJkaWFuKSB1bmRlciBTbGFja3dhcmUgb24gdGhlIExBTiANCndoaWNoLCB2 aWEgJ2lwIHJvdXRlJyBJIG1ha2UgaXQgdXNlIDMgZ2F0ZXdheXMgY29ubmVjdGVkIGVhY2ggb25l IHRvIGFuIA0KQURTTCBsaW5lIGFuZCBiYWxhbmNlIHRoZSByZXF1ZXN0cy4NClVuZm9ydHVuYXRl bHkgbXkgc2VydmVyIGNyYXNoZWQgYW5kIEkgdG9vayB0aGUgb3BvcnR1bml0eSB0byBpbnN0YWxs IGEgDQpuZXcgb25lIHVuZGVyIEZyZWVCU0QgNy4wLVJFTEVBU0UuIFNxdWlkIGFuZCBEYW5zZ3Vh cmRpYW4gYXJlIHdvcmtpbmcgDQpmaW5lLiBNeSBwcm9ibGVtIGlzIHRoYXQgSSBkb24ndCBrbm93 IGhvdyB0byBtYWtlIHRoZSBzZXJ2ZXIgdXNlIHRoZSANCm90aGVyIDIgZ2F0ZXdheXMgSSBoYXZl IGxlZnQgYW5kIGJhbGFuY2UgdGhlIHJlcXVlc3RzIG9uIGFsbCBBRFNMIGxpbmVzLg0KDQoxOTIu MTY4LjEwLjkvMTYgICAgICAgICAgICAgICAgICAgICAgcHJveHkNCjE5Mi4xNjguMTAuMi8xNiAg ICAgICAgICAgICAgICAgICAgICAxc3QgZ2F0ZXdheSAoMSBOSUMgdG8gTEFOIC0gMiBOSUMgDQp0 byBBRFNMIG1vZGVtKQ0KMTkyLjE2OC4zMC4xMDAvMTYgICAgICAgICAgICAgICAgIDJuZCBnYXRl d2F5DQoxOTIuMTY4LjMwLjEvMTYgICAgICAgICAgICAgICAgICAgICAgM3JkIGdhdGV3YXkNCg0K SSBmb3VuZCBpdCBjb3VsZCBiZSBkb25lIHdpdGggUEYgKGFsc28gcmVhZCBtb3N0IG9mIFRoZSBC b29rIG9mIFBGKSBidXQgDQpJIGFtIHF1aXRlIGxvc3QgYWJvdXQgaG93IHRvIGRvIGl0Lg0KDQpB bnkgaW5mb3JtYXRpb24gd291bGQgYmUgZ3JlYXRseSBhcHByZWNpYXRlZC4NCg0KVGhhbmtzIGlu IGFkdmFuY2UNCg0KUmHDumwgSS4gQmVjZXR0ZQ0KX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18NCmZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIG1haWxp bmcgbGlzdA0KaHR0cDovL2xpc3RzLmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJz ZC1xdWVzdGlvbnMNClRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLXF1 ZXN0aW9ucy11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyINCgoKCgoKPGZvbnQgc2l6ZT0iMSI+Cjxk aXYgc3R5bGU9J2JvcmRlcjpub25lO2JvcmRlci1ib3R0b206ZG91YmxlIHdpbmRvd3RleHQgMi4y NXB0O3BhZGRpbmc6MGluIDBpbiAxLjBwdCAwaW4nPgo8L2Rpdj4KIlRoaXMgZW1haWwgaXMgaW50 ZW5kZWQgdG8gYmUgcmV2aWV3ZWQgYnkgb25seSB0aGUgaW50ZW5kZWQgcmVjaXBpZW50CiBhbmQg bWF5IGNvbnRhaW4gaW5mb3JtYXRpb24gdGhhdCBpcyBwcml2aWxlZ2VkIGFuZC9vciBjb25maWRl bnRpYWwuCiBJZiB5b3UgYXJlIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBpZW50LCB5b3UgYXJlIGhl cmVieSBub3RpZmllZCB0aGF0CiBhbnkgcmV2aWV3LCB1c2UsIGRpc3NlbWluYXRpb24sIGRpc2Ns b3N1cmUgb3IgY29weWluZyBvZiB0aGlzIGVtYWlsCiBhbmQgaXRzIGF0dGFjaG1lbnRzLCBpZiBh bnksIGlzIHN0cmljdGx5IHByb2hpYml0ZWQuICBJZiB5b3UgaGF2ZQogcmVjZWl2ZWQgdGhpcyBl bWFpbCBpbiBlcnJvciwgcGxlYXNlIGltbWVkaWF0ZWx5IG5vdGlmeSB0aGUgc2VuZGVyIGJ5CiBy ZXR1cm4gZW1haWwgYW5kIGRlbGV0ZSB0aGlzIGVtYWlsIGZyb20geW91ciBzeXN0ZW0uIgo8L2Zv bnQ+Cgo= From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:12:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD04106564A for ; Wed, 17 Jun 2009 18:12:07 +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 3D7B38FC08 for ; Wed, 17 Jun 2009 18:12: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 n5HIBw1Z035998; Wed, 17 Jun 2009 20:11:58 +0200 (CEST) (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 n5HIBwn2035995; Wed, 17 Jun 2009 20:11:58 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 17 Jun 2009 20:11:58 +0200 (CEST) From: Wojciech Puchar To: "Raul I. Becette" In-Reply-To: <4A39254F.6000603@unp.edu.ar> Message-ID: References: <4A39254F.6000603@unp.edu.ar> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Users Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:12:07 -0000 > > I am a long time Linux user (desktop and server) and started with FreeBSD a > year ago. > Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about the OS > and how to configure different services I used in Linux (Slackware). very rare case today - someone that read books FIRST :))) > > I had a proxy server (Squid + Dansguardian) under Slackware on the LAN which, > via 'ip route' I make it use 3 gateways connected each one to an ADSL line > and balance the requests. > Unfortunately my server crashed and I took the oportunity to install a new > one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working fine. My > problem is that I don't know how to make the server use the other 2 gateways > I have left and balance the requests on all ADSL lines. use ipfw and fwd command. for example with output section add 10000 fwd gw1_IP from DSL1_subnet to any via gw1_ethernet add 10001 fwd gw2_IP from DSL2_subnet to any via gw2_ethernet add 10002 fwd gw3_IP from DSL3_subnet to any via gw3_ethernet please do treat above as an example of course. Of course use right squid commands so it will select right source IP based on the rules you want, but as you already did id under linux i assume you have this practiced already. i had 5+2 Polish Telecom links connected to one server - worked fine. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:14:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D1E31065670 for ; Wed, 17 Jun 2009 18:14:07 +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 D9D3F8FC0C for ; Wed, 17 Jun 2009 18:14: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 n5HIDxJZ036011; Wed, 17 Jun 2009 20:13:59 +0200 (CEST) (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 n5HIDxFA036008; Wed, 17 Jun 2009 20:13:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 17 Jun 2009 20:13:59 +0200 (CEST) From: Wojciech Puchar To: Gary Gatten In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> Message-ID: References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1626729238-13365985-1245262439=:35972" Cc: freebsd-questions@freebsd.org, raulbecette@unp.edu.ar Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:14:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1626729238-13365985-1245262439=:35972 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT > Adding 2 more default routes with same weight to each dsl line won't work? No, because you have to route things beginning from connection 1 subnet through connection 1, connection 2 subnet through connection 2 etc. Your idea will result in routing all outgoing traffic randomly through 3 lines. At least with polish telecom it will not work. If you have connection with say 12.34.56.72/29 subnet, you have to send packets from that subnet. And that's proper behaviour, as it blocks spoofing. > > ----- Original Message ----- > From: owner-freebsd-questions@freebsd.org > To: FreeBSD Users > Sent: Wed Jun 17 12:18:07 2009 > Subject: Gateway load balance > > Hi all > > First time posting. > > I am a long time Linux user (desktop and server) and started with > FreeBSD a year ago. > Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about > the OS and how to configure different services I used in Linux (Slackware). > > My post is regarding something I couldn't find information on how to > implement it. Here's the situation: > > I had a proxy server (Squid + Dansguardian) under Slackware on the LAN > which, via 'ip route' I make it use 3 gateways connected each one to an > ADSL line and balance the requests. > Unfortunately my server crashed and I took the oportunity to install a > new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working > fine. My problem is that I don't know how to make the server use the > other 2 gateways I have left and balance the requests on all ADSL lines. > > 192.168.10.9/16 proxy > 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC > to ADSL modem) > 192.168.30.100/16 2nd gateway > 192.168.30.1/16 3rd gateway > > I found it could be done with PF (also read most of The Book of PF) but > I am quite lost about how to do it. > > Any information would be greatly appreciated. > > Thanks in advance > > Raúl I. Becette > _______________________________________________ > 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" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
--1626729238-13365985-1245262439=:35972-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:21:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C0A21065675 for ; Wed, 17 Jun 2009 18:21:57 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 0DD9E8FC1D for ; Wed, 17 Jun 2009 18:21:56 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5HILBQn008557; Wed, 17 Jun 2009 13:21:26 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 070778090A; Wed, 17 Jun 2009 13:21:11 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost3.waddell.com (Postfix) with ESMTP id E623780909; Wed, 17 Jun 2009 13:21:10 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 13:21:10 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 17 Jun 2009 13:21:01 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793EFF4@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Gateway load balance thread-index: Acnvd53lwgorlaw1RFyVrCLuEzSu/wAAMBsT From: "Gary Gatten" To: X-OriginalArrivalTime: 17 Jun 2009 18:21:10.0677 (UTC) FILETIME=[63D4BC50:01C9EF78] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, raulbecette@unp.edu.ar Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:21:57 -0000 SSBtZWFudCwgdGhlIG9yaWdpbmFsIHNvdXJjZSBmbG93cyBhcmUgbmF0J2QgdG8gd2hhdGV2ZXIg b3V0Ym91bmQgaW50ZXJmYWNlIGlwIHRoZXkgYXJlIFJSTEIgdG8uIFRoYXQgd2F5IGFueSBpbnRl cm5hbCBmbG93IGNhbiB1c2UgYW55IGlzcCBjb25uZWN0aW9uLiAgTW9zdCBvZiBteSBpbnRlcmVz dGluZyByb3V0aW5nLCBOQVQsIGV0YyBJIGRvIHdpdGggQ2kkY28gc28gbm90IGFsbCB0aGF0IHVw IG9uIEJTRCdzIG9wdGlvbnMuDQoNCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0NCkZyb206 IG93bmVyLWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnIDxvd25lci1mcmVlYnNkLXF1ZXN0 aW9uc0BmcmVlYnNkLm9yZz4NClRvOiBHYXJ5IEdhdHRlbg0KQ2M6IGZyZWVic2QtcXVlc3Rpb25z QGZyZWVic2Qub3JnIDxmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz47IHJhdWxiZWNldHRl QHVucC5lZHUuYXIgPHJhdWxiZWNldHRlQHVucC5lZHUuYXI+DQpTZW50OiBXZWQgSnVuIDE3IDEz OjEzOjU5IDIwMDkNClN1YmplY3Q6IFJlOiBHYXRld2F5IGxvYWQgYmFsYW5jZQ0KDQo+IEFkZGlu ZyAyIG1vcmUgZGVmYXVsdCByb3V0ZXMgd2l0aCBzYW1lIHdlaWdodCB0byBlYWNoIGRzbCBsaW5l IHdvbid0IHdvcms/DQoNCk5vLCBiZWNhdXNlIHlvdSBoYXZlIHRvIHJvdXRlIHRoaW5ncyBiZWdp bm5pbmcgZnJvbSBjb25uZWN0aW9uIDEgc3VibmV0IA0KdGhyb3VnaCBjb25uZWN0aW9uIDEsIGNv bm5lY3Rpb24gMiBzdWJuZXQgdGhyb3VnaCBjb25uZWN0aW9uIDIgZXRjLg0KDQpZb3VyIGlkZWEg d2lsbCByZXN1bHQgaW4gcm91dGluZyBhbGwgb3V0Z29pbmcgdHJhZmZpYyByYW5kb21seSB0aHJv dWdoIDMgDQpsaW5lcy4gQXQgbGVhc3Qgd2l0aCBwb2xpc2ggdGVsZWNvbSBpdCB3aWxsIG5vdCB3 b3JrLiBJZiB5b3UgaGF2ZSANCmNvbm5lY3Rpb24gd2l0aCBzYXkgMTIuMzQuNTYuNzIvMjkgc3Vi bmV0LCB5b3UgaGF2ZSB0byBzZW5kIHBhY2tldHMgZnJvbSANCnRoYXQgc3VibmV0Lg0KDQpBbmQg dGhhdCdzIHByb3BlciBiZWhhdmlvdXIsIGFzIGl0IGJsb2NrcyBzcG9vZmluZy4NCg0KPg0KPiAt LS0tLSBPcmlnaW5hbCBNZXNzYWdlIC0tLS0tDQo+IEZyb206IG93bmVyLWZyZWVic2QtcXVlc3Rp b25zQGZyZWVic2Qub3JnIDxvd25lci1mcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZz4NCj4g VG86IEZyZWVCU0QgVXNlcnMgPGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPg0KPiBTZW50 OiBXZWQgSnVuIDE3IDEyOjE4OjA3IDIwMDkNCj4gU3ViamVjdDogR2F0ZXdheSBsb2FkIGJhbGFu Y2UNCj4NCj4gSGkgYWxsDQo+DQo+IEZpcnN0IHRpbWUgcG9zdGluZy4NCj4NCj4gSSBhbSBhIGxv bmcgdGltZSBMaW51eCB1c2VyIChkZXNrdG9wIGFuZCBzZXJ2ZXIpIGFuZCBzdGFydGVkIHdpdGgN Cj4gRnJlZUJTRCBhIHllYXIgYWdvLg0KPiBUaGFua3MgdG8gdGhlIGJvb2sgQWJzb2x1dGUgRnJl ZUJTRCAybmQgRWRpdGlvbiBJIGxlYXJuZWQgYSBsb3QgYWJvdXQNCj4gdGhlIE9TIGFuZCBob3cg dG8gY29uZmlndXJlIGRpZmZlcmVudCBzZXJ2aWNlcyBJIHVzZWQgaW4gTGludXggKFNsYWNrd2Fy ZSkuDQo+DQo+IE15IHBvc3QgaXMgcmVnYXJkaW5nIHNvbWV0aGluZyBJIGNvdWxkbid0IGZpbmQg aW5mb3JtYXRpb24gb24gaG93IHRvDQo+IGltcGxlbWVudCBpdC4gSGVyZSdzIHRoZSBzaXR1YXRp b246DQo+DQo+IEkgaGFkIGEgcHJveHkgc2VydmVyIChTcXVpZCArIERhbnNndWFyZGlhbikgdW5k ZXIgU2xhY2t3YXJlIG9uIHRoZSBMQU4NCj4gd2hpY2gsIHZpYSAnaXAgcm91dGUnIEkgbWFrZSBp dCB1c2UgMyBnYXRld2F5cyBjb25uZWN0ZWQgZWFjaCBvbmUgdG8gYW4NCj4gQURTTCBsaW5lIGFu ZCBiYWxhbmNlIHRoZSByZXF1ZXN0cy4NCj4gVW5mb3J0dW5hdGVseSBteSBzZXJ2ZXIgY3Jhc2hl ZCBhbmQgSSB0b29rIHRoZSBvcG9ydHVuaXR5IHRvIGluc3RhbGwgYQ0KPiBuZXcgb25lIHVuZGVy IEZyZWVCU0QgNy4wLVJFTEVBU0UuIFNxdWlkIGFuZCBEYW5zZ3VhcmRpYW4gYXJlIHdvcmtpbmcN Cj4gZmluZS4gTXkgcHJvYmxlbSBpcyB0aGF0IEkgZG9uJ3Qga25vdyBob3cgdG8gbWFrZSB0aGUg c2VydmVyIHVzZSB0aGUNCj4gb3RoZXIgMiBnYXRld2F5cyBJIGhhdmUgbGVmdCBhbmQgYmFsYW5j ZSB0aGUgcmVxdWVzdHMgb24gYWxsIEFEU0wgbGluZXMuDQo+DQo+IDE5Mi4xNjguMTAuOS8xNiAg ICAgICAgICAgICAgICAgICAgICBwcm94eQ0KPiAxOTIuMTY4LjEwLjIvMTYgICAgICAgICAgICAg ICAgICAgICAgMXN0IGdhdGV3YXkgKDEgTklDIHRvIExBTiAtIDIgTklDDQo+IHRvIEFEU0wgbW9k ZW0pDQo+IDE5Mi4xNjguMzAuMTAwLzE2ICAgICAgICAgICAgICAgICAybmQgZ2F0ZXdheQ0KPiAx OTIuMTY4LjMwLjEvMTYgICAgICAgICAgICAgICAgICAgICAgM3JkIGdhdGV3YXkNCj4NCj4gSSBm b3VuZCBpdCBjb3VsZCBiZSBkb25lIHdpdGggUEYgKGFsc28gcmVhZCBtb3N0IG9mIFRoZSBCb29r IG9mIFBGKSBidXQNCj4gSSBhbSBxdWl0ZSBsb3N0IGFib3V0IGhvdyB0byBkbyBpdC4NCj4NCj4g QW55IGluZm9ybWF0aW9uIHdvdWxkIGJlIGdyZWF0bHkgYXBwcmVjaWF0ZWQuDQo+DQo+IFRoYW5r cyBpbiBhZHZhbmNlDQo+DQo+IFJhw7psIEkuIEJlY2V0dGUNCj4gX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCj4gZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJz ZC5vcmcgbWFpbGluZyBsaXN0DQo+IGh0dHA6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xp c3RpbmZvL2ZyZWVic2QtcXVlc3Rpb25zDQo+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWls IHRvICJmcmVlYnNkLXF1ZXN0aW9ucy11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyINCj4NCj4NCj4N Cj4NCj4NCj4gPGZvbnQgc2l6ZT0iMSI+DQo+IDxkaXYgc3R5bGU9J2JvcmRlcjpub25lO2JvcmRl ci1ib3R0b206ZG91YmxlIHdpbmRvd3RleHQgMi4yNXB0O3BhZGRpbmc6MGluIDBpbiAxLjBwdCAw aW4nPg0KPiA8L2Rpdj4NCj4gIlRoaXMgZW1haWwgaXMgaW50ZW5kZWQgdG8gYmUgcmV2aWV3ZWQg Ynkgb25seSB0aGUgaW50ZW5kZWQgcmVjaXBpZW50DQo+IGFuZCBtYXkgY29udGFpbiBpbmZvcm1h dGlvbiB0aGF0IGlzIHByaXZpbGVnZWQgYW5kL29yIGNvbmZpZGVudGlhbC4NCj4gSWYgeW91IGFy ZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCwgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQgdGhh dA0KPiBhbnkgcmV2aWV3LCB1c2UsIGRpc3NlbWluYXRpb24sIGRpc2Nsb3N1cmUgb3IgY29weWlu ZyBvZiB0aGlzIGVtYWlsDQo+IGFuZCBpdHMgYXR0YWNobWVudHMsIGlmIGFueSwgaXMgc3RyaWN0 bHkgcHJvaGliaXRlZC4gIElmIHlvdSBoYXZlDQo+IHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJy b3IsIHBsZWFzZSBpbW1lZGlhdGVseSBub3RpZnkgdGhlIHNlbmRlciBieQ0KPiByZXR1cm4gZW1h aWwgYW5kIGRlbGV0ZSB0aGlzIGVtYWlsIGZyb20geW91ciBzeXN0ZW0uIg0KPiA8L2ZvbnQ+DQoK CgoKCjxmb250IHNpemU9IjEiPgo8ZGl2IHN0eWxlPSdib3JkZXI6bm9uZTtib3JkZXItYm90dG9t OmRvdWJsZSB3aW5kb3d0ZXh0IDIuMjVwdDtwYWRkaW5nOjBpbiAwaW4gMS4wcHQgMGluJz4KPC9k aXY+CiJUaGlzIGVtYWlsIGlzIGludGVuZGVkIHRvIGJlIHJldmlld2VkIGJ5IG9ubHkgdGhlIGlu dGVuZGVkIHJlY2lwaWVudAogYW5kIG1heSBjb250YWluIGluZm9ybWF0aW9uIHRoYXQgaXMgcHJp dmlsZWdlZCBhbmQvb3IgY29uZmlkZW50aWFsLgogSWYgeW91IGFyZSBub3QgdGhlIGludGVuZGVk IHJlY2lwaWVudCwgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQgdGhhdAogYW55IHJldmlldywgdXNl LCBkaXNzZW1pbmF0aW9uLCBkaXNjbG9zdXJlIG9yIGNvcHlpbmcgb2YgdGhpcyBlbWFpbAogYW5k IGl0cyBhdHRhY2htZW50cywgaWYgYW55LCBpcyBzdHJpY3RseSBwcm9oaWJpdGVkLiAgSWYgeW91 IGhhdmUKIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJyb3IsIHBsZWFzZSBpbW1lZGlhdGVseSBu b3RpZnkgdGhlIHNlbmRlciBieQogcmV0dXJuIGVtYWlsIGFuZCBkZWxldGUgdGhpcyBlbWFpbCBm cm9tIHlvdXIgc3lzdGVtLiIKPC9mb250PgoK From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:22:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85B5A106566B for ; Wed, 17 Jun 2009 18:22:10 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: from web57412.mail.re1.yahoo.com (web57412.mail.re1.yahoo.com [66.196.100.64]) by mx1.freebsd.org (Postfix) with SMTP id 24B548FC16 for ; Wed, 17 Jun 2009 18:22:09 +0000 (UTC) (envelope-from chloekcy2000@yahoo.ca) Received: (qmail 33086 invoked by uid 60001); 17 Jun 2009 17:55:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1245261329; bh=2wunS1v5I5sIB2xK4DfYO15K0VBlQB28jqsET3DYzKk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=RdFpi+LRX2S64APS+Nrzo0WUE5u2CM0ZoTHz8NQzEHgxouFI8NdP0Eafpy+4+tWA28b+BkxulakzRCBHBX6GYP9gatAn4qfHJ/HfTpdEOEtwa3m2/ynBHaFrPh0Vl6vPkfkblZeyt6zYmi2+LDzgGWAkeTqXJShXKWhmU8U52xI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=uhl+Sahm2OHiCp2Xg6ZQqWY8zMHAMbOOKVZOnpJpt7mlKOWbKCTavLA/LtI6R1OKhwJad2rwfUodmWGDw3jb9/42fW5nJO1ilWweX4mrehzztwUoowlRCS8zzHuafaZ6fPDUt0Av1wghzbFfbaRH7ckTNVDgB48j+yESe0VrgX0=; Message-ID: <974960.33077.qm@web57412.mail.re1.yahoo.com> X-YMail-OSG: oYDXfnsVM1nr928epedcdFcO3aNv697UJgKRj5yHdBD4QvBIRHMeZ8B7YxgegUUBZnnBSZssfqNOjH.8De3OZ7iNjUgRgeKiltOO1AkLx98Po1XR9CAkZrclp3vyZxhETOnGZuiOgz8sjehOGmPt5iwBweWvoi_hw6dcCPS0ThEsHkFoosHd3ay5eZ4Ekah0qwiBBW1ScfQqU2XyyLd9F3LI1EKZ0W5G3tmryXS.Ra9CBSBSoCMnKXvtrf4qygKPJCJaJXBr3a.sYkZ_KxkYP7xwk_J5iVVc3Ikd5lQT0udI41FCDVMRjCbJRK7EFEnwbY_7j0NUSlnSVIefW6M_cuEIPXZPEBkUCTX9Qn_tQCuEdRQ- Received: from [67.55.17.0] by web57412.mail.re1.yahoo.com via HTTP; Wed, 17 Jun 2009 10:55:28 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Wed, 17 Jun 2009 10:55:28 -0700 (PDT) From: chloe K To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sed help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:22:10 -0000 Hi=20 =A0 =A0 I have a file. list.txt (two columns) =A0 column1=A0=A0=A0 column2 name=A0=A0=A0=A0=A0=A0=A0 address =A0 =A0 I need to put in the letter file letter.txt eg: =A0 Dear: Chloe Address: CA =A0 Can I use this=20 =A0 for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt =A0 Thank you for your help =0A=0A=0A ____________________________________________________________= ______=0AThe new Internet Explorer=AE 8 - Faster, safer, easier. Optimized= for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internet= explorer/ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:28:16 2009 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 327421065674 for ; Wed, 17 Jun 2009 18:28:16 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 8B8D68FC12 for ; Wed, 17 Jun 2009 18:28:15 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 17 Jun 2009 18:28:13 -0000 Received: from ipa255.25.107.79.tellas.gr (EHLO [192.168.254.1]) [79.107.25.255] by mail.gmx.com (mp-eu003) with SMTP; 17 Jun 2009 20:28:13 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX182Ap1egPI24pZADeNEu8guQpPx37yZGJDelxvmsq 1W62XLh4Lh9u7B Message-ID: <4A3935A3.1000600@gmx.com> Date: Wed, 17 Jun 2009 21:27:47 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Erik Norgaard References: <4A37F2B7.6000505@locolomo.org> <4A38A8A6.4090702@locolomo.org> <4A38EBE4.9040009@ibctech.ca> <4A38FF83.3010501@locolomo.org> In-Reply-To: <4A38FF83.3010501@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46 Cc: questions@freebsd.org, Steve Bertrand Subject: Re: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:28:16 -0000 Erik Norgaard wrote: > Steve Bertrand wrote: >> Erik Norgaard wrote: >>> Erik Norgaard wrote: >>> >>>> I have no problem connecting from the host to the jail, but the other >>>> way around doesn't work. >>>> >>>> Also, related, how do I configure multiple interfaces in a jail? >>> Second problem solved, starting jail with >>> >>> # jail /var/jail jail 127.0.0.2,172.16.0.2 /bin/sh /etc/rc >>> >>> So, now I have: >>> >>> vr1: flags=8943 metric 0 >>> mtu 1500 >>> options=2808 >>> ether 00:40:63:ee:97:f1 >>> inet 172.16.0.2 netmask 0xffffffff broadcast 172.16.0.2 >>> media: Ethernet autoselect (100baseTX ) >>> status: active >>> lo0: flags=8049 metric 0 mtu 16384 >>> inet 127.0.0.2 netmask 0xffffffff >>> >>> Now, I can connect out on vr1 to 172.16.0.1, but not on lo0 to >>> 127.0.0.1. Any suggestions what might be wrong? >> >> I don't think that it is a wise idea to be using the loopback address >> space to route packets outside of the OS, and it is even possible that >> some implementations forbid this behaviour (don't quote me on that). > > I have read some recommendations not to use the loopback interface > without any real explanation, I don't see why it shouldn't work with a > different IP as for other interfaces - or a cloned loopback. It's the 127/8 that is special, that is, it's treated specially by the network stack and is dropped when coming from an interface other than a loopback one. In general, packets that coming into/leave the box that have a loopback source/destination address have nothing special and can be used as any other address. >> If you want a loopback to be a receive interface, you should clone off a >> second one (lo1), and assign an IP address to it that was not designed >> to be short circuited within the host, like this: >> >> % grep lo10 /etc/rc.conf >> >> cloned_interfaces="lo1 lo3 lo10 ...etc >> >> # lo10 (IPv4 iBGP loopback, advertised by OSPF) >> ifconfig_lo10="UP" >> ifconfig_lo10="inet 172.16.104.8 netmask 255.255.255.255" >> >>>> From RFC 1700: >> >> (g) {127, } >> >> Internal host loopback address. Should never appear outside >> a host. > > It won't. It's intended to be stricly local on the internal loopback > interface. > > The idea is to use the loopback interface for connecting between the > jail and the host while not exposing the jail to the exterior. > > Basically, I'm trying to setup a jail for my imap server to migrate my > mail from the existing server, a last resort clumsy way of upgrading the > Berkeley DB. Then a script connecting to both services can create > accounts, folders and copy the mail to the new service. > > The idea is that this way I could do it transparently - well, that's the > theory. Your theory is correct, and it really works that way in -HEAD and 7.1R that I have available. But, it's not working when the server is bound specifically to 127.0.0.1 and not any address. Is your server bound to any address? I can connect from 127.2 to 127.1: lab# sockstat -4l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 1386 4 tcp4 *:22 *:* Yet, the connection appears to be connected from 127.2 to 127.2 It doesn't work: lab# sockstat -4l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 1286 3 tcp4 127.0.0.1:22 *:* Hm, just tested with another loopback address from the 172.16.0.0/16 net and it doesn't have the same problem. Could try using something else other than 127.1? That looks like a bug... Nikos From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 18:55:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F061E106564A for ; Wed, 17 Jun 2009 18:55:48 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id DDA1D8FC17 for ; Wed, 17 Jun 2009 18:55:47 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 17 Jun 2009 18:55:46 -0000 Received: from ipa255.25.107.79.tellas.gr (EHLO [192.168.254.1]) [79.107.25.255] by mail.gmx.com (mp-eu002) with SMTP; 17 Jun 2009 20:55:46 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18aviw2OW8aji7y5e8wLtPdltmqfzyiGVXVFRE7ot 6ZZoCDLLtUxnjL Message-ID: <4A393C21.8040800@gmx.com> Date: Wed, 17 Jun 2009 21:55:29 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Gary Gatten References: <70C0964126D66F458E688618E1CD008A0793EFF4@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EFF4@WADPEXV0.waddell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 Cc: wojtek@wojtek.tensor.gdynia.pl, freebsd-questions@freebsd.org, raulbecette@unp.edu.ar Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 18:55:49 -0000 Gary Gatten wrote: > I meant, the original source flows are nat'd to whatever outbound interface ip they are RRLB to. That way any internal flow can use any isp connection. Most of my interesting routing, NAT, etc I do with Ci$co so not all that up on BSD's options. Yes, works with ci$co, doesn't with FreeBSD ;) You cannot add more than one next hop for any given prefix. Well, you can achieve almost the same result, but only with the help of a packet filter which can bypass the routing table lookup and forward to the next hop of preference. But that's hardly the same with ECMP which many vendors support... Yet, that's about to change. There is ECMP support in 8.0:) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 19:46:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BC8C1065672 for ; Wed, 17 Jun 2009 19:46:48 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-defer02.adhost.com (mail-defer02.adhost.com [216.211.128.177]) by mx1.freebsd.org (Postfix) with ESMTP id 1F19F8FC1A for ; Wed, 17 Jun 2009 19:46:47 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-in01.adhost.com (mail-in01.adhost.com [10.212.3.11]) by mail-defer02.adhost.com (Postfix) with ESMTP id E1E8C1388F98 for ; Wed, 17 Jun 2009 12:31:44 -0700 (PDT) (envelope-from mikesw@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in01.adhost.com (Postfix) with ESMTP id 40FBD2D752C for ; Wed, 17 Jun 2009 12:31:44 -0700 (PDT) (envelope-from mikesw@adhost.com) 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: Wed, 17 Jun 2009 12:31:43 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PF Routing to VPN Device Thread-Index: Acnvgj64PBkNqvvDQY6DnAAELbXC0w== From: "Mike Sweetser - Adhost" To: Subject: PF Routing to VPN Device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 19:46:48 -0000 Hello, We have a network with a VPN device sitting beside a PF server, both connected to an internal network. =20 PF Server: 10.1.4.1 VPN Device: 10.1.4.200 The VPNs are set up for 10.1.1.0/24 and 10.1.2.0/24, so any traffic to these networks should be routed to 10.1.4.200. We've set up routes on the PF server as such. We've set up the following rules:=20 block in log pass in on $int_if route-to 10.1.4.200 from 10.1.4.0/24 to { 10.1.1.0/24 10.1.2.0/24) However, the block in log is catching the return traffic. From pflog when somebody on the VPN (10.1.2.105) tries to connect to 10.1.4.25 on port 80: 000000 rule 28/0(match): block in on bge1: 10.1.4.25.80 > 10.1.2.105.3558: [|tcp] If we remove the block in log, the traffic works. What are we missing? Thanks, Mike From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 19:54:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B31021065673 for ; Wed, 17 Jun 2009 19:54:01 +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 556EF8FC25 for ; Wed, 17 Jun 2009 19:54:01 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 1580 invoked from network); 17 Jun 2009 19:54:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=EsmY9qEj6wbVepkuxlPMD4ijDXlGB6QV9+SOzSL86J7AabV6LajvLbNnT0igEVvj1NHS/eYdP9vsultE3RbaFGiMxqD6wLKqM0fSH+OYMnVBCpAag6qZ4ziPjm0HsGUr8Wsk3IILOml3GF/ymoGckOfxNM9OyvM8dbqLGoP5zrI= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp107.prem.mail.ac4.yahoo.com with SMTP; 17 Jun 2009 12:54:00 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: 8wWQKXkVM1kfXQ3eJE7UN3gNHdr.ONH0O4IEbwNn9Jw7MR.ugxX7QBcysvcZjrjdq2EM6Y.h1ICpj3YtjdMpFmFp_p1BsLw7y2LTF_ZuaD2MWJW_1M0W1WlltBWtfkr7gv6J3JgjoLVndIzfk5Da._Qc8I98mqq1DsXx289ytFYcGajVtATADGePlWN9ecX6qGLs.LixT7JFJNYuLx_8KOlHMHTKxCFFBwV3UtWWNVrYlvuFXaj.4sT21njwb4u56A1.Lapf0Xne0.4Lk00mKeY2_ucB.s4E5Fy8PlStocwppv98Oxx7qEPksEYSWGGkGQwC X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 358962297D for ; Wed, 17 Jun 2009 15:54:00 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id EB15122877 for ; Wed, 17 Jun 2009 15:53:59 -0400 (EDT) Date: Wed, 17 Jun 2009 15:53:59 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090617155359.50ca717a@scorpio.seibercom.net> In-Reply-To: <01023496@ipt.ru> References: <20090617061933.33878200@scorpio.seibercom.net> <01023496@ipt.ru> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: Updating linux-pango 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, 17 Jun 2009 19:54:02 -0000 On Wed, 17 Jun 2009 21:11:51 +0400 Boris Samorodov wrote: > Gerard writes: > > > Affected package: linux-pango-1.10.2_3 > > Type of problem: pango -- integer overflow. > > Reference: > > > > > > This problem has existed for awhile now. Unless: > > > > DISABLE_VULNERABILITIES=yes > > > > is used, linux-pango and any port that depends on it will refuse to > > build. Is there any information on when this problem will be > > resolved? I really do not like intentionally installing a program > > with a potential security problem; however, in this case I have no > > choice. > > Usually a search at archieves of FreeBSD maillists may be helpful: > http://lists.freebsd.org/pipermail/freebsd-questions/2009-June/200565.html > > > WBR That does not supply an answer. -- Jerry gesbbb@yahoo.com What I want is all of the power and none of the responsibility. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:01:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AF1106567D for ; Wed, 17 Jun 2009 20:01:27 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 801E78FC20 for ; Wed, 17 Jun 2009 20:01:27 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id CB3687E837; Wed, 17 Jun 2009 12:01:25 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 12:01:24 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A39197D.6000501@eskk.nu> In-Reply-To: <4A39197D.6000501@eskk.nu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171201.24948.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Leslie Jensen Subject: Re: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 20:01:28 -0000 On Wednesday 17 June 2009 08:27:41 Leslie Jensen wrote: > On a newly installed 7.2-RELEASE system with all ports upgraded and > cvsup'ed I have a problem. > > Both root and user has > > .xsession linked to .xinitrc > > and contains > > #!/bin/sh Remove the she-bang and make sure .xinitrc is in $HOME. If this still don't work, check /var/log/Xorg.0.log for anything (EE). -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:04:41 2009 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 64AAC106564A; Wed, 17 Jun 2009 20:04:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8908FC0C; Wed, 17 Jun 2009 20:04:40 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 7B3507E837; Wed, 17 Jun 2009 12:04:39 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 12:04:38 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A38D6FE.8000804@locolomo.org> In-Reply-To: <4A38D6FE.8000804@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 20:04:41 -0000 On Wednesday 17 June 2009 03:43:58 Erik Norgaard wrote: > I am migrating my imap server to a jail, I got the jail up and > cyrus-imapd starts. I have copied configuration files from the current > server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is > running, yet when I try to login I get the error: > > IMAP Password: > Login failed: generic failure at > /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 > cyradm: cannot authenticate to server with as cyrus ^^ Looks like there's missing something there. Would should be at that spot of the error message? Maybe a little context of line 120 in Admin.pm would help, for us that use dovecot. -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:04:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64AAC106564A; Wed, 17 Jun 2009 20:04:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8908FC0C; Wed, 17 Jun 2009 20:04:40 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 7B3507E837; Wed, 17 Jun 2009 12:04:39 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 12:04:38 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A38D6FE.8000804@locolomo.org> In-Reply-To: <4A38D6FE.8000804@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 20:04:41 -0000 On Wednesday 17 June 2009 03:43:58 Erik Norgaard wrote: > I am migrating my imap server to a jail, I got the jail up and > cyrus-imapd starts. I have copied configuration files from the current > server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is > running, yet when I try to login I get the error: > > IMAP Password: > Login failed: generic failure at > /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 > cyradm: cannot authenticate to server with as cyrus ^^ Looks like there's missing something there. Would should be at that spot of the error message? Maybe a little context of line 120 in Admin.pm would help, for us that use dovecot. -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:21:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06AD106564A for ; Wed, 17 Jun 2009 20:21:50 +0000 (UTC) (envelope-from rswood@therandymon.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 67AFD8FC0A for ; Wed, 17 Jun 2009 20:21:50 +0000 (UTC) (envelope-from rswood@therandymon.com) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id B0CD83626EE for ; Wed, 17 Jun 2009 16:05:29 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 17 Jun 2009 16:05:29 -0400 X-Sasl-enc: qtkfZVaYSHYV6oFAAcwV0l8fvbX4QYcRgwgtdYBDGhKe 1245269129 Received: from [192.168.0.3] (unknown [41.223.248.193]) by mail.messagingengine.com (Postfix) with ESMTPSA id 28CAC13E75 for ; Wed, 17 Jun 2009 16:05:29 -0400 (EDT) From: Randall Wood To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 21:05:25 +0100 User-Agent: KMail/1.9.9 References: <4A37380F.8020505@gmail.com> <4A38F1A8.2040908@otenet.gr> <20090617064450.277f907e@vaio> In-Reply-To: <20090617064450.277f907e@vaio> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEX/9vAzMjSwxMT5+f7o4dz/////+f+qTmP54dT5+PuMUMolAAACbUlEQVQ4jWWUQU/bQBCFLRS36q1jkka9kQ2p4YYwS5Vbmzgg3wzrMdobamqqHm1V7LlSpV4p8SDtv+1skhIvtaVNvJ/nzczLTgJ0l8aSV0JcISoitxWsAWHIqyWNmKy3t4DyN7n7tBqlC38GOfVZSnKgu1HtIjRQ4lJpHW3ef84Bg+0zYDcH4ghIbd6Y0CbJBsgrOFZrcXjvS11DFLiK0GnKXXIsgDVYwkKEthuhAfrMSwSgTh9MRhE8adQlwDHuLOHWrqJ64BoBGKw8r/6AidivtWSnXMQbMLBA/AqcpJsDr6F+20NXHUgPYGyaNFwFDMYPHtiLzdG9vq0h6uc+SOOjqPwygqTZdY5KYiFmcb04jU3yiB4g8Ss2+2fmg8wWnpTcE8YMHoaNTH1APWFiE9Z9eZh5QKfCNPX4274V0pcSQvwcIoq5mP8H6n02WAnywAMDsyxIPgq/wZz339kMp2Jc+qAR9aIgFCI5fwmMtupaTFb0Qipu0J6LQ628H4rrjO9DfJxNgs7xcddFE0+ypUgn1XokOn0M60UvFemdDv+5q+w6lu3rZelconeu+Is5nrZ0uuCD6Od4bS4stiINw9CPuGwKq9rZWf1jO1EcN5Vo7exTL7M0zQEOthHTdJa5qdFTKd1YjzYnLlBKzyaYXwoxCdj0rLqB4VGYnLhy27GODQz7hc3a2Mw/AxeoXPKWUm3pY1QbMMaIk+p3Q7gBRRsWMhXs42H6tJLFwe3SAZugfmMJqwpLqUknlV3JwJIi7VxwC4+yzXWpqu9JwPOXsT0FkhtwyYfyFstzugvyDMnylsL13xHdqbKaLuWrv7otaXNITxUfAAAAAElFTkSuQmCC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906172105.25234.rswood@therandymon.com> Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 20:21:50 -0000 > > First I want to say thank you. This is very welcome for my older slow > laptop. > I'll second the thanks. Believe it or not I've got a great laptop still up and running: a PIII running an earlier version of SuSE Linux (PIII, 128M RAM, 555Mhz processor). When I bought it in 2000 it was the state of the art. Now I find the internet forums choked with people complaining about their "old" Pentium Ms and IVs and similar. Most people have no idea a 9 year old laptop can do everything you want it to do. I'll give the XFCE ISO a spin, since modern KDE or Gnome set ups tend to sink it. Thanks for the hard work! From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:23:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9405B106568B for ; Wed, 17 Jun 2009 20:23:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1C58FC25 for ; Wed, 17 Jun 2009 20:23:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 824147E837; Wed, 17 Jun 2009 12:23:15 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 12:23:14 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090617061933.33878200@scorpio.seibercom.net> <01023496@ipt.ru> <20090617155359.50ca717a@scorpio.seibercom.net> In-Reply-To: <20090617155359.50ca717a@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171223.14613.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Updating linux-pango X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 20:23:18 -0000 On Wednesday 17 June 2009 11:53:59 Jerry wrote: > That does not supply an answer. And that was a lot of quoting for a post that only shows you are running in pedantic mode. But let me clarify for the joyful moment that the next poor soul bitten by this issue searches the list archive: - there is no available upgrade from upstream - port maintainer does not have the time/resources to repack the rpm without the vulnerability - if/when an rpm has been found that is not vulnerable, the port will be updated. - the time frame for the above ranges from the near to the infinite future. - users are encouraged to use their covert channels into the penguin world to inquire about fc4 compatible non-vulnerable rpm's for the pango software and relay this information to the hard working port maintainer if such has been located. -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 20:59:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19B31065678 for ; Wed, 17 Jun 2009 20:59:44 +0000 (UTC) (envelope-from invalid.pointer@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 837AA8FC12 for ; Wed, 17 Jun 2009 20:59:44 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so211503wfg.7 for ; Wed, 17 Jun 2009 13:59:44 -0700 (PDT) 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:content-type :content-transfer-encoding; bh=nl8fdS/ZfuWTIx8Wv/dcnU/BF/rSfhLn5G//MXTGMlc=; b=niExohd1Pz4djjVWIMG0XiTOk2Sjb27SwxZPIRQFeWBfXh6iPuGhWeacA7prcpKVh8 j1Y6YFnSA+CbI1wcTYsiYkftASvlH2IRo9HQDSCJpirQLO89kBxPKdR3BPhI1UPgFp9b qMfRbc1U4yQKWJVxitOsZYzxew8F9NRQSSXOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=k2Ua4wTavDI1/hUWCA+TACHtgNmENpUgGmq3Ri66BE09CkfNO9GVa0Lp9JkSkQ+518 3TPvE1CJ0BwtxCi1+K3oMzYbI2pnHgMSL8uItTQnVWIIhimFZI1bBkfe7WRecdTtFTys HEnHanXJ+LwjDwic0zfVi0F0wdz1ao4VFB8EU= Received: by 10.143.33.21 with SMTP id l21mr567126wfj.252.1245272384248; Wed, 17 Jun 2009 13:59:44 -0700 (PDT) Received: from ?192.168.1.2? ([122.161.1.47]) by mx.google.com with ESMTPS id 32sm158897wfa.13.2009.06.17.13.59.42 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 13:59:43 -0700 (PDT) Message-ID: <4A39593B.2040706@gmail.com> Date: Thu, 18 Jun 2009 02:29:39 +0530 From: Manish Jain User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 20:59:45 -0000 Hi, I got a brand new system today with an AMD quad-core Phenom processor and a Gigabyte board with a 780G chipset. When I boot from the 7.2-Release-x86 DVD, I get the following welcome message (after some initial diagnostics) : ACPI APIC Table: AP #1 (PHY# 1) failed ! After this, the system prompts for panic (y/n). Accepting y leads to a bye-bye, and entering n leads to a "PHY# 2 failed" message and another panic prompt. What is this supposed to mean ? Thanks for any help. -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:07:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1078C1065670 for ; Wed, 17 Jun 2009 21:07:10 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id BB5608FC14 for ; Wed, 17 Jun 2009 21:07:09 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n5HL78qu051867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Jun 2009 16:07:09 -0500 (CDT) (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 n5HL78WP085132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 17 Jun 2009 16:07:08 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n5HL77Og085127; Wed, 17 Jun 2009 16:07:07 -0500 (CDT) (envelope-from dan) Date: Wed, 17 Jun 2009 16:07:07 -0500 From: Dan Nelson To: chloe K Message-ID: <20090617210703.GC12966@dan.emsphone.com> References: <974960.33077.qm@web57412.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <974960.33077.qm@web57412.mail.re1.yahoo.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 17 Jun 2009 16:07:09 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: sed help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:07:10 -0000 In the last episode (Jun 17), chloe K said: > I have a file. list.txt (two columns) >   > column1    column2 > name        address >   > I need to put in the letter file letter.txt eg: >   > Dear: Chloe > Address: CA >   > Can I use this >   > for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt Try: cat list.txt | while read name address ; do sed -e "s/Chloe/$name/ ; s/CA/$address/" < letter.txt > letter.$name.txt done You need the "while read" part so that you loop once per line. Your code would have looped once per word in the input file. You also need double-quotes on your sed line because $variable expansion isn't done inside single-quotes. If your names have spaces in them, consider swapping the name and address in your input file, since "read" splits on spaces and assigns the remainder of the line to the last variable listed. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:17:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C679A106566C for ; Wed, 17 Jun 2009 21:17:53 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD648FC0A for ; Wed, 17 Jun 2009 21:17:53 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 00BDAEB539F; Thu, 18 Jun 2009 00:17:51 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 0C1A94503F; Thu, 18 Jun 2009 00:17:51 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFk07NV+6ytP; Thu, 18 Jun 2009 00:17:50 +0300 (EEST) Received: from kobe.laptop (adsl105-76.kln.forthnet.gr [77.49.224.76]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B83FF45088; Thu, 18 Jun 2009 00:17:50 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n5HL0NlX018303; Thu, 18 Jun 2009 00:00:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n5HL0MoY018302; Thu, 18 Jun 2009 00:00:22 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: chloe K References: <974960.33077.qm@web57412.mail.re1.yahoo.com> Date: Thu, 18 Jun 2009 00:00:22 +0300 In-Reply-To: <974960.33077.qm@web57412.mail.re1.yahoo.com> (chloe K.'s message of "Wed, 17 Jun 2009 10:55:28 -0700 (PDT)") Message-ID: <873a9yshi1.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sed help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:17:54 -0000 On Wed, 17 Jun 2009 10:55:28 -0700 (PDT), chloe K w= rote: > Hi > I have a file. list.txt (two columns) > =A0 > column1=A0=A0=A0 column2 > name=A0=A0=A0=A0=A0=A0=A0 address > =A0 > I need to put in the letter file letter.txt eg: > =A0 > Dear: Chloe > Address: CA > =A0 > Can I use this > =A0 > for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt No that won't work. sed does 'stream editing' to its own input file, so you have to redirect each output for *every* loop iteration. But I don't think this is a good method of solving this problem, because you only have one input file and one output file. See what the following does, to give you can idea: $ echo giorgos keramida@ceid.upatras.gr | sed -e 's/^\([^ ]*\)[ ]*\(.*\)$/\ Dear: \1\ Address: \2\ /' NOTE: If you really want to work effectively with sed, please take a bit of time to read the manpage of sed(1) and ed(1), paying careful to the parts about: (1) regular expressions, (2) character classes, and (3) the rules of character quoting. It's also worth noting that you don't _have_ to use sed for this specific problem, because there are other tools more suitable for processing data in columns, i.e. awk(1): $ echo giorgos keramida@ceid.upatras.gr | \ awk '{print "Dear: ", $1; print "Address:", $2}' Dear: giorgos Address: keramida@ceid.upatras.gr A single line of awk is vastly more readable than the equivalent sed expression in this case. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:21:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D70A11065700 for ; Wed, 17 Jun 2009 21:21:44 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id A828B8FC15 for ; Wed, 17 Jun 2009 21:21:44 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by mail-pz0-f171.google.com with SMTP id 1so579696pzk.3 for ; Wed, 17 Jun 2009 14:21:44 -0700 (PDT) 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:content-type :content-transfer-encoding; bh=KZ3q5i3f0EVnp11334PdFuiv7niJiEjGbz50RlmKkDk=; b=r0PLqsXhuUmgZc5JRUnsUncgD/xbZYmn0A5jxOnKyhLFPnRBBKvjDPd8Fxoe78CDXH qX6HfbINv1lmSga3t/OU1/aaWwo8t2MdoF/JstATvq15sHwimstbQKMvtQkJDXr9x2Kz JlxnAvHZj+oQzkxXgaUWxaDEdRcsY760tNmjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=xWcPW9NhsqI00zQjeckdlYnqyTDkFr37UxHxdBSA/hIiy9PvJfLtBG0mw9AXGkPDE2 4aoOWkjLA6FGly1kbZCnmveq3jxXpEZO9EwPXAwc7D8XmQtOhOZX4RobHkznRIW7spvN g+JzFMipBasTmnLTnofU6oCHmSvxnQTt7WRRE= Received: by 10.142.107.5 with SMTP id f5mr600944wfc.130.1245273704385; Wed, 17 Jun 2009 14:21:44 -0700 (PDT) Received: from ?192.168.1.2? ([122.161.1.47]) by mx.google.com with ESMTPS id 30sm637162wfg.10.2009.06.17.14.21.31 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 14:21:43 -0700 (PDT) Message-ID: <4A395E59.7060700@gmail.com> Date: Thu, 18 Jun 2009 02:51:29 +0530 From: Manish Jain User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:21:45 -0000 I forgot to mention that Windows installs and runs very smoothly on the system. Windows system information reports : > System Manufacturer Gigabyte Technology Co., Ltd. > System Model GA-MA78GM-US2H > System Type X86-based PC > Processor x86 Family 16 Model 2 Stepping 3 AuthenticAMD ~2304 Mhz > BIOS Version/Date Award Software International, Inc. F2, 02-Jan-09 > SMBIOS Version 2.4 > Total Physical Memory 1,024.00 MB > > [Conflicts/Sharing] > > Resource Device > I/O Port 0x00000000-0x00000CF7 PCI bus > I/O Port 0x00000000-0x00000CF7 Direct memory access controller > > I/O Port 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge > I/O Port 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics > > Memory Address 0x0000-0x0FFF Motherboard resources > Memory Address 0x0000-0x0FFF System board > > Memory Address 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge > Memory Address 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics > > IRQ 22 Standard Dual Channel PCI IDE Controller > IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host Controller > > IRQ 16 Standard OpenHCD USB Host Controller > IRQ 16 Standard OpenHCD USB Host Controller > IRQ 16 Microsoft UAA Bus Driver for High Definition Audio > > Memory Address 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge > Memory Address 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics > > IRQ 18 ATI Radeon HD 3200 Graphics > IRQ 18 PCI standard PCI-to-PCI bridge > IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC > IRQ 18 Standard OpenHCD USB Host Controller > IRQ 18 Standard OpenHCD USB Host Controller > IRQ 18 Standard OpenHCD USB Host Controller > > IRQ 19 Microsoft UAA Bus Driver for High Definition Audio > IRQ 19 Standard Enhanced PCI to USB Host Controller > > Memory Address 0xA0000-0xBFFFF PCI bus > Memory Address 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge > Memory Address 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics > > I/O Port 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge > I/O Port 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics > > > [DMA] > > Resource Device Status > Channel 4 Direct memory access controller OK > > [Forced Hardware] > > Device PNP Device ID > > [I/O] > > Resource Device Status > 0x00000000-0x00000CF7 PCI bus OK > 0x00000000-0x00000CF7 Direct memory access controller OK > 0x00000D00-0x0000FFFF PCI bus OK > 0x0000E000-0x0000EFFF PCI standard PCI-to-PCI bridge OK > 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge OK > 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics OK > 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge OK > 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics OK > 0x0000EE00-0x0000EEFF ATI Radeon HD 3200 Graphics OK > 0x0000D000-0x0000DFFF PCI standard PCI-to-PCI bridge OK > 0x0000DC00-0x0000DCFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK > 0x0000FF00-0x0000FF07 Standard Dual Channel PCI IDE Controller OK > 0x0000FE00-0x0000FE03 Standard Dual Channel PCI IDE Controller OK > 0x0000FD00-0x0000FD07 Standard Dual Channel PCI IDE Controller OK > 0x0000FC00-0x0000FC03 Standard Dual Channel PCI IDE Controller OK > 0x0000FB00-0x0000FB0F Standard Dual Channel PCI IDE Controller OK > 0x0000FA00-0x0000FA0F Standard Dual Channel PCI IDE Controller OK > 0x000001F0-0x000001F7 Primary IDE Channel OK > 0x000003F6-0x000003F6 Primary IDE Channel OK > 0x00000170-0x00000177 Secondary IDE Channel OK > 0x00000376-0x00000376 Secondary IDE Channel OK > 0x00000A79-0x00000A79 ISAPNP Read Data Port OK > 0x00000279-0x00000279 ISAPNP Read Data Port OK > 0x00000274-0x00000277 ISAPNP Read Data Port OK > 0x00004100-0x0000411F Motherboard resources OK > 0x00000228-0x0000022F Motherboard resources OK > 0x00000238-0x0000023F Motherboard resources OK > 0x0000040B-0x0000040B Motherboard resources OK > 0x000004D6-0x000004D6 Motherboard resources OK > 0x00000C00-0x00000C01 Motherboard resources OK > 0x00000C14-0x00000C14 Motherboard resources OK > 0x00000C50-0x00000C52 Motherboard resources OK > 0x00000C6C-0x00000C6D Motherboard resources OK > 0x00000C6F-0x00000C6F Motherboard resources OK > 0x00000CD0-0x00000CD1 Motherboard resources OK > 0x00000CD2-0x00000CD3 Motherboard resources OK > 0x00000CD4-0x00000CDF Motherboard resources OK > 0x00004000-0x000040FE Motherboard resources OK > 0x00004210-0x00004217 Motherboard resources OK > 0x00000B00-0x00000B0F Motherboard resources OK > 0x00000B10-0x00000B1F Motherboard resources OK > 0x00000B20-0x00000B3F Motherboard resources OK > 0x00000020-0x00000021 Programmable interrupt controller OK > 0x000000A0-0x000000A1 Programmable interrupt controller OK > 0x00000080-0x00000090 Direct memory access controller OK > 0x00000094-0x0000009F Direct memory access controller OK > 0x000000C0-0x000000DF Direct memory access controller OK > 0x00000040-0x00000043 System timer OK > 0x00000070-0x00000073 System CMOS/real time clock OK > 0x00000061-0x00000061 System speaker OK > 0x000000F0-0x000000FF Numeric data processor OK > 0x00000010-0x0000001F Motherboard resources OK > 0x00000022-0x0000003F Motherboard resources OK > 0x00000044-0x0000005F Motherboard resources OK > 0x00000062-0x00000063 Motherboard resources OK > 0x00000065-0x0000006F Motherboard resources OK > 0x00000074-0x0000007F Motherboard resources OK > 0x00000091-0x00000093 Motherboard resources OK > 0x000000A2-0x000000BF Motherboard resources OK > 0x000000E0-0x000000EF Motherboard resources OK > 0x000004D0-0x000004D1 Motherboard resources OK > 0x00000220-0x00000225 Motherboard resources OK > 0x00000290-0x00000294 Motherboard resources OK > 0x000003F8-0x000003FF Communications Port (COM1) OK > 0x00000378-0x0000037F Printer Port (LPT1) OK > 0x00000060-0x00000060 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK > 0x00000064-0x00000064 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK > > [IRQs] > > Resource Device Status > IRQ 9 Microsoft ACPI-Compliant System OK > IRQ 18 ATI Radeon HD 3200 Graphics OK > IRQ 18 PCI standard PCI-to-PCI bridge OK > IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK > IRQ 18 Standard OpenHCD USB Host Controller OK > IRQ 18 Standard OpenHCD USB Host Controller OK > IRQ 18 Standard OpenHCD USB Host Controller OK > IRQ 19 Microsoft UAA Bus Driver for High Definition Audio OK > IRQ 19 Standard Enhanced PCI to USB Host Controller OK > IRQ 22 Standard Dual Channel PCI IDE Controller OK > IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK > IRQ 16 Standard OpenHCD USB Host Controller OK > IRQ 16 Standard OpenHCD USB Host Controller OK > IRQ 16 Microsoft UAA Bus Driver for High Definition Audio OK > IRQ 17 Standard Enhanced PCI to USB Host Controller OK > IRQ 14 Primary IDE Channel OK > IRQ 0 High precision event timer OK > IRQ 8 High precision event timer OK > IRQ 13 Numeric data processor OK > IRQ 4 Communications Port (COM1) OK > IRQ 1 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK > > [Memory] > > Resource Device Status > 0xA0000-0xBFFFF PCI bus OK > 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge OK > 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics OK > 0xC0000-0xDFFFF PCI bus OK > 0x40000000-0xFEBFFFFF PCI bus OK > 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge OK > 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics OK > 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge OK > 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics OK > 0xFDFE0000-0xFDFEFFFF ATI Radeon HD 3200 Graphics OK > 0xFDFFC000-0xFDFFFFFF Microsoft UAA Bus Driver for High Definition Audio OK > 0xFDD00000-0xFDDFFFFF PCI standard PCI-to-PCI bridge OK > 0xFDA00000-0xFDAFFFFF PCI standard PCI-to-PCI bridge OK > 0xFDAFF000-0xFDAFFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK > 0xFDAE0000-0xFDAEFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK > 0xFE02F000-0xFE02F3FF Standard Dual Channel PCI IDE Controller OK > 0xFE02E000-0xFE02EFFF Standard OpenHCD USB Host Controller OK > 0xFE02D000-0xFE02DFFF Standard OpenHCD USB Host Controller OK > 0xFE02C000-0xFE02C0FF Standard Enhanced PCI to USB Host Controller OK > 0xFE02B000-0xFE02BFFF Standard OpenHCD USB Host Controller OK > 0xFE02A000-0xFE02AFFF Standard OpenHCD USB Host Controller OK > 0xFE029000-0xFE0290FF Standard Enhanced PCI to USB Host Controller OK > 0xFE024000-0xFE027FFF Microsoft UAA Bus Driver for High Definition Audio OK > 0x0000-0x0FFF Motherboard resources OK > 0x0000-0x0FFF System board OK > 0xFEE00400-0xFEE00FFF Motherboard resources OK > 0xFED00000-0xFED003FF High precision event timer OK > 0xFDCFF000-0xFDCFF7FF Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK > 0xFDCF8000-0xFDCFBFFF Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK > 0xFE028000-0xFE028FFF Standard OpenHCD USB Host Controller OK > 0xE0000000-0xEFFFFFFF Motherboard resources OK > 0xCEA00-0xCFFFF System board OK > 0xF0000-0xF7FFF System board OK > 0xF8000-0xFBFFF System board OK > 0xFC000-0xFFFFF System board OK > 0x2FEE0000-0x2FEFFFFF System board OK > 0xFFFF0000-0xFFFFFFFF System board OK > 0x100000-0x2FEDFFFF System board OK > 0x2FFF0000-0x3FFEFFFF System board OK > 0xFEC00000-0xFEC00FFF System board OK > 0xFEE00000-0xFEE00FFF System board OK > 0xFFF80000-0xFFFEFFFF System board OK The only thing that strikes me as odd is that right-clicking on My Computer reports the amount of RAM as 768 MB, while the diagnostics above states 1024 MB. For the brief period of time the FreeBSD installer runs, it reports the amount of RAM as 768 MB too. -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:32:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCAE0106566B for ; Wed, 17 Jun 2009 21:32:21 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id AD0728FC19 for ; Wed, 17 Jun 2009 21:32:21 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5HLVej0002712; Wed, 17 Jun 2009 16:31:56 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E986D8A9DA; Wed, 17 Jun 2009 16:31:39 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id 854618A9C3; Wed, 17 Jun 2009 16:31:39 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 16:31:38 -0500 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: Wed, 17 Jun 2009 16:31:30 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793F001@WADPEXV0.waddell.com> In-Reply-To: <4A395E59.7060700@gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! thread-index: AcnvkcdNGg7VaqpvRTOhxuW7HBExkgAASMkA References: <4A395E59.7060700@gmail.com> From: "Gary Gatten" To: "Manish Jain" , "FreeBSD Mailing List" X-OriginalArrivalTime: 17 Jun 2009 21:31:38.0889 (UTC) FILETIME=[FF937F90:01C9EF92] Cc: Subject: RE: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:32:22 -0000 Hmmm, seems to me the easy solution then is to run Wind0ze.... j/k... -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Manish Jain Sent: Wednesday, June 17, 2009 4:21 PM To: FreeBSD Mailing List Subject: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! I forgot to mention that Windows installs and runs very smoothly on=20 the system. Windows system information reports : > System Manufacturer Gigabyte Technology Co., Ltd.=09 > System Model GA-MA78GM-US2H=09 > System Type X86-based PC=09 > Processor x86 Family 16 Model 2 Stepping 3 AuthenticAMD ~2304 Mhz=09 > BIOS Version/Date Award Software International, Inc. F2, 02-Jan-09 > SMBIOS Version 2.4=09 > Total Physical Memory 1,024.00 MB=09 >=20 > [Conflicts/Sharing] >=20 > Resource Device=09 > I/O Port 0x00000000-0x00000CF7 PCI bus=09 > I/O Port 0x00000000-0x00000CF7 Direct memory access controller=09 >=20=09=09 > I/O Port 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge=09 > I/O Port 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics=09 >=20=09=09 > Memory Address 0x0000-0x0FFF Motherboard resources=09 > Memory Address 0x0000-0x0FFF System board=09 >=20=09=09 > Memory Address 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge=09 > Memory Address 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics=09 >=20=09=09 > IRQ 22 Standard Dual Channel PCI IDE Controller=09 > IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host Controller=09 >=20=09=09 > IRQ 16 Standard OpenHCD USB Host Controller=09 > IRQ 16 Standard OpenHCD USB Host Controller=09 > IRQ 16 Microsoft UAA Bus Driver for High Definition Audio=09 >=20=09=09 > Memory Address 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge=09 > Memory Address 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics=09 >=20=09=09 > IRQ 18 ATI Radeon HD 3200 Graphics=09 > IRQ 18 PCI standard PCI-to-PCI bridge=09 > IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC=09 > IRQ 18 Standard OpenHCD USB Host Controller=09 > IRQ 18 Standard OpenHCD USB Host Controller=09 > IRQ 18 Standard OpenHCD USB Host Controller=09 >=20=09=09 > IRQ 19 Microsoft UAA Bus Driver for High Definition Audio=09 > IRQ 19 Standard Enhanced PCI to USB Host Controller=09 >=20=09=09 > Memory Address 0xA0000-0xBFFFF PCI bus=09 > Memory Address 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge=09 > Memory Address 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics=09 >=20=09=09 > I/O Port 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge=09 > I/O Port 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics=09 >=20=09=09 >=20 > [DMA] >=20 > Resource Device Status=09 > Channel 4 Direct memory access controller OK=09 >=20 > [Forced Hardware] >=20 > Device PNP Device ID=09 >=20 > [I/O] >=20 > Resource Device Status=09 > 0x00000000-0x00000CF7 PCI bus OK=09 > 0x00000000-0x00000CF7 Direct memory access controller OK=09 > 0x00000D00-0x0000FFFF PCI bus OK=09 > 0x0000E000-0x0000EFFF PCI standard PCI-to-PCI bridge OK=09 > 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge OK=09 > 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics OK=09 > 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge OK=09 > 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics OK=09 > 0x0000EE00-0x0000EEFF ATI Radeon HD 3200 Graphics OK=09 > 0x0000D000-0x0000DFFF PCI standard PCI-to-PCI bridge OK=09 > 0x0000DC00-0x0000DCFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK=09 > 0x0000FF00-0x0000FF07 Standard Dual Channel PCI IDE Controller OK=09 > 0x0000FE00-0x0000FE03 Standard Dual Channel PCI IDE Controller OK=09 > 0x0000FD00-0x0000FD07 Standard Dual Channel PCI IDE Controller OK=09 > 0x0000FC00-0x0000FC03 Standard Dual Channel PCI IDE Controller OK=09 > 0x0000FB00-0x0000FB0F Standard Dual Channel PCI IDE Controller OK=09 > 0x0000FA00-0x0000FA0F Standard Dual Channel PCI IDE Controller OK=09 > 0x000001F0-0x000001F7 Primary IDE Channel OK=09 > 0x000003F6-0x000003F6 Primary IDE Channel OK=09 > 0x00000170-0x00000177 Secondary IDE Channel OK=09 > 0x00000376-0x00000376 Secondary IDE Channel OK=09 > 0x00000A79-0x00000A79 ISAPNP Read Data Port OK=09 > 0x00000279-0x00000279 ISAPNP Read Data Port OK=09 > 0x00000274-0x00000277 ISAPNP Read Data Port OK=09 > 0x00004100-0x0000411F Motherboard resources OK=09 > 0x00000228-0x0000022F Motherboard resources OK=09 > 0x00000238-0x0000023F Motherboard resources OK=09 > 0x0000040B-0x0000040B Motherboard resources OK=09 > 0x000004D6-0x000004D6 Motherboard resources OK=09 > 0x00000C00-0x00000C01 Motherboard resources OK=09 > 0x00000C14-0x00000C14 Motherboard resources OK=09 > 0x00000C50-0x00000C52 Motherboard resources OK=09 > 0x00000C6C-0x00000C6D Motherboard resources OK=09 > 0x00000C6F-0x00000C6F Motherboard resources OK=09 > 0x00000CD0-0x00000CD1 Motherboard resources OK=09 > 0x00000CD2-0x00000CD3 Motherboard resources OK=09 > 0x00000CD4-0x00000CDF Motherboard resources OK=09 > 0x00004000-0x000040FE Motherboard resources OK=09 > 0x00004210-0x00004217 Motherboard resources OK=09 > 0x00000B00-0x00000B0F Motherboard resources OK=09 > 0x00000B10-0x00000B1F Motherboard resources OK=09 > 0x00000B20-0x00000B3F Motherboard resources OK=09 > 0x00000020-0x00000021 Programmable interrupt controller OK=09 > 0x000000A0-0x000000A1 Programmable interrupt controller OK=09 > 0x00000080-0x00000090 Direct memory access controller OK=09 > 0x00000094-0x0000009F Direct memory access controller OK=09 > 0x000000C0-0x000000DF Direct memory access controller OK=09 > 0x00000040-0x00000043 System timer OK=09 > 0x00000070-0x00000073 System CMOS/real time clock OK=09 > 0x00000061-0x00000061 System speaker OK=09 > 0x000000F0-0x000000FF Numeric data processor OK=09 > 0x00000010-0x0000001F Motherboard resources OK=09 > 0x00000022-0x0000003F Motherboard resources OK=09 > 0x00000044-0x0000005F Motherboard resources OK=09 > 0x00000062-0x00000063 Motherboard resources OK=09 > 0x00000065-0x0000006F Motherboard resources OK=09 > 0x00000074-0x0000007F Motherboard resources OK=09 > 0x00000091-0x00000093 Motherboard resources OK=09 > 0x000000A2-0x000000BF Motherboard resources OK=09 > 0x000000E0-0x000000EF Motherboard resources OK=09 > 0x000004D0-0x000004D1 Motherboard resources OK=09 > 0x00000220-0x00000225 Motherboard resources OK=09 > 0x00000290-0x00000294 Motherboard resources OK=09 > 0x000003F8-0x000003FF Communications Port (COM1) OK=09 > 0x00000378-0x0000037F Printer Port (LPT1) OK=09 > 0x00000060-0x00000060 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK=09 > 0x00000064-0x00000064 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK=09 >=20 > [IRQs] >=20 > Resource Device Status=09 > IRQ 9 Microsoft ACPI-Compliant System OK=09 > IRQ 18 ATI Radeon HD 3200 Graphics OK=09 > IRQ 18 PCI standard PCI-to-PCI bridge OK=09 > IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK=09 > IRQ 18 Standard OpenHCD USB Host Controller OK=09 > IRQ 18 Standard OpenHCD USB Host Controller OK=09 > IRQ 18 Standard OpenHCD USB Host Controller OK=09 > IRQ 19 Microsoft UAA Bus Driver for High Definition Audio OK=09 > IRQ 19 Standard Enhanced PCI to USB Host Controller OK=09 > IRQ 22 Standard Dual Channel PCI IDE Controller OK=09 > IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK=09 > IRQ 16 Standard OpenHCD USB Host Controller OK=09 > IRQ 16 Standard OpenHCD USB Host Controller OK=09 > IRQ 16 Microsoft UAA Bus Driver for High Definition Audio OK=09 > IRQ 17 Standard Enhanced PCI to USB Host Controller OK=09 > IRQ 14 Primary IDE Channel OK=09 > IRQ 0 High precision event timer OK=09 > IRQ 8 High precision event timer OK=09 > IRQ 13 Numeric data processor OK=09 > IRQ 4 Communications Port (COM1) OK=09 > IRQ 1 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK=09 >=20 > [Memory] >=20 > Resource Device Status=09 > 0xA0000-0xBFFFF PCI bus OK=09 > 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge OK=09 > 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics OK=09 > 0xC0000-0xDFFFF PCI bus OK=09 > 0x40000000-0xFEBFFFFF PCI bus OK=09 > 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge OK=09 > 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics OK=09 > 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge OK=09 > 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics OK=09 > 0xFDFE0000-0xFDFEFFFF ATI Radeon HD 3200 Graphics OK=09 > 0xFDFFC000-0xFDFFFFFF Microsoft UAA Bus Driver for High Definition Audio OK=09 > 0xFDD00000-0xFDDFFFFF PCI standard PCI-to-PCI bridge OK=09 > 0xFDA00000-0xFDAFFFFF PCI standard PCI-to-PCI bridge OK=09 > 0xFDAFF000-0xFDAFFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK=09 > 0xFDAE0000-0xFDAEFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK=09 > 0xFE02F000-0xFE02F3FF Standard Dual Channel PCI IDE Controller OK=09 > 0xFE02E000-0xFE02EFFF Standard OpenHCD USB Host Controller OK=09 > 0xFE02D000-0xFE02DFFF Standard OpenHCD USB Host Controller OK=09 > 0xFE02C000-0xFE02C0FF Standard Enhanced PCI to USB Host Controller OK=09 > 0xFE02B000-0xFE02BFFF Standard OpenHCD USB Host Controller OK=09 > 0xFE02A000-0xFE02AFFF Standard OpenHCD USB Host Controller OK=09 > 0xFE029000-0xFE0290FF Standard Enhanced PCI to USB Host Controller OK=09 > 0xFE024000-0xFE027FFF Microsoft UAA Bus Driver for High Definition Audio OK=09 > 0x0000-0x0FFF Motherboard resources OK=09 > 0x0000-0x0FFF System board OK=09 > 0xFEE00400-0xFEE00FFF Motherboard resources OK=09 > 0xFED00000-0xFED003FF High precision event timer OK=09 > 0xFDCFF000-0xFDCFF7FF Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK=09 > 0xFDCF8000-0xFDCFBFFF Texas Instruments OHCI Compliant IEEE 1394 Host Controller OK=09 > 0xFE028000-0xFE028FFF Standard OpenHCD USB Host Controller OK=09 > 0xE0000000-0xEFFFFFFF Motherboard resources OK=09 > 0xCEA00-0xCFFFF System board OK=09 > 0xF0000-0xF7FFF System board OK=09 > 0xF8000-0xFBFFF System board OK=09 > 0xFC000-0xFFFFF System board OK=09 > 0x2FEE0000-0x2FEFFFFF System board OK=09 > 0xFFFF0000-0xFFFFFFFF System board OK=09 > 0x100000-0x2FEDFFFF System board OK=09 > 0x2FFF0000-0x3FFEFFFF System board OK=09 > 0xFEC00000-0xFEC00FFF System board OK=09 > 0xFEE00000-0xFEE00FFF System board OK=09 > 0xFFF80000-0xFFFEFFFF System board OK=09 The only thing that strikes me as odd is that right-clicking on My=20 Computer reports the amount of RAM as 768 MB, while the diagnostics=20 above states 1024 MB. For the brief period of time the FreeBSD installer runs, it reports=20 the amount of RAM as 768 MB too. --=20 Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. _______________________________________________ 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"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:45:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A701065670 for ; Wed, 17 Jun 2009 21:45:20 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-px0-f203.google.com (mail-px0-f203.google.com [209.85.216.203]) by mx1.freebsd.org (Postfix) with ESMTP id D3DBE8FC16 for ; Wed, 17 Jun 2009 21:45:19 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by pxi41 with SMTP id 41so81028pxi.3 for ; Wed, 17 Jun 2009 14:45:19 -0700 (PDT) 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=xJ5+K5EAfEySMmJMWHgQiNslLcnzVvnqwjarcxIHEgc=; b=mzTKAX/PY6bRzcG8BwNiBnO5+tFqUKXu3tiqz3GADFn+lIw8JE0eKbu+OMj4Be6BGQ 8FlOQH4prSZlHVcGR74wSbdXC7I5NBg07kQ2l6pfL+4d8mtWyn1hQ+sbDh0j/WuNXx5h FGkeGFTcV7EXxuJxBR4pfUkv5JZN7Tw+K6NEk= 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=VhYdhXsHYFOev8WhJ9Aemgv/wPg7Q+M6mnBqLNeAH4Co8QueW53Z/z/bFnvcyRGKR1 vcCZtYvjoQaproih+qmQSEIxBoHU827aLXSBRsfmqKufP1o6K4jp7CWIdI809hugvV9l ZAqMyhT3UCMxzZj2mtH8vv64sBLPgDXjY2pyY= Received: by 10.142.241.15 with SMTP id o15mr618287wfh.101.1245275119643; Wed, 17 Jun 2009 14:45:19 -0700 (PDT) Received: from ?192.168.1.2? ([122.161.1.47]) by mx.google.com with ESMTPS id 27sm2048342wff.6.2009.06.17.14.45.16 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Jun 2009 14:45:19 -0700 (PDT) Message-ID: <4A3963EA.9060300@gmail.com> Date: Thu, 18 Jun 2009 03:15:14 +0530 From: Manish Jain User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Gary Gatten References: <4A395E59.7060700@gmail.com> <70C0964126D66F458E688618E1CD008A0793F001@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F001@WADPEXV0.waddell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:45:20 -0000 Gary Gatten wrote: > Hmmm, seems to me the easy solution then is to run Wind0ze.... j/k... > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Manish Jain > Sent: Wednesday, June 17, 2009 4:21 PM > To: FreeBSD Mailing List > Subject: In addition to -> 7.2 panic during installation : AP #1 (PHY# > 1) failed ! > > I forgot to mention that Windows installs and runs very smoothly on > the system. > > Windows system information reports : >> System Manufacturer Gigabyte Technology Co., Ltd. >> System Model GA-MA78GM-US2H >> System Type X86-based PC >> Processor x86 Family 16 Model 2 Stepping 3 AuthenticAMD ~2304 Mhz >> BIOS Version/Date Award Software International, Inc. F2, 02-Jan-09 > >> SMBIOS Version 2.4 >> Total Physical Memory 1,024.00 MB >> >> [Conflicts/Sharing] >> >> Resource Device >> I/O Port 0x00000000-0x00000CF7 PCI bus >> I/O Port 0x00000000-0x00000CF7 Direct memory access controller >> >> I/O Port 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge >> I/O Port 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics >> >> Memory Address 0x0000-0x0FFF Motherboard resources >> Memory Address 0x0000-0x0FFF System board >> >> Memory Address 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge >> Memory Address 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics >> >> IRQ 22 Standard Dual Channel PCI IDE Controller >> IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host > Controller >> >> IRQ 16 Standard OpenHCD USB Host Controller >> IRQ 16 Standard OpenHCD USB Host Controller >> IRQ 16 Microsoft UAA Bus Driver for High Definition Audio >> >> Memory Address 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge >> Memory Address 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics >> >> IRQ 18 ATI Radeon HD 3200 Graphics >> IRQ 18 PCI standard PCI-to-PCI bridge >> IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC >> IRQ 18 Standard OpenHCD USB Host Controller >> IRQ 18 Standard OpenHCD USB Host Controller >> IRQ 18 Standard OpenHCD USB Host Controller >> >> IRQ 19 Microsoft UAA Bus Driver for High Definition Audio >> IRQ 19 Standard Enhanced PCI to USB Host Controller >> >> Memory Address 0xA0000-0xBFFFF PCI bus >> Memory Address 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge >> Memory Address 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics >> >> I/O Port 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge >> I/O Port 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics >> >> >> [DMA] >> >> Resource Device Status >> Channel 4 Direct memory access controller OK >> >> [Forced Hardware] >> >> Device PNP Device ID >> >> [I/O] >> >> Resource Device Status >> 0x00000000-0x00000CF7 PCI bus OK >> 0x00000000-0x00000CF7 Direct memory access controller OK >> 0x00000D00-0x0000FFFF PCI bus OK >> 0x0000E000-0x0000EFFF PCI standard PCI-to-PCI bridge OK >> 0x000003B0-0x000003BB PCI standard PCI-to-PCI bridge OK >> 0x000003B0-0x000003BB ATI Radeon HD 3200 Graphics OK >> 0x000003C0-0x000003DF PCI standard PCI-to-PCI bridge OK >> 0x000003C0-0x000003DF ATI Radeon HD 3200 Graphics OK >> 0x0000EE00-0x0000EEFF ATI Radeon HD 3200 Graphics OK >> 0x0000D000-0x0000DFFF PCI standard PCI-to-PCI bridge OK >> 0x0000DC00-0x0000DCFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit > Ethernet NIC OK >> 0x0000FF00-0x0000FF07 Standard Dual Channel PCI IDE Controller > OK >> 0x0000FE00-0x0000FE03 Standard Dual Channel PCI IDE Controller > OK >> 0x0000FD00-0x0000FD07 Standard Dual Channel PCI IDE Controller > OK >> 0x0000FC00-0x0000FC03 Standard Dual Channel PCI IDE Controller > OK >> 0x0000FB00-0x0000FB0F Standard Dual Channel PCI IDE Controller > OK >> 0x0000FA00-0x0000FA0F Standard Dual Channel PCI IDE Controller > OK >> 0x000001F0-0x000001F7 Primary IDE Channel OK >> 0x000003F6-0x000003F6 Primary IDE Channel OK >> 0x00000170-0x00000177 Secondary IDE Channel OK >> 0x00000376-0x00000376 Secondary IDE Channel OK >> 0x00000A79-0x00000A79 ISAPNP Read Data Port OK >> 0x00000279-0x00000279 ISAPNP Read Data Port OK >> 0x00000274-0x00000277 ISAPNP Read Data Port OK >> 0x00004100-0x0000411F Motherboard resources OK >> 0x00000228-0x0000022F Motherboard resources OK >> 0x00000238-0x0000023F Motherboard resources OK >> 0x0000040B-0x0000040B Motherboard resources OK >> 0x000004D6-0x000004D6 Motherboard resources OK >> 0x00000C00-0x00000C01 Motherboard resources OK >> 0x00000C14-0x00000C14 Motherboard resources OK >> 0x00000C50-0x00000C52 Motherboard resources OK >> 0x00000C6C-0x00000C6D Motherboard resources OK >> 0x00000C6F-0x00000C6F Motherboard resources OK >> 0x00000CD0-0x00000CD1 Motherboard resources OK >> 0x00000CD2-0x00000CD3 Motherboard resources OK >> 0x00000CD4-0x00000CDF Motherboard resources OK >> 0x00004000-0x000040FE Motherboard resources OK >> 0x00004210-0x00004217 Motherboard resources OK >> 0x00000B00-0x00000B0F Motherboard resources OK >> 0x00000B10-0x00000B1F Motherboard resources OK >> 0x00000B20-0x00000B3F Motherboard resources OK >> 0x00000020-0x00000021 Programmable interrupt controller OK >> 0x000000A0-0x000000A1 Programmable interrupt controller OK >> 0x00000080-0x00000090 Direct memory access controller OK >> 0x00000094-0x0000009F Direct memory access controller OK >> 0x000000C0-0x000000DF Direct memory access controller OK >> 0x00000040-0x00000043 System timer OK >> 0x00000070-0x00000073 System CMOS/real time clock OK >> 0x00000061-0x00000061 System speaker OK >> 0x000000F0-0x000000FF Numeric data processor OK >> 0x00000010-0x0000001F Motherboard resources OK >> 0x00000022-0x0000003F Motherboard resources OK >> 0x00000044-0x0000005F Motherboard resources OK >> 0x00000062-0x00000063 Motherboard resources OK >> 0x00000065-0x0000006F Motherboard resources OK >> 0x00000074-0x0000007F Motherboard resources OK >> 0x00000091-0x00000093 Motherboard resources OK >> 0x000000A2-0x000000BF Motherboard resources OK >> 0x000000E0-0x000000EF Motherboard resources OK >> 0x000004D0-0x000004D1 Motherboard resources OK >> 0x00000220-0x00000225 Motherboard resources OK >> 0x00000290-0x00000294 Motherboard resources OK >> 0x000003F8-0x000003FF Communications Port (COM1) OK >> 0x00000378-0x0000037F Printer Port (LPT1) OK >> 0x00000060-0x00000060 Standard 101/102-Key or Microsoft Natural PS/2 > Keyboard OK >> 0x00000064-0x00000064 Standard 101/102-Key or Microsoft Natural PS/2 > Keyboard OK >> [IRQs] >> >> Resource Device Status >> IRQ 9 Microsoft ACPI-Compliant System OK >> IRQ 18 ATI Radeon HD 3200 Graphics OK >> IRQ 18 PCI standard PCI-to-PCI bridge OK >> IRQ 18 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC > OK >> IRQ 18 Standard OpenHCD USB Host Controller OK >> IRQ 18 Standard OpenHCD USB Host Controller OK >> IRQ 18 Standard OpenHCD USB Host Controller OK >> IRQ 19 Microsoft UAA Bus Driver for High Definition Audio > OK >> IRQ 19 Standard Enhanced PCI to USB Host Controller OK >> IRQ 22 Standard Dual Channel PCI IDE Controller OK >> IRQ 22 Texas Instruments OHCI Compliant IEEE 1394 Host > Controller OK >> IRQ 16 Standard OpenHCD USB Host Controller OK >> IRQ 16 Standard OpenHCD USB Host Controller OK >> IRQ 16 Microsoft UAA Bus Driver for High Definition Audio > OK >> IRQ 17 Standard Enhanced PCI to USB Host Controller OK >> IRQ 14 Primary IDE Channel OK >> IRQ 0 High precision event timer OK >> IRQ 8 High precision event timer OK >> IRQ 13 Numeric data processor OK >> IRQ 4 Communications Port (COM1) OK >> IRQ 1 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK >> >> [Memory] >> >> Resource Device Status >> 0xA0000-0xBFFFF PCI bus OK >> 0xA0000-0xBFFFF PCI standard PCI-to-PCI bridge OK >> 0xA0000-0xBFFFF ATI Radeon HD 3200 Graphics OK >> 0xC0000-0xDFFFF PCI bus OK >> 0x40000000-0xFEBFFFFF PCI bus OK >> 0xFDE00000-0xFDFFFFFF PCI standard PCI-to-PCI bridge OK >> 0xFDE00000-0xFDFFFFFF ATI Radeon HD 3200 Graphics OK >> 0xD0000000-0xDFFFFFFF PCI standard PCI-to-PCI bridge OK >> 0xD0000000-0xDFFFFFFF ATI Radeon HD 3200 Graphics OK >> 0xFDFE0000-0xFDFEFFFF ATI Radeon HD 3200 Graphics OK >> 0xFDFFC000-0xFDFFFFFF Microsoft UAA Bus Driver for High Definition > Audio OK >> 0xFDD00000-0xFDDFFFFF PCI standard PCI-to-PCI bridge OK >> 0xFDA00000-0xFDAFFFFF PCI standard PCI-to-PCI bridge OK >> 0xFDAFF000-0xFDAFFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit > Ethernet NIC OK >> 0xFDAE0000-0xFDAEFFFF Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit > Ethernet NIC OK >> 0xFE02F000-0xFE02F3FF Standard Dual Channel PCI IDE Controller > OK >> 0xFE02E000-0xFE02EFFF Standard OpenHCD USB Host Controller OK >> 0xFE02D000-0xFE02DFFF Standard OpenHCD USB Host Controller OK >> 0xFE02C000-0xFE02C0FF Standard Enhanced PCI to USB Host Controller > OK >> 0xFE02B000-0xFE02BFFF Standard OpenHCD USB Host Controller OK >> 0xFE02A000-0xFE02AFFF Standard OpenHCD USB Host Controller OK >> 0xFE029000-0xFE0290FF Standard Enhanced PCI to USB Host Controller > OK >> 0xFE024000-0xFE027FFF Microsoft UAA Bus Driver for High Definition > Audio OK >> 0x0000-0x0FFF Motherboard resources OK >> 0x0000-0x0FFF System board OK >> 0xFEE00400-0xFEE00FFF Motherboard resources OK >> 0xFED00000-0xFED003FF High precision event timer OK >> 0xFDCFF000-0xFDCFF7FF Texas Instruments OHCI Compliant IEEE 1394 Host > Controller OK >> 0xFDCF8000-0xFDCFBFFF Texas Instruments OHCI Compliant IEEE 1394 Host > Controller OK >> 0xFE028000-0xFE028FFF Standard OpenHCD USB Host Controller OK >> 0xE0000000-0xEFFFFFFF Motherboard resources OK >> 0xCEA00-0xCFFFF System board OK >> 0xF0000-0xF7FFF System board OK >> 0xF8000-0xFBFFF System board OK >> 0xFC000-0xFFFFF System board OK >> 0x2FEE0000-0x2FEFFFFF System board OK >> 0xFFFF0000-0xFFFFFFFF System board OK >> 0x100000-0x2FEDFFFF System board OK >> 0x2FFF0000-0x3FFEFFFF System board OK >> 0xFEC00000-0xFEC00FFF System board OK >> 0xFEE00000-0xFEE00FFF System board OK >> 0xFFF80000-0xFFFEFFFF System board OK > > > The only thing that strikes me as odd is that right-clicking on My > Computer reports the amount of RAM as 768 MB, while the diagnostics > above states 1024 MB. > > For the brief period of time the FreeBSD installer runs, it reports > the amount of RAM as 768 MB too. > Maybe you are right the solution is to run Windows. But I should add that I scrapped the old system (i810 + Celeron) just because it couldn't do DRI on FreeBSD. -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:55:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A109B1065670 for ; Wed, 17 Jun 2009 21:55:43 +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 C3F1F8FC18 for ; Wed, 17 Jun 2009 21:55:42 +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 n5HLtaZR037151; Wed, 17 Jun 2009 23:55:36 +0200 (CEST) (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 n5HLtZSX037148; Wed, 17 Jun 2009 23:55:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 17 Jun 2009 23:55:35 +0200 (CEST) From: Wojciech Puchar To: Manish Jain In-Reply-To: <4A395E59.7060700@gmail.com> Message-ID: References: <4A395E59.7060700@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 21:55:43 -0000 > > The only thing that strikes me as odd is that right-clicking on My Computer > reports the amount of RAM as 768 MB, while the diagnostics above states 1024 > MB. > > For the brief period of time the FreeBSD installer runs, it reports the > amount of RAM as 768 MB too. Don't you have shared-memory GFX controller and allocated 256MB for it? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:58:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2890E1065686; Wed, 17 Jun 2009 21:58:24 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id CA72F8FC16; Wed, 17 Jun 2009 21:58:23 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 826F11C1A66; Wed, 17 Jun 2009 23:58:22 +0200 (CEST) Message-ID: <4A3966FE.7020702@locolomo.org> Date: Wed, 17 Jun 2009 23:58:22 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <4A38D6FE.8000804@locolomo.org> <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 21:58:24 -0000 Mel Flynn wrote: > On Wednesday 17 June 2009 03:43:58 Erik Norgaard wrote: > >> I am migrating my imap server to a jail, I got the jail up and >> cyrus-imapd starts. I have copied configuration files from the current >> server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is >> running, yet when I try to login I get the error: >> >> IMAP Password: >> Login failed: generic failure at >> /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 >> cyradm: cannot authenticate to server with as cyrus > ^^ > Looks like there's missing something there. Would should be at that spot of > the error message? Maybe a little context of line 120 in Admin.pm would help, > for us that use dovecot. > The lines giving that error is in fact in Cyrus::IMAP::Shell.pm: $cyradm->authenticate(-authz => $authz, -user => $auth, -mechanism => $mech, -password => $pw, -tlskey => $tlskey, -notls => $notls) or die "cyradm: cannot authenticate to server with $mech as $auth\n"; $mech is not defined, hence the missing word. I have tried running the script specifying a mechanism giving the same error, though some currious difference: jail# cyradm --user cyrus --auth plain 172.16.0.2 Password: IMAP Password: Login failed: authentication failure at /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 cyradm: cannot authenticate to server with plain as cyrus jail# cyradm --user cyrus --auth login 172.16.0.2 IMAP Password: Login failed: authentication failure at /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 cyradm: cannot authenticate to server with login as cyrus Looking again on the logs: Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] plaintext cyrus@example.com SASL(-13): user not found: checkpass failed The user cyrus exists, I can login and get shell access, but there may be something about the realm, that causes the user not to be found? But: jail# /usr/local/sbin/testsaslauthd -u cyrus -p secret 0: OK "Success." jail# /usr/local/sbin/testsaslauthd -u cyrus -r example.com -p secret 0: OK "Success." Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 21:58:24 2009 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 2890E1065686; Wed, 17 Jun 2009 21:58:24 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id CA72F8FC16; Wed, 17 Jun 2009 21:58:23 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 826F11C1A66; Wed, 17 Jun 2009 23:58:22 +0200 (CEST) Message-ID: <4A3966FE.7020702@locolomo.org> Date: Wed, 17 Jun 2009 23:58:22 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <4A38D6FE.8000804@locolomo.org> <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 21:58:24 -0000 Mel Flynn wrote: > On Wednesday 17 June 2009 03:43:58 Erik Norgaard wrote: > >> I am migrating my imap server to a jail, I got the jail up and >> cyrus-imapd starts. I have copied configuration files from the current >> server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is >> running, yet when I try to login I get the error: >> >> IMAP Password: >> Login failed: generic failure at >> /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 >> cyradm: cannot authenticate to server with as cyrus > ^^ > Looks like there's missing something there. Would should be at that spot of > the error message? Maybe a little context of line 120 in Admin.pm would help, > for us that use dovecot. > The lines giving that error is in fact in Cyrus::IMAP::Shell.pm: $cyradm->authenticate(-authz => $authz, -user => $auth, -mechanism => $mech, -password => $pw, -tlskey => $tlskey, -notls => $notls) or die "cyradm: cannot authenticate to server with $mech as $auth\n"; $mech is not defined, hence the missing word. I have tried running the script specifying a mechanism giving the same error, though some currious difference: jail# cyradm --user cyrus --auth plain 172.16.0.2 Password: IMAP Password: Login failed: authentication failure at /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 cyradm: cannot authenticate to server with plain as cyrus jail# cyradm --user cyrus --auth login 172.16.0.2 IMAP Password: Login failed: authentication failure at /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 cyradm: cannot authenticate to server with login as cyrus Looking again on the logs: Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] plaintext cyrus@example.com SASL(-13): user not found: checkpass failed The user cyrus exists, I can login and get shell access, but there may be something about the realm, that causes the user not to be found? But: jail# /usr/local/sbin/testsaslauthd -u cyrus -p secret 0: OK "Success." jail# /usr/local/sbin/testsaslauthd -u cyrus -r example.com -p secret 0: OK "Success." Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 22:02:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4EC4106566C for ; Wed, 17 Jun 2009 22:02:35 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id 40DE88FC17 for ; Wed, 17 Jun 2009 22:02:35 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.72] (93.97.24.219) by woodbine.london.02.net (8.5.016.1) id 4A2032960127F463; Wed, 17 Jun 2009 23:02:33 +0100 Message-ID: <4A3967F9.5020200@onetel.com> Date: Wed, 17 Jun 2009 23:02:33 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: Manish Jain References: <4A395E59.7060700@gmail.com> In-Reply-To: <4A395E59.7060700@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jun 2009 22:02:36 -0000 Manish Jain wrote: > I forgot to mention that Windows installs and runs very smoothly on the > system. > > Windows system information reports : >> System Manufacturer Gigabyte Technology Co., Ltd. >> System Model GA-MA78GM-US2H snip > > > The only thing that strikes me as odd is that right-clicking on My > Computer reports the amount of RAM as 768 MB, while the diagnostics > above states 1024 MB. > > For the brief period of time the FreeBSD installer runs, it reports the > amount of RAM as 768 MB too. > http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2995 has integrated graphics = shared memory. You can probably change the amount of RAM allocated to the graphics card in the BIOS. Chris From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 22:43:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A62810657C9 for ; Wed, 17 Jun 2009 22:43:10 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0468FC1E for ; Wed, 17 Jun 2009 22:43:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 0B96D7E842; Wed, 17 Jun 2009 14:43:08 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 17 Jun 2009 14:43:06 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A38D6FE.8000804@locolomo.org> <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A3966FE.7020702@locolomo.org> In-Reply-To: <4A3966FE.7020702@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906171443.07165.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 22:43:10 -0000 On Wednesday 17 June 2009 13:58:22 Erik Norgaard wrote: > Mel Flynn wrote: > > On Wednesday 17 June 2009 03:43:58 Erik Norgaard wrote: > >> I am migrating my imap server to a jail, I got the jail up and > >> cyrus-imapd starts. I have copied configuration files from the current > >> server, cyrus.conf, imapd.conf and passwd and group files. saslauthd is > >> running, yet when I try to login I get the error: > >> > >> IMAP Password: > >> Login failed: generic failure at > >> /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 > >> cyradm: cannot authenticate to server with as cyrus > > > > ^^ > > Looks like there's missing something there. Would should be at that spot > > of the error message? Maybe a little context of line 120 in Admin.pm > > would help, for us that use dovecot. > > The lines giving that error is in fact in Cyrus::IMAP::Shell.pm: > > $cyradm->authenticate(-authz => $authz, -user => $auth, > -mechanism => $mech, -password => $pw, > -tlskey => $tlskey, -notls => $notls) > or die "cyradm: cannot authenticate to server with $mech as > $auth\n"; > > $mech is not defined, hence the missing word. I have tried running the > script specifying a mechanism giving the same error, though some > currious difference: > > jail# cyradm --user cyrus --auth plain 172.16.0.2 > Password: > IMAP Password: > Login failed: authentication failure at > /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 > cyradm: cannot authenticate to server with plain as cyrus > jail# cyradm --user cyrus --auth login 172.16.0.2 > IMAP Password: > Login failed: authentication failure at > /usr/local/lib/perl5/site_perl/5.10.0/mach/Cyrus/IMAP/Admin.pm line 120 > cyradm: cannot authenticate to server with login as cyrus > > Looking again on the logs: > > Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] > plaintext cyrus@example.com SASL(-13): user not found: checkpass failed > > The user cyrus exists, I can login and get shell access, but there may > be something about the realm, that causes the user not to be found? But: Any chance there's a minuserid in effect? dovecot doesn't allow logins from user id's <1000 by default. There may be a similar issue with Cyrus and sounds like something one would overlook. It still is disturbing that no mechanisms are found. Are there maybe left overs in site_perl/5.8.9? Or do you have restrictions that only allow plain logins when tls is in effect? -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 00:17:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72231065672 for ; Thu, 18 Jun 2009 00:17:30 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5E18FC14 for ; Thu, 18 Jun 2009 00:17:30 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so367189qwe.7 for ; Wed, 17 Jun 2009 17:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hmSxzpzxiY70W3mUMkqgavzGguZyc7Olp5NcuknwgHc=; b=cRCioPi8Mjp4ZzHoD5Kb327LxSreKFl0MbQiTxN1AOdwnyO6e9TraWW4yCDSoHNtyd l95JgqfErB1K+PvTj5AkTv5tgpgrchkX18uRMkIEBqEXE7Mm/KtnVdIkQoM0UaZ7kKb6 II+R5c/HymN6CwE+Q/+zY7pTFFwilloNutcsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=B7+k2/pb0oMHbI1MUNXNB1x/QYVK5Y43HLOzN+L3ze6dfI1ZRe2tO570RJYyCuUx5J 7xKmJdV4R164XiuavGUohyeqSBzLH0ArOK1bMpiE1P9BmCb9jnI40T/KT+y1YjjMJn04 SQMcnCtb4XdCUtsUUru9+jWgk48v45a83HcME= MIME-Version: 1.0 Received: by 10.220.45.84 with SMTP id d20mr1051830vcf.90.1245284249634; Wed, 17 Jun 2009 17:17:29 -0700 (PDT) In-Reply-To: <4A393C21.8040800@gmx.com> References: <70C0964126D66F458E688618E1CD008A0793EFF4@WADPEXV0.waddell.com> <4A393C21.8040800@gmx.com> Date: Wed, 17 Jun 2009 18:17:29 -0600 Message-ID: From: Tim Judd To: Nikos Vassiliadis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gary Gatten , freebsd-questions@freebsd.org, raulbecette@unp.edu.ar, wojtek@wojtek.tensor.gdynia.pl Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 00:17:31 -0000 I've not yet had the luck with assigning more than one default gateway in BSD, compared to Windows and my crash course with Linux (which my opinion still stands as it was when I first used it). See my thread I started earlier.. http://lists.freebsd.org/pipermail/freebsd-questions/2009-May/199653.html The thread is broken because the replier wrote to me personally for clarification, after which he sent his answer to the list. I just recently tried the setfib way, and it still didn't work. Was getting errors but I can't recall them at the moment. So a firewall's "routing table" that's based on source/destination has to be redirected. I've seen the pf firewall do that. OpenBSD's FAQ on pf (the creator of pf) is very good, consult it if you have questions. http://www.openbsd.org/faq/pf On 6/17/09, Nikos Vassiliadis wrote: > Gary Gatten wrote: >> I meant, the original source flows are nat'd to whatever outbound >> interface ip they are RRLB to. That way any internal flow can use any isp >> connection. Most of my interesting routing, NAT, etc I do with Ci$co so >> not all that up on BSD's options. > > Yes, works with ci$co, doesn't with FreeBSD ;) > > You cannot add more than one next hop for any given prefix. > Well, you can achieve almost the same result, but only with > the help of a packet filter which can bypass the routing table > lookup and forward to the next hop of preference. But that's > hardly the same with ECMP which many vendors support... > > Yet, that's about to change. There is ECMP support in 8.0:) > > > _______________________________________________ > 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 Jun 18 01:13:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CED8B10656CC for ; Thu, 18 Jun 2009 01:13:36 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 4EE088FC19 for ; Thu, 18 Jun 2009 01:13:35 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 81024 invoked by uid 89); 18 Jun 2009 01:16:00 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 18 Jun 2009 01:16:00 -0000 Message-ID: <4A3994BC.1000600@ibctech.ca> Date: Wed, 17 Jun 2009 21:13:32 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions -" X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010109090206050903030704" Subject: Changing my login 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: Thu, 18 Jun 2009 01:13:37 -0000 This is a cryptographically signed message in MIME format. --------------ms010109090206050903030704 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi everyone, I've got a couple of jails now that I use exclusively for Perl development. As soon as I log into the box via SSH, my first command is _always_ "cd devel/something". I'd like to make it so that '~' remains /home/steve, but when I log in, I would prefer to be dropped immediately into /home/steve/devel. csh is (always) my shell, and I'm on 7.2. Instead of writing a login script, I'm wondering if there's a more native approach to get what I'm after. Steve --------------ms010109090206050903030704 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwNjE4MDExMzMyWjAjBgkqhkiG9w0BCQQxFgQU7XfkJiUa6P03kDq/mD/EQ2KE yjQwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AI+dKnL0yZXR/Bi/gtUtS26Pw3lgjyWpRKsE/c0vlvmCHSaULkKR0d2lwxRrdqHYkmp/BwCc c5/Qy3VSRuYUocnFT6dS0XSAtuyLf3026XWuRBvyHh0P4bXo5CHnOWiE+FJ9f7pYuLsSGO/y CLi6yOSd0IXTrTAmQPzHpEjrzNveuQDFCDSZjDNmhJRt0eBxNzG3U7+xfLRcv5mon9m4iUQu 9MWxxKKfNyLOTa8SxPNmUYHuQYpQphYgf0PAlBMRxc2uWISrbykYfvaT9zGdT6Lm/tj/wPUr 1NHMcySihBpfqQ+T2uBalV5p1Oa4O2syLocOFVqhskzlp5zGJHROwNcAAAAAAAA= --------------ms010109090206050903030704-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 01:19:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DA1106566B for ; Thu, 18 Jun 2009 01:19:08 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF778FC08 for ; Thu, 18 Jun 2009 01:19:07 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm25 with SMTP id 25so709350fxm.43 for ; Wed, 17 Jun 2009 18:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Q/Khw9wzto5cvZfKkoqrjy3i+RKahOEnCdUaJ56G058=; b=V9XWc14XyQwbr/RbqMZDgYjIEZWLcASFCmXsX1Xs/WJvCg6zsLjxayA1iA8ySCh03I BZpkVenBWv2nBj9cW180aIb9dUERv3ZrZEqsPwMEoTzijAnwW/KhSfBhy4z/dIbs6IWz WcbgWZJ/sUAqQeTq0gVsNvxQKsq2OIJfi6a7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PnwBZs3OLqgtIedRinj+QBwDBddA7+pBKfDRSPzC5Elma+otuxChX3dWOGv7AWPYSS 8jw4YD0dMFQ+aiHXsze9WV9vDFzOD96A1MJD8QgYoe07Vf+a/IHG+ilgYASkHYLkMRnC RujOVWow08xFGreWDoZKGvH4MsqHgS4hAMpjo= MIME-Version: 1.0 Received: by 10.204.116.15 with SMTP id k15mr737347bkq.118.1245287946953; Wed, 17 Jun 2009 18:19:06 -0700 (PDT) In-Reply-To: <4A3994BC.1000600@ibctech.ca> References: <4A3994BC.1000600@ibctech.ca> Date: Wed, 17 Jun 2009 21:19:06 -0400 Message-ID: <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> From: Glen Barber To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login 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: Thu, 18 Jun 2009 01:19:08 -0000 Hi, Steve On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand wrote: > Hi everyone, > > I've got a couple of jails now that I use exclusively for Perl development. > > As soon as I log into the box via SSH, my first command is _always_ "cd > devel/something". > > I'd like to make it so that '~' remains /home/steve, but when I log in, > I would prefer to be dropped immediately into /home/steve/devel. > > csh is (always) my shell, and I'm on 7.2. > > Instead of writing a login script, I'm wondering if there's a more > native approach to get what I'm after. > You can always add: cd $HOME/devel/something to $HOME/.login -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 01:24:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB4FF106566B for ; Thu, 18 Jun 2009 01:24:20 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 896F08FC14 for ; Thu, 18 Jun 2009 01:24:20 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 81461 invoked by uid 89); 18 Jun 2009 01:26:46 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 18 Jun 2009 01:26:46 -0000 Message-ID: <4A399742.1050402@ibctech.ca> Date: Wed, 17 Jun 2009 21:24:18 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Glen Barber References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> In-Reply-To: <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060601090709050705020606" Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login 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: Thu, 18 Jun 2009 01:24:21 -0000 This is a cryptographically signed message in MIME format. --------------ms060601090709050705020606 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Glen Barber wrote: > Hi, Steve > > On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand wrote: >> Hi everyone, >> >> I've got a couple of jails now that I use exclusively for Perl development. >> >> As soon as I log into the box via SSH, my first command is _always_ "cd >> devel/something". >> >> I'd like to make it so that '~' remains /home/steve, but when I log in, >> I would prefer to be dropped immediately into /home/steve/devel. >> >> csh is (always) my shell, and I'm on 7.2. >> >> Instead of writing a login script, I'm wondering if there's a more >> native approach to get what I'm after. >> > > You can always add: > cd $HOME/devel/something > > to $HOME/.login %echo "cd /home/steve/devel" >> /home/steve/.login %exit ...re-connect via SSH: Password: %pwd /home/steve/devel Beautiful! That was exactly what I was after. Thanks! Steve --------------ms060601090709050705020606 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwNjE4MDEyNDE4WjAjBgkqhkiG9w0BCQQxFgQUzUZjxL2vJf0GTxTxyJbjUigO qbIwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AEPXpZEQB8h0t0z9ewsCqP7WSpKCs7GZx2OfRHsRhXCw5OEyguC5p0W+zRb1PdTQmj1hu/Jh Ul9EYBC/Y3KQgEby1OaS2Kg0w69NJwue0S70loTJmOEwAmBJlVnn6jNQwpbRXV5u+7ynLaVH 3KNObTTIsDtW9DjO+QLN+2i+P2ty1ekR0ErELWaqtl4cyryFJXBbna/04K7Z35YIrOgTEaBX aNCWiniHd+qjrqunukv/40fII78PmUo+J3qUwhqD+t/rWuF+LlA3OpaTpSb7UfraWz51VLOf 1/SJ8slQzZynem7JznxhiSWdkiS/DZgF68bs60QVWsVjXvxyRzFtvAkAAAAAAAA= --------------ms060601090709050705020606-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 02:02:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56E84106566B for ; Thu, 18 Jun 2009 02:02:20 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C4C7A8FC16 for ; Thu, 18 Jun 2009 02:02:19 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 83000 invoked by uid 89); 18 Jun 2009 02:04:45 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 18 Jun 2009 02:04:45 -0000 Message-ID: <4A39A029.2030805@ibctech.ca> Date: Wed, 17 Jun 2009 22:02:17 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Glen Barber References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> <4A399742.1050402@ibctech.ca> In-Reply-To: <4A399742.1050402@ibctech.ca> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060604030005070601060409" Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login 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: Thu, 18 Jun 2009 02:02:20 -0000 This is a cryptographically signed message in MIME format. --------------ms060604030005070601060409 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Steve Bertrand wrote: > Glen Barber wrote: >>> I'd like to make it so that '~' remains /home/steve, but when I log in, >>> I would prefer to be dropped immediately into /home/steve/devel. >>> >>> csh is (always) my shell, and I'm on 7.2. >>> >>> Instead of writing a login script, I'm wondering if there's a more >>> native approach to get what I'm after. >>> >> You can always add: >> cd $HOME/devel/something >> >> to $HOME/.login > > %echo "cd /home/steve/devel" >> /home/steve/.login > %exit I'd like to add for archive purposes, that with csh, adding the following within the 'if' block in .cshrc will provide a prompt that includes the current working directory, without the full path (which I also wanted: set prompt = "%c1 % " Output: ~/devel % ll total 16 drwxr-xr-x 7 steve steve 512 Jun 17 13:06 EagleLedger drwxr-xr-x 6 steve steve 512 Jun 17 17:01 EagleSanity drwxr-xr-x 7 steve steve 512 Jun 17 16:00 EagleTransac drwxr-xr-x 5 steve steve 512 Jun 17 13:09 EagleUser drwxr-xr-x 4 steve steve 512 Jun 12 13:20 RadiusMgmt drwxr-xr-x 2 steve steve 512 Jun 17 12:48 dump drwxr-xr-x 10 steve steve 512 Jun 17 16:37 eagleaccounting drwxr-xr-x 2 steve steve 512 Jun 15 11:47 examples ~/devel % cd EagleTransac/ EagleTransac % ...that makes it a *lot* easier when I'm making changes[1]. Steve [1]. Some may wonder why I don't have all Perl modules under one Eagle umbrella. The only reason is because SVN stores rev numbers globally, which throws off the package management system. I need to know which version of which package is installed. I've got ideas for writing something that aggregates the revs so I can have all of ::these in one location, but during development, I need version separation without having to fix version issues. The nice thing is, is that all modules are Eagle::, so consolidating won't be difficult later (ie won't affect APIs). --------------ms060604030005070601060409 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwNjE4MDIwMjE3WjAjBgkqhkiG9w0BCQQxFgQUO3yhCa7a6zrtZguuvyrX4MGn u2IwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AJIzDeR02CvWn04h40JmaOcnN8NXJoVFDksnVQRM0EyclFN4D2CkXbWVB3b08xiTL274KTef BP2ZnOstcYUO8zo09R9ZfgmozvwPS8Fn3m4tQksK1DnMjVYO1VbuO+NqCbZLcs0UFI5XvTfd JQD4rST6jo43OF4mzRcsolve2aU9qvmlntKkgz/qXAt824wdVcXj8q27b/2egJMe5IpE/DOu KD20h2pZj5oWF3a1UtEoOwY8jVeUiBoiAxOM3gSHvmnXHCUeyner9BAPpIcJnT6g3SbBIoi7 XZLCN3oJjNhay7rkNTIBN2H4Uqu6cOCdeVM6ok7mxCqh6EegsXYFl9UAAAAAAAA= --------------ms060604030005070601060409-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 05:28:28 2009 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 F22DF1065670 for ; Thu, 18 Jun 2009 05:28:28 +0000 (UTC) (envelope-from engage@ideasforchange.tv) Received: from iph1.telenor.se (iph1.telenor.se [195.54.127.132]) by mx1.freebsd.org (Postfix) with ESMTP id 11D908FC0C for ; Thu, 18 Jun 2009 05:28:27 +0000 (UTC) (envelope-from engage@ideasforchange.tv) X-SMTPAUTH: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtEOAK9mOUrDNmV4mWdsb2JhbACCJS6EHpFvAQEBAQEICwoHE7hEhAgF X-IronPort-AV: E=Sophos;i="4.42,241,1243807200"; d="scan'208,217";a="21982220" Received: from ironport.bredband.com ([195.54.101.120]) by iph1.telenor.se with ESMTP; 18 Jun 2009 06:59:09 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApH+ADtmOUpV5X7VPGdsb2JhbACGcZFlAQEBAR8JBwg X-IronPort-AV: E=Sophos;i="4.42,241,1243807200"; d="scan'208,217";a="538341609" Received: from c-d57ee555.016-94-73746f11.cust.bredbandsbolaget.se (HELO [10.0.1.4]) ([85.229.126.213]) by ironport1.bredband.com with SMTP; 18 Jun 2009 06:59:08 +0200 Date: Thu, 18 Jun 2009 06:59:08 +0200 Mime-version: 1.0 From: IdeasForChange.TV To: Message-Id: <618659.BOKOSSAU@ideasforchange.tv> Original-recipient: rfc822;questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: The worlds only editorial space for video content on sustainability X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: engage@ideasforchange.tv List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 05:28:29 -0000 Hi Today we are launching our massive effort to create the world's only editor= ial place for content on sustainability. What you see on ideasforchange.tv = is still just a teaser, a demo. We know that the power and knowledge of the grassroots can be really powerf= ul if put in good use. We know that the right information is out there; we = know that videos are made of products, seminars, ideas, interviews, and mee= tings. We know that a lot of spaces, schools, organizations, people and com= panies do a lot of good work already. But we need to join forces. We need a= place to meet, connect, engage and exist. We need to do it together. We ne= ed to join forces to create a more sustainable world. On so many levels lik= e: economy, urbanity, ecology, peace, social issues and way of thinking. We want to start by asking for your help. Your help to build our forces, yo= ur help to gather all information available and to tell your friends. We ne= ed your help with inputs, suggestions and we need you to tell us your needs= on sustainability. Basically we need your help to change the world. Because that's exactly what we are aiming to do. And that's why we are building this global team, webpage and project. To st= art connecting the dots. To become bigger, smarter, and so that our ideas o= n how to make a more sustainable world can become real. Soon! And this time= its done for real. So join our newsletter, send us your video material and inputs, engage your= self and expect the beta site to launch in august. Visit the web site IdeasForChange.TV /Daniel Daboczy Global project manager From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 05:51:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C38E41065754 for ; Thu, 18 Jun 2009 05:51:05 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 69E038FC18 for ; Thu, 18 Jun 2009 05:51:05 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 38CE01C1A66; Thu, 18 Jun 2009 07:51:04 +0200 (CEST) Message-ID: <4A39D5C7.8000009@locolomo.org> Date: Thu, 18 Jun 2009 07:51:03 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <4A38D6FE.8000804@locolomo.org> <200906171204.38995.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A3966FE.7020702@locolomo.org> <200906171443.07165.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200906171443.07165.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 05:51:06 -0000 Mel Flynn wrote: >> Looking again on the logs: >> >> Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] >> plaintext cyrus@example.com SASL(-13): user not found: checkpass failed >> >> The user cyrus exists, I can login and get shell access, but there may >> be something about the realm, that causes the user not to be found? But: > > Any chance there's a minuserid in effect? dovecot doesn't allow logins from > user id's <1000 by default. There may be a similar issue with Cyrus and sounds > like something one would overlook. No, the cyrus user has the same uid and passwd in both jail and on host. > It still is disturbing that no mechanisms are found. Are there maybe left > overs in site_perl/5.8.9? I recently (may) deinstalled all packages and upgraded everything, there are nothing perlish that should cause such problems: I have checked using cyradm to connect from the host to host, host to jail, jail to host and jail to jail. In all cases, I can connect with the imap instance on the host, but not in the jail. > Or do you have restrictions that only allow plain > logins when tls is in effect? There are indeed: allowplaintext: yes allowplainwithouttls: no sasl_mech_list: plain sasl_minimum_layer: 128 sasl_pwcheck_method: saslauthd However, this is the same configuration that I have on the host where everything works fine. It appears to be something with the realm, really: I did a bad login on the working server just to see what goes on there (user games): Jun 18 07:46:28 alpha imap[14244]: badlogin: jail.example.com [172.16.0.2] plaintext games SASL(-13): authentication failure: checkpass failed And just for comparison, a successful login: Jun 18 07:39:54 alpha imap[14127]: login: jail.example.com [172.16.0.2] cyrus plaintext User logged in Both where I connect out from the jail to the host. Note there is no realm specified contrary to the log entries found in the jail. thanks again, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:04:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7D4106564A for ; Thu, 18 Jun 2009 08:04:43 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 357128FC16 for ; Thu, 18 Jun 2009 08:04:43 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:61337) by b.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MHCbx-0002O6-K8 for freebsd-questions@freebsd.org; Thu, 18 Jun 2009 10:04:41 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MHCbx-0006so-Ic for freebsd-questions@freebsd.org; Thu, 18 Jun 2009 10:04:41 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 10:04:41 +0200 MIME-Version: 1.0 Message-ID: <4A3A1139.19283.3B33E52@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: b.mail.ru.ac.za (146.231.129.34) Subject: counting pages sent to postscript printer via samba and lpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 08:04:44 -0000 Hiya all. I'm busy reading the manual on this, but am wondering if anyone has tips and howtos available..... I took delivery of our new color laser printer, a CP1515n, HP networked color laser. since this thing is not exactly cheap to run I want to count pages per user, and since I have failed miserably to get this right when using PCL drivers, I'm thinking I can do it with Postscript drivers..... but first, the system.... Our Samba server hosts all printers (from a user perspective), and feeds the data directly to the print servers (FreeBSD minial install) for some printers, or directly to the printer for the other directly networked HP laser printer (PCL6). This works fine, in fact very well, and a log of jobs per person is available (each person being an authorized samba user). I have just installed the PS drivers on my XP PC and printed to the printer via the samba server with a simple printcap setup... cp1515|CP1515n Color Laserjet:\ :sh:ff=:\ :lp=:\ :sd=/var/spool/lpd/cp1515:\ :lf=/var/log/lpd/lpd-cp1515errs:\ :ss=/var/log/lpd/stat-cp1515:\ :rm=xxx.yyy.zzz.aaa:\ :rp=RAW: That means I have a record of *jobs* in the stat-cp1515 file, but what I need is a page count for each job. tips? (PS: I tried to set up LPng some time ago and somehow completely failed to get it to work and ended up just uninstalling it. I'd really like to stay with stock lpd) -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:25:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE68B1065672 for ; Thu, 18 Jun 2009 08:25:00 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4E42F8FC08 for ; Thu, 18 Jun 2009 08:25:00 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n5I8KM9b076060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jun 2009 15:20:22 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n5I8OvNX027279; Thu, 18 Jun 2009 15:24:57 +0700 (ICT) (envelope-from on) Date: Thu, 18 Jun 2009 15:24:57 +0700 (ICT) Message-Id: <200906180824.n5I8OvNX027279@banyan.cs.ait.ac.th> From: Olivier Nicole To: d.forsyth@ru.ac.za In-reply-to: <4A3A1139.19283.3B33E52@d.forsyth.ru.ac.za> References: <4A3A1139.19283.3B33E52@d.forsyth.ru.ac.za> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: counting pages sent to postscript printer via samba and lpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 08:25:01 -0000 Hi, > I'm busy reading the manual on this, but am wondering if anyone has > tips and howtos available..... > > I took delivery of our new color laser printer, a CP1515n, HP > networked color laser. since this thing is not exactly cheap to run > I want to count pages per user, and since I have failed miserably to > get this right when using PCL drivers, I'm thinking I can do it with > Postscript drivers..... but first, the system.... >From what I know: - PostScript does not return page count; - and lpd would not collect the page count even if it was returned by PostScript. Now if you use PostScript encapsulated into PCL, the PCL outside job can return page count. And to be accurate, you must deny any user to access the printer directly (setting access lit on the printer). Ecapsulation in Perl: # before the job print S "ESC%-12345X\@PJL JOB NAME=\"$ID_STRING\"\r\n"; print S "\@PJL USTATUS JOB=ON\r\n"; print S "\@PJL SET DUPLEX=ON\r\n"; # you PostScript or PCL file goes here\ # after the job print S "ESC%-12345X\@PJL EOJ NAME=\"$ID_STRING\"\r\n"; print S "ESC%-12345X\r\n"; The ID_STRING is what you see fit, I use: $ID_STRING="PID=$$ USER=$user HOST=$host"; With such encapsulation, the printer will return something like: my $end=0; my $job=0; while () { $end=1 if $_ =~ /^END/; $job=1 if $end && $_ =~ /^NAME=\"$ID_STRING\"/; $pages=$1 if $end && $job && $_ =~ /^PAGES=(\d+)/; } As you see, you can encapsulate PCL inside PCL too. And you can force some default arguments in your outside PCL job (like print double side) that will be true unless the user specify otherwise. The above has been working fine with several HP printers over the years. Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:36:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D994E1065672 for ; Thu, 18 Jun 2009 08:36:12 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-fx0-f217.google.com (mail-fx0-f217.google.com [209.85.220.217]) by mx1.freebsd.org (Postfix) with ESMTP id 60F318FC16 for ; Thu, 18 Jun 2009 08:36:11 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by fxm17 with SMTP id 17so113737fxm.43 for ; Thu, 18 Jun 2009 01:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=i6dboNk0KLUgUiR3yAY6auqO3KRsUWcTRSC+XE+lxm4=; b=nxxkB+TOEyO3O/DMj/TxHa+WvP86yknQrcAy0adsJ195nM7ING3bwbZZpbB7yYZmVv flxGdgfJRGJ5oibfGmjmOLeNSyZNTXCWBmzVkVoWW24shrhODRtxvYEMgJZHoiSH4Ane e39iwm0e5x4mLrfXqRQZgAKPn2hqkNoia1oFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Df/uMjjsSFQgbpdhFLtN4QT+h9Ji7joOkL2OA+ckH1dxGkGCYXUAYozWqPwIH7hB7Y hD7I2nAScAEk6NanWbCA7Kecr3Kn+znYCVSZkPBp3KR+UecpUNdZaaXiBHKNI3sRWVni XbOdOUo4RXHo74k4R4YfgKVYS3F9/EQ632Qaw= MIME-Version: 1.0 Received: by 10.103.251.13 with SMTP id d13mr839995mus.114.1245314171160; Thu, 18 Jun 2009 01:36:11 -0700 (PDT) In-Reply-To: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> References: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> From: Valentin Bud Date: Thu, 18 Jun 2009 11:35:51 +0300 Message-ID: <139b44430906180135y6969322ai28c729ca815f6915@mail.gmail.com> To: Mike Sweetser - Adhost Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: PF Routing to VPN Device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 08:36:13 -0000 On Wed, Jun 17, 2009 at 10:31 PM, Mike Sweetser - Adhost wrote: > Hello, > > We have a network with a VPN device sitting beside a PF server, both > connected to an internal network. > > PF Server: 10.1.4.1 > VPN Device: 10.1.4.200 > > The VPNs are set up for 10.1.1.0/24 and 10.1.2.0/24, so any traffic to > these networks should be routed to 10.1.4.200. We've set up routes on > the PF server as such. > > We've set up the following rules: > > block in log > pass in on $int_if route-to 10.1.4.200 from 10.1.4.0/24 to { 10.1.1.0/24 > 10.1.2.0/24) > > However, the block in log is catching the return traffic. From pflog > when somebody on the VPN (10.1.2.105) tries to connect to 10.1.4.25 on > port 80: > > 000000 rule 28/0(match): block in on bge1: 10.1.4.25.80 > > 10.1.2.105.3558: [|tcp] > > If we remove the block in log, the traffic works. > > What are we missing? > > Thanks, > Mike Hello Mike, What version on FBSD are you using? The keep state is implicit from 7.0 as far as i know. I might not be right so someone please correct. If that is the case you should add keep state to your rule and see what happens. my 7c, v -- network warrior since 2005 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:36:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83AF61065676 for ; Thu, 18 Jun 2009 08:36:46 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from mail-in07.adhost.com (mail-in07.adhost.com [216.211.128.137]) by mx1.freebsd.org (Postfix) with ESMTP id 68A528FC29 for ; Thu, 18 Jun 2009 08:36:46 +0000 (UTC) (envelope-from mikesw@adhost.com) Received: from ad-exh01.adhost.lan (exchange.adhost.com [216.211.143.69]) by mail-in07.adhost.com (Postfix) with ESMTP id 142F08ADDA7 for ; Thu, 18 Jun 2009 01:36:46 -0700 (PDT) (envelope-from mikesw@adhost.com) 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: Thu, 18 Jun 2009 01:36:45 -0700 Message-ID: <17838240D9A5544AAA5FF95F8D5203160638ACB3@ad-exh01.adhost.lan> In-Reply-To: <139b44430906180135y6969322ai28c729ca815f6915@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PF Routing to VPN Device Thread-Index: Acnv79jD2/vzSY5cQv6JO06KyAY8zAAAAdGw References: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> <139b44430906180135y6969322ai28c729ca815f6915@mail.gmail.com> From: "Mike Sweetser - Adhost" To: Subject: RE: PF Routing to VPN Device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 08:36:47 -0000 > -----Original Message----- > From: Valentin Bud [mailto:valentin.bud@gmail.com] > Sent: Thursday, June 18, 2009 1:36 AM > To: Mike Sweetser - Adhost > Cc: freebsd-questions@freebsd.org > Subject: Re: PF Routing to VPN Device >=20 >=20 >=20 > On Wed, Jun 17, 2009 at 10:31 PM, Mike Sweetser - Adhost > wrote: >=20 >=20 > Hello, >=20 > We have a network with a VPN device sitting beside a PF server, > both > connected to an internal network. >=20 > PF Server: 10.1.4.1 > VPN Device: 10.1.4.200 >=20 > The VPNs are set up for 10.1.1.0/24 and 10.1.2.0/24, so any > traffic to > these networks should be routed to 10.1.4.200. We've set up > routes on > the PF server as such. >=20 > We've set up the following rules: >=20 > block in log > pass in on $int_if route-to 10.1.4.200 from 10.1.4.0/24 to { > 10.1.1.0/24 > 10.1.2.0/24) >=20 > However, the block in log is catching the return traffic. From > pflog > when somebody on the VPN (10.1.2.105) tries to connect to > 10.1.4.25 on > port 80: >=20 > 000000 rule 28/0(match): block in on bge1: 10.1.4.25.80 > > 10.1.2.105.3558: [|tcp] >=20 > If we remove the block in log, the traffic works. >=20 > What are we missing? >=20 > Thanks, > Mike >=20 >=20 > Hello Mike, >=20 > What version on FBSD are you using? The keep state is implicit from > 7.0 as > far as i know. I might not be right so someone please correct. >=20 > If that is the case you should add keep state to your rule and see > what happens. We're using FreeBSD 7.2. Mike From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:38:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B801065672 for ; Thu, 18 Jun 2009 08:38:04 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 40EC78FC18 for ; Thu, 18 Jun 2009 08:38:04 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by bwz27 with SMTP id 27so101495bwz.43 for ; Thu, 18 Jun 2009 01:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=ZSnRBfcYGURJV1KXx9ekac5dimmof3ahxI3FX+Yrsek=; b=elwrNOdfNeuw2LF7+Ehke+kEVFt1rwqKZBg7XA/EiKIh7KKBRSWoQ3amhN52js/amQ XQvXfdRrTuVywtxRwQa8/6Nld8Mj2MjB44MG3PameP573lWuVr9J7Wei92Y4uTONokxc FEI5234djwHZP753E9IWs52nqQ8TPPmSlkKTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=M1nv7glZKh/FOSa531zwGXERzf3JiDZ9wb1VHxuFxrKjmhvPYsM8PPflkxtJ3FksDo ZG6TgC19KcyZInsx4bWSUggYM0Ilbl/V2Y2pTMAfBwWeXOA92KptyyfXZRoUqFKrUpWU viYrdQ1a6L5SPJ/lFF3DZcHEBwvOm8JctEPEQ= MIME-Version: 1.0 Received: by 10.103.165.18 with SMTP id s18mr848100muo.104.1245314283118; Thu, 18 Jun 2009 01:38:03 -0700 (PDT) In-Reply-To: <139b44430906180135y6969322ai28c729ca815f6915@mail.gmail.com> References: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> <139b44430906180135y6969322ai28c729ca815f6915@mail.gmail.com> From: Valentin Bud Date: Thu, 18 Jun 2009 11:37:43 +0300 Message-ID: <139b44430906180137w4daf8c3as6ce02423bc19db36@mail.gmail.com> To: Mike Sweetser - Adhost Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: PF Routing to VPN Device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 08:38:05 -0000 On Thu, Jun 18, 2009 at 11:35 AM, Valentin Bud wrote: > > > On Wed, Jun 17, 2009 at 10:31 PM, Mike Sweetser - Adhost < > mikesw@adhost.com> wrote: > >> Hello, >> >> We have a network with a VPN device sitting beside a PF server, both >> connected to an internal network. >> >> PF Server: 10.1.4.1 >> VPN Device: 10.1.4.200 >> >> The VPNs are set up for 10.1.1.0/24 and 10.1.2.0/24, so any traffic to >> these networks should be routed to 10.1.4.200. We've set up routes on >> the PF server as such. >> >> We've set up the following rules: >> >> block in log >> pass in on $int_if route-to 10.1.4.200 from 10.1.4.0/24 to { 10.1.1.0/24 >> 10.1.2.0/24) >> >> However, the block in log is catching the return traffic. From pflog >> when somebody on the VPN (10.1.2.105) tries to connect to 10.1.4.25 on >> port 80: >> >> 000000 rule 28/0(match): block in on bge1: 10.1.4.25.80 > >> 10.1.2.105.3558: [|tcp] >> >> If we remove the block in log, the traffic works. >> >> What are we missing? >> >> Thanks, >> Mike > > Hello Mike, What version on FBSD are you using? The keep state is implicit from 7.0 AFAIK. So if you are using a version prior 7.0 you should add keep state so the return traffic can be passed. v -- network warrior since 2005 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 08:44:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9743106564A for ; Thu, 18 Jun 2009 08:44:18 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 591C18FC0C for ; Thu, 18 Jun 2009 08:44:18 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n5I86kML089979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 18 Jun 2009 17:36:46 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 17:36:33 +0930 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12709398.2pPgtSgBge"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906181736.42863.doconnor@gsoft.com.au> X-Spam-Score: -3.539 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: malathi selvaraj Subject: Re: good morning to all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 08:44:19 -0000 --nextPart12709398.2pPgtSgBge Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 18 Jun 2009, malathi selvaraj wrote: > how to install samba in freebsd Redirected to freebsd-questions@ You need to use the ports tree (check the handbook for how to=20 install/update it) Then do cd /usr/ports/net/samba33 make install =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart12709398.2pPgtSgBge Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBKOfWS5ZPcIHs/zowRAivJAKCfhZXFFhc3WRXSBGaQa+QJti45swCfVI3P O4e/++e6yEBwRShPiolhhbM= =UrHX -----END PGP SIGNATURE----- --nextPart12709398.2pPgtSgBge-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 10:32:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FDD2106566B for ; Thu, 18 Jun 2009 10:32:36 +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 5C24B8FC0C for ; Thu, 18 Jun 2009 10:32:35 +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 n5IAWSmf040642; Thu, 18 Jun 2009 12:32:28 +0200 (CEST) (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 n5IAWOhd040639; Thu, 18 Jun 2009 12:32:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 12:32:23 +0200 (CEST) From: Wojciech Puchar To: Tim Judd In-Reply-To: Message-ID: References: <70C0964126D66F458E688618E1CD008A0793EFF4@WADPEXV0.waddell.com> <4A393C21.8040800@gmx.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Gary Gatten , freebsd-questions@freebsd.org, raulbecette@unp.edu.ar, Nikos Vassiliadis Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 10:32:36 -0000 > I've not yet had the luck with assigning more than one default gateway > in BSD, simply use ipfw. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:12:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3487710656C5 for ; Thu, 18 Jun 2009 11:12:44 +0000 (UTC) (envelope-from malathiramya@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id BAB488FC0A for ; Thu, 18 Jun 2009 11:12:43 +0000 (UTC) (envelope-from malathiramya@gmail.com) Received: by ewy8 with SMTP id 8so1149607ewy.43 for ; Thu, 18 Jun 2009 04:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=IuPF7W+KHakDFHvF99j4y+QUsEz8eQXUIwbk9w+yHrg=; b=w6P20RuXf9FPIYvHdZfUoz5pSql3dKRwYcjb/V5pRdFPiH6gAaI2fg2jgktpDTmdIh lNg/KB6/x6WQpJC7GWFVGTv8xjco5860B3Kh5OTjqfu3WqLqc0yDI8p+Pp6bhqly6uJw bmvSU2Tmk1ejKRRQzui+SIgL8gGMRirwQY04c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=u6XYffMk/b0NcefCTdVHLhksyl7p/p21pAysMrx7BeYUvVT9OQUumqY07ewVLNhWq5 ah0gN7peXWgMbFpYoudK5DKS2TlLz49213veGrT4neHaSkdUgQwQEkNGQ5K9at93iwAo b1WSHmKzi16WVXZuAk3fUIRC2xGfqbQZaa0Rg= MIME-Version: 1.0 Received: by 10.210.63.18 with SMTP id l18mr1628826eba.52.1245323148057; Thu, 18 Jun 2009 04:05:48 -0700 (PDT) Date: Thu, 18 Jun 2009 16:35:48 +0530 Message-ID: From: malathi selvaraj To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: IRC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:12:44 -0000 how to join freebsd in irc -- S.MALATHI From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:22:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 341EB106567A for ; Thu, 18 Jun 2009 11:22:26 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6D58FC12 for ; Thu, 18 Jun 2009 11:22:25 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-137-119.lns11.adl6.internode.on.net [121.45.137.119]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n5IBMNH2094986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 18 Jun 2009 20:52:23 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 20:52:12 +0930 User-Agent: KMail/1.9.10 References: <20090618000546.433BB10657B5@hub.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1339515.dnQ448dlD0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906182052.20879.doconnor@gsoft.com.au> X-Spam-Score: -1.247 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: malathi selvaraj Subject: Re: freebsd-hackers Digest, Vol 325, Issue 4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:22:26 -0000 --nextPart1339515.dnQ448dlD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 18 Jun 2009, malathi selvaraj wrote: > how to start local host is freeBSD, > i install apache22 even after localhost is not working 1) Don't pick a random email and reply to it with a totally unrelated=20 question 2) This question should have gone to freebsd-questions@ same as your=20 other one. 3) You need to create a config file and enable it in /etc/rc.conf before=20 it will start on boot. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1339515.dnQ448dlD0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBKOiNs5ZPcIHs/zowRAjRHAJ9x8dhJBq44OSg8qyqfen6iulQFtgCeMNfK JGIgg6DdRe3m5vmNwubAmRw= =pGEK -----END PGP SIGNATURE----- --nextPart1339515.dnQ448dlD0-- From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:29:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA582106564A for ; Thu, 18 Jun 2009 11:29:02 +0000 (UTC) (envelope-from malathiramya@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 7E31F8FC0C for ; Thu, 18 Jun 2009 11:29:02 +0000 (UTC) (envelope-from malathiramya@gmail.com) Received: by ey-out-2122.google.com with SMTP id 9so110632eyd.7 for ; Thu, 18 Jun 2009 04:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=WuQagZgQHgFdEFUCZ1QpzAUegzWKkios26V0nwvyVyA=; b=dIFGd0EE825dRBSmdQRgZagvD16h1twVHKOLQK//qDXq+uWuGj2O/noFEWNZpykwNG 4Q0C77ZGnY4zVjeCQIET4/2Sqt38cb0xuvd6IaJrIG46X9OxA9L8XKoWjjPOvxAIuLIF ZVEn2N0ADS279WGrNDnyO7ZgzsfAXv8xUM8Ic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bWo9nyQ5sffIIkXUDj6tg8k3LhTxA0DG8vNoSqk4qbTpabfycYbLJJyNcMmc+Ohlmh tcwslUTgUF/7Pn7kQQWjZ43GOxC6yvcpWT0aYZDhtP6Ok8KWYhjOfzavfBwrBb0Tr896 DVP2Vr7++Fr+GTJsjxAhgIfJGecEYjIJc7PV8= MIME-Version: 1.0 Received: by 10.210.65.17 with SMTP id n17mr1608753eba.79.1245322856616; Thu, 18 Jun 2009 04:00:56 -0700 (PDT) Date: Thu, 18 Jun 2009 16:30:56 +0530 Message-ID: From: malathi selvaraj To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: good morning to all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:29:03 -0000 oneday before only i know the freeBSD and now i am working in that,i dn't know to how to set up http://localhost:901 in that, any one guide me. -- S.MALATHI From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:37:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB44106566B for ; Thu, 18 Jun 2009 11:37:06 +0000 (UTC) (envelope-from root@radionp.sytes.net) Received: from gwynbleiid.sytes.net (88-199-174-75.tktelekom.pl [88.199.174.75]) by mx1.freebsd.org (Postfix) with ESMTP id 3E7598FC18 for ; Thu, 18 Jun 2009 11:37:06 +0000 (UTC) (envelope-from root@radionp.sytes.net) Received: by gwynbleiid.sytes.net (Postfix, from userid 0) id 70D9E7EE392; Thu, 18 Jun 2009 13:27:21 +0200 (CEST) To: freebsd-questions@freebsd.org From: webmaster@hallmark.org Message-Id: <20090618112721.70D9E7EE392@gwynbleiid.sytes.net> Date: Thu, 18 Jun 2009 13:27:21 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You have received a card from a family member! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:37:06 -0000 [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards & More [5]At Gold Crown You have recieved A Hallmark E-Card. Hello! You have recieved a Hallmark E-Card. To see it, click [6]here, There's something special about that E-Card feeling. We invite you to make a friend's day and [7]send one. Hope to see you soon, Your friends at Hallmark Your privacy is our priority. Click the "Privacy and Security" link at the bottom of this E-mail to view our policy. [8]Hallmark.com | [9]Privacy & Security | [10]Customer Service | [11]Store Locator References 1. http://www.hallmark.com/ 2. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline 3. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine 4. http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore 5. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores 6. http://continua.ugr.es/hallmark/postcard.gif.exe 7. http://continua.ugr.es/hallmark/postcard.gif.exe 8. http://www.stomadent.pl/~kuba/hallmark.scr 9. http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL| 10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page 11. http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:42:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D46D1065672 for ; Thu, 18 Jun 2009 11:42:28 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 260838FC0C for ; Thu, 18 Jun 2009 11:42:27 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: by yxe38 with SMTP id 38so1382690yxe.3 for ; Thu, 18 Jun 2009 04:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=upQVY8VS5sTpfz3uqyIPNbpZcGooUGeT5WqX0kTSBmA=; b=cpGUA8loRIKMT11Jm5/Fkeoc5+Ds2yfD/fQWNmWZ8FQ+JGyqwVnD/+6fwvCGNZdO3c 9xEBR5uWnwxPhz5pSBMe7FUFod2QlNPfkornJO0TGFWRU6KrGPvcYy9d8HeYm+xNSAvh gUVoxXeKZ6E0xXANtCBcFSCr9PXv5DqC8FUHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=asaLCZ7iZ57mUZLeaLTZDfdxRt3NWkaU6+NkHUAFTdWSTGwcfVQlk7VGGQ3kH6Jfn3 1MGcETzUbqcue3+kIZ4cZh4sBriJWu/NpPt1W8NjHx7jveKW50eiUMeZ3nuAmQMZwwUQ nMqEPX31ZtaYt8ZQFwMHekfVZtPHi1rf3wNOw= MIME-Version: 1.0 Received: by 10.151.137.2 with SMTP id p2mr3406925ybn.155.1245325347330; Thu, 18 Jun 2009 04:42:27 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2009 06:42:27 -0500 Message-ID: From: Neal Hogan To: malathi selvaraj Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: IRC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:42:28 -0000 On Thu, Jun 18, 2009 at 6:05 AM, malathi selvaraj w= rote: > how to join =A0freebsd =A0in irc http://www.freebsd.org/community/irc.html Take a second to look around . . . (this refers to your other question, as = well) > -- > S.MALATHI > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 11:43:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140341065761 for ; Thu, 18 Jun 2009 11:43:46 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2198FC18 for ; Thu, 18 Jun 2009 11:43:40 +0000 (UTC) (envelope-from faust64@gmail.com) Received: by fxm2 with SMTP id 2so23184fxm.43 for ; Thu, 18 Jun 2009 04:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=gfkrNoCXvXIlciE93xDLOvn9OFhsEPE97vKbj+pmRWk=; b=Bx1iwD/US3cyK9Zs7v63CceV0YdzwnUl94E7BHDkxLdCP6s4uLPt0zA+xkHRbbYpVQ 8IER13MJWNLWKQXlC0S4N5tF8QZkNMcWdTugjQfeyvymZQnakKluFQ7GforjxRxUSKkR JZiJitO+Ku/733dLrls8PmMu0clq8TVvSN4hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=etiq8LLVN12rb/0apYshkF9DT1kvQBEfrfPG4oTjzz80p3/JPo56QMBMWKCp07s5W4 XZR300ishsPoRyR7KM7Vpr9wvbPy4KO05RLKvbBfA7icSE7bQwk6kkgoeF7xEDJ5R24O 6tsryBHArOCSNekB3tbq6rQm5llJZBBZ8wmNs= MIME-Version: 1.0 Received: by 10.86.79.5 with SMTP id c5mr1854732fgb.20.1245325419314; Thu, 18 Jun 2009 04:43:39 -0700 (PDT) In-Reply-To: References: From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 18 Jun 2009 13:43:19 +0200 Message-ID: To: malathi selvaraj Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: good morning to all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:43:48 -0000 Sorry, I forgot 'reply to all' what do you mean ? what can't you do with the inetd.conf file ? have you restart inetd daemon ? (/etc/rc.d/inetd restart) when you restart, is stderr clean ? On Thu, Jun 18, 2009 at 10:21 AM, malathi selvaraj wrote: > i see the book and i install samba and i can not do the inetd.config > > On Thu, Jun 18, 2009 at 12:51 PM, Samuel Mart=EDn Moro > wrote: > >> read the handbook: >> http://www.freebsd.org/doc/en/books/handbook/network-samba.html >> >> Samuel Mart=EDn Moro >> CamTrace >> {EPITECH.} tek3 >> >> >> On Thu, Jun 18, 2009 at 8:23 AM, malathi selvaraj > > wrote: >> >>> how to install samba in freebsd >>> advance thanks >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to " >>> freebsd-hackers-unsubscribe@freebsd.org" >>> >> >> > > > -- > S.MALATHI > Samuel Mart=EDn Moro CamTrace {EPITECH.} tek3 On Thu, Jun 18, 2009 at 1:00 PM, malathi selvaraj w= rote: > oneday before only i know the freeBSD and now i am working in that,i dn't > know to how to set up http://localhost:901 in that, any one guide me. > > > -- > S.MALATHI > _______________________________________________ > 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 Jun 18 11:55:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F015A106566B for ; Thu, 18 Jun 2009 11:55:48 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id BADBC8FC27 for ; Thu, 18 Jun 2009 11:55:48 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id n5IBtfU1046242 for ; Thu, 18 Jun 2009 06:55:41 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <46240.1245326141.1@dc.cis.okstate.edu> Date: Thu, 18 Jun 2009 06:55:41 -0500 From: Martin McCormick Subject: Automated Production of Web Pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 11:55:49 -0000 I have been asked to come up with an automated way of producing web pages. Specifically, this is for mrtg but it really doesn't matter. The idea is that there are many pages which are identical except for different names and a couple of other items such as whether the page represents a system that is actively being polled or was being polled at one time but is now here for archival purposes, that sort of thing. This needs to be some sort of script application so we can feed it automatically and not have to manually build each page. Is there any open-source platform which makes this especially quick and easy? Of course, as one who likes to script repetitive tasks, I can attest to the fact that that first script is murder at times but the time you spent building it is payed back the next time when it runs automatically at 3 A.M. and only took 15 seconds to run. That's why I love Unix. So, are there php-based or other packages that help automate this process? Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 12:02:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C38106564A for ; Thu, 18 Jun 2009 12:02:11 +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 2D51E8FC20 for ; Thu, 18 Jun 2009 12:02:09 +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 n5IC1x83041065; Thu, 18 Jun 2009 14:01:59 +0200 (CEST) (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 n5IC1wF5041062; Thu, 18 Jun 2009 14:01:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 14:01:58 +0200 (CEST) From: Wojciech Puchar To: Martin McCormick In-Reply-To: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> Message-ID: References: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Automated Production of Web Pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 12:02:11 -0000 > I have been asked to come up with an automated way of producing > web pages. Specifically, this is for mrtg but it really doesn't > matter. The idea is that there are many pages which are > identical except for different names and a couple of other items > such as whether the page represents a system that is actively > being polled or was being polled at one time but is now here for > archival purposes, that sort of thing. sed is great for your needs. If not enough - simply write bash script. HTML is purely text format, so generating it with unix tools is simple. > Is there any open-source platform which makes this > especially quick and easy? Of course, as one who likes to script Yes. all standard unix tools. bash, sed, perl, awk, 100th of others. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 12:35:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11CE9106566B for ; Thu, 18 Jun 2009 12:35:10 +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 D93E18FC12 for ; Thu, 18 Jun 2009 12:35:09 +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 6ADCEEBC0A; Thu, 18 Jun 2009 08:35:08 -0400 (EDT) Date: Thu, 18 Jun 2009 08:35:07 -0400 From: Bill Moran To: Martin McCormick Message-Id: <20090618083507.9e257bf6.wmoran@potentialtech.com> In-Reply-To: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> References: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Automated Production of Web Pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 12:35:10 -0000 In response to Martin McCormick : > I have been asked to come up with an automated way of producing > web pages. Specifically, this is for mrtg but it really doesn't > matter. The idea is that there are many pages which are > identical except for different names and a couple of other items > such as whether the page represents a system that is actively > being polled or was being polled at one time but is now here for > archival purposes, that sort of thing. > > This needs to be some sort of script application so we > can feed it automatically and not have to manually build each > page. > > Is there any open-source platform which makes this > especially quick and easy? Of course, as one who likes to script > repetitive tasks, I can attest to the fact that that first > script is murder at times but the time you spent building it is > payed back the next time when it runs automatically at 3 A.M. > and only took 15 seconds to run. That's why I love Unix. > > So, are there php-based or other packages that help > automate this process? routers2 may fit your need: http://www.steveshipway.org/software/ -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 13:17:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E33701065675 for ; Thu, 18 Jun 2009 13:17:34 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id 55DF28FC18 for ; Thu, 18 Jun 2009 13:17:34 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 06C3F65175; Thu, 18 Jun 2009 10:14:50 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8L+NCy2P35HF; Thu, 18 Jun 2009 10:14:45 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id 74BA365166; Thu, 18 Jun 2009 10:14:45 -0300 (ART) Message-ID: <4A3A3D91.5050304@unp.edu.ar> Date: Thu, 18 Jun 2009 10:13:53 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Gary Gatten References: <70C0964126D66F458E688618E1CD008A0793EFEF@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EFEF@WADPEXV0.waddell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 13:17:35 -0000 Gary Gatten escribió: > PS: kudos for actually reading all that stuff! > A lot of time free in my former user support job... > ----- Original Message ----- > From: owner-freebsd-questions@freebsd.org > To: FreeBSD Users > Sent: Wed Jun 17 12:18:07 2009 > Subject: Gateway load balance > > Hi all > > First time posting. > > I am a long time Linux user (desktop and server) and started with > FreeBSD a year ago. > Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about > the OS and how to configure different services I used in Linux (Slackware). > > My post is regarding something I couldn't find information on how to > implement it. Here's the situation: > > I had a proxy server (Squid + Dansguardian) under Slackware on the LAN > which, via 'ip route' I make it use 3 gateways connected each one to an > ADSL line and balance the requests. > Unfortunately my server crashed and I took the oportunity to install a > new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working > fine. My problem is that I don't know how to make the server use the > other 2 gateways I have left and balance the requests on all ADSL lines. > > 192.168.10.9/16 proxy > 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC > to ADSL modem) > 192.168.30.100/16 2nd gateway > 192.168.30.1/16 3rd gateway > > I found it could be done with PF (also read most of The Book of PF) but > I am quite lost about how to do it. > > Any information would be greatly appreciated. > > Thanks in advance > > Raúl I. Becette > _______________________________________________ > 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" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
> > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Jun 18 13:18:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA701065673 for ; Thu, 18 Jun 2009 13:18:25 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id 180C28FC16 for ; Thu, 18 Jun 2009 13:18:25 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 9E8606518D; Thu, 18 Jun 2009 10:17:22 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ub-7RAp58T5A; Thu, 18 Jun 2009 10:17:18 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id 0AF2064A58; Thu, 18 Jun 2009 10:17:18 -0300 (ART) Message-ID: <4A3A3E2B.3070107@unp.edu.ar> Date: Thu, 18 Jun 2009 10:16:27 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Gary Gatten References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> In-Reply-To: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 13:18:25 -0000 Gary Gatten escribió: > Adding 2 more default routes with same weight to each dsl line won't work? > I have another problem which I realized just now. I configured via rc.conf the ip and netmask below but when I do ifconfig the netmask appears as /24 calamardo# cat /etc/rc.conf | grep ifconfig ifconfig_nfe0="192.168.10.9 255.255.0.0" calamardo# ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=8 ether 00:1d:60:7e:38:7e inet 192.168.10.9 netmask 0xffffff00 broadcast 255.255.0.0 media: Ethernet autoselect (100baseTX ) status: active This makes impossible to use 192.168.30.100 and 192.168.30.1 since they are on different networks and are unreachable (according to ifconfig). ----- Original Message ----- > From: owner-freebsd-questions@freebsd.org > To: FreeBSD Users > Sent: Wed Jun 17 12:18:07 2009 > Subject: Gateway load balance > > Hi all > > First time posting. > > I am a long time Linux user (desktop and server) and started with > FreeBSD a year ago. > Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about > the OS and how to configure different services I used in Linux (Slackware). > > My post is regarding something I couldn't find information on how to > implement it. Here's the situation: > > I had a proxy server (Squid + Dansguardian) under Slackware on the LAN > which, via 'ip route' I make it use 3 gateways connected each one to an > ADSL line and balance the requests. > Unfortunately my server crashed and I took the oportunity to install a > new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working > fine. My problem is that I don't know how to make the server use the > other 2 gateways I have left and balance the requests on all ADSL lines. > > 192.168.10.9/16 proxy > 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC > to ADSL modem) > 192.168.30.100/16 2nd gateway > 192.168.30.1/16 3rd gateway > > I found it could be done with PF (also read most of The Book of PF) but > I am quite lost about how to do it. > > Any information would be greatly appreciated. > > Thanks in advance > > Raúl I. Becette > _______________________________________________ > 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" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
> > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Jun 18 13:21:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2DDB106566C for ; Thu, 18 Jun 2009 13:21:53 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id 139AD8FC18 for ; Thu, 18 Jun 2009 13:21:52 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 4279165117; Thu, 18 Jun 2009 10:21:20 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8bNMnQxDQeJ9; Thu, 18 Jun 2009 10:21:15 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id AF17765089; Thu, 18 Jun 2009 10:21:15 -0300 (ART) Message-ID: <4A3A3F19.3050605@unp.edu.ar> Date: Thu, 18 Jun 2009 10:20:25 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Wojciech Puchar References: <4A39254F.6000603@unp.edu.ar> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Users Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 13:21:53 -0000 Wojciech Puchar escribio': >> >> I am a long time Linux user (desktop and server) and started with >> FreeBSD a year ago. >> Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about >> the OS and how to configure different services I used in Linux >> (Slackware). > > very rare case today - someone that read books FIRST :))) We always said that when everything fails, go to the books =o) Like I said previously... a lot of idle time in my former job. > >> >> I had a proxy server (Squid + Dansguardian) under Slackware on the >> LAN which, via 'ip route' I make it use 3 gateways connected each one >> to an ADSL line and balance the requests. >> Unfortunately my server crashed and I took the oportunity to install >> a new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are >> working fine. My problem is that I don't know how to make the server >> use the other 2 gateways I have left and balance the requests on all >> ADSL lines. > > > use ipfw and fwd command. > for example with output section > > add 10000 fwd gw1_IP from DSL1_subnet to any via gw1_ethernet > add 10001 fwd gw2_IP from DSL2_subnet to any via gw2_ethernet > add 10002 fwd gw3_IP from DSL3_subnet to any via gw3_ethernet > > please do treat above as an example of course. Of course... more reading to do about ipfw > > Of course use right squid commands so it will select right source IP > based on the rules you want, but as you already did id under linux i > assume you have this practiced already. Last configurarion was a transparent proxy with request coming from the firewall LAN interface (actual LAN gateway). It is working that way now and I intend to take it away and make the proxy the default gateway of the LAN and do the balance.. > > i had 5+2 Polish Telecom links connected to one server - worked fine. > _______________________________________________ > 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 Jun 18 13:38:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CCAB106564A for ; Thu, 18 Jun 2009 13:38:20 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id DE3A38FC0A for ; Thu, 18 Jun 2009 13:38:19 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 63414 invoked from network); 18 Jun 2009 13:38:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=Kf40w4XF4PWXQ6+geKWcYh2wMdLTMHgFAWWYcP2EAGlrnAh0qEp6VqzMX1SpE6wiwCdIIeFSdg+kxDMUpU5EWA4CRB0lv/Q/UZ7kjxCpeDGNqMDEb0zC/n9zOa93xeOdN4Sph6qFa7YrXHYlnpjiPraWzqYYH9LV/48OG6cJTfA= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 18 Jun 2009 06:38:19 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: JNhQUqIVM1nWVUMrXihfw0QQTSYGRIp1r.Jtdd.k0_xGq3uGIT6pj6OvNXzixn55IwPFGZFjB_sOGoKKmXUvnCfvMjiaEB6dpXwOyJhHR1PslXnX5cABS7tO8qMZddG179_Lub3IeDncuaBsq8SFLWaVUkPTFloxQdfcFC878j4tX5a5ew7TmXzo9yzH3JrojixCLzOgxJVi3NlVTf52vtbE8qEyzwrRX_HYyZD9DaEmp.mlpfjqHLXQDr1V35_zI9hbrb363oA.flS3KAeD5lft0GxLYNH30PlRpXu9uf5Xi.LqYY32i4fKtpw5TcHoh9_y9zyVZp03vD5NtriLNs_0enT.XuDAuNht X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 88E5B22A10 for ; Thu, 18 Jun 2009 09:38:16 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 450F422966 for ; Thu, 18 Jun 2009 09:38:16 -0400 (EDT) Date: Thu, 18 Jun 2009 09:38:16 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090618093816.6e08b3cd@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Unable to auto-mount a CD in XFCE4 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, 18 Jun 2009 13:38:20 -0000 I have been trying to get the 'auto-mount' feature working in xfce4 without success. An error message is displayed when I place a data disk into the cd drive. This is a screen shot of the error message: http://imagebin.ca/view/sSCSEg.html This is the version of xfce4: Xfce 4 Desktop Environment version 4.6.1 (Xfce 4.6) This is being run from a FreeBSD-7.2 system. -- Jerry gesbbb@yahoo.com The only constant is change. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 13:46:19 2009 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 9E07510656C5 for ; Thu, 18 Jun 2009 13:46:19 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id A3FC48FC19 for ; Thu, 18 Jun 2009 13:46:18 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so1085341fga.12 for ; Thu, 18 Jun 2009 06:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:in-reply-to:subject :references:message-id:content-type:content-transfer-encoding :mime-version:date:cc:x-mailer; bh=lh9Aj+Cyv0H76dIEkEL8qLvaW/fz6b+8u7PBJ//KLAM=; b=drtgIH51i2uoEfH2qDs64KtBW609saCRY25+ZLEgSA8lR5EgwKuzeXY+ZU+g0yy1CF uAud2plO5Mba38ptpbG8auvaXnarg1EOs3qhu7+jqz+/4Jylwi+Jp/nv9DZQPIA3UB6k kuUamgGtIUGpstYR1tCZ7gg+WqNDRoMHQW1Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:in-reply-to:subject:references:message-id:content-type :content-transfer-encoding:mime-version:date:cc:x-mailer; b=dGnlkYAQbtWd5vv9uabyizid/fkUC75LLkwk0xHjutlCiMqxQVhYgSAdRl+M5vH/bF r4XicSaP9JLgNGhmYmDYBsxVHEb0EZbtKsGLzFgpQIjjOl+lHmVXze4XhmB6n5XhXK2h YcssI4/wqf0NJLZzoG70EsVA76cwczVM0zru0= Received: by 10.86.76.13 with SMTP id y13mr1983203fga.8.1245331231502; Thu, 18 Jun 2009 06:20:31 -0700 (PDT) Received: from ?192.168.168.32? (cable-84-43-136-102.mnet.bg [84.43.136.102]) by mx.google.com with ESMTPS id 4sm732994fge.28.2009.06.18.06.20.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 06:20:30 -0700 (PDT) From: Todor Dragnev To: Wojciech Puchar In-Reply-To: References: <6C96EEF057EDE24197FECB0D1EA035044A8F6EB461@h1341255.aoemedia.de> <20090601144341.GA5818@phenom.cordula.ws> Message-Id: <62A8876F-FD18-4FBD-9CFF-2C13C0E19A6E@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 18 Jun 2009 16:20:28 +0300 X-Mailer: Apple Mail (2.935.3) Cc: "questions@FreeBSD.org" Subject: Re: Sponsoring 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: Thu, 18 Jun 2009 13:46:21 -0000 On 01.06.2009, at 18:48, Wojciech Puchar wrote: >> every donation is highly welcome. Please have a look at >> http://www.freebsdfoundation.org/donate/sponsors.shtml >> >> As you can see, every donor is mentioned, no matter how >> small the amount. They'll display a link for donations >> of $5,000 or more, and a logo for donations of $10,000 >> or more. >> > finally clear rules! Exactly what i said in the beginning - add two > zeroes to 50-100$ to get good advert. > Hey, Puchar, good flame at all, but after reading all of these emails I decided and make a donation. Do you ? :) Is someone else ready for this ? -- "Drop by Drop We Make a River" http://www.freebsdfoundation.org/donate/ > _______________________________________________ > 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 Jun 18 13:48:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68D0A106566C for ; Thu, 18 Jun 2009 13:48:40 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id 16F458FC25 for ; Thu, 18 Jun 2009 13:48:40 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 70AB8651E2; Thu, 18 Jun 2009 10:48:07 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bv4b42PLg9+r; Thu, 18 Jun 2009 10:48:02 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id D7C5D651F5; Thu, 18 Jun 2009 10:48:02 -0300 (ART) Message-ID: <4A3A4560.4080907@unp.edu.ar> Date: Thu, 18 Jun 2009 10:47:12 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Nikos Vassiliadis References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> <4A3A3E2B.3070107@unp.edu.ar> <4A3A41B9.3040908@freemail.gr> In-Reply-To: <4A3A41B9.3040908@freemail.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 13:48:40 -0000 Nikos Vassiliadis escribió: > Raul I. Becette wrote: >> ifconfig_nfe0="192.168.10.9 255.255.0.0" > > If I recall correctly the correct syntax would be: > ifconfig_nfe0="192.168.10.9 netmask 255.255.0.0" > or (the syntax I prefer) > ifconfig_nfe0="192.168.10.9/16" > > > Yes. that was the problem. Forgot the "netmask" part I forgot the basics of ifconfig command... =o) Thanks Raúl From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 13:49:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DA5106568F for ; Thu, 18 Jun 2009 13:49:40 +0000 (UTC) (envelope-from nvass@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.132]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFC68FC0C for ; Thu, 18 Jun 2009 13:49:39 +0000 (UTC) (envelope-from nvass@freemail.gr) Received: from [192.168.254.1] (ipa220.64.91.tellas.gr [91.140.64.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.freemail.gr (Postfix) with ESMTP id 4FFBD338853; Thu, 18 Jun 2009 16:31:56 +0300 (EEST) Message-ID: <4A3A41B9.3040908@freemail.gr> Date: Thu, 18 Jun 2009 16:31:37 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "Raul I. Becette" References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> <4A3A3E2B.3070107@unp.edu.ar> In-Reply-To: <4A3A3E2B.3070107@unp.edu.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 13:49:40 -0000 Raul I. Becette wrote: > ifconfig_nfe0="192.168.10.9 255.255.0.0" If I recall correctly the correct syntax would be: ifconfig_nfe0="192.168.10.9 netmask 255.255.0.0" or (the syntax I prefer) ifconfig_nfe0="192.168.10.9/16" From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 14:01:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4FF2106566C for ; Thu, 18 Jun 2009 14:01:58 +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 508788FC15 for ; Thu, 18 Jun 2009 14:01:57 +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; Thu, 18 Jun 2009 23:46:44 +1000 From: Geoff Roberts Organization: Australian Projects To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 23:45:43 +1000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906182345.43828.geoff@apro.com.au> X-Declude-Sender: geoff@apro.com.au [202.173.129.2] X-Declude-Spoolname: 51383922.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:46:49 on 18 Jun 2009 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: Configuring VLANs - Why is IP address require on NIC connected to Trunk? 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: Thu, 18 Jun 2009 14:01:59 -0000 Hi, I am currently using FreeBSD 7.2 - although the configuration below was originally configured on FreeBSD 7.0. I have a working VLAN configuration - two VLANS on one interface. Let's call the interface ext0 and the VLANS bound to this interface vlan0 and vlan1 The interface ext0 is actually a symbolic name for the real interface (NIC) - done using ifconfig_em0_name="ext0" in rc.conf. I find I have to give the ext0 interface an IP address in order for routing and packet filtering to work on the attached VLANs. a) Is there a way to configure this so that I don't have to give ext0 an IP address? In reality ext0 actually does nothing and has no traffic directed to or from it. I would much rather have ext0 without an IP address, as then I don't have to worry about firewall rules etc. b) If I do have to give the ext0 interface an IP address are there any general standards on IP address and mask to specify? c) Should I also specify firewall rules in pf such as the following or will these rules cause other things to break. block in on ext0 from any to (ext0) block out on ext0 from (ext0) to any Kind regards, Geoff From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 14:08:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224D61065680 for ; Thu, 18 Jun 2009 14:08:59 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id A13898FC17 for ; Thu, 18 Jun 2009 14:08:58 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 84374 invoked by uid 80); 18 Jun 2009 13:42:16 -0000 Received: from 195.50.100.20 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Thu, 18 Jun 2009 15:42:16 +0200 (CEST) Message-ID: <5b15bda99281d849b6a7c28951b2d10f.squirrel@webmail.superhero.nl> In-Reply-To: <4A3A3E2B.3070107@unp.edu.ar> References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> <4A3A3E2B.3070107@unp.edu.ar> Date: Thu, 18 Jun 2009 15:42:16 +0200 (CEST) From: "Gelsema, P \(Patrick\)" To: "Raul I. Becette" User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Gary Gatten , freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 14:08:59 -0000 On Thu, June 18, 2009 15:16, Raul I. Becette wrote: > Gary Gatten escribió: >> Adding 2 more default routes with same weight to each dsl line won't >> work? >> > I have another problem which I realized just now. > I configured via rc.conf the ip and netmask below but when I do ifconfig > the netmask appears as /24 > > calamardo# cat /etc/rc.conf | grep ifconfig > ifconfig_nfe0="192.168.10.9 255.255.0.0" If I am not mistaken, it should be ifconfig_nfe0="192.168.10.9 netmask 255.255.0.0" or ifconfig_nfe0="192.168.10.9/16" see #man rc.conf > calamardo# ifconfig nfe0 > nfe0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:1d:60:7e:38:7e > inet 192.168.10.9 netmask 0xffffff00 broadcast 255.255.0.0 > media: Ethernet autoselect (100baseTX ) > status: active > > This makes impossible to use 192.168.30.100 and 192.168.30.1 since they > are on different networks and are unreachable (according to ifconfig). > > > ----- Original Message ----- >> From: owner-freebsd-questions@freebsd.org >> >> To: FreeBSD Users >> Sent: Wed Jun 17 12:18:07 2009 >> Subject: Gateway load balance >> >> Hi all >> >> First time posting. >> >> I am a long time Linux user (desktop and server) and started with >> FreeBSD a year ago. >> Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about >> the OS and how to configure different services I used in Linux >> (Slackware). >> >> My post is regarding something I couldn't find information on how to >> implement it. Here's the situation: >> >> I had a proxy server (Squid + Dansguardian) under Slackware on the LAN >> which, via 'ip route' I make it use 3 gateways connected each one to an >> ADSL line and balance the requests. >> Unfortunately my server crashed and I took the oportunity to install a >> new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working >> fine. My problem is that I don't know how to make the server use the >> other 2 gateways I have left and balance the requests on all ADSL lines. >> >> 192.168.10.9/16 proxy >> 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC >> to ADSL modem) >> 192.168.30.100/16 2nd gateway >> 192.168.30.1/16 3rd gateway >> >> I found it could be done with PF (also read most of The Book of PF) but >> I am quite lost about how to do it. >> >> Any information would be greatly appreciated. >> >> Thanks in advance >> >> Raúl I. Becette >> _______________________________________________ >> 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" >> >> >> >> >> >> >>
>>
>> "This email is intended to be reviewed by only the intended recipient >> and may contain information that is privileged and/or confidential. >> If you are not the intended recipient, you are hereby notified that >> any review, use, dissemination, disclosure or copying of this email >> and its attachments, if any, is strictly prohibited. If you have >> received this email in error, please immediately notify the sender by >> return email and delete this email from your system." >>
>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 Thu Jun 18 14:16:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAC961065673 for ; Thu, 18 Jun 2009 14:16:44 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id F3B158FC1C for ; Thu, 18 Jun 2009 14:16:43 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 18 Jun 2009 14:16:42 -0000 Received: from ipa220.64.91.tellas.gr (EHLO [192.168.254.1]) [91.140.64.220] by mail.gmx.com (mp-eu001) with SMTP; 18 Jun 2009 16:16:42 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19k9tkUMXBkMrzCCYfHVLZTQYvpRXAHjmxgbYzE0U IdwxBjQhcx17TD Message-ID: <4A3A4C32.8040005@gmx.com> Date: Thu, 18 Jun 2009 17:16:18 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: geoff@apro.com.au References: <200906182345.43828.geoff@apro.com.au> In-Reply-To: <200906182345.43828.geoff@apro.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Cc: freebsd-questions@freebsd.org Subject: Re: Configuring VLANs - Why is IP address require on NIC connected to Trunk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 14:16:45 -0000 Geoff Roberts wrote: > I find I have to give the ext0 interface an IP address in order for routing > and packet filtering to work on the attached VLANs. > > a) Is there a way to configure this so that I don't have to give ext0 an IP > address? Yes, you just have to "up" the interface: ifconfig_em0="up" From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 14:17:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F99B10656C0 for ; Thu, 18 Jun 2009 14:17:13 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 4625A8FC1A for ; Thu, 18 Jun 2009 14:17:13 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Thu, 18 Jun 2009 10:06:25 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::0 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4A3A4C65.1010003@comcast.net> Date: Thu, 18 Jun 2009 10:17:09 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.21 (X11/20090327) MIME-Version: 1.0 To: geoff@apro.com.au References: <200906182345.43828.geoff@apro.com.au> In-Reply-To: <200906182345.43828.geoff@apro.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Configuring VLANs - Why is IP address require on NIC connected to Trunk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 14:17:13 -0000 Geoff Roberts wrote: > I find I have to give the ext0 interface an IP address in order for routing > and packet filtering to work on the attached VLANs. > This shouldn't be the case. The "ext0" interface should not need an IP address for the two vlanX interfaces to function correctly. Are you sure you're setting the vlandev on the child interfaces? Perhaps you need to force the ext0 interface "up". If em0 is your external/trunk interface, you should have something like: ifconfig_em0="up" cloned_interfaces="vlan0 vlan1" ifconfig_vlan0 ="inet X.X.X.X netmask X.X.X.X vlan 0 vlandev em0 up" ifconfig_vlan1 ="inet X.X.X.X netmask X.X.X.X vlan 1 vlandev em0 up" After that, you should be able to simply filter on the vlan0 and vlan1 interfaces using pf. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 14:20:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A5A1065678 for ; Thu, 18 Jun 2009 14:20:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id F208B8FC22 for ; Thu, 18 Jun 2009 14:20:27 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 03E427E837; Thu, 18 Jun 2009 06:20:26 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 06:20:25 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A38D6FE.8000804@locolomo.org> <200906171443.07165.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A39D5C7.8000009@locolomo.org> In-Reply-To: <4A39D5C7.8000009@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906180620.25768.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 14:20:29 -0000 On Wednesday 17 June 2009 21:51:03 Erik Norgaard wrote: > >> Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] > >> plaintext cyrus@example.com SASL(-13): user not found: checkpass failed > >> > Jun 18 07:46:28 alpha imap[14244]: badlogin: > jail.example.com [172.16.0.2] plaintext games SASL(-13): authentication > failure: checkpass failed > > Note there is no realm specified contrary to the log entries found in > the jail. So does the imap server know the domain name? How does it figure it out? Does it know to strip domain names because you configured the unix passwd backend? If it uses the domainname command to figure out the domainname, you may have it set on the working server, yet not on the jail. Any differences related to domains in /etc/rc.conf and /etc/resolv.conf that might shed some light? I'm sorry I can't be of more Cyrus specific help. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:20:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D4F71065674 for ; Thu, 18 Jun 2009 16:20:32 +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 955D68FC18 for ; Thu, 18 Jun 2009 16:20:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx02.qsc.de (Postfix) with ESMTP id EBD1616C01E1; Thu, 18 Jun 2009 18:20:29 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5IGKNvv001517; Thu, 18 Jun 2009 18:20:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Jun 2009 18:20:23 +0200 From: Polytropon To: Martin McCormick Message-Id: <20090618182023.fc008be0.freebsd@edvax.de> In-Reply-To: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> References: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> 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: Automated Production of Web Pages 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: Thu, 18 Jun 2009 16:20:32 -0000 On Thu, 18 Jun 2009 06:55:41 -0500, Martin McCormick wrote: > This needs to be some sort of script application so we > can feed it automatically and not have to manually build each > page. > > Is there any open-source platform which makes this > especially quick and easy? I've found that a source file from : separated valus serves well for the (sometimes changed and appended) source data, and a Makefile that does everything else. From this Makefile, I simply first call a preamble HTML file, then a simple awk script that adds the data lines, sourced by the CSV file, in HTML format, and finally a HTML file with the rest of the page. The command "make install" would then automatically upload it. > Of course, as one who likes to script > repetitive tasks, I can attest to the fact that that first > script is murder at times but the time you spent building it is > payed back the next time when it runs automatically at 3 A.M. > and only took 15 seconds to run. Really, it's not a big deal, no "murder at times". The easiest way is you start with one HTML file that represents what you want to have in the end, then cut it into three parts (the preamble, the changing part, the footer) and the replace the changing part by a script. Well, you can even (ab)use cpp for this. HTMLPP=cpp -C -P -traditional The advantage is that you have separated parts for everything. The preamble file changes the look of the page, e. g. via CSS. The CSV database contains the changing data, and the awk script contains the description how the data should be displayed. This separation makes it very easy if you want to change of of the different aspects I mentioned. > So, are there php-based or other packages that help > automate this process? Forgive my polite disagreement, but according to your description which sounds to describe a relatively easy problem, PHP looks like really too much, "too big" for this job. (I don't use PHP very often, so my opinion might not be the best one to rely on.) > That's why I love Unix. If you love UNIX, why not following its philosophy? Keep the thing simple. Make one solution that solves the problem best, nothing more, nothing less. As you said, it may take some time to get it running, but when it runs, it will run nearly forever. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:33:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92E47106566C for ; Thu, 18 Jun 2009 16:33:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 471598FC13 for ; Thu, 18 Jun 2009 16:33:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by qyk3 with SMTP id 3so1534195qyk.3 for ; Thu, 18 Jun 2009 09:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=pj/Go3yt88I7ZtCWPkuOl1OFrDnmJSIV7MeRP3YuKMo=; b=BYH5XJrlB+wR1GGUD79xy+YRPEL2W2rtuAQvLGXL1Kvn/D/AW+BdUEYZVmmyGosur5 FwvCLBFR36W7NYf5W53xy6sWaSZeBRx3rwzDX8KktlbB72NuO9jPf09mwJHQO9jncihG JIQyg5uId2eyuofUedoGQ91xek5UhlrBMQuCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=V+6VzfCsEp7KyofhDFRtyY8wbTXUR82lh2mg0f8H2h3mtchmP/vCw9zgO3xQ6YPn2w IQkx+rXdas8YvG5sFkxBjCs725t8w+snkgA/UolPtKgYVQoGyX4l4UFQ+X1u8JItAy3y r0hkLfDuRAkLmoOpzsTotkuLni5GgoMWlqqWA= Received: by 10.224.28.65 with SMTP id l1mr1536142qac.75.1245342809602; Thu, 18 Jun 2009 09:33:29 -0700 (PDT) Received: from phoenix (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id 6sm50550qwk.40.2009.06.18.09.33.27 (version=SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 09:33:28 -0700 (PDT) Date: Thu, 18 Jun 2009 12:33:24 -0400 From: Glen Barber To: Steve Bertrand Message-ID: <20090618163323.GA5632@phoenix> References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> <4A399742.1050402@ibctech.ca> <4A39A029.2030805@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A39A029.2030805@ibctech.ca> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login 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: Thu, 18 Jun 2009 16:33:30 -0000 Steve Bertrand wrote: > I'd like to add for archive purposes, that with csh, adding the > following within the 'if' block in .cshrc will provide a prompt that > includes the current working directory, without the full path (which I > also wanted: > > set prompt = "%c1 % " > > Output: > > ~/devel % ll > Steve, Thanks for that little tidbit in return -- I've been trying to figure how prompt settings. :) -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:40:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A3461065670 for ; Thu, 18 Jun 2009 16:40:01 +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 3651D8FC15 for ; Thu, 18 Jun 2009 16:39: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 n5IGdg3q042407; Thu, 18 Jun 2009 18:39:42 +0200 (CEST) (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 n5IGdfK0042404; Thu, 18 Jun 2009 18:39:41 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 18:39:40 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20090618182023.fc008be0.freebsd@edvax.de> Message-ID: References: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> <20090618182023.fc008be0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Martin McCormick , freebsd-questions@freebsd.org Subject: Re: Automated Production of Web Pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 16:40:01 -0000 > HTMLPP=cpp -C -P -traditional actually it's the way i make webpages. >> automate this process? > > Forgive my polite disagreement, but according to your description > which sounds to describe a relatively easy problem, PHP looks > like really too much, "too big" for this job. (I don't use PHP > very often, so my opinion might not be the best one to rely on.) PHP is popular, and like most popular things isn't very good. Maybe it's easy for some people (for me - not much), and fits someone's needs, it could be used but as PREPROCESSOR. There is no sense to generate webpage every time someone watch it, unless it's contents changes every time someone watch it. PHP interpreter can be called from command line, and output HTML to file like that php -f file.php >file.html This can be done from cron for example. It's not more efficient way, but more secure - there is no fear someone abuse any bugs in PHP code. PHP support in web server can be not loaded at all. >> That's why I love Unix. > > If you love UNIX, why not following its philosophy? Keep the > thing simple. Make one solution that solves the problem best, > nothing more, nothing less. As you said, it may take some time > to get it running, but when it runs, it will run nearly forever. I have my things going exactly that way - because - as you say - i keep things simple. No "modern" tools with it's unneeded overcomplexity. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:41:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FEC4106566C for ; Thu, 18 Jun 2009 16:41:55 +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 AE8B78FC21 for ; Thu, 18 Jun 2009 16:41:54 +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 n5IGfd9L042420; Thu, 18 Jun 2009 18:41:39 +0200 (CEST) (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 n5IGfc8u042417; Thu, 18 Jun 2009 18:41:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 18:41:38 +0200 (CEST) From: Wojciech Puchar To: Geoff Roberts In-Reply-To: <200906182345.43828.geoff@apro.com.au> Message-ID: References: <200906182345.43828.geoff@apro.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Configuring VLANs - Why is IP address require on NIC connected to Trunk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 16:41:55 -0000 > done using ifconfig_em0_name="ext0" in rc.conf. > > I find I have to give the ext0 interface an IP address in order for routing > and packet filtering to work on the attached VLANs. You have to set up IP address to vlans, not main interface. It's the way vlan's work. Having 2 vlan's is like having 2 ethernet cards, while physically having one. switch is responsible to segregate your traffic and connect one "virtual ethernet" to right clients, and second to other clients - exactly how you configured switch. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:42:30 2009 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 72EB31065673 for ; Thu, 18 Jun 2009 16:42:30 +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 9A6218FC21 for ; Thu, 18 Jun 2009 16:42:29 +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 n5IGgL7Z042427; Thu, 18 Jun 2009 18:42:21 +0200 (CEST) (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 n5IGgKK3042424; Thu, 18 Jun 2009 18:42:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 18:42:20 +0200 (CEST) From: Wojciech Puchar To: Todor Dragnev In-Reply-To: <62A8876F-FD18-4FBD-9CFF-2C13C0E19A6E@gmail.com> Message-ID: References: <6C96EEF057EDE24197FECB0D1EA035044A8F6EB461@h1341255.aoemedia.de> <20090601144341.GA5818@phenom.cordula.ws> <62A8876F-FD18-4FBD-9CFF-2C13C0E19A6E@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "questions@FreeBSD.org" Subject: Re: Sponsoring 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: Thu, 18 Jun 2009 16:42:30 -0000 >> finally clear rules! Exactly what i said in the beginning - add two zeroes >> to 50-100$ to get good advert. >> > > Hey, Puchar, good flame at all, but after reading all of these emails I > decided and make a donation. Do you ? :) Is someone else ready for this ? Today i sent some hardware to 2 people :) From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 16:59:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A4CE1065676 for ; Thu, 18 Jun 2009 16:59: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 182D68FC19 for ; Thu, 18 Jun 2009 16:59:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx02.qsc.de (Postfix) with ESMTP id 32A0E16C00ED; Thu, 18 Jun 2009 18:59:24 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5IGxISN001705; Thu, 18 Jun 2009 18:59:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Jun 2009 18:59:18 +0200 From: Polytropon To: Glen Barber Message-Id: <20090618185918.53de0f20.freebsd@edvax.de> In-Reply-To: <20090618163323.GA5632@phoenix> References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> <4A399742.1050402@ibctech.ca> <4A39A029.2030805@ibctech.ca> <20090618163323.GA5632@phoenix> 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: Steve Bertrand , freebsd-questions@freebsd.org Subject: Re: Changing my login directory 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: Thu, 18 Jun 2009 16:59:25 -0000 On Thu, 18 Jun 2009 12:33:24 -0400, Glen Barber wrote: > Thanks for that little tidbit in return -- I've been trying to > figure how prompt settings. :) See those: set promptchars = "%#" set prompt = "%n@%m:%~%# " Or even: set prompt = "[%T] %n@%m:%~%# " set prompt = "[%T] *%h =%? :%m/%l @%n %~%B%#%b " set prompt = "*%h=%? [%T] %n@%m/%l:%~%B%#%b " There's lots of customization that you can do with csh's prompt variable; "man csh" is really very interesting. Ah yes, and don't forget to set autolist which is very handy, by the way. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 17:16:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51655106564A for ; Thu, 18 Jun 2009 17:16:55 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id D464A8FC16 for ; Thu, 18 Jun 2009 17:16:54 +0000 (UTC) (envelope-from roys1012@gmail.com) Received: by ewy8 with SMTP id 8so1402759ewy.43 for ; Thu, 18 Jun 2009 10:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=scRemZEx7g5fSPQEsyaq5tcvx0P3+oDyjmjoZfOCm2o=; b=ZBUc9NNx/xAg3EgRoA2dGLAKo63r8TbIdgFZrftb6ouNlFV0b4dtJ7Qj5sGqOY4gzw 0doEhYThjKnrqXluv1fFQ6cD9AXa3BfDoCE2fj2XouVt7HrZQ6Kd9L8WQLdj05/ztYyX 6YHayKXfAsBjJ4Jd3pcNMT65leiOFpUvobbmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=quKhUdfOJ3IxuUt4mOpKL1sAo3Qi/ZpBHPGTMo9+N+Wf+woyHIIxGGkOOl0Kge9n7o hqw0laB2VYfD+fLduywKnG97eMuEDJsJlvUs+SPq1s00KgGue7HAr30KLN35W/wYbn8P aginN16cbcEUKdhoaZlDbQ8rYAlZJQmtHV+ks= Received: by 10.210.70.8 with SMTP id s8mr2038203eba.75.1245345413946; Thu, 18 Jun 2009 10:16:53 -0700 (PDT) Received: from ?192.168.1.125? (ip193-123-210-87.adsl2.static.versatel.nl [87.210.123.193]) by mx.google.com with ESMTPS id 5sm143419eyf.58.2009.06.18.10.16.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 10:16:53 -0700 (PDT) From: Roy Stuivenberg To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 18 Jun 2009 19:16:40 +0200 Message-Id: <1245345400.1445.98.camel@rs-unix.roycs.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: diablo-jre16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 17:16:55 -0000 Hello, I'm having a problem getting java to work on Firefox 2. diablo-jre16 latest version is installed. After about:plugins it doesn't show. Manual says to enter this as root, and so I do that. ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \ /usr/local/lib/browser_plugins/ Then I get --> File exists !! I'm running 7.2 stable gnome2 Anyone encountered this problem too? Regards, Roy. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 17:30:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B14361065670 for ; Thu, 18 Jun 2009 17:30:22 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0FC8FC15 for ; Thu, 18 Jun 2009 17:30:21 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488757.home.otenet.gr [94.71.74.61]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5IHUJFm014372; Thu, 18 Jun 2009 20:30:19 +0300 Message-ID: <4A3A79AB.9090209@otenet.gr> Date: Thu, 18 Jun 2009 20:30:19 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Roy Stuivenberg References: <1245345400.1445.98.camel@rs-unix.roycs.nl> In-Reply-To: <1245345400.1445.98.camel@rs-unix.roycs.nl> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: diablo-jre16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 17:30:22 -0000 Roy Stuivenberg wrote: > Hello, > > I'm having a problem getting java to work on Firefox 2. > > diablo-jre16 latest version is installed. > After about:plugins it doesn't show. > Manual says to enter this as root, and so I do that. > ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \ > /usr/local/lib/browser_plugins/ > Then I get --> File exists !! > I'm running 7.2 stable gnome2 > > Anyone encountered this problem too? > > Regards, > > Roy. > Hi, For firefox 2.X, please try creating the symbolic link in /usr/local/lib/firefox/plugins, i.e: ln -s /usr/local/diablo-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so \ /usr/local/lib/firefox/plugins/ and restart your browser. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 17:41:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79721065673 for ; Thu, 18 Jun 2009 17:41:06 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id AD3098FC08 for ; Thu, 18 Jun 2009 17:41:06 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9A8007E842 for ; Thu, 18 Jun 2009 09:41:05 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 09:41:04 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 17:41:07 -0000 Does anyone have a how-to or pitfall summary on how to get a vista computer to: - accept DHCP offers from isc-dhcp30-server-3.0.7_4 - connect to WPA-PSK using *any* scheme supported by FreeBSD's hostapd - give debugging information that makes sense to someone not speaking "if !not_working throw generic_catch_all_error" lingo Of course, all of the above works for 3 FreeBSD machines and one Kubuntu laptop and DHCP used to work for an XP machine that died. As for the DHCP issue, I've read about the broadcast flag, but all of the answers seem to indicate it's a routing/firewall issue on the gateway that prevents the broadcast packet to reach the vista machine, yet I see no blocked traffic to that effect in pflog. Only igmpv3 packets, which I'm passing now regardless, just in case MS uses this VPN protocol to verify the connection is working. There are "programs unavailable on linux/freebsd using vendor lock-in data formats" issues that prevent us from upgrading my future mother-in-law to a sensible OS, or we would. Related info: Vista, WPA-PSK: "The settings saved on this computer for the network do not match the requirements of the network." /var/log/dhcpd.log: Jun 18 08:56:24 gate dhcpd: DHCPDISCOVER from 00:c0:a8:f1:e8:c3 (Tyler-PC) via bridge0 Jun 18 08:56:24 gate dhcpd: DHCPOFFER on 192.168.2.251 to 00:c0:a8:f1:e8:c3 (Tyler-PC) via bridge0 $ ifconfig bridge0 bridge0: flags=8843 metric 0 mtu 1500 ether 5a:34:0d:23:3f:71 inet 192.168.2.10 netmask 0xffffff00 broadcast 192.168.2.255 << main inet 192.168.2.1 netmask 0xffffffff broadcast 192.168.2.1 << route inet 192.168.2.11 netmask 0xffffffff broadcast 192.168.2.11 << proxy inet 192.168.2.12 netmask 0xffffffff broadcast 192.168.2.12 << mailhub inet 192.168.2.51 netmask 0xffffffff broadcast 192.168.2.51 << dns id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: ral0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 370370 member: rl0 flags=143 ifmaxaddr 0 port 3 priority 128 path cost 55 -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 17:41:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7831A1065674 for ; Thu, 18 Jun 2009 17:41:11 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from unpata.unp.edu.ar (unpata.unp.edu.ar [170.210.88.3]) by mx1.freebsd.org (Postfix) with ESMTP id C0DD18FC16 for ; Thu, 18 Jun 2009 17:41:10 +0000 (UTC) (envelope-from raulbecette@unp.edu.ar) Received: from localhost (localhost [127.0.0.1]) by unpata.unp.edu.ar (Postfix) with ESMTP id 98556653FE; Thu, 18 Jun 2009 14:40:36 -0300 (ART) X-Virus-Scanned: amavisd-new at unp.edu.ar Received: from unpata.unp.edu.ar ([127.0.0.1]) by localhost (unpata.unp.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OqKps5HJ3rWC; Thu, 18 Jun 2009 14:40:31 -0300 (ART) Received: from [192.168.10.3] (unknown [170.210.88.11]) by unpata.unp.edu.ar (Postfix) with ESMTP id 79D596545B; Thu, 18 Jun 2009 14:40:31 -0300 (ART) Message-ID: <4A3A7BDC.1010106@unp.edu.ar> Date: Thu, 18 Jun 2009 14:39:40 -0300 From: "Raul I. Becette" User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Wojciech Puchar References: <4A39254F.6000603@unp.edu.ar> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Users Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 17:41:12 -0000 >> I had a proxy server (Squid + Dansguardian) under Slackware on the >> LAN which, via 'ip route' I make it use 3 gateways connected each one >> to an ADSL line and balance the requests. >> Unfortunately my server crashed and I took the oportunity to install >> a new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are >> working fine. My problem is that I don't know how to make the server >> use the other 2 gateways I have left and balance the requests on all >> ADSL lines. > > > use ipfw and fwd command. > > for example with output section > > add 10000 fwd gw1_IP from DSL1_subnet to any via gw1_ethernet > add 10001 fwd gw2_IP from DSL2_subnet to any via gw2_ethernet > add 10002 fwd gw3_IP from DSL3_subnet to any via gw3_ethernet for my scenario I asume gwX_IP the IP address of my dsl gateways. What would be DSLX_subnet and gwX_ethernet? The proxy has only 1 NIC. Just to be sure: gateway_enable="YES" must be set in /rtc.rc.conf and the kernel must be recompiled with ip forwarding capabilities? > > please do treat above as an example of course. > > Of course use right squid commands so it will select right source IP > based on the rules you want, but as you already did id under linux i > assume you have this practiced already. Under Linux I didn't used squid commands to do the balancing. Only defining the 3 gateways with ip route command. Is it possible to do the same with ipfw as you mentioned above? > > i had 5+2 Polish Telecom links connected to one server - worked fine. > _______________________________________________ > 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 Jun 18 17:57:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBDDE106564A for ; Thu, 18 Jun 2009 17:57:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id B7DC48FC18 for ; Thu, 18 Jun 2009 17:57:01 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KLG00D864I5T440@asmtp013.mac.com> for freebsd-questions@freebsd.org; Thu, 18 Jun 2009 10:56:32 -0700 (PDT) Message-id: From: Chuck Swiger To: Mel Flynn In-reply-to: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Thu, 18 Jun 2009 10:56:29 -0700 References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-questions@freebsd.org Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 17:57:02 -0000 Hi-- On Jun 18, 2009, at 10:41 AM, Mel Flynn wrote: > Does anyone have a how-to or pitfall summary on how to get a vista > computer > to: > - accept DHCP offers from isc-dhcp30-server-3.0.7_4 > - connect to WPA-PSK using *any* scheme supported by FreeBSD's hostapd > - give debugging information that makes sense to someone not > speaking "if > !not_working throw generic_catch_all_error" lingo [ ... ] > Related info: > Vista, WPA-PSK: "The settings saved on this computer for the network > do not > match the requirements of the network." > /var/log/dhcpd.log: > Jun 18 08:56:24 gate dhcpd: DHCPDISCOVER from 00:c0:a8:f1:e8:c3 > (Tyler-PC) via > bridge0 > Jun 18 08:56:24 gate dhcpd: DHCPOFFER on 192.168.2.251 to > 00:c0:a8:f1:e8:c3 > (Tyler-PC) via bridge0 > One common pitfall that affects people doing unusual network topologies like bridging between wired and wireless is whether you've got proxy-ARP going, which might cause the Vista box to thing the IP being offered to it is really in use. Try pinging one of your IPs in the DHCP pool range, and see whether you're getting ARPOP_REPLYs. If so, the MAC address you get ought to lead to the hardware which is generating proxy ARP replies. Of course, it might just be some Vista oddity-- perhaps it doesn't trust your wireless network because it doesn't like the encryption strength or some such, but I won't try to advise you on how to administer Vista itself.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 18:09:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91BBC106564A for ; Thu, 18 Jun 2009 18:09:59 +0000 (UTC) (envelope-from freecsb@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4B35D8FC0C for ; Thu, 18 Jun 2009 18:09:59 +0000 (UTC) (envelope-from freecsb@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so532445ana.13 for ; Thu, 18 Jun 2009 11:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8zAteyZJxWoxZfc3Uzc0v2jcEYAHsjdd4o0hkSMJjEs=; b=hnyJ4smBzpSnFniD2MxS1ty9SkDJ0Zhn1EFhCIUQPTRmJklsfxwMVnXyklDfD0Icjm EfWe+VRM2kEITsADWg7AQd8gN5pOi+gneGF/4v8lxzkSE9niU21kDlLJRJrfqqHJukcL vK05QeNy/R2SXzdntKQWE/KA83DfgfYz4yS+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pg04LC1s1wI+j7ZTZacZXyVg/h0xZb/wO65fMc9/gN3tVXGqmDOQXcyOTEQceA+vaf koX/JVSPQIBLs8ou7B7V8YRe27IErVr2bkDuLtTT7RztJsVEvk4gTp5MpBMUDSijVeAG 6HaHZEAN7p3HkQmi8Ncyx1vuD4BPUrF/EMy/4= MIME-Version: 1.0 Received: by 10.100.105.4 with SMTP id d4mr2484455anc.39.1245348598693; Thu, 18 Jun 2009 11:09:58 -0700 (PDT) In-Reply-To: <20090618093816.6e08b3cd@scorpio.seibercom.net> References: <20090618093816.6e08b3cd@scorpio.seibercom.net> Date: Thu, 18 Jun 2009 14:09:58 -0400 Message-ID: <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> From: Chad Brown To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Unable to auto-mount a CD in XFCE4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 18:09:59 -0000 See here (#3): http://www.freebsd.org/gnome/docs/halfaq.html On Thu, Jun 18, 2009 at 9:38 AM, Jerry wrote: > I have been trying to get the 'auto-mount' feature working in xfce4 > without success. > > An error message is displayed when I place a data disk into the cd > drive. This is a screen shot of the error message: > > http://imagebin.ca/view/sSCSEg.html > > This is the version of xfce4: > > Xfce 4 Desktop Environment > version 4.6.1 (Xfce 4.6) > > This is being run from a FreeBSD-7.2 system. > > -- > Jerry > gesbbb@yahoo.com > > The only constant is change. > _______________________________________________ > 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 Jun 18 18:27:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FEA91065698 for ; Thu, 18 Jun 2009 18:27:45 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id DA1858FC0C for ; Thu, 18 Jun 2009 18:27:44 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so1649195qyk.3 for ; Thu, 18 Jun 2009 11:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3s+JcfiYhhePCbcLoHrjYqYTdhUjw9RiVvfEiKBz+0o=; b=kzhMxX7zH12Ej/pi5WXjNgBUuph5P8ibVFjcpVoSdvWo+1Ipz1r9ox9UJMX0mblAMF xfTUOy9yHWdqSSuoBA8I23XmD0kQ9gGng3IH4FOCVCd7s2uka0goI7F3Grh8UZYqJebS CgZ9NTCqCKuloSev+ix2Kgh0QqXmG0U9kNoiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jt0NCOcjqJ90MYWd7UP+Pla7Gj6tTUjlYTIaRsVwCuseyHDdIj6mQtraeHeKZI7wGJ HlkcORzZ3H+LzY5zeFqbek0GetaBrpxUqgsv8e4mSLNJohH560ZXsOUTW66eZsxOJJea fVWlvCmPvrJOlP89kDa0duyGW2zEL48i0/nG4= MIME-Version: 1.0 Received: by 10.220.91.138 with SMTP id n10mr1965536vcm.76.1245349664164; Thu, 18 Jun 2009 11:27:44 -0700 (PDT) In-Reply-To: References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Thu, 18 Jun 2009 12:27:44 -0600 Message-ID: From: Tim Judd To: Chuck Swiger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 18:27:45 -0000 Long ago in 2007, I saw a M$ article that describes that Vista has an extremely short delay period to get an IP. If it doesn't get it within 1 second, it gives up (and maybe tries again). Common DHCP servers ping an IP address, wait 1 second for a reply, and if no reply, assumes the IP is available and leases it to the booting computer. This one-second delay might be causing Vista to time out. The article explained how to lengthen the timeout, but I'm going to direct your attention to another vector. Is your DHCP server authoritative? That means, that no matter if any other DHCP servers are on the network, the authoritative DHCP will butt in and force/offer it's lease in preference over any other DHCP traffic on the network. The other question is why you have it as a bridge, when sysctl net.inet.ip.forwarding=1 might all you need. Another Q is why you might have a DHCP server listen on one IP (let's say it's the wired interface), but not on the wifi (this wasn't clear in the OP, but it might be the case). On 6/18/09, Chuck Swiger wrote: > Hi-- > > On Jun 18, 2009, at 10:41 AM, Mel Flynn wrote: >> Does anyone have a how-to or pitfall summary on how to get a vista >> computer >> to: >> - accept DHCP offers from isc-dhcp30-server-3.0.7_4 >> - connect to WPA-PSK using *any* scheme supported by FreeBSD's hostapd >> - give debugging information that makes sense to someone not >> speaking "if >> !not_working throw generic_catch_all_error" lingo > [ ... ] >> Related info: >> Vista, WPA-PSK: "The settings saved on this computer for the network >> do not >> match the requirements of the network." >> /var/log/dhcpd.log: >> Jun 18 08:56:24 gate dhcpd: DHCPDISCOVER from 00:c0:a8:f1:e8:c3 >> (Tyler-PC) via >> bridge0 >> Jun 18 08:56:24 gate dhcpd: DHCPOFFER on 192.168.2.251 to >> 00:c0:a8:f1:e8:c3 >> (Tyler-PC) via bridge0 >> > > One common pitfall that affects people doing unusual network > topologies like bridging between wired and wireless is whether you've > got proxy-ARP going, which might cause the Vista box to thing the IP > being offered to it is really in use. Try pinging one of your IPs in > the DHCP pool range, and see whether you're getting ARPOP_REPLYs. If > so, the MAC address you get ought to lead to the hardware which is > generating proxy ARP replies. > > Of course, it might just be some Vista oddity-- perhaps it doesn't > trust your wireless network because it doesn't like the encryption > strength or some such, but I won't try to advise you on how to > administer Vista itself.... > > Regards, > -- > -Chuck > > _______________________________________________ > 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 Jun 18 18:38:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79E61065672 for ; Thu, 18 Jun 2009 18:38:25 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 72DE08FC17 for ; Thu, 18 Jun 2009 18:38:25 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so1659443qyk.3 for ; Thu, 18 Jun 2009 11:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ymebGakNMDHvOek7s5q6aff4HxOAWLyeYKBSzWQ/PI4=; b=dH/eufpHFDWH1TJV24VuJYJ1k64pU/oC81ruOADVOedxx0UvN5D/2lcPIP+LA4qqjE 5lRBcoZmy4kDSTPxvQAQOFagEJGcSqsyRNIdqU6MPcf1HdOZ/ZR2NNbmhytAVn++0TI5 0QMdoB8Sl2bh4cvTAvAWcqGmcDm7EP09WF3nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kgZ2lmO5Q7d9C4Mtalm1Cq4GO9OETcTMZxYxe04eEAT8JUJt+I4Q/rAdyVJ9Vbn6fq 7RTTGp2GsspfPDL8Q4NAbKIFWDgwvvO8yWYI3KC3q1syZGTicK+98vpk61xHbEMg+Tu2 rXYEFdFJ3Qk8j4Hc6+KDKAxvYcKVvkqDdJTMs= MIME-Version: 1.0 Received: by 10.220.71.10 with SMTP id f10mr2005331vcj.13.1245350304292; Thu, 18 Jun 2009 11:38:24 -0700 (PDT) In-Reply-To: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> References: <17838240D9A5544AAA5FF95F8D5203160638ABE2@ad-exh01.adhost.lan> Date: Thu, 18 Jun 2009 12:38:24 -0600 Message-ID: From: Tim Judd To: Mike Sweetser - Adhost Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PF Routing to VPN Device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 18:38:26 -0000 On 6/17/09, Mike Sweetser - Adhost wrote: > Hello, > > We have a network with a VPN device sitting beside a PF server, both > connected to an internal network. > > PF Server: 10.1.4.1 > VPN Device: 10.1.4.200 > > The VPNs are set up for 10.1.1.0/24 and 10.1.2.0/24, so any traffic to > these networks should be routed to 10.1.4.200. We've set up routes on > the PF server as such. > > We've set up the following rules: > > block in log > pass in on $int_if route-to 10.1.4.200 from 10.1.4.0/24 to { 10.1.1.0/24 > 10.1.2.0/24) > > However, the block in log is catching the return traffic. From pflog > when somebody on the VPN (10.1.2.105) tries to connect to 10.1.4.25 on > port 80: > > 000000 rule 28/0(match): block in on bge1: 10.1.4.25.80 > > 10.1.2.105.3558: [|tcp] > > If we remove the block in log, the traffic works. > > What are we missing? > > Thanks, > Mike Mike, I know the typical firewall rules that are googleable are one of two basic starting policies.. -- 1. block in all pass out all -- 2. block all They've become a headache to me to configure a firewall and I now start with this base. In this example, fxp0 is facing the Internet, and xl0 is facing the trusted network. -- 3. block in on fxp0 all pass out This adds the benefit that VPN connections, TUNs, GIFs, and all other ethernet devices aren't blindly evaluated to a simple block in rule, rather it's just the fxp0 interface public Internet traffic that is being blocked, while TUNs, GIFs, and the like are exempt from that rule entry line. Might you try by editing your rules to just block your public IP firewall interface? Good luck. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 18:45:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96C6F106564A for ; Thu, 18 Jun 2009 18:45:44 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 52B1E8FC0A for ; Thu, 18 Jun 2009 18:45:44 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so654153qwe.7 for ; Thu, 18 Jun 2009 11:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gx8+FOfWZjFkWuV9hqEDZLgfuvtE06YQUQ7qAJ7aWW4=; b=hsDDerdwzDhODf8hgHEegPILS3x3XxgnPChT76ajvkdMKpYTt7QK8v0oMFgJ3Hh2tq GjD06wlSSm6u8/rYW3iMlVeZS3yR9DX6vfGaVcKjwRI//Q6LXo42q6Ivl24pld9gFMbU yWLLMxa5VoqQYU07NWRi3VSpH8ZLfzt4rENoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=I3wRb4pYFGfi3jOadm/98hCXLD5aljMaowH2xeioAY+YyhxQDgEVAyQz/BhFDM6P7M y9zOG4pe+c5pi53mYYnWzyxtjiAIosDvoUGePEkU8vy95uAu/8XrFp7o5zv/RZHrwZCc vbYAz65UJU4Y/9mSzErnoS9c4WiGix823Fv0o= MIME-Version: 1.0 Sender: christopher.maness@gmail.com Received: by 10.220.92.204 with SMTP id s12mr1990869vcm.30.1245350743638; Thu, 18 Jun 2009 11:45:43 -0700 (PDT) Date: Thu, 18 Jun 2009 11:45:43 -0700 X-Google-Sender-Auth: 551d8c5f89bb1026 Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ftp user issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 18:45:44 -0000 I just upgraded to 7.2, and I am no longer able to log in via ftp with my user name. Other accounts are ok on the server. I checked the ftpusers file and my name is not on the list. Chris Maness From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 18:55:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6911065783 for ; Thu, 18 Jun 2009 18:55:58 +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 5FBFB8FC16 for ; Thu, 18 Jun 2009 18:55:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id 3BB5B3D026; Thu, 18 Jun 2009 20:55:56 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5IItn4r002015; Thu, 18 Jun 2009 20:55:50 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Jun 2009 20:55:49 +0200 From: Polytropon To: Chris Maness Message-Id: <20090618205549.6506ae7b.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: ftp user issues 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: Thu, 18 Jun 2009 18:55:58 -0000 On Thu, 18 Jun 2009 11:45:43 -0700, Chris Maness wrote: > I just upgraded to 7.2, and I am no longer able to log in via ftp with > my user name. Other accounts are ok on the server. I checked the > ftpusers file and my name is not on the list. You can use "ftp -v" to get more information, and maybe tcpdump from that interface so see what's happening. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:00:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CADA106566B for ; Thu, 18 Jun 2009 19:00:49 +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 17E3F8FC0C for ; Thu, 18 Jun 2009 19:00:47 +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 n5IJ0dQX043299; Thu, 18 Jun 2009 21:00:39 +0200 (CEST) (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 n5IJ0dY4043296; Thu, 18 Jun 2009 21:00:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 21:00:39 +0200 (CEST) From: Wojciech Puchar To: Tim Judd In-Reply-To: Message-ID: References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:00:49 -0000 > Long ago in 2007, I saw a M$ article that describes that Vista has an > extremely short delay period to get an IP. If it doesn't get it > within 1 second, it gives up (and maybe tries again). Common DHCP > servers ping an IP address, wait 1 second for a reply, and if no > reply, assumes the IP is available and leases it to the booting > computer. 1 second is a lot of time. in my network there are lots of windoze vista users and they get IP by dhcpd without problems. delays in LAN are within 10ms range even with a lot of switches. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:04:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D8F9106566C for ; Thu, 18 Jun 2009 19:04:31 +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 B11888FC0A for ; Thu, 18 Jun 2009 19:04:29 +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 n5IJ4LUd043346; Thu, 18 Jun 2009 21:04:21 +0200 (CEST) (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 n5IJ4LNa043343; Thu, 18 Jun 2009 21:04:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 21:04:21 +0200 (CEST) From: Wojciech Puchar To: "Raul I. Becette" In-Reply-To: <4A3A7BDC.1010106@unp.edu.ar> Message-ID: References: <4A39254F.6000603@unp.edu.ar> <4A3A7BDC.1010106@unp.edu.ar> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Users Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:04:31 -0000 >> >> use ipfw and fwd command. >> >> for example with output section >> >> add 10000 fwd gw1_IP from DSL1_subnet to any via gw1_ethernet >> add 10001 fwd gw2_IP from DSL2_subnet to any via gw2_ethernet >> add 10002 fwd gw3_IP from DSL3_subnet to any via gw3_ethernet > > for my scenario I asume gwX_IP the IP address of my dsl gateways. What would > be DSLX_subnet and gwX_ethernet? sorry i thought you are not doing nat in gateways. if you do and cat change it - change it, but it's not a requirement. replace DSL1_subnet with DSL1_outgoing address etc., if all gateways are connected by switch replace gw*_ethernet with the same. you must start with different outgoing addresses (simple in squid) for each gateway. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:08:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 903141065670 for ; Thu, 18 Jun 2009 19:08:10 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (dsl092-017-098.sfo1.dsl.speakeasy.net [66.92.17.98]) by mx1.freebsd.org (Postfix) with ESMTP id 45ADF8FC12 for ; Thu, 18 Jun 2009 19:08:10 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from [66.92.17.195] (spa3000 [66.92.17.195]) by baywinds.org (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id n5IIYY58019060 for ; Thu, 18 Jun 2009 11:34:36 -0700 Message-ID: <4A3A88B9.9040704@baywinds.org> Date: Thu, 18 Jun 2009 11:34:33 -0700 From: Bruce Ferrell User-Agent: Thunderbird 2.0.0.21 (X11/20090310) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PXEBOOT based upgrade/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:08:10 -0000 Hi all! I'm new in these parts, but not new to *nix. I'm trying to upgrade a system with FreeBSD 5.4 to 7.2. I've gotten the pxeboot to work, but somehow the network interface isn't seen by the installer. loader.rc: =========== include /boot/loader.4th include /boot/beastie.4th \ Reads and processes loader.conf variables start load /boot/kernel/kernel load -t mfs_root /boot/mfsroot set vfs.root.mountfrom="ufs:/dev/md0c" boot loader.conf: ============ mfsroot_load="YES" mfsroot_type="mfs_root" mfsroot_name="/boot/mfsroot" if_bge_load="yes" I added the if_bge line at that seems to be the module used on 5.4. Any other leads? Thanks in advance Bruce From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:09:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F901065677 for ; Thu, 18 Jun 2009 19:09:39 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 295548FC1C for ; Thu, 18 Jun 2009 19:09:39 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so663164qwe.7 for ; Thu, 18 Jun 2009 12:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Di42m7SeGMoOqi+1n97IFucg/qQCW6jp3mh9Q+jR6MU=; b=Hnt1/LN9uRFUTyzg28F9+OM10xmf0bfsWNLY8Q4QIpmDYEBIKb4uYXKI38iPMx76uk yhSJKJ2i9vqCb6fjh2QyPqJD0YRnhJugrjKI+0uNxFSHgYOB61KMQ2KnQASQvmD7fgqD dL393Sh0CKOHL+CU/2sFbp/rOT1eZ9vmo8MAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NTOG6iCprkSBGMLVmtVqn/t3pQQ4YQbYrKtGjNZyOy0ye1PpePHfjpALO0n83cAxKH uBSYVQhEBAJy9OFNCyF5I+NIv0encTMwSK7z/A7j1QVEoNdGrc/1ndeRU9jzu8DEFybW Q/gQ1Mb/zH4KOUDR5JiUZjiPAVAY03CEEQ4s0= MIME-Version: 1.0 Received: by 10.220.72.79 with SMTP id l15mr2065414vcj.18.1245352178176; Thu, 18 Jun 2009 12:09:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2009 13:09:38 -0600 Message-ID: From: Tim Judd To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ftp user issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:09:39 -0000 On 6/18/09, Chris Maness wrote: > I just upgraded to 7.2, and I am no longer able to log in via ftp with > my user name. Other accounts are ok on the server. I checked the > ftpusers file and my name is not on the list. > > Chris Maness http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ftp.html ftpusers file is used to prevent logins. http://www.freebsd.org/cgi/man.cgi?query=ftpd&apropos=0&sektion=0&manpath=FreeBSD+7.2-RELEASE&format=html is your user's shell (i.e: bash) in /etc/shells ? FreeBSD's stock ftpd requires the user's shell to be in /etc/shells in order to login. See http://www.freebsd.org/cgi/man.cgi?query=getusershell&sektion=3&apropos=0&manpath=FreeBSD+7.2-RELEASE Documentation is great. RTFM From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:15:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CD3B1065670 for ; Thu, 18 Jun 2009 19:15:35 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0E34C8FC16 for ; Thu, 18 Jun 2009 19:15:34 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: by qyk3 with SMTP id 3so1693894qyk.3 for ; Thu, 18 Jun 2009 12:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=a0UYYjmL18UAtsTZ9ZwRwJOf84i2RSb2OXmlar3Ct8w=; b=XKfQaY9LPPxq9Mu2FOisIHbeaIMI72SBNssKwzzZKK/sMj7UCTckP1pT6ABiggWV3s ihwwd4gHzsZQnO0WdgbQwFMXgdczP6X4ECVShk7cxSkE5if5pSTJ0Q1YoandumqGRPrf vxUf9BrCgqCJHyZQ3/uCEyxB0Ub58f7PgLCgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=fAisx3HHTrIB1U2oTCstbf81+tjuYNTb5wn2EVfQFuCL+vovB3Y3QTW58mI+kxojXf rxI+zrGkK6UvfrKuI+bNJDK4oXoruG9XKuJsio9f1Vw6f/f2ymWzTgr5q2k2bwqJLUD0 Ml60KgLpT4DDPpXE5BdD3JWw2vGDjYixOXHzg= MIME-Version: 1.0 Sender: christopher.maness@gmail.com Received: by 10.220.100.194 with SMTP id z2mr2070759vcn.68.1245352532702; Thu, 18 Jun 2009 12:15:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2009 12:15:32 -0700 X-Google-Sender-Auth: fdfdb08d9b6682f3 Message-ID: From: Chris Maness To: Tim Judd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ftp user issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:15:35 -0000 > > Documentation is great. =A0RTFM > I don't think a "RTFM" is justified as this connection is an esoteric one for some of us. Chris From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:15:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EB5E1065670 for ; Thu, 18 Jun 2009 19:15:38 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id CAADE8FC17 for ; Thu, 18 Jun 2009 19:15:37 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by mail-qy0-f173.google.com with SMTP id 3so1693894qyk.3 for ; Thu, 18 Jun 2009 12:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1a9mW0tF+/eDSnzWI7AQvtt/aIrCZJyUGD9Dtx7SNMs=; b=p4hxpwHNmyC3ckdzO/4HFpB+U/U9b09NLvLIH0nH0UHQalEyiOpsRoGOV09fXbMdk/ FdVKKRhYh6JqF3sLebY0Ulzn/kByna1CehqRlbbfMAzd+LlvMDUEaIZPjcp9q3aYPPIw FJ0z/CGu760w1uDzwk83ODO1dan24A5/DsjZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=d8lt0Jx72oKOHJc2ou4Bklat22Nc6UhmC+TIrQDrFBK/F/Vvg1IaLPrSo8fiMAK/21 AZU4LNyj4Zgq7n6Q81RCKQMFxTX85/W1hZvN9s5tcx88sICREAMQbgzS0iDAwNRBWlau RdFjvwergpJjFk9Xo5YC5rx84bndpNHSVTpto= MIME-Version: 1.0 Received: by 10.220.71.10 with SMTP id f10mr2074041vcj.13.1245352537322; Thu, 18 Jun 2009 12:15:37 -0700 (PDT) In-Reply-To: <4A3A88B9.9040704@baywinds.org> References: <4A3A88B9.9040704@baywinds.org> Date: Thu, 18 Jun 2009 13:15:37 -0600 Message-ID: From: Tim Judd To: Bruce Ferrell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PXEBOOT based upgrade/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:15:38 -0000 If you're going to setup a netbooting server (congrats!), why are you trying to limit yourself to what seems to be the bootonly CD? There are some people who complain about broadcom cards, in the fact that they're buggy support/nonexistant support. Maybe your NIC chipset is one of those. The loader.rc is told to mount a memory filesystem from ufs formatted disk located at /dev/md0c (a memory disk that is populated from the previous line, a file-based filesystem). So your system wouldn't be able to hit sysinstall or the /etc files (as I'm seeing the boot process) to do the install or configuration. Overall, what's to stop you from doing a diskless boot? the handbook makes it for a multi-PC setup, but for a single setup, it's quite easy. On 6/18/09, Bruce Ferrell wrote: > Hi all! > > I'm new in these parts, but not new to *nix. I'm trying to upgrade a > system with FreeBSD 5.4 to 7.2. > > I've gotten the pxeboot to work, but somehow the network interface isn't > seen by the installer. > > loader.rc: > =========== > include /boot/loader.4th > include /boot/beastie.4th > > \ Reads and processes loader.conf variables > start > > load /boot/kernel/kernel > load -t mfs_root /boot/mfsroot > set vfs.root.mountfrom="ufs:/dev/md0c" > boot > > loader.conf: > ============ > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > if_bge_load="yes" > > I added the if_bge line at that seems to be the module used on 5.4. > > Any other leads? > > Thanks in advance > > Bruce > _______________________________________________ > 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 Jun 18 19:20:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581CF1065672 for ; Thu, 18 Jun 2009 19:20:30 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA688FC16 for ; Thu, 18 Jun 2009 19:20:29 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so667187qwe.7 for ; Thu, 18 Jun 2009 12:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=9UZAeoWyhyxvorizV+oGOcmer0TkGn+nwdUfuNKWQNM=; b=ROFD/zR3iDdSgjXM6WNtnf/CY9dp6LImfUR+OK6pByPMoJst+9HO8LI2PCxBs7NRkN Keqjn6kD5Vl2qakIzC6rPgef/2rW3L0YZ0aLH9/u8TL/d1FzTDoLQ7MZ8+JnUYbldR/j ChJ+KJDxs/qoBQKxat//0GoP4LEAL+C7ZOGfw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=FcrPbFCGzooSfwKL1LvLPdBtHphY8arbbOcxPQiEceWk6V7dVdGtAhoyzbi1q5M1UW COukxDrVdone0TNIJqYsjoBG9U4gP/MtKu89RJiGolWd5nsR8AVEgQs5gO0Lfrtr47Uw c2XiNQym8Ot8RPwtMi92+fsIuEyQ4So7z+AGY= MIME-Version: 1.0 Sender: christopher.maness@gmail.com Received: by 10.220.85.202 with SMTP id p10mr2089906vcl.72.1245352828979; Thu, 18 Jun 2009 12:20:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2009 12:20:28 -0700 X-Google-Sender-Auth: 73cae352b82c57a8 Message-ID: From: Chris Maness To: Tim Judd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ftp user issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:20:30 -0000 > > is your user's shell (i.e: bash) in /etc/shells ? > This was the issue, thanks. I guess I missed that one in mergemaster. Chris From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:21:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49B8D10656CF for ; Thu, 18 Jun 2009 19:21:53 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id ECA6D8FC0A for ; Thu, 18 Jun 2009 19:21:52 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id A85F41C1A67; Thu, 18 Jun 2009 21:21:51 +0200 (CEST) Message-ID: <4A3A93CF.4050603@locolomo.org> Date: Thu, 18 Jun 2009 21:21:51 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Mel Flynn References: <4A38D6FE.8000804@locolomo.org> <200906171443.07165.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A39D5C7.8000009@locolomo.org> <200906180620.25768.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200906180620.25768.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 19:21:53 -0000 Mel Flynn wrote: > On Wednesday 17 June 2009 21:51:03 Erik Norgaard wrote: > >>>> Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com [172.16.0.2] >>>> plaintext cyrus@example.com SASL(-13): user not found: checkpass failed >>>> > > So does the imap server know the domain name? How does it figure it out? Does > it know to strip domain names because you configured the unix passwd backend? > If it uses the domainname command to figure out the domainname, you may have > it set on the working server, yet not on the jail. > Any differences related to domains in /etc/rc.conf and /etc/resolv.conf that > might shed some light? I added the line defaultdomain: example.com to imapd.conf, this line is not in my working server configuration, however, it does make the realm part go away from the error message, not that it solves the problem though: Jun 18 21:09:57 jail imap[22562]: badlogin: jail.example.com [172.16.0.2] plaintext cyrus SASL(-1): generic failure: checkpass failed Now, adding debug mode to saslautd, I got some extra info in auth.log: Jun 18 21:13:21 jail saslauthd[21300]: DEBUG: auth_pam: pam_authenticate failed: authentication error Jun 18 21:13:21 jail saslauthd[21300]: do_auth : auth failure: [user=cyrus@example.com] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] I have checked /etc/pam.d in the jail against the host and they are identical, also /usr/local/etc/pam.d - both empty. Are there any known problems with pam in jails? > I'm sorry I can't be of more Cyrus specific help. Thanks for taking your time, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:27:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C831065674 for ; Thu, 18 Jun 2009 19:27:30 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (dsl092-017-098.sfo1.dsl.speakeasy.net [66.92.17.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2748FC0C for ; Thu, 18 Jun 2009 19:27:29 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from [66.92.17.195] (spa3000 [66.92.17.195]) by baywinds.org (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id n5IJRQ8l020595 for ; Thu, 18 Jun 2009 12:27:28 -0700 Message-ID: <4A3A951D.4030400@baywinds.org> Date: Thu, 18 Jun 2009 12:27:25 -0700 From: Bruce Ferrell User-Agent: Thunderbird 2.0.0.21 (X11/20090310) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A3A88B9.9040704@baywinds.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: PXEBOOT based upgrade/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:27:30 -0000 Tim Judd wrote: > If you're going to setup a netbooting server (congrats!), why are you > trying to limit yourself to what seems to be the bootonly CD? Uh... 'cause I don't know any better? :) Point me to docs so I can do better! > There are some people who complain about broadcom cards, in the fact > that they're buggy support/nonexistant support. Maybe your NIC > chipset is one of those. I don't know about that. This is in a Dell Power Edge 850 running FreeBSD 5.4. > The loader.rc is told to mount a memory filesystem from ufs formatted > disk located at /dev/md0c (a memory disk that is populated from the > previous line, a file-based filesystem). So, I need to get rid of the set line? before I added that (done by rote from googeling) I was getting a panic about no init. > So your system wouldn't be able to hit sysinstall or the /etc files > (as I'm seeing the boot process) to do the install or configuration. > > > > > Overall, what's to stop you from doing a diskless boot? the handbook > makes it for a multi-PC setup, but for a single setup, it's quite > easy. I need the stuff on the local disk as it runs an application that needs local postgres and other stuff. Yes, I could put it elsewhere, but it would mean flying 5 hours to do it. Rather just do an upgrade. > > On 6/18/09, Bruce Ferrell wrote: >> Hi all! >> >> I'm new in these parts, but not new to *nix. I'm trying to upgrade a >> system with FreeBSD 5.4 to 7.2. >> >> I've gotten the pxeboot to work, but somehow the network interface isn't >> seen by the installer. >> >> loader.rc: >> =========== >> include /boot/loader.4th >> include /boot/beastie.4th >> >> \ Reads and processes loader.conf variables >> start >> >> load /boot/kernel/kernel >> load -t mfs_root /boot/mfsroot >> set vfs.root.mountfrom="ufs:/dev/md0c" >> boot >> >> loader.conf: >> ============ >> mfsroot_load="YES" >> mfsroot_type="mfs_root" >> mfsroot_name="/boot/mfsroot" >> if_bge_load="yes" >> >> I added the if_bge line at that seems to be the module used on 5.4. >> >> Any other leads? >> >> Thanks in advance >> >> Bruce >> _______________________________________________ >> 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 Jun 18 19:30:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7A2106566C for ; Thu, 18 Jun 2009 19:30:24 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id CE5128FC13 for ; Thu, 18 Jun 2009 19:30:23 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 91217 invoked from network); 18 Jun 2009 19:30:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=xxWjCl/4SZPpxWv4nAx3XTp1ibuQAznKZVaodsADchHZdvWVgcaV3B4+Vpv65enJaYJQic42NhvcftjR3hZmPqPlENk3dTavy9y7x2gO7Xkmww9b676XEeYHs1QatqusNPQq/rYvy9DgbPYc1uYH3fc6EXSCN1uBE075TpAVurQ= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 18 Jun 2009 12:30:22 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: xrJxPaQVM1l2cl4ji2tL.inXJZKcqnOrbVnOaAI.JmOnPr2QE4lBgdSc5oebZVt4FIod33hiefiEwMhce0gW0lYj1n0dborqCPyjbBi8DEDMYJtJo0ypLstxkB8MEF_6QWZcOA4JMS7zFiHN6SU3Fv_lcRlQljizfcO6U4ld1cuo17gh1Y8nKNx7Dw_xn7fRwzP6sRoEQh919o4t9p.ALniPV6_qzhbfr.pe.nZOE_NvByDLPMPcZa9yRS6pYQYJXWnSAGlbgw_WcYLaff4RNnLQnAteOy8_oKn7sUtN5E3Fc.lrDiJTHmLGFpSYaDZcPuwlVXX2Pf4tjGFkixLeoTCiwIc9eS8ZYogY X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 85BD122889 for ; Thu, 18 Jun 2009 15:30:22 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 4818222886 for ; Thu, 18 Jun 2009 15:30:22 -0400 (EDT) Date: Thu, 18 Jun 2009 15:30:22 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090618153022.067e8fe5@scorpio.seibercom.net> In-Reply-To: <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> References: <20090618093816.6e08b3cd@scorpio.seibercom.net> <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: Unable to auto-mount a CD in XFCE4 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, 18 Jun 2009 19:30:24 -0000 On Thu, 18 Jun 2009 14:09:58 -0400 Chad Brown wrote: > See here (#3): > http://www.freebsd.org/gnome/docs/halfaq.html Thanks, that works. In retrospect, 99% of PC users insert a CD and it just 'works'. Why can't FreeBSD make it that simple? Just my 2 cents. -- Jerry gesbbb@yahoo.com I think she must have been very strictly brought up, she's so desperately anxious to do the wrong thing correctly. Saki, "Reginald on Worries" From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:36:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A543F1065674 for ; Thu, 18 Jun 2009 19:36:00 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9068FC16 for ; Thu, 18 Jun 2009 19:36:00 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 1E43F7E83F; Thu, 18 Jun 2009 11:35:59 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 11:35:57 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906181135.58206.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:36:01 -0000 On Thursday 18 June 2009 09:56:29 Chuck Swiger wrote: > Hi-- > > On Jun 18, 2009, at 10:41 AM, Mel Flynn wrote: > > Does anyone have a how-to or pitfall summary on how to get a vista > > computer > > to: > > - accept DHCP offers from isc-dhcp30-server-3.0.7_4 > > - connect to WPA-PSK using *any* scheme supported by FreeBSD's hostapd > > - give debugging information that makes sense to someone not > > speaking "if > > !not_working throw generic_catch_all_error" lingo > > [ ... ] > > > Related info: > > Vista, WPA-PSK: "The settings saved on this computer for the network > > do not > > match the requirements of the network." > > /var/log/dhcpd.log: > > Jun 18 08:56:24 gate dhcpd: DHCPDISCOVER from 00:c0:a8:f1:e8:c3 > > (Tyler-PC) via > > bridge0 > > Jun 18 08:56:24 gate dhcpd: DHCPOFFER on 192.168.2.251 to > > 00:c0:a8:f1:e8:c3 > > (Tyler-PC) via bridge0 > > > > One common pitfall that affects people doing unusual network > topologies like bridging between wired and wireless is whether you've > got proxy-ARP going, which might cause the Vista box to thing the IP > being offered to it is really in use. Try pinging one of your IPs in > the DHCP pool range, and see whether you're getting ARPOP_REPLYs. If > so, the MAC address you get ought to lead to the hardware which is > generating proxy ARP replies. Ah, forgot to mention. This isn't bridge specific. It didn't work with the same issues, when I was using a separate network for the wireless interface. I was actually hoping that using a bridge would fix it, as it cleaned up my firewall and NAT rules. It also persisted through a change from ath to ral hostap. Also the IP isn't in use. My own laptop is one other wireless machine and I've kept it out of DHCP range. The Kubuntu laptop was powered off at the time, servers are also out of DHCP range and the work stations are assigned properly on different IPs. There's also no evidence of a hacked WEP connection in pftop, now that we've temporarily switched back to it. Static IP works, even the one that DHCP would have it assigned. The DHCPOFFER is just never seen by the vista client and I cannot at present determine where. It leaves the bridge interface just fine, but if it gets lost in wlan, dropped by vista firewall or silently ignored by vista because it doesn't adhere to vista's expectation is unknown. I'd appreciate it if someone would have tcpdump/wlantools etc rules available to track this and mention what to look for. We've got some time set aside this weekend to do any sniffing/diagnostics and will post back results if any. > Of course, it might just be some Vista oddity-- perhaps it doesn't > trust your wireless network because it doesn't like the encryption > strength or some such, but I won't try to advise you on how to > administer Vista itself.... Hehe, no. The objective here is to figure out how to get it working using tools and diagnostics on the gateway machine and go as far as applying hotfixes and service packs for Vista. But it should work without registry hacks or continuous maintenance. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:36:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E3711065672 for ; Thu, 18 Jun 2009 19:36:31 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 3352B8FC1C for ; Thu, 18 Jun 2009 19:36:31 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id AB9741C1A67; Thu, 18 Jun 2009 21:36:29 +0200 (CEST) Message-ID: <4A3A973D.6010105@locolomo.org> Date: Thu, 18 Jun 2009 21:36:29 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Bruce Ferrell References: <4A3A88B9.9040704@baywinds.org> In-Reply-To: <4A3A88B9.9040704@baywinds.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: PXEBOOT based upgrade/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:36:31 -0000 Bruce Ferrell wrote: > Hi all! > > I'm new in these parts, but not new to *nix. I'm trying to upgrade a > system with FreeBSD 5.4 to 7.2. > > I've gotten the pxeboot to work, but somehow the network interface isn't > seen by the installer. > > loader.rc: > =========== > include /boot/loader.4th > include /boot/beastie.4th > > \ Reads and processes loader.conf variables > start > > load /boot/kernel/kernel > load -t mfs_root /boot/mfsroot > set vfs.root.mountfrom="ufs:/dev/md0c" > boot > > loader.conf: > ============ > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > if_bge_load="yes" > > I added the if_bge line at that seems to be the module used on 5.4. > > Any other leads? I wrote a guide years ago, it hasn't been updated since 6.2, but for this stage I don't think there are any changes. http://www.locolomo.org/pub/pxeboot/index.html It also explains how to build your own custom mfsroot. Does the kernel support tftp and/or nfs? is your mfsroot actually fetched from the server? BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:44:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6638106564A for ; Thu, 18 Jun 2009 19:44:41 +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 851958FC08 for ; Thu, 18 Jun 2009 19:44:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-65-8.dynamic.qsc.de [92.195.65.8]) by mx01.qsc.de (Postfix) with ESMTP id 481473C918; Thu, 18 Jun 2009 21:44:40 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n5IJiYeB002271; Thu, 18 Jun 2009 21:44:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Jun 2009 21:44:34 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20090618214434.4f18f9a8.freebsd@edvax.de> In-Reply-To: <20090618153022.067e8fe5@scorpio.seibercom.net> References: <20090618093816.6e08b3cd@scorpio.seibercom.net> <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> <20090618153022.067e8fe5@scorpio.seibercom.net> 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: Subject: Re: Unable to auto-mount a CD in XFCE4 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: Thu, 18 Jun 2009 19:44:42 -0000 On Thu, 18 Jun 2009 15:30:22 -0400, Jerry wrote: > Thanks, that works. In retrospect, 99% of PC users insert a CD and it > just 'works'. Why can't FreeBSD make it that simple? Because it is already doing it simple. Personally, I find myself often putting in a CD and NOT wanting to do something with it right now. Then any kind of forced interaction would be annoying. FreeBSD keeps it right in my opinion: Keep to the OS what is the OS's stuff, and leave everything optional to modular parts, such als HAL or DBUS. What should, in your opinion, happen? Mounting the disc to a predefined directory? Which one? What if it isn't a ISO-9660 disc, but a UFS or tar or "plain" disc? What if the disc is empty, should a CD recording applicaion be launched? Which one should it be? If two discs are put into two different drives (a situation common if you want to copy a disc 1:1), what should happen then? What if the order of puttin in the two discs is vice versa? If it is a rewritable disc, mount it rw? What if it gets popped out right after that (because it was the wrong disc), what should the OS do? When there's something executable on the disc, should it be executed right now? Maybe with root privileges, just to be sure? If there's more than one executable, should all of the executables be launched? If there are documents on it, should they be automatically opened? By which programs? If there's an installer for some program on the disc, should the application be installed automatically? Should the content of the disc be indexed right away, because this could be needed sometimes in the future? If you can answer these and many following questions, you are on your way on making FreeBSD being just like everything else that "just works" - like "Windows". :-) FreeBSD is acting determinable: It does exactly what you tell it to do, by commands or by preconfiguration. This is a big strength, you always can predict what will happen. Have you ever thought about using PC-BSD? It is very convenient for 99% of the users you described, and still a FreeBSD system. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:49:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA4EC106564A for ; Thu, 18 Jun 2009 19:49:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 619038FC16 for ; Thu, 18 Jun 2009 19:49:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so677083qwe.7 for ; Thu, 18 Jun 2009 12:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LtEsYGospPkDpVjwq7t51ihuMxO4tkTxgCRzaT7oUT8=; b=cbLJ+E9Qzx5685xzOfG84JiMx9i69tsJY80kWXtZXJIqbIqyDXm3mYIvoGWs6rLsik EcC5yccFZT9qJce2LHByio4//xnPHZV1MSmF69ewlMgiU/bVY12yGAHBIuiLdEXygTKu ogDMwRGOSZlGhG/uyuq7iv8TBEdxS5wCQs1YI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bMaXfSBSj8SJb64YR/UMtBNaYi5CNNM/Kk024U8OE94NyR/Jnq+/47EFARMlndSrZU Nm1YItcZYySwsI0quwy6ij6rioxbMS/VlRAScLMC73otVAtnwjZ7GZNHRY9CsY+An3Kz dfJmk4bTax4HygJShff/5BiE9zZFHonkF1C5M= MIME-Version: 1.0 Received: by 10.220.77.75 with SMTP id f11mr2085918vck.85.1245354549514; Thu, 18 Jun 2009 12:49:09 -0700 (PDT) In-Reply-To: <4A3A951D.4030400@baywinds.org> References: <4A3A88B9.9040704@baywinds.org> <4A3A951D.4030400@baywinds.org> Date: Thu, 18 Jun 2009 13:49:09 -0600 Message-ID: From: Tim Judd To: Bruce Ferrell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PXEBOOT based upgrade/install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:49:10 -0000 As a very brief instruction to setup a single-PC diskless boot (because of the pid files, mostly. But files in /etc are also the same concern) do the following on your NFS exported filesystems.. cd /path/to/installation/medium cd 7.2-RELEASE/kernels cat generic.?? | tar --unlink -xpzf - -C /path/to/exported/mountpoint cd ../base cat base.?? | tar --unlink -xpzf - -C /path/to/exported/mountpoint Add some NFS server functionality (file locking [for editing /etc/passwd], mostly) by adding to the server's rc.conf and starting the services: rpc_statd_enable="YES" rpc_lockd_enable="YES" Create the client's files: /etc/fstab /etc/rc.conf The client ALSO needs statd and lockd in order for file locking to work... don't forget to add it. And create optionally the serial console ability as outlined in the handbook. My ALIX (aka new PC Engines' WRAP boards) routers both have this diskless setup. If you're running it off Compact Flash, keep in mind the limited write cycles. I have them both running off Microdrives now (1" hard disks at 3600RPM) If anyone gets stuck, as I'm writing this from memory while I'm at work, let me know. I'll double check my config at home and update it if I need to. This does not add the manpages, the source files, ports, or anything. It's the same as sysinstall's "minimal" config. This will boot to a Multi-User Interface (MUI) and you can run sysinstall after logging in with root with no password. On 6/18/09, Bruce Ferrell wrote: > > > Tim Judd wrote: >> If you're going to setup a netbooting server (congrats!), why are you >> trying to limit yourself to what seems to be the bootonly CD? > > Uh... 'cause I don't know any better? :) Point me to docs so I can do > better! > >> There are some people who complain about broadcom cards, in the fact >> that they're buggy support/nonexistant support. Maybe your NIC >> chipset is one of those. > > I don't know about that. This is in a Dell Power Edge 850 running > FreeBSD 5.4. > >> The loader.rc is told to mount a memory filesystem from ufs formatted >> disk located at /dev/md0c (a memory disk that is populated from the >> previous line, a file-based filesystem). > > So, I need to get rid of the set line? > > before I added that (done by rote from googeling) I was getting a panic > about no init. > >> So your system wouldn't be able to hit sysinstall or the /etc files >> (as I'm seeing the boot process) to do the install or configuration. >> >> >> >> >> Overall, what's to stop you from doing a diskless boot? the handbook >> makes it for a multi-PC setup, but for a single setup, it's quite >> easy. > > I need the stuff on the local disk as it runs an application that needs > local postgres and other stuff. Yes, I could put it elsewhere, but it > would mean flying 5 hours to do it. Rather just do an upgrade. > >> >> On 6/18/09, Bruce Ferrell wrote: >>> Hi all! >>> >>> I'm new in these parts, but not new to *nix. I'm trying to upgrade a >>> system with FreeBSD 5.4 to 7.2. >>> >>> I've gotten the pxeboot to work, but somehow the network interface isn't >>> seen by the installer. >>> >>> loader.rc: >>> =========== >>> include /boot/loader.4th >>> include /boot/beastie.4th >>> >>> \ Reads and processes loader.conf variables >>> start >>> >>> load /boot/kernel/kernel >>> load -t mfs_root /boot/mfsroot >>> set vfs.root.mountfrom="ufs:/dev/md0c" >>> boot >>> >>> loader.conf: >>> ============ >>> mfsroot_load="YES" >>> mfsroot_type="mfs_root" >>> mfsroot_name="/boot/mfsroot" >>> if_bge_load="yes" >>> >>> I added the if_bge line at that seems to be the module used on 5.4. >>> >>> Any other leads? >>> >>> Thanks in advance >>> >>> Bruce >>> _______________________________________________ >>> 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 Thu Jun 18 19:49:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26CB41065673 for ; Thu, 18 Jun 2009 19:49:31 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id B427E8FC14 for ; Thu, 18 Jun 2009 19:49:30 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 80160 invoked by uid 89); 18 Jun 2009 19:49:53 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 18 Jun 2009 19:49:53 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Thu, 18 Jun 2009 15:49:26 -0400 X-Mailer: Apple Mail (2.753.1) Subject: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:49:31 -0000 I have a client who has an application that he wants to deploy in his customer's offices as a headless 'appliance'. Basically, just a black box that you can plug into a Lan, turn it on, and it runs. No floppy disk or CD, no monitor/keyboard, just remotely managed. This application won't store any critical data, so it doesn't need redundancy. It just needs to be reasonably reliable, compact, and quiet. My first recommendation was to use a Mac Mini, but that excellent bit of hardware was deemed 'not professional enough'. So now I am looking for a compact pc that can run FreeBSD, of course. I think it probably just needs a power supply, tiny motherboard with onboard ethernet, usb, etc., and hard drive. If anyone has a recommendation (or if their are any vendors lurking), please shoot me an email off list. I'll compile a list of recommendations and post it all at once, in case anyone else is interested in this. Thanks: John -- jalmberg at identry dot com From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:50:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 045DB1065675 for ; Thu, 18 Jun 2009 19:50:05 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp106.prem.mail.ac4.yahoo.com (smtp106.prem.mail.ac4.yahoo.com [76.13.13.45]) by mx1.freebsd.org (Postfix) with SMTP id 9C72D8FC17 for ; Thu, 18 Jun 2009 19:50:04 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 97698 invoked from network); 18 Jun 2009 19:50:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=gNgeuo6GMVcCVDW/M1IBveAvmxUS3y/CIj46FJbERYPp0zvzHZy6v1ysxGQ7Kn2gZj75ypLNUCcW31A62HZHlSkt0MLtectfM0YCVK91ZJdCK5o10qaCUByzQDZCJOpPv+FoGTVKYZhzlwk/8cOAs+MblRf44KKuDu1dTpjQflY= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 18 Jun 2009 12:50:03 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: ysWi2OkVM1nmx1XUui_ApTo1MBv8Wvpbr1IARozbbaCIdRgeA5whSt9olwjtrtYEs._NNymJM1rSWk86W9fi7zIgppAXeO8t3J8SDX5AwGNbPhEGtMAClVHJXb8zbKCVynelh_X6s.281crszLriWIsaiTGtBSjqANU.rfaA4ooLLlYVgeHYor1EBBZRKAw6fChB3Mjnuo0R6qXyVeWlr8g8nhBVnbGWT67wRpzdkZuLey7SUquisoThWSCsTAKzduaCcNQZDjXWdv4OcfS8r4dlN2Dm20m8FsQp.8ROE2dAsllBWyCS.0A7dqWr_aufZRSCe_bj72o8ekme9N0P1SGR8aYmuSl8NmuM X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 0608F22889 for ; Thu, 18 Jun 2009 15:50:03 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id BD98622886 for ; Thu, 18 Jun 2009 15:50:02 -0400 (EDT) Date: Thu, 18 Jun 2009 15:50:02 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090618155002.2adb016c@scorpio.seibercom.net> In-Reply-To: <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> References: <20090618093816.6e08b3cd@scorpio.seibercom.net> <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: Unable to auto-mount a CD in XFCE4 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, 18 Jun 2009 19:50:05 -0000 On Thu, 18 Jun 2009 14:09:58 -0400 Chad Brown wrote: > See here (#3): > http://www.freebsd.org/gnome/docs/halfaq.html OK, now I discovered a new problem. When attempting to eject the CD, I am greeted with another error message, viewable at the following URL. http://imagebin.ca/view/wa99wB.html I cannot remove the CD from the drive. That kind of sucks. I may have to reboot to get it out. The output of polkit-auth: org.gnome.gconf.defaults.set-system org.gnome.gconf.defaults.set-mandatory org.freedesktop.hal.wol.enabled org.freedesktop.hal.wol.enable org.freedesktop.hal.wol.supported org.freedesktop.hal.dockstation.undock org.freedesktop.hal.killswitch.bluetooth org.freedesktop.hal.killswitch.wlan org.freedesktop.hal.killswitch.wwan org.freedesktop.hal.power-management.shutdown org.freedesktop.hal.power-management.shutdown-multiple-sessions org.freedesktop.hal.power-management.reboot org.freedesktop.hal.power-management.reboot-multiple-sessions org.freedesktop.hal.power-management.set-powersave org.freedesktop.hal.power-management.suspend org.freedesktop.hal.power-management.hibernate org.freedesktop.hal.power-management.cpufreq org.freedesktop.hal.power-management.lcd-panel org.freedesktop.hal.power-management.light-sensor org.freedesktop.hal.power-management.keyboard-backlight org.freedesktop.hal.storage.mount-fixed org.freedesktop.hal.storage.mount-removable org.freedesktop.hal.storage.unmount-others org.freedesktop.hal.storage.eject org.freedesktop.hal.storage.crypto-setup-fixed org.freedesktop.hal.storage.crypto-setup-removable org.freedesktop.hal.lock org.freedesktop.consolekit.system.stop org.freedesktop.consolekit.system.stop-multiple-users org.freedesktop.consolekit.system.restart org.freedesktop.consolekit.system.restart-multiple-users org.freedesktop.policykit.read org.freedesktop.policykit.revoke org.freedesktop.policykit.grant org.freedesktop.policykit.modify-defaults -- Jerry gesbbb@yahoo.com Do not do unto others as you would they should do unto you. Their tastes may not be the same. George Bernard Shaw From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 19:58:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDB441065672 for ; Thu, 18 Jun 2009 19:58:39 +0000 (UTC) (envelope-from nealhogan@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 97B768FC13 for ; Thu, 18 Jun 2009 19:58:39 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so564788ywe.13 for ; Thu, 18 Jun 2009 12:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=OG3YxJ1gJP/mouO4J4OTcI92++hLE5ZVmTk8/WQh5U8=; b=qAzYLCWZze4DZeSx6jBTGX0ZDh6tyhQCx5d/B7aRXVuJUCsjIPGqB7MR01ufHgQsnI 5x+Zjlj39WiR7HGRoQjFdWAYRVKD7kRgkWYkYaqGPqHYd0olgLqqiqJEwpui0tO+ZKbl 3Y3XkdfiJIsv/bFHuA464aHBva+7E6PunIieE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rDAoz7s2zB+HSP+PbhQ4Np7RAY5Mj4KuiawFUDg9LFDmTgFeyE+H9IdvCR7n3MWMqx JvLy2r48Kv3z7N7/TJsHgzAks7/kmWW1r0/kmhbz+LfKU4B1RFUEk0yAIYM2LqKDrfF/ s6c3aW63mIcHKk8zxm3QhowD0BRhkCiCsUU54= MIME-Version: 1.0 Received: by 10.151.137.10 with SMTP id p10mr4227797ybn.218.1245355119106; Thu, 18 Jun 2009 12:58:39 -0700 (PDT) In-Reply-To: <20090618155002.2adb016c@scorpio.seibercom.net> References: <20090618093816.6e08b3cd@scorpio.seibercom.net> <90f0a2770906181109k1b506da9k57b969a532d96c45@mail.gmail.com> <20090618155002.2adb016c@scorpio.seibercom.net> Date: Thu, 18 Jun 2009 14:58:39 -0500 Message-ID: From: Neal Hogan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Unable to auto-mount a CD in XFCE4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 19:58:40 -0000 man umount On Thu, Jun 18, 2009 at 2:50 PM, Jerry wrote: > On Thu, 18 Jun 2009 14:09:58 -0400 > Chad Brown wrote: > >> See here (#3): >> http://www.freebsd.org/gnome/docs/halfaq.html > > OK, now I discovered a new problem. When attempting to eject the CD, I > am greeted with another error message, viewable at the following URL. > > http://imagebin.ca/view/wa99wB.html > > I cannot remove the CD from the drive. That kind of sucks. I may have > to reboot to get it out. > > The output of polkit-auth: > > org.gnome.gconf.defaults.set-system > org.gnome.gconf.defaults.set-mandatory > org.freedesktop.hal.wol.enabled > org.freedesktop.hal.wol.enable > org.freedesktop.hal.wol.supported > org.freedesktop.hal.dockstation.undock > org.freedesktop.hal.killswitch.bluetooth > org.freedesktop.hal.killswitch.wlan > org.freedesktop.hal.killswitch.wwan > org.freedesktop.hal.power-management.shutdown > org.freedesktop.hal.power-management.shutdown-multiple-sessions > org.freedesktop.hal.power-management.reboot > org.freedesktop.hal.power-management.reboot-multiple-sessions > org.freedesktop.hal.power-management.set-powersave > org.freedesktop.hal.power-management.suspend > org.freedesktop.hal.power-management.hibernate > org.freedesktop.hal.power-management.cpufreq > org.freedesktop.hal.power-management.lcd-panel > org.freedesktop.hal.power-management.light-sensor > org.freedesktop.hal.power-management.keyboard-backlight > org.freedesktop.hal.storage.mount-fixed > org.freedesktop.hal.storage.mount-removable > org.freedesktop.hal.storage.unmount-others > org.freedesktop.hal.storage.eject > org.freedesktop.hal.storage.crypto-setup-fixed > org.freedesktop.hal.storage.crypto-setup-removable > org.freedesktop.hal.lock > org.freedesktop.consolekit.system.stop > org.freedesktop.consolekit.system.stop-multiple-users > org.freedesktop.consolekit.system.restart > org.freedesktop.consolekit.system.restart-multiple-users > org.freedesktop.policykit.read > org.freedesktop.policykit.revoke > org.freedesktop.policykit.grant > org.freedesktop.policykit.modify-defaults > > > -- > Jerry > gesbbb@yahoo.com > > Do not do unto others as you would they should do unto you. > Their tastes may not be the same. > > =A0 =A0 =A0 =A0George Bernard Shaw > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 20:14:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A64CD106566B for ; Thu, 18 Jun 2009 20:14:20 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 58AC18FC1A for ; Thu, 18 Jun 2009 20:14:20 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so1744703qyk.3 for ; Thu, 18 Jun 2009 13:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=P/EKrrgLjGj69UNpbniIwu1riqUveiKqZ8Ma2Tv16yU=; b=BTRYOOtfInDZSAOlZgMqsjUm2hxSR6E0IjsR59DIWbrLOBgrVTfSNSDrih7CnBGV7L Yje8soioEYbmVCEjmQDFwpXgpTa5+UVssN1wlnCtBx0hA7qR5tU+ygr8llYogmFiyloL +Y1QWccVeLGaDNXtgbfHmy1jF5UCSR1VXBRIs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ih7pHasrBIXEbCBqWpTkJHHLjgpZ6mEoZyZtVebcNoswqrmIMmTZbR4Sza8Niwd19M FSTaVQw+XIm+psxkuJ8G6iWlIKHtI3T3J7t4eCsrDGqzbdeOk89TFp0lXFpj22cqo40t HrJakpgMNEsa3RBBorvS9oGoAP0lmYu7oQZY0= MIME-Version: 1.0 Received: by 10.220.71.10 with SMTP id f10mr2129939vcj.13.1245356059093; Thu, 18 Jun 2009 13:14:19 -0700 (PDT) In-Reply-To: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> Date: Thu, 18 Jun 2009 14:14:17 -0600 Message-ID: From: Tim Judd To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 20:14:20 -0000 What kind of application? This is so we can gear a hardware that is powerful enough to power your application. Naming the application and/or website would be a good addition. On 6/18/09, John Almberg wrote: > I have a client who has an application that he wants to deploy in his > customer's offices as a headless 'appliance'. Basically, just a black > box that you can plug into a Lan, turn it on, and it runs. No floppy > disk or CD, no monitor/keyboard, just remotely managed. > > This application won't store any critical data, so it doesn't need > redundancy. It just needs to be reasonably reliable, compact, and quiet. > > My first recommendation was to use a Mac Mini, but that excellent bit > of hardware was deemed 'not professional enough'. So now I am looking > for a compact pc that can run FreeBSD, of course. I think it probably > just needs a power supply, tiny motherboard with onboard ethernet, > usb, etc., and hard drive. > > If anyone has a recommendation (or if their are any vendors lurking), > please shoot me an email off list. I'll compile a list of > recommendations and post it all at once, in case anyone else is > interested in this. > > Thanks: John -- jalmberg at identry dot 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 Thu Jun 18 20:21:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 989861065670 for ; Thu, 18 Jun 2009 20:21:26 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 23C898FC0C for ; Thu, 18 Jun 2009 20:21:25 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so368563fxm.43 for ; Thu, 18 Jun 2009 13:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aDKyHk+qsZMDfvYgITnxzyZ5f3BvNWV/Zxs68BEEEpo=; b=SsvezH56ZFld3t4/IQmtbmbZ8JDCABRcz3yGpM4Kdtr7S3EDIj4VqX2TE1Me7XszHs ZX6f6eDhC/zaHC0HK+zWHTgcRRd7aAJG2EKkX6EMCdKz1XZ68T6fqhoVKsSYr1tsmQfZ cDGPwDdOqcvL00kUNU0s9Ec2RVjD3rRuKYpWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Me2Sp4D/l5AzyjQXOjv7GGcAgxDZWwAmsI61WQIz3vTZKUPNlsKBxf+oOwWlEZtAHm JkRjZ5ZvSjJvFjG2eRtxggzDTUc1e9+OZJBddM+I0CrasO9NrvsNZgWquwFVUAFFOnc7 07KeXlin3etkpZJxrKk0D8Byb/YgBzxid/SlY= MIME-Version: 1.0 Received: by 10.204.59.14 with SMTP id j14mr1736457bkh.39.1245356485075; Thu, 18 Jun 2009 13:21:25 -0700 (PDT) In-Reply-To: <20090618185918.53de0f20.freebsd@edvax.de> References: <4A3994BC.1000600@ibctech.ca> <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> <4A399742.1050402@ibctech.ca> <4A39A029.2030805@ibctech.ca> <20090618163323.GA5632@phoenix> <20090618185918.53de0f20.freebsd@edvax.de> Date: Thu, 18 Jun 2009 16:21:25 -0400 Message-ID: <4ad871310906181321k4f046df3ib0b14323707eeba6@mail.gmail.com> From: Glen Barber To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login 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: Thu, 18 Jun 2009 20:21:26 -0000 On Thu, Jun 18, 2009 at 12:59 PM, Polytropon wrote: > On Thu, 18 Jun 2009 12:33:24 -0400, Glen Barber = wrote: >> Thanks for that little tidbit in return -- I've been trying to >> figure how prompt settings. :) > > See those: > > =A0 =A0 =A0 =A0set promptchars =3D "%#" > =A0 =A0 =A0 =A0set prompt =3D "%n@%m:%~%# " > > Or even: > > =A0 =A0 =A0 =A0set prompt =3D "[%T] %n@%m:%~%# " > =A0 =A0 =A0 =A0set prompt =3D "[%T] *%h =3D%? :%m/%l @%n %~%B%#%b " > =A0 =A0 =A0 =A0set prompt =3D "*%h=3D%? [%T] %n@%m/%l:%~%B%#%b " > > There's lots of customization that you can do with csh's prompt > variable; "man csh" is really very interesting. > > Ah yes, and don't forget to > > =A0 =A0 =A0 =A0set autolist > > which is very handy, by the way. > I'm usually pretty happy with default settings (which is why I've never looked at the prompts in 'man csh'), but since I was nose-deep in $HOME/.muttrc configs yesterday, this peaked my interest. :) --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 20:24:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A8C106564A for ; Thu, 18 Jun 2009 20:24:25 +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 59FA78FC14 for ; Thu, 18 Jun 2009 20:24:25 +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 9282AEBC0A; Thu, 18 Jun 2009 16:24:23 -0400 (EDT) Date: Thu, 18 Jun 2009 16:24:22 -0400 From: Bill Moran To: John Almberg Message-Id: <20090618162422.6d1f86a9.wmoran@potentialtech.com> In-Reply-To: References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 20:24:25 -0000 > On 6/18/09, John Almberg wrote: > > I have a client who has an application that he wants to deploy in his > > customer's offices as a headless 'appliance'. Basically, just a black > > box that you can plug into a Lan, turn it on, and it runs. No floppy > > disk or CD, no monitor/keyboard, just remotely managed. > > > > This application won't store any critical data, so it doesn't need > > redundancy. It just needs to be reasonably reliable, compact, and quiet. > > > > My first recommendation was to use a Mac Mini, but that excellent bit > > of hardware was deemed 'not professional enough'. So now I am looking > > for a compact pc that can run FreeBSD, of course. I think it probably > > just needs a power supply, tiny motherboard with onboard ethernet, > > usb, etc., and hard drive. > > > > If anyone has a recommendation (or if their are any vendors lurking), > > please shoot me an email off list. I'll compile a list of > > recommendations and post it all at once, in case anyone else is > > interested in this. There's lots of hardware vendors out there that sell stuff like this, if you're buying enough of them, they'll even brand the case for you. Some terms you can search on: Soekris, AMD Geode -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 20:50:05 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5A9D106566B for ; Thu, 18 Jun 2009 20:50:05 +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 961A48FC19 for ; Thu, 18 Jun 2009 20:50:05 +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 n5IKo16N054040 for ; Thu, 18 Jun 2009 13:50:02 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 18 Jun 2009 13:50:00 -0700 (PDT) Date: Thu, 18 Jun 2009 13:50:00 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090618204957.GA50728@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.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, SUBJECT_FUZZY_TION autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: radio-buttons and PHP; may be a bit OT. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 20:50:06 -0000 After a lot of trial and error I have a PHP version of radio buttons working in a test.php. It asks the user to rate the article/story in standard Lykert (5-way) methodology. 1) Liked ... to 5) Disliked. The code works; still polishing for errors. I need a way to store the results, tho. So, for story baz.php, say, should I save the count of times rated, then average [%f] the ratings? Or is there a more swift algorithm? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 20:56:36 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1239A106578A for ; Thu, 18 Jun 2009 20:56:36 +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 D91DE8FC1A for ; Thu, 18 Jun 2009 20:56:35 +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 2E2B7EBC0A; Thu, 18 Jun 2009 16:56:35 -0400 (EDT) Date: Thu, 18 Jun 2009 16:56:34 -0400 From: Bill Moran To: Gary Kline Message-Id: <20090618165634.a6227d40.wmoran@potentialtech.com> In-Reply-To: <20090618204957.GA50728@thought.org> References: <20090618204957.GA50728@thought.org> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: radio-buttons and PHP; may be a bit OT. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 20:56:36 -0000 In response to Gary Kline : > After a lot of trial and error I have a PHP version of radio buttons > working in a test.php. It asks the user to rate the article/story > in standard Lykert (5-way) methodology. 1) Liked ... to 5) Disliked. > > The code works; still polishing for errors. I need a way to store the > results, tho. So, for story baz.php, say, should I save the count of > times rated, then average [%f] the ratings? Or is there a more swift > algorithm? In my experience, you're best off storing the raw data, then generating statistics in a separate step. That way, if you decide that you want to generate different statistics (mean vs. mode, for example) you still have the raw data to do so. If you're storing the results in a flat file, just have have the script append the new results to the end of the file, then have another process that comes along and reads the file, and generates a different file with the statistics. Of course, this is even easier if you're using a database. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 21:18:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E26E1106566B for ; Thu, 18 Jun 2009 21:18:22 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 97A758FC13 for ; Thu, 18 Jun 2009 21:18:22 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so1795614qyk.3 for ; Thu, 18 Jun 2009 14:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5F56fVur0yhhfpFEPMR36kXpXQYwkbNe+i0fNaSx0n0=; b=ED3px43satSbSvNoQfGr+S3SGBJ+y5+vebVjNXU/R1YQZPQx5rqlFQMOQRzWdt1T+x lnSQ0Ld9BzxlyiW5eZk7ruGTAW/NI+jPPoSnsdT+xnkdWSjR5J5+9sjWUmf/x+dAhfun L4H05J3yf15+rStt3rQ/I2eztCr2gDsUSP8xo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wtIn/cUnzkU7qWDhNrWrvt5qq7nFMGBf5RQVIs8fDQ8CmY2QKpMsUzcRUHeLIKtUxJ vtIXjMjARtTOcgQSuQot3NKgridbATJwFNHRqK24Y5lIfw0Uj/8A58Rf7B3mY5hFn6pE gAOncabUVD/tftzY4+2g/sEieKMzwUzuQstU8= MIME-Version: 1.0 Received: by 10.220.91.138 with SMTP id n10mr2160205vcm.76.1245359901799; Thu, 18 Jun 2009 14:18:21 -0700 (PDT) In-Reply-To: References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> Date: Thu, 18 Jun 2009 15:18:21 -0600 Message-ID: From: Tim Judd To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 21:18:23 -0000 On 6/18/09, John Almberg wrote: > > On Jun 18, 2009, at 4:14 PM, Tim Judd wrote: > >> What kind of application? This is so we can gear a hardware that is >> powerful enough to power your application. >> >> Naming the application and/or website would be a good addition. > > It's main purpose is to fetch videos off a local server (i.e., on the > same lan it's plugged into), convert them into flash videos, and > upload them to a remote server. > > There will also be a small web application that will be used to > manage the application. > > Why do we need this little box, at all? I.e., why can't the whole > thing be done by a remote server? It probably could, but my client > feels that this little box makes his service 'concrete' and easier to > sell. It's something his customers can hold and marvel at. > > Marketing... go figure. > > I'm thinking something like the Intel BOXD945GCLF2D Intel Atom > processor 330 Intel 945GC Mini ITX Motherboard/CPU Combo, might do > the trick. > > -- John > John, so I'd use a system board like you described in preference to all other boards that are referenced or called a "embedded" board. Video processing can be very CPU intensive, plus RAM intensive. I didn't actually look at that product you posted, but that would be the gear I would start looking at. I've read reports (and forgotten it's source since then) that some Intel Atom processors work well, some don't with FreeBSD. This was something I read within a couple months, so I would see if anyone here can provide input on pros and cons on weather that particular Atom model number is well received and well tested. Nothing like developing a product based on inadequate or crappy hardware OR support. Do lots of prototypes, that's the only sure way to test. --Tim From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 21:18:33 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B55B106566C for ; Thu, 18 Jun 2009 21:18:33 +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 BF9E18FC1F for ; Thu, 18 Jun 2009 21:18:32 +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 n5ILISWG054297; Thu, 18 Jun 2009 14:18:28 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 18 Jun 2009 14:18:27 -0700 (PDT) Date: Thu, 18 Jun 2009 14:18:27 -0700 From: Gary Kline To: Bill Moran Message-ID: <20090618211827.GA50843@thought.org> References: <20090618204957.GA50728@thought.org> <20090618165634.a6227d40.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090618165634.a6227d40.wmoran@potentialtech.com> 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.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, SUBJECT_FUZZY_TION autolearn=no 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: radio-buttons and PHP; may be a bit OT. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 21:18:33 -0000 On Thu, Jun 18, 2009 at 04:56:34PM -0400, Bill Moran wrote: > In response to Gary Kline : > > > After a lot of trial and error I have a PHP version of radio buttons > > working in a test.php. It asks the user to rate the article/story > > in standard Lykert (5-way) methodology. 1) Liked ... to 5) Disliked. > > > > The code works; still polishing for errors. I need a way to store the > > results, tho. So, for story baz.php, say, should I save the count of > > times rated, then average [%f] the ratings? Or is there a more swift > > algorithm? > > In my experience, you're best off storing the raw data, then generating > statistics in a separate step. That way, if you decide that you want to > generate different statistics (mean vs. mode, for example) you still have > the raw data to do so. > > If you're storing the results in a flat file, just have have the script > append the new results to the end of the file, then have another process > that comes along and reads the file, and generates a different file with > the statistics. > > Of course, this is even easier if you're using a database. > You're right about saving the raw data. I know how to do that in a flat file, but other than having used mysql for PHPBB, no idea. Shouldn't i only need that name of the file and that rating for mysql? I do know how to create a database in mysql, but no more. Can you show me what is required to grab from i need from the radiobutton data? gary > -- > Bill Moran > http://www.potentialtech.com > http://people.collaborativefusion.com/~wmoran/ -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php The 4.98a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 21:28:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78775106566B for ; Thu, 18 Jun 2009 21:28:37 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 39CE58FC08 for ; Thu, 18 Jun 2009 21:28:36 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 3CB0D7E842 for ; Thu, 18 Jun 2009 13:28:36 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 13:28:35 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 21:28:37 -0000 On Thursday 18 June 2009 10:27:44 Tim Judd wrote: > Long ago in 2007, I saw a M$ article that describes that Vista has an > extremely short delay period to get an IP. If it doesn't get it > within 1 second, it gives up (and maybe tries again). Common DHCP > servers ping an IP address, wait 1 second for a reply, and if no > reply, assumes the IP is available and leases it to the booting > computer. ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's db is the authority on available iP's for the range. > Is your DHCP server authoritative? Yes: authoritative; ddns-update-style interim; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.200 192.168.2.254; option subnet-mask 255.255.255.0; option broadcast-address 255.255.255.255; option domain-name "lan.rachie.is-a-geek.net"; option domain-name-servers 192.168.2.51; option routers 192.168.2.1; option ntp-servers 192.168.2.10; option wpad "http://192.168.2.100/proxy.pac"; # Dynamic DNS setup } > The other question is why you have it as a bridge, when sysctl > net.inet.ip.forwarding=1 might all you need. To merge wired and wireless into one network and for the firewall "one internal interface". Also means I can use lagg(4) on this laptop. > Another Q is why you might have a DHCP server listen on one IP (let's > say it's the wired interface), but not on the wifi (this wasn't clear > in the OP, but it might be the case). It's on the bridge and as such on both and works on both. I have an IP assigned to be able to move it off the gateway should the need arrise or to simulate a migration like that for testing, in case I need it for a client. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 21:32:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F301065673 for ; Thu, 18 Jun 2009 21:32:48 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E74088FC1D for ; Thu, 18 Jun 2009 21:32:47 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 7C4377E842; Thu, 18 Jun 2009 13:32:46 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 18 Jun 2009 13:32:44 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A38D6FE.8000804@locolomo.org> <200906180620.25768.mel.flynn+fbsd.questions@mailing.thruhere.net> <4A3A93CF.4050603@locolomo.org> In-Reply-To: <4A3A93CF.4050603@locolomo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906181332.44981.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Problem authenticating with sasl in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 21:32:48 -0000 On Thursday 18 June 2009 11:21:51 Erik Norgaard wrote: > Mel Flynn wrote: > > On Wednesday 17 June 2009 21:51:03 Erik Norgaard wrote: > >>>> Jun 17 23:39:17 jail imap[8412]: badlogin: jail.example.com > >>>> [172.16.0.2] plaintext cyrus@example.com SASL(-13): user not found: > >>>> checkpass failed > > > > So does the imap server know the domain name? How does it figure it out? > > Does it know to strip domain names because you configured the unix passwd > > backend? If it uses the domainname command to figure out the domainname, > > you may have it set on the working server, yet not on the jail. > > Any differences related to domains in /etc/rc.conf and /etc/resolv.conf > > that might shed some light? > > I added the line > > defaultdomain: example.com > > to imapd.conf, this line is not in my working server configuration, > however, it does make the realm part go away from the error message, not > that it solves the problem though: > > Jun 18 21:09:57 jail imap[22562]: badlogin: jail.example.com > [172.16.0.2] plaintext cyrus SASL(-1): generic failure: checkpass failed > > Now, adding debug mode to saslautd, I got some extra info in auth.log: > > Jun 18 21:13:21 jail saslauthd[21300]: DEBUG: auth_pam: pam_authenticate > failed: authentication error > Jun 18 21:13:21 jail saslauthd[21300]: do_auth : auth failure: > [user=cyrus@example.com] [service=imap] [realm=] [mech=pam] [reason=PAM > auth error] Can you add the same debug mode to the working server and do a failed login? Interesting point being if the user has the domain appended as well. > I have checked /etc/pam.d in the jail against the host and they are > identical, also /usr/local/etc/pam.d - both empty. Are there any known > problems with pam in jails? Not that I'm aware of. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 21:51:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9CC5106566B for ; Thu, 18 Jun 2009 21:51:33 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA608FC26 for ; Thu, 18 Jun 2009 21:51:33 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so714754qwe.7 for ; Thu, 18 Jun 2009 14:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vxs4O0nSa0a3kSioFt/QDGh9/aPAvpHADLx6ScL+iLI=; b=uz5tWX6sUuOtL/FKnbbo9Bd6y6E4jkOfTMwdk3/4ggS/sLvi7yld6PkuAkDaUSuMwM yK/YAqSYp4raqfcfqcPmLStksvy5VbFMxFIn8CMz/MVfsjT+MOvtiKl0Bc11gyySawBT bray7ktKtFOCuVfgT7OHTW2eex0snOysVeK2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PsIQeUhzDkGGQpyBtmUaZEtGIl4nWwGRscLh/+fkvdly2JEKK8Uk+USshX5Mw+W4zY 1r1jPqGINOEj1LoWLEyL/5r1aO2mlAzkW1Mi+3eX66W+Kf3pDLaXVN8QZTs1buXPk69i /PTg8FA5PQSA/SPPH3xgYqJtrb7Z7I6mwFf7k= MIME-Version: 1.0 Received: by 10.220.81.74 with SMTP id w10mr2178144vck.29.1245361892165; Thu, 18 Jun 2009 14:51:32 -0700 (PDT) In-Reply-To: <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Thu, 18 Jun 2009 15:51:32 -0600 Message-ID: From: Tim Judd To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 21:51:34 -0000 Replies inline On 6/18/09, Mel Flynn wrote: > On Thursday 18 June 2009 10:27:44 Tim Judd wrote: >> Long ago in 2007, I saw a M$ article that describes that Vista has an >> extremely short delay period to get an IP. If it doesn't get it >> within 1 second, it gives up (and maybe tries again). Common DHCP >> servers ping an IP address, wait 1 second for a reply, and if no >> reply, assumes the IP is available and leases it to the booting >> computer. > ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's db is > the authority on available iP's for the range. dhcpd.conf(5) search for ping-check or ping-timeout http://www.freebsd.org/cgi/man.cgi?query=dhcpd.conf&apropos=0&sektion=5&manpath=FreeBSD+7.2-RELEASE+and+Ports&format=html > >> Is your DHCP server authoritative? > > Yes: > authoritative; > ddns-update-style interim; > > subnet 192.168.2.0 netmask 255.255.255.0 { > range 192.168.2.200 192.168.2.254; > > option subnet-mask 255.255.255.0; > option broadcast-address 255.255.255.255; > option domain-name "lan.rachie.is-a-geek.net"; > option domain-name-servers 192.168.2.51; > option routers 192.168.2.1; > > option ntp-servers 192.168.2.10; > option wpad "http://192.168.2.100/proxy.pac"; > > # Dynamic DNS setup > > } A broadcast of 255.255.255.255 is misconfigured (not saying it's not gonna work, I'm saying for your network, it's not configured right). you need broadcast-address 192.168.2.255 > >> The other question is why you have it as a bridge, when sysctl >> net.inet.ip.forwarding=1 might all you need. > > To merge wired and wireless into one network and for the firewall "one > internal interface". Also means I can use lagg(4) on this laptop. > >> Another Q is why you might have a DHCP server listen on one IP (let's >> say it's the wired interface), but not on the wifi (this wasn't clear >> in the OP, but it might be the case). > > It's on the bridge and as such on both and works on both. I have an IP > assigned to be able to move it off the gateway should the need arrise or to > simulate a migration like that for testing, in case I need it for a client. > > -- > Mel HTH From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 22:14:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 576DF106566C for ; Thu, 18 Jun 2009 22:14:31 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id D73A78FC3D for ; Thu, 18 Jun 2009 22:14:30 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so423200fxm.43 for ; Thu, 18 Jun 2009 15:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xq6JSRtiwzgevsWsyofGyVG/xXFxgyfCS8oibOptoMQ=; b=U8s8PQRXjCHQAfCNheMacYTaTlkGmFF5t8OT7Uk9wWPnHQxNF5+EXsKg3Wq3xOMgYC HG13yT/iqzEtkJ0FMYuKdqwx48mqHEO3qH+R67ULQ36fZVZQJulIZlz6ogYx8WJSsP/Q 8k7YCa+5OJxXdfajP8IxzF5LapXeX0DuUO+3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xwiac90RZiSu6PizaYXhISD9A3SDMkiVuF5TIqhm4yHXpco3ojGCvxcwkO+og15+Tf O9Ew8Ci09VQuyOfu87eJeNvTpfLNMK1391BQU57ZRtVSq1xmNoPefwdZTJNn1ZqwXRzL icqDfv3I61MpAOmllK34cXR60+jLCjC8pSZtI= MIME-Version: 1.0 Received: by 10.204.54.16 with SMTP id o16mr1765453bkg.146.1245363269748; Thu, 18 Jun 2009 15:14:29 -0700 (PDT) In-Reply-To: References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Thu, 18 Jun 2009 18:14:29 -0400 Message-ID: <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> From: Glen Barber To: Tim Judd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 22:14:31 -0000 On Thu, Jun 18, 2009 at 5:51 PM, Tim Judd wrote: > Replies inline > > On 6/18/09, Mel Flynn wro= te: >> On Thursday 18 June 2009 10:27:44 Tim Judd wrote: >>> Long ago in 2007, I saw a M$ article that describes that Vista has an >>> extremely short delay period to get an IP. =A0If it doesn't get it >>> within 1 second, it gives up (and maybe tries again). =A0Common DHCP >>> servers ping an IP address, wait 1 second for a reply, and if no >>> reply, assumes the IP is available and leases it to the booting >>> computer. >> ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's db= is >> the authority on available iP's for the range. > > dhcpd.conf(5) > search for ping-check or ping-timeout > > http://www.freebsd.org/cgi/man.cgi?query=3Ddhcpd.conf&apropos=3D0&sektion= =3D5&manpath=3DFreeBSD+7.2-RELEASE+and+Ports&format=3Dhtml > > >> >>> Is your DHCP server authoritative? >> >> Yes: >> authoritative; >> ddns-update-style interim; >> >> subnet 192.168.2.0 netmask 255.255.255.0 { >> =A0 =A0 range 192.168.2.200 192.168.2.254; >> >> =A0 =A0 option subnet-mask 255.255.255.0; >> =A0 =A0 option broadcast-address 255.255.255.255; >> =A0 =A0 option domain-name "lan.rachie.is-a-geek.net"; >> =A0 =A0 option domain-name-servers 192.168.2.51; >> =A0 =A0 option routers 192.168.2.1; >> >> =A0 =A0 option ntp-servers 192.168.2.10; >> =A0 =A0 option wpad "http://192.168.2.100/proxy.pac"; >> >> =A0 =A0 # Dynamic DNS setup >> =A0 =A0 =A0 >> } > > A broadcast of 255.255.255.255 is misconfigured (not saying it's not > gonna work, I'm saying for your network, it's not configured right). > you need broadcast-address 192.168.2.255 > That is not 100% correct. By default, dhclient will send an initial DHCPREQUST to 0.0.0.0 (meaning "this network"). The request is picked up from the DHCP server broadcasting on 255.255.255.255. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 22:25:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E351106564A for ; Thu, 18 Jun 2009 22:25:11 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id A540A8FC18 for ; Thu, 18 Jun 2009 22:25:10 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4488757.home.otenet.gr [94.71.74.61]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5IMP9vW023154; Fri, 19 Jun 2009 01:25:09 +0300 Message-ID: <4A3ABEC5.9090108@otenet.gr> Date: Fri, 19 Jun 2009 01:25:09 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Tim Judd References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: John Almberg , freebsd-questions Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 22:25:11 -0000 Tim Judd wrote: > On 6/18/09, John Almberg wrote: > >> On Jun 18, 2009, at 4:14 PM, Tim Judd wrote: >> >> >>> What kind of application? This is so we can gear a hardware that is >>> powerful enough to power your application. >>> >>> Naming the application and/or website would be a good addition. >>> >> It's main purpose is to fetch videos off a local server (i.e., on the >> same lan it's plugged into), convert them into flash videos, and >> upload them to a remote server. >> >> There will also be a small web application that will be used to >> manage the application. >> >> Why do we need this little box, at all? I.e., why can't the whole >> thing be done by a remote server? It probably could, but my client >> feels that this little box makes his service 'concrete' and easier to >> sell. It's something his customers can hold and marvel at. >> >> Marketing... go figure. >> >> I'm thinking something like the Intel BOXD945GCLF2D Intel Atom >> processor 330 Intel 945GC Mini ITX Motherboard/CPU Combo, might do >> the trick. >> >> -- John >> >> > > > John, so I'd use a system board like you described in preference to > all other boards that are referenced or called a "embedded" board. > Video processing can be very CPU intensive, plus RAM intensive. I > didn't actually look at that product you posted, but that would be the > gear I would start looking at. > > > I've read reports (and forgotten it's source since then) that some > Intel Atom processors work well, some don't with FreeBSD. This was > something I read within a couple months, so I would see if anyone here > can provide input on pros and cons on weather that particular Atom > model number is well received and well tested. > > Nothing like developing a product based on inadequate or crappy > hardware OR support. Do lots of prototypes, that's the only sure way > to test. > > > --Tim > There was a discussion on this a few days ago. I happen to have one of these Atom based systems, a Shuttle X27D: CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1596.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2 Features=0xbfe9fbff Features2=0x40e31d> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 Logical CPUs per core: 2 real memory = 2137915392 (2038 MB) avail memory = 2086662144 (1989 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 This works nicely with FreeBSD (needs only a sysctl setting to hush some messages on absurd temperature measurements - all onboard devices work). One disappointing thing about it: the one and only fan in the system failed about after a week of continuous operation. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 22:25:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 416631065670 for ; Thu, 18 Jun 2009 22:25:50 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id EB6518FC15 for ; Thu, 18 Jun 2009 22:25:49 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so723630qwe.7 for ; Thu, 18 Jun 2009 15:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mfx4Gz9KlrQRv06XhncfQ4FRb1ob4bFYckoJLE8hnk4=; b=sYLezMuZWGze/6DsbHFTNrES6aw+qFY6zRg3PZOivOD9cpdFXFS4pSXG/o6VjtlBZQ +7xEEAjfVRZtp6qB/XJDJHftjvX7xKtxPf6CVBVuoG5wy6LwU/Hb+2JMfFXiBraG0xef ty+Xhs+cKenhgBN+9XrNqhCGxWpvyQCeMJ1wU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GWgxTLGqE+4Gbh1R5TH0n7ERtbWBZ2RgHrDGTI/an5pwgGVMP2GWsid4uu76zXjP0i h1L/RK4RUGZp/z7m1WNO5kKSIoqCJ5CKHobUhc2M75HoBs61gtronL9BPTKb5h51qM/D /0hxDPQ+QM+nuLnzbdr9jGlnrOqhc0Ww4317U= MIME-Version: 1.0 Received: by 10.220.73.5 with SMTP id o5mr2179464vcj.112.1245363949177; Thu, 18 Jun 2009 15:25:49 -0700 (PDT) In-Reply-To: <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> Date: Thu, 18 Jun 2009 16:25:49 -0600 Message-ID: From: Tim Judd To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 22:25:50 -0000 The broadcast definition in his snippet is in his subnet declaration. It is used within the TCP/IP paramaters when it's offering the lease. DHCP protocol is what you're talking about. And the client has 0.0.0.0 and broadcasts 255.255.255.255 to find any dhcp server that might be out there. But my statement is for his subnet block which should be clarified. On 6/18/09, Glen Barber wrote: > On Thu, Jun 18, 2009 at 5:51 PM, Tim Judd wrote: >> Replies inline >> >> On 6/18/09, Mel Flynn >> wrote: >>> On Thursday 18 June 2009 10:27:44 Tim Judd wrote: >>>> Long ago in 2007, I saw a M$ article that describes that Vista has an >>>> extremely short delay period to get an IP. =A0If it doesn't get it >>>> within 1 second, it gives up (and maybe tries again). =A0Common DHCP >>>> servers ping an IP address, wait 1 second for a reply, and if no >>>> reply, assumes the IP is available and leases it to the booting >>>> computer. >>> ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's d= b >>> is >>> the authority on available iP's for the range. >> >> dhcpd.conf(5) >> search for ping-check or ping-timeout >> >> http://www.freebsd.org/cgi/man.cgi?query=3Ddhcpd.conf&apropos=3D0&sektio= n=3D5&manpath=3DFreeBSD+7.2-RELEASE+and+Ports&format=3Dhtml >> >> >>> >>>> Is your DHCP server authoritative? >>> >>> Yes: >>> authoritative; >>> ddns-update-style interim; >>> >>> subnet 192.168.2.0 netmask 255.255.255.0 { >>> =A0 =A0 range 192.168.2.200 192.168.2.254; >>> >>> =A0 =A0 option subnet-mask 255.255.255.0; >>> =A0 =A0 option broadcast-address 255.255.255.255; >>> =A0 =A0 option domain-name "lan.rachie.is-a-geek.net"; >>> =A0 =A0 option domain-name-servers 192.168.2.51; >>> =A0 =A0 option routers 192.168.2.1; >>> >>> =A0 =A0 option ntp-servers 192.168.2.10; >>> =A0 =A0 option wpad "http://192.168.2.100/proxy.pac"; >>> >>> =A0 =A0 # Dynamic DNS setup >>> =A0 =A0 =A0 >>> } >> >> A broadcast of 255.255.255.255 is misconfigured (not saying it's not >> gonna work, I'm saying for your network, it's not configured right). >> you need broadcast-address 192.168.2.255 >> > > That is not 100% correct. By default, dhclient will send an initial > DHCPREQUST to 0.0.0.0 (meaning "this network"). The request is picked > up from the DHCP server broadcasting on 255.255.255.255. > > > > -- > Glen Barber > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 22:30:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A97D51065676 for ; Thu, 18 Jun 2009 22:30:23 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFAB8FC1E for ; Thu, 18 Jun 2009 22:30:23 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KLG009A6H6M8R60@asmtp011.mac.com> for freebsd-questions@freebsd.org; Thu, 18 Jun 2009 15:30:22 -0700 (PDT) Message-id: <7401FDE8-39DD-4D74-AB9C-4A8D71975739@mac.com> From: Chuck Swiger To: Glen Barber In-reply-to: <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> Date: Thu, 18 Jun 2009 15:30:21 -0700 References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) Cc: Tim Judd , freebsd-questions Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 22:30:24 -0000 On Jun 18, 2009, at 3:14 PM, Glen Barber wrote: >> A broadcast of 255.255.255.255 is misconfigured (not saying it's not >> gonna work, I'm saying for your network, it's not configured right). >> you need broadcast-address 192.168.2.255 > > That is not 100% correct. By default, dhclient will send an initial > DHCPREQUST to 0.0.0.0 (meaning "this network"). The request is picked > up from the DHCP server broadcasting on 255.255.255.255. The inconsistency between these two points might actually lead the OP to a solution. Evidently Vista does something different with the DHCP broadcast flag, see: http://support.microsoft.com/kb/928233 If you specify a network and netmask in the subnet statement, you shouldn't need to override the broadcast address it computes, which for the config posted ought to be "192.168.2.255". Using the all-ones broadcast address should not be done by normal members of the network-- only for things which need to go beyond the network subnet/ topology (ie, the DHCP server itself might choose to send to 255.255.255.255 to make sure that anything else on the local collision domain sees it, even if the local network is split into multiple logical subnets). Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 22:54:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11AC91065672 for ; Thu, 18 Jun 2009 22:54:55 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id A0A998FC12 for ; Thu, 18 Jun 2009 22:54:54 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 99023 invoked by uid 89); 18 Jun 2009 22:55:17 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 18 Jun 2009 22:55:17 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <4A3ABEC5.9090108@otenet.gr> References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> <4A3ABEC5.9090108@otenet.gr> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Thu, 18 Jun 2009 18:54:51 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 22:54:55 -0000 > There was a discussion on this a few days ago. I happen to have one of > these Atom based systems, a Shuttle X27D: > > CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1596.01-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2 > > Features=0xbfe9fbff GE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x40e31d 2>> > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 2 > Logical CPUs per core: 2 > real memory = 2137915392 (2038 MB) > avail memory = 2086662144 (1989 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP/HT): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP/HT): APIC ID: 3 > ioapic0: Changing APIC ID to 4 > ioapic0 irqs 0-23 > > > This works nicely with FreeBSD (needs only a sysctl setting to hush > some > messages on absurd temperature measurements - all onboard devices > work). One disappointing thing about it: the one and only fan in the > system failed about after a week of continuous operation. I can't find the discussion you mentioned, but this Shuttle looks pretty nice. You can't beat the price of these little boards. Thanks. --- John From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 23:12:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B32E8106566C for ; Thu, 18 Jun 2009 23:12:18 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE498FC17 for ; Thu, 18 Jun 2009 23:12:17 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: by gxk3 with SMTP id 3so2012384gxk.19 for ; Thu, 18 Jun 2009 16:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=MyoLvg0+unefcUOBF1JAht5FB3DLd8m0jxHq3c79chM=; b=eV3LCamyZHZcMI5SDehmZwzCk+wh1BQLFbjcqMEdl+yuemrqauLWKrXhZ+8wzmeG3i hPPqHm36efwM5DK8WlfO6WDdomA8E0vi5vyOWasAXMvrX/EcFL7xjThdfsRJGlWZjtx+ 9/fXalDgSvHbO3rXNCMAzjCdV64KLi4vepe+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RuTXiCb/a5oFhFeq7D8w0jTh91pT2sM77nLRvxlRIgpevhUpGfi/NjPr1Oxo0HuSwV L05pr8eyQaFSa1WNvvphrBsf3TqttKzOCdPxZkJ5ycF8Y8lS0zX4jCk5+FtfZVpM7+5W dZbfRN5Es5j+lx6ONGXpaWdAAiWtMcuSjYC1s= Received: by 10.90.92.16 with SMTP id p16mr1551144agb.19.1245365302223; Thu, 18 Jun 2009 15:48:22 -0700 (PDT) Received: from ?192.168.1.4? (itsf207.itsnpt.com [64.119.85.207]) by mx.google.com with ESMTPS id 11sm5378452aga.70.2009.06.18.15.48.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 15:48:20 -0700 (PDT) Message-ID: <4A3AC428.2000608@gmail.com> Date: Thu, 18 Jun 2009 18:48:08 -0400 From: Bryant Eadon User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Gary Kline References: <20090604211637.GA4285@thought.org> In-Reply-To: <20090604211637.GA4285@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: time to ask for help... . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bryant.eadon@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 23:12:19 -0000 Gary Kline wrote: > The way my site is now configured, my ISP > (Qwest) baby-bell has its router connected to my pfSense firewall. The > firewall computer connects to my FreeBSD server which handles my DNS, > mail, and web. The server then fans out to my several desktops. This > one, my laptop, my daughter's MacBook, and has a spare CAT5 for my wife's > PC. Since this sounds like a home setup, in terms of raw power usage I'm inclined to suggest a tighter integration of router, DNS and firewall functionality by putting this all into something like OpenWRT on a decent off-the-shelf router, thereby eliminating the Qwest router, firewall machine and possibly mail/web if it's low volume enough and/or you pick up a router with a USB connection for storage. Try an Asus WL-500G Premium (version 1 is my favorite) if you go that route. This would free up the server for other tasks, obsolete 2 boxes (and possibly the server), spice up your life with easy to install SNMP monitoring of connections and give your family wifi ... but I digress... > At a minimum, I'd like to have CVS working on at least my server. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/article.html > I used ipf and/or IPFW .... managed to catch and kill > hundreds of kiddie-scripters trying to crack in. But with pfSense and > how things are *now*, I'm in the dark. You're looking for an intrusion detection system (IDS). For FreeBSD you might leverage 'grok' written by Jordan Sissel, which, isn't an IDS, but it will play like one : http://www.semicomplete.com/projects/grok/ You could also do something like this : http://surachartopun.com/2008/06/example-how-to-monitorby-e-mail-auth.html ...monitor your auth logs for bandits with email alerts. That should get you started :) -Bryant From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 23:28:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234041065672 for ; Thu, 18 Jun 2009 23:28:19 +0000 (UTC) (envelope-from gbell72@rogers.com) Received: from web88007.mail.re2.yahoo.com (web88007.mail.re2.yahoo.com [206.190.37.194]) by mx1.freebsd.org (Postfix) with SMTP id D2A7C8FC08 for ; Thu, 18 Jun 2009 23:28:18 +0000 (UTC) (envelope-from gbell72@rogers.com) Received: (qmail 49945 invoked by uid 60001); 18 Jun 2009 23:28:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1245367698; bh=iPYgcPbsJzJ90TNNakDaQ9xB5FUTXMSTjdx4H++8Qeo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=C4pCTTo9EwKOLcs4MbNPnLKCzVdoRsaxCqAw2p5OkS6/kBmG1L+LJ3x923dkmCe9sBrW5TWXjVf1nGBvDkLBmP5rYJtKXHasqePV/M1OsTBYsysH/BXeRz9Fu0BWtec2nYXKO9BSSnJM93aksF1hIxloxFjv6nfIfTHxta9X3hc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lwnbFs8YpAHLWkXtSRR+VWt8LzT3ahXD6fzq4gJX5oGoSCIN0aP84LjhzQXLJsb4Ieqo3H3Qm+HI962m8Xwa+k6QZBno+DCsCk0H/6X+6S/1VQFRV3IGQgRFfAH3rm0qZQPiGqO5MJ3mUA52ADXIAOzjYw+M35Mnf0pomcNC8h4=; Message-ID: <247039.49803.qm@web88007.mail.re2.yahoo.com> X-YMail-OSG: EPzNqWsVM1mhm4cXawWj6ianPoPvU8n7kP0KNkwFzNGsvhGWRPgLvjcgXo4BvMROPIwmn3lSnSFIvEi9wKNSJTLL55Uv2feo9UW3bTVNyr1VSVUu2tmka9GTqsD3yxcro11OOrCTDe3WDcPhi8AYQM3s7ulWUwpctHGdAFAryiMSLafBkaLocmckCUmsgpEMRCThztVChgksV9UwmOIUK8m9lDDr6qzcR85JtHAQjdPLYMhR1IXoLIZjXW4eHcCQhSX1YS6c4ml_sAqS.lPcDmR2TvDKutBAptEhCXPHVl4.e.GDO8I4SSbyZHf0xM8- Received: from [99.233.37.239] by web88007.mail.re2.yahoo.com via HTTP; Thu, 18 Jun 2009 16:28:17 PDT X-Mailer: YahooMailClassic/5.4.17 YahooMailWebService/0.7.289.10 Date: Thu, 18 Jun 2009 16:28:17 -0700 (PDT) From: Gardner Bell To: freebsd-questions@freebsd.org, John Almberg MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 18 Jun 2009 23:28:19 -0000 --- On Thu, 6/18/09, John Almberg wrote:=0A=0A> From= : John Almberg =0A> Subject: Re: Compact Freebsd 'app= liance'=0A> To: freebsd-questions@freebsd.org=0A> Received: Thursday, June = 18, 2009, 10:54 PM=0A> > There was a discussion on this a=0A> few days ago.= I happen to have one of=0A> > these Atom based systems, a Shuttle X27D:=0A= > > =0A> > CPU: Intel(R) Atom(TM) CPU=A0=0A> 330=A0=A0=A0@ 1.60GHz (1596.01= -MHz 686-class CPU)=0A> >=A0=A0=A0Origin =3D "GenuineIntel"=A0 Id =3D=0A> 0= x106c2=A0 Stepping =3D 2=0A> > =0A> >=0A> Features=3D0xbfe9fbff=0A> >=A0=A0=A0Features2=3D0x40e31d>=0A> >=A0=A0=A0AMD Features=3D0= x20100000=0A> >=A0=A0=A0AMD Features2=3D0x1=0A> >=A0=A0=A0Core= s per package: 2=0A> >=A0=A0=A0Logical CPUs per core: 2=0A> > real memory= =A0 =3D 2137915392 (2038 MB)=0A> > avail memory =3D 2086662144 (1989 MB)=0A= > > ACPI APIC Table: =0A> > FreeBSD/SMP: Multiprocessor Sy= stem Detected: 4 CPUs=0A> >=A0 cpu0 (BSP): APIC ID:=A0 0=0A> >=A0 cpu1 (AP/= HT): APIC ID:=A0 1=0A> >=A0 cpu2 (AP): APIC ID:=A0 2=0A> >=A0 cpu3 (AP/HT):= APIC ID:=A0 3=0A> > ioapic0: Changing APIC ID to 4=0A> > ioapic0 irqs 0-23=0A> > =0A> > =0A> > This works nicely with FreeBSD (needs on= ly a sysctl=0A> setting to hush some=0A> > messages on absurd temperature m= easurements - all=0A> onboard devices=0A> > work).=A0 One disappointing thi= ng about it: the one=0A> and only fan in the=0A> > system failed about afte= r a week of continuous=0A> operation.=0A> =0A> I can't find the discussion = you mentioned, but this Shuttle=0A> looks pretty nice. You can't beat the p= rice of these little=0A> boards. Thanks.=0A=0AThe discussion of appliance m= achines took place on the stable mailing list.=0A=0Ahttp://lists.freebsd.or= g/pipermail/freebsd-stable/2009-June/thread.html=0A=0A> =0A> --- John=0A> = =0A> _______________________________________________=0A> freebsd-questions@= freebsd.org=0A> mailing list=0A> http://lists.freebsd.org/mailman/listinfo/= freebsd-questions=0A> To unsubscribe, send any mail to "freebsd-questions-u= nsubscribe@freebsd.org"=0A> From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 23:32:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF52A106570F for ; Thu, 18 Jun 2009 23:32:07 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 739548FC35 for ; Thu, 18 Jun 2009 23:32:07 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so739244qwe.7 for ; Thu, 18 Jun 2009 16:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=EfRB5g58BoZ8XM3pIte/ocXBLz7MFokQyUG3gyQzIz8=; b=RnwvHBkr9IfuWNNhBq2mBX1a8rdQwww0N05SD5tTlniFrkSWRAo6y7W0Hh+3riT/Ow HBEDxOliiB8YRiAfnYBSwUUZgQe5QTyIm9/5Gi2PwCRL7ZwbVxT7l7JSMFRJViuI3FKc 9DpKx89Qqcfev0QaivedWUKZnO8QLfRB3NAp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=fhRWx27xO1FfSCpT+gXAnYi+iU3Q1r3kxUpGwyf/w+RIkr4+yYLvgEqXJicPAC+hJl wOoxc+fH9TKRAjPqngdomIxPJ+wBbknmI9kspYZrK/m7/AhKucA3pA+OunAN0122AHbE 12kHWw1q5nB8qDjci4SquCUUkHtKWONolkxhk= Received: by 10.224.45.203 with SMTP id g11mr1963613qaf.16.1245367926947; Thu, 18 Jun 2009 16:32:06 -0700 (PDT) Received: from ?192.168.1.4? (itsf207.itsnpt.com [64.119.85.207]) by mx.google.com with ESMTPS id 5sm171172qwg.45.2009.06.18.16.32.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 16:32:05 -0700 (PDT) Message-ID: <4A3ACE66.60904@gmail.com> Date: Thu, 18 Jun 2009 19:31:50 -0400 From: Bryant Eadon User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Martin McCormick References: <200906110105.n5B15XZc040275@dc.cis.okstate.edu> In-Reply-To: <200906110105.n5B15XZc040275@dc.cis.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: When the Remote end of a Telnet drops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bryant.eadon@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 23:32:08 -0000 Martin McCormick wrote: > In the last two weeks, we have suddenly begun having a problem > when telnetting to a telephone switch in order to manage it. > This device does not have ssh or we would sure be using that. > > We run an expect script to poll various registers on the > switch and the process is fairly simple. We ask for various > listings of registers. When done with a listing, the switch > sends a prompt which we see and then either go to the next poll > or end and log out. > > Recently, output just stops at the end of a line with no > corruption of the text. There is even a Return character. The > telnet session just sits there for days if we don't stop it. > > It is tempting to point fingers at the switch and the > people closest to the switch say that it must be something with > the network, all that fun sort of stuff that happens when you > don't have undisputable proof and it doesn't happen every > day. > > Exactly a month ago, I upgraded the patch level on this > system to > FreeBSD 6.3-RELEASE-p10 > > Does anybody know if there are any recent issues with telnet? > > As a test, I telnetted to a system and then literally > pulled the Ethernet plug on the remote system. The system I was > telnetting from sat for many minutes. I finally hit Enter and a > few minutes later, it figured out there was nothing on the > remote end. There was the usual "Connection closed by foreign > host." message. > > Is there a way to make telnet either more proactive > about detecting a loss of connection or of logging oddities if > the connection is flickering? > > One such stall happened on a weekend and the connection > appeared to be up for 4 days. A ps ax |grep telnet |grep -v grep > showed a connection still up at least until I killed it. At that > point, it logged "terminated" and ended. > > I can certainly put a timeout in expect but we have been > using this same script, etc, for around 6 years and never had > this problem before so a timeout would just hide whatever has > changed. > > My own gut feeling is that the FreeBSD system is fine as > we have no other problems with anything else. > I suspect something is killing the idle TCP session between your hosts. If you're crossing the internet, you might ask if your ISP has modified something along those lines. Have you fiddled with sysctl settings, specifically net.inet.tcp.keepintvl yet ? more info at src/sys/netinet/tcp_timer.c -Bryant From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 00:00:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B472210657D9 for ; Fri, 19 Jun 2009 00:00:01 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 847CA8FC0C for ; Fri, 19 Jun 2009 00:00:01 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id 5atV1c0090QkzPwA5c02Jd; Fri, 19 Jun 2009 00:00:02 +0000 Received: from comcast.net ([98.203.142.76]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id 5bzz1c00U1f6R9u8Nc00K3; Fri, 19 Jun 2009 00:00:02 +0000 Received: by comcast.net (sSMTP sendmail emulation); Thu, 18 Jun 2009 16:59:58 -0700 Date: Thu, 18 Jun 2009 16:59:58 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20090618235958.GC96132@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 00:00:02 -0000 On Thu 18 Jun 2009 at 14:18:21 PDT Tim Judd wrote: > >I've read reports (and forgotten it's source since then) that some >Intel Atom processors work well, some don't with FreeBSD. This was >something I read within a couple months, so I would see if anyone here >can provide input on pros and cons on weather that particular Atom >model number is well received and well tested. The only problems I've seen reported re Atoms was back in the days before the FreeBSD 7.2 release (or was it 7.1?) when there were problems with not recognizing the Realtek networking chip included on the Intel motherboards. FWIW, I'm running FreeBSD 7.2 on an Intel D945GCLF motherboard, which has an Atom 230 CPU. I got mine from http://www.mini-box.com. (I *am* using a Intel networking card rather than the builtin Realtek chip, but only because the Realtek recognition problems still existed when I first set up the machine. One of these days I should probably see if those problems are truly fixed, so I can recover the single PCI slot for some other use.) Since this is a home machine, I can't say it's the best test of whether FreeBSD runs OK on it. But I haven't had any problems with it. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 00:08:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16EA7106567B for ; Fri, 19 Jun 2009 00:08:24 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id C8BCC8FC08 for ; Fri, 19 Jun 2009 00:08:23 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by an-out-0708.google.com with SMTP id c3so625259ana.13 for ; Thu, 18 Jun 2009 17:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=RknlgDMiDfvtbYPSIg8qychblp6ZgbbUzAI9tPk1Mx0=; b=U0e3nCjRYsS8bmiaJ0qqUBoc70ufRzI5OptA+k2VJY8b5+humzq/N9zq9ttJUd3uui it+J9S15hgqsUbfjf5YrHweKzUisc7xtp7HjmWJmb/DtUSO4mW5oHkHWDjkFvWWekrpp jOMd7QzfeeVW35pmWNp6GY9A4qXZi26LrIwns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=R6jcDGZgpl9XiUGviTT9wa4wgFUkEL/JG6//Z2FJAXbTOkvOLFxqrMi0+kfohknt2w IS0mh8bMxkbki30S1Jz2btFqjISU9lESGjd7B7GgXB+zbb6bR/hLz+krcyzglYptrmOj L84QXxdTyeFLqaPV/x4UaBlZm7ConFi7cgTKg= MIME-Version: 1.0 Received: by 10.101.71.3 with SMTP id y3mr2973937ank.62.1245370103104; Thu, 18 Jun 2009 17:08:23 -0700 (PDT) Date: Fri, 19 Jun 2009 00:08:23 +0000 Message-ID: From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: right CPUTYPE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 00:08:24 -0000 What CPUTYPE should I put in /etc/make.conf for: CPU: AMD Phenom(tm) II X4 955 Processor (3210.85-MHz 686-class CPU) From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 00:14:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 271411065674 for ; Fri, 19 Jun 2009 00:14:21 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 0FC118FC12 for ; Fri, 19 Jun 2009 00:14:20 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id C567F4A4C527; Thu, 18 Jun 2009 17:14:13 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Thu, 18 Jun 2009 17:14:18 -0700 Date: Thu, 18 Jun 2009 17:14:18 -0700 From: Jason To: Aryeh Friedman Message-ID: <20090619001418.GB179@eggman.experts-exchange.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.1-RELEASE-p6 EGGMAN X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.19 (2009-01-05) Cc: FreeBSD Mailing List Subject: Re: right CPUTYPE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 00:14:21 -0000 My best newbie guess is HAMMER. If you downloaded the sources, you can look under /usr/src/sys/ and it will have a configuration file for your arch under the conf directory of your architecture. In that file, it will define your CPU. -jgh On Fri, Jun 19, 2009 at 12:08:23AM +0000, Aryeh Friedman thus spake: >What CPUTYPE should I put in /etc/make.conf for: > >CPU: AMD Phenom(tm) II X4 955 Processor (3210.85-MHz 686-class CPU) >_______________________________________________ >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 Jun 19 00:17:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101C61065670 for ; Fri, 19 Jun 2009 00:17:20 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id 945078FC15 for ; Fri, 19 Jun 2009 00:17:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm12 with SMTP id 12so18924fxm.43 for ; Thu, 18 Jun 2009 17:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+YSjTafN8SU26bT8M0axDdfyE9xgLWRwP1f0CEZv9MI=; b=KGbaO3S0ctrSJb7y9A+E3z2oPqLvDALEJzwPf4map58EnpZm1hghfHMrjbtJZh6PtF TLgZ3kXhpeyXTzIC96NF2S+EqZ0zXIASm225B6UipeC1XoW95l2yJQmf2a2f0vNF8kqR zOkswLllnTBkI7TUF3iaYoELGGFkKxvoIHqOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=g9EQXCPlYHkfFY3ULANF0kr2Z3MEKZgMKZ0jH2gGAUMVbb0WGxjhfVSVV2ZgfyDXyc GYiEwoBFPQp6OKwTkAqH9HSig3W/ewovbYa4ZEvGEPQiK4S2YkrduI1QFIReqV4cZqus Effj4EXmMwFO3tI8eR6oa2iPn89zARdc8kyqQ= MIME-Version: 1.0 Received: by 10.204.53.72 with SMTP id l8mr1878559bkg.171.1245370638657; Thu, 18 Jun 2009 17:17:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2009 20:17:18 -0400 Message-ID: <4ad871310906181717w3bdfb377v93ea57320ebb330f@mail.gmail.com> From: Glen Barber To: Aryeh Friedman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: right CPUTYPE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 00:17:20 -0000 On Thu, Jun 18, 2009 at 8:08 PM, Aryeh Friedman wrote: > What CPUTYPE should I put in /etc/make.conf for: > > CPU: AMD Phenom(tm) II X4 955 Processor (3210.85-MHz 686-class CPU) Are you using i386 or amd64? Also, have a look here: http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/069358.html Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 01:43:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFFF106566C for ; Fri, 19 Jun 2009 01:43:43 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 09DE18FC14 for ; Fri, 19 Jun 2009 01:43:42 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so768170qwe.7 for ; Thu, 18 Jun 2009 18:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=abpB2mE3wP21YkKOa/iMc6PTCDEZa3ZkSTF3boA8ucE=; b=vp6tWWUvx8OLwQSVeo1ENBamKMy24yj0FPt5VZKYNtAIksLBC5ElvFymzqOdi5oTZ9 d5VeLKiwv/vutUvW8qMx1NunGIXiGg4DAtkTqqf/NdkSLE+Sng5SrDE+voWIGCuq+IaW m3h4slQt162qh2tTiIlDWQJsAWH0T/Mow6Yj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Ht4RM7YxWstioE2EjMdgrBugHfQcDLjLoV6v4asNf6YSCDVuk2l535awaJ+wtRFDlw pl8KiknE8jF0NvWlul9m2BZ4xqy2zzTShosqyr3du3IyDjJfh+IgYKS6IHRYeN4QHc+q C1fg7I4LAWuvKpZOVYgMK2FCk/RYqBU/WJtMc= MIME-Version: 1.0 Received: by 10.220.44.204 with SMTP id b12mr2259615vcf.101.1245375822080; Thu, 18 Jun 2009 18:43:42 -0700 (PDT) Date: Thu, 18 Jun 2009 19:43:42 -0600 Message-ID: From: Tim Judd To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: kern.securelevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 01:43:43 -0000 Something dawned on me. FreeBSD/Open/Net are all well secured systems. On an Internet-facing router, would applying a higher kern.securelevel provide any better, tighter, higher security if the machine was broken into? Given you need to lower the securelevel before multiuser, it is a reasonable to think raising the securelevel will give higher comfort feeling? I know this is a logical/thinking/mind question, but that's what I'm asking for. --Tim From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 01:56:46 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81F151065672 for ; Fri, 19 Jun 2009 01:56:46 +0000 (UTC) (envelope-from bf1783@googlemail.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 403258FC12 for ; Fri, 19 Jun 2009 01:56:46 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yw-out-2324.google.com with SMTP id 9so650723ywe.13 for ; Thu, 18 Jun 2009 18:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=ZJWUhAOkj89rvqjqYT0jDUH1fsLM0yAg/PuXKpmG6BM=; b=tOvK3CRz1DqvF3aEnr0vmct73zUXhspUyH/gvrGlJcPSOD4Kmp3uhj8g7JRyzA3ayV xjb/kExyInS8kKmUDARVMIEQEA9QLMV7qrcPvhcbl9c66pnKwYIX3hRNqmZhc3jICdP9 Et0h4L+zYXYymmal7dulxD/2bSBleyrEMp+pw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=YMKS7iAqkOvquz5wQnABZO9B7jY0tXEjvtwyNTCCMyPSWQ8NhHh3OczztzTyXJLTdm Ycih2JJadXNzzfOJbkMHtfxkSOXtWFE1spf+0AnFgcBk3CYlUMxUuamI7IUowMxqubvH Lct8wpSYas7KSYBB2e74zoaFevI4egxwXkEAE= MIME-Version: 1.0 Received: by 10.231.40.5 with SMTP id i5mr748227ibe.52.1245376605442; Thu, 18 Jun 2009 18:56:45 -0700 (PDT) Date: Thu, 18 Jun 2009 18:56:45 -0700 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: right CPUTYPE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 01:56:46 -0000 On Thu, Jun 18, 2009 at 8:08 PM, Aryeh Friedman wrote: > What CPUTYPE should I put in /etc/make.conf for: > > CPU: AMD Phenom(tm) II X4 955 Processor (3210.85-MHz 686-class CPU) OP is referring to CPUTYPE ( see make.conf(5) ) , not the cpu string in the kernel configuration file, so HAMMER isn't a valid choice. It depends on what compiler you are using: if you are using the base compiler, which is a patched version of gcc 4.2, I think that you want: CPUTYPE=athlon64 But if you're using gcc >= 4.3, with the right toolchain, or llvm, you may be able to use the newer: CPUTYPE=amdfam10 to take advantage of your CPU's newer instruction sets. As someone said, the effect this will have in compiling may be different when you are using FreeBSD i386 as opposed to FreeBSD amd64. b. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 02:31:03 2009 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 843E11065670 for ; Fri, 19 Jun 2009 02:31:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 111BF8FC08 for ; Fri, 19 Jun 2009 02:31:02 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz27 with SMTP id 27so667993bwz.43 for ; Thu, 18 Jun 2009 19:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=cguPOy5XrR3LCUl7TDvCQGbFn96iJy1Ojv316dKHk3o=; b=TXEV+CTl/BarM66JssXb70aHZnpVWboyH4lBq3iDxXe4UxzWqZ/5FeRS3P44WMNuj3 9n948CIp/FZooxBasNkxX/6TaLqb4hzAecdGwKjVp+TFFHfMrAC8bOy4ByQw1t+fliB/ pnzpeCag5lyzh1HLNX1G0LvAWYpCPQFoiOe6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=jM6qSiS+FhcNH8HYy1DSLrvOAdgucZ+CzfJwCW0NuhwuSM3OtJrY7eLXxCkGNcrU9i kHq9RspBQqkvHGEvxwucDuOochocb7pRJGJ990G95A655BBl2Lfeg8yJsQgoTLxZC4fC tYUWvoX8ZJppdBjFmh0NCO5b/P/hmrw8rrxtc= MIME-Version: 1.0 Received: by 10.204.66.17 with SMTP id l17mr2051209bki.44.1245378662062; Thu, 18 Jun 2009 19:31:02 -0700 (PDT) Date: Thu, 18 Jun 2009 22:31:02 -0400 Message-ID: <4ad871310906181931l7623d9cj83a8f39fe497a4d3@mail.gmail.com> From: Glen Barber To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: PACKAGESITE Directory Structure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 02:31:03 -0000 Hello, list. After trying to figure out the incorrect directory structure for some of the packages hosted on my site, I am at a loss. After reading through /usr/src/usr.sbin/pkg_install/add/main.c from HEAD, lines 337-340 seems to suggest that if 'Latest' is not found, 'All' is implied to pkg_add when PACKAGESITE is explicitly defined (otherwise overridden with hard-coded values). With that, I am still trying to figure out the proper hierarchy: Scenario 1.) If I 'pkg_add -r foo.3.2_1.tbz' from www.example.com/packages, should 'All' be implied after 'packages' (packages/All)? Scenario 2.) Same pkg_add command from www.example.com/packages/mybinary/package -- should 'All' be a subdirectory of packages/ or mybinary/? It appears that this "if 'Latest/' is not found, overwrite as 'All/'" may be expected, but I am getting conflicting output. Any input is appreciated. -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 04:50:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABC45106564A for ; Fri, 19 Jun 2009 04:50:54 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 055FF8FC16 for ; Fri, 19 Jun 2009 04:50:53 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id CB76B5E3C3 for ; Fri, 19 Jun 2009 06:50:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.025 X-Spam-Level: X-Spam-Status: No, score=-2.025 tagged_above=-999 required=5 tests=[AWL=0.575, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id e2b5Uj-sYKDW for ; Fri, 19 Jun 2009 06:50:44 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 9BE625E3B9 for ; Fri, 19 Jun 2009 06:50:44 +0200 (CEST) Message-ID: <4A3B1924.6040901@eskk.nu> Date: Fri, 19 Jun 2009 06:50:44 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.21 (X11/20090407) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A39197D.6000501@eskk.nu> <4ad871310906170953r56827e13wb4fac8473ac58dd5@mail.gmail.com> In-Reply-To: <4ad871310906170953r56827e13wb4fac8473ac58dd5@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------040201000909030101020104" Subject: Now pkg-config trouble.................Re: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 04:50:55 -0000 This is a multi-part message in MIME format. --------------040201000909030101020104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > > Hi, Leslie > > Try this. > > Create a file: $HOME/.xinitrc > > containing: /usr/local/bin/startxfce4 > > Then give 'startx' another shot. > > I did all the things suggested here at the list with no success so I decided to clean out and start over. did pkg_delete -f '*' rm -r /usr/ports/distfiles rm -r /usr/local/* Then I installed sysutils/screen ports-mgmt/portupgrade ports-mgmt/portmaster And started installation of x11/xorg But it fails rather quickly with the message below: I've attached the log file and output suggested in the message. One thing that I see is the path to pkg-config is :whereis pkg-config pkg-config: /usr/ports/devel/pkg-config where as on my other machine I've got whereis pkg-config pkg-config: /usr/local/bin/pkg-config /usr/local/man/man1/pkg-config.1.gz /usr/ports/devel/pkg-config I tried /usr/ports/devel/pkg-config:make install clean ===> Cleaning for gmake-3.81_3 ===> Cleaning for gettext-0.17_1 ===> Cleaning for libtool-1.5.26 ===> Cleaning for libiconv-1.13 ===> Cleaning for pkg-config-0.23_1 /usr/ports/devel/pkg-config:rehash /usr/ports/devel/pkg-config:whereis pkg-config pkg-config: /usr/ports/devel/pkg-config As you can see in the listing below pkg-config is not listed as installed! That's proberly the source of the install failure, so how do I get pkg-config to install? --------------------------------------- checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for pkg-config... no checking for XSETROOT... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XSETROOT_CFLAGS and XSETROOT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to x11@FreeBSD.org [maintainer] and attach the "/usr/ports/x11/xsetroot/work/xsetroot-1.0.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/xsetroot. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg. root@blj01/usr/ports/x11/xorg: ------------------------------------------ ----------------------------------------- ll /var/db/pkg total 25810 drwxr-xr-x 2 root wheel 512 Jun 19 06:14 db43-4.3.29_1/ -rw-r--r-- 1 root wheel 26382336 Jun 18 20:19 pkgdb.db drwxr-xr-x 2 root wheel 512 Jun 19 06:05 portmaster-2.7/ drwxr-xr-x 2 root wheel 512 Jun 19 06:14 portupgrade-2.4.6_2,2/ drwxr-xr-x 2 root wheel 512 Jun 19 06:14 ruby-1.8.7.160_2,1/ drwxr-xr-x 2 root wheel 512 Jun 19 06:14 ruby18-bdb43-0.6.5_1/ drwxr-xr-x 2 root wheel 512 Jun 19 06:00 screen-4.0.3_6/ drwxr-xr-x 2 root wheel 512 Jun 19 06:04 sudo-1.6.9.20/ -------------------------------------------- --------------040201000909030101020104 Content-Type: text/plain; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by xsetroot configure 1.0.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.2 ## --------- ## ## Platform. ## ## --------- ## hostname = uname -m = i386 uname -r = 7.2-RELEASE uname -s = FreeBSD uname -v = FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1340: checking for a BSD-compatible install configure:1395: result: /usr/bin/install -c -o root -g wheel configure:1406: checking whether build environment is sane configure:1449: result: yes configure:1514: checking for gawk configure:1543: result: no configure:1514: checking for mawk configure:1543: result: no configure:1514: checking for nawk configure:1530: found /usr/bin/nawk configure:1540: result: nawk configure:1550: checking whether make sets $(MAKE) configure:1570: result: yes configure:1738: checking whether to enable maintainer-specific portions of Makefiles configure:1747: result: no configure:1772: checking if xorg-macros used to generate configure is at least 1.1 configure:1787: result: yes, 1.1.5 configure:1837: checking for gcc configure:1863: result: cc configure:2107: checking for C compiler version configure:2110: cc --version &5 cc (GCC) 4.2.1 20070719 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2113: $? = 0 configure:2115: cc -v &5 Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] configure:2118: $? = 0 configure:2120: cc -V &5 cc: '-V' option must have argument configure:2123: $? = 1 configure:2146: checking for C compiler default output file name configure:2149: cc -O2 -fno-strict-aliasing -pipe conftest.c >&5 configure:2152: $? = 0 configure:2198: result: a.out configure:2203: checking whether the C compiler works configure:2209: ./a.out configure:2212: $? = 0 configure:2229: result: yes configure:2236: checking whether we are cross compiling configure:2238: result: no configure:2241: checking for suffix of executables configure:2243: cc -o conftest -O2 -fno-strict-aliasing -pipe conftest.c >&5 configure:2246: $? = 0 configure:2271: result: configure:2277: checking for suffix of object files configure:2298: cc -c -O2 -fno-strict-aliasing -pipe conftest.c >&5 configure:2301: $? = 0 configure:2323: result: o configure:2327: checking whether we are using the GNU C compiler configure:2351: cc -c -O2 -fno-strict-aliasing -pipe conftest.c >&5 configure:2357: $? = 0 configure:2361: test -z || test ! -s conftest.err configure:2364: $? = 0 configure:2367: test -s conftest.o configure:2370: $? = 0 configure:2383: result: yes configure:2389: checking whether cc accepts -g configure:2410: cc -c -g conftest.c >&5 configure:2416: $? = 0 configure:2420: test -z || test ! -s conftest.err configure:2423: $? = 0 configure:2426: test -s conftest.o configure:2429: $? = 0 configure:2440: result: yes configure:2457: checking for cc option to accept ANSI C configure:2527: cc -c -O2 -fno-strict-aliasing -pipe conftest.c >&5 configure:2533: $? = 0 configure:2537: test -z || test ! -s conftest.err configure:2540: $? = 0 configure:2543: test -s conftest.o configure:2546: $? = 0 configure:2564: result: none needed configure:2582: cc -c -O2 -fno-strict-aliasing -pipe conftest.c >&5 conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' configure:2588: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2732: checking for style of include used by make configure:2760: result: GNU configure:2788: checking dependency style of cc configure:2878: result: gcc3 configure:2908: checking for a BSD-compatible install configure:2963: result: /usr/bin/install -c -o root -g wheel configure:3024: checking for pkg-config configure:3057: result: no configure:3083: checking for XSETROOT configure:3164: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XSETROOT_CFLAGS and XSETROOT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_PKG_CONFIG_set='' ac_cv_env_PKG_CONFIG_value='' ac_cv_env_XSETROOT_CFLAGS_set='' ac_cv_env_XSETROOT_CFLAGS_value='' ac_cv_env_XSETROOT_LIBS_set='' ac_cv_env_XSETROOT_LIBS_value='' ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-portbld-freebsd7.2 ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_exeext='' ac_cv_objext=o ac_cv_prog_AWK=nawk ac_cv_prog_ac_ct_CC=cc ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc='' ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_sys_max_cmd_len=262144 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run aclocal-1.9' ADMIN_MAN_DIR='' ADMIN_MAN_SUFFIX='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run tar' APP_MAN_DIR='' APP_MAN_SUFFIX='' AUTOCONF='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run autoconf' AUTOHEADER='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run autoheader' AUTOMAKE='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run automake-1.9' AWK='nawk' CC='cc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -fno-strict-aliasing -pipe' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DRIVER_MAN_DIR='' DRIVER_MAN_SUFFIX='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' FILE_MAN_DIR='' FILE_MAN_SUFFIX='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LIB_MAN_DIR='' LIB_MAN_SUFFIX='' LINT='' LINT_FALSE='' LINT_FLAGS='' LINT_TRUE='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/ports/x11/xsetroot/work/xsetroot-1.0.2/missing --run makeinfo' MISC_MAN_DIR='' MISC_MAN_SUFFIX='' OBJEXT='o' PACKAGE='xsetroot' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' PACKAGE_NAME='xsetroot' PACKAGE_STRING='xsetroot 1.0.2' PACKAGE_TARNAME='xsetroot' PACKAGE_VERSION='1.0.2' PATH_SEPARATOR=':' PKG_CONFIG='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='1.0.2' XSETROOT_CFLAGS='' XSETROOT_LIBS='' ac_ct_CC='cc' ac_ct_STRIP='' ac_pt_PKG_CONFIG='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-portbld-freebsd7.2' build_alias='i386-portbld-freebsd7.2' build_cpu='' build_os='' build_vendor='' datadir='${prefix}/share' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' includedir='${prefix}/include' infodir='/usr/local/info/' install_sh='/usr/ports/x11/xsetroot/work/xsetroot-1.0.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='/usr/local/man' mkdir_p='$(SHELL) $(install_sh) -d' oldincludedir='/usr/include' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "xsetroot" #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" #define PACKAGE_NAME "xsetroot" #define PACKAGE_STRING "xsetroot 1.0.2" #define PACKAGE_TARNAME "xsetroot" #define PACKAGE_VERSION "1.0.2" #define VERSION "1.0.2" configure: exit 1 --------------040201000909030101020104-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 05:03:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6D1D1065680 for ; Fri, 19 Jun 2009 05:03:48 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9EDD28FC0C for ; Fri, 19 Jun 2009 05:03:48 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so807626qwe.7 for ; Thu, 18 Jun 2009 22:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Zuj5VjmNV+p/nJVqskOtFk5TzM/G81kTv9prAbB+oSk=; b=DCRQgKb/JKc89IJSHjuTa0/8CgSMxUU0rfxQ+HmXwnVGGvqen799WJodfG+KUERJx2 PGekcAaPxJYRT/svhU3smJuZPti1RQB12U1fL16ziQ5QyM2iKeLSFmuBsO8tuI4laOl0 Z8tM95L9QbIhzhZksmi09h6U+XpEewg63allk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uO1w+BWkZ0qSQIG6Pdgawa56SGvv2eU64lWvmmHQahQWVRDww3fO3Q5zIPDn/249bj Vvjx5rsRD05UZwZjAX+CrG1Az+23/mUMuCYEuBCiFHvzFZiknarWfyQYgOgYnxqCSe/3 2e/LITCDxxdw2s4w9hjrPzDaYc+4fM1nWaIqg= MIME-Version: 1.0 Received: by 10.220.71.10 with SMTP id f10mr2319717vcj.13.1245387828066; Thu, 18 Jun 2009 22:03:48 -0700 (PDT) In-Reply-To: <4A3B1924.6040901@eskk.nu> References: <4A39197D.6000501@eskk.nu> <4ad871310906170953r56827e13wb4fac8473ac58dd5@mail.gmail.com> <4A3B1924.6040901@eskk.nu> Date: Thu, 18 Jun 2009 23:03:48 -0600 Message-ID: From: Tim Judd To: Leslie Jensen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Now pkg-config trouble.................Re: startx does not work, startxfce4 does! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 05:03:49 -0000 Leslie, The given port dirs (x11/xorg, etc) still probably have their work directory, which have the tokens/markers that particular stages of the port build have been done, such as the installation. rm -rf /usr/ports/*/*/work rehash cd /usr/ports/x11/xorg make install Please try that. First removes the work dir that contains the tokens, second updates root's available application hash, third and forth rebuild xorg Since xorg is so large, and receives very few (in relation to the total number of packages) updates, a quick-n-dirty way to get running is to add the package, and then update the outdated ones. pkg_add -r xorg portmaster -a I follow this same pattern on all BIG ports.. gnome2, kde3/4, xorg, and then let the portmaster update the old outdated ports that got installed. There is no functional difference between a package installed and a port installed with no options/config tweaked. Please try this. Write to us if you keep having problems From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 06:03:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C52DC106564A for ; Fri, 19 Jun 2009 06:03:14 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9927E8FC16 for ; Fri, 19 Jun 2009 06:03:14 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by pzk1 with SMTP id 1so1463946pzk.3 for ; Thu, 18 Jun 2009 23:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=3y+fHdDGyzM8ttMf8UpTiAlnQkH55akF5fS8thedmfU=; b=t9S9yvCJpAPsxDWutBEoTX4vM6t52rRAYlcy3NWEjq4MHAnMrOn0de6w4NYxA1UES9 t7lvaYYV8ZIDdKJfgK5VgIvPrmAS0ySU+uiPRtDRo2qZ+Ixr7u5ubo3KCZoTMuyiJdT8 Jaih7CBKZm2bOSGzMe2VBTEfKQJFsK8aXSgAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=jHROA5tSE0aQUQxZDm4lSBHLmG7f9J0bYIRG/d8N5Opuq2ZJ8TPyD6/4VfxtktR7XZ gi0uJwiBYMHPXY+j4svcP4DP9yUTn1IbwcvkinK0T7JBc5UpSG8u+guJgvsCcOZ+t1HG p93hXYAKVqNQT9/6Ex9oI/ELpkG6sEXtxMSp0= MIME-Version: 1.0 Received: by 10.114.169.20 with SMTP id r20mr3402238wae.222.1245391393298; Thu, 18 Jun 2009 23:03:13 -0700 (PDT) Date: Fri, 19 Jun 2009 11:33:13 +0530 Message-ID: From: manish jain To: Chris Whitehouse Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: rsmith@xs4all.nl, FreeBSD Mailing List Subject: Now problems with mouse and sound (Re: In addition to -> 7.2 panic during installation : AP #1 (PHY# 1) failed !) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 06:03:15 -0000 Hi, After 6-7 reboots, I managed to get the 7.2-RELEASE installation media to boot and install properly. 2 issues still remain however. 1) No sound : My Gigabyte GA-MA78GM-US2H board has onboard Realtek High Definition Audio. Since I couldn't figure out which driver would work with this, I put sound_enable=YES and snd_driver_load=YES in loader.conf to load all available drivers. Gnome's Volume Control applet still remains crossed out in red, which would mean the system couldn't locate an appropriate driver. 2) No mouse : I am using a Logitech USB mouse and my rc.conf has moused_enable=YES, along with entries for the AUTO protocol and the /dev/ums0 device. However, at boot-time I get the message "Module uhub/ums failed to load : 17" followed by a complaint by moused that /dev/ums0 does not exist. There is no mouse cursor on the console at the time I get to the login prompt. There is a wierd way however of getting the mouse to work. Change it from one USB port to another 1-2 times and finally the kernel picks up the mouse and creates /dev/ums0, after which the cursor appears and the mouse works okay. But I have to do this everytime I boot FreeBSD, which doesn't look an attractive option at all. Can somebody please help me with either/both of these issues ? Thanks in advance. Manish Jain invalid.pointer@gmail.com 2009/6/18 Chris Whitehouse > Manish Jain wrote: > >> I forgot to mention that Windows installs and runs very smoothly on the >> system. >> >> Windows system information reports : >> >>> System Manufacturer Gigabyte Technology Co., Ltd. System Model >>> GA-MA78GM-US2H >>> >> > snip > > >> >> The only thing that strikes me as odd is that right-clicking on My >> Computer reports the amount of RAM as 768 MB, while the diagnostics above >> states 1024 MB. >> >> For the brief period of time the FreeBSD installer runs, it reports the >> amount of RAM as 768 MB too. >> >> > > http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2995 > > has integrated graphics = shared memory. > > You can probably change the amount of RAM allocated to the graphics card in > the BIOS. > > Chris > From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 10:23:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F26271065674 for ; Fri, 19 Jun 2009 10:23:05 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 497E08FC3A for ; Fri, 19 Jun 2009 10:23:05 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 19 Jun 2009 10:23:03 -0000 Received: from ipa220.64.91.tellas.gr (EHLO [192.168.254.1]) [91.140.64.220] by mail.gmx.com (mp-eu003) with SMTP; 19 Jun 2009 12:23:03 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18YhZox0iMYkSKlYorMUhdE1ld/82k34PNH6CWwHw v2l37y75wQLvpz Message-ID: <4A3B66ED.40506@gmx.com> Date: Fri, 19 Jun 2009 13:22:37 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 Subject: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 10:23:06 -0000 Hi, This has nothing to do with FreeBSD. I have to buy 3-4 24/16 port ethernet switches for a school. Could you recommend a brand/model? I don't know if such recommendations should be done off list? My list of priorities, with 1 being the most important. 1. Price 2. Stability 3. No "smart" features OK, this looks like a .1Q frame, let's drop it. This MAC address is active on many ports, let's drop it. 4. STP support Would be nice, just to prevent cabling errors. There is not gonna be deliberate use of duplicate links between the switches to increase availability. Thanks in advance and excuse the off topic nature of my question Nikos From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 10:31:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E536A10656A9 for ; Fri, 19 Jun 2009 10:31:51 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6575F8FC14 for ; Fri, 19 Jun 2009 10:31:51 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n5JARBYS039257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Jun 2009 17:27:11 +0700 (ICT) (envelope-from on@cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id n5JAVndu013492; Fri, 19 Jun 2009 17:31:49 +0700 (ICT) (envelope-from on) Date: Fri, 19 Jun 2009 17:31:49 +0700 (ICT) Message-Id: <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> From: Olivier Nicole To: nvass9573@gmx.com In-reply-to: <4A3B66ED.40506@gmx.com> (message from Nikos Vassiliadis on Fri, 19 Jun 2009 13:22:37 +0300) References: <4A3B66ED.40506@gmx.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 10:31:52 -0000 Nikos, > My list of priorities, with 1 being the most important. > 1. Price > 2. Stability As the price is the most important for you, buy any cheap switch. Now I have had satisfaction with Dlink and Compex, maybe not among the cheapest, but still cheap. I have had some working for 6 or 7 years non stop. I would not use them as core switch, but as satellite switches they do OK. > 3. No "smart" features > 4. STP support STP is definitely a smart feature, it comes with higher models only. Bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 11:28:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39D8C106564A for ; Fri, 19 Jun 2009 11:28:24 +0000 (UTC) (envelope-from marthom@ymail.com) Received: from web23902.mail.ird.yahoo.com (web23902.mail.ird.yahoo.com [87.248.115.90]) by mx1.freebsd.org (Postfix) with SMTP id 7D53B8FC1A for ; Fri, 19 Jun 2009 11:28:23 +0000 (UTC) (envelope-from marthom@ymail.com) Received: (qmail 47009 invoked by uid 60001); 19 Jun 2009 11:01:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1245409302; bh=q6GEItChbV5oL8BFeajgStVqhS3ammeHSI6dt9aOzaQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mo9Dn+ViBgvIKIrTVd7spRqF2Z23W+5NFnW0Z2X0bV9dPZSlMZgB5JwKGUiWAGyXov5xC7KA1aWy99r2t6RNj0k3MSOu7jjw7IIS5fbEGxFNkk9QvDxloMlvzorRxKh+KRmeTCcnEFFm4pOxT09UKOFBPekcSw+8MElASb0NBXk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TeVJMNNWyvPWh0kO/WY7+D8InqsTXG7xryL2Veutm3hA0rUPEplfMVBd9WxvLQpgonny5S11Bsii1MGlpzLlUbHQd6EZ0jiknoDoE1H+9KmuQWK1TEx8JH5FUqnj+/NmpJXGhictpr7BfjPxvNTqTqp0FV1KPirwcsnZwrW0a3E=; Message-ID: <848911.46873.qm@web23902.mail.ird.yahoo.com> X-YMail-OSG: .HRP574VM1kSbwAj0ZrH7foFWMM_Hob.wiyMv0cmy_9tgUUA_4OAf2XU96_jNIhFdWTsnu1J3iB02.rBsI7icTDwg0ynGNTg6bHRn59o_BRQEzEFn2qwXY3sfXGbNWma0VY1J1b68F72AwnJ4_DyIGXw_W.6fousUs8t6gTPBaHCV0NKJPVOwAR1TaMThTFSx4SiNJqsJ_g0Jv78cNF5Jhh6buzDTiF5ginXZW1rhEBSXc5vV7iE8aj0_4N.TgKUYI5UbWfzhDrTNOuOQQ-- Received: from [92.73.195.168] by web23902.mail.ird.yahoo.com via HTTP; Fri, 19 Jun 2009 11:01:42 GMT X-Mailer: YahooMailClassic/5.4.17 YahooMailWebService/0.7.289.15 Date: Fri, 19 Jun 2009 11:01:42 +0000 (GMT) From: Martin Thomas To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 11:28:24 -0000 Hello list,=0A=0AI'd like to install FreeBSD on a number of machines, autom= atically and unattended over Ethernet via PXE. I'm quite familiar with FAI,= which does a great job for Debian, and I'd like to know whether there is s= omething similar for FreeBSD too. So far I only found a guide for jumpstart= . =0A=0ADoes anybody has experience with that matter and can provide some t= ools.=0A=0AMartin=0A=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 11:56:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53C6F106564A for ; Fri, 19 Jun 2009 11:56:30 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s13.blu0.hotmail.com (blu0-omc4-s13.blu0.hotmail.com [65.55.111.152]) by mx1.freebsd.org (Postfix) with ESMTP id 037E58FC15 for ; Fri, 19 Jun 2009 11:56:29 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP83 ([65.55.111.135]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 04:56:29 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP83.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 04:56:29 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id B9C51228CE for ; Fri, 19 Jun 2009 07:56:27 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 7D857228CD for ; Fri, 19 Jun 2009 07:56:27 -0400 (EDT) Date: Fri, 19 Jun 2009 07:56:27 -0400 From: Carmel NY To: FreeBSD Questions Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 19 Jun 2009 11:56:29.0356 (UTC) FILETIME=[FB1E26C0:01C9F0D4] Subject: gmplayer cannot show video in xfce4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 11:56:30 -0000 When I start mplayer (gmplayer) from within xfce4 and attempt to play a video, I receive an error message. The audio portion works fine however. The screen-shot of the error message is viewable here: http://imagebin.ca/view/OdMEXlY.html What is strange is that the video was working until I modified the PolicyKit.conf file. This is the modification I added. I substituted 'me' for the actual users name. If I remove the modifications, I cannot mount a CD. Is there something else I should be or not be doing here? -- Carmel From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 12:22:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1301065783 for ; Fri, 19 Jun 2009 12:22:06 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id D6EB78FC12 for ; Fri, 19 Jun 2009 12:22:05 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so74335fga.12 for ; Fri, 19 Jun 2009 05:22:05 -0700 (PDT) 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=WgO4e5EiBa00O1m4O+r5VbBTNSzw3dE94lxzf+WebZ4=; b=SsEvCpCnooHYpCaME+VtSgzBdvWPwmyKEQ6HBAURkMhN6uT394+pLK8sSImWQsKcPr pK5JLNbSKJh0DiLMFUnTHElJ6/18rJEY4AJMghLVndAtz9ZjvQGv5PRnmc4V2LoD2Z8t CpDbL97VwKsIFzYg3Gcc8XyfCRsnQiTO4B3Ts= 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=h98sp3i8bnUKGpx6BDY0Ygx06A6Xk7P1RibtAIIepE9AQYcsuPo1aJr0ivuR1saBSR gvTiGnnv/Fe66yX/ziopG9gzP68+oR2QYzMarLCZ3mlz6qV0L4h714wAnFG2xM7BKBWd lhX/1a2ZsMi0TxKN2bGkbxIvQzRzuzJTfFpqI= Received: by 10.86.36.11 with SMTP id j11mr3142809fgj.22.1245414124949; Fri, 19 Jun 2009 05:22:04 -0700 (PDT) Received: from blackmesa ([77.66.145.99]) by mx.google.com with ESMTPS id e11sm18481976fga.21.2009.06.19.05.22.02 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Jun 2009 05:22:03 -0700 (PDT) Received: by blackmesa (sSMTP sendmail emulation); Fri, 19 Jun 2009 16:22:00 +0400 Date: Fri, 19 Jun 2009 16:22:00 +0400 From: Jeff Laine To: Olivier Nicole Message-ID: <20090619122159.GA94133@free.bsd.loc> Mail-Followup-To: Jeff Laine , Olivier Nicole , freebsd-questions@freebsd.org References: <4A3B66ED.40506@gmx.com> <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 12:22:06 -0000 On Fri,06/19/09 [17:31:49], Olivier Nicole wrote: > Nikos, > > > My list of priorities, with 1 being the most important. > > 1. Price > > 2. Stability > > As the price is the most important for you, buy any cheap switch. > > Now I have had satisfaction with Dlink and Compex, maybe not among the > cheapest, but still cheap. I have had some working for 6 or 7 years > non stop. I would not use them as core switch, but as satellite > switches they do OK. > > > 3. No "smart" features > > 4. STP support > > STP is definitely a smart feature, it comes with higher models only. > > Bests, > > Olivier > I'd choose 3com. Their low-end unmanaged models are pretty cheap as well as some smarter officeconnect models. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:01:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 798CD1065680 for ; Fri, 19 Jun 2009 13:01:50 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from pqueueb.post.tele.dk (pqueueb.post.tele.dk [193.162.153.10]) by mx1.freebsd.org (Postfix) with ESMTP id 34DC28FC15 for ; Fri, 19 Jun 2009 13:01:49 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by pqueueb.post.tele.dk (Postfix) with ESMTP id 840E18217 for ; Fri, 19 Jun 2009 14:40:51 +0200 (CEST) Received: from mugin-LAN.localhost (0x573c4f3b.nivaanqu1.dynamic.dsl.tele.dk [87.60.79.59]) by pfepb.post.tele.dk (Postfix) with ESMTP id E2ECEF84083 for ; Fri, 19 Jun 2009 14:40:48 +0200 (CEST) Received: from mugin-LAN.localhost (localhost [127.0.0.1]) by mugin-LAN.localhost (8.14.3/8.14.3) with ESMTP id n5JCelkJ001745 for ; Fri, 19 Jun 2009 14:40:47 +0200 (CEST) (envelope-from hmj@mugin-LAN.localhost) Received: (from hmj@localhost) by mugin-LAN.localhost (8.14.3/8.14.3/Submit) id n5JCelIM001744 for freebsd-questions@freebsd.org; Fri, 19 Jun 2009 14:40:47 +0200 (CEST) (envelope-from hmj) Date: Fri, 19 Jun 2009 14:40:47 +0200 From: Harry Matthiesen Jensen To: freebsd-questions@freebsd.org Message-ID: <20090619124047.GA1556@mugin-LAN.localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Subject: The 'uname' output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:01:50 -0000 I have wondered why my build number in the 'uname' output not is incrementet for each build I make of the system, it shows '#0' all the time. Example output of 'uname -a': FreeBSD mugin-LAN.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Jun 18 12:41:05 CEST 2009 root@mugin-LAN.localhost:/usr/obj/usr/src/sys/MUGIN i386 I had same issue on the system when I ran -STABLE. Just a little hint from someone will be appreciatet;-) -- Mvh/Brgds Harry FreeBSD 8.0-CURRENT Compiled at Thu Jun 18 12:41:05 CEST 2009 i386 From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:06:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D51D51065686 for ; Fri, 19 Jun 2009 13:06:24 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6436F8FC1B for ; Fri, 19 Jun 2009 13:06:24 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5JD6KcZ043743; Fri, 19 Jun 2009 15:06:20 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5JD6Kle043742; Fri, 19 Jun 2009 15:06:20 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 19 Jun 2009 15:06:19 +0200 From: Ruben de Groot To: Martin Thomas Message-ID: <20090619130619.GA43589@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Martin Thomas , freebsd-questions@freebsd.org References: <848911.46873.qm@web23902.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <848911.46873.qm@web23902.mail.ird.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 19 Jun 2009 15:06:23 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:06:25 -0000 On Fri, Jun 19, 2009 at 11:01:42AM +0000, Martin Thomas typed: > > Hello list, > > I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. > > Does anybody has experience with that matter and can provide some tools. Read the sysinstall manpage. You can automate allmost everything using an install.cfg file. Ruben From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:10:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A58CC106566C for ; Fri, 19 Jun 2009 13:10:03 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id CF55F8FC0C for ; Fri, 19 Jun 2009 13:10:02 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n5JD9vuW043771; Fri, 19 Jun 2009 15:09:57 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n5JD9vkW043770; Fri, 19 Jun 2009 15:09:57 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Fri, 19 Jun 2009 15:09:57 +0200 From: Ruben de Groot To: Harry Matthiesen Jensen Message-ID: <20090619130957.GB43589@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Harry Matthiesen Jensen , freebsd-questions@freebsd.org References: <20090619124047.GA1556@mugin-LAN.localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090619124047.GA1556@mugin-LAN.localhost> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Fri, 19 Jun 2009 15:10:00 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: The 'uname' output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:10:05 -0000 On Fri, Jun 19, 2009 at 02:40:47PM +0200, Harry Matthiesen Jensen typed: > I have wondered why my build number in the 'uname' output not is > incrementet for each build I make of the system, it shows '#0' > all the time. > > Example output of 'uname -a': > > FreeBSD mugin-LAN.localhost 8.0-CURRENT > FreeBSD 8.0-CURRENT #0: Thu Jun 18 12:41:05 CEST 2009 > root@mugin-LAN.localhost:/usr/obj/usr/src/sys/MUGIN i386 > > I had same issue on the system when I ran -STABLE. > > Just a little hint from someone will be appreciatet;-) Do you remove /usr/obj between builds? Ruben From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:13:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81970106564A for ; Fri, 19 Jun 2009 13:13:09 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB7C8FC15 for ; Fri, 19 Jun 2009 13:13:09 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MHdtg-000B0h-5E; Fri, 19 Jun 2009 09:12:53 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 2D042302329D; Fri, 19 Jun 2009 09:12:48 -0400 (EDT) Message-ID: <4A3B8ECB.6070705@FreeBSD.org> Date: Fri, 19 Jun 2009 09:12:43 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Martin Thomas References: <848911.46873.qm@web23902.mail.ird.yahoo.com> In-Reply-To: <848911.46873.qm@web23902.mail.ird.yahoo.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 13:13:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Thomas wrote: > Hello list, > > I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. > > Does anybody has experience with that matter and can provide some tools. > > Martin > Hi Martin, I went to this presentation at BSDCan 2009, and I think you'll find some tip in the slides: http://www.bsdcan.org/2009/schedule/events/126.en.html Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKO47L0sRouByUApARAu8iAJ4ujw0kDL4Ng9IQ55oowzRDTjBqTACeP/q9 NbOa0YHKj6B3urEOl5EJfD8= =3jpp -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:21:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA6E1065672 for ; Fri, 19 Jun 2009 13:21:23 +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 38E7E8FC17 for ; Fri, 19 Jun 2009 13:21:22 +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; Fri, 19 Jun 2009 23:21:11 +1000 From: Geoff Roberts Organization: Australian Projects To: freebsd-questions@freebsd.org Date: Fri, 19 Jun 2009 23:21:06 +1000 User-Agent: KMail/1.9.10 References: <200906182345.43828.geoff@apro.com.au> <4A3A4C32.8040005@gmx.com> In-Reply-To: <4A3A4C32.8040005@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906192321.07021.geoff@apro.com.au> X-Declude-Sender: geoff@apro.com.au [202.173.129.2] X-Declude-Spoolname: 51392898.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:21:15 on 19 Jun 2009 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: Re: Configuring VLANs - Why is IP address require on NIC connected to Trunk? 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: Fri, 19 Jun 2009 13:21:24 -0000 Hi, On Fri, 19 Jun 2009 12:16:18 am Nikos Vassiliadis wrote: > Geoff Roberts wrote: > > I find I have to give the ext0 interface an IP address in order for > > routing and packet filtering to work on the attached VLANs. > > > > a) Is there a way to configure this so that I don't have to give ext0 an > > IP address? > > Yes, you just have to "up" the interface: > ifconfig_em0="up" Thanks to all who responded. I believe marking the interface as up will be the source of the issue. I'll be able to restart the server in a couple of days and verify everything works after a restart. It has been one of those nagging issues that eventually bubbled to the top of the list. Kind regards, Geoff From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:27:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3483106566C for ; Fri, 19 Jun 2009 13:27: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 6726A8FC17 for ; Fri, 19 Jun 2009 13:27:22 +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 n5JDRICD003474; Fri, 19 Jun 2009 15:27:18 +0200 (CEST) (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 n5JDRH6i003471; Fri, 19 Jun 2009 15:27:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 15:27:17 +0200 (CEST) From: Wojciech Puchar To: Martin Thomas In-Reply-To: <848911.46873.qm@web23902.mail.ird.yahoo.com> Message-ID: References: <848911.46873.qm@web23902.mail.ird.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:27:25 -0000 > > I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. > simply install on one, tar it up and untar on each other, using PXE just to boot anything. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:28:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1005E1065670 for ; Fri, 19 Jun 2009 13:28:22 +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 69CA38FC23 for ; Fri, 19 Jun 2009 13:28:19 +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 n5JDSGjA003481; Fri, 19 Jun 2009 15:28:16 +0200 (CEST) (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 n5JDSFK7003478; Fri, 19 Jun 2009 15:28:16 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 15:28:15 +0200 (CEST) From: Wojciech Puchar To: Nikos Vassiliadis In-Reply-To: <4A3B66ED.40506@gmx.com> Message-ID: References: <4A3B66ED.40506@gmx.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Mailing List Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:28:22 -0000 > > This has nothing to do with FreeBSD. I have to buy 3-4 24/16 > port ethernet switches for a school. Could you recommend a > brand/model? I don't know if such recommendations should be > done off list? no idea about 4, but in my practice the cheapest ones are really good. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:31:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D50091065687 for ; Fri, 19 Jun 2009 13:31:03 +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 0C5F38FC13 for ; Fri, 19 Jun 2009 13:31:02 +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 n5JDUc4N003515; Fri, 19 Jun 2009 15:30:38 +0200 (CEST) (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 n5JDUc13003512; Fri, 19 Jun 2009 15:30:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 15:30:38 +0200 (CEST) From: Wojciech Puchar To: Olivier Nicole In-Reply-To: <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> Message-ID: References: <4A3B66ED.40506@gmx.com> <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org, nvass9573@gmx.com Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:31:04 -0000 > > Now I have had satisfaction with Dlink and Compex, maybe not among the > cheapest, but still cheap. I have had some working for 6 or 7 years You are happy because you are using it with good power supply, probably UPS. Both (and D-Link mostly) are completely unprotected for even minor power spikes. None of them survived more than half a year when i used it of total over 10. For pure 100Mbps switches, Asus Giga-X is the best in that respect. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:31:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63ECD1065690 for ; Fri, 19 Jun 2009 13:31:08 +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 8440F8FC1B for ; Fri, 19 Jun 2009 13:31:07 +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 n5JDUtMb003522; Fri, 19 Jun 2009 15:30:55 +0200 (CEST) (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 n5JDUt8k003519; Fri, 19 Jun 2009 15:30:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 15:30:55 +0200 (CEST) From: Wojciech Puchar To: Jeff Laine In-Reply-To: <20090619122159.GA94133@free.bsd.loc> Message-ID: References: <4A3B66ED.40506@gmx.com> <200906191031.n5JAVndu013492@banyan.cs.ait.ac.th> <20090619122159.GA94133@free.bsd.loc> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:31:09 -0000 >> >> Olivier >> > I'd choose 3com. Their low-end unmanaged models are pretty cheap as well > as some smarter officeconnect models. They are not cheap From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:31:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D62C1065688 for ; Fri, 19 Jun 2009 13:31:42 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.freebsd.org (Postfix) with ESMTP id DDE3C8FC26 for ; Fri, 19 Jun 2009 13:31:41 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from mugin-LAN.localhost (0x573c4f3b.nivaanqu1.dynamic.dsl.tele.dk [87.60.79.59]) by pfepa.post.tele.dk (Postfix) with ESMTP id A24AEA5004E for ; Fri, 19 Jun 2009 15:31:39 +0200 (CEST) Received: from mugin-LAN.localhost (localhost [127.0.0.1]) by mugin-LAN.localhost (8.14.3/8.14.3) with ESMTP id n5JDVcei028201 for ; Fri, 19 Jun 2009 15:31:38 +0200 (CEST) (envelope-from hmj@mugin-LAN.localhost) Received: (from hmj@localhost) by mugin-LAN.localhost (8.14.3/8.14.3/Submit) id n5JDVcR6028200 for freebsd-questions@freebsd.org; Fri, 19 Jun 2009 15:31:38 +0200 (CEST) (envelope-from hmj) Date: Fri, 19 Jun 2009 15:31:38 +0200 From: Harry Matthiesen Jensen To: freebsd-questions@freebsd.org Message-ID: <20090619133138.GA28175@mugin-LAN.localhost> References: <20090619124047.GA1556@mugin-LAN.localhost> <20090619130957.GB43589@ei.bzerk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090619130957.GB43589@ei.bzerk.org> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: The 'uname' output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:31:42 -0000 On Fri, Jun 19, 2009 at 03:09:57PM +0200, Ruben de Groot wrote: > On Fri, Jun 19, 2009 at 02:40:47PM +0200, Harry Matthiesen Jensen typed: > > I have wondered why my build number in the 'uname' output not is > > incrementet for each build I make of the system, it shows '#0' > > all the time. > > Do you remove /usr/obj between builds? > > Ruben Yes, and going back in time, it match approximately when I started to clean /usr/obj.... hmmm, so I should stop that part of it when re-building? ..if I want my build number back. -- Mvh/Brgds Harry FreeBSD 8.0-CURRENT Compiled at Thu Jun 18 12:41:05 CEST 2009 i386 From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 13:34:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47A621065673 for ; Fri, 19 Jun 2009 13:34:56 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id BE3C78FC13 for ; Fri, 19 Jun 2009 13:34:55 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by fxm12 with SMTP id 12so291198fxm.43 for ; Fri, 19 Jun 2009 06:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=1q9FJYA96AK+xf9Z65BKaHj3rNJ7jp05WrhDcDHk6nU=; b=M0rhqIfnmoMgYrsDd9/CEEEGaWiJJcZFBCd4h5ZxLrQeavC5+DaYDjNWg1k/aKOM7c pY9wTwYFBff6gcZVqUng9MOWFm0o+Qn6swVcTP/GlRIQ0X0ruLTtvkIcOkuBagKTDVKF v1rpBEvCei/hu8G/f1e9qdMNeBsMxKM0ZTjHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JcswIo4YLQ2nzxIxxGuizf+o3CHP6dfFw80rCPyFuXiHyyEpl6P1a4kJPOBqruu8NV MGZ63Wf6w5T5TuuWXXzyuotEWki8viw6O5kAXwSBiPJJZOVR/Mmit/XUvF3EVdl/srzp FkqdXWFNjR3Emj3xWiU5cEqZp9Kz3KIyAo62I= MIME-Version: 1.0 Received: by 10.223.110.3 with SMTP id l3mr2322060fap.48.1245418494876; Fri, 19 Jun 2009 06:34:54 -0700 (PDT) In-Reply-To: References: <848911.46873.qm@web23902.mail.ird.yahoo.com> Date: Fri, 19 Jun 2009 16:34:54 +0300 Message-ID: <991123400906190634i1b4ce362g9db692c4d11d8f08@mail.gmail.com> From: =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 13:34:56 -0000 On Fri, Jun 19, 2009 at 4:27 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > >> I'd like to install FreeBSD on a number of machines, automatically and >> unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a >> great job for Debian, and I'd like to know whether there is something >> similar for FreeBSD too. So far I only found a guide for jumpstart. >> > simply install on one, tar it up and untar on each other, using PXE just to > boot anything. Wojciech, That is true, yes, but you have not answered the OPs question. There are others interested in the answer, especially because he's mentioned his familiarity with FAI. I'd like to think that he already knows about dump/restore. He just wants an "automated, unattended" solution for FreeBSD. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:10:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07582106564A for ; Fri, 19 Jun 2009 14:10:45 +0000 (UTC) (envelope-from jbaltz@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 84C688FC13 for ; Fri, 19 Jun 2009 14:10:44 +0000 (UTC) (envelope-from jbaltz@gmail.com) Received: by ewy8 with SMTP id 8so2079513ewy.43 for ; Fri, 19 Jun 2009 07:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=R27DSPOXNaufSOsILDALwFOBfUhd/vX70S1jUxcisB0=; b=OOZW2080OQ8btBX5O2MOAj0P5PuhLZn/udVdXSTPNmOQcLi9IAZV8ugOnpLZErEHIZ 1XH4A0NIU9o/UkW1eKN8PgmFHLKo8wZX0sa/aR4S/tdiqry0dM+BgNgRWhO6iWUj5vKM dc7NZejGbZLVwIMnqasoSAg75Uo4cspKP+yi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=W8zedTVa0sl37Mh/1CsQk2qgcFCMBbBGK7uqY1ufdHn9ujtjSUNiTIN3PNN3n8y0dr 4lihjYUZ8i1SlcNeovvQh3NsVDN2QLILLHv6pJEVwy1rMgJHDANeB8Yl/nYOMM69mzSs atB/W1Ea6d+pNvAUq5t3wt4wxqMTWqdogBQHM= MIME-Version: 1.0 Received: by 10.216.3.195 with SMTP id 45mr1007221weh.8.1245418644801; Fri, 19 Jun 2009 06:37:24 -0700 (PDT) In-Reply-To: <4A3B66ED.40506@gmx.com> References: <4A3B66ED.40506@gmx.com> Date: Fri, 19 Jun 2009 09:37:24 -0400 Message-ID: <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> From: "Jerry B. Altzman" To: Nikos Vassiliadis Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 14:10:45 -0000 On Fri, Jun 19, 2009 at 06:22, Nikos Vassiliadis wrote: > > My list of priorities, with 1 being the most important. > 1. Price > 2. Stability > 3. No "smart" features > OK, this looks like a .1Q frame, let's drop it. > This MAC address is active on many ports, let's drop it. > 4. STP support > Would be nice, just to prevent cabling errors. > There is not gonna be deliberate use of duplicate > links between the switches to increase availability. > Do you require Gigabit ethernet or no? I've had very good experience with Netgear 24-port and 16-port rack mount switches (not the desktop consumer models -- although they too have worked well for me). They have somewhat more robust power supplies than the standard wall-attach transformers, and the FastEthernet models can be had for VERY cheap. (I bought a 24-port model a few years back for just about USD 100.) I've had Netgear switches run without a problem for *years*. Their managed switches, on the other hand, are a nightmare, and I wouldn't use them again if I had the choice. Nikos > //jbaltz -- jerry b. altzman jbaltz@gmail.com www.jbaltz.com foo mane padme hum From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:25:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE6C5106564A for ; Fri, 19 Jun 2009 14:25:02 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3E68FC1F for ; Fri, 19 Jun 2009 14:25:02 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 81010 invoked by uid 89); 19 Jun 2009 14:25:25 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 19 Jun 2009 14:25:25 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <20090618235958.GC96132@comcast.net> References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> <20090618235958.GC96132@comcast.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <49A3E115-1F48-4123-9DCD-E55A63E4772F@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Fri, 19 Jun 2009 10:24:58 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 14:25:03 -0000 On Jun 18, 2009, at 7:59 PM, Charlie Kester wrote: > On Thu 18 Jun 2009 at 14:18:21 PDT Tim Judd wrote: >> >> I've read reports (and forgotten it's source since then) that some >> Intel Atom processors work well, some don't with FreeBSD. This was >> something I read within a couple months, so I would see if anyone >> here >> can provide input on pros and cons on weather that particular Atom >> model number is well received and well tested. > > The only problems I've seen reported re Atoms was back in the days > before the FreeBSD 7.2 release (or was it 7.1?) when there were > problems > with not recognizing the Realtek networking chip included on the Intel > motherboards. > > FWIW, I'm running FreeBSD 7.2 on an Intel D945GCLF motherboard, which > has an Atom 230 CPU. I got mine from http://www.mini-box.com. (I > *am* > using a Intel networking card rather than the builtin Realtek chip, > but > only because the Realtek recognition problems still existed when I > first > set up the machine. One of these days I should probably see if those > problems are truly fixed, so I can recover the single PCI slot for > some > other use.) Since this is a home machine, I can't say it's the best > test > of whether FreeBSD runs OK on it. But I haven't had any problems with > it. Sounds good. They are so inexpensive, I will just give it a whirl and see if it cuts the mustard. Speed isn't really an issue, since it's going to be twiddling it's thumbs most of the time. Doesn't really matter if it takes 10 seconds or 30 minutes to translate the videos. Thanks: John From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:29:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99293106564A for ; Fri, 19 Jun 2009 14:29:17 +0000 (UTC) (envelope-from jochen@daten-chaos.de) Received: from mail20321.bummi-net.de (mail20321.bummi-net.de [84.19.173.246]) by mx1.freebsd.org (Postfix) with ESMTP id 5C30D8FC18 for ; Fri, 19 Jun 2009 14:29:17 +0000 (UTC) (envelope-from jochen@daten-chaos.de) Received: from donald.home.jochen-neumeister.de (dslb-084-061-112-172.pools.arcor-ip.net [84.61.112.172]) by mail20321.bummi-net.de (Postfix) with ESMTP id E794F6B7402 for ; Fri, 19 Jun 2009 16:09:48 +0200 (CEST) Date: Fri, 19 Jun 2009 16:09:52 +0200 From: Jochen Neumeister To: freebsd-questions@freebsd.org Message-ID: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: WLAN with Thinkpad T41 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 14:29:17 -0000 Hi there, I have a Thinkpad T41 with FreeBSD 7.2/i386 With dmesg i see the wlan card: ath0: mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:05:4e:48:14:ab ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 I read the handbook, and this is me /boot/loader.conf: if_ath_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" This entry i made in the rc.conf for the ath0: ifconfig_ath0="inet 192.168.0.13 netmask 255.255.255.0" Now ifconfig ath0 say: ath0: flags=8843 metric 0 mtu 1500 ether 00:05:4e:48:14:ab inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 124 (5620 Mhz 11a) authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst bintval 0 and this is me /etc/wpa_supplicant.conf: network={ ssid="linksys_SES_29944" psk="xxxxxxxxxxx" } ifconfig ath0 list scan found me accesspoint: linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA Now I connect: goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944' freq=2462 MHz) Associated with 00:06:25:4b:0d:95 WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95 completed (auth) [id=0 id_str=] ifconfig ath0 say, I am connected: goofy# ifconfig ath0 ath0: flags=8843 metric 0 mtu 1500 ether 00:05:4e:48:14:ab inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status: associated ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95 authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL but, now ping, now open a Internetsite in firefox, nothing. But i can go for a DHCP-IP: goofy# dhclient ath0 DHCPREQUEST on ath0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.2 bound to 192.168.0.234 -- renewal in 43200 seconds. When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss. The Laptop works finde with LAN, but not with WLAN. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:45:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36F651065672 for ; Fri, 19 Jun 2009 14:45:41 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from dns.msk.asap.bg (dns.msk.asap.bg [78.90.206.101]) by mx1.freebsd.org (Postfix) with ESMTP id E919A8FC12 for ; Fri, 19 Jun 2009 14:45:40 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from [10.30.1.106] (unknown [95.87.202.193]) by dns.msk.asap.bg (Postfix) with ESMTP id 3E46139836; Fri, 19 Jun 2009 17:45:42 +0300 (EEST) Message-ID: <4A3BA482.1090202@aboutsupport.com> Date: Fri, 19 Jun 2009 17:45:22 +0300 From: Peter User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Nikos Vassiliadis References: <4A3B66ED.40506@gmx.com> In-Reply-To: <4A3B66ED.40506@gmx.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 14:45:41 -0000 Nikos Vassiliadis wrote: > Hi, > > This has nothing to do with FreeBSD. I have to buy 3-4 24/16 > port ethernet switches for a school. Could you recommend a > brand/model? I don't know if such recommendations should be > done off list? Netgear - really cheap, no problems with them if inside(normal humidity and temperature). Peter From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:54:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D635C1065670 for ; Fri, 19 Jun 2009 14:54:43 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 516438FC1A for ; Fri, 19 Jun 2009 14:54:43 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by bwz9 with SMTP id 9so274002bwz.43 for ; Fri, 19 Jun 2009 07:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MA/BdzGNz7RKVDvlKzdwhzaDVR63b8BEo2kXNKDsJHs=; b=IwE8VPm8+K1Bf2mpqBCybhGJo8jWPojaBw5+d+BE7TElYdq/kdiXbplHF5GoxySmIi B2PvfSGk0y8WDiSgPhOVrP8MyJ/ycQsg7wRM7iz1M6gGTz+Ym42CiJtTbtNt/Vreh36l sK0nzqhXkSyR21MuCGtZkiYNYM7sGYmalUCew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dTbUEwB0CiE1Fv8jl9MgOt19ICpClFuZC6w12MB0sV/3sU1vtP423pVKVe/FDyLA1g Lrs3BjZgXmT87EHLgw6A1DtBZS6Tv5rPU1Ep++o59YALR8bhcW33ELkSeU9uI/td3Q89 +HO3liucynl6CFpEN9q+g2Ugqdp5/KrBFn5GQ= MIME-Version: 1.0 Received: by 10.223.108.75 with SMTP id e11mr2427855fap.97.1245423282225; Fri, 19 Jun 2009 07:54:42 -0700 (PDT) In-Reply-To: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de> References: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de> Date: Fri, 19 Jun 2009 09:54:42 -0500 Message-ID: From: Andrew Gould To: Jochen Neumeister Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: WLAN with Thinkpad T41 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 14:54:44 -0000 On Fri, Jun 19, 2009 at 9:09 AM, Jochen Neumeister wrote: > Hi there, > > I have a Thinkpad T41 with FreeBSD 7.2/i386 > > With dmesg i see the wlan card: > > ath0: mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on > pci2 ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:05:4e:48:14:ab > ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 > > > I read the handbook, and this is me /boot/loader.conf: > > if_ath_load="YES" > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES" > > > This entry i made in the rc.conf for the ath0: > > ifconfig_ath0="inet 192.168.0.13 netmask 255.255.255.0" > > > Now ifconfig ath0 say: > > ath0: flags=8843 metric 0 mtu > 1500 ether 00:05:4e:48:14:ab > inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 124 (5620 Mhz 11a) > authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst > bintval 0 > > > and this is me /etc/wpa_supplicant.conf: > > network={ > ssid="linksys_SES_29944" > psk="xxxxxxxxxxx" > } > > > ifconfig ath0 list scan found me accesspoint: > > linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA > > > Now I connect: > > goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944' > freq=2462 MHz) Associated with 00:06:25:4b:0d:95 > WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP > GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95 > completed (auth) [id=0 id_str=] > > > ifconfig ath0 say, I am connected: > > goofy# ifconfig ath0 > ath0: flags=8843 metric 0 mtu > 1500 ether 00:05:4e:48:14:ab > inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) > status: associated > ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95 > authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5 > bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 > roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL > > > but, now ping, now open a Internetsite in firefox, nothing. > > But i can go for a DHCP-IP: > > goofy# dhclient ath0 > DHCPREQUEST on ath0 to 255.255.255.255 port 67 > DHCPACK from 192.168.0.2 > bound to 192.168.0.234 -- renewal in 43200 seconds. > > > When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss. > > > The Laptop works finde with LAN, but not with WLAN. > _______________________________________________ Is LAN still configured for this network? (Is the laptop confused about which interface to ping through?) Are the contents in /etc/resolv.conf correct? Was the gateway properly set? (I expect that dhcp set the DNS and gateway values correctly; but it's always good to check.) Good luck. Andrew From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 15:09:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E9F3106564A for ; Fri, 19 Jun 2009 15:09:01 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id D023C8FC1B for ; Fri, 19 Jun 2009 15:09:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm12 with SMTP id 12so354758fxm.43 for ; Fri, 19 Jun 2009 08:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=huolP48gkMBzAIMbhpL6+bXv8bW2QKW2qoy8Q+zFZRs=; b=Et7FY6mVSERHWlVhswWdpScxe0RXOQhH+mh6C+xogRphoB0gAtsxJSiW0RHEvsUhEX 5TVrI0rG5FpVyGlXjYroDP+D96Xy6jfExFPpM/xp/5ZvUARfa8sW7HzO8L6zM/Jfh2j1 mc/KrrDCC25qegKtY4Cg4qjV4QhDKmZnx9LWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uOJ9X4DfVl2Djl5oBrlbzACIBbcuvjj0YrWynpEyqoLG0wWEe75Sk4mxQNtPJyhUOC i0sw29JaMXZXOdisuzZreXhr0nRB1xzkW8Xi2Uvixhgbtr+13horvrZPC0uu1YmWKWF9 9DFKV56ZzZud3/fqEuaw4yMUrpSVZnwNaiOSo= MIME-Version: 1.0 Received: by 10.204.116.9 with SMTP id k9mr2627515bkq.164.1245424139715; Fri, 19 Jun 2009 08:08:59 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jun 2009 17:08:59 +0200 Message-ID: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> From: "Paul B. Mahol" To: Carmel NY Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: gmplayer cannot show video in xfce4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 15:09:01 -0000 On 6/19/09, Carmel NY wrote: > When I start mplayer (gmplayer) from within xfce4 and attempt to play a > video, I receive an error message. The audio portion works fine however. > > The screen-shot of the error message is viewable here: > > http://imagebin.ca/view/OdMEXlY.html > > What is strange is that the video was working until I modified the > PolicyKit.conf file. This is the modification I added. I substituted > 'me' for the actual users name. > > > > > > > > > > > > > > > > > > If I remove the modifications, I cannot mount a CD. Is there something > else I should be or not be doing here? > Somehow hal manages to break -vo xv ? Try with mplayer and see full error message. What video driver are you using? -- Paul From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 15:11:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5B4106567F for ; Fri, 19 Jun 2009 15:11:10 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id D18028FC14 for ; Fri, 19 Jun 2009 15:11:09 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: by ewy8 with SMTP id 8so2122370ewy.43 for ; Fri, 19 Jun 2009 08:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=d0GJohC9aWkm8i+7mXSfVDREJ8l+V9bHpCdGecW136A=; b=MGM7tEDKTFAlGuhY9inuy6B5vYJqjhFXw8QW1HjHXKkMNzQDni+n7z3BxYbeJr9F1g tsRi17553X2CAhaU7trGaFoCwKJVUH3Ybu8fz4bsWYx5jjILOJxEA00yDgPX8JOz4GzE hvzfjQVuTiT1SnjeEOh2pNgn3rstm4owiGfSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=EDaPXpL/IaD0sjzlSNaeDBhANxNjvcHPG++iXLnZOJxUCq2VS9orf27SWjKzeZveAz W7PECUHp8TCYxCl9eDLxBlMx+aAFpMmanWJSlwGzC5zjPAQMAwEheRoDYvTZu8XqtDII LnYUG9JeatsjawKGQn3NiUzdsF/+vZ82D8ApY= MIME-Version: 1.0 Sender: michael.grant@gmail.com Received: by 10.216.10.210 with SMTP id 60mr1081204wev.81.1245423003181; Fri, 19 Jun 2009 07:50:03 -0700 (PDT) Date: Fri, 19 Jun 2009 16:50:02 +0200 X-Google-Sender-Auth: 9acb87ed92e1c6a9 Message-ID: <62b856460906190750v47f673f1i5b7a9adcc6fa969d@mail.gmail.com> From: Michael Grant To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: automount and sshfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 15:11:10 -0000 sshfs is a file system that lets you mount a remote ftp dir on a directory using fuse. I have it working fine on freebsd. Instead of using the mount command to mount the fs, it's mounted by running the sshfs command. Is there some generic thing like amd that is not NFS specific that I could use to automatically run the sshfs command when something accessed a particular directory? Michael Grant From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 15:13:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 690D1106564A for ; Fri, 19 Jun 2009 15:13:42 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.freebsd.org (Postfix) with ESMTP id 258698FC0C for ; Fri, 19 Jun 2009 15:13:42 +0000 (UTC) (envelope-from hmj@elgert.dk) Received: from mugin-LAN.localhost (0x573c4f3b.nivaanqu1.dynamic.dsl.tele.dk [87.60.79.59]) by pfepb.post.tele.dk (Postfix) with ESMTP id 0E451F8403D for ; Fri, 19 Jun 2009 17:13:40 +0200 (CEST) Received: from mugin-LAN.localhost (localhost [127.0.0.1]) by mugin-LAN.localhost (8.14.3/8.14.3) with ESMTP id n5JFDeE5000993 for ; Fri, 19 Jun 2009 17:13:40 +0200 (CEST) (envelope-from hmj@mugin-LAN.localhost) Received: (from hmj@localhost) by mugin-LAN.localhost (8.14.3/8.14.3/Submit) id n5JFDeDc000992 for freebsd-questions@freebsd.org; Fri, 19 Jun 2009 17:13:40 +0200 (CEST) (envelope-from hmj) Date: Fri, 19 Jun 2009 17:13:39 +0200 From: Harry Matthiesen Jensen To: freebsd-questions@freebsd.org Message-ID: <20090619151339.GA960@mugin-LAN.localhost> References: <20090619124047.GA1556@mugin-LAN.localhost> <20090619130957.GB43589@ei.bzerk.org> <20090619133138.GA28175@mugin-LAN.localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090619133138.GA28175@mugin-LAN.localhost> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: The 'uname' output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 15:13:42 -0000 On Fri, Jun 19, 2009 at 03:31:38PM +0200, Harry Matthiesen Jensen wrote: > > > I have wondered why my build number in the 'uname' output not is > > > incrementet for each build I make of the system, it shows '#0' > > > all the time. > > > > Do you remove /usr/obj between builds? > > Yes, and going back in time, it match approximately when I started to > clean /usr/obj.... hmmm, so I should stop that part of it when Thanks Ruben, now it works ;-) -- Mvh/Brgds Harry FreeBSD 8.0-CURRENT #1: Compiled at Fri Jun 19 16:51:37 CEST 2009 i386 From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 15:48:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138B11065672 for ; Fri, 19 Jun 2009 15:48:59 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s21.blu0.hotmail.com (blu0-omc4-s21.blu0.hotmail.com [65.55.111.160]) by mx1.freebsd.org (Postfix) with ESMTP id B60E58FC08 for ; Fri, 19 Jun 2009 15:48:58 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP87 ([65.55.111.137]) by blu0-omc4-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 08:48:58 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP87.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 08:48:57 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 921CC228A5 for ; Fri, 19 Jun 2009 11:48:56 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 5547F22889 for ; Fri, 19 Jun 2009 11:48:56 -0400 (EDT) Date: Fri, 19 Jun 2009 11:48:56 -0400 From: Carmel NY To: freebsd-questions@freebsd.org In-Reply-To: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> References: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 19 Jun 2009 15:48:58.0016 (UTC) FILETIME=[752AC200:01C9F0F5] Subject: Re: gmplayer cannot show video in xfce4 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, 19 Jun 2009 15:48:59 -0000 On Fri, 19 Jun 2009 17:08:59 +0200 "Paul B. Mahol" wrote: > Somehow hal manages to break -vo xv ? Try with mplayer and see full > error message. > What video driver are you using? I am using the 'nv' driver. Using mplayer from the console does not produce an error. Of course, all I get is the audio track. No error message is displayed. So, if I use hal I lose the ability to view videos? That kind of sucks. Obviously, someone must know about it so I assume submitting a bug report would be a waste of time. -- Carmel From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 16:55:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64825106564A for ; Fri, 19 Jun 2009 16:55:44 +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 23BC78FC1B for ; Fri, 19 Jun 2009 16:55:44 +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 35BB81900F for ; Fri, 19 Jun 2009 16:55:43 +0000 (GMT) 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.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA for ; Fri, 19 Jun 2009 16:55:43 +0000 (GMT) Date: Fri, 19 Jun 2009 17:55:37 +0100 From: Bruce Cran To: freebsd-questions@freebsd.org Message-ID: <20090619175537.36128909@gluon.draftnet> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 16:55:44 -0000 I've been trying to run a buildworld using the clangbsd branch on my G4 iBook, but without success. I'm currently running a fairly up-to-date HEAD: FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009 brucec@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc The problem I see is that after a few hours of running buildworld, when it starts building clang itself, 'as' crashes with a signal 11. I'm wondering if this is the normal case of bad memory/HDD/CPU or something else because it also causes several other processes to crash, notably dhclient and sendmail, but I've also seen tcsh crash too. I created a test program which allocated 500MB memory to force the system into swap (my iBook only has 512MB). After a few minutes dhclient crashed but the test program kept running. Is this what normally happens when hardware's going bad? -- Bruce From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:05:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17F45106564A for ; Fri, 19 Jun 2009 17:05:15 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 953B28FC13 for ; Fri, 19 Jun 2009 17:05:14 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so355930bwz.43 for ; Fri, 19 Jun 2009 10:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mCSewoGJvcOwTwRNtz6KAcB5psY/3VHZA8WKGcJLD4k=; b=k1JnzTbBNhpONS3nhhV+M6L2fUo48QfYrlqpo8G7Zy227E7uLYikFu2oQCOGo6K2BV RUT2VMkXg/lljPvBAvuLT2z+Mes8G9aUcEizLtX+/Nk7YsF6x1DYgvlW7gDjIYaNWUTn GcXsh6nQyZHkt9J7eKthPkhFIiPTXArWXSHHc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Xt6KhZWzmDYhM7dA4uMkFMFoXcK027jVLbzbaWo6ZobUtnkpi7WWnmGGeYlgsUlAAh IoPo5MI4+vKydVCQVw15KWB7fUMfLA6JxitFwlrpFAt0Fge84Ms2IjSDx1B6ZVX9aCqr 5ws0N0jWo/gvo1akApOjmCa1gZ29fu1Q6wMUw= MIME-Version: 1.0 Received: by 10.204.55.142 with SMTP id u14mr2778573bkg.121.1245431113539; Fri, 19 Jun 2009 10:05:13 -0700 (PDT) In-Reply-To: References: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> Date: Fri, 19 Jun 2009 19:05:13 +0200 Message-ID: <3a142e750906191005p4acad738pd84cf185c2256fc8@mail.gmail.com> From: "Paul B. Mahol" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: gmplayer cannot show video in xfce4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 17:05:15 -0000 On 6/19/09, Carmel NY wrote: > On Fri, 19 Jun 2009 17:08:59 +0200 > "Paul B. Mahol" wrote: > >> Somehow hal manages to break -vo xv ? Try with mplayer and see full >> error message. >> What video driver are you using? > > I am using the 'nv' driver. > > Using mplayer from the console does not produce an error. Of course, > all I get is the audio track. No error message is displayed. Not from console; from xterm. And if xv is not available, x11 is just fine(but slow). -- Paul From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:17:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8AA106564A for ; Fri, 19 Jun 2009 17:17:09 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id 30D168FC15 for ; Fri, 19 Jun 2009 17:17:08 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm12 with SMTP id 12so432385fxm.43 for ; Fri, 19 Jun 2009 10:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6HU0A5DQj9ZXYivsT0ulBTiu0/G5mMtPN1LD1+Vvu6w=; b=HxBzAhWdcBeK5K23gzUu9ZtzvdUebtFNPjtboSuN9JwkvhEcJfxcXIGuW6kweExlts 8BC2lFIspOqBVMWw0YGbZkmNcYMGsA2CL7bXbG/U6XgES1NtTM1gLwhkRzl+9CXONXRr JJA899LlDZqm6RUWCeBmg2fc+XDQ1pUq8pPg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cV6EFYSaGhZ0jSz4v/JiXf1ooYjyxaBdLgW1Ed6yeLQ+fvmzVfPNBINoO2BEJkdO5W Ag2ha92CouGinpuJtTqJWnvrTYt9MhoKKT4Q23Q6og3UaqhjM5noBSwermFmdvC+4Nf1 lYIS648DpHTcMvMPCN5DuX+4twOpi4miM/Isw= MIME-Version: 1.0 Received: by 10.204.116.15 with SMTP id k15mr2737791bkq.118.1245431827805; Fri, 19 Jun 2009 10:17:07 -0700 (PDT) In-Reply-To: <20090619175537.36128909@gluon.draftnet> References: <20090619175537.36128909@gluon.draftnet> Date: Fri, 19 Jun 2009 13:17:07 -0400 Message-ID: <4ad871310906191017lddaaba3nfce8bb820af44e0c@mail.gmail.com> From: Glen Barber To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 17:17:10 -0000 On Fri, Jun 19, 2009 at 12:55 PM, Bruce Cran wrote: > I've been trying to run a buildworld using the clangbsd branch on my > G4 iBook, but without success. I'm currently running a fairly > up-to-date HEAD: > > FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009 > brucec@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc > > The problem I see is that after a few hours of running buildworld, when > it starts building clang itself, 'as' crashes with a signal 11. > > I'm wondering if this is the normal case of bad memory/HDD/CPU or > something else because it also causes several other processes to crash, > notably dhclient and sendmail, but I've also seen tcsh crash too. =A0I > created a test program which allocated 500MB memory to force the system > into swap (my iBook only has 512MB). =A0After a few minutes dhclient > crashed but the test program kept running. =A0Is this what normally > happens when hardware's going bad? > Unfortunately, yes. Does the build fail in the same place everytime? Usually hardware failure will cause randomly placed SIGSEGV errors. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:20:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60C9310656B4 for ; Fri, 19 Jun 2009 17:20:59 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3D98FC26 for ; Fri, 19 Jun 2009 17:20:59 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 125F233C62; Fri, 19 Jun 2009 09:49:06 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 9697333C5B; Fri, 19 Jun 2009 09:49:05 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19003.49536.836196.347170@already.dhcp.gene.com> Date: Fri, 19 Jun 2009 09:49:04 -0700 To: John Almberg In-Reply-To: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> X-Mailer: VM 8.0.12 under 22.3.1 (i386-apple-darwin9.6.0) X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 17:21:00 -0000 John Almberg writes: > I have a client who has an application that he wants to deploy in his > customer's offices as a headless 'appliance'. Basically, just a black > box that you can plug into a Lan, turn it on, and it runs. No floppy > disk or CD, no monitor/keyboard, just remotely managed. > > This application won't store any critical data, so it doesn't need > redundancy. It just needs to be reasonably reliable, compact, and quiet. > > My first recommendation was to use a Mac Mini, but that excellent bit > of hardware was deemed 'not professional enough'. So now I am looking > for a compact pc that can run FreeBSD, of course. I think it probably > just needs a power supply, tiny motherboard with onboard ethernet, > usb, etc., and hard drive. > > If anyone has a recommendation (or if their are any vendors lurking), > please shoot me an email off list. I'll compile a list of > recommendations and post it all at once, in case anyone else is > interested in this. I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE (post 7.2) and the other running FreeNAS. Both work well. I've seen posts from one fellow who's tracking a bug with the vge interface under very heavy load, but both of mine stream music and do Time Machine backups via netatalk without any trouble. Logic Supply has a custom FreeNAS build that recognizes the disks as SATA and that adds support for Gb ethernet to the NIC (rolling in changes from -STABLE to the 6.x series on which the stable FreeNAS is based). http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas-image/ They're not the cheapest place to buy the box, but they're close and they do good support (I'm just a happy customer and I helped with the FreeNAS image, no other association). They're not Living Room quiet, but they're about as unobtrusive as you can get in a little box w/out going fanless. g. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:47:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB30106566C for ; Fri, 19 Jun 2009 17:47:59 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by mx1.freebsd.org (Postfix) with ESMTP id AD4F58FC16 for ; Fri, 19 Jun 2009 17:47:59 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id 5qy01c0080vp7WLA9to0BE; Fri, 19 Jun 2009 17:48:00 +0000 Received: from comcast.net ([98.203.142.76]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id 5tny1c00A1f6R9u8Rtnyy1; Fri, 19 Jun 2009 17:48:00 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 19 Jun 2009 10:47:57 -0700 Date: Fri, 19 Jun 2009 10:47:57 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20090619174756.GA2227@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> <20090618235958.GC96132@comcast.net> <49A3E115-1F48-4123-9DCD-E55A63E4772F@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <49A3E115-1F48-4123-9DCD-E55A63E4772F@identry.com> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 17:48:00 -0000 On Fri 19 Jun 2009 at 07:24:58 PDT John Almberg wrote: > > >Sounds good. They are so inexpensive, I will just give it a whirl and >see if it cuts the mustard. Speed isn't really an issue, since it's >going to be twiddling it's thumbs most of the time. Doesn't really >matter if it takes 10 seconds or 30 minutes to translate the videos. If you try one of the new fanless boards, let me know how it goes. I've been thinking about getting one of those myself. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:55:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8526310656D0 for ; Fri, 19 Jun 2009 17:55:33 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8ED8FC2E for ; Fri, 19 Jun 2009 17:55:32 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 4503 invoked by uid 89); 19 Jun 2009 17:55:55 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 19 Jun 2009 17:55:55 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <19003.49536.836196.347170@already.dhcp.gene.com> References: <94A1EEFE-A341-41C8-A63E-4F9EC1C75670@identry.com> <19003.49536.836196.347170@already.dhcp.gene.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Fri, 19 Jun 2009 13:55:29 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: Compact Freebsd 'appliance' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 17:55:34 -0000 > > I have a couple of Via Artigo a2000 boxes, one running FreeBSD-STABLE > (post 7.2) and the other running FreeNAS. Both work well. I've seen > posts from one fellow who's tracking a bug with the vge interface > under very heavy load, but both of mine stream music and do Time > Machine backups via netatalk without any trouble. Logic Supply has a > custom FreeNAS build that recognizes the disks as SATA and that adds > support for Gb ethernet to the NIC (rolling in changes from -STABLE to > the 6.x series on which the stable FreeNAS is based). > > http://www.logicsupply.com/blog/2009/05/11/custom-a2000-freenas- > image/ > > They're not the cheapest place to buy the box, but they're close and > they do good support (I'm just a happy customer and I helped with the > FreeNAS image, no other association). > > They're not Living Room quiet, but they're about as unobtrusive as you > can get in a little box w/out going fanless. Also very nice looking boxes. Thanks! -- John From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 17:57:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9D6E1065741 for ; Fri, 19 Jun 2009 17:57:08 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 968DD8FC0C for ; Fri, 19 Jun 2009 17:57:08 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from BLU0-SMTP66 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 10:57:08 -0700 X-Originating-IP: [76.23.177.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.23.177.172]) by BLU0-SMTP66.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 10:57:07 -0700 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 4AEFB228CD for ; Fri, 19 Jun 2009 13:57:06 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: carmel_ny@hotmail.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 0E4D0228A5 for ; Fri, 19 Jun 2009 13:57:06 -0400 (EDT) Date: Fri, 19 Jun 2009 13:57:05 -0400 From: Carmel NY To: freebsd-questions@freebsd.org In-Reply-To: <3a142e750906191005p4acad738pd84cf185c2256fc8@mail.gmail.com> References: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> <3a142e750906191005p4acad738pd84cf185c2256fc8@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-OriginalArrivalTime: 19 Jun 2009 17:57:07.0944 (UTC) FILETIME=[5CB8A680:01C9F107] Subject: Re: gmplayer cannot show video in xfce4 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, 19 Jun 2009 17:57:09 -0000 On Fri, 19 Jun 2009 19:05:13 +0200 "Paul B. Mahol" wrote: > Not from console; from xterm. And if xv is not available, x11 is just > fine(but slow). This is everything: MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing Answer_Lady.mpg. MPEG-PS file format detected. VIDEO: MPEG2 320x240 (aspect 2) 25.000 fps 1379.2 kbps (172.4 kbyte/s) ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 320x240 => 320x240 Planar YV12 New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. Now, the video did display and the audio is present. So why does it work from an xterm display but not otherwise? -- Carmel carmel@hotmail.com The man who runs may fight again. Menander From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 18:12:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA261065672 for ; Fri, 19 Jun 2009 18:12:35 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id C0FE08FC1C for ; Fri, 19 Jun 2009 18:12:35 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 19 Jun 2009 12:12:35 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=KoDPwd6_AAAA:8 a=DT5jqCSfWoFBxzAvXoEA:9 a=vr3ka4aTL3a-8FHRJsQA:7 a=8RQxMvPtXS6ydB9DRN5kdwK85gIA:4 Received: from unknown (HELO gom.localdomain) ([70.67.176.112]) by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 19 Jun 2009 12:12:35 -0600 Received: from gom (localhost [127.0.0.1]) by gom.localdomain (Postfix) with ESMTP id D7BA1EC74 for ; Fri, 19 Jun 2009 11:12:34 -0700 (PDT) Date: Fri, 19 Jun 2009 11:12:34 -0700 From: prad To: Message-ID: <20090619111234.6883afd2@gom> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: backdoor threat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 18:12:36 -0000 i just received this 'threat' from someone on a forum: "+1.2507437628 <-- And....,yes of course this is a fax, but I could write and execute a script that would have some real fun with it.. Don't you think. Especially from a BSD server ;) You missed a small back door, if you're nice I'll help you close it. ;)" i am very curious as to what script this person can write to have fun with a fax number. what are they going to do - send me junk faxes instead of junk emails? however, i'm very curious about the back door. what backdoors are there on what is pretty well a freebsd server default setup? i have disabled password access. there are some php forms, but i use the proper way to set variables. are there other things i should be thinking about? -- 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 Fri Jun 19 18:39:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D481065674 for ; Fri, 19 Jun 2009 18:39:37 +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 2B1538FC16 for ; Fri, 19 Jun 2009 18:39:37 +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 1858AEBC0A; Fri, 19 Jun 2009 14:39:36 -0400 (EDT) Date: Fri, 19 Jun 2009 14:39:35 -0400 From: Bill Moran To: prad Message-Id: <20090619143935.6c28be98.wmoran@potentialtech.com> In-Reply-To: <20090619111234.6883afd2@gom> References: <20090619111234.6883afd2@gom> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: backdoor threat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 18:39:37 -0000 In response to prad : > i just received this 'threat' from someone on a forum: Stay off that forum. Sounds annoying to me. > "+1.2507437628 <-- And....,yes of course this is a fax, but I could > write and execute a script that would have some real fun with it.. > Don't you think. Especially from a BSD server ;) > > You missed a small back door, if you're nice I'll help you close it. ;)" > > i am very curious as to what script this person can write to have fun > with a fax number. what are they going to do - send me junk faxes > instead of junk emails? Sure. It costs almost nothing to send a fax message, and he could send it over and over and run you out of paper and ink while you're sleeping. Infantile, yes. > however, i'm very curious about the back door. what backdoors are there > on what is pretty well a freebsd server default setup? i have disabled > password access. there are some php forms, but i use the proper way to > set variables. are there other things i should be thinking about? Sure, there's 1000000000 things. Start by running a nmap scan from a different computer and see what ports are open. Investigate each program listening on those ports to ensure it's properly secured. Making secure web forms is too complex to discuss in a single email. Of course, the "someone" could just be spouting off. A few years ago, I had someone claim that they could break into my server because my ports weren't "stealth" (i.e., because they returned RST packets instead of just dropping the syns). I invited the idiot to prove it by breaking in, which he never accomplished. Some people brag without being able to back it up. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:04:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EA6010656D2 for ; Fri, 19 Jun 2009 19:04:41 +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 2C5758FC29 for ; Fri, 19 Jun 2009 19:04:39 +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 n5JJ4Rt8074620; Fri, 19 Jun 2009 21:04:27 +0200 (CEST) (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 n5JJ4RC7074617; Fri, 19 Jun 2009 21:04:27 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 21:04:26 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <20090619175537.36128909@gluon.draftnet> Message-ID: References: <20090619175537.36128909@gluon.draftnet> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 19:04:41 -0000 > up-to-date HEAD: > > FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009 > brucec@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc > > The problem I see is that after a few hours of running buildworld, when > it starts building clang itself, 'as' crashes with a signal 11. > always at the same point or in random places? if first - it's probably not hardware problem. > I'm wondering if this is the normal case of bad memory/HDD/CPU or > something else because it also causes several other processes to crash, > notably dhclient and sendmail, but I've also seen tcsh crash too. I > created a test program which allocated 500MB memory to force the system > into swap (my iBook only has 512MB). After a few minutes dhclient > crashed but the test program kept running. Is this what normally > happens when hardware's going bad? isn't it going out of swap? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:07:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FCE106571C for ; Fri, 19 Jun 2009 19:07:57 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (beta.hcst.com [192.52.183.241]) by mx1.freebsd.org (Postfix) with ESMTP id 556378FC1A for ; Fri, 19 Jun 2009 19:07:56 +0000 (UTC) (envelope-from vogelke@hcst.com) Received: from beta.hcst.com (localhost [127.0.0.1]) by beta.hcst.com (8.13.8/8.13.8/Debian-3) with ESMTP id n5JJ7ueb022146 for ; Fri, 19 Jun 2009 15:07:56 -0400 Received: (from vogelke@localhost) by beta.hcst.com (8.13.8/8.13.8/Submit) id n5JJ7u8Z022145; Fri, 19 Jun 2009 15:07:56 -0400 Received: by kev.msw.wpafb.af.mil (Postfix, from userid 32768) id 2F839BEE7; Fri, 19 Jun 2009 15:05:55 -0400 (EDT) To: freebsd-questions@freebsd.org In-reply-to: <4A3994BC.1000600@ibctech.ca> (message from Steve Bertrand on Wed, 17 Jun 2009 21:13:32 -0400) Organization: Oasis Systems Inc. X-Disclaimer: I don't speak for the USAF or Oasis. X-GPG-ID: 1024D/711752A0 2006-06-27 Karl Vogel X-GPG-Fingerprint: 56EB 6DBF 4224 C953 F417 CC99 4C7C 7D46 7117 52A0 Message-Id: <20090619190555.2F839BEE7@kev.msw.wpafb.af.mil> Date: Fri, 19 Jun 2009 15:05:55 -0400 (EDT) From: vogelke+unix@pobox.com (Karl Vogel) Subject: Re: Changing my login directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vogelke+unix@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 19:07:58 -0000 >> On Wed, 17 Jun 2009 21:13:32 -0400, >> Steve Bertrand said: S> I've got a couple of jails now that I use exclusively for Perl S> development. As soon as I log into the box via SSH, my first command is S> _always_ "cd devel/something". I'd like to make it so that '~' remains S> /home/steve, but when I log in, I would prefer to be dropped immediately S> into /home/steve/devel. This reminded me of how I deal with lots of directories. If you have a project with files spread all over the place, here's a way to navigate between 20-25 directories with no more than 3-4 keystrokes. First, install the "grabchars" program: http://examples.oreilly.com/upt3/split/grabchars/grabchars/ It's very useful for capturing and validating keystrokes from within a shell script. For example: ans=`grabchars -q'Answer y or n: '` will print "Answer y or n: ", and it will store your reply after pressing just one key, no need to hit return. Combine this with a function to change your current directory and you're in business; it has to be done in a shell function rather than a separate script because it modifies your current shell working directory. Second, create a file holding the directories you use the most: me% cat $HOME/.cdlist 0 /home/vogelke 1 /home/vogelke/today 2 /home/vogelke/notebook/2007/0414/new-homepage ... 8 /doc/html/htdocs/blog/posts 9 /doc/sitelog/server1 a /doc/sitelog/server2 b /doc/sitelog/server3 ... o /home/vogelke/src The first field is any digit, and the lowercase letters a-o. You can use more letters, but I've found 25 choices to be more than sufficient. The second field is the full path to the directory. Finally, make a function using "grabchars" that will display this list, prompt for a single character, and immediately change to that directory. I use "jd" for the function name, but if you're not using the letter 'j' for any commands, you can shorten this to three keystrokes. Here's the function setup for the Korn and bash shells: # Jump to a directory. jd () { clear cat $HOME/.cdlist local prompt="dir: " local ans=`grabchars -d0 -L -c '[0-9a-z]' -q"$prompt"` set X `grep "^$ans" $HOME/.cdlist` case "$#" in (3) cd $3; echo; echo "pwd: `/bin/pwd`" ;; (*) echo no such entry ;; esac } # http://stackoverflow.com/questions/794951/coloring-directory-name-in-ksh # Dump the PS1 stuff if you don't want to change your prompt. chdir () { command cd "$@" CWDH=${PWD%/*} /bin/pwd >> $HOME/.cdlist.new PS1="${CWDH##*/}/${PWD##*/} ->" export PS1 } alias cd=chdir Here's the function setup for the Z-shell: # Jump to a directory. jd () { clear cat $HOME/.cdlist local prompt="dir: " local ans=`grabchars -d0 -L -c '[0-9a-z]' -q"$prompt"` set X `grep "^$ans" $HOME/.cdlist` case "$#" in (3) chdir $3 && echo && echo "pwd: `/bin/pwd`" ;; (*) echo no such entry ;; esac } # This function is run after you change directories. chpwd () { /bin/pwd >> ~/.cdlist.new } To find the most often-used directories, the "chdir" and "chpwd" functions above will store the name of every directory you cd to in "$HOME/.cdlist.new". To find your most popular directories: me% sort ~/.cdlist.new | uniq -c | sort -n | tail -- Karl Vogel I don't speak for the USAF or my company I don't want to achieve immortality through my work; I want to achieve immortality through not dying. --Woody Allen From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:14:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E3FD1065672 for ; Fri, 19 Jun 2009 19:14:24 +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 4B3F68FC0A for ; Fri, 19 Jun 2009 19:14:24 +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 B4A5B1900F; Fri, 19 Jun 2009 19:14:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Fri, 19 Jun 2009 19:14:22 +0000 (GMT) Date: Fri, 19 Jun 2009 20:14:19 +0100 From: Bruce Cran To: Wojciech Puchar Message-ID: <20090619201419.27fcec9b@gluon.draftnet> In-Reply-To: References: <20090619175537.36128909@gluon.draftnet> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 19:14:24 -0000 On Fri, 19 Jun 2009 21:04:26 +0200 (CEST) Wojciech Puchar wrote: > > up-to-date HEAD: > > > > FreeBSD mac.draftnet 8.0-CURRENT #0: Tue Jun 16 22:07:11 BST 2009 > > brucec@mac.draftnet:/usr/obj/usr/src/sys/IBOOK powerpc > > > > The problem I see is that after a few hours of running buildworld, > > when it starts building clang itself, 'as' crashes with a signal 11. > > > always at the same point or in random places? > > if first - it's probably not hardware problem. It's at a random location, but it always happens after the build has been running for a few hours and when it's ended up swapping some processes out of main memory. I've read http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 and wondered if the collatoral is a normal symptom too. > > I'm wondering if this is the normal case of bad memory/HDD/CPU or > > something else because it also causes several other processes to > > crash, notably dhclient and sendmail, but I've also seen tcsh crash > > too. I created a test program which allocated 500MB memory to > > force the system into swap (my iBook only has 512MB). After a few > > minutes dhclient crashed but the test program kept running. Is > > this what normally happens when hardware's going bad? > > isn't it going out of swap? No, it's definitely not running out of swap, since I have 4.5GB available! For example using the test program I allocate 500MB memory; 95MB swap gets used but after a few minutes I get: pid 470 (dhclient), uid 0: exited on signal 11 (core dumped) pid 1002 (sendmail), uid 0: exited on signal 11 pid 1054 (sendmail), uid 0: exited on signal 11 pid 1104 (sendmail), uid 0: exited on signal 11 pid 1156 (sendmail), uid 0: exited on signal 11 pid 1207 (sendmail), uid 0: exited on signal 11 but my test program keeps running: 1227 v1 R+ 2:06.23 /usr/obj/home/brucec/test -- Bruce From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:21:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EBF8106566C for ; Fri, 19 Jun 2009 19:21:03 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE648FC0C for ; Fri, 19 Jun 2009 19:21:02 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by mail-bw0-f213.google.com with SMTP id 9so422396bwz.43 for ; Fri, 19 Jun 2009 12:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uUo8v/PC05pBDvMFt4jaIKTMKMUlSx9ecIO1zCFDYOY=; b=vOx1Vf3yiPsyOaggRQHLJ0Ow7PcxB8FXnt4mMewxytGkLUwCJAkPt2lJP10C2vrJxT +Hv0QFQo63l0gaM11DDv4k3cAyr3nDNNV+T+cuWFGvhLHZbuMVtENS0Q97hbPZ/QJumj tXq8oWiCjcI/Th1JWgolZVQIqbLCS97wz+2Gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IXdVDLb8AyGYCsASjdZjBJR3ITlFUd6Rxn518DAmO7M0iZVID7LyNoEsZNnLn9oJmH 3MkraRivtnD8VHH7UTAwepmJ7wNI3vdOkwjKiSPgKiqmSSU8q3pgaJVHZ3ghmMRvyP26 QU4L4fTKN8vqPFRAr1lndukTgRWOe8sp0fV8c= MIME-Version: 1.0 Received: by 10.204.54.16 with SMTP id o16mr2820102bkg.146.1245439262145; Fri, 19 Jun 2009 12:21:02 -0700 (PDT) In-Reply-To: <20090619201419.27fcec9b@gluon.draftnet> References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> Date: Fri, 19 Jun 2009 15:21:02 -0400 Message-ID: <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> From: Glen Barber To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 19:21:03 -0000 On Fri, Jun 19, 2009 at 3:14 PM, Bruce Cran wrote: > > It's at a random location, but it always happens after the build has > been running for a few hours and when it's ended up swapping some > processes out of main memory. =A0I've read > http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#SIGNAL11 and > wondered if the collatoral is a normal symptom too. > I would suspect hardware. Most probably RAM than anything else initially. Can you run memtest86+? --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 19:35:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388F4106564A for ; Fri, 19 Jun 2009 19:35:11 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id BCC048FC0A for ; Fri, 19 Jun 2009 19:35:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm12 with SMTP id 12so498091fxm.43 for ; Fri, 19 Jun 2009 12:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hbbOH2+onawnZs+K2biPlnXltY4QKjxkdjDufPMIuaw=; b=CLIVYikbdFV9ZOWTc3rMDaDpKMW2QxGkAv89Pc+3a/Ln36LP/vSiEEuj+AJclW6Fho QQIgyE5q7J9I7RsYbfAD1OizFl8RYx+Zyg0JX0key4oJgjbpBA0TSFFsXXz2geebBbBC lXc+8kJyRghmVBmlOE2DJXyUY2/GjBjpvXf60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pJGjTtGY0r5P+qJMQ3GoqULLBSnpeYi/Bn/cRzNMuoQHnFi1pYSOguJXVnLe2tBZmz dtQQZQa/9iDsMKFq0oUKcM7/93ReBON9oqSAYDkyAi1dr1nF11ZVIyxpjJv9JdAXKvg7 symFpou8K6ZZkuI6AP7Huyd5Mz5vyDZHI9IE8= MIME-Version: 1.0 Received: by 10.204.71.82 with SMTP id g18mr2893074bkj.120.1245440109712; Fri, 19 Jun 2009 12:35:09 -0700 (PDT) In-Reply-To: <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> Date: Fri, 19 Jun 2009 15:35:09 -0400 Message-ID: <4ad871310906191235p3cb3b3c0h1ad61e3904e209b9@mail.gmail.com> From: Glen Barber To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 19:35:11 -0000 On Fri, Jun 19, 2009 at 3:21 PM, Glen Barber wrote= : > I would suspect hardware. =A0Most probably RAM than anything else > initially. =A0Can you run memtest86+? > Also, for what it's worth, I had this similar scenario a few years ago. After numerous hardware replacements (RAM, motherboard, etc, etc) it turned out to the the CPU that was the problem. It was bad enough that I couldn't even do a 'portsnap fetch' because the checksum would be incorrectly calculated. --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 20:21:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C52B1065675 for ; Fri, 19 Jun 2009 20:21:25 +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 DBD008FC12 for ; Fri, 19 Jun 2009 20:21:24 +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 E54F51900F; Fri, 19 Jun 2009 20:21:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Fri, 19 Jun 2009 20:21:23 +0000 (GMT) Date: Fri, 19 Jun 2009 21:21:20 +0100 From: Bruce Cran To: Glen Barber Message-ID: <20090619212120.531af76a@gluon.draftnet> In-Reply-To: <4ad871310906191235p3cb3b3c0h1ad61e3904e209b9@mail.gmail.com> References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> <4ad871310906191235p3cb3b3c0h1ad61e3904e209b9@mail.gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 20:21:25 -0000 On Fri, 19 Jun 2009 15:35:09 -0400 Glen Barber wrote: > On Fri, Jun 19, 2009 at 3:21 PM, Glen Barber > wrote: > > I would suspect hardware. =A0Most probably RAM than anything else > > initially. =A0Can you run memtest86+? > > >=20 > Also, for what it's worth, I had this similar scenario a few years > ago. After numerous hardware replacements (RAM, motherboard, etc, > etc) it turned out to the the CPU that was the problem. >=20 > It was bad enough that I couldn't even do a 'portsnap fetch' because > the checksum would be incorrectly calculated. >=20 >=20 Unfortunately memtest86+ runs on x86 hardware and this is a PowerPC iBook. Being Apple hardware there's not much swapping of hardware I can do - I'll run a few more tests but I guess it's probably time to chuck it away. --=20 Bruce From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 20:28:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2EB8106566C for ; Fri, 19 Jun 2009 20:28:32 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f221.google.com (mail-bw0-f221.google.com [209.85.218.221]) by mx1.freebsd.org (Postfix) with ESMTP id 48BC08FC23 for ; Fri, 19 Jun 2009 20:28:31 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz21 with SMTP id 21so16439bwz.43 for ; Fri, 19 Jun 2009 13:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=aUQCGxraifpvApyCXfO1aXL9GzPyLbe+9DmXJ0noTQA=; b=uy+pvEfNvfUECdzx1E/QPDc711MduQGtEBZgXG/A9IkMc4AzK3Q2g6PmvxbJ50AG9x UdvZMmd0Q1RjFxyYFCLK4zjw4Kp8PtuQZD4Vl/X/0HFtS6pWxIoWqNbP0LeQ4OqLEFTv fys84wmEq9+nZWXJBkvpij/i5xsemt+lF2p30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QGB3ZLC5AxCCSSrq67lmMs6yxMeqmW5w+GcNz8IvWBY7g7LPAL17RkoLRqr8ur2FM6 5YYlW+b8x/H+x1kSrOhjtGTUl7uzUlpWrZYbUsTfssrdkCi/63xmgiSphijbEHwfZLax VJK69Q161Lrgp2x/LviCWHL/88d/8RpSd+6Kc= MIME-Version: 1.0 Received: by 10.204.59.76 with SMTP id k12mr2935439bkh.136.1245443310880; Fri, 19 Jun 2009 13:28:30 -0700 (PDT) In-Reply-To: References: <3a142e750906190808r559f2429vdbd5d3d84bbc19ec@mail.gmail.com> <3a142e750906191005p4acad738pd84cf185c2256fc8@mail.gmail.com> Date: Fri, 19 Jun 2009 22:28:30 +0200 Message-ID: <3a142e750906191328v4d1e5fd6m91b9dca20c1d7515@mail.gmail.com> From: "Paul B. Mahol" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: gmplayer cannot show video in xfce4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 20:28:34 -0000 On 6/19/09, Carmel NY wrote: > On Fri, 19 Jun 2009 19:05:13 +0200 > "Paul B. Mahol" wrote: > >> Not from console; from xterm. And if xv is not available, x11 is just >> fine(but slow). > > This is everything: > > MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 75, > Stepping: 2) > CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 > Compiled with runtime CPU detection. > > Playing Answer_Lady.mpg. > MPEG-PS file format detected. > VIDEO: MPEG2 320x240 (aspect 2) 25.000 fps 1379.2 kbps (172.4 kbyte/s) > ========================================================================== > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough > VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES) > Could not find matching colorspace - retrying with -vf scale... > Opening video filter: [scale] > The selected video_out device is incompatible with this codec. > Try appending the scale filter to your filter list, > e.g. -vf spp,scale instead of -vf spp. > VDecoder init failed :( > Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b > Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) > ========================================================================== > ========================================================================== > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 > AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) > ========================================================================== > AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) > Starting playback... > VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12) > VDec: using Planar YV12 as output csp (no 0) > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. > VO: [xv] 320x240 => 320x240 Planar YV12 > New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 0 0 > Please supply the text font file (~/.mplayer/subfont.ttf). > subtitle font: load_sub_face failed. > > > Now, the video did display and the audio is present. So why does it work > from an xterm display but not otherwise? And how gmplayer can have anything to do with hal? >From other perspective; gmplayer is no longer maintained and probably will be removed in future, users should switch to smplayer. -- Paul From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 20:42:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 922041065677 for ; Fri, 19 Jun 2009 20:42:38 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0A68FC12 for ; Fri, 19 Jun 2009 20:42:38 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 4C36C418A5FC; Fri, 19 Jun 2009 13:42:38 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, 19 Jun 2009 13:42:37 -0700 Date: Fri, 19 Jun 2009 13:42:37 -0700 From: Jason To: Martin Thomas Message-ID: <20090619204237.GA817@eggman.experts-exchange.com> References: <848911.46873.qm@web23902.mail.ird.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <848911.46873.qm@web23902.mail.ird.yahoo.com> X-Operating-System: FreeBSD 7.1-RELEASE-p6 EGGMAN X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 20:42:38 -0000 I used SystemImager for Linux installs, and I was curious about doing something similar for FreeBSD. By chance, I ran across this today, and now I am very excited about trying it out. farbot port http://code.google.com/p/farbot/ -jgh On Fri, Jun 19, 2009 at 11:01:42AM +0000, Martin Thomas thus spake: > >Hello list, > >I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. > >Does anybody has experience with that matter and can provide some tools. > >Martin > > > > > >_______________________________________________ >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 Jun 19 20:58:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EE77106564A for ; Fri, 19 Jun 2009 20:58:05 +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 7D75D8FC12 for ; Fri, 19 Jun 2009 20:58:04 +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 n5JKvtcx075072; Fri, 19 Jun 2009 22:57:55 +0200 (CEST) (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 n5JKvt7X075069; Fri, 19 Jun 2009 22:57:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 22:57:55 +0200 (CEST) From: Wojciech Puchar To: Bruce Cran In-Reply-To: <20090619201419.27fcec9b@gluon.draftnet> Message-ID: References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 20:58:05 -0000 >>> The problem I see is that after a few hours of running buildworld, >>> when it starts building clang itself, 'as' crashes with a signal 11. >>> >> always at the same point or in random places? >> >> if first - it's probably not hardware problem. > > It's at a random location, but it always happens after the build has > been running for a few hours and when it's ended up swapping some > processes out of main memory. I've read so it is hardware problem. As it start crashing when swap is used, it may be not memory but chipset problem - works fine until disk I/O is used. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 20:58:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84221106568E for ; Fri, 19 Jun 2009 20:58:30 +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 B92BA8FC19 for ; Fri, 19 Jun 2009 20:58:29 +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 n5JKwLNj075079; Fri, 19 Jun 2009 22:58:21 +0200 (CEST) (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 n5JKwKwQ075076; Fri, 19 Jun 2009 22:58:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 22:58:20 +0200 (CEST) From: Wojciech Puchar To: Glen Barber In-Reply-To: <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> Message-ID: References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Bruce Cran , freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 20:58:31 -0000 > > I would suspect hardware. Most probably RAM than anything else > initially. Can you run memtest86+? on Mac? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 21:00:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D5561065672 for ; Fri, 19 Jun 2009 21:00:16 +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 D2AE78FC08 for ; Fri, 19 Jun 2009 21:00:01 +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 n5JKxo6n075106; Fri, 19 Jun 2009 22:59:50 +0200 (CEST) (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 n5JKxnXB075103; Fri, 19 Jun 2009 22:59:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 22:59:49 +0200 (CEST) From: Wojciech Puchar To: Jason In-Reply-To: <20090619204237.GA817@eggman.experts-exchange.com> Message-ID: References: <848911.46873.qm@web23902.mail.ird.yahoo.com> <20090619204237.GA817@eggman.experts-exchange.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Martin Thomas , freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 21:00:17 -0000 > I used SystemImager for Linux installs, and I was curious about doing > something similar for FreeBSD. > > By chance, I ran across this today, and now I am very excited about trying > it out. > > farbot port > looks like you - as most people - like to make your life complex. unix already have all needed tools, very simple and efficient. there is tar, dump, restore, dd etc.. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 21:01:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79FA510656B7 for ; Fri, 19 Jun 2009 21:01:13 +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 1A32E8FC1D for ; Fri, 19 Jun 2009 21:01:11 +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 n5JL16ks075132; Fri, 19 Jun 2009 23:01:06 +0200 (CEST) (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 n5JL16cQ075129; Fri, 19 Jun 2009 23:01:06 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 19 Jun 2009 23:01:06 +0200 (CEST) From: Wojciech Puchar To: =?ISO-2022-JP?Q?Odhiambo__=1B$B%o%7%s%H%s=1B=28J?= In-Reply-To: <991123400906190634i1b4ce362g9db692c4d11d8f08@mail.gmail.com> Message-ID: References: <848911.46873.qm@web23902.mail.ird.yahoo.com> <991123400906190634i1b4ce362g9db692c4d11d8f08@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 21:01:13 -0000 >>> similar for FreeBSD too. So far I only found a guide for jumpstart. >>> >> simply install on one, tar it up and untar on each other, using PXE just to >> boot anything. > > > Wojciech, > > That is true, yes, but you have not answered the OPs question. Yes i did - it is the way of doing repetitive installations on many machines. Actually most simple because it uses unix tools that was invented >30 years ago :) From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 21:07:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9D71065672 for ; Fri, 19 Jun 2009 21:07:58 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5FF8FC15 for ; Fri, 19 Jun 2009 21:07:57 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm12 with SMTP id 12so535134fxm.43 for ; Fri, 19 Jun 2009 14:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=28UR7nv6lUGJViLA1QYrcjor7fk1BP4M58CtKAflqnM=; b=fZDomj9N2srVvYrbuoZAGzVxD0I8ghOKjQCRMn+sknxl9qiU9ODzYbIFTjKSAn3KR+ /4FYYBh0gKUx0bvRaV33EJxNxGjjEWGElUXIDbYJzposTxzVYPX9myyov7QGbXI4CPts 41HWQ9xACVCVZS9pBuo4AnzzO59r0WyTecn8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fPs08mDsJg/k7Up/nLFlI5of0V+F/xxB3vVb6M+np5vxwNS3v4FUWGOyt9SaAczDil ASroVQirdl/7/VvkRmNaI0SXfLt8aP7LwMVuvkWiKQtLQYhYYr6Np8+hFdu1DAC2Scm1 ryVwGZuKFZTW/+01PIkk9Gho5FZQc9YrpJ7ME= MIME-Version: 1.0 Received: by 10.204.112.11 with SMTP id u11mr2945203bkp.134.1245445676646; Fri, 19 Jun 2009 14:07:56 -0700 (PDT) In-Reply-To: <20090619212120.531af76a@gluon.draftnet> References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> <4ad871310906191235p3cb3b3c0h1ad61e3904e209b9@mail.gmail.com> <20090619212120.531af76a@gluon.draftnet> Date: Fri, 19 Jun 2009 17:07:56 -0400 Message-ID: <4ad871310906191407x44e02d9bpe70cca0534151147@mail.gmail.com> From: Glen Barber To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 21:07:58 -0000 On Fri, Jun 19, 2009 at 4:21 PM, Bruce Cran wrote: > > Unfortunately memtest86+ runs on x86 hardware and this is a > PowerPC iBook. Yeah... I apparently had already forgotten it was a PPC machine. Ooops. :) -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 21:13:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCDB71065675 for ; Fri, 19 Jun 2009 21:13:07 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8078FC0C for ; Fri, 19 Jun 2009 21:13:07 +0000 (UTC) (envelope-from pgiessel@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from spool002.mac.com ([10.150.69.52]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KLI0034R89VXGA0@asmtp011.mac.com> for freebsd-questions@freebsd.org; Fri, 19 Jun 2009 14:13:07 -0700 (PDT) Received: from webmail077 ([10.13.128.77]) by spool002.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KLI0069C89U7N40@spool002.mac.com>; Fri, 19 Jun 2009 14:13:07 -0700 (PDT) Date: Fri, 19 Jun 2009 13:13:06 -0800 From: Peter Giessel To: Bruce Cran Message-id: <15813805710734679096654873509767855545-Webmail@me.com> In-reply-to: <20090619212120.531af76a@gluon.draftnet> References: <20090619175537.36128909@gluon.draftnet> <20090619201419.27fcec9b@gluon.draftnet> <4ad871310906191221q2aadc509sfbc41eb6e8db00e8@mail.gmail.com> <4ad871310906191235p3cb3b3c0h1ad61e3904e209b9@mail.gmail.com> <20090619212120.531af76a@gluon.draftnet> Received: from [69.178.5.90] from webmail.me.com with HTTP; Fri, 19 Jun 2009 13:13:06 -0800 X-Originating-IP: 69.178.5.90 Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: Processes dying with signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 21:13:08 -0000 On Friday, June 19, 2009, at 12:21PM, "Bruce Cran" wrote: >Unfortunately memtest86+ runs on x86 hardware and this is a >PowerPC iBook. Being Apple hardware there's not much swapping of >hardware I can do - I'll run a few more tests but I guess it's probably >time to chuck it away. Try running Memtest OS X: http://www.memtestosx.org/joomla/index.php You could also try Apple Hardware Test (available on the original system disk - hold down "Option" on boot) to test all of the 'book's hardware. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 22:06:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8EA21065674 for ; Fri, 19 Jun 2009 22:06:02 +0000 (UTC) (envelope-from marthom@ymail.com) Received: from web23908.mail.ird.yahoo.com (web23908.mail.ird.yahoo.com [87.248.115.96]) by mx1.freebsd.org (Postfix) with SMTP id 551898FC0C for ; Fri, 19 Jun 2009 22:06:02 +0000 (UTC) (envelope-from marthom@ymail.com) Received: (qmail 43029 invoked by uid 60001); 19 Jun 2009 22:05:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1245449159; bh=XTTo3LyeGF7TrHRGoLxusQhCDweEgCMOEDejAKB2jcE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BbL9dqgwE+L7PyIhdPrzfh6maQhqSOUiG5GT0HSmjf2AvZKI7verDezt1Au6r7bXHHYeWeB3Vk7S7glQH7iJ5xDz1BX0BVwrTzdDqI8rOQ9xO63ACcwxpyVtvl8otdEGhVzyqDmMOCS7euKZ81S23Mgd8SbBvvxHmqzFASeFE9A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=htE7WWByZ6Ahnb7aDzJHmxjsEsbEg4XzSsOa8KvVgbOQUPJk/WsBtH8kpp57giE/6WrOrxYPI1pk4T6L6KbTGBcRiJxWwE8ON24+w/9N4aL7hiyUQT1ealv3MwpjUSR0wi3DenYkTQxfEaKr7q3Gey+fLHt5YMj6yl7AvmCK7ak=; Message-ID: <770828.24190.qm@web23908.mail.ird.yahoo.com> X-YMail-OSG: ._IMOyAVM1me8rcfT4l7ZWysCZ2iCSxBWWOf4gDvzj6JTwtrTqCy8SGIDflwfo.r9Uj0FWFUC8xGVyq04FLyJki6uyNZe9E_dAEnytUJmLWHd6TY290zsbPEvsoZjV0Uec8V9c9KaLKd8xAvAZ6usmgLCptnCvzEAKgWUvAoxutm4UAg_vf8pTWs75iDajZcgBTVcXKl01tTxsJKUq0INdWBInN0_GjRb.I3o2JiIr2iKgHTbDgTaGqrP8fIO4hze2D3uNhKHsI8L1NFnQ-- Received: from [92.73.195.168] by web23908.mail.ird.yahoo.com via HTTP; Fri, 19 Jun 2009 22:05:59 GMT X-Mailer: YahooMailClassic/5.4.17 YahooMailWebService/0.7.289.15 Date: Fri, 19 Jun 2009 22:05:59 +0000 (GMT) From: Martin Thomas To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: freebsd mass deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 22:06:03 -0000 Thanks for the advice given so far, I will have a look at them.=0A=0A@Wojci= ech:=0A=0AYour approach seems too simplistic to me. It might only work unde= r very specific circumstances but is impractical otherwise.=0A=0AConsider, = for example, a network consisting of machines of different types=0A(worksta= tions, web servers, mail servers, ...) with different hardware=0A(different= number of disks, different processor types, ...) and different=0Aconfigura= tion needs (file system, software, access rights, ...). Obviously, =0Ayou c= annot simply dd one system to the other. And if you want to change=0Asome c= onfiguration files on your machines after installation (I do know=0Acfengin= e, by the way) or want to install additional software on some of=0Athem, ar= e you still convinced of your approach? =0A=0AUnix tools are great, but you= r comment looks like an advice to use a swiss army knife for performing a b= ypass surgery ;).=0A=0AMartin=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 22:07:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F4A10656C4 for ; Fri, 19 Jun 2009 22:07:51 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f221.google.com (mail-bw0-f221.google.com [209.85.218.221]) by mx1.freebsd.org (Postfix) with ESMTP id 597D68FC14 for ; Fri, 19 Jun 2009 22:07:50 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz21 with SMTP id 21so51500bwz.43 for ; Fri, 19 Jun 2009 15:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=OdIsxxL9ICdBAcszMkosMh7Bj1C88kQTYomEdzbTZhM=; b=ryT1n2wl0XK5g9tcQNjaH7XgqIZalQ3+cMaiqG3PXey2dS89t38Z5jfIdWXQiDeQa8 iT5qUFJjRBH5nSDSX8YX3+rpVVy+u2ACEfGBXIQRatsGg/m+o2RrrLzvHQ37cap2jV6/ Z+YZov4+TUkDDmvQdW1OhxQ8CXAniAn4xQD3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=SFgOI2VC+YipnhJG2alru/yWs7fWnjT5CzQ9QrJEuu9fbnr6F6z9WoTa1nVxi06nJG vNRIhQC4U1ubBJ3e1bmfPreVPF+QFQDz4hPqgl31dR3sFkEZGird5ItgX50rlzFo7k1c Zq7CeXUtiKvmAmZClf4xQUL1eD3qgiUp1uXeo= Received: by 10.103.217.5 with SMTP id u5mr2176685muq.43.1245449270112; Fri, 19 Jun 2009 15:07:50 -0700 (PDT) Received: from ?192.168.220.100? (Xa0ed.x.pppool.de [89.59.160.237]) by mx.google.com with ESMTPS id g1sm10653969muf.56.2009.06.19.15.07.49 (version=SSLv3 cipher=RC4-MD5); Fri, 19 Jun 2009 15:07:49 -0700 (PDT) From: Mister Olli To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Sat, 20 Jun 2009 00:07:42 +0200 Message-Id: <1245449262.26909.13.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Subject: ZFS and block device replication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 22:07:52 -0000 Hi, I'm starting digging into FreeBSD and ZFS and came up with a question which is bothering me. I'm thinking about placing block device replication (e.g. via DRDB or NDB) under a ZFS/ ZVOL. It would improve replication as it's done immediately, not within a time-frame (as the 'zfs [send/receive]' approach would. Imagine I have an active/ passive setup. would all the ZFS volumes and ZVOLs be available on the passive node, even if I haven't configured them explicitly? Regards, --- Mr. Olli From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 23:12:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B901065674 for ; Fri, 19 Jun 2009 23:12:29 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 476638FC14 for ; Fri, 19 Jun 2009 23:12:29 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (8.13.8/8.13.8) with ESMTP id n5JNC0NF005919; Fri, 19 Jun 2009 18:12:11 -0500 (CDT) (envelope-from Ggatten@waddell.com) Received: from mailhost2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C0407B581E; Fri, 19 Jun 2009 18:12:00 -0500 (CDT) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost2.waddell.com (Postfix) with ESMTP id 98B5DB583B; Fri, 19 Jun 2009 18:12:00 -0500 (CDT) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Jun 2009 18:12:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 19 Jun 2009 18:11:59 -0500 Message-ID: <70C0964126D66F458E688618E1CD008A0793F04D@WADPEXV0.waddell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: off topic: unmanageable switch? Thread-Index: Acnw7MMNQ6HKnwlfSMyn4CY5x3nZTAARpXxB From: "Gary Gatten" To: , X-OriginalArrivalTime: 19 Jun 2009 23:12:00.0206 (UTC) FILETIME=[59630EE0:01C9F133] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 23:12:29 -0000 TGlua3N5cywgRExpbmssIGV0Yy4gQ2hlYXAgaXMgY2hlYXANCg0KLS0tLS0gT3JpZ2luYWwgTWVz c2FnZSAtLS0tLQ0KRnJvbTogb3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgPG93 bmVyLWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPg0KVG86IE5pa29zIFZhc3NpbGlhZGlz IDxudmFzczk1NzNAZ214LmNvbT4NCkNjOiBGcmVlQlNEIFF1ZXN0aW9ucyBNYWlsaW5nIExpc3Qg PGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPg0KU2VudDogRnJpIEp1biAxOSAwOTo0NToy MiAyMDA5DQpTdWJqZWN0OiBSZTogb2ZmIHRvcGljOiB1bm1hbmFnZWFibGUgc3dpdGNoPw0KDQpO aWtvcyBWYXNzaWxpYWRpcyB3cm90ZToNCj4gSGksDQo+IA0KPiBUaGlzIGhhcyBub3RoaW5nIHRv IGRvIHdpdGggRnJlZUJTRC4gSSBoYXZlIHRvIGJ1eSAzLTQgMjQvMTYNCj4gcG9ydCBldGhlcm5l dCBzd2l0Y2hlcyBmb3IgYSBzY2hvb2wuIENvdWxkIHlvdSByZWNvbW1lbmQgYQ0KPiBicmFuZC9t b2RlbD8gSSBkb24ndCBrbm93IGlmIHN1Y2ggcmVjb21tZW5kYXRpb25zIHNob3VsZCBiZQ0KPiBk b25lIG9mZiBsaXN0Pw0KDQpOZXRnZWFyIC0gcmVhbGx5IGNoZWFwLCBubyBwcm9ibGVtcyB3aXRo IHRoZW0gaWYgaW5zaWRlKG5vcm1hbCBodW1pZGl0eQ0KYW5kIHRlbXBlcmF0dXJlKS4NCg0KUGV0 ZXINCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpmcmVl YnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QNCmh0dHA6Ly9saXN0cy5mcmVl YnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ZyZWVic2QtcXVlc3Rpb25zDQpUbyB1bnN1YnNjcmli ZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVzdGlvbnMtdW5zdWJzY3JpYmVAZnJlZWJz ZC5vcmciDQoKCgoKCjxmb250IHNpemU9IjEiPgo8ZGl2IHN0eWxlPSdib3JkZXI6bm9uZTtib3Jk ZXItYm90dG9tOmRvdWJsZSB3aW5kb3d0ZXh0IDIuMjVwdDtwYWRkaW5nOjBpbiAwaW4gMS4wcHQg MGluJz4KPC9kaXY+CiJUaGlzIGVtYWlsIGlzIGludGVuZGVkIHRvIGJlIHJldmlld2VkIGJ5IG9u bHkgdGhlIGludGVuZGVkIHJlY2lwaWVudAogYW5kIG1heSBjb250YWluIGluZm9ybWF0aW9uIHRo YXQgaXMgcHJpdmlsZWdlZCBhbmQvb3IgY29uZmlkZW50aWFsLgogSWYgeW91IGFyZSBub3QgdGhl IGludGVuZGVkIHJlY2lwaWVudCwgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQgdGhhdAogYW55IHJl dmlldywgdXNlLCBkaXNzZW1pbmF0aW9uLCBkaXNjbG9zdXJlIG9yIGNvcHlpbmcgb2YgdGhpcyBl bWFpbAogYW5kIGl0cyBhdHRhY2htZW50cywgaWYgYW55LCBpcyBzdHJpY3RseSBwcm9oaWJpdGVk LiAgSWYgeW91IGhhdmUKIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJyb3IsIHBsZWFzZSBpbW1l ZGlhdGVseSBub3RpZnkgdGhlIHNlbmRlciBieQogcmV0dXJuIGVtYWlsIGFuZCBkZWxldGUgdGhp cyBlbWFpbCBmcm9tIHlvdXIgc3lzdGVtLiIKPC9mb250PgoK From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 23:45:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF9B51065670 for ; Fri, 19 Jun 2009 23:45:55 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 40C598FC1B for ; Fri, 19 Jun 2009 23:45:55 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 19 Jun 2009 23:45:53 -0000 Received: from ipa173.91.91.tellas.gr (EHLO [192.168.254.1]) [91.140.91.173] by mail.gmx.com (mp-eu001) with SMTP; 20 Jun 2009 01:45:53 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19OzKpzhAVO/BtnRCnBjNKNqNAhPtC/DEccIdD06W z58uGmBo0IMZz+ Message-ID: <4A3C2309.3030206@gmx.com> Date: Sat, 20 Jun 2009 02:45:13 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "Jerry B. Altzman" References: <4A3B66ED.40506@gmx.com> <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> In-Reply-To: <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-Mailman-Approved-At: Fri, 19 Jun 2009 23:50:20 +0000 Cc: on@cs.ait.ac.th, Gary Gatten , wtf.jlaine@gmail.com, peterpub2@aboutsupport.com, Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 19 Jun 2009 23:45:56 -0000 Jerry B. Altzman wrote: > Do you require Gigabit ethernet or no? That, I don't know yet... but given that they want to build a solid infrastructure that will be worth of using for the years to come, most probably yes. Environmental conditions will be normal, everything will be indoor. And I *think* the power levels will be normal as well (Wojciech mentioned that D-Links have been sensitive to power spikes). I have found that D-Link are quite cheap and somebody on the list suggested them. In that price range TP-LINK is also a choice. Anybody advises against TP-LINK? Thanks a bunch for your answers, Nikos From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 00:44:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18E54106566C for ; Sat, 20 Jun 2009 00:44:53 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id C574E8FC25 for ; Sat, 20 Jun 2009 00:44:52 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by qyk3 with SMTP id 3so2712219qyk.3 for ; Fri, 19 Jun 2009 17:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mqRSBKXjV1/QuN18AvGvTTKMm0CwPhep4pLCqVHCwlM=; b=QpBQYkmxl2vOwhiQR0RaD6zyYRDG7MSTk7u7jGlH345/ls0vyhByKNWtZZhrPYYOlU r37BdOMg8awpsYYkV7AGg05vw/48HDprwoiAKzHEtNPSCDJHl15JpypTufNPRY5Sazbd rE2V2ptjByQFMndaxJNfL+qXuD9wUDXWZ/6cI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pElGZVO8TgSTB2IPns7JyatAQNWa+7/AsOcTdqk1AlSZSdCV06v0WioIcI7j5WvB2n plSvuHH3ZXx7xG5g2V74GEYHAE5H/tZvzHTno3SxP4iv4heRGyBRbn2/xHFTqezQ17l6 p8ZgaKX8gpHfKsMyroXp6koRNgziLur5aHZag= MIME-Version: 1.0 Received: by 10.229.81.198 with SMTP id y6mr695803qck.106.1245457247451; Fri, 19 Jun 2009 17:20:47 -0700 (PDT) In-Reply-To: <4A3C2309.3030206@gmx.com> References: <4A3B66ED.40506@gmx.com> <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> <4A3C2309.3030206@gmx.com> Date: Sat, 20 Jun 2009 10:20:47 +1000 Message-ID: <4d7dd86f0906191720r26360eb4j6ea0c53ccb61f720@mail.gmail.com> From: David N To: Nikos Vassiliadis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 00:44:53 -0000 2009/6/20 Nikos Vassiliadis : > Jerry B. Altzman wrote: >> >> Do you require Gigabit ethernet or no? > > That, I don't know yet... but given that they want to build > a solid infrastructure that will be worth of using for the > years to come, most probably yes. > > Environmental conditions will be normal, everything will be > indoor. And I *think* the power levels will be normal as well > (Wojciech mentioned that D-Links have been sensitive to power > spikes). > > I have found that D-Link are quite cheap and somebody on the > list suggested them. In that price range TP-LINK is also a > choice. Anybody advises against TP-LINK? > > Thanks a bunch for your answers, Nikos > > _______________________________________________ > 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" > We've deployed a few DLink and Linksys unmanaged switches and are working fine. The only issue with the DLink ones are the external power supply (4-8 port desktop switches), they are pretty flakey, usually need a replacement within a few months of operations, but after buying a replacement from the radio shack/dick smith/jay car..., they're usually fine. Linksys switches have a limited lifetime warranty (whatever that means) on the gigabit 24 port switches. DLink have about 3 to 5 years depending. TP Link and Repotec I'm unsure of, the website doesn't list anything and neither does my supplier. My guess would be 1 year. The TP Link ones are pretty much no frills, I have a 8 port 10/100 and can max it out without and problems. Regards David N From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 01:35:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D381065672 for ; Sat, 20 Jun 2009 01:35:36 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3CB8FC12 for ; Sat, 20 Jun 2009 01:35:36 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd2ml2so-ssvc.prod.shaw.ca ([10.0.141.134]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 19 Jun 2009 19:35:35 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=KoDPwd6_AAAA:8 a=psuDLxADmIyYhoE5co4A:9 a=I8p6a8TG_4mB-dkOdu0A:7 a=gMQ14NupeI0yqTIhAjjpNZQ4-vIA:4 a=pRA1kzQBem8A:10 Received: from unknown (HELO gom.localdomain) ([70.67.176.112]) by pd2ml2so-dmz.prod.shaw.ca with ESMTP; 19 Jun 2009 19:35:35 -0600 Received: from gom (localhost [127.0.0.1]) by gom.localdomain (Postfix) with ESMTP id 566B0EC2F for ; Fri, 19 Jun 2009 18:35:35 -0700 (PDT) Date: Fri, 19 Jun 2009 18:35:35 -0700 From: prad To: freebsd-questions@freebsd.org Message-ID: <20090619183535.006433d1@gom> In-Reply-To: <20090619143935.6c28be98.wmoran@potentialtech.com> References: <20090619111234.6883afd2@gom> <20090619143935.6c28be98.wmoran@potentialtech.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: backdoor threat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 01:35:36 -0000 On Fri, 19 Jun 2009 14:39:35 -0400 Bill Moran wrote: > Sure. It costs almost nothing to send a fax message, and he could > send it over and over and run you out of paper and ink while you're > sleeping. Infantile, yes. > yes except for the fact that i don't have a fax machine and the number is incorrect anyway :D > Sure, there's 1000000000 things. Start by running a nmap scan from a > different computer and see what ports are open. Investigate each > program listening on those ports to ensure it's properly secured. > ok this is really neat! we did the scan and found what the open ports are. so the first one we changed was the ssh. then a friend said he assigns ports that are not used in /etc/services, so i presume this means for instance if we change the http port, we'll have to tell our http server to do business on that port? is this what you mean by ensuring that the program listening on a port is properly secured? or is there something else? > Making secure web forms is too complex to discuss in a single email. > ok we'll look into this further. we really don't have too many web forms and the forum software we use is punbb which i think they (rickard et al) take good care of. > Of course, the "someone" could just be spouting off. ... Some people > brag without being able to back it up. > i think this is such a situation. i think the person thought i'd be astonished that he was able to pull my first and last name as well as my address out of a whois search and show them to me :D and by showing me that he can use words like backdoor and BSD, no doubt i should step back and bow to his level of expertise! still, i see this as an opportunity for my son and myself to learn something we really haven't paid much attention to, so we're going to do it! thx for your help bill! -- 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 Sat Jun 20 02:10:04 2009 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 476E41065670 for ; Sat, 20 Jun 2009 02:10:04 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: from mail-gx0-f207.google.com (mail-gx0-f207.google.com [209.85.217.207]) by mx1.freebsd.org (Postfix) with ESMTP id EB00D8FC15 for ; Sat, 20 Jun 2009 02:10:03 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: by gxk3 with SMTP id 3so3104109gxk.19 for ; Fri, 19 Jun 2009 19:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cLo4Uz9Z7whmRNirMBAMUF9ksEYFYGPcjSXpdNkexno=; b=aDPcTQB1EL50BmeSqxqFqPyhr2KhKRLyHsyL83E2bpvKqND8AF3SxYjnyL2zEvH7bY fXiYn7yPNqx8LKqUpldN5R5H++kZWbrwS8IHFMqg1GFayNyWOihLAz6kNHh3qrHE2RQG yVXQWb8OBDJB6ichlnx9HeVifMduRY65JdSng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jmyyAvFzdzgFhgjxjPPKkLISU3wOMziCkcfeCt9J5wNwPELH/xZRYnQ0H4ymNFTVgy 1MuH+dYN18k+4JrfsIY6Ipo8johCb6/ZhOEO0RfY6qPpn0WUhBN99LZbQAD0RQ+2JxXz 2PCZlR21wWUp0JXXpVHSkp3YDxW4j9Lqv1QbI= MIME-Version: 1.0 Received: by 10.90.25.7 with SMTP id 7mr2671794agy.21.1245462388775; Fri, 19 Jun 2009 18:46:28 -0700 (PDT) In-Reply-To: References: <6C96EEF057EDE24197FECB0D1EA035044A8F6EB461@h1341255.aoemedia.de> <20090601144341.GA5818@phenom.cordula.ws> <62A8876F-FD18-4FBD-9CFF-2C13C0E19A6E@gmail.com> Date: Fri, 19 Jun 2009 21:46:28 -0400 Message-ID: <47dcfe400906191846x1d79da67i412d2747f406cc30@mail.gmail.com> From: Diego Schulz To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Sponsoring 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: Sat, 20 Jun 2009 02:10:04 -0000 Excuse me, this thread was about..? I follow the list regularly but haven't posted any messages so far (that I can recall, at least), in the few years subscribed. I participate a little more actively in a few other lists, as well; but honestly I haven't seen a list as polluted as this one. The remarkable thing is that almost all the pollution is generated by ONE person alone. I --hopelessly-- wish someone could take some kind of measure. cheers From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 05:48:48 2009 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 BF77E1065670 for ; Sat, 20 Jun 2009 05:48:48 +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 3326A8FC08 for ; Sat, 20 Jun 2009 05:48:46 +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 n5K5mcDN076884; Sat, 20 Jun 2009 07:48:38 +0200 (CEST) (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 n5K5mbUu076881; Sat, 20 Jun 2009 07:48:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 20 Jun 2009 07:48:37 +0200 (CEST) From: Wojciech Puchar To: Diego Schulz In-Reply-To: <47dcfe400906191846x1d79da67i412d2747f406cc30@mail.gmail.com> Message-ID: References: <6C96EEF057EDE24197FECB0D1EA035044A8F6EB461@h1341255.aoemedia.de> <20090601144341.GA5818@phenom.cordula.ws> <62A8876F-FD18-4FBD-9CFF-2C13C0E19A6E@gmail.com> <47dcfe400906191846x1d79da67i412d2747f406cc30@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: Sponsoring 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: Sat, 20 Jun 2009 05:48:49 -0000 > > I follow the list regularly but haven't posted any messages so far > (that I can recall, at least), in the few years subscribed. > I participate a little more actively in a few other lists, as well; > but honestly I haven't seen a list as polluted as this one. The > remarkable thing is that almost all the pollution is generated by ONE > person alone. bad observation, but mostly agree > > I --hopelessly-- wish someone could take some kind of measure. try convincing of some kind of moderation, and setting up posting rules. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 05:49:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96AA9106564A for ; Sat, 20 Jun 2009 05:49: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 B738A8FC19 for ; Sat, 20 Jun 2009 05:49: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 n5K5nAi5076891; Sat, 20 Jun 2009 07:49:10 +0200 (CEST) (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 n5K5n8cB076888; Sat, 20 Jun 2009 07:49:09 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 20 Jun 2009 07:49:08 +0200 (CEST) From: Wojciech Puchar To: Gary Gatten In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F04D@WADPEXV0.waddell.com> Message-ID: References: <70C0964126D66F458E688618E1CD008A0793F04D@WADPEXV0.waddell.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: peterpub2@aboutsupport.com, freebsd-questions@freebsd.org, nvass9573@gmx.com Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 05:49:20 -0000 > Linksys, DLink, etc. Cheap is cheap You gave examples of WORST CRAP, and not really cheap. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 05:50:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6558910656BC for ; Sat, 20 Jun 2009 05:50:23 +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 A0BC48FC27 for ; Sat, 20 Jun 2009 05:50:22 +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 n5K5oCUm076910; Sat, 20 Jun 2009 07:50:12 +0200 (CEST) (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 n5K5oBkH076902; Sat, 20 Jun 2009 07:50:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 20 Jun 2009 07:50:11 +0200 (CEST) From: Wojciech Puchar To: Nikos Vassiliadis In-Reply-To: <4A3C2309.3030206@gmx.com> Message-ID: References: <4A3B66ED.40506@gmx.com> <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> <4A3C2309.3030206@gmx.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Sat, 20 Jun 2009 13:05:45 +0000 Cc: on@cs.ait.ac.th, Gary Gatten , "Jerry B. Altzman" , wtf.jlaine@gmail.com, peterpub2@aboutsupport.com, freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 05:50:23 -0000 > I have found that D-Link are quite cheap and somebody on the > list suggested them. In that price range TP-LINK is also a > choice. Anybody advises against TP-LINK? TP-Link is OK and is really cheap (D-Link is not). Buy it. I use lots of pure-100 and 100+1000 ones From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 05:56:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39D38106566C for ; Sat, 20 Jun 2009 05:56: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 7276C8FC17 for ; Sat, 20 Jun 2009 05:56: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 n5K5u4wl076936; Sat, 20 Jun 2009 07:56:04 +0200 (CEST) (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 n5K5u3OH076933; Sat, 20 Jun 2009 07:56:03 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 20 Jun 2009 07:56:03 +0200 (CEST) From: Wojciech Puchar To: Nikos Vassiliadis In-Reply-To: <4A3C2309.3030206@gmx.com> Message-ID: References: <4A3B66ED.40506@gmx.com> <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> <4A3C2309.3030206@gmx.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Sat, 20 Jun 2009 13:05:54 +0000 Cc: on@cs.ait.ac.th, Gary Gatten , "Jerry B. Altzman" , wtf.jlaine@gmail.com, peterpub2@aboutsupport.com, freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 05:56:15 -0000 > spikes). > > I have found that D-Link are quite cheap and somebody on the > list suggested them. In that price range TP-LINK is also a > choice. Anybody advises against TP-LINK? i advise for. have a lot of this cheap things, works fine. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 08:51:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F0101065670 for ; Sat, 20 Jun 2009 08:51:31 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from dns.msk.asap.bg (dns.msk.asap.bg [78.90.206.101]) by mx1.freebsd.org (Postfix) with ESMTP id EC8EC8FC21 for ; Sat, 20 Jun 2009 08:51:30 +0000 (UTC) (envelope-from peterpub2@aboutsupport.com) Received: from [10.30.1.106] (unknown [95.87.202.193]) by dns.msk.asap.bg (Postfix) with ESMTP id 89A5039836; Sat, 20 Jun 2009 11:51:31 +0300 (EEST) Message-ID: <4A3CA2FE.3000208@aboutsupport.com> Date: Sat, 20 Jun 2009 11:51:10 +0300 From: Peter User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Wojciech Puchar References: <4A3B66ED.40506@gmx.com> <2b677bda0906190637h45e135bfk5f47762d3c15badb@mail.gmail.com> <4A3C2309.3030206@gmx.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 20 Jun 2009 13:06:03 +0000 Cc: on@cs.ait.ac.th, Gary Gatten , "Jerry B. Altzman" , wtf.jlaine@gmail.com, freebsd-questions@freebsd.org, Nikos Vassiliadis Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 08:51:31 -0000 Wojciech Puchar wrote: >> spikes). >> >> I have found that D-Link are quite cheap and somebody on the >> list suggested them. In that price range TP-LINK is also a >> choice. Anybody advises against TP-LINK? > > i advise for. have a lot of this cheap things, works fine. > 1 more vote for TP-Link - cheapest on the market ! Peter From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 14:09:03 2009 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 B82C4106566C for ; Sat, 20 Jun 2009 14:09:03 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from smtprelay-virgin.hostedemail.com (smtprelay-virgin0134.hostedemail.com [64.99.136.134]) by mx1.freebsd.org (Postfix) with ESMTP id 6EA3A8FC17 for ; Sat, 20 Jun 2009 14:09:03 +0000 (UTC) (envelope-from peter.piggybox@virgin.net) Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay07.hostedemail.com (Postfix) with SMTP id 3D55511A9663; Sat, 20 Jun 2009 14:09:02 +0000 (UTC) X-Spam-Summary: 50, 0, 0, 77a99a33afdb141c, d41d8cd98f00b204, peter.piggybox@virgin.net, sonic2000gr@gmail.com:cwhiteh@onetel.com:questions@freebsd.org, RULES_HIT:355:379:599:601:965:966:967:973:980:988:989:1260:1261:1277:1312:1313:1314:1345:1359:1437:1516:1518:1519:1534:1541:1593:1594:1595:1596:1711:1730:1747:1766:1792:2196:2198:2199:2200:2393:2525:2551:2553:2561:2565:2682:2685:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3352:3622:3865:3866:3867:3868:3869:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:3961:4250:4385:4390:4395:4860:5007:6261:7679:7875:8599:8829:9010:9025:9388:10004, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:none, DNSBL:none, Custom_rules:0:0:0 X-Filterd-Recvd-Size: 2446 Received: from ideapad.piggybox (client-86-25-233-122.mcr-bng-011.adsl.virginmedia.net [86.25.233.122]) by omf11.hostedemail.com (Postfix) with ESMTP; Sat, 20 Jun 2009 14:09:01 +0000 (UTC) Received: from ideapad.piggybox (localhost [127.0.0.1]) by ideapad.piggybox (8.14.3/8.14.3) with ESMTP id n5KD7tLA001098; Sat, 20 Jun 2009 14:07:57 +0100 (BST) (envelope-from peter@ideapad.piggybox) Received: (from peter@localhost) by ideapad.piggybox (8.14.3/8.14.3/Submit) id n5KD7oHC001097; Sat, 20 Jun 2009 14:07:50 +0100 (BST) (envelope-from peter) Date: Sat, 20 Jun 2009 14:07:34 +0100 From: Peter Harrison To: Manolis Kiagias Message-ID: <20090620130734.GB1051@ideapad.piggybox> References: <4A37380F.8020505@gmail.com> <4A37F503.7070207@onetel.com> <4A389517.6010906@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A389517.6010906@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Questions , Chris Whitehouse Subject: Re: Announcing: FreeBSD Custom XFCE ISO (take II) - Openoffice packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 14:09:04 -0000 Wednesday, 17 June 2009 at 10:02:47 +0300, Manolis Kiagias said: > Chris Whitehouse wrote: > > > > > > I would vote for including openoffice, it takes much longer to compile > > than to download, or maybe make the package and any dependencies that > > are not already included available as a separate tarball. > > > > I've implemented this neat idea, the tarball is here: > > http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/openoffice.tar.gz > > Instructions: > > http://freebsd.dev-urandom.com/iso/i386/xfce-desktop/README.openoffice Manolis, Just wanted to say thanks so much for the openoffice package and clear instructions. I've never managed to successfully run openoffice on FreeBSD, but now I'm up and running. Great job, thanks. Peter Harrison. > > As a matter of fact, I noticed only the main openoffice package is > needed - every other run dependency is already present in the XFCE iso. > The few other packages in the tarball are build dependencies. > _______________________________________________ > 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 Jun 20 16:26:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 444181065673 for ; Sat, 20 Jun 2009 16:26:09 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id C599B8FC14 for ; Sat, 20 Jun 2009 16:26:08 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fxm2 with SMTP id 2so192810fxm.43 for ; Sat, 20 Jun 2009 09:26:07 -0700 (PDT) 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:x-enigmail-version:content-type :content-transfer-encoding; bh=A3QgDR5p42xZuR3kSwCKcyQGkX2MuyNug8XkxrGRqhE=; b=v3NCghCbjk+R9we1/HQdKSL5PXLhZO66h3osXvr5MX6jV+w1dYwXNfTVBa9uAN9L59 ULlQcUTUs8BpeJbjwBhwAKBcreFpJAnDJF3s+X5/KFL7QUkdygrXLkk4b2wBB1bM6McM vCgWAvwPfpqXwH9H8/3Sxn9u8vdlvevc7/1Ls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=YVBgQFS+xm2aB60HMnabsW9quagyLUxtp4a23liRpUVT9PXxKOtL8inVkKz1e/8CQP lQXiM5e+Bpfr2butoq4vcVUhihncu4IJLx3B0x5FOwPOCPPH0xMcdmUAaebGemAjPnuy nd7hi7/ERvLYLL7GLoZM/SWAABn0cG48PQaQE= Received: by 10.86.59.2 with SMTP id h2mr4415276fga.73.1245515167933; Sat, 20 Jun 2009 09:26:07 -0700 (PDT) Received: from atomic.dyndns.org (athedsl-4487137.home.otenet.gr [94.71.67.233]) by mx.google.com with ESMTPS id 4sm2524808fge.23.2009.06.20.09.26.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 09:26:07 -0700 (PDT) Message-ID: <4A3D0D9C.7070006@gmail.com> Date: Sat, 20 Jun 2009 19:26:04 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Subject: ANNOUNCING: Web site for the "FreeBSD Custom Releases" project X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 16:26:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all, Most members of the list have probably noticed my latest posts on a project to create custom FreeBSD CD/DVDs with updated (or different) set of packages. There is also an ongoing effort to provide pre-compiled packages for larger applications like OpenOffice. Glen Barber, who is providing the space and bandwidth for the above, has also joined in the building process and created VirtualBox packages for download. I've so far received very positive feedback, and would like to thank everyone who took the time to send me comments, suggestions and appreciation ;) In order to have a central hub for easily locating the download files and receiving news about this project, I created a small wiki-based site: http://freebsd-custom.wikidot.com It contains just the essentials for now, but will expand with more material as the need arises. It will also contain announcements for new releases. Thanks for your support! Manolis Kiagias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAko9DZsACgkQZ/MxGm4PtJSd6wCfYPtQ1MLH1ttDXF5C3lR3l+Kd JrwAn3l3fyeoEPXCC0tcu/yUcgwZ4IZR =Zhmd -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 17:56:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87CCC1065672 for ; Sat, 20 Jun 2009 17:56:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5057E8FC08 for ; Sat, 20 Jun 2009 17:56:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 7C0AA7E837; Sat, 20 Jun 2009 09:56:07 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 20 Jun 2009 09:56:04 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <4ad871310906181514g5166ccbfg8ae85c79b1c41309@mail.gmail.com> <7401FDE8-39DD-4D74-AB9C-4A8D71975739@mac.com> In-Reply-To: <7401FDE8-39DD-4D74-AB9C-4A8D71975739@mac.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906200956.05646.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Tim Judd , Glen Barber Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 17:56:08 -0000 On Thursday 18 June 2009 14:30:21 Chuck Swiger wrote: > On Jun 18, 2009, at 3:14 PM, Glen Barber wrote: > >> A broadcast of 255.255.255.255 is misconfigured (not saying it's not > >> gonna work, I'm saying for your network, it's not configured right). > >> you need broadcast-address 192.168.2.255 > > > > That is not 100% correct. By default, dhclient will send an initial > > DHCPREQUST to 0.0.0.0 (meaning "this network"). The request is picked > > up from the DHCP server broadcasting on 255.255.255.255. > > The inconsistency between these two points might actually lead the OP > to a solution. Evidently Vista does something different with the DHCP > broadcast flag, see: http://support.microsoft.com/kb/928233 > > If you specify a network and netmask in the subnet statement, you > shouldn't need to override the broadcast address it computes, which > for the config posted ought to be "192.168.2.255". Using the all-ones > broadcast address should not be done by normal members of the > network-- only for things which need to go beyond the network subnet/ > topology (ie, the DHCP server itself might choose to send to > 255.255.255.255 to make sure that anything else on the local collision > domain sees it, even if the local network is split into multiple > logical subnets). This is part of a "tried fix". I noticed while I was in Switzerland the Swisscom adsl+wireless router gave me a all ones broadcast thus I figured what the hell, might as well try that. So I had configured my bridge with this broadcast address. I deleted the broadcast argument from ifconfig now and matched dhcpd.conf accordingly, but no changes in behavior. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 18:00:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49D32106567E for ; Sat, 20 Jun 2009 18:00:18 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 16FC58FC1C for ; Sat, 20 Jun 2009 18:00:08 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 747097E83F for ; Sat, 20 Jun 2009 10:00:08 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 20 Jun 2009 10:00:07 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906180941.04597.mel.flynn+fbsd.questions@mailing.thruhere.net> <200906181328.35326.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906201000.07392.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: The short and curlies of vista networking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 18:00:19 -0000 On Thursday 18 June 2009 13:51:32 Tim Judd wrote: > Replies inline > > On 6/18/09, Mel Flynn wrote: > > On Thursday 18 June 2009 10:27:44 Tim Judd wrote: > >> Long ago in 2007, I saw a M$ article that describes that Vista has an > >> extremely short delay period to get an IP. If it doesn't get it > >> within 1 second, it gives up (and maybe tries again). Common DHCP > >> servers ping an IP address, wait 1 second for a reply, and if no > >> reply, assumes the IP is available and leases it to the booting > >> computer. > > > > ISC-dhcpd doesn't work that way. It keeps a lease db and assumes it's db > > is the authority on available iP's for the range. > > dhcpd.conf(5) > search for ping-check or ping-timeout > > http://www.freebsd.org/cgi/man.cgi?query=dhcpd.conf&apropos=0&sektion=5&man >path=FreeBSD+7.2-RELEASE+and+Ports&format=html Be that as it may, the offers always occur within the same second: Jun 18 08:56:24 gate dhcpd: DHCPDISCOVER from 00:c0:a8:f1:e8:c3 (Tyler-PC) via bridge0 Jun 18 08:56:24 gate dhcpd: DHCPOFFER on 192.168.2.251 to 00:c0:a8:f1:e8:c3 (Tyler-PC) via bridge0 I will disable the ping check in today's tests though. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 18:01:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D7AF106566C for ; Sat, 20 Jun 2009 18:01:06 +0000 (UTC) (envelope-from erobison@gmail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 087018FC1E for ; Sat, 20 Jun 2009 18:01:05 +0000 (UTC) (envelope-from erobison@gmail.com) Received: by yxe38 with SMTP id 38so787273yxe.3 for ; Sat, 20 Jun 2009 11:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=55m7CCWMEv8L6toyk2gxueN95MkEG7XxsDwSCYkXM8g=; b=GWSQuLzK3jn8/LErTaYJxxg+ic2secMhjlR5Ki7Cf7FZJbVsENg0QDcF2ev+MngPTa /01RoLR8hKR+x7BU0sXsQFNTQcUUt2WTCLU7VnG2x0VjwO4crz5hU1139Qfdlp1PbV3z tOVHEUKgx4yNCuIFeKEy9GM9o44uKWLIFa3dw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Fel/PDvWtaCictoype0c2XoPPa8kUp3bfQ9UC1tqNqbT79cN97HkGIi2N0Bi9dNshp 7VdoOstIu+DQhrcVEwz2A5z9/j2smc3jpt7J6utl0AGxWvpX4RBQaddrOcAyiBwAyQZv 3doKmvV7VCuSkE8XeUWKpwbqoQYA5EPHevyeA= MIME-Version: 1.0 Received: by 10.100.231.16 with SMTP id d16mr5685942anh.63.1245520865107; Sat, 20 Jun 2009 11:01:05 -0700 (PDT) From: ericr Date: Sat, 20 Jun 2009 12:00:45 -0600 Message-ID: <7fc6c27a0906201100r1357b24o90fdfee0e1ed1277@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can't boot 7.2-RELEASE i386 or AMD64 on an Abit KV8 Pro motherboard with Sempron 3100+ CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 18:01:06 -0000 Hi, As the subject says, I can't get the 7.2-RELEASE i386 CD to boot on a system that has: Abit KV8 Pro (K8T800P-8237-6A7L1A1BC-26) motherboard with the most recent BIOS - BIOS release 26 4/20/2007 ( http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NAME=KV8+Pro&fMTYPE=Socket+754) An AMD Sempron 3100+ 1.8Ghz CPU 1 Gb RAM An ATI 1050 256mb AGP video card I think I have turned off everything ACPI related in the BIOS setup. When I boot the i386 ISO, the kernel boots to the point of probing the PCI bus and then hangs completely, even the keyboard is locked up. I've unplugged all the disks, so the only things in the system are the CD drive, the floppy drive, and the video card. I have turned off acpi at boot time, and when I boot the i386 ISO verbosely, the last few lines the kernel spews are: pci_open(1): mode 1 addr port (0x0cf8) is 0x8000c060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=02821106) pcibios: BIOS version 2.10 pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: domain=0, physical bus=0 There's no PCI cards plugged in, just the AGP video card. When I try booting the AMD64 ISO, the boot loader runs, I get the boot menu, and regardless of what boot options I give the kernel, I get the message "CPU doesn't support long mode" and then I get the OK prompt. I'm pretty sure it doesn't have a h/w problem, it'll boot and install Fedora 11, Win2K, WinXP, and runs every DOS based diagnostic app I can find with no problems. Anyone have any suggestions, or should I file a PR? Thanks! - ericr From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 20:02:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8D7D106566C for ; Sat, 20 Jun 2009 20:02:08 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id B6BD68FC23 for ; Sat, 20 Jun 2009 20:02:08 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: by pzk1 with SMTP id 1so2307673pzk.3 for ; Sat, 20 Jun 2009 13:02:08 -0700 (PDT) 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=tQ06/medkK5MSZYgC8vxo1pCyaiJHv3/7wm6fZi8u9M=; b=bxHpYbt8+p7mrZr5dX9p5EV20oUhwM9v0txzMkr/is7md4MlqLbG783591N3DZvQMa 1+dI+uk8iQ02vKCkrD+HPK9RSz59M6EmSazfWVt2H5eQDxOgTyC0Ic3T1i+aTsqSgdPk CJED+CG7U7Vufh/i71ZMQa2A25bAVNGGQ1PpI= 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=Po1P1IDZVh1z7vaiA7u8FNbvL1Ei7wjwAZljEgTHyCrKW7+5BAfcbn4IT8GedhhcHj /jZoa3aP/Z+7b3/0Vbq1u+3U3CmNS1+zCUFQ+D7MNp9IgpydpMFHZVCn5dcrIMms6eVS OvqCAfhzo7okDLNM2i+ejJaWD1BOPIi5Zhwe0= Received: by 10.142.216.18 with SMTP id o18mr1905023wfg.103.1245528128323; Sat, 20 Jun 2009 13:02:08 -0700 (PDT) Received: from ?192.168.1.2? ([122.162.238.207]) by mx.google.com with ESMTPS id 28sm2469933wfg.25.2009.06.20.13.01.51 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 13:02:07 -0700 (PDT) Message-ID: <4A3D4029.6090408@gmail.com> Date: Sun, 21 Jun 2009 01:31:45 +0530 From: Manish Jain User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Roland Smith , FreeBSD Mailing List References: <4A396736.8010808@gmail.com> <20090617222407.GB26045@slackbox.xs4all.nl> In-Reply-To: <20090617222407.GB26045@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: No sound, no mouse and now X applications won't start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 20:02:09 -0000 Hi Roland, Looks like nobody at freebsd-questions has any answers for me. Maybe 7.2-x86 doesn't like newish amd hardware. Anyway, here are the contents of /dev/sndstat : > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels default) > pcm1: at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > pcm2: at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > pcm3: at cad 0 nid 1 on hdac1 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) I tried snd_hda, even though it's listed as the driver for Intel HDA, not Realtek HDA on AMD hardware. It doesn't work. The volume control applet still complains no sound device has been configured. /dev/ums0 does get created I if plug in the mouse after the login prompt has appeared. But the mouse would behave crazy till I changed the Xorg generated xorg.conf's setting of ZAxisMapping from "4 5 6 7" to "4 5". I have still more problems. After all ports finished installing, some X applications just don't start (eg Acroread). I can't any error messages from the terminal because gnome-terminal itself doesn't start. Given time, maybe I could ultimately figure this problem out, but if you have any ready ideas, please be kind enough to share them me. Here are some messages. #/var/log/console.log : > Jun 20 01:17:01 pbbi kernel: Jun 20 01:17:01 pbbi pulseaudio[1276]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 01:18:04 pbbi kernel: Jun 20 01:18:04 pbbi gnome-keyring-daemon[1251]: dbus failure unregistering from session: Connection is closed > Jun 20 01:21:50 pbbi kernel: Jun 20 01:21:50 pbbi pulseaudio[1686]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 01:21:51 pbbi kernel: Jun 20 01:21:51 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 01:21:51 pbbi kernel: Jun 20 01:21:51 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 01:22:04 pbbi kernel: Jun 20 01:22:04 pbbi gnome-keyring-daemon[1665]: dbus failure unregistering from session: Connection is closed > Jun 20 02:00:18 pbbi kernel: Jun 20 02:00:18 pbbi pulseaudio[2068]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 02:00:19 pbbi kernel: Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:00:19 pbbi kernel: Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:22:14 pbbi kernel: Jun 20 02:22:14 pbbi pulseaudio[7162]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 02:22:14 pbbi kernel: Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) #/var/log/messages : > Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 CP Microcode > Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 PFP Microcode > Jun 20 02:00:07 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:00:07 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs > Jun 20 02:00:07 pbbi kernel: drm0: [ITHREAD] > Jun 20 02:00:07 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:00:07 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:00:18 pbbi gnome-session[2036]: WARNING: Application 'metacity.desktop' failed to register before timeout > Jun 20 02:00:18 pbbi pulseaudio[2068]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 02:00:19 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:00:19 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:00:19 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:20:42 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:20:42 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:20:42 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:20:42 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:20:43 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:20:43 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:20:44 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:20:44 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:20:45 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:20:45 pbbi gnome-session[2036]: WARNING: Unable to determine session: Unable to lookup session information for process '2036' > Jun 20 02:20:46 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:22:02 pbbi kernel: info: [drm] Setting GART location based on new memory map > Jun 20 02:22:02 pbbi kernel: info: [drm] Loading RS780 CP Microcode > Jun 20 02:22:02 pbbi kernel: info: [drm] Loading RS780 PFP Microcode > Jun 20 02:22:02 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:22:02 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs > Jun 20 02:22:02 pbbi kernel: drm0: [ITHREAD] > Jun 20 02:22:03 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:22:03 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130' > Jun 20 02:22:13 pbbi gnome-session[7130]: WARNING: Application 'metacity.desktop' failed to register before timeout > Jun 20 02:22:14 pbbi pulseaudio[7162]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 02:22:14 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:22:14 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:22:14 pbbi dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=1292 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.SystemToolsBackends.Platform" (uid=0 pid=1723 comm=")) > Jun 20 02:23:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:23:54 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130' > Jun 20 02:23:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:23:54 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130' > Jun 20 02:23:55 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:23:55 pbbi gnome-session[7130]: WARNING: Unable to determine session: Unable to lookup session information for process '7130' > Jun 20 02:23:56 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:24:42 pbbi kernel: info: [drm] Setting GART location based on new memory map > Jun 20 02:24:42 pbbi kernel: info: [drm] Loading RS780 CP Microcode > Jun 20 02:24:42 pbbi kernel: info: [drm] Loading RS780 PFP Microcode > Jun 20 02:24:42 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:24:42 pbbi kernel: info: [drm] writeback test succeeded in 1 usecs > Jun 20 02:24:42 pbbi kernel: drm0: [ITHREAD] > Jun 20 02:24:43 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:24:43 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692' > Jun 20 02:24:53 pbbi gnome-session[7692]: WARNING: Application 'metacity.desktop' failed to register before timeout > Jun 20 02:24:53 pbbi pulseaudio[7723]: main.c: Daemon startup without any loaded modules, refusing to work. > Jun 20 02:24:53 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:24:54 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:53:30 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:53:30 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692' > Jun 20 02:53:30 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:53:30 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692' > Jun 20 02:53:31 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv failed > Jun 20 02:53:31 pbbi gnome-session[7692]: WARNING: Unable to determine session: Unable to lookup session information for process '7692' > Jun 20 02:53:32 pbbi kernel: info: [drm] Resetting GPU > Jun 20 02:54:00 pbbi halt: halted by root > Jun 20 02:54:00 pbbi syslogd: exiting on signal 15 dbus, hald, polkitd and gnome are all enabled in rc.conf. loader.conf looks like following : > kern.maxdsiz="734003200" > ums_load="YES" > linprocfs_load="YES" > linsysfs_load="YES" > sound_load="YES" > snd_hda_load="YES" -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 20:27:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF1FB1065672 for ; Sat, 20 Jun 2009 20:27:48 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0F48FC08 for ; Sat, 20 Jun 2009 20:27:48 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8CB647E837 for ; Sat, 20 Jun 2009 12:27:47 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 20 Jun 2009 12:27:46 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4ad871310906181931l7623d9cj83a8f39fe497a4d3@mail.gmail.com> In-Reply-To: <4ad871310906181931l7623d9cj83a8f39fe497a4d3@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906201227.46737.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: PACKAGESITE Directory Structure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 20:27:48 -0000 On Thursday 18 June 2009 18:31:02 Glen Barber wrote: > Hello, list. > > After trying to figure out the incorrect directory structure for some > of the packages hosted on my site, I am at a loss. > > After reading through /usr/src/usr.sbin/pkg_install/add/main.c from > HEAD, lines 337-340 seems to suggest that if 'Latest' is not found, > 'All' is implied to pkg_add when PACKAGESITE is explicitly defined > (otherwise overridden with hard-coded values). The most intuitive PACKAGESITE is the one pointing to the directory *before* All including trailing slash. This way one can add packages by origin, which is more human friendly then knowing the specific version or what the mangled LATEST_LINK is. pkg_add will then do the right thing with respect to dependencies. But to explain the PACKAGESITE variable: it is expected to point to the final location (including trailing slash) for the command line argument(s) given. pkg_add will try to figure out how to get to 'All/' and 'Latest/' the best it can if the url ${PACKAGESITE}$1 returns not found and for dependencies. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 20:34:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6511F1065670 for ; Sat, 20 Jun 2009 20:34:03 +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 E65008FC1E for ; Sat, 20 Jun 2009 20:34:02 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 22101 invoked from network); 20 Jun 2009 20:34:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned; b=1VPO7WdRYypy8I6GUcjz7G7uvn2Lh7vh/2VD7AEo8ZKfuUKfM1uxfCU70uxZSCVGpO6IqUKkEpIGU23ojUzd0qT14xzL0NnqyE5zJ+0Su3dywJ2aMCoNzckGtg3ZPSjXw3BgL4/gX+hxW5BrEYTzWH+i5ygVslv9aL5syQ5t5GM= ; Received: from c-76-23-177-172.hsd1.ny.comcast.net (gesbbb@76.23.177.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 20 Jun 2009 13:34:01 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: hrUxwowVM1kuThjJBv8XQwMTabetQg1x3YVrAcLltUqStKMcYlOKt_yZ9Lkrf1rWLDjwjK.LXX1zIudnZ_DtxFgUBuUoDGtzZB4iveSJmASn18zc3r.JK923c8dwo3IphrhIEyEulfB9z6jML7.gcSD9zy8GrUlY5rUkkdb01VbyGznS330Dxj.Z7cSawrimsAqTDQnXrXMIF0hJmXkE2xwJ_wkGm4SbmWA0HKf0Dnpt1k.637_kydBJmtQxgZx1J9kuI_D7ngxI1v5Ne2HH7cArBFUQaggB6aVQkFHpj7lu8G3xqblWHdti3WZY5dj3TXVt.Me.zg-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb) by scorpio.seibercom.net (Postfix) with ESMTPA id 403F3230C2 for ; Sat, 20 Jun 2009 16:34:01 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (Authenticated sender: gesbbb@yahoo.com) by scorpio.seibercom.net (Postfix) with ESMTPA id 0DF8D23044 for ; Sat, 20 Jun 2009 16:34:01 -0400 (EDT) Date: Sat, 20 Jun 2009 16:34:00 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090620163400.62143980@scorpio.seibercom.net> In-Reply-To: <4A3D4029.6090408@gmail.com> References: <4A396736.8010808@gmail.com> <20090617222407.GB26045@slackbox.xs4all.nl> <4A3D4029.6090408@gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: No sound, no mouse and now X applications won't start 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, 20 Jun 2009 20:34:04 -0000 On Sun, 21 Jun 2009 01:31:45 +0530 Manish Jain wrote: > Looks like nobody at freebsd-questions has any answers for me. Maybe > 7.2-x86 doesn't like newish amd hardware. post the output of: pciconf -lv as well as dmesg. Also your rc.conf and PolicyKit.conf files might be useful. -- Jerry gesbbb@yahoo.com My Bonnie looked into a gas tank, The height of its contents to see! She lit a small match to assist her, Oh, bring back my Bonnie to me. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 20:58:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E55591065672 for ; Sat, 20 Jun 2009 20:58:50 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 921428FC08 for ; Sat, 20 Jun 2009 20:58:50 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n5KKwmAf034642; Sat, 20 Jun 2009 22:58:49 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 96C36B85F; Sat, 20 Jun 2009 22:58:48 +0200 (CEST) Date: Sat, 20 Jun 2009 22:58:48 +0200 From: Roland Smith To: Manish Jain Message-ID: <20090620205848.GA53362@slackbox.xs4all.nl> References: <4A396736.8010808@gmail.com> <20090617222407.GB26045@slackbox.xs4all.nl> <4A3D4029.6090408@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <4A3D4029.6090408@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.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: No sound, no mouse and now X applications won't start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 20:58:51 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 21, 2009 at 01:31:45AM +0530, Manish Jain wrote: >=20 > Hi Roland, >=20 > Looks like nobody at freebsd-questions has any answers for me. Maybe=20 > 7.2-x86 doesn't like newish amd hardware. Anyway, here are the=20 > contents of /dev/sndstat : >=20 > > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > > Installed devices: > > pcm0: at cad 0 nid 1 on hdac0 k= ld snd_hda [MPSAFE] (1p:1v/0r:0v channels default) > > pcm1: at cad 0 nid 1 on hdac1 kld sn= d_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > > pcm2: at cad 0 nid 1 on hdac1 kld sn= d_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > > pcm3: at cad 0 nid 1 on hdac1 kld s= nd_hda [MPSAFE] (1p:1v/1r:1v channels duplex) > I tried snd_hda, even though it's listed as the driver for Intel > HDA, not Realtek HDA on AMD hardware. It doesn't work. The volume > control applet still complains no sound device has been configured. The fact that /dev/sndstat exists means that there is a sound driver that works. From the contents you can see that it is indeed the snd_hda driver ("HDA Realtek ALC885 "). You can also see that there are four sound outputs. Currently the digital HDMI is the default. You can configure the sound hardware through sysctls. If you run "sysctl hw.snd" you'll see a list of things you can change. With 'sysctl -d' you can see what a particular sysctl does. In this case one that is interesting is 'hw.snd.default_unit'. The different outputs in /dev/sndstat will be connected to different sockets on the machine (e.g. front/back panel). Try setting hw.snd.default_unit to 1, 2 or 3 and see if that helps. It could be that you have to unload and reload the snd_hda module after setting the default channel. You might also have to restart the volume control applet. > /dev/ums0 does get created I if plug in the mouse after the login=20 > prompt has appeared. Ok. I think it should be a bug that the mouse isn't properly detected when connected at boot, but since the USB stack has been replaced in 8-CURRENT, I don't know if anyone is willing to go bughunting in the 7.x USB stack. > But the mouse would behave crazy till I changed the Xorg generated > xorg.conf's setting of ZAxisMapping from "4 5 6 7" to "4 5". That is not abnormal. A lot of mice need special zaxis mappings. > I have still more problems. After all ports finished installing,=20 > some X applications just don't start (eg Acroread). I can't any=20 > error messages from the terminal because gnome-terminal itself=20 > doesn't start. Then use an xterm instead of a gnome-terminal. Acroread depends on Linux emulation. Maybe you're missing some bits there? > Given time, maybe I could ultimately figure this problem out, but if=20 > you have any ready ideas, please be kind enough to share them me. >=20 > Here are some messages. =20 > #/var/log/console.log : > > Jun 20 01:17:01 pbbi kernel: Jun 20 01:17:01 pbbi pulseaudio[1276]: mai= n.c: Daemon startup without any loaded modules, refusing to work. I've never used pulseaudio. I prefer esound. > > Jun 20 01:18:04 pbbi kernel: Jun 20 01:18:04 pbbi gnome-keyring-daemon[= 1251]: dbus failure unregistering from session: Connection is closed This looks pretty harmless. > #/var/log/messages : > > Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 CP Microcode > > Jun 20 02:00:07 pbbi kernel: info: [drm] Loading RS780 PFP Microcode > > Jun 20 02:00:07 pbbi kernel: info: [drm] Resetting GPU > > Jun 20 02:00:07 pbbi kernel: info: [drm] writeback test succeeded in 1 = usecs > > Jun 20 02:00:07 pbbi kernel: drm0: [ITHREAD] > > Jun 20 02:00:07 pbbi console-kit-daemon[1135]: WARNING: kvm_getenvv fai= led Look at kvm_getenvv(3), in the BUGS section:=20 "In order for kvm_getenvv(3) to function correctly, procfs(5) must be mounted on /proc" > loader.conf looks like following : > > kern.maxdsiz=3D"734003200" > > ums_load=3D"YES" > > linprocfs_load=3D"YES" > > linsysfs_load=3D"YES" > > sound_load=3D"YES" > > snd_hda_load=3D"YES" Looks OK.=20 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) --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAko9TYgACgkQEnfvsMMhpyX91wCfdT8sxtt9qQzg6Ri1w/niontX cBEAn1LIr2PwUSqPaGF+CYzhXbCX1oFU =DZ+d -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 21:10:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 578AE106566C for ; Sat, 20 Jun 2009 21:10:54 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [64.146.239.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB198FC12 for ; Sat, 20 Jun 2009 21:10:53 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n5KLAr84011955; Sat, 20 Jun 2009 14:10:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1245532253; bh=DU9Os6Ys7W4tOI8pexn4wgCCIi0Hi4pGgMbY9h5V2Nw=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=Gn4EX3z2qUaGa ShR3X4paUTst0xNfFflZiAoKOx/VhNPrcg5cqGEsHd0UXoroJZcdshl5fkZbXVNGagU +rgAfIkSrim8aIYBPYaNbSOpx+co/GBg98ed2zWP4NG7d0s6LCYZdklujOZlJSodNUh nD9K39ukUFDrZPzetxTtYWCs= From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sat, 20 Jun 2009 14:10:52 -0700 User-Agent: KMail/1.9.10 References: <7fc6c27a0906201100r1357b24o90fdfee0e1ed1277@mail.gmail.com> In-Reply-To: <7fc6c27a0906201100r1357b24o90fdfee0e1ed1277@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906201410.52907.kstewart@owt.com> Cc: ericr Subject: Re: Can't boot 7.2-RELEASE i386 or AMD64 on an Abit KV8 Pro motherboard with Sempron 3100+ CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 21:10:54 -0000 On Saturday 20 June 2009 11:00:45 am ericr wrote: > Hi, > > As the subject says, I can't get the 7.2-RELEASE i386 CD to boot on a > system that has: > > Abit KV8 Pro (K8T800P-8237-6A7L1A1BC-26) motherboard with the most recent > BIOS - BIOS release 26 4/20/2007 > ( > http://www.abit.com.tw/page/en/motherboard/motherboard_detail.php?pMODEL_NA >ME=KV8+Pro&fMTYPE=Socket+754) > > An AMD Sempron 3100+ 1.8Ghz CPU > > 1 Gb RAM > > An ATI 1050 256mb AGP video card > > I think I have turned off everything ACPI related in the BIOS setup. > > When I boot the i386 ISO, the kernel boots to the point of probing the PCI > bus and then hangs completely, even the keyboard is locked up. > > I've unplugged all the disks, so the only things in the system are the CD > drive, the floppy drive, and the video card. > > I have turned off acpi at boot time, and when I boot the i386 ISO > verbosely, the last few lines the kernel spews are: > > pci_open(1): mode 1 addr port (0x0cf8) is 0x8000c060 > pci_open(1a): mode1res=0x80000000 (0x80000000) > pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=02821106) > pcibios: BIOS version 2.10 > pcib0: pcibus 0 on motherboard > pci0: on pcib0 > pci0: domain=0, physical bus=0 > > There's no PCI cards plugged in, just the AGP video card. > > > When I try booting the AMD64 ISO, the boot loader runs, I get the boot > menu, and regardless of what boot options I give the kernel, I get the > message "CPU doesn't support long mode" and then I get the OK prompt. > > > I'm pretty sure it doesn't have a h/w problem, it'll boot and install > Fedora 11, Win2K, WinXP, and runs every DOS based diagnostic app I can find > with no problems. > > Anyone have any suggestions, or should I file a PR? Did you follow the suggestion on the release announcement of using the other CDs and switching before you start the install. Kent > > Thanks! > > - ericr > _______________________________________________ > 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" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 21:22:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37EB01065670 for ; Sat, 20 Jun 2009 21:22:47 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id E6B1F8FC08 for ; Sat, 20 Jun 2009 21:22:46 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by yxe38 with SMTP id 38so881295yxe.3 for ; Sat, 20 Jun 2009 14:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=P4c4hJk2pysjWmeanoAilh5bnyCrvpm22QT4uUeLrBQ=; b=IPiJoYmeNg3IejhqTBs/rPM02/tqNQLunZ4I89B8ZDs+x8rKS/gNl5GX4A5DoWDNUd HmY1m9/HOFxD4TKt+VkOZ2HtHBPBQ3zqgYTVsJxeV0oIaz1kmkVhtMOjeZmK7KqCMZCr G/68tokx3PpFuH3CpUmJRAVWIQA9hz6qsEsq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=wUhlrg8oQt3OaOxnqesQnRCAuMJwnyLRPYBYzBhz6NTCTuy5ZvyY5SbuqMu7yTy4fn 0ELLrz13vHvkJRAjVc6VRNg1Lpl29jXdsR85LGMHP4e7d2Vz34OjUDtSAFxR8a58Mb0R xmGJjHNaYVBbrdIytkRJgOxa2KBPP7PwZ8N+E= Received: by 10.90.118.8 with SMTP id q8mr3519727agc.38.1245531548472; Sat, 20 Jun 2009 13:59:08 -0700 (PDT) Received: from ?192.168.1.5? (c-98-212-199-182.hsd1.il.comcast.net [98.212.199.182]) by mx.google.com with ESMTPS id 7sm4810154aga.27.2009.06.20.13.59.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 13:59:08 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: FreeBSD Questions From: Joshua Isom Date: Sat, 20 Jun 2009 15:59:04 -0500 X-Mailer: Apple Mail (2.624) Subject: portell breakage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 21:22:47 -0000 I recently upgraded my ports tree which included the python update. Everything went smoothly(except that openchrome on amd64 requires a hand patch), but now portell won't run. I can create a database, but all I get otherwise is: Traceback (most recent call last): File "/usr/local/bin/portell", line 93, in main() File "/usr/local/bin/portell", line 73, in main if d.has_key(portname): File "/usr/local/lib/python2.6/shelve.py", line 107, in has_key return key in self.dict TypeError: argument of type 'bsddb.bsddb' is not iterable I've tried reinstalling python26 and portell, as well as seeing if a missing dependency of databases/py-bsddb was the cause to no avail. I haven't found anyone else having this error, so I'm not sure how to fix it. Has anyone else had this happen and know how to fix it? From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 22:31:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44AD4106564A for ; Sat, 20 Jun 2009 22:31:10 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id C25058FC15 for ; Sat, 20 Jun 2009 22:31:09 +0000 (UTC) (envelope-from wtf.jlaine@gmail.com) Received: by ewy8 with SMTP id 8so2898959ewy.43 for ; Sat, 20 Jun 2009 15:31:08 -0700 (PDT) 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=sx3/cU77pK6YrlQaS9GpYhYVK2R9/a9vzfI4kHmCAQ8=; b=pHel6LqxzLbg4mrWJNLFW8FzkFaBkoCt1S1GBfZArB+oDC/5A7EctWdLzbHPVULQXp GBqj4/SnDtwee6xvMhRcfsyu54IaPkhPW5NZAf8utSJX5Vw86pmXYei8OHXm05jzDNPb jQTcY6WXRxaZcXFoC5sT3HxoHIDqiPCtg0snk= 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=xRmNQ56GQU/rsHAR++KnJJiKIrpCuxZ2yxtRhtN3kDmFANwQ+YVc0yTp7SpuPq5aFl 8eF3p0lsPuSw8aipu/6afrHPHO3KNiZtstmcWAIxBTdN0mt4psF3+HbDAw/xZHLHBe20 nUafoQoe4xRc3Fvu2Hrogm2rWXJWSMzULc9yg= Received: by 10.210.113.19 with SMTP id l19mr5107587ebc.4.1245537068754; Sat, 20 Jun 2009 15:31:08 -0700 (PDT) Received: from blackmesa ([77.66.145.99]) by mx.google.com with ESMTPS id 19sm8905262ewy.118.2009.06.20.15.31.06 (version=SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 15:31:07 -0700 (PDT) Received: by blackmesa (sSMTP sendmail emulation); Sun, 21 Jun 2009 02:31:03 +0400 Date: Sun, 21 Jun 2009 02:31:03 +0400 From: Jeff Laine To: Nikos Vassiliadis Message-ID: <20090620223103.GA19062@free.bsd.loc> Mail-Followup-To: Jeff Laine , Nikos Vassiliadis , freebsd-questions@freebsd.org References: <70C0964126D66F458E688618E1CD008A0793F04D@WADPEXV0.waddell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70C0964126D66F458E688618E1CD008A0793F04D@WADPEXV0.waddell.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 Cc: freebsd-questions@freebsd.org Subject: Re: off topic: unmanageable switch? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 22:31:10 -0000 A vote for C-net devices. Pretty cheap and I can't recall any troubles caused by 'em. -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 22:31:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8724C106566C for ; Sat, 20 Jun 2009 22:31:11 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id E88028FC0C for ; Sat, 20 Jun 2009 22:31:10 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atomic.dyndns.org (athedsl-4487137.home.otenet.gr [94.71.67.233]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n5KMV8nP023656; Sun, 21 Jun 2009 01:31:08 +0300 Message-ID: <4A3D632C.4070804@otenet.gr> Date: Sun, 21 Jun 2009 01:31:08 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090414) MIME-Version: 1.0 To: Joshua Isom References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: portell breakage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 20 Jun 2009 22:31:11 -0000 Joshua Isom wrote: > I recently upgraded my ports tree which included the python update. > Everything went smoothly(except that openchrome on amd64 requires a > hand patch), but now portell won't run. I can create a database, but > all I get otherwise is: > > Traceback (most recent call last): > File "/usr/local/bin/portell", line 93, in > main() > File "/usr/local/bin/portell", line 73, in main > if d.has_key(portname): > File "/usr/local/lib/python2.6/shelve.py", line 107, in has_key > return key in self.dict > TypeError: argument of type 'bsddb.bsddb' is not iterable > > I've tried reinstalling python26 and portell, as well as seeing if a > missing dependency of databases/py-bsddb was the cause to no avail. I > haven't found anyone else having this error, so I'm not sure how to > fix it. Has anyone else had this happen and know how to fix it? > Same here. First I thought something went wrong with the python upgrade, but then checked in a clean vmware install and got the same results. Not sure about the fix, but this is either an incompatibility of portell with 2.6, or a python bug. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 23:10:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B408D106564A for ; Sat, 20 Jun 2009 23:10:18 +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 8EE4B8FC12 for ; Sat, 20 Jun 2009 23:10:18 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id BAADC50B01 for ; Sun, 21 Jun 2009 00:10:17 +0100 (BST) 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 fBaaC4yatBdz for ; Sun, 21 Jun 2009 00:10:04 +0100 (BST) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 7A5C150AFD; Sun, 21 Jun 2009 00:10:03 +0100 (BST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20090620231004.7A5C150AFD@nyi.unixathome.org> Date: Sun, 21 Jun 2009 00:10:03 +0100 (BST) Subject: The FreeBSD Diary: 2009-06-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: Sat, 20 Jun 2009 23:10:18 -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 . RECENT ARTICLES: 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 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 23:47:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 778ED1065670 for ; Sat, 20 Jun 2009 23:47:19 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2458FC19 for ; Sat, 20 Jun 2009 23:47:18 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by ewy8 with SMTP id 8so2921392ewy.43 for ; Sat, 20 Jun 2009 16:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=V2h7SDNO54poTuLfruEp1M4eh6ePS7o3wcaLWlgpUFY=; b=a7lzd943KLzSrSQQ3ecWMn0HiAPReE/+U0rlK9aBvTRLekwYm2oRgeEh3tRGvl4ZWD +DcCJAlsEJavMHFFxVOSFWssbFeFhiFVJPPeRlllTvK/MHoJitRunfNjO+e5ODTvYs1a YoOT5EsOG9hd/imIFRN+ujMEzgZt1TO4Br6Ro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=b3PB5hDQK6/vqdl1rjpdJUF3Fu6G+O1gZ81tZA3Suwt/Kn5TZHnfOBig0FpIeHvlPH l/8WxV5OqyyoUljb4hop4ElOzjQLnLFoeaDpEw6OrNjLNTVAc1IEPli3iArkYoIRTjyg L+JIFyBybK4GFh60cZs4RBun30HvjdUntVWxQ= MIME-Version: 1.0 Received: by 10.216.47.201 with SMTP id t51mr1605735web.198.1245541638114; Sat, 20 Jun 2009 16:47:18 -0700 (PDT) From: APseudoUtopia Date: Sat, 20 Jun 2009 19:46:58 -0400 Message-ID: <27ade5280906201646l6e4beae5ia6c620923b506cac@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Vim-Lite Port Refuses to Update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2009 23:47:19 -0000 Hey, I'm having issues with the vim-lite port. I have it installed, and I'm trying to update it. However, when the system attempts to fetch the patches, it fails. Here's the log: http://pastebin.ca/1468178 It seems like it's putting a % on the end of the URL that it is trying to fetch. Any ideas? Thanks.