From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 00:27:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBAA1106564A for ; Sun, 8 Aug 2010 00:27:28 +0000 (UTC) (envelope-from steven@too1337.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AF7898FC15 for ; Sun, 8 Aug 2010 00:27:28 +0000 (UTC) Received: by gxk24 with SMTP id 24so3980588gxk.13 for ; Sat, 07 Aug 2010 17:27:27 -0700 (PDT) Received: by 10.150.134.5 with SMTP id h5mr47042ybd.405.1281227247702; Sat, 07 Aug 2010 17:27:27 -0700 (PDT) Received: from thinkpad.susnet (ip68-99-10-223.om.om.cox.net [68.99.10.223]) by mx.google.com with ESMTPS id q21sm1192497ybk.3.2010.08.07.17.27.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Aug 2010 17:27:27 -0700 (PDT) Message-ID: <4C5DF9EC.8010101@too1337.com> Date: Sat, 07 Aug 2010 19:27:24 -0500 From: Steven Susbauer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100804 Thunderbird/3.0.6 MIME-Version: 1.0 To: David Banning References: <8cb14ab2da609fa44d278cee5ce5c737.squirrel@sq.3s1.com> In-Reply-To: <8cb14ab2da609fa44d278cee5ce5c737.squirrel@sq.3s1.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: forwarding ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 00:27:29 -0000 On 08/07/10 16:23, David Banning wrote: > I presently am using Putty and X-Win32 and I am connecting to a remote > machine successfully. > > I now need to connect using SSH over the internet -through- one machine, > but have my SSH with a second machine on the same site - something like > so; > > ssh-site1 --(internet)---> site2-(also 192.168.1.1)--> loc2-(192.168.1.50) > > I need to bridge the connection from 192.168.1.1 to 192.168.1.50 > so I've tried in ipnat; > If I hear you right, you're trying to connect to site2 over the internet, and also connect to loc2 through the connection on site2. SSH can create a tunnel itself. You could use something like: 'ssh -L 2200:loc2:22 user@site2' This would connect you to a shell on site2. Then on your machine open another terminal and type: 'ssh -p 2200 user@localhost' which would connect to loc2 port 22 using the connection on site2. If you try to close the connection to site2, it won't work since you're still connected to loc2. ssh also supports forwarding a port on the remote server using -R, but I'm led to believe you are trying to limit the connections that get through the site2 to loc2 and -L requires you (or someone else) to be on local system. In putty this same feature is configured under Connection > SSH > Tunnels. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 00:34:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 152F61065676 for ; Sun, 8 Aug 2010 00:34:00 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99EBA8FC1B for ; Sun, 8 Aug 2010 00:33:59 +0000 (UTC) Received: by wyj26 with SMTP id 26so11207987wyj.13 for ; Sat, 07 Aug 2010 17:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dY/16WDksS+i0lZH4J1ccEQhEyK/lmuypGrKsfP/eBY=; b=AZ2ltcYApTeUNpWnCB05rUmENmnY8d7APNSgFV2rNm+3rGMMOafZac3wdAXit76sRp 45cFqJSHEn2KklsCPf0QEgOK5u4u4M+Lv1U/x5mHiz7A8P1NI1FFFvMlYoG6CQelZMsf T+SD7UqZcKsS5cZ4rMSeVZOAaOWUT9fM2IIOA= 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=VfHJCyTs6xoo53WPZh8LT2WiCJCp9bQG/BOMnC12L5QBLWY+OdvbGnRr2lj2DwaaHA PeeoZbu8v/1VpQAkr630j1xFwLf3yAwZZogx9kFUYIcHL284RJlhGmHgrn/YuZivaySF Q7p6OseJoTvNP6+roKHJPXce3E2nxsPelCdUU= MIME-Version: 1.0 Received: by 10.216.234.93 with SMTP id r71mr1043571weq.104.1281227638507; Sat, 07 Aug 2010 17:33:58 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sat, 7 Aug 2010 17:33:58 -0700 (PDT) In-Reply-To: <20100807214737.75ebc397.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> Date: Sat, 7 Aug 2010 19:33:58 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 00:34:00 -0000 On Sat, Aug 7, 2010 at 2:47 PM, Polytropon wrote: > Just an addition: My solution works in the same way (modification > of /etc/ttys and /etc/gettytab), but I avoid this step: > > On Sat, 7 Aug 2010 04:49:00 -0500, Antonio Olivares wrote: >> Then created file /etc/rc.local >> with >> su - user_to_be_logged_in -c startx > > In fact, I use the autologin-user's ~/.login script (which is > executed after login) to contain a line to check for X's lock > file and then run startx. This gives the possibility to the > specific user to NOT have to need root permissions to change > the behaviour after autologin. The simple line in ~/.login is > this one: > > =A0 =A0 =A0 =A0[ -f /tmp/.X0-lock ] && startx > > Depending on requirements, this can be seen as an advantage > or disadvantage (usually in considerations about security); > it's also possible to create a "loop" that an accidental > logout won't drop the user to "DOS". :-) > > > > > -- Polytropon, So if I delete the file /etc/rc.local and make a file ~/.login, make it executable (chmod +x ~/.login), and add the line [ -f /tmp/.X0-lock ] && startx in that file and I will have the same result but without loggin in as root? I will try it out and thank you for the suggestion. I was going to try the autologin.c file and compile it, a similar solution is done for slackware. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 00:43:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E2A1065673 for ; Sun, 8 Aug 2010 00:43:40 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 2FE418FC0A for ; Sun, 8 Aug 2010 00:43:39 +0000 (UTC) Received: (qmail 2890 invoked by uid 0); 8 Aug 2010 00:43:39 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 8 Aug 2010 00:43:39 -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=iFAkhaawKABtqc/AwwUjNK/Dl29OB2/cuNye+fRyiQcx76g4hNTqvreQMYIn20l81Y3jImP5AzU617tcQyEjtHWGYVjjx+GR4DPXZk74zXndr6EAZ3oLQRbPaoWocNTp; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OhtzG-0004g5-BG for freebsd-questions@freebsd.org; Sat, 07 Aug 2010 18:43:39 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sat, 07 Aug 2010 18:41:11 -0600 Date: Sat, 7 Aug 2010 18:41:11 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20100808004111.GA42550@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C5BC3DB.4080406@gmail.com> <20100806092610.GA14470@slackbox.erewhon.net> <20100806201247.GA6715@saltmine.radix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20100806201247.GA6715@saltmine.radix.net> 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: Good Terminal for X? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 00:43:40 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 06, 2010 at 04:12:47PM -0400, Thomas Dickey wrote: > On Fri, Aug 06, 2010 at 11:26:10AM +0200, Roland Smith wrote: > >=20 > > Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and i= t does > > handle unicode well. It's a lot lighter than xterm. And it has transpar= ancy or > > backgrounds if you like that. >=20 > It's not "a lot lighter" - I made a table recently to investigate. > See >=20 > http://invisible-island.net/xterm/xterm.faq.html#bug_rxvt Thanks for the research. I had no idea rxvt-unicode had gotten so big. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkxd/ScACgkQ9mn/Pj01uKW+EACfVrfkYw3StWTfr8o9P7fmQE3x NMkAnRUwYzopO140j4o4KzrGh6HogJz5 =Gwdw -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 01:20:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B3D61065672 for ; Sun, 8 Aug 2010 01:20:02 +0000 (UTC) (envelope-from dtutty@vianet.ca) Received: from smtp2.vianet.ca (smtp2.vianet.ca [209.91.128.19]) by mx1.freebsd.org (Postfix) with ESMTP id 705648FC12 for ; Sun, 8 Aug 2010 01:20:02 +0000 (UTC) Received: from blitz.hooton (bar-tcs1-1-5.vianet.ca [209.91.172.132]) by smtp2.vianet.ca (Postfix) with ESMTP id 656FD15BADC for ; Sat, 7 Aug 2010 21:03:58 -0400 (EDT) Received: from dtutty by blitz.hooton with local (Exim 4.69) (envelope-from ) id 1OhuIu-0001qW-FJ for freebsd-questions@freebsd.org; Sat, 07 Aug 2010 21:03:56 -0400 Date: Sat, 7 Aug 2010 21:03:56 -0400 To: freebsd-questions@freebsd.org Message-ID: <20100808010356.GA7089@blitz.hooton> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) From: "Douglas A. Tutty" Subject: pkg_add on dialup: resume? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 01:20:02 -0000 Hello, I'm transitioning to FreeBSD on my box for several reasons. However, I'm on dialup. pkg_add doesn't seem to be able to resume since I can't use the phone line (or the computer) long enough to install packages all in one go. Is there a solution to this? Second, update-freebsd (binary updates) also don't seem to resume. --- I understand that if I go with building from source (both for security updates and for third-party apps) the there is a resume function with that. True? I was hoping to avoid the build-time, and I think it takes longer to download source than binary. Ideas? Thanks, Doug. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 02:53:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1B7A106576B for ; Sun, 8 Aug 2010 02:53:47 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id 623C58FC0C for ; Sun, 8 Aug 2010 02:53:47 +0000 (UTC) Received: (qmail 17661 invoked from network); 8 Aug 2010 02:53:46 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 8 Aug 2010 02:53:46 -0000 Message-ID: <4C5E1C3A.8050802@speakeasy.net> Date: Sat, 07 Aug 2010 19:53:46 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100808010356.GA7089@blitz.hooton> In-Reply-To: <20100808010356.GA7089@blitz.hooton> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pkg_add on dialup: resume? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 02:53:47 -0000 On 8/7/2010 6:03 PM, Douglas A. Tutty wrote: > However, I'm on dialup. pkg_add doesn't seem to be able to resume since > I can't use the phone line (or the computer) long enough to install > packages all in one go. > > Is there a solution to this? > There might be a more elegant solution but this is what I would say offhand. All pkg_add is doing is downloading the package from the freebsd ftp. It's just doing the behind the scenes stuff of picking which package is right for your system. So you could just use an ftp client with resume and go to ftp://ftp.freebsd.org/pub/FreeBSD/ports/ and find the packages you want and que them up in your ftp client. Then just do pkg_add /path/to/package when you've finished downloading them. If you don't use packages I think you can also setup resume if you're doing the "make install" method. Find an ftp client you want to use and change from using fetch to download source. This post describes setting up an ftp client to download using multiple connections but you should be able to adapt it for your needs. http://scratching.psybermonkey.net/2009/09/freebsd-download-ports-simultaneously.html > I understand that if I go with building from source (both for security > updates and for third-party apps) the there is a resume function with > that. True? I was hoping to avoid the build-time, and I think it takes > longer to download source than binary. > If you have an old FreeBSD ISO/CD laying around or someone you know has one you could install whatever version of the source you have. The handbook describes methods you can use to update your source where you only need to download what's different (this also means you don't need to download the source all at once).This should limit how much you have to download if you have a fairly recent version of FreeBSD and it will be pretty easy to then keep updated with minimal downloads in the future. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 04:07:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA41106564A for ; Sun, 8 Aug 2010 04:07:45 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 01C508FC12 for ; Sun, 8 Aug 2010 04:07:44 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OhwxR-0001Yb-5t for freebsd-questions@freebsd.org; Sat, 07 Aug 2010 20:53:58 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 07 Aug 2010 21:07:39 -0700 Date: Sat, 7 Aug 2010 21:07:39 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100808040739.GA41947@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C5B8748.1060904@el.net> <20100806041651.GA97269@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20100806041651.GA97269@libertas.local.camdensoftware.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: virtualbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 04:07:45 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Chip Camden on Thursday, 05 August 2010: > Quoth Brandon Gooch on Thursday, 05 August 2010: > > On Thu, Aug 5, 2010 at 10:53 PM, kalin m wrote: > > > > > > > > > hi all.. > > > > > > just wondering how mature is virtualbox to be used with freebsd - eit= her as > > > host or as guest. is viable to be used in production environment? > > > > >=20 > > >From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE, > > and 9-CURRENT) as both host and guest systems, YES. > >=20 > > I'm also using 32- and 64-bit Windows and Linux guests; performance > > and stability are very, very good. > >=20 > > Please try VirtualBox for yourself -- I think you will be pleased with > > the effort that's been put in to the port by the developers :) > >=20 > > -Brandon > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >=20 > I'll second that. I haven't used FreeBSD as a guest yet, but as a host > VirtualBox performs very nicely, and (touch wood) I haven't had any > problems with using Windows 7 and Windows XP as guests. I'm on amd64 > FreeBSD, and I've run both 64-bit and 32-bit Windows guests. >=20 Just to follow up, as part of my Bugathon participation I created a VM with 8.1-RELEASE as a guest for testing. The i386 version is running like a cha= mp. I couldn't get the amd64 iso to boot under VirtualBox, though. It just appeared to hang after loading most of the system -- sorry, I don't have a log. When running Xorg under VirtualBox, I had to add the following to xorg.conf to get the keyboard and mouse to respond: Section "ServerFlags" Option "AutoAddDevices" "off" EndSection Everything else worked out of the box (so to speak). --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMXi2LAAoJEIpckszW26+Rf40H/RFwBFok8s2Kzk3gsvOW+Vc/ 4zwe035zevti4HTL3xlOcFfa+kG560eO6YMyQlxyltSl3mQ8I26tmnJT1Xt3eAsz CU2nq7tysGsLwmE3hcneXI7KLDQaGWoaAjMCvyDP8ebLdQ92vv668V2kA7gvidAJ oRO3qKm0Uc2vjXpVMQgrihHNEj9nHYgYvs7PDiSOW8BlNQMYhupKxpZyo+eNDskF OhUIe1mAuUgxs27LuXX12yB/8UwExGQaB0RfU+Kw7wc2Yz+IeqQnUh2X6DcjoA7z BubMANcLsdAcm3BRD0j4pp/HLrbSWW6+jT3e4f3S/StSZO6wavtw2A4etkXClec= =XtGk -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 05:25:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA8C106566B for ; Sun, 8 Aug 2010 05:25:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id A08B08FC12 for ; Sun, 8 Aug 2010 05:25:20 +0000 (UTC) Received: by qyk32 with SMTP id 32so8532525qyk.13 for ; Sat, 07 Aug 2010 22:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=ihpSuxfIeuLlnUR1QHRi5C3s7+zBjIh1/i7zzGNRNAg=; b=HRyo9ctoL7p+s2CXktEm2hT3bRuvdcl5uwVaCuGtXeSM0OrnhQ/7y4f8R2bx4CiogB HIr/75L8BOIqKUkFn0TD56F8C5VZwz4uVrWDrkt3/IPon78LW0wDMk2ok0/xtgUd1ie8 fwK4CBeARKOeEDq31bj3bWuBjDbwggWsX6MLE= 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=AKdejCzKde45bSlIeBoc/rTrg6g/MEJNxCELJ+6fb14XSsIxWEUhW74ptWPd+xtaHl gzrKdkWIMYmW/tOdTV+Aa/VTz34VDcvNaTiOzG8SfKHEjV6pLLY5leZoyXLdPe7/BU3m ePp6R7uKD4926IbQIkydHMPNry9CznvYcXaLE= MIME-Version: 1.0 Received: by 10.229.122.21 with SMTP id j21mr6024048qcr.257.1281245119665; Sat, 07 Aug 2010 22:25:19 -0700 (PDT) Received: by 10.229.236.6 with HTTP; Sat, 7 Aug 2010 22:25:19 -0700 (PDT) In-Reply-To: <20100808040739.GA41947@libertas.local.camdensoftware.com> References: <4C5B8748.1060904@el.net> <20100806041651.GA97269@libertas.local.camdensoftware.com> <20100808040739.GA41947@libertas.local.camdensoftware.com> Date: Sun, 8 Aug 2010 00:25:19 -0500 Message-ID: From: Adam Vande More To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: virtualbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 05:25:21 -0000 On Sat, Aug 7, 2010 at 11:07 PM, Chip Camden wrote: > Just to follow up, as part of my Bugathon participation I created a VM with > 8.1-RELEASE as a guest for testing. The i386 version is running like a > champ. I > couldn't get the amd64 iso to boot under VirtualBox, though. It just > appeared to hang after loading most of the system -- sorry, I don't have > a log. > I have a number of freebsd amd64 guests working fine, are you sure ostype is set correctly? You can get symptoms like yours if you're trying to boot amd64 when the vbox cpu is set to 32. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 06:04:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C5E1065674 for ; Sun, 8 Aug 2010 06:04:36 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 886868FC1F for ; Sun, 8 Aug 2010 06:04:35 +0000 (UTC) Received: by fxm13 with SMTP id 13so5050844fxm.13 for ; Sat, 07 Aug 2010 23:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/SOOH5REi2at5hX69+CQHpantK+CufySz1CXuuzgj90=; b=L7apwvZl7dPUTfDUqrXKcp0wfDnZZUse0ZrhQUpba7jxfO+XWuzP61joJ7Prp5uPrS er9IZGFYBGNGhPBEflmqtRlGdfgiphpe0ozG6G2SVQb7S9MScnPFkI44P6P17dhZl3Mn ufCIAJ+uyPv0ggJPYd8mNSENETMETz7nSZBA0= 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=O0PWXtyHXoSamn6HqGfo5W6h1M1NzB3k4Wsmavb1sym3hBcyg1/OxMt4fXFNNrA/ZD OzEOpP80soC6AK5TgEtIyD03CdJFHGCINioavv2k+HagB0myJ3gNkUnJHXf9KZY4HXAQ 89yhdmXNK/8AnUIGkP40FXbUmQcs7y2Ami6Yw= MIME-Version: 1.0 Received: by 10.223.113.13 with SMTP id y13mr14969199fap.37.1281247474258; Sat, 07 Aug 2010 23:04:34 -0700 (PDT) Received: by 10.223.97.212 with HTTP; Sat, 7 Aug 2010 23:04:34 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Aug 2010 23:04:34 -0700 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Festival 1.9.6_1 Port Successfully Running on FreeBSD 7.x - 8.x?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 06:04:36 -0000 Update... Frustrated by unknown errors in what seemed initially a successful port install and hours searching for fixes decided to "pkg_deinstalled" festival 1.9.6_1 and all dependencies. After rebooting decided to download the latest version of festival-2.0.95-beta.tar.gz located at http://festvox.org/festival/ . After reading instructions and disabling certain sound device support, compiled required Festival files with gmake also installed "voices, lexicons & dicts" After a few gmake tests, decided to test out "text2wave hello.txt -o hello.wav" to my freaking suprise it works like a charm! Have not tested any speech stuff, since all I need is "text2wave" to work properly. Totally stoked latest Festival 2.0.95 (Circa 2010) working on FreeBSD 7.2-RELEASE Cheers, Diego On 7 August 2010 09:52, Diego Montalvo wrote: > Howdy! > Have installed festival 1.9.6_1 from the ports and everything seemed > to install correctly but for the life of me can not get jack working > on festival. =A0 "can't find NAS server", get "SIOD Error" when running > "text2wave" etc.... =A0All I want to do is have text2wave convert text > to an audio file, need no other functionality. =A0 Has anyone > successfully installed 1.9.6_1 on FreeBSD and have it working properly > especially the "text2wave" script. > > Thanks, > Diego > From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 06:06:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44BF71065670 for ; Sun, 8 Aug 2010 06:06:05 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id E80E78FC22 for ; Sun, 8 Aug 2010 06:06:04 +0000 (UTC) Received: by pvg4 with SMTP id 4so462587pvg.13 for ; Sat, 07 Aug 2010 23:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=5+rXPwroyxkLmme5SczWKSZpl7vxO+2p4oN029UcqCU=; b=i5V16btecdcx+WsWmIx9XbvwTuxBzwGO/lkBgBAMFERLj3nT28uHeqB8nsehhRFcJf 1eRyF4bDcOb6lMURLt36Ke2yoVCpK2Jd1PZKOIg+inlzqg7kmsU/jId1V/67zEdID/Iu PBmrz+Xk0pjJJt0zSYdpYHTRuIQx1ZUFcmE44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=Heu7CpVJFWcBuLz2BUx8B9VeXHmMNfxbf+USBM9waHcli5TojFBBNQ1l/sAsOoC4+T CECmP1yTClMuaECMOxpwQ57Bi2t/940FvH8RNF9k+xez5D92lWg0WLWPjd7d0y8pNC5K jCB1UarL7vO0kc7TwOGd7wS+IVtWWnliAz2IQ= Received: by 10.114.127.20 with SMTP id z20mr16583835wac.39.1281247564467; Sat, 07 Aug 2010 23:06:04 -0700 (PDT) Received: from chateau.d.if ([122.163.158.177]) by mx.google.com with ESMTPS id q6sm7118922waj.10.2010.08.07.23.06.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Aug 2010 23:06:03 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [IPv6:::1]) by chateau.d.if (Postfix) with ESMTP id 574D34ACB7; Sun, 8 Aug 2010 11:35:57 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Carl Johnson Organization: The FreeBSD Project References: <878w4svp18.fsf@cjlinux.localnet> <87r5ihbpoe.fsf@cjlinux.localnet> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 11:33AM up 2:58, 3 users, load averages: 0.12, 0.13, 0.07 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: FreeBSD/FreeBSD 8.1-RELEASE/amd64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Sun, 08 Aug 2010 11:35:56 +0530 In-Reply-To: <87r5ihbpoe.fsf@cjlinux.localnet> (Carl Johnson's message of "Sun, 01 Aug 2010 21:32:01 -0700") Message-ID: <86aaoxprjv.fsf_-_@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Gnus issue in FreeBSD (was: Re: IPv6 rtadv on FreeBSD 8.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, 08 Aug 2010 06:06:05 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Carl Johnson writes: [...] > Now if I could just figure out why gnus doesn't work right under emacs > I could finish migrating from Linux to FreeBSD. I use same .gnus in both GNU/Linux and FreeBSD and keep the mailboxen on the $HOME of both boxen sync-ed with each other, and works great for me. =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CIf builders built buildings the way programmers wrote programs, th= en the first woodpecker that came along would destroy civilization.=E2=80=9D (Weinberg's Second Law) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBCgAGBQJMXklEAAoJEMdGz6nnT6SwLxUQALxhjre0w4cvLfNVCFXJ5e/a g1eZc505uXRJCCkYykI/+ATCewxgsWBFnTJxcOVjrMkov/wniEZ/xkh/zuCxC47/ q9fEOWhKwOWDh5lc20lGZjaJOp0bUrNJmCOA/a4MdPdGpep84p5VGqhkNI8MHrVH w2RauWXh1qxBkL0xmV6vleMaSTUxHTFDo+WM3jyomDEutCcsCjqC5PLIoExkUULQ q2EhnzpM1jxaHIl/tITa9MsKs3wSIjlkfmw1eov3d+Io21qPDvowSqfrlC3fKGs4 MuW5v//c+q3TW+dX9Zx9vwoVNF+e8Mh86boeevaPJlmqmJfX3PGHEQQZONSOgmwx 665lLFijxVhRuSThacM+zpr+bbQCXrEppp0UvHDWHNq5etvtOzInAUIdLRnPl3nH e4yov5Sfj8rD5+w2/6rve0Umrin1j89WCsDg0g7E2EgcFpcC2BBBO0LAbJCWLjAf 9NMhJCnulBkvJ+FelyL8TDk6JNv3MG1Svg25c6kUKV4Ttdff+so1+QJWCoX+t38X IcaPSJFz9ulMZSWf5z6h2hPMeH/jtnamBpo8yJa1VT7IX1JDPEy3lzwUhtVfjohn loI02jObq3sPlgDqxI6wg+3KXS4FXWKt3H3XLNAB1UWbf+YHsAUiJPBymQQ9kW1o xjS1VwOskqzublNZ9Dsi =5R7l -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 06:54:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 948C91065672 for ; Sun, 8 Aug 2010 06:54:30 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from snt0-omc1-s2.snt0.hotmail.com (snt0-omc1-s2.snt0.hotmail.com [65.55.90.13]) by mx1.freebsd.org (Postfix) with ESMTP id 689FF8FC17 for ; Sun, 8 Aug 2010 06:54:30 +0000 (UTC) Received: from SNT103-W28 ([65.55.90.9]) by snt0-omc1-s2.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 7 Aug 2010 23:54:29 -0700 Message-ID: X-Originating-IP: [83.68.163.47] From: Marwan Sultan To: Date: Sun, 8 Aug 2010 06:54:29 +0000 Importance: Normal In-Reply-To: <201008041424.o74EORrO006817@krusty.intranet.com.mx> References: <201008040700.o74700oI014471@mp.cs.niu.edu>, <20100804135951.GC52190@gizmo.acns.msu.edu>, <201008041424.o74EORrO006817@krusty.intranet.com.mx> MIME-Version: 1.0 X-OriginalArrivalTime: 08 Aug 2010 06:54:29.0371 (UTC) FILETIME=[8C321CB0:01CB36C6] 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 Subject: RE: Anti virus, anti spam step guide. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 06:54:30 -0000 Hi.. =20 For WebMail that has everything you want: www.opebwebmail.org =20 For pop3 : qpopper =20 For Spam: SpamAssassin =20 Default sendmail is good. =20 =20 all the above is available from ports=2C I would recommend a manual install= for openwebmail instead of ports so you can follow and know how things work. =20 You can install spamassassin from ports=2C and follow the instructions. =20 -Marwan Sultan =20 > Date: Wed=2C 4 Aug 2010 09:19:19 -0500 > To: freebsd-questions@freebsd.org > From: jbiquez@icsmx.com > Subject: Anti virus=2C anti spam step guide. >=20 > Hello all. >=20 > I am looking documentation for implementing=2C the easiest way anti=20 > virus and anti spam configuration for non tech users and out of the=20 > box after installing FreeBSD (actually using 7.3 Release). > I have been working with it for some years but I am not an expert at=20 > all. I need to help some non-profit organizations that received some=20 > 2 year old computers as donation and they will use it for email=20 > services. They have not tech people=2C so the idea is that I can help=20 > them to implement that solution the easiest way so maybe one of the=20 > teacher there can try to replicate the solution. >=20 > UNtil now I always have used Sendmail as it is installed=2C no filters=20 > besided the spamcop ones but that was enough for my personal use. > I know some of you will tell that change to postfix or another MTA=20 > and that instead using POP3 that I have to use another tool (courier=2C=20 > fetchail=2C imap (any) etc etc). I ca do it for sur and I do not want=20 > to star a war =2C again=2C under what MTA is the best. I just would like= =20 > to have the best and easiest solution for them. Once installed they=20 > only will be creating new accounts=2C changing paswords=2C deleting=20 > accounts. Nothing else. Ah=2C another thing if possible is to implement=20 > a webmail but that will be an extra gem if possible. >=20 > Any resources? Any suggestions based in experience? (I have one=20 > machine of them that I will use for testing the solution). >=20 > Thanks in advance >=20 > Jorge Biquez >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 09:37:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2EEF1065675 for ; Sun, 8 Aug 2010 09:37:39 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 816458FC19 for ; Sun, 8 Aug 2010 09:37:39 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o789baSa020472 for ; Sun, 8 Aug 2010 05:37:38 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o789bafP020471 for freebsd-questions@freebsd.org; Sun, 8 Aug 2010 05:37:36 -0400 (EDT) Date: Sun, 8 Aug 2010 05:37:36 -0400 From: Thomas Dickey To: freebsd-questions@freebsd.org Message-ID: <20100808093736.GA19803@saltmine.radix.net> References: <4C5BC3DB.4080406@gmail.com> <20100806092610.GA14470@slackbox.erewhon.net> <20100806201247.GA6715@saltmine.radix.net> <20100808004111.GA42550@guilt.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20100808004111.GA42550@guilt.hydra> User-Agent: Mutt/1.3.27i Subject: Re: Good Terminal for X? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 09:37:39 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 07, 2010 at 06:41:11PM -0600, Chad Perrin wrote: > On Fri, Aug 06, 2010 at 04:12:47PM -0400, Thomas Dickey wrote: > > On Fri, Aug 06, 2010 at 11:26:10AM +0200, Roland Smith wrote: > > >=20 > > > Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and= it does > > > handle unicode well. It's a lot lighter than xterm. And it has transp= arancy or > > > backgrounds if you like that. > >=20 > > It's not "a lot lighter" - I made a table recently to investigate. > > See > >=20 > > http://invisible-island.net/xterm/xterm.faq.html#bug_rxvt >=20 > Thanks for the research. I had no idea rxvt-unicode had gotten so big. The base size has certainly increased well beyond the original rxvt. The total size seems to be from the transparency support. One thing that surprised me in collecting the data was noting the terminals which are mostly implemented as libraries. Their main programs can be quite small. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFMXnpWtIqByHxlDocRAtRnAJ950qWUMracaYbuHmQpburOOqsUHgCgn2As 3WjiaRxdN3XGGstmToLdmZs= =1J6F -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 10:08:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C0221065675 for ; Sun, 8 Aug 2010 10:08:39 +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 CD7AD8FC14 for ; Sun, 8 Aug 2010 10:08:38 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx01.qsc.de (Postfix) with ESMTP id 1F17E3D671; Sun, 8 Aug 2010 12:08:16 +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 o78A8GeY001502; Sun, 8 Aug 2010 12:08:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 12:08:16 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808120816.b6b1f54a.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 10:08:39 -0000 On Sat, 7 Aug 2010 19:33:58 -0500, Antonio Olivares wrote: > Polytropon, > > So if I delete the file /etc/rc.local and make a file ~/.login, make > it executable (chmod +x ~/.login), and add the line > > > [ -f /tmp/.X0-lock ] && startx > in that file and I will have the same result but without loggin in as > root? Correct. The user specified by the autologin directive will be the user who runs the "startx" command, so no need for using "su". Here's an example from a working FreeBSD 5 system: /etc/ttys: ttyv0 "/usr/libexec/getty autologin" cons25l1 on secure Intead of "Pc", the profile to be used is named "autologin". /etc/gettytab: autologin:\ :al=praxis:tc=Pc: The name "praxis" is the user's account name for the user to be logged in automatically. All capabilities defined in "Pc" will also be incorporated. /home/praxis/.login: mesg y [ ! -f /tmp/.X0-lock ] && startx This makes sure the same username can be used for an SSH login (and it WON'T try to start another X then), or it can be used to log in via text mode console. When X is shut down, the user will be dropped to the text mode CLI. If you don't want to do that, add "logout" as the next line in ~/.login, or enclose the whole "startx" line in a loop. But this can lead to problems when X is not working properly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 05:45:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4795D106566C for ; Sun, 8 Aug 2010 05:45:12 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id D27EB8FC0C for ; Sun, 8 Aug 2010 05:45:11 +0000 (UTC) Received: from [216.66.131.91] (216-66-131-91.dsl.look.ca [216.66.131.91]) (authenticated bits=0) by 3s1.com (8.13.8/8.13.8) with ESMTP id o785j7sS028021; Sun, 8 Aug 2010 01:45:09 -0400 (EDT) (envelope-from david@skytracker.ca) Message-ID: <4C5E445E.3090101@skytracker.ca> Date: Sun, 08 Aug 2010 01:45:02 -0400 From: David Banning User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Steven Susbauer References: <8cb14ab2da609fa44d278cee5ce5c737.squirrel@sq.3s1.com> <4C5DF9EC.8010101@too1337.com> In-Reply-To: <4C5DF9EC.8010101@too1337.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 08 Aug 2010 11:04:57 +0000 Cc: freebsd-questions@freebsd.org Subject: Re: forwarding ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 05:45:12 -0000 Thanks for that Steven. Connecting this way is only a deviation from the usually connection we use. I have several users you have X-win32 configured on their laptops on the road. I was hoping to make this change invisible to each existing user and their setup since we will be going back to the previous direct X-Win32 ssh connection soon. I'll look at the -R option that you mentioned which I was not aware of. On 8/7/2010 8:27 PM, Steven Susbauer wrote: > On 08/07/10 16:23, David Banning wrote: >> I presently am using Putty and X-Win32 and I am connecting to a remote >> machine successfully. >> >> I now need to connect using SSH over the internet -through- one machine, >> but have my SSH with a second machine on the same site - something like >> so; >> >> ssh-site1 --(internet)---> site2-(also 192.168.1.1)--> >> loc2-(192.168.1.50) >> >> I need to bridge the connection from 192.168.1.1 to 192.168.1.50 >> so I've tried in ipnat; >> > > If I hear you right, you're trying to connect to site2 over the > internet, and also connect to loc2 through the connection on site2. > > SSH can create a tunnel itself. You could use something like: > 'ssh -L 2200:loc2:22 user@site2' > > This would connect you to a shell on site2. Then on your machine open > another terminal and type: > 'ssh -p 2200 user@localhost' which would connect to loc2 port 22 using > the connection on site2. If you try to close the connection to site2, > it won't work since you're still connected to loc2. > > ssh also supports forwarding a port on the remote server using -R, but > I'm led to believe you are trying to limit the connections that get > through the site2 to loc2 and -L requires you (or someone else) to be > on local system. > > In putty this same feature is configured under Connection > SSH > > Tunnels. > From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 11:35:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E411065672 for ; Sun, 8 Aug 2010 11:35:31 +0000 (UTC) (envelope-from jozsi.avadkan@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 841448FC14 for ; Sun, 8 Aug 2010 11:35:30 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 9so922537bwz.13 for ; Sun, 08 Aug 2010 04:35:30 -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=pwp3E7Ang/zGyXIzvG9O9ux/hAygyU18TArqbko5Cio=; b=WeBuXb6RnylylD0NChT4FJVLHSYRmQP1ZoORZQJ0J1KDLG6kWE8JyCqsltDHUMKpke d+lyAanWH4tcVyGDK6+COK7Dmhcu05QP3hf5FJDGwf2euWDDwZRBUohPWo1HgM7xLnA2 77h4jsQbzxGtHrtu7IZvAdZ9vi0y09hZ3Nqdw= 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=fDbpVF5vcVSLmxGAKuKFYceKxgD4HlHQT8ipty/gOSTN8jlxKk5aZcIuHAlPx4tFUm 5KMlsBy2n35Om0+p0NuK/jYrFWQ5zzhm+7gM93CvTU5CtgI1Fj9GyWhOH2eqz3STIYD+ A5gTUfeTsFiSa0xHBb3+PGxJbqNXMOX8EQdZo= Received: by 10.204.0.83 with SMTP id 19mr9693812bka.67.1281267329493; Sun, 08 Aug 2010 04:35:29 -0700 (PDT) Received: from [192.168.1.109] (fibhost-66-185-70.fibernet.hu [85.66.185.70]) by mx.google.com with ESMTPS id bq20sm2280652bkb.16.2010.08.08.04.35.28 (version=SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 04:35:29 -0700 (PDT) From: Jozsi Vadkan To: FreeBSD Mailing list Content-Type: text/plain Date: Sun, 08 Aug 2010 13:35:27 +0200 Message-Id: <1281267327.3997.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: FreeBSD on the RouterBoard 450G X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 11:35:31 -0000 Did anyone manage to install, and use/test FreeBSD on the RouterBoard 450G? Or does anyone has a howto for it, how to do it? Thank you in advance. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 11:58:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E3EE1065676 for ; Sun, 8 Aug 2010 11:58:52 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id A6C258FC0A for ; Sun, 8 Aug 2010 11:58:51 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by midgard (Axigen) with (AES256-SHA encrypted) ESMTPSA id 17614B; Sun, 8 Aug 2010 13:35:52 +0200 Message-ID: <4C5E9874.3030606@nagual.nl> Date: Sun, 08 Aug 2010 13:43:48 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 11:58:52 -0000 Years back I ran FreeBSD, so I have some experience. The last couple of years I ran Solaris, followed by Opensolaris. I am very satisfied. However, considering the troubles after Oracle took over I have rebuild my server system under FreeBSD-8.1 (now running as a virtual machine under VirtualBox). All works very well and smooth so I'm going to transfer this VM to a real seperate harddisk. I have a couple of questions: [1] Transfering the VM is best done using dump/restore I guess? (This after a smallest creation of fbsd81 on the new harddisk) ? My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 (1Tb) The fist is disabled at the moment and the others are ZFS mirrors under opensolaris. they are not usable for freebsd because the zfs versions don't match. I will have to rebuild. ;-) However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I don't want my system to boot off ZFS like I have now on OpenSolaris-b134 I think it is wisest to have the 160Gb IDE drive installed for FreeBSD system drive w/ UFS2 and after that create two ZFS mirrors from my SATA drives. Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I still need special settings? The server system is 64bits and has 3Gb memory. I hope to get some answers or good reading points. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 12:27:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E9E3106564A for ; Sun, 8 Aug 2010 12:27:21 +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 7FE978FC19 for ; Sun, 8 Aug 2010 12:27:20 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o78CRFBl036591 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 8 Aug 2010 13:27:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C5EA29B.7040401@infracaninophile.co.uk> Date: Sun, 08 Aug 2010 13:27:07 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Dick Hoogendijk References: <4C5E9874.3030606@nagual.nl> In-Reply-To: <4C5E9874.3030606@nagual.nl> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAEC34F8BA604A6FB1B7938B2" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_05,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd questions Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 12:27:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEC34F8BA604A6FB1B7938B2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/08/2010 12:43:48, Dick Hoogendijk wrote: > Years back I ran FreeBSD, so I have some experience. The last couple o= f > years I ran Solaris, followed by Opensolaris. I am very satisfied. > However, considering the troubles after Oracle took over I have rebuild= > my server system under FreeBSD-8.1 (now running as a virtual machine > under VirtualBox). All works very well and smooth so I'm going to > transfer this VM to a real seperate harddisk. >=20 > I have a couple of questions: >=20 > [1] Transfering the VM is best done using dump/restore I guess? (This > after a smallest creation of fbsd81 on the new harddisk) ? Yes, that would be a pretty good way of doing your vtophys migration. > My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 > (1Tb) The fist is disabled at the moment and the others are ZFS mirrors= > under opensolaris. they are not usable for freebsd because the zfs > versions don't match. I will have to rebuild. ;-) % zpool list -H -o version zroot 14 % zfs list -H -o version / 3 Those are the latest available under 8-STABLE -- 8.1-RELEASE will be the same. > However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I > don't want my system to boot off ZFS like I have now on OpenSolaris-b13= 4 >=20 > I think it is wisest to have the 160Gb IDE drive installed for FreeBSD > system drive w/ UFS2 and after that create two ZFS mirrors from my SATA= > drives. Hmmm... well, booting FreeBSD off ZFS works perfectly well. Apart from the lack of support in sysinstall, I can't see any good reasons to avoid it. However, it's your system, and booting from UFS also works very well, so do whatever pleases you. There's more of a question over whether it's a good idea to put swap onto zfs -- I think the recommendation is still to prefer using a raw partition or gmirror for that. > Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I > still need special settings? The server system is 64bits and has 3Gb > memory. Yes. It works very well. On amd64 you'll get a pretty reasonable setup out of the box (so to speak) which will work fine for most purposes. Of course, if your system has particularly demanding IO patterns, then you may have to tweak some loader.conf or sysctl parameters to get the best results. But that's hardly unique to ZFS. > I hope to get some answers or good reading points. The FreeBSD Wiki entries on ZFS are very useful to read: http://wiki.freebsd.org/ZFS (and the links from that page) especially the recipes for installing various different ZFS based configurations: eg. http://wiki.freebsd.org/RootOnZFS Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigAEC34F8BA604A6FB1B7938B2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxeoqIACgkQ8Mjk52CukIyshgCdFueqNCCY0hqkT043pQQhrVqH Q3IAn2YwAbtJEkLFewnd0LCV+goZCny1 =hH8K -----END PGP SIGNATURE----- --------------enigAEC34F8BA604A6FB1B7938B2-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 13:22:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2D5D1065675 for ; Sun, 8 Aug 2010 13:22:51 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA8B8FC08 for ; Sun, 8 Aug 2010 13:22:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o78DMlwU033063; Sun, 8 Aug 2010 07:22:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o78DMliN033060; Sun, 8 Aug 2010 07:22:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Aug 2010 07:22:47 -0600 (MDT) From: Warren Block To: Chip Camden In-Reply-To: <20100808040739.GA41947@libertas.local.camdensoftware.com> Message-ID: References: <4C5B8748.1060904@el.net> <20100806041651.GA97269@libertas.local.camdensoftware.com> <20100808040739.GA41947@libertas.local.camdensoftware.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 08 Aug 2010 07:22:47 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: virtualbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 13:22:51 -0000 On Sat, 7 Aug 2010, Chip Camden wrote: > When running Xorg under VirtualBox, I had to add the following to > xorg.conf to get the keyboard and mouse to respond: > > Section "ServerFlags" > Option "AutoAddDevices" "off" > EndSection As with a physical machine, that is only needed to disable hal input device detection. One of my FreeBSD 8 VMs has dbus and hal enabled, virtualbox-ose-additions installed, and runs without an xorg.conf. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 13:30:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 169611065673 for ; Sun, 8 Aug 2010 13:30:27 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id B95E98FC17 for ; Sun, 8 Aug 2010 13:30:26 +0000 (UTC) Received: by qwg5 with SMTP id 5so5314129qwg.13 for ; Sun, 08 Aug 2010 06:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=D0RcEqdyEIhgbXzaPZetRMHYNLQtVoHMpj2P+wdA/go=; b=L0HjGLQKvmw6/JhKBu4ipsYcRhgkMKzwuhQCMRH4MdwC8dcAqZfyZXguJ7efvmYPJd 5gwTcOLYOvUFQ9IelTG+MG3cQFhvFvYBm2ZT5BnIlTVSnaX1JeA3H/fxRasnPFqQnRQq 609WhPj7DqrdlZ9fipOUvJkfzxVrKzugs3iWQ= 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; b=qGiYH2tmqpYUInbmF4UT+leXb3vat+Xf74FFM6ivZ7PJ2iPcXJrEywT65OSZjtC/FS 1u8EDhxLMYioaHuCM+PXPGti5CI5fJbjNum/Y3h3F+wC2BchUn4TexNnnNXN5XkM1azu roMJWBmc/W9jcwnBYX0wt4o8n+5m6+NzgsZSw= MIME-Version: 1.0 Received: by 10.229.251.134 with SMTP id ms6mr6433942qcb.55.1281274225811; Sun, 08 Aug 2010 06:30:25 -0700 (PDT) Received: by 10.229.250.140 with HTTP; Sun, 8 Aug 2010 06:30:25 -0700 (PDT) In-Reply-To: <4C5EA29B.7040401@infracaninophile.co.uk> References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> Date: Sun, 8 Aug 2010 14:30:25 +0100 Message-ID: From: krad To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dick Hoogendijk , freebsd questions Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 13:30:27 -0000 On 8 August 2010 13:27, Matthew Seaman wrote: > On 08/08/2010 12:43:48, Dick Hoogendijk wrote: > > Years back I ran FreeBSD, so I have some experience. The last couple of > > years I ran Solaris, followed by Opensolaris. I am very satisfied. > > However, considering the troubles after Oracle took over I have rebuild > > my server system under FreeBSD-8.1 (now running as a virtual machine > > under VirtualBox). All works very well and smooth so I'm going to > > transfer this VM to a real seperate harddisk. > > > > I have a couple of questions: > > > > [1] Transfering the VM is best done using dump/restore I guess? (This > > after a smallest creation of fbsd81 on the new harddisk) ? > > Yes, that would be a pretty good way of doing your vtophys migration. > > > My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 > > (1Tb) The fist is disabled at the moment and the others are ZFS mirrors > > under opensolaris. they are not usable for freebsd because the zfs > > versions don't match. I will have to rebuild. ;-) > > % zpool list -H -o version zroot > 14 > % zfs list -H -o version / > 3 > > Those are the latest available under 8-STABLE -- 8.1-RELEASE will be the > same. > > > However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I > > don't want my system to boot off ZFS like I have now on OpenSolaris-b134 > > > > I think it is wisest to have the 160Gb IDE drive installed for FreeBSD > > system drive w/ UFS2 and after that create two ZFS mirrors from my SATA > > drives. > > Hmmm... well, booting FreeBSD off ZFS works perfectly well. Apart from > the lack of support in sysinstall, I can't see any good reasons to avoid > it. However, it's your system, and booting from UFS also works very > well, so do whatever pleases you. > > There's more of a question over whether it's a good idea to put swap > onto zfs -- I think the recommendation is still to prefer using a raw > partition or gmirror for that. > > > Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I > > still need special settings? The server system is 64bits and has 3Gb > > memory. > > Yes. It works very well. > > On amd64 you'll get a pretty reasonable setup out of the box (so to > speak) which will work fine for most purposes. Of course, if your > system has particularly demanding IO patterns, then you may have to > tweak some loader.conf or sysctl parameters to get the best results. > But that's hardly unique to ZFS. > > > I hope to get some answers or good reading points. > > The FreeBSD Wiki entries on ZFS are very useful to read: > > http://wiki.freebsd.org/ZFS (and the links from that page) > > especially the recipes for installing various different ZFS based > configurations: eg. http://wiki.freebsd.org/RootOnZFS > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > if you want an easy zfsroot install use the pcbsd installer as it supports zfs installation and can install plain freebsd From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 13:34:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96EA41065674 for ; Sun, 8 Aug 2010 13:34:55 +0000 (UTC) (envelope-from eliaschr@cha.forthnet.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.105]) by mx1.freebsd.org (Postfix) with ESMTP id 0A94E8FC19 for ; Sun, 8 Aug 2010 13:34:54 +0000 (UTC) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id o78DYqQP023280 for ; Sun, 8 Aug 2010 16:34:52 +0300 Received: from MX-IN-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-03.forthnet.gr (8.14.3/8.14.3) with ESMTP id o78DYqp0016458 for ; Sun, 8 Aug 2010 16:34:52 +0300 Received: from pluto.universe (62.1.182.160.dsl.dyn.forthnet.gr [62.1.182.160]) by MX-IN-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id o78DYig5027537 for ; Sun, 8 Aug 2010 16:34:46 +0300 Authentication-Results: MX-IN-04.forthnet.gr smtp.mail=eliaschr@cha.forthnet.gr; spf=neutral Authentication-Results: MX-IN-04.forthnet.gr header.from=eliaschr@cha.forthnet.gr; sender-id=neutral From: Elias Chrysocheris To: freebsd-questions@freebsd.org Date: Sun, 8 Aug 2010 16:34:40 +0300 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; amd64; ; ) References: <4C5E9874.3030606@nagual.nl> In-Reply-To: <4C5E9874.3030606@nagual.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008081634.41422.eliaschr@cha.forthnet.gr> Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 13:34:55 -0000 On Sunday 08 of August 2010 14:43:48 Dick Hoogendijk wrote: > Years back I ran FreeBSD, so I have some experience. The last couple > of years I ran Solaris, followed by Opensolaris. I am very satisfied. > However, considering the troubles after Oracle took over I have rebuild > my server system under FreeBSD-8.1 (now running as a virtual machine > under VirtualBox). All works very well and smooth so I'm going to > transfer this VM to a real seperate harddisk. > > I have a couple of questions: > > [1] Transfering the VM is best done using dump/restore I guess? (This > after a smallest creation of fbsd81 on the new harddisk) ? That's the way I've done it once. It worked for me, so I believe everything will go fine to you, too. > > My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 > (1Tb) The fist is disabled at the moment and the others are ZFS mirrors > under opensolaris. they are not usable for freebsd because the zfs > versions don't match. I will have to rebuild. ;-) > > However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I > don't want my system to boot off ZFS like I have now on OpenSolaris-b134 > > I think it is wisest to have the 160Gb IDE drive installed for FreeBSD > system drive w/ UFS2 and after that create two ZFS mirrors from my SATA > drives. > > Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I > still need special settings? The server system is 64bits and has 3Gb > memory. > > I hope to get some answers or good reading points. I have a FreeBSD amd64 machine that is ZFS-only since FreeBSD 8.0-RELEASE. ZFS Pool was in v13 then. It still works fine, even after the update to FreeBSD 8.1-RELEASE with ZFS Pool v14. I have no problems, even though I pulled the plug off by accident (twice...). The system runs fine and the boot partition is also in ZFS. There is no problem if you want to use UFS for the boot partition. I think is a matter of taste. Whatever is your choice I believe that you'll stay happy using ZFS Best regards Elias From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 14:09:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77A101065674 for ; Sun, 8 Aug 2010 14:09:11 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6501D8FC0C for ; Sun, 8 Aug 2010 14:09:09 +0000 (UTC) Received: by eyh6 with SMTP id 6so3715611eyh.13 for ; Sun, 08 Aug 2010 07:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=yUwq+lptlYIDyGIvch840gsmsHVlNqedfR4xCUWwXPg=; b=eFnTIORPZ1qMzJvoaCVSys2OkFWqX5oVxnQ3JOiP/vPEm6dOdeqNmIhP5nJoSKYsC6 zNDE5KSRZv9eRdUy2gO5ufcuWH4NO/JwpsMR1TU6Ocwzae6W9xSY/awYgH7J+LiKgd05 O45AePc0YKb2Kb7UweTwSTE3MHiD4DyWEydaA= 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=oXp7uTlzXeGhl9+9Q9dHOqeLSvjsjL6ed08K+b0dW+4QnXLSDXzeyo9cXHhfbXWnn2 NETYfd4u2wjCYgow5AHoTdBCYJD2NjcRM7mknofNXdCXiYKZuZsaGc1eWr4X36+SAMf9 DiHoQJhQal7cxx/Qw8lCyhl1ZCW21DdkQ3XjE= MIME-Version: 1.0 Received: by 10.213.29.65 with SMTP id p1mr1691274ebc.59.1281275111546; Sun, 08 Aug 2010 06:45:11 -0700 (PDT) Received: by 10.14.124.19 with HTTP; Sun, 8 Aug 2010 06:45:11 -0700 (PDT) In-Reply-To: <1281267327.3997.12.camel@localhost> References: <1281267327.3997.12.camel@localhost> Date: Sun, 8 Aug 2010 09:45:11 -0400 Message-ID: From: Outback Dingo To: Jozsi Vadkan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing list Subject: Re: FreeBSD on the RouterBoard 450G X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 14:09:11 -0000 http://lists.freebsd.org/pipermail/freebsd-mips/2010-June/000890.html appears doable google FreeBSD on the RouterBoard 450G On Sun, Aug 8, 2010 at 7:35 AM, Jozsi Vadkan wrote: > Did anyone manage to install, and use/test FreeBSD on the RouterBoard > 450G? Or does anyone has a howto for it, how to do it? > > Thank you in advance. > > _______________________________________________ > 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 Aug 8 14:12:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A266F1065679 for ; Sun, 8 Aug 2010 14:12:53 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 32EAF8FC1B for ; Sun, 8 Aug 2010 14:12:52 +0000 (UTC) Received: by wwb13 with SMTP id 13so80794wwb.31 for ; Sun, 08 Aug 2010 07:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=sQ6Y0YAtRptFCd4yt8PRuHJVxtfsVVPRdLhPGKkA2TA=; b=Zxv8tFGO2aa9U/X+fG1D1MpEzPx4jvGmv6adk7sN2q88QNbQ8yW/qBKVwfKLjE0qPS W4PB3iX5e9qotGHLwdHQ2MmgncPKEqK2aorcbopDivlSTa5dKNZkMQgUOVu0RWccILvV w3TuWGipcZn7OzvVd7kvAYwKZrFshb3KpDeSE= 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=I6ywJM5YcUoEsOZfzxkawCqu/KwErbmwpjhkn1wn9B+2pN78tLi5z+PAXsgnH/MkDU SEL1XSkoiLZQNYl1B2iRL1f56Ae0j8kj4BPaCSoKNxSLBbb/OImCDFTA0NY46zrV1gsm ShQEp/UP2s2XeRYAJowGod6mxZeJl0Y8w49nE= MIME-Version: 1.0 Received: by 10.227.129.130 with SMTP id o2mr12716372wbs.116.1281276771730; Sun, 08 Aug 2010 07:12:51 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 07:12:51 -0700 (PDT) In-Reply-To: <20100808120816.b6b1f54a.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> Date: Sun, 8 Aug 2010 09:12:51 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 14:12:53 -0000 On 8/8/10, Polytropon wrote: > On Sat, 7 Aug 2010 19:33:58 -0500, Antonio Olivares > wrote: >> Polytropon, >> >> So if I delete the file /etc/rc.local and make a file ~/.login, make >> it executable (chmod +x ~/.login), and add the line >> >> >> [ -f /tmp/.X0-lock ] && startx >> in that file and I will have the same result but without loggin in as >> root? > > Correct. The user specified by the autologin directive will > be the user who runs the "startx" command, so no need for > using "su". > > > Here's an example from a working FreeBSD 5 system: > > /etc/ttys: > > ttyv0 "/usr/libexec/getty autologin" cons25l1 on secure > > Intead of "Pc", the profile to be used is named "autologin". > > /etc/gettytab: > > autologin:\ > :al=praxis:tc=Pc: > > The name "praxis" is the user's account name for the user > to be logged in automatically. All capabilities defined > in "Pc" will also be incorporated. > > /home/praxis/.login: > > mesg y > [ ! -f /tmp/.X0-lock ] && startx > > This makes sure the same username can be used for an SSH > login (and it WON'T try to start another X then), or it > can be used to log in via text mode console. When X is > shut down, the user will be dropped to the text mode CLI. > If you don't want to do that, add "logout" as the next > line in ~/.login, or enclose the whole "startx" line in > a loop. But this can lead to problems when X is not > working properly. > > > -- Polytropon & et all, I apologize, but the change to put the code: [! -f /tmp/.X0-lock ] && startx my home directory /home/olivares/.login apparently does not work, why I see pam errors: Aug 8 08:07:32 myhostname login: pam_authenticate(): conversation failure .... login: in_prompt_echo_off(): tcgetattr(): Device not configured error repeats itself. I want to use your solution, since the one with rc.local, the mouse takes a while to respond :( Thanks for helping me fix this. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 14:41:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F33811065672 for ; Sun, 8 Aug 2010 14:41:55 +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 AEC228FC08 for ; Sun, 8 Aug 2010 14:41:55 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx01.qsc.de (Postfix) with ESMTP id 067473D848; Sun, 8 Aug 2010 16:41:33 +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 o78EfXQR002194; Sun, 8 Aug 2010 16:41:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 16:41:33 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808164133.2abae500.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 14:41:56 -0000 On Sun, 8 Aug 2010 09:12:51 -0500, Antonio Olivares wrote: > I apologize, but the change to put the code: > > [! -f /tmp/.X0-lock ] && startx Oh good, added the missing "!"in the condition. Maybe I should have written the code more clearly in the first place: if [ ! -f /tmp/.X0-lock ]; then /usr/local/bin/startx fi > my home directory /home/olivares/.login apparently does not work, why > I see pam errors: > > Aug 8 08:07:32 myhostname login: pam_authenticate(): conversation failure > .... login: > in_prompt_echo_off(): tcgetattr(): Device not configured It's great to use FreeBSD - "man tcgetattr" tells us that this function is used to retrieve terminal capability data. In my opinion, this indicates that there's something wrong with the format or content of /etc/gettytab. Checking this on my side reveals something strange: I have put the profile name "autologin" as shown in my working (!) example right after the "default" entry in /etc/gettytab; the "fixed speed entries" then follow. Then, later on, near the file's end, there's another entry with the same name. Strange... but works! I would only guess a gettytab issue... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 14:26:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A481065674 for ; Sun, 8 Aug 2010 14:26:08 +0000 (UTC) (envelope-from kiswono@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F95D8FC16 for ; Sun, 8 Aug 2010 14:26:07 +0000 (UTC) Received: by pvg4 with SMTP id 4so523201pvg.13 for ; Sun, 08 Aug 2010 07: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:content-type :content-transfer-encoding; bh=Ccd6W6rnvy5ECKHkPZuGPpttVIu6gC7rytLiCHPvNdg=; b=ndDKqvW0iYiCMVPIRFFxu4YlaiTFN5pc1a8xsmc7PK26IN6veLqeU2ymix3HhyZBZe S9KU78HVNOlMeDWb533VEvyRmRxPBpBZT0sIq+IuvKFFASa/ST4dz1jP3qMCumUGETZV T+sVAujBW0W5e6SHNKQuVV4lpfIuPM13zNYVQ= 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=VzzFQ0Q0l30Jjt/X6uV6VoPG/caYwo7HBBLOlxRfaTyugwkO2CYJ4ymzyYNHYMSdBm GxDnmpPGuBIBf4j0D9/BBxtl96OK3rUxxzbl2b9L0xe0r2O9DqoZatUfmn1Rxli/pfUy NE+SvwZAMe2dw2t1dRvlA9CZP+/Fxswg5Ww0o= Received: by 10.114.208.20 with SMTP id f20mr16967708wag.69.1281276244739; Sun, 08 Aug 2010 07:04:04 -0700 (PDT) Received: from [10.24.17.224] ([202.152.201.37]) by mx.google.com with ESMTPS id 33sm8002392wad.6.2010.08.08.07.04.02 (version=SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 07:04:03 -0700 (PDT) Message-ID: <4C5EB94F.509@gmail.com> Date: Sun, 08 Aug 2010 21:03:59 +0700 From: Kiswono Prayogo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 08 Aug 2010 15:01:29 +0000 Cc: Subject: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 14:26:08 -0000 Is there any justification for this benchmark? http://www.phoronix.com/scan.php?page=article&item=zfs_ext4_btrfs&num=2 Regards, GB From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:11:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC3E41065672 for ; Sun, 8 Aug 2010 15:11:24 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2B68FC08 for ; Sun, 8 Aug 2010 15:11:24 +0000 (UTC) Received: by wwb13 with SMTP id 13so110221wwb.31 for ; Sun, 08 Aug 2010 08:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=EKp0CU9eqsNWEFodIKAxUTfvH5Cvi0EVRCME1KTIFDc=; b=cEwD6lUQvaTUF6wAv5WQuGLiiHnigy8cq+OWXUXGjxE3TbPHKagg1sKC+VgM9Supyi /nr/A7NvOmYq4oivQwDwM5AH76b0JRilFpU/yIDjYBgPZO/Vv0XYh7NfwtKZWl4s3tSa z6EvDd9dSw0jJeiFhnvdsbzRUuieg8FmQaJyA= 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=lanhMPGvLYmsAmrqYzDJakiXWGlQ/DacZEYLpYkGYDoRLJdDeKaEty8qX6Ee/0st5y fmMV3pyxsyyne5RTiX+sDn59q2p3z6Bud7vX0KCAxQneF1OKQRlZR00YHzyLAhK7ZwlW 73wKw0Wdbw6Ct155iRwBDGMrK4Qvej21VEslo= MIME-Version: 1.0 Received: by 10.216.15.68 with SMTP id e46mr1597618wee.97.1281280283324; Sun, 08 Aug 2010 08:11:23 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 08:11:23 -0700 (PDT) In-Reply-To: <20100808164133.2abae500.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> Date: Sun, 8 Aug 2010 10:11:23 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 15:11:24 -0000 On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 09:12:51 -0500, Antonio Olivares > wrote: >> I apologize, but the change to put the code: >> >> [! -f /tmp/.X0-lock ] && startx > > Oh good, added the missing "!"in the condition. Maybe I should > have written the code more clearly in the first place: > > if [ ! -f /tmp/.X0-lock ]; then > /usr/local/bin/startx > fi > > > >> my home directory /home/olivares/.login apparently does not work, why >> I see pam errors: >> >> Aug 8 08:07:32 myhostname login: pam_authenticate(): conversation failure >> .... login: >> in_prompt_echo_off(): tcgetattr(): Device not configured > > It's great to use FreeBSD - "man tcgetattr" tells us that this > function is used to retrieve terminal capability data. In my > opinion, this indicates that there's something wrong with the > format or content of /etc/gettytab. > > Checking this on my side reveals something strange: I have put > the profile name "autologin" as shown in my working (!) example > right after the "default" entry in /etc/gettytab; the "fixed speed > entries" then follow. Then, later on, near the file's end, there's > another entry with the same name. Strange... but works! > > I would only guess a gettytab issue... > > > > > -- Polytropon, I have it almost working. The pam errors are not there anymore, but the machine stays at the Password: prompt. But above it there is a line that says: 554 5.3.0 host "localhost" unknown Aug 8 09:02:49 grullahighschool sm-mta[1090]: NOQUEUE: SYSERR(root): host "localhost" unknown Starting cron. ...... I had to add a localhost name and I added grullahighschool since I am going to work there and I am getting this machine prepared for work. Otherwise, I would see the error message when starting xfce: Could not load up Internet address for . This will prevent XFce from operating correctly, It may be possible to correct the problem by adding to the file /etc/hosts on your system when it had no hostname :(, I can go back to the /etc/rc.local solution, but would prefer to get this one working, the other has an advantage that once I log out, I can shutdown immediately, but this does not matter much. Thanks for your help and advice. And for others that might wonder, I did my a bit of searches, here's some to prove my point http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042040.html http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/042074.html Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:24:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1817106566B for ; Sun, 8 Aug 2010 15:24:07 +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 6CF4C8FC17 for ; Sun, 8 Aug 2010 15:24:07 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id BA1041E9FD; Sun, 8 Aug 2010 17:23:37 +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 o78FNaOf002325; Sun, 8 Aug 2010 17:23:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 17:23:36 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808172336.6c4f39a3.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:24:07 -0000 On Sun, 8 Aug 2010 10:11:23 -0500, Antonio Olivares wrote: > Polytropon, > > I have it almost working. The pam errors are not there anymore, but > the machine stays at the Password: > > prompt. That's strange. The user "praxis" in my working example has a password set, and the user will be asked for it when logging in interactively (e. g. on text mode console or via SSH); it WON'T ask for a password in the autologin setting. Meanwhile, I've changed the profile name "autologin" because of its double presence. It's now "praxis" (as the user's name) and still works, so this doesn't seem to be a problem. By the way, what's the $SHELL of the user you use for autologin? Maybe that's the reason - ~/.login belongs to the C shell, the default dialog shell, but if you use bash, for example, a different file is needed, MAYBE. I'm not a bash expert on this, as I'm using the C shell as primary dialog shell properly. :-) > But above it there is a line that says: > > 554 5.3.0 host "localhost" unknown > Aug 8 09:02:49 grullahighschool sm-mta[1090]: NOQUEUE: SYSERR(root): > host "localhost" unknown > Starting cron. > ...... > > I had to add a localhost name and I added grullahighschool since I am > going to work there and I am getting this machine prepared for work. This again is a message from the system's MTA. Such messages are often related to missing data in /etc/hosts. Check your settings there, and "just for fun" check /etc/mail's scripts (e. g. "make all install"). > Otherwise, I would see the error message when starting xfce: > > Could not load up Internet address for . For "empty string" - something seems to be missing. > This will prevent XFce from operating correctly, > It may be possible to correct the problem by adding to the file > /etc/hosts on your system As I did guess. :-) Make sure the setting, for example, hostname="something.local" is in /etc/rc.conf and has a CORRESPONDING entry in /etc/hosts. > when it had no hostname :(, I can go back to the /etc/rc.local > solution, but would prefer to get this one working, the other has an > advantage that once I log out, I can shutdown immediately, but this > does not matter much. You can do this using the user's ~/.logout to contain "shutdown -p now", but that might be bad if X crashes. :-) Still, Xfce offers a menu entry to perform a shutdown. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:31:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFE241065670 for ; Sun, 8 Aug 2010 15:31:33 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFC68FC16 for ; Sun, 8 Aug 2010 15:31:32 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by midgard (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0E18EC; Sun, 8 Aug 2010 17:23:39 +0200 Message-ID: <4C5ECDD8.9060006@nagual.nl> Date: Sun, 08 Aug 2010 17:31:36 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org >> freebsd questions" References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> In-Reply-To: <4C5EA29B.7040401@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:31:33 -0000 On 8-8-2010 14:27, Matthew Seaman wrote: > Yes. It works very well. > On amd64 you'll get a pretty reasonable setup out of the box (so to > speak) which will work fine for most purposes. Of course, if your > system has particularly demanding IO patterns, then you may have to > tweak some loader.conf or sysctl parameters to get the best results. > But that's hardly unique to ZFS. Yes, you're quite right. ;-) But now you mention it: my virtual installation under virtualbox is i386. So, I guess it's better to reinstall, because the server is amd64. I also think that will be better in future use of ZFS (needs 64bits to be happy. Am I right in believing I need the amd64 version (w/ ZFS) above the i386 one? From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:33:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7EB1065673 for ; Sun, 8 Aug 2010 15:33:33 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id AE84D8FC16 for ; Sun, 8 Aug 2010 15:33:32 +0000 (UTC) Received: by wwb13 with SMTP id 13so120931wwb.31 for ; Sun, 08 Aug 2010 08:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=CxEF2sESlbRshvVA/sIUGsLauDSYkQy6AFVBK8gmY2A=; b=tFUgDrlH//91l93Z+0HAMyAEv1gVM+7HYx0rA3QmoeTUUStFi/zdP2/Xn7u2Fu8Ncr +HR9+bfVa7UrJVJ/yNYEot6G0xVqrup5YtAavrSU5s4wTTEKjqdaSZr4tTJVw9B8mWow +QNFpjZlf9HjwLuZaG+S8K2uq/sFctOGhLo3Y= 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=Eq+D4462b+d1LpaSexi3wadsM6QXpJTKHUQOzWKf2mpaOeBsqq8SK8R5HXLfdwX6k1 ncjvXO4/jHzUJKUzDihN0gRQi0Z1BtFvwRUPj3TqrtJzd7XOXwM5Fa8JzzgKSld3kpNV LYbBdR3WnepN/2ObQehoeG5G0BErK0rnxVRG0= MIME-Version: 1.0 Received: by 10.216.188.1 with SMTP id z1mr12871554wem.57.1281281610592; Sun, 08 Aug 2010 08:33:30 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 08:33:30 -0700 (PDT) In-Reply-To: <20100808172336.6c4f39a3.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> Date: Sun, 8 Aug 2010 10:33:30 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 15:33:33 -0000 Polytropon, On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 10:11:23 -0500, Antonio Olivares > wrote: >> Polytropon, >> >> I have it almost working. The pam errors are not there anymore, but >> the machine stays at the Password: >> >> prompt. > > That's strange. The user "praxis" in my working example has a > password set, and the user will be asked for it when logging in > interactively (e. g. on text mode console or via SSH); it WON'T > ask for a password in the autologin setting. > > Meanwhile, I've changed the profile name "autologin" because > of its double presence. It's now "praxis" (as the user's name) > and still works, so this doesn't seem to be a problem. > > By the way, what's the $SHELL of the user you use for autologin? > Maybe that's the reason - ~/.login belongs to the C shell, the > default dialog shell, but if you use bash, for example, a different > file is needed, MAYBE. I'm not a bash expert on this, as I'm > using the C shell as primary dialog shell properly. :-) > This is it I guess. I chose bash shell and the default schell is the csh. There is a file called .login in my home directory /home/olivares/.login which has: $ $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.5.1 2010/06/14 02:09:06 kensmith Exp % # # .login - csh login script, read by login shell after '.cshrc' at login. # # see also csh(1), environ(7), # if (-x /usr/games/fortune ) /usr/games/fortune freebsd-tips if [! -f /tmp/.X0-lock ]; then /usr/local/bin/startx fi and it clearly says that is for 'csh login', so I would need something else? > > >> But above it there is a line that says: >> >> 554 5.3.0 host "localhost" unknown >> Aug 8 09:02:49 grullahighschool sm-mta[1090]: NOQUEUE: SYSERR(root): >> host "localhost" unknown >> Starting cron. >> ...... >> >> I had to add a localhost name and I added grullahighschool since I am >> going to work there and I am getting this machine prepared for work. > > This again is a message from the system's MTA. Such messages are > often related to missing data in /etc/hosts. Check your settings > there, and "just for fun" check /etc/mail's scripts (e. g. "make > all install"). > > > >> Otherwise, I would see the error message when starting xfce: >> >> Could not load up Internet address for . > > For "empty string" - something seems to be missing. > > > >> This will prevent XFce from operating correctly, >> It may be possible to correct the problem by adding to the file >> /etc/hosts on your system > > As I did guess. :-) Make sure the setting, for example, > > hostname="something.local" I have hostname="grullahighschool" in /etc/rc.conf file and I have included it in /etc/hosts also > > is in /etc/rc.conf and has a CORRESPONDING entry in /etc/hosts. > > > >> when it had no hostname :(, I can go back to the /etc/rc.local >> solution, but would prefer to get this one working, the other has an >> advantage that once I log out, I can shutdown immediately, but this >> does not matter much. > > You can do this using the user's ~/.logout to contain "shutdown -p now", > but that might be bad if X crashes. :-) Still, Xfce offers a menu > entry to perform a shutdown. > > -- Thanks for your help and advice. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:37:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE7381065673 for ; Sun, 8 Aug 2010 15:37:34 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 702E88FC19 for ; Sun, 8 Aug 2010 15:37:34 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by midgard (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0A2086; Sun, 8 Aug 2010 17:29:41 +0200 Message-ID: <4C5ECF42.20509@nagual.nl> Date: Sun, 08 Aug 2010 17:37:38 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd questions References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> In-Reply-To: <4C5EA29B.7040401@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:37:35 -0000 On 8-8-2010 14:27, Matthew Seaman wrote: > Yes. It works very well. > On amd64 you'll get a pretty reasonable setup out of the box (so to > speak) which will work fine for most purposes. One other thing comes to mind. I want a very robus, fast rockl solid *server* It will be a file- email and webserver mostly. Instead of using two ZFS mirrors I could also go for gmirror (I'm not familiar with it, but it's been around for quite some time so it should be very stable). I don't get the data integrity that way, but my files would be safe, no? Also, using gmirror I could use "normal" BSD UFS filesystems and normal swap files devided across all disks? Or am I wrong, thinking this way. I'm not into fancy stuff; it has to be robust, fast and safe. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:45:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E74361065673 for ; Sun, 8 Aug 2010 15:45:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A04738FC0C for ; Sun, 8 Aug 2010 15:45:06 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 8F5261E77C; Sun, 8 Aug 2010 17:44:37 +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 o78FiaoI002394; Sun, 8 Aug 2010 17:44:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 17:44:36 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808174436.2fa1ea02.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:45:07 -0000 On Sun, 8 Aug 2010 10:33:30 -0500, Antonio Olivares wrote: > This is it I guess. I chose bash shell and the default schell is the csh. > > There is a file called .login in my home directory > /home/olivares/.login which has: > > $ $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.5.1 2010/06/14 > 02:09:06 kensmith > Exp % > # > # .login - csh login script, read by login shell after '.cshrc' at login. > # > # see also csh(1), environ(7), > # > if (-x /usr/games/fortune ) /usr/games/fortune freebsd-tips > if [! -f /tmp/.X0-lock ]; then > /usr/local/bin/startx > fi > > > and it clearly says that is for 'csh login', so I would need something else? Yes. According to "man bash", section "INVOCATION", mentiones other file names: Bash reads and executes ~/.bash_profile, ~/.bash_login, and ~/.profile (in that order), so you can add the line "[ ! -f /tmp/.X0-lock ] && startx" (short form is completely okay and valid) at the end of ~/.bash_login - or also .profile, but it makes more sense in putting it into something related to "login" rather than a "profile", but that's debatable semantics. :-) The line "[ ! -f /tmp/.X0-lock ] && startx" is correct C shell, sh (Bourne) and bash syntax. > I have hostname="grullahighschool" in /etc/rc.conf file Did you add a domain name (.local or .lan are okay)? Something like 127.0.0.1 localhost 127.0.0.1 grullahighschool.local grullahighschool 127.0.0.1 grullahighschool.local. should work if hostname="grullahighschool.local" is given. Don't forget to assign an IP for localhost, too (can be the same). See "man host" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:47:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 314CD1065673 for ; Sun, 8 Aug 2010 15:47:37 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from snt0-omc2-s48.snt0.hotmail.com (snt0-omc2-s48.snt0.hotmail.com [65.54.61.99]) by mx1.freebsd.org (Postfix) with ESMTP id 0576A8FC0C for ; Sun, 8 Aug 2010 15:47:36 +0000 (UTC) Received: from SNT103-W4 ([65.55.90.73]) by snt0-omc2-s48.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 8 Aug 2010 08:47:35 -0700 Message-ID: X-Originating-IP: [94.129.165.149] From: Marwan Sultan To: Date: Sun, 8 Aug 2010 15:47:35 +0000 Importance: Normal In-Reply-To: References: <201008040700.o74700oI014471@mp.cs.niu.edu>, , <20100804135951.GC52190@gizmo.acns.msu.edu>, , <201008041424.o74EORrO006817@krusty.intranet.com.mx>, MIME-Version: 1.0 X-OriginalArrivalTime: 08 Aug 2010 15:47:35.0527 (UTC) FILETIME=[056E2F70:01CB3711] 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 Subject: RE: Anti virus, anti spam step guide. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 15:47:37 -0000 Its www.openwebmail.org NOT opewebmail - typo :) If you need any help setting things up for your non-profit organization=2C = let me know. >=20 >=20 > Hi.. > =20 > For WebMail that has everything you want: > www.opebwebmail.org > =20 > For pop3 : > qpopper > =20 > For Spam: > SpamAssassin > =20 > Default sendmail is good. > =20 > =20 > all the above is available from ports=2C I would recommend a manual insta= ll for openwebmail instead of ports > so you can follow and know how things work. > =20 > You can install spamassassin from ports=2C and follow the instructions. > =20 > -Marwan Sultan >=20 > =20 > > Date: Wed=2C 4 Aug 2010 09:19:19 -0500 > > To: freebsd-questions@freebsd.org > > From: jbiquez@icsmx.com > > Subject: Anti virus=2C anti spam step guide. > >=20 > > Hello all. > >=20 > > I am looking documentation for implementing=2C the easiest way anti=20 > > virus and anti spam configuration for non tech users and out of the=20 > > box after installing FreeBSD (actually using 7.3 Release). > > I have been working with it for some years but I am not an expert at=20 > > all. I need to help some non-profit organizations that received some=20 > > 2 year old computers as donation and they will use it for email=20 > > services. They have not tech people=2C so the idea is that I can help=20 > > them to implement that solution the easiest way so maybe one of the=20 > > teacher there can try to replicate the solution. > >=20 > > UNtil now I always have used Sendmail as it is installed=2C no filters= =20 > > besided the spamcop ones but that was enough for my personal use. > > I know some of you will tell that change to postfix or another MTA=20 > > and that instead using POP3 that I have to use another tool (courier=2C= =20 > > fetchail=2C imap (any) etc etc). I ca do it for sur and I do not want=20 > > to star a war =2C again=2C under what MTA is the best. I just would lik= e=20 > > to have the best and easiest solution for them. Once installed they=20 > > only will be creating new accounts=2C changing paswords=2C deleting=20 > > accounts. Nothing else. Ah=2C another thing if possible is to implement= =20 > > a webmail but that will be an extra gem if possible. > >=20 > > Any resources? Any suggestions based in experience? (I have one=20 > > machine of them that I will use for testing the solution). > >=20 > > Thanks in advance > >=20 > > Jorge Biquez > >=20 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:49:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A47F1065675 for ; Sun, 8 Aug 2010 15:49:26 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from snt0-omc4-s26.snt0.hotmail.com (snt0-omc4-s26.snt0.hotmail.com [65.55.90.229]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3858FC13 for ; Sun, 8 Aug 2010 15:49:26 +0000 (UTC) Received: from SNT103-W14 ([65.55.90.199]) by snt0-omc4-s26.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 8 Aug 2010 08:49:25 -0700 Message-ID: X-Originating-IP: [94.129.165.149] From: Marwan Sultan To: FreeBSD Questions Date: Sun, 8 Aug 2010 15:49:25 +0000 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 08 Aug 2010 15:49:25.0861 (UTC) FILETIME=[4731D150:01CB3711] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: SoundBlaster Problem with 8.1R (NO ONE ?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 15:49:26 -0000 No one ? >=20 >=20 >=20 >=20 >=20 > Hello list=2C >=20 > A strange sound problem with FreeBSD 8.1R >=20 > sound card is : Creative Sound Blaster=2C Audigy >=20 > When pciconf output is follow > none1@pci0:5:4:0: class=3D0x040100 card=3D0x100a1102 chip=3D0x000= 71102 rev=3D0x00 hdr=3D0x00 > vendor =3D 'Creative Technology LTD.' > device =3D 'Device ID same for both=2C but Subsystem ID =3D 0x1012 = - Extreme Audio=2C 0x100A - Audigy SE 7.1 (C6SB0410515017656A)' > class =3D multimedia > subclass =3D audio >=20 > Means recognizing the sound? > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > # > =20 > rc.conf=20 > # Enable sound-support > snddetect_enable=3D"YES" > mixer_enable=3D"YES" > =20 > /boot/loader.conf > snd_emu10kx_load=3D"YES" > sound_load=3D"YES" > snd_uaudio_load=3D"YES" >=20 > I tried to load all drivers. but same issue. > its PCBSD system 8.1 >=20 > Please note sound was working with FreeBSD and PCBSD 7 with no problems. > uname -a > FreeBSD pcbsd-2738 8.1-RELEASE FreeBSD 8.1-RELEASE #1: >=20 > Any ideas? >=20 > Thanks > -Marwan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 15:51:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA796106564A for ; Sun, 8 Aug 2010 15:51:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6C18FC08 for ; Sun, 8 Aug 2010 15:51:39 +0000 (UTC) Received: by qyk11 with SMTP id 11so1453701qyk.13 for ; Sun, 08 Aug 2010 08:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=YEv/rUOy3ECSWkSvzpQX7VhXJMweqsFrUuAdzmBY50E=; b=b3fxMe8gaxcUWW+QML43RAB+iTayLH3DjtTUaAoRp/w469lT0UVbWQ5ZKHO4kscPoI MKu7xgYGb1bj3yWG6RRoeZFK9pP4Jrc7NwY30H3RjA4tGok5gIkHFmLfKWaDIcEw5Ago 2+g8yx1GUt1JTmap5Ex5TRwsJacAVjT1syCoY= 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=TI4dpJbUbP5bVRuzEb5UN5u54SlVL7rHOP9xXgjPVcbGqXc72jNfQsPYRob67T5IDp WzUV0o6kx1rMr6g1yzNeuwsAXil0w1FN7Pj3jOE3gDdU9w51C53idbLqV20rxF5UdcMQ 1j3AR0PMKcyWHw/a7JahldDvZxfCWb5VREs+E= MIME-Version: 1.0 Received: by 10.229.183.132 with SMTP id cg4mr6410808qcb.111.1281282698636; Sun, 08 Aug 2010 08:51:38 -0700 (PDT) Received: by 10.229.236.6 with HTTP; Sun, 8 Aug 2010 08:51:38 -0700 (PDT) In-Reply-To: <4C5ECF42.20509@nagual.nl> References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> <4C5ECF42.20509@nagual.nl> Date: Sun, 8 Aug 2010 10:51:38 -0500 Message-ID: From: Adam Vande More To: Dick Hoogendijk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd questions Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 15:51:40 -0000 On Sun, Aug 8, 2010 at 10:37 AM, Dick Hoogendijk wrote: > On 8-8-2010 14:27, Matthew Seaman wrote: > >> Yes. It works very well. >> On amd64 you'll get a pretty reasonable setup out of the box (so to >> speak) which will work fine for most purposes. >> > One other thing comes to mind. I want a very robus, fast rockl solid > *server* > It will be a file- email and webserver mostly. > > Instead of using two ZFS mirrors I could also go for gmirror (I'm not > familiar with it, but it's been around for quite some time so it should be > very stable). I don't get the data integrity that way, but my files would be > safe, no? > > Also, using gmirror I could use "normal" BSD UFS filesystems and normal > swap files devided across all disks? > Or am I wrong, thinking this way. > > I'm not into fancy stuff; it has to be robust, fast and safe. You do not *need* amd64, however it would the best choice. I wouldn't even mess around with gmirror. It's great and I love it, but it has some serious drawback's compared to zfs mirroring. One is there is no integrity checking, and two is a full resyc is required on an unclean disconnect. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:03:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5AA106568B for ; Sun, 8 Aug 2010 16:03:30 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 933658FC15 for ; Sun, 8 Aug 2010 16:03:29 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Oi882-00036s-Eg for freebsd-questions@freebsd.org; Sun, 08 Aug 2010 08:49:39 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 08 Aug 2010 09:03:23 -0700 Date: Sun, 8 Aug 2010 09:03:23 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100808160323.GA15491@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C5B8748.1060904@el.net> <20100806041651.GA97269@libertas.local.camdensoftware.com> <20100808040739.GA41947@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: virtualbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 16:03:30 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Adam Vande More on Sunday, 08 August 2010: > On Sat, Aug 7, 2010 at 11:07 PM, Chip Camden wrote: >=20 > > Just to follow up, as part of my Bugathon participation I created a VM = with > > 8.1-RELEASE as a guest for testing. The i386 version is running like a > > champ. I > > couldn't get the amd64 iso to boot under VirtualBox, though. It just > > appeared to hang after loading most of the system -- sorry, I don't have > > a log. > > >=20 > I have a number of freebsd amd64 guests working fine, are you sure ostype= is > set correctly? You can get symptoms like yours if you're trying to boot > amd64 when the vbox cpu is set to 32. >=20 > --=20 > Adam Vande More Doh! That was it -- thanks. I now have both 32-bit and a 64-bit guest FreeBSD systems. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMXtVLAAoJEIpckszW26+ResAIAMMf5FiZALj9h5AmhJSa10xo JGcrb2iPMX40t9QyhN71e9fwZYy5TjhSKTArtfYrr+U54EU+v5awrOpJcSfP+cjq q45BSYCWf2zxHEYRD5bxH8szhYwh42IvvR4Tnr9793Z4umJTJbv7ZU7QDPqPnjtx jevP8BTNUUZ2KsJ6ie9lLcCCybPaqOtxTXt3lcz2YP50uAUMuL3aDK4quYawV/+K +UHZ5OuGTzJBQDz7x4wJ6559JZCEvO5h+yTrDG2CUS94d5rGEfCA2s3C7LG99tP8 185HUbHZTd6TgKIk24K1fAtnUVJ40eP7CR31X5ykszYO0pFQZuQs0H+BOpajnN4= =tReh -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:14:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9925B1065678 for ; Sun, 8 Aug 2010 16:14:14 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 266098FC23 for ; Sun, 8 Aug 2010 16:14:13 +0000 (UTC) Received: by wwb13 with SMTP id 13so141717wwb.31 for ; Sun, 08 Aug 2010 09:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=AZLrC2GlyYwBzJs+OMDnN30N6gtp9sOlvaJdLGoyBhE=; b=tnHlAXz+chnHk/oQpjLgMAE1KPIVLAT+7bDmpA7nfsAkE7/J/ZdEjN1WMb+XkfyMtn EM1/a2Grd04HfWzUFAgdAW2uEx4UENoe3Xe1bg2YanM4Z6F9TGkTf+jNgtqy0rEvcHEn CZCiMQApvVYycnkJlxbCR7wiMJ/yFnOMMcYrU= 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=IGK0CZfO08F3Bq7Hay1ucChBQ+A+YkL32zDBLtJHSMQCgFOfpK+zTojBjQGNxINugj Smr9OsSdkfu1U0NyVm3guzsw8yBHAmhvApsv3MMry+eK1Fs+GEbBOI7Sz4NNtZPS5oNE HJyhK6xSdoR+cBuQ5N/3cBmR7p/ZaRqM7H/KQ= MIME-Version: 1.0 Received: by 10.216.174.69 with SMTP id w47mr2197752wel.25.1281284053008; Sun, 08 Aug 2010 09:14:13 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 09:14:12 -0700 (PDT) In-Reply-To: <20100808174436.2fa1ea02.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> Date: Sun, 8 Aug 2010 11:14:12 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 16:14:14 -0000 Polytropon, > Yes. According to "man bash", section "INVOCATION", mentiones > other file names: Bash reads and executes ~/.bash_profile, > ~/.bash_login, and ~/.profile (in that order), so you can > add the line "[ ! -f /tmp/.X0-lock ] && startx" (short form > is completely okay and valid) at the end of ~/.bash_login - > or also .profile, but it makes more sense in putting it into > something related to "login" rather than a "profile", but > that's debatable semantics. :-) > > The line "[ ! -f /tmp/.X0-lock ] && startx" is correct C shell, > sh (Bourne) and bash syntax. It does not work. When I try to login I see: -bash: [ !: command not found I switch it to if statement suggested before for .login, but it returns same error. > > 127.0.0.1 localhost > 127.0.0.1 grullahighschool.local grullahighschool > 127.0.0.1 grullahighschool.local. > > should work if hostname="grullahighschool.local" is given. Don't > forget to assign an IP for localhost, too (can be the same). See > "man host" for details. > will change the /etc/hosts file to ::1 grullalhighschool.rgccisd.org grullahighschool 127.0.0.1 grullahighschool.rgccisd.org grullahighschool 127.0.0.1 localhost and see if I don't see the error. > > -- Thank you very much for your help and advice. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:49:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7DF106564A for ; Sun, 8 Aug 2010 16:49:38 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 485968FC19 for ; Sun, 8 Aug 2010 16:49:38 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100808164934480 for ; Sun, 08 Aug 2010 16:49:34 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o78GnVsh049490 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 8 Aug 2010 09:49:32 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1Oi93z-0000Xp-12 for freebsd-questions@freebsd.org; Sun, 08 Aug 2010 09:49:31 -0700 To: freebsd-questions@freebsd.org References: <878w4svp18.fsf@cjlinux.localnet> <87r5ihbpoe.fsf@cjlinux.localnet> <86aaoxprjv.fsf_-_@chateau.d.if> From: Carl Johnson Date: Sun, 08 Aug 2010 09:49:30 -0700 In-Reply-To: <86aaoxprjv.fsf_-_@chateau.d.if> (Ashish SHUKLA's message of "Sun\, 08 Aug 2010 11\:35\:56 +0530") Message-ID: <871va9dp7p.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Gnus issue in FreeBSD (was: Re: IPv6 rtadv on FreeBSD 8.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, 08 Aug 2010 16:49:38 -0000 ashish@FreeBSD.org (Ashish SHUKLA) writes: > Carl Johnson writes: > > [...] > > >> Now if I could just figure out why gnus doesn't work right under emacs >> I could finish migrating from Linux to FreeBSD. > > I use same .gnus in both GNU/Linux and FreeBSD and keep the mailboxen on the > $HOME of both boxen sync-ed with each other, and works great for me. I posted that in another thread and replied later when I discovered the problem. It appears that I had somehow put gnus-agent in offline mode, so it worked once I realized that and put it back online. How do you sync the mailboxes together? That sounds like something that could be useful for my configuration. Actually I am trying to move my old mail from Linux to FreeBSD, but syncing might be an easier way to handle moving it. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 16:52:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 739C6106567E for ; Sun, 8 Aug 2010 16:52:31 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1C11E8FC1C for ; Sun, 8 Aug 2010 16:52:30 +0000 (UTC) Received: by qyk32 with SMTP id 32so8863604qyk.13 for ; Sun, 08 Aug 2010 09:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=KXJODOPQ3kucW3gf+FgfHRlF7ca3DdicWWl+gpAa9Mw=; b=TWMgqVTpahA8KrVcczSUYopCXZ2opUpVihLcpIyp8/TtzxM0HI14CrMnqoRxHl8u0z /nhQwFYQmD+KfX4XdRroA8rjqIIDhrj0BLtE/YyGxveTGd3krrNVdhkNmdoJtDADpF5N OhxzZqIElYuM3/ZgLOEraGbrLnnArawPqJPsU= 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; b=oPS21pjetbtfPhZwP/bL4Rze9asv+6ujUssZEyO33uEwWq/n4hVvdFPblfXBoznJJq YcfOyl9WfPNX+FzZtcNGIEvRGL2EhpfY2uGOhWWZH89mYz/ewfjVG5qdZREoAxk4LP8W mTP0xn5vjbSk5AA+FhfG9s2s4XI3a8KvT6pcI= MIME-Version: 1.0 Received: by 10.224.63.220 with SMTP id c28mr7717961qai.360.1281286350157; Sun, 08 Aug 2010 09:52:30 -0700 (PDT) Received: by 10.229.250.140 with HTTP; Sun, 8 Aug 2010 09:52:30 -0700 (PDT) In-Reply-To: References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> <4C5ECF42.20509@nagual.nl> Date: Sun, 8 Aug 2010 17:52:30 +0100 Message-ID: From: krad To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dick Hoogendijk , freebsd questions Subject: Re: zfs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 16:52:34 -0000 On 8 August 2010 16:51, Adam Vande More wrote: > On Sun, Aug 8, 2010 at 10:37 AM, Dick Hoogendijk wrote: > > > On 8-8-2010 14:27, Matthew Seaman wrote: > > > >> Yes. It works very well. > >> On amd64 you'll get a pretty reasonable setup out of the box (so to > >> speak) which will work fine for most purposes. > >> > > One other thing comes to mind. I want a very robus, fast rockl solid > > *server* > > It will be a file- email and webserver mostly. > > > > Instead of using two ZFS mirrors I could also go for gmirror (I'm not > > familiar with it, but it's been around for quite some time so it should > be > > very stable). I don't get the data integrity that way, but my files would > be > > safe, no? > > > > Also, using gmirror I could use "normal" BSD UFS filesystems and normal > > swap files devided across all disks? > > Or am I wrong, thinking this way. > > > > I'm not into fancy stuff; it has to be robust, fast and safe. > > > You do not *need* amd64, however it would the best choice. I wouldn't even > mess around with gmirror. It's great and I love it, but it has some > serious > drawback's compared to zfs mirroring. One is there is no integrity > checking, and two is a full resyc is required on an unclean disconnect. > > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > you could add a gjournal layer in there as well for better data integratity. I think you can do softupdates + journal as well now although I have never used it From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 17:13:49 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5997E106564A for ; Sun, 8 Aug 2010 17:13:49 +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 2BC7F8FC08 for ; Sun, 8 Aug 2010 17:13:48 +0000 (UTC) Received: from new-host.home (pool-74-109-205-9.pitbpa.ftas.verizon.net [74.109.205.9]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 056ABF7427; Sun, 8 Aug 2010 13:13:47 -0400 (EDT) Message-ID: <4C5EE5CA.2090706@potentialtech.com> Date: Sun, 08 Aug 2010 13:13:46 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Kiswono Prayogo References: <4C5EB94F.509@gmail.com> In-Reply-To: <4C5EB94F.509@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 17:13:49 -0000 On 8/8/10 10:03:59 AM, Kiswono Prayogo wrote: > Is there any justification for this benchmark? > > http://www.phoronix.com/scan.php?page=article&item=zfs_ext4_btrfs&num=2 > Kind of hard to do much with that "benchmark" First off: * Does the author even know what he's doing? All that article does is display the charts, then tell you what the chart says. The author shows no understanding of what's going on. * He's running the tests on a laptop. * He had a single disk/partition, which was the same disk/partition that he was running the OS off. The difference in speed might have been the result of different software being installed on the different OS that was competing for disk usage. * All of his tests involve tiny amounts of data and/or extremely quick run times (less than 30s). On a system with 4G of ram, the different caching policies on the different FS can have a huge difference on the results. While it's interesting to study those caching differences, it's not anywhere indicative of overall FS performance. Let him run one of those tests for 5 mins and see if the results are still the same. But, most importantly, his benchmarks are useless for any productive use. He doesn't describe the tests he's doing with enough detail for anyone else to attempt to reproduce them and attempt to address the problem. What does he mean by "gzip test"? Can I see the command line parameters involved? How many runs of each test did he do? What other programs were accessing the disk at the time? What other programs were _running_? There's nothing wrong with PC-BSD, but it installs a lot of stuff at install time -- there may be programs running that are hurting the results that aren't running on Ubuntu. Since that was a laptop, what is the powersave policy for the disks in each case? Did he do a single run of each test? That produces the most unreliable results ever. Overall, it's just sloppy reporting if you ask me. For all I know, he actually did a really good job of making sure that everything was set up to be fair, but the article doesn't say that. It's pretty typical of most reporting, not enough depth or care to be useful. I'm sure there are Linux people who will be shouting about this all over the place. But to the casual observer, all this tells you is that Linux's filesystems _may_ be faster for short, bursty work. To someone technical who might be looking to investigate the results with an eye toward fixing them, it's useless. -- Bill Moran From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 17:22:18 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE6A1065677 for ; Sun, 8 Aug 2010 17:22:18 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3018FC17 for ; Sun, 8 Aug 2010 17:22:18 +0000 (UTC) Received: from unknown (client-86-31-3-93.midd.adsl.virginmedia.com [86.31.3.93]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 68F765C01; Sun, 8 Aug 2010 17:21:45 +0000 (UTC) Date: Sun, 8 Aug 2010 18:22:11 +0100 From: Bruce Cran To: Bill Moran Message-ID: <20100808182211.000029f0@unknown> In-Reply-To: <4C5EE5CA.2090706@potentialtech.com> References: <4C5EB94F.509@gmail.com> <4C5EE5CA.2090706@potentialtech.com> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kiswono Prayogo , freebsd-questions@FreeBSD.org Subject: Re: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 17:22:18 -0000 On Sun, 08 Aug 2010 13:13:46 -0400 Bill Moran wrote: > To someone technical who might be looking to investigate the results > with an eye toward fixing them, it's useless. Anyone can download the Phoronix Test Suite though, so it should be fairly easy to check if the results are valid at least. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 17:40:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C520E1065674 for ; Sun, 8 Aug 2010 17:40:00 +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 797608FC08 for ; Sun, 8 Aug 2010 17:40:00 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 188E51E84D; Sun, 8 Aug 2010 19:39:30 +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 o78HdUHj003081; Sun, 8 Aug 2010 19:39:30 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 19:39:29 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808193929.8828cef2.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 17:40:00 -0000 On Sun, 8 Aug 2010 11:14:12 -0500, Antonio Olivares wrote: > It does not work. When I try to login I see: > > -bash: [ !: command not found > > I switch it to if statement suggested before for .login, but it > returns same error. Very strange; I've checked that in bash's dialog mode, and it seems to work properly. If it really doesn't work, you can use the test program instead of [. if test ! -f /tmp/.X0-lock; then /usr/local/bin/startx fi I've checked this in bash's dialog mode, it works. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 17:49:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26D81065677 for ; Sun, 8 Aug 2010 17:49:12 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 724138FC15 for ; Sun, 8 Aug 2010 17:49:12 +0000 (UTC) Received: by qyk11 with SMTP id 11so1522395qyk.13 for ; Sun, 08 Aug 2010 10:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=aSzjhAOPBo5fzZEQRKDFPrC365qcXqO1nsUwZaJ7bO4=; b=VZtoReeO296nHFvrR9uQiyoFtKj9K9faB+On1rsgZn9ZXJNcM1hnTbTn0GoGDIvmBh 9hqukl9mV7PXrOIf06sjT2eHT5syk3qQJOO2a57lf+SDImwE7fId7kxHH5u1QWtOYoRw 8Re8gqwlPsmLfDdgCKBG36z2d7/L6l3vwedNg= 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=ZIYPqUg+GuyG/4oVEVj9ybnKCrxXuRW2+fsWqi1ys4ZuyoD2Cs8pRx+AS6EYHY7YNi u7AL7yaBDYRgudXknQ6AcF/gK1cuB7nCoHCsZnGuuOwALSkPK0WNlPhaUehi+BB2zjci Al4qTB0fGp91GIxpEMTAzKwyGiPovC4SJq+cE= MIME-Version: 1.0 Received: by 10.229.222.69 with SMTP id if5mr3385746qcb.24.1281289751027; Sun, 08 Aug 2010 10:49:11 -0700 (PDT) Received: by 10.229.236.6 with HTTP; Sun, 8 Aug 2010 10:49:10 -0700 (PDT) In-Reply-To: <4C5EE5CA.2090706@potentialtech.com> References: <4C5EB94F.509@gmail.com> <4C5EE5CA.2090706@potentialtech.com> Date: Sun, 8 Aug 2010 12:49:10 -0500 Message-ID: From: Adam Vande More To: Bill Moran Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Kiswono Prayogo , freebsd-questions@freebsd.org Subject: Re: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 17:49:12 -0000 On Sun, Aug 8, 2010 at 12:13 PM, Bill Moran wrote: > On 8/8/10 10:03:59 AM, Kiswono Prayogo wrote: > >> Is there any justification for this benchmark? >> >> http://www.phoronix.com/scan.php?page=article&item=zfs_ext4_btrfs&num=2 >> >> > > I'm sure there are Linux people who will be shouting about this all > over the place. But to the casual observer, all this tells you is > that Linux's filesystems _may_ be faster for short, bursty work. > > Here's a more detailed explanation. http://lists.freebsd.org/pipermail/freebsd-hackers/2010-June/032031.html -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 17:57:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D316D106564A for ; Sun, 8 Aug 2010 17:57:44 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 721678FC20 for ; Sun, 8 Aug 2010 17:57:44 +0000 (UTC) Received: by wwb13 with SMTP id 13so192751wwb.31 for ; Sun, 08 Aug 2010 10:57:42 -0700 (PDT) Received: by 10.216.35.82 with SMTP id t60mr1728408wea.68.1281290243478; Sun, 08 Aug 2010 10:57:23 -0700 (PDT) Received: from antonio.localnet (204.pool85-54-51.dynamic.orange.es [85.54.51.204]) by mx.google.com with ESMTPS id k46sm2087468weq.34.2010.08.08.10.57.21 (version=SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 10:57:22 -0700 (PDT) Message-ID: <4C5EEF9C.30804@antonioshome.net> Date: Sun, 08 Aug 2010 19:55:40 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C5EB94F.509@gmail.com> <4C5EE5CA.2090706@potentialtech.com> <20100808182211.000029f0@unknown> In-Reply-To: <20100808182211.000029f0@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 17:57:44 -0000 Hi, I heard that Linux filesystems were not reliable because of some bad way of doing caching or something like that. For a study on Linux FS reliability see [1] by Toshiba guys. It seems Linux was upset on this about one year ago [2]. Quoting: "Torvalds, for one, didn't seem too excited about the delayed synchronization. He writes on the mailing list, "Doesn't at least ext4 default to the insane model of 'data is less important than metadata, and it doesn't get journalled'? And ext3 with 'data=writeback' does the same, no? Both of which are -- as far as I can tell -- total brain damage." I don't mind if a filesystem is very fast: I want it to be reliable first. I wonder if that Phoronix test suite checks for reliability first or not. Cheers, Antonio [1] elinux.org/images/2/26/Evaluation_of_Data_Reliability-ELC2010.pdf [2] http://www.linux-magazine.com/Online/News/Linus-Torvalds-Upset-over-Ext3-and-Ext4 On 08/08/2010 19:22, Bruce Cran wrote: > On Sun, 08 Aug 2010 13:13:46 -0400 > Bill Moran wrote: > >> To someone technical who might be looking to investigate the results >> with an eye toward fixing them, it's useless. > > Anyone can download the Phoronix Test Suite though, so it should be > fairly easy to check if the results are valid at least. > From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:02:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D39E106564A for ; Sun, 8 Aug 2010 18:02:50 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0798FC08 for ; Sun, 8 Aug 2010 18:02:49 +0000 (UTC) Received: by wwb13 with SMTP id 13so195397wwb.31 for ; Sun, 08 Aug 2010 11:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=FqicHFiLpz/Z4+rEwMQ12Ora/9c77lVFc5uoPM9dwRM=; b=tV7uzje4bIqe6+CJ+T9dULaekqyxg2sUQf/qKPbauV37MsSFyWFzrDeAs/j5F8uuBp TJY1xWB0Vh2HOF4Md2C2DVP3TcaL6G7uU8ZLjFxrivV0wZsk9rXN1wjC961SibNuO/6T kNYRb6Vb/v5f4r8FFdXiWHoQYLzDaf7xNOI28= 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=XJgOzOb6gvhhkG47XMCeYLqenO909dkmsg1QaMXvHPH6z9OAixYxej+A+SZdS/cBix FPva0xBTkNtEsrrXBypAPmlF4LnEM59X17qZm+ucGjZ8ikzxpvt9EfUszFskPLfg4N53 9El6uBk+G+Y9mnohXaY9GJAkO46XjMEfD/JoQ= MIME-Version: 1.0 Received: by 10.216.67.6 with SMTP id i6mr1744876wed.44.1281290568485; Sun, 08 Aug 2010 11:02:48 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 11:02:48 -0700 (PDT) In-Reply-To: <20100808193929.8828cef2.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> Date: Sun, 8 Aug 2010 13:02:48 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 18:02:50 -0000 On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 11:14:12 -0500, Antonio Olivares > wrote: >> It does not work. When I try to login I see: >> >> -bash: [ !: command not found >> >> I switch it to if statement suggested before for .login, but it >> returns same error. > > Very strange; I've checked that in bash's dialog mode, and it > seems to work properly. If it really doesn't work, you can use > the test program instead of [. > > if test ! -f /tmp/.X0-lock; then > /usr/local/bin/startx > fi > > I've checked this in bash's dialog mode, it works. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Have changed it, now when I start machine I am logged in as root grullahighschool# I wonder what I did /etc/gettytab ttyv0 "/usr/libexec/getty autologin" cons25 on secure /etc/ttys autologin:\ :al=olivares:ht:np:sp#115200: Might it be that there were two lines in /etc/gettytab ttyv0 "/usr/libexec/getty Pc" cons25 on secure and ttyv0 "/usr/libexec/getty autologin" cons25 on secure and I removed the top one with "Pc" and left the one below? Thank you for your help/advice, I am almost there. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:04:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF93A106564A for ; Sun, 8 Aug 2010 18:04:19 +0000 (UTC) (envelope-from christopher-ml@telting.org) Received: from mail.telting.org (mail.telting.org [204.109.56.249]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF128FC18 for ; Sun, 8 Aug 2010 18:04:19 +0000 (UTC) Received: from apollo.local (cpe-76-169-198-42.socal.res.rr.com [76.169.198.42]) by mail.telting.org (Postfix) with ESMTP id D03F52A867 for ; Sun, 8 Aug 2010 18:04:18 +0000 (UTC) Message-ID: <4C5EF1A2.6000407@telting.org> Date: Sun, 08 Aug 2010 11:04:18 -0700 From: Chris Telting User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100720 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Connection Bandwidth Metering? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 18:04:19 -0000 I have my own Virtual Private Server (VPS) and was wondering what is the most straightforward to meter my own connection? I would like to email notices to myself of excessive bandwidth usage as well as take steps that limit a DOS attack or Slashdot effect on the webserver. I would also like the metering to be persistent as possible across reboots. Not really looking for full logging or to do graphs yet, just want the current metered bandwidth. Thanks From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:10:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DED73106566C for ; Sun, 8 Aug 2010 18:10:05 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B74B28FC0A for ; Sun, 8 Aug 2010 18:10:02 +0000 (UTC) Received: by wyj26 with SMTP id 26so11694529wyj.13 for ; Sun, 08 Aug 2010 11:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Vsi1xw1YTFBbp4Ul5C3fwvFs9ubcerVpMTPC5XnPbwY=; b=OWbThh1iOfBU7aASrxcIJCRtXY0aYjsUfDSA25gdpeEoeyuFRY7kvLbjH3voEpGqGS T9Im56enjfYYTK0a1OcFfaUNQXcPukxJPOJ7a9/zUB8WRltJEEYqYWp5zsuVKam/l7h9 Pw+61cIHsqfBKf6lN9eTRV01WuEwEgaJRIosw= 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=G0Zu4jYWRE1d1vm/B/+CHCer1ths0Ux2xRZvuLVqyUBjBsjFeoRP5AbRFml9RTnEFH UAoAxWZ6J/WLtkY8HVR917b+WGEt0nIV/qGlOxzQjxaLZ62697UVUxlHt/f0AOKT7H72 fIGlSIVsQIJzR0C7VEpVuQryvpGlT0JyTm+JA= MIME-Version: 1.0 Received: by 10.227.142.132 with SMTP id q4mr12626837wbu.90.1281291001669; Sun, 08 Aug 2010 11:10:01 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 11:10:01 -0700 (PDT) In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> Date: Sun, 8 Aug 2010 13:10:01 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 18:10:06 -0000 On 8/8/10, Antonio Olivares wrote: > On 8/8/10, Polytropon wrote: >> On Sun, 8 Aug 2010 11:14:12 -0500, Antonio Olivares >> wrote: >>> It does not work. When I try to login I see: >>> >>> -bash: [ !: command not found >>> >>> I switch it to if statement suggested before for .login, but it >>> returns same error. >> >> Very strange; I've checked that in bash's dialog mode, and it >> seems to work properly. If it really doesn't work, you can use >> the test program instead of [. >> >> if test ! -f /tmp/.X0-lock; then >> /usr/local/bin/startx >> fi >> >> I've checked this in bash's dialog mode, it works. >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... >> > > Have changed it, now when I start machine I am logged in as root > > grullahighschool# > > I wonder what I did > > /etc/gettytab > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > /etc/ttys > > autologin:\ > :al=olivares:ht:np:sp#115200: > > Might it be that there were two lines > in /etc/gettytab > > ttyv0 "/usr/libexec/getty Pc" cons25 on secure > > and > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > and I removed the top one with "Pc" and left the one below? > > Thank you for your help/advice, I am almost there. > > Regards, > > Antonio > Update: I modified the top line to contain : ttyv0 "/usr/libexec/getty Pc" cons25 on secure and at the very end added one with ttyv0 "/usr/libexec/getty autologin" cons25 on secure and sadlyI get Aug 8 12:07:58 grullahighschool init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs Then I get login prompt :( again. What could be going wrong ? Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:25:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BDF21065715 for ; Sun, 8 Aug 2010 18:25:00 +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 D5E1C8FC08 for ; Sun, 8 Aug 2010 18:24:59 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 642B41E8AD; Sun, 8 Aug 2010 20:24:30 +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 o78IOTNd003233; Sun, 8 Aug 2010 20:24:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 20:24:29 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808202429.1a1e4a20.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 18:25:00 -0000 On Sun, 8 Aug 2010 13:02:48 -0500, Antonio Olivares wrote: > Have changed it, now when I start machine I am logged in as root > > grullahighschool# > > I wonder what I did So that's REALLY strange... > /etc/gettytab > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure Change "autologin" to something else; near the file's end there is already such a name - just to avoid interferences. Make sure you have /etc/gettytab in the following format (tested, and working): # File header # ... default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: autologin:\ :al=olivares:tc=Pc: # # Fixed speed entries # .... file continues here ..... In this case, "olivares" is both the name of the user to log in automatically AND the name of the autologin-purpose profile. The user has to exist, of course. > Might it be that there were two lines > in /etc/gettytab > > ttyv0 "/usr/libexec/getty Pc" cons25 on secure > > and > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > and I removed the top one with "Pc" and left the one below? Seems to be interfering... In /etc/ttys, use this format: ttyv0 "/usr/libexec/getty olivares" cons25 on secure Make sure the line regarding X is off: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:31:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057D71065670 for ; Sun, 8 Aug 2010 18:31:57 +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 AE12E8FC0A for ; Sun, 8 Aug 2010 18:31:56 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 9E1081E8B5; Sun, 8 Aug 2010 20:31:27 +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 o78IVQhT003255; Sun, 8 Aug 2010 20:31:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 20:31:26 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808203126.f822b075.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 18:31:57 -0000 On Sun, 8 Aug 2010 13:10:01 -0500, Antonio Olivares wrote: > Update: > > I modified the top line to contain : > ttyv0 "/usr/libexec/getty Pc" cons25 on secure > and > at the very end added one with > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > and sadlyI get > > Aug 8 12:07:58 grullahighschool init: getty repeating too quickly on > port /dev/ttyv0, sleeping 30 secs > > Then I get login prompt :( again. What could be going wrong ? You have TWO definitions for ttyv0 now, you only need ONE. ttyv0 "/usr/libexec/getty autologin" cons25 on secure is the line you want. Just comment out the other one. And make sure the xdm line is set to "off". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:57:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 636FB1065670 for ; Sun, 8 Aug 2010 18:57:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B4B8C8FC17 for ; Sun, 8 Aug 2010 18:57:06 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o78Iv2GH040790 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 8 Aug 2010 19:57:02 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C5EFDF6.9080305@infracaninophile.co.uk> Date: Sun, 08 Aug 2010 19:56:54 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C5EF1A2.6000407@telting.org> In-Reply-To: <4C5EF1A2.6000407@telting.org> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4A431AD167879313C08E6B04" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Connection Bandwidth Metering? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 18:57:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4A431AD167879313C08E6B04 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/08/2010 19:04:18, Chris Telting wrote: > I have my own Virtual Private Server (VPS) and was wondering what is th= e > most straightforward to meter my own connection? It depends on exactly what type of VPS you have. If it's a Xen domU host, or running under VMWare or VirtualBox, then it should be fairly simple to access the byte counters kept by the network interfaces -- SNMP is the obvious way to do it -- or you can use firewall rules to match various different types of traffic and keep counters that way. Then you'll need to run a cron job that grabs this data and saves it away at regular intervals -- every 5 minutes is fairly typical. You can then calculate the average bandwidth usage for a 5 minute sampling period by working out the difference between two adjacent samples (ie. no of bytes sent/received during that 5 minutes) and then multiply by 8 / (5 * 60) to get the result in bits/s You'll have to work out how to deal with missing samples, with the counters rolling over and with counters being set to zero at reboot, puls storing a reasonable number of samples for doing your calculations in an efficient way; all of which suggests that simply using one of the available graphing programs would probably save you a deal of effort. If your VPS is more like a FreeBSD jail, then you may need the cooperation of whoever controls the host system to produce appropriate stats. > I would like to email notices to myself of excessive bandwidth usage as= > well as take steps that limit a DOS attack or Slashdot effect on the > webserver. I would also like the metering to be persistent as possible= > across reboots. Not really looking for full logging or to do graphs > yet, just want the current metered bandwidth. What counts as 'excessive'? Bandwidth usage tends by it's nature to be pretty bursty. A common billing method is to calculate the 95% percentile rate over a month -- ie. order the per-5minute bandwidth samples from largest to smallest, discard the top 5% and then charge you for the next highest value. Use 1Mb/s for 4.999% of the time, and 20kb/s the rest, and you'll only be charged for 20kb/s. Use 1Mb/s for 5.001% of the time, and you'll be charged for 1Mb/s for the whole month. Very tricky to put together an alerting system that behaves intelligently under such conditions, and that doesn't send you hundreds of false alarms However, you can use QoS bandwidth shaping to prevent your ever using up too much bandwidth. See dummynet(4) {use with ipfw} or altq(4) {use with pf}. These work to some extent by delaying traffic so that instantaneous bandwidth usage stays within some preset bounds. You can also arrange to reserve bandwidth for other services than your webserver, which helps with the Slashdot effect. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig4A431AD167879313C08E6B04 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxe/f4ACgkQ8Mjk52CukIweCgCfRSNFxl9zyEjHdvwtVXxGrKp/ M2wAniPvndAmQEpn3ICnxKFYTaqf6Ri2 =DAKP -----END PGP SIGNATURE----- --------------enig4A431AD167879313C08E6B04-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 19:01:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25922106566C for ; Sun, 8 Aug 2010 19:01:34 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C87108FC0C for ; Sun, 8 Aug 2010 19:01:33 +0000 (UTC) Received: by pwj4 with SMTP id 4so1165397pwj.13 for ; Sun, 08 Aug 2010 12:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=WD5qJjGOPmveBsuhPAJK1oBAAoCaLLKioGq4FR9DCQE=; b=ZaDIuxICZ6tP2lwAi+HUxwFPquBOn1+zfgD99nJvzIe5bC+1zb1EfoohQO1TtvC5b5 uR5fP9D3NcolZPZZDdnFnEk49A/AntB+/GHO0xa65hr6J5dNQ5KNHhtNR466Glf1cSwC F8LyLz9zZ8s3Ha4lI7V5IIZPmqQpalsTD+HVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=DxZiuL/tTK8lASwU70g2nyxXGnKY5+a03VwByzOoOnpBWXoiu6Xou3FCbqcEv2w6vh Admabjgma4s2DXr5uivIS7eCYlpVRfwjfauVHJg3TfzuUGfXVNaFLqCn+/BkXxU2vVic 6UE/bIuy67Xap7VH/APf/sUqihY0r/YpR36H8= Received: by 10.143.30.4 with SMTP id h4mr2145156wfj.108.1281294093287; Sun, 08 Aug 2010 12:01:33 -0700 (PDT) Received: from chateau.d.if ([122.163.155.166]) by mx.google.com with ESMTPS id n2sm5431853wfl.1.2010.08.08.12.01.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 12:01:32 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 4E11A2D8027; Mon, 9 Aug 2010 00:31:25 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Carl Johnson Organization: The FreeBSD Project References: <878w4svp18.fsf@cjlinux.localnet> <87r5ihbpoe.fsf@cjlinux.localnet> <86aaoxprjv.fsf_-_@chateau.d.if> <871va9dp7p.fsf@cjlinux.localnet> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 00:28:01 up 1:12, 1 user, load average: 0.44, 0.32, 0.17 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Mon, 09 Aug 2010 00:31:20 +0530 In-Reply-To: <871va9dp7p.fsf@cjlinux.localnet> (Carl Johnson's message of "Sun, 08 Aug 2010 09:49:30 -0700") Message-ID: <86fwypornj.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Gnus issue in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 19:01:34 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Carl Johnson writes: [...] > How do you sync the mailboxes together? That sounds like something > that could be useful for my configuration. Actually I am trying to > move my old mail from Linux to FreeBSD, but syncing might be an easier > way to handle moving it. I use following sh script to synchronize my mailbox stuff which includes Maildirs, Gnus configuration, procmail configuration, mairix db, etc. #v+ #!/bin/sh cwd=3D$(pwd) cd for i in .newsrc .newsrc.eld .newsrc~ .newsrc.eld~ .newsrc-dribble~ .gnus .= gnus.elc .procmailrc mail/ .maildir/ .mutt/ Mail/ News/ .mairix/; do if [ -d ${i} ]; then cd ${i} ; fi rsync -rvzdlt --delete /disks/bsd-home/${USER}/${i} . if [ -d $HOME/${i} ]; then cd ; fi done cd ${cwd} #v- HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CWe could tell you what it's about. But then, of course, we'd have = to kill you.=E2=80=9D (tagline of movie "Sneakers", 1992) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMXv8EAAoJEMdGz6nnT6SwPasP/25aSf+2CaBXwpq37ipXVpEH KvAn37neUxIX72Igh6lHIQglNnHANpLW6hE8E+lKVO9JxsJgXCdyEzUAV1+oaR6u hRXS2dM6D7rZY0XyhAV9bZ3E8C3hInDb4onHnM5o/EGaEC2Q4tHVXaVCQhz7+P3v 4m2DsCG1jseRIenKKdH3jwRqdI4Id5/fykGydYI+BmSm5++ObcfEP2312oQzV+S/ 6bapDGGF3f0GXkOlf4GbahZ4UV+LPwdZ3BydwvYG3Nb04psRcUYzuTdpqO4a/O8z xfMbG0zIUWIF6FxlDvmI9hGe8HQymHhbL87z45AYmamQlemh0W1PiX1NQbjUdv5L 9XxzQu6Kreu/rdGTd8wfGF8tUrAtBQ41l2EUFAaORFJkxG85L2UDT/u9oX/DQgT6 ABhK1bSxLCzpkTdMwdmUZfAzMRyJItsPt/wPod8eqPNA5twexXlJu3/yVnPhYL1l huEz7o3rQ0eOHrT9XKU9IG+5pIqGYryK1k2PDVDqv8niC5T6D4TNxZRhBFke0xkn ogbIilZgL9yWwaaW9nP1h7xAo8yAoPTCepgrB9BvJ7v+ahxHYDQZlyspf+a8o7GJ 0R6mqtEwexVn9J6wRnKv6yRxGDZRpWTiM81VrlQ13DUoDjdG6NeH58MlXQ4DmwxD PaHnoWLtChlqW5WKNn2m =6OH5 -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 19:12:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C1F7106567B for ; Sun, 8 Aug 2010 19:12:25 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF1C38FC1E for ; Sun, 8 Aug 2010 19:12:24 +0000 (UTC) Received: by pvg4 with SMTP id 4so562230pvg.13 for ; Sun, 08 Aug 2010 12:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=3yie9C9cXimS1WnRab6WiFnwevg1sXvq7Zs0Tv5108g=; b=utsbI1KOMK7cxhGi0lJus8nk7NL3J8bejqSXCjeFppb/Md0knhDFWmsf5ZtPLvr8uW 7X9bHwN8xQQLQE6R+HKt2YCG10WKawcPE5GeOOxaZuQQEwwACzWwdku60U+mYpeUbbIv AW8tgSXRwzEs6TDfK4sg3ohlDYiD095I+tqE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=MHP54CylgCtZghyT+Y52G9HgmBkqZ7Isy4w2SZjdCEH98o5jKSAksn2Rq7XwXOHw9e TDewYaTwIKlx/uixv0Uwzp1qR6VpVFeaPq5egRwF8BSqPCGdJNKQ6YB54lkbjO876TSk lT7QjAYUKHA0e8o4SQg56CHKAW2LWRD7TkP5E= Received: by 10.114.27.17 with SMTP id a17mr17329487waa.115.1281294744121; Sun, 08 Aug 2010 12:12:24 -0700 (PDT) Received: from chateau.d.if ([122.163.155.132]) by mx.google.com with ESMTPS id d39sm8585704wam.4.2010.08.08.12.12.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 12:12:23 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 4123D2D8027; Mon, 9 Aug 2010 00:42:17 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Carl Johnson Organization: The FreeBSD Project References: <874ofgvodz.fsf@cjlinux.localnet> <864ofgdwf8.fsf@gmail.com> <87r5ijtxhf.fsf@cjlinux.localnet> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 00:38:24 up 1:22, 1 user, load average: 0.00, 0.05, 0.08 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Mon, 09 Aug 2010 00:42:16 +0530 In-Reply-To: <87r5ijtxhf.fsf@cjlinux.localnet> (Carl Johnson's message of "Sat, 31 Jul 2010 09:41:32 -0700") Message-ID: <86bp9cq5pr.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Emacs gnus in 8.1 not reading email X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 19:12:25 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Carl Johnson writes: > Anonymous writes: >> Carl Johnson writes: >>=20 >>> I am experimenting with 8.1 in VirtualBox, but I discovered that I >>> can't get gnus to work. I just brought over my configuration from a >>> working 7.3 system, but on 8.1 it won't read the mail from the >>> system. Gnus will start up, but it just reports that there is no >>> mail. It did work one time with a couple of test messages, but I have >>> never gotten it to repeat since then. >>>=20 >>> I tried sending a couple of messages and they show up in my system >>> mailbox. I also tried reading my system mail with the command line >>> mail program and emacs rmail to verify that the system is handling >>> mail properly. I also tried using a blank .gnus file and there was no >>> change. I verified with my 7.3 system that gnus will at least read >>> mail with a blank .gnus file. >>=20 >> Try without ~/.newsrc.eld. BTW, what backend do you use for reading mail? >> nnmaildir? > I just tried it, but there was no difference. I use nnml for the > backend, but that is the same for my other test and normal systems. > Thanks for the suggestion anyways. So, Gnus is not able to read from mail spool, i.e. /var/mail/$USER, right ? Can you post your .gnus ? HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CHeavier-than-air flying machines are impossible.=E2=80=9D (Lord Ke= lvin, 1895) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMXwGRAAoJEMdGz6nnT6SwS34QAJSGPPYiVw0SAaKnXAaOAwU6 3vOc3Owe0hCadp+WpJ23jNWafy5V56mBdKkXeU5KUQBHwF2J2F1VSOoOfsk5xaJ0 ZkrJ8G69CGmvrcBBrfHQhjvGDiSzP3RLeMnZM0jhfEiu5RvyuCpO1AGrHoho7uYj BEzv1FJljP016dCP32Lu8x9UisrdMcb9987T2SVFvzBCpJmR5cFi+dgzcovHf8bQ Phbh61LFr65yx1Ttq4yLwJRAeywKUVOj6Czd7we5oszlMQtduiemG4qrvOP0IkqS FAb1QptSZ6dmAgb45Hzg7XEYy10wjdkgklLUazR0mjhrEZJhxLTvkMbO+34Ocnal 8Bo5RfEBZwcN9QHj9Z35LHhaucxv6T15bH6wDPaVYi+Jx914u/fV0BO2SdDgX8g4 ktUouzQUF2ul7Hb0nNCHpZ6kKem/6nUItKITFdbLgIO612+H/R266IpaY73ZKmt3 wa92prfvoJhqpagu63Zvy0wQM6X5a2tAvX3YSZ+YCGMxI2cbwhkG7M1XG5Sn2JZ/ sxuFehG9DaMUSeTlCBdzfK4AMPRUbpVJ0z5dqhzRSloI5gvV7rSx1KhXQNrLHeAv tYp3o4tgAu+QBWbVlcXpz3pe7stBvOqc918ZvwBdIB3kCmzG/codLnOz/DirWhdg D+jqOguUux+upCMkj8ad =ODXW -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 19:51:03 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28C951065674 for ; Sun, 8 Aug 2010 19:51:03 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id A156F8FC12 for ; Sun, 8 Aug 2010 19:51:02 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o78JojDl071772; Sun, 8 Aug 2010 21:51:01 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o78JojUL071771; Sun, 8 Aug 2010 21:50:45 +0200 (CEST) (envelope-from olli) Date: Sun, 8 Aug 2010 21:50:45 +0200 (CEST) Message-Id: <201008081950.o78JojUL071771@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, eb30750@gmail.com In-Reply-To: <9B247D49-380E-400D-B1B5-877BCAAC2120@gmail.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Sun, 08 Aug 2010 21:51:01 +0200 (CEST) Cc: Subject: Re: misc/149335: shell script runs on Linux but not on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, eb30750@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 19:51:03 -0000 Paul wrote: > Thanks Oliver > I can just get the i386 vmware version and should install and run. > Last question is there a x86_64 bit Linux module? No, unfortunately x86_64 linux binaries are not supported. > Is one I'm development? I'm afraid I don't know. I suggest you try asking in the freebsd-emulation@freebsd.org mailing list. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 19:58:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DC841065678 for ; Sun, 8 Aug 2010 19:58:44 +0000 (UTC) (envelope-from mihai.dontu@gmail.com) Received: from mail.bitdefender.com (mail.bitdefender.com [91.199.104.2]) by mx1.freebsd.org (Postfix) with ESMTP id 41F108FC12 for ; Sun, 8 Aug 2010 19:58:42 +0000 (UTC) Received: (qmail 21923 invoked from network); 8 Aug 2010 22:32:02 +0300 Received: from 188-26-184-26.rdsnet.ro (HELO mdontu-dell.localnet) (mdontu@bitdefender.com@188.26.184.26) by mail.bitdefender.com with SMTP; 8 Aug 2010 22:32:02 +0300 From: Mihai =?utf-8?q?Don=C8=9Bu?= Organization: Home To: freebsd-questions@freebsd.org Date: Sun, 8 Aug 2010 22:32:00 +0300 References: <4C5EB94F.509@gmail.com> <20100808182211.000029f0@unknown> <4C5EEF9C.30804@antonioshome.net> In-Reply-To: <4C5EEF9C.30804@antonioshome.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201008082232.01281.mihai.dontu@gmail.com> X-BitDefender-Spam: No (686) X-BitDefender-SpamStamp: v1, build 2.8.85.101864, SQMD Hits: none, rbl score: 0(0), bayes score: 500(0), pbayes score: 500(0), neunet score: 686(686), flags: [NN_EXEC_H_YAHOO_AND_GMAIL_NO_DOMAIN_KEY], SQMD: 209fab47e2c360a66d753d9743ca18c3.fuzzy.fzrbl.org, total: 686(775) X-BitDefender-Scanner: Clean, Agent: BitDefender qmail 3.1.0 on elfie.dsd.hq, sigver: 7.33256 Subject: Re: File System Performance on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 19:58:44 -0000 On Sunday 08 August 2010 20:55:40 Antonio Vieiro wrote: > I don't mind if a filesystem is very fast: I want it to be reliable > first. I wonder if that Phoronix test suite checks for reliability first > or not. https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Barriers_on_by_default Since it has been declared stable, the performance of ext4 has dropped due to various reliability fixes, culminating with the making of write barriers a default. More info here: http://lwn.net/Articles/283161/ -- Mihai DonÈ›u From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 20:05:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A05C1065670 for ; Sun, 8 Aug 2010 20:05:56 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 02C3C8FC0A for ; Sun, 8 Aug 2010 20:05:55 +0000 (UTC) Received: by wyj26 with SMTP id 26so11755139wyj.13 for ; Sun, 08 Aug 2010 13:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=iibARn4DtIpXxMHluReoow+fDr47QwL6xn20WrDl1q8=; b=iGd/XCfTryDy0FYSvvslxA/sEYFnqGTZigtqBclQWZisbwGYGA/BQCesutK6go5Wxn X4vAoU5H9B1zNUPtwCafoXmiuEalU2SopoXc/Yi19WluZucMYWO0bL5Y6QrHuySMncIF 0h+EoU1ZuwXhOw+9WYHwjteMQQD4+3ekkKodw= 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=cYaQ3y00XgkIWQZEIr1d41BOJ/X4viC5hTLXpC0SKFputaHyvHM86lGJkEnqGpKmYf 65XIJv4HU4sHI/KF7qx6S0VAXL30UjUGb1g4Vbr/3FamjL6u0oKMLl5PwwIv5VZTkD0f i9HExWwgdht1GvId58w6Lwq8PF2KW/PKyY9ZI= MIME-Version: 1.0 Received: by 10.216.3.83 with SMTP id 61mr1791006weg.110.1281297954949; Sun, 08 Aug 2010 13:05:54 -0700 (PDT) Received: by 10.216.69.70 with HTTP; Sun, 8 Aug 2010 13:05:54 -0700 (PDT) In-Reply-To: <20100808203126.f822b075.freebsd@edvax.de> References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> <20100808203126.f822b075.freebsd@edvax.de> Date: Sun, 8 Aug 2010 15:05:54 -0500 Message-ID: From: Antonio Olivares To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 20:05:56 -0000 On 8/8/10, Polytropon wrote: > On Sun, 8 Aug 2010 13:10:01 -0500, Antonio Olivares > wrote: >> Update: >> >> I modified the top line to contain : >> ttyv0 "/usr/libexec/getty Pc" cons25 on secure >> and >> at the very end added one with >> ttyv0 "/usr/libexec/getty autologin" cons25 on secure >> >> and sadlyI get >> >> Aug 8 12:07:58 grullahighschool init: getty repeating too quickly on >> port /dev/ttyv0, sleeping 30 secs >> >> Then I get login prompt :( again. What could be going wrong ? > > You have TWO definitions for ttyv0 now, you only need ONE. > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > is the line you want. Just comment out the other one. And make > sure the xdm line is set to "off". > > > -- Polytropon, Thank you for your patience and your help. I deleted the last line instead of commenting it out and changed autologin to test, and voila, it worked. The suggestions for the hostname also worked beautifully :) The following changes made it work: /* In /etc/gettytab ttyv0 "/usr/libexec/getty test" cons25 on secure and removed the other line that had the same execpt for test/autologin(had Pc) In /etc/ttys test:\ :al=olivares:ht:np:sp#115200: changed that word autologin to test and it made the difference. I cannot thank you enough for helping me with this issue. You made the difference between a *frustrated FreeBSD* to a *Happy and enjoying FreeBSD" user :) Now, I have more than one machine running FreeBSD successfully and with different desktops. Polytropon, thanks a million for your help. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 21:00:54 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39D231065674 for ; Sun, 8 Aug 2010 21:00:54 +0000 (UTC) (envelope-from kamilaleksiejuk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E1EE98FC19 for ; Sun, 8 Aug 2010 21:00:53 +0000 (UTC) Received: by qwg5 with SMTP id 5so5563390qwg.13 for ; Sun, 08 Aug 2010 14:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LiLcvg7ANN+QIrNzHWh2vflzUztYxFWOCTUFGP2yGug=; b=qQudI6Rzaz48LREf6eJcnbUsK8IdEs41Y4TYSg3LTB5t6wFrcwNfLkGjCL4iCgqXZ8 Cjz9G2nyU5RiSIvczK0k/22Yu5+2P0Wz5vWtxnwY+nC+XJ9TLJmIe+ybSH9uJ+LvxRY/ zAnd0/L/BhICfofk/B6AqjGE7GKPo+U8b8vUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lsZVx/BxPnXLXvoXIl+OuNNfibt4ZdTOiggMlnl2OHfSj9jhbiCCvhlZ0nVqpjDeCA msvb8nYRVo0Ns5urA3ObSnpuusyAP7JFlzmDHVk19C6w4HWR//htDUiVvmuzbqZoCTw8 tKQH1aIW+5pArOE9QF5a/q6BjcAcga1dQCuOk= MIME-Version: 1.0 Received: by 10.220.60.204 with SMTP id q12mr9219170vch.45.1281299774258; Sun, 08 Aug 2010 13:36:14 -0700 (PDT) Received: by 10.220.94.204 with HTTP; Sun, 8 Aug 2010 13:36:14 -0700 (PDT) Date: Sun, 8 Aug 2010 22:36:14 +0200 Message-ID: From: Kamil Nowacki To: freebsd-questions@FreeBSD.org X-Mailman-Approved-At: Sun, 08 Aug 2010 21:16:10 +0000 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: helping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Aug 2010 21:00:54 -0000 installed FreeBSD on VirtualPC but I have a problem with configuring Internet dhpc normally gets the ip address and the address of the router bu= t when I introduce portsnap fetch HQ to download files I do not want to download by failed and when I go back to the configuration of the Internet in sysinstall is a ip address 255.255.255.0 and disappears and it is still several times reinstalled FreeBSD Zainstalowa=B3em freeBSD na VirtualPC ale mam problem z skonfigurowaniem internetu dhpc normalnie pobiera adres ip i adres routera ale gdy wprowadza= m Komend=EA portsnap fetch do pobrania plik=F3w nie chce mi pobiera=E6 pisze = failed i gdy wchodz=EA zn=F3w do konfiguracji internetu w sysinstall to adres ip i 255.255.255.0 znika i to ci=B1gle przeinstalowa=B3em freeBSD kilka razy From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 21:41:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BBA81065674 for ; Sun, 8 Aug 2010 21:41:02 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 182F58FC23 for ; Sun, 8 Aug 2010 21:41:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 053FD17100; Sun, 8 Aug 2010 17:22:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1281302564; bh=mjCbu27ByajL7UnND4fAo+QKL8JhKGSkq+CqSihigJo=; b= PBfutbslcUIWuaH0zpa8jPkqvWkgvDIGafj6IxenWmpWFwSmqyX4EdgNzpM7m8D6 AepIB9sO64JTy/gv5VvZP91YbXp2Hj7wBpz2sBv350W2kua54z3xDENt9R+xBI7R 6UvT4fYRpflOLINxqJAsyQayRcwfaGPCbzHJXk4zeb4= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id uvMdGfcxjdIe; Sun, 8 Aug 2010 17:22:44 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id 4E70717045; Sun, 8 Aug 2010 17:22:44 -0400 (EDT) Date: Sun, 8 Aug 2010 17:22:42 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20100808212241.GC238@magic.hamla.org> References: <20100807034646.GA2001@libertas.local.camdensoftware.com> <20100807205129.GA1978@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100807205129.GA1978@libertas.local.camdensoftware.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Questions Subject: Re: mercurial port broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 21:41:02 -0000 On Sat, 2010-08-07 at 13:51:29 -0700, Chip Camden wrote: > Looks the same to me. A message went out on freebsd-ports@ that the port > is broken and will be fixed in a couple of days: There is a preliminary patch with which you can experiment until the port is fixed in the tree: http://lists.freebsd.org/pipermail/cvs-ports/2010-August/200063.html -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 00:13:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21BE81065677 for ; Mon, 9 Aug 2010 00:13:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 976278FC22 for ; Mon, 9 Aug 2010 00:13:02 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OiFz8-0008G2-IP for freebsd-questions@freebsd.org; Mon, 09 Aug 2010 02:12:58 +0200 Received: from pool-173-79-97-89.washdc.fios.verizon.net ([173.79.97.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 02:12:58 +0200 Received: from nightrecon by pool-173-79-97-89.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 02:12:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 08 Aug 2010 20:14:58 -0400 Lines: 45 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-97-89.washdc.fios.verizon.net Subject: Re: helping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 00:13:03 -0000 Kamil Nowacki wrote: > installed FreeBSD on VirtualPC but I have a problem with configuring > Internet dhpc normally gets the ip address and the address of the router > but when I introduce portsnap fetch HQ to download files I do not want to > download by failed and when I go back to the configuration of the Internet > in sysinstall is a ip address 255.255.255.0 and disappears and it is still > several times reinstalled FreeBSD > [snip] I do not know anything about VirtualPC, but I have used VirtualBox for some time and if the two are similar enough what works with VBox may also apply, with minor variations. The nominal default install of VirtualBox provides a virtual NAT and DHCP services to the guest OS. The virtual network card that it is simulating needs to be known, so the correct network card driver can be selected. In VirtualBox the default is AMD PCNet FAST III, but one may also select a variant of Intel PRo/1000 as well. This is the NIC that the guest OS will be using. Since the driver (em) is included already in the default FreeBSD kernel a good choice would be the Intel PRO/1000 MT which is simulating an 82540. In any event, you will need to discover the virtual network card being presented to the guest OS. The command dmesg may help. An example based on the above Intel adapter would look like this: In your /etc/rc.conf file place the following: ifconfig_em0="DHCP" That is all you need to do. Replace the "em" part with the driver that corresponds to the driver required for whichever network interface VirtualPC is presenting to the guest OS. For example, a very common Realtek 10/100 might look like: ifconfig_rl0="DHCP" - rl is the name of the driver needed for the Realtek 8139-based family of adapters. When you boot the guest, it should initialize the adapter via DHCP. What I do not know is if VirtualPC is providing these NAT and DHCP services to the guest OS in a manner similar to VirtualBox. If it does this info will work. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 00:58:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A324106566B for ; Mon, 9 Aug 2010 00:58:47 +0000 (UTC) (envelope-from eb30750@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id D10698FC0A for ; Mon, 9 Aug 2010 00:58:46 +0000 (UTC) Received: by gxk24 with SMTP id 24so4110348gxk.13 for ; Sun, 08 Aug 2010 17: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:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=4l4Z0qacJzlb72BPV80M4PyX3IYP0oZlgB9IFWxZvIM=; b=Hr/BuRW4soFMJNfFDtXNKkgzo2s3QoYMKI/Iqo5p4vT0W41T4S1R5z9GyDIymfKHQG 80PU6ksIcF0caW91PYybPr8wC07SmVfS3ABummIY1OH39nVhWSYum9YIN/StxMnH5soX 0YE9Ua2LNiV5yzRo3U40CXmfGs1OQNlB2mUww= 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=UpHUbOVKP3PPM8RH27V1wv6DbaeZvTV214PCuu2Cv4t86kFJfeRkrztPkvOXz7VB1T 3in/vDeWH1ovzV1JNZU3aMeI+GcxYaMW/udmq/VK/Mjr0mHijnEBtpslF8yrs//VAehh PaLahSlZoM1UJYIBSQV8nQq2TqassPv4TrfrE= MIME-Version: 1.0 Received: by 10.151.50.14 with SMTP id c14mr17067486ybk.178.1281315525872; Sun, 08 Aug 2010 17:58:45 -0700 (PDT) Received: by 10.151.115.10 with HTTP; Sun, 8 Aug 2010 17:58:45 -0700 (PDT) In-Reply-To: <201008081950.o78JojUL071771@lurza.secnetix.de> References: <9B247D49-380E-400D-B1B5-877BCAAC2120@gmail.com> <201008081950.o78JojUL071771@lurza.secnetix.de> Date: Sun, 8 Aug 2010 20:58:45 -0400 Message-ID: From: Paul Lambert To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary=0015174bf186c3cbcb048d598412 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: misc/149335: shell script runs on Linux but not on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 00:58:47 -0000 --0015174bf186c3cbcb048d598412 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Oliver, I was well on my way of installing VMware-Player for i386 linux on FreeBSD until I encountered these error messages. Aug 8 20:44:09 BRSINC-VM02 kernel: linux: pid 12889 (dd): ioctl fd=3D0, cmd=3D0x6d02 ('m',2) is not implemented Aug 8 20:44:09 BRSINC-VM02 kernel: linux: pid 12896 (dd): ioctl fd=3D0, cmd=3D0x6d02 ('m',2) is not implemented The install script extracted the installer and began installing the rpms. = I have attached the verbose output file. At this point should this be considered a linux emulator bug and reported a= s such? Paul On Sun, Aug 8, 2010 at 3:50 PM, Oliver Fromme wrote= : > Paul wrote: > > Thanks Oliver > > I can just get the i386 vmware version and should install and run. > > Last question is there a x86_64 bit Linux module? > > No, unfortunately x86_64 linux binaries are not supported. > > > Is one I'm development? > > I'm afraid I don't know. I suggest you try asking in the > freebsd-emulation@freebsd.org mailing list. > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Gesch=E4ftsfuehrun= g: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf Geb= hart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > "anyone new to programming should be kept as far from C++ as > possible; actually showing the stuff should be considered a > criminal offence" -- Jacek Generowicz > --0015174bf186c3cbcb048d598412 Content-Type: text/plain; charset=US-ASCII; name="bashoutput.txt" Content-Disposition: attachment; filename="bashoutput.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gcmm2vg00 CkJSU0lOQy1WTTAyIyAvY29tcGF0L2xpbnV4L2Jpbi9iYXNoIC12eCBWTXdhcmUtUGxheWVyLTMu MS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQojIS91c3IvYmluL2VudiBiYXNoCiMKIyBWTXdhcmUgSW5z dGFsbGVyIExhdW5jaGVyCiMKIyBUaGlzIGlzIHRoZSBleGVjdXRhYmxlIHN0dWIgdG8gY2hlY2sg aWYgdGhlIFZNd2FyZSBJbnN0YWxsZXIgU2VydmljZQojIGlzIGluc3RhbGxlZCBhbmQgaWYgc28s IGxhdW5jaCBpdC4gIElmIGl0IGlzIG5vdCBpbnN0YWxsZWQsIHRoZQojIGF0dGFjaGVkIHBheWxv YWQgaXMgZXh0cmFjdGVkLCB0aGUgVk1JUyBpcyBpbnN0YWxsZWQsIGFuZCB0aGUgVk1JUwojIGlz IGxhdW5jaGVkIHRvIGluc3RhbGwgdGhlIGJ1bmRsZSBhcyBub3JtYWwuCgojIEFyY2hpdGVjdHVy ZSB0aGlzIGJ1bmRsZSB3YXMgYnVpbHQgZm9yICh4ODYgb3IgeDY0KQpBUkNIPXg4NgorIEFSQ0g9 eDg2CgppZiBbIC16ICIkQkFTSCIgXTsgdGhlbgogICAjICQtIGV4cGFuZHMgdG8gdGhlIGN1cnJl bnQgb3B0aW9ucyBzbyB0aGluZ3MgbGlrZSAteCBnZXQgcGFzc2VkIHRocm91Z2gKICAgaWYgWyAh IC16ICIkLSIgXTsgdGhlbgogICAgICBvcHRzPSItJC0iCiAgIGZpCgogICAjIGRhc2ggZmxpcHMg b3V0IG9mICRvcHRzIGlzIHF1b3RlZCwgc28gZG9uJ3QuCiAgIGV4ZWMgL3Vzci9iaW4vZW52IGJh c2ggJG9wdHMgIiQwIiAiJEAiCiAgIGVjaG8gIlVuYWJsZSB0byByZXN0YXJ0IHdpdGggYmFzaCBz aGVsbCIKICAgZXhpdCAxCmZpCisgJ1snIC16IC9jb21wYXQvbGludXgvYmluL2Jhc2ggJ10nCgpz ZXQgLWUKKyBzZXQgLWUKCkVUQ0RJUj0vZXRjL3Ztd2FyZS1pbnN0YWxsZXIKKyBFVENESVI9L2V0 Yy92bXdhcmUtaW5zdGFsbGVyCk9MREVUQ0RJUj0iL2V0Yy92bXdhcmUiCisgT0xERVRDRElSPS9l dGMvdm13YXJlCgojIyMgT2Zmc2V0cyAjIyMKIyBUaGVzZSBhcmUgb2Zmc2V0cyB0aGF0IGFyZSBs YXRlciB1c2VkIHJlbGF0aXZlIHRvIEVPRi4KRk9PVEVSX1NJWkU9NTIKKyBGT09URVJfU0laRT01 MgoKIyBUaGlzIHdvbid0IHdvcmsgd2l0aCBub24tR05VIHN0YXQuCkZJTEVfU0laRT1gc3RhdCAt LWZvcm1hdCAiJXMiICIkMCJgCnN0YXQgLS1mb3JtYXQgIiVzIiAiJDAiCisrIHN0YXQgLS1mb3Jt YXQgJXMgVk13YXJlLVBsYXllci0zLjEuMC0yNjEwMjQuaTM4Ni5idW5kbGUKKyBGSUxFX1NJWkU9 MTA2NTE5ODY1Cm9mZnNldD0kKCgkRklMRV9TSVpFIC0gNCkpCisgb2Zmc2V0PTEwNjUxOTg2MQoK TUFHSUNfT0ZGU0VUPSRvZmZzZXQKKyBNQUdJQ19PRkZTRVQ9MTA2NTE5ODYxCm9mZnNldD0kKCgk b2Zmc2V0IC0gNCkpCisgb2Zmc2V0PTEwNjUxOTg1NwoKQ0hFQ0tTVU1fT0ZGU0VUPSRvZmZzZXQK KyBDSEVDS1NVTV9PRkZTRVQ9MTA2NTE5ODU3Cm9mZnNldD0kKCgkb2Zmc2V0IC0gNCkpCisgb2Zm c2V0PTEwNjUxOTg1MwoKVkVSU0lPTl9PRkZTRVQ9JG9mZnNldAorIFZFUlNJT05fT0ZGU0VUPTEw NjUxOTg1MwpvZmZzZXQ9JCgoJG9mZnNldCAtIDQpKQorIG9mZnNldD0xMDY1MTk4NDkKClBSRVBB WUxPQURfT0ZGU0VUPSRvZmZzZXQKKyBQUkVQQVlMT0FEX09GRlNFVD0xMDY1MTk4NDkKb2Zmc2V0 PSQoKCRvZmZzZXQgLSA0KSkKKyBvZmZzZXQ9MTA2NTE5ODQ1CgpQUkVQQVlMT0FEX1NJWkVfT0ZG U0VUPSRvZmZzZXQKKyBQUkVQQVlMT0FEX1NJWkVfT0ZGU0VUPTEwNjUxOTg0NQpvZmZzZXQ9JCgo JG9mZnNldCAtIDQpKQorIG9mZnNldD0xMDY1MTk4NDEKCkxBVU5DSEVSX1NJWkVfT0ZGU0VUPSRv ZmZzZXQKKyBMQVVOQ0hFUl9TSVpFX09GRlNFVD0xMDY1MTk4NDEKb2Zmc2V0PSQoKCRvZmZzZXQg LSA0KSkKKyBvZmZzZXQ9MTA2NTE5ODM3CgpQQVlMT0FEX09GRlNFVD0kb2Zmc2V0CisgUEFZTE9B RF9PRkZTRVQ9MTA2NTE5ODM3Cm9mZnNldD0kKCgkb2Zmc2V0IC0gNCkpCisgb2Zmc2V0PTEwNjUx OTgzMwoKUEFZTE9BRF9TSVpFX09GRlNFVD0kb2Zmc2V0CisgUEFZTE9BRF9TSVpFX09GRlNFVD0x MDY1MTk4MzMKb2Zmc2V0PSQoKCRvZmZzZXQgLSA0KSkKKyBvZmZzZXQ9MTA2NTE5ODI5CgojIFJl c3Qgb2YgdGhlIG9mZnNldHMgb21taXR0ZWQKCiMjIyBFbmQgb2Zmc2V0cyAjIyMKCiMgU2hvcnQg bmFtZSAoaWUsIHZtd2FyZS13b3Jrc3RhdGlvbikuICBUaGlzIGlzbid0IHRlY2huaWNhbGx5IGNv cnJlY3QKIyBzaW5jZSB0aGVyZSBjb3VsZCBiZSBtdWx0aXBsZSBwcm9kdWN0IGNvbXBvbmVudHMg aW4gYSBidW5kbGUuClBST0RVQ1RfTkFNRT12bXdhcmUtcGxheWVyCisgUFJPRFVDVF9OQU1FPXZt d2FyZS1wbGF5ZXIKCiMgQ2FsbGVkIHdoZW4gdGhlIHNjcmlwdCBleGl0cwojCiMgQXJndW1lbnRz OgojICAgIE5vbmUKIwojIFNpZGUgZWZmZWN0czoKIyAgICAtIFZNSVNfVEVNUCBhbmQgUFJFUEFZ TE9BRCBpcyByZW1vdmVkIHVubGVzcyBWTUlTX0tFRVBfVEVNUCBpcyBzZXQKb25fZXhpdCgpIHsK ICAgaWYgWyAtZSAiJFZNSVNfVEVNUCIgLWEgLXogIiRWTUlTX0tFRVBfVEVNUCIgXTsgdGhlbgog ICAgICBybSAtcmYgIiRWTUlTX1RFTVAiCiAgIGZpCgogICBpZiBbIC1lICIkUFJFUEFZTE9BRCIg LWEgLXogIiRWTUlTX0tFRVBfVEVNUCIgXTsgdGhlbgogICAgICBybSAtcmYgIiRQUkVQQVlMT0FE IgogICBmaQp9Cgp0cmFwIG9uX2V4aXQgRVhJVAorIHRyYXAgb25fZXhpdCBFWElUCnRyYXAgIiIg VVNSMQorIHRyYXAgJycgVVNSMQoKIyBSZXRyaXZlcyBhbmQgc2V0cyB0aGUgdmFyaW91cyBsZW5n dGhzIHRoYXQgYXJlIGV4dHJhY3RlZCBmcm9tIHRoZQojIGZvb3RlciBvZiB0aGUgZmlsZS4KIwoj IEFyZ3VtZW50czoKIyAgICAkMSA9PiBidW5kbGUgdG8gZ2V0IHRoZSBsZW5ndGhzIGZyb20KIwoj IFNpZGUgZWZmZWN0czoKIyAgICAtIE1BR0lDX05VTUJFUiwgTEFVTkNIRVJfU0laRSwgYW5kIFBB WUxPQURfU0laRSBhcmUgc2V0LgojCiMgUmV0dXJuczoKIyAgICAwIGlmIHN1Y2Nlc3NmdWwsIGVs c2UgMQpzZXRfbGVuZ3RocygpIHsKICAgbG9jYWwgZmlsZT0iJDEiCiAgIGlmIFsgISAtcyAiJGZp bGUiIF07IHRoZW4KICAgICAgZWNobyAiJGZpbGUgZG9lcyBub3QgZXhpc3QiCiAgICAgIGV4aXQg MQogICBmaQoKICAgIyBYWFg6IHB1dCBleHRyYWN0aW9uIGluIGl0cyBvd24gZnVuY3Rpb24KICAg TUFHSUNfTlVNQkVSPWBvZCAtQW4gLXQgdTQgLU4gNCAtaiAkTUFHSUNfT0ZGU0VUICIkZmlsZSIg fCB0ciAtZCAnICdgCgogICBpZiBbICIkTUFHSUNfTlVNQkVSIiAhPSAiOTA3MzgwMjQxIiBdOyB0 aGVuCiAgICAgIGVjaG8gIm1hZ2ljIG51bWJlciBkb2VzIG5vdCBtYXRjaCIKICAgICAgZXhpdCAx CiAgIGZpCgogICBMQVVOQ0hFUl9TSVpFPWBvZCAtQW4gLXQgdTQgLU4gNCAtaiAkTEFVTkNIRVJf U0laRV9PRkZTRVQgIiRmaWxlIiB8IHRyIC1kICcgJ2AKICAgUEFZTE9BRF9TSVpFPWBvZCAtQW4g LXQgdTQgLU4gNCAtaiAkUEFZTE9BRF9TSVpFX09GRlNFVCAiJGZpbGUiIHwgdHIgLWQgJyAnYAog ICBQUkVQQVlMT0FEX1NJWkU9YG9kIC1BbiAtdCB1NCAtTiA0IC1qICRQUkVQQVlMT0FEX1NJWkVf T0ZGU0VUICIkZmlsZSIgfCB0ciAtZCAnICdgCgogICBTS0lQX0JZVEVTPSQoKCRQUkVQQVlMT0FE X1NJWkUgKyAkTEFVTkNIRVJfU0laRSkpCgogICByZXR1cm4gMAp9CgojIERldGVybWluZXMgd2hl dGhlciB0aGUgdXNlciBsYW5kIGlzIDMyIG9yIDY0LWJpdC4KIwojIFNpZGUgZWZmZWN0czoKIyAg ICBOb25lLgojCiMgUmV0dXJuczoKIyAgICAieDg2IiBvciAieDY0IiBvbiBzdWNjZXNzIHdpdGgg ZXJyb3IgY29kZSAwLiAgRXhpdHMgd2l0aCBub24temVybwojICAgIHN0YXR1cyBhbmQgdW5kZWZp bmVkIHRleHQgb24gZmFpbHVyZS4KZ2V0X2FyY2goKSB7CiAgICMgRmlyc3QgYnl0ZSBpcyB0aGUg RUxGIG1hZ2ljIG51bWJlci4gIFRoZSA1dGggYnl0ZSBpcyB3aGV0aGVyIGl0J3MKICAgIyBhIDMy IG9yIDY0LWJpdCBtYWNoaW5lICgxIG9yIDIsIHJlc3BlY3RpdmVseSkuICBTZWUgYG1hbiBlbGZg IGZvcgogICAjIGRldGFpbHMuCiAgIGxvY2FsIEVMRl9NQUdJQz03ZgoKICAgaWYgWyAiYG9kIC1O MSAtQW4gLXQgeDEgPCAvYmluL3NoIHwgdHIgLWQgJyAnYCIgIT0gIiRFTEZfTUFHSUMiIF07IHRo ZW4KICAgICAgZXhpdCAxCiAgIGZpCgogICBsb2NhbCBhcmNoPWBvZCAtajQgLU4xIC1BbiAtdCB1 MSA8IC9iaW4vc2ggfCB0ciAtZCAnICdgCgogICBjYXNlICRhcmNoIGluCiAgICAgIDEpCiAgICAg ICAgIGVjaG8gIng4NiIKCSBleGl0IDAKCSA7OwogICAgICAyKQogICAgICAgICBlY2hvICJ4NjQi CiAgICAgICAgIGV4aXQgMAoJIDs7CiAgICAgICopCiAgICAgICAgIGV4aXQgMQogICAgICAgICA7 OwogICBlc2FjCn0KCiMgRGV0ZXJtaW5lcyBpZiBwYXRoIGlzIHJlbGF0aXZlLgojCiMgU2lkZSBl ZmZlY3RzOgojICAgIE5vbmUuCiMKIyBSZXR1cm5zOgojICAgIDAgaWYgcmVsYXRpdmUsIG90aGVy d2lzZSAxLgppc19yZWxhdGl2ZSgpIHsKICAgIGxvY2FsIHBhdGg9IiQxIgogICAgc2hpZnQKCiAg ICBbICIke3BhdGg6MDoxfSIgIT0gIi8iIF0KICAgIHJldHVybgp9CgojIEV4dHJhY3RzIHRoZSBw YXlsb2FkIGRhdGEgaW50byBhIHRlbXBvcmFyeSBkaXJlY3RvcnkuCiMKIyBTaWRlIGVmZmVjdHM6 CiMgICAgLSB0ZW1wb3JhcnkgZGlyZWN0b3J5IGlzIGNyZWF0ZWQKIyAgICAtIFZNSVNfVEVNUCBp cyBzZXQgdG8gdGVtcG9yYXJ5IGRpcmVjdG9yeQojCiMgUmV0dXJuczoKIyAgICBOb25lCmV4dHJh Y3Rfc2VsZigpIHsKICAgVk1JU19URU1QPWBta3RlbXAgLWQgL3RtcC92bWlzLlhYWFhYWGAKICAg bG9jYWwgZmlsZT0iJDAiCiAgIGxvY2FsIGZpbHRlcj0iIgogICBsb2NhbCBib290c3RyYXBwZXI9 IiRQUkVQQVlMT0FEIi9ib290c3RyYXBwZXItZ3RrCgogICBpZiBbICEgLWQgIiRWTUlTX1RFTVAi IF07IHRoZW4KICAgICAgZWNobyAiVW5hYmxlIHRvIGNyZWF0ZSB0ZW1wb3JhcnkgZGlyZWN0b3J5 LiIKICAgICAgZXhpdCAxCiAgIGZpCgogICBpZiBpc19yZWxhdGl2ZSAiJGZpbGUiOyB0aGVuCiAg ICAgIGZpbGU9IiRQV0QvJGZpbGUiCiAgIGZpCgogICBpZiBbIC1lICIkYm9vdHN0cmFwcGVyIiBd ICYmICIkYm9vdHN0cmFwcGVyIiAtLXZhbGlkYXRlIDI+IC9kZXYvbnVsbDsgdGhlbgogICAgICBm aWx0ZXI9JyB8ICIkUFJFUEFZTE9BRCIvYm9vdHN0cmFwcGVyLWd0ayAtLXRpdGxlICJWTXdhcmUg SW5zdGFsbGVyIiBcCiAgICAgICAgICAgICAgICAtLW1lc3NhZ2UgIlBsZWFzZSB3YWl0IHdoaWxl IGV4dHJhY3RpbmcgdGhlIFZNd2FyZSBJbnN0YWxsZXIuLi4iIFwKICAgICAgICAgICAgICAgIC0t dG90YWwgJFBBWUxPQURfU0laRSInCiAgIGVsc2UKICAgICAgZWNobyAtbiAiRXh0cmFjdGluZyBW TXdhcmUgSW5zdGFsbGVyLi4uIgogICBmaQoKICAgKGNkICRWTUlTX1RFTVAgJiYgZGQgaWY9IiRm aWxlIiBpYnM9JFNLSVBfQllURVMgb2JzPTEwMjQgc2tpcD0xIDI+IC9kZXYvbnVsbCBcCiAgICAg ICRmaWx0ZXIgfCBndW56aXAgLWMgMj4gL2Rldi9udWxsIHwgdGFyIC14ZiAtIDI+IC9kZXYvbnVs bCkKCiAgIGlmIFsgISAtZSAiJGJvb3RzdHJhcHBlciIgXTsgdGhlbgogICAgICBlY2hvICJkb25l LiIKICAgZmkKfQoKZXh0cmFjdF9wcmVwYXlsb2FkKCkgewogICBQUkVQQVlMT0FEPWBta3RlbXAg LWQgL3RtcC92bWlzLlhYWFhYWGAKICAgbG9jYWwgZmlsZT0iJDAiCgogICBpZiBbICEgLWQgIiRQ UkVQQVlMT0FEIiBdOyB0aGVuCiAgICAgIGVjaG8gIlVuYWJsZSB0byBjcmVhdGUgdGVtcG9yYXJ5 IGRpcmVjdG9yeS4iCiAgICAgIGV4aXQgMQogICBmaQoKICAgaWYgaXNfcmVsYXRpdmUgIiRmaWxl IjsgdGhlbgogICAgICBmaWxlPSIkUFdELyRmaWxlIgogICBmaQoKICAgKGNkICRQUkVQQVlMT0FE ICYmIGRkIGlmPSIkZmlsZSIgaWJzPSRMQVVOQ0hFUl9TSVpFIG9icz0xMDI0IHNraXA9MSAyPiAv ZGV2L251bGwgfCBcCiAgICAgIGd1bnppcCAtYyAyPiAvZGV2L251bGwgfCB0YXIgLXhmIC0gMj4g L2Rldi9udWxsKQp9CgojIERldGVybWluZXMgaWYgYSBwcm9ncmFtIGlzIGluIHRoZSB1c2VyJ3Mg UEFUSC4gIFRoaXMgaXMgdXNlZCBpbnN0ZWFkCiMgb2YgdGhlIGV4dGVybmFsIHdoaWNoIGJlY2F1 c2UgU29sYXJpcycgdmVyc2lvbiBkb2VzIG5vdCB3b3JrIGFzCiMgZXhwZWN0ZWQuCiMKIyBTaWRl IGVmZmVjdHM6CiMgICAgTm9uZQojCiMgQXJndW1lbnRzOgojICAgICQxID0+IHByb2dyYW0gdG8g Y2hlY2sKIwojIFJldHVybnM6CiMgICAgMCBpZiBmb3VuZCwgZWxzZSAxCmludGVybmFsX3doaWNo KCkgewogICBsb2NhbCBiaW5hcnk9IiQxIgoKICAgZm9yIGRpciBpbiBgZWNobyAkUEFUSCB8IHRy ICI6IiAiXG4iYDsgZG8KICAgICAgaWYgWyAtcyAiJGRpci8kYmluYXJ5IiAtYSAteCAiJGRpci8k YmluYXJ5IiBdOyB0aGVuCiAgICAgICAgIHJldHVybiAwCiAgICAgIGZpCiAgIGRvbmUKCiAgIHJl dHVybiAxCn0KCgojIEluc3RhbGxzIHRoZSBpbnN0YWxsZXIgYW5kIHRoZSBjdXJyZW50IGJ1bmRs ZS4KIwojIEFyZ3VtZW50czoKIyAgICAkMSA9PiBmaWxlIHNvdXJjZQojICAgICQyID0+IHRydWUg aWYgc2hvdyBoZWxwCiMgICAgJDMgPT4gcGF0aCB0byBidW5kbGUKIwojIFJldHVybnM6CiMgICAg Tm9uZQppbnN0YWxsKCkgewogICBsb2NhbCBzb3VyY2U9IiQxIi9pbnN0YWxsCiAgIHNoaWZ0CiAg IGxvY2FsIGhlbHA9IiQxIgogICBzaGlmdAogICBsb2NhbCBidW5kbGU9IiQxIgogICBzaGlmdAoK ICAgaWYgWyAhIC1kICIkc291cmNlIiBdOyB0aGVuCiAgICAgIGVjaG8gIiRzb3VyY2UgZG9lcyBu b3QgZXhpc3QiID4mMgogICAgICBleGl0IDEKICAgZmkKCiAgIGV4cG9ydCBWTVdBUkVfQk9PVFNU UkFQPSIkVk1JU19URU1QIi9ib290c3RyYXAKCiAgIGNwIC1mICIkc291cmNlIi92bXdhcmUtaW5z dGFsbGVyL2Jvb3RzdHJhcCAiJFZNV0FSRV9CT09UU1RSQVAiCiAgIHNlZCAtaSAtZSAicyxAQExJ QkRJUkBALCRzb3VyY2UsZyIgIiRWTVdBUkVfQk9PVFNUUkFQIgogICBzZWQgLWkgLWUgInMsQEBW TVdBUkVfSU5TVEFMTEVSQEAsJHNvdXJjZS92bXdhcmUtaW5zdGFsbGVyLGciICIkVk1XQVJFX0JP T1RTVFJBUCIKCiAgIC4gIiRWTVdBUkVfQk9PVFNUUkFQIgoKICAgbG9jYWwgaW5zdGFsbGVyPSIk Vk1XQVJFX0lOU1RBTExFUiIvdm13YXJlLWluc3RhbGxlcgoKICAgaWYgWyAtbiAiJGhlbHAiIF07 IHRoZW4KICAgICAgIiRpbnN0YWxsZXIiIC0taGVscAogICAgICBleGl0IDAKICAgZmkKCiAgICMg V2UgbXVzdCBmaXh1cCB0aGUgcGF0aHMgaW4gUGFuZ28gb3IgdGhlIGZvbnRzIHdpbGwgYmUgYWxs IG1lc3NlZCB1cAogICBsb2NhbCBsaWJjb25mPSIkc291cmNlIi92bXdhcmUtaW5zdGFsbGVyL2xp Yi9saWJjb25mCiAgIGZvciBmaWxlIGluIGV0Yy9wYW5nby9wYW5nb3JjIGV0Yy9wYW5nby9wYW5n by5tb2R1bGVzIGV0Yy9wYW5nby9wYW5nb3guYWxpYXNlcyBcCiAgICAgICAgICAgICAgIGV0Yy9n dGstMi4wL2dkay1waXhidWYubG9hZGVycyBldGMvZ3RrLTIuMC9ndGsuaW1tb2R1bGVzOyBkbwog ICAgICAgc2VkIC1pIC1lICJzLEBATElCQ09ORl9ESVJAQCwkbGliY29uZixnIiAiJGxpYmNvbmYv JGZpbGUiCiAgIGRvbmUKCiAgICMgUGFzcyBhbGwgb3B0aW9ucyB0aGUgdXNlciBwYXNzZWQgaW4g c28gdGhhdCB0aGUgY29ycmVjdCBVSSB0eXBlCiAgICMgZ2V0cyBzZXQuCiAgICIkaW5zdGFsbGVy IiAtLXNldC1zZXR0aW5nIHZtd2FyZS1pbnN0YWxsZXIgbGliY29uZiAiJGxpYmNvbmYiICAgXAog ICAgICAgICAgICAgICAgLS1pbnN0YWxsLWNvbXBvbmVudCAiJHNvdXJjZSIvdm13YXJlLWluc3Rh bGxlciAgICAgIFwKICAgICAgICAgICAgICAgIC0taW5zdGFsbC1idW5kbGUgIiRidW5kbGUiICIk QCIKICAgcmV0PSQ/CiAgIGlmIFsgJHJldCAhPSAwIF07IHRoZW4KICAgICAgZXhpdCAkcmV0CiAg IGZpCgogICByZXR1cm4gMAp9CgoKIyBVbmluc3RhbGwgZXhpc3RpbmcgYnVuZGxlIGluc3RhbGxh dGlvbi4KIwojIEFyZ3VtZW50czoKIyAgICAkMSA9PiBldGNkaXIKIyAgICAkMiA9PiBzdWZmaXgg dG8gYWRkIHRvIHZtd2FyZS11bmluc3RhbGwgKGllIC12aXgpCiMKIyBSZXR1cm5zOgojICAgIDAg b24gc3VjY2Vzcwp1bmluc3RhbGxfYnVuZGxlKCkgewogICBldGNkaXI9IiQxIgogICBzaGlmdAog ICBzdWZmaXg9IiQxIgogICBzaGlmdAoKICAgbG9jYWwgYm9vdHN0cmFwPSIkZXRjZGlyIi9ib290 c3RyYXAKCiAgICMgSWYgdGhlIGJvb3RzdHJhcCBmaWxlIGV4aXN0cywgd2UgYXJlIGRlYWxpbmcg d2l0aCBhIFZNSVMKICAgIyBpbnN0YWxsZXIuCiAgIGlmIFsgLWUgIiRib290c3RyYXAiIF07IHRo ZW4KICAgICAgbG9jYWwgYmluZGlyPSJgLiAkZXRjZGlyL2Jvb3RzdHJhcCAmJiBlY2hvICRCSU5E SVJgIgogICAgICBsb2NhbCBpbnN0YWxsZXI9IiRiaW5kaXIiL3Ztd2FyZS11bmluc3RhbGwkc3Vm Zml4CiAgICAgICMgQ2hlY2sgaWYgdGhpcyBpcyBhbiBvbGQgc3R5bGUgZmlsZSBieSBjaGVja2lu ZyB0aGUgdmVyc2lvbgogICAgICAjIGxpbmUgZm9yICdWRVJTSU9OPSIxLjAiJyAgSWYgaXQncyBm b3VuZCwgcnVuIHRoZSBibGFua2V0CiAgICAgICMgdW5pbnN0YWxsLgogICAgICBpZiBncmVwIC1x ICdWRVJTSU9OPSIxLjAiJyAiJGJvb3RzdHJhcCI7IHRoZW4KICAgICAgICAgaWYgWyAtZSAiJGlu c3RhbGxlciIgXTsgdGhlbgogICAgICAgICAgICBpZiAhICIkaW5zdGFsbGVyIiAiJEAiOyB0aGVu CiAgICAgICAgICAgICAgIGVjaG8gIkluc3RhbGxlciBkaWQgbm90IHVuaW5zdGFsbCBzdWNjZXNz ZnVsbHkuIgogICAgICAgICAgICBmaQogICAgICAgICBmaQogICAgICBmaQogICBmaQoKICAgcmV0 dXJuIDAKfQoKCiMgVW5pbnN0YWxsIGEgdGFyIGluc3RhbGxhdGlvbi4KIwojIEFyZ3VtZW50czoK IyAgICAkMSA9PiBldGNkaXIKIyAgICAkMiA9PiBzdWZmaXggdG8gYWRkIHRvIHZtd2FyZS11bmlu c3RhbGwgKGllIC12aXgpCiMKIyBSZXR1cm5zOgojICAgIDAgb24gc3VjY2Vzcwp1bmluc3RhbGxf dGFyKCkgewogICBldGNkaXI9IiQxIgogICBzaGlmdAogICBzdWZmaXg9IiQxIgogICBzaGlmdAoK ICAgbG9jYXRpb25zPSIkZXRjZGlyIi9sb2NhdGlvbnMKCiAgIGlmIFsgLWUgJGxvY2F0aW9ucyBd OyB0aGVuCiAgICAgIGxvY2FsIGJpbmRpcj1gZ3JlcCAiXmFuc3dlciBCSU5ESVIgIiAkbG9jYXRp b25zIHwgdGFpbCAtbiAxIHwgc2VkICdzLGFuc3dlciBCSU5ESVIgLCxnJ2AKICAgICAgbG9jYWwg aW5zdGFsbGVyPSIkYmluZGlyIi92bXdhcmUtdW5pbnN0YWxsJHN1ZmZpeC5wbAoKICAgICAgaWYg WyAtZSAiJGluc3RhbGxlciIgXTsgdGhlbgogICAgICAgICBlY2hvICJVbmluc3RhbGxpbmcgbGVn YWN5IGluc3RhbGxhdGlvbi4uLiIKICAgICAgICAgIiRpbnN0YWxsZXIiIC1kCiAgICAgIGVsc2UJ CQkjIE5vIHVuaW5zdGFsbGVyIHByZXNlbnQsIGdldCByaWQgb2YgbG9jYXRpb25zIGRiLgogICAg ICAgICBybSAtZiAkbG9jYXRpb25zCiAgICAgIGZpCiAgIGZpCn0KCnJlbW92ZV9ycG0oKSB7CiAg IGxvY2FsIHBrZz0iJDEiCiAgIHNoaWZ0CgogICAjIElmIG5vcm1hbCB1bmluc3RhbGxhdGlvbiBm YWlscywgd2Ugd2FudCB0byBmb3JjZSBpdCBvdXQuICBUaGlzCiAgICMgaXMgbGlrZWx5IGJlY2F1 c2UgdGhlIHByZXVuIHNjcmlwdCBmYWlsZWQuICB0cnkgYWdhaW4gd2l0aAogICAjIC0tbm9zY3Jp cHRzCiAgIGlmICEgcnBtIC1lICRwa2c7IHRoZW4KICAgICAgZWNobyAiVW5pbnN0YWxsYXRpb24g b2YgJHBrZyBmYWlsZWQuICBGb3JjaW5nIHVuaW5zdGFsbGF0aW9uLiIKICAgICAgcnBtIC1lICRw a2cgLS1ub3NjcmlwdHMKICAgZmkKfQoKIyBVbmluc3RhbGxzIGxlZ2FjeSBQbGF5ZXIvV29ya3N0 YXRpb24uCiMKIyBBcmd1bWVudHM6CiMgICAgTm9uZQojCiMgUmV0dXJuczoKIyAgICAwIG9uIHN1 Y2Nlc3MuCnVuaW5zdGFsbF9sZWdhY3koKSB7CiAgIGxvY2FsIGV0Y2Rpcj0iJDEiCiAgIHNoaWZ0 CgogICBsb2NhbCBob3N0ZWQ9YGVjaG8gIiRQUk9EVUNUX05BTUUiIHwgZ3JlcCAiXCh2bXdhcmUt d29ya3N0YXRpb25cfHZtd2FyZS1wbGF5ZXJcfHZtd2FyZS1zZXJ2ZXJcfHZtd2FyZS12aXhcKSJg CgogICBpZiBbIC1uICIkaG9zdGVkIiBdOyB0aGVuICMgQ2hlY2sgdG8gc2VlIGlmIHJwbSBpcyBp bnN0YWxsZWQKICAgICAgZm9yIHBrZyBpbiBWTXdhcmVXb3Jrc3RhdGlvbiBWTXdhcmVQbGF5ZXI7 IGRvCiAgICAgICAgIGlmIHJwbSAtcSAkcGtnID4gL2Rldi9udWxsIDI+JjE7IHRoZW4KICAgICAg ICAgICAgcmVtb3ZlX3JwbSAkcGtnCiAgICAgICAgIGZpCiAgICAgIGRvbmUKICAgICAgIyBOb3cg aGFuZGxlIHRoZSBzZXJ2ZXIgY2FzZS4gIFRoZSBpbnN0YWxsZXIgaXMgbm9ybWFsbHkgcmVwbGFj aW5nCiAgICAgICMgUGxheWVyIGFuZC9vciBXb3Jrc3RhdGlvbiwgc28gdGhlcmUgaXMgbm8gbmVl ZCB0byBleHBsaWNpdGx5IGxldAogICAgICAjIHRoZSB1c2VyIGtub3cgdGhhdCB3ZSdyZSByZXBs YWNpbmcgdGhlbS4gIFNpbGVudGx5IHJlcGxhY2luZwogICAgICAjIHNlcnZlciBvbiB0aGUgb3Ro ZXIgaGFuZCBpcyBub3QgYSBnb29kIGlkZWEuCiAgICAgIGlmIHJwbSAtcSBWTXdhcmUtc2VydmVy ID4gL2Rldi9udWxsIDI+JjE7IHRoZW4KICAgICAgICAgZWNobyAiVk13YXJlIFNlcnZlciBtdXN0 IGJlIHJlbW92ZWQgYmVmb3JlIGluc3RhbGxhdGlvbiBjYW4gY29udGludWUuIgogICAgICAgICBl Y2hvICJJdCB3aWxsIGJlIGF1dG9tYXRpY2FsbHkgdW5pbnN0YWxsZWQgYnkgdGhpcyBpbnN0YWxs ZXIuICBQcmVzcyIKICAgICAgICAgZWNobyAiY3RybC1DIG5vdyBpZiB5b3UgZG8gbm90IHdpc2gg dG8gY29udGludWUgb3IgaWYgeW91IGhhdmUgcnVubmluZyIKICAgICAgICAgZWNobyAidmlydHVh bCBtYWNoaW5lcyB0aGF0IG11c3QgYmUgY2xvc2VkLiIKICAgICAgICAgZWNobyAiIgogICAgICAg ICBlY2hvICJPdGhlcndpc2UgcHJlc3MgPGVudGVyPiB0byBjb250aW51ZSBhbmQgYXV0b21hdGlj YWxseSB1bmluc3RhbGwgVk13YXJlIFNlcnZlci4iCiAgICAgICAgIHJlYWQgLWUgTk9WQVIKICAg ICAgICAgcnBtIC1lIC0tbm9zY3JpcHRzIFZNd2FyZS1zZXJ2ZXIKICAgICAgZmkKICAgZmkKCiAg IHVuaW5zdGFsbF90YXIgIiRldGNkaXIiICIiCgogICAjIGNvbmZpZyB3YXMgYSBtZXNzIHVuZGVy IHRoZSB0YXIvcnBtLiAgSXQgYWx3YXlzIGdvdCByZW5hbWVkIGFuZAogICAjIGNyYXp5IHRoaW5n cy4gIENsZWFuIHRoZW0gdXAuCiAgIHJtIC1mICIkZXRjZGlyIi9jb25maWcuWzAtOV0qCgogICAj IE5ldHdvcmtpbmcgaXMgc29tZXRpbWVzIHN0aWxsIHJ1bm5pbmcgYWZ0ZXIgc3RvcHBpbmcgc2Vy dmljZXMgc28KICAgIyBmb3JjZWFibHkga2lsbCBpdC4gIElmIGl0J3Mgc3RpbGwgcnVubmluZyB0 aGVuIHZtbmV0IGNhbid0IGJlCiAgICMgcmVtb3ZlZCBhbmQgbmV0d29yayBzZXR0aW5ncyBhcmVu J3QgbWlncmF0ZWQgcHJvcGVybHkgZWl0aGVyLgogICBraWxsYWxsIC0td2FpdCAtOSB2bW5ldC1u ZXRpZnVwIHZtbmV0LWRoY3BkIHZtbmV0LW5hdGQgdm1uZXQtYnJpZGdlIFwKICAgICAgICAgICAg ICAgICAgICAgdm1uZXQtZGV0ZWN0IHZtbmV0LXNuaWZmZXIgMj4gL2Rldi9udWxsIHx8IHRydWUK ICAgL3NiaW4vcm1tb2Qgdm1uZXQgMj4gL2Rldi9udWxsIHx8IHRydWUKCiAgIHJldHVybiAwCn0K CgojIFVuaW5zdGFsbHMgYnVuZGxlIHJwbSBmb3IgUGxheWVyL1dvcmtzdGF0aW9uLgojCiMgQXJn dW1lbnRzOgojICAgIE5vbmUKIwojIFJldHVybnM6CiMgICAgTm9uZS4KdW5pbnN0YWxsX3JwbSgp IHsKICAgbG9jYWwgaG9zdGVkPWBlY2hvICIkUFJPRFVDVF9OQU1FIiB8IGdyZXAgIlwodm13YXJl LXdvcmtzdGF0aW9uXHx2bXdhcmUtcGxheWVyXHx2bXdhcmUtc2VydmVyXHx2bXdhcmUtdml4XCki YAoKICAgaWYgWyAtbiAiJGhvc3RlZCIgXTsgdGhlbiAjIENoZWNrIHRvIHNlZSBpZiBycG0gaXMg aW5zdGFsbGVkCiAgICAgIGZvciBwa2cgaW4gVk13YXJlLVdvcmtzdGF0aW9uIFZNd2FyZS1QbGF5 ZXI7IGRvCiAgICAgICAgIGlmIHJwbSAtcSAkcGtnID4gL2Rldi9udWxsIDI+JjE7IHRoZW4KICAg ICAgICAgICAgcmVtb3ZlX3JwbSAkcGtnCiAgICAgICAgIGZpCiAgICAgIGRvbmUKICAgZmkKfQoK CiMgTWlncmF0ZXMgbmV0d29ya2luZyBzZXR0aW5ncyBmb3IgUGxheWVyL1dvcmtzdGF0aW9uLgoj IElmIGNhbGxlZCBvbiBhbiBJcm9uIGluc3RhbGwgb2YgV29ya3N0YXRpb24sIGl0IHdpbGwKIyBk byBub3RoaW5nLiAgVGhlIGxvY2F0aW9ucyBhbmQgbmV0d29ya2luZyBmaWxlcyB3ZXJlCiMgbG9j YXRlZCBieSBkZWZhdWx0IGluIC9ldGMvdm13YXJlLCBoZW5jZSBPTERFVENESVIuCiMgSWYgdGhl eSB3ZXJlIGluc3RhbGxlZCBlbHNld2hlcmUsIHdlIGhhdmUgbm8gd2F5IHRvCiMgZmluZCB0aGVt LgojCiMgVGhpcyBvbmx5IHdvcmtzIGZvciBwcmUtSXJvbi4gIElyb24gbmV0d29yayBzZXR0aW5n cwojIGFyZSBzdG9yZWQgaW4gYSBkaWZmZXJlbnQgZGlyZWN0b3J5IGFuZCB1cGdyYWRlcyBoYW5k bGVkCiMgYnkgVk1JUy4KIwojIEFyZ3VtZW50czoKIyAgICBOb25lCiMKIyBSZXR1cm5zOgojICAg IE5vbmUuCm1pZ3JhdGVfbmV0d29ya3MoKSB7CiAgIGxvY2FsIGxvY2F0aW9ucz0iJE9MREVUQ0RJ UiIvbG9jYXRpb25zCiAgIGxvY2FsIG5ldHdvcmtpbmc9IiRPTERFVENESVIiL25ldHdvcmtpbmcK CiAgIGlmIFsgLWUgIiRuZXR3b3JraW5nIiBdOyB0aGVuCiAgICAgIGxvY2FsIHRlbXBOZXR3b3Jr aW5nPWBta3RlbXAgL3RtcC92bXdhcmVOZXR3b3JraW5nLlhYWFhYWGAKICAgICAgY3AgLWYgIiRu ZXR3b3JraW5nIiAkdGVtcE5ldHdvcmtpbmcKICAgICAgZXhwb3J0IFZNV0FSRV9SRVNUT1JFX05F VFdPUktJTkc9JHRlbXBOZXR3b3JraW5nCiAgIGVsaWYgWyAtZSAiJGxvY2F0aW9ucyIgXTsgdGhl bgogICAgICBsb2NhbCB0ZW1wTG9jYXRpb25zPWBta3RlbXAgL3RtcC92bXdhcmVMb2NhdGlvbnMu WFhYWFhYYAogICAgICBjcCAtZiAiJGxvY2F0aW9ucyIgJHRlbXBMb2NhdGlvbnMKICAgICAgZXhw b3J0IFZNV0FSRV9NSUdSQVRFX05FVFdPUktJTkc9JHRlbXBMb2NhdGlvbnMKICAgZmkKCiAgIHJl dHVybiAwCn0KCnVuaW5zdGFsbF9vbGRfdml4KCkgewogICAjIFZJWCB1c2VkIHRvIGxpdmUgdW5k ZXIgdm13YXJlLXZpeCwgc28gd2UgbmVlZCB0bwogICAjIGNoZWNrIGZvciBhbiBvbGRlciBWSVgg dGhlcmUuCiAgIHVuaW5zdGFsbF9idW5kbGUgL2V0Yy92bXdhcmUtdml4ICItdml4IiAiJEAiCgog ICAjIFVuaW5zdGFsbCBvbGQgVklYIHZlcnNpb25zIGlmIG5lY2Vzc2FyeS4KICAgdW5pbnN0YWxs X3RhciAvZXRjL3Ztd2FyZS12aXggIi12aXgiCn0KCnVuaW5zdGFsbF9vbGQoKSB7CiAgICMgVW5p bnN0YWxsIHRoZSBvbGRlciAuYnVuZGxlcwogICB1bmluc3RhbGxfYnVuZGxlICIkT0xERVRDRElS IiAiIiAiJEAiCgogICAjIFZNV0FSRV9TS0lQX1JQTV9VTklOU1RBTEwgd2lsbCBiZSBzZXQgaWYg d2UncmUgaW5zdGFsbGluZwogICAjIGluIGFuIHJwbSBjb250ZXh0LiBJbiB0aGF0IGNhc2UsIHdl IGRvbid0IHdhbnQgdG8gcnVuIGFueQogICAjIHJwbSBjb21tYW5kcyB0byBwcmV2ZW50IHJwbSBk ZWFkbG9jay4KICAgaWYgWyAteiAiJFZNV0FSRV9TS0lQX1JQTV9VTklOU1RBTEwiIF07IHRoZW4K ICAgICAgdW5pbnN0YWxsX3JwbQogICBmaQoKICAgIyBDaGVjayBpZiB3ZSBuZWVkIHRvIHJ1biB0 aGUgdW5pbnN0YWxsIHBvcnRpb25zIG9mIHRoaXMgc2NyaXB0IGZvciBlYXJsaWVyCiAgICMgaW5z dGFsbGVycy4gIExvb2sgZm9yIHRoZSBsb2NhdGlvbnMgZGF0YWJhc2UgaW4gL2V0Yy92bXdhcmUu ICBUaGlzIGZpbGUKICAgIyB3aWxsIG9ubHkgZXhpc3QgZm9yIHByZS1Jcm9uIGluc3RhbGxzLgog ICBpZiBbIC1lICIkT0xERVRDRElSIi9sb2NhdGlvbnMgXTsgdGhlbgogICAgICAjIFRoaXMgd2ls bCB1bmluc3RhbGwgbGVnYWN5IHRhci9ycG0gaW5zdGFsbGF0aW9ucy4gTm90ZSB0aGF0CiAgICAg ICMgd2UgZG8gbm90IG5lZWQgdG8gYmUgY29uY2VybmVkIGFib3V0IGNoZWNraW5nIGZvcgogICAg ICAjIFZNV0FSRV9TS0lQX1JQTV9VTklOU1RBTEwgc2luY2UgdGhlIGJ1bmRsZSBycG1zIGFyZSBt YXJrZWQKICAgICAgIyB0byBjb25mbGljdCB3aXRoIGxlZ2FjeSBycG1zLgogICAgICB1bmluc3Rh bGxfbGVnYWN5ICRPTERFVENESVIKCiAgICAgICMgQ2hlY2sgaWYgd2UgbmVlZCB0byB1bmluc3Rh bGwgY29tcG9uZW50cwogICAgICB1bmluc3RhbGxfdGFyICRPTERFVENESVIgIiIKCiAgICAgIHVu aW5zdGFsbF9vbGRfdml4ICIkQCIKICAgZmkKfQoKCiMgTWFpbiBlbnRyeSBwb2ludC4gIENoZWNr cyB3aGV0aGVyIHRoZSBWTUlTIGlzIGluc3RhbGxlZCBhbmQgaWYgc28gbGF1bmNoZXMgaXQuCiMg T3RoZXJ3aXNlIGV4dHJhY3RzIGl0c2VsZiB0aGVuIGluc3RhbGxzIHRoZSBWTUlTLgptYWluKCkg ewogICBsb2NhbCBmdWxscGF0aD0iJDAiCiAgIGxvY2FsIGhlbHAKICAgbG9jYWwgZXh0cmFjdAoK ICAgaWYgWyAiYGdldF9hcmNoYCIgIT0gIiRBUkNIIiBdOyB0aGVuCiAgICAgIGVjaG8gIlRoaXMg aXMgYSAkQVJDSCBidW5kbGUgYW5kIGRvZXMgbm90IG1hdGNoIHRoYXQgb2YgdGhlIGN1cnJlbnQg IgogICAgICBlY2hvICJhcmNoaXRlY3R1cmUuICBQbGVhc2UgZG93bmxvYWQgdGhlIGBnZXRfYXJj aGAgYnVuZGxlLiIKICAgICAgZXhpdCAxCiAgIGZpCgogICBpZiBbICIkMSIgPSAiLWgiIC1vICIk MSIgPSAiLS1oZWxwIiBdOyB0aGVuCiAgICAgIGhlbHA9JDEKICAgICAgc2hpZnQKICAgZmkKCiAg IGlmIFsgIiQxIiA9ICIteCIgLW8gIiQxIiA9ICItLWV4dHJhY3QiIF07IHRoZW4KICAgICAgZXh0 cmFjdD0kMQogICAgICBzaGlmdAogICBmaQoKICAgaWYgaXNfcmVsYXRpdmUgIiRmdWxscGF0aCI7 IHRoZW4KICAgICAgZnVsbHBhdGg9IiRQV0QvJGZ1bGxwYXRoIgogICBmaQoKICAgaWYgWyAkVUlE IC1lcSAwIF0gJiYgWyAteiAiJGhlbHAiIF0gJiYgWyAteiAiJGV4dHJhY3QiIF07IHRoZW4KICAg ICAgY2FzZSAiJFBST0RVQ1RfTkFNRSIgaW4KICAgICAgICAgIHZtd2FyZS13b3Jrc3RhdGlvbikK ICAgICAgICAgICAgICBtaWdyYXRlX25ldHdvcmtzCiAgICAgICAgICAgICAgdW5pbnN0YWxsX29s ZF92aXggIiRAIgogICAgICAgICAgICAgIHVuaW5zdGFsbF9vbGQgIiRAIgogICAgICAgICAgICAg IDs7CiAgICAgICAgICB2bXdhcmUtcGxheWVyKQogICAgICAgICAgICAgIG1pZ3JhdGVfbmV0d29y a3MKICAgICAgICAgICAgICB1bmluc3RhbGxfb2xkICIkQCIKICAgICAgICAgICAgICA7OwogICAg ICAgICAgdm13YXJlLXNlcnZlcikKICAgICAgICAgICAgICBtaWdyYXRlX25ldHdvcmtzCiAgICAg ICAgICAgICAgdW5pbnN0YWxsX29sZCAiJEAiCiAgICAgICAgICAgICAgOzsKICAgICAgICAgIHZt d2FyZS12aXgpCiAgICAgICAgICAgICAgdW5pbnN0YWxsX29sZF92aXggIiRAIgogICAgICAgICAg ICAgIDs7CiAgICAgICAgICB0ZXN0LWNvbXBvbmVudCkKICAgICAgICAgICAgICB1bmluc3RhbGxf YnVuZGxlIC9ldGMvdm13YXJlLXRlc3QgLXRlc3QgIiRAIgogICAgICBlc2FjCiAgIGZpCgogICBp ZiAhIHNldF9sZW5ndGhzICIkMCI7IHRoZW4KICAgICAgZWNobyAiVW5hYmxlIHRvIGV4dHJhY3Qg bGVuZ3RocyBmcm9tIGJ1bmRsZS4iCiAgICAgIGV4aXQgMQogICBmaQoKICAgZXh0cmFjdF9wcmVw YXlsb2FkCiAgIGV4dHJhY3Rfc2VsZgoKICAgaW5zdGFsbCAiJFZNSVNfVEVNUCIgIiRoZWxwIiAi JGZ1bGxwYXRoIiAiJGV4dHJhY3QiICIkQCIKfQoKbWFpbiAiJEAiCisgbWFpbgorIGxvY2FsIGZ1 bGxwYXRoPVZNd2FyZS1QbGF5ZXItMy4xLjAtMjYxMDI0LmkzODYuYnVuZGxlCisgbG9jYWwgaGVs cAorIGxvY2FsIGV4dHJhY3QKZ2V0X2FyY2gKKysgZ2V0X2FyY2gKKysgbG9jYWwgRUxGX01BR0lD PTdmCm9kIC1OMSAtQW4gLXQgeDEgPCAvYmluL3NoIHwgdHIgLWQgJyAnCisrKyBvZCAtTjEgLUFu IC10IHgxCisrKyB0ciAtZCAnICcKKysgJ1snIDdmICchPScgN2YgJ10nCm9kIC1qNCAtTjEgLUFu IC10IHUxIDwgL2Jpbi9zaCB8IHRyIC1kICcgJworKysgb2QgLWo0IC1OMSAtQW4gLXQgdTEKKysr IHRyIC1kICcgJworKyBsb2NhbCBhcmNoPTEKKysgY2FzZSAkYXJjaCBpbgorKyBlY2hvIHg4Ngor KyBleGl0IDAKKyAnWycgeDg2ICchPScgeDg2ICddJworICdbJyAnJyA9IC1oIC1vICcnID0gLS1o ZWxwICddJworICdbJyAnJyA9IC14IC1vICcnID0gLS1leHRyYWN0ICddJworIGlzX3JlbGF0aXZl IFZNd2FyZS1QbGF5ZXItMy4xLjAtMjYxMDI0LmkzODYuYnVuZGxlCisgbG9jYWwgcGF0aD1WTXdh cmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQorIHNoaWZ0CisgJ1snIFYgJyE9JyAv ICddJworIHJldHVybgorIGZ1bGxwYXRoPS9ob21lL1ZpcnR1YWxNYWNoaW5lcy9WTXdhcmUtUGxh eWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQorICdbJyAwIC1lcSAwICddJworICdbJyAteiAn JyAnXScKKyAnWycgLXogJycgJ10nCisgY2FzZSAiJFBST0RVQ1RfTkFNRSIgaW4KKyBtaWdyYXRl X25ldHdvcmtzCisgbG9jYWwgbG9jYXRpb25zPS9ldGMvdm13YXJlL2xvY2F0aW9ucworIGxvY2Fs IG5ldHdvcmtpbmc9L2V0Yy92bXdhcmUvbmV0d29ya2luZworICdbJyAtZSAvZXRjL3Ztd2FyZS9u ZXR3b3JraW5nICddJworICdbJyAtZSAvZXRjL3Ztd2FyZS9sb2NhdGlvbnMgJ10nCisgcmV0dXJu IDAKKyB1bmluc3RhbGxfb2xkCisgdW5pbnN0YWxsX2J1bmRsZSAvZXRjL3Ztd2FyZSAnJworIGV0 Y2Rpcj0vZXRjL3Ztd2FyZQorIHNoaWZ0Cisgc3VmZml4PQorIHNoaWZ0CisgbG9jYWwgYm9vdHN0 cmFwPS9ldGMvdm13YXJlL2Jvb3RzdHJhcAorICdbJyAtZSAvZXRjL3Ztd2FyZS9ib290c3RyYXAg J10nCisgcmV0dXJuIDAKKyAnWycgLXogJycgJ10nCisgdW5pbnN0YWxsX3JwbQplY2hvICIkUFJP RFVDVF9OQU1FIiB8IGdyZXAgIlwodm13YXJlLXdvcmtzdGF0aW9uXHx2bXdhcmUtcGxheWVyXHx2 bXdhcmUtc2VydmVyXHx2bXdhcmUtdml4XCkiCisrIGVjaG8gdm13YXJlLXBsYXllcgorKyBncmVw ICdcKHZtd2FyZS13b3Jrc3RhdGlvblx8dm13YXJlLXBsYXllclx8dm13YXJlLXNlcnZlclx8dm13 YXJlLXZpeFwpJworIGxvY2FsIGhvc3RlZD12bXdhcmUtcGxheWVyCisgJ1snIC1uIHZtd2FyZS1w bGF5ZXIgJ10nCisgZm9yIHBrZyBpbiBWTXdhcmUtV29ya3N0YXRpb24gVk13YXJlLVBsYXllcgor IHJwbSAtcSBWTXdhcmUtV29ya3N0YXRpb24KKyBmb3IgcGtnIGluIFZNd2FyZS1Xb3Jrc3RhdGlv biBWTXdhcmUtUGxheWVyCisgcnBtIC1xIFZNd2FyZS1QbGF5ZXIKKyAnWycgLWUgL2V0Yy92bXdh cmUvbG9jYXRpb25zICddJworIHNldF9sZW5ndGhzIFZNd2FyZS1QbGF5ZXItMy4xLjAtMjYxMDI0 LmkzODYuYnVuZGxlCisgbG9jYWwgZmlsZT1WTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2 LmJ1bmRsZQorICdbJyAnIScgLXMgVk13YXJlLVBsYXllci0zLjEuMC0yNjEwMjQuaTM4Ni5idW5k bGUgJ10nCm9kIC1BbiAtdCB1NCAtTiA0IC1qICRNQUdJQ19PRkZTRVQgIiRmaWxlIiB8IHRyIC1k ICcgJworKyBvZCAtQW4gLXQgdTQgLU4gNCAtaiAxMDY1MTk4NjEgVk13YXJlLVBsYXllci0zLjEu MC0yNjEwMjQuaTM4Ni5idW5kbGUKKysgdHIgLWQgJyAnCisgTUFHSUNfTlVNQkVSPTkwNzM4MDI0 MQorICdbJyA5MDczODAyNDEgJyE9JyA5MDczODAyNDEgJ10nCm9kIC1BbiAtdCB1NCAtTiA0IC1q ICRMQVVOQ0hFUl9TSVpFX09GRlNFVCAiJGZpbGUiIHwgdHIgLWQgJyAnCisrIHRyIC1kICcgJwor KyBvZCAtQW4gLXQgdTQgLU4gNCAtaiAxMDY1MTk4NDEgVk13YXJlLVBsYXllci0zLjEuMC0yNjEw MjQuaTM4Ni5idW5kbGUKKyBMQVVOQ0hFUl9TSVpFPTE1MTA1Cm9kIC1BbiAtdCB1NCAtTiA0IC1q ICRQQVlMT0FEX1NJWkVfT0ZGU0VUICIkZmlsZSIgfCB0ciAtZCAnICcKKysgdHIgLWQgJyAnCisr IG9kIC1BbiAtdCB1NCAtTiA0IC1qIDEwNjUxOTgzMyBWTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAy NC5pMzg2LmJ1bmRsZQorIFBBWUxPQURfU0laRT0xMjUwODE1NApvZCAtQW4gLXQgdTQgLU4gNCAt aiAkUFJFUEFZTE9BRF9TSVpFX09GRlNFVCAiJGZpbGUiIHwgdHIgLWQgJyAnCisrIG9kIC1BbiAt dCB1NCAtTiA0IC1qIDEwNjUxOTg0NSBWTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1 bmRsZQorKyB0ciAtZCAnICcKKyBQUkVQQVlMT0FEX1NJWkU9MTA2CisgU0tJUF9CWVRFUz0xNTIx MQorIHJldHVybiAwCisgZXh0cmFjdF9wcmVwYXlsb2FkCm1rdGVtcCAtZCAvdG1wL3ZtaXMuWFhY WFhYCisrIG1rdGVtcCAtZCAvdG1wL3ZtaXMuWFhYWFhYCisgUFJFUEFZTE9BRD0vdG1wL3ZtaXMu Y1hCN0czCisgbG9jYWwgZmlsZT1WTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRs ZQorICdbJyAnIScgLWQgL3RtcC92bWlzLmNYQjdHMyAnXScKKyBpc19yZWxhdGl2ZSBWTXdhcmUt UGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQorIGxvY2FsIHBhdGg9Vk13YXJlLVBsYXll ci0zLjEuMC0yNjEwMjQuaTM4Ni5idW5kbGUKKyBzaGlmdAorICdbJyBWICchPScgLyAnXScKKyBy ZXR1cm4KKyBmaWxlPS9ob21lL1ZpcnR1YWxNYWNoaW5lcy9WTXdhcmUtUGxheWVyLTMuMS4wLTI2 MTAyNC5pMzg2LmJ1bmRsZQorIGNkIC90bXAvdm1pcy5jWEI3RzMKKyBkZCBpZj0vaG9tZS9WaXJ0 dWFsTWFjaGluZXMvVk13YXJlLVBsYXllci0zLjEuMC0yNjEwMjQuaTM4Ni5idW5kbGUgaWJzPTE1 MTA1IG9icz0xMDI0IHNraXA9MQorIGd1bnppcCAtYworIHRhciAteGYgLQorIGV4dHJhY3Rfc2Vs Zgpta3RlbXAgLWQgL3RtcC92bWlzLlhYWFhYWAorKyBta3RlbXAgLWQgL3RtcC92bWlzLlhYWFhY WAorIFZNSVNfVEVNUD0vdG1wL3ZtaXMuc0JYVjh4CisgbG9jYWwgZmlsZT1WTXdhcmUtUGxheWVy LTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQorIGxvY2FsIGZpbHRlcj0KKyBsb2NhbCBib290c3Ry YXBwZXI9L3RtcC92bWlzLmNYQjdHMy9ib290c3RyYXBwZXItZ3RrCisgJ1snICchJyAtZCAvdG1w L3ZtaXMuc0JYVjh4ICddJworIGlzX3JlbGF0aXZlIFZNd2FyZS1QbGF5ZXItMy4xLjAtMjYxMDI0 LmkzODYuYnVuZGxlCisgbG9jYWwgcGF0aD1WTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2 LmJ1bmRsZQorIHNoaWZ0CisgJ1snIFYgJyE9JyAvICddJworIHJldHVybgorIGZpbGU9L2hvbWUv VmlydHVhbE1hY2hpbmVzL1ZNd2FyZS1QbGF5ZXItMy4xLjAtMjYxMDI0LmkzODYuYnVuZGxlCisg J1snIC1lIC90bXAvdm1pcy5jWEI3RzMvYm9vdHN0cmFwcGVyLWd0ayAnXScKKyBlY2hvIC1uICdF eHRyYWN0aW5nIFZNd2FyZSBJbnN0YWxsZXIuLi4nCkV4dHJhY3RpbmcgVk13YXJlIEluc3RhbGxl ci4uLisgY2QgL3RtcC92bWlzLnNCWFY4eAorIGRkIGlmPS9ob21lL1ZpcnR1YWxNYWNoaW5lcy9W TXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZSBpYnM9MTUyMTEgb2JzPTEwMjQg c2tpcD0xCisgZ3VuemlwIC1jCisgdGFyIC14ZiAtCisgJ1snICchJyAtZSAvdG1wL3ZtaXMuY1hC N0czL2Jvb3RzdHJhcHBlci1ndGsgJ10nCisgZWNobyBkb25lLgpkb25lLgorIGluc3RhbGwgL3Rt cC92bWlzLnNCWFY4eCAnJyAvaG9tZS9WaXJ0dWFsTWFjaGluZXMvVk13YXJlLVBsYXllci0zLjEu MC0yNjEwMjQuaTM4Ni5idW5kbGUgJycKKyBsb2NhbCBzb3VyY2U9L3RtcC92bWlzLnNCWFY4eC9p bnN0YWxsCisgc2hpZnQKKyBsb2NhbCBoZWxwPQorIHNoaWZ0CisgbG9jYWwgYnVuZGxlPS9ob21l L1ZpcnR1YWxNYWNoaW5lcy9WTXdhcmUtUGxheWVyLTMuMS4wLTI2MTAyNC5pMzg2LmJ1bmRsZQor IHNoaWZ0CisgJ1snICchJyAtZCAvdG1wL3ZtaXMuc0JYVjh4L2luc3RhbGwgJ10nCisgZXhwb3J0 IFZNV0FSRV9CT09UU1RSQVA9L3RtcC92bWlzLnNCWFY4eC9ib290c3RyYXAKKyBWTVdBUkVfQk9P VFNUUkFQPS90bXAvdm1pcy5zQlhWOHgvYm9vdHN0cmFwCisgY3AgLWYgL3RtcC92bWlzLnNCWFY4 eC9pbnN0YWxsL3Ztd2FyZS1pbnN0YWxsZXIvYm9vdHN0cmFwIC90bXAvdm1pcy5zQlhWOHgvYm9v dHN0cmFwCisgc2VkIC1pIC1lIHMsQEBMSUJESVJAQCwvdG1wL3ZtaXMuc0JYVjh4L2luc3RhbGws ZyAvdG1wL3ZtaXMuc0JYVjh4L2Jvb3RzdHJhcAorIHNlZCAtaSAtZSBzLEBAVk1XQVJFX0lOU1RB TExFUkBALC90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5zdGFsbGVyLGcgL3RtcC92 bWlzLnNCWFY4eC9ib290c3RyYXAKKyAuIC90bXAvdm1pcy5zQlhWOHgvYm9vdHN0cmFwClZNV0FS RV9JTlNUQUxMRVI9Ii90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5zdGFsbGVyIgor KyBWTVdBUkVfSU5TVEFMTEVSPS90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5zdGFs bGVyCgpWRVJTSU9OPSIxLjEiCisrIFZFUlNJT049MS4xClZNSVNQWVZFUlNJT049IjI1IgorKyBW TUlTUFlWRVJTSU9OPTI1CiMgQlVJTERfTlVNQkVSID8KKyBsb2NhbCBpbnN0YWxsZXI9L3RtcC92 bWlzLnNCWFY4eC9pbnN0YWxsL3Ztd2FyZS1pbnN0YWxsZXIvdm13YXJlLWluc3RhbGxlcgorICdb JyAtbiAnJyAnXScKKyBsb2NhbCBsaWJjb25mPS90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdh cmUtaW5zdGFsbGVyL2xpYi9saWJjb25mCisgZm9yIGZpbGUgaW4gZXRjL3BhbmdvL3BhbmdvcmMg ZXRjL3BhbmdvL3BhbmdvLm1vZHVsZXMgZXRjL3BhbmdvL3BhbmdveC5hbGlhc2VzIGV0Yy9ndGst Mi4wL2dkay1waXhidWYubG9hZGVycyBldGMvZ3RrLTIuMC9ndGsuaW1tb2R1bGVzCisgc2VkIC1p IC1lIHMsQEBMSUJDT05GX0RJUkBALC90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5z dGFsbGVyL2xpYi9saWJjb25mLGcgL3RtcC92bWlzLnNCWFY4eC9pbnN0YWxsL3Ztd2FyZS1pbnN0 YWxsZXIvbGliL2xpYmNvbmYvZXRjL3BhbmdvL3BhbmdvcmMKKyBmb3IgZmlsZSBpbiBldGMvcGFu Z28vcGFuZ29yYyBldGMvcGFuZ28vcGFuZ28ubW9kdWxlcyBldGMvcGFuZ28vcGFuZ294LmFsaWFz ZXMgZXRjL2d0ay0yLjAvZ2RrLXBpeGJ1Zi5sb2FkZXJzIGV0Yy9ndGstMi4wL2d0ay5pbW1vZHVs ZXMKKyBzZWQgLWkgLWUgcyxAQExJQkNPTkZfRElSQEAsL3RtcC92bWlzLnNCWFY4eC9pbnN0YWxs L3Ztd2FyZS1pbnN0YWxsZXIvbGliL2xpYmNvbmYsZyAvdG1wL3ZtaXMuc0JYVjh4L2luc3RhbGwv dm13YXJlLWluc3RhbGxlci9saWIvbGliY29uZi9ldGMvcGFuZ28vcGFuZ28ubW9kdWxlcworIGZv ciBmaWxlIGluIGV0Yy9wYW5nby9wYW5nb3JjIGV0Yy9wYW5nby9wYW5nby5tb2R1bGVzIGV0Yy9w YW5nby9wYW5nb3guYWxpYXNlcyBldGMvZ3RrLTIuMC9nZGstcGl4YnVmLmxvYWRlcnMgZXRjL2d0 ay0yLjAvZ3RrLmltbW9kdWxlcworIHNlZCAtaSAtZSBzLEBATElCQ09ORl9ESVJAQCwvdG1wL3Zt aXMuc0JYVjh4L2luc3RhbGwvdm13YXJlLWluc3RhbGxlci9saWIvbGliY29uZixnIC90bXAvdm1p cy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5zdGFsbGVyL2xpYi9saWJjb25mL2V0Yy9wYW5nby9w YW5nb3guYWxpYXNlcworIGZvciBmaWxlIGluIGV0Yy9wYW5nby9wYW5nb3JjIGV0Yy9wYW5nby9w YW5nby5tb2R1bGVzIGV0Yy9wYW5nby9wYW5nb3guYWxpYXNlcyBldGMvZ3RrLTIuMC9nZGstcGl4 YnVmLmxvYWRlcnMgZXRjL2d0ay0yLjAvZ3RrLmltbW9kdWxlcworIHNlZCAtaSAtZSBzLEBATElC Q09ORl9ESVJAQCwvdG1wL3ZtaXMuc0JYVjh4L2luc3RhbGwvdm13YXJlLWluc3RhbGxlci9saWIv bGliY29uZixnIC90bXAvdm1pcy5zQlhWOHgvaW5zdGFsbC92bXdhcmUtaW5zdGFsbGVyL2xpYi9s aWJjb25mL2V0Yy9ndGstMi4wL2dkay1waXhidWYubG9hZGVycworIGZvciBmaWxlIGluIGV0Yy9w YW5nby9wYW5nb3JjIGV0Yy9wYW5nby9wYW5nby5tb2R1bGVzIGV0Yy9wYW5nby9wYW5nb3guYWxp YXNlcyBldGMvZ3RrLTIuMC9nZGstcGl4YnVmLmxvYWRlcnMgZXRjL2d0ay0yLjAvZ3RrLmltbW9k dWxlcworIHNlZCAtaSAtZSBzLEBATElCQ09ORl9ESVJAQCwvdG1wL3ZtaXMuc0JYVjh4L2luc3Rh bGwvdm13YXJlLWluc3RhbGxlci9saWIvbGliY29uZixnIC90bXAvdm1pcy5zQlhWOHgvaW5zdGFs bC92bXdhcmUtaW5zdGFsbGVyL2xpYi9saWJjb25mL2V0Yy9ndGstMi4wL2d0ay5pbW1vZHVsZXMK KyAvdG1wL3ZtaXMuc0JYVjh4L2luc3RhbGwvdm13YXJlLWluc3RhbGxlci92bXdhcmUtaW5zdGFs bGVyIC0tc2V0LXNldHRpbmcgdm13YXJlLWluc3RhbGxlciBsaWJjb25mIC90bXAvdm1pcy5zQlhW OHgvaW5zdGFsbC92bXdhcmUtaW5zdGFsbGVyL2xpYi9saWJjb25mIC0taW5zdGFsbC1jb21wb25l bnQgL3RtcC92bWlzLnNCWFY4eC9pbnN0YWxsL3Ztd2FyZS1pbnN0YWxsZXIgLS1pbnN0YWxsLWJ1 bmRsZSAvaG9tZS9WaXJ0dWFsTWFjaGluZXMvVk13YXJlLVBsYXllci0zLjEuMC0yNjEwMjQuaTM4 Ni5idW5kbGUgJycKVXNlciBpbnRlcmZhY2UgaW5pdGlhbGl6YXRpb24gZmFpbGVkLiAgRXhpdGlu Zy4gIENoZWNrIHRoZSBsb2cgZm9yIGRldGFpbHMuCm9uX2V4aXQKKyBvbl9leGl0CisgJ1snIC1l IC90bXAvdm1pcy5zQlhWOHggLWEgLXogJycgJ10nCisgcm0gLXJmIC90bXAvdm1pcy5zQlhWOHgK KyAnWycgLWUgL3RtcC92bWlzLmNYQjdHMyAtYSAteiAnJyAnXScKKyBybSAtcmYgL3RtcC92bWlz LmNYQjdHMwoK --0015174bf186c3cbcb048d598412-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 03:08:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8676C1065672 for ; Mon, 9 Aug 2010 03:08:50 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 611B38FC1E for ; Mon, 9 Aug 2010 03:08:50 +0000 (UTC) Received: (qmail 25953 invoked from network); 9 Aug 2010 03:08:49 -0000 Received: from s6.stradamotorsports.com (HELO w20.stradamotorsports.com) (jcw@[64.81.163.124]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Aug 2010 03:08:49 -0000 Message-ID: <4C5F7141.9030203@speakeasy.net> Date: Sun, 08 Aug 2010 20:08:49 -0700 From: "Jason C. Wells" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100808 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: David Kelly References: <4C55E4B5.7000201@speakeasy.net> <8627B125-F3BB-42B2-98CF-600E21A93A2D@hiwaay.net> <5628C9CD-0F16-4C0E-8B89-B4ECCA35C933@hiwaay.net> In-Reply-To: <5628C9CD-0F16-4C0E-8B89-B4ECCA35C933@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Corey Smith , freebsd-questions@freebsd.org Subject: Re: Typical Network Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 03:08:50 -0000 Seems like someone else got their question answered, but I was able to make use of the tips that were provided. win-win. Thanks for the pointers. By process of elimination (swap cables, swap ports, try different host pairs) I was able to discover that a single server on my home LAN was getting about 1.6% performance compared to other servers getting 94% performance using the 'dd if=/dev/zero bs=1M count=1 | nc servername 2000' technique. netstat -I on the errant server reports no errors. What would be the next step to figuring out why this host's network performance is slow? Regards, Jason C. Wells From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 04:04:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4227A1065675 for ; Mon, 9 Aug 2010 04:04:49 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 18FD28FC0A for ; Mon, 9 Aug 2010 04:04:48 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100809040448005 for ; Mon, 09 Aug 2010 04:04:48 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o7944kw7009013 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 8 Aug 2010 21:04:47 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OiJbS-00087k-9k for freebsd-questions@freebsd.org; Sun, 08 Aug 2010 21:04:46 -0700 To: freebsd-questions@freebsd.org References: <878w4svp18.fsf@cjlinux.localnet> <87r5ihbpoe.fsf@cjlinux.localnet> <86aaoxprjv.fsf_-_@chateau.d.if> <871va9dp7p.fsf@cjlinux.localnet> <86fwypornj.fsf@chateau.d.if> From: Carl Johnson Date: Sun, 08 Aug 2010 21:04:46 -0700 In-Reply-To: <86fwypornj.fsf@chateau.d.if> (Ashish SHUKLA's message of "Mon\, 09 Aug 2010 00\:31\:20 +0530") Message-ID: <87wrs0cty9.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Gnus issue in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 04:04:49 -0000 ashish@FreeBSD.org (Ashish SHUKLA) writes: > Carl Johnson writes: > ... > > I use following sh script to synchronize my mailbox stuff which includes > Maildirs, Gnus configuration, procmail configuration, mairix db, etc. > ... Thanks, I'll have to think about that. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 04:10:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19281106564A for ; Mon, 9 Aug 2010 04:10:14 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id E60158FC1F for ; Mon, 9 Aug 2010 04:10:13 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20100809041012949 for ; Mon, 09 Aug 2010 04:10:12 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o794AAsh041255 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 8 Aug 2010 21:10:12 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OiJgf-00089F-PD for freebsd-questions@freebsd.org; Sun, 08 Aug 2010 21:10:09 -0700 To: freebsd-questions@freebsd.org References: <874ofgvodz.fsf@cjlinux.localnet> <864ofgdwf8.fsf@gmail.com> <87r5ijtxhf.fsf@cjlinux.localnet> <86bp9cq5pr.fsf@chateau.d.if> From: Carl Johnson Date: Sun, 08 Aug 2010 21:10:09 -0700 In-Reply-To: <86bp9cq5pr.fsf@chateau.d.if> (Ashish SHUKLA's message of "Mon\, 09 Aug 2010 00\:42\:16 +0530") Message-ID: <87pqxsctpa.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Emacs gnus in 8.1 not reading email X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 04:10:14 -0000 ashish@FreeBSD.org (Ashish SHUKLA) writes: > Carl Johnson writes: >> Anonymous writes: ... > >>> Try without ~/.newsrc.eld. BTW, what backend do you use for reading mail? >>> nnmaildir? > >> I just tried it, but there was no difference. I use nnml for the >> backend, but that is the same for my other test and normal systems. >> Thanks for the suggestion anyways. > > So, Gnus is not able to read from mail spool, i.e. /var/mail/$USER, right ? > Can you post your .gnus ? The problem was that I somehow got into the agent unplugged mode, but everything started working when I figured that out. I previously posted a little more information as a response to my original post, so that should be in the archives. Thanks for your reply. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 05:02:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1961065672 for ; Mon, 9 Aug 2010 05:02:40 +0000 (UTC) (envelope-from depocatcher@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A34878FC1A for ; Mon, 9 Aug 2010 05:02:40 +0000 (UTC) Received: by ywf9 with SMTP id 9so4115170ywf.13 for ; Sun, 08 Aug 2010 22:02:40 -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:subject:content-type :content-transfer-encoding; bh=LdOwJPFpJ7zdVnbrypto3l4B8SOiUDREwWjl1NDKn8w=; b=WskFCEVBUp/NpHGeZSUA9XTsc6WVUgs7jh9FpNq5fzAt6jILhnIRVkE7LWxsmblJ57 eOUcnstqZZAtTLO2kxb7YaG3sT1Cayenjbm6jkvYS+z5cFkipLAP/OZzqgwMLwtAvmBU hQGBdLfTDUTKdXtxqInCRq4jMU66Qd83oVimk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=s3Nd+qvA3EvGzTwuFVRU0FkqaOLoPAAQ9JwKwaLsN0VvoDPWcaHpvJOaYEgFBA8Uhj wU5OtmKdezgBWGc0dHKU+SRiG2CcPiPmWPOfYKgUErbbxchPwQDDd1jemDiEaCKWtblM SGfWQihvN94113giJljko2fqLZJK3Uv/6FoU8= Received: by 10.101.169.39 with SMTP id w39mr17214811ano.86.1281330159906; Sun, 08 Aug 2010 22:02:39 -0700 (PDT) Received: from [192.168.17.10] (c-98-240-166-249.hsd1.mn.comcast.net [98.240.166.249]) by mx.google.com with ESMTPS id w6sm7759807anb.23.2010.08.08.22.02.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Aug 2010 22:02:39 -0700 (PDT) Message-ID: <4C5F8BFC.30504@gmail.com> Date: Mon, 09 Aug 2010 00:02:52 -0500 From: Depo Catcher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Freebsd questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Backing up video DVDs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: depocatcher@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 05:02:41 -0000 I have 100+ physical DVDs that I would copy to disk (for fast easy access and backup purposes). Is there any software in ports that will make a good copy of the dvd? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 05:09:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB1A81065679 for ; Mon, 9 Aug 2010 05:09:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 197988FC0A for ; Mon, 9 Aug 2010 05:09:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o7959lR5060763; Mon, 9 Aug 2010 15:09:47 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 9 Aug 2010 15:09:46 +1000 (EST) From: Ian Smith To: Polytropon In-Reply-To: <20100808181018.5710810656D8@hub.freebsd.org> Message-ID: <20100809132418.G66749@sola.nimnet.asn.au> References: <20100808181018.5710810656D8@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Antonio Olivares Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 05:09:56 -0000 In freebsd-questions Digest, Vol 322, Issue 16, Message: 14 On Sun, 8 Aug 2010 17:44:36 +0200 Polytropon wrote: > On Sun, 8 Aug 2010 10:33:30 -0500, Antonio Olivares wrote: > > This is it I guess. I chose bash shell and the default schell is the csh. > > > > There is a file called .login in my home directory > > /home/olivares/.login which has: > > > > $ $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.5.1 2010/06/14 > > 02:09:06 kensmith > > Exp % > > # > > # .login - csh login script, read by login shell after '.cshrc' at login. > > # > > # see also csh(1), environ(7), > > # > > if (-x /usr/games/fortune ) /usr/games/fortune freebsd-tips > > if [! -f /tmp/.X0-lock ]; then > > /usr/local/bin/startx > > fi Hi, I don't know if Antonio is still using that syntax in later versions but the '[' (test) command requires a space between '[' and arguments, ie in either csh, sh or bash (though I only tend to use csh interactively) the syntax '[!' doesn't work .. perhaps that's what produces the message: > > -bash: [ !: command not found mentioned in later messages? Some tests: smithi on sola% sh -c '[ ! -f /etc/hosts ] && echo "hosts not found" || echo "hosts found"' hosts found smithi on sola% sh -c '[! -f /etc/hosts ] && echo "hosts not found" || echo "hosts found"' [!: not found hosts found smithi on sola% bash -c '[ ! -f /etc/hosts ] && echo "hosts not found" || echo "hosts found"' hosts found smithi on sola% bash -c '[! -f /etc/hosts ] && echo "hosts not found" || echo "hosts found"' bash: [!: command not found hosts found Of course 'hosts found' is a misleading response for the '[!' tests; it just means that the test command failed. With a non-existing file: smithi on sola% sh -c '[ ! -f /etc/boo ] && echo "boo not found" || echo "boo found"' boo not found smithi on sola% sh -c '[! -f /etc/boo ] && echo "boo not found" || echo "boo found"' [!: not found boo found smithi on sola% bash -c '[ ! -f /etc/boo ] && echo "boo not found" || echo "boo found"' boo not found smithi on sola% bash -c '[! -f /etc/boo ] && echo "boo not found" || echo "boo found"' bash: [!: command not found boo found Again 'boo found' just means the '[' (test) command failed; '[!' is bad. > > and it clearly says that is for 'csh login', so I would need something else? > > Yes. According to "man bash", section "INVOCATION", mentiones > other file names: Bash reads and executes ~/.bash_profile, > ~/.bash_login, and ~/.profile (in that order), so you can > add the line "[ ! -f /tmp/.X0-lock ] && startx" (short form > is completely okay and valid) at the end of ~/.bash_login - > or also .profile, but it makes more sense in putting it into > something related to "login" rather than a "profile", but > that's debatable semantics. :-) I'm not really sure about that; even at the very end of ~/.bash_profile running startx (a script that doesn't exit till you quit X) might be a bit dodgy, ie does bash expect sourcing ~/.bash_profile to return immediately? I guess Antonio might have to see which of those work. The debian system I look after doesn't have any .bash_login files; apart from the system-wide files in /etc (best untouched) most of the business is done in ~/.bashrc, invoked for interactive shells by ~/.bash_profile, but I'm unsure whether the login shell (that doesn't use ~/.bashrc) then invokes an interactive shell (that does) or what .. man bash is awful :) > The line "[ ! -f /tmp/.X0-lock ] && startx" is correct C shell, > sh (Bourne) and bash syntax. It is - but only with that space after '[' - and of course before ']' HTH, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 05:12:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBD441065678 for ; Mon, 9 Aug 2010 05:12:57 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id C9DA28FC0C for ; Mon, 9 Aug 2010 05:12:57 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o795CuB2051169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 8 Aug 2010 22:12:57 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o795CuB1051168; Sun, 8 Aug 2010 22:12:56 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA05571; Sun, 8 Aug 10 22:06:13 PDT Date: Sun, 08 Aug 2010 22:10:30 -0700 From: perryh@pluto.rain.com To: jcw@speakeasy.net Message-Id: <4c5f8dc6.IUSZ/egsTlgYHE/G%perryh@pluto.rain.com> References: <4C55E4B5.7000201@speakeasy.net> <8627B125-F3BB-42B2-98CF-600E21A93A2D@hiwaay.net> <5628C9CD-0F16-4C0E-8B89-B4ECCA35C933@hiwaay.net> <4C5F7141.9030203@speakeasy.net> In-Reply-To: <4C5F7141.9030203@speakeasy.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Typical Network Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 05:12:58 -0000 "Jason C. Wells" wrote: > By process of elimination (swap cables, swap ports, try different > host pairs) I was able to discover that a single server on my home > LAN was getting about 1.6% performance compared to other servers > getting 94% ... > What would be the next step to figuring out why this host's network > performance is slow? My next step would be to check whether this host and its hub/switch port agree on speed and duplex -- occasionally some combination of netcard phy and switch type gets the negotiation wrong. Duplex mismatch, in particular, can have huge performance impact. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 07:26:11 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBE30106564A; Mon, 9 Aug 2010 07:26:11 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 693878FC22; Mon, 9 Aug 2010 07:26:11 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o797Prld099435; Mon, 9 Aug 2010 09:26:09 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o797PrnP099434; Mon, 9 Aug 2010 09:25:53 +0200 (CEST) (envelope-from olli) Date: Mon, 9 Aug 2010 09:25:53 +0200 (CEST) Message-Id: <201008090725.o797PrnP099434@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG, eb30750@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Mon, 09 Aug 2010 09:26:09 +0200 (CEST) Cc: Subject: Re: misc/149335: shell script runs on Linux but not on freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-emulation@FreeBSD.ORG, eb30750@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 07:26:12 -0000 Paul Lambert wrote: > Oliver Fromme wrote: > > Paul wrote: > > > Thanks Oliver > > > I can just get the i386 vmware version and should install and run. > > > Last question is there a x86_64 bit Linux module? > > > > No, unfortunately x86_64 linux binaries are not supported. > > > > > Is one I'm development? > > > > I'm afraid I don't know. I suggest you try asking in the > > freebsd-emulation@freebsd.org mailing list. > > I was well on my way of installing VMware-Player for i386 linux on FreeBSD > until I encountered these error messages. > > Aug 8 20:44:09 BRSINC-VM02 kernel: linux: pid 12889 (dd): ioctl fd=0, > cmd=0x6d02 ('m',2) is not implemented > Aug 8 20:44:09 BRSINC-VM02 kernel: linux: pid 12896 (dd): ioctl fd=0, > cmd=0x6d02 ('m',2) is not implemented > > The install script extracted the installer and began installing the rpms. I > have attached the verbose output file. > > At this point should this be considered a linux emulator bug and reported as > such? As I said, I don't use vmware and can't help you with that. But I'm pretty sure that others are using it and might have encountered the same problems. Please take this issue to the freebsd-emulation@freebsd.org mailing list. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I learned Java 3 years before Python. It was my language of choice. It took me two weekends with Python before I was more productive with it than with Java." -- Anthony Roberts From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 09:23:31 2010 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 17B3F106566B for ; Mon, 9 Aug 2010 09:23:31 +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 00BC68FC1A for ; Mon, 9 Aug 2010 09:23:30 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id 65B1B4A2E6EA; Mon, 9 Aug 2010 02:16:47 -0700 (PDT) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Mon, 09 Aug 2010 02:21:06 -0700 Date: Mon, 9 Aug 2010 02:21:06 -0700 From: Jason To: Coert Waagmeester Message-ID: <20100809092105.GA62010@eggman.experts-exchange.com> References: <4C5D5F00.4040806@waagmeester.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4C5D5F00.4040806@waagmeester.co.za> X-Operating-System: FreeBSD 7.3-RELEASE-p1 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD questions Subject: Re: freebsd-update-server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 09:23:31 -0000 On Sat, Aug 07, 2010 at 03:26:24PM +0200, Coert Waagmeester thus spake: >Hello all, > >I am setting up my own freebsd-update-server. > >Everything seems to be working so far, but how can I also get the >patches to build together with everything? > >Here is the output of scripts/init.sh > ># sh scripts/init.sh i386 8.1-RELEASE | tee init.log >Sat Aug 7 14:59:24 SAST 2010 Starting fetch for FreeBSD/i386 8.1-RELEASE >/usr/packages/freebsdupdateserver/work/8.1-RELEASE/i386/iso.img >645 MB 47 MBps >Sat Aug 7 14:59:35 SAST 2010 Verifying disc1 hash for FreeBSD/i386 >8.1-RELEASE >Sat Aug 7 14:59:46 SAST 2010 Extracting components for FreeBSD/i386 >8.1-RELEASE >Sat Aug 7 15:01:50 SAST 2010 Constructing world+src image for >FreeBSD/i386 8.1-RELEASE >Sat Aug 7 15:05:37 SAST 2010 Extracting world+src for FreeBSD/i386 >8.1-RELEASE >########################## Here is my problem >ls: /usr/packages/freebsdupdateserver/patches/8.1-RELEASE: No such file >or directory This is expected if the directory doesn't exist. However, if the directory does exist you can't build any patches until an initial build has been performed. >########################## >Sat Aug 7 13:07:18 UTC 2010 Building world for FreeBSD/i386 8.1-RELEASE >Sat Aug 7 15:07:26 SAST 2010 Moving components into staging area for >FreeBSD/i386 8.1-RELEASE >mv: rename /R/stage/trees to /R/trees/world: No such file or directory >Sat Aug 7 15:07:26 SAST 2010 Identifying extra documentation for >FreeBSD/i386 8.1-RELEASE > ^^^^^^ this may be a problem. You may need to look at your build.conf file to make sure you have specified all of the correct sources. >Documentation not built from src: > >Sat Aug 7 15:07:44 SAST 2010 Extracting extra docs for FreeBSD/i386 >8.1-RELEASE >tar: could not chdir to '/R/trees/world' > >Sat Aug 7 15:07:44 SAST 2010 Indexing release for FreeBSD/i386 8.1-RELEASE >^C ># > > >Is ftp://ftp.freebsd.org/pub/FreeBSD/ERRATA/patches/ > the right place to get them? > >And then just place them in patches/8.1-RELEASE/ ? > > >Kind regards, >Coert Waagmeester >_______________________________________________ >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" > Take a look at my documentation on this as your question is covered: http://people.freebsd.org/~manolis/patches/freebsd-update-server/ http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_1941-Build-Your-Own-FreeBSD-Update-Server.html?sfQueryTermInfo=1+30+freebsd -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 09:49:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4080F106564A for ; Mon, 9 Aug 2010 09:49:41 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from s2m-is-001.service2media.com (rev-132-102.virtu.nl [217.114.102.132]) by mx1.freebsd.org (Postfix) with ESMTP id D3E2D8FC0A for ; Mon, 9 Aug 2010 09:49:40 +0000 (UTC) Received: from pieter-dev.localnet ([10.0.1.91] RDNS failed) by s2m-is-001.service2media.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 9 Aug 2010 11:49:38 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Mon, 9 Aug 2010 11:49:37 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008091149.37878.pieter@degoeje.nl> X-OriginalArrivalTime: 09 Aug 2010 09:49:38.0506 (UTC) FILETIME=[2E8A9AA0:01CB37A8] Cc: Marwan Sultan Subject: Re: SoundBlaster Problem with 8.1R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 09:49:41 -0000 On Saturday 07 August 2010 13:30:20 Marwan Sultan wrote: > Hello list, > > A strange sound problem with FreeBSD 8.1R > > sound card is : Creative Sound Blaster, Audigy > > When pciconf output is follow > none1@pci0:5:4:0: class=0x040100 card=0x100a1102 chip=0x00071102 > rev=0x00 hdr=0x00 vendor = 'Creative Technology LTD.' > device = 'Device ID same for both, but Subsystem ID = 0x1012 - > Extreme Audio, 0x100A - Audigy SE 7.1 (C6SB0410515017656A)' class = > multimedia > subclass = audio > > Means recognizing the sound? > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > # No driver attached to your soundcard. > > rc.conf > # Enable sound-support > snddetect_enable="YES" > mixer_enable="YES" > > /boot/loader.conf > snd_emu10kx_load="YES" > sound_load="YES" > snd_uaudio_load="YES" > > I tried to load all drivers. but same issue. > its PCBSD system 8.1 > > Please note sound was working with FreeBSD and PCBSD 7 with no problems. > uname -a > FreeBSD pcbsd-2738 8.1-RELEASE FreeBSD 8.1-RELEASE #1: > > Any ideas? > > Thanks > -Marwan There is no support for the Audigy ES in FreeBSD. See man snd_emu10kx. If you really need it to work you may try the 4front OSS drivers: http://www.opensound.com/ These drivers aren't integrated with FreeBSD as well as the normal sound drivers. - Pieter From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 10:01:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E0B01065679 for ; Mon, 9 Aug 2010 10:01:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEE38FC0A for ; Mon, 9 Aug 2010 10:01:09 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 9D09F1E944; Mon, 9 Aug 2010 12:01:08 +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 o79A17Ox001462; Mon, 9 Aug 2010 12:01:07 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Aug 2010 12:01:07 +0200 From: Polytropon To: depocatcher@gmail.com Message-Id: <20100809120107.ef420f99.freebsd@edvax.de> In-Reply-To: <4C5F8BFC.30504@gmail.com> References: <4C5F8BFC.30504@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Freebsd questions Subject: Re: Backing up video DVDs? 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, 09 Aug 2010 10:01:10 -0000 On Mon, 09 Aug 2010 00:02:52 -0500, Depo Catcher wrote: > > I have 100+ physical DVDs that I would copy to disk (for fast easy > access and backup purposes). Is there any software in ports that will > make a good copy of the dvd? If you don't want to invest time to recode the video files in order to save disk space, then use the vobcopy program (from ports); you will need between 4 and 8 GB per DVD. Of course, you can also use dd to copy the DVDs 1:1 (use bs=20480 or similar). The mplayer program will be able to play both. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 07:53:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1ECA106567A for ; Mon, 9 Aug 2010 07:53:46 +0000 (UTC) (envelope-from kamil-aleksiejuk@wp.pl) Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.7]) by mx1.freebsd.org (Postfix) with ESMTP id 3BADD8FC08 for ; Mon, 9 Aug 2010 07:53:45 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 9484 invoked from network); 9 Aug 2010 09:27:03 +0200 Received: from out.poczta.wp.pl (HELO localhost) ([212.77.101.240]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 9 Aug 2010 09:27:03 +0200 Date: Mon, 09 Aug 2010 09:27:03 +0200 From: "Kamil Aleksiejuk" To: freebsd-questions@freebsd.org Message-ID: <4c5fadc78cfb47.41339886@wp.pl> Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: Interfejs WWW nowej poczty Wirtualnej Polski X-User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/ X-WP-IP: 109.95.3.36 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [IQNU] X-Mailman-Approved-At: Mon, 09 Aug 2010 11:16:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Helping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 07:53:46 -0000 installed FreeBSD on VirtualPC but I have a problem with configuring Internet dhpc normally gets the ip address and the address of the router but when I introduce portsnap fetch HQ to download files I do not want to download by failed and when I go back to the configuration of the Internet in sysinstall is a ip address 255.255.255.0 and disappears and it is still several times reinstalled FreeBSD Zainstalowa³em freeBSD na VirtualPC ale mam problem z skonfigurowaniem internetu dhpc normalnie pobiera adres ip i adres routera ale gdy wprowadzam Komendê portsnap fetch do pobrania plików nie chce mi pobieraæ pisze failed i gdy wchodzê znów do konfiguracji internetu w sysinstall to adres ip i 255.255.255.0 znika i to ci±gle przeinstalowa³em freeBSD kilka razy From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 11:19:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82DFC1065670 for ; Mon, 9 Aug 2010 11:19:26 +0000 (UTC) (envelope-from tequnix@frogmi.net) Received: from mail.callooh.com (chello084113233101.13.14.vie.surfer.at [84.113.233.101]) by mx1.freebsd.org (Postfix) with ESMTP id E75C88FC17 for ; Mon, 9 Aug 2010 11:19:25 +0000 (UTC) Received: from zev.home.callooh.com (zev.home.callooh.com [192.168.1.2]) (authenticated bits=0) by mail.callooh.com (8.14.4/8.14.4) with ESMTP id o79B4J3Y006914; Mon, 9 Aug 2010 13:04:20 +0200 (CEST) (envelope-from tequnix@frogmi.net) Date: Mon, 9 Aug 2010 13:04:19 +0200 From: tequnix@frogmi.net To: Marwan Sultan , FreeBSD Questions Message-ID: <20100809130419.50fb15f5@zev.home.callooh.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-DCC-wuwien-Metrics: lyekka.home.callooh.com 1290; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: clamav-milter 0.96.1 at lyekka.home.callooh.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (mail.callooh.com [192.168.1.1]); Mon, 09 Aug 2010 13:04:25 +0200 (CEST) X-Mailman-Approved-At: Mon, 09 Aug 2010 11:24:44 +0000 Cc: Subject: Re: SoundBlaster Problem with 8.1R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 11:19:26 -0000 Am Sat, 7 Aug 2010 11:30:20 +0000 schrieb Marwan Sultan : >=20 >=20 >=20 >=20 > Hello list, >=20 > A strange sound problem with FreeBSD 8.1R >=20 > sound card is : Creative Sound Blaster, Audigy >=20 > When pciconf output is follow > none1@pci0:5:4:0: class=3D0x040100 card=3D0x100a1102 > chip=3D0x00071102 rev=3D0x00 hdr=3D0x00 vendor =3D 'Creative Technolo= gy > LTD.' device =3D 'Device ID same for both, but Subsystem ID =3D > 0x1012 - Extreme Audio, 0x100A - Audigy SE 7.1 > (C6SB0410515017656A)' class =3D multimedia subclass =3D audio >=20 > Means recognizing the sound? > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > # > =20 > rc.conf=20 > # Enable sound-support > snddetect_enable=3D"YES" > mixer_enable=3D"YES" > =20 > /boot/loader.conf > snd_emu10kx_load=3D"YES" > sound_load=3D"YES" > snd_uaudio_load=3D"YES" >=20 > I tried to load all drivers. but same issue. > its PCBSD system 8.1 >=20 > Please note sound was working with FreeBSD and PCBSD 7 with no > problems. uname -a > FreeBSD pcbsd-2738 8.1-RELEASE FreeBSD 8.1-RELEASE #1: >=20 > Any ideas? >=20 > Thanks > -Marwan install /usr/ports/audio/oss and put oss_enable=3D"YES" in your rc.conf, this worked for my soundblaster Audigy SE=20 regards, =A8reinhard --=20 Bombeck's Rule of Medicine: Never go to a doctor whose office plants have died. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 11:52:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0EF106564A for ; Mon, 9 Aug 2010 11:52:34 +0000 (UTC) (envelope-from dean_hudek@brown.edu) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B1C588FC08 for ; Mon, 9 Aug 2010 11:52:34 +0000 (UTC) Received: by iwn10 with SMTP id 10so4725888iwn.13 for ; Mon, 09 Aug 2010 04:52:34 -0700 (PDT) Received: by 10.231.39.69 with SMTP id f5mr18758237ibe.53.1281352871680; Mon, 09 Aug 2010 04:21:11 -0700 (PDT) Date: Mon, 9 Aug 2010 04:21:10 -0700 From: "Hudek, Dean" To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Precedence: bulk X-Autoreply: yes Subject: Out of Office Re: {Virus?} error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 11:52:34 -0000 I will be out of the office until Aug 16. -- Regards, Dean Hudek Laboratory Physicist Director of Instructional Laboratories Department of Physics Brown University Dean_Hudek@Brown.edu (401) 863-2062 Office (401) 225-6849 Cell From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 12:41:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A13971065672 for ; Mon, 9 Aug 2010 12:41:29 +0000 (UTC) (envelope-from eugenijusu@inbox.lv) Received: from mail.balticom.lv (mail.balticom.lv [82.193.64.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC928FC16 for ; Mon, 9 Aug 2010 12:41:28 +0000 (UTC) Received: from [192.168.77.1] (balticom-16-217.balticom.lv [77.93.16.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.balticom.lv (Postfix) with ESMTP id DD85D85489 for ; Mon, 9 Aug 2010 15:17:16 +0300 (EEST) Message-ID: <4C5FF2DF.6090102@inbox.lv> Date: Mon, 09 Aug 2010 15:21:51 +0300 From: Eugenijus Urbonas User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ipf filter: froblem with "keep state" or "flags S" parameter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 12:41:29 -0000 Hello! Some time ago I already had business with ipf and everything was ok (I used manual to create rules), server worked perfetcly. Now I'am trying to setup the same server, but with newer version of FreeBSD (8.1-RELEASE), the same manuals, the same settings, everything works except firewall, and there is something strange: for example, I have rules in my /etc/ipf.rules: Code: pass out quick on fxp0 all pass in log quick on fxp0 proto tcp from any to any port = 80 block in log first quick on fxp0 all in this case ipmon shows: Code: ... fxp0 *@0:1 p *xx.xx.xx.xx -> xx.xx.xx.xx,80 PR tcp len ... that is OK now I change second rule to: Code: pass in log quick on fxp0 proto tcp from any to any port = 80 flags S keep state # because I want to use statefull firewall ofcourse in this case ipmon shows: Code: ... fxp0 *@0:2 b* xx.xx.xx.xx -> xx.xx.xx.xx,80 PR tcp len ... and that is NOT OK I don't understand why, but now my connection does not match my rule... why? can someone explain in to me? May it be that there is some kind of bug and i have to patch my system? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 12:53:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0EB106566C for ; Mon, 9 Aug 2010 12:53:11 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 277268FC17 for ; Mon, 9 Aug 2010 12:53:10 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OiRqn-0002HE-Pa; Mon, 09 Aug 2010 13:53:09 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OiRqn-0002f5-IG; Mon, 09 Aug 2010 13:53:09 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o79Cr9WM082848; Mon, 9 Aug 2010 13:53:09 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o79Cr9mY082847; Mon, 9 Aug 2010 13:53:09 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 9 Aug 2010 13:53:09 +0100 From: Anton Shterenlikht To: Eugenijus Urbonas Message-ID: <20100809125309.GA82821@mech-cluster241.men.bris.ac.uk> References: <4C5FF2DF.6090102@inbox.lv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C5FF2DF.6090102@inbox.lv> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: ipf filter: froblem with "keep state" or "flags S" parameter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 12:53:11 -0000 On Mon, Aug 09, 2010 at 03:21:51PM +0300, Eugenijus Urbonas wrote: > Hello! > Some time ago I already had business with ipf and everything was ok (I > used manual to create rules), server worked perfetcly. > Now I'am trying to setup the same server, but with newer version of > FreeBSD (8.1-RELEASE), the same manuals, the same settings, everything > works except firewall, and there is something strange: > for example, I have rules in my /etc/ipf.rules: > > Code: > > pass out quick on fxp0 all > pass in log quick on fxp0 proto tcp from any to any port = 80 > block in log first quick on fxp0 all > > in this case ipmon shows: > Code: > > ... fxp0 *@0:1 p *xx.xx.xx.xx -> xx.xx.xx.xx,80 PR tcp len ... > > that is OK > > now I change second rule to: > Code: > > pass in log quick on fxp0 proto tcp from any to any port = 80 flags S keep state > > # because I want to use statefull firewall ofcourse > > in this case ipmon shows: > Code: > > ... fxp0 *@0:2 b* xx.xx.xx.xx -> xx.xx.xx.xx,80 PR tcp len ... > > and that is NOT OK > > I don't understand why, but now my connection does not match my rule... > why? can someone explain in to me? what is the output of `ipfstat -in`? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 13:12:46 2010 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 B50EB1065673 for ; Mon, 9 Aug 2010 13:12:46 +0000 (UTC) (envelope-from prvs=830da0345=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 464A88FC0A for ; Mon, 9 Aug 2010 13:12:45 +0000 (UTC) Received: from exchh1.oekb.co.at ([143.245.3.20]) by mgaterz1.oekb.co.at with ESMTP; 09 Aug 2010 14:43:15 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by exchh1.oekb.co.at (143.245.3.60) with Microsoft SMTP Server id 8.2.234.1; Mon, 9 Aug 2010 14:43:15 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.4/8.14.4) with ESMTP id o79ChFiM023673 for ; Mon, 9 Aug 2010 14:43:15 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.4/8.14.4/Submit) id o79ChEQk023672 for questions@freebsd.org; Mon, 9 Aug 2010 14:43:15 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Mon, 9 Aug 2010 14:43:14 +0200 From: Ewald Jenisch To: questions@freebsd.org Message-ID: <20100809124314.GA23640@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: /usr/src/sys/dev/bce/if_bce.c - MSI allocation 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: Mon, 09 Aug 2010 13:12:46 -0000 Hi, In one of my machines I've got a HP GE-Card ("HP NC370T Multifunction Gigabit Server Adapter") that FreeBSD identifies as "bce". /var/log/messages shows the following errors: Jul 27 12:29:29 sniff-rz2 kernel: bce0: mem 0xf6000000-0xf7ffffff irq 34 at device 7.0 on pci5 Jul 27 12:29:29 sniff-rz2 kernel: bce0: /usr/src/sys/dev/bce/if_bce.c(789): MSI allocation failed! error = 6 Jul 27 12:29:29 sniff-rz2 kernel: miibus2: on bce0 Jul 27 12:29:29 sniff-rz2 kernel: brgphy2: PHY 1 on miibus2 Jul 27 12:29:29 sniff-rz2 kernel: brgphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto Jul 27 12:29:29 sniff-rz2 kernel: bce0: Ethernet address: 00:13:21:c5:f8:7a Jul 27 12:29:29 sniff-rz2 kernel: bce0: [ITHREAD] Jul 27 12:29:29 sniff-rz2 kernel: bce0: ASIC (0x57060020); Rev (A2); Bus (PCI-X, 64-bit, 100MHz); B/C (1.9.6); Flags () What caught my attention is the "MSI allocation failed" error above. Since I intend to use that card as an interface that wireshark listens on I'd better make sure it works so I don't get packet loss or other funny things. Has anybody else seen the above message? Anything that can be done against it - or can it be "safely ignored"? Thanks in advance for any clue, -ewald PS: System in question is running FreeBSD 8.1 AMD 64 on a HP serverqq - system and kernel as per today. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 15:25:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3A90106566C for ; Mon, 9 Aug 2010 15:25:12 +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 9A4DE8FC16 for ; Mon, 9 Aug 2010 15:25:12 +0000 (UTC) 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 o79FP9SV028521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Aug 2010 10:25: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.4/8.14.4) with ESMTP id o79FP8Tc076823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Aug 2010 10:25:09 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o79FP8Tv076822; Mon, 9 Aug 2010 10:25:08 -0500 (CDT) (envelope-from dan) Date: Mon, 9 Aug 2010 10:25:08 -0500 From: Dan Nelson To: Andri Piik Message-ID: <20100809152508.GG58235@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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]); Mon, 09 Aug 2010 10:25:09 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: nscd perform-actual-lookups not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 15:25:12 -0000 In the last episode (Aug 07), Andri Piik said: > Has anyone tried to use nss_ldap and nscd with perform-actual-lookups in > nscd.conf? My problem is that when I try to getent passwd or getent group > it seems like ldap query is not made and getent does not return ldap > users. Without nscd cache in nsswitch.conf or disabling > perform-actual-lookups everything works fine. I don't think it's ever worked for me, either. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 15:38:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33468106566C; Mon, 9 Aug 2010 15:38:15 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id A2BF88FC28; Mon, 9 Aug 2010 15:38:14 +0000 (UTC) Received: by qwg5 with SMTP id 5so6356877qwg.13 for ; Mon, 09 Aug 2010 08:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=KIfqjEORWKTOikhhyAIhK8cmUrgOoKEOvMfTj3iv3zU=; b=cMAkr0aRPz0N1iZsb83R0eKj8daNORVrEu/uhDi63vhNHykgttK5LsdxURRo8GRvVA Wtz3OSTvC+LqM6HJtLwHChwhWzRObhraFj3rtr4jfZUYjohGq7CEynF6pU8D6oSziy9j 5C7aaYd7lcdeutjmbPCWAYgQ6BQIPaeWgFifM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vYEUfO+RP8d2fMQAPFq6kmpZyOyudyvnNj9LXrg84lkjnNfyqa0VgkmVCTC7tOITh6 mzrhAH+2FkFvSmRGv+bmi0FgRy8OUmSR6+TidURZUhpYvVOs3REtr3pkftDcShWiGZcZ Zundy45Mk9+fyE8QSf/ezospwJEAjl0OxjviY= Received: by 10.224.36.209 with SMTP id u17mr7260838qad.399.1281368292608; Mon, 09 Aug 2010 08:38:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.75 with HTTP; Mon, 9 Aug 2010 08:37:39 -0700 (PDT) From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 9 Aug 2010 17:37:39 +0200 Message-ID: To: freebsd-questions@freebsd.org, freebsd-emulation , Christophe De Traversay Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: VirtualBox: out of swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 15:38:15 -0000 Hi, I'm trying to have a few BSD VMs (4.7, 5.5, 6.2, 7.2, 8.1) running under VirtualBox-OSE / FreeBSD-8.1-RELEASE-amd64 First problem: Sometimes, when I start a VM, all other running VM stop, their status switch to 'abort' (or whatever the traduction is, here it's "avort=E9"). Reading my /var/log/messages, I see a few 'pid xxxx (VirtualBox), uid 0, was killed: out of swap space' I've got 8Gb of RAM, and so assumed I wouldn't need any swap. Was I wrong? Have I to reinstall my server to add some swap? (and if so, how much?!) btw, my PC (home) have the same HWare (core i7 930, 8Gb DDR3) I can run two 8.1-RELEASE (amd64 + i386), and two debian while host is running compiz and all that gay stuff... (ArchLinux x86_64) except VirtualBox, the server I'm having problems with, is hosting some nfs shares and running ion2 (since VBoxVNC segfaults... I need a WM). And that's it. Second problem: When I'm creating a disk (in VirtualBox), and while there's some scp or so running on other guests, these guests display some gvfs errors, about not finding ad0. Sometimes, they just halt, and wait I pressed a key to reboot. Third problem: I already posted that on emulation this morning: I can't boot FreeBSD-8.1-amd64. It's stuck in 'md0: preloaded image x bytes 0xsomewhere' nothing else happend... I could have finished already if I just had installed a Linux host in the first place... I read so much posts recently, from FreeBSD/VBox users, saying everything's working just fine. I assumed it would be OK. Obviously not... Is there some hope sticking with BSD? (if I can get rid of the swap and the 8.1 problems, it would be fine enough) I'm seriously thinking on dropping that BSD idea, and choosing some random linux to make it work... (and maybe, try xen...) What should I do? Thanks for any advices. Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 16:11:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A45D106568C for ; Mon, 9 Aug 2010 16:11:12 +0000 (UTC) (envelope-from rnejdl@ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1381B8FC1C for ; Mon, 9 Aug 2010 16:11:11 +0000 (UTC) Received: from ASSP.nospam (tethys [71.252.219.43]) (authenticated bits=0) by tethys.ringofsaturn.com (8.14.4/8.14.4) with ESMTP id o79GB9sN046516; Mon, 9 Aug 2010 11:11:09 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com ([71.252.219.43] helo=mail.ringofsaturn.com) with IPv4:25 by ASSP.nospam; 9 Aug 2010 11:11:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 09 Aug 2010 11:11:08 -0500 From: Rusty Nejdl To: =?UTF-8?Q?Samuel_Mart=C3=ADn_Moro?= In-Reply-To: References: Message-ID: <237b18697e32227607a81e5a0ef9653b@ringofsaturn.com> X-Sender: rnejdl@ringofsaturn.com User-Agent: RoundCube Webmail/0.4-trunk X-Assp-Version: 1.7.5.7(1.0.03) on ASSP.nospam X-Assp-Intended-For-IP: 71.252.219.43 X-Assp-Passing: authenticated X-Assp-ID: ASSP.nospam 70269-06254 X-Assp-Envelope-From: rnejdl@ringofsaturn.com Cc: freebsd-emulation , freebsd-questions@freebsd.org, Christophe De Traversay Subject: Re: VirtualBox: out of swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 16:11:12 -0000 On Mon, 9 Aug 2010 17:37:39 +0200, Samuel Martín Moro wrote: > Hi, > > > I'm trying to have a few BSD VMs (4.7, 5.5, 6.2, 7.2, 8.1) > running under VirtualBox-OSE / FreeBSD-8.1-RELEASE-amd64 > > > First problem: > Sometimes, when I start a VM, all other running VM stop, > their status switch to 'abort' (or whatever the > traduction is, here it's "avorté"). > Reading my /var/log/messages, I see a few > 'pid xxxx (VirtualBox), uid 0, was killed: out of swap space' > > I've got 8Gb of RAM, and so assumed I wouldn't need any swap. > Was I wrong? > Have I to reinstall my server to add some swap? > (and if so, how much?!) Samuel, It is generally a bad idea not to have a swap partition. I have 12GB of memory and I even hit swap, though very little. [tethys]:/home/rnejdl> swapinfo -h Device 1K-blocks Used Avail Capacity /dev/ada0s1b 4194304 4.5M 4.0G 0% I have 4GB on mine and that is plenty. I don't have answers for the below though. Sincerely, Rusty Nejdl > > > btw, my PC (home) have the same HWare (core i7 930, 8Gb DDR3) > I can run two 8.1-RELEASE (amd64 + i386), and two debian > while host is running compiz and all that gay stuff... > (ArchLinux x86_64) > > except VirtualBox, the server I'm having problems with, is > hosting some nfs shares and running ion2 (since VBoxVNC > segfaults... I need a WM). And that's it. > > > Second problem: > When I'm creating a disk (in VirtualBox), and while there's > some scp or so running on other guests, these guests display > some gvfs errors, about not finding ad0. > Sometimes, they just halt, and wait I pressed a key to reboot. > > > Third problem: > I already posted that on emulation this morning: > I can't boot FreeBSD-8.1-amd64. It's stuck in > 'md0: preloaded image x bytes 0xsomewhere' > nothing else happend... > > > I could have finished already if I just had installed a Linux > host in the first place... > I read so much posts recently, from FreeBSD/VBox users, saying > everything's working just fine. > I assumed it would be OK. > Obviously not... > > Is there some hope sticking with BSD? > (if I can get rid of the swap and the 8.1 problems, it would > be fine enough) > > > I'm seriously thinking on dropping that BSD idea, and choosing > some random linux to make it work... (and maybe, try xen...) > > > What should I do? > > Thanks for any advices. > > > Samuel Martín Moro > {EPITECH.} tek4 > CamTrace S.A.S > (+033) 1 41 38 37 60 > 1 Allée de la Venelle > 92150 Suresnes > FRANCE > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:00:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 1F0AE106566B; Mon, 9 Aug 2010 18:00:22 +0000 (UTC) Date: Mon, 9 Aug 2010 18:00:22 +0000 From: Alexander Best To: freebsd-questions@freebsd.org Message-ID: <20100809180022.GA33596@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:00:22 -0000 hi there, chflags(1) mentions that a few utilities including pax(1) aren't chflags aware yet. is there a list of all those utilties available somewhere? also: i don't quite understand why this is in the BUGS section of chflags(1) and not in the pax(1) manual itself [1]. this doesn't seem very logical, since the bug doesn't exist in chflags, but in pax not supporting chflags. so if someone decides to use pax and wants to know if there are any problem with it, there's no way for the average user to stumble upon the fact that chflags isn't supported in pax. in fact the pax(1) manual states that `pax -p e` will "preserve everything". this is plain wrong! cheers. alex [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/135516 -- a13x From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:21:22 2010 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 BD888106566C for ; Mon, 9 Aug 2010 18:21:22 +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 576118FC15 for ; Mon, 9 Aug 2010 18:21:21 +0000 (UTC) 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 o79IK8MG094748 for ; Mon, 9 Aug 2010 14:20: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 o79IK8MH094747 for questions@freebsd.org; Mon, 9 Aug 2010 14:20:08 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 9 Aug 2010 14:20:08 -0400 From: Jerry McAllister To: questions@freebsd.org Message-ID: <20100809182008.GA94733@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: Subject: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:21:22 -0000 Hi All, I started an instal of wget from ports - /usr/ports/ftp/wget It comes up with some selections and I mistakenly selected GNUTLS. Now I constantly get "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" And the make quits. How do I get rid of that. I have done make clean, make diskclean and deleted as many files as I dared, but it still won't build and install wget. Of course, there is some file I don't know about. Can someone point me to where to find it? Thank you, ////jerry From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:27:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA467106566C for ; Mon, 9 Aug 2010 18:27:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id 713DD8FC0C for ; Mon, 9 Aug 2010 18:27:00 +0000 (UTC) Received: from soth.ventu (151.51.10.143) by cp-out8.libero.it (8.5.107) id 4C4F187301D0FA13 for freebsd-questions@freebsd.org; Mon, 9 Aug 2010 20:26:59 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.3) with ESMTP id o79IQvBW072937 for ; Mon, 9 Aug 2010 20:26:57 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4C604872.7010209@netfence.it> Date: Mon, 09 Aug 2010 20:26:58 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.1.11) Gecko/20100805 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100809182008.GA94733@gizmo.acns.msu.edu> In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:27:01 -0000 Il 08/09/10 20:20, Jerry McAllister ha scritto: > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > And the make quits. > > How do I get rid of that. I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. > > Of course, there is some file I don't know about. > Can someone point me to where to find it? rm /var/db/ports/wget/options or portupgrade -Cf wget or cd /usr/ports/ftp/wget ; make config bye av. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:28:04 2010 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 7DA33106567D for ; Mon, 9 Aug 2010 18:28:04 +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 437B48FC26 for ; Mon, 9 Aug 2010 18:28:03 +0000 (UTC) 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 o79IQpEg094827; Mon, 9 Aug 2010 14:26:51 -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 o79IQp3Q094826; Mon, 9 Aug 2010 14:26:51 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 9 Aug 2010 14:26:51 -0400 From: Jerry McAllister To: Kurt Buff Message-ID: <20100809182651.GA94772@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:28:04 -0000 On Mon, Aug 09, 2010 at 11:23:54AM -0700, Kurt Buff wrote: > On Mon, Aug 9, 2010 at 11:20, Jerry McAllister wrote: > > Hi All, > > > > I started an instal of wget from ports - /usr/ports/ftp/wget > > > > It comes up with some selections and I mistakenly selected GNUTLS. > > > > Now I constantly get > >  "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > > And the make quits. > > > > How do I get rid of that.  I have done make clean, make diskclean > > and deleted as many files as I dared, but it still won't build > > and install wget. > > > > Of course, there is some file I don't know about. > > Can someone point me to where to find it? > > > > Thank you, > > > > ////jerry > > Perhaps 'make config'? > Sure enough, that fixes it. I should have thought of trying that. But where was it keeping it that I couldn't obliterate manually? Thanks, ////jerry From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:28:04 2010 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 92D3F106567E for ; Mon, 9 Aug 2010 18:28:04 +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 547A08FC28 for ; Mon, 9 Aug 2010 18:28:04 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id D0E551E969; Mon, 9 Aug 2010 20:28:02 +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 o79IS1HH002214; Mon, 9 Aug 2010 20:28:02 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Aug 2010 20:28:01 +0200 From: Polytropon To: Jerry McAllister Message-Id: <20100809202801.b8b2eedf.freebsd@edvax.de> In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.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: questions@freebsd.org Subject: Re: Installing wget 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, 09 Aug 2010 18:28:04 -0000 On Mon, 9 Aug 2010 14:20:08 -0400, Jerry McAllister wrote: > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > And the make quits. > > How do I get rid of that. I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. Use the command "make rmconfig" to remove the configuration; to repeat it, use "make config". > Of course, there is some file I don't know about. > Can someone point me to where to find it? It's described in "man 7 ports". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:30:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B6161065672 for ; Mon, 9 Aug 2010 18:30:22 +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 E5BCD8FC08 for ; Mon, 9 Aug 2010 18:30:21 +0000 (UTC) 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 o79IT9SL094866; Mon, 9 Aug 2010 14:29: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 o79IT95U094865; Mon, 9 Aug 2010 14:29:09 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 9 Aug 2010 14:29:08 -0400 From: Jerry McAllister To: Andrea Venturoli Message-ID: <20100809182908.GB94772@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> <4C604872.7010209@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C604872.7010209@netfence.it> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:30:22 -0000 On Mon, Aug 09, 2010 at 08:26:58PM +0200, Andrea Venturoli wrote: > Il 08/09/10 20:20, Jerry McAllister ha scritto: > >Hi All, > > > >I started an instal of wget from ports - /usr/ports/ftp/wget > > > >It comes up with some selections and I mistakenly selected GNUTLS. > > > >Now I constantly get > > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > >And the make quits. > > > >How do I get rid of that. I have done make clean, make diskclean > >and deleted as many files as I dared, but it still won't build > >and install wget. > > > >Of course, there is some file I don't know about. > >Can someone point me to where to find it? > > > rm /var/db/ports/wget/options Wow. I didn't even know that exists. > > or > > portupgrade -Cf wget > > or > > cd /usr/ports/ftp/wget ; make config The make config fixed it up for me. Thanks for the info, ////jerry > > bye > av. > _______________________________________________ > 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 Aug 9 18:34:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EF5B1065672 for ; Mon, 9 Aug 2010 18:34:56 +0000 (UTC) (envelope-from jbiquez@icsmx.com) Received: from krusty.intranet.com.mx (krusty.intranet.com.mx [200.33.246.3]) by mx1.freebsd.org (Postfix) with ESMTP id DD2668FC18 for ; Mon, 9 Aug 2010 18:34:55 +0000 (UTC) Received: from PC.icsmx.com ([189.216.127.251]) by krusty.intranet.com.mx (8.14.4/8.14.4) with ESMTP id o79Ierhp091161; Mon, 9 Aug 2010 13:40:53 -0500 (CDT) (envelope-from jbiquez@icsmx.com) Message-Id: <201008091840.o79Ierhp091161@krusty.intranet.com.mx> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 09 Aug 2010 13:17:54 -0500 To: "Marwan Sultan" From: Jorge Biquez In-Reply-To: References: <201008040700.o74700oI014471@mp.cs.niu.edu> <20100804135951.GC52190@gizmo.acns.msu.edu> <201008041424.o74EORrO006817@krusty.intranet.com.mx> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: FreeBSD Questions Subject: RE: Anti virus, anti spam step guide. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:34:56 -0000 Hello. Thanks a lot for the advice. I have tried with spamassasin but for some reason can not having work correctly with sendmail. I am reading in detail documentation. I know this sounds like something stupid but I am starting my third try starting from zero, for some reason everything install correcly and at the end have a non receiving email installation (have checked port on inetd, under sendmail configuration, nothing). What I do not get is what components do I need. Just spamassasin or spamd only , anyway, learning and having fun with it until I can know how to do it. Otherwise instead of help that organization will be giving more problems besides the ones they have. I will try openwebmail. Thanks a lot. At 01:54 a.m. 08/08/2010, Marwan Sultan wrote: >Hi.. > >For WebMail that has everything you want: >www.opebwebmail.org > >For pop3 : >qpopper > >For Spam: >SpamAssassin > >Default sendmail is good. > > >all the above is available from ports, I would recommend a manual >install for openwebmail instead of ports >so you can follow and know how things work. > >You can install spamassassin from ports, and follow the instructions. > >-Marwan Sultan > > > > Date: Wed, 4 Aug 2010 09:19:19 -0500 > > To: freebsd-questions@freebsd.org > > From: jbiquez@icsmx.com > > Subject: Anti virus, anti spam step guide. > > > > Hello all. > > > > I am looking documentation for implementing, the easiest way anti > > virus and anti spam configuration for non tech users and out of the > > box after installing FreeBSD (actually using 7.3 Release). > > I have been working with it for some years but I am not an expert at > > all. I need to help some non-profit organizations that received some > > 2 year old computers as donation and they will use it for email > > services. They have not tech people, so the idea is that I can help > > them to implement that solution the easiest way so maybe one of the > > teacher there can try to replicate the solution. > > > > UNtil now I always have used Sendmail as it is installed, no filters > > besided the spamcop ones but that was enough for my personal use. > > I know some of you will tell that change to postfix or another MTA > > and that instead using POP3 that I have to use another tool (courier, > > fetchail, imap (any) etc etc). I ca do it for sur and I do not want > > to star a war , again, under what MTA is the best. I just would like > > to have the best and easiest solution for them. Once installed they > > only will be creating new accounts, changing paswords, deleting > > accounts. Nothing else. Ah, another thing if possible is to implement > > a webmail but that will be an extra gem if possible. > > > > Any resources? Any suggestions based in experience? (I have one > > machine of them that I will use for testing the solution). > > > > Thanks in advance > > > > Jorge Biquez > > > > _______________________________________________ > > 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 Mon Aug 9 18:40:02 2010 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 BC95C106567C for ; Mon, 9 Aug 2010 18:40:02 +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 8EDEA8FC0C for ; Mon, 9 Aug 2010 18:40:02 +0000 (UTC) Received: from overdrive.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 448F9F7427; Mon, 9 Aug 2010 14:24:13 -0400 (EDT) Date: Mon, 9 Aug 2010 14:24:12 -0400 From: Bill Moran To: Jerry McAllister Message-Id: <20100809142412.02b3b9d8.wmoran@potentialtech.com> In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> Organization: Bill Moran X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:40:02 -0000 In response to Jerry McAllister : > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > And the make quits. > > How do I get rid of that. make config should allow you to unselect that option, which should allow the build to then succeed. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:47:27 2010 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 AB055106564A for ; Mon, 9 Aug 2010 18:47:27 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 66A4C8FC0C for ; Mon, 9 Aug 2010 18:47:27 +0000 (UTC) Received: by gxk24 with SMTP id 24so4410595gxk.13 for ; Mon, 09 Aug 2010 11:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mXJyzRPOw5PMBySyxPzYtqTlNZ6rNTbriMNBvACddC8=; b=sgh/9Bc2A92vPftUnXF5fWzQuN8JDqeG/UNaTaeQq8Dy4p22JYWjlIJkeJswUWfY8D SXdEUSj9GzZVenScU7oxny81DAfGL8ukhCgDxKA2FOaIm1GfAllPYgAzc/x0QhJfNcqN IiEa+WP0AXMi/rlCwd5bfUkKQ2cLnfsW8xPZY= 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=Aa0zlLrcFQCh7DqrEJgB5VGLB6afv5453y7YJcgXpN98slZVi7aXwqCLrX+t1KKGrs SsIuISCjcL8+J6wU+dJdamUEgZhRZpHTac8MduInj5A2WqYQrHOKisUKePUxZjKHFSu9 zV6bf3j8gdt9LCGpkY3/UwnE+KS/izUif+HcA= MIME-Version: 1.0 Received: by 10.231.184.16 with SMTP id ci16mr19439093ibb.23.1281378234787; Mon, 09 Aug 2010 11:23:54 -0700 (PDT) Received: by 10.231.196.152 with HTTP; Mon, 9 Aug 2010 11:23:54 -0700 (PDT) In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> Date: Mon, 9 Aug 2010 11:23:54 -0700 Message-ID: From: Kurt Buff To: Jerry McAllister Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:47:27 -0000 On Mon, Aug 9, 2010 at 11:20, Jerry McAllister wrote: > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > =C2=A0"GNUTLS and OPENSSL are mutually exclusive, enable at most one of t= hem" > And the make quits. > > How do I get rid of that. =C2=A0I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. > > Of course, there is some file I don't know about. > Can someone point me to where to find it? > > Thank you, > > ////jerry Perhaps 'make config'? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:52:10 2010 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 815621065670 for ; Mon, 9 Aug 2010 18:52:10 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5EC468FC15 for ; Mon, 9 Aug 2010 18:52:10 +0000 (UTC) Received: from CCBH-194.rodperson.com (inetnar10x.ft28.upmc.edu [128.147.28.1]) by www6.pairlite.com (Postfix) with ESMTP id 5AEAAB845; Mon, 9 Aug 2010 14:24:04 -0400 (EDT) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 09 Aug 2010 14:24:03 -0400 To: Jerry McAllister ,questions@freebsd.org From: Rod Person In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20100809182404.5AEAAB845@www6.pairlite.com> Cc: Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:52:10 -0000 At 02:20 PM 08/09/2010, Jerry McAllister wrote: >How do I get rid of that. I have done make clean, make diskclean >and deleted as many files as I dared, but it still won't build >and install wget. > >Of course, there is some file I don't know about. >Can someone point me to where to find it? Did you try make config? Rod ============================================================================== This is email was sent by me for the purposes of not promoting global corporations or mindlessness. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:53:36 2010 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 AF16A1065674 for ; Mon, 9 Aug 2010 18:53:36 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 622818FC13 for ; Mon, 9 Aug 2010 18:53:36 +0000 (UTC) Received: by qwg5 with SMTP id 5so6550924qwg.13 for ; Mon, 09 Aug 2010 11:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PAiwod0KWUSvqMm9NZYyl8ZwSHH0Or9bm79sq+1bLhE=; b=yDem1YbAnu9dIfP/VtTSFF2as3Ipx7Z+LcaSZ8vgYo4k0sBkmgwgId9H3cxUAiDlkA +pUUCbpo5pOxDkgHiR/0gcglcs5C2bhnblIdW8vacAWZdRJOdHPCETEPVUMp8VO3hXs9 8iV7XFHjN8Na5c35zIWoFzGL7SaEm8U22sJpU= 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=ctYWlW44W3NEwFbM/vSrmpMm499t+sdz0qiIwZ0DjzQh6OJKzjo2O5iStJ15Fwxut0 7hicD4hkIe/1sO0Iv+2Nk/9to9AeDq922P/9sB4g42iv4cHomyf5GUeaM3X6YIPqe04O 45VSnN1d+6t+zj2O1THwFkHPz3oJDC+5GBft0= MIME-Version: 1.0 Received: by 10.224.65.91 with SMTP id h27mr8849706qai.13.1281378447754; Mon, 09 Aug 2010 11:27:27 -0700 (PDT) Received: by 10.229.241.14 with HTTP; Mon, 9 Aug 2010 11:27:27 -0700 (PDT) In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> Date: Mon, 9 Aug 2010 13:27:27 -0500 Message-ID: From: "Sam Fourman Jr." To: Jerry McAllister Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:53:36 -0000 On Mon, Aug 9, 2010 at 1:20 PM, Jerry McAllister wrote: > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > =A0"GNUTLS and OPENSSL are mutually exclusive, enable at most one of them= " > And the make quits. > > How do I get rid of that. =A0I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. > cd /usr/ports/ftp/wget/ && make deinstall clean make configure deselect GNUTLS make install clean --=20 Sam Fourman Jr. Fourman Networks http://www.fourmannetworks.com From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:55:27 2010 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 929901065674 for ; Mon, 9 Aug 2010 18:55:27 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 5DACC8FC13 for ; Mon, 9 Aug 2010 18:55:27 +0000 (UTC) Received: (qmail 16348 invoked by uid 0); 9 Aug 2010 18:28:47 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by cpoproxy2.bluehost.com with SMTP; 9 Aug 2010 18:28:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:X-Identified-User; b=FtYIaiSIcOlzjdYV5F1tK5gN5KDL5A8jEiXG7MDG3stTd0uLLd8ToodrQYjRKeXpeCkM9SKX4EJxFcGMJQAsisr22HWUOs5KtYAr+kOEV2Ul1L+BAB96FODMmILBA72s; Received: from host83.190-30-196.telecom.net.ar ([190.30.196.83] helo=rjgonzale-laptop) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1OiX5X-0002oI-W5; Mon, 09 Aug 2010 12:28:47 -0600 Date: Mon, 9 Aug 2010 15:28:37 -0300 From: Rodrigo Gonzalez To: Jerry McAllister Message-ID: <20100809152837.262a8fad@rjgonzale-laptop> In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> References: <20100809182008.GA94733@gizmo.acns.msu.edu> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/G1tLHdNa8pJTRc_tBF=2n.A"; protocol="application/pgp-signature" X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.30.196.83 authed with rjgonzale@estrads.com.ar} Cc: questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 18:55:27 -0000 --Sig_/G1tLHdNa8pJTRc_tBF=2n.A Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Run make config again and select the correct options On Mon, 9 Aug 2010 14:20:08 -0400 Jerry McAllister wrote: > Hi All, >=20 > I started an instal of wget from ports - /usr/ports/ftp/wget >=20 > It comes up with some selections and I mistakenly selected GNUTLS. >=20 > Now I constantly get=20 > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of > them" And the make quits. >=20 > How do I get rid of that. I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. =20 >=20 > Of course, there is some file I don't know about. =20 > Can someone point me to where to find it? >=20 > Thank you, >=20 > ////jerry =20 > =20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --Sig_/G1tLHdNa8pJTRc_tBF=2n.A Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxgSNUACgkQZHmnrc0PV89DKACeIdQv/kctXy9TLqXZ2RuVdwWU Nn0AoIPHFceTfiDe3pLb1KMvsUUHclDE =geTe -----END PGP SIGNATURE----- --Sig_/G1tLHdNa8pJTRc_tBF=2n.A-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:56:06 2010 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 1885B1065674 for ; Mon, 9 Aug 2010 18:56:06 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id CE25E8FC2B for ; Mon, 9 Aug 2010 18:56:05 +0000 (UTC) Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate03.web.de (Postfix) with ESMTP id C656215D5179F; Mon, 9 Aug 2010 20:32:50 +0200 (CEST) Received: from [77.176.202.115] (helo=grissom.einundvierzig.org) by smtp04.web.de with asmtp (WEB.DE 4.110 #24) id 1OiX9W-00086B-00; Mon, 09 Aug 2010 20:32:50 +0200 Message-ID: <4C604A01.7000004@web.de> Date: Mon, 09 Aug 2010 20:33:37 +0200 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: Jerry McAllister References: <20100809182008.GA94733@gizmo.acns.msu.edu> In-Reply-To: <20100809182008.GA94733@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX1+jsXKQAJTXMDlrj15vKTMq7iXU8lcEMsrIMxo+ 8PIRuWpIC1yGXTjgGn251dzWFKbYgCCrwNcw77XqMy8PSfLQSi JU6LScptfoML5Yik/PMw== Cc: questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2010 18:56:06 -0000 Jerry McAllister schrieb: > Hi All, > > I started an instal of wget from ports - /usr/ports/ftp/wget > > It comes up with some selections and I mistakenly selected GNUTLS. > > Now I constantly get > "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" > And the make quits. > > How do I get rid of that. I have done make clean, make diskclean > and deleted as many files as I dared, but it still won't build > and install wget. > > Of course, there is some file I don't know about. > Can someone point me to where to find it? > > Thank you, > > ////jerry > > _______________________________________________ > 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" > Hi, Jerry! Try a "make rmconfig-recursive" in /usr/ports/ftp/wget and then a "make config-recursive" and select then what you want. Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 20:19:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3965106566B for ; Mon, 9 Aug 2010 20:19:27 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 749CC8FC08 for ; Mon, 9 Aug 2010 20:19:26 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 05597F; Mon, 9 Aug 2010 22:21:09 +0200 Message-ID: <4C6062D3.1090800@nagual.nl> Date: Mon, 09 Aug 2010 22:19:31 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 20:19:28 -0000 I've installed FreeBSD-amd64. It runs very well. The packages I fetch are amd64 too, but what about the ports I compile myself? Are those amd64 too? From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 20:35:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 038A31065674 for ; Mon, 9 Aug 2010 20:35:15 +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 BB1288FC1B for ; Mon, 9 Aug 2010 20:35:14 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 6DC691E834; Mon, 9 Aug 2010 22:35:12 +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 o79KZCKI002842; Mon, 9 Aug 2010 22:35:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 9 Aug 2010 22:35:12 +0200 From: Polytropon To: Dick Hoogendijk Message-Id: <20100809223512.b94b1bea.freebsd@edvax.de> In-Reply-To: <4C6062D3.1090800@nagual.nl> References: <4C6062D3.1090800@nagual.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: amd64 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, 09 Aug 2010 20:35:15 -0000 On Mon, 09 Aug 2010 22:19:31 +0200, Dick Hoogendijk wrote: > I've installed FreeBSD-amd64. It runs very well. The packages I fetch > are amd64 too, but what about the ports I compile myself? Are those > amd64 too? Yes, as your compiler infrastructure and target platform is amd64, and so is the resulting binary code. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 20:40:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63211106564A for ; Mon, 9 Aug 2010 20:40:46 +0000 (UTC) (envelope-from eliaschr@cha.forthnet.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.105]) by mx1.freebsd.org (Postfix) with ESMTP id D46BB8FC0C for ; Mon, 9 Aug 2010 20:40:45 +0000 (UTC) Received: from mx-av-04.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-05.forthnet.gr (8.14.3/8.14.3) with ESMTP id o79Kehlh005301 for ; Mon, 9 Aug 2010 23:40:43 +0300 Received: from MX-IN-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id o79Kehae006388 for ; Mon, 9 Aug 2010 23:40:43 +0300 Received: from pluto.universe (62.1.182.160.dsl.dyn.forthnet.gr [62.1.182.160]) by MX-IN-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id o79Kea8S020272 for ; Mon, 9 Aug 2010 23:40:37 +0300 Authentication-Results: MX-IN-04.forthnet.gr smtp.mail=eliaschr@cha.forthnet.gr; spf=neutral Authentication-Results: MX-IN-04.forthnet.gr header.from=eliaschr@cha.forthnet.gr; sender-id=neutral From: Elias Chrysocheris To: freebsd-questions@freebsd.org Date: Mon, 9 Aug 2010 23:40:34 +0300 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; amd64; ; ) References: <4C6062D3.1090800@nagual.nl> In-Reply-To: <4C6062D3.1090800@nagual.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008092340.35227.eliaschr@cha.forthnet.gr> Subject: Re: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 20:40:46 -0000 On Monday 09 of August 2010 23:19:31 Dick Hoogendijk wrote: > I've installed FreeBSD-amd64. It runs very well. The packages I fetch > are amd64 too, but what about the ports I compile myself? Are those > amd64 too? Of cource! When you "make" them they are compiled using the amd64 libraries and instruction set Best regards Elias From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 21:14:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B62871065674 for ; Mon, 9 Aug 2010 21:14:41 +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 6F8678FC12 for ; Mon, 9 Aug 2010 21:14:41 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 09 Aug 2010 17:14:40 -0400 Received: from mx04.lnh.mail.rcn.net (mx04.lnh.mail.rcn.net [207.172.157.54]) by mr08.lnh.mail.rcn.net (MOS 3.10.8-GA) with ESMTP id LVJ90165; Mon, 9 Aug 2010 17:14:40 -0400 (EDT) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp04.lnh.mail.rcn.net with ESMTP; 09 Aug 2010 17:14:40 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19552.28607.763187.953932@jerusalem.litteratus.org> Date: Mon, 9 Aug 2010 17:14:39 -0400 To: Polytropon In-Reply-To: <20100809223512.b94b1bea.freebsd@edvax.de> References: <4C6062D3.1090800@nagual.nl> <20100809223512.b94b1bea.freebsd@edvax.de> 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: Dick Hoogendijk , FreeBSD Questions Subject: Re: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 21:14:41 -0000 Polytropon writes: > > I've installed FreeBSD-amd64. It runs very well. The packages I fetch > > are amd64 too, but what about the ports I compile myself? Are those > > amd64 too? > > Yes, as your compiler infrastructure and target platform > is amd64, and so is the resulting binary code. More importantly, if it isn't amd64 compatible - some ports aren't - it should tell you. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 22:40:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 029F71065670 for ; Mon, 9 Aug 2010 22:40:06 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C33998FC0C for ; Mon, 9 Aug 2010 22:40:05 +0000 (UTC) Received: by iwn10 with SMTP id 10so4895603iwn.13 for ; Mon, 09 Aug 2010 15:40:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=BcnGT7ZhulIiTs7Gsyt7M5pG6J5SUwr+S/kGZ3gKRsY=; b=ovyxB6TeTKMDgMYEYVSzIbWOPaQ0SUBsaxCHfYmv5/NNngoywRgYL2n4MBRXueKdSo OWSK4LlMdj9NRN40NLZhVwbzHtvbnXHuJuP6bUHSBjnBXdhJGVCYLsEfh9t1Xf79BoC9 unDFaRi+1CphSDGG/Z1dX7tEkZJQH+3lZZzsw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ePqFFGE4e6eClszZ94nTIvVmRQXgCjPg1PpzOJc06XQQKn+SacFxwQhtbllXqW8IKQ Q3iJedUF2MpG0QG0vqW8cVQ2QY9HoFAlIDAq9gSsfA7Q/LvKnQG624uw0ghEebzy0uPU nHy2Sd5PBTvifkERl9P7fxwCYCjSdC2216MtU= MIME-Version: 1.0 Received: by 10.231.185.142 with SMTP id co14mr19204944ibb.97.1281393604452; Mon, 09 Aug 2010 15:40:04 -0700 (PDT) Received: by 10.231.145.21 with HTTP; Mon, 9 Aug 2010 15:40:04 -0700 (PDT) Date: Mon, 9 Aug 2010 15:40:04 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ZFS practical application? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 22:40:06 -0000 Hi folks, I've been reading about the ZFS file system, and I'm having a hard time understanding maybe the most practical business application(s)? I think I understand a little bit about it (from a conceptual perspective) that it's a self-healing 128 bit filesystem, better data integrity checking, etc. I have a small business (< 50 end users) and I'm wondering perhaps some examples that you might think would be most applicable for a FreeBSD server(s) and the ZFS filesystem? One of the things that seems like might be a detriment as well as an asset, is it's ability to expand as necessary, but then I'm wondering what prevents the filesystem from just "running away"? Are there any sites out there with perhaps a more laymen's explanation of ZFS? Comments? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 22:43:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291061065674 for ; Mon, 9 Aug 2010 22:43:00 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D96C58FC1D for ; Mon, 9 Aug 2010 22:42:59 +0000 (UTC) Received: by iwn10 with SMTP id 10so4898635iwn.13 for ; Mon, 09 Aug 2010 15:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=S/AcBst/qD9htSfbv8HGYLND0c79kPgfF/JVuBJVST4=; b=pmNCZyL5Jok5zJxNCSu9QrO4yB+sAjBp2V0Ovs2oOkp6oP1uaOOWoQE19KpAnpLQS9 hK2BVJrSztXBZCMQ2VH3m1TgzoSbD/aesL/PNvvBJKLJ83gjprNHUUKpjZaMcgZBuHIy i5XpGoAKI72oI2bNqm0qLZ7h4ZWzDZaeiXdFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LSARH7rUxy4fJ3Fi51S71Vp1wq1mlIOvg3/WrSoHlpMAVcZR6dxydmJNZi5vUCUGrN YW1ntjUl0Erb6TaIeW6hbybwOVMgfSvUUc/ph5lMXzE1QE7VUxOjeXfT02Uua5ppiQyu D8D1NGwX30Lqow19Iv9oQckR518CJCFFT9Cs8= MIME-Version: 1.0 Received: by 10.231.31.71 with SMTP id x7mr11551827ibc.33.1281393779476; Mon, 09 Aug 2010 15:42:59 -0700 (PDT) Received: by 10.231.145.21 with HTTP; Mon, 9 Aug 2010 15:42:59 -0700 (PDT) Date: Mon, 9 Aug 2010 15:42:59 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD equivalent of Microsoft DFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 22:43:00 -0000 Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that will replicate delta level file changes of network shares among multiple servers in real time? Would that be rsync with just a frequently scheduled cron task? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 23:00:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B598D1065678 for ; Mon, 9 Aug 2010 23:00:01 +0000 (UTC) (envelope-from tim@techvalley.ca) Received: from mail.serversforless.ca (mail.serversforless.ca [66.199.130.120]) by mx1.freebsd.org (Postfix) with SMTP id 726848FC16 for ; Mon, 9 Aug 2010 23:00:01 +0000 (UTC) Received: (qmail 84118 invoked by uid 399); 9 Aug 2010 15:45:31 -0700 Received: from unknown (HELO agamemnon.techvalley.ca) (70.70.240.193) by mail.serversforless.ca with ESMTP; 9 Aug 2010 15:45:31 -0700 X-Originating-IP: 70.70.240.193 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 09 Aug 2010 15:45:26 -0700 To: freebsd-questions@freebsd.org From: Tim Baird Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20100809230001.B598D1065678@hub.freebsd.org> Subject: ISTGT warnings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 23:00:01 -0000 What is the significance of this log warning? istgt_iscsi.c:4039:istgt_iscsi_transfer_out: ***WARNING*** pending_pdus > 0 I receive this warning very regularly. Source code was not commented unfortunately... There is no obvious association observed between the warning and iscsi load levels. Context: Using the Dell system below as a VM host. the Storage Array is acting as the iscsi target Hardware: Storage array: Adaptec 52445 SAS/SCSI card (512 MB cache) 16 Seagate ST31500341AS sata drives Asus P5BV mobo (LSI SAS/SATA turned off - using adaptec controller for iscsi targets via istgt) CPU: Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz (2133.34-MHz K8-class CPU) 4 GB RAM Intel quad core cpu Intel Pro 1000 NIC - dual port configured with lagg loadbalancing VM host system: Dell Poweredge R300 Single Quad Core Intel(R) Xeon(R) CPU X3363 @ 2.83GHz 24 GB RAM Intel 82576 quad load balanced (in pairs) NIC regards tb From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 23:42:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F0E106567A for ; Mon, 9 Aug 2010 23:42:58 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 914E18FC17 for ; Mon, 9 Aug 2010 23:42:56 +0000 (UTC) Received: by pvg4 with SMTP id 4so1071844pvg.13 for ; Mon, 09 Aug 2010 16:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=nG+TbQXqogVVWXynSvv7JbDHTIh43f+1+O/dCy9Havg=; b=ZD9CnHL1hJgXUNsFjkCl48uWeWaL8nCBSwEpf5qMH/D98DPo/ZkX7R03PsA5sq4N9U XwHYuhi11PDdObrgq11KTAl4mYUbGS74VvmbdIYyFCj1fWFWMOHYkCPncdIdw7RmrkxF S6vvXEQqxirZv/mf9SjhegrfVTpDqbKc129Ok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=MGjpzkW1FoxPz2S4Z2HidCDOiMA0NZv+DgaGOdxM5gzs7ql3qBSJWg0Yw95Sn6tRh/ 27RB9Jfl3iIrQBncepfFglqy3n91ZlGkOVbXA2RpNsUqLcXRwmBz0VXCVrsPQVBp609A t7F4fT4m4J+q79ZM2UaqMVNAMXtlc41bBXkUY= Received: by 10.142.48.18 with SMTP id v18mr14286627wfv.102.1281397375975; Mon, 09 Aug 2010 16:42:55 -0700 (PDT) Received: from chateau.d.if ([122.161.169.173]) by mx.google.com with ESMTPS id q6sm11413286waj.10.2010.08.09.16.42.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 16:42:55 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 04BD12D8027; Tue, 10 Aug 2010 05:12:47 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: Ed Flecko Organization: The FreeBSD Project References: X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 05:08:17 up 7:43, 1 user, load average: 0.00, 0.01, 0.00 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Tue, 10 Aug 2010 05:12:44 +0530 In-Reply-To: (Ed Flecko's message of "Mon, 9 Aug 2010 15:42:59 -0700") Message-ID: <86aaovfj4b.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD equivalent of Microsoft DFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Aug 2010 23:42:58 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ed Flecko writes: > Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that > will replicate delta level file changes of network shares among > multiple servers in real time? A distributed filesystem like Coda[1] or Andrew FS[2][3] would be better. N= ot sure about there FreeBSD support. References: [1] http://www.coda.cs.cmu.edu/ [2] http://www.openafs.org/ [3] http://www.stacken.kth.se/project/arla/ HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CThere is nothing new to be discovered in physics now; All that remains is more and more precise measurement.=E2=80=9D (Lord Kelvin, 1900) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMYJJ3AAoJEMdGz6nnT6SwTjIQAL2E/t/FeuJJDI36K2xVsTq1 XMGe9lO31UdiKpxlrlqN2Z9OYWmCUxCuJOE+IXJan6JdcOuVmHcfFxefe50gcH+H 9FBCEWGDiSA+A7UAxPJzUYOni0NqXICj4qELPxrOp2j5QegZGuDyYGl7uTpr9mku +b1kaizYM4a6VLFmxxjIfXczJt5UNNCudeT7b9Rfpv/qou0dd1+zMvg3mGIW/1Qe K+ma7vQ0JU3Ni71lSJIZg7SG498scM6ce/AzJHXBkW/3T5XttD+cc0doKZi+s5x4 BTbBTVrJmS+e50oOOhg2OiLZ7NtvFsjJFQtMDaa7e9vSoIE0FmV0EPFIaKJ5ib5L ijhgoDldmHiNf6udyeC9Y6RHDWKj7DuxHkDjcxdG6/gMoVAM4DQB63wV59vgvaRy 1l6It3v+eWRpcts1h3VQprkWW6VqRIkTyTjaR4TFDGqUMveSdRP5nUwbMUL1Prux zDKAyV3GZELPurOP8OSXMZcFKr3IA7AFz8shRtgRvPgeLMESjXDkKPLuLkLIMOGT dzJnTXBItJgUTAOPKGENA07+6OqWA6Dezb1oOY9egXXRttV7bdwrjRKYnad+YvPc DktNahWoqjg6TalkMMdPpi9SyvVplrkOT4JQpKZJSgh4Mb0nxjCDcv0A8ZrACj6O zyw+1zW+iGoss7bYtV/9 =6EEm -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 00:32:42 2010 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 CDAC8106566B for ; Tue, 10 Aug 2010 00:32:42 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 333438FC1B for ; Tue, 10 Aug 2010 00:32:41 +0000 (UTC) Received: from kw.homeip.net (c80-217-70-227.bredband.comhem.se [80.217.70.227]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id o7A0JKJ0072456; Tue, 10 Aug 2010 02:19:20 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4C609B07.4030501@bah.homeip.net> Date: Tue, 10 Aug 2010 02:19:19 +0200 From: Bernt Hansson User-Agent: slrn/1.0.8 (FreeBSD) MIME-Version: 1.0 To: Jerry McAllister References: <20100809182008.GA94733@gizmo.acns.msu.edu> <20100809182651.GA94772@gizmo.acns.msu.edu> In-Reply-To: <20100809182651.GA94772@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kurt Buff , questions@freebsd.org Subject: Re: Installing wget X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 00:32:42 -0000 Jerry McAllister said the following on 2010-08-09 20:26: > On Mon, Aug 09, 2010 at 11:23:54AM -0700, Kurt Buff wrote: > >> On Mon, Aug 9, 2010 at 11:20, Jerry McAllister wrote: >>> Hi All, >>> >>> I started an instal of wget from ports - /usr/ports/ftp/wget >>> >>> It comes up with some selections and I mistakenly selected GNUTLS. >>> >>> Now I constantly get >>> "GNUTLS and OPENSSL are mutually exclusive, enable at most one of them" >>> And the make quits. >>> >>> How do I get rid of that. I have done make clean, make diskclean >>> and deleted as many files as I dared, but it still won't build >>> and install wget. >>> >>> Of course, there is some file I don't know about. >>> Can someone point me to where to find it? >>> >>> Thank you, >>> >>> ////jerry >> >> Perhaps 'make config'? >> > > Sure enough, that fixes it. > I should have thought of trying that. > > But where was it keeping it that I couldn't obliterate manually? > /var/db/ports/ From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 01:28:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 579A81065670 for ; Tue, 10 Aug 2010 01:28:08 +0000 (UTC) (envelope-from npratt@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E13BA8FC13 for ; Tue, 10 Aug 2010 01:28:07 +0000 (UTC) Received: by wyj26 with SMTP id 26so13326550wyj.13 for ; Mon, 09 Aug 2010 18:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8M1zQxMWMURl6szO9khO1pwYPbDyFdFy3QRjy2E/Ryk=; b=YNTHpeocFrImmm/JmDBi2xVGzaWKkK56a+03V/UUH7cD8XM3riHdtmORqGboO2zyPf IlrA9hyyRy3mqB4uR8BNKbjNfkbMImCd/dPSLbCOjTz6bwYmevtxrAjBH2Ww/MhY1mSM iIm2DQNuhlGBE/xN/eE2sz+Gszh/ScxtSp0lw= 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=bc17m6W+bmGBb2MUQ7dczBGbsNgKDcZ98cFBis3zSRgAiCXyi9kUoPv8q20nyMO1U7 qR1lpNAzpzg2u1tO4/hT8WngIAyL5wPvUJxAACC47VVByPre/Nu/B8DY2gpYNnrlsfAt xJ4qLkFDrCPSoBC2MpGrXskTd+dPN1mKhXLZ0= MIME-Version: 1.0 Received: by 10.216.0.10 with SMTP id 10mr3314239wea.12.1281403686677; Mon, 09 Aug 2010 18:28:06 -0700 (PDT) Received: by 10.216.50.9 with HTTP; Mon, 9 Aug 2010 18:28:06 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Aug 2010 18:28:06 -0700 Message-ID: From: Noah Pratt To: Ed Flecko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS practical application? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 01:28:08 -0000 On Mon, Aug 9, 2010 at 3:40 PM, Ed Flecko wrote: > Hi folks, > I've been reading about the ZFS file system, and I'm having a hard > time understanding maybe the most practical business application(s)? > > I think I understand a little bit about it (from a conceptual > perspective) that it's a self-healing 128 bit filesystem, better data > integrity checking, etc. > > I have a small business (< 50 end users) and I'm wondering perhaps > some examples that you might think would be most applicable for a > FreeBSD server(s) and the ZFS filesystem? > > One of the things that seems like might be a detriment as well as an > asset, is it's ability to expand as necessary, but then I'm wondering > what prevents the filesystem from just "running away"? > > Are there any sites out there with perhaps a more laymen's explanation of ZFS? > > Comments? > > Thank you, > Ed ZFS filesystems can grow automatically within the space allocated to the pool, but you control the pool. You also get fine-grained control via quotas. Sun's docs are a good starting point: http://docs.sun.com/app/docs/doc/819-5461/gbcik Also read the parts about snapshots and zfs send: http://docs.sun.com/app/docs/doc/819-5461/gavvx What are your users running? Here's one of my favorites: http://blogs.sun.com/GregB/entry/using_zfs_to_protect_ntfs -Noah From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 01:58:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B606A1065678 for ; Tue, 10 Aug 2010 01:58:37 +0000 (UTC) (envelope-from depocatcher@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 757FE8FC16 for ; Tue, 10 Aug 2010 01:58:37 +0000 (UTC) Received: by iwn10 with SMTP id 10so5092809iwn.13 for ; Mon, 09 Aug 2010 18:58:37 -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=uLIYwTZd9rxNIa2FxhNxR3eW9QWowMjiqWfnzA38aE8=; b=v9Opms1P7r9sngchdZgdAiHFziYg9ILUdbjRQpdqiM2DLeMmWk5T3KWMW2YrCpxDKq hoqhzonuCbRsZfB30sdxbImQ0RbdNMws3e6YmKdVuORdeK3KKPp1KVLCJ3Lg5XfQmm93 wIjabc1czT+qOJ6GhuwiwhcVUvnNJwbwIH9tw= 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=e74wUhLPYAwLa5rBVC3cFNaLtBRHIgdFsh1h2N5kfLk4gT4gaVf5uyuon8dIUPlfaz 52TvJM1of0T0Gk+ScAFoE6ORK2AjqI1GNonRnHADAHHmDYroXUW359kpmc89/690Kdy5 oxMvdnT2iPiML6sq/S/wd/ctXNdf5G0FZsjHA= Received: by 10.231.167.196 with SMTP id r4mr20071683iby.29.1281405516902; Mon, 09 Aug 2010 18:58:36 -0700 (PDT) Received: from [192.168.17.10] (c-98-240-166-249.hsd1.mn.comcast.net [98.240.166.249]) by mx.google.com with ESMTPS id e8sm5332041ibb.20.2010.08.09.18.58.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 18:58:35 -0700 (PDT) Message-ID: <4C60B259.7020609@gmail.com> Date: Mon, 09 Aug 2010 20:58:49 -0500 From: Depo Catcher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Robert Huff References: <4C6062D3.1090800@nagual.nl> <20100809223512.b94b1bea.freebsd@edvax.de> <19552.28607.763187.953932@jerusalem.litteratus.org> In-Reply-To: <19552.28607.763187.953932@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon , Dick Hoogendijk , FreeBSD Questions Subject: Re: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: depocatcher@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 01:58:37 -0000 On 8/9/2010 4:14 PM, Robert Huff wrote: > Polytropon writes: > > >> > I've installed FreeBSD-amd64. It runs very well. The packages I fetch >> > are amd64 too, but what about the ports I compile myself? Are those >> > amd64 too? >> >> Yes, as your compiler infrastructure and target platform >> is amd64, and so is the resulting binary code. >> How does it know your are on amd64? gcc auto detect of CPU? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 02:24:13 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE6F51065674 for ; Tue, 10 Aug 2010 02:24:13 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 77DEE8FC18 for ; Tue, 10 Aug 2010 02:24:13 +0000 (UTC) Received: by wwb13 with SMTP id 13so784671wwb.31 for ; Mon, 09 Aug 2010 19:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=g1xnzibFD7jNpA2jZNuqlVOIIIdYrTq9dBva6/Xrxhs=; b=CnK5PF2keHBWumkj24/3ZK+FF9DvYf4AxkhP8P3eXzwSbnO+RyX7TGcNQ8JIGLJ+SS pJRwgIctimPQ/KbWud9PcSPRvGEMO05zdyWa4lqtSPpWLpmH49fwZ1/3hArZfU19EmpV VcxD7QOiiFpRvgHa31hufGCsp1u/DuKQD1AgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=gOAQPPIOESJKt11VNmXgovR7Kh2KCqdk+jI3NwwFNsM7Moe+sPl01cgqUE9+yz19Zv mQoX9dSWBPw0e3daQebcDqOdYRl4ZtJhuHmpKf81aL1cMGk0LmjupxPqUHLadmr4ZYwG xgPfdFgYjaVzi/t7eJPu7WEgU3P6vS02kQvN8= MIME-Version: 1.0 Received: by 10.216.47.196 with SMTP id t46mr2234593web.13.1281407052316; Mon, 09 Aug 2010 19:24:12 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Mon, 9 Aug 2010 19:24:12 -0700 (PDT) Date: Tue, 10 Aug 2010 02:24:12 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Depo Catcher Subject: Re: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 02:24:13 -0000 >On 8/9/2010 4:14 PM, Robert Huff wrote: >> Polytropon writes: >> >> >>> > I've installed FreeBSD-amd64. It runs very well. The packages I fetch >>> > are amd64 too, but what about the ports I compile myself? Are those >>> > amd64 too? >>> >>> Yes, as your compiler infrastructure and target platform >>> is amd64, and so is the resulting binary code. >>> > >How does it know your are on amd64? gcc auto detect of CPU? As the other person wrote, the base system compiler suite and other base system utilities are configured and compiled to build and use "amd64" binaries by default. There is only limited support for cross-building: on amd64, for example, there are some provisions for building and using 32-bit, "i386" binaries; and the base system sources have some limited support for cross-building for other architectures, by setting certain variables in the build environment. In general, one cannot just build and use any binaries on a given architecture. b. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:30:57 2010 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 535951065670 for ; Tue, 10 Aug 2010 03:30:57 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC8F8FC14 for ; Tue, 10 Aug 2010 03:30:56 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by gsicomp.on.ca (Postfix) with ESMTP id 75F72FD0927 for ; Tue, 10 Aug 2010 03:13:49 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93748-09 for ; Tue, 10 Aug 2010 03:13:49 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by gsicomp.on.ca (Postfix) with SMTP id EA7A9FCD102 for ; Tue, 10 Aug 2010 03:13:48 +0000 (UTC) Message-ID: From: "Matt Emmerton" To: Date: Mon, 9 Aug 2010 23:13:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: Subject: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 03:30:57 -0000 Hi all, I'm in the middle of dealing with a SSH brute force attack that is relentless. I'm working on getting sshguard+ipfw in place to deal with it, but in the meantime, my box is getting pegged because sshd is accepting some connections which are getting stuck in [accepted] state and eating CPU. I know there's not much I can do about the brute force attacks, but will upgrading openssh avoid these stuck connections? root 39127 35.2 0.1 6724 3036 ?? Rs 11:10PM 0:37.91 sshd: [accepted] (sshd) root 39368 33.6 0.1 6724 3036 ?? Rs 11:10PM 0:22.99 sshd: [accepted] (sshd) root 39138 33.1 0.1 6724 3036 ?? Rs 11:10PM 0:41.94 sshd: [accepted] (sshd) root 39137 32.5 0.1 6724 3036 ?? Rs 11:10PM 0:36.56 sshd: [accepted] (sshd) root 39135 31.0 0.1 6724 3036 ?? Rs 11:10PM 0:35.09 sshd: [accepted] (sshd) root 39366 30.9 0.1 6724 3036 ?? Rs 11:10PM 0:23.01 sshd: [accepted] (sshd) root 39132 30.8 0.1 6724 3036 ?? Rs 11:10PM 0:35.21 sshd: [accepted] (sshd) root 39131 30.7 0.1 6724 3036 ?? Rs 11:10PM 0:38.07 sshd: [accepted] (sshd) root 39134 30.2 0.1 6724 3036 ?? Rs 11:10PM 0:40.96 sshd: [accepted] (sshd) root 39367 29.3 0.1 6724 3036 ?? Rs 11:10PM 0:22.08 sshd: [accepted] (sshd) PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 39597 root 1 103 0 6724K 3036K RUN 3 0:28 35.06% sshd 39599 root 1 103 0 6724K 3036K RUN 0 0:26 34.96% sshd 39596 root 1 103 0 6724K 3036K RUN 0 0:27 34.77% sshd 39579 root 1 103 0 6724K 3036K CPU3 3 0:28 33.69% sshd 39592 root 1 102 0 6724K 3036K RUN 2 0:27 32.18% sshd 39591 root 1 102 0 6724K 3036K CPU2 2 0:27 31.88% sshd -- Matt Emmerton From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:35:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8654C1065674 for ; Tue, 10 Aug 2010 03:35:10 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2838FC14 for ; Tue, 10 Aug 2010 03:35:10 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o7A3Z8fp002207; Mon, 9 Aug 2010 22:35:08 -0500 (CDT) Date: Mon, 9 Aug 2010 22:35:07 -0500 (CDT) From: Scott Bennett Message-Id: <201008100335.o7A3Z76i002206@mp.cs.niu.edu> To: perryh@pluto.rain.com Cc: freebsd-questions@freebsd.org Subject: Re: looking for a buildable version of OpenOffice.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: Tue, 10 Aug 2010 03:35:10 -0000 On Thu, 05 Aug 2010 00:36:32 -0700 perryh@pluto.rain.com wrote: >Scott Bennett wrote: > >> No packages appear to be available for these ports. > >As of a week or so ago, freebsd.org (and presumably at least some of >the mirrors) had openoffice.org-2.4.3_2.tbz among the 8.1 packages. >I didn't check any other releases. > Thank you very much for your reply, and my apologies for the delayed response here. I was out of town for several days. If packages are available for 8.1, I may just have to get around to doing the 7.3 to 8.1 upgrade a bit sooner than I had intended. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:35:40 2010 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 C849910656E8 for ; Tue, 10 Aug 2010 03:35:40 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id 92C968FC16 for ; Tue, 10 Aug 2010 03:35:40 +0000 (UTC) Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by gsicomp.on.ca (Postfix) with ESMTP id 8ED9BFD1DE6; Tue, 10 Aug 2010 03:35:39 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 04097-08; Tue, 10 Aug 2010 03:35:39 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by gsicomp.on.ca (Postfix) with SMTP id D607CFD14D7; Tue, 10 Aug 2010 03:35:38 +0000 (UTC) Message-ID: From: "Matt Emmerton" To: "James Harrison" References: Date: Mon, 9 Aug 2010 23:35:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: questions@freebsd.org Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 03:35:40 -0000 > > I know there's not much I can do about the brute force attacks, but will > > upgrading openssh avoid these stuck connections? > > 1. switch over to using solely RSA keys In the works; I have too many users to convert :( > 2. switch to a non-standard port This is not attractive, even though it would be effective. I tried this once already and my support volume skyrocketed. > 3. what version of openssh are you currently using? Whatever ships with 8.0-REL, which appears to be: Best James= From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:36:56 2010 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 E922B1065677 for ; Tue, 10 Aug 2010 03:36:56 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id B408F8FC2A for ; Tue, 10 Aug 2010 03:36:56 +0000 (UTC) Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by gsicomp.on.ca (Postfix) with ESMTP id 1CB9EFD0529; Tue, 10 Aug 2010 03:36:56 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 50733-04; Tue, 10 Aug 2010 03:36:55 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by gsicomp.on.ca (Postfix) with SMTP id 838D6FCD102; Tue, 10 Aug 2010 03:36:55 +0000 (UTC) Message-ID: <5BF5E75C429145B39DCBF8DC4F7B10CC@hermes> From: "Matt Emmerton" To: "James Harrison" References: Date: Mon, 9 Aug 2010 23:36:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: questions@freebsd.org Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 03:36:57 -0000 > > I know there's not much I can do about the brute force attacks, but will > > upgrading openssh avoid these stuck connections? > > 1. switch over to using solely RSA keys In the works; I have too many users to convert :( > 2. switch to a non-standard port This is not attractive, even though it would be effective. I tried this once already and my support volume skyrocketed so I had to switch back. > 3. what version of openssh are you currently using? Whatever ships with 8.0-REL, which appears to be: OpenSSL> version OpenSSL 0.9.8k 25 Mar 2009 Regards, -- Matt From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:39:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3BC106564A for ; Tue, 10 Aug 2010 03:39:20 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2DF178FC12 for ; Tue, 10 Aug 2010 03:39:19 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o7A3dJuT002269; Mon, 9 Aug 2010 22:39:19 -0500 (CDT) Date: Mon, 9 Aug 2010 22:39:19 -0500 (CDT) From: Scott Bennett Message-Id: <201008100339.o7A3dJrU002268@mp.cs.niu.edu> To: cwhiteh@onetel.com Cc: freebsd-questions@freebsd.org Subject: Re: looking for a buildable version of OpenOffice.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: Tue, 10 Aug 2010 03:39:20 -0000 On Thu, 05 Aug 2010 12:25:58 +0100 Chris Whitehouse wrote: >Scott Bennett wrote: >> On Wed, 04 Aug 2010 05:27:49 -0400 Michael Powell >> wrote: >>> Scott Bennett wrote: >>> >>>> I have tried all of the versions of OpenOffice.org that are currently >>>> in the ports tree on a 7.3-STABLE system, and all of them fail to build to >>>> completion. Is there somewhere that I can find one that actually works? >>>> Or at least some alternative package that will build and work on a FreeBSD >>>> 7.3-STABLE system? No packages appear to be available for these ports. >>>> (Transcripts of the failed builds are available on request.) >>>> And what would be available if I were to upgrade my system to >>>> 8.1-STABLE? Thanks in advance for any help! >>>> >>> Might try pre-built packages and see if they might work for you. No >> >> As I noted previously, there do not appear to be any packages available >> for 7.3, or at least portmaster doesn't find any. > >You could try asking here: >http://freebsd-custom.wikidot.com/ or check the downloads-page > Thanks much for that information. I will do that. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 03:55:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 080521065673 for ; Tue, 10 Aug 2010 03:55:49 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id A2C938FC12 for ; Tue, 10 Aug 2010 03:55:48 +0000 (UTC) Received: (qmail 5274 invoked from network); 10 Aug 2010 03:29:08 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 10 Aug 2010 03:29:08 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bWOk7DwNyohI for ; Mon, 9 Aug 2010 20:29:08 -0700 (MST) Received: (qmail 5264 invoked from network); 10 Aug 2010 03:29:07 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 10 Aug 2010 03:29:07 -0000 Sender: fred Message-ID: <4C60C4D9.A6BEE6E@blakemfg.com> Date: Mon, 09 Aug 2010 20:17:45 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 03:55:49 -0000 Hello, I have installed FreeBSD-8.0 from the CD and have it running ok. I have installed several packages including thunderbird using pkg_add -r package_name. When I try to install firefox I get a file unavailable error. The web site shows firefox-3.6.8,1 is available (i386). What can I do to install firefox? Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 04:02:21 2010 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 74E241065673 for ; Tue, 10 Aug 2010 04:02:21 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4456B8FC12 for ; Tue, 10 Aug 2010 04:02:21 +0000 (UTC) Received: by pvg4 with SMTP id 4so1140444pvg.13 for ; Mon, 09 Aug 2010 21:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:x-priority:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=WzV+oTgus0bUFUmhzdy675Z6td4wlJNAPQ2vUTWhXjA=; b=ONHIkkTd0qee5aNv3QGWGFlBeANDtVt1jMoqYshYpZeogz0ynNY2OfGClxK1SbVKGV AwGIRm0IqI3OqkOLz0nuz1tD4jo16qR/QeSRpd+U5RXiLxYsvmbDMVfTH9yNLFa2PXEy W+wKQPpR4xrXKbWwRfi1QnuonW8YC+ZBfUxSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; b=GlpuTOMEPJghQEFNcuBGI4y8G3tiEyNgLciCsSA2WaXcuSy/27+RDbYiZQifxALuSw 3hHWpne9QU5iEf+DKd2dSCfTlk2GBBU/nAx8wO669Y6CR7OaW7DMeih89Dan0BSfS/va +q2F9MOVoweSh8HTKWjTPz6jlzicwxYLBELkA= Received: by 10.142.147.20 with SMTP id u20mr14489539wfd.49.1281411187101; Mon, 09 Aug 2010 20:33:07 -0700 (PDT) Received: from [192.168.1.2] (c-24-8-211-143.hsd1.co.comcast.net [24.8.211.143]) by mx.google.com with ESMTPS id w8sm7249168wfd.7.2010.08.09.20.33.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 20:33:05 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: James Harrison X-Priority: 3 In-Reply-To: Date: Mon, 9 Aug 2010 21:33:03 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Matt Emmerton" X-Mailer: Apple Mail (2.1081) Cc: questions@freebsd.org Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 04:02:21 -0000 Hi Matt, >=20 > I know there's not much I can do about the brute force attacks, but = will upgrading openssh avoid these stuck connections? 1. switch over to using solely RSA keys 2. switch to a non-standard port 3. what version of openssh are you currently using? Best James= From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 04:29:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E24E106564A for ; Tue, 10 Aug 2010 04:29:18 +0000 (UTC) (envelope-from steven@too1337.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id E69638FC13 for ; Tue, 10 Aug 2010 04:29:17 +0000 (UTC) Received: by ywf9 with SMTP id 9so4538464ywf.13 for ; Mon, 09 Aug 2010 21:29:17 -0700 (PDT) Received: by 10.150.53.6 with SMTP id b6mr19363661yba.181.1281414557125; Mon, 09 Aug 2010 21:29:17 -0700 (PDT) Received: from thinkpad.susnet (ip68-99-10-223.om.om.cox.net [68.99.10.223]) by mx.google.com with ESMTPS id q21sm5571108ybk.23.2010.08.09.21.29.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 21:29:16 -0700 (PDT) Message-ID: <4C60D596.8070405@too1337.com> Date: Mon, 09 Aug 2010 23:29:10 -0500 From: Steven Susbauer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100804 Thunderbird/3.0.6 MIME-Version: 1.0 To: Fred Boatwright References: <4C60C4D9.A6BEE6E@blakemfg.com> In-Reply-To: <4C60C4D9.A6BEE6E@blakemfg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 04:29:18 -0000 On 08/09/10 22:17, Fred Boatwright wrote: > Hello, > > I have installed FreeBSD-8.0 from the CD and have it running ok. I have > installed several packages including thunderbird using pkg_add -r > package_name. When I try to install firefox I get a file unavailable > error. The web site shows firefox-3.6.8,1 is available (i386). What > can I do to install firefox? > You can manually download the package from a mirror and then install it with pkg_add (pkg_add firefox-3.6.8,1.tbz). From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 05:21:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09309106566C for ; Tue, 10 Aug 2010 05:21:26 +0000 (UTC) (envelope-from prvs=0831140aa9=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 8E67C8FC0A for ; Tue, 10 Aug 2010 05:21:25 +0000 (UTC) Received: (qmail 66207 invoked from network); 10 Aug 2010 04:54:43 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 10 Aug 2010 04:54:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=k1008; olt=johnl@user.iecc.com; bh=KGVP9POG7Jc6P4nkDu0ntW6TmrQVuFPp2iZ7ikI5ZY4=; b=sfnya4RyZQHamU3BIbQwgyiOOlb0m9nbYM6wkwU+Wo/84gHNZyAAqJgM7clXAEnSzqsiyvfQY9WKo1k8wGsHey41IN4URAs2GgXVXqOb1YqkfQRfJy2AGjezL/SKk94pud0WPJytO9sfe7Ix8cpKVjip/USw5XEit7y0WMBEwgo= Date: 10 Aug 2010 04:54:43 -0000 Message-ID: <20100810045443.5821.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <4C60D596.8070405@too1337.com> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 05:21:26 -0000 >You can manually download the package from a mirror and then install it >with pkg_add (pkg_add firefox-3.6.8,1.tbz). Speaking of Firefox 3.6, any progress on making it work with Java? R's, John From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 06:08:07 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 947481065674 for ; Tue, 10 Aug 2010 06:08:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 58C618FC13 for ; Tue, 10 Aug 2010 06:08:07 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o7A686it014153 for ; Mon, 9 Aug 2010 23:08:06 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 9 Aug 2010 23:08:05 -0700 (PDT) Date: Mon, 9 Aug 2010 23:08:04 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100810060802.GA30024@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 24 years of service to the Unix community. Cc: Subject: it =was= ``remind''... . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 06:08:07 -0000 the calendar layout of "when" and remind" are similar enough that i messed up. i think it must have been remind rather than when. i want remind to exec a popup that shouts at me that it is time to sack out. or whatever. so far i'm trying to use -k[command" in my ~/.reminder file, but don't have it down exactly. according to the makefile there is a tkremind [??]. that is next to investigate. i have 9 or 10+ fairly brutal months ahead of me and i usually realize that it is waaaaay past midnight just too late, :-) thanks for any pointers. i thought i had my old config files saved, but nope. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 06:38:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD1A1065670 for ; Tue, 10 Aug 2010 06:38:04 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by mx1.freebsd.org (Postfix) with ESMTP id C78DC8FC18 for ; Tue, 10 Aug 2010 06:38:04 +0000 (UTC) Received: (qmail 31681 invoked from network); 10 Aug 2010 06:38:04 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Aug 2010 06:38:03 -0000 Message-ID: <4C60F3CB.6090204@speakeasy.net> Date: Mon, 09 Aug 2010 23:38:03 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 06:38:05 -0000 One thing I don't see mentioned a lot is port knocking. It's not perfect but it does have it's uses. Since it sounds like you have a lot of users that need to connect you might be able to adapt it to your situation. I haven't tried this specific port knocking sequence but you could setup a knock where if a user attempts to connect to port 22 say 3 times (most clients should auto retry) it then opens up port 22 to that ip and allows them to connect to sshd. This would depend on the type of brute force being done. A distributed botnet might only try an ip/port once or twice then move on. This would be pretty seemless to the end user except for an initial delay when connecting as their client retries the connection until the specific knock threshold has been hit. It's a middle ground to changing the port sshd is operating on. You can do this with firewall rules or http://www.freshports.org/security/knock/. A lot of SSH attacks are coming from large numbers of compromised hosts that make them very hard to stop with sshguard which is pretty annoying. On 8/9/2010 8:13 PM, Matt Emmerton wrote: > Hi all, > > I'm in the middle of dealing with a SSH brute force attack that is > relentless. I'm working on getting sshguard+ipfw in place to deal > with it, but in the meantime, my box is getting pegged because sshd is > accepting some connections which are getting stuck in [accepted] state > and eating CPU. > > I know there's not much I can do about the brute force attacks, but > will upgrading openssh avoid these stuck connections? > > root 39127 35.2 0.1 6724 3036 ?? Rs 11:10PM 0:37.91 sshd: > [accepted] (sshd) > root 39368 33.6 0.1 6724 3036 ?? Rs 11:10PM 0:22.99 sshd: > [accepted] (sshd) > root 39138 33.1 0.1 6724 3036 ?? Rs 11:10PM 0:41.94 sshd: > [accepted] (sshd) > root 39137 32.5 0.1 6724 3036 ?? Rs 11:10PM 0:36.56 sshd: > [accepted] (sshd) > root 39135 31.0 0.1 6724 3036 ?? Rs 11:10PM 0:35.09 sshd: > [accepted] (sshd) > root 39366 30.9 0.1 6724 3036 ?? Rs 11:10PM 0:23.01 sshd: > [accepted] (sshd) > root 39132 30.8 0.1 6724 3036 ?? Rs 11:10PM 0:35.21 sshd: > [accepted] (sshd) > root 39131 30.7 0.1 6724 3036 ?? Rs 11:10PM 0:38.07 sshd: > [accepted] (sshd) > root 39134 30.2 0.1 6724 3036 ?? Rs 11:10PM 0:40.96 sshd: > [accepted] (sshd) > root 39367 29.3 0.1 6724 3036 ?? Rs 11:10PM 0:22.08 sshd: > [accepted] (sshd) > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 39597 root 1 103 0 6724K 3036K RUN 3 0:28 > 35.06% sshd > 39599 root 1 103 0 6724K 3036K RUN 0 0:26 > 34.96% sshd > 39596 root 1 103 0 6724K 3036K RUN 0 0:27 > 34.77% sshd > 39579 root 1 103 0 6724K 3036K CPU3 3 0:28 > 33.69% sshd > 39592 root 1 102 0 6724K 3036K RUN 2 0:27 > 32.18% sshd > 39591 root 1 102 0 6724K 3036K CPU2 2 0:27 > 31.88% sshd > > -- > Matt Emmerton > _______________________________________________ > 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 Aug 10 07:20:27 2010 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 2C186106566C for ; Tue, 10 Aug 2010 07:20:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 1473A8FC1E for ; Tue, 10 Aug 2010 07:20:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [17.151.79.170] by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L6X00B50AY2L470@asmtp028.mac.com> for questions@freebsd.org; Mon, 09 Aug 2010 23:20:27 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1008090297 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-10_03:2010-08-10, 2010-08-10, 1970-01-01 signatures=0 From: Chuck Swiger X-Priority: 3 In-reply-to: Date: Mon, 09 Aug 2010 23:20:26 -0700 Message-id: <0EBB2174-57FA-4FE9-981F-14A47FD6F0F0@mac.com> References: To: Matt Emmerton X-Mailer: Apple Mail (2.1081) Cc: questions@freebsd.org Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 07:20:27 -0000 Hi, Matt-- On Aug 9, 2010, at 8:13 PM, Matt Emmerton wrote: > I'm in the middle of dealing with a SSH brute force attack that is relentless. I'm working on getting sshguard+ipfw in place to deal with it, but in the meantime, my box is getting pegged because sshd is accepting some connections which are getting stuck in [accepted] state and eating CPU. > > I know there's not much I can do about the brute force attacks, but will upgrading openssh avoid these stuck connections? If I wasn't allowed to require that in order to SSH to arbitrary internal machines one would need to do a VPN session, the second choice would be to install the openssh port with tcpwrappers support + denyhosts. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 07:21:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE3CD1065678 for ; Tue, 10 Aug 2010 07:21:07 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0A88FC17 for ; Tue, 10 Aug 2010 07:21:07 +0000 (UTC) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by sta1.canmos.ru (Postfix) with ESMTP id C146812720A; Tue, 10 Aug 2010 10:56:54 +0400 (MSD) Date: Tue, 10 Aug 2010 10:56:52 +0400 (MSD) From: "Igor V. Ruzanov" To: Ed Flecko In-Reply-To: Message-ID: References: X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD equivalent of Microsoft DFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 07:21:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 9 Aug 2010, Ed Flecko wrote: |Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that |will replicate delta level file changes of network shares among |multiple servers in real time? | |Would that be rsync with just a frequently scheduled cron task? | Kqueue - most advanced and cool thing implemented as kernel mechanism of events processing. With that you could write your own file auditing system. +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFMYPg2bt6QiUlK9twRAhfUAJ4j7dmbXPYaGKGy5G351PWKSMS1iACgxJCP lAoUhxv9xutJLS+extS+wBQ= =DHlr -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 07:49:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD8F0106566C for ; Tue, 10 Aug 2010 07:49:25 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1C56C8FC1A for ; Tue, 10 Aug 2010 07:49:24 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.4/8.14.4) with ESMTP id o7A7prRN003957 for ; Tue, 10 Aug 2010 09:51:53 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Received: (from ulrich@localhost) by pukruppa.de (8.14.4/8.14.4/Submit) id o7A7pqei003956 for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 09:51:52 +0200 (CEST) (envelope-from ulrich@pukruppa.de) From: Peter Ulrich Kruppa To: FreeBsd-Questions Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Aug 2010 09:51:52 +0200 Message-ID: <1281426712.3459.20.camel@pukruppa.de> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 FreeBSD GNOME Team Port Subject: USB pen drive not detected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 07:49:25 -0000 Hi, I am running FreeBSD 8.1-STABLE amd64 and have got a strange problem when I try to attach and mount my 16 GB USB pen drive.=20 # dmesg=20 delivers something like ugen1.2: at usbus1 umass0: on usbus1 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:6e,17 (Reserved ASC/ASCQ pair) (probe0:umass-sim0:0:0:0): AutoSense failed No /dev/da0s1 is created and of course it can not be mounted. On the other hand: when I attach the drive and reboot I get: # dmesg ugen1.2: at usbus1 umass0: on usbus1 Root mount waiting for: usbus1 Trying to mount root from ufs:/dev/ad0s1a (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: < Spaceloop 16GB 8.07> Removable Direct Access SCSI-2 device=20 da0: 40.000MB/s transfers da0: 16086MB (32945152 512 byte sectors: 255H 63S/T 2050C) GEOM: da0: partition 1 does not start on a track boundary. GEOM: da0: partition 1 does not end on a track boundary. Now I can do # mount_msdosfs /dev/da0s1 /mnt and access the drive. What is going on here? How can I access my drive without rebooting? For a comparision: I have got an old USB pen drive (512 MB) which works without any trouble: # dmesg ugen0.3: at usbus0 umass0: on usbus0 da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: Removable Direct Access SCSI-2 device=20 da0: 1.000MB/s transfers da0: 503MB (1031936 512 byte sectors: 64H 32S/T 503C) Sorry to say the 16 GB thing works smoothly with Debian, Fedora and even Windows :(=20 Greetings Peter. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 08:03:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BD00106566B for ; Tue, 10 Aug 2010 08:03:40 +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 CB2868FC1C for ; Tue, 10 Aug 2010 08:03:39 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7A83Rt3032252 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 09:03:35 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C6107CA.5090607@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 09:03:22 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Ed Flecko References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCC13D906841B0C78D6014646" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD equivalent of Microsoft DFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 08:03:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCC13D906841B0C78D6014646 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/08/2010 23:42, Ed Flecko wrote: > Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that > will replicate delta level file changes of network shares among > multiple servers in real time? It's not 'real time' but you can achieve something like this by using a combination of ZFS snapshots and ZFS send / receive. > Would that be rsync with just a frequently scheduled cron task? Which works very well indeed in many situations. Someone else has already mentioned distributed filesystems line AFS -- another thing to contemplate is the new HAST capability in FreeBSD: http://wiki.freebsd.org/HAST It's conceptually similar to Linux DRBD, which in theory you can use under FreeBSD as well, but no idea how it performs. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigCC13D906841B0C78D6014646 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhB88ACgkQ8Mjk52CukIyqMgCfaGXN4TejxdgYO/csM1pet9Ya hMAAn1kUFifLWSHI9ND1+FOCvzO1XdKO =RL+Z -----END PGP SIGNATURE----- --------------enigCC13D906841B0C78D6014646-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 08:41:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA1B7106566B for ; Tue, 10 Aug 2010 08:41:48 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.4.212]) by mx1.freebsd.org (Postfix) with ESMTP id ACB908FC12 for ; Tue, 10 Aug 2010 08:41:48 +0000 (UTC) Received: from flosoft.no-ip.biz (ool-43542559.dyn.optonline.net [67.84.37.89]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0L6X009O8HHNKOO0@mta6.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 04:41:47 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.4/8.14.3) with ESMTP id o7A8fnS8006096 for ; Tue, 10 Aug 2010 04:41:49 -0400 Date: Tue, 10 Aug 2010 04:41:49 -0400 From: "Aryeh M. Friedman" To: freebsd-questions@freebsd.org Message-id: <20100810044149.17001fa0aryeh.friedman%gmail.com@flosoft.no-ip.biz> MIME-version: 1.0 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: how to burn 8.1-RELEEASE CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 08:41:48 -0000 I am running a 7.2 machine and the main disk has gone bad (semi usable but I want to reinstall).... after replacing the disk later want to upgrade it to 8.1-RELEASE and have downloaded disk 0 from the local FTP but am not sure how to burn it under 7.1... how do I do this? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 08:50:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8613B1065677 for ; Tue, 10 Aug 2010 08:50:56 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF7A8FC15 for ; Tue, 10 Aug 2010 08:50:55 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 133375; Tue, 10 Aug 2010 10:52:39 +0200 Message-ID: <4C6112F5.7020202@nagual.nl> Date: Tue, 10 Aug 2010 10:51:01 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: gmirror of zfs mirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 08:50:56 -0000 I'm convinced that ZFS mirroring is far better than gmirroring, but the latter uses much less memory (I think). My server has 3Gb and is solely used as server (web, files/nfs/samba, dns, mail). The data is serves does not change much, so I would think the data integrity checks of ZFS although useful do not serve a very high purpose. If a disk goes bad it can be replaced using gmirror and/or ZFS. Why would it be the preferred way to use ZFS over gmirror? I know ZFS (I come from opensolaris). I'm not that familiar with gmirror. Hence the doubts..;-) From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 08:56:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6596C1065673 for ; Tue, 10 Aug 2010 08:56:52 +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 C3DF78FC18 for ; Tue, 10 Aug 2010 08:56:51 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7A8uleR032773 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 09:56:47 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C611448.7060701@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 09:56:40 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <20100810044149.17001fa0aryeh.friedman%gmail.com@flosoft.no-ip.biz> In-Reply-To: <20100810044149.17001fa0aryeh.friedman%gmail.com@flosoft.no-ip.biz> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2A2A02A2E50950957D288423" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: how to burn 8.1-RELEEASE CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 08:56:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2A2A02A2E50950957D288423 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/08/2010 09:41, Aryeh M. Friedman wrote: > I am running a 7.2 machine and the main disk has gone bad (semi > usable but I want to reinstall).... after replacing the disk later want= > to upgrade it to 8.1-RELEASE and have downloaded disk 0 from the local > FTP but am not sure how to burn it under 7.1... how do I do this? It's described in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-me= dia.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.ht= ml#BURNCD http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.ht= ml#CDRECORD Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig2A2A02A2E50950957D288423 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhFE8ACgkQ8Mjk52CukIzFAwCaAtHFI5lfGPg1fFMg7zQVNPeE x9gAoI9ePuCt/+u7otSA7DCocprPXLer =+NMg -----END PGP SIGNATURE----- --------------enig2A2A02A2E50950957D288423-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 11:15:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6894510656B3 for ; Tue, 10 Aug 2010 11:15:09 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id CACB78FC16 for ; Tue, 10 Aug 2010 11:15:08 +0000 (UTC) Received: from [217.146.182.180] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 10 Aug 2010 11:01:24 -0000 Received: from [87.248.111.144] by t6.bullet.ukl.yahoo.com with NNFMP; 10 Aug 2010 11:01:24 -0000 Received: from [127.0.0.1] by omp201.mail.ukl.yahoo.com with NNFMP; 10 Aug 2010 11:01:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 436742.34328.bm@omp201.mail.ukl.yahoo.com Received: (qmail 68447 invoked by uid 60001); 10 Aug 2010 11:01:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281438084; bh=zUDsFpVErcetsD7UseT/DwLELZYEF5V/7pVBM0PXbig=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Fcigc+3wWU1q7Um+AZYncb3qernOBT/8B/chP8FxEqMwGyL7W9qx7azFC20n84/aJzo6rUxPQQzZsdtfUsh5kHi0GODlquS2/MeS2LzBlmG2/MNRf+DE9Uv8AbtVpy579tX+U8jS9upnVZ+sZ/s1Eo2sBjo/64iJKrz53bVfF0M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=p4RIhPg2qkF4ZH9wk2XXDC4pKm2Ynilteg0PblEnF6UMnijJfSb4nNkRqJZL7QLL47bQA9Gbw0MYgmmhANnFt5VkUMZMILBwfPQJsy951M8gT8zO8cqQsdyEeqy14930TJ5Kowz3ECdZCozt/4hiwfgVgCxS1NPn5tI1aGOQEqc=; Message-ID: <268321.67123.qm@web24608.mail.ird.yahoo.com> X-YMail-OSG: BHvkT8wVM1n0Lh8xCdum4.JbP7YzYOEoZIPG3eGfHhI2UvX vBbrrmfgfxmTi2CpIcQal4w7RYs1jPol3GQMC6eO5QCXbXlSDAmD68HFde9b JN25OouQMZQvTPaV.Qh72TtcU.hVjOuIq1BbzFR2rml9hWYwFO1gDbUG6xSV CFjfBBsUnJ5RKcy94iw7ao3TD2N3iwyxAIu1oI.Tf.hvkfhMXmCLzNJJ8Z4H jkIVDzq.lkjhsVF7J_qFPNHcE06239nQ.Sok05ZVtzxaCNUS_3SDMbksJows - Received: from [93.0.168.17] by web24608.mail.ird.yahoo.com via HTTP; Tue, 10 Aug 2010 11:01:24 GMT X-Mailer: YahooMailRC/459 YahooMailWebService/0.8.105.279950 Date: Tue, 10 Aug 2010 11:01:24 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 11:15:09 -0000 Hello,=0A=0AI've just created my first FreeBSD jail in order to install a w= eb server inside. =0ABut I don't know how to connect it to the web. When I = try pinging a http =0Awebsite, it doesn't work. Of course, it works when I = do it from outside the =0Ajail.=0A=0AAnother problem, probably linked to th= e first one, I can't run rc within the =0Ajail, even as the jail's root. It= says : permission denied.=0A=0AHere's how I built and started my jail. I h= ad already run make buildworld when =0Aupgrading to 8.1 release :=0A=0A# mk= dir /usr/prison=0A# cd /usr/src=0A# make installworld DESTDIR=3D/usr/prison= =0A# make distribution DESTDIR=3D/usr/prison=0A# mount -t devfs devfs /usr/= prison/dev=0A# jail -c path=3D/usr/prison host.hostname=3DServeurWeb ip4.ad= dr=3D192.1.1.1 persist=0A# jail /usr/prison ServeurWeb 192.1.1.1 csh=0A=0AI= guess this must be a very basic question but please help me.=0A=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 11:32:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2249106564A for ; Tue, 10 Aug 2010 11:32:16 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 70F1D8FC1E for ; Tue, 10 Aug 2010 11:32:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsUBAMzVYEykD30E/2dsb2JhbAAHgw6QTL1kkgOER3MEiFs Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 10 Aug 2010 13:32:15 +0200 Message-ID: <4C6138BF.7080609@ulb.ac.be> Date: Tue, 10 Aug 2010 13:32:15 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <268321.67123.qm@web24608.mail.ird.yahoo.com> In-Reply-To: <268321.67123.qm@web24608.mail.ird.yahoo.com> Content-Type: multipart/mixed; boundary="------------040808030307040609030801" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 11:32:16 -0000 This is a multi-part message in MIME format. --------------040808030307040609030801 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/10/2010 13:01, Brice ERRANDONEA wrote: > Hello, > > I've just created my first FreeBSD jail in order to install a web server inside. > But I don't know how to connect it to the web. When I try pinging a http > website, it doesn't work. Of course, it works when I do it from outside the > jail. > > Another problem, probably linked to the first one, I can't run rc within the > jail, even as the jail's root. It says : permission denied. > > Here's how I built and started my jail. I had already run make buildworld when > upgrading to 8.1 release : > > # mkdir /usr/prison > # cd /usr/src > # make installworld DESTDIR=/usr/prison > # make distribution DESTDIR=/usr/prison > # mount -t devfs devfs /usr/prison/dev > # jail -c path=/usr/prison host.hostname=ServeurWeb ip4.addr=192.1.1.1 persist > # jail /usr/prison ServeurWeb 192.1.1.1 csh > > I guess this must be a very basic question but please help me. > make sure NAT is enabled on the host.. I use PF for that with something like (/etc/pf.conf): ext_if="bce0" int_if="bce1" internal_net="192.168.0.0/24" nat on $ext_if from $internal_net to any -> ($ext_if) > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------040808030307040609030801-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 11:36:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5F101065673 for ; Tue, 10 Aug 2010 11:36:06 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 554E68FC16 for ; Tue, 10 Aug 2010 11:36:06 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 053449; Tue, 10 Aug 2010 13:37:49 +0200 Message-ID: <4C6139AB.8020306@nagual.nl> Date: Tue, 10 Aug 2010 13:36:11 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-AxigenSpam-Level: 4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 11:36:06 -0000 I'm told it would be better to enable the AHCI driver form my SATA2 drives. It would make ZFS perform better on them. From the release notes I get: FreeBSD cam(3) SCSI framework has been improved and a new kernel option |option ATA_CAM| has been added. This turns ata(4) controller drivers into cam(4) interface modules. When enabled, this option deprecates all ata(4) peripheral drivers and interfaces such as ad and acd, and allows cam(4) drivers ada, and cd and interfaces to be natively used instead. Note that this is not enabled by default in the GENERIC kernel. Is it really better to enable AHCI driver? Will I be able to GEOM label normal disks (like /dev/ad0) or do I need /dev/ada0 drives for that? Thanks for any help / advice on this matter. I'm building the server and want to do things right from the start. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 11:42:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E95106566C for ; Tue, 10 Aug 2010 11:42:48 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id E98DE8FC0A for ; Tue, 10 Aug 2010 11:42:47 +0000 (UTC) Received: by qyk11 with SMTP id 11so3318039qyk.13 for ; Tue, 10 Aug 2010 04:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=N0cpRtJMWYiL2UtpIMD1+R7qcoCFObg8xm8EJhUORAU=; b=W89DiF/Nj+ztSZsQBoEZFgKfZGEeSF5K9bOxO3SU178WwXiFaycfwZbAaJVULyGD5x ev0qsdTSb0/BlV7NUH3LkJSRJlEGgsAlzVtVKhWV1vRWdyIcYFD58xn8P6+C4KIgwWYq rizDGCW3lURX429V/2GXyjbDSRHcxoWLQYDVY= 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=j06jcgpijhsofIU8VrE8cBpczsxSqjEpQ9MqBmObfBhrHfFJ4r/0gFeSSajsE2uB5Q lZ5qteuRi6dKd17aGIWIlEYnO1kLSBNXDR4KW7HbUdcoeypn9ItDE/EO1i3TOOOROb70 WnkmIFgL7TOBZoiIkfR3O+u4yaW2quBSd4j3A= Received: by 10.224.46.15 with SMTP id h15mr9554618qaf.20.1281440567151; Tue, 10 Aug 2010 04:42:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.223.132 with HTTP; Tue, 10 Aug 2010 04:42:27 -0700 (PDT) In-Reply-To: <268321.67123.qm@web24608.mail.ird.yahoo.com> References: <268321.67123.qm@web24608.mail.ird.yahoo.com> From: Valentin Bud Date: Tue, 10 Aug 2010 14:42:27 +0300 Message-ID: To: Brice ERRANDONEA Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 11:42:48 -0000 On Tue, Aug 10, 2010 at 2:01 PM, Brice ERRANDONEA wrote: > Hello, > > I've just created my first FreeBSD jail in order to install a web server > inside. > But I don't know how to connect it to the web. When I try pinging a http > website, it doesn't work. Of course, it works when I do it from outside the > jail. > > Another problem, probably linked to the first one, I can't run rc within > the > jail, even as the jail's root. It says : permission denied. > > Here's how I built and started my jail. I had already run make buildworld > when > upgrading to 8.1 release : > > # mkdir /usr/prison > # cd /usr/src > # make installworld DESTDIR=/usr/prison > # make distribution DESTDIR=/usr/prison > # mount -t devfs devfs /usr/prison/dev > # jail -c path=/usr/prison host.hostname=ServeurWeb ip4.addr=192.1.1.1 > persist > # jail /usr/prison ServeurWeb 192.1.1.1 csh > > I guess this must be a very basic question but please help me. > Hello, To be able to ping from inside the jail you need raw sockets activated on the host. sysctl security.jail.allow_raw_sockets=1 For ease of configuration you could use ezjail - a jail administration framework written in shell or if you plan to use lots of jails (20+) you could try qjail which is also a jail administration framework. have a great day, v -- network warrior From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 12:24:36 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E390C106564A for ; Tue, 10 Aug 2010 12:24:36 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 685898FC1E for ; Tue, 10 Aug 2010 12:24:36 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7ACOJg9070127; Tue, 10 Aug 2010 14:24:34 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7ACOJ07070126; Tue, 10 Aug 2010 14:24:19 +0200 (CEST) (envelope-from olli) Date: Tue, 10 Aug 2010 14:24:19 +0200 (CEST) Message-Id: <201008101224.o7ACOJ07070126@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, ulrich@pukruppa.de In-Reply-To: <1281426712.3459.20.camel@pukruppa.de> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Tue, 10 Aug 2010 14:24:35 +0200 (CEST) Cc: Subject: Re: USB pen drive not detected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 12:24:37 -0000 Peter Ulrich Kruppa wrote: > I am running FreeBSD 8.1-STABLE amd64 and have got a strange problem > when I try to attach and mount my 16 GB USB pen drive. > # dmesg > delivers something like > ugen1.2: at usbus1 > umass0: addr 2> on usbus1 > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:6e,17 > (Reserved ASC/ASCQ pair) > (probe0:umass-sim0:0:0:0): AutoSense failed > > No /dev/da0s1 is created and of course it can not be mounted. Do these commands help? # camcontrol reset 0 (wait a few seconds for the reset to complete) # camcontrol rescan 0 Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Whatever happened to the days when hacking started at the cerebral cortex, and not at the keyboard?" -- Sid on userfriendly.org by Illiad, 2007-06-20 From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 12:34:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAF171065670 for ; Tue, 10 Aug 2010 12:34:50 +0000 (UTC) (envelope-from mr4hughz@hotmail.com) Received: from snt0-omc4-s24.snt0.hotmail.com (snt0-omc4-s24.snt0.hotmail.com [65.55.90.227]) by mx1.freebsd.org (Postfix) with ESMTP id A0B3D8FC22 for ; Tue, 10 Aug 2010 12:34:50 +0000 (UTC) Received: from SNT142-W51 ([65.55.90.200]) by snt0-omc4-s24.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 05:22:47 -0700 Message-ID: X-Originating-IP: [213.194.32.13] From: Victor Ophof To: Date: Tue, 10 Aug 2010 14:22:47 +0200 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 10 Aug 2010 12:22:47.0935 (UTC) FILETIME=[BE47F0F0:01CB3886] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: FreeBSD equivalent of Microsoft DFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 12:34:51 -0000 for all: MS DFS =3D MS Distributed File system is NOT a FS=20 it's a shared directory on a drive that is replicated via AD mechanism to = 1 or more locatations If setup correctly DFS can have 2 or many more servers=2C and to replicate = it only needs a partner server to replicate with.=20 all other servers can be turned off .. its neither a ring or a star shaped = network. (not 100% true but makes explaining a lot easier)=20 =20 In Freebsd that woud be a CIFS or NFS share that is synced over 1 or more s= ites (without bandwith control )=20 The only issue if you want to replicate this within Freebsd is how to setup= the sync process for more then 3 hosts. And more specific if 1 file gets edited on to seperate "servers" and repli= cated to a 3rd server=2C what happens then?=20 Of course such a write action "when it happens" is very very small chance. =20 =20 IF you want to use FreeBSD as a file server for a windows enviroment (with = ZFS) you can do 2 things 1) use ZFS and make a ISCSI -disk (istgt port for now) and connect the ISCS= I disk to a Virtual server with a windows "server" host=20 2) use ZFS + SAMBA=2C configure samba to use the AD information to give acc= ess (Single Sign On)=20 =20 The first one is the easiest & fastest way however it will cost you perform= ance compared with the second solution.=20 The most difficult is to have samba connecting to a AD enviroment without a= ny alterations on the windows machines/ad=20 and kerberos. However SAMBA & AD are reported to have a love hate relation = ship working together=2C and can break=20 =20 =20 =20 > Date: Mon=2C 9 Aug 2010 15:42:59 -0700 > From: edflecko@gmail.com > To: freebsd-questions@freebsd.org > Subject: FreeBSD equivalent of Microsoft DFS >=20 > Is there a FreeBSD equivalent to Microsoft DFS=2C i.e.=2C software that > will replicate delta level file changes of network shares among > multiple servers in real time? >=20 > Would that be rsync with just a frequently scheduled cron task? >=20 > Thank you=2C > Ed > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 12:37:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20F67106564A for ; Tue, 10 Aug 2010 12:37:44 +0000 (UTC) (envelope-from mr4hughz@hotmail.com) Received: from snt0-omc4-s6.snt0.hotmail.com (snt0-omc4-s6.snt0.hotmail.com [65.55.90.209]) by mx1.freebsd.org (Postfix) with ESMTP id EB6D88FC0C for ; Tue, 10 Aug 2010 12:37:43 +0000 (UTC) Received: from SNT142-W18 ([65.55.90.201]) by snt0-omc4-s6.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 05:37:42 -0700 Message-ID: X-Originating-IP: [213.194.32.13] From: Victor Ophof To: Date: Tue, 10 Aug 2010 14:37:42 +0200 Importance: Normal In-Reply-To: <4C6139AB.8020306@nagual.nl> References: <4C6139AB.8020306@nagual.nl> MIME-Version: 1.0 X-OriginalArrivalTime: 10 Aug 2010 12:37:42.0864 (UTC) FILETIME=[D3B34500:01CB3888] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 12:37:44 -0000 Its better to enable=2C=20 but AD4 can get renamed to ada0=20 but it's easy to fix (when reboot keep a 2nd computer handy to google the s= olution)=20 you just need to edit the /etc/fstab to point to the newly named drives ..= =20 =20 > Date: Tue=2C 10 Aug 2010 13:36:11 +0200 > From: dick@nagual.nl > To: freebsd-questions@freebsd.org > Subject: AHCI driver >=20 > I'm told it would be better to enable the AHCI driver form my SATA2=20 > drives. It would make ZFS perform better on them. From the release notes= =20 > I get: >=20 > FreeBSD cam(3)=20 > =20 > SCSI framework has been improved and a new kernel option |option=20 > ATA_CAM| has been added. This turns ata(4)=20 > =20 > controller drivers into cam(4)=20 > =20 > interface modules. When enabled=2C this option deprecates all ata(4)=20 > =20 > peripheral drivers and interfaces such as ad and acd=2C and allows cam(4)= =20 > =20 > drivers ada=2C and cd and interfaces to be natively used instead. Note=20 > that this is not enabled by default in the GENERIC kernel. >=20 > Is it really better to enable AHCI driver? >=20 > Will I be able to GEOM label normal disks (like /dev/ad0) or do I need=20 > /dev/ada0 drives for that? >=20 > Thanks for any help / advice on this matter. I'm building the server and= =20 > want to do things right from the start. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" = From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 12:46:36 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C427A1065670 for ; Tue, 10 Aug 2010 12:46:36 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4BA8FC12 for ; Tue, 10 Aug 2010 12:46:35 +0000 (UTC) Received: by wwb13 with SMTP id 13so1231847wwb.31 for ; Tue, 10 Aug 2010 05:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=BfGB0vJzeIIFXYZ0LQNGXwLk4zDlltQz22EHuc/29pk=; b=XVD+wikP0gw5ldjygS8p/R5estx25kGouXWSVZEZ1jibilHu1fdBJJGRFoX6Glq435 YPbOmOACnYifoKmoa0EyZV8wDz/lreg33bvsXlHO4HahQgcVZ9aRF0GnW0ZyANvFd+n3 rcTYfYZHhXhFCenlsWji06+2lM4gPIpdpqK5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=wVqcgLvpa2H4yMTWf9q75Ms0SwPppRRl8GdHk2yxHGW3o0uP0eAhn/+//KRsA721eD G6SRW2TVo+ain47HGC/Nj4B+9Z7nLPHGDfbjKmDOV6PI4G4jiBwusVEVd0ujUr1llp1S eQhKvdMyWJu62JQsV9EAt2M5m006XPR9ZXYJs= MIME-Version: 1.0 Received: by 10.216.54.132 with SMTP id i4mr3855866wec.50.1281444395264; Tue, 10 Aug 2010 05:46:35 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Tue, 10 Aug 2010 05:46:15 -0700 (PDT) Date: Tue, 10 Aug 2010 12:46:15 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Dick Hoogendijk Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 12:46:36 -0000 >Is it really better to enable AHCI driver? Almost certainly, yes. If your BIOS and SATA controller use AHCI, and are recognized by the ahci(4), mvs(4), or siis(4) drivers (I think that these drivers are built as kernel modules by default in the recent versions of FreeBSD, and don't require the use of a custom kernel with the non-default ATA_CAM option -- all you have to do is load them at boot time, either manually or via loader.conf(5)), then you will be able to use features like NCQ and better power management with disk drives that support those features. This can give you substantial benefits. If your BIOS and/or SATA controller don't support AHCI, in order to use cam(4) you must build a custom kernel with the ATA_CAM option. In that case you may still see some benefits, but they won't be as dramatic as in the AHCI case. If I recall correctly, the only disadvantage to this option is that it prevents the use of ataraid(4) -- everything else has a (usually slightly better) counterpart with the option, and it is only a matter of configuring your system to use it and learning how to use the new management tools (like camcontrol(8)), rather than the old tools (like atacontrol(8)). And yes, if you use the new drivers or the ATA_CAM option, some of your disks will probably show up as /dev/adaX, rather than the old /dev/adX. So make sure that you adjust fstab(5) and device.hints(5) as necessary before rebooting. b. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 13:05:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04B94106566B for ; Tue, 10 Aug 2010 13:05:45 +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 BDD428FC19 for ; Tue, 10 Aug 2010 13:05:44 +0000 (UTC) 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 o7AD4Qxc098538; Tue, 10 Aug 2010 09:04:26 -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 o7AD4PW4098537; Tue, 10 Aug 2010 09:04:25 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 10 Aug 2010 09:04:25 -0400 From: Jerry McAllister To: Depo Catcher Message-ID: <20100810130425.GA98500@gizmo.acns.msu.edu> References: <4C6062D3.1090800@nagual.nl> <20100809223512.b94b1bea.freebsd@edvax.de> <19552.28607.763187.953932@jerusalem.litteratus.org> <4C60B259.7020609@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C60B259.7020609@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Robert Huff , Polytropon , Dick Hoogendijk , FreeBSD Questions Subject: Re: amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 13:05:45 -0000 On Mon, Aug 09, 2010 at 08:58:49PM -0500, Depo Catcher wrote: > > > On 8/9/2010 4:14 PM, Robert Huff wrote: > >Polytropon writes: > > > > > >> > I've installed FreeBSD-amd64. It runs very well. The packages I > >> fetch > >> > are amd64 too, but what about the ports I compile myself? Are those > >> > amd64 too? > >> > >> Yes, as your compiler infrastructure and target platform > >> is amd64, and so is the resulting binary code. > >> > > How does it know your are on amd64? gcc auto detect of CPU? Because that is what you installed and booted. The chip doesn't matter - built by AMD or Intell. What matters is the type of chip. ////jerry > _______________________________________________ > 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 Aug 10 13:08:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE8C81065672 for ; Tue, 10 Aug 2010 13:08:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 776458FC19 for ; Tue, 10 Aug 2010 13:08:36 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7AD8YX8097841; Tue, 10 Aug 2010 15:08:35 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id A0A10BA98; Tue, 10 Aug 2010 15:08:34 +0200 (CEST) Date: Tue, 10 Aug 2010 15:08:34 +0200 From: Roland Smith To: Brice ERRANDONEA Message-ID: <20100810130834.GA48376@slackbox.erewhon.net> References: <268321.67123.qm@web24608.mail.ird.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <268321.67123.qm@web24608.mail.ird.yahoo.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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 13:08:37 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2010 at 11:01:24AM +0000, Brice ERRANDONEA wrote: > Hello, >=20 > I've just created my first FreeBSD jail in order to install a web server > inside. But I don't know how to connect it to the web. When I try pingin= g a > http website, it doesn't work. Of course, it works when I do it from outs= ide > the jail. There are a couple of things you need to keep in mind. - The IP address you're using for a jail is usually an alias for an exist= ing interface. I think this is done to make routing easier. My system is configured as a gateway, and I've aliased the IP adresses for my jails = to the interaface of the internal trusted network. - You should really use the rc interface for starting jails; it's much ea= sier.=20 > Another problem, probably linked to the first one, I can't run rc within = the=20 > jail, even as the jail's root. It says : permission denied. See below. =20 > Here's how I built and started my jail. I had already run make buildworld= when=20 > upgrading to 8.1 release : >=20 > # mkdir /usr/prison > # cd /usr/src > # make installworld DESTDIR=3D/usr/prison > # make distribution DESTDIR=3D/usr/prison Do not forget to create an empty /etc/fstab in your jail; # touch /usr/prison/etc/fstab You'll also need to create an appropriate /etc/rc.conf file in the jail. The following should be a starting point; devfs_system_ruleset=3D"devfsrules_jail" network_interfaces=3D"" sshd_enable=3D"YES" sendmail_enable=3D"NO" rpcbind_enable=3D"NO" > # mount -t devfs devfs /usr/prison/dev > # jail -c path=3D/usr/prison host.hostname=3DServeurWeb ip4.addr=3D192.1.= 1.1 persist > # jail /usr/prison ServeurWeb 192.1.1.1 csh You should use the full path name of the program you want to run. # jail /usr/prison ServeurWeb 192.1.1.1 /bin/csh If you want to start the rc system in the jail; # jail /usr/prison ServeurWeb 192.1.1.1 /bin/sh /etc/rc I've detailed my setpup on a webpage. Maybe it will be of use to you; http://www.xs4all.nl/~rsmith/unix/misc.xhtml#creatingavirtualserveronfreebs= dwithajail8 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) --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxhT1IACgkQEnfvsMMhpyWYBACfSmJI4+xnqLsRqD0ALViXOxOk 7r0Ani9XJ39b0ZkJt0c43UU8pg/K8DhU =FNve -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 13:13:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB621065670 for ; Tue, 10 Aug 2010 13:13:50 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 257A18FC14 for ; Tue, 10 Aug 2010 13:13:49 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7ADDiH6001410; Tue, 10 Aug 2010 15:13:44 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id E28D0BA98; Tue, 10 Aug 2010 15:13:43 +0200 (CEST) Date: Tue, 10 Aug 2010 15:13:43 +0200 From: Roland Smith To: Victor Ophof Message-ID: <20100810131343.GB48376@slackbox.erewhon.net> References: <4C6139AB.8020306@nagual.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org, dick@nagual.nl Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 13:13:50 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2010 at 02:37:42PM +0200, Victor Ophof wrote: >=20 > Its better to enable,=20 >=20 > but AD4 can get renamed to ada0=20 I think you should change "can" to "will". :-) > but it's easy to fix > you just need to edit the /etc/fstab to point to the newly named drives .= =2E=20 Do this _before_ rebooting! When I rebooted into single user mode to update= my laptop running 8.0 to 8.1, I couldn't edit my /etc/fstab, because my / wat mounted read-only, and I could not get it to remount as read/write! I had to boot with the old kernel (/boot/kernel.old/kernel) to be able to mount root= as read/write and fix etc/fstab! =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) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxhUIcACgkQEnfvsMMhpyWSpgCferuePugVgvbr5kj4/SgCMk3x DPoAn3RqNh4r+SFPXm/84q8dw7snrQYq =IVoB -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 13:54:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7FB71065679 for ; Tue, 10 Aug 2010 13:54:18 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 856708FC1B for ; Tue, 10 Aug 2010 13:54:18 +0000 (UTC) Received: (qmail 27379 invoked from network); 10 Aug 2010 13:54:17 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Aug 2010 13:54:17 -0000 Message-ID: <4C615A06.3020601@speakeasy.net> Date: Tue, 10 Aug 2010 06:54:14 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <268321.67123.qm@web24608.mail.ird.yahoo.com> In-Reply-To: <268321.67123.qm@web24608.mail.ird.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 13:54:18 -0000 On 8/10/2010 4:01 AM, Brice ERRANDONEA wrote: > Hello, > > I've just created my first FreeBSD jail in order to install a web server inside. > But I don't know how to connect it to the web. When I try pinging a http > website, it doesn't work. Of course, it works when I do it from outside the > jail. > > Another problem, probably linked to the first one, I can't run rc within the > jail, even as the jail's root. It says : permission denied. > > Here's how I built and started my jail. I had already run make buildworld when > upgrading to 8.1 release : > > # mkdir /usr/prison > # cd /usr/src > # make installworld DESTDIR=/usr/prison > # make distribution DESTDIR=/usr/prison > # mount -t devfs devfs /usr/prison/dev > # jail -c path=/usr/prison host.hostname=ServeurWeb ip4.addr=192.1.1.1 persist > # jail /usr/prison ServeurWeb 192.1.1.1 csh > > I guess this must be a very basic question but please help me. > I would highly recommend ezjail for setting up jails. Although you should still read the handbook on jails so you understand the overall mechanics. Reading ezjails man page makes it very easy to setup and deploy new jails in the future. The only thing you need to do inside a jail setup with ezjail to connect to the web is put nameservers in /etc/resolv.conf For setting it up on your host system you can do something like this (there are a couple of ways you can do it, I've just found this to be the most portable). host rc.conf #Put jail on loopback device cloned_interfaces="lo1" ifconfig_lo1="inet 10.1.1.1 netmask 255.255.255.0" # Enable port forwarding and packet filtering gateway_enable="YES" pf_enable="YES" pf_rules="/etc/pf.conf" # Jails ezjail_enable="YES" host pf.conf, find your interface name via ifconfig #INTERFACES ext_if="em0" # nat from jails to your network cards ip nat on $ext_if from 10.1.1.0/24 to any -> XXX.XXX.XXX.XXX Here are some resource I found helpful when I was setting up jails for the first time. Be aware some ezjail tutorials are really old and you should read the man page first as that is current. http://www2.budzien.com/wiki/Wiki.jsp?page=UsingEzJail http://wael.nasreddine.com/blog/jail-servers.html http://www.jeroen.se/articles/freebsd_jail_laptop_dhcp.php From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:02:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2342106566B for ; Tue, 10 Aug 2010 14:02:05 +0000 (UTC) (envelope-from djr@pdconsec.net) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id 30FDF8FC13 for ; Tue, 10 Aug 2010 14:02:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8FAE/3YEyWZcBC/2dsb2JhbACTYY1nwx6FOgSMCA Received: from goliath.pdconsec.net (HELO smtp.pdconsec.net) ([150.101.192.66]) by ipmail04.adl6.internode.on.net with SMTP; 10 Aug 2010 23:32:03 +0930 Received: from mail1.pdconsec.net ([192.168.1.41] helo=mail1.pdconsec.net) with IPv4:25 by smtp.pdconsec.net; 11 Aug 2010 00:02:01 +1000 Received: from smtp.pdconsec.net ([192.168.1.32] RDNS failed) by mail1.pdconsec.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Aug 2010 00:00:52 +1000 Received: from [10.14.6.41] ([150.101.192.69] helo=[10.14.6.41]) with IPv4:10025 by smtp.pdconsec.net; 11 Aug 2010 00:01:59 +1000 Message-ID: <4C615B94.3010207@pdconsec.net> Date: Wed, 11 Aug 2010 00:00:52 +1000 From: David Rawling User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> <4C5ECF42.20509@nagual.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Aug 2010 14:00:52.0689 (UTC) FILETIME=[71DE2410:01CB3894] Subject: Re: zfs 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, 10 Aug 2010 14:02:05 -0000 On 9/08/2010 2:52 AM, krad wrote: > On 8 August 2010 16:51, Adam Vande More wrote: >> On Sun, Aug 8, 2010 at 10:37 AM, Dick Hoogendijk wrote: >>> On 8-8-2010 14:27, Matthew Seaman wrote: >>>> Yes. It works very well. >>>> On amd64 you'll get a pretty reasonable setup out of the box (so to >>>> speak) which will work fine for most purposes. >>> One other thing comes to mind. I want a very robus, fast rockl solid >>> *server* >>> It will be a file- email and webserver mostly. >>> >>> Instead of using two ZFS mirrors I could also go for gmirror (I'm not >>> familiar with it, but it's been around for quite some time so it should >> be >>> very stable). I don't get the data integrity that way, but my files would >> be >>> safe, no? >>> >>> Also, using gmirror I could use "normal" BSD UFS filesystems and normal >>> swap files devided across all disks? >>> Or am I wrong, thinking this way. >>> >>> I'm not into fancy stuff; it has to be robust, fast and safe. >> >> You do not *need* amd64, however it would the best choice. I wouldn't even >> mess around with gmirror. It's great and I love it, but it has some >> serious >> drawback's compared to zfs mirroring. One is there is no integrity >> checking, and two is a full resyc is required on an unclean disconnect. >> >> http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror >> >> -- >> Adam Vande More > you could add a gjournal layer in there as well for better data integratity. > I think you can do softupdates + journal as well now although I have never > used it If you're after a rock solid server, then to be brutally honest it is less important to decide what you run than it is to choose something that you know well. Since you have 4 years of Solaris/OpenSolaris experience recently, you are likely to know ZFS better than gmirror. So I ask you to ponder - at four o'clock in the morning, with mail down, web servers down and all the disks holding your files failing to mount - which file system or disk structure would you prefer to try to troubleshoot? Dave. -- David Rawling Principal Consultant PD Consulting And Security Mob: +61 412 135 513 Email: djr@pdconsec.net From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:15:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC96106564A for ; Tue, 10 Aug 2010 14:15:49 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id CDB028FC22 for ; Tue, 10 Aug 2010 14:15:48 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0C0951; Tue, 10 Aug 2010 16:17:32 +0200 Message-ID: <4C615F19.108@nagual.nl> Date: Tue, 10 Aug 2010 16:15:53 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C5E9874.3030606@nagual.nl> <4C5EA29B.7040401@infracaninophile.co.uk> <4C5ECF42.20509@nagual.nl> <4C615B94.3010207@pdconsec.net> In-Reply-To: <4C615B94.3010207@pdconsec.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: zfs 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, 10 Aug 2010 14:15:49 -0000 On 10-8-2010 16:00, David Rawling wrote: > On 9/08/2010 2:52 AM, krad wrote: > So I ask you to ponder - at four o'clock in the morning, with mail > down, web servers down and all the disks holding your files failing to > mount - which file system or disk structure would you prefer to try to > troubleshoot? ZFS. No question about it. Thank you for this eye opener. ;-) From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:21:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E6A3106566B for ; Tue, 10 Aug 2010 14:21:26 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 980E78FC1E for ; Tue, 10 Aug 2010 14:21:25 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0A19B4; Tue, 10 Aug 2010 16:23:10 +0200 Message-ID: <4C61606B.7000104@nagual.nl> Date: Tue, 10 Aug 2010 16:21:31 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: GEOM GPT table is corrupt. Recover? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 14:21:26 -0000 I wanted to install ZFS on two 1Tb harddisks. I did a fdisk -I /dev/ad12 to begin with, but: GEOM: ad12: the primary GPT table is corrupt or invalid GEOM: ad12: using the secondary instead -- recovery strongly advised. OK, I want to follow up on this advice, but HOW? The "corruption" probably comes from the fact these disks were used fully as ZFS mirror under OpenSolaris with an EFI label. What's the best way to restore these disks to be fully used under FreeBSD (w/ ZFS). From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:25:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1031065678 for ; Tue, 10 Aug 2010 14:25:13 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from lon1-post-3.mail.demon.net (lon1-post-3.mail.demon.net [195.173.77.150]) by mx1.freebsd.org (Postfix) with ESMTP id 27C738FC0C for ; Tue, 10 Aug 2010 14:25:12 +0000 (UTC) Received: from dyn-62-56-94-96.dslaccess.co.uk ([62.56.94.96] helo=[192.168.33.1]) by lon1-post-3.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1OiplQ-0005cE-ck for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 14:25:12 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Tue, 10 Aug 2010 15:25:11 +0100 MIME-Version: 1.0 Message-ID: <4C616147.30562.14C2991@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: <4C60F3CB.6090204@speakeasy.net> References: , <4C60F3CB.6090204@speakeasy.net> X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 14:25:13 -0000 On 8/9/2010 8:13 PM, Matt Emmerton wrote: > Hi all, > > I'm in the middle of dealing with a SSH brute force attack that is > relentless. I'm working on getting sshguard+ipfw in place to deal > with it, but in the meantime, my box is getting pegged because sshd > is accepting some connections which are getting stuck in [accepted] > state and eating CPU. > > I know there's not much I can do about the brute force attacks, but > will upgrading openssh avoid these stuck connections? > > root 39127 35.2 0.1 6724 3036 ?? Rs 11:10PM 0:37.91 > sshd: [accepted] (sshd) root 39368 33.6 0.1 6724 3036 ?? Rs > 11:10PM 0:22.99 sshd: [accepted] (sshd) root 39138 33.1 0.1 > 6724 3036 ?? Rs 11:10PM 0:41.94 sshd: [accepted] (sshd) root > 39137 32.5 0.1 6724 3036 ?? Rs 11:10PM 0:36.56 sshd: > [accepted] (sshd) root 39135 31.0 0.1 6724 3036 ?? Rs > 11:10PM 0:35.09 sshd: [accepted] (sshd) root 39366 30.9 0.1 > 6724 3036 ?? Rs 11:10PM 0:23.01 sshd: [accepted] (sshd) root > 39132 30.8 0.1 6724 3036 ?? Rs 11:10PM 0:35.21 sshd: > [accepted] (sshd) root 39131 30.7 0.1 6724 3036 ?? Rs > 11:10PM 0:38.07 sshd: [accepted] (sshd) root 39134 30.2 0.1 > 6724 3036 ?? Rs 11:10PM 0:40.96 sshd: [accepted] (sshd) root > 39367 29.3 0.1 6724 3036 ?? Rs 11:10PM 0:22.08 sshd: > [accepted] (sshd) > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME > WCPU > COMMAND > 39597 root 1 103 0 6724K 3036K RUN 3 0:28 > 35.06% sshd 39599 root 1 103 0 6724K 3036K RUN > 0 0:26 34.96% sshd 39596 root 1 103 0 6724K 3036K > RUN 0 0:27 34.77% sshd 39579 root 1 103 0 > 6724K 3036K CPU3 3 0:28 33.69% sshd 39592 root 1 > 102 0 6724K 3036K RUN 2 0:27 32.18% sshd 39591 root > 1 102 0 6724K 3036K CPU2 2 0:27 31.88% sshd > > -- > Matt Emmerton Hi. There is a cracking/DoS technique, that tries to exhaust a servers resources, by continualy issuing connect requests, in the hope that when the stack croaks in some way, it'll somehow drop it's guard, or go off air permanently. Have you upset anyone recently? Can you not move your services to non standard IP ports, moving away from the standard ports, where all the script kiddies & bots hang out, or are your clients cast in concrete? I've got FTP, Web and SSH systems running on two sites, on very non standard ports, with next to no one "trying" to get in as a result, but maintaining full visibility to the clients that need them, and know where they are! All my standard ports (80, 21, 22 etc) show as non existant to the outside world, except on one site, where the mail server is continualy getting hammered, but the site's ISP say they cant forward mail to any other port. The users have no problems, so long as I correctly specify the port with the address to them, as in 'address:port' if I send them a link etc, or an example how to fill in a connection dialog. DJB. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:35:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2048C1065670 for ; Tue, 10 Aug 2010 14:35:44 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 872988FC0A for ; Tue, 10 Aug 2010 14:35:43 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o7AENTQU080736; Tue, 10 Aug 2010 15:23:29 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4C6160E1.4080305@qeng-ho.org> Date: Tue, 10 Aug 2010 15:23:29 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> In-Reply-To: <20100810131343.GB48376@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dick@nagual.nl Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 14:35:44 -0000 On 08/10/10 14:13, Roland Smith wrote: > On Tue, Aug 10, 2010 at 02:37:42PM +0200, Victor Ophof wrote: >> >> Its better to enable, >> >> but AD4 can get renamed to ada0 > > I think you should change "can" to "will". :-) > >> but it's easy to fix >> you just need to edit the /etc/fstab to point to the newly named drives .. > > Do this _before_ rebooting! When I rebooted into single user mode to update my > laptop running 8.0 to 8.1, I couldn't edit my /etc/fstab, because my / wat > mounted read-only, and I could not get it to remount as read/write! I had to > boot with the old kernel (/boot/kernel.old/kernel) to be able to mount root as > read/write and fix etc/fstab! If you're in single user mode "mount -uw /" will make / (and thus /etc/fstab) writable, although your choice of editors is restricted to /bin/ed and /rescue/{ex,vi}. Alternatively, before switching to the ahci driver, label all your partitions and mount them using their labels rather than device names. That way the change in device names won't matter. Just be careful of the gotcha with labelling the root partition. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:52:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65122106566B for ; Tue, 10 Aug 2010 14:52:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id D3CEA8FC1D for ; Tue, 10 Aug 2010 14:52:18 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7AEqCWZ035532; Tue, 10 Aug 2010 16:52:12 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 0DF52BA98; Tue, 10 Aug 2010 16:52:12 +0200 (CEST) Date: Tue, 10 Aug 2010 16:52:12 +0200 From: Roland Smith To: Arthur Chance Message-ID: <20100810145211.GA51287@slackbox.erewhon.net> References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> <4C6160E1.4080305@qeng-ho.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <4C6160E1.4080305@qeng-ho.org> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org, dick@nagual.nl Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 14:52:19 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2010 at 03:23:29PM +0100, Arthur Chance wrote: > If you're in single user mode "mount -uw /" will make / (and thus=20 > /etc/fstab) writable, although your choice of editors is restricted to=20 > /bin/ed and /rescue/{ex,vi}. Of course I tried that, and it did _not_ work! I'm not sure why, but it was when running a 8.0-RELEASE userland on a 8.1-RELEASE kernel. (I was trying = to run 'make installworld' after booting in single user mode during the upgrade process). After booting with the old 8.0 kernel it did work! > Alternatively, before switching to the ahci driver, label all your=20 > partitions and mount them using their labels rather than device names. This is probably a better idea. But people should note the difference between using 'tunefs -L' and 'glabel label'! The latter uses the last section of t= he provider to store metadata, so in that case one should _only_ create a filesystem on the labeled device! =20 > That way the change in device names won't matter. Just be careful of the= =20 > gotcha with labelling the root partition. What do you mean? 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) --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxhZ5sACgkQEnfvsMMhpyWFkgCcDeqS2WGN5FQUWlttCa1RYsej S3YAniynA+PzD4yX008XFLWJzQW7MXb1 =q6Ka -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:12:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AEE31065670 for ; Tue, 10 Aug 2010 15:12:19 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 455FC8FC0C for ; Tue, 10 Aug 2010 15:12:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o7AFCE4v068897; Wed, 11 Aug 2010 01:12:15 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 11 Aug 2010 01:12:14 +1000 (EST) From: Ian Smith To: Matt Emmerton In-Reply-To: <20100810033937.BBD851065784@hub.freebsd.org> Message-ID: <20100810230031.L66749@sola.nimnet.asn.au> References: <20100810033937.BBD851065784@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: James Harrison , freebsd-questions@freebsd.org Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 15:12:19 -0000 In freebsd-questions Digest, Vol 323, Issue 3, Message: 35 On Mon, 9 Aug 2010 23:36:57 -0400 "Matt Emmerton" wrote: > > > I know there's not much I can do about the brute force attacks, but will > > > upgrading openssh avoid these stuck connections? > > > > 1. switch over to using solely RSA keys > > In the works; I have too many users to convert :( > > > 2. switch to a non-standard port > > This is not attractive, even though it would be effective. I tried this > once already and my support volume skyrocketed so I had to switch back. Matt, I've seen later responses; portknocking, tcpwrappers + denyhosts etc. The latter works, well but keeping lists of $badguys updated is becoming more intensive all the time against botnets. If you're in a position to permit only connections from a table of IP addresses, maybe subnets, there's lots you can do to block connections from elsewhere before they get to sshd (or tcpwrappers), eg with ipfw: ipfw add $rule allow tcp from "table(22)" to me 22 in recv $ext_if setup ipfw add deny $logifdesired tcp from any to me 22 in recv $ext_if setup Add keep-state, or earlier allow established connections, to taste. For users with varying IPs you can have them do a (say) POP mail ckeck or anything requiring auth, tail its log either live or from a maybe 5 minute cronjob to add $goodguys table entries, simple scripting and it's not too onerous training roaming users to (eg) check mail before login. Adding `date "+%s"` as the value for added table entries, it's easy enough deleting dynamic entries after some period of time, by cron. If you can't limit connections to just $goodguys for logistic reasons you can at least use ipfw 'limit' rules to allow only say one or two ssh connections from one IP, which should help the open connections issue. You could also impose connection limits running sshd from inetd(8): [/max-child[/max-connections-per-ip-per-minute[/max-child-per-ip]]] HTH, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:33:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891DF1065673 for ; Tue, 10 Aug 2010 15:33:53 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg20.ifdnrg.com (outbound.ifdnrg.com [195.66.148.241]) by mx1.freebsd.org (Postfix) with ESMTP id 3DC408FC1D for ; Tue, 10 Aug 2010 15:33:52 +0000 (UTC) Received: from [192.168.1.131] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg20.ifdnrg.com (8.14.4/8.14.3) with ESMTP id o7AFXpij052207 for ; Tue, 10 Aug 2010 16:33:51 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4C61715A.8010402@ifdnrg.com> Date: Tue, 10 Aug 2010 16:33:46 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: , <4C60F3CB.6090204@speakeasy.net> <4C616147.30562.14C2991@dave.g8kbv.demon.co.uk> In-Reply-To: <4C616147.30562.14C2991@dave.g8kbv.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 15:33:53 -0000 On 10/08/2010 15:25, Dave wrote: > On 8/9/2010 8:13 PM, Matt Emmerton wrote: > >> Hi all, >> >> I'm in the middle of dealing with a SSH brute force attack that is >> relentless. I'm working on getting sshguard+ipfw in place to deal >> with it, but in the meantime, my box is getting pegged because sshd >> is accepting some connections which are getting stuck in [accepted] >> state and eating CPU. >> >> I know there's not much I can do about the brute force attacks, but >> will upgrading openssh avoid these stuck connections? >> >> root 39127 35.2 0.1 6724 3036 ?? Rs 11:10PM 0:37.91 >> sshd: [accepted] (sshd) root 39368 33.6 0.1 6724 3036 ?? Rs >> 11:10PM 0:22.99 sshd: [accepted] (sshd) root 39138 33.1 0.1 >> 6724 3036 ?? Rs 11:10PM 0:41.94 sshd: [accepted] (sshd) root >> 39137 32.5 0.1 6724 3036 ?? Rs 11:10PM 0:36.56 sshd: >> [accepted] (sshd) root 39135 31.0 0.1 6724 3036 ?? Rs >> 11:10PM 0:35.09 sshd: [accepted] (sshd) root 39366 30.9 0.1 >> 6724 3036 ?? Rs 11:10PM 0:23.01 sshd: [accepted] (sshd) root >> 39132 30.8 0.1 6724 3036 ?? Rs 11:10PM 0:35.21 sshd: >> [accepted] (sshd) root 39131 30.7 0.1 6724 3036 ?? Rs >> 11:10PM 0:38.07 sshd: [accepted] (sshd) root 39134 30.2 0.1 >> 6724 3036 ?? Rs 11:10PM 0:40.96 sshd: [accepted] (sshd) root >> 39367 29.3 0.1 6724 3036 ?? Rs 11:10PM 0:22.08 sshd: >> [accepted] (sshd) >> >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME >> WCPU >> COMMAND >> 39597 root 1 103 0 6724K 3036K RUN 3 0:28 >> 35.06% sshd 39599 root 1 103 0 6724K 3036K RUN >> 0 0:26 34.96% sshd 39596 root 1 103 0 6724K 3036K >> RUN 0 0:27 34.77% sshd 39579 root 1 103 0 >> 6724K 3036K CPU3 3 0:28 33.69% sshd 39592 root 1 >> 102 0 6724K 3036K RUN 2 0:27 32.18% sshd 39591 root >> 1 102 0 6724K 3036K CPU2 2 0:27 31.88% sshd >> >> -- >> Matt Emmerton > Hi. > > There is a cracking/DoS technique, that tries to exhaust a servers > resources, by continualy issuing connect requests, in the hope that > when the stack croaks in some way, it'll somehow drop it's guard, or > go off air permanently. Have you upset anyone recently? > > Can you not move your services to non standard IP ports, moving away > from the standard ports, where all the script kiddies& bots hang > out, or are your clients cast in concrete? > > I've got FTP, Web and SSH systems running on two sites, on very non > standard ports, with next to no one "trying" to get in as a result, > but maintaining full visibility to the clients that need them, and > know where they are! All my standard ports (80, 21, 22 etc) show as > non existant to the outside world, except on one site, where the > mail server is continualy getting hammered, but the site's ISP say > they cant forward mail to any other port. > I'm in agreement with dave here, about ssh anyway moving ssh to a non std port makes a massive difference, do it now! Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:39:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4447106566C for ; Tue, 10 Aug 2010 15:39:26 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 233EB8FC1B for ; Tue, 10 Aug 2010 15:39:25 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o7AFdOEb081964; Tue, 10 Aug 2010 16:39:24 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4C6172AC.1090400@qeng-ho.org> Date: Tue, 10 Aug 2010 16:39:24 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: Roland Smith References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> <4C6160E1.4080305@qeng-ho.org> <20100810145211.GA51287@slackbox.erewhon.net> In-Reply-To: <20100810145211.GA51287@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 15:39:26 -0000 On 08/10/10 15:52, Roland Smith wrote: > On Tue, Aug 10, 2010 at 03:23:29PM +0100, Arthur Chance wrote: [snip] >> Alternatively, before switching to the ahci driver, label all your >> partitions and mount them using their labels rather than device names. > > This is probably a better idea. > > But people should note the difference between > using 'tunefs -L' and 'glabel label'! The latter uses the last section of the > provider to store metadata, so in that case one should _only_ create a > filesystem on the labeled device! > >> That way the change in device names won't matter. Just be careful of the >> gotcha with labelling the root partition. > > What do you mean? Unless you're working from a fixit CD/DVD, if you're labelling an existing UFS root partition you have to reboot to single user mode to use "tunefs -L", and then have to reboot again to edit fstab to use the labelled device and then reboot a third time for the labelled mount to take effect. If you try to get clever, as I did, and omit the second reboot by using "mount -uw /" to make fstab editable you wipe out the partition label, and the final reboot fails miserably, telling you it can't find /dev/ufs/root (or whatever) to mount the root partition. The machine then goes into an cycle of rebooting and failing to find the root filesystem until you fix the problem. I haven't looked at the source closely, but I'd guess this is because when / is mounted r/o the kernel caches a copy of its superblock, "tunefs -L" modifies the superblock on disk, "mount -uw /" doesn't reread the disk superblock (it was read only, what could possibly have changed? :-) so the unlabelled superblock remains cached, and the next reboot writes the unlabelled cached superblock over the labelled disk superblock on shutdown. I was stupid enough to make this mistake twice a few months apart, so now instructions for labelling root partitions are part of my hard copy notes for when I may not have a machine working well enough to look at my online notes. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:42:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C85BC106566B for ; Tue, 10 Aug 2010 15:42:17 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 32F408FC22 for ; Tue, 10 Aug 2010 15:42:16 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.4/8.14.4) with ESMTP id o7AFij9s005566; Tue, 10 Aug 2010 17:44:45 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Received: from localhost (ulrich@localhost) by pukruppa.de (8.14.4/8.14.4/Submit) with ESMTP id o7AFij2r005562; Tue, 10 Aug 2010 17:44:45 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Date: Tue, 10 Aug 2010 17:44:45 +0200 (CEST) From: Peter Ulrich Kruppa To: Oliver Fromme In-Reply-To: <201008101224.o7ACOJ07070126@lurza.secnetix.de> Message-ID: References: <201008101224.o7ACOJ07070126@lurza.secnetix.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="207141057-1129263258-1281455085=:4106" Cc: freebsd-questions@freebsd.org Subject: Re: USB pen drive not detected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 15:42:17 -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. --207141057-1129263258-1281455085=:4106 Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 10 Aug 2010, Oliver Fromme wrote: > Peter Ulrich Kruppa wrote: > > I am running FreeBSD 8.1-STABLE amd64 and have got a strange problem > > when I try to attach and mount my 16 GB USB pen drive. > > # dmesg > > delivers something like > > ugen1.2: at usbus1 > > umass0: > addr 2> on usbus1 > > (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 > > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > > (probe0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:6e,17 > > (Reserved ASC/ASCQ pair) > > (probe0:umass-sim0:0:0:0): AutoSense failed > > > > No /dev/da0s1 is created and of course it can not be mounted. > > Do these commands help? > > # camcontrol reset 0 > (wait a few seconds for the reset to complete) > # camcontrol rescan 0 No, I played around with camcontrol a bit and even tried reset all and rescan all, but the pen drive won't be detected - no that's not correct: it is detected somehow but no device in /dev is created. # dmesg now delivers ugen1.2: at usbus1 umass0: on usbus1 (probe0:umass-sim0:0:0:0): AutoSense failed da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: < Spaceloop 16GB 8.07> Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 16086MB (32945152 512 byte sectors: 255H 63S/T 2050C) Regards Peter > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- > chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > "Whatever happened to the days when hacking started > at the cerebral cortex, and not at the keyboard?" > -- Sid on userfriendly.org by Illiad, 2007-06-20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > | Peter Ulrich Kruppa | Wuppertal | Germany --207141057-1129263258-1281455085=:4106-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:50:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 846D61065678 for ; Tue, 10 Aug 2010 15:50:42 +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 389B48FC22 for ; Tue, 10 Aug 2010 15:50:41 +0000 (UTC) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id 3D124FD0B3 for ; Tue, 10 Aug 2010 18:32:31 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id 3B5EFFD0B0; Tue, 10 Aug 2010 18:32:31 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-6.5 required=5.0 tests=ALL_TRUSTED,BAYES_50 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 BF3F0FD01E for ; Tue, 10 Aug 2010 18:32:28 +0300 (EEST) Message-ID: <4C61710C.7000602@zzz.ee> Date: Tue, 10 Aug 2010 18:32:28 +0300 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: ZZZ User-Agent: Thunderbird 2.0.0.24 (X11/20100405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 15:50:42 -0000 Greetings! Please help with the following issue: I am trying to mount external USB Windows disk drive to my FreeBSD system. After connecting the drive, the following log entries are created: Aug 10 18:23:56 ott kernel: ugen2.2: at usbus2 Aug 10 18:23:56 ott kernel: umass0: on usbus2 Aug 10 18:23:56 ott kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Aug 10 18:23:57 ott kernel: umass0:0:0:-1: Attached to scbus0 Aug 10 18:23:57 ott kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Aug 10 18:23:57 ott kernel: da0: Fixed Direct Access SCSI-0 device Aug 10 18:23:57 ott kernel: da0: 40.000MB/s transfers Aug 10 18:23:57 ott kernel: da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) Mounting the drive gives the following error: # mount -t msdosfs /dev/da0s1 /mnt/ mount_msdosfs: /dev/da0s1: Invalid argument In the /var/log/messages the following message appears: Aug 10 18:27:40 ott kernel: mountmsdosfs(): bad FAT32 filesystem The drive is OK and works fine with Windows. Also, USB flash thumb drives work fine, when used in the same manner with my FreeBSD. System version is 8.0-STABLE, but this is probably irrelevant here. best regards, Ott Köstner From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 15:51:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E02B1065673 for ; Tue, 10 Aug 2010 15:51:41 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id D3CE08FC19 for ; Tue, 10 Aug 2010 15:51:40 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 00178D; Tue, 10 Aug 2010 17:53:25 +0200 Message-ID: <4C617592.1050307@nagual.nl> Date: Tue, 10 Aug 2010 17:51:46 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd questions References: <4C61606B.7000104@nagual.nl> In-Reply-To: <4C61606B.7000104@nagual.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: GEOM GPT table is corrupt. Recover? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 15:51:41 -0000 On 10-8-2010 16:59, Tim Baird wrote: > dd if=/dev/zero of=/dev/ad1 bs=64k count=1 > > Then repartition with either fdisk of gpart....depending on disk size.... They are 1Tb sata2 disks and I want them fully used for ZFS. Do I need partions then? The EFI label in OpenSolaris just made the disks available for ZFS. How's that on FreeBSD? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 16:13:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2E47106567B for ; Tue, 10 Aug 2010 16:13:59 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 357D78FC22 for ; Tue, 10 Aug 2010 16:13:58 +0000 (UTC) Received: by wwb13 with SMTP id 13so1484008wwb.31 for ; Tue, 10 Aug 2010 09:13:58 -0700 (PDT) Received: by 10.227.157.198 with SMTP id c6mr15243360wbx.144.1281456837958; Tue, 10 Aug 2010 09:13:57 -0700 (PDT) Received: from antonio.localnet (204.pool85-54-51.dynamic.orange.es [85.54.51.204]) by mx.google.com with ESMTPS id i25sm5601994wbi.10.2010.08.10.09.13.56 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 09:13:57 -0700 (PDT) Message-ID: <4C617A5F.1010909@antonioshome.net> Date: Tue, 10 Aug 2010 18:12:15 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61710C.7000602@zzz.ee> In-Reply-To: <4C61710C.7000602@zzz.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 16:13:59 -0000 On 10/08/2010 17:32, Ott Köstner wrote: > [...] > > In the /var/log/messages the following message appears: > > Aug 10 18:27:40 ott kernel: mountmsdosfs(): bad FAT32 filesystem > > The drive is OK and works fine with Windows. Also, USB flash thumb > drives work fine, when used in the same manner with my FreeBSD. > System version is 8.0-STABLE, but this is probably irrelevant here. > The fact that the drive is working on Windows does not mean it's FAT32 formatted. It may as well be NTFS formatted ("man mount_ntfs"). Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. Cheers, Antonio From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 16:21:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E15BD1065673 for ; Tue, 10 Aug 2010 16:21:00 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id AAE138FC0C for ; Tue, 10 Aug 2010 16:20:57 +0000 (UTC) Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by gsicomp.on.ca (Postfix) with ESMTP id 470CFFD0529; Tue, 10 Aug 2010 16:03:35 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 92692-08; Tue, 10 Aug 2010 16:03:35 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by gsicomp.on.ca (Postfix) with SMTP id 46984FCD102; Tue, 10 Aug 2010 16:03:34 +0000 (UTC) Message-ID: <0D7E941EA64B4D9496F4D645BB1EDB52@hermes> From: "Matt Emmerton" To: "Dave" , References: , <4C60F3CB.6090204@speakeasy.net> <4C616147.30562.14C2991@dave.g8kbv.demon.co.uk> Date: Tue, 10 Aug 2010 12:03:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 16:21:01 -0000 > On 8/9/2010 8:13 PM, Matt Emmerton wrote: > >> Hi all, >> >> I'm in the middle of dealing with a SSH brute force attack that is >> relentless. I'm working on getting sshguard+ipfw in place to deal >> with it, but in the meantime, my box is getting pegged because sshd >> is accepting some connections which are getting stuck in [accepted] >> state and eating CPU. >> >> I know there's not much I can do about the brute force attacks, but >> will upgrading openssh avoid these stuck connections? > > There is a cracking/DoS technique, that tries to exhaust a servers > resources, by continualy issuing connect requests, in the hope that > when the stack croaks in some way, it'll somehow drop it's guard, or > go off air permanently. Have you upset anyone recently? Not that I know of - unless my wife counts :) > Can you not move your services to non standard IP ports, moving away > from the standard ports, where all the script kiddies & bots hang > out, or are your clients cast in concrete? Right now, they are cast in concrete. I want to move many of them to public keys, so maybe I will change the port at the same time too. > I've got FTP, Web and SSH systems running on two sites, on very non > standard ports, with next to no one "trying" to get in as a result, > but maintaining full visibility to the clients that need them, and > know where they are! All my standard ports (80, 21, 22 etc) show as > non existant to the outside world, except on one site, where the > mail server is continualy getting hammered, but the site's ISP say > they cant forward mail to any other port. I have two servers on the same IP block, and one is getting brute-forced and the other is not. I guess it's just a matter of time before the botnets seek it out. > The users have no problems, so long as I correctly specify the port > with the address to them, as in 'address:port' if I send them a link > etc, or an example how to fill in a connection dialog. I'm seriously going to consider this. -- Matt From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 16:29:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B430B10656A5 for ; Tue, 10 Aug 2010 16:29:07 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 733EE8FC23 for ; Tue, 10 Aug 2010 16:29:07 +0000 (UTC) Received: (qmail 16297 invoked from network); 10 Aug 2010 16:29:06 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 10 Aug 2010 16:29:06 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KByVPLWsiWP4 for ; Tue, 10 Aug 2010 09:29:05 -0700 (MST) Received: (qmail 16272 invoked from network); 10 Aug 2010 16:29:05 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 10 Aug 2010 16:29:05 -0000 Sender: fred Message-ID: <4C617BA6.659B26B4@blakemfg.com> Date: Tue, 10 Aug 2010 09:17:42 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Steven Susbauer References: <4C60C4D9.A6BEE6E@blakemfg.com> <4C60D596.8070405@too1337.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 16:29:07 -0000 Hello Steve, I have not had any luck installing the package manually. The file is a tar.gz which pkg_add apparently can't handle. I did download firefox.tar.gz and unpacked it. Pkg_info says it is corrupt. Changes were apparently made to this package about two weeks ago and possibly something didn't happen correctly. Should this be reported to a different mail list or should a bug report be made? Or am I mistaken? If a package needed to be installed manually, how would pkg_add know to get all the dependencies remotely? Firefox has a huge list of dependencies which would be very difficult to deal with manually. Best regards, Fred Steven Susbauer wrote: > > On 08/09/10 22:17, Fred Boatwright wrote: > > Hello, > > > > I have installed FreeBSD-8.0 from the CD and have it running ok. I have > > installed several packages including thunderbird using pkg_add -r > > package_name. When I try to install firefox I get a file unavailable > > error. The web site shows firefox-3.6.8,1 is available (i386). What > > can I do to install firefox? > > > > You can manually download the package from a mirror and then install it > with pkg_add (pkg_add firefox-3.6.8,1.tbz). > _______________________________________________ > 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 Aug 10 16:37:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F7BA106566B for ; Tue, 10 Aug 2010 16:37:21 +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 41BB68FC1F for ; Tue, 10 Aug 2010 16:37:20 +0000 (UTC) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id EC930FD0C7 for ; Tue, 10 Aug 2010 19:37:19 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id EAD9CFD0C5; Tue, 10 Aug 2010 19:37:19 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-7.4 required=5.0 tests=ALL_TRUSTED,BAYES_20 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 3BCD5FD0D8 for ; Tue, 10 Aug 2010 19:37:17 +0300 (EEST) Message-ID: <4C61803C.3050007@zzz.ee> Date: Tue, 10 Aug 2010 19:37:16 +0300 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: ZZZ User-Agent: Thunderbird 2.0.0.24 (X11/20100405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> In-Reply-To: <4C617A5F.1010909@antonioshome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 16:37:21 -0000 Antonio Vieiro wrote: > > The fact that the drive is working on Windows does not mean it's FAT32 > formatted. It may as well be NTFS formatted ("man mount_ntfs"). > > Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. > Thank You! Looks better now, but the volume is still unusable. # mount_ntfs /dev/da0s1 /mnt/ root@Ott / # mount -v|grep da0 /dev/da0s1 on /mnt (ntfs, local, fsid 7100000008000000) # df -H|grep da0 /dev/da0s1 160G 26G 134G 16% /mnt ...but all commands result with an error like this... # ls -l /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long :( Ott From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 16:41:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8EA81065675 for ; Tue, 10 Aug 2010 16:41:07 +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 60EC28FC1A for ; Tue, 10 Aug 2010 16:41:07 +0000 (UTC) Received: from beta.local (unknown [89.204.137.243]) by mail.locolomo.org (Postfix) with ESMTPSA id 209841C0871 for ; Tue, 10 Aug 2010 18:41:04 +0200 (CEST) Message-ID: <4C61811B.7070703@locolomo.org> Date: Tue, 10 Aug 2010 18:40:59 +0200 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ssh under attack - sessions in accepted state hogging 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: Tue, 10 Aug 2010 16:41:07 -0000 On 10/08/10 05.13, Matt Emmerton wrote: > I'm in the middle of dealing with a SSH brute force attack that is > relentless. I'm working on getting sshguard+ipfw in place to deal with it, > but in the meantime, my box is getting pegged because sshd is accepting some > connections which are getting stuck in [accepted] state and eating CPU. > > I know there's not much I can do about the brute force attacks, but will > upgrading openssh avoid these stuck connections? If the attack you're experiencing is trying to exhaust system resources by opening a large number of connections, then you may want to toggle these options in sshd_config: ClientAliveInterval LoginGraceTime MaxAuthTries MaxSessions MaxStartups Check the man-page. Secondly, check your logs if this attack is from a limited range of IPs, if so, you might want to try block those ranges. If your users will only connect from your country, then blocking other countries in your firewall is very effective. BR, Erik From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 16:53:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6839106566B for ; Tue, 10 Aug 2010 16:53:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 89A668FC1D for ; Tue, 10 Aug 2010 16:53:24 +0000 (UTC) Received: by qyk11 with SMTP id 11so3670670qyk.13 for ; Tue, 10 Aug 2010 09:53:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=HmzPbwARixk4IBCo+HUAVX4KlpD1rl2dVMQ/25KMCW4=; b=IChJRzzspiQFnxpj/jByWP6kx2zy4Uz27DwOIC+dgh2MwsdEKo6spnB/+PSjuHyMUZ Ql31G+J45PwiUupzO+zuOwj/7YDlpGZvPLWHLlLrsFtUGJT/tKASw5XogFlqXXu+EIi8 O1v6xLkKbhS22PP3VpkPcwIsHbADVweQhagv4= 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=Kpd/a9UhS2dtJP3oYcSLPOCYzhe6P4lLR5OCKFL8B+zig5wwASG0j+5914T8pmy1Wm sq2Q4M/xlNzC7w2QuVq0xX/hAuUCmvw1h5Fac5nYKtrOr5QoYbWzzCpBE9e7aIxpcju8 TOIs2CTLy+t3pWQHgiKt5NTbJ0iAngyI+K2IM= MIME-Version: 1.0 Received: by 10.229.232.6 with SMTP id js6mr8506396qcb.7.1281459203770; Tue, 10 Aug 2010 09:53:23 -0700 (PDT) Received: by 10.229.64.104 with HTTP; Tue, 10 Aug 2010 09:53:23 -0700 (PDT) In-Reply-To: <4C61803C.3050007@zzz.ee> References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> Date: Tue, 10 Aug 2010 11:53:23 -0500 Message-ID: From: Adam Vande More To: =?ISO-8859-1?Q?Ott_K=F6stner?= 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: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 16:53:24 -0000 On Tue, Aug 10, 2010 at 11:37 AM, Ott K=F6stner wrote: > Antonio Vieiro wrote: > >> >> The fact that the drive is working on Windows does not mean it's FAT32 >> formatted. It may as well be NTFS formatted ("man mount_ntfs"). >> >> Doublecheck you're running a FAT32 system: FreeBSD is saying you're not. >> >> Thank You! Looks better now, but the volume is still unusable. > > # mount_ntfs /dev/da0s1 /mnt/ > root@Ott / # mount -v|grep da0 > /dev/da0s1 on /mnt (ntfs, local, fsid 7100000008000000) > > # df -H|grep da0 > /dev/da0s1 160G 26G 134G 16% /mnt > > ...but all commands result with an error like this... > > # ls -l /mnt/BACKUP > ls: /mnt/BACKUP: Argument list too long > That generally means there are too many files to process via default shell memory settings. Something like: find /mnt/BACKUP should work in that case. --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 17:20:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C28491065672 for ; Tue, 10 Aug 2010 17:20:02 +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 7002C8FC16 for ; Tue, 10 Aug 2010 17:20:02 +0000 (UTC) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id 48C3BFD114 for ; Tue, 10 Aug 2010 20:20:01 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id 470B2FD105; Tue, 10 Aug 2010 20:20:01 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-12.5 required=5.0 tests=ALL_TRUSTED,BAYES_05 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 9D40DFD133 for ; Tue, 10 Aug 2010 20:19:58 +0300 (EEST) Message-ID: <4C618A3E.2050703@zzz.ee> Date: Tue, 10 Aug 2010 20:19:58 +0300 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: ZZZ User-Agent: Thunderbird 2.0.0.24 (X11/20100405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 17:20:02 -0000 Adam Vande More wrote: > On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner wrote: > > >> # df -H|grep da0 >> /dev/da0s1 160G 26G 134G 16% /mnt >> >> ...but all commands result with an error like this... >> >> # ls -l /mnt/BACKUP >> ls: /mnt/BACKUP: Argument list too long >> >> > > That generally means there are too many files to process via default shell > memory settings. Something like: > > find /mnt/BACKUP > > should work in that case. > > Yes, generally this means that there are too many files, but not in this case. Even find gives me: # find /mnt/BACKUP find: /mnt/BACKUP: Argument list too long or # ls -ld /mnt/BACKUP ls: /mnt/BACKUP: Argument list too long Some directories are not big at all. My question is, is is a FreeBSD problem here, or is there something wrong with the drive (or am I doing something wrong here)? For some reason my BSD does not want to eat that drive... ;) Ott From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 17:21:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 108611065676 for ; Tue, 10 Aug 2010 17:21:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B5EA18FC13 for ; Tue, 10 Aug 2010 17:21:04 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OisVb-0001qh-GE for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 19:21:03 +0200 Received: from pool-173-79-97-89.washdc.fios.verizon.net ([173.79.97.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Aug 2010 19:21:03 +0200 Received: from nightrecon by pool-173-79-97-89.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Aug 2010 19:21:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 10 Aug 2010 13:21:25 -0400 Lines: 59 Message-ID: References: <4C60C4D9.A6BEE6E@blakemfg.com> <4C60D596.8070405@too1337.com> <4C617BA6.659B26B4@blakemfg.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-97-89.washdc.fios.verizon.net Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 17:21:05 -0000 Fred Boatwright wrote: > Hello Steve, > > I have not had any luck installing the package manually. The file is a > tar.gz which pkg_add apparently can't handle. I did download > firefox.tar.gz and unpacked it. Pkg_info says it is corrupt. Changes > were apparently made to this package about two weeks ago and possibly > something didn't happen correctly. Should this be reported to a > different mail list or should a bug report be made? Or am I mistaken? A tar.gz is a source code tarball meant to be compiled via the ports system. pkg_add installs precompiled and packaged binary packages. Package files will have a .tbz extension. pkg_add does not operate on source code tarballs. > If a package needed to be installed manually, how would pkg_add know to > get all the dependencies remotely? Firefox has a huge list of > dependencies which would be very difficult to deal with manually. The dependency tracking is handled by the ports system, whether you are compiling with make && make install or installing prebuilt packages. A prebuilt package is just the finished product from the ports build system which someone has already run. In order to keep everything up to date, the ports tree needs to be updated and kept current. Installing from the CD/DVD is all well and good, but the ports tree is already stale at this point. Many long-time FreeBSD'ers only install the OS and the ports tree from a CD/DVD. They then immediately update the ports tree before proceeding to install software. Many dependency related problems are traceable right back to an out of date ports tree. More info on this subject is available in the Handbook. > Best regards, > > Fred > > Steven Susbauer wrote: >> >> On 08/09/10 22:17, Fred Boatwright wrote: >> > Hello, >> > >> > I have installed FreeBSD-8.0 from the CD and have it running ok. I >> > have installed several packages including thunderbird using pkg_add -r >> > package_name. When I try to install firefox I get a file unavailable >> > error. The web site shows firefox-3.6.8,1 is available (i386). What >> > can I do to install firefox? >> > >> >> You can manually download the package from a mirror and then install it >> with pkg_add (pkg_add firefox-3.6.8,1.tbz). >> _______________________________________________ Notice the .tbz here. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 17:24:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128A91065679 for ; Tue, 10 Aug 2010 17:24:41 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id E05EC8FC17 for ; Tue, 10 Aug 2010 17:24:40 +0000 (UTC) Received: (qmail 24063 invoked from network); 10 Aug 2010 17:24:40 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 10 Aug 2010 17:24:40 -0000 Received: from alphonse ([192.168.10.9] helo=alphonse.gull.us) by ringbill.gull.us with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OisZ5-0002XD-RO for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 10:24:39 -0700 Message-Id: <998D8501-AD49-4436-9D5C-E0C3A9ECC872@gull.us> From: David Brodbeck To: FreeBSD Questions In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 10 Aug 2010 10:24:39 -0700 References: X-Mailer: Apple Mail (2.936) Subject: Re: ZFS practical application? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 17:24:41 -0000 On Aug 9, 2010, at 3:40 PM, Ed Flecko wrote: > Hi folks, > I've been reading about the ZFS file system, and I'm having a hard > time understanding maybe the most practical business application(s)? > > I think I understand a little bit about it (from a conceptual > perspective) that it's a self-healing 128 bit filesystem, better data > integrity checking, etc. > > I have a small business (< 50 end users) and I'm wondering perhaps > some examples that you might think would be most applicable for a > FreeBSD server(s) and the ZFS filesystem > > One of the things that seems like might be a detriment as well as an > asset, is it's ability to expand as necessary, but then I'm wondering > what prevents the filesystem from just "running away"? You can set a quota for each filesystem that it won't grow beyond. You can also set reservations to ensure a given filesystem will get a certain amount of space, even if other filesystems grow. With intelligent use of these features you don't have to worry much about "runaway" filesystems. ZFS is very handy for situations where you have a large storage pool that you want to split up for different users and applications. It's much more flexible than a rigid partitioning scheme; you can safely and quickly resize filesystems to best use the available space. I've also found the compression feature to be quite effective on filesystems that store data that compresses well. We have an NFS share that stores mainly text, and with the default lzjb compression I've seen 1.5:1 ratios with no detectable performance hit. (Reads actually got slightly *faster*, but that may have been a testing glitch.) gzip compression achieved much higher compression ratios but started to affect performance. I expect even better results when we eventually deploy ZFS deduplication. ZFS snapshots are handy for recovering deleted user files without having to restore from backup. NB: We're currently running OpenSolaris on our fileservers but I'm going to look into switching to FreeBSD now that ZFS on FreeBSD is a bit more mature. I've gotten kind of disenchanted with OpenSolaris's slow update cycle. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 17:32:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB73106566C for ; Tue, 10 Aug 2010 17:32:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD6A78FC12 for ; Tue, 10 Aug 2010 17:32:19 +0000 (UTC) Received: by qyk32 with SMTP id 32so11084463qyk.13 for ; Tue, 10 Aug 2010 10:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=1aJYAJr/KdpDYrqCzVdPgv6/PTXIUT7sGkhg7B2hRWI=; b=D03A/FTpLrS+XE3d5Od/eJGknPwB7s6i0SlAJ0zrnlqbhZM/V9NF4CtBT4bnKrQ1uJ 7xVqdpG6G0v1v1cFSXyx3v6ChBezhRhfenog47YoZrNDuy4F/2CO4y4mn0lG5zRo8RP3 f0ygAJHCIy6yegSQaMWLN8SsKxTNUgoG1tFlA= 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=MlxAfHyw6n8TgNG3TKEHYsN4rVhX2/OkhXfL8kHAoyiTwMODZRS3QSj8+UefT3gIQD gxGxNplNifRZkIEAiXiQd7v/5OhewMxm9UYsfiEWiA/Z0+TK7cTUN6IcopSqdTaHAVXY gsw4UH+I74CDCjHUG1rZxH71F3tzMNN8nRdVw= MIME-Version: 1.0 Received: by 10.224.126.224 with SMTP id d32mr9882772qas.94.1281461538961; Tue, 10 Aug 2010 10:32:18 -0700 (PDT) Received: by 10.229.64.104 with HTTP; Tue, 10 Aug 2010 10:32:18 -0700 (PDT) In-Reply-To: <4C618A3E.2050703@zzz.ee> References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> <4C618A3E.2050703@zzz.ee> Date: Tue, 10 Aug 2010 12:32:18 -0500 Message-ID: From: Adam Vande More To: =?ISO-8859-1?Q?Ott_K=F6stner?= 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: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 17:32:20 -0000 On Tue, Aug 10, 2010 at 12:19 PM, Ott K=F6stner wrote: > Adam Vande More wrote: > >> On Tue, Aug 10, 2010 at 11:37 AM, Ott K=F6stner wrote: >> >> >> >>> # df -H|grep da0 >>> /dev/da0s1 160G 26G 134G 16% /mnt >>> >>> ...but all commands result with an error like this... >>> >>> # ls -l /mnt/BACKUP >>> ls: /mnt/BACKUP: Argument list too long >>> >>> >>> >> >> That generally means there are too many files to process via default she= ll >> memory settings. Something like: >> >> find /mnt/BACKUP >> >> should work in that case. >> >> >> > > Yes, generally this means that there are too many files, but not in this > case. Even find gives me: > > # find /mnt/BACKUP > find: /mnt/BACKUP: Argument list too long > > or > > # ls -ld /mnt/BACKUP > > ls: /mnt/BACKUP: Argument list too long > > Some directories are not big at all. My question is, is is a FreeBSD > problem here, or is there something wrong with the drive (or am I doing > something wrong here)? > For some reason my BSD does not want to eat that drive... > Apparently that's a known bug kern/136873 you can try sysutils/ntfsprogs to mount it. --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 17:59:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 703E3106566C for ; Tue, 10 Aug 2010 17:59:24 +0000 (UTC) (envelope-from frank@deze.org) Received: from xs4all.deze.org (tunnel3086.ipv6.xs4all.nl [IPv6:2001:888:10:c0e::2]) by mx1.freebsd.org (Postfix) with ESMTP id 34D208FC08 for ; Tue, 10 Aug 2010 17:59:24 +0000 (UTC) Received: from [192.168.1.2] (corfu [192.168.1.2]) by xs4all.deze.org (Postfix) with ESMTP id A3A08114C1 for ; Tue, 10 Aug 2010 19:59:22 +0200 (CEST) Message-ID: <4C61937A.301@deze.org> Date: Tue, 10 Aug 2010 19:59:22 +0200 From: Frank User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: MCA error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 17:59:24 -0000 Hi, The last 3 days, I'm getting this message on my (i386 based, FreeBSD 8.1 PRERELEASE) system (frequency about 1 time per day): MCA: Bank 2, Status 0x940040000000017a MCA: Global Cap 0x0000000000000104, Status 0x0000000000000000 MCA: Vendor "AuthenticAMD", ID 0x680, APIC ID 0 MCA: CPU 0 COR GCACHE L2 EVICT error MCA: Address 0x5f4540 I have no clue what it means. Should I be worried? Thanks, Frank From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 18:13:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BF021065744 for ; Tue, 10 Aug 2010 18:13: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 DF7D98FC15 for ; Tue, 10 Aug 2010 18:13:44 +0000 (UTC) Received: from zzz.ee (localhost.zzz.ee [127.0.0.1]) by zzz.ee (Postfix) with ESMTP id D69B2FD0E9 for ; Tue, 10 Aug 2010 21:13:43 +0300 (EEST) Received: by zzz.ee (Postfix, from userid 3019) id D4845FD0D8; Tue, 10 Aug 2010 21:13:43 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Guessed-Language: X-Spam-Status: No, score=-6.5 required=5.0 tests=ALL_TRUSTED,BAYES_50 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 A153FFD19A for ; Tue, 10 Aug 2010 21:13:40 +0300 (EEST) Message-ID: <4C6196D3.1080505@zzz.ee> Date: Tue, 10 Aug 2010 21:13:39 +0300 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: ZZZ User-Agent: Thunderbird 2.0.0.24 (X11/20100405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> <4C618A3E.2050703@zzz.ee> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP @zzz.ee Subject: Re: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 18:13:46 -0000 Adam Vande More wrote: > On Tue, Aug 10, 2010 at 12:19 PM, Ott Köstner wrote: > > >> Adam Vande More wrote: >> >> >>> On Tue, Aug 10, 2010 at 11:37 AM, Ott Köstner wrote: >>> >>> >>> # ls -ld /mnt/BACKUP >>> >>> ls: /mnt/BACKUP: Argument list too long >>> >>> Some directories are not big at all. My question is, is is a FreeBSD >>> problem here, or is there something wrong with the drive (or am I doing >>> something wrong here)? >>> For some reason my BSD does not want to eat that drive... >>> >>> > > Apparently that's a known bug kern/136873 > > you can try sysutils/ntfsprogs to mount it. > > > Thank You again, but even this does not seem to help in the first place. 1) Installed ntfsprogs-2.0.0_1 from ports. After that: # ntfsmount /dev/da0s1 /mnt/ fuse: failed to open fuse device: No such file or directory fuse_mount failed. Unmounting /dev/da0s1 (WD Passport) I can see the drive information: # ntfsinfo -m /dev/da0s1 Volume Information Name of device: /dev/da0s1 Device state: 3 Volume Name: WD Passport Volume State: 1 Volume Version: 3.1 Sector Size: 512 Cluster Size: 16384 Volume Size in Clusters: 9768020 [...snip...] 2) After that... # ntfsfix /dev/da0s1 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/da0s1 was processed successfully. 3) Trying to mount again: # ntfsmount /dev/da0s1 /mnt/ Volume is scheduled for check. Please boot into Windows TWICE, or use the 'force' option. NOTE: If you had not scheduled check and last time accessed this volume using ntfsmount and shutdown system properly, then init scripts in your distribution are broken. Please report to your distribution developers (NOT to us!) that init scripts kill ntfsmount or mount.ntfs-fuse during shutdown instead of proper umount. Mount failed. 4) UHH!!! greetings, Ott From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 19:16:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE533106567F for ; Tue, 10 Aug 2010 19:16:56 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD118FC1A for ; Tue, 10 Aug 2010 19:16:55 +0000 (UTC) Received: by qwg5 with SMTP id 5so7719623qwg.13 for ; Tue, 10 Aug 2010 12:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=JQtNlD6JFm1f53cLJvF9Vwj/aO4z5638bF6vLD9nxG0=; b=ieBkMXJyCwGeHxcyEhTPT0ED5iZq41fSM0cnz/o3gJSS9t6DeMnFi3hnRU9zr/uFC4 D60L2ngB8LQLm0tSsHp55jBa6+8YXs5LNPxWNjw/myLJv7ISGiya4OPybvt/5Db816/P 72O3uK+Swz2u/XanqqdFy1aLIcLYoavKapqfk= 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=o6WCqhEdQM6gi86Z/KE6LQuoT3o4HLVjqcucNaXARrWWFwmc2tsoSvnYEG5HmVOTlW Ng8MsRVbzJxoDMN3x1v3klNvgy4LMCjQ2SZfVq2L8xpkn5Si++Gzr3+MV9uwiYeCChvZ xbLhUnJKefiXPOo/0jOicR1sgPB6HIzOfq1lE= Received: by 10.224.1.42 with SMTP id 42mr10029306qad.91.1281467815300; Tue, 10 Aug 2010 12:16:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.75 with HTTP; Tue, 10 Aug 2010 12:16:25 -0700 (PDT) In-Reply-To: <4C6196D3.1080505@zzz.ee> References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> <4C618A3E.2050703@zzz.ee> <4C6196D3.1080505@zzz.ee> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Tue, 10 Aug 2010 21:16:25 +0200 Message-ID: To: =?ISO-8859-1?Q?Ott_K=F6stner?= 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: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 19:16:56 -0000 "or use the 'force' option" ntfsmount -o force, or something like that then, it would mount normally (without forcing) btw, I didn't check, is ntfsprogs' mkntfs (or whatever the name) working now? Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Tue, Aug 10, 2010 at 8:13 PM, Ott K=F6stner wrote: > OK > Processing of $MFT and $MFTMirr completed successfully. > NTFS volume version is 3.1. > From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 19:25:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F4C61065674 for ; Tue, 10 Aug 2010 19:25:11 +0000 (UTC) (envelope-from jjfitzgerald@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id D686A8FC17 for ; Tue, 10 Aug 2010 19:25:10 +0000 (UTC) Received: by gxk24 with SMTP id 24so4839505gxk.13 for ; Tue, 10 Aug 2010 12:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=NmufSXLAe2q+kJw0dU5gmBmfkak7TKO1S6fxeQXakxk=; b=ZjDfuLfCKflkIRGkYahy7K2VtnnJG+qrHoknQJauLF0paXiZIIBplWGV7ME1c+Zwpf ISFWb1B+DhRyeZenacnzDapnGKKHX6Igi/VmZYU+jC+7jiHIZ+IVZZenUfOcc5mAPV73 mEEogIaf3cLA4NzWeht+F7PdigGDD2NJASULM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Es14utSPkdPnI9rTNsJuzQ0Zq/zoIDkKjqatvuFjtFQuTGwN78P3WFVWH5FTM1JIml n+rPmzyu3i9mhKw5O9oUiiFPk0TR7CKPgqIgU6Gjesw3hFEaYOcsr5eGIHOA3Re2a9qK cipsqERzZvUFNu/kNw3q8HsXDs0v6jyCDP2oA= MIME-Version: 1.0 Received: by 10.100.139.10 with SMTP id m10mr20219534and.132.1281466833229; Tue, 10 Aug 2010 12:00:33 -0700 (PDT) Received: by 10.100.133.7 with HTTP; Tue, 10 Aug 2010 12:00:33 -0700 (PDT) Date: Tue, 10 Aug 2010 15:00:33 -0400 Message-ID: From: John Fitzgerald To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ffmpeg Bus error: 10 (core dumped) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 19:25:11 -0000 Hi all, I just installed ffmpeg from ports (after a portsnap update). Running ffmpeg results in a core dump: # /usr/local/bin/ffmpeg -i myfile.flv output.flv FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers built on Aug 10 2010 14:46:32 with gcc 3.4.6 [FreeBSD] 20060305 configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-memalign-hack --cc=cc --extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug --disable-sse --disable-mmx --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --disable-libdirac --disable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --disable-libopenjpeg --disable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.19. 0 / 1.19. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 Bus error: 10 (core dumped) Here's the backtrace: # gdb `which ffmpeg` ffmpeg.core [...etc, etc....] This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `ffmpeg'. Program terminated with signal 10, Bus error. Reading symbols from /usr/local/lib/libavdevice.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libavdevice.so.1 [...etc, etc....] Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2812ea67 in ff_av_dup_packet () from /usr/local/lib/libavformat.so.1 [New LWP 100870] (gdb) bt #0 0x2812ea67 in ff_av_dup_packet () from /usr/local/lib/libavformat.so.1 Cannot access memory at address 0xbf9ffff4 Running FreeBSD 6.3-RELEASE. Any thoughts / suggestions? Thanks From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 19:43:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2B46106566B for ; Tue, 10 Aug 2010 19:43:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 447A78FC13 for ; Tue, 10 Aug 2010 19:43:08 +0000 (UTC) Received: by qwg5 with SMTP id 5so7749389qwg.13 for ; Tue, 10 Aug 2010 12:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ZZFBSrpRNh5bAHLSvIPwc3q357CJHduxjO1PazCTRXk=; b=e2TlPRMbRO+c42tVOA8TeFs4d8Os/2f5MHe7JvpY7FxqoIk8jUlXKscBTUSgD541/c zuMb6W9MbYQ67UUgcZ3B9RM8OJo9bWLvtzlu2jofMP6+mfPupgaDLmnjsg9oGUEIVr3L PtnlmiXlK8e7CNziG7z/+7VR1GO1a4IiWzLVQ= 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=cOqC2/4f1QyIdWqQZ7ue2rQn/eLfOeDKc85E2ID35kmZeYRW0gDTIiw38rSzT+Qu4q ttbIqu8cpvYMxQZ+oXHZWdR+tuFaXxvx94WWnMqzss8s+p6VnnzU9ctsKd224+9G8rsW TgmZI5SHcsRyrtoGXTn1HWMKHQ0lBhry/DOZo= MIME-Version: 1.0 Received: by 10.229.190.13 with SMTP id dg13mr8817283qcb.98.1281469388324; Tue, 10 Aug 2010 12:43:08 -0700 (PDT) Received: by 10.229.64.104 with HTTP; Tue, 10 Aug 2010 12:43:08 -0700 (PDT) In-Reply-To: <4C6196D3.1080505@zzz.ee> References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> <4C618A3E.2050703@zzz.ee> <4C6196D3.1080505@zzz.ee> Date: Tue, 10 Aug 2010 14:43:08 -0500 Message-ID: From: Adam Vande More To: =?ISO-8859-1?Q?Ott_K=F6stner?= 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: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 19:43:09 -0000 On Tue, Aug 10, 2010 at 1:13 PM, Ott K=F6stner wrote: > 2) After that... > > # ntfsfix /dev/da0s1 > Mounting volume... OK > Processing of $MFT and $MFTMirr completed successfully. > NTFS volume version is 3.1. > NTFS partition /dev/da0s1 was processed successfully. > All ntfsfix does is mark it dirty so windows with check the fs next time it mounts it. I suggest you follow ntfsmount's suggestion. --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:05:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ACEF106566B for ; Tue, 10 Aug 2010 20:05:49 +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 3B9BA8FC12 for ; Tue, 10 Aug 2010 20:05:46 +0000 (UTC) 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 o7AK5Zd6082537 for ; Tue, 10 Aug 2010 15:05:36 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201008102005.o7AK5Zd6082537@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <82535.1281470735.1@dc.cis.okstate.edu> Date: Tue, 10 Aug 2010 15:05:35 -0500 From: Martin McCormick Subject: Re: Bind9.7.1 Package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 20:05:49 -0000 I wrote to the list about building a package out of a port of bind97 and am almost there. Matthew Seaman writes: > # make package-recursive which I did after configuring and installing bind9.7.1P2. I then put all the tar balls the make created in to a directory that is put on to the new system along with the bind97 base tar ball and tried to install the package on to a brand new system with pkg_add. It acts as if I almost have it in that it does find all the tar archives but there is one last complaint which kills the whole install. I get a message about pkg-config-0.23_1 and can not seem to find anything to save from the port that contains that string or any part there of. There is obviously some other little file I need to save from somewhere, but I am not sure what to look for. Thanks. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:09:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4349A106564A for ; Tue, 10 Aug 2010 20:09:52 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id BC53D8FC12 for ; Tue, 10 Aug 2010 20:09:51 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0C6FC2; Tue, 10 Aug 2010 22:11:35 +0200 Message-ID: <4C61B215.9030603@nagual.nl> Date: Tue, 10 Aug 2010 22:09:57 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 20:09:52 -0000 FreeBSD-8.1/amd64 -> I spend all evening trying to create a ZFS mirror on my two 1Tb sata2 drives formerly used under opensolaris (zfs22) I wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped it out again; booted knoppix to create an EFI / GPT; booted into opensolaris and created a zpool (v14), but nothing, nothing did the trick. sometimes the GEOM GPT table (first / second) was bad; sometimes I saw other warnings; sometimes I *seemed* to be able to create a ZFS mirror and it *seemed* healthy. I even could write to it, but the moment I wanted to do a "zpool scrub tank" the system freezes or gave me warnings like ZFS: vdev failure, zpool=tank type=vdev.bad.label Whatever I did, I could not get rid of the errors and create a healthy zpool. It really drives me crazy, so if anyone can tell me HOW I can turn two drives into a state that I can use them for ZFS under FreeBSD, please tell me *in detail*. I love to have ZFS back (I'm really used to it on opensolaris), but it has to be safe. It cannot be that one zpool scrub halts my system. I must have done something wrong then. But what? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:26:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC5641065674 for ; Tue, 10 Aug 2010 20:26:14 +0000 (UTC) (envelope-from mr4hughz@hotmail.com) Received: from snt0-omc4-s32.snt0.hotmail.com (snt0-omc4-s32.snt0.hotmail.com [65.55.90.235]) by mx1.freebsd.org (Postfix) with ESMTP id A0AF98FC22 for ; Tue, 10 Aug 2010 20:26:14 +0000 (UTC) Received: from SNT142-DS9 ([65.55.90.200]) by snt0-omc4-s32.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 13:26:13 -0700 X-Originating-IP: [83.163.140.26] X-Originating-Email: [mr4hughz@hotmail.com] Message-ID: From: "Victor Ophof" To: "'Roland Smith'" References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> Date: Tue, 10 Aug 2010 22:26:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20100810131343.GB48376@slackbox.erewhon.net> Thread-Index: Acs4jfFL8Sw/O+SbS1asdUNy0ZKHXgAO/0Rw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-OriginalArrivalTime: 10 Aug 2010 20:26:13.0822 (UTC) FILETIME=[47230DE0:01CB38CA] Cc: freebsd-questions@freebsd.org Subject: RE: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 20:26:14 -0000 > -----Oorspronkelijk bericht----- > Van: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] Namens Roland Smith > Verzonden: dinsdag 10 augustus 2010 15:14 > Aan: Victor Ophof > CC: freebsd-questions@freebsd.org; dick@nagual.nl > Onderwerp: Re: AHCI driver > > On Tue, Aug 10, 2010 at 02:37:42PM +0200, Victor Ophof wrote: > > > > Its better to enable, > > > > but AD4 can get renamed to ada0 > > I think you should change "can" to "will". :-) > > > but it's easy to fix > > you just need to edit the /etc/fstab to point to the newly named drives > .. > > Do this _before_ rebooting! When I rebooted into single user mode to > update my > laptop running 8.0 to 8.1, I couldn't edit my /etc/fstab, because my / wat > mounted read-only, and I could not get it to remount as read/write! I had > to > boot with the old kernel (/boot/kernel.old/kernel) to be able to mount > root as > read/write and fix etc/fstab! There is a trick on the web, Something with mount -u then mount -a .. but the next link sounds better :) http://www.wonkity.com/~wblock/docs/html/ahci.html > Roland > -- > 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) From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:30:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2C65106567D for ; Tue, 10 Aug 2010 20:30:36 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 63EAE8FC1E for ; Tue, 10 Aug 2010 20:30:36 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0C2BE1; Tue, 10 Aug 2010 22:32:20 +0200 Message-ID: <4C61B6F2.2070307@nagual.nl> Date: Tue, 10 Aug 2010 22:30:42 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Questions X-AxigenSpam-Level: 4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS woes 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 20:30:37 -0000 In addition to my former message, would a total cleaning of both harddrives be usefull? I.e. by running "|dd if=/dev/zero of=/dev/ad12" or "||dd if=/dev/urandom of=/dev/ad12" | From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:48:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37F641065674 for ; Tue, 10 Aug 2010 20:48:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 966ED8FC14 for ; Tue, 10 Aug 2010 20:48:09 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7AKm5m1055523 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 21:48:05 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C61BAFD.5050004@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 21:47:57 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Michael Powell References: <4C60C4D9.A6BEE6E@blakemfg.com> <4C60D596.8070405@too1337.com> <4C617BA6.659B26B4@blakemfg.com> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6C1A1D2F336865C3476CCE55" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 20:48:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6C1A1D2F336865C3476CCE55 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/08/2010 18:21:25, Michael Powell wrote: > A tar.gz is a source code tarball meant to be compiled via the ports sy= stem.=20 > pkg_add installs precompiled and packaged binary packages. Package file= s=20 > will have a .tbz extension. pkg_add does not operate on source code=20 > tarballs. All pkgs have a .tbz suffix -- true, at least since about 6.0-RELEASE. Not everything with a .tbz suffix is a FreeBSD pkg though. .tbz is short for .tar.bz2, and there are plenty of source tarballs around distributed with a .tbz extension. =2Etgz is similar shorthand for .tar.gz. If you go and look, you can fin= d a bunch of other compression programs applied to tar archives and used for distributing stuff. The best way to tell if what you're looking at is a FreeBSD package is to run pkg_info against it: pkg_info -a foo-1.0.0.tbz Of course, having downloaded the pkg from the packages directory tree on one of the FreeBSD FTP servers is a pretty big hint as well. As is finding it in /usr/ports/packages/All. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig6C1A1D2F336865C3476CCE55 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAkxhuwUACgkQ8Mjk52CukIzX7wCfQ469327zHsK9q1wKRbGBwekj G5IAmMir8kKC6H0eW3ZuEaVW8uECurg= =MxNG -----END PGP SIGNATURE----- --------------enig6C1A1D2F336865C3476CCE55-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:49:18 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F203D1065678 for ; Tue, 10 Aug 2010 20:49:18 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 76BDA8FC28 for ; Tue, 10 Aug 2010 20:49:18 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7AKn0RQ091432; Tue, 10 Aug 2010 22:49:15 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7AKmxP1091431; Tue, 10 Aug 2010 22:48:59 +0200 (CEST) (envelope-from olli) Date: Tue, 10 Aug 2010 22:48:59 +0200 (CEST) Message-Id: <201008102048.o7AKmxP1091431@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, frank@deze.org In-Reply-To: <4C61937A.301@deze.org> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Tue, 10 Aug 2010 22:49:15 +0200 (CEST) Cc: Subject: Re: MCA error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, frank@deze.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 20:49:19 -0000 Frank wrote: > The last 3 days, I'm getting this message on my (i386 based, FreeBSD 8.1 > PRERELEASE) system (frequency about 1 time per day): > > MCA: Bank 2, Status 0x940040000000017a > MCA: Global Cap 0x0000000000000104, Status 0x0000000000000000 > MCA: Vendor "AuthenticAMD", ID 0x680, APIC ID 0 > MCA: CPU 0 COR GCACHE L2 EVICT error > MCA: Address 0x5f4540 > > I have no clue what it means. Should I be worried? Yes. MCA means Machine Check Architecture. It reports an error in the hardware, in this case in the L2 cache of the processor. The word "COR" means that the error was correctable (e.g. with ECC mechanisms), so it is not fatal yet. Do you overclock that processor? Did you check that the cooling is sufficient? I.e. check the fan, remove dust etc. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Software gets slower faster than hardware gets faster." -- Niklaus Wirth From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 20:55:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 137C71065679 for ; Tue, 10 Aug 2010 20:55:28 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id A6FEA8FC1E for ; Tue, 10 Aug 2010 20:55:27 +0000 (UTC) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1Oivr4-0004yz-CJ; Tue, 10 Aug 2010 21:55:26 +0100 Received: from [94.168.170.153] (helo=Mercury.galaxy.lan.lcl) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1Oivqg-00063m-VB; Tue, 10 Aug 2010 21:55:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Tue, 10 Aug 2010 21:55:02 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> In-Reply-To: <4C61B215.9030603@nagual.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS woes Thread-Index: Acs4yCizdYHai8f4RpaIfZ/+R13bjQABaLIQ References: <4C61B215.9030603@nagual.nl> From: "Graeme Dargie" To: "Dick Hoogendijk" , "FreeBSD Questions" Cc: Subject: RE: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 20:55:28 -0000 -----Original Message----- From: Dick Hoogendijk [mailto:dick@nagual.nl]=20 Sent: 10 August 2010 21:10 To: FreeBSD Questions Subject: ZFS woes FreeBSD-8.1/amd64 -> I spend all evening trying to create a ZFS mirror on my two 1Tb sata2 drives formerly used under opensolaris (zfs22) I=20 wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped=20 it out again; booted knoppix to create an EFI / GPT; booted into=20 opensolaris and created a zpool (v14), but nothing, nothing did the trick. sometimes the GEOM GPT table (first / second) was bad; sometimes I saw=20 other warnings; sometimes I *seemed* to be able to create a ZFS mirror=20 and it *seemed* healthy. I even could write to it, but the moment I=20 wanted to do a "zpool scrub tank" the system freezes or gave me warnings like ZFS: vdev failure, zpool=3Dtank type=3Dvdev.bad.label Whatever I did, I could not get rid of the errors and create a healthy=20 zpool. It really drives me crazy, so if anyone can tell me HOW I can=20 turn two drives into a state that I can use them for ZFS under FreeBSD,=20 please tell me *in detail*. I love to have ZFS back (I'm really used to it on opensolaris), but it=20 has to be safe. It cannot be that one zpool scrub halts my system. I=20 must have done something wrong then. But what? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I could be over simplifying what you are trying to do, but seen as you did not mention it what was wrong with Freebsd and zpool create tank mirror device1 device2=20 If you are getting warnings about the drives being part of a previous pool and you are not fussed about the data on the drives try using the manufactures diagnostics to do low level format then create your pool. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:01:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1016C106564A for ; Tue, 10 Aug 2010 21:01:42 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 943EF8FC21 for ; Tue, 10 Aug 2010 21:01:41 +0000 (UTC) Received: by eyh6 with SMTP id 6so4752750eyh.13 for ; Tue, 10 Aug 2010 14:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=pArJtRIRv7rt5R1xCLgY7mn8todfSTpzktNq4KmRUcI=; b=gDsrjiRDwXC0iIAm4aqXVn+6rfh1EbtCXZ2kYz0aOLlLCH3B5TN9RP9KmGZ48Qof1y TfSu4KvIv4E5xm49CxAawSZmraDJV2vgfHtNh+3p27P8UV9o4ekmn+MiJRFxPxT2r1LH +LfkRFkYFNqRq7sD/tCXU12kMvwTAnrSTzOIg= 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=CI5jgPs8A96Aj+rUMIekFN4NFrmR+uCpvuXmBktd7ESsLlCfk/iFVP0x+eP7pJSkTG 8mxKLe+BOD/PACshn2C1LuQgTKuYDXReijZrJuXt9BmSTKuFFMEWwj+GeFVEUwJ+yTka rp3ppHieTgPDnYl2VCiO5fU/S9S7VsPm0t5dA= MIME-Version: 1.0 Received: by 10.213.29.196 with SMTP id r4mr4849586ebc.31.1281474100446; Tue, 10 Aug 2010 14:01:40 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 14:01:40 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Aug 2010 14:01:40 -0700 X-Google-Sender-Auth: D5yxdlbPbRPsotY6OslNYoAOuaQ Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Chris Maness Subject: Re: ftp login failing after upgrade to 8.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: Tue, 10 Aug 2010 21:01:42 -0000 I just upgraded to FreeBSD 8.1 and my regular user name seems to be disallowed for ftp. =A0I checked and my name or group does not seem to show up in ftpusers. =A0Any suggestions as to what might have happened? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:08:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A807F1065673 for ; Tue, 10 Aug 2010 21:08:32 +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 12C3D8FC0C for ; Tue, 10 Aug 2010 21:08:31 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7AL8Gwa055825 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 22:08:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C61BFB9.2010105@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 22:08:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Martin McCormick References: <201008102005.o7AK5Zd6082537@dc.cis.okstate.edu> In-Reply-To: <201008102005.o7AK5Zd6082537@dc.cis.okstate.edu> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDBA64CCC8ACBFFBF0AB3537E" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Bind9.7.1 Package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:08:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDBA64CCC8ACBFFBF0AB3537E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/08/2010 21:05:35, Martin McCormick wrote: > I get a message about=20 > pkg-config-0.23_1 >=20 > and can not seem to find anything to save from the port that > contains that string or any part there of. >=20 > There is obviously some other little file I need to save > from somewhere, but I am not sure what to look for. pkg-config was probably already installed on your build machine before you did 'make package-recursive' and since the ports won't reinstall exactly the same thing again, that would have prevented it being packaged. The fact that you have to (re)install a port before you can make a package from it is considered a fairly big flaw, and there are proposals under consideration to modify that behaviour -- OpenBSD's ports system is frequently cited as an example of how such things should work. The solution is probably to create a package directly from what's already installed: # pkg_create -b pkg-config-0.23_1 pkg-config is an indirect dependency for bind -- it's required by security/openssl and textproc/libxml2 either of which bind are optional dependencies for dns/bind97. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDBA64CCC8ACBFFBF0AB3537E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhv8AACgkQ8Mjk52CukIzWVQCfSYM3zJgoMsaoqn8ZGrtQfohH EyUAni3/wkyegqD6c2HPUvMKAUipyjez =itwi -----END PGP SIGNATURE----- --------------enigDBA64CCC8ACBFFBF0AB3537E-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:10:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C9EE1065675 for ; Tue, 10 Aug 2010 21:10:46 +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 795238FC1B for ; Tue, 10 Aug 2010 21:10:45 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7ALAfkD055883 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 22:10:41 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C61C051.9020705@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 22:10:41 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Michael Powell References: <4C60C4D9.A6BEE6E@blakemfg.com> <4C60D596.8070405@too1337.com> <4C617BA6.659B26B4@blakemfg.com> <4C61BAFD.5050004@infracaninophile.co.uk> In-Reply-To: <4C61BAFD.5050004@infracaninophile.co.uk> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFCF7D51D9F1E384DE6526BAB" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: firefox install problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 21:10:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFCF7D51D9F1E384DE6526BAB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/08/2010 21:47:57, Matthew Seaman wrote: > On 10/08/2010 18:21:25, Michael Powell wrote: >> A tar.gz is a source code tarball meant to be compiled via the ports s= ystem.=20 >> pkg_add installs precompiled and packaged binary packages. Package fil= es=20 >> will have a .tbz extension. pkg_add does not operate on source code=20 >> tarballs. >=20 > All pkgs have a .tbz suffix -- true, at least since about 6.0-RELEASE. > Not everything with a .tbz suffix is a FreeBSD pkg though. .tbz is > short for .tar.bz2, and there are plenty of source tarballs around > distributed with a .tbz extension. >=20 > .tgz is similar shorthand for .tar.gz. If you go and look, you can fin= d > a bunch of other compression programs applied to tar archives and used > for distributing stuff. >=20 > The best way to tell if what you're looking at is a FreeBSD package is > to run pkg_info against it: >=20 > pkg_info -a foo-1.0.0.tbz Ahem. pkg_info foo-1.0.0.tbz '-a' will, of course, show you information about all of the packages installed on the system, which is nice, but not much use in this case. > Of course, having downloaded the pkg from the packages directory tree o= n > one of the FreeBSD FTP servers is a pretty big hint as well. As is > finding it in /usr/ports/packages/All. >=20 > Cheers, >=20 > Matthew >=20 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigFCF7D51D9F1E384DE6526BAB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhwFEACgkQ8Mjk52CukIzGagCfUbfwBYdqmV8345xzw9Cz5PSm NDQAn3bJtlmngUryLttVV7ntQ0ot2wVO =0LHs -----END PGP SIGNATURE----- --------------enigFCF7D51D9F1E384DE6526BAB-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:10:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21AA2106566C for ; Tue, 10 Aug 2010 21:10:47 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id A40AE8FC13 for ; Tue, 10 Aug 2010 21:10:46 +0000 (UTC) Received: by ewy26 with SMTP id 26so4789080ewy.13 for ; Tue, 10 Aug 2010 14:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=3mzEwZlnRgthrszaSGHOyYciF4Kl7JvOEsbl7RzsBDE=; b=gbZliIm3vpR3h9t1BPFmzyXHiYSHvBy7+Pm7ENFUGZYJAMO0E5OSlrKDQ3zoudH5/P 3i24rlpCzIEJf+df+MDp96QzV6z3s6U5uF29eZkaHdiOLDnKd/2peThyo6IARo3xB8+s JJ+WRCYwWSIK9eoFL4e4oKZSXRazYNz4j1SbA= 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=grYBJ8yUkUyxXceA0DEEnGLf+wrKHHvT8zona1hDus8B+TjQhfXfc9zYgIcH2BaUpU gu6tdVaNGwjGVCD1S0oNGAyiMuhuEBopsvjudg0Eroz41Heb5rSd9v/VrEAERaH4cLS/ 5kkh1XhNI4zClHzkGYn+qqzu5AhwDZHmqUAtY= MIME-Version: 1.0 Received: by 10.213.29.196 with SMTP id r4mr4860865ebc.31.1281474645515; Tue, 10 Aug 2010 14:10:45 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 14:10:45 -0700 (PDT) In-Reply-To: <4C61BF75.2020306@gmail.com> References: <4C61BF75.2020306@gmail.com> Date: Tue, 10 Aug 2010 14:10:45 -0700 X-Google-Sender-Auth: nZzmogQLwCdQGhPA4Fi0nxvlheM Message-ID: From: Chris Maness To: Mark Tinguely Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ftp login failing after upgrade to 8.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: Tue, 10 Aug 2010 21:10:47 -0000 On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely wro= te: > Chris Maness wrote: >> >> I just upgraded to FreeBSD 8.1 and my regular user name seems to be >> disallowed for ftp. =A0I checked and my name or group does not seem to >> show up in ftpusers. =A0Any suggestions as to what might have happened? >> >> Thanks, >> Chris Maness >> _______________________________________________ >> 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" >> >> > > Do you use a shell that is no longer in /etc/shells? > > --Mark. > Yes, I use bash. Should I add bash to the shells file? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:17:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D321065670 for ; Tue, 10 Aug 2010 21:17:32 +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 9D7648FC18 for ; Tue, 10 Aug 2010 21:17:31 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7ALGlkE056003 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 10 Aug 2010 22:16:47 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C61C1BF.2050705@infracaninophile.co.uk> Date: Tue, 10 Aug 2010 22:16:47 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Chris Maness References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig481A8C9D9A5CA3AC7D7B3D48" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_40,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ftp login failing after upgrade to 8.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: Tue, 10 Aug 2010 21:17:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig481A8C9D9A5CA3AC7D7B3D48 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/08/2010 22:01:40, Chris Maness wrote: > I just upgraded to FreeBSD 8.1 and my regular user name seems to be > disallowed for ftp. I checked and my name or group does not seem to > show up in ftpusers. Any suggestions as to what might have happened? /etc/ftpusers is actually the list of accounts that should be *denied* access via FTP. You don't want your UID in there if you want to use FTP.= Make sure the login shell for your account is mentioned in /etc/shells. Failing that, curse FTP as an archaic and inherently insecure protocol completely unsuitable for today's internet, and switch to using sftp(8) instead -- which has the look and feel of FTP, but which runs tunnelled over SSH. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig481A8C9D9A5CA3AC7D7B3D48 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhwb8ACgkQ8Mjk52CukIypEQCbBnB+QtxNnf7nWByP7DuCgRRP qnsAoIdpG91ptpibKONwhy4ouBpduZQc =3lSe -----END PGP SIGNATURE----- --------------enig481A8C9D9A5CA3AC7D7B3D48-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:19:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E5661065672 for ; Tue, 10 Aug 2010 21:19:16 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 09F048FC13 for ; Tue, 10 Aug 2010 21:19:15 +0000 (UTC) Received: by ewy26 with SMTP id 26so4798610ewy.13 for ; Tue, 10 Aug 2010 14:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=4coLCFfiTsLTlMyjoLuLkE/zQLrvkr0oC4SHtIBFw4w=; b=Uj+u6uWpoB4MJSh/8ij7W/B7P0hbcPfxSNiyozspFVPX1McfI57Vk/wNizGVJEjvEt z5qvnJtCzpc2gCuYnSElIwH0jqVhtaPD/wgg3jGFqJkFmMvxq5TzXwt1RjnAbK3VTes7 OuNGb3wx+5NgeRI+o6PBgtru1osOB1H3T2ue0= 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=XVOkqqFawj9hyS9zLHVmmaC1mLotw7eqGNKCurSLUBcCXsqiWpyvevQoywRNJnyV72 oxEnsifj4cIxkt+mnv76OVwSSfCO7ytFE0LebMymarB6SAEOnEgNoYjkHQ6JbT2e6aGu loBNJX4hFpriBXyExwkjREv+h8j42i2IlvkMg= MIME-Version: 1.0 Received: by 10.213.19.67 with SMTP id z3mr14102015eba.50.1281475154940; Tue, 10 Aug 2010 14:19:14 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 14:19:14 -0700 (PDT) In-Reply-To: <4C61BF75.2020306@gmail.com> References: <4C61BF75.2020306@gmail.com> Date: Tue, 10 Aug 2010 14:19:14 -0700 X-Google-Sender-Auth: J1rt2bGey4GIf1ai_fr-52kcHBg Message-ID: From: Chris Maness To: Mark Tinguely Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ftp login failing after upgrade to 8.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: Tue, 10 Aug 2010 21:19:16 -0000 On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely wro= te: > Chris Maness wrote: >> >> I just upgraded to FreeBSD 8.1 and my regular user name seems to be >> disallowed for ftp. =A0I checked and my name or group does not seem to >> show up in ftpusers. =A0Any suggestions as to what might have happened? >> >> Thanks, >> Chris Maness >> _______________________________________________ >> 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" >> >> > > Do you use a shell that is no longer in /etc/shells? > > --Mark. > Ok, I have it working now. The man page for ftpd should make that a little clearer than it does. There is another issue after logging in. The login works just fine, but when it tries to establish a connection for transfer or list the contents of a directory, I get a connection refused error. Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:21:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0441106564A for ; Tue, 10 Aug 2010 21:21:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 714098FC16 for ; Tue, 10 Aug 2010 21:21:13 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OiwFz-0007Mq-S7 for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 23:21:11 +0200 Received: from pool-173-79-97-89.washdc.fios.verizon.net ([173.79.97.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Aug 2010 23:21:11 +0200 Received: from nightrecon by pool-173-79-97-89.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Aug 2010 23:21:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 10 Aug 2010 17:21:36 -0400 Lines: 99 Message-ID: References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-97-89.washdc.fios.verizon.net Subject: RE: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:21:14 -0000 Graeme Dargie wrote: > -----Original Message----- > From: Dick Hoogendijk [mailto:dick@nagual.nl] > Sent: 10 August 2010 21:10 > To: FreeBSD Questions > Subject: ZFS woes > > FreeBSD-8.1/amd64 -> I spend all evening trying to create a ZFS mirror > > on my two 1Tb sata2 drives formerly used under opensolaris (zfs22) I > wiped out the firt mb; i used sysinstall to create a fbsd slice; wiped > it out again; booted knoppix to create an EFI / GPT; booted into > opensolaris and created a zpool (v14), but nothing, nothing did the > trick. > sometimes the GEOM GPT table (first / second) was bad; sometimes I saw > other warnings; sometimes I *seemed* to be able to create a ZFS mirror > and it *seemed* healthy. I even could write to it, but the moment I > wanted to do a "zpool scrub tank" the system freezes or gave me warnings > > like ZFS: vdev failure, zpool=tank type=vdev.bad.label This 'vdev' reference nudges some dim recall of something like this discussed either on -current or -stable quite a while back. Didn't pay it any real attention because it didn't pertain to me, so I promptly forgot. Might search the lists fot 'vdev' and ZFS. > Whatever I did, I could not get rid of the errors and create a healthy > zpool. It really drives me crazy, so if anyone can tell me HOW I can > turn two drives into a state that I can use them for ZFS under FreeBSD, > please tell me *in detail*. > > I love to have ZFS back (I'm really used to it on opensolaris), but it > has to be safe. It cannot be that one zpool scrub halts my system. I > must have done something wrong then. But what? > _______________________________________________ [snip] > > I could be over simplifying what you are trying to do, but seen as you > did not mention it what was wrong with Freebsd and zpool create tank > mirror device1 device2 > > If you are getting warnings about the drives being part of a previous > pool and you are not fussed about the data on the drives try using the > manufactures diagnostics to do low level format then create your pool. > > Regards > > Graeme > [snip] GEOM stores it's metadata in the last sector of the drive. So the old trick of wiping the MBR or just the front part of the drive may not be enough. You'd think once the partition table was gone this sector would no longer matter. The so-called "low-level" format for IDE/SATA drives isn't really a low level format like with a SCSI drive and controller. It just writes zeros from one end of the drive completely to the other. You can achieve the same results with dd. The GENERIC kernel options GEOM_PART_GPT and options GEOM_LABEL if still present may be "tasting" that metadata sector if it is still around on the drive. I also had another experience a while back. A drive died and the spare I pulled from the shelf had 6.2 on it. The 8 Release install would fail, something to do with either the partition table and/or labels from the earlier being invisible to the new and thus could not be written to. This is what I had to do to install 8: Boot a LiveFS CD, then at a root prompt do: sysctl kern.geom.debugflags=16 and: dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 where x equals your drive number. Probably should only do this before a fresh install and NOT on a system with data you want to keep. Doing a dd of zeros completely over all of the drive(s) will either make the problem go away, or confirm it to be something else, e.g., not caused by any residual data present on the drive. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:22:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 555A8106566B for ; Tue, 10 Aug 2010 21:22:49 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D88008FC18 for ; Tue, 10 Aug 2010 21:22:48 +0000 (UTC) Received: by eyh6 with SMTP id 6so4773585eyh.13 for ; Tue, 10 Aug 2010 14:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=PU/HVa0vClmaOPTj8t9VwcidGeLuuWUz5wqQ6Sa5TJ4=; b=uQCXoFxUgEk9FTVE77HzlszF/K1YY33MIXHj3pp5NJrnjjYDSrDqmhKN+L69fwkzpo mv7kd9n6Ekw/WJ9skqN1e1gvCh818V6/8zNnSFy6dMxNwAwu54rs9X6BxeUN6HxakGKO GBK5xWe7mDE/CyD8nBHfV9uOviUs2xInPNPuU= 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=gRl5SbFMjJIY3CIuZde0mFYf8WC0c0Dp1u9TcCR9WH9lY0XXaQmqxDMovMngSJ3/P7 SmVdcO2DJbaF+Zbhx6KzO0UUR/eFzxdX8Sl7mWWWqNKJBDqWOUXwwweGrJBQ9q3K3UR6 GXp9CSeqE/Xwen9sqW/DLEmGBXk+rBBtsdIDo= MIME-Version: 1.0 Received: by 10.216.231.26 with SMTP id k26mr15688615weq.3.1281475367342; Tue, 10 Aug 2010 14:22:47 -0700 (PDT) Received: by 10.216.35.139 with HTTP; Tue, 10 Aug 2010 14:22:47 -0700 (PDT) In-Reply-To: <20100809180022.GA33596@freebsd.org> References: <20100809180022.GA33596@freebsd.org> Date: Tue, 10 Aug 2010 17:22:47 -0400 Message-ID: From: "illoai@gmail.com" To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:22:49 -0000 On 9 August 2010 14:00, Alexander Best wrote: > hi there, > > chflags(1) mentions that a few utilities including pax(1) aren't chflags aware yet. is there a list of all those utilties available somewhere? > also: i don't quite understand why this is in the BUGS section of chflags(1) and not in the pax(1) manual itself [1]. this doesn't seem very logical, since the bug doesn't exist in chflags, but in pax not supporting chflags. > so if someone decides to use pax and wants to know if there are any problem with it, there's no way for the average user to stumble upon the fact that chflags isn't supported in pax. > > in fact the pax(1) manual states that `pax -p e` will "preserve everything". this is plain wrong! > > cheers. > alex > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/135516 > AFIK, pax is a POSIX thing, and as such working correctly or sanely would violate its posix nature. (POSIX is an anagram of "Pox? Si!") Is cpio chflags-aware? -- -- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:23:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F13D6106567F for ; Tue, 10 Aug 2010 21:23:23 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6B28FC1B for ; Tue, 10 Aug 2010 21:23:23 +0000 (UTC) Received: by ewy26 with SMTP id 26so4803145ewy.13 for ; Tue, 10 Aug 2010 14:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=vXNzflBXv1KL7ICQ/MZY2CE5r/sk/A0tp7KSkQv8Y8E=; b=Jumb0qeFDNLYGiosJGyTc4y7OQRxKhLHLocnyH9/0lHJ0NfM4JRbv5B9RRqTtn6mWD 0BOqBG14zvouovomHmlieFn4y5vP17VET7J704oPN5HCX2kGaaaQUn/jtRFXuaLAwK99 WPGN5NFcXq81wlEmhkznvznefTRzmAH6pmfk8= 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=FCs5rlZLKx6Bcgle1zRyf8P9zkUyC+dmD8uSj+5IlOHzHyhQAccWwRvs7Qdc/xOsVP NR8JEw0jeHBKyS0+tCCYOaUghga5RU7+mpw5gJHNNFYNbKqf7/6c+/znK8/HNDaiSHJV WVS6hNrpYCKq/t819KXv/jfHjwq0LBL9g8SqQ= MIME-Version: 1.0 Received: by 10.213.10.67 with SMTP id o3mr14202594ebo.58.1281475402438; Tue, 10 Aug 2010 14:23:22 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 14:23:22 -0700 (PDT) In-Reply-To: <4C61C262.709@gmail.com> References: <4C61BF75.2020306@gmail.com> <4C61C262.709@gmail.com> Date: Tue, 10 Aug 2010 14:23:22 -0700 X-Google-Sender-Auth: gkjpON5ZGt2UOg6waL6ekK-I-X0 Message-ID: From: Chris Maness To: Mark Tinguely Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ftp login failing after upgrade to 8.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: Tue, 10 Aug 2010 21:23:24 -0000 On Tue, Aug 10, 2010 at 2:19 PM, Mark Tinguely wro= te: > Chris Maness wrote: >> >> On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely >> wrote: >> >>> >>> Chris Maness wrote: >>> >>>> >>>> I just upgraded to FreeBSD 8.1 and my regular user name seems to be >>>> disallowed for ftp. =A0I checked and my name or group does not seem to >>>> show up in ftpusers. =A0Any suggestions as to what might have happened= ? >>>> >>>> Thanks, >>>> Chris Maness >>>> _______________________________________________ >>>> 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" >>>> >>>> >>>> >>> >>> Do you use a shell that is no longer in /etc/shells? >>> >>> --Mark. >>> >>> >> >> Yes, I use bash. =A0Should I add bash to the shells file? >> >> Thanks, >> Chris Maness >> >> > > yes, the full path to bash. And /etc/shells is overwritten during upgrade= s. > > It is logging in now, but getting some strange connection refused when I try a file transfer or list the contents of a directory. Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:32:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1405F106566C for ; Tue, 10 Aug 2010 21:32:18 +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 934728FC22 for ; Tue, 10 Aug 2010 21:32:17 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7ALWFoq011727 for ; Tue, 10 Aug 2010 23:32:15 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id D8689BA99; Tue, 10 Aug 2010 23:32:11 +0200 (CEST) Date: Tue, 10 Aug 2010 23:32:11 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20100810213211.GA61196@slackbox.erewhon.net> References: <20100809180022.GA33596@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:32:18 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2010 at 05:22:47PM -0400, illoai@gmail.com wrote: > On 9 August 2010 14:00, Alexander Best wrote: > > hi there, > > > > chflags(1) mentions that a few utilities including pax(1) aren't chflags > > aware yet. is there a list of all those utilties available somewhere? > > in fact the pax(1) manual states that `pax -p e` will "preserve > > everything". this is plain wrong! >=20 > AFIK, pax is a POSIX thing, and as such working > correctly or sanely would violate its posix nature. > (POSIX is an anagram of "Pox? Si!") >=20 > Is cpio chflags-aware? To the best of my knowledge the _only_ way to be sure you have backed up _a= ll_ possible features (flags, extended attributes &c) of a UFS filesystem is to use dump(8) & restore(8). 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) --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxhxVsACgkQEnfvsMMhpyUOCgCfcRPa4+Pck87be0xJ7bgiITGU GZoAniYweSenekkVqUBRGMvCakITLyls =Khjt -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:33:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D9701065670 for ; Tue, 10 Aug 2010 21:33:54 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 882D08FC29 for ; Tue, 10 Aug 2010 21:33:53 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1C32DA; Tue, 10 Aug 2010 23:35:38 +0200 Message-ID: <4C61C5C7.9090609@nagual.nl> Date: Tue, 10 Aug 2010 23:33:59 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: gmirror gm0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:33:54 -0000 How can I totally remove a created gmirror (gm0) I know of the option gmirror forget gm0 but does that make the mirror disappear? From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 21:40:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A39DE1065687 for ; Tue, 10 Aug 2010 21:40:34 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 32A938FC2A for ; Tue, 10 Aug 2010 21:40:33 +0000 (UTC) Received: by ewy26 with SMTP id 26so4820645ewy.13 for ; Tue, 10 Aug 2010 14:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lSv+qAoWyH08CKdNLgkmUZEmfNypKxct10MDP0v5khQ=; b=Mct7T86eeyqFBDa7CCENiWgqipsDCifhkwpL2HDg0C3COlmO45vRSgMtyRyCdoswmQ od/C6lE/TVevZ/Um80l74fuSGSZ6nPY+rWx4ITjdttN0M8Q8GH3uXnyBkva2cmRo/btM m98CBpY4xhbZdSh4ufJxNUu6II2X2NA0GYESc= 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=K/04sJa4nH5Q/F5SVwFUlsF3dsNpveCkU3LtFz67kKohnJQUwNDXJs2VQPbtxGNdtz 3S0M93e9/xoqr6I3wcXjvlursTYLdb8pxJRiQfHGFliOLWuce/OfFntNnfpYd5Azbv17 yJVxElQ5MPk/hrPYgE4GgXjabTdyuOu78kaMA= MIME-Version: 1.0 Received: by 10.216.178.6 with SMTP id e6mr367655wem.95.1281476432544; Tue, 10 Aug 2010 14:40:32 -0700 (PDT) Received: by 10.216.35.139 with HTTP; Tue, 10 Aug 2010 14:40:32 -0700 (PDT) In-Reply-To: <4C61C5C7.9090609@nagual.nl> References: <4C61C5C7.9090609@nagual.nl> Date: Tue, 10 Aug 2010 17:40:32 -0400 Message-ID: From: "illoai@gmail.com" To: Dick Hoogendijk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: gmirror gm0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 21:40:34 -0000 On 10 August 2010 17:33, Dick Hoogendijk wrote: > =A0How can I totally remove a created gmirror (gm0) > I know of the option gmirror forget gm0 but does that make the mirror > disappear? # gmirror clear gm0 perhaps? http://www.freebsd.org/cgi/man.cgi?query=3Dgmirror&sektion=3D8&apropos=3D0&= manpath=3DFreeBSD+8.1-RELEASE or http://5z8.info/racist_xzg --=20 -- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:00:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375E41065676 for ; Tue, 10 Aug 2010 22:00:04 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB83F8FC08 for ; Tue, 10 Aug 2010 22:00:03 +0000 (UTC) Received: by bwz9 with SMTP id 9so2873347bwz.13 for ; Tue, 10 Aug 2010 15:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=849dsSxQ7BhaNCZTa1WpPLKHxZ/J3nLA3pYaBDB8AII=; b=sRoi9gf2ADWSD58A3c4l0BCW26jYqPbUzht3zFQ3kHxDBeneorNqWJL0n72vO3xIrx BP5cqKxbHR7a4JHDO70MiEAy2w2sHmrXCoB1p0cqXr3DlRgNC8fhx5N654zXuphJzVmU LJjeYE03CraZiuThS8amREd3YWYt4VWFA4Xmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=luScyPXGxPc+dkfyNRXk8uEFYa0z6yVaEFH4X5O9FXjkb/xxCzJdNNquAwcEcyVNLI iy0NC394kmCh6nO17m0wfIKRlmDEt/iB2MjgCN1tvb9xCUS3E34vALOLRjc+SGPU7te8 w1+kLbwaRJMuEU6qBMq3azgHSWFROL5H4Rtp0= Received: by 10.204.203.9 with SMTP id fg9mr576167bkb.56.1281477602404; Tue, 10 Aug 2010 15:00:02 -0700 (PDT) Received: from localhost (spftor1.privacyfoundation.de [87.118.104.203]) by mx.google.com with ESMTPS id bq20sm4563375bkb.4.2010.08.10.14.59.59 (version=SSLv3 cipher=RC4-MD5); Tue, 10 Aug 2010 15:00:01 -0700 (PDT) From: Anonymous To: Roland Smith References: <20100809180022.GA33596@freebsd.org> <20100810213211.GA61196@slackbox.erewhon.net> Date: Wed, 11 Aug 2010 01:59:50 +0400 In-Reply-To: <20100810213211.GA61196@slackbox.erewhon.net> (Roland Smith's message of "Tue, 10 Aug 2010 23:32:11 +0200") Message-ID: <86wrryt9gp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:00:04 -0000 Roland Smith writes: > On Tue, Aug 10, 2010 at 05:22:47PM -0400, illoai@gmail.com wrote: >> On 9 August 2010 14:00, Alexander Best wrote: >> > hi there, >> > >> > chflags(1) mentions that a few utilities including pax(1) aren't chflags >> > aware yet. is there a list of all those utilties available somewhere? > >> > in fact the pax(1) manual states that `pax -p e` will "preserve >> > everything". this is plain wrong! >> >> AFIK, pax is a POSIX thing, and as such working >> correctly or sanely would violate its posix nature. >> (POSIX is an anagram of "Pox? Si!") >> >> Is cpio chflags-aware? > > To the best of my knowledge the _only_ way to be sure you have backed up _all_ > possible features (flags, extended attributes &c) of a UFS filesystem is to > use dump(8) & restore(8). Since when did the thread switch to UFS-specific tools? Unless I'm missing smth dump(8)/restore(8) don't work on ZFS. You can use bsdtar(1) in order to save/restore chflags, ACLs and extattrs in a FS-agnostic way. From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:28:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E0E9106564A for ; Tue, 10 Aug 2010 22:28:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 18CF08FC08 for ; Tue, 10 Aug 2010 22:28:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o7AMSw5d043377; Tue, 10 Aug 2010 16:28:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o7AMSw8n043374; Tue, 10 Aug 2010 16:28:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 10 Aug 2010 16:28:58 -0600 (MDT) From: Warren Block To: Victor Ophof In-Reply-To: Message-ID: References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 10 Aug 2010 16:28:58 -0600 (MDT) Cc: 'Roland Smith' , freebsd-questions@freebsd.org Subject: RE: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:28:59 -0000 On Tue, 10 Aug 2010, Victor Ophof wrote: > There is a trick on the web, > Something with mount -u then mount -a .. but the next link sounds better :) > http://www.wonkity.com/~wblock/docs/html/ahci.html Hey, I'm famous! Arthur Chance's message finally explains how labeling the rootfs fails, or at least the label doesn't stick. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=573595+0+current/freebsd-questions The AHCI doc above has been updated to reflect this, although I haven't tested it. Corrections welcome! From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:30:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30461106566C for ; Tue, 10 Aug 2010 22:30:01 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C1BD68FC0C for ; Tue, 10 Aug 2010 22:30:00 +0000 (UTC) Received: by vws7 with SMTP id 7so9614317vws.13 for ; Tue, 10 Aug 2010 15:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=K2cBuALT1ipo4gWx2ohc1BUosjy6XVTyaZfVxPWTeSE=; b=jhkLW/hpQWU4NJXnuSzEt8/dbKNtj1zspbnTjxoMKjGXds8GgE2YT611EHzr8FMhyJ 8bw2NXcJ3oyEIcQcM790TX9pdiM0ve1imE9JomT8YWcK+tJJAbKeT/oH/f7ldKWR3m4w /qNi3939rq+TSfGPvMt9qDJvp6evLjwKDOy1U= 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=r3D+DuLfayEQ+GIQYV32tpCPwNSMyYKoSMI+J8n/r8zWF8siZafD8DRTI5fUmh3qrg P0hVa8RFOxezRRKNUaQxzbgMyiyVXmtmxP3ancH2mzLIdlqO9wAV61g6/2KKPENcerhQ mrA7/tXLscfIIOzN801rWChTD6YKyXRrVNLlA= MIME-Version: 1.0 Received: by 10.220.59.202 with SMTP id m10mr10878678vch.199.1281479399152; Tue, 10 Aug 2010 15:29:59 -0700 (PDT) Received: by 10.220.45.147 with HTTP; Tue, 10 Aug 2010 15:29:59 -0700 (PDT) In-Reply-To: <998D8501-AD49-4436-9D5C-E0C3A9ECC872@gull.us> References: <998D8501-AD49-4436-9D5C-E0C3A9ECC872@gull.us> Date: Tue, 10 Aug 2010 15:29:59 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ZFS practical application? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:30:01 -0000 Thanks David...I appreciate your input. :-) Ed From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:38:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10CFD106566C for ; Tue, 10 Aug 2010 22:38:05 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 988A98FC08 for ; Tue, 10 Aug 2010 22:38:04 +0000 (UTC) Received: by eyh6 with SMTP id 6so4819971eyh.13 for ; Tue, 10 Aug 2010 15: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:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=1yUetXtd82XftZAzXl9RF5W4VtoF5m23HT/rmzZiPRg=; b=QKwL9ktFjKTdsluAsnI83X9K2UGSVh/wRhzcmp3T92wypPOb1kiRSpyxhzo//HUjAG UKzGll6bWt1p05T1oohxyv04/yjHV1iUmb9FiNCNu8B9DnTDnzLyZzlr14i1E0UlQ9QB QDwaJ2jUDOJyB+FDfPQrqdjjBiMX21BrU3YDo= 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; b=qToKDuqSBHJwQqGiqjZaWRJdcUa7kPcqbjQFBE0I2DWPEbIbfKPIYp8IECCKvvxJyA okzxbLSBwamGFZo3boHkdiTTvlm/O/foB4jFkvhgGS4qKsjDyqXscg/MmbSdpY1NRl9i z1Q087NAY+8a78PtC4Q7EFRKJjXeUflZyuXy4= MIME-Version: 1.0 Received: by 10.213.31.143 with SMTP id y15mr14154652ebc.38.1281479883463; Tue, 10 Aug 2010 15:38:03 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 15:38:03 -0700 (PDT) Date: Tue, 10 Aug 2010 15:38:03 -0700 X-Google-Sender-Auth: w9oj4jCHZnDX77CGIQCKtslN5zs Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:38:05 -0000 I have had two spontaneous reboots since I have began using virtualbox. I have never had the issue before. I just upgraded to 8.1 yesterday, so I will see if it happens again. Has anyone else had crashes/reboots running these modules? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:52:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F1D1065672 for ; Tue, 10 Aug 2010 22:52:10 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id CC7408FC1E for ; Tue, 10 Aug 2010 22:52:09 +0000 (UTC) Received: from pd6mr1no-ssvc.prod.shaw.ca ([10.0.153.188]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 10 Aug 2010 16:52:09 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=AxT4mbShILfi4H59ir30tW5tIg8EH6BS6jNThUMnFNA= c=1 sm=1 a=VphdPIyG4kEA:10 a=CNzgWDZxw1CFIPIub24A:9 a=irSBHZju7RhVYLZduXkA:7 a=k9Kob2OJ5RRy4xgQqpwtosyf82EA:4 a=wPNLvfGTeEIA:10 a=ygzQiHyY5E1kSIfLNF8A:9 a=Q4ew6_yG30dgoNg8teAA:7 a=-9glLxD9nkhRmbsPobc8JC7vn8UA:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO pd6ms3no.prod.shaw.ca) ([10.0.153.22]) by pd6mr1no-svcs.prod.shaw.ca with ESMTP; 10 Aug 2010 16:52:09 -0600 Received: from shaw.ca (pd6ms3no-con [10.0.145.194]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0L6Y0008KKUW2250@l-daemon> for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 16:52:08 -0600 (MDT) Received: from [10.0.144.232] (Forwarded-For: [10.0.146.232]) by pd6ims2.prod.shaw.ca (mshttpd); Tue, 10 Aug 2010 16:52:08 -0600 Date: Tue, 10 Aug 2010 16:52:08 -0600 From: Dale Scott In-reply-to: To: Michael Powell Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) Content-language: en X-Accept-Language: en Priority: normal References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: RE: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:52:10 -0000 =3E=3E wiped out the firt mb=3B i used sysinstall to create a fbsd=A0sli= ce=3B wiped =3E=3E it out again=3B booted knoppix to create an EFI / GPT=3B booted i= nto =3E=3E opensolaris and created a zpool (v14)=2C but nothing=2C nothing=A0= =3E=3E did the=A0trick=2E I was doing a vanilla fbsd install recently using a couple re-claimed 25= 0GB IDE drives=2E The install completed without errors=2C but after rebo= ot GEOM complained bitterly about the secondary GPT table on the boot dr= ive being corrupted or invalid=2C and unrecoverable corrupted or invalid= GPT tables on the 2nd drive=2E By trying something like above=2C I was = able to get the system drive to rebuild the secondary GPT table=2C but n= othing worked on the second drive=2E Google told me a targeted approach = was technically possible (by calculating exactly where a specific drive = stores its GPT metadata and zeroing just that bit)=2C but also that the = broader solution of zeroing out the entire drive would be faster for me = than figuring out the calculation (about 18 hrs to zero the entire drive= =2C at least it was mostly while sleeping)=3A =22dd if=3D/dev/zero of=3D= /dev/ad3 bs=3D64K=22 (no idea if the block size is optimal or even=A0rel= evant)=2E Dale Scott From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 22:54:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611141065673 for ; Tue, 10 Aug 2010 22:54:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id CF4018FC0A for ; Tue, 10 Aug 2010 22:54:34 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7AMsXEG059432 for ; Wed, 11 Aug 2010 00:54:33 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C2510BA9C; Wed, 11 Aug 2010 00:54:32 +0200 (CEST) Date: Wed, 11 Aug 2010 00:54:32 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20100810225432.GA63330@slackbox.erewhon.net> References: <20100809180022.GA33596@freebsd.org> <20100810213211.GA61196@slackbox.erewhon.net> <86wrryt9gp.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <86wrryt9gp.fsf@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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 22:54:35 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 11, 2010 at 01:59:50AM +0400, Anonymous wrote: > >> AFIK, pax is a POSIX thing, and as such working > >> correctly or sanely would violate its posix nature. > >> (POSIX is an anagram of "Pox? Si!") > >>=20 > >> Is cpio chflags-aware? > > > > To the best of my knowledge the _only_ way to be sure you have backed u= p _all_ > > possible features (flags, extended attributes &c) of a UFS filesystem i= s to > > use dump(8) & restore(8). >=20 > Since when did the thread switch to UFS-specific tools?=20 The point I was trying to make is that the way to make the most accurate backup is to use the tools native to the filesystem. To the best of my knowledge, only UFS and ZFS actually supports the flags u= sed by chflags(2), and since I don't use ZFS, I used UFS as my example, which means dump/restore. For ZFS you could use 'zfs send' on a snapshot. > Unless I'm missing smth dump(8)/restore(8) don't work on ZFS. You can use > bsdtar(1) in order to save/restore chflags, ACLs and extattrs in a > FS-agnostic way. Since bsdtar is based on libarchive, it has restrictions depending on the t= ype of format you use. See libarchive-formats(5). If you are sure that your filesystem is not using any features that cannot = be stored in the libarchive format of your choosing, then by all means, go ahe= ad. 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) --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxh2KgACgkQEnfvsMMhpyUZBACferEz5qchAYc6rQ2JioO540Eb YQQAn3/ixJKB3BnPdxz5GzxJme+/9LRm =yUzp -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 23:09:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F15721065676 for ; Tue, 10 Aug 2010 23:09:16 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by mx1.freebsd.org (Postfix) with ESMTP id 8730D8FC19 for ; Tue, 10 Aug 2010 23:09:16 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7AN8RYJ007452; Wed, 11 Aug 2010 01:08:41 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id A7CA9BA9C; Wed, 11 Aug 2010 01:08:27 +0200 (CEST) Date: Wed, 11 Aug 2010 01:08:27 +0200 From: Roland Smith To: Chris Maness Message-ID: <20100810230827.GB63330@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 23:09:17 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2010 at 03:38:03PM -0700, Chris Maness wrote: > I have had two spontaneous reboots since I have began using > virtualbox. I have never had the issue before. I just upgraded to > 8.1 yesterday, so I will see if it happens again. >=20 > Has anyone else had crashes/reboots running these modules? Yes, I've experiencing several on 8.0-RELEASE amd64. Since I was mostly usi= ng it to play with other OSs, I de-installed virtualbox and haven't tried it s= ince. For virtual FreeBSD servers, jail(8) turned out to be a much better alternative. 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) --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxh2+sACgkQEnfvsMMhpyWNqACdHO+ecqngP4oUQfBoRNC7/Bri /K8AoJIdWnhiO6gt6hbsarl0ZPiUFnWj =d5ts -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw-- From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 23:10:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30771065672 for ; Tue, 10 Aug 2010 23:10:39 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 413F38FC1B for ; Tue, 10 Aug 2010 23:10:38 +0000 (UTC) Received: by ewy26 with SMTP id 26so4857016ewy.13 for ; Tue, 10 Aug 2010 16:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ZVXrsCLpxx0N0NfrGPfF34a6m1eZkE73Qnb1AP9+sAo=; b=kJdDDqur0Y3CPBAYBFR9ErdDM+ee6OeBPG1f44fUQX1+PIGfPsOjmtSjtFGga17e8I UYOMghZc3nPzxo7/QPN3gLvyr4e+71U3SoBmrbWIxtLYW++iTe048Gsxvme1MGpVq1Ot Y0iiMRWvl5CJmMK7QAKAHsaB85WFAww7i6g3s= 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=uKkzg+vkHWkm1qd71zUJDjKWJevpyBEm7aaOZRocGbgMUmdvJWkBY1BWrUosOc+tfc dheymfx7j67jkaeZURb5u/6B1ZeBzVetNYxSlCGGJZpeV0wC5sudtP0BlkyQA2e89UhP xXRRbgCj+yOm87KNA1x+QHkRz9/Olc0te7vSg= MIME-Version: 1.0 Received: by 10.213.45.194 with SMTP id g2mr4998769ebf.0.1281481838118; Tue, 10 Aug 2010 16:10:38 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Tue, 10 Aug 2010 16:10:38 -0700 (PDT) In-Reply-To: <20100810230827.GB63330@slackbox.erewhon.net> References: <20100810230827.GB63330@slackbox.erewhon.net> Date: Tue, 10 Aug 2010 16:10:38 -0700 X-Google-Sender-Auth: rYgxlfgKJzZkMCsXPq-C7CTLjfY Message-ID: From: Chris Maness To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 23:10:39 -0000 On Tue, Aug 10, 2010 at 4:08 PM, Roland Smith wrote: > On Tue, Aug 10, 2010 at 03:38:03PM -0700, Chris Maness wrote: >> I have had two spontaneous reboots since I have began using >> virtualbox. =A0I have never had the issue before. =A0I just upgraded to >> 8.1 yesterday, so I will see if it happens again. >> >> Has anyone else had crashes/reboots running these modules? > > Yes, I've experiencing several on 8.0-RELEASE amd64. Since I was mostly u= sing > it to play with other OSs, I de-installed virtualbox and haven't tried it= since. > > For virtual FreeBSD servers, jail(8) turned out to be a much better > alternative. > > Roland > -- > R.F.Smith =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =A0B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5) > Has this behavior already been documented anywhere? Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 23:18:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCC7106566C for ; Tue, 10 Aug 2010 23:18:57 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 652228FC18 for ; Tue, 10 Aug 2010 23:18:57 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 16:18:57 -0700 Message-ID: <4C61DE5D.3070601@comclark.com> Date: Wed, 11 Aug 2010 07:18:53 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4C61710C.7000602@zzz.ee> <4C617A5F.1010909@antonioshome.net> <4C61803C.3050007@zzz.ee> <4C618A3E.2050703@zzz.ee> <4C6196D3.1080505@zzz.ee> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 10 Aug 2010 23:18:57.0702 (UTC) FILETIME=[687DA460:01CB38E2] X-Sender: fbsd8@a1poweruser.com Subject: Re: problem mounting USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 10 Aug 2010 23:18:57 -0000 Adam Vande More wrote: > On Tue, Aug 10, 2010 at 1:13 PM, Ott Köstner wrote: > >> 2) After that... >> >> # ntfsfix /dev/da0s1 >> Mounting volume... OK >> Processing of $MFT and $MFTMirr completed successfully. >> NTFS volume version is 3.1. >> NTFS partition /dev/da0s1 was processed successfully. >> > > All ntfsfix does is mark it dirty so windows with check the fs next time it > mounts it. I suggest you follow ntfsmount's suggestion. > > > Try using /dev/da0 From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 00:03:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1691065676 for ; Wed, 11 Aug 2010 00:03:01 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id B211B8FC1D for ; Wed, 11 Aug 2010 00:03:01 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 17:03:01 -0700 Message-ID: <4C61E8B1.7050605@a1poweruser.com> Date: Wed, 11 Aug 2010 08:02:57 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Brice ERRANDONEA References: <268321.67123.qm@web24608.mail.ird.yahoo.com> In-Reply-To: <268321.67123.qm@web24608.mail.ird.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2010 00:03:01.0902 (UTC) FILETIME=[908E8AE0:01CB38E8] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 00:03:02 -0000 Brice ERRANDONEA wrote: > Hello, > > I've just created my first FreeBSD jail in order to install a web server inside. > But I don't know how to connect it to the web. When I try pinging a http > website, it doesn't work. Of course, it works when I do it from outside the > jail. > > Another problem, probably linked to the first one, I can't run rc within the > jail, even as the jail's root. It says : permission denied. > > Here's how I built and started my jail. I had already run make buildworld when > upgrading to 8.1 release : > > # mkdir /usr/prison > # cd /usr/src > # make installworld DESTDIR=/usr/prison > # make distribution DESTDIR=/usr/prison > # mount -t devfs devfs /usr/prison/dev > # jail -c path=/usr/prison host.hostname=ServeurWeb ip4.addr=192.1.1.1 persist > # jail /usr/prison ServeurWeb 192.1.1.1 csh > > I guess this must be a very basic question but please help me. > > 1. ping is a security risk from within a jail and is disabled by design. (read jail(8) for details). No use using a jail if the first thing you do is re-enable ping in the jail. To test for public internet connection from within a jail use dig or whois commands. 2. Using the hosts firewall to drive traffic to a jail is a sign you have your jail incorrectly configured or do not understand how jails are intended to work. 3. Jail do not have a network stack of their own, so they cant have a firewall. The host's firewall and and network stack are in control. 4. There are 2 utilities for creating jails. Qjail the better documented of the 2, is designed for the novice which clearly you are. I strongly suggest you checkout http://sourceforge.net/projects/qjail From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 00:55:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BD22106566C for ; Wed, 11 Aug 2010 00:55:21 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 336FB8FC0C for ; Wed, 11 Aug 2010 00:55:21 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 3147A38DA0; Tue, 10 Aug 2010 17:55:20 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Fbsd8 References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> x-mayan-date: Long count = 12.19.17.10.16; tzolkin = 11 Cib; haab = 9 Yaxkin Date: Tue, 10 Aug 2010 17:55:19 -0700 In-Reply-To: <4C61E8B1.7050605@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Wed, 11 Aug 2010 08:02:57 +0800") Message-ID: <86mxsuynm0.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 00:55:21 -0000 >>>>> "Fbsd8" == Fbsd8 writes: Fbsd8> 2. Using the hosts firewall to drive traffic to a jail is a sign Fbsd8> you have your jail incorrectly configured or do not understand Fbsd8> how jails are intended to work. OK, I'll bite. I thought this was the only way to do this. Can you elaborate? I'll even accept URL pointers to go read. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 01:07:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1802E1065678 for ; Wed, 11 Aug 2010 01:07:36 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id E8C608FC19 for ; Wed, 11 Aug 2010 01:07:35 +0000 (UTC) Received: (qmail 19623 invoked from network); 11 Aug 2010 01:07:35 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Aug 2010 01:07:35 -0000 Message-ID: <4C61F7D4.6000905@speakeasy.net> Date: Tue, 10 Aug 2010 18:07:32 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> In-Reply-To: <4C61E8B1.7050605@a1poweruser.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 01:07:36 -0000 On 8/10/2010 5:02 PM, Fbsd8 wrote: > 1. ping is a security risk from within a jail and is disabled by > design. (read jail(8) for details). No use using a jail if the first > thing you do is re-enable ping in the jail. To test for public > internet connection from within a jail use dig or whois commands. > There is a vast difference between testing a network connection and leaving something in for live deployment. Tools like ping and traceroute are for network diagnostics. You can easily run into a situation where dig and whois don't work but ping/traceroute will in which case you quickly realize hostnames aren't resolving in a jail (or you can find out where exactly packets stopped at). Meanwhile the person using only dig and whois might be spinning their wheels trying to fix problems that aren't really problems. They might of created a jail and have everything setup except they forgot to create an /etc/resolv.conf in the jail. There is nothing wrong with allowing raw sockets to get up and running and then changing it back (the jail man page states to use caution with raw sockets not a blatant don't do it). > 2. Using the hosts firewall to drive traffic to a jail is a sign you > have your jail incorrectly configured or do not understand how jails > are intended to work. > If you have jails assigned to non routable ip's (i.e. 10.0.0.2, 10.0.0.3) how else would you redirect traffic coming in from your hosts ip:(http_port, dns_port, etc..) to the corresponding jail that handles it. I've read a bunch of stuff on jails and unless I missed something (which is totally possible) using a NAT that's part of a firewall seems like pretty standard fare. How else would you go about it? > 3. Jail do not have a network stack of their own, so they cant have a > firewall. The host's firewall and and network stack are in control. > The documentation is rather sparse since it's so new and I personally haven't used it but FreeBSD 8 has VIMAGE (network stack virtualization). http://wiki.freebsd.org/Image/VNETSamples http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://wiki.polymorf.fr/index.php/Howto:FreeBSD_jail_vnet > 4. There are 2 utilities for creating jails. Qjail the better > documented of the 2, is designed for the novice which clearly you are. > I strongly suggest you checkout > http://sourceforge.net/projects/qjail You should probably preface this by saying you're the author of Qjail and have been actively promoting it in a few places including the fbsd forums. Nothing wrong with that I guess, but I still haven't been able to figure out how it's any different(better?) than ezjail(which has both an excellent website and man page). From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 01:58:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA5321065670 for ; Wed, 11 Aug 2010 01:58:51 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC7A8FC33 for ; Wed, 11 Aug 2010 01:58:50 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 18:57:06 -0700 Message-ID: <4C620356.6070402@a1poweruser.com> Date: Wed, 11 Aug 2010 09:56:38 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Randal L. Schwartz" References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> In-Reply-To: <86mxsuynm0.fsf@red.stonehenge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2010 01:57:07.0769 (UTC) FILETIME=[8102F290:01CB38F8] X-Sender: fbsd8@a1poweruser.com Cc: Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 01:58:51 -0000 Randal L. Schwartz wrote: >>>>>> "Fbsd8" == Fbsd8 writes: > > Fbsd8> 2. Using the hosts firewall to drive traffic to a jail is a sign > Fbsd8> you have your jail incorrectly configured or do not understand > Fbsd8> how jails are intended to work. > > OK, I'll bite. I thought this was the only way to do this. Can you > elaborate? I'll even accept URL pointers to go read. :) > ifconfig alias man 8 ifconfig From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 02:09:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DD6B106567B for ; Wed, 11 Aug 2010 02:09:59 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id E7ACB8FC1C for ; Wed, 11 Aug 2010 02:09:58 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 921B238F71; Tue, 10 Aug 2010 19:09:52 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Fbsd8 References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> x-mayan-date: Long count = 12.19.17.10.16; tzolkin = 11 Cib; haab = 9 Yaxkin Date: Tue, 10 Aug 2010 19:09:46 -0700 In-Reply-To: <4C620356.6070402@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Wed, 11 Aug 2010 09:56:38 +0800") Message-ID: <86fwylzyqd.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 02:09:59 -0000 >>>>> "Fbsd8" == Fbsd8 writes: Fbsd8> ifconfig alias Fbsd8> man 8 ifconfig Yup, and using that, I can give a private 10.x address to my jail. How do I get it to face the public without a firewall rule? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 02:23:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D7E21065670 for ; Wed, 11 Aug 2010 02:23:45 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 415578FC1B for ; Wed, 11 Aug 2010 02:23:44 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 19:23:40 -0700 Message-ID: <4C6209A3.4040200@a1poweruser.com> Date: Wed, 11 Aug 2010 10:23:31 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Rocky Borg References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <4C61F7D4.6000905@speakeasy.net> In-Reply-To: <4C61F7D4.6000905@speakeasy.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2010 02:23:40.0406 (UTC) FILETIME=[364C1160:01CB38FC] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 02:23:45 -0000 Rocky Borg wrote: > On 8/10/2010 5:02 PM, Fbsd8 wrote: >> 1. ping is a security risk from within a jail and is disabled by >> design. (read jail(8) for details). No use using a jail if the first >> thing you do is re-enable ping in the jail. To test for public >> internet connection from within a jail use dig or whois commands. >> > > There is a vast difference between testing a network connection and > leaving something in for live deployment. Tools like ping and traceroute > are for network diagnostics. You can easily run into a situation where > dig and whois don't work but ping/traceroute will in which case you > quickly realize hostnames aren't resolving in a jail (or you can find > out where exactly packets stopped at). Meanwhile the person using only > dig and whois might be spinning their wheels trying to fix problems that > aren't really problems. They might of created a jail and have everything > setup except they forgot to create an /etc/resolv.conf in the jail. > There is nothing wrong with allowing raw sockets to get up and running > and then changing it back (the jail man page states to use caution with > raw sockets not a blatant don't do it). > The key verbiage here is "and then changing it back". Giving advice without also saying why its disabled or that you should disable it when completed testing is giving the op the wrong info. > >> 2. Using the hosts firewall to drive traffic to a jail is a sign you >> have your jail incorrectly configured or do not understand how jails >> are intended to work. >> > > If you have jails assigned to non routable ip's (i.e. 10.0.0.2, > 10.0.0.3) how else would you redirect traffic coming in from your hosts > ip:(http_port, dns_port, etc..) to the corresponding jail that handles > it. I've read a bunch of stuff on jails and unless I missed something > (which is totally possible) using a NAT that's part of a firewall seems > like pretty standard fare. How else would you go about it? man 8 ifconfig alias option > > >> 3. Jail do not have a network stack of their own, so they cant have a >> firewall. The host's firewall and and network stack are in control. >> > > The documentation is rather sparse since it's so new and I personally > haven't used it but FreeBSD 8 has VIMAGE (network stack virtualization). > > http://wiki.freebsd.org/Image/VNETSamples > http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto > http://wiki.polymorf.fr/index.php/Howto:FreeBSD_jail_vnet This is pretty much experimental and nothing a sane person would think of using in production. Maybe in 9.0 the bugs will be worked out. Just have to wait and see. > >> 4. There are 2 utilities for creating jails. Qjail the better >> documented of the 2, is designed for the novice which clearly you are. >> I strongly suggest you checkout >> http://sourceforge.net/projects/qjail > > You should probably preface this by saying you're the author of Qjail > and have been actively promoting it in a few places including the fbsd > forums. Nothing wrong with that I guess, but I still haven't been able > to figure out how it's any different(better?) than ezjail(which has both > an excellent website and man page). If you had really read both ezjail and qjail man pages you would not be making this statement. They are as different as night and day. Qjail is written for the novice with examples and includes many functions missing from ezjail. Like the auto alias function that has been part of the jail command since day one. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 02:50:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE8F0106566C for ; Wed, 11 Aug 2010 02:50:32 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 98B118FC12 for ; Wed, 11 Aug 2010 02:50:32 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Aug 2010 19:50:32 -0700 Message-ID: <4C620FF5.1020900@a1poweruser.com> Date: Wed, 11 Aug 2010 10:50:29 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Randal L. Schwartz" References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> In-Reply-To: <86fwylzyqd.fsf@red.stonehenge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2010 02:50:33.0040 (UTC) FILETIME=[F7807D00:01CB38FF] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 02:50:32 -0000 Randal L. Schwartz wrote: >>>>>> "Fbsd8" == Fbsd8 writes: > > Fbsd8> ifconfig alias > > Fbsd8> man 8 ifconfig > > Yup, and using that, I can give a private 10.x address to my jail. > > How do I get it to face the public without a firewall rule? > No. Your jail is assigned it's ip address when you create it. The alias gives the jail network access when you start the jail. Both ip address must match. Just assign the jail your public ip address when you create it. "face the public" is a very large subject, which the answer depends on your hardware configuration, registered domain names and static ip addresses. Using jails requires the host system administrator to be well trained in networks and how public and private networks function. Jail documentation is not going to teach you this. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 02:59:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660EB1065673 for ; Wed, 11 Aug 2010 02:59:52 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 4F58C8FC08 for ; Wed, 11 Aug 2010 02:59:52 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 2BDA8430F5; Tue, 10 Aug 2010 19:59:40 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Fbsd8 References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> <4C620FF5.1020900@a1poweruser.com> x-mayan-date: Long count = 12.19.17.10.16; tzolkin = 11 Cib; haab = 9 Yaxkin Date: Tue, 10 Aug 2010 19:59:39 -0700 In-Reply-To: <4C620FF5.1020900@a1poweruser.com> (fbsd8@a1poweruser.com's message of "Wed, 11 Aug 2010 10:50:29 +0800") Message-ID: <868w4dzwf8.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 02:59:52 -0000 >>>>> "Fbsd8" == Fbsd8 writes: Fbsd8> No. Your jail is assigned it's ip address when you create it. The Fbsd8> alias gives the jail network access when you start the jail. Both Fbsd8> ip address must match. Yup, and if that's a 10.x address, I'm not on the net. So I have to route to it somehow. Fbsd8> Just assign the jail your public ip address when you create it. I was under the impression that the address had to be distinct, in order to uniquely identify it. Are you saying that's not the case? If so, the docs on jails are unclear. Fbsd8> "face the public" is a very large subject, which the answer depends on your Fbsd8> hardware configuration, registered domain names and static ip Fbsd8> addresses. Yes, I'm hoping not to burn a second or third public address for my jail. Instead, I just want my jail to have a punch through (port 80, port 25, etc) from my one public address. Is there a trick to this without burning another public address? Or do I misunderstand (based on poor docs) how a jail attaches itself to an interface? Fbsd8> Using jails requires the host system administrator to be well Fbsd8> trained in networks and how public and private networks Fbsd8> function. Jail documentation is not going to teach you this. Now you're just being condescending. It's fairly likely, almost certain, that I've been dealing with IP traffic since before you could type. What I'm asking for is the specifics of Jails. I *know* how IP traffic works, and even what alias does. What I don't know is FreeBSD's particulars that make this either hard or easy. I *do* know about pf, having administered an OpenBSD box for a number of years. I'm just new to jails, and since you're the "expert", you might have a little patience on that realm, please. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 04:29:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77D51065673 for ; Wed, 11 Aug 2010 04:29:50 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68C478FC08 for ; Wed, 11 Aug 2010 04:29:50 +0000 (UTC) Received: by bwz9 with SMTP id 9so3065127bwz.13 for ; Tue, 10 Aug 2010 21:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=fQIW2eJLybB6o96s+2JCjEkgyV4DULJvZaoWVBbFVvk=; b=hPmmDW18nENwLyZZHfi5qwmchesH+KtPSaZRUM5qpcWHyUG+4A8jnpHrrup4kewja5 9MGsLr6YPwf1Z/gA1aSIftUuUyXXELaU3d+sZ69yVx/aVWg4Fm3dagQ7Tx11Iyemq19E EfyqGnJ980PdBzwhRi+b19ZmlqhT5mEzqMBSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vyKH/o+dfnU8A88SuO/QSbSf+PdM6cjkpF2rG0tlYYmemiCnuw6ATt8PdI9EQSs4NI ra9xYUSqgLMap5mwKymmM+PxLRSdKfA5SCcqoZm3dhsB9bRL6n3dJCr+IewbdBjPqa0r rr1NuSIh6zhnL66J4C77VE2edfl2Vn/mbGf+k= MIME-Version: 1.0 Received: by 10.204.227.200 with SMTP id jb8mr45543bkb.25.1281500989263; Tue, 10 Aug 2010 21:29:49 -0700 (PDT) Received: by 10.204.126.71 with HTTP; Tue, 10 Aug 2010 21:29:49 -0700 (PDT) Date: Wed, 11 Aug 2010 06:29:49 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: vmstat -z X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 04:29:50 -0000 in a crash dump, I see in vmcore.txt.7, In a output of vmstat -z ITEM SIZE LIMIT USED FREE REQUESTS FAILURES 16 Bucket: 152, 0, 150, 0, 150, 0 32 Bucket: 280, 0, 165, 3, 165, 0 64 Bucket: 536, 0, 154, 0, 154, 3 128 Bucket: 1048, 0, 1115, 1, 1115, 1811 Failures '128 Bucket': 1811. What does this mean? the man page vmstat does not explain vey much .. man uma neither as to what 'failures" can mean ... From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 05:05:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EA881065670 for ; Wed, 11 Aug 2010 05:05:32 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9FF8FC1F for ; Wed, 11 Aug 2010 05:05:31 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 0F3095; Wed, 11 Aug 2010 07:07:15 +0200 Message-ID: <4C622FA2.9050504@nagual.nl> Date: Wed, 11 Aug 2010 07:05:38 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-AxigenSpam-Level: 4 Subject: Re: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 05:05:32 -0000 On 11-8-2010 0:52, Dale Scott wrote: >>> wiped out the firt mb; i used sysinstall to create a fbsd slice; wipe= d >>> it out again; booted knoppix to create an EFI / GPT; booted into >>> opensolaris and created a zpool (v14), but nothing, nothing=20 >>> did the trick. > I was doing a vanilla fbsd install recently using a couple re-claimed 2= 50GB IDE drives. The install completed without errors, but after reboot G= EOM complained bitterly about the secondary GPT table on the boot drive b= eing corrupted or invalid, and unrecoverable corrupted or invalid GPT tab= les on the 2nd drive. By trying something like above, I was able to get t= he system drive to rebuild the secondary GPT table, but nothing worked on= the second drive. Google told me a targeted approach was technically pos= sible (by calculating exactly where a specific drive stores its GPT metad= ata and zeroing just that bit), but also that the broader solution of zer= oing out the entire drive would be faster for me than figuring out the ca= lculation (about 18 hrs to zero the entire drive, at least it was mostly = while sleeping): "dd if=3D/dev/zero of=3D/dev/ad3 bs=3D64K" (no idea if t= he block size is optimal or even relevant). I did not want to overwrite two drives with /dev/zero, so I created a=20 mirror with gmirror yesterday, folowing the steps from the freebsd manual= =2E After it was completed I just did: # gmirror stop gm0 # gmirror clear /dev/ad12 # gmirror clear /dev/ad14 # dd if=3D/dev/zero of=3D/dev/ad12 bs=3D1m count=3D1 # dd if=3D/dev/zero of=3D/dev/ad14 bs=3D1m count=3D1 # kldload zfs # zpool create store mirror ad12 ad14 ## Wrote some data to /store ## # zpool scrub store # zpool history store ## No More Errors !!! ## I guess creating the gmirror metadata / mirror and removing it cleared=20 all data which caused me so much trouble. I happely removed the geom_mirror_load=3D"YES" with zfs_load=3D"YES" and = have what I wanted: FreeBSD/zfs From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 05:28:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87AB91065689 for ; Wed, 11 Aug 2010 05:28:14 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 099D58FC13 for ; Wed, 11 Aug 2010 05:28:13 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1B693B; Wed, 11 Aug 2010 07:29:57 +0200 Message-ID: <4C6234F5.7090700@nagual.nl> Date: Wed, 11 Aug 2010 07:28:21 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> <4C622FA2.9050504@nagual.nl> In-Reply-To: <4C622FA2.9050504@nagual.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 05:28:14 -0000 On 11-8-2010 7:05, Dick Hoogendijk wrote: > On 11-8-2010 0:52, Dale Scott wrote: [cut the former message..] I just found out that the process to repair offending disks with GEOM errors, bad labels etc.. can be repaired a lot quicker. # gmirror label -vb round-robin gm0 /dev/ad12 ## -- disk with vdev error # gmirror stop gm0 # gmirror clear /dev/ad12 # if=/dev/zero of=/dev/ad12 bs=1m count=1 ## -- removes all partition data This leaves me with a completely healthy disk that makes zfs happy ;) Repeat for all other "faulthy" disks. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:08:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A831065670 for ; Wed, 11 Aug 2010 07:08:32 +0000 (UTC) (envelope-from thomas@sanbe-farma.com) Received: from kikazu.sanbe-farma.com (kikazu.sanbe-farma.com [202.6.239.17]) by mx1.freebsd.org (Postfix) with ESMTP id 742B88FC08 for ; Wed, 11 Aug 2010 07:08:31 +0000 (UTC) Received: from sanbe-farma.com (gwsanbe.sanbe-farma.com [202.6.239.18]) by kikazu.sanbe-farma.com (8.14.3/8.14.3) with SMTP id o7B5fxZt049233 for ; Wed, 11 Aug 2010 12:41:59 +0700 (WIT) (envelope-from thomas@sanbe-farma.com) Received: (qmail 76583 invoked by uid 98); 11 Aug 2010 13:51:42 +0700 Received: from 192.168.16.75 by gwsanbe.sanbe-farma.com (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.96.1/11194. spamassassin: 3.3.1. Clear:RC:1(192.168.16.75):. Processed in 0.026316 secs); 11 Aug 2010 06:51:42 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.16.75) by gwsanbe.sanbe-farma.com with SMTP; 11 Aug 2010 13:51:42 +0700 Message-ID: <4C624877.8080903@sanbe-farma.com> Date: Wed, 11 Aug 2010 13:51:35 +0700 From: Thomas Wahyudi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> In-Reply-To: <86fwylzyqd.fsf@red.stonehenge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 07:08:32 -0000 On 11/08/2010 9:09, Randal L. Schwartz wrote: > fbsd8> man 8 ifconfig > Yup, and using that, I can give a private 10.x address to my jail. > > How do I get it to face the public without a firewall rule? > > you need natd and firewall divert rule on jail host. Everything that involve outside jail need must be configure at jail host level. -- Thanks& Regards, Thomas Wahyudi From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:39:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C072D1065673 for ; Wed, 11 Aug 2010 07:39:12 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 435D18FC13 for ; Wed, 11 Aug 2010 07:39:12 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 060866; Wed, 11 Aug 2010 09:40:56 +0200 Message-ID: <4C6253A7.3050701@nagual.nl> Date: Wed, 11 Aug 2010 09:39:19 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: zfs data on disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 07:39:12 -0000 Where does ZFS keeps its data *on disk* for created/exported/imported vdevs? Is /etc/zfs the only place or are there other places? Thanks. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:39:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0239410656F0 for ; Wed, 11 Aug 2010 07:39:21 +0000 (UTC) (envelope-from cameron@cskk.homeip.net) Received: from harvey.boardofstudies.nsw.edu.au (mail2.rack1.boardofstudies.nsw.edu.au [202.125.174.133]) by mx1.freebsd.org (Postfix) with ESMTP id B79DC8FC18 for ; Wed, 11 Aug 2010 07:39:20 +0000 (UTC) Received: from cskk.homeip.net (localhost.localdomain [127.0.0.1]) by harvey.boardofstudies.nsw.edu.au (Postfix) with ESMTP id 6D4924D3223 for ; Wed, 11 Aug 2010 17:20:53 +1000 (EST) Received: by janus.cskk.homeip.net (Postfix, from userid 1000) id 55B3910040AE0; Wed, 11 Aug 2010 17:20:53 +1000 (EST) Date: Wed, 11 Aug 2010 17:20:53 +1000 From: Cameron Simpson To: freebsd-questions@freebsd.org Message-ID: <20100811072053.GA1790@cskk.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: trouble building FreeBSD 8.1 amd64 kernel with pfsync support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 07:39:21 -0000 I'm trying to build a kernel for a pair of firewalls which will be using CARP and pfsync for redundancy. Since I'm new to FreeBSD the config is based on the GENERIC config, thus: include GENERIC ident NEW_FIREWALL device carp ##device pfsync and issuing the build like this: # cd /usr/src # time make buildkernel KERNCONF=NEW_FIREWALL && echo YES With the config above (CARP but no pfsync) it builds just fine and boots and runs happily; I've got CARP configured. If I uncomment the "devic pfsync" the build aborts at link time ending thus: MAKE=make sh /usr/src/sys/conf/newvers.sh NEW_FIREWALL cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c linking kernel.debug in_proto.o(.data+0x698): undefined reference to `pfsync_input' *** Error code 1 Stop in /usr/obj/usr/src/sys/NEW_FIREWALL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. real 11m33.795s user 7m19.405s sys 0m40.068s Am I doing something obviously wrong here? Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Once a Junior Programmer interrupted a Great Guru of the Sun to ask a Question of no importance. The Great Guru replied in words which the Junior Programmer did not understand. The Junior Programmer sought to rephrase the Question, saying, "Stop me if I appear stupid." The great Guru, without speaking, reached over and pressed L1-A. The Junior Programmer achieved Enlightenment. - Jon Green From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 07:42:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16151106566B for ; Wed, 11 Aug 2010 07:42:50 +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 7144D8FC0A for ; Wed, 11 Aug 2010 07:42:49 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7B7gfDR064010 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 11 Aug 2010 08:42:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C625468.8010805@infracaninophile.co.uk> Date: Wed, 11 Aug 2010 08:42:32 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: "Randal L. Schwartz" References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> In-Reply-To: <86mxsuynm0.fsf@red.stonehenge.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF29B285B69DB1F0750D008EE" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Fbsd8 , Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 07:42:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF29B285B69DB1F0750D008EE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/08/2010 01:55, Randal L. Schwartz wrote: >>>>>> "Fbsd8" =3D=3D Fbsd8 writes: >=20 > Fbsd8> 2. Using the hosts firewall to drive traffic to a jail is a sign= > Fbsd8> you have your jail incorrectly configured or do not understand > Fbsd8> how jails are intended to work. >=20 > OK, I'll bite. I thought this was the only way to do this. Can you > elaborate? I'll even accept URL pointers to go read. :) >=20 Fbsd8's contention is ... contentious. Giving your jail an IP on the loopback i/f, and then using NAT to redirect traffic for certain selected ports lets you run services in the jail that need to bind to some network address but that you never want exposed to the Internet. Remember, unless you're using VIMAGE, jails don't have a loopback i/f of their own. VIMAGE is cool, but as it's still incompatible with various other kernel bits, I don't think it's quite ready for primetime yet. Yes, you can achieve the same effect using firewall rules, but as I have occasionally said before, firewalls should be optional -- ideally your system should be secure even if you turn the firewall off. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigF29B285B69DB1F0750D008EE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxiVG4ACgkQ8Mjk52CukIxWzgCcDSXNMndPF7iBSJ5nXYv5It8A nJoAnjdNMq312Za1WrfHPJlznbxkPIPO =V9pp -----END PGP SIGNATURE----- --------------enigF29B285B69DB1F0750D008EE-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 08:36:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC3381065673 for ; Wed, 11 Aug 2010 08:36:18 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB5848FC0C for ; Wed, 11 Aug 2010 08:36:18 +0000 (UTC) Received: by qwg5 with SMTP id 5so8526291qwg.13 for ; Wed, 11 Aug 2010 01:36:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.165.69 with SMTP id h5mr1044103vcy.130.1281515777546; Wed, 11 Aug 2010 01:36:17 -0700 (PDT) Received: by 10.220.199.202 with HTTP; Wed, 11 Aug 2010 01:36:17 -0700 (PDT) X-Originating-IP: [71.1.135.50] In-Reply-To: <20100811072053.GA1790@cskk.homeip.net> References: <20100811072053.GA1790@cskk.homeip.net> Date: Wed, 11 Aug 2010 01:36:17 -0700 Message-ID: From: Rob Farmer To: Cameron Simpson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: trouble building FreeBSD 8.1 amd64 kernel with pfsync support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 08:36:19 -0000 On Wed, Aug 11, 2010 at 12:20 AM, Cameron Simpson wrote: > I'm trying to build a kernel for a pair of firewalls which will be using > CARP and pfsync for redundancy. Since I'm new to FreeBSD the config is > based on the GENERIC config, thus: > > =A0include GENERIC > =A0ident NEW_FIREWALL > =A0device carp > =A0##device pfsync > > and issuing the build like this: > > =A0# cd /usr/src > =A0# time make buildkernel KERNCONF=3DNEW_FIREWALL && echo YES > > With the config above (CARP but no pfsync) it builds just fine > and boots and runs happily; I've got CARP configured. > > If I uncomment the "devic pfsync" the build aborts at link time ending th= us: Do you also have a "device pf" line? I think that is a prereq for pfsync. You may also need "device pflog" - I'm not sure because I've always just added them all. --=20 Rob Farmer > > =A0MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh NEW_FIREWALL cc -c -O2 -fr= ename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 -g -Wall -Wredunda= nt-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointe= r-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensio= ns -nostdinc =A0-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -D= HAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit= =3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D10= 00 -fno-omit-frame-pointer -mcmodel=3Dkernel -mno-red-zone =A0-mfpmath=3D38= 7 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow =A0-msoft-float -fno-asy= nchronous-unwind-tables -ffreestanding -fstack-protector -Werror =A0vers.c > =A0linking kernel.debug > =A0in_proto.o(.data+0x698): undefined reference to `pfsync_input' > =A0*** Error code 1 > > =A0Stop in /usr/obj/usr/src/sys/NEW_FIREWALL. > =A0*** Error code 1 > > =A0Stop in /usr/src. > =A0*** Error code 1 > > =A0Stop in /usr/src. > > =A0real =A0 =A011m33.795s > =A0user =A0 =A07m19.405s > =A0sys =A0 =A0 0m40.068s > > Am I doing something obviously wrong here? > > Cheers, > -- > Cameron Simpson DoD#743 > http://www.cskk.ezoshosting.com/cs/ > > Once a Junior Programmer interrupted a Great Guru of the Sun to ask a > Question of no importance. The Great Guru replied in words which the Juni= or > Programmer did not understand. The Junior Programmer sought to rephrase t= he > Question, saying, "Stop me if I appear stupid." The great Guru, without > speaking, reached over and pressed L1-A. > The Junior Programmer achieved Enlightenment. =A0 - Jon Green > _______________________________________________ > 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 Aug 11 08:36:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E811065689 for ; Wed, 11 Aug 2010 08:36:52 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id CD6338FC23 for ; Wed, 11 Aug 2010 08:36:52 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.114]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Aug 2010 01:36:52 -0700 Message-ID: <4C626120.3080808@a1poweruser.com> Date: Wed, 11 Aug 2010 16:36:48 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Randal L. Schwartz" References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> <4C620FF5.1020900@a1poweruser.com> <868w4dzwf8.fsf@red.stonehenge.com> In-Reply-To: <868w4dzwf8.fsf@red.stonehenge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2010 08:36:52.0806 (UTC) FILETIME=[59352660:01CB3930] X-Sender: fbsd8@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 08:36:53 -0000 Randal L. Schwartz wrote: >>>>>> "Fbsd8" == Fbsd8 writes: > > Fbsd8> No. Your jail is assigned it's ip address when you create it. The > Fbsd8> alias gives the jail network access when you start the jail. Both > Fbsd8> ip address must match. > > Yup, and if that's a 10.x address, I'm not on the net. So I have to > route to it somehow. > > Fbsd8> Just assign the jail your public ip address when you create it. > > I was under the impression that the address had to be distinct, in order > to uniquely identify it. Are you saying that's not the case? If so, > the docs on jails are unclear. > > Fbsd8> "face the public" is a very large subject, which the answer depends on your > Fbsd8> hardware configuration, registered domain names and static ip > Fbsd8> addresses. > > Yes, I'm hoping not to burn a second or third public address for my > jail. Instead, I just want my jail to have a punch through (port 80, > port 25, etc) from my one public address. Is there a trick to this > without burning another public address? Or do I misunderstand (based on > poor docs) how a jail attaches itself to an interface? > > Fbsd8> Using jails requires the host system administrator to be well > Fbsd8> trained in networks and how public and private networks > Fbsd8> function. Jail documentation is not going to teach you this. > > Now you're just being condescending. It's fairly likely, almost > certain, that I've been dealing with IP traffic since before you could > type. > > What I'm asking for is the specifics of Jails. I *know* how IP traffic > works, and even what alias does. What I don't know is FreeBSD's > particulars that make this either hard or easy. I *do* know about pf, > having administered an OpenBSD box for a number of years. I'm just new > to jails, and since you're the "expert", you might have a little > patience on that realm, please. > First thing to keep in mind is jails were designed to be targeted by unique public routable static ip address, in that configuration each jail can run any mixture of services. Different jails on the gateway host using the same public routable static ip address can be targeted by service port number if that port number is not in use on the host or any other jail. This is implied usage,IE not specified in any control file. Lets say the freebsd gateway host has a single static ip address and you want jails on the gateway host to receive unsolicited inbound traffic for web server (port 80) and mail server (port 25). Your domain name points to the single static ip address. Create 2 jails assigned to the single static ip address without the jail auto alias function enabled. No gateway host firewall rules to stop inbound traffic on those ports, or have those ports NATED, but should have statefull rules to let traffic pass. The gateway host can not have a web server using port 80 or a mail server using port 25 or they will process the traffic before the jails see it. The only service running on the web server jail is apache listening on port 80 and the mail server jail (postfix) listening on port 25. In this configuration the web server can even service multiple domain name vhosts. Now if the gateway host has a non-static ip address (dynamic ip address) such as those assigned by ISP's providing DSL or cable internet services your public ip address may change on you when the lease time expires or the system reboots causing your jails to loose their public internet access. Some domain name registers have function where you run a task on you gateway host to monitor your public IP address, and if it changes submits to your domain name register a automatic request to change the ip address your domain name points to. Another gotcha is some DSL or cable providers of public internet services have their network designed as a LAN and you do not have a real public routable ip address EVER. In this case your jails can only be used for services restricted to your own private LAN. The service provider is NATing your traffic at their front door. You are SOL. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 09:30:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692E2106566B for ; Wed, 11 Aug 2010 09:30:24 +0000 (UTC) (envelope-from cameron@cskk.homeip.net) Received: from harvey.boardofstudies.nsw.edu.au (mail2.rack1.boardofstudies.nsw.edu.au [202.125.174.133]) by mx1.freebsd.org (Postfix) with ESMTP id 2823C8FC19 for ; Wed, 11 Aug 2010 09:30:23 +0000 (UTC) Received: from cskk.homeip.net (localhost.localdomain [127.0.0.1]) by harvey.boardofstudies.nsw.edu.au (Postfix) with ESMTP id E4D264D3223; Wed, 11 Aug 2010 19:30:19 +1000 (EST) Received: by janus.cskk.homeip.net (Postfix, from userid 1000) id C54E110040AE0; Wed, 11 Aug 2010 19:30:19 +1000 (EST) Date: Wed, 11 Aug 2010 19:30:19 +1000 From: Cameron Simpson To: Rob Farmer Message-ID: <20100811093019.GA18702@cskk.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) References: Cc: freebsd-questions@freebsd.org Subject: Re: trouble building FreeBSD 8.1 amd64 kernel with pfsync support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 09:30:24 -0000 On 11Aug2010 01:36, Rob Farmer wrote: | On Wed, Aug 11, 2010 at 12:20 AM, Cameron Simpson wrote: | > I'm trying to build a kernel for a pair of firewalls which will be using | > CARP and pfsync for redundancy. Since I'm new to FreeBSD the config is | > based on the GENERIC config, thus: | > | >  include GENERIC | >  ident NEW_FIREWALL | >  device carp | >  ##device pfsync | > | > and issuing the build like this: | > | >  # cd /usr/src | >  # time make buildkernel KERNCONF=NEW_FIREWALL && echo YES | > | > With the config above (CARP but no pfsync) it builds just fine | > and boots and runs happily; I've got CARP configured. | > | > If I uncomment the "devic pfsync" the build aborts at link time ending thus: | | Do you also have a "device pf" line? I think that is a prereq for | pfsync. You may also need "device pflog" - I'm not sure because I've | always just added them all. Hmm. [greps GENERIC...] No, I don't. I figured that since pfctl was working I was ok there, but I think it loads the module dynamicly. I can see that if pfsync needs a static build it may rely on pf and pflog being static also. I'll try that now and report. Thanks, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Trust the computer industry to shorten Year 2000 to Y2K. It was this thinking that caused the problem in the first place. - Mark Ovens From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 09:35:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0455F1065673 for ; Wed, 11 Aug 2010 09:35:47 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from c.mail.ru.ac.za (c.mail.ru.ac.za [IPv6:2001:4200:1010::25:3]) by mx1.freebsd.org (Postfix) with ESMTP id F201D8FC1B for ; Wed, 11 Aug 2010 09:35:45 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=iYrp2AsgaByugJarSB7oU9AqrKPCy4m5g6NWobLsrsN/3IWsWj1E0V1VABw+rjfqmqdYN8dsPx+oRM3Ewz68pBPvm3XXr1N+/KODZfhZ2cRvQfeuYVkzxH52SVQPxq7c; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:52044) by c.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Oj7in-000PtY-Lf; Wed, 11 Aug 2010 11:35:41 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Wed, 11 Aug 2010 11:35:41 +0200 User-Agent: KMail/1.9.10 References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <4C61F7D4.6000905@speakeasy.net> In-Reply-To: <4C61F7D4.6000905@speakeasy.net> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: c.mail.ru.ac.za (2001:4200:1010::25:3) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Cc: Rocky Borg Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 09:35:47 -0000 On Wednesday 11 August 2010 03:07:32 Rocky Borg wrote: > You should probably preface this by saying you're the author of Qjail > and have been actively promoting it in a few places including the fbsd > forums. That's interesting, given that you're replying to Fbsd8 . The announcement of qjail came from Aiza . No reason why someone shouldn't use two email accounts, I guess; but I must admit I'd naively assumed fbsd8 was independently endorsing aiza's utility. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 09:59:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F6A106566C for ; Wed, 11 Aug 2010 09:59:35 +0000 (UTC) (envelope-from cameron@cskk.homeip.net) Received: from harvey.boardofstudies.nsw.edu.au (mail2.rack1.boardofstudies.nsw.edu.au [202.125.174.133]) by mx1.freebsd.org (Postfix) with ESMTP id 570C98FC1C for ; Wed, 11 Aug 2010 09:59:34 +0000 (UTC) Received: from cskk.homeip.net (localhost.localdomain [127.0.0.1]) by harvey.boardofstudies.nsw.edu.au (Postfix) with ESMTP id 7F1A74D3223; Wed, 11 Aug 2010 19:59:33 +1000 (EST) Received: by janus.cskk.homeip.net (Postfix, from userid 1000) id 684F210040AE0; Wed, 11 Aug 2010 19:59:33 +1000 (EST) Date: Wed, 11 Aug 2010 19:59:33 +1000 From: Cameron Simpson To: Rob Farmer Message-ID: <20100811095933.GA23627@cskk.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100811093019.GA18702@cskk.homeip.net> User-Agent: Mutt/1.5.20 (2009-06-14) References: <20100811093019.GA18702@cskk.homeip.net> Cc: freebsd-questions@freebsd.org Subject: Re: trouble building FreeBSD 8.1 amd64 kernel with pfsync support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 09:59:35 -0000 On 11Aug2010 19:30, I wrote: | On 11Aug2010 01:36, Rob Farmer wrote: | | On Wed, Aug 11, 2010 at 12:20 AM, Cameron Simpson wrote: | | > I'm trying to build a kernel for a pair of firewalls which will be using | | > CARP and pfsync for redundancy. Since I'm new to FreeBSD the config is | | > based on the GENERIC config, thus: | | >  include GENERIC | | >  ident NEW_FIREWALL | | >  device carp | | >  ##device pfsync [...] | | > If I uncomment the "devic pfsync" the build aborts at link time ending thus: | | | | Do you also have a "device pf" line? I think that is a prereq for | | pfsync. You may also need "device pflog" - I'm not sure because I've | | always just added them all. | | Hmm. [greps GENERIC...] No, I don't. I figured that since pfctl was | working I was ok there, but I think it loads the module dynamicly. I can see | that if pfsync needs a static build it may rely on pf and pflog being static | also. I'll try that now and report. Victory! Thanks! I'm a little surprised that the error I got: in_proto.o(.data+0x698): undefined reference to `pfsync_input' seemed to be a complaint about pfsync rather than missing pf stuff. Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Tis better to have test ridden and lost, than to never have test ridden at all. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 10:08:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id B105E106567C; Wed, 11 Aug 2010 10:08:47 +0000 (UTC) Date: Wed, 11 Aug 2010 10:08:47 +0000 From: Alexander Best To: "illoai@gmail.com" Message-ID: <20100811100847.GA20045@freebsd.org> References: <20100809180022.GA33596@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 10:08:47 -0000 On Tue Aug 10 10, illoai@gmail.com wrote: > On 9 August 2010 14:00, Alexander Best wrote: > > hi there, > > > > chflags(1) mentions that a few utilities including pax(1) aren't chflags aware yet. is there a list of all those utilties available somewhere? > > also: i don't quite understand why this is in the BUGS section of chflags(1) and not in the pax(1) manual itself [1]. this doesn't seem very logical, since the bug doesn't exist in chflags, but in pax not supporting chflags. > > so if someone decides to use pax and wants to know if there are any problem with it, there's no way for the average user to stumble upon the fact that chflags isn't supported in pax. > > > > in fact the pax(1) manual states that `pax -p e` will "preserve everything". this is plain wrong! > > > > cheers. > > alex > > > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/135516 > > > > AFIK, pax is a POSIX thing, and as such working > correctly or sanely would violate its posix nature. > (POSIX is an anagram of "Pox? Si!") POSIX specs issue 7 state that `pax -p e` should: "Preserve the user ID, group ID, file mode bits (see XBD File Mode Bits ), access time, modification time, and any other implementation-defined file characteristics." don't chflags fall under "other implementation-defined file characteristics"? > > Is cpio chflags-aware? hmm...no idea. sorry. > > -- > -- -- a13x From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:04:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AACFF1065672 for ; Wed, 11 Aug 2010 13:04:01 +0000 (UTC) (envelope-from a.huth@tmr.net) Received: from bo-uwka-srv01.de.tmr.net (bo-uwka-srv01.de.tmr.net [212.23.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6D89E8FC1A for ; Wed, 11 Aug 2010 13:04:01 +0000 (UTC) Received: from localhost (localhost.de.tmr.net [127.0.0.1]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 887C61DE892 for ; Wed, 11 Aug 2010 14:35:47 +0200 (CEST) Received: from bo-uwka-srv01.de.tmr.net ([127.0.0.1]) by localhost (bo-uwka-srv01.de.tmr.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 33387-01-82 for ; Wed, 11 Aug 2010 14:35:47 +0200 (CEST) Received: from localhost (bo-stwhv-fw02.de.tmr.net [212.23.140.253]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 00E4E1DE88D for ; Wed, 11 Aug 2010 14:35:47 +0200 (CEST) Date: Wed, 11 Aug 2010 14:40:06 +0200 From: Alex Huth To: freebsd-questions@freebsd.org Message-ID: <20100811124006.GA2284@borusse.ewmr.base> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:04:01 -0000 Hello? Is anyone using skype on freebsd 8 and can tell me how to do the setup? Seem to be that there is no port and on the website i find no package for freebsd. THX Alex From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:26:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBAEA106566C for ; Wed, 11 Aug 2010 13:26:36 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2F88FC1C for ; Wed, 11 Aug 2010 13:26:36 +0000 (UTC) Received: by wwb13 with SMTP id 13so81149wwb.31 for ; Wed, 11 Aug 2010 06:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=2cI3UT/ZTfChMnLCYypUd0ZEhif6YUbvDzB/G9tN+xQ=; b=DTRGnzCLBNerh+nikZi0bTuE9rrO/VszrUBPv6IoXvFmhrVJYtCwosl1fU2GPixN0p GWuXjg5+3clV0pv5EyYX+Cef8JeeQzliDsv7IYKTMReIZzcw7DTROemHL8W5BnhQpQP2 ouUPj6J6MTxWgw1gZRaBqF/LATLqE3c0j54/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=uPzfvhOQRstDvTxsJFw3HKeZD2KMftUY5yzFkMHgioR4/cGmqsalqqgnO5C3EH0Kn6 5bZ4lUEfd9VtD1ke3y1LXvU/cfJYyFqY5KL2xVfVgpUM/6zzpTw2xfyMPZCMw1x6hDbJ 9FosQD1pj9FlE+dhw8kwEYGxRwCn6ULX/nkZY= Received: by 10.227.151.195 with SMTP id d3mr16286660wbw.170.1281533191790; Wed, 11 Aug 2010 06:26:31 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id k7sm74458wej.26.2010.08.11.06.26.25 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Aug 2010 06:26:30 -0700 (PDT) Date: Wed, 11 Aug 2010 14:26:11 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100811142611.4e918278@gumby.homeunix.com> In-Reply-To: <20100811124006.GA2284@borusse.ewmr.base> References: <20100811124006.GA2284@borusse.ewmr.base> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:26:37 -0000 On Wed, 11 Aug 2010 14:40:06 +0200 Alex Huth wrote: > Hello? > > Is anyone using skype on freebsd 8 and can tell me how to do the > setup? Seem to be that there is no port cd /usr/ports && make search name=skype From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:29:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 903761065674 for ; Wed, 11 Aug 2010 13:29:09 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 760B28FC1C for ; Wed, 11 Aug 2010 13:29:09 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 46F2B43606; Wed, 11 Aug 2010 06:29:09 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Matthew Seaman References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C625468.8010805@infracaninophile.co.uk> x-mayan-date: Long count = 12.19.17.10.17; tzolkin = 12 Caban; haab = 10 Yaxkin Date: Wed, 11 Aug 2010 06:29:09 -0700 In-Reply-To: <4C625468.8010805@infracaninophile.co.uk> (Matthew Seaman's message of "Wed, 11 Aug 2010 08:42:32 +0100") Message-ID: <86aaotxopm.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Fbsd8 , Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:29:09 -0000 >>>>> "Matthew" == Matthew Seaman writes: Matthew> Yes, you can achieve the same effect using firewall rules, but Matthew> as I have occasionally said before, firewalls should be Matthew> optional -- ideally your system should be secure even if you Matthew> turn the firewall off. Well, I already have pf fired up to deal with web and ssh rate limiting, so firing up a natd seems a bit redundant. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:29:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87E86106564A for ; Wed, 11 Aug 2010 13:29:59 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 713D38FC12 for ; Wed, 11 Aug 2010 13:29:59 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 5C6BB43631; Wed, 11 Aug 2010 06:29:59 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Thomas Wahyudi References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com> <4C624877.8080903@sanbe-farma.com> x-mayan-date: Long count = 12.19.17.10.17; tzolkin = 12 Caban; haab = 10 Yaxkin Date: Wed, 11 Aug 2010 06:29:59 -0700 In-Reply-To: <4C624877.8080903@sanbe-farma.com> (Thomas Wahyudi's message of "Wed, 11 Aug 2010 13:51:35 +0700") Message-ID: <8662zhxoo8.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:29:59 -0000 >>>>> "Thomas" == Thomas Wahyudi writes: Thomas> On 11/08/2010 9:09, Randal L. Schwartz wrote: fbsd8> man 8 ifconfig >> Yup, and using that, I can give a private 10.x address to my jail. >> >> How do I get it to face the public without a firewall rule? >> >> Thomas> you need natd and firewall divert rule on jail host. Everything that involve Thomas> outside jail need must be configure at jail host level. Exactly as I suspected. Thanks for confirming it. I was just wondering if fbsd8 was blowing smoke, and apparently, yes. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:43:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BCEB1065679 for ; Wed, 11 Aug 2010 13:43:17 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D1B388FC0C for ; Wed, 11 Aug 2010 13:43:16 +0000 (UTC) Received: by eyh6 with SMTP id 6so47066eyh.13 for ; Wed, 11 Aug 2010 06:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=6Lmp0QuBX/jalAUyFzimpOXZqTxjsnpyybAbr33ozqw=; b=MygHcapv5sWJxbrs8eQxdGMGsEOx20lsK6vrjZEIhpib+jTxqmDpFB4wIU9OdRmgV/ DHThqGFcbm220eN6vAuK7aEWzbPSCTyMxsqLeyNhw5DV9OfnDtlZbRj6Mi9YMiS/LEXa 6idZjEMtawtVnuThJW1dB0Dj3KUhEd1oF6wq8= 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=h/h8NlIo7J4FsxcxO5TCOhThFeTgChiUJAtLzKtJEku01dAvtASTvtNGl27XPja0zI PWLiOZFUzLAjvuU7B6tvn8Qbw2gOTE5vvfKVae0PymPWx4ekQ/97jwQASVt/DRCrijsf NXqi40Bg1AFc74IGsGn9Lm/TGSyUaG3Yj2VpY= MIME-Version: 1.0 Received: by 10.216.22.74 with SMTP id s52mr5321244wes.11.1281534195759; Wed, 11 Aug 2010 06:43:15 -0700 (PDT) Received: by 10.216.22.68 with HTTP; Wed, 11 Aug 2010 06:43:15 -0700 (PDT) In-Reply-To: <20100811134452.GA2172@borusse.ewmr.base> References: <20100811124006.GA2284@borusse.ewmr.base> <20100811134452.GA2172@borusse.ewmr.base> Date: Wed, 11 Aug 2010 15:43:15 +0200 Message-ID: From: claudiu vasadi To: Alex Huth , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:43:17 -0000 Hi Alex, In that case you can "make maintainer" and write an e-mail to that person. Of course, you can even lend a hand or take-over the port maintenance if the current maintainer has no time for it. Contributors are always welcomed. Another option would be to get the source from the skype website, compile and run it. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 13:50:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77551065676 for ; Wed, 11 Aug 2010 13:50:46 +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 0D06A8FC17 for ; Wed, 11 Aug 2010 13:50:45 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7BDoWe0080550 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 11 Aug 2010 14:50:38 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C62AAA3.7090708@infracaninophile.co.uk> Date: Wed, 11 Aug 2010 14:50:27 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: "Randal L. Schwartz" References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C625468.8010805@infracaninophile.co.uk> <86aaotxopm.fsf@red.stonehenge.com> In-Reply-To: <86aaotxopm.fsf@red.stonehenge.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD896B1DF05B3E242288296AB" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Fbsd8 , Brice ERRANDONEA , freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 13:50:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD896B1DF05B3E242288296AB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/08/2010 14:29, Randal L. Schwartz wrote: >>>>>> "Matthew" =3D=3D Matthew Seaman = writes: >=20 > Matthew> Yes, you can achieve the same effect using firewall rules, but= > Matthew> as I have occasionally said before, firewalls should be > Matthew> optional -- ideally your system should be secure even if you > Matthew> turn the firewall off. >=20 > Well, I already have pf fired up to deal with web and ssh rate limiting= , > so firing up a natd seems a bit redundant. >=20 I meant that you could block access to private servers which need to listen on public network ports by just using firewall rules, as opposed to making the whole jail hang off a private interface and just forwarding selected traffic to it. For the second case, you would need pf to do the NAT'ing (or ipfw+natd if that's your preference). With this trick of binding the sensitive daemons to an address on the loopback, you are still secure even if pf gets turned off. Of course, "secure" is not necessarily the same as "working." Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigD896B1DF05B3E242288296AB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxiqqgACgkQ8Mjk52CukIxB9QCggVGWtaIAhudYUNHpuFQ328+x X4kAn0tVzKVVxPij70R7ExWJJ0K2PGXA =DlJ4 -----END PGP SIGNATURE----- --------------enigD896B1DF05B3E242288296AB-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:10:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B96D106566B for ; Wed, 11 Aug 2010 14:10:09 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF098FC15 for ; Wed, 11 Aug 2010 14:10:09 +0000 (UTC) Received: by pwj4 with SMTP id 4so53968pwj.13 for ; Wed, 11 Aug 2010 07:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/OQnx/AHQdrCLR+qYqce7dI1KW/27BWrEILanFuwLE4=; b=TJAmVA27K0uy4bBgBLDW6BSbVEpotSPEfafrX1HrU3D2vssbKf42wprOIkPQg8Q7NO qAseY8icPuZqolGPrDqxjO2iXJEK8K0JOszMw3cue+v6ilQnwGILV7D1WTuKr0sHOrgy 2qaWD6haWBNmX1zX4vwdMKeYPPKhP70I2zaIw= 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=ef2pB5G8VIaGf2b0pHb+pxPowCZ+9h9/FODAUtSJkKGHS6riwEgwld1klZ5gqYDBKt NZSWH428Hdb+nqXiD2/cBhtjmphFNsSpNo/HHfhBvH9k8NUi/rIbM6bDyzHPSN0/u4fh RTTTdsz7oQR1Zn2HB4T1h4gJ2ypW1fcd2/2Fg= MIME-Version: 1.0 Received: by 10.142.215.21 with SMTP id n21mr16270328wfg.32.1281535808557; Wed, 11 Aug 2010 07:10:08 -0700 (PDT) Received: by 10.220.182.131 with HTTP; Wed, 11 Aug 2010 07:10:06 -0700 (PDT) In-Reply-To: <4C62AAA3.7090708@infracaninophile.co.uk> References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C625468.8010805@infracaninophile.co.uk> <86aaotxopm.fsf@red.stonehenge.com> <4C62AAA3.7090708@infracaninophile.co.uk> Date: Wed, 11 Aug 2010 06:10:06 -0800 Message-ID: From: David Allen To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Cc: Fbsd8 , Brice ERRANDONEA , freebsd-questions@freebsd.org, "Randal L. Schwartz" Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:10:09 -0000 > I meant that you could block access to private servers which need to > listen on public network ports by just using firewall rules, as opposed > to making the whole jail hang off a private interface and just > forwarding selected traffic to it. > > For the second case, you would need pf to do the NAT'ing (or ipfw+natd > if that's your preference). With this trick of binding the sensitive > daemons to an address on the loopback, you are still secure even if pf > gets turned off. Of course, "secure" is not necessarily the same as > "working." I've read comments in the past about setting up jails using local loopback addresses, but I'm wondering if you wouldn't mind elaborating on what the actual pf rules would look like. Say you have 3 jails and more than one public IP address: ns 127.0.0.2 public_ip_1 mail 127.0.0.3 public_ip_2 www 127.0.0.4 public_ip_3 You want to pass port 25 traffic to/from the 'mail' jail. But you also need that jail to use the correct public_ip address. Is that possible without using, for example, pf's binat? Thanks. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:13:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFA5106564A for ; Wed, 11 Aug 2010 14:13:30 +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 02B9C8FC16 for ; Wed, 11 Aug 2010 14:13:29 +0000 (UTC) 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 o7BEDPZE041501 for ; Wed, 11 Aug 2010 09:13:25 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201008111413.o7BEDPZE041501@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <41499.1281536005.1@dc.cis.okstate.edu> Date: Wed, 11 Aug 2010 09:13:25 -0500 From: Martin McCormick Subject: Re: Bind9.7.1 Package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:13:30 -0000 Matthew Seaman writes: > # pkg_create -b pkg-config-0.23_1 > > pkg-config is an indirect dependency for bind -- it's required by > security/openssl and textproc/libxml2 either of which bind are optional > dependencies for dns/bind97. Thank you. This put me on the right track. When I used the full name of the dependency, the command did not work with the complaint that it could not find the package so I did a pkg_info and looked for any reference to pkg-config. It turns out that if one chops off the _1 at the end, it did recover another package as in pkg-config-0.23.tbz which appeared in /uar/ports/dns/bind97. I copied it to the same directory as the other tar balls so pkg_add should find it also now. Martin From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:22:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94E4B1065675 for ; Wed, 11 Aug 2010 14:22:54 +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 561858FC08 for ; Wed, 11 Aug 2010 14:22:54 +0000 (UTC) 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 o7BEMr0E049271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:22:53 -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.4/8.14.4) with ESMTP id o7BEMqSw062939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:22:53 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7BEMpDn062879; Wed, 11 Aug 2010 09:22:51 -0500 (CDT) (envelope-from dan) Date: Wed, 11 Aug 2010 09:22:50 -0500 From: Dan Nelson To: Chris Maness Message-ID: <20100811142250.GA18896@dan.emsphone.com> References: <20100810230827.GB63330@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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, 11 Aug 2010 09:22:53 -0500 (CDT) Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:22:54 -0000 In the last episode (Aug 10), Chris Maness said: > On Tue, Aug 10, 2010 at 4:08 PM, Roland Smith wrote: > > On Tue, Aug 10, 2010 at 03:38:03PM -0700, Chris Maness wrote: > >> I have had two spontaneous reboots since I have began using virtualbox. > >> I have never had the issue before.  I just upgraded to 8.1 yesterday, > >> so I will see if it happens again. > >> > >> Has anyone else had crashes/reboots running these modules? > > > > Yes, I've experiencing several on 8.0-RELEASE amd64. Since I was mostly > > using it to play with other OSs, I de-installed virtualbox and haven't > > tried it since. > > Has this behavior already been documented anywhere? I run 3 VirtualBox vms at home on an 8.1-stable host and haven't had it panic or reboot on me. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:34:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11A041065670 for ; Wed, 11 Aug 2010 14:34:39 +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 CBBA08FC12 for ; Wed, 11 Aug 2010 14:34:38 +0000 (UTC) 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 o7BEYbmf050532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:34:38 -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.4/8.14.4) with ESMTP id o7BEYb3h089267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 09:34:37 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7BEYbEZ089266; Wed, 11 Aug 2010 09:34:37 -0500 (CDT) (envelope-from dan) Date: Wed, 11 Aug 2010 09:34:37 -0500 From: Dan Nelson To: Dick Hoogendijk Message-ID: <20100811143437.GB18896@dan.emsphone.com> References: <4C6253A7.3050701@nagual.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C6253A7.3050701@nagual.nl> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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, 11 Aug 2010 09:34:38 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: zfs data on disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:34:39 -0000 In the last episode (Aug 11), Dick Hoogendijk said: > Where does ZFS keeps its data *on disk* for created/exported/imported > vdevs? > Is /etc/zfs the only place or are there other places? > Thanks. I don't think there's anything in /etc/zfs apart from the NFS exports file. The list of currently-mounted pools and their devices is stored in /boot/zfs/zpool.cache , and I believe is only used during bootup. vdev information itself is stored in the zpool labels; you can view that with "zdb -l /dev/nnn", where nnn is one of the devices your zpool is bulit on. More info than you probably want: http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/ondiskformat0822.pdf -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:52:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A241065674 for ; Wed, 11 Aug 2010 14:52:57 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id A5AED8FC14 for ; Wed, 11 Aug 2010 14:52:56 +0000 (UTC) Received: by ewy26 with SMTP id 26so107870ewy.13 for ; Wed, 11 Aug 2010 07:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=uh8bfgug2NDGw+fmB5ABCiZU3rPs75ReusO69kOSj18=; b=WndlEW7UkBc7waQV8qEOpVnukikgmzXeg25dzJW46SN1BdTdDhnqzISy7myjhIcEYy hcogaiDmuqOQkxM8VlM8StTsrePqPzVUK87/9Ygi6WgDA3giTxwM71jFOIMPAaRoQ1AO KTHifH4IvoSMvkH6YUksY6X+5o7TnL9dbUnEU= 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=FkktF7XRoM/5qSC8xT8lfKgZmhwZOlO+QRlp5qSO6qB1Fdol6bQyxGTCAOBQIBT8EA bYLtzpI0YDptl9Dbna7DgbqYTj09xKrFl6EmLY6QQJA3U8wryeIW0YY/LUcnafuT1Z/w Jvm+BPT5ZQ3rGYiNmNG7bxqkAVgXwhHxk9QNI= MIME-Version: 1.0 Received: by 10.213.19.82 with SMTP id z18mr5886605eba.88.1281538375396; Wed, 11 Aug 2010 07:52:55 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Wed, 11 Aug 2010 07:52:55 -0700 (PDT) In-Reply-To: <20100811142250.GA18896@dan.emsphone.com> References: <20100810230827.GB63330@slackbox.erewhon.net> <20100811142250.GA18896@dan.emsphone.com> Date: Wed, 11 Aug 2010 07:52:55 -0700 X-Google-Sender-Auth: J-1MAfW70HRZR13fW1phfjEaI3Q Message-ID: From: Chris Maness To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:52:57 -0000 On Wed, Aug 11, 2010 at 7:22 AM, Dan Nelson wrote= : > In the last episode (Aug 10), Chris Maness said: >> On Tue, Aug 10, 2010 at 4:08 PM, Roland Smith wrote: >> > On Tue, Aug 10, 2010 at 03:38:03PM -0700, Chris Maness wrote: >> >> I have had two spontaneous reboots since I have began using virtualbo= x. >> >> I have never had the issue before. =A0=A0I just upgraded to 8.1 yeste= rday, >> >> so I will see if it happens again. >> >> >> >> Has anyone else had crashes/reboots running these modules? >> > >> > Yes, I've experiencing several on 8.0-RELEASE amd64. Since I was mostl= y >> > using it to play with other OSs, I de-installed virtualbox and haven't >> > tried it since. >> >> Has this behavior already been documented anywhere? > > I run 3 VirtualBox vms at home on an 8.1-stable host and haven't had it > panic or reboot on me. > > -- > =A0 =A0 =A0 =A0Dan Nelson > =A0 =A0 =A0 =A0dnelson@allantgroup.com Were you running it on 8.0? I am wondering if the issue was fixed in 8.1. I have commented out the modules for now. I am a little nervous about file system corruption from hard crash/reboots. I can set up a jail for my FreeBSD sandbox. However, my server is the only viable i386 environment that I have to play with other OS's like Linux, so I would like to still use vbox if I can be confident it is stable because this server is a production machine. All my other boxes are Apple machines. Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 14:58:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A36F1065676 for ; Wed, 11 Aug 2010 14:58:36 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 191D38FC0C for ; Wed, 11 Aug 2010 14:58:35 +0000 (UTC) Received: by vws7 with SMTP id 7so159755vws.13 for ; Wed, 11 Aug 2010 07:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=BaGovP71O+HY6AdFdxzzWME88dSOYhD5qQ48arTIE2g=; b=x7NsJk8O4TG0uHQAyys4sVN9E+rI01cM+6wFlOdeZE+fU0mHOWqtp0iPpG34emSnze AoxKPQwB83JvT4uJs5pwCh/fsGhyc+AWCPaqPC5vc0tQx7yjiQhOFdIY0zXFXKo9Ms4a OabAD8CkRVfk2cyLGzbGjFBio5z0uWbNk5jvk= 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=ktKunrPfouewKdGwVpjdYSmZs1O17EVcZ1uEwwhAJyARJUZC1iymw5JEND6wn9NX1y ufjal/xEy7BeB+RuOcRoI81DgpzaO0FpY5JHWtg6HHBX+N4yPHI0ZScm2wZffxTpqHZz LtGLt5cbarS77J0mJC/xzzGhPbZsxGaz6c0/g= MIME-Version: 1.0 Received: by 10.229.224.3 with SMTP id im3mr9889008qcb.58.1281538715052; Wed, 11 Aug 2010 07:58:35 -0700 (PDT) Received: by 10.229.64.104 with HTTP; Wed, 11 Aug 2010 07:58:34 -0700 (PDT) In-Reply-To: References: <20100810230827.GB63330@slackbox.erewhon.net> <20100811142250.GA18896@dan.emsphone.com> Date: Wed, 11 Aug 2010 09:58:34 -0500 Message-ID: From: Adam Vande More To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roland Smith , Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 14:58:36 -0000 On Wed, Aug 11, 2010 at 9:52 AM, Chris Maness wrote: > Were you running it on 8.0? I am wondering if the issue was fixed in > 8.1. I have commented out the modules for now. I am a little nervous > about file system corruption from hard crash/reboots. > > I can set up a jail for my FreeBSD sandbox. However, my server is the > only viable i386 environment that I have to play with other OS's like > Linux, so I would like to still use vbox if I can be confident it is > stable because this server is a production machine. All my other > boxes are Apple machines. > I have not had that issue on either 8.0 or 8.1. I used to get some hard locks on vbox <= 3.2.4, but haven't seen any issues on 3.2.6. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:22:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAD6C1065670 for ; Wed, 11 Aug 2010 15:22:57 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 748A68FC08 for ; Wed, 11 Aug 2010 15:22:57 +0000 (UTC) Received: by eyh6 with SMTP id 6so140762eyh.13 for ; Wed, 11 Aug 2010 08:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=xkmd4gNkhCP4sOQKnQ7x5Qv+9ay4d48wkE+etNEOgCU=; b=IujC0uIYsIY/mkWhVmTqm96aqY9HlDNVsELipGFhfk1F1ke7OdssyM0yosV+C64FXS hqs/MAnZpC0A/HBT9jkwtKOTgEM4iDnS65OqvdLS2nBI5LN5dF9BUAnqvhhDRLRQJYSE ie4+00XR+8AJo9Q/ad+ztTLSlWrEarHdkSwdY= 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=L5xVTLPfFJ58ipCANFm03OtqjExSU1wQ5w11hSZjxp9NcJ3HVZbbIsf0xpIsIEANuQ KaacAi7RkvsQXjLrIiEy1+elMPzjWboxuUiq6IKH5rl5hGfK0IC9ipLQg00EbtuKdxx+ qI1i/DkFl6f9wXU/MAE/PsuQJjm5ol5/K93yc= MIME-Version: 1.0 Received: by 10.213.4.145 with SMTP id 17mr14136506ebr.31.1281540176361; Wed, 11 Aug 2010 08:22:56 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Wed, 11 Aug 2010 08:22:56 -0700 (PDT) In-Reply-To: References: <20100810230827.GB63330@slackbox.erewhon.net> <20100811142250.GA18896@dan.emsphone.com> Date: Wed, 11 Aug 2010 08:22:56 -0700 X-Google-Sender-Auth: gv1i8R8CcEMv4LUrCieTqgUpm18 Message-ID: From: Chris Maness To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roland Smith , Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 15:22:58 -0000 On Wed, Aug 11, 2010 at 7:58 AM, Adam Vande More wr= ote: > On Wed, Aug 11, 2010 at 9:52 AM, Chris Maness wro= te: >> >> Were you running it on 8.0? =A0I am wondering if the issue was fixed in >> 8.1. =A0I have commented out the modules for now. =A0I am a little nervo= us >> about file system corruption from hard crash/reboots. >> >> I can set up a jail for my FreeBSD sandbox. =A0However, my server is the >> only viable i386 environment that I have to play with other OS's like >> Linux, so I would like to still use vbox if I can be confident it is >> stable because this server is a production machine. =A0All my other >> boxes are Apple machines. > > I have not had that issue on either 8.0 or 8.1.=A0 I used to get some har= d > locks on vbox <=3D 3.2.4, but haven't seen any issues on 3.2.6. > > -- > Adam Vande More > I am running 3.2.6 and it was crashing. Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:31:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A3571065670 for ; Wed, 11 Aug 2010 15:31:51 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 046C38FC15 for ; Wed, 11 Aug 2010 15:31:50 +0000 (UTC) Received: by qyk32 with SMTP id 32so321899qyk.13 for ; Wed, 11 Aug 2010 08:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3d1pzLbnCmB2xWvSRsIvpfVoNy1gqhQi5ZS0iGQrmN0=; b=qQyjVOikrlWfXVkoPjKCktkibH21gfnjTZYqDUOcCcoCnTQjFrnQAaByCG9TtoYWTv dPXjs7+4OwsB34/+F+ywtIQABgtlXqV6CO6lsghgJzj7DhEeCZwRdIZV5sdmXhcafrQP thbWAdrDzEA2kHatU/hNOQeyC65UbSpF0i66w= 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=AokNIO13ORkRBmCqPtXyauN8yNN0vYEZpt7dj5sAQP874C4C80QWYntO+GOZMmyfqy hJ1MJoGke85gqn5pSLVKe2azWdwWdrpxFvICOLNeDJIr2XreJU0diiZAlnhSQw1L1Dbd 5xtsd9Ji7vnv4LhZ3V4bXlrkCLgc/VDPLDSJs= MIME-Version: 1.0 Received: by 10.229.116.85 with SMTP id l21mr9609150qcq.263.1281540710172; Wed, 11 Aug 2010 08:31:50 -0700 (PDT) Received: by 10.229.64.104 with HTTP; Wed, 11 Aug 2010 08:31:50 -0700 (PDT) In-Reply-To: References: <20100810230827.GB63330@slackbox.erewhon.net> <20100811142250.GA18896@dan.emsphone.com> Date: Wed, 11 Aug 2010 10:31:50 -0500 Message-ID: From: Adam Vande More To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roland Smith , Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 15:31:51 -0000 On Wed, Aug 11, 2010 at 10:22 AM, Chris Maness wrote: > I am running 3.2.6 and it was crashing. > On the <= 3.2.4 stuff, only time is crashed was with multiple cpu vm's. Doesn't happen any longer and my systems are up for months running vm's. I'd try to find the root cause of your issue, somethings to check are sources vs installed kernel/world in sync? If not fix and rebuild. Is this from a clean install? if not, you may have dependency issues. Finding these can be difficult, save yourself the headache and following the instructions on the portmaster man page for a complete system rebuild, this will take awhile. Review and follow instructions on freebsd vbox wiki. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:35:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B7491065672 for ; Wed, 11 Aug 2010 15:35:19 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n27.bullet.mail.ukl.yahoo.com (n27.bullet.mail.ukl.yahoo.com [87.248.110.144]) by mx1.freebsd.org (Postfix) with SMTP id A77FA8FC0C for ; Wed, 11 Aug 2010 15:35:18 +0000 (UTC) Received: from [217.146.182.177] by n27.bullet.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 15:35:17 -0000 Received: from [87.248.110.200] by t3.bullet.ukl.yahoo.com with NNFMP; 11 Aug 2010 15:35:17 -0000 Received: from [127.0.0.1] by omp230.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 15:35:17 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 658375.86829.bm@omp230.mail.ukl.yahoo.com Received: (qmail 25910 invoked by uid 60001); 11 Aug 2010 15:35:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281540917; bh=RX1i35wWPMtbEzcP4mkz+f00O344YtQoWNPeT/KuLJ0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=uMXzz7AgTcHIu/g7UYb4aBGTzL1JmYxvziEEQVG5KoNR1Olg4XZfanRgzVo5ozr5oe1BUfgFN6D9jqx9sbP1eUdMaSYOHDaoAk6lGEFAdnmLZ8U/XyxytXSOFLB6RgI6DBKCqHxI6lsOoqSf+fwJRdqr95Kt3FaEbXC2Snh++yA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1N0R851ZbjVO1ZJmPYHmf7UYkgsJ6+Y/ryFjRCwoDMjPQTgmiT7B7rP/U2xzJgS/11GJT3VLl0SZIgoiev2FnuSCJYEfNUpiBWX8UXJUlnbKYo+0I90qgZfX6mOUqfI1EjdCbRKpxLJDU3i28OwAsnC4AeSzUuFd0Y58pSD9koI=; Message-ID: <463890.24711.qm@web24606.mail.ird.yahoo.com> X-YMail-OSG: YKc4udoVM1kDgQD6JvInMtsX7ig80FzC5dW3anNJDn9PgkO X0jGz7rVYEUqOTCi237CTpwnzgKa4WNkxr2YBG5aJfNz4SO4Yoj6Vdgl2lXA g6RREB4Em2xO2gPehk0kj7V5fXmLpgwsAixqScuiGOzokXJlwi1CALHJMt4X i2spwFQou8Wulj66kykjgGAJrbUkdfbwtDII1DcR1QMlEo0sOTjdt0TDkOGP cLfMNuyHiz28xjBi4kUNc2BglyKuJHrfngB0WfxmY7CYvHE8bgvTMctjC6fj fDv4OW3CmMbPG8tg49FRN Received: from [93.0.168.189] by web24606.mail.ird.yahoo.com via HTTP; Wed, 11 Aug 2010 15:35:17 GMT X-Mailer: YahooMailRC/459 YahooMailWebService/0.8.105.279950 References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <20100810130834.GA48376@slackbox.erewhon.net> <128012.76976.qm@web24611.mail.ird.yahoo.com> <20100810152004.GB51287@slackbox.erewhon.net> <994682.73446.qm@web24611.mail.ird.yahoo.com> <20100811112334.GA19667@slackbox.erewhon.net> Date: Wed, 11 Aug 2010 15:35:17 +0000 (GMT) From: Brice ERRANDONEA To: Roland Smith , freebsd-questions@freebsd.org In-Reply-To: <20100811112334.GA19667@slackbox.erewhon.net> 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 Cc: Subject: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 15:35:19 -0000 I tried all of this without any result. But I won't give up.=0A=0AWhat I wa= nt is a jail with an Apache http server running inside. So, the jail =0Amus= t have a public IPv4 and access to the web.=0A=0AWhat I'd understood of the= jails' role (but I must have misunderstood) is that =0Ait will have a diff= erent public ip than the host, so that if a pirate manage to =0Acrack the s= erver, he will only have access to the jail (the real public ip of =0Athe h= ost remaining secret). Then I'm surprised to learn that such traffic will = =0Abe routed through the host.=0A=0AThe jail is created. The next step now = is to install the ports collection inside =0Awith portsnap fetch. But each = time I try to run this command inside the jail =0A(with jexec), I get the s= ame answer :=0A=0ALooking up portsnap.FreeBSD.org mirrors... none found.=0A= Fetching public key from portsnap.FreeBSD.org... failed.=0ANo mirrors remai= ning, giving up.=0A=0AThis makes me think my jail is not connected to the w= eb. To check this, I tried =0Ato ping various know websites. When I tried d= omain names, like "ping =0Awww.freebsd.org", this error message appears := =0A=0Aping: cannot resolve www.freebsd.org : Host name lookup failure=0A=0A= So, I can't contact DNS servers able to translate www.freebsd.org to its ip= . =0ASince I know this ip, I tried : "ping 69.147.83.33". This time, the er= ror =0Amessage is :=0A=0Aping: socket: Operation not permitted=0A=0AFrom th= is, I concluded my jail was not connected to the web. Meanwhile, I've =0Aun= derstood that, anyway, the ping command is forbidden inside a jail. But the= =0A"portsnap fetch" one is not.=0A=0AIt seems that the local ip given to t= he jail has to be an alias of an existing =0Aone. I'm not on a local networ= k so I only have 2 real network interfaces : rl0 =0A(192.168.1.38) and the = loopack lo0 (127.0.0.1).=0A=0A192.168.1.38 is the host's ip so I use 127.0.= 0.1 for the jail. By the way, I =0Awonder which one I will be able to choos= e if I ever have to create a second =0Ajail. And also how the computer know= s which data is for the jail and which one =0Ais for the loopback.=0A=0AI a= lso added the line "net.inet.ip.forwarding=3D1" to sysctl.conf (on the host= ). =0AAnd here is the rc.conf of my jail :=0A=0Adevfs_system_ruleset=3D"dev= fsrules_jail"=0Anetwork_interfaces=3D""=0Asshd_enable=3D"YES"=0Asendmail_en= able=3D"NO"=0Arpcbind_enable=3D"NO"=0A=0ADespite the sshd_enable=3D"YES" li= ne, I can't ssh from the host to the jail. Well, =0AI can... The first time= I did it, I was asked if I wanted to add the jail to the =0Alist of known = hosts. I did it. No problem there. But, immediatly after that, =0Ainstead o= f displaying "login :", the system displayed "passwd :". And none of =0Athe= passwords I had set with sysinstall (for the root and the common user) wer= e =0Aaccepted. That's why I can only run commands inside the jail running j= exec. It's =0Anot that big problem for the moment but one purpose of the ja= il is also (I =0Abelieve) to ssh into them from a distant computer without = accessing to the host.=0A=0AIt was not clear after the various answers I re= ceived if I had to use a firewall =0Aor not so I tried both ways.=0A=0AWith= out the firewall, the rc.conf of my host is :=0A=0Ahostname=3D"FreeBSD.ici"= =0Aifconfig_rl0=3D"DHCP"=0Akeymap=3D"fr.iso.acc" (yes, I'm french)=0A= moused_enable=3D"YES"=0Asaver=3D"dragon"=0Ahald_enable=3D"YES"=0Adbus_enabl= e=3D"YES"=0Adevfs_system_ruleset=3D"localrules"=0A=0Ajail_enable=3D"NO"=0Aj= ail_list=3D"MaPrison"=0Ajail_interface=3D"lo0" (I also tried rl0 her= e)=0Ajail_devfs_ruleset=3D"devfsrules_jail"=0Ajail_devfs_enable=3D"YES"=0A= =0Ajail_server_rootdir=3D"/usr/prison"=0Ajail_server_hostname=3D"MaPrison"= =0Ajail_server_ip=3D"127.0.0.1"=0A=0Agateway_enable=3D"YES"=0Arouter_enable= =3D"YES"=0A=0ASince I've added this last line (router_enable=3D"YES"), I ha= ve to press Enter at =0Athe end of the bootup process to obtain the "login = :". Again, it's not a big =0Aproblem but nonetheless a strange one.=0A=0AWi= th this configuration, portsnap fetch continues to give me the same error = =0Amessage I told before.=0A=0AWith the firewall (pf), now, the rc.conf of = my host becomes :=0A=0Ahostname=3D"FreeBSD.ici"=0Aifconfig_rl0=3D"DHCP"=0Ak= eymap=3D"fr.iso.acc"=0Amoused_enable=3D"YES"=0Asaver=3D"dragon"=0Ahald_enab= le=3D"YES"=0Adbus_enable=3D"YES"=0Adevfs_system_ruleset=3D"localrules"=0A= =0Ajail_enable=3D"NO"=0Ajail_list=3D"MaPrison"=0Ajail_interface=3D"lo0"=0Aj= ail_devfs_ruleset=3D"devfsrules_jail"=0Ajail_devfs_enable=3D"YES"=0A=0Ajail= _server_rootdir=3D"/usr/prison"=0Ajail_server_hostname=3D"MaPrison"=0Ajail_= server_ip=3D"127.0.0.1"=0A=0Agateway_enable=3D"YES"=0Apf_enable=3D"YES"=0Ap= f_rules=3D"/etc/pf.conf"=0Apflog_enable=3D"YES"=0Apflog_logfile=3D"/var/log= /pflog"=0A=0AAnd here's the /etc/pf.conf :=0A=0Aext_if=3D"rl0"=0Aint_if=3D"= rl0"=0A=0ASame result for portsnap fetch.=0A=0A=0AA lot of questions, isn't= it. I guess I must have made a lot of mistakes. But I =0Acan't believe I'm= the first one who tries to install a web server in a jail. =0AThis must be= a well known process.=0A=0AThanks to those who helped me and to those who = will !=0A=0AGood evening=0A=0ABrice=0A=0A=0A=0A=0A_________________________= _______=0ADe : Roland Smith =0A=C0 : Brice ERRANDONEA =0AEnvoy=E9 le : Mer 11 ao=FBt 2010, 13h 23min 34s=0AObj= et : Re: Re : Re : How to connect a jail to the web ?=0A=0AOn Wed, Aug 11, = 2010 at 11:07:59AM +0000, Brice ERRANDONEA wrote:=0A=0A> OK, I'll try this= . And, as you suggested, I switch my jail's IP to=0A> 192.168.1.1. Why do = you use age0 as ext_if and not rl0 ?=0A=0ABecause rl(4) is just not the bes= t quality network chip. It's really windows=0Aquality hardware. The age(4) = is on the motherboard, and I couldn't find a=0Afxp(4) or em(4) based networ= k card.=0A=0A> Here's my ifconfig. Which interfaces should I use for ext_i= f in pf.conf ?=0A> =0A> rl0: flags=3D8843 metric 0 mtu 1500=0A> options=3D8=0A> e= ther 00:11:09:15:72:6a=0A> inet 192.168.1.38 netmask 0xffffff00 br= oadcast 192.168.1.255=0A> media: Ethernet autoselect (100baseTX )=0A> status: active=0A=0AIn your case, the above rl0 i= s the only _real_ network chip. As you can see=0Afrom the "UP" flag, only r= l0 and lo0 are actually active (and the loopback=0Ainterface is always ther= e). They also are the only ones that have an actual IP=0Aaddress.=0A=0AIf y= ou don't want to run a firewall, you can alternatively add=0A'router_enable= =3D"YES"' to /etc/rc.conf. This will start the routed(8) daemon=0Awhich by = default forwards packets between interfaces.=0A=0A> fwe0: flags=3D8802 metric 0 mtu 1500=0A> options=3D8=0A> ether 02:11:06:99:8a:ff=0A> ch 1 dma -1=0A> fwip= 0: flags=3D8802 metric 0 mtu 1500=0A> = lladdr 0.11.6.66.0.99.8a.ff.a.2.ff.fe.0.0.0.0=0A> plip0: flags=3D8810 metric 0 mtu 1500=0A> lo0: flags=3D8049 metric 0 mtu 16384=0A> options=3D3=0A> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=0A> = inet6 ::1 prefixlen 128=0A> inet 127.0.0.1 netmask 0xff000000= =0A> nd6 options=3D3=0A=0AYou could alias= your jail to lo0.=0A=0ARoland=0A-- =0AR.F.Smith = http://www.xs4all.nl/~rsmith/=0A[plain text _non-HTML_ PGP/GnuPG enc= rypted/signed email much appreciated]=0Apgp: 1A2B 477F 9970 BA3C 2914 B7CE= 1277 EFB0 C321 A725 (KeyID: C321A725)=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:40:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 401471065672 for ; Wed, 11 Aug 2010 15:40:43 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id BB7A58FC1A for ; Wed, 11 Aug 2010 15:40:42 +0000 (UTC) Received: by eyh6 with SMTP id 6so158494eyh.13 for ; Wed, 11 Aug 2010 08:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=N/7JphQ0kaEnWHxP/5dN1mzTvh0tHth5607h4M+vmeg=; b=vVtOR0G6yegLsLe3FvJ6GUI2S02VJBDXBSMCRsWb0rJOuRbq9b0mS2b1XKvALWQ0f5 EOM4QpMB7XDgJ5F4I5mgaQQ3eu7N2kmwz0IPOIh+h0IF+5m9vivpMiHEIvgRAHQz/REQ Fyyf3xZ1LBIGQ2THrl9JuV0nYbdzOGvJqlGNc= 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=J33epO8+/0OClc0mhT8pS+mRg4iP8+8yeScSwK2xWjQLxGJyQSx/n68Bp9Zjtuh6jh qttEOWOk+Dft7WP5zKEzCx0b5JFLtcW/QlGhlIANYqtTsnA2DDKZZr0/IAG7aeOE6syr cuNmBd3c5Xa4U40vKCrk1CJOVmYPCDPYZy29o= MIME-Version: 1.0 Received: by 10.213.31.143 with SMTP id y15mr15213834ebc.38.1281541241688; Wed, 11 Aug 2010 08:40:41 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Wed, 11 Aug 2010 08:40:41 -0700 (PDT) In-Reply-To: References: <20100810230827.GB63330@slackbox.erewhon.net> <20100811142250.GA18896@dan.emsphone.com> Date: Wed, 11 Aug 2010 08:40:41 -0700 X-Google-Sender-Auth: sNkzzA2QUXu0T7xP6a9p6ZdKqv4 Message-ID: From: Chris Maness To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roland Smith , Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Spontaneous Reboots with Virtualbox Kernel Modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 15:40:43 -0000 On Wed, Aug 11, 2010 at 8:31 AM, Adam Vande More wr= ote: > On Wed, Aug 11, 2010 at 10:22 AM, Chris Maness > wrote: >> >> I am running 3.2.6 and it was crashing. > > On the <=3D 3.2.4 stuff, only time is crashed was with multiple cpu vm's. > Doesn't happen any longer and my systems are up for months running vm's. > I'd try to find the root cause of your issue, somethings to check > > are sources vs installed kernel/world in sync? This is the case with the second crash, but I have since upgraded to 8.1. > Is this from a clean install?=A0 if not, you may have dependency issues. A clean install of the OS? I am not 100% sure of what you mean here. > Finding these can be difficult, save yourself the headache and following = the > instructions on the portmaster man page for a complete system rebuild, th= is > will take awhile. I have rebuilt and fixed dependency issues. It took me a while to clean up the issues so that vbox would even build. I had some stale includes that were not removed by their scripts. After removing by hand, I was able to rebuild all of these old dependencies and fixed other issues on my server. It is amazing how one little file can cause so much grief. Thanks, Chris Maness > Review and follow instructions on freebsd vbox wiki. > > > -- > Adam Vande More > From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 15:52:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC4DA106566B for ; Wed, 11 Aug 2010 15:52:21 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9793A8FC0A for ; Wed, 11 Aug 2010 15:52:21 +0000 (UTC) Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta12.emeryville.ca.mail.comcast.net with comcast id t0Q51e0040b6N64AC3sMjZ; Wed, 11 Aug 2010 15:52:21 +0000 Received: from [192.168.1.172] ([76.113.215.212]) by omta03.emeryville.ca.mail.comcast.net with comcast id t3rw1e00L4bXtdG8P3sKxh; Wed, 11 Aug 2010 15:52:20 +0000 From: Ryan Coleman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Aug 2010 10:51:56 -0500 Message-Id: To: User Questions Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: UPS 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, 11 Aug 2010 15:52:21 -0000 I know that APC's website states this load on this unit results in this = runtime. However I do not trust these figures, typically, when coming from = smaller manufacturers than APC. I am looking at a 1400VA / 980W UPS to run a single server with a = usually not on monitor, a DSL modem and a simple switch. The server = should generate about 330W in power consumption, the monitor another = 50-100, the modem about 10 and the switch about another 10 watts. So: UPS: 1400VA Server: 400W (liberal estimate) Modem: 10W Switch: 10W Monitor: 75W Total: 495W According to a calculator if I enter all that information: http://www.csgnetwork.com/upssizecalc.html It says that it will use 693VA. Enter that into http://www.csgnetwork.com/batterylifecalc.html It requires Amps... 495W / 120 voltage =3D 4.125 amps... doesn't seem = right but... 192 hours... that's not right, right? -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 16:44:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64582106564A for ; Wed, 11 Aug 2010 16:44:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6238FC0C for ; Wed, 11 Aug 2010 16:44:43 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L6Z007ULYIAL350@asmtp027.mac.com> for freebsd-questions@freebsd.org; Wed, 11 Aug 2010 09:44:35 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1008110129 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-11_07:2010-08-11, 2010-08-11, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: Date: Wed, 11 Aug 2010 09:44:34 -0700 Message-id: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> References: To: Ryan Coleman X-Mailer: Apple Mail (2.1081) Cc: User Questions Subject: Re: UPS 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, 11 Aug 2010 16:44:43 -0000 Hi, Ryan-- On Aug 11, 2010, at 8:51 AM, Ryan Coleman wrote: > Total: 495W > > According to a calculator if I enter all that information: > http://www.csgnetwork.com/upssizecalc.html > It says that it will use 693VA. That sounds reasonable. The better PSUs have "80 Plus" certification for efficiency, and that's better than the typical wall warts used for modems and switches and the like commonly manage. (The efficiency they're assuming is a bit over 70%; using 80% would be around 600VA.) > Enter that into http://www.csgnetwork.com/batterylifecalc.html > It requires Amps... 495W / 120 voltage = 4.125 amps... doesn't seem right but... > 192 hours... that's not right, right? Assume for discussion their number was right. In order to get 495W of output load, the UPS needs to provide 693 volt-amps of juice to your equipment. After the inverter and 10:1 stepup transformer used to convert 12VDC or whatever the UPS batteries are charged to up to 120VAC, the current needed would be 5.77 amps. However, the 12VDC battery source itself would be getting a draw of 57 amps (ideally; again, the inverter+transformer themselves might only rate about 90% efficiency for very good quality UPS, so would be drawing more like 60 or 65 amps). A standard APC/Tripplite/whatever 700VA UPS tend so have a lead-acid battery reasonably similar to a car battery, and typically will have around 100 amp-hours of charge; they'd probably give you 90 minutes of backup time. But you can look up the detailed specs of specific models and work from their amp-hour (or watt-hour) ratings-- actually, I think I'm guestimating more from what a 1200VA unit might provide, and a 700VA model is probably going to provide more like 40-60 minutes of power... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 16:46:38 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FE341065678 for ; Wed, 11 Aug 2010 16:46:38 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 485D78FC26 for ; Wed, 11 Aug 2010 16:46:37 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7BGkKWt041796; Wed, 11 Aug 2010 18:46:36 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7BGkKKI041795; Wed, 11 Aug 2010 18:46:20 +0200 (CEST) (envelope-from olli) Date: Wed, 11 Aug 2010 18:46:20 +0200 (CEST) Message-Id: <201008111646.o7BGkKKI041795@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <463890.24711.qm@web24606.mail.ird.yahoo.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Wed, 11 Aug 2010 18:46:36 +0200 (CEST) Cc: Subject: Re: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 16:46:38 -0000 Brice ERRANDONEA wrote: > I tried all of this without any result. But I won't give up. > > What I want is a jail with an Apache http server running inside. > So, the jail must have a public IPv4 and access to the web. Not necessarily. Of course, the jail _can_ have a public IP address. This will make things easier. But some people prefer to give their jails private addresses or even aliases on lo0 (e.g. 127.0.0.2). In order to access such a jail from the outside, the host has to forward packets from and to the private address. This can be done with IPFW "fwd" rules, for example. > What I'd understood of the jails' role (but I must have > misunderstood) is that it will have a different public ip than the > host, so that if a pirate manage to crack the server, he will only > have access to the jail (the real public ip of the host remaining > secret). Yes, it has advantages to give a jail its own IP address, but it's not strictly necessary. The IP address can be shared with the host and with other IP addresses if you prefer. It's also possible to give the jail the host's IP address during installation, so things like portsnap, pkg_add -r and similar will run without trouble, and then switch the jail to its final IP address. > Then I'm surprised to learn that such traffic will be routed > through the host. Routing happens globally (unless you use VIMAGE and/or multiple FIBs, but let's forget about these for now because they make things even more complicated, and you probably don't need them). By default there is only one routing table inside the kernel, through which all packets go. So, packets from your jails go through the same routing table as packets from yur host. > The jail is created. The next step now is to install the ports > collection inside with portsnap fetch. But each time I try to run > this command inside the jail (with jexec), I get the same answer : > > Looking up portsnap.FreeBSD.org mirrors... none found. Fetching > public key from portsnap.FreeBSD.org... failed. No mirrors > remaining, giving up. > > This makes me think my jail is not connected to the web. This has nothing to do with the web. Maybe you confuse web and internet or network? Obviously your jail cannot do DNS lookups, i.e. it cannot resolve host names. > So, I can't contact DNS servers able to translate www.freebsd.org to > its ip. Since I know this ip, I tried : "ping 69.147.83.33". This > time, the error message is : > > ping: socket: Operation not permitted ping(1) uses raw sockets in order to be able to send and receive ICMP packets. By default, raw sopckets or disallowed in jails. To change that, use this command on the host: sysctl security.jail.allow_raw_sockets=1 Add an entry to /etc/sysctl.conf so the setting will survive reboots. > It seems that the local ip given to the jail has to be an alias > of an existing one. No, it must simply be an existing address, i.e. it must be configured on one of your interfaces (whether alias or not). > I'm not on a local network so I only have 2 > real network interfaces : rl0 (192.168.1.38) and the loopack lo0 > (127.0.0.1). So you can use one of those two addresses, or you can add aliases (e.g. 192.168.1.39) and then use that one. Of course you can only use addresses that you "own" and that will work on your network. If addresses are assigned to you by an ISP or administrator, then you can only use those. > 192.168.1.38 is the host's ip so I use 127.0.0.1 for the jail. Well, localnet addresses are not routed. If you give your jail a localnet address, it won't be able to access the network outside of the host. (Unless you take measures to rewrite/translate the addresses and forward them.) That's why DNS and portsnap don't work. I suggest using the address 192.168.1.38 for the jail, at least during installation. Make sure that the file /etc/resolv.conf inside the jail is correct, so DNS will work. Copying it from the host should be sufficient. By the way, you don't have to build ports inside the jail. Of course you *can* do that, but there are other ways, too. For example, you could build packages (apache etc.) on the host, or in a different jail, or even on a different machine, and then use pkg_add(8) inside your jail to install them. > By the way, I wonder which one I will be able to choose if I ever > have to create a second jail. Multiple jails can share the same address if required. > And also how the computer knows which data is for the jail and which > one is for the loopback. Services (such as apache) listen on certain ports for connections. For example, the default port for the HTTP protocol is 80. So, when someone is trying to open a connection to your IP address on port 80, your kernel looks it up in its table of listening TCP sockets and find the apache process which is running inside the jail. So the connection is handed to the jail. (This is a bit oversimplifying, but basically that's how it works.) > I also added the line "net.inet.ip.forwarding=1" to sysctl.conf > (on the host). You don't need that one. It's only required when your machine should act as a router, i.e. forward packets to other hosts. > Despite the sshd_enable="YES" line, I can't ssh from the host to the > jail. Well, I can... The first time I did it, I was asked if I wanted > to add the jail to the list of known hosts. I did it. No problem > there. But, immediatly after that, instead of displaying "login :", > the system displayed "passwd :". That's normal. ssh never asks for the login. You can use the -l option if you need to specify a different user name (or put it in your ~/.ssh/config). > And none of the passwords I had set with sysinstall (for the root and > the common user) were accepted. Are you sure that those passwords are set *inside* the jail? You can go into the jail with jexec (or even chroot) and then set a new password. > It's not that big problem for the moment but one purpose of the jail > is also (I believe) to ssh into them from a distant computer without > accessing to the host. That's not a good idea. ssh access should not be open to the public. It's better to log into the host first, then log into the jail from there. Some paranoid people have a special "login jail". They ssh into the login jail, then log into the host or into other jails from there. The host accepts ssh only from localhost. But please forget this immediately; we don't want to make things more complicated than necessary. > It was not clear after the various answers I received if I had to use > a firewall or not so I tried both ways. If your just starting with jails, it's better not to use a firewall for the jail. First get the jail running. When it's running, you can think about adding firewall rules to make it more secure. A firewall is *not* required to get jails working. > gateway_enable="YES" > router_enable="YES" Remove both. You don't need either of those. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Above all, they contribute to the genetic diversity in the operating system pool. Which is a good thing." -- Ruben van Staveren, on the question which BSD OS is the best one. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 16:51:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6399E106567C for ; Wed, 11 Aug 2010 16:51:16 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from gsicomp.on.ca (gsicomp.on.ca [200.46.208.251]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4528FC0A for ; Wed, 11 Aug 2010 16:51:15 +0000 (UTC) Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by gsicomp.on.ca (Postfix) with ESMTP id BBBA4FCA837; Wed, 11 Aug 2010 16:51:14 +0000 (UTC) Received: from gsicomp.on.ca ([200.46.208.251]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54836-06; Wed, 11 Aug 2010 16:51:14 +0000 (UTC) Received: from hermes (CPE002129cfd480-CM001ac3584898.cpe.net.cable.rogers.com [99.236.129.198]) by gsicomp.on.ca (Postfix) with SMTP id 227E5FCA5D2; Wed, 11 Aug 2010 16:51:14 +0000 (UTC) Message-ID: From: "Matt Emmerton" To: "Erik Norgaard" , References: <4C61811B.7070703@locolomo.org> Date: Wed, 11 Aug 2010 12:51:13 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: Subject: Re: ssh under attack - sessions in accepted state hogging 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: Wed, 11 Aug 2010 16:51:16 -0000 > On 10/08/10 05.13, Matt Emmerton wrote: > >> I'm in the middle of dealing with a SSH brute force attack that is >> relentless. I'm working on getting sshguard+ipfw in place to deal with >> it, >> but in the meantime, my box is getting pegged because sshd is accepting >> some >> connections which are getting stuck in [accepted] state and eating CPU. >> >> I know there's not much I can do about the brute force attacks, but will >> upgrading openssh avoid these stuck connections? > > If the attack you're experiencing is trying to exhaust system resources by > opening a large number of connections, then you may want to toggle these > options in sshd_config: > > ClientAliveInterval > LoginGraceTime > MaxAuthTries > MaxSessions > MaxStartups > > Check the man-page. Secondly, check your logs if this attack is from a > limited range of IPs, if so, you might want to try block those ranges. > > If your users will only connect from your country, then blocking other > countries in your firewall is very effective. Thanks to everyone for their help. I did have MaxSessions set to a small number, but that essentially DoS'd my access to the server when enough sshd processes got hung. sshguard+ipfw was blocking a large number of attacks, but the other attacks that were coming in and hanging sshd weren't getting caught (because they weren't repetitive.) I have moved some of my servers to alternate ports, and on the others I tweaked some of the settings Erik suggested which has helped a lot. Thanks for all the advice. -- Matt From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 17:11:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DA41065675 for ; Wed, 11 Aug 2010 17:11:25 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 15F4F8FC19 for ; Wed, 11 Aug 2010 17:11:24 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7BHBO8I072288 for ; Wed, 11 Aug 2010 10:11:24 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C62D9BC.6050009@rawbw.com> Date: Wed, 11 Aug 2010 10:11:24 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100723 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Unabkle to eject DVD after DVD burning 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, 11 Aug 2010 17:11:25 -0000 I tried to burn some DVD with this command: growisofs -dvd-compat -speed=4 -Z /dev/cd0=image.iso It failed for some reason, but I can't eject the disk now. Button doesn't work, and eject-1.5_4 errors out too: $ /usr/local/sbin/eject /dev/cd0 > eject: Invalid argument Running this command under truss I found this: open("/dev/cd0",O_RDONLY,06370046000) = 2 (0x2) ioctl(2,CDIOCALLOW,0x33e04c00) ERR#22 'Invalid argument' close(2) = 0 (0x0) My DVD writer: acd0: DVDR at ata4-master UDMA66 And device /dev/acd0 doesn't exist. Yuri --- growfs log --- 2224685056/2305976320 (96.5%) @4.1x, remaining 0:15 RBU 100.0% UBU 51.0% 2243526656/2305976320 (97.3%) @4.0x, remaining 0:11 RBU 100.0% UBU 53.1% 2261778432/2305976320 (98.1%) @3.9x, remaining 0:08 RBU 100.0% UBU 51.0% 2280685568/2305976320 (98.9%) @4.1x, remaining 0:04 RBU 75.4% UBU 53.1% 2299330560/2305976320 (99.7%) @4.0x, remaining 0:01 RBU 19.8% UBU 57.1% builtin_dd: 1125968*2KB out @ average 3.8x1352KBps /dev/pass0: flushing cache :-( unable to SYNCHRONOUS FLUSH CACHE: Input/output error From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 17:56:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E2FB1065676 for ; Wed, 11 Aug 2010 17:56:42 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 193478FC22 for ; Wed, 11 Aug 2010 17:56:41 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=nbWoJD01ruQLYOYE44JZbYtzz81AmFDL3LnuPvZDHs8= c=1 sm=0 a=kj9zAlcOel0A:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:17 a=vAkGFbN3AAAA:8 a=FVQJ-OyYFQG-roEleLUA:9 a=5pR9R3ONraUjcCXSoNfeXoALzhwA:4 a=CjuIK1q_8ugA:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.49.189.17 Received: from [67.49.189.17] ([67.49.189.17:47146] helo=localhost.hawaii.res.rr.com) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id B9/80-01723-854E26C4; Wed, 11 Aug 2010 17:56:41 +0000 Received: from holstein.holy.cow (parv [127.0.0.2]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id 8349C5C2B; Wed, 11 Aug 2010 08:00:30 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.14.3/8.14.3/Submit) id o7BI0Tcd005596; Wed, 11 Aug 2010 08:00:29 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Wed, 11 Aug 2010 08:00:28 -1000 From: parv@pair.com To: Alex Huth Message-ID: <20100811180028.GA1822@holstein.holy.cow> Mail-Followup-To: Alex Huth , freebsd-questions@freebsd.org References: <20100811124006.GA2284@borusse.ewmr.base> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100811124006.GA2284@borusse.ewmr.base> Cc: freebsd-questions@freebsd.org Subject: Re: Skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 17:56:42 -0000 in message <20100811124006.GA2284@borusse.ewmr.base>, wrote Alex Huth thusly... > > Is anyone using skype on freebsd 8 and can tell me how to do the > setup? Seem to be that there is no port and on the website i find > no package for freebsd. Well, version 1.x does not work at all as in I was not able to log in after generating an account via web. Version 2.x as it existed in ports not too long ago was broken due to missing source file (not as in raw code but as in binaries). Then I searched for a possible solution that led me to download ... http://kobyla.info/soft/distfiles/skype_static-2.0.0.72-oss.tar.bz2 ... in /misc/ports/distfiles; edit net/skype/Makefile to set proper PORTVERSION; & generate net/skpe/distinfo which led to successful install & use of skype as in I could log in with the same password & userid generated earlier & place a call or two. - parv -- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 18:14:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 612121065676 for ; Wed, 11 Aug 2010 18:14:06 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id E2FE88FC12 for ; Wed, 11 Aug 2010 18:14:05 +0000 (UTC) Received: from [217.146.182.179] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:14:04 -0000 Received: from [87.248.111.144] by t5.bullet.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:14:04 -0000 Received: from [127.0.0.1] by omp201.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:14:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 892401.76186.bm@omp201.mail.ukl.yahoo.com Received: (qmail 74571 invoked by uid 60001); 11 Aug 2010 18:14:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281550444; bh=tAx/0WMzWywayCkPjOS7DMs0zeTAHcHt1y38KjfG3Ck=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=IOPqmhkaDU2/aapS05hZwKfeeSBlgv0hL8sl7weFl2wITG88VlEw85qN2J+zeFpk1mHxdyFHdxDafGYy7Q3M5yy7FzqqgNR135KoXYOewklbc9YzAoaRSC34N/iPAXv67cjfT4rCHpmlS/I6FSuo/9Ni7OCpAnyDKsubLh+Mqkw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=zVkEwaxHg2Wg42QIq95Dyy8TyoaX2lAlFOwBqRL332ZtAsTb/0wk9ncRWm0b7CjS07w8R7g9WzYVx/VbGv25hb66wxbZ7o+xQ3RMau8sGPoP3VKbuy8JYlglHze/F2bR+f5afiJsW20YKtBAkXnEWNWPUUMfTcWJ7oQcT8lG9ZM=; Message-ID: <671410.73325.qm@web24615.mail.ird.yahoo.com> X-YMail-OSG: .uz7XsYVM1kNtLeE_a.qwy2kSAwAcT.SVq_6e.KxZOuqbOm Xf8UXBnwkieHBKf3naMV3VDerGKgfcHqHVtHT2tC9hqddJdcyvRbTUV_s0wf _iAn.6h2J6Qa9IyytRyrThl5lvlFci8b2l.EMIg9q_iTv9LElsIn_ocCK.q1 zoYRxEzXKGWACrv2wLHqIUYflvmd72RRjKk9OTHOzpQg.Y6swmokreLPLzS4 MQG1vW2oDkh0.7ea9dpn.Qil3aqVslttPc9qIpdTo7HLQgN0YrG701kGQ32H 5CJ0XGxnpP6aGn3PeVsCZ Received: from [93.0.168.242] by web24615.mail.ird.yahoo.com via HTTP; Wed, 11 Aug 2010 18:14:04 GMT X-Mailer: YahooMailRC/459 YahooMailWebService/0.8.105.279950 References: <201008111646.o7BGkKKI041795@lurza.secnetix.de> Date: Wed, 11 Aug 2010 18:14:04 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@FreeBSD.ORG In-Reply-To: <201008111646.o7BGkKKI041795@lurza.secnetix.de> 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 Cc: Subject: Re : Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 18:14:06 -0000 Thank you very much for your answer. It helped me understand some elements.= But =0Aportsnap still doesn't work.=0A=0A=0A>> So, I can't contact DNS ser= vers able to translate www.freebsd.org to=0A>> its ip. Since I know this i= p, I tried : "ping 69.147.83.33". This=0A>> time, the error message is :=0A= >>=0A>> ping: socket: Operation not permitted=0A=0A>ping(1) uses raw socket= s in order to be able to send and=0A>receive ICMP packets. By default, raw= sopckets or disallowed=0A>in jails. To change that, use this command on t= he host:=0A=0A>sysctl security.jail.allow_raw_sockets=3D1=0A=0A>Add an entr= y to /etc/sysctl.conf so the setting will survive=0A>reboots.=0A=0AI did it= but ping still doesn't work.=0A=0A>> 192.168.1.38 is the host's ip so I us= e 127.0.0.1 for the jail.=0A=0A>Well, localnet addresses are not routed. I= f you give your=0A>jail a localnet address, it won't be able to access the= =0A>network outside of the host. (Unless you take measures=0A>to rewrite/t= ranslate the addresses and forward them.)=0A>That's why DNS and portsnap do= n't work.=0A=0A>I suggest using the address 192.168.1.38 for the jail,=0A>a= t least during installation. Make sure that the file=0A>/etc/resolv.conf i= nside the jail is correct, so DNS will=0A>work. Copying it from the host s= hould be sufficient.=0A=0AIsn't 192.168.1.38 a localnet address too ? Do yo= u mean I should use the public =0Aip of my computer here ?=0A=0A> By the wa= y, you don't have to build ports inside the jail.=0A> Of course you *can* d= o that, but there are other ways, too.=0A> For example, you could build pac= kages (apache etc.) on=0A> the host, or in a different jail, or even on a d= ifferent=0A> machine, and then use pkg_add(8) inside your jail to=0A> insta= ll them.=0A=0AI prefer doing that way. I will use apache later so I will ha= ve to connect the =0Ajail to internet anyway.=0A=0A>> And also how the comp= uter knows which data is for the jail and which=0A>> one is for the loopbac= k.=0A=0A>Services (such as apache) listen on certain ports for=0A>connectio= ns. For example, the default port for the HTTP=0A>protocol is 80. So, whe= n someone is trying to open a=0A>connection to your IP address on port 80, = your kernel=0A>looks it up in its table of listening TCP sockets and=0A>fin= d the apache process which is running inside the jail.=0A>So the connection= is handed to the jail.=0A=0A>(This is a bit oversimplifying, but basically= that's how=0A>it works.)=0A=0AOK. This is clear. And it explains how multi= ple jails can share the same =0Aaddress.=0A=0A>> Despite the sshd_enable=3D= "YES" line, I can't ssh from the host to the=0A>> jail. Well, I can... The = first time I did it, I was asked if I wanted=0A>> to add the jail to the li= st of known hosts. I did it. No problem=0A>> there. But, immediatly after t= hat, instead of displaying "login :",=0A>> the system displayed "passwd :".= =0A=0A>That's normal. ssh never asks for the login. You can use the -l=0A>= option if you need to specify a different user name (or put it in your=0A>~= /.ssh/config).=0A=0AOf course. I'm loosing my mind with all that jail troub= le. It works perfectly =0Awell with le -l option.=0A=0A> Some paranoid peop= le have a special "login jail". They=0A> ssh into the login jail, then log= into the host or into=0A> other jails from there. The host accepts ssh on= ly from=0A> localhost. But please forget this immediately; we don't=0A> wa= nt to make things more complicated than necessary.=0A=0AI thought it was in= tended to be impossible to access the host from the jail. But =0Ayou're rig= ht : I'll forget that.=0A=0ASo, we're progressing. But the problem is not o= ver yet. Any other idea ?=0A=0AHave a good evening, anyway.=0A=0ABrice=0A= =0A=0A=0A=0A=0A=0A=0A=0A-- =0AOliver Fromme, secnetix GmbH & Co. KG, Marktp= latz 29, 85567 Grafing b. M.=0AHandelsregister: Registergericht Muenchen, H= RA 74606, Gesch=E4ftsfuehrung:=0Asecnetix Verwaltungsgesellsch. mbH, Hande= lsregister: Registergericht M=FCn-=0Achen, HRB 125758, Gesch=E4ftsf=FChrer= : Maik Bachmann, Olaf Erb, Ralf Gebhart=0A=0AFreeBSD-Dienstleistungen, -Pro= dukte und mehr: http://www.secnetix.de/bsd=0A=0A"Above all, they contribut= e to the genetic diversity in the=0Aoperating system pool. Which is a good= thing."=0A -- Ruben van Staveren, on the question which BSD OS is the bes= t one.=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 17:42:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BC4D1065811 for ; Wed, 11 Aug 2010 17:42:21 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id C95448FC12 for ; Wed, 11 Aug 2010 17:42:20 +0000 (UTC) Received: from raats.xs4all.nl (orac.jarasoft.net [10.10.10.10]) by raats.xs4all.nl (Postfix) with ESMTP id 8D1733D8194; Wed, 11 Aug 2010 19:30:13 +0200 (CEST) Received: from jarasc430 (raats.xs4all.nl [82.95.230.43]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by raats.xs4all.nl (Postfix) with ESMTPSA id 56CDD3D8193; Wed, 11 Aug 2010 19:30:13 +0200 (CEST) Message-ID: <4343EF042C3146618D880FA39814C2DA@jarasc430> From: "Jack Raats" To: "Brice ERRANDONEA" , "Roland Smith" , References: <268321.67123.qm@web24608.mail.ird.yahoo.com><20100810130834.GA48376@slackbox.erewhon.net><128012.76976.qm@web24611.mail.ird.yahoo.com><20100810152004.GB51287@slackbox.erewhon.net><994682.73446.qm@web24611.mail.ird.yahoo.com><20100811112334.GA19667@slackbox.erewhon.net> <463890.24711.qm@web24606.mail.ird.yahoo.com> Date: Wed, 11 Aug 2010 19:30:08 +0200 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net X-Mailman-Approved-At: Wed, 11 Aug 2010 18:21:48 +0000 Cc: Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 17:42:21 -0000 It seems that you have DNS problems. Login in your jail go to /etc Make a file called resolv.conf which contains: domain your_jail_domain nameserver your_namerserver and it will work... Jack PS sorry for the top posting. I'm using outlook express :-( ----- Original Message ----- From: "Brice ERRANDONEA" To: "Roland Smith" ; Sent: Wednesday, August 11, 2010 5:35 PM Subject: Re : How to connect a jail to the web ? I tried all of this without any result. But I won't give up. What I want is a jail with an Apache http server running inside. So, the jail must have a public IPv4 and access to the web. What I'd understood of the jails' role (but I must have misunderstood) is that it will have a different public ip than the host, so that if a pirate manage to crack the server, he will only have access to the jail (the real public ip of the host remaining secret). Then I'm surprised to learn that such traffic will be routed through the host. The jail is created. The next step now is to install the ports collection inside with portsnap fetch. But each time I try to run this command inside the jail (with jexec), I get the same answer : Looking up portsnap.FreeBSD.org mirrors... none found. Fetching public key from portsnap.FreeBSD.org... failed. No mirrors remaining, giving up. This makes me think my jail is not connected to the web. To check this, I tried to ping various know websites. When I tried domain names, like "ping www.freebsd.org", this error message appears : ping: cannot resolve www.freebsd.org : Host name lookup failure So, I can't contact DNS servers able to translate www.freebsd.org to its ip. Since I know this ip, I tried : "ping 69.147.83.33". This time, the error message is : From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 18:24:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D771065673 for ; Wed, 11 Aug 2010 18:24:55 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id 8FB428FC2B for ; Wed, 11 Aug 2010 18:24:54 +0000 (UTC) Received: from [217.146.182.179] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:24:53 -0000 Received: from [87.248.110.117] by t5.bullet.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:24:53 -0000 Received: from [127.0.0.1] by omp222.mail.ukl.yahoo.com with NNFMP; 11 Aug 2010 18:24:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 462850.98078.bm@omp222.mail.ukl.yahoo.com Received: (qmail 86933 invoked by uid 60001); 11 Aug 2010 18:24:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281551093; bh=iugVRqE3upm/2NKUmg/zlF9NqZr88x8Pdp9yOg5s9JA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=QSjN+jKVae2SYuF/H9bsvettpR6sWPlIACMYvPv8/9iWLz0XnCuEqNcYWriurDkYyP2UwrK62nhWMk2XBH2abDLnttKK6YA18YvKQxIX+bFKW3T0Rh8k9ZbnjIyGbW9NthVbILbQRH+8ifHuNlllcCX///+qJ9BIHcgpBrEohGI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=FH8np347XhDGZhBpSwJhVOciyngNSBBd1teO3HoSaVm+vsBvHk5o6cmSXOKoU1I4HOyrVecqVN+QtY3WDp+XvPdrkjo2ZJfvJdWSDnv9BH6kklkVUkuho+lyGPy79FyzxJfTD6pnW+I1T1qYRTfD9w5Isx7VmesVNbNYHxpTB1E=; Message-ID: <263335.86236.qm@web24604.mail.ird.yahoo.com> X-YMail-OSG: QNN0PvMVM1l6fKM9QDVw9_6Mgy6_uAzCjgYY2HImoPZGBfW o3lrlOfqXbHE6l0l2.jWzHDUwrTxViy8Emq5BHyoC5uP8Jw3OC5GZvonad1K t52E2ZV9LWJnYAn2WYt1xW8RiEl_Sl8FGb18zOMLKX.otB1qxd0hUtC736ag b8e9auxSQg_lBM38pTWWClrxu0zlhIJ6RqoAuRRnGXX6xwnqNKdRVeE10itm ZL1j4d8Z2blBmIbgUiCRQLngLiGdUic.T_5EAydF.N3mfTo8_E9LCLEOrgCl RGo2KIdRyDPEDEkoP4Cut Received: from [93.0.168.242] by web24604.mail.ird.yahoo.com via HTTP; Wed, 11 Aug 2010 18:24:53 GMT X-Mailer: YahooMailRC/459 YahooMailWebService/0.8.105.279950 Date: Wed, 11 Aug 2010 18:24:53 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 18:24:55 -0000 Thank you very much for your answer. It helped me understand some elements.= But =0Aportsnap still doesn't work.=0A=0A>> So, I can't contact DNS server= s able to translate www.freebsd.org to=0A>> its ip. Since I know this ip, = I tried : "ping 69.147.83.33". This=0A>> time, the error message is :=0A>>= =0A>> ping: socket: Operation not permitted=0A=0A>ping(1) uses raw sockets = in order to be able to send and=0A>receive ICMP packets. By default, raw s= opckets or disallowed=0A>in jails. To change that, use this command on the= host:=0A=0A>sysctl security.jail.allow_raw_sockets=3D1=0A=0A>Add an entry= to /etc/sysctl.conf so the setting will survive=0A>reboots.=0A=0AI did it = but ping still doesn't work.=0A=0A>> 192.168.1.38 is the host's ip so I use= 127.0.0.1 for the jail.=0A=0A>Well, localnet addresses are not routed. If= you give your=0A>jail a localnet address, it won't be able to access the= =0A>network outside of the host. (Unless you take measures=0A>to rewrite/t= ranslate the addresses and forward them.)=0A>That's why DNS and portsnap do= n't work.=0A=0A>I suggest using the address 192.168.1.38 for the jail,=0A>a= t least during installation. Make sure that the file=0A>/etc/resolv.conf i= nside the jail is correct, so DNS will=0A>work. Copying it from the host s= hould be sufficient.=0A=0AIsn't 192.168.1.38 a localnet address too ? Do yo= u mean I should use the public =0Aip of my computer here ?=0A=0A> By the w= ay, you don't have to build ports inside the jail.=0A> Of course you *can* = do that, but there are other ways, too.=0A> For example, you could build pa= ckages (apache etc.) on=0A> the host, or in a different jail, or even on a = different=0A> machine, and then use pkg_add(8) inside your jail to=0A> inst= all them.=0A=0AI prefer doing that way. I will use apache later so I will h= ave to connect the =0Ajail to internet anyway.=0A=0A>> And also how the com= puter knows which data is for the jail and which=0A>> one is for the loopba= ck.=0A=0A>Services (such as apache) listen on certain ports for=0A>connecti= ons. For example, the default port for the HTTP=0A>protocol is 80. So, wh= en someone is trying to open a=0A>connection to your IP address on port 80,= your kernel=0A>looks it up in its table of listening TCP sockets and=0A>fi= nd the apache process which is running inside the jail.=0A>So the connecti= on is handed to the jail.=0A=0A>(This is a bit oversimplifying, but basical= ly that's how=0A>it works.)=0A=0AOK. This is clear. And it explains how mul= tiple jails can share the same =0Aaddress.=0A=0A>> Despite the sshd_enable= =3D"YES" line, I can't ssh from the host to the=0A>> jail. Well, I can... T= he first time I did it, I was asked if I wanted=0A>> to add the jail to the= list of known hosts. I did it. No problem=0A>> there. But, immediatly afte= r that, instead of displaying "login :",=0A>> the system displayed "passwd = :".=0A=0A>That's normal. ssh never asks for the login. You can use the -l= =0A>option if you need to specify a different user name (or put it in your= =0A>~/.ssh/config).=0A=0AOf course. I'm loosing my mind with all that jail = trouble. It works perfectly =0Awell with le -l option.=0A=0A> Some paranoid= people have a special "login jail". They=0A> ssh into the login jail, th= en log into the host or into=0A> other jails from there. The host accepts = ssh only from=0A> localhost. But please forget this immediately; we don't= =0A> want to make things more complicated than necessary.=0A=0AI thought it= was intended to be impossible to access the host from the jail. But =0Ayou= 're right : I'll forget that.=0A=0ASo, we're progressing. But the problem i= s not over yet. Any other idea ?=0A=0AHave a good evening, anyway.=0A=0ABri= ce=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 19:26:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F2FA106567A for ; Wed, 11 Aug 2010 19:26:01 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) 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 76C398FC19 for ; Wed, 11 Aug 2010 19:26:01 +0000 (UTC) Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta09.emeryville.ca.mail.comcast.net with comcast id t6se1e0090QkzPwA97S09j; Wed, 11 Aug 2010 19:26:00 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta02.emeryville.ca.mail.comcast.net with comcast id t7Rx1e00E1cjQTw8N7RyBa; Wed, 11 Aug 2010 19:26:00 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> Date: Wed, 11 Aug 2010 14:25:57 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> To: Chuck Swiger X-Mailer: Apple Mail (2.1081) Cc: User Questions Subject: Re: UPS 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, 11 Aug 2010 19:26:01 -0000 Thanks, Chuck. I talked with a former colleague that has a lot of experience in specing = out UPS requirements (between battery-ready and generator-ready backups = at the office they have up to 5 minutes of battery backup before the gas = generator is needed with a 128-hour recharge time just to support their = servers and wiring racks in the office). He thinks that at 500W needed it would give me about 12 minutes on a = 1400VA. My consideration is, then, give the server 2 minutes on battery. = If full power has not been returned, shut down the server but leave the = modem (w/ wireless) and switch running with power for up to 6 hours. Now I need to build a server (looking at RAID5 8x2TB) for less than = $1600 w/o a CPU if I can... a local custom builder quoted me $4000 today = for a full system inc. CPU, RAM and DVD. -- Ryan On Aug 11, 2010, at 11:44 AM, Chuck Swiger wrote: > Hi, Ryan-- >=20 > On Aug 11, 2010, at 8:51 AM, Ryan Coleman wrote: >> Total: 495W >>=20 >> According to a calculator if I enter all that information: >> http://www.csgnetwork.com/upssizecalc.html >> It says that it will use 693VA. >=20 > That sounds reasonable. The better PSUs have "80 Plus" certification = for efficiency, and that's better than the typical wall warts used for = modems and switches and the like commonly manage. (The efficiency = they're assuming is a bit over 70%; using 80% would be around 600VA.) >=20 >> Enter that into http://www.csgnetwork.com/batterylifecalc.html >> It requires Amps... 495W / 120 voltage =3D 4.125 amps... doesn't = seem right but... >> 192 hours... that's not right, right? >=20 > Assume for discussion their number was right. In order to get 495W of = output load, the UPS needs to provide 693 volt-amps of juice to your = equipment. After the inverter and 10:1 stepup transformer used to = convert 12VDC or whatever the UPS batteries are charged to up to 120VAC, = the current needed would be 5.77 amps. However, the 12VDC battery = source itself would be getting a draw of 57 amps (ideally; again, the = inverter+transformer themselves might only rate about 90% efficiency for = very good quality UPS, so would be drawing more like 60 or 65 amps). >=20 > A standard APC/Tripplite/whatever 700VA UPS tend so have a lead-acid = battery reasonably similar to a car battery, and typically will have = around 100 amp-hours of charge; they'd probably give you 90 minutes of = backup time. But you can look up the detailed specs of specific models = and work from their amp-hour (or watt-hour) ratings-- actually, I think = I'm guestimating more from what a 1200VA unit might provide, and a 700VA = model is probably going to provide more like 40-60 minutes of power... >=20 > Regards, > --=20 > -Chuck >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 19:30:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C4691065674 for ; Wed, 11 Aug 2010 19:30:10 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 6936F8FC1F for ; Wed, 11 Aug 2010 19:30:10 +0000 (UTC) Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta08.emeryville.ca.mail.comcast.net with comcast id t0AD1e0051Y3wxoA87W9wZ; Wed, 11 Aug 2010 19:30:09 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta15.emeryville.ca.mail.comcast.net with comcast id t7W61e00D1cjQTw8b7W7RB; Wed, 11 Aug 2010 19:30:09 +0000 From: Ryan Coleman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Aug 2010 14:30:06 -0500 Message-Id: <2986E140-7F4A-4C1E-BAAB-7EC6E2863202@cwis.biz> To: User Questions Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: HPT RocketRaid 2320 mobo support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 19:30:10 -0000 List, Is anyone running the HPT RR 2320 controller? What's the Motherboard = that you're running on?=20 My ABIT AB9 QuadGT's ethernet support has failed, in fact it did it = months ago. I've been limping along with a Firewire 400 ethernet = connection to another server (with an EVGA 790i Ultra SLI that doesn't = support the RR2320). I can't afford to power two computers all day long just to keep my large = RAID available on the net for my customers' needs. Any leads you can provide would be helpful. The AB9 board is no longer = available from any vendor anywhere near my purchase price 2 years ago = ($150) and that would be an acceptable solution. If I can find 2 of them = to build my new 12TB (8x2TB RAID 5) system that would be wonderful. Thanks in advance, Ryan Coleman= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:05:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0258106566B for ; Wed, 11 Aug 2010 20:05:06 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 89F4B8FC17 for ; Wed, 11 Aug 2010 20:05:06 +0000 (UTC) Received: (qmail 28309 invoked from network); 11 Aug 2010 20:05:05 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Aug 2010 20:05:05 -0000 Message-ID: <4C63026F.9090903@speakeasy.net> Date: Wed, 11 Aug 2010 13:05:03 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <20100810130834.GA48376@slackbox.erewhon.net> <128012.76976.qm@web24611.mail.ird.yahoo.com> <20100810152004.GB51287@slackbox.erewhon.net> <994682.73446.qm@web24611.mail.ird.yahoo.com> <20100811112334.GA19667@slackbox.erewhon.net> <463890.24711.qm@web24606.mail.ird.yahoo.com> In-Reply-To: <463890.24711.qm@web24606.mail.ird.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 20:05:08 -0000 On 8/11/2010 8:35 AM, Brice ERRANDONEA wrote: > I tried all of this without any result. But I won't give up. > > What I want is a jail with an Apache http server running inside. So, the jail > must have a public IPv4 and access to the web. I've been in the same boat as you and there isn't a lot of clear documentation that works in all situations. After reading tons of stuff on the subject I finally figured out what should work in almost every situation. Rather than fit everything in an email I put together a HOWTO on the freebsd forums. This should get you up and running quickly and if you have any problems or questions don't hesitate to ask. http://forums.freebsd.org/showthread.php?t=16860 From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:06:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96E0F106564A for ; Wed, 11 Aug 2010 20:06:47 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6DCBE8FC1A for ; Wed, 11 Aug 2010 20:06:47 +0000 (UTC) Received: (qmail 552 invoked from network); 11 Aug 2010 20:06:46 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Aug 2010 20:06:46 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OjHZW-0005Qu-3F for freebsd-questions@freebsd.org; Wed, 11 Aug 2010 13:06:46 -0700 Received: from d-69-91-158-125.dhcp4.washington.edu ([69.91.158.125]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Wed, 11 Aug 2010 13:06:46 -0700 Message-ID: <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> In-Reply-To: <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> Date: Wed, 11 Aug 2010 13:06:46 -0700 From: "David Brodbeck" To: "User Questions" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: UPS 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, 11 Aug 2010 20:06:47 -0000 On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: > He thinks that at 500W needed it would give me about 12 minutes on a > 1400VA. My consideration is, then, give the server 2 minutes on battery. > If full power has not been returned, shut down the server but leave the > modem (w/ wireless) and switch running with power for up to 6 hours. A bit of advice: If this is an unattended system, give some thought to how you will boot the server back up if the outage is longer than two minutes but shorter than six hours. Most UPS installations have *some* kind of race condition issue if power comes back after the servers have begun a shutdown, but in your case it's an unusually long window. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:18:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F3921065673 for ; Wed, 11 Aug 2010 20:18:06 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 350758FC1D for ; Wed, 11 Aug 2010 20:18:05 +0000 (UTC) Received: from omta07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by qmta06.emeryville.ca.mail.comcast.net with comcast id t7su1e0031GXsucA68J4aa; Wed, 11 Aug 2010 20:18:04 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta07.emeryville.ca.mail.comcast.net with comcast id t8J11e0071cjQTw8U8J2cX; Wed, 11 Aug 2010 20:18:04 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman X-Priority: 3 (Normal) In-Reply-To: <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> Date: Wed, 11 Aug 2010 15:18:01 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> To: David Brodbeck X-Mailer: Apple Mail (2.1081) Cc: User Questions Subject: Re: UPS 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, 11 Aug 2010 20:18:06 -0000 On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: > On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >> He thinks that at 500W needed it would give me about 12 minutes on a >> 1400VA. My consideration is, then, give the server 2 minutes on = battery. >> If full power has not been returned, shut down the server but leave = the >> modem (w/ wireless) and switch running with power for up to 6 hours. >=20 > A bit of advice: If this is an unattended system, give some thought to = how > you will boot the server back up if the outage is longer than two = minutes > but shorter than six hours. Most UPS installations have *some* kind = of > race condition issue if power comes back after the servers have begun = a > shutdown, but in your case it's an unusually long window. Meaning that my 2-minute window is unusually long? If the UPS can = support the system for 12 minutes, I say give it 20% of the life of the = support because our power outages here are usually spikes that kill my = current web server (but amazingly *not* my file server). In fact, one of = those power fluxes occurred last night. I love storms for the light = shows, but hate them for the toll they take on my servers. Additionally I spent $34 on a video card today that reduces my power = consumption by 150Watts, resulting in a $13 per month savings in my = powerbill - in MN we have a fixed-rate utility fee structure per season = (winter power costs less than summer, I believe, for whatever reason) = and a $10 mail-in rebate on the card means I will be turning a net = profit in 2 months! -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:18:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD3DD1065775 for ; Wed, 11 Aug 2010 20:18:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 652A98FC22 for ; Wed, 11 Aug 2010 20:18:27 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7BKIL1D030261 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 11 Aug 2010 21:18:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C630581.4000908@infracaninophile.co.uk> Date: Wed, 11 Aug 2010 21:18:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: David Allen References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C625468.8010805@infracaninophile.co.uk> <86aaotxopm.fsf@red.stonehenge.com> <4C62AAA3.7090708@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7EC5F845E67F251B01902C52" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_40,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Fbsd8 , Brice ERRANDONEA , freebsd-questions@freebsd.org, "Randal L. Schwartz" Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 20:18:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7EC5F845E67F251B01902C52 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11/08/2010 15:10:06, David Allen wrote: >> I meant that you could block access to private servers which need to >> listen on public network ports by just using firewall rules, as oppose= d >> to making the whole jail hang off a private interface and just >> forwarding selected traffic to it. >> >> For the second case, you would need pf to do the NAT'ing (or ipfw+natd= >> if that's your preference). With this trick of binding the sensitive >> daemons to an address on the loopback, you are still secure even if pf= >> gets turned off. Of course, "secure" is not necessarily the same as >> "working." >=20 > I've read comments in the past about setting up jails using local > loopback addresses, but I'm wondering if you wouldn't mind elaborating > on what the actual pf rules would look like. >=20 > Say you have 3 jails and more than one public IP address: >=20 > ns 127.0.0.2 public_ip_1 > mail 127.0.0.3 public_ip_2 > www 127.0.0.4 public_ip_3 >=20 > You want to pass port 25 traffic to/from the 'mail' jail. But you also= > need that jail to use the correct public_ip address. Is that possible > without using, for example, pf's binat? >=20 > Thanks. Sure. In the best Blue Peter tradition[*], here's one I prepared earlier= : http://lists.freebsd.org/pipermail/freebsd-questions/2008-March/171748.ht= ml While that talks about redirecting a couple of TCP and one UDP service into a single jailed host, I think it's pretty clear how to get from there to having several different jails each with running a different service. Cheers, Matthew [*] It's a British thing. You have to have been bought up here to understand. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7EC5F845E67F251B01902C52 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxjBYwACgkQ8Mjk52CukIztkACgg46DFw1ZFrhqYUFu4ykTFeBm ePEAn3JMJdbvSerb7/QqDxGEd1/qX8Iy =Jbcu -----END PGP SIGNATURE----- --------------enig7EC5F845E67F251B01902C52-- From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:55:29 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B796106566B for ; Wed, 11 Aug 2010 20:55:29 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6368FC15 for ; Wed, 11 Aug 2010 20:55:28 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7BKtBlV053144; Wed, 11 Aug 2010 22:55:27 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7BKtBP0053143; Wed, 11 Aug 2010 22:55:11 +0200 (CEST) (envelope-from olli) Date: Wed, 11 Aug 2010 22:55:11 +0200 (CEST) Message-Id: <201008112055.o7BKtBP0053143@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <263335.86236.qm@web24604.mail.ird.yahoo.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Wed, 11 Aug 2010 22:55:27 +0200 (CEST) Cc: Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 20:55:29 -0000 Brice ERRANDONEA wrote: > Oliver Fromme wrote: > > sysctl security.jail.allow_raw_sockets=1 > > I did it but ping still doesn't work. Which IP address are you using for the jail now? If you're using 127.0.0.1, you can only ping the host's own IP addresses, because packets with a localnet IP never leave a machine. If you're using the "real" address (192.168.1.38) for the jail, then you should be able to ping all addresses that you can ping from the host. I just did a quick test on my machine; it has the IP address 172.20.0.2 (which is being translated with NAT on my router, but that doesn't matter): HOST# sysctl security.jail.allow_raw_sockets=1 security.jail.allow_raw_sockets: 0 -> 1 HOST# jail / testjail 172.20.0.2 /bin/sh -E # ping www.google.com PING www.l.google.com (66.102.13.105): 56 data bytes 64 bytes from 66.102.13.105: icmp_seq=0 ttl=54 time=31.196 ms 64 bytes from 66.102.13.105: icmp_seq=1 ttl=54 time=25.553 ms 64 bytes from 66.102.13.105: icmp_seq=2 ttl=54 time=27.086 ms > > > 192.168.1.38 is the host's ip so I use 127.0.0.1 for the jail. > > > Well, localnet addresses are not routed. If you give your > > jail a localnet address, it won't be able to access the > > network outside of the host. (Unless you take measures > > to rewrite/translate the addresses and forward them.) > > That's why DNS and portsnap don't work. > > > I suggest using the address 192.168.1.38 for the jail, > > at least during installation. Make sure that the file > > /etc/resolv.conf inside the jail is correct, so DNS will > > work. Copying it from the host should be sufficient. > > Isn't 192.168.1.38 a localnet address too ? It's a private address (RFC 1918). I assume that you've got a NAT router that translates it to a public IP address. > Do you mean I should use the public ip of my computer here ? Do you have one? So far you only mentioned 192.168.1.38. > I thought it was intended to be impossible to access the host from the jail. It depends on what you want to do with the jail. Jails can be used for vastly different purposes. > But you're right : I'll forget that. Good. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Clear perl code is better than unclear awk code; but NOTHING comes close to unclear perl code" (taken from comp.lang.awk FAQ) From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 20:57:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 573E41065675 for ; Wed, 11 Aug 2010 20:57:43 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE4F68FC14 for ; Wed, 11 Aug 2010 20:57:42 +0000 (UTC) Received: by ewy26 with SMTP id 26so410517ewy.13 for ; Wed, 11 Aug 2010 13:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Muru06sV65zsdcDWlh5KlBz/h3InDuU07s4Mwpn7qUw=; b=PybIyN7YHQ8Z1ShdXBKq8Wk8p9LixSw+hgi6D8Of8IvKzxo18Zn4HZqgsqEW7FZhNT e/4wWhuk3ypwVQotFTTFFJE5mSGOu/unhWo47q4mopXfnO0+pLQOkYB1Z8/9OsXcFPK9 OJb0H+kTTbkU+Dnq/2CQ7WICv8k8FAfLutoww= 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; b=QT7oB50yVAiq9sRa71S0LV3txK6sfgcQMjzBIp2bf81Bz/OpczvzONtZ83UW9Uuwvo mnjiN2T4WySZ/jxzdXNzJ/MMW3IPgVkHEwHJlZhvHafINRvPgfJhZ56HxAPLlpsx8oWk qytX7RRNqYGqf99wemDIwyJu71NOG8JiMwyFM= MIME-Version: 1.0 Received: by 10.213.32.78 with SMTP id b14mr3201960ebd.84.1281560261806; Wed, 11 Aug 2010 13:57:41 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Wed, 11 Aug 2010 13:57:41 -0700 (PDT) Date: Wed, 11 Aug 2010 13:57:41 -0700 X-Google-Sender-Auth: IVYyiUbShRxhAgyBO-CudaKw47w Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Jail from dump/restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 20:57:43 -0000 Is it possible to create a jail from a dump/restore of a real system. If so, would I just restore the dump to the jail tld? Regards, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 21:12:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 747E1106566B for ; Wed, 11 Aug 2010 21:12:01 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id 05F9F8FC1D for ; Wed, 11 Aug 2010 21:12:00 +0000 (UTC) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1OjIad-0001YG-MZ for freebsd-questions@freebsd.org; Wed, 11 Aug 2010 22:11:59 +0100 Received: from [94.168.170.153] (helo=Mercury.galaxy.lan.lcl) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1OjIaS-00014r-9P for freebsd-questions@freebsd.org; Wed, 11 Aug 2010 22:11:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Wed, 11 Aug 2010 22:11:48 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F7BF@Mercury.galaxy.lan.lcl> In-Reply-To: <2986E140-7F4A-4C1E-BAAB-7EC6E2863202@cwis.biz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HPT RocketRaid 2320 mobo support Thread-Index: Acs5jAmpDLqiATrOQgK3RrLJF6xmTgADPT+g References: <2986E140-7F4A-4C1E-BAAB-7EC6E2863202@cwis.biz> From: "Graeme Dargie" To: "User Questions" Subject: RE: HPT RocketRaid 2320 mobo support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 21:12:03 -0000 -----Original Message----- From: Ryan Coleman [mailto:ryan.coleman@cwis.biz]=20 Sent: 11 August 2010 20:30 To: User Questions Subject: HPT RocketRaid 2320 mobo support List, Is anyone running the HPT RR 2320 controller? What's the Motherboard that you're running on?=20 My ABIT AB9 QuadGT's ethernet support has failed, in fact it did it months ago. I've been limping along with a Firewire 400 ethernet connection to another server (with an EVGA 790i Ultra SLI that doesn't support the RR2320). I can't afford to power two computers all day long just to keep my large RAID available on the net for my customers' needs. Any leads you can provide would be helpful. The AB9 board is no longer available from any vendor anywhere near my purchase price 2 years ago ($150) and that would be an acceptable solution. If I can find 2 of them to build my new 12TB (8x2TB RAID 5) system that would be wonderful. Thanks in advance, Ryan Coleman_______________________________________________ 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" Not sure about the US v UK on prices but I recently coughed up for 6 1.5TB hard disks for a system, the 2TB disks were almost double the price for only 500mb more, it did not make good economic sense, granted that was a few months ago now. Surely a short term solution would be to get a PCI nic for your existing system.=20 Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 21:21:01 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E407C1065675 for ; Wed, 11 Aug 2010 21:21:01 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED928FC27 for ; Wed, 11 Aug 2010 21:21:01 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7BLKhpn054401; Wed, 11 Aug 2010 23:20:58 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7BLKgxe054400; Wed, 11 Aug 2010 23:20:42 +0200 (CEST) (envelope-from olli) Date: Wed, 11 Aug 2010 23:20:42 +0200 (CEST) Message-Id: <201008112120.o7BLKgxe054400@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, ryan.coleman@cwis.biz In-Reply-To: <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Wed, 11 Aug 2010 23:20:58 +0200 (CEST) Cc: Subject: Re: UPS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, ryan.coleman@cwis.biz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 21:21:02 -0000 Ryan Coleman wrote: > He thinks that at 500W needed it would give me about 12 minutes on > a 1400VA. That W and VA numbers of the UPS are pretty much irrelevant, because they tell nothing about the capacity of the battery. Those numbers only give an upper limit on the power that the UPS can handle (i.e. you cannot connect devices totalling 800 W to a 500 W UPS, for example). In order to be able to estimate how long the UPS can power wattage, you need to know the capacity of the battery. The capacity is usually given in Ah units (Ampere hours). For example, a battery with 10 Ah capacity can deliver 10 Ampere for 1 hour, or 20 Ampere for 30 minutes, or 30 Ampere for 20 Minutes ... and so on. At a typical battery voltage of 12 V, 30 A would be 360 W. So, theoretically a 10 Ah battery would be able to hold devices that use 360 W for about 20 Minutes. In practice it will be less because no UPS has 100% efficiency. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Passwords are like underwear. You don't share them, you don't hang them on your monitor or under your keyboard, you don't email them, or put them on a web site, and you must change them very often. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 21:29:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A76BE1065676 for ; Wed, 11 Aug 2010 21:29:00 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) 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 55EE68FC1D for ; Wed, 11 Aug 2010 21:28:59 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta09.emeryville.ca.mail.comcast.net with comcast id t4Br1e00F0lTkoCA99Uzpn; Wed, 11 Aug 2010 21:28:59 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta04.emeryville.ca.mail.comcast.net with comcast id t9TY1e00Q1cjQTw8Q9UxLG; Wed, 11 Aug 2010 21:28:58 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F7897392904F7BF@Mercury.galaxy.lan.lcl> Date: Wed, 11 Aug 2010 16:28:57 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <2986E140-7F4A-4C1E-BAAB-7EC6E2863202@cwis.biz> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BF@Mercury.galaxy.lan.lcl> To: Graeme Dargie X-Mailer: Apple Mail (2.1081) Cc: User Questions Subject: Re: HPT RocketRaid 2320 mobo support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 21:29:00 -0000 Graeme: The PCI NIC I bought worked for 2 hours after a boot and then failed, = the same thing the onboard NIC did. -- Ryan On Aug 11, 2010, at 4:11 PM, Graeme Dargie wrote: >=20 >=20 > -----Original Message----- > From: Ryan Coleman [mailto:ryan.coleman@cwis.biz]=20 > Sent: 11 August 2010 20:30 > To: User Questions > Subject: HPT RocketRaid 2320 mobo support >=20 > List, >=20 > Is anyone running the HPT RR 2320 controller? What's the Motherboard > that you're running on?=20 >=20 > My ABIT AB9 QuadGT's ethernet support has failed, in fact it did it > months ago. I've been limping along with a Firewire 400 ethernet > connection to another server (with an EVGA 790i Ultra SLI that doesn't > support the RR2320). >=20 > I can't afford to power two computers all day long just to keep my = large > RAID available on the net for my customers' needs. >=20 > Any leads you can provide would be helpful. The AB9 board is no longer > available from any vendor anywhere near my purchase price 2 years ago > ($150) and that would be an acceptable solution. If I can find 2 of = them > to build my new 12TB (8x2TB RAID 5) system that would be wonderful. >=20 > Thanks in advance, > Ryan Coleman_______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >=20 >=20 > Not sure about the US v UK on prices but I recently coughed up for 6 > 1.5TB hard disks for a system, the 2TB disks were almost double the > price for only 500mb more, it did not make good economic sense, = granted > that was a few months ago now. Surely a short term solution would be = to > get a PCI nic for your existing system.=20 >=20 > Regards >=20 > Graeme >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 21:59:01 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A421106566B for ; Wed, 11 Aug 2010 21:59:01 +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 E8DAC8FC0C for ; Wed, 11 Aug 2010 21:58:59 +0000 (UTC) Received: from c83-255-61-120.bredband.comhem.se ([83.255.61.120]:61535 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.71) (envelope-from ) id 1OjJJS-0000Ku-3Z for freebsd-questions@FreeBSD.ORG; Wed, 11 Aug 2010 23:58:20 +0200 Received: (qmail 12020 invoked from network); 11 Aug 2010 23:58:16 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 11 Aug 2010 23:58:16 +0200 Received: (qmail 81228 invoked by uid 1001); 11 Aug 2010 23:58:16 +0200 Date: Wed, 11 Aug 2010 23:58:16 +0200 From: Erik Trulsson To: freebsd-questions@FreeBSD.ORG, ryan.coleman@cwis.biz Message-ID: <20100811215816.GA81198@owl.midgard.homeip.net> References: <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <201008112120.o7BLKgxe054400@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008112120.o7BLKgxe054400@lurza.secnetix.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.61.120 X-Scan-Result: No virus found in message 1OjJJS-0000Ku-3Z. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1OjJJS-0000Ku-3Z 0528b4dd7a40f95cc844b4f16ed2c968 Cc: Subject: Re: UPS 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, 11 Aug 2010 21:59:01 -0000 On Wed, Aug 11, 2010 at 11:20:42PM +0200, Oliver Fromme wrote: > Ryan Coleman wrote: > > He thinks that at 500W needed it would give me about 12 minutes on > > a 1400VA. > > That W and VA numbers of the UPS are pretty much irrelevant, > because they tell nothing about the capacity of the battery. > Those numbers only give an upper limit on the power that > the UPS can handle (i.e. you cannot connect devices totalling > 800 W to a 500 W UPS, for example). > > In order to be able to estimate how long the UPS can power > wattage, you need to know the capacity of the battery. > The capacity is usually given in Ah units (Ampere hours). Technically correct, but in practice you can often make a good guess based on the W and VA numbers. When you look at the specifications of various UPSs one will find that a great many of them are specified to be able to provide power for about 5 min when running at max load, and proportionally longer when under lower load. So for an UPS rated 1000W with a load of 500W it will probably be able to power that load for about 10 min. (There are of course UPSs that behave differently, but I believe they are a minority.) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 22:09:05 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 894EB106564A for ; Wed, 11 Aug 2010 22:09:05 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2FE8FC18 for ; Wed, 11 Aug 2010 22:09:04 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o7BM93R5042572 for ; Wed, 11 Aug 2010 15:09:04 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 11 Aug 2010 15:09:03 -0700 (PDT) Date: Wed, 11 Aug 2010 15:09:02 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100811220900.GA88905@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 24 years of service to the Unix community. Cc: Subject: how-to print out a huge man page? or save to a file to edit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 22:09:05 -0000 guys, first, the reason i missed "remind" and thought i was looking for the calendar utility "when" was that i was scanning the remind page for =exec=. it is, rather, =run=, or RUN. I have things partly working. i hav e the message part outputting strings via xmessage instead of xless. much more tuning to do. thing is that the man page is > 40 pages, and that is more than i can handle. so if i can capture the ascii text output of the remind man page and cut out what i want, that would be agreat help. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 22:31:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BECE106564A for ; Wed, 11 Aug 2010 22:31: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 E316E8FC08 for ; Wed, 11 Aug 2010 22:31:25 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 298B31E2A8; Thu, 12 Aug 2010 00:31: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 o7BMVNNQ001511; Thu, 12 Aug 2010 00:31:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Aug 2010 00:31:23 +0200 From: Polytropon To: Yuri Message-Id: <20100812003123.22fd7c66.freebsd@edvax.de> In-Reply-To: <4C62D9BC.6050009@rawbw.com> References: <4C62D9BC.6050009@rawbw.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Unabkle to eject DVD after DVD burning failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 22:31:26 -0000 On Wed, 11 Aug 2010 10:11:24 -0700, Yuri wrote: > I tried to burn some DVD with this command: growisofs -dvd-compat > -speed=4 -Z /dev/cd0=image.iso > It failed for some reason, but I can't eject the disk now. Have you tried # cdcontrol -f /dev/acd0 eject or # camcontrol eject 0:0:0 yet? Those tools are provided by the base system and don't require additional installations via ports. (Make sure to use the correct device name or SCSI ID.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 22:37:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C48E106564A for ; Wed, 11 Aug 2010 22:37:59 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id D26A98FC16 for ; Wed, 11 Aug 2010 22:37:58 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20100811223720350 for ; Wed, 11 Aug 2010 22:37:20 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o7BMbIw7096109 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 11 Aug 2010 15:37:19 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OjJvB-0002CI-M4 for freebsd-questions@freebsd.org; Wed, 11 Aug 2010 15:37:17 -0700 To: freebsd-questions@freebsd.org References: <20100809180022.GA33596@freebsd.org> <20100811100847.GA20045@freebsd.org> From: Carl Johnson Date: Wed, 11 Aug 2010 15:37:17 -0700 In-Reply-To: <20100811100847.GA20045@freebsd.org> (Alexander Best's message of "Wed\, 11 Aug 2010 10\:08\:47 +0000") Message-ID: <87fwykdbdu.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: chflags(1) unaware utilties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 22:37:59 -0000 Alexander Best writes: > On Tue Aug 10 10, illoai@gmail.com wrote: >> On 9 August 2010 14:00, Alexander Best wrote: >> > hi there, >> > >> > chflags(1) mentions that a few utilities including pax(1) aren't chflags aware yet. is there a list of all those utilties available somewhere? >> > also: i don't quite understand why this is in the BUGS section of chflags(1) and not in the pax(1) manual itself [1]. this doesn't seem very logical, since the bug doesn't exist in chflags, but in pax not supporting chflags. >> > so if someone decides to use pax and wants to know if there are any problem with it, there's no way for the average user to stumble upon the fact that chflags isn't supported in pax. >> > >> > in fact the pax(1) manual states that `pax -p e` will "preserve everything". this is plain wrong! >> > >> > cheers. >> > alex >> > >> > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/135516 >> > >> >> AFIK, pax is a POSIX thing, and as such working >> correctly or sanely would violate its posix nature. >> (POSIX is an anagram of "Pox? Si!") > > POSIX specs issue 7 state that `pax -p e` should: > > "Preserve the user ID, group ID, file mode bits (see XBD File Mode Bits ), access time, modification time, and any other implementation-defined file characteristics." > > don't chflags fall under "other implementation-defined file characteristics"? > >> >> Is cpio chflags-aware? > > hmm...no idea. sorry. I just did some simple-minded testing and found that BSD tar is chflags aware, but GNU tar, pax, afio, and cpio are not. I also found that BSD cp will copy flags, but GNU cp (from coreutils port) will not. I also checked extended attributes (see lsextattr(8)) and found that only BSD tar will archive them, and cp will not copy them. I didn't check dump since someone already said it will work. I also checked zfs and found that tar doesn't handle extended attributes there and zfs doesn't support flags. The rest of my testings was on the standard ufs2. It doesn't look very encouraging to me. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 22:38:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C477E1065677 for ; Wed, 11 Aug 2010 22:38:55 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 6A96F8FC1E for ; Wed, 11 Aug 2010 22:38:55 +0000 (UTC) Received: (qmail 1492 invoked from network); 11 Aug 2010 22:38:54 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 22:38:54 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gaFslrn0w3w1 for ; Wed, 11 Aug 2010 15:38:53 -0700 (MST) Received: (qmail 1475 invoked from network); 11 Aug 2010 22:38:53 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 11 Aug 2010 22:38:53 -0000 Sender: fred Message-ID: <4C6323CE.FAFF3EE2@blakemfg.com> Date: Wed, 11 Aug 2010 15:27:26 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: X11 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, 11 Aug 2010 22:38:55 -0000 Hello, Where would I find startx? I assume it is in one of the ports under X11 but I don't want to install all of them to find it. Also, is p5-Tk the same as Perl/Tk? Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 23:01:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B3BA106564A for ; Wed, 11 Aug 2010 23:01:54 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id D2CF78FC1B for ; Wed, 11 Aug 2010 23:01:53 +0000 (UTC) Received: (qmail 29329 invoked from network); 11 Aug 2010 23:01:52 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 11 Aug 2010 23:01:52 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OjKIt-0005fS-FY; Wed, 11 Aug 2010 16:01:47 -0700 Received: from d-69-91-158-125.dhcp4.washington.edu ([69.91.158.125]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Wed, 11 Aug 2010 16:01:47 -0700 Message-ID: In-Reply-To: <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> Date: Wed, 11 Aug 2010 16:01:47 -0700 From: "David Brodbeck" To: "Ryan Coleman" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: UPS 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, 11 Aug 2010 23:01:54 -0000 On Wed, August 11, 2010 1:18 pm, Ryan Coleman wrote: > On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: > >> On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >>> He thinks that at 500W needed it would give me about 12 minutes on a >>> 1400VA. My consideration is, then, give the server 2 minutes on >>> battery. >>> If full power has not been returned, shut down the server but leave the >>> modem (w/ wireless) and switch running with power for up to 6 hours. >> >> A bit of advice: If this is an unattended system, give some thought to >> how >> you will boot the server back up if the outage is longer than two >> minutes >> but shorter than six hours. Most UPS installations have *some* kind of >> race condition issue if power comes back after the servers have begun a >> shutdown, but in your case it's an unusually long window. > > Meaning that my 2-minute window is unusually long? If the UPS can support > the system for 12 minutes, I say give it 20% of the life of the support > because our power outages here are usually spikes that kill my current web > server (but amazingly *not* my file server). In fact, one of those power > fluxes occurred last night. I love storms for the light shows, but hate > them for the toll they take on my servers. Nope, 2 minutes is fine, maybe even short depending on how long your system takes to shut down. What I'm asking about is this scenario: 1. Power goes out. 2. Server shuts itself down after 2 minutes. 3. Power comes back on before the UPS batteries are exhausted. The server never sees a power cycle, so it doesn't boot itself back up until someone physically goes and pushes the button. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 23:31:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472BB1065679 for ; Wed, 11 Aug 2010 23:31:54 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1685D8FC0A for ; Wed, 11 Aug 2010 23:31:53 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o7BNUPOp022602; Wed, 11 Aug 2010 18:30:25 -0500 (CDT) Date: Wed, 11 Aug 2010 18:30:25 -0500 (CDT) From: Robert Bonomi Message-ID: <201008112330.o7BNUPOp022602@mail.r-bonomi.com> To: chris@chrismaness.com, marktinguely@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: ftp login failing after upgrade to 8.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: Wed, 11 Aug 2010 23:31:54 -0000 > Date: Tue, 10 Aug 2010 14:23:22 -0700 > From: Chris Maness > To: Mark Tinguely > Cc: freebsd-questions@freebsd.org > Subject: Re: ftp login failing after upgrade to 8.1 > > On Tue, Aug 10, 2010 at 2:19 PM, Mark Tinguely wro= > te: > > Chris Maness wrote: > >> > >> On Tue, Aug 10, 2010 at 2:07 PM, Mark Tinguely > >> wrote: > >> > >>> > >>> Chris Maness wrote: > >>> > >>>> > >>>> I just upgraded to FreeBSD 8.1 and my regular user name seems to be > >>>> disallowed for ftp. =A0I checked and my name or group does not seem to > >>>> show up in ftpusers. =A0Any suggestions as to what might have happened= > ? > >>>> > >>>> Thanks, > >>>> Chris Maness > >>>> _______________________________________________ > >>>> 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" > >>>> > >>>> > >>>> > >>> > >>> Do you use a shell that is no longer in /etc/shells? > >>> > >>> --Mark. > >>> > >>> > >> > >> Yes, I use bash. =A0Should I add bash to the shells file? > >> > >> Thanks, > >> Chris Maness > >> > >> > > > > yes, the full path to bash. And /etc/shells is overwritten during upgrade= > s. > > > > > > It is logging in now, but getting some strange connection refused when > I try a file transfer or list the contents of a directory. symptomatic of a firewall problem. Issue the command PASV at the ftp prompt and then try things. From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 23:35:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EC83106567C for ; Wed, 11 Aug 2010 23:35:52 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2688FC18 for ; Wed, 11 Aug 2010 23:35:51 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id o7BN0Ote031883 for ; Wed, 11 Aug 2010 18:00:24 -0500 (CDT) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20100811180022.00ee4250@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Wed, 11 Aug 2010 18:00:22 -0500 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Wed, 11 Aug 2010 18:00:24 -0500 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [38.106.15.121]); Wed, 11 Aug 2010 18:00:24 -0500 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Subject: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 11 Aug 2010 23:35:52 -0000 Kindly appreciate help with how to grep (or similar) a list of words to determine if any of them are in a file rather than grepping one word at a time. Thanks for any suggestions... All the best, Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 23:54:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB2051065686 for ; Wed, 11 Aug 2010 23:54:22 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id CE5BB8FC1E for ; Wed, 11 Aug 2010 23:54:22 +0000 (UTC) Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta03.emeryville.ca.mail.comcast.net with comcast id tBiq1e0091Y3wxoA3BuNeT; Wed, 11 Aug 2010 23:54:22 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta15.emeryville.ca.mail.comcast.net with comcast id tBuL1e0051cjQTw8bBuM69; Wed, 11 Aug 2010 23:54:22 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman X-Priority: 3 (Normal) In-Reply-To: Date: Wed, 11 Aug 2010 18:54:19 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> To: David Brodbeck X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: UPS 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, 11 Aug 2010 23:54:23 -0000 On Aug 11, 2010, at 6:01 PM, David Brodbeck wrote: > On Wed, August 11, 2010 1:18 pm, Ryan Coleman wrote: >> On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: >>=20 >>> On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >>>> He thinks that at 500W needed it would give me about 12 minutes on = a >>>> 1400VA. My consideration is, then, give the server 2 minutes on >>>> battery. >>>> If full power has not been returned, shut down the server but leave = the >>>> modem (w/ wireless) and switch running with power for up to 6 = hours. >>>=20 >>> A bit of advice: If this is an unattended system, give some thought = to >>> how >>> you will boot the server back up if the outage is longer than two >>> minutes >>> but shorter than six hours. Most UPS installations have *some* kind = of >>> race condition issue if power comes back after the servers have = begun a >>> shutdown, but in your case it's an unusually long window. >>=20 >> Meaning that my 2-minute window is unusually long? If the UPS can = support >> the system for 12 minutes, I say give it 20% of the life of the = support >> because our power outages here are usually spikes that kill my = current web >> server (but amazingly *not* my file server). In fact, one of those = power >> fluxes occurred last night. I love storms for the light shows, but = hate >> them for the toll they take on my servers. >=20 > Nope, 2 minutes is fine, maybe even short depending on how long your > system takes to shut down. What I'm asking about is this scenario: >=20 > 1. Power goes out. > 2. Server shuts itself down after 2 minutes. > 3. Power comes back on before the UPS batteries are exhausted. >=20 > The server never sees a power cycle, so it doesn't boot itself back up > until someone physically goes and pushes the button. Good points. I just want to make sure it has a safe shutdown (the usual = reason for a UPS) but it will be set with a BIOS turn on time if it is = not on. This is for a mirrored archive that updates overnight. If it is = in the middle of the process it will kill and shut off. Most power outages in my area are 1) during the hottest days of the = summer - like today and 2) last less than 60 seconds. It's biggest draw = is to give it a steady stream of power. -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 02:49:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20DE7106566C for ; Thu, 12 Aug 2010 02:49:55 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from web110302.mail.gq1.yahoo.com (web110302.mail.gq1.yahoo.com [67.195.8.202]) by mx1.freebsd.org (Postfix) with SMTP id E7E038FC0C for ; Thu, 12 Aug 2010 02:49:54 +0000 (UTC) Received: (qmail 16260 invoked by uid 60001); 12 Aug 2010 02:49:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281581394; bh=s1j0Ch51gUM4jteLi+LKQGdZGz/hdhPLm+bzNZeQb98=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=TRYmVtaoYT1V/ZTZrHE/uvKzSUdsi9ZPNVzXSiVIcnG87Oltdnl96Iu5j1bY9IqVT/UfFxejl9Ncoe8CMrPvimFUQ+jO+FyF6gTSSMIPL6WcpM5OHncfxuP4W7GuALBrVgYwRNoD9ns4oFIbL7zl+tvn3OROGNh4EGbaYPiYEVU= 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=ljNBHw11jbWsPYXMoJu5ATXVsn9rkNRQ8NvFYztiXoE6rxHKPnt80C0knOYPE3tmBSicyEeFf6dImvn39Wh8ZApn9XEKNOYqsgQ0J0TKVhtqPMj8oGWRnjecq7ohSRiCZo5rAeXD0k8VlpyUCK3taht6RxHdhCBSsetKEQmcHaw=; Message-ID: <479850.13697.qm@web110302.mail.gq1.yahoo.com> X-YMail-OSG: VgG.QQMVM1kqUZo5CtQj5s4jUXSUpY1ULqgkieRcVwt02rQ f01t2Xnes0NqGvvrU6yqV1pTWutVMprkkySqx1CGS59nRPhYn6JDiYaLmt62 NANTY3z00pXOAoObLO2IxL408n9P6CiE9NlUkBHG.D2b9f8e50Gcs67YJoGg dlGFZg16gCEJTzu9UkMe0_ULmlRbLttGoaLblXpWr0FB7O6zGkabxEvKEdam HozZVaeAapvTSsSwrf.XEtCV8eXwMtWOetANwgYDgXwdrsJMGgoNup_Xj9vx sGGVoCZ8vQa3mA6uHm3gBNTSWv6dIIH9UJKtC1i2R75Azomw6xf_tJ4854Tb bsAA14jtAM3nibw-- Received: from [24.228.57.153] by web110302.mail.gq1.yahoo.com via HTTP; Wed, 11 Aug 2010 19:49:54 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Wed, 11 Aug 2010 19:49:54 -0700 (PDT) From: Mark Terribile To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Page fault in kernel when using CD, BSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 02:49:55 -0000 Hi, > Second problem: on a machine (Core 2 Quad, 2.24 GHz) the > CD/DVD drive has started to give me page faults in the kernel. > The "press any key on the console" to halt the reboot does > not work. Okay, now it's happening with nothing but the fsck running. It takes maybe fifteen minutes. I'm using an ASUS P5N7A-VM mobo, AMI BIOS. The NB heatsink is barely warm (fan cooled), the memory is just warm to the touch, I've blown everything out, etc. I've got two SATA disks (Seagate and WD), in a carrier well-ventilated by a fan. They are barely warm. The CD was not in use. Ambient temperature is about 83 to 86F and this machine is a mobo on a standoffs on a board (until I free up the case it's supposed to go in). Granted that I may have a HW problem, but does the way the problem has manifested suggest anything about where to start? Mark Terribile materribile@yahoo.com From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 02:51:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67EAC106566B for ; Thu, 12 Aug 2010 02:51:43 +0000 (UTC) (envelope-from seklecki@noc.cfi.pgh.pa.us) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDD28FC16 for ; Thu, 12 Aug 2010 02:51:42 +0000 (UTC) Received: from [127.0.0.1] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Wed, 11 Aug 2010 22:24:34 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::5 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=noc.cfi.pgh.pa.us; s=noc_cfi_pgh_pa_us_key_dkim; l=612; t=1281579874; i=@noc.cfi.pgh.pa.us; h=Message-ID:Date:From: Reply-To:Organization:User-Agent:MIME-Version:To:Subject: Content-Type:Content-Transfer-Encoding; bh=zI7zsPf5Eq/FWauPOospy 4Io9Xo=; b=hACkZF7wLSz/IhEGH608rJhVBuKgYyokFxmpeApx8PGsEDxVIhzfY 8j2dsShvW41at0S65NWTS2WzDgGnksNffxHD/9iZpA9IzmhHxZaC/qN8fGnrYyDR qTD1AL/o3k6 Message-ID: <4C635E2D.7090104@noc.cfi.pgh.pa.us> Date: Wed, 11 Aug 2010 22:36:29 -0400 From: "Brian A. Seklecki (CFI NOC)" Organization: Collaborative Fusion, Inc. (DRP NOC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Free BSD Questions list Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Anyone client-bridge'ing with ath(4) ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@noc.cfi.pgh.pa.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 02:51:43 -0000 All: It's a bit hard to track where we stand with this issue. Is anyone having success running client-bridge (wifi0 in client mode, briding to wired interfaces)? From assorted posts, I understand ath(4) can't transmit from arbitrary source MACs or there's some limitation to the the 802.11 layer? It seems to work as long as the wifi(4) interface is in HostAP mode, but I havn't tested it (not looking to do this; well, maybe host-bridge-repeater) I do this all the time in DD-WRT on crappy Asus SOHO gear running Atheros 2xxx and 7xxx chips, so you would think it easy. ~BAS From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 02:58:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAD41065670 for ; Thu, 12 Aug 2010 02:58:42 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from web110306.mail.gq1.yahoo.com (web110306.mail.gq1.yahoo.com [67.195.8.206]) by mx1.freebsd.org (Postfix) with SMTP id 518B28FC14 for ; Thu, 12 Aug 2010 02:58:42 +0000 (UTC) Received: (qmail 14576 invoked by uid 60001); 12 Aug 2010 02:32:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281580321; bh=MPwuCJDrptWtzcOeVqzFM6BPaxQ38fnLindmQ9NF1VE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AwhdpdF4rFVkfU9qjBe1HPFJlQeeBmd5rrIpY+bymlTIUZJ5pAffKLDLTzddo31rXMWQxdmjBD44YYE1p/vGwhrUByPD9p2zGQMdjGPuuXWQ4dprJRuOYTLGOyTqX2+jgAbWYR8G8lW5NoygDLBhBVZCnR6lRqGO5dxEugM0zSQ= 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:In-Reply-To:MIME-Version:Content-Type; b=SokGbU4qMRiRsbqLaFm9kGBk7WH5rzIBtMjCk9KK6kxEHHfYUNYUyDK4K1Ms9LdKnDVRg48yxZOKmGfsHJueZW3dy8tbstV92DcBmdkTppiN6auvObqQWZgGpD2UwOuR21jy2zLIz5GN9UBfvL3Hs3eP2qcy2i2hjVvnMS0axmc=; Message-ID: <107828.14489.qm@web110306.mail.gq1.yahoo.com> X-YMail-OSG: jgjKQG4VM1lfkzLs5P5bjCGmPEXlLIdLRdz0.WoIIKmmuJX FYOONEOpL2b3ZrAlh0BwW2HsSkIT7o5reEjNGs.PhZ9qV.lcdbT8isH9XYRQ MRcjMXgjq80MCeiTFrCp.jhCFVv3SuL6vZ1i8RL48QSDfaDyaKXG7eaRRo1D Ks5GT1AhVztFZRZ9jT6UxrPNSByMoTX22NBozl82ge_BaDGXIfF8orD_oeIz ZWZfA2863mTsbNg2mHyZVZxhUglPBZmRQodCxDDNgDw3tn1WWOYcVMkM0z1_ jZlFYWTn0G6jeYx2flLGABNpfu5tVpjq1ZfYyOL5zdGWiexs8zvGRhTEObVC Rgrqt7Uv_p6NOEKqDjxc8sf_AddY- Received: from [24.228.57.153] by web110306.mail.gq1.yahoo.com via HTTP; Wed, 11 Aug 2010 19:32:00 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Wed, 11 Aug 2010 19:32:00 -0700 (PDT) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20100811005533.755C21065764@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Page fault in kernel when using CD, BSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 02:58:42 -0000 Hi, In the last two days I've had two nasty problems on two machines. The first started dumping core on epiphany, apparently when the Javascript garbage collector ran. I found that the fan on the video card was running and stopping. I jury-rigged a fan over it (until I get a new one) and the problem has gone away. Probably nothing to do with the second problem, but who knows? Second problem: on a machine (Core 2 Quad, 2.24 GHz) the CD/DVD drive has started to give me page faults in the kernel. The "press any key on the console" to halt the reboot does not work. I've been using this drive on and off for months. I've checked all the connections (PATA), blown out the machine (the temperatures reported by sysctl range from 50 to 59 degrees from core to core), and put a different power lead into the drive. Sometimes the console gets large transfer errors (I don't want to excite the problem right now, as the fsck is finally running) before the fault. The disk transfers don't work, the drive won't open, the process can't be interrupted, etc. The error usually comes a few minutes after the drive stops working. Yes, the processor is running a little hot, but I don't think it's dangerous and its been like this for months. I have a compact heat sink on it and the interaction between the rotor/stator fan and the CPU speed control reduces the speed too much at low load. But again, it's been like that for months. Does anyone have any suggestions? Is it worth trying a new PATA or SATA drive? Mark Terribile materribile@yahoo.com From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 06:28:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFFC5106567C for ; Thu, 12 Aug 2010 06:28:05 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 831D98FC18 for ; Thu, 12 Aug 2010 06:28:05 +0000 (UTC) Received: by qwg5 with SMTP id 5so1252268qwg.13 for ; Wed, 11 Aug 2010 23:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=lzUbBRIYRJRuTbQvTf2fGudb0Xwu/1F2Je+gS+JjiCw=; b=XmUs/mpy3V0YVZRaA6q0Rro9pE7bDj/Dv6rUvqCfdb3mf2pWUAk+5XwGEbN43YhLZl YB1BMQsjPn8jh2gdhEChhB6fo5/Jhv7LLikyaFYaWCAJQKDGJYyB54hokZh+DF1PT20/ DqWcP6uaXv4h7BAJzTtfl9VRaB+pBLJAlZfMU= 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=dpdGyYXwOfnVP7tpd749ZjUYbVsIxfHpkGoDtHMyw7YkQBpqpBlPNQ4iBttfbgNzr4 psa5VHXkmYXJTgZBBgm1YJEm1qysv+iz+E0+1cFrBjxKhS8eHZiaL783FLIEc7ayHi+i nTUPBiBP+kqpvtKl4awWHt3DMBqFwXasFunPY= MIME-Version: 1.0 Received: by 10.224.66.165 with SMTP id n37mr11719635qai.10.1281594484927; Wed, 11 Aug 2010 23:28:04 -0700 (PDT) Received: by 10.229.246.133 with HTTP; Wed, 11 Aug 2010 23:28:04 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Aug 2010 08:28:04 +0200 Message-ID: From: Christer Solskogen To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Jail from dump/restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 06:28:05 -0000 On Wed, Aug 11, 2010 at 10:57 PM, Chris Maness wrote: > Is it possible to create a jail from a dump/restore of a real system. > If so, would I just restore the dump to the jail tld? > That should be possible yes. But it's probably a better idea to just create a new jail and transfer the data, then you'll get rid of old cruft. -- chs, From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 07:45:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8611E106564A for ; Thu, 12 Aug 2010 07:45:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 59BF58FC0C for ; Thu, 12 Aug 2010 07:45:44 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OjSTs-0007Im-RD for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 09:45:40 +0200 Received: from pool-173-79-97-89.washdc.fios.verizon.net ([173.79.97.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Aug 2010 09:45:40 +0200 Received: from nightrecon by pool-173-79-97-89.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Aug 2010 09:45:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 12 Aug 2010 03:46:09 -0400 Lines: 47 Message-ID: References: <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <201008112120.o7BLKgxe054400@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-97-89.washdc.fios.verizon.net Subject: Re: UPS 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: Thu, 12 Aug 2010 07:45:46 -0000 Oliver Fromme wrote: > Ryan Coleman wrote: > > He thinks that at 500W needed it would give me about 12 minutes on > > a 1400VA. > > That W and VA numbers of the UPS are pretty much irrelevant, > because they tell nothing about the capacity of the battery. > Those numbers only give an upper limit on the power that > the UPS can handle (i.e. you cannot connect devices totalling > 800 W to a 500 W UPS, for example). > > In order to be able to estimate how long the UPS can power > wattage, you need to know the capacity of the battery. > The capacity is usually given in Ah units (Ampere hours). > > For example, a battery with 10 Ah capacity can deliver > 10 Ampere for 1 hour, or 20 Ampere for 30 minutes, or > 30 Ampere for 20 Minutes ... and so on. > At a typical battery voltage of 12 V, 30 A would be 360 W. > > So, theoretically a 10 Ah battery would be able to hold > devices that use 360 W for about 20 Minutes. In practice > it will be less because no UPS has 100% efficiency. > > Best regards > Oliver > Another often overlooked detail is how long the battery will last. These amp-hour figures are all for new batteries, and the number of discharge/charge cycles has some effect over time as well. Generally speaking when a UPS just sits there and does very little the batteries are like new for the first two years. Somewhere into year 3 they begin to nose over the derating curve. So at year 3.75 they will have signifigantly less full power runtime than when new. The quality of manufacture for the batteries controls this, for example with lead-acid how much metal goes into the plates. I admit to being bitten a time or two: There is a certain tendency to put the UPS in the rack and walk away and forget all about it. I've learned the hard way to keep records so I can replace weak batteries in a timely fashion. Or this happens: "But that server should have been able to stay up 20 minutes instead of crashing at 7 minutes..." -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 08:03:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB23106564A for ; Thu, 12 Aug 2010 08:03:13 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id C35968FC0C for ; Thu, 12 Aug 2010 08:03:12 +0000 (UTC) Received: from [217.12.4.215] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 08:03:11 -0000 Received: from [87.248.110.202] by t2.bullet.ukl.yahoo.com with NNFMP; 12 Aug 2010 08:03:11 -0000 Received: from [127.0.0.1] by omp232.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 08:03:11 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 505716.59483.bm@omp232.mail.ukl.yahoo.com Received: (qmail 76364 invoked by uid 60001); 12 Aug 2010 08:03:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281600191; bh=UUbn6ftiY0eI+A0mCGcvwUdppfyDBr2ru26NHonFAvM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=a5LPtL2X/o1X6NRzlv+Md+kSvrKNwHJNP8mS1U7wE7FaozcT71LETaey0RrxBgF13AKXJnSzNQ1omKEzGzm3op3dLnvvETmnUSHcr6pZa/ygnK52hXMhTD60+QGZrE51wxyVt/M0eN83cRyMUM3CSU+++u+AiBogijXwMkm5lVk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fXiGXLLRVGxLv+FQdkOPdACz8o5+OmgND3BsiRtxM4wmFQRhafKkAYjqNlhuT6qN8BA3mdnfhyGs7MD0a2LbWNPMXA6lM1jD/VAQHD778BvyfhZVKKXsaoDJy29E1FBXilzqBRCrkEuK1etcUUTLAjozgSBO7EfbsuAR4XmRU0s=; Message-ID: <201846.75612.qm@web24603.mail.ird.yahoo.com> X-YMail-OSG: 7gfUktEVM1lPMMEYFA8m1XXOV86vmIB3AhBJ2svN8vlwfdq JpWgCHMxuJUzKYtnqcJUJ19tA0EOFcCJaXcjI1pLvxxGFijPLVqJAdNe9i1I l7xu7dnniPNZOPdp.hCDuwFy6gtxfNuFm4lFVHi9dZzbNLWFxfFQ2UWxHfAV v5sbPCM_NiTaEEPLeHNqv42y3raeHPLzzelPBqpVB61CK9si1mseE6Sw.5Nq ntJJU_sIG3EW3DjYKUpwhP573NVVH0VgL.oaehnZLdL6RBTidObP_YHeOyj1 _5EDXVp9YNSJwkNbTcoV.oEdrnHiQCk_R5w-- Received: from [93.0.168.242] by web24603.mail.ird.yahoo.com via HTTP; Thu, 12 Aug 2010 08:03:11 GMT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <201008112055.o7BKtBP0053143@lurza.secnetix.de> Date: Thu, 12 Aug 2010 08:03:11 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <201008112055.o7BKtBP0053143@lurza.secnetix.de> 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 Cc: Subject: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 08:03:13 -0000 192.168.1.38 is the private address of rl0 on my host. 93.0.168.242 is the = =0Apublic one. I tried both as the jail's address. With the private one, ne= ither =0Aportsnap nor ping work at all.=0A=0AWith the public one, I get thi= s result :=0A=0A=0AFreeBSD# sysctl security.jail.allow_raw_sockets=3D1=0Ase= curity.jail.allow_raw_sockets: 0 -> 1=0AFreeBSD# /etc/rc.d/jail onestart se= rver=0AConfiguring jails:.=0AStarting jails: MaPrison.=0AFreeBSD# jexec 1 p= ortsnap fetch=0Ajexec: jail_attach(1): Invalid argument=0AFreeBSD# jls=0A = JID IP Address Hostname Path=0A 2 93.0.168= .242 MaPrison /usr/prison=0AFreeBSD# jexec 2 portsn= ap fetch=0ALooking up portsnap.FreeBSD.org mirrors... none found.=0AFetchin= g public key from portsnap.FreeBSD.org... failed.=0ANo mirrors remaining, g= iving up.=0AFreeBSD# jexec 2 ping www.yahoo.fr=0Aping: cannot resolve www.y= ahoo.fr: Host name lookup failure=0AFreeBSD# jexec 2 ping 69.147.83.33=0API= NG 69.147.83.33 (69.147.83.33): 56 data bytes=0A=0AThen, nothing during a f= ew minutes, so I used :=0A=0A^C =0A--- 69.147.83.33 ping statistics ---=0A= 32 packets transmitted, 0 packets received, 100.0% packet loss=0A=0AData ca= n be sent to the net now but it seems they can't come back.=0A=0AI also tri= ed after opening the jail the same way you do :=0A=0AFreeBSD# jail /usr/pri= son MaPrison 93.0.168.242 /bin/sh -E=0A# ping 69.147.83.33=0APING 69.147.83= .33 (69.147.83.33): 56 data bytes=0A^C=0A--- 69.147.83.33 ping statistics -= --=0A30 packets transmitted, 0 packets received, 100.0% packet loss=0A# por= tsnap fetch=0ALooking up portsnap.FreeBSD.org mirrors... none found.=0AFetc= hing public key from portsnap.FreeBSD.org... failed.=0ANo mirrors remaining= , giving up.=0A#=0A=0A=0A=0A=0A________________________________=0ADe : Oliv= er Fromme =0A=C0 : freebsd-questions@FreeBSD.ORG; b= errandonea@yahoo.fr=0AEnvoy=E9 le : Mer 11 ao=FBt 2010, 22h 55min 11s=0AObj= et : Re: How to connect a jail to the web ?=0A=0ABrice ERRANDONEA wrote:=0A> Oliver Fromme wrote:=0A> > sysctl security.jail.al= low_raw_sockets=3D1=0A> =0A> I did it but ping still doesn't work.=0A=0AWhi= ch IP address are you using for the jail now?=0A=0AIf you're using 127.0.0.= 1, you can only ping the host's=0Aown IP addresses, because packets with a = localnet IP=0Anever leave a machine.=0A=0AIf you're using the "real" addres= s (192.168.1.38) for=0Athe jail, then you should be able to ping all addres= ses=0Athat you can ping from the host. I just did a quick=0Atest on my mac= hine; it has the IP address 172.20.0.2=0A(which is being translated with NA= T on my router, but=0Athat doesn't matter):=0A=0AHOST# sysctl security.jail= .allow_raw_sockets=3D1=0Asecurity.jail.allow_raw_sockets: 0 -> 1=0AHOST# ja= il / testjail 172.20.0.2 /bin/sh -E=0A# ping www.google.com=0APING www.l.go= ogle.com (66.102.13.105): 56 data bytes=0A64 bytes from 66.102.13.105: icmp= _seq=3D0 ttl=3D54 time=3D31.196 ms=0A64 bytes from 66.102.13.105: icmp_seq= =3D1 ttl=3D54 time=3D25.553 ms=0A64 bytes from 66.102.13.105: icmp_seq=3D2 = ttl=3D54 time=3D27.086 ms=0A=0A> > > 192.168.1.38 is the host's ip so I use= 127.0.0.1 for the jail.=0A> =0A> > Well, localnet addresses are not routed= . If you give your=0A> > jail a localnet address, it won't be able to acce= ss the=0A> > network outside of the host. (Unless you take measures=0A> > = to rewrite/translate the addresses and forward them.)=0A> > That's why DNS = and portsnap don't work.=0A> =0A> > I suggest using the address 192.168.1.3= 8 for the jail,=0A> > at least during installation. Make sure that the fil= e=0A> > /etc/resolv.conf inside the jail is correct, so DNS will=0A> > work= . Copying it from the host should be sufficient.=0A> =0A> Isn't 192.168.1.= 38 a localnet address too ?=0A=0AIt's a private address (RFC 1918). I assu= me that you've got=0Aa NAT router that translates it to a public IP address= .=0A=0A> Do you mean I should use the public ip of my computer here ?=0A= =0ADo you have one? So far you only mentioned 192.168.1.38.=0A=0A> I thoug= ht it was intended to be impossible to access the host from the jail.=0A=0A= It depends on what you want to do with the jail. Jails can=0Abe used for v= astly different purposes.=0A=0A> But you're right : I'll forget that.=0A=0A= Good. :-)=0A=0ABest regards=0A Oliver=0A=0A-- =0AOliver Fromme, secnetix= GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.=0AHandelsregister: Regis= tergericht Muenchen, HRA 74606, Gesch=E4ftsfuehrung:=0Asecnetix Verwaltung= sgesellsch. mbH, Handelsregister: Registergericht M=FCn-=0Achen, HRB 125758= , Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf Gebhart=0A=0AFreeBSD-= Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd=0A=0A"Cle= ar perl code is better than unclear awk code; but NOTHING=0Acomes close to = unclear perl code" (taken from comp.lang.awk FAQ)=0A______________________= _________________________=0Afreebsd-questions@freebsd.org mailing list=0Aht= tp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe,= send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 08:29:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FCE2106568F for ; Thu, 12 Aug 2010 08:29:41 +0000 (UTC) (envelope-from a.huth@tmr.net) Received: from bo-uwka-srv01.de.tmr.net (bo-uwka-srv01.de.tmr.net [212.23.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id 615868FC0C for ; Thu, 12 Aug 2010 08:29:41 +0000 (UTC) Received: from localhost (localhost.de.tmr.net [127.0.0.1]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 267C01DE953; Thu, 12 Aug 2010 10:29:39 +0200 (CEST) Received: from bo-uwka-srv01.de.tmr.net ([127.0.0.1]) by localhost (bo-uwka-srv01.de.tmr.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 94044-01-39; Thu, 12 Aug 2010 10:29:39 +0200 (CEST) Received: from localhost (bo-stwhv-fw02.de.tmr.net [212.23.140.253]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id CA2821DE951; Thu, 12 Aug 2010 10:29:38 +0200 (CEST) Date: Thu, 12 Aug 2010 10:34:02 +0200 From: Alex Huth To: freebsd-questions@freebsd.org Message-ID: <20100812083402.GA2297@borusse.ewmr.base> References: <20100811124006.GA2284@borusse.ewmr.base> <20100811180028.GA1822@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100811180028.GA1822@holstein.holy.cow> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Alex Huth Subject: Re: Skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 08:29:41 -0000 On Wed, Aug 11, 2010 at 08:00:28AM -1000, parv@pair.com wrote: > in message <20100811124006.GA2284@borusse.ewmr.base>, > wrote Alex Huth thusly... > > > > Is anyone using skype on freebsd 8 and can tell me how to do the > > setup? Seem to be that there is no port and on the website i find > > no package for freebsd. > > Well, version 1.x does not work at all as in I was not able to log > in after generating an account via web. Version 2.x as it existed > in ports not too long ago was broken due to missing source file (not > as in raw code but as in binaries). > > Then I searched for a possible solution that led me to download ... > > http://kobyla.info/soft/distfiles/skype_static-2.0.0.72-oss.tar.bz2 > > ... in /misc/ports/distfiles; edit net/skype/Makefile to set proper > PORTVERSION; & generate net/skpe/distinfo which led to successful > install & use of skype as in I could log in with the same password & > userid generated earlier & place a call or two. > > > - parv > > -- > Thanks, works like a charm! Great! From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 08:40:14 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC054106568F for ; Thu, 12 Aug 2010 08:40:14 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6437E8FC12 for ; Thu, 12 Aug 2010 08:40:14 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7C8dsBb073517; Thu, 12 Aug 2010 10:40:09 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7C8drvm073516; Thu, 12 Aug 2010 10:39:53 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 10:39:53 +0200 (CEST) Message-Id: <201008120839.o7C8drvm073516@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, Matthew Seaman , Fbsd8 , Brice ERRANDONEA , "Randal L. Schwartz" In-Reply-To: X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 10:40:10 +0200 (CEST) Cc: Subject: Re: How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, Matthew Seaman , Fbsd8 , Brice ERRANDONEA , "Randal L. Schwartz" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 08:40:15 -0000 David Allen wrote: > I've read comments in the past about setting up jails using local > loopback addresses, but I'm wondering if you wouldn't mind elaborating > on what the actual pf rules would look like. > > Say you have 3 jails and more than one public IP address: > > ns 127.0.0.2 public_ip_1 > mail 127.0.0.3 public_ip_2 > www 127.0.0.4 public_ip_3 > > You want to pass port 25 traffic to/from the 'mail' jail. But you also > need that jail to use the correct public_ip address. Is that possible > without using, for example, pf's binat? Just for completeness, this is a little "how-to" that describes how you do it with IPFW. You do not have to configure NAT. One single fwd rule is sufficient. The following example works on FreeBSD 8.1. In this example, I'll use port 42, the jail has address 127.0.0.2 on lo0, and nc (netcat) is used in place of a real daemon. The real (external) address of the host machine is 10.5.5.5. HOST# is the prompt of the server machine that hosts the jail, JAIL# is the prompt within that host machine's jail, and CLIENT$ is the prompt of a separate physical machine on the same network which is used for testing purposes. First add an alias IP to the lo0 (localnet) interface. HOST# ifconfig lo0 inet 127.0.0.2/32 alias In order to make that permament, you have to add an alias line to /etc/rc.conf, of course: ifconfig_lo0_alias0="inet 127.0.0.2/32" Check the addresses: HOST# ifconfig lo0 | grep -w inet inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.2 netmask 0xffffffff Install the IPFW fwd rule: HOST# ipfw add 1 fwd 127.0.0.2 tcp from any to 10.5.5.5 42 00001 fwd 127.0.0.2 tcp from any to 10.5.5.5 dst-port 42 To make that permanent, add these lines to /etc/rc.conf: firewall_enable="YES" firewall_type="/etc/ipfw.conf" And create a file /etc/ipfw.conf containing these lines: -f flush add fwd 127.0.0.2 tcp from any to 10.5.5.5 42 Ok, now start the jail. For the sake of this example, we simply re-use the host's installed base, i.e. the jail's root path is "/". For a real jail you would use the jail's root directory, of course. HOST# jail / testjail 127.0.0.2 /bin/sh -E Finally start a netcat (nc) process in the jail. In a real jail, this would be an apache process on port 80, a mail transfer agent on port 25, whatever. JAIL# nc -ln 42 Now the netcat process is listening on port 42 inside the jail on the localnet address 127.0.0.2. You can verify that with sockstat(1) on the host: HOST# sockstat | grep -w 42 root nc 1953 3 tcp4 127.0.0.2:42 *:* You can now connect to that "service" from a different system on the network, using the external IP address of the host. The IPFW fwd rule reroutes the packets destined for port 42 to the jail's localnet address. CLIENT$ echo Hello world | nc 10.5.5.5 42 As a result, netcat will echo the string "Hello world" in the jail, and the nc process will terminate. Note: In order to be able to use IPFW fwd rules, you should have these two lines in your kernel config: options IPFIREWALL options IPFIREWALL_FORWARD If you don't intend to use IPFW for anything else than fwd, you can also include the following line, so you don't have to install any additional "allow" rules: options IPFIREWALL_DEFAULT_TO_ACCEPT That's especially useful if you want to use IPFW for forwarding only, and use another software for actual packet filtering (i.e. pf or ipf). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 10:01:31 2010 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 95DC71065673 for ; Thu, 12 Aug 2010 10:01:31 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 31D918FC17 for ; Thu, 12 Aug 2010 10:01:30 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAKtcY0ykD30E/2dsb2JhbAAHgw3GYJFxhEdzBA Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 12 Aug 2010 12:01:28 +0200 Message-ID: <4C63C678.6070606@ulb.ac.be> Date: Thu, 12 Aug 2010 12:01:28 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions Content-Type: multipart/mixed; boundary="------------010107020800010303070300" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: hast X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 10:01:31 -0000 This is a multi-part message in MIME format. --------------010107020800010303070300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I would like to test HAST / CARP as a cheap redundant storage solution. Apart NFS, are there other ways to export the file system of the HAST box? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------010107020800010303070300-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 10:40:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B643F1065673 for ; Thu, 12 Aug 2010 10:40:49 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.virginmedia.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD058FC1B for ; Thu, 12 Aug 2010 10:40:49 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OjVDM-000DnZ-60 for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 11:40:48 +0100 Date: Thu, 12 Aug 2010 11:40:48 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20100812104048.GA46142@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.1-STABLE amd64 Sender: Daniel Bye Subject: Re: Grepping a list of words 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: Thu, 12 Aug 2010 10:40:49 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 11, 2010 at 06:00:22PM -0500, Jack L. Stone wrote: > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. Something like this should do the trick: egrep "(word1|word2|word3)" file Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxjz7AACgkQixf5fBYiFmqW5ACghMLJtHfxowUXRHKQXb0D6dOH 2FgAoJAi+zsjUklZzu56K5Mug4n7BuBn =j0rC -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 10:47:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C12771065693 for ; Thu, 12 Aug 2010 10:47:19 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8129C8FC18 for ; Thu, 12 Aug 2010 10:47:19 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o7CAlISa026260; Thu, 12 Aug 2010 06:47:18 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o7CAlIYn026258; Thu, 12 Aug 2010 06:47:18 -0400 (EDT) Date: Thu, 12 Aug 2010 06:47:18 -0400 From: Thomas Dickey To: freebsd-questions@freebsd.org Message-ID: <20100812104717.GA26090@saltmine.radix.net> References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> User-Agent: Mutt/1.3.27i Cc: "Jack L. Stone" Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 10:47:19 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 11, 2010 at 06:00:22PM -0500, Jack L. Stone wrote: > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. put the list in a file, and use grep -f better, use the \< and \> markers on the file's contents and use egrep. (grep -w option is likely to be buggy when available). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFMY9E0tIqByHxlDocRAk0SAJ97fYGdAzAtZVX/tlCWhVKw5gHm/wCdFjzw hKAL6ioGQvjHekmWNtHIWCA= =yINf -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 10:49:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4330110656AC for ; Thu, 12 Aug 2010 10:49:22 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C2ABB8FC12 for ; Thu, 12 Aug 2010 10:49:21 +0000 (UTC) Received: by bwz9 with SMTP id 9so987912bwz.13 for ; Thu, 12 Aug 2010 03:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=dHfX8rVu6ogmaGs54+tuJ8aBNbiuf1WD0BaOdyhCcfE=; b=IfRUnHXx0EBf25Oe/z6ABs8OIdfmoo5KwciFNwVQcFzvzuQOCICAdge71KKp9oR74w Ri+nx2o7eu8ogk6h5HZSzdwaDKFXWeJU2Vz14PWXH4sJF7sW6KycCiN2Ob6csX1imtHL Yk4cGizD68kThnSebCq0n3Bj3EjVv+fuu6IAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=NncPbU4OkqJnhb/lqoHkvm1Dq2pRDPylcAZ9njMADVEmkwPXx2BiH45vxfB781mAOH Tj0KcC6nMF7CJISnDvHgB34wR7nE0MT/A0pAjieQZ4IeReBVSBWo4KLDEAQurXvHlZwd CPrc3NFd+2hTB14ClrBKMIQep+SLIH2hSpwgc= Received: by 10.204.175.3 with SMTP id v3mr529316bkz.49.1281610160694; Thu, 12 Aug 2010 03:49:20 -0700 (PDT) Received: from localhost ([81.218.219.122]) by mx.google.com with ESMTPS id y19sm941048bkw.18.2010.08.12.03.49.13 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Aug 2010 03:49:19 -0700 (PDT) From: Anonymous To: "Jack L. Stone" References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> Date: Thu, 12 Aug 2010 14:48:58 +0400 In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> (Jack L. Stone's message of "Wed, 11 Aug 2010 18:00:22 -0500") Message-ID: <86lj8cds2t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 10:49:22 -0000 "Jack L. Stone" writes: > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. Perhaps, `-e' option? $ printf 'foo\nbar\n' | fgrep -e foo -e bar foo bar From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:03:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB8FD1065674 for ; Thu, 12 Aug 2010 11:03:55 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id 68DC98FC1A for ; Thu, 12 Aug 2010 11:03:55 +0000 (UTC) Received: from [172.23.170.147] (helo=anti-virus03-10) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1OjVZi-0006U3-Aw; Thu, 12 Aug 2010 12:03:54 +0100 Received: from [94.168.170.153] (helo=Mercury.galaxy.lan.lcl) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1OjVZb-0001CH-Qu; Thu, 12 Aug 2010 12:03:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Thu, 12 Aug 2010 12:03:47 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F7C0@Mercury.galaxy.lan.lcl> In-Reply-To: <107828.14489.qm@web110306.mail.gq1.yahoo.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Page fault in kernel when using CD, BSD 7.2 Thread-Index: Acs6DIzA2BOfe8p+SJaqjqzpZ8efBgAAS7Qg References: <20100811005533.755C21065764@hub.freebsd.org> <107828.14489.qm@web110306.mail.gq1.yahoo.com> From: "Graeme Dargie" To: "Mark Terribile" , Cc: Subject: RE: Page fault in kernel when using CD, BSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:03:55 -0000 -----Original Message----- From: Mark Terribile [mailto:materribile@yahoo.com]=20 Sent: 12 August 2010 03:32 To: freebsd-questions@freebsd.org Subject: Page fault in kernel when using CD, BSD 7.2 Hi, In the last two days I've had two nasty problems on two machines. The first started dumping core on epiphany, apparently when the Javascript garbage collector ran. I found that the fan on the video card was running and stopping. I jury-rigged a fan over it (until I get a new one) and the problem has gone away. Probably nothing to do with the second problem, but who knows? Second problem: on a machine (Core 2 Quad, 2.24 GHz) the CD/DVD drive has started to give me page faults in the kernel. The "press any key on the console" to halt the reboot does not work. I've been using this drive on and off for months. I've checked all the connections (PATA), blown out the machine (the temperatures reported by sysctl range from 50 to 59 degrees from core to core), and put a different power lead into the drive. Sometimes the console gets large transfer errors (I don't want to excite the problem right now, as the fsck is finally running) before the fault. The disk transfers don't work, the drive won't open, the process can't be interrupted, etc. The error usually comes a few minutes after the drive stops working. Yes, the processor is running a little hot, but I don't think it's dangerous and its been like this for months. I have a compact heat sink on it and the interaction between the rotor/stator fan and the CPU speed control reduces the speed too much at low load. But again, it's been like that for months. Does anyone have any suggestions? Is it worth trying a new PATA or SATA drive? Mark Terribile materribile@yahoo.com Might be worthwhile running memtest on the machine. Regards Graeme =20 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:05:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8E11065693 for ; Thu, 12 Aug 2010 11:05:23 +0000 (UTC) (envelope-from arek@wup-katowice.pl) Received: from mx1.wup-katowice.pl (mx1.wup-katowice.pl [195.39.216.236]) by mx1.freebsd.org (Postfix) with ESMTP id EBE5C8FC23 for ; Thu, 12 Aug 2010 11:05:22 +0000 (UTC) Received: from mx1.wup-katowice.pl (localhost [127.0.0.1]) by mx1.wup-katowice.pl (Postfix) with ESMTP id 2449361C6F for ; Thu, 12 Aug 2010 12:52:11 +0200 (CEST) Received: from [127.0.0.1] (arek.wup-katowice.pl [195.39.216.233]) by mx1.wup-katowice.pl (Postfix) with ESMTPSA id 1C24E61C5C for ; Thu, 12 Aug 2010 12:52:11 +0200 (CEST) Date: Thu, 12 Aug 2010 12:49:24 +0200 From: Arek Czereszewski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Message-ID: <4C63D1B4.9000209@wup-katowice.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.36/RELEASE, bases: 20100812 #4129153, check: 20100812 clean Subject: Qlogic FC controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: arek@wup-katowice.pl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 11:05:23 -0000 Hi We are planning to buy new servers which we would like connect to disk array via FC. We have 2 options for this servers: Qlogic QLE2462 or QLE2460. I check in isp man but only 2432 and 2422 are supported. Is any chance to use one of this cards on freebsd? I found some informations about working QLA2460 on current. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:20:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50A37106567A for ; Thu, 12 Aug 2010 11:20:19 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 0086E8FC17 for ; Thu, 12 Aug 2010 11:20:18 +0000 (UTC) Received: (qmail 16902 invoked by uid 0); 12 Aug 2010 11:20:18 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by cpoproxy1.bluehost.com with SMTP; 12 Aug 2010 11:20:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:X-Identified-User; b=peBaasC+XoZTJyigdMeeHhKskwoFdNhtZ5iFsucUtMXAN5yowC3TBDvTSgay6m7hZ9QDgUuSwb8vUsQj+o+1yr/W3UefaDpCnpMh0rmBoknbQIfcpkRqzktGT04SGcPX; Received: from host83.190-30-196.telecom.net.ar ([190.30.196.83] helo=rjgonzale-laptop) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1OjVpZ-0004xH-Em; Thu, 12 Aug 2010 05:20:18 -0600 Date: Thu, 12 Aug 2010 08:20:10 -0300 From: Rodrigo Gonzalez To: "Jack L. Stone" Message-ID: <20100812082010.361ff51d@rjgonzale-laptop> In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/SKS.U=Ix+U_0JMcN9u4A8Xh"; protocol="application/pgp-signature" X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.30.196.83 authed with rjgonzale@estrads.com.ar} Cc: freebsd-questions@freebsd.org Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:20:19 -0000 --Sig_/SKS.U=Ix+U_0JMcN9u4A8Xh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 11 Aug 2010 18:00:22 -0500 "Jack L. Stone" wrote: > Kindly appreciate help with how to grep (or similar) a list of words > to determine if any of them are in a file rather than grepping one > word at a time. >=20 Use egrep egrep "(word1|word2)" --Sig_/SKS.U=Ix+U_0JMcN9u4A8Xh Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxj2OoACgkQZHmnrc0PV8+zqgCgpRjqdHAjR3jL+PBrij0TonUt gAMAoIiJ/Kx+L+X6embm8ivGykxjxN+P =7S1z -----END PGP SIGNATURE----- --Sig_/SKS.U=Ix+U_0JMcN9u4A8Xh-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:31:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1165B10656C1 for ; Thu, 12 Aug 2010 11:31:06 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from web110307.mail.gq1.yahoo.com (web110307.mail.gq1.yahoo.com [67.195.8.207]) by mx1.freebsd.org (Postfix) with SMTP id D7B338FC1A for ; Thu, 12 Aug 2010 11:31:05 +0000 (UTC) Received: (qmail 30956 invoked by uid 60001); 12 Aug 2010 11:31:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281612665; bh=BbG9rotR7A6k5ygP9pWoFmuyNW8fwvZBSI8lVKIE7r4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jrFsThBV0G2CuBgZYaebD3+p7E5vqCdbDHk7pPWBxSUoxgh9dRnaFsJkVc02h66LoVCDEJvUCDYXzG8ibOG/RM6EUi1JCLuiTxU3vyCZCumvazLNe4fuqbQCOBK1DbuhHmixMGIYvFUmuh3Xo6IQs811P/MkcQAT8grLcFRVrBQ= 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:Content-Transfer-Encoding; b=yD7sJTWS8MIwgCj8uEAp8wrTWUFwy0c4xNmbFS+9810uobZEQ97J6+gPQxl8PpdCeaF2xdvTDy7LHehljVhIU+8gz2OfhhzkXX7vQ326av6loPSDmPYZfVy2TxxF6etWN948KhGhYhkI/t2Maio50V8NGX2XX/iRs5iPmJCTl54=; Message-ID: <363570.30950.qm@web110307.mail.gq1.yahoo.com> X-YMail-OSG: 1WRSC6MVM1ljFEI30RL_PidBijgpUZhknvfjxBfa7E7Xa73 L4Ngwu2NqBGegxlJWbwE1KFSzRR84Wi0NTLBoovyeDO77l3TbDc9Z5CRteaU gwjP18gu8wGZWPOYiKc5JKSwwgYN4PPS.KZQHFtlH8Da4iozD7EQ0WHgg4Op wVU8hIZimwt0Qpm1lrOcIwKqMmOKlXoeLmYfuciq9MlLhaLkVvHMS.h4SEWI dWWTGOIwmj3qZJMaHByI0V0YNtH7syaYCDYAuCupkRKmjmJpgL6edxX4dTn2 FLeveb9G37LVUY9b2JhZzKxcTC6QjIMCIl8SD3F.vQCXeoejpUTUjLLonDaJ 34nP3NWz4En3LFg-- Received: from [24.228.57.153] by web110307.mail.gq1.yahoo.com via HTTP; Thu, 12 Aug 2010 04:31:04 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Thu, 12 Aug 2010 04:31:04 -0700 (PDT) From: Mark Terribile To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Page fault in kernel when using CD, BSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:31:06 -0000 =0AHi,=0A=0A> Second problem: on a machine (Core 2 Quad, 2.24 GHz) the=0A> = CD/DVD drive has started to give me page faults in the kernel.=0A>=A0The "p= ress any key on the console" to halt the reboot does=0A> not work.=0A> =0A>= Okay, now it's happening with nothing but the fsck=0A> running.=0A> It tak= es maybe fifteen minutes.=0A=0AOkay, I've got a suspect.=0A=0AI got it past= the fsck by going ino Single User and doing=0Athe file systems one disk at= a time. (Two on this=0Amachine). I suspect the power supply has gone mar= ginal.=0A=0AMy spare is much bigger than the what I need for this machine;= =0AI'll wait on a replacement if I can. And I'll let you all=0Aknow.=0A=0A= Thanks to those who've written.=0A=0A Mark Terribile=0A materribile@y= ahoo.com=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:36:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA42810656B2 for ; Thu, 12 Aug 2010 11:36:00 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5A78FC17 for ; Thu, 12 Aug 2010 11:35:59 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o7CBZwds016124; Thu, 12 Aug 2010 12:35:58 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4C63DC9E.3060705@qeng-ho.org> Date: Thu, 12 Aug 2010 12:35:58 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: "Jack L. Stone" References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:36:00 -0000 On 08/12/10 00:00, Jack L. Stone wrote: > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. fgrep, aka grep -F A snippet from "man grep": -F, --fixed-strings Interpret PATTERN as a list of fixed strings, separated by newlines, any of which is to be matched. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:44:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5F0106566B for ; Thu, 12 Aug 2010 11:44:16 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4B48FC26 for ; Thu, 12 Aug 2010 11:44:16 +0000 (UTC) Received: by pwj4 with SMTP id 4so460548pwj.13 for ; Thu, 12 Aug 2010 04:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=Q7fCCW4Uxzk57Yt8nxR6Fmjy8devwKN3QEyLpsoaa/8=; b=Ube8mXahyIPrGewABq5lkMa63ZimUBLoVwM5qx58mxf3s5/+NNVzvRnBwcSl0LeFyj w5mUXNwTLP14qw14EDFTmSMLW9Ex9Bk0X4ilETzHlqvqAKK0dv/p7T5Lv7sZN8i9ri/R KzDsOW5ATwlanXmFSsrT7BkdvKA89Hp6Yt6jE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=JiQlRhYtzzaVuTCa3NLZ2CKjMVL2CpMQxn24kJydap8cR3P+2Ls6IqDa+hsaiL6oBA gbF3QeyR/jg06x3bg5HZxLAJGgLeKVjYIEA6eDfEc5jl7xXD3bfRm8zvQX4u18UFFU4A uQ68hSkKm2T5MR2Wa5XTpyp/PHZ/NpsyOfppQ= Received: by 10.142.77.20 with SMTP id z20mr7380929wfa.47.1281613455852; Thu, 12 Aug 2010 04:44:15 -0700 (PDT) Received: from chateau.d.if ([122.163.82.228]) by mx.google.com with ESMTPS id y16sm1466241wff.2.2010.08.12.04.44.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Aug 2010 04:44:14 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 6C9532D8027; Thu, 12 Aug 2010 17:14:07 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: "Jack L. Stone" Organization: The FreeBSD Project References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 17:10:48 up 9 min, 1 user, load average: 0.19, 0.68, 0.44 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Thu, 12 Aug 2010 17:14:03 +0530 In-Reply-To: <3.0.1.32.20100811180022.00ee4250@sage-american.com> (Jack L. Stone's message of "Wed, 11 Aug 2010 18:00:22 -0500") Message-ID: <86bp98dpj0.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:44:16 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jack L Stone writes: > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. #v+ % egrep 'word1|word2|word3|...|wordn' filename.txt #v- 'word1|word2|word3|...|wordn' is the regular expression, so if you can minimize it better for you :). HTH =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CThere is nothing new to be discovered in physics now; All that remains is more and more precise measurement.=E2=80=9D (Lord Kelvin, 1900) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMY96HAAoJEMdGz6nnT6SwVQUP/2f1RC/bYVMUfAiamBc/3pYJ BJwkRzEIsdpL41mGcrCuR1GXPfKqnK7DbpC7VdC4kZVuRZfAJ34CiH/7+B4j/Qv5 h4oAtvHcUebXy+nqBZ6re3aI1WjfCUGYl+Fk6dC/r/0pcAwo7KRcAz9nyye4a3Nd HOGC6+5cyHSxCPK+1Qo794rFg81h9jSjxLVsbgY2MrpOn2gAmBHxwd7G1I/taYs0 n8fnnfML2P3PAMwHEp6BXEwTT+vpn8g1M8skWMTqj9/D9yxOXw3bT9Gjs2EyRqrm Mb0EMMa3tUajR8IXxzw6yuSZ3VxesFFZgIVq+GwTtBBgshUk2chnUX+UVZH0Fzuc KYbIbZNyd9BMAkxeDXFib/orfEu0iVOfCe0HSSvDM3LQIKIKqriXHQGK9AEjZ1zl wgyRHwa23M2wiMqofe00gYtZjIRifmNViz/XpXkvcu23y2NB7xlIYZbGDF4q3ZtY y0FNheriVEUeP58bpPYKyC+FaY41TlgquFsNJIZK2vNKYXuPR9gA6llZYo3ONOvM HJeXWCJHDlh6gtPp0cca/VKUpBehNxK3O+SMLj9XTSS69dT+6L62cqYcdLxB4Lt0 6smtjbP3L8/lXpTIDbhfqfINpoy6PeLL0DgZnluGDmP2IFqOobToUQnRrrAbG0Ey 7/vhs/E5QZ366sReKA9g =pxPq -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 11:50:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E02D1065673 for ; Thu, 12 Aug 2010 11:50:30 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 348888FC18 for ; Thu, 12 Aug 2010 11:50:29 +0000 (UTC) Received: by wwe15 with SMTP id 15so493824wwe.31 for ; Thu, 12 Aug 2010 04:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=8/pSySlJVyiegezNGHyXtPukQgdyCovmeD3dVl/yGl8=; b=GEenUWoghKOe9pdPa1YyZTZk8jaoGOWBRd7ec1RDIKyUkOWHjtDX+ytOlEqzUa+ofF Vno81ItBDJelKgaN9NRCQoHxBafv6uWNEMQ+bm/zwkoPC/snmvLnSVCJYh5Mju3Cuhve WqyOpkxHn3cDaJhZ09rpTr0O88M5wFPX8k+RM= 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=CIC2C9HVR1JrdaSGH/aClVLXLr68Yk5b3r07dMQwlNSEuV6wi0BJCTsFBCTXFRIBOV sOaWd+kYmRBZESALGGFeLAVuP1lE8Jx/5WDTyFXT5MVyK1wCSm+ZnJ/wQcwVs6ZBhOiw PobNMe79Tv7mMpTRaB4wn2pDBRxws4BVsw21k= MIME-Version: 1.0 Received: by 10.216.45.16 with SMTP id o16mr6624811web.45.1281613826178; Thu, 12 Aug 2010 04:50:26 -0700 (PDT) Received: by 10.216.22.68 with HTTP; Thu, 12 Aug 2010 04:50:26 -0700 (PDT) In-Reply-To: <4C63D1B4.9000209@wup-katowice.pl> References: <4C63D1B4.9000209@wup-katowice.pl> Date: Thu, 12 Aug 2010 13:50:26 +0200 Message-ID: From: claudiu vasadi To: arek@wup-katowice.pl, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Qlogic FC controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 11:50:30 -0000 Hi, If you check http://www.freebsd.org/releases/8.1R/hardware.html you will see that both are supported by the isp(4) driver From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:01:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8C871065696 for ; Thu, 12 Aug 2010 12:01:08 +0000 (UTC) (envelope-from arek@wup-katowice.pl) Received: from mx1.wup-katowice.pl (mx1.wup-katowice.pl [195.39.216.236]) by mx1.freebsd.org (Postfix) with ESMTP id 6FFDF8FC27 for ; Thu, 12 Aug 2010 12:01:08 +0000 (UTC) Received: from mx1.wup-katowice.pl (localhost [127.0.0.1]) by mx1.wup-katowice.pl (Postfix) with ESMTP id 3691561C66; Thu, 12 Aug 2010 14:03:54 +0200 (CEST) Received: from [127.0.0.1] (arek.wup-katowice.pl [195.39.216.233]) by mx1.wup-katowice.pl (Postfix) with ESMTPSA id 2760061C64; Thu, 12 Aug 2010 14:03:54 +0200 (CEST) Date: Thu, 12 Aug 2010 14:01:06 +0200 From: Arek Czereszewski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: claudiu vasadi References: <4C63D1B4.9000209@wup-katowice.pl> In-Reply-To: Message-ID: <4C63E282.9080801@wup-katowice.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.36/RELEASE, bases: 20100812 #4129153, check: 20100812 clean Cc: freebsd-questions@freebsd.org Subject: Re: Qlogic FC controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: arek@wup-katowice.pl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 12:01:08 -0000 W dniu 2010-08-12 13:50, claudiu vasadi pisze: > Hi, > > If you check http://www.freebsd.org/releases/8.1R/hardware.html you will see > that both are supported by the isp(4) driver > In man are only 2432 and 2422 also on 8.1 hardware site. Or maybe I'm blind. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:04:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8AD71065695 for ; Thu, 12 Aug 2010 12:04:44 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4278FC17 for ; Thu, 12 Aug 2010 12:04:44 +0000 (UTC) Received: by wwe15 with SMTP id 15so509910wwe.31 for ; Thu, 12 Aug 2010 05:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=DzR/CXOuEMrEnQoQYnKmlF4yNaDcVJUZfbNuPK9e7IQ=; b=dgo2whPH/7QNjpMIztuUmisd1hzrOW7eaSrQOAd5wx+1p9nD4cIdE9fIqpk0lvRfaH Aa/XKfToComvaPBhnYEIY8mau3kCJezBL3+VRkrRakS/2Uads6uDL88LW64Mw3cSFjQt jFdwFm6QzdNNyu/2ZcTgg3OtEnYR4y3SBorIc= 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=MU0Vi7ixR5LvQbkGfXLYsMlfTdW9MxXEOrdKZX8UObg/tvr+j8/wVnqnv1KdSbW7nV T0/VR+yjS+ICoO9tY3/UHxc5Luxomn8c6atdxe0PnIT77VeT7iSu7YmwVXvXndC6IJiY yngyZHLByCxu+ydb7x7ijkgSGQ1thtYjlotsE= MIME-Version: 1.0 Received: by 10.216.177.205 with SMTP id d55mr6611529wem.76.1281614683284; Thu, 12 Aug 2010 05:04:43 -0700 (PDT) Received: by 10.216.22.68 with HTTP; Thu, 12 Aug 2010 05:04:36 -0700 (PDT) In-Reply-To: <4C63E282.9080801@wup-katowice.pl> References: <4C63D1B4.9000209@wup-katowice.pl> <4C63E282.9080801@wup-katowice.pl> Date: Thu, 12 Aug 2010 14:04:36 +0200 Message-ID: From: claudiu vasadi To: arek@wup-katowice.pl, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Qlogic FC controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 12:04:44 -0000 Arek, man isp shows: Qlogic 2422 Qlogic 2422 Optical Fibre Channel PCI cards (4 Gigabit) Qlogic 2432 Qlogic 2432 Optical Fibre Channel PCIe cards (4 Gigabit) and the hw list shows the same. What exactly are you trying to say here ? From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:38:59 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A55AE1065674 for ; Thu, 12 Aug 2010 12:38:59 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7EB4D8FC08 for ; Thu, 12 Aug 2010 12:38:59 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id o7CCcwhA055615; Thu, 12 Aug 2010 07:38:58 -0500 (CDT) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20100812073855.00ec5e98@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Thu, 12 Aug 2010 07:38:55 -0500 To: ashish@FreeBSD.org (Ashish SHUKLA) From: "Jack L. Stone" In-Reply-To: <86bp98dpj0.fsf@chateau.d.if> References: <3.0.1.32.20100811180022.00ee4250@sage-american.com> <3.0.1.32.20100811180022.00ee4250@sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Thu, 12 Aug 2010 07:38:58 -0500 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [38.106.15.121]); Thu, 12 Aug 2010 07:38:58 -0500 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Cc: freebsd-questions@FreeBSD.org Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 12:38:59 -0000 At 05:14 PM 8.12.2010 +0530, Ashish SHUKLA wrote: >Jack L Stone writes: >> Kindly appreciate help with how to grep (or similar) a list of words to >> determine if any of them are in a file rather than grepping one word at a >> time. > >#v+ >% egrep 'word1|word2|word3|...|wordn' filename.txt >#v- > >'word1|word2|word3|...|wordn' is the regular expression, so if you can >minimize it better for you :). > >HTH >-- >Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Thanks for the replies. This suggestion won't do the job as the list of words is very long, maybe 50-60. This is why I asked how to place them all in a file. One reply dealt with using a file with egrep. I'll try that. Appreciate the help and any others in case the one doesn't work. All the best, Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:40:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8653B1065679 for ; Thu, 12 Aug 2010 12:40:02 +0000 (UTC) (envelope-from arek@wup-katowice.pl) Received: from mx1.wup-katowice.pl (mx1.wup-katowice.pl [195.39.216.236]) by mx1.freebsd.org (Postfix) with ESMTP id 3FB028FC16 for ; Thu, 12 Aug 2010 12:40:02 +0000 (UTC) Received: from mx1.wup-katowice.pl (localhost [127.0.0.1]) by mx1.wup-katowice.pl (Postfix) with ESMTP id 8518B61C6E for ; Thu, 12 Aug 2010 14:42:48 +0200 (CEST) Received: from [127.0.0.1] (arek.wup-katowice.pl [195.39.216.233]) by mx1.wup-katowice.pl (Postfix) with ESMTPSA id 7D51461C66 for ; Thu, 12 Aug 2010 14:42:48 +0200 (CEST) Date: Thu, 12 Aug 2010 14:40:00 +0200 From: Arek Czereszewski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C63D1B4.9000209@wup-katowice.pl> <4C63E282.9080801@wup-katowice.pl> In-Reply-To: Message-ID: <4C63EBA0.9070608@wup-katowice.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.36/RELEASE, bases: 20100812 #4128472, check: 20100812 clean Subject: Re: Qlogic FC controller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: arek@wup-katowice.pl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 12:40:02 -0000 W dniu 2010-08-12 14:04, claudiu vasadi pisze: > Arek, > > man isp shows: > > Qlogic 2422 > Qlogic 2422 Optical Fibre Channel PCI cards (4 Gigabit) > > Qlogic 2432 > Qlogic 2432 Optical Fibre Channel PCIe cards (4 Gigabit) > > > and the hw list shows the same. > > What exactly are you trying to say here ? Yes but in servers are 2460, 2462 or some emulex only. -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:52:18 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16151065679 for ; Thu, 12 Aug 2010 12:52:17 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 739E68FC1F for ; Thu, 12 Aug 2010 12:52:17 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7CCq0TA090703; Thu, 12 Aug 2010 14:52:16 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7CCq0Z2090702; Thu, 12 Aug 2010 14:52:00 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 14:52:00 +0200 (CEST) Message-Id: <201008121252.o7CCq0Z2090702@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <201846.75612.qm@web24603.mail.ird.yahoo.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 14:52:16 +0200 (CEST) Cc: Subject: Re: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 12:52:18 -0000 Brice ERRANDONEA wrote: > 192.168.1.38 is the private address of rl0 on my host. 93.0.168.242 is the > public one. I tried both as the jail's address. With the private one, neither > portsnap nor ping work at all. > > With the public one, I get this result : > [...] > FreeBSD# jexec 2 ping www.yahoo.fr > ping: cannot resolve www.yahoo.fr: Host name lookup failure > FreeBSD# jexec 2 ping 69.147.83.33 > PING 69.147.83.33 (69.147.83.33): 56 data bytes > [...] > 32 packets transmitted, 0 packets received, 100.0% packet loss Please show the _complete_ output from "ifconfig" and "netstat -rnfinet". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;} From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 13:23:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6C721065670 for ; Thu, 12 Aug 2010 13:23:19 +0000 (UTC) (envelope-from fp214d@att.com) Received: from mail161.messagelabs.com (mail161.messagelabs.com [216.82.253.115]) by mx1.freebsd.org (Postfix) with ESMTP id 939BF8FC0A for ; Thu, 12 Aug 2010 13:23:19 +0000 (UTC) X-VirusChecked: Checked X-Env-Sender: fp214d@att.com X-Msg-Ref: server-4.tower-161.messagelabs.com!1281617798!25675063!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [144.160.20.146] Received: (qmail 28269 invoked from network); 12 Aug 2010 12:56:38 -0000 Received: from sbcsmtp7.sbc.com (HELO mlpd194.enaf.sfdc.sbc.com) (144.160.20.146) by server-4.tower-161.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 12 Aug 2010 12:56:38 -0000 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd194.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id o7CCu9e8008572 for ; Thu, 12 Aug 2010 08:56:10 -0400 Received: from misout7msgusr7e.ugd.att.com (misout7msgusr7e.ugd.att.com [144.155.43.107]) by mlpd194.enaf.sfdc.sbc.com (8.14.4/8.14.4) with ESMTP id o7CCu6XY008499 for ; Thu, 12 Aug 2010 08:56:06 -0400 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, 12 Aug 2010 08:54:44 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ISC eventlib Thread-Index: Acs6HcqIGCXMcruAQEG9cyuZaZwMyg== From: "PALAIA, FRANK J (ATTSI)" To: Subject: ISC eventlib X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 13:23:20 -0000 Hello folks, I'm a big fan of your work. I'm working on an application that essentially requires an eventlib (evSetTimer, etc.) All the research I've done points to bind9 and, I guess, trying to extract it from there. I actually tried extracting some files from bind9 and building a libevent.a but it core dumps some time. My question is does anyone know where I can get an ISC eventlib package to install in my FreeBSD env. Thanks -frank --- Frank J. Palaia Senior Member of Technical Staff - AT&T 200 Laurel Avenue Middletown, NJ 07748 732-420-0205 (w) 732-320-3803 (c) NOTE: This message and any attachments may contain confidential business information intended solely for the recipients. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 13:30:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 466671065693 for ; Thu, 12 Aug 2010 13:30:03 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id B0DFF8FC18 for ; Thu, 12 Aug 2010 13:30:02 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1749A9; Thu, 12 Aug 2010 15:12:20 +0200 Message-ID: <4C63F2C9.90406@nagual.nl> Date: Thu, 12 Aug 2010 15:10:33 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: ZFS data from snv_b134 to fbsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 13:30:03 -0000 I want to transfer a lot of ZFS data from an old OpenSolaris ZFS mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14). If I boot off the OpenSolaris boot CD and import both mirrors will the copying from v22 ZFS to v14 ZFS be harmless? I'm not sure if this is teh right mailinglist for this question. Let me know. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 14:35:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B38291065673 for ; Thu, 12 Aug 2010 14:35:40 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id 0312A8FC51 for ; Thu, 12 Aug 2010 14:35:38 +0000 (UTC) Received: from [217.146.182.180] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 14:35:38 -0000 Received: from [87.248.110.54] by t6.bullet.ukl.yahoo.com with NNFMP; 12 Aug 2010 14:35:38 -0000 Received: from [127.0.0.1] by omp106.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 14:35:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 69601.89067.bm@omp106.mail.ukl.yahoo.com Received: (qmail 90710 invoked by uid 60001); 12 Aug 2010 14:35:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281623737; bh=9KYVPTrAarrOpmg4+Erdj86fnWQ/vQ5hFqL7THefHq0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=4M9DnEWTuevcMVW9QOP0tu81nfgCwRMA2Lk+9SBRM30NKAFnCpikYAI8/5Ce5G1T7WRhKnGQv23T26+iZWU4/n4gwDRYbkozyC4RsAqFOhWwpQ3hQadXoBPNsaXtPz7dnQJyAq4dxiWpRnqSfLJybGaC6WCWwYeu2Aem1WTiD5s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vbFIOjbzk5il8+rfcDF/q6esg91Va55NPPefebuKOMAADyJBcYzLjTUsVSKRWDAQJ43ZBLXg0UY2xqCtpiuQmDvC3/Q9n7aNT2yPZ25IIZLE6XC0ZbcvSFXtI9i9+ya0UeDdLO0XeewK0/kqUZHzZ4OaIXX2OXPF2a+en7E70mY=; Message-ID: <861468.90347.qm@web24607.mail.ird.yahoo.com> X-YMail-OSG: yOhvQz4VM1naJUV26Jf1IIOK4BfypvagwvIXdzcslPygE.u XPY1IiemvjscMS4FVDcCW6_GkFffCIoWx3DAGQzHIjonVOutrShSlKjWeIWe yTwdvMy1RnduffcnWgbafAqahTH.LTfUQ5CNsAiC9GkDh0JDyzwZWT1ILZWJ 3J9fwqsN_5QEAahyx_xjkm9Yen45oNauzpcPd7QxFpknalWmhg4wxTIgXNux AMykIONScJCxYKUrDC8oXdrGhhAHCI1xJAg5yer7zk62dtnykaQsWEPjEJuk SAN0TpfDS3bWvJQgSz17z Received: from [93.0.168.242] by web24607.mail.ird.yahoo.com via HTTP; Thu, 12 Aug 2010 14:35:37 GMT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <201008121252.o7CCq0Z2090702@lurza.secnetix.de> Date: Thu, 12 Aug 2010 14:35:37 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@FreeBSD.ORG In-Reply-To: <201008121252.o7CCq0Z2090702@lurza.secnetix.de> 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 Cc: Subject: Re : Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 14:35:41 -0000 Here they are.=0A=0AOn the host, when the jail is not running :=0A=0A%ifcon= fig=0Arl0: flags=3D8843 metric 0 mt= u 1500=0A options=3D8=0A ether 00:11:09:15:72:6a=0A= inet 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255=0A = media: Ethernet autoselect (100baseTX )=0A status: = active=0Afwe0: flags=3D8802 metric 0 mtu 1500= =0A options=3D8=0A ether 02:11:06:99:8a:ff=0A = ch 1 dma -1=0Afwip0: flags=3D8802 metric 0 m= tu 1500=0A lladdr 0.11.6.66.0.99.8a.ff.a.2.ff.fe.0.0.0.0=0Aplip0: fl= ags=3D8810 metric 0 mtu 1500=0Alo0: flags=3D= 8049 metric 0 mtu 16384=0A options=3D= 3=0A inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=0A = inet6 ::1 prefixlen 128=0A inet 127.0.0.1 netmask 0xff000000=0A= nd6 options=3D3=0A%netstat -rnfinet=0ARout= ing tables=0A=0AInternet:=0ADestination Gateway Flags = Refs Use Netif Expire=0Adefault 192.168.1.1 UGS = 16 434 rl0=0A127.0.0.1 link#5 UH = 0 20 lo0=0A192.168.1.0/24 link#1 U 1 = 98 rl0=0A192.168.1.38 link#1 UHS 0 0= lo0=0A=0AOn the host when the jail is running :=0A=0AFreeBSD# jls=0A = JID IP Address Hostname Path=0A 1 93.0.168.= 242 MaPrison /usr/prison=0AFreeBSD# ifconfig=0Arl0:= flags=3D8843 metric 0 mtu 1500=0A = options=3D8=0A ether 00:11:09:15:72:6a=0A in= et 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255=0A inet 9= 3.0.168.242 netmask 0xffffffff broadcast 93.0.168.242=0A media: Ethe= rnet autoselect (100baseTX )=0A status: active=0Afwe0: = flags=3D8802 metric 0 mtu 1500=0A optio= ns=3D8=0A ether 02:11:06:99:8a:ff=0A ch 1 dma -1=0A= fwip0: flags=3D8802 metric 0 mtu 1500=0A = lladdr 0.11.6.66.0.99.8a.ff.a.2.ff.fe.0.0.0.0=0Aplip0: flags=3D8810 metric 0 mtu 1500=0Alo0: flags=3D8049 metric 0 mtu 16384=0A options=3D3= =0A inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=0A inet6 ::1 p= refixlen 128=0A inet 127.0.0.1 netmask 0xff000000=0A nd6 opti= ons=3D3=0AFreeBSD# netstat -rnfinet=0ARouting tabl= es=0A=0AInternet:=0ADestination Gateway Flags Refs = Use Netif Expire=0Adefault 192.168.1.1 UGS 0 = 474 rl0=0A93.0.168.242 link#1 UHS 0 = 20 lo0 =3D>=0A93.0.168.242/32 link#1 U 0 = 0 rl0=0A127.0.0.1 link#5 UH 0 20 = lo0=0A192.168.1.0/24 link#1 U 0 102 rl0= =0A192.168.1.38 link#1 UHS 0 0 lo0=0A= =0AIn the jail (running, of course) :=0A=0AFreeBSD# jexec 1 ifconfig=0Arl0:= flags=3D8843 metric 0 mtu 1500=0A = options=3D8=0A ether 00:11:09:15:72:6a=0A in= et 93.0.168.242 netmask 0xffffffff broadcast 93.0.168.242=0A media: = Ethernet autoselect (100baseTX )=0A status: active=0Afw= e0: flags=3D8802 metric 0 mtu 1500=0A o= ptions=3D8=0A ether 02:11:06:99:8a:ff=0A ch 1 dma -= 1=0Afwip0: flags=3D8802 metric 0 mtu 1500=0A = lladdr 0.11.6.66.0.99.8a.ff.a.2.ff.fe.0.0.0.0=0Aplip0: flags=3D8810 metric 0 mtu 1500=0Alo0: flags=3D8049 metric 0 mtu 16384=0A options=3D3=0AFreeBSD# jexec 1 netstat -rnfinet=0ARouting tables=0A=0AInternet:=0A= Destination Gateway Flags Refs Use Netif Expire= =0Adefault 192.168.1.1 UGS 0 480 rl0=0A93= .0.168.242 link#1 UHS 0 20 lo0 =3D>=0A93= .0.168.242/32 link#1 U 0 0 rl0=0A127.0.0= .1 link#5 UH 0 20 lo0=0A192.168.1.0/= 24 link#1 U 0 102 rl0=0A192.168.1.38 = link#1 UHS 0 0 lo0=0A=0ADo you find what's = wrong ?=0A=0ABrice=0A=0A=0A=0A=0A=0A________________________________=0ADe := Oliver Fromme =0A=C0 : freebsd-questions@FreeBSD.O= RG; berrandonea@yahoo.fr=0AEnvoy=E9 le : Jeu 12 ao=FBt 2010, 14h 52min 00s= =0AObjet : Re: Re : How to connect a jail to the web ?=0A=0ABrice ERRANDONE= A wrote:=0A> 192.168.1.38 is the private address of = rl0 on my host. 93.0.168.242 is the =0A> public one. I tried both as the ja= il's address. With the private one, neither =0A> portsnap nor ping work at = all.=0A> =0A> With the public one, I get this result :=0A> [...]=0A> FreeBS= D# jexec 2 ping www.yahoo.fr=0A> ping: cannot resolve www.yahoo.fr: Host na= me lookup failure=0A> FreeBSD# jexec 2 ping 69.147.83.33=0A> PING 69.147.83= .33 (69.147.83.33): 56 data bytes=0A> [...]=0A> 32 packets transmitted, 0 p= ackets received, 100.0% packet loss=0A=0APlease show the _complete_ output = from "ifconfig" and "netstat -rnfinet".=0A=0ABest regards=0A Oliver=0A=0A= -- =0AOliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b= . M.=0AHandelsregister: Registergericht Muenchen, HRA 74606, Gesch=E4ftsfu= ehrung:=0Asecnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergeri= cht M=FCn-=0Achen, HRB 125758, Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Er= b, Ralf Gebhart=0A=0AFreeBSD-Dienstleistungen, -Produkte und mehr: http://= www.secnetix.de/bsd=0A=0API:=0Aint f[9814],b,c=3D9814,g,i;long a=3D1e4,d,e,= h;=0Amain(){for(;b=3Dc,c-=3D14;i=3Dprintf("%04d",e+d/a),e=3Dd%a)=0Awhile(g= =3D--b*2)d=3Dh*b+a*(i?f[b]:a/5),h=3Dd/--g,f[b]=3Dd%g;}=0A__________________= _____________________________=0Afreebsd-questions@freebsd.org mailing list= =0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubsc= ribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A= =0A From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 15:52:42 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F8541065693 for ; Thu, 12 Aug 2010 15:52:42 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id B47BB8FC19 for ; Thu, 12 Aug 2010 15:52:41 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7CFqOY1097377; Thu, 12 Aug 2010 17:52:39 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7CFqOIM097376; Thu, 12 Aug 2010 17:52:24 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 17:52:24 +0200 (CEST) Message-Id: <201008121552.o7CFqOIM097376@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <861468.90347.qm@web24607.mail.ird.yahoo.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 17:52:39 +0200 (CEST) Cc: Subject: Re: Re : Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 15:52:42 -0000 Brice ERRANDONEA wrote: > On the host, when the jail is not running : > > %ifconfig > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:11:09:15:72:6a > inet 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) OK, so 192.168.1.38 is the only (non-localnet) IP address that you have. You should use that one for your jail. > On the host when the jail is running : > > FreeBSD# jls > JID IP Address Hostname Path > 1 93.0.168.242 MaPrison /usr/prison > FreeBSD# ifconfig > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:11:09:15:72:6a > inet 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255 > inet 93.0.168.242 netmask 0xffffffff broadcast 93.0.168.242 > media: Ethernet autoselect (100baseTX ) Where did you get that second IP address from? Did you just add it manually? Or is that the address that your gateway (DSL router, whatever) got assigned from your ISP? I assume that IP address is not really routed to your host, but that NAT (Network Address Translation) is used on your router. So you cannot use that address on the host. (If that's not true, please exlain the structure of your network in more detail.) So, if my assumptions are true, you must use the address 192.168.1.38 for your jail. Make sure that DNS is working inside the jail ... It should be sufficient to copy /etc/resolv.conf from the host to /usr/prison/etc/resolv.conf If it still doesn't work: Are you using any packet filter (ipfw, ipf, pf)? If so, please show the complete list of rules. Otherwise, it might help to run tcpdump(1) on the host, so you can see the actual packets that are transmitted and received. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is the only current language making COBOL look good." -- Bertrand Meyer From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 16:02:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 475FC1065670 for ; Thu, 12 Aug 2010 16:02:16 +0000 (UTC) (envelope-from prvs=08336d2004=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id CABFD8FC1F for ; Thu, 12 Aug 2010 16:02:15 +0000 (UTC) Received: (qmail 17267 invoked from network); 12 Aug 2010 15:35:35 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 12 Aug 2010 15:35:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding; s=k1008; olt=johnl@user.iecc.com; bh=wk2vSLuIHtUzQsll4XKnqOM4YJRbXUnKQbjASQ52RJM=; b=QFk2nAVUj9XHmjz31Hl25n14FX2tFopKY7m6Thq1YhCQb4UV0Fqv9lLkE/9PuQ9RO0rbFRO9TPfbXlB2GdH7CWgsrGyAPw5xdc4kIBq8gIcnR/6aeD2YVhKNHjAYgOHpyIb/b5WJCWBeaiWCcW3IcuwAmJgvmuIcqohLgK/1uqk= Date: 12 Aug 2010 15:35:35 -0000 Message-ID: <20100812153535.61549.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <3.0.1.32.20100812073855.00ec5e98@sage-american.com> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Cc: jacks@sage-american.com Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 16:02:16 -0000 >>% egrep 'word1|word2|word3|...|wordn' filename.txt >Thanks for the replies. This suggestion won't do the job as the list of >words is very long, maybe 50-60. This is why I asked how to place them all >in a file. One reply dealt with using a file with egrep. I'll try that. Gee, 50 words, that's about a 300 character pattern, that's not a problem for any shell or version of grep I know. But reading the words from a file is equivalent and as you note most likely easier to do. R's, John From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 16:13:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0CF21065670 for ; Thu, 12 Aug 2010 16:13:45 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 57F628FC08 for ; Thu, 12 Aug 2010 16:13:45 +0000 (UTC) Received: (qmail 22339 invoked from network); 12 Aug 2010 16:13:44 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 12 Aug 2010 16:13:44 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XB03Ah2UWWNI for ; Thu, 12 Aug 2010 09:13:43 -0700 (MST) Received: (qmail 22316 invoked from network); 12 Aug 2010 16:13:43 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 12 Aug 2010 16:13:43 -0000 Sender: fred Message-ID: <4C641B08.E424A1A0@blakemfg.com> Date: Thu, 12 Aug 2010 09:02:16 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: X11 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: Thu, 12 Aug 2010 16:13:45 -0000 Hello, Where would I find startx? I assume it is part one of the ports under X11 but I don't want to install all of them to find it. Also, is p5-Tk the same as Perl/Tk? Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 16:44:59 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 754FA10656A9 for ; Thu, 12 Aug 2010 16:44:59 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D55808FC16 for ; Thu, 12 Aug 2010 16:44:58 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7CGifJc099467; Thu, 12 Aug 2010 18:44:56 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7CGiflh099466; Thu, 12 Aug 2010 18:44:41 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 18:44:41 +0200 (CEST) Message-Id: <201008121644.o7CGiflh099466@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, jacks@sage-american.com, johnl@iecc.com In-Reply-To: <20100812153535.61549.qmail@joyce.lan> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 18:44:57 +0200 (CEST) Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, jacks@sage-american.com, johnl@iecc.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 16:44:59 -0000 John Levine wrote: > > > % egrep 'word1|word2|word3|...|wordn' filename.txt > > > Thanks for the replies. This suggestion won't do the job as the list of > > words is very long, maybe 50-60. This is why I asked how to place them all > > in a file. One reply dealt with using a file with egrep. I'll try that. > > Gee, 50 words, that's about a 300 character pattern, that's not a problem > for any shell or version of grep I know. > > But reading the words from a file is equivalent and as you note most > likely easier to do. The question is what is more efficient. This might be important if that kind of grep command is run very often by a script, or if it's run on very large files. My guess is that one large regular expression is more efficient than many small ones. But I haven't done real benchmarks to prove this. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "To this day, many C programmers believe that 'strong typing' just means pounding extra hard on the keyboard." -- Peter van der Linden From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 16:48:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A190A106567A for ; Thu, 12 Aug 2010 16:48:53 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n23.bullet.mail.ukl.yahoo.com (n23.bullet.mail.ukl.yahoo.com [87.248.110.140]) by mx1.freebsd.org (Postfix) with SMTP id 2F41F8FC1F for ; Thu, 12 Aug 2010 16:48:52 +0000 (UTC) Received: from [217.12.4.214] by n23.bullet.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 16:48:52 -0000 Received: from [87.248.110.106] by t1.bullet.ukl.yahoo.com with NNFMP; 12 Aug 2010 16:48:52 -0000 Received: from [127.0.0.1] by omp211.mail.ukl.yahoo.com with NNFMP; 12 Aug 2010 16:48:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 140984.68306.bm@omp211.mail.ukl.yahoo.com Received: (qmail 31497 invoked by uid 60001); 12 Aug 2010 16:48:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281631731; bh=bKLp0r+jHaehSyZ0n2nVy0kUAIE80GDHVvPxigQSk80=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=G2oKiZLi225XwD9MoBMTpndnwI4Vt2pNh+eD3CDVH1PXu34WBixYga9OpOcPjS2rvNvgmgM6dpCfKkIe+qtFX8qwtrMLOj9lrcdAm3A5/ulF6b3GrEyInphGJp9bD10SVEcBbyDBzQSRiH0uBGPhEbb0boamyu1cLIeip2GMu7Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LNXCDqhtWJIgRmYqb0P2dbSqNMw/0O/q82SiMy+WsyLUGRA/CvpiEVuwryLSKjkT2RFPpiuZ+kVWa912Fg3/yXxy3IrCkaYAtU8CfuVjSxnNNWuRIj5JdgMYipsWZHrN8/9foYZNjqBJS70TbwhHXMEYR/4GvNYGal1PqDINWJ4=; Message-ID: <827393.30460.qm@web24601.mail.ird.yahoo.com> X-YMail-OSG: f6.WbO0VM1n7wXKDu3aoL0Umyhb.LnfAU93yupDxZJsMh08 TWOOz1Kk2PO7WxaBRYp76oDuLEz0UE0bAAMksW76U5Gkv9RYWRyDsZmPh5PN BHp_37C8pM351V9NKW6_J26utdSzw3dNVlm7aPndtYwirymBWvuHjefEMWpZ CGBy29dXRHB.cF6DiBEGvdHXeMixb5rKJ31Vg8LGdEBJism1opn9uiyhEMaA 3xtjUOYtXiqL45fyium_xWXW2R1M90HrXwQf7ccs_.Ufu_OUY9Wth.OzlGSq 8o5vvO_lsEutCCXNbnoZoNUiMiBYEIMegotoPxfewTaIr Received: from [93.0.168.242] by web24601.mail.ird.yahoo.com via HTTP; Thu, 12 Aug 2010 16:48:51 GMT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <201008121552.o7CFqOIM097376@lurza.secnetix.de> Date: Thu, 12 Aug 2010 16:48:51 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@FreeBSD.ORG In-Reply-To: <201008121552.o7CFqOIM097376@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re : Re : Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 16:48:53 -0000 =0A=0A> Where did you get that second IP address from? Did you just=0A> ad= d it manually? Or is that the address that your gateway=0A> (DSL router, w= hatever) got assigned from your ISP?=0A=0AI added it manually in rc.conf (o= n the host) :=0A=0Ahostname=3D"FreeBSD.ici"=0Aifconfig_rl0=3D"DHCP"=0Akeyma= p=3D"fr.iso.acc" (yes, I'm french)=0Amoused_enable=3D"YES"=0Asaver=3D= "dragon"=0Ahald_enable=3D"YES"=0Adbus_enable=3D"YES"=0Adevfs_system_ruleset= =3D"localrules"=0A=0Ajail_enable=3D"NO"=0Ajail_list=3D"MaPrison"=0Ajail_int= erface=3D"rl0"=0Ajail_devfs_ruleset=3D"devfsrules_jail"=0Ajail_devfs_enable= =3D"YES"=0A=0Ajail_server_rootdir=3D"/usr/prison"=0Ajail_server_hostname=3D= "MaPrison"=0Ajail_server_ip=3D"93.0.168.242"=0A=0AI choosed it because that= 's my computer's public ip, at least according to this =0Awebsite : http://= whatismyipaddress.com/=0A=0A> I assume that IP address is not really routed= to your host,=0A> but that NAT (Network Address Translation) is used on yo= ur=0A> router. So you cannot use that address on the host.=0A> (If that's = not true, please exlain the structure of your=0A> network in more detail.)= =0A=0AMy "network" is VERY simple. I've got a modem (or "box") provided by = my phone =0Acompany. It's called a "neufbox" and acts as a gateway. The com= puter with =0AFreeBSD is connected to this "box" through an ethernet cable.= Two other =0Acomputers are connected to it via wifi.=0A=0A> So, if my assu= mptions are true, you must use the address=0A> 192.168.1.38 for your jail. = Make sure that DNS is working=0A> inside the jail ... It should be suffic= ient to copy=0A> /etc/resolv.conf from the host to /usr/prison/etc/resolv.c= onf=0A=0AOK, I'll try this.=0A=0A> If it still doesn't work: Are you using= any packet filter=0A> (ipfw, ipf, pf)? If so, please show the complete li= st of=0A> rules.=0A=0ANo, I don't. I've tried pf but you told it was not ne= cessary.=0A=0A> Otherwise, it might help to run tcpdump(1) on the host, so= =0A> you can see the actual packets that are transmitted and=0A> received.= =0A=0AAllright. I try it too.=0A=0AGood bye for the moment and thanks for y= our help.=0A=0ABrice=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 16:54:27 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7513D1065674 for ; Thu, 12 Aug 2010 16:54:27 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D58278FC24 for ; Thu, 12 Aug 2010 16:54:26 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7CGs5qM099812; Thu, 12 Aug 2010 18:54:20 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7CGs5cr099811; Thu, 12 Aug 2010 18:54:05 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 18:54:05 +0200 (CEST) Message-Id: <201008121654.o7CGs5cr099811@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, fred@blakemfg.com In-Reply-To: <4C641B08.E424A1A0@blakemfg.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 18:54:21 +0200 (CEST) Cc: Subject: Re: X11 question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, fred@blakemfg.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 16:54:27 -0000 Fred Boatwright wrote: > Where would I find startx? I assume it is part one of the ports > under X11 but I don't want to install all of them to find it. It's in x11/xinit. You can use "porgle" to find out: http://www.secnetix.de/tools/porgle/porgle.py?w=p&q=startx It has four hits, but it's not difficult to narrow it down from there. > Also, is p5-Tk the same as Perl/Tk? I think so. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd (On the statement print "42 monkeys" + "1 snake":) By the way, both perl and Python get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer is clearly "41 monkeys and 1 fat snake". -- Jim Fulton From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 17:09:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44751065696 for ; Thu, 12 Aug 2010 17:09:52 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 683598FC1E for ; Thu, 12 Aug 2010 17:09:49 +0000 (UTC) Received: by bwz9 with SMTP id 9so1334956bwz.13 for ; Thu, 12 Aug 2010 10:09: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:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=BokqWsIxiHaNlWZ7mF83bW0AMzk5MJ3OQ1LXQHGWNNU=; b=q/Hb8zOlPFkJ+BWWEpaq3C7tnHdpOaFvANAySVd7b9HK7QEGGNQ67HJRIhuuQHKT69 X+Ia/9WjZi0Lf+lLxk1neEIOSaOEoGeBf3owHXV3ZLvDBpGjYK7DdGEtLkqahpIgwaub ZFJR9N3mjDU1ApyKBLmbUxzuPPUAOSvFJSmm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=uLWKbBJIC4pT1gaZR1hfeC+gQUyuqeAiQ5xDaw63Q2LUwJk1R8/4mZXWUSvXly52pW u9Lv57zxgMAHKpuoAIdeUErbWnosSUE/mrXj8w9m7k/g5wOj+s9Uc6Sai0l8JADG90BA I4sRny2zgDOn2FAxbhw6V8Zs8lWXsf77iY3qE= Received: by 10.204.138.145 with SMTP id a17mr265545bku.82.1281632988184; Thu, 12 Aug 2010 10:09:48 -0700 (PDT) Received: from localhost ([94.75.253.73]) by mx.google.com with ESMTPS id f18sm1201955bkf.3.2010.08.12.10.09.43 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Aug 2010 10:09:46 -0700 (PDT) From: Anonymous To: freebsd-questions@FreeBSD.ORG References: <20100812153535.61549.qmail@joyce.lan> <201008121644.o7CGiflh099466@lurza.secnetix.de> Date: Thu, 12 Aug 2010 21:09:37 +0400 In-Reply-To: <201008121644.o7CGiflh099466@lurza.secnetix.de> (Oliver Fromme's message of "Thu, 12 Aug 2010 18:44:41 +0200 (CEST)") Message-ID: <867hjv92r2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: jacks@sage-american.com Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 17:09:52 -0000 Oliver Fromme writes: > John Levine wrote: > > > > % egrep 'word1|word2|word3|...|wordn' filename.txt > > > > > Thanks for the replies. This suggestion won't do the job as the list of > > > words is very long, maybe 50-60. This is why I asked how to place them all > > > in a file. One reply dealt with using a file with egrep. I'll try that. > > > > Gee, 50 words, that's about a 300 character pattern, that's not a problem > > for any shell or version of grep I know. > > > > But reading the words from a file is equivalent and as you note most > > likely easier to do. > > The question is what is more efficient. This might be > important if that kind of grep command is run very often > by a script, or if it's run on very large files. > > My guess is that one large regular expression is more > efficient than many small ones. But I haven't done real > benchmarks to prove this. BTW, not using regular expressions is even more efficient, e.g. $ fgrep -f /usr/share/dict/words /etc/group When using egrep(1) it takes considerably more time and memory. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 17:52:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB0BC1065784 for ; Thu, 12 Aug 2010 17:52:47 +0000 (UTC) (envelope-from email@exhibitormail.com) Received: from smtp.exhibitormail.com (smtp.exhibitormail.com [63.164.204.110]) by mx1.freebsd.org (Postfix) with ESMTP id 62B908FC1F for ; Thu, 12 Aug 2010 17:52:47 +0000 (UTC) Received: from [63.227.195.77] (helo=shuttlex2.host) by smtp.exhibitormail.com with esmtpa (Exim 4.60) (envelope-from ) id 1OjbXu-0005Nc-W4 for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 12:26:27 -0500 From: "EXHIBITOR Media Group" To: freebsd-questions@freebsd.org Date: Thu, 12 Aug 2010 12:26:27 -0500 MIME-Version: 1.0 Message-ID: <12815400648cbae9ce75cced474b1dc924505aea70@exhibitormail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Introducing EXHIBITOR eTrak Online Learning Sessions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: email@exhibitormail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 17:52:48 -0000 Introducing EXHIBITOR eTrak online education for trade show and corporate event marketing professionals! http://www.exhibitoronline.com/t.asp?p=etrak/index.asp&e=freebsd-questions@freebsd.org&s=1433Epa Experience the highest-rated educational sessions from EXHIBITOR2010 and EXHIBITORFastTrak - right from your desk! Join thousands of industry professionals who benefit from EXHIBITOR's 23-year track record of providing education for high-performance programs. UPCOMING SESSIONS Exhibiting and the Law: What You Need to Know Sept. 7, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Etd&p=etrak/SessionDetail.asp$date=9-7-2010 Integrated Marketing Communications Sept. 9, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Ete&p=etrak/SessionDetail.asp$date=9-9-2010 Advanced Learning Session: Managing in a Changing Environment Oct. 12, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Etf&p=etrak/SessionDetail.asp$date=10-12-2010 Successfully Incorporate Celebrities and Entertainment into Your Events Oct. 14, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Etg&p=etrak/SessionDetail.asp$date=10-14-2010 Build Your Measurement Program Nov. 16, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Eth&p=etrak/SessionDetail.asp$date=11-16-2010 Liquor Liability and the Law: What You Need to Know Nov. 18, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Eti&p=etrak/SessionDetail.asp$date=11-18-2010 Big or Small: This Nine-Step Plan Covers it All! Dec. 7, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Etj&p=etrak/SessionDetail.asp$date=12-7-2010 Advanced Learning Session: Measurement - Did the Strategies and Tactics Work? Dec. 9, 2010 1:00 pm CT http://www.exhibitoronline.com/t.asp?e=freebsd-questions@freebsd.org&s=1433Etk&p=etrak/SessionDetail.asp$date=12-9-2010 All EXHIBITOR eTrak sessions qualify for credit towards CTSM certification. http://www.exhibitoronline.com/t.asp?p=etrak/certification.asp&e=freebsd-questions@freebsd.org&s=1433Etm And each session comes with EXHIBITOR's "No-Risk Learning Experience Guarantee." Learn what you came to learn, or your money back. For more information about EXHIBITOR eTrak, go to http://www.exhibitoretrak.com. ------ This message was sent to manderson@exhibitormagazine.com. To manage your preferences for EXHIBITOR Media Group e-mail communications, go to: http://www.exhibitoronline.com/newsletters/index.asp?email=freebsd-questions@freebsd.org&sc=1433Epr Brought to you by EXHIBITOR Media Group - 206 S. Broadway, Suite 745, Rochester MN 55904 ------ From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 17:56:19 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C86610656B6 for ; Thu, 12 Aug 2010 17:56:19 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 65A888FC21 for ; Thu, 12 Aug 2010 17:56:19 +0000 (UTC) Received: from 174-21-101-5.tukw.qwest.net ([174.21.101.5] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Ojbn1-0008B5-5D for freebsd-questions@FreeBSD.ORG; Thu, 12 Aug 2010 10:42:04 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 12 Aug 2010 10:56:14 -0700 Date: Thu, 12 Aug 2010 10:56:14 -0700 From: Chip Camden To: freebsd-questions@FreeBSD.ORG Message-ID: <20100812175614.GJ20504@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20100812153535.61549.qmail@joyce.lan> <201008121644.o7CGiflh099466@lurza.secnetix.de> <867hjv92r2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ELVYuRnMxQ5nnKRy" Content-Disposition: inline In-Reply-To: <867hjv92r2.fsf@gmail.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 17:56:19 -0000 --ELVYuRnMxQ5nnKRy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Anonymous on Thursday, 12 August 2010: > Oliver Fromme writes: >=20 > > John Levine wrote: > > > > > % egrep 'word1|word2|word3|...|wordn' filename.txt > > >=20 > > > > Thanks for the replies. This suggestion won't do the job as the li= st of > > > > words is very long, maybe 50-60. This is why I asked how to place = them all > > > > in a file. One reply dealt with using a file with egrep. I'll try = that. > > >=20 > > > Gee, 50 words, that's about a 300 character pattern, that's not a pr= oblem > > > for any shell or version of grep I know. > > >=20 > > > But reading the words from a file is equivalent and as you note most > > > likely easier to do. > > > > The question is what is more efficient. This might be > > important if that kind of grep command is run very often > > by a script, or if it's run on very large files. > > > > My guess is that one large regular expression is more > > efficient than many small ones. But I haven't done real > > benchmarks to prove this. >=20 > BTW, not using regular expressions is even more efficient, e.g. >=20 > $ fgrep -f /usr/share/dict/words /etc/group >=20 > When using egrep(1) it takes considerably more time and memory. Having written a regex engine myself, I can see why. Though I'm sure egrep is highly optimized, even the most optimized DFA table is going to ta= ke more cycles to navigate than a simple string comparison. Not to mention the initial overhead of parsing the regex and building that table. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --ELVYuRnMxQ5nnKRy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMZDW+AAoJEIpckszW26+RN+cH/RUdu7Eb1pTuM2stldoxTgDM FTI6/e6GkegfImHi8h7G2mlXfzgQPo+XmaPZtaT90UTz+IPtK2NgJmwWkN8QS8ZH /W8TLcBhJ8wJ5PfKFhYBMHWjNgiBeFB4wYd6Nsq2U2b1aRBugElQkZjFBM19pTh3 P+3wt1cKVbeIQOMT+4HhycVKthasMHl9ERzrvHR6pjSnOfPkLN0EqKpyUOmxnTbG dIcjfIzPcqQjtKkcSIQAZsJYp3smlXm3jod3Y1uW2vcZrOMTe8yVin3A7ZfvOHnM IGLcWPvYI/ozgi7GaOsWo+Qr/uIPtXaueFZBrTFktWrccnVoJObL7mU1Ulmq5yI= =IseJ -----END PGP SIGNATURE----- --ELVYuRnMxQ5nnKRy-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 18:04:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F9BA106564A for ; Thu, 12 Aug 2010 18:04:14 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id DF1F88FC1B for ; Thu, 12 Aug 2010 18:04:13 +0000 (UTC) Received: (qmail 20661 invoked from network); 12 Aug 2010 18:04:13 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Aug 2010 18:04:13 -0000 Received: from alphonse ([192.168.10.9] helo=alphonse.gull.us) by ringbill.gull.us with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Ojc8R-0007DW-KW for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 11:04:11 -0700 Message-Id: <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> From: David Brodbeck To: FreeBSD Questions In-Reply-To: <4C63F2C9.90406@nagual.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 12 Aug 2010 11:04:11 -0700 References: <4C63F2C9.90406@nagual.nl> X-Mailer: Apple Mail (2.936) Subject: Re: ZFS data from snv_b134 to fbsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 18:04:14 -0000 On Aug 12, 2010, at 6:10 AM, Dick Hoogendijk wrote: > I want to transfer a lot of ZFS data from an old OpenSolaris ZFS > mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14). > If I boot off the OpenSolaris boot CD and import both mirrors will > the copying from v22 ZFS to v14 ZFS be harmless? > I'm not sure if this is teh right mailinglist for this question. Let > me know. I'm NOT a ZFS expert, but I think it should be OK as long as you don't upgrade the v14 pool. OpenSolaris won't upgrade pool versions automatically, so this shouldn' t be a problem. I'm assuming this is a normal file copy, here; if you're trying to use 'zfs send' and 'zfs receive' I think you'll run into difficulty. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 18:06:06 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C11631065672 for ; Thu, 12 Aug 2010 18:06:06 +0000 (UTC) (envelope-from prvs=08336d2004=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 518648FC17 for ; Thu, 12 Aug 2010 18:06:05 +0000 (UTC) Received: (qmail 97550 invoked from network); 12 Aug 2010 18:06:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type:user-agent:cleverness; s=k1008; bh=FQT1Gt6ZvgOBc1mbNIiz4w3r9qrxyXhwaOIb79BME4M=; b=XEV9pC3nMrsZVgbAQeR8ePwWn0T7Nc26HJB2QbWE2JHmVn7JI+vLfc6Vfc4/NOWB3rMM2VQPGDJj0Tg/O7fuSOabdWNLK4DTdYb/IvtVTH3fE6HhriwPgV+9LgjIwPj6gXoHnOV154UDVP2tFnYc/rTKIq0fR6Hs7qNgHmNMDjk= Received: (ofmipd 64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Aug 2010 18:05:43 -0000 Date: 12 Aug 2010 14:06:04 -0400 Message-ID: From: "John R. Levine" To: freebsd-questions@FreeBSD.ORG, jacks@sage-american.com In-Reply-To: <201008121644.o7CGiflh099466@lurza.secnetix.de> References: <201008121644.o7CGiflh099466@lurza.secnetix.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 18:06:06 -0000 > > Gee, 50 words, that's about a 300 character pattern, that's not a problem > > for any shell or version of grep I know. > > > > But reading the words from a file is equivalent and as you note most > > likely easier to do. > > The question is what is more efficient. This might be > important if that kind of grep command is run very often > by a script, or if it's run on very large files. It's exactly the same, since it's the same program using the same search algorithm. The only thing that's different is the input language for the pattern. What looks like a bunch of separate patterns in the input file is internally turned into one pattern that is then compiled into a state machine that it uses to match the input. R's, John From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 18:10:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8402110656A5 for ; Thu, 12 Aug 2010 18:10:55 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 511B48FC18 for ; Thu, 12 Aug 2010 18:10:55 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id 56BC11CCA0; Thu, 12 Aug 2010 07:52:33 -1000 (HST) Message-ID: <4C6434E0.20801@hdk5.net> Date: Thu, 12 Aug 2010 07:52:32 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: David Brodbeck References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ryan Coleman , freebsd-questions@freebsd.org Subject: Re: UPS 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: Thu, 12 Aug 2010 18:10:55 -0000 David Brodbeck wrote: > On Wed, August 11, 2010 1:18 pm, Ryan Coleman wrote: >> On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: >> >>> On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >>>> He thinks that at 500W needed it would give me about 12 minutes on a >>>> 1400VA. My consideration is, then, give the server 2 minutes on >>>> battery. >>>> If full power has not been returned, shut down the server but leave the >>>> modem (w/ wireless) and switch running with power for up to 6 hours. >>> A bit of advice: If this is an unattended system, give some thought to >>> how >>> you will boot the server back up if the outage is longer than two >>> minutes >>> but shorter than six hours. Most UPS installations have *some* kind of >>> race condition issue if power comes back after the servers have begun a >>> shutdown, but in your case it's an unusually long window. >> Meaning that my 2-minute window is unusually long? If the UPS can support >> the system for 12 minutes, I say give it 20% of the life of the support >> because our power outages here are usually spikes that kill my current web >> server (but amazingly *not* my file server). In fact, one of those power >> fluxes occurred last night. I love storms for the light shows, but hate >> them for the toll they take on my servers. > > Nope, 2 minutes is fine, maybe even short depending on how long your > system takes to shut down. What I'm asking about is this scenario: > > 1. Power goes out. > 2. Server shuts itself down after 2 minutes. > 3. Power comes back on before the UPS batteries are exhausted. > > The server never sees a power cycle, so it doesn't boot itself back up > until someone physically goes and pushes the button. > > >########## I have had these power dips and surges here in Hawaii. I have installed UPS power from two stationary batters that will run the servers for 12 hours. We have experienced extensive outages in the past and this was our only solution. Surges are almost impossible to stop. I have them jump cross a surge protector. I have recently had several UPS Desktop backups fail from a surge and then a drop below 70 v. This caused the UPS to have the charging diodes blow. It was cheaper to replace the UPS 's than to repair them. #3. The motherboard bios can be set to stop a server from self booting from a power outage. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 18:37:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B4D91065673 for ; Thu, 12 Aug 2010 18:37:31 +0000 (UTC) (envelope-from kellers@njit.edu) Received: from mail-gw5.njit.edu (mail.njit.edu [128.235.251.156]) by mx1.freebsd.org (Postfix) with ESMTP id C729F8FC18 for ; Thu, 12 Aug 2010 18:37:30 +0000 (UTC) Received: from beta.maestro (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id o7CHw1Sd012793; Thu, 12 Aug 2010 13:58:01 -0400 (EDT) Message-ID: <4C64362A.3000202@njit.edu> Date: Thu, 12 Aug 2010 13:58:02 -0400 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100726 Thunderbird/3.0.6 MIME-Version: 1.0 To: Fred Boatwright References: <4C641B08.E424A1A0@blakemfg.com> In-Reply-To: <4C641B08.E424A1A0@blakemfg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: X11 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: Thu, 12 Aug 2010 18:37:31 -0000 /usr/ports/x11/xinit On my system (with X, obviously, already installed): beta# whereis startx startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz beta# pkg_which /usr/local/bin/startx xinit-1.2.0 beta# whereis xinit xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz /usr/ports/x11/xinit I' m not certain about the p5/Perl TK questions, but in the file: /usr/ports/x11-toolkits/p5-Tk/pkg-descr there is this description: This a re-port of a perl interface to Tk8.4 (John Ousterhout's production release). Perl API is essentially the same as Tk800.025 but has not been verified as compliant. It also includes all the C code parts of Tix8.1.4 from SourceForge. The perl code corresponding to Tix's Tcl code is not fully implemented. This version (Tk804.025) is only likely to work with perl5.8+. Tim Kellers On 08/12/10 12:02, Fred Boatwright wrote: > Hello, > > Where would I find startx? I assume it is part one of the ports under > X11 > but I don't want to install all of them to find it. > > Also, is p5-Tk the same as Perl/Tk? > > Best regards, > > Fred > _______________________________________________ > 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 Aug 12 19:31:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF19A1065673 for ; Thu, 12 Aug 2010 19:31:15 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 712DD8FC17 for ; Thu, 12 Aug 2010 19:31:15 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1457B0; Thu, 12 Aug 2010 21:33:02 +0200 Message-ID: <4C644C02.1030505@nagual.nl> Date: Thu, 12 Aug 2010 21:31:14 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C63F2C9.90406@nagual.nl> <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> In-Reply-To: <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: ZFS data from snv_b134 to fbsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 19:31:16 -0000 On 12-8-2010 20:04, David Brodbeck wrote: > > On Aug 12, 2010, at 6:10 AM, Dick Hoogendijk wrote: > >> I want to transfer a lot of ZFS data from an old OpenSolaris ZFS >> mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14). > I'm NOT a ZFS expert, but I think it should be OK as long as you don't > upgrade the v14 pool. OpenSolaris won't upgrade pool versions > automatically, so this shouldn' t be a problem. > > I'm assuming this is a normal file copy, here; if you're trying to use > 'zfs send' and 'zfs receive' I think you'll run into difficulty. Yes, it will be normal file copying. It's eassuring that osol won't ugrade the pool ;-) My main concern was that there would be some (although maybe slight) difference between FreeBSD ZFS and OpenSolaris. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 19:40:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80E49106566C for ; Thu, 12 Aug 2010 19:40:26 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 663308FC15 for ; Thu, 12 Aug 2010 19:40:26 +0000 (UTC) Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta15.emeryville.ca.mail.comcast.net with comcast id tRXQ1e0041u4NiLAFXgSNG; Thu, 12 Aug 2010 19:40:26 +0000 Received: from [192.168.1.187] ([76.113.215.212]) by omta21.emeryville.ca.mail.comcast.net with comcast id tXg21e00G4bXtdG8hXgQyj; Thu, 12 Aug 2010 19:40:25 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <4C6434E0.20801@hdk5.net> Date: Thu, 12 Aug 2010 14:40:02 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> <4C6434E0.20801@hdk5.net> To: Al Plant X-Mailer: Apple Mail (2.1081) Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: UPS 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: Thu, 12 Aug 2010 19:40:26 -0000 On Aug 12, 2010, at 12:52 PM, Al Plant wrote: > David Brodbeck wrote: >> On Wed, August 11, 2010 1:18 pm, Ryan Coleman wrote: >>> On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: >>>=20 >>>> On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >>>>> He thinks that at 500W needed it would give me about 12 minutes on = a >>>>> 1400VA. My consideration is, then, give the server 2 minutes on >>>>> battery. >>>>> If full power has not been returned, shut down the server but = leave the >>>>> modem (w/ wireless) and switch running with power for up to 6 = hours. >>>> A bit of advice: If this is an unattended system, give some thought = to >>>> how >>>> you will boot the server back up if the outage is longer than two >>>> minutes >>>> but shorter than six hours. Most UPS installations have *some* = kind of >>>> race condition issue if power comes back after the servers have = begun a >>>> shutdown, but in your case it's an unusually long window. >>> Meaning that my 2-minute window is unusually long? If the UPS can = support >>> the system for 12 minutes, I say give it 20% of the life of the = support >>> because our power outages here are usually spikes that kill my = current web >>> server (but amazingly *not* my file server). In fact, one of those = power >>> fluxes occurred last night. I love storms for the light shows, but = hate >>> them for the toll they take on my servers. >> Nope, 2 minutes is fine, maybe even short depending on how long your >> system takes to shut down. What I'm asking about is this scenario: >> 1. Power goes out. >> 2. Server shuts itself down after 2 minutes. >> 3. Power comes back on before the UPS batteries are exhausted. >> The server never sees a power cycle, so it doesn't boot itself back = up >> until someone physically goes and pushes the button. >> ########## >=20 > I have had these power dips and surges here in Hawaii. I have = installed UPS power from two stationary batters that will run the = servers for 12 hours. We have experienced extensive outages in the past = and this was our only solution. Surges are almost impossible to stop. I = have them jump cross a surge protector. I have recently had several UPS = Desktop backups fail from a surge and then a drop below 70 v. This = caused the UPS to have the charging diodes blow. It was cheaper to = replace the UPS 's than to repair them. >=20 > #3. The motherboard bios can be set to stop a server from self booting = from a power outage. >=20 Yes. The downside comes from when the BIOS is told to turn on the server = at, say, 10pm and the power is still out... it starts the process and = runs out of battery mid-way through the boot before it gets the chance = to load the UPS controller. -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 19:44:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 532A610656A3 for ; Thu, 12 Aug 2010 19:44:58 +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 05B318FC20 for ; Thu, 12 Aug 2010 19:44:57 +0000 (UTC) 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 o7CJiuFc053432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Aug 2010 14:44:57 -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.4/8.14.4) with ESMTP id o7CJiuWW040596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Aug 2010 14:44:56 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7CJiu02040595; Thu, 12 Aug 2010 14:44:56 -0500 (CDT) (envelope-from dan) Date: Thu, 12 Aug 2010 14:44:55 -0500 From: Dan Nelson To: David Brodbeck Message-ID: <20100812194455.GC18896@dan.emsphone.com> References: <4C63F2C9.90406@nagual.nl> <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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]); Thu, 12 Aug 2010 14:44:57 -0500 (CDT) Cc: FreeBSD Questions Subject: Re: ZFS data from snv_b134 to fbsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 19:44:58 -0000 In the last episode (Aug 12), David Brodbeck said: > On Aug 12, 2010, at 6:10 AM, Dick Hoogendijk wrote: > > I want to transfer a lot of ZFS data from an old OpenSolaris ZFS mirror > > (v22) to a new FreeBSD-8.1 ZFs mirror (v14). If I boot off the > > OpenSolaris boot CD and import both mirrors will the copying from v22 > > ZFS to v14 ZFS be harmless? I'm not sure if this is teh right > > mailinglist for this question. Let me know. > > I'm NOT a ZFS expert, but I think it should be OK as long as you don't > upgrade the v14 pool. OpenSolaris won't upgrade pool versions > automatically, so this shouldn' t be a problem. You can also explicitly create lower-version pools with "zpool create -o version=14 ...", if you need to create one from a machine with a newer kernel. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 19:49:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38D1D106566C for ; Thu, 12 Aug 2010 19:49:24 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id E90AE8FC13 for ; Thu, 12 Aug 2010 19:49:23 +0000 (UTC) Received: (qmail 25359 invoked from network); 12 Aug 2010 19:49:23 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Aug 2010 19:49:23 -0000 Received: from alphonse ([192.168.10.9] helo=alphonse.gull.us) by ringbill.gull.us with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OjdmE-0007LB-TU for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 12:49:22 -0700 Message-Id: <3FCE7BA6-E194-47B6-B109-8A5BA9B4EBEC@gull.us> From: David Brodbeck To: FreeBSD Questions In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 12 Aug 2010 12:49:22 -0700 References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> <4C6434E0.20801@hdk5.net> X-Mailer: Apple Mail (2.936) Subject: Re: UPS 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: Thu, 12 Aug 2010 19:49:24 -0000 On Aug 12, 2010, at 12:40 PM, Ryan Coleman wrote: > Yes. The downside comes from when the BIOS is told to turn on the > server at, say, 10pm and the power is still out... it starts the > process and runs out of battery mid-way through the boot before it > gets the chance to load the UPS controller. You may want to think about using two UPS units -- a large one for your server, and a smaller one for your network stack. This way you can use UPS monitoring software (like NUT or PowerChute) to have the server command its UPS to switch off when it's fully shut down. Then when power comes back the server UPS will switch back on and the server will boot back up, assuming you've set the BIOS to boot up on power recovery. Some UPS units have the ability to set a power recovery delay to ensure the battery has some charge before the server starts up, too. From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 19:51:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BE631065783 for ; Thu, 12 Aug 2010 19:51:08 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 754698FC12 for ; Thu, 12 Aug 2010 19:51:08 +0000 (UTC) Received: (qmail 1695 invoked from network); 12 Aug 2010 19:51:07 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Aug 2010 19:51:07 -0000 Received: from alphonse ([192.168.10.9] helo=alphonse.gull.us) by ringbill.gull.us with esmtpa (Exim 4.71 (FreeBSD)) (envelope-from ) id 1Ojdnv-0007LH-7i for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 12:51:07 -0700 Message-Id: <6373768C-98D6-4846-8F3E-6B5ACAAF92F8@gull.us> From: David Brodbeck To: FreeBSD Questions In-Reply-To: <4C644C02.1030505@nagual.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 12 Aug 2010 12:51:06 -0700 References: <4C63F2C9.90406@nagual.nl> <21C5042E-9613-45E1-B0D9-1C2AA422A015@gull.us> <4C644C02.1030505@nagual.nl> X-Mailer: Apple Mail (2.936) Subject: Re: ZFS data from snv_b134 to fbsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 19:51:08 -0000 On Aug 12, 2010, at 12:31 PM, Dick Hoogendijk wrote: > On 12-8-2010 20:04, David Brodbeck wrote: >> >> On Aug 12, 2010, at 6:10 AM, Dick Hoogendijk wrote: >> >>> I want to transfer a lot of ZFS data from an old OpenSolaris ZFS >>> mirror (v22) to a new FreeBSD-8.1 ZFs mirror (v14). >> I'm NOT a ZFS expert, but I think it should be OK as long as you >> don't upgrade the v14 pool. OpenSolaris won't upgrade pool >> versions automatically, so this shouldn' t be a problem. >> >> I'm assuming this is a normal file copy, here; if you're trying to >> use 'zfs send' and 'zfs receive' I think you'll run into difficulty. > Yes, it will be normal file copying. It's eassuring that osol won't > ugrade the pool ;-) Right. You have to explicitly run "zpool upgrade" to upgrade pool versions. So, don't do that. ;) From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 19:51:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8706D10656A4 for ; Thu, 12 Aug 2010 19:51:37 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 463F78FC1D for ; Thu, 12 Aug 2010 19:51:37 +0000 (UTC) Received: (qmail 11937 invoked from network); 12 Aug 2010 19:51:36 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 12 Aug 2010 19:51:36 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mx3gUSTAFUOu for ; Thu, 12 Aug 2010 12:51:35 -0700 (MST) Received: (qmail 11921 invoked from network); 12 Aug 2010 19:51:35 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 12 Aug 2010 19:51:35 -0000 Sender: fred Message-ID: <4C644E17.C9CFAAC9@blakemfg.com> Date: Thu, 12 Aug 2010 12:40:07 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: X11 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: Thu, 12 Aug 2010 19:51:37 -0000 Hi Oliver and Tim, I installed xinit but startx still doesn't exist. whereis returns nothing and man startx returns nothing. Fred Tim Kellers wrote: > > /usr/ports/x11/xinit > > On my system (with X, obviously, already installed): > > beta# whereis startx > > startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz > > beta# pkg_which /usr/local/bin/startx > > xinit-1.2.0 > > beta# whereis xinit > > xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz > /usr/ports/x11/xinit > > I' m not certain about the p5/Perl TK questions, but in the file: > /usr/ports/x11-toolkits/p5-Tk/pkg-descr > there is this description: > > This a re-port of a perl interface to Tk8.4 (John Ousterhout's production > release). > > Perl API is essentially the same as Tk800.025 but has not > been verified as compliant. > > It also includes all the C code parts of Tix8.1.4 from SourceForge. > The perl code corresponding to Tix's Tcl code is not fully implemented. > > This version (Tk804.025) is only likely to work with perl5.8+. > > Tim Kellers > > On 08/12/10 12:02, Fred Boatwright wrote: > > Hello, > > > > Where would I find startx? I assume it is part one of the ports under > > X11 > > but I don't want to install all of them to find it. > > > > Also, is p5-Tk the same as Perl/Tk? > > > > Best regards, > > > > Fred > > _______________________________________________ > > 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 Aug 12 19:57:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DC621065694 for ; Thu, 12 Aug 2010 19:57:51 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id E45E88FC1A for ; Thu, 12 Aug 2010 19:57:50 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta10.emeryville.ca.mail.comcast.net with comcast id tRpm1e0031smiN4AAXxqBD; Thu, 12 Aug 2010 19:57:50 +0000 Received: from [192.168.1.187] ([76.113.215.212]) by omta20.emeryville.ca.mail.comcast.net with comcast id tXxT1e00B4bXtdG8gXxpem; Thu, 12 Aug 2010 19:57:50 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <3FCE7BA6-E194-47B6-B109-8A5BA9B4EBEC@gull.us> Date: Thu, 12 Aug 2010 14:57:27 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> <4C6434E0.20801@hdk5.net> <3FCE7BA6-E194-47B6-B109-8A5BA9B4EBEC@gull.us> To: David Brodbeck X-Mailer: Apple Mail (2.1081) Cc: FreeBSD Questions Subject: Re: UPS 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: Thu, 12 Aug 2010 19:57:51 -0000 On Aug 12, 2010, at 2:49 PM, David Brodbeck wrote: >=20 > On Aug 12, 2010, at 12:40 PM, Ryan Coleman wrote: >> Yes. The downside comes from when the BIOS is told to turn on the = server at, say, 10pm and the power is still out... it starts the process = and runs out of battery mid-way through the boot before it gets the = chance to load the UPS controller. >=20 > You may want to think about using two UPS units -- a large one for = your server, and a smaller one for your network stack. This way you can = use UPS monitoring software (like NUT or PowerChute) to have the server = command its UPS to switch off when it's fully shut down. Then when = power comes back the server UPS will switch back on and the server will = boot back up, assuming you've set the BIOS to boot up on power recovery. = Some UPS units have the ability to set a power recovery delay to ensure = the battery has some charge before the server starts up, too. Great idea, I'll definitely keep that in mind. -- Ryan= From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 20:06:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 910FC1065695 for ; Thu, 12 Aug 2010 20:06:36 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 401308FC0A for ; Thu, 12 Aug 2010 20:06:35 +0000 (UTC) Received: by qyk11 with SMTP id 11so7113576qyk.13 for ; Thu, 12 Aug 2010 13:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=/7MzUn0eMKVcEQyfbitWZ3UO7MSoiffahni4QeehZZo=; b=jo253oQK+N4gmQq3di5NrXTNyOKVOil/DxVROB3ku5DJs8N0qZgdtWR0WwleBLjSrA BHAQ9daUsjX657crViCFCpJaT1MYjSkhfsF830Vh542jlgFj6FcVg4lt0hM9YjDkBK4w pWh9daqpus0VWT4dDUdSbY0DySZ2qBzEHkR0o= 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=LwraFMCQg32oq/AWtSanjYa3Z7TaKOySc0hJ9MUVRVBR4QkxLynVrpPoeB5b0ZIxUG VO+dOUDUwm+lJKLsfsQEiiIk7IXtAuv38KvbIRqqsceosiK59giOQE8EbcvfVAPtryZV 1pfMgrSYacDd9T+dITCj2Alp4kW8SgjG3uKaA= Received: by 10.229.2.32 with SMTP id 32mr452715qch.270.1281643594289; Thu, 12 Aug 2010 13:06:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.75 with HTTP; Thu, 12 Aug 2010 13:06:03 -0700 (PDT) In-Reply-To: <4C644E17.C9CFAAC9@blakemfg.com> References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 12 Aug 2010 22:06:03 +0200 Message-ID: To: Fred Boatwright 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: X11 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: Thu, 12 Aug 2010 20:06:36 -0000 pkg_info | grep xinit rehash (if using some *csh) which startx ? Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Thu, Aug 12, 2010 at 9:40 PM, Fred Boatwright wrote: > Hi Oliver and Tim, > > I installed xinit but startx still doesn't exist. whereis returns > nothing and man startx returns nothing. > > Fred > > Tim Kellers wrote: > > > > /usr/ports/x11/xinit > > > > On my system (with X, obviously, already installed): > > > > beta# whereis startx > > > > startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz > > > > beta# pkg_which /usr/local/bin/startx > > > > xinit-1.2.0 > > > > beta# whereis xinit > > > > xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz > > /usr/ports/x11/xinit > > > > I' m not certain about the p5/Perl TK questions, but in the file: > > /usr/ports/x11-toolkits/p5-Tk/pkg-descr > > there is this description: > > > > This a re-port of a perl interface to Tk8.4 (John Ousterhout's producti= on > > release). > > > > Perl API is essentially the same as Tk800.025 but has not > > been verified as compliant. > > > > It also includes all the C code parts of Tix8.1.4 from SourceForge. > > The perl code corresponding to Tix's Tcl code is not fully implemented. > > > > This version (Tk804.025) is only likely to work with perl5.8+. > > > > Tim Kellers > > > > On 08/12/10 12:02, Fred Boatwright wrote: > > > Hello, > > > > > > Where would I find startx? I assume it is part one of the ports unde= r > > > X11 > > > but I don't want to install all of them to find it. > > > > > > Also, is p5-Tk the same as Perl/Tk? > > > > > > Best regards, > > > > > > Fred > > > _______________________________________________ > > > 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 Aug 12 20:17:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E56601065674 for ; Thu, 12 Aug 2010 20:17:33 +0000 (UTC) (envelope-from kellers@njit.edu) Received: from mail-gw6.njit.edu (mail-gw6.njit.edu [128.235.251.157]) by mx1.freebsd.org (Postfix) with ESMTP id 90CC78FC0C for ; Thu, 12 Aug 2010 20:17:33 +0000 (UTC) Received: from beta.maestro (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw6.njit.edu (8.14.3/8.14.3) with ESMTP id o7CKHGBu008470; Thu, 12 Aug 2010 16:17:16 -0400 (EDT) Message-ID: <4C6456CD.50501@njit.edu> Date: Thu, 12 Aug 2010 16:17:17 -0400 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100726 Thunderbird/3.0.6 MIME-Version: 1.0 To: Fred Boatwright References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> In-Reply-To: <4C644E17.C9CFAAC9@blakemfg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: X11 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: Thu, 12 Aug 2010 20:17:34 -0000 Fred, From man startx(1): SEE ALSO xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) Try: # whereis X If X is installed, it should return: # X: /usr/local/bin/X pkg_which if X is installed should return: # pkg_which /usr/local/bin/X xorg-server-1.7.5,1 If it doesn't, then the full X server isn't installed: Try: # whereis xorg xorg: /usr/ports/x11/xorg If xorg isn't installed, cd to: /usr/ports/x11/xorg and make config-recursive (If you add any options, run make config-recursive a second time after the shell prompt returns) and then make install clean HTH Tim Kellers On 08/12/10 15:40, Fred Boatwright wrote: > Hi Oliver and Tim, > > I installed xinit but startx still doesn't exist. whereis returns > nothing and man startx returns nothing. > > Fred > > Tim Kellers wrote: > >> /usr/ports/x11/xinit >> >> On my system (with X, obviously, already installed): >> >> beta# whereis startx >> >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz >> >> beta# pkg_which /usr/local/bin/startx >> >> xinit-1.2.0 >> >> beta# whereis xinit >> >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz >> /usr/ports/x11/xinit >> >> I' m not certain about the p5/Perl TK questions, but in the file: >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr >> there is this description: >> >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's production >> release). >> >> Perl API is essentially the same as Tk800.025 but has not >> been verified as compliant. >> >> It also includes all the C code parts of Tix8.1.4 from SourceForge. >> The perl code corresponding to Tix's Tcl code is not fully implemented. >> >> This version (Tk804.025) is only likely to work with perl5.8+. >> >> Tim Kellers >> >> On 08/12/10 12:02, Fred Boatwright wrote: >> >>> Hello, >>> >>> Where would I find startx? I assume it is part one of the ports under >>> X11 >>> but I don't want to install all of them to find it. >>> >>> Also, is p5-Tk the same as Perl/Tk? >>> >>> Best regards, >>> >>> Fred >>> From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 20:46:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BB5D1065693 for ; Thu, 12 Aug 2010 20:46:19 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 85D818FC1E for ; Thu, 12 Aug 2010 20:46:18 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 136F3E; Thu, 12 Aug 2010 22:48:06 +0200 Message-ID: <4C645D9A.3010307@nagual.nl> Date: Thu, 12 Aug 2010 22:46:18 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: releases, branches,.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 20:46:19 -0000 My years of OpenSolaris made me forget the use of releases and branches. I'm not into too much compiling anymore. I want a stable, but also safe server. I'm running 8.1-RELEASE now, but what about security issues found? What do I need to run if I want the lates and needed security patches? I do not want to update my system (at least as few times as possible) Which brach do I follow? I have the feeling that STABLE is too innovative(?) From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 20:52:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C6E51065670 for ; Thu, 12 Aug 2010 20:52:24 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id A74E48FC14 for ; Thu, 12 Aug 2010 20:52:23 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:1cdb:7380:3d9c:9761] (unknown [IPv6:2002:51af:3dc3:0:1cdb:7380:3d9c:9761]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 4CE5D22 for ; Thu, 12 Aug 2010 22:52:29 +0200 (CEST) Message-ID: <4C645F03.4010105@stillbilde.net> Date: Thu, 12 Aug 2010 22:52:19 +0200 From: "Svein Skogen (Listmail account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C645D9A.3010307@nagual.nl> In-Reply-To: <4C645D9A.3010307@nagual.nl> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig59A824E8A257BF5FA83D62B4" Subject: Re: releases, branches,.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 20:52:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig59A824E8A257BF5FA83D62B4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12.08.2010 22:46, Dick Hoogendijk wrote: > My years of OpenSolaris made me forget the use of releases and branche= s. > I'm not into too much compiling anymore. I want a stable, but also safe= > server. > I'm running 8.1-RELEASE now, but what about security issues found? > What do I need to run if I want the lates and needed security patches? > I do not want to update my system (at least as few times as possible) > Which brach do I follow? I have the feeling that STABLE is too > innovative(?) -RELEASE but keep an eye on the advisories. This comes from someone who's been running RELENG_x for prod setups for more than a decade. //svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =D8stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enig59A824E8A257BF5FA83D62B4 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.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxkXwYACgkQODUnwSLUlKTwEQCgkjBxBuK3zemGoLmCMxvJcyO6 rdoAniC8IogDOFWEqrxrXSPDpPGjuNEc =TOMp -----END PGP SIGNATURE----- --------------enig59A824E8A257BF5FA83D62B4-- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 20:53:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1719E1065679 for ; Thu, 12 Aug 2010 20:53:52 +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 CEEB98FC1A for ; Thu, 12 Aug 2010 20:53:51 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 1B06D1E71E; Thu, 12 Aug 2010 22:53:48 +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 o7CKrmoP001767; Thu, 12 Aug 2010 22:53:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Aug 2010 22:53:48 +0200 From: Polytropon To: Dick Hoogendijk Message-Id: <20100812225348.4fcbae98.freebsd@edvax.de> In-Reply-To: <4C645D9A.3010307@nagual.nl> References: <4C645D9A.3010307@nagual.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: releases, branches,.. 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, 12 Aug 2010 20:53:52 -0000 On Thu, 12 Aug 2010 22:46:18 +0200, Dick Hoogendijk wrote: > My years of OpenSolaris made me forget the use of releases and branches. > I'm not into too much compiling anymore. I want a stable, but also safe > server. > I'm running 8.1-RELEASE now, but what about security issues found? > What do I need to run if I want the lates and needed security patches? > I do not want to update my system (at least as few times as possible) > Which brach do I follow? I have the feeling that STABLE is too innovative(?) In this case, use "freebsd-update" to track -RELEASE; you will get the security patches by binary updating, e. g. you can use this tool to get from 8.1-RELEASE to 8.1-RELEASE-p1 without the need to compile anything. See "man freebsd-update" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 21:02:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E0EA1065694 for ; Thu, 12 Aug 2010 21:02:02 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id A467D8FC12 for ; Thu, 12 Aug 2010 21:02:01 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1C6505; Thu, 12 Aug 2010 23:03:47 +0200 Message-ID: <4C646149.6060803@nagual.nl> Date: Thu, 12 Aug 2010 23:02:01 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Polytropon References: <4C645D9A.3010307@nagual.nl> <20100812225348.4fcbae98.freebsd@edvax.de> In-Reply-To: <20100812225348.4fcbae98.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Cc: FreeBSD Questions Subject: Re: releases, branches,.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 21:02:02 -0000 On 12-8-2010 22:53, Polytropon wrote: > On Thu, 12 Aug 2010 22:46:18 +0200, Dick Hoogendijk wrote: >> I'm running 8.1-RELEASE now, but what about security issues found? >> Which brach do I follow? > In this case, use "freebsd-update" to track -RELEASE; you will > get the security patches by binary updating, e. g. you can use > this tool to get from 8.1-RELEASE to 8.1-RELEASE-p1 without the > need to compile anything. > > See "man freebsd-update" for details. Thank you. I will follow RELEASE than. Also a thanks to Svein. ;-) Is RELEASE automaticaly set in a fresh FreeBSD install or do I need to change anything? From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 21:12:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A9731065675 for ; Thu, 12 Aug 2010 21:12:58 +0000 (UTC) (envelope-from rrborg@speakeasy.net) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id 379568FC0A for ; Thu, 12 Aug 2010 21:12:57 +0000 (UTC) Received: (qmail 31066 invoked from network); 12 Aug 2010 21:12:57 -0000 Received: from c-67-187-169-218.hsd1.ca.comcast.net (HELO [192.168.1.141]) (rrborg@[67.187.169.218]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Aug 2010 21:12:57 -0000 Message-ID: <4C6463D9.7020902@speakeasy.net> Date: Thu, 12 Aug 2010 14:12:57 -0700 From: Rocky Borg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C645D9A.3010307@nagual.nl> <20100812225348.4fcbae98.freebsd@edvax.de> <4C646149.6060803@nagual.nl> In-Reply-To: <4C646149.6060803@nagual.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: releases, branches,.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 21:12:58 -0000 On 8/12/2010 2:02 PM, Dick Hoogendijk wrote: > On 12-8-2010 22:53, Polytropon wrote: >> On Thu, 12 Aug 2010 22:46:18 +0200, Dick Hoogendijk >> wrote: >>> I'm running 8.1-RELEASE now, but what about security issues found? >>> Which brach do I follow? >> In this case, use "freebsd-update" to track -RELEASE; you will >> get the security patches by binary updating, e. g. you can use >> this tool to get from 8.1-RELEASE to 8.1-RELEASE-p1 without the >> need to compile anything. >> >> See "man freebsd-update" for details. > Thank you. I will follow RELEASE than. Also a thanks to Svein. ;-) Is > RELEASE automaticaly set in a fresh FreeBSD install or do I need to > change anything? > uname -raa freebsd-update will update that version you have installed (so yes RELEASE in a fresh install) only with security patches. If a new version comes out you want to upgrade to you would do something like freebsd-update upgrade -r 8.3-RELEASE From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 21:14:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE551065674 for ; Thu, 12 Aug 2010 21:14:00 +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 326048FC08 for ; Thu, 12 Aug 2010 21:14:00 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 60B4B1E12A; Thu, 12 Aug 2010 23:13:59 +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 o7CLDwej001862; Thu, 12 Aug 2010 23:13:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 12 Aug 2010 23:13:58 +0200 From: Polytropon To: Dick Hoogendijk Message-Id: <20100812231358.42e57113.freebsd@edvax.de> In-Reply-To: <4C646149.6060803@nagual.nl> References: <4C645D9A.3010307@nagual.nl> <20100812225348.4fcbae98.freebsd@edvax.de> <4C646149.6060803@nagual.nl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: releases, branches,.. 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, 12 Aug 2010 21:14:00 -0000 On Thu, 12 Aug 2010 23:02:01 +0200, Dick Hoogendijk wrote: > Thank you. I will follow RELEASE than. Also a thanks to Svein. ;-) Is > RELEASE automaticaly set in a fresh FreeBSD install or do I need to > change anything? The freebsd-update program will track RELEASE-p because this is what it can do. It won't follow STABLE because that's not possible with this tool. :-) The common method of "freebsd-update upgrade" (see manpage) will then bring you to 8.1-RELEASE, I think, and will then follow the track of 8.1-RELEASE-p1, -p2, -p3 and so on. You can additionally request a specific release with the -r parameter. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 21:55:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19ED106566C for ; Thu, 12 Aug 2010 21:55:03 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 5F0778FC15 for ; Thu, 12 Aug 2010 21:55:03 +0000 (UTC) Received: (qmail 30542 invoked from network); 12 Aug 2010 21:55:01 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 12 Aug 2010 21:55:01 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHhCicnOwCTV for ; Thu, 12 Aug 2010 14:55:00 -0700 (MST) Received: (qmail 30502 invoked from network); 12 Aug 2010 21:55:00 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 12 Aug 2010 21:55:00 -0000 Sender: fred Message-ID: <4C646B03.701383F0@blakemfg.com> Date: Thu, 12 Aug 2010 14:43:31 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> <4C6456CD.50501@njit.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: X11 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: Thu, 12 Aug 2010 21:55:03 -0000 pkg_info | grep xinit doesn't return anything rehash which startx startx: Command not found whereis X X: /usr/local/bin/X pkg_which /usr/local/bin/X pkg_which: Command not found Oliver: I used your porgle tool to find pkg_which and will install it later. Porgle appears to be a very useful tool. I installed x11-servers/xorg-server but maybe should have installed Xorg instead. However, from looking at the pkg-descr for xorg it looks like it will install a huge amount of software that will not get used. I am reluctant to do this. I have installed 8.0-RELEASE from the CD and I want to run olvwm for a desktop. I have been using Solaris 2.6 with the OpenWindows desktop for 12 years and consider it to be as close to perfection as one can get. I am being forced, kicking and screaming, to move to some other type of Unix on a PC and would like to continue using OpenWindows. It is probably going to be an uphill battle to get olvwm to work. Am I going to have to install xorg to get everything needed? Best regards, Fred Tim Kellers wrote: > > Fred, > > From man startx(1): > > SEE ALSO > xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) > > Try: > > # whereis X > > If X is installed, it should return: > > # X: /usr/local/bin/X > > pkg_which if X is installed should return: > > # pkg_which /usr/local/bin/X > > xorg-server-1.7.5,1 > > If it doesn't, then the full X server isn't installed: > > Try: > > # whereis xorg > > xorg: /usr/ports/x11/xorg > > If xorg isn't installed, cd to: > > /usr/ports/x11/xorg > > and > > make config-recursive (If you add any options, run make > config-recursive a second time after the shell prompt returns) > > and then > > make install clean > > HTH > > Tim Kellers > > On 08/12/10 15:40, Fred Boatwright wrote: > > Hi Oliver and Tim, > > > > I installed xinit but startx still doesn't exist. whereis returns > > nothing and man startx returns nothing. > > > > Fred > > > > Tim Kellers wrote: > > > >> /usr/ports/x11/xinit > >> > >> On my system (with X, obviously, already installed): > >> > >> beta# whereis startx > >> > >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz > >> > >> beta# pkg_which /usr/local/bin/startx > >> > >> xinit-1.2.0 > >> > >> beta# whereis xinit > >> > >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz > >> /usr/ports/x11/xinit > >> > >> I' m not certain about the p5/Perl TK questions, but in the file: > >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr > >> there is this description: > >> > >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's production > >> release). > >> > >> Perl API is essentially the same as Tk800.025 but has not > >> been verified as compliant. > >> > >> It also includes all the C code parts of Tix8.1.4 from SourceForge. > >> The perl code corresponding to Tix's Tcl code is not fully implemented. > >> > >> This version (Tk804.025) is only likely to work with perl5.8+. > >> > >> Tim Kellers > >> > >> On 08/12/10 12:02, Fred Boatwright wrote: > >> > >>> Hello, > >>> > >>> Where would I find startx? I assume it is part one of the ports under > >>> X11 > >>> but I don't want to install all of them to find it. > >>> > >>> Also, is p5-Tk the same as Perl/Tk? > >>> > >>> Best regards, > >>> > >>> Fred > >>> > > _______________________________________________ > 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 Aug 12 22:02:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76F8E1065670 for ; Thu, 12 Aug 2010 22:02:46 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 249728FC0A for ; Thu, 12 Aug 2010 22:02:45 +0000 (UTC) Received: by qyk11 with SMTP id 11so7250252qyk.13 for ; Thu, 12 Aug 2010 15:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=33l04/FKhg/YUzl4wykiYSgwLaEd2+BlkYySbzbFzCw=; b=c6Hks0MQuKqDSYpbxk6+E5YQlqq3GfMblW7QfqcZVngPq/wvJIcA8I57FFLQFgbCj0 wUdm5GpCJsyHzqaGC96r1TKAqiHduV4AoGsefx+YNwRhqo6o1X1BRco6FwFN9J/OvjbU N0CO0mXz7aROQIdHFvYV3nbdRF+lGkskuENwM= 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=pjcvzEzSF9Z204ovW2fTX6Bwi/wWqKgDxtcHzUGXVvXA9Uk0JsRavNCqFxzEUvn6h6 pUjrZ9fqd32Cm09kb8Yprsha7sdu5zJq5bZsAwEKOTSerLWp1NYQlIJOd5BxUUWN954i f1A/SWBqxUVyhJTpAGDZDqiROfLJbI2EhJj3k= Received: by 10.229.234.4 with SMTP id ka4mr646016qcb.12.1281650565103; Thu, 12 Aug 2010 15:02:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.182.75 with HTTP; Thu, 12 Aug 2010 15:02:15 -0700 (PDT) In-Reply-To: <4C646B03.701383F0@blakemfg.com> References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> <4C6456CD.50501@njit.edu> <4C646B03.701383F0@blakemfg.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Fri, 13 Aug 2010 00:02:15 +0200 Message-ID: To: Fred Boatwright 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: X11 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: Thu, 12 Aug 2010 22:02:46 -0000 On Thu, Aug 12, 2010 at 11:43 PM, Fred Boatwright wrote= : > pkg_info | grep xinit doesn't return anything > then, you doesn't have installed xinit, and startx can't be here pkg_add -rv xinit and then, if it doesn't fail, try again: rehash which startx > rehash > which startx > startx: Command not found > > whereis X > X: /usr/local/bin/X > > pkg_which /usr/local/bin/X > pkg_which: Command not found > > Oliver: I used your porgle tool to find pkg_which and will install it > later. Porgle appears to be a very useful tool. > > I installed x11-servers/xorg-server but maybe should have installed Xorg > instead. However, from looking at the pkg-descr for xorg it looks like > it will install a huge amount of software that will not get used. I am > reluctant to do this. I have installed 8.0-RELEASE from the CD and I > want to run olvwm for a desktop. I have been using Solaris 2.6 with the > OpenWindows desktop for 12 years and consider it to be as close to > perfection as one can get. I am being forced, kicking and screaming, to > move to some other type of Unix on a PC and would like to continue using > OpenWindows. It is probably going to be an uphill battle to get olvwm > to work. Am I going to have to install xorg to get everything needed? > > Best regards, > Fred > > Tim Kellers wrote: > > > > Fred, > > > > From man startx(1): > > > > SEE ALSO > > xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) > > > > Try: > > > > # whereis X > > > > If X is installed, it should return: > > > > # X: /usr/local/bin/X > > > > pkg_which if X is installed should return: > > > > # pkg_which /usr/local/bin/X > > > > xorg-server-1.7.5,1 > > > > If it doesn't, then the full X server isn't installed: > > > > Try: > > > > # whereis xorg > > > > xorg: /usr/ports/x11/xorg > > > > If xorg isn't installed, cd to: > > > > /usr/ports/x11/xorg > > > > and > > > > make config-recursive (If you add any options, run make > > config-recursive a second time after the shell prompt returns) > > > > and then > > > > make install clean > > > > HTH > > > > Tim Kellers > > > > On 08/12/10 15:40, Fred Boatwright wrote: > > > Hi Oliver and Tim, > > > > > > I installed xinit but startx still doesn't exist. whereis returns > > > nothing and man startx returns nothing. > > > > > > Fred > > > > > > Tim Kellers wrote: > > > > > >> /usr/ports/x11/xinit > > >> > > >> On my system (with X, obviously, already installed): > > >> > > >> beta# whereis startx > > >> > > >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz > > >> > > >> beta# pkg_which /usr/local/bin/startx > > >> > > >> xinit-1.2.0 > > >> > > >> beta# whereis xinit > > >> > > >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz > > >> /usr/ports/x11/xinit > > >> > > >> I' m not certain about the p5/Perl TK questions, but in the file: > > >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr > > >> there is this description: > > >> > > >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's > production > > >> release). > > >> > > >> Perl API is essentially the same as Tk800.025 but has not > > >> been verified as compliant. > > >> > > >> It also includes all the C code parts of Tix8.1.4 from SourceForge. > > >> The perl code corresponding to Tix's Tcl code is not fully > implemented. > > >> > > >> This version (Tk804.025) is only likely to work with perl5.8+. > > >> > > >> Tim Kellers > > >> > > >> On 08/12/10 12:02, Fred Boatwright wrote: > > >> > > >>> Hello, > > >>> > > >>> Where would I find startx? I assume it is part one of the ports > under > > >>> X11 > > >>> but I don't want to install all of them to find it. > > >>> > > >>> Also, is p5-Tk the same as Perl/Tk? > > >>> > > >>> Best regards, > > >>> > > >>> Fred > > >>> > > > > _______________________________________________ > > 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" > Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 All=E9e de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 21:59:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 654141065695 for ; Thu, 12 Aug 2010 21:59:15 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED3F8FC1F for ; Thu, 12 Aug 2010 21:59:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64.mshome.net ([76.121.184.98]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L7200GP67LA6I90@asmtp025.mac.com> for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 14:58:53 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=1 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1008120208 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-12_10:2010-08-12, 2010-08-12, 1970-01-01 signatures=0 To: "freebsd-questions@freebsd.org" Date: Thu, 12 Aug 2010 14:58:47 -0700 From: Caleb Stein Message-id: User-Agent: Opera Mail/10.70 (Win32) X-Mailman-Approved-At: Thu, 12 Aug 2010 22:09:52 +0000 Subject: OpenOffice.org 3.2.1 build error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 12 Aug 2010 21:59:15 -0000 Whenever I try to build OOo, I get this error: http://pastebin.com/8DBKJAhb How do I rebuild cppunit? From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 22:17:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 484FE1065674 for ; Thu, 12 Aug 2010 22:17:32 +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 256078FC18 for ; Thu, 12 Aug 2010 22:17:31 +0000 (UTC) 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 1Ojg5G-0002nJ-Jg; Thu, 12 Aug 2010 18:17:16 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 15A1A43968C2; Thu, 12 Aug 2010 18:17:10 -0400 (EDT) Message-ID: <4C6472DF.2000304@FreeBSD.org> Date: Thu, 12 Aug 2010 18:17:03 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Caleb Stein References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: "freebsd-questions@freebsd.org" Subject: Re: OpenOffice.org 3.2.1 build error 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: Thu, 12 Aug 2010 22:17:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Caleb Stein wrote: > Whenever I try to build OOo, I get this error: http://pastebin.com/8DBKJAhb > > How do I rebuild cppunit? Hi Caleb, A few resources suggest that the error is caused by a conflict with the installed devel/cppunit package. Can you pkg_delete it and try the OOo build again? This PR contains a reference to the problem near the bottom: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/132888 and pkg_delete is the suggested fix. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMZHLf0sRouByUApARAhgWAKCKcr50VlHwPK3l9gVuY4xYsSHDewCdE/5d jUilW25SSonGFBrW19WSNaI= =gpsI -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 23:17:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B60C1065697 for ; Thu, 12 Aug 2010 23:17:06 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id BA95F8FC1A for ; Thu, 12 Aug 2010 23:17:05 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id o7CMvcES051314; Thu, 12 Aug 2010 18:57:38 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Thu, 12 Aug 2010 18:57:38 -0400 (EDT) From: Chris Hill To: Fred Boatwright In-Reply-To: <4C646B03.701383F0@blakemfg.com> Message-ID: References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> <4C6456CD.50501@njit.edu> <4C646B03.701383F0@blakemfg.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: X11 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: Thu, 12 Aug 2010 23:17:06 -0000 On Thu, 12 Aug 2010, Fred Boatwright wrote: [snip] > I installed x11-servers/xorg-server but maybe should have installed Xorg > instead. However, from looking at the pkg-descr for xorg it looks like > it will install a huge amount of software that will not get used. I am > reluctant to do this. I have installed 8.0-RELEASE from the CD and I > want to run olvwm for a desktop. I have been using Solaris 2.6 with the > OpenWindows desktop for 12 years and consider it to be as close to > perfection as one can get. I am being forced, kicking and screaming, to > move to some other type of Unix on a PC and would like to continue using > OpenWindows. It is probably going to be an uphill battle to get olvwm > to work. Am I going to have to install xorg to get everything needed? It really is the simplest way to get X working, and IMHO the least painful way to install xorg is to use the package. Without installing the xorg meta-port, you'd end up installing a lot of it by hand anyway. Come to think of it - since olvwm is a port (/usr/ports/x11-wm/olvwm), I *guess* it would pull in all of xorg as a dependency anyway. I, too, took a long time to come around to the idea that it doesn't do any harm to have unused software lying around. Disk is cheap; life is short. Hope this helps. > Best regards, > Fred > > Tim Kellers wrote: >> >> Fred, >> >> From man startx(1): >> >> SEE ALSO >> xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) >> >> Try: >> >> # whereis X >> >> If X is installed, it should return: >> >> # X: /usr/local/bin/X >> >> pkg_which if X is installed should return: >> >> # pkg_which /usr/local/bin/X >> >> xorg-server-1.7.5,1 >> >> If it doesn't, then the full X server isn't installed: >> >> Try: >> >> # whereis xorg >> >> xorg: /usr/ports/x11/xorg >> >> If xorg isn't installed, cd to: >> >> /usr/ports/x11/xorg >> >> and >> >> make config-recursive (If you add any options, run make >> config-recursive a second time after the shell prompt returns) >> >> and then >> >> make install clean >> >> HTH >> >> Tim Kellers >> >> On 08/12/10 15:40, Fred Boatwright wrote: >>> Hi Oliver and Tim, >>> >>> I installed xinit but startx still doesn't exist. whereis returns >>> nothing and man startx returns nothing. >>> >>> Fred >>> >>> Tim Kellers wrote: >>> >>>> /usr/ports/x11/xinit >>>> >>>> On my system (with X, obviously, already installed): >>>> >>>> beta# whereis startx >>>> >>>> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz >>>> >>>> beta# pkg_which /usr/local/bin/startx >>>> >>>> xinit-1.2.0 >>>> >>>> beta# whereis xinit >>>> >>>> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz >>>> /usr/ports/x11/xinit >>>> >>>> I' m not certain about the p5/Perl TK questions, but in the file: >>>> /usr/ports/x11-toolkits/p5-Tk/pkg-descr >>>> there is this description: >>>> >>>> This a re-port of a perl interface to Tk8.4 (John Ousterhout's production >>>> release). >>>> >>>> Perl API is essentially the same as Tk800.025 but has not >>>> been verified as compliant. >>>> >>>> It also includes all the C code parts of Tix8.1.4 from SourceForge. >>>> The perl code corresponding to Tix's Tcl code is not fully implemented. >>>> >>>> This version (Tk804.025) is only likely to work with perl5.8+. >>>> >>>> Tim Kellers >>>> >>>> On 08/12/10 12:02, Fred Boatwright wrote: >>>> >>>>> Hello, >>>>> >>>>> Where would I find startx? I assume it is part one of the ports under >>>>> X11 >>>>> but I don't want to install all of them to find it. >>>>> >>>>> Also, is p5-Tk the same as Perl/Tk? >>>>> >>>>> Best regards, >>>>> >>>>> Fred >>>>> >> >> _______________________________________________ >> 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" > -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 23:51:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87C29106566C for ; Thu, 12 Aug 2010 23:51:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4108F8FC1E for ; Thu, 12 Aug 2010 23:51:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o7CNpBme003170; Thu, 12 Aug 2010 17:51:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o7CNpBo9003167; Thu, 12 Aug 2010 17:51:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 12 Aug 2010 17:51:11 -0600 (MDT) From: Warren Block To: Chris Hill In-Reply-To: Message-ID: References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> <4C6456CD.50501@njit.edu> <4C646B03.701383F0@blakemfg.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Thu, 12 Aug 2010 17:51:12 -0600 (MDT) Cc: Fred Boatwright , freebsd-questions@freebsd.org Subject: Re: X11 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: Thu, 12 Aug 2010 23:51:15 -0000 On Thu, 12 Aug 2010, Chris Hill wrote: > On Thu, 12 Aug 2010, Fred Boatwright wrote: > > [snip] > >> I installed x11-servers/xorg-server but maybe should have installed Xorg >> instead. However, from looking at the pkg-descr for xorg it looks like it >> will install a huge amount of software that will not get used. I am >> reluctant to do this. >> ... >> Am I going to have to install xorg to get everything needed? > > It really is the simplest way to get X working, and IMHO the least painful > way to install xorg is to use the package. Without installing the xorg > meta-port, you'd end up installing a lot of it by hand anyway. x11/xorg-minimal is reputed to be a lighter port. Untested by me, though. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 00:50:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61D7310656A3 for ; Fri, 13 Aug 2010 00:50:50 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 501548FC1F for ; Fri, 13 Aug 2010 00:50:49 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7D0onaX038116 for ; Thu, 12 Aug 2010 17:50:49 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C6496E9.4000307@rawbw.com> Date: Thu, 12 Aug 2010 17:50:49 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is there a way to rebuild 32-bit libraries under amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 00:50:50 -0000 I have 8.0-STABLE amd64 machine, and I need to run some 32-bit FreeBSD process which runs fine on 8.0-STABLE i386. So I copied all shared libs needed by it from i386 into there respective locations on amd64, but under lib32/ folder. libexecinfo.so.1 => /usr/local/lib32/libexecinfo.so.1 (0x289ca000) libffi.so.5 => /usr/local/lib32/libffi.so.5 (0x289d5000) libstdc++.so.6 => /usr/local/lib32/libstdc++.so.6 (0x289da000) libm.so.5 => /usr/lib32/libm.so.5 (0x28ac4000) libgcc_s.so.1 => /usr/local/gcc/4.5.0-32bit/lib/libgcc_s.so.1 (0x28add000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x28ae9000) libc.so.7 => /usr/lib32/libc.so.7 (0x28afe000) But the process crashes. After debugging I found that regexec returns result different from what it returns on i386 with the same input. So my question is: is there a way to rebuild for example /usr/lib32/libc.so.7 and /usr/lib32/libthr.so.3 on amd64? Or what may cause such incompatibility? Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 01:20:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57171065694 for ; Fri, 13 Aug 2010 01:20:10 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 6108D8FC14 for ; Fri, 13 Aug 2010 01:20:10 +0000 (UTC) Received: (qmail 11624 invoked from network); 13 Aug 2010 01:20:09 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 13 Aug 2010 01:20:09 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jHOWZGz6bCzQ for ; Thu, 12 Aug 2010 18:20:08 -0700 (MST) Received: (qmail 11610 invoked from network); 13 Aug 2010 01:20:08 -0000 Received: from unknown (HELO blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 13 Aug 2010 01:20:08 -0000 Sender: fred Message-ID: <4C649B16.6E914018@blakemfg.com> Date: Thu, 12 Aug 2010 18:08:38 -0700 From: Fred Boatwright X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C641B08.E424A1A0@blakemfg.com> <4C64362A.3000202@njit.edu> <4C644E17.C9CFAAC9@blakemfg.com> <4C6456CD.50501@njit.edu> <4C646B03.701383F0@blakemfg.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: X11 question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 01:20:10 -0000 Indeed you are right. I installed xinit from ports but something didn't happen as it should have. I tried again using pkg_add as you suggested and startx does exist now. I installed olvwm several days ago and it did not pull in the xorg stuff also. Thanks for the help! Best regards, Fred Samuel Martín Moro wrote: > > On Thu, Aug 12, 2010 at 11:43 PM, Fred Boatwright wrote: > > > pkg_info | grep xinit doesn't return anything > > > then, you doesn't have installed xinit, and startx can't be here > pkg_add -rv xinit > and then, if it doesn't fail, try again: > rehash > which startx > > > rehash > > which startx > > startx: Command not found > > > > whereis X > > X: /usr/local/bin/X > > > > pkg_which /usr/local/bin/X > > pkg_which: Command not found > > > > Oliver: I used your porgle tool to find pkg_which and will install it > > later. Porgle appears to be a very useful tool. > > > > I installed x11-servers/xorg-server but maybe should have installed Xorg > > instead. However, from looking at the pkg-descr for xorg it looks like > > it will install a huge amount of software that will not get used. I am > > reluctant to do this. I have installed 8.0-RELEASE from the CD and I > > want to run olvwm for a desktop. I have been using Solaris 2.6 with the > > OpenWindows desktop for 12 years and consider it to be as close to > > perfection as one can get. I am being forced, kicking and screaming, to > > move to some other type of Unix on a PC and would like to continue using > > OpenWindows. It is probably going to be an uphill battle to get olvwm > > to work. Am I going to have to install xorg to get everything needed? > > > > Best regards, > > Fred > > > > Tim Kellers wrote: > > > > > > Fred, > > > > > > From man startx(1): > > > > > > SEE ALSO > > > xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) > > > > > > Try: > > > > > > # whereis X > > > > > > If X is installed, it should return: > > > > > > # X: /usr/local/bin/X > > > > > > pkg_which if X is installed should return: > > > > > > # pkg_which /usr/local/bin/X > > > > > > xorg-server-1.7.5,1 > > > > > > If it doesn't, then the full X server isn't installed: > > > > > > Try: > > > > > > # whereis xorg > > > > > > xorg: /usr/ports/x11/xorg > > > > > > If xorg isn't installed, cd to: > > > > > > /usr/ports/x11/xorg > > > > > > and > > > > > > make config-recursive (If you add any options, run make > > > config-recursive a second time after the shell prompt returns) > > > > > > and then > > > > > > make install clean > > > > > > HTH > > > > > > Tim Kellers > > > > > > On 08/12/10 15:40, Fred Boatwright wrote: > > > > Hi Oliver and Tim, > > > > > > > > I installed xinit but startx still doesn't exist. whereis returns > > > > nothing and man startx returns nothing. > > > > > > > > Fred > > > > > > > > Tim Kellers wrote: > > > > > > > >> /usr/ports/x11/xinit > > > >> > > > >> On my system (with X, obviously, already installed): > > > >> > > > >> beta# whereis startx > > > >> > > > >> startx: /usr/local/bin/startx /usr/local/man/man1/startx.1.gz > > > >> > > > >> beta# pkg_which /usr/local/bin/startx > > > >> > > > >> xinit-1.2.0 > > > >> > > > >> beta# whereis xinit > > > >> > > > >> xinit: /usr/local/bin/xinit /usr/local/man/man1/xinit.1.gz > > > >> /usr/ports/x11/xinit > > > >> > > > >> I' m not certain about the p5/Perl TK questions, but in the file: > > > >> /usr/ports/x11-toolkits/p5-Tk/pkg-descr > > > >> there is this description: > > > >> > > > >> This a re-port of a perl interface to Tk8.4 (John Ousterhout's > > production > > > >> release). > > > >> > > > >> Perl API is essentially the same as Tk800.025 but has not > > > >> been verified as compliant. > > > >> > > > >> It also includes all the C code parts of Tix8.1.4 from SourceForge. > > > >> The perl code corresponding to Tix's Tcl code is not fully > > implemented. > > > >> > > > >> This version (Tk804.025) is only likely to work with perl5.8+. > > > >> > > > >> Tim Kellers > > > >> > > > >> On 08/12/10 12:02, Fred Boatwright wrote: > > > >> > > > >>> Hello, > > > >>> > > > >>> Where would I find startx? I assume it is part one of the ports > > under > > > >>> X11 > > > >>> but I don't want to install all of them to find it. > > > >>> > > > >>> Also, is p5-Tk the same as Perl/Tk? > > > >>> > > > >>> Best regards, > > > >>> > > > >>> Fred > > > >>> > > > > > > _______________________________________________ > > > 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" > > > > Samuel Martín Moro > {EPITECH.} tek4 > CamTrace S.A.S > (+033) 1 41 38 37 60 > 1 Allée de la Venelle > 92150 Suresnes > FRANCE > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > _______________________________________________ > 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 Aug 13 03:14:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D99611065694 for ; Fri, 13 Aug 2010 03:14:31 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 72A4D8FC17 for ; Fri, 13 Aug 2010 03:14:31 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id DE7431CDC9; Thu, 12 Aug 2010 17:14:29 -1000 (HST) Message-ID: <4C64B895.3070708@hdk5.net> Date: Thu, 12 Aug 2010 17:14:29 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Ryan Coleman References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> <4C6434E0.20801@hdk5.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: UPS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 03:14:32 -0000 Ryan Coleman wrote: > On Aug 12, 2010, at 12:52 PM, Al Plant wrote: > >> David Brodbeck wrote: >>> On Wed, August 11, 2010 1:18 pm, Ryan Coleman wrote: >>>> On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: >>>> >>>>> On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: >>>>>> He thinks that at 500W needed it would give me about 12 minutes on a >>>>>> 1400VA. My consideration is, then, give the server 2 minutes on >>>>>> battery. >>>>>> If full power has not been returned, shut down the server but leave the >>>>>> modem (w/ wireless) and switch running with power for up to 6 hours. >>>>> A bit of advice: If this is an unattended system, give some thought to >>>>> how >>>>> you will boot the server back up if the outage is longer than two >>>>> minutes >>>>> but shorter than six hours. Most UPS installations have *some* kind of >>>>> race condition issue if power comes back after the servers have begun a >>>>> shutdown, but in your case it's an unusually long window. >>>> Meaning that my 2-minute window is unusually long? If the UPS can support >>>> the system for 12 minutes, I say give it 20% of the life of the support >>>> because our power outages here are usually spikes that kill my current web >>>> server (but amazingly *not* my file server). In fact, one of those power >>>> fluxes occurred last night. I love storms for the light shows, but hate >>>> them for the toll they take on my servers. >>> Nope, 2 minutes is fine, maybe even short depending on how long your >>> system takes to shut down. What I'm asking about is this scenario: >>> 1. Power goes out. >>> 2. Server shuts itself down after 2 minutes. >>> 3. Power comes back on before the UPS batteries are exhausted. >>> The server never sees a power cycle, so it doesn't boot itself back up >>> until someone physically goes and pushes the button. >>> ########## >> I have had these power dips and surges here in Hawaii. I have installed UPS power from two stationary batters that will run the servers for 12 hours. We have experienced extensive outages in the past and this was our only solution. Surges are almost impossible to stop. I have them jump cross a surge protector. I have recently had several UPS Desktop backups fail from a surge and then a drop below 70 v. This caused the UPS to have the charging diodes blow. It was cheaper to replace the UPS 's than to repair them. >> >> #3. The motherboard bios can be set to stop a server from self booting from a power outage. >> > > > Yes. The downside comes from when the BIOS is told to turn on the server at, say, 10pm and the power is still out... it starts the process and runs out of battery mid-way through the boot before it gets the chance to load the UPS controller. > ########> > #3. Thats why setting the bios "not" to self boot would work. (Stopping the bios from turning the server on after an outage.) Someone would have to check the power status manually before throwing the switch manually to make it come up after power has been restored. Also turning servers and some desktops off and on is many cases a bad idea. Example: I was called out today to look at a desktop that was turned off while the user went away for a month. It did not survive the turn on. Corrosion took its toll on the mobo and fans. The humidity was the cause. No humidity in the case when the unit is on and fans (3 of them) are working. Hope you can solve your problem. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 03:18:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5631D1065670 for ; Fri, 13 Aug 2010 03:18:30 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 203388FC13 for ; Fri, 13 Aug 2010 03:18:29 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ojkmr-0006cG-FC for freebsd-questions@freebsd.org; Thu, 12 Aug 2010 20:18:29 -0700 Message-ID: <29425269.post@talk.nabble.com> Date: Thu, 12 Aug 2010 20:18:29 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com Subject: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 03:18:30 -0000 FreeBSD my.domain.com 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 Testing a Qmail SMTP installation with Telnet (normally use SSH for networking) Temporary Telnet set up for testing ==> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Server set up ==> % cat /etc/services | grep telnet telnet 23/tcp telnet 23/udp % cat /etc/services | grep smtp smtp 25/tcp mail #Simple Mail Transfer smtp 25/udp mail #Simple Mail Transfer % cat /etc/rc.conf inetd_enable="YES" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ But % telnet 0 smtp 0: servname not supported for ai_socktype % telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection reset by peer Trying ::1... telnet: connect to address ::1: Connection refused telnet: Unable to connect to remote host sockstat -4 ==> sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS myname sshd 1732 3 tcp4 nnn.xxx.yyy.zzz:22 aaa.bbb.ccc.ddd:1256 root sshd 1709 3 tcp4 nnn.xxx.yyy.zzz:22 aaa.bbb.ccc.ddd:1256 root gnome-sess 1529 10 tcp4 *:54384 *:* www httpd 1328 3 tcp4 nnn.xxx.yyy.zzz:80 *:* www httpd 1328 4 tcp4 nnn.xxx.yyy.zzz:443 *:* www httpd 1327 3 tcp4 nnn.xxx.yyy.zzz:80 *:* www httpd 1327 4 tcp4 nnn.xxx.yyy.zzz:443 *:* www httpd 1326 3 tcp4 nnn.xxx.yyy.zzz:80 *:* www httpd 1326 4 tcp4 nnn.xxx.yyy.zzz:443 *:* www httpd 1325 3 tcp4 nnn.xxx.yyy.zzz:80 *:* www httpd 1325 4 tcp4 nnn.xxx.yyy.zzz:443 *:* www httpd 1324 3 tcp4 nnn.xxx.yyy.zzz:80 *:* www httpd 1324 4 tcp4 nnn.xxx.yyy.zzz:443 *:* root Xorg 1314 3 tcp4 *:6000 *:* root inetd 1267 6 tcp4 *:143 *:* root sshd 1239 4 tcp4 *:22 *:* root httpd 1207 3 tcp4 nnn.xxx.yyy.zzz:80 *:* root httpd 1207 4 tcp4 nnn.xxx.yyy.zzz:443 *:* avahi avahi-daem 1176 15 udp4 *:5353 *:* avahi avahi-daem 1176 16 udp4 *:60699 *:* mysql mysqld 948 11 tcp4 *:3306 *:* root perl5.8.9 794 5 tcp4 *:10000 *:* root perl5.8.9 794 6 udp4 *:10000 *:* qmaild tcpserver 778 3 tcp4 *:25 *:* root tcpserver 776 3 tcp4 *:110 *:* root mountd 667 7 udp4 *:914 *:* root mountd 667 8 tcp4 *:914 *:* root syslogd 580 7 udp4 *:514 *:* root ntpd 371 20 udp4 *:123 *:* root ntpd 371 22 udp4 nnn.xxx.yyy.zzz:123 *:* root ntpd 371 25 udp4 127.0.0.1:123 *:* Anyone having ahy ideas as to what may be amiss? Thanks! -- View this message in context: http://old.nabble.com/Telnet-%3D%3E-servname-ai_socktype-error-tp29425269p29425269.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 03:27:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5D911065673 for ; Fri, 13 Aug 2010 03:27:21 +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 7CF838FC08 for ; Fri, 13 Aug 2010 03:27:21 +0000 (UTC) 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 o7D3RJRY002241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Aug 2010 22:27:19 -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.4/8.14.4) with ESMTP id o7D3RJLX091722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Aug 2010 22:27:19 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7D3RIb9091721; Thu, 12 Aug 2010 22:27:18 -0500 (CDT) (envelope-from dan) Date: Thu, 12 Aug 2010 22:27:18 -0500 From: Dan Nelson To: jaymax Message-ID: <20100813032718.GD18896@dan.emsphone.com> References: <29425269.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29425269.post@talk.nabble.com> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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]); Thu, 12 Aug 2010 22:27:19 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 03:27:21 -0000 In the last episode (Aug 12), jaymax said: > > FreeBSD my.domain.com 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 > > Testing a Qmail SMTP installation with Telnet > > (normally use SSH for networking) > > Temporary Telnet set up for testing ==> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > Server set up ==> > > % telnet localhost 25 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection reset by peer That sounds like you connected but qmail crashed or otherwise uncleanly closed the socket. Does a tcpdump on lo0 show any interesting activity when you try that command? -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 04:30:12 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79081065673 for ; Fri, 13 Aug 2010 04:30:12 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 50A458FC1B for ; Fri, 13 Aug 2010 04:30:12 +0000 (UTC) Received: by wyj26 with SMTP id 26so2789807wyj.13 for ; Thu, 12 Aug 2010 21:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=t8lWLaCWgn4bo4hBWAP4NImHJOggaO4ejQaxggy9Gd0=; b=QyedNWGDYwWUs+vWH0UyluYI1706PTOSnpo6tp29+OhMR/6xhO3ACJsQfmAQq0WNa8 b0ubPFAhPfX+gzZmoet1qoXHEIzLeKbesEtoG9vDye4f0xmvlWHc08IjQ4Spqk97cyDW q3dAsfJDfUzeYSFrbUw0yCfI9u0SrHLuJvr34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=pkOx2UVq+G70knWhRHQU5Q0RrhEK1nzsrD4e99KoNSqG61E1eMhN544ONMJwImLNd8 QZkwP9+i64asbHyknUBmXyWx4OdqSD1RsMxXQKCvLRG2PuRNh6ruka55LluIAUbumm8q R1pctVB81gfTEgReqjX42bW9l/PyKIfTvGuNI= MIME-Version: 1.0 Received: by 10.216.237.100 with SMTP id x78mr716048weq.114.1281673810956; Thu, 12 Aug 2010 21:30:10 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Thu, 12 Aug 2010 21:30:10 -0700 (PDT) Date: Fri, 13 Aug 2010 04:30:10 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Yuri Subject: Re: Is there a way to rebuild 32-bit libraries under amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 04:30:12 -0000 >I have 8.0-STABLE amd64 machine, and I need to run some 32-bit FreeBSD >process which runs fine on 8.0-STABLE i386. > >So I copied all shared libs needed by it from i386 into there respective >locations on amd64, but under lib32/ folder. > libexecinfo.so.1 => /usr/local/lib32/libexecinfo.so.1 (0x289ca000) > libffi.so.5 => /usr/local/lib32/libffi.so.5 (0x289d5000) > libstdc++.so.6 => /usr/local/lib32/libstdc++.so.6 (0x289da000) > libm.so.5 => /usr/lib32/libm.so.5 (0x28ac4000) > libgcc_s.so.1 => /usr/local/gcc/4.5.0-32bit/lib/libgcc_s.so.1 >(0x28add000) > libthr.so.3 => /usr/lib32/libthr.so.3 (0x28ae9000) > libc.so.7 => /usr/lib32/libc.so.7 (0x28afe000) > >But the process crashes. After debugging I found that regexec returns >result different from what it returns on i386 with the same input. > >So my question is: is there a way to rebuild for example >/usr/lib32/libc.so.7 and /usr/lib32/libthr.so.3 on amd64? Or what may >cause such incompatibility? Did you install the 32-bit compatibility libraries and utilities on amd64, by selecting the lib32 option with sysinstall(8), or by running ../lib32/install.sh from the FreeBSD media, or by rebuilding and reinstalling world without a WITHOUT_LIB32 defined in src.conf(5) or make.conf(5)? Then did you make sure that rtld(1) has the proper hints to find any needed 32-bit libraries that are not in the lib32 part of the base system, by defining the right values for ldconfig32_paths and/or ldconfig_local32_dirs in rc.conf(5)? b. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 06:50:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 969E41065698 for ; Fri, 13 Aug 2010 06:50:43 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from fmailhost02.isp.att.net (fmailhost02.isp.att.net [207.115.11.52]) by mx1.freebsd.org (Postfix) with ESMTP id 832A88FC14 for ; Fri, 13 Aug 2010 06:50:43 +0000 (UTC) Received: from mueller6722.bellsouth.net (adsl-210-184-221.sdf.bellsouth.net[68.210.184.221]) by isp.att.net (frfwmhc02) with SMTP id <20100813063900H0200238t7e>; Fri, 13 Aug 2010 06:39:01 +0000 X-Originating-IP: [68.210.184.221] Date: Fri, 13 Aug 2010 06:44:21 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Message-ID: <4c64e9c5.QP7fekph3VlfDjdr%mueller6724@bellsouth.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Building and running new package versions not yet in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 06:50:43 -0000 What do I do if I want to build and run a package where version in ports collection is not up-to-date, and I want to build and run the current release version of that package, like Abiword 2.8.6 for instance, when version in ports is behind? Or maybe I want to try a new alpha or beta development release of a package like Firefox or Seamonkey, but don't want to burn my bridges on the already installed and running version. Can I create a testing install base such as /extra or /usr/extra, and set something like PATH=/usr/extra/bin:$PATH and perhaps modify some other environment variables, and then be able to return to the regular environment? I would only want to change a few things temporarily and would not want to create an entire chroot system. Is this the proper list for this question, or should I have posted to freebsd-ports@freebsd.org ? Tom From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 08:31:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFF611065673 for ; Fri, 13 Aug 2010 08:31:11 +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 3AC498FC1F for ; Fri, 13 Aug 2010 08:31:11 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o7D8Usgc097416 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 13 Aug 2010 09:31:02 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4C6502B8.8050600@infracaninophile.co.uk> Date: Fri, 13 Aug 2010 09:30:48 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Thomas Mueller References: <4c64e9c5.QP7fekph3VlfDjdr%mueller6724@bellsouth.net> In-Reply-To: <4c64e9c5.QP7fekph3VlfDjdr%mueller6724@bellsouth.net> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2DF07E4B9C75E4BCF135420A" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_20,DKIM_ADSP_ALL, SPF_FAIL,URIBL_BLACK autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Building and running new package versions not yet in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 08:31:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DF07E4B9C75E4BCF135420A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/08/2010 07:44, Thomas Mueller wrote: > What do I do if I want to build and run a package where version in > ports collection is not up-to-date, and I want to build and run the > current release version of that package, like Abiword 2.8.6 for > instance, when version in ports is behind? Or maybe I want to try a new= > alpha or beta development release of a package like Firefox or > Seamonkey, but don't want to burn my bridges on the already installed > and running version. Contact the port maintainers in the first instance -- they may well have beta test versions of the ports you can download. Failing that, it is perfectly feasible for you to update a port yourself. Generally, you will want to work on a copy of the port directory somewhere. You can check out what you need from anonymous CVS, which gives you all the extra VCS goodness you could want for serious code hacking. Your working directory doesn't have to be anywhere special in relation to the ports tree. Anywhere you like will be fine. Well, assuming the port you're working on is pretty much stand alone -- if you need to look at a collection of highly interconnected ports then it gets harder, but that's not something particularly common. Refer to the Porter's Handbook for a guide on how it all should work, and read the comments and code in /usr/ports/Mk/*.mk for the nitty-gritty details. Ion-Mihail's guide at http://ionut.tetcu.info/FreeBSD/How-to-submit-a-diff.txt has plenty of good tips too. If you do generate a usable upgrade for a port, please submit it as a PR so the rest of the world can benefit. Beware though: thus begins the slippery path to port maintainership and possibly even a coveted @freebsd.org e-mail address. > Can I create a testing install base such as /extra or /usr/extra, > and set something like > PATH=3D/usr/extra/bin:$PATH and perhaps modify some other environment > variables, and then be able to return to the regular environment? I > would only want to change a few things temporarily and would not want > to create an entire chroot system. Sure. When testing ports, I regularly have the following set in the environment: setenv WRKDIRPREFIX ${HOME}/tmp/ports setenv PKG_DBDIR ${HOME}/tmp/db/pkgs setenv PORT_DBDIR ${HOME}/tmp/db/ports setenv PREFIX ${HOME}/tmp/local setenv INSTALL_AS_USER yes setenv NOCLEANDEPENDS yes setenv PACKAGES ${HOME}/tmp/packages > Is this the proper list for this question, or should I have posted > to freebsd-ports@freebsd.org ? You're more likely to find interested and knowledgeable people on freebsd-ports@ -- certainly post there if you run into difficulties trying to work with ports. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig2DF07E4B9C75E4BCF135420A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxlAr4ACgkQ8Mjk52CukIyJ9gCfbBs5cd6gsPXqYeIZSFg5WndE AY8Anihkkw0QkUtIppV4DZghTy+irSRw =ed4d -----END PGP SIGNATURE----- --------------enig2DF07E4B9C75E4BCF135420A-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 08:34:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E14F510656A6 for ; Fri, 13 Aug 2010 08:34:30 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBBD8FC12 for ; Fri, 13 Aug 2010 08:34:30 +0000 (UTC) Received: by pxi17 with SMTP id 17so871884pxi.13 for ; Fri, 13 Aug 2010 01:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=tG0AwNCi4A91cAsd06XmOQdnBa+vk0m8WTSpQAJSP30=; b=DH6qwK+9yUcGafXLRZyPFoBhPZRmW5b7fJdCeO+0Tc1dFY7d7O+aVq/6zMqsvKXYQP CuFdasvxH9jMqTVhDBdfmXbe+Qi9xh2BBcgGo9/K/y0DGN/qHPi02MIpLYx/GzMflVd+ MPhVPCi7cLOPr6edLbynBFZdtGoA4x+D3orZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=qHQqvUR2sYCSVvvvOESWOCkFf/2yfaZnwi/+jEOuYb4sBWu2n54JHvTNWzRr14WwAy dhGsc4TOnyaXh3KkSjg+QKn289Ika85YXSqk2o71Hr86HPi/lQoS12b7hufvoRk5vQh8 aOtDfqH1CmFhyn8XT7hdEZIRlhsGUmP7Dpeps= Received: by 10.142.156.11 with SMTP id d11mr1067105wfe.122.1281688470023; Fri, 13 Aug 2010 01:34:30 -0700 (PDT) Received: from chateau.d.if ([122.161.171.93]) by mx.google.com with ESMTPS id y16sm2714333wff.14.2010.08.13.01.34.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 01:34:29 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [127.0.0.1]) by chateau.d.if (Postfix) with ESMTP id 3571B2D8027; Fri, 13 Aug 2010 14:04:22 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: jaymax Organization: The FreeBSD Project References: <29425269.post@talk.nabble.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 14:03:26 up 1:10, 1 user, load average: 0.00, 0.15, 0.12 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: GNU/Linux/Linux 2.6.34-ARCH/x86_64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Fri, 13 Aug 2010 14:04:17 +0530 In-Reply-To: <29425269.post@talk.nabble.com> (jaymax's message of "Thu, 12 Aug 2010 20:18:29 -0700 (PDT)") Message-ID: <86tymyq5bq.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 08:34:31 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable jaymax writes: [...] > % telnet 0 smtp > 0: servname not supported for ai_socktype What according to you 0 is ? =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CThere was truth and there was untruth, and if you clung to the tru= th even against the whole world, you were not mad.=E2=80=9D (George Orwell, "Nineteen Eighty-Four", 1949) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAEBCgAGBQJMZQONAAoJEMdGz6nnT6Sw5zkQAK+7W9aFFJYXDlWqyYILwb+v ijZRfX0LR+fHoVMJp614OJvDaVerRZCTkZEuQvfvF9vRRdTv04dKgRlcUZzSXMCM F8Bc8dX7LT3i3w+fgPsBBPC5f744BVub809vB10l5McjIM4h1OddvJQKif4WGHYg sdPUsob+5IJD/yTjZHdgdNW3ej5NoGBOWhetIHOQw6/E4e14JvjGaNhu53xjB0qJ Qw6tsOqHdlTnSjXgpGd8cvIwSLAHGDFGXiB7e71BfW7YC3SYc5biwvMxoyaDyPUF 5B/0jWWagkQkyLZ//2thBZcfKtRF8WwcNsG0Q3pWnIZi7Eegc/KL3BYppy9xaRUx HhcUJ/joYkoZ8QpljxMn76VpDXgu9EQCTKuUdlqaNqhWwAm/6ocWKMl2B9NjawoY hPBhw3UdyTtD3YUpDnlsPbchFeE1mmNrvDMvEZdQkI06s+XrLHLOnfXGWf/ra4KK 5Y6YAyUBfPXk60+0wVGHvnHg2lIEdFrBPAIHb0547/asbfCo+lB46cWBbNTKIqjb PCpNkHk+CJBuSQ3FAYYk8M5PlyEAD2LZeyIxyjLtwtJtD428XkOsWfiyFdbN5WaZ 3U46b+L71fKKyzusKxYZa6X3bkgi56T65QgT3EnOAz+iapu8Q5xwQtkVQBLJWLJG 8Fhz0jrJ+yRRykJlk2Oy =Cajj -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 13:47:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1636D1065670 for ; Fri, 13 Aug 2010 13:47:45 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id E830E8FC29 for ; Fri, 13 Aug 2010 13:47:44 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id o7DDlf2t027894; Fri, 13 Aug 2010 08:47:41 -0500 (CDT) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20100813084738.00ee5c48@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Fri, 13 Aug 2010 08:47:38 -0500 To: Chip Camden , freebsd-questions@freebsd.org From: "Jack L. Stone" In-Reply-To: <20100812175614.GJ20504@libertas.local.camdensoftware.com> References: <867hjv92r2.fsf@gmail.com> <20100812153535.61549.qmail@joyce.lan> <201008121644.o7CGiflh099466@lurza.secnetix.de> <867hjv92r2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Fri, 13 Aug 2010 08:47:42 -0500 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [38.106.15.121]); Fri, 13 Aug 2010 08:47:42 -0500 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 13:47:45 -0000 At 10:56 AM 8.12.2010 -0700, Chip Camden wrote: >Quoth Anonymous on Thursday, 12 August 2010: >> Oliver Fromme writes: >> >> > John Levine wrote: >> > > > > % egrep 'word1|word2|word3|...|wordn' filename.txt >> > > >> > > > Thanks for the replies. This suggestion won't do the job as the list of >> > > > words is very long, maybe 50-60. This is why I asked how to place them all >> > > > in a file. One reply dealt with using a file with egrep. I'll try that. >> > > >> > > Gee, 50 words, that's about a 300 character pattern, that's not a problem >> > > for any shell or version of grep I know. >> > > >> > > But reading the words from a file is equivalent and as you note most >> > > likely easier to do. >> > >> > The question is what is more efficient. This might be >> > important if that kind of grep command is run very often >> > by a script, or if it's run on very large files. >> > >> > My guess is that one large regular expression is more >> > efficient than many small ones. But I haven't done real >> > benchmarks to prove this. >> >> BTW, not using regular expressions is even more efficient, e.g. >> >> $ fgrep -f /usr/share/dict/words /etc/group >> >> When using egrep(1) it takes considerably more time and memory. > >Having written a regex engine myself, I can see why. Though I'm sure >egrep is highly optimized, even the most optimized DFA table is going to take more >cycles to navigate than a simple string comparison. Not to mention the >initial overhead of parsing the regex and building that table. > >-- >Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F Many thanks to all of the suggestions. I found this worked very well, ignoring concerns about use of resources: egrep -i -o -w -f word.file main.file The only thing it didn't do for me was the next step. My final objective was to really determine the words in the "word.file" that were not in the "main.file." I figured finding matches would be easy and then could then run a sort|uniq comparison to determine the "new words" not yet in the main.file. Since I will have a need to run this check frequently, any suggestions for a better approach are welcome. Thanks again... Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 14:01:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A321065695 for ; Fri, 13 Aug 2010 14:01:39 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id 096058FC19 for ; Fri, 13 Aug 2010 14:01:38 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=AloNDtnpZdgHiqDdEH+jAS4TdvH4NEpSksf9cvoA1SFIaKh4O88j/Znnhjg6ST+7UB+Dnfo8OC+BvC4F+ORby8Urmju8cwdwizFcrBA/q8KRAS70n5F6licEVWbXu+a9; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:59256) by d.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OjupC-000LFh-M0 for freebsd-questions@freebsd.org; Fri, 13 Aug 2010 16:01:35 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Fri, 13 Aug 2010 16:01:34 +0200 User-Agent: KMail/1.9.10 References: <867hjv92r2.fsf@gmail.com> <3.0.1.32.20100813084738.00ee5c48@sage-american.com> In-Reply-To: <3.0.1.32.20100813084738.00ee5c48@sage-american.com> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: d.mail.ru.ac.za (2001:4200:1010::25:4) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 14:01:39 -0000 On Friday 13 August 2010 15:47:38 Jack L. Stone wrote: > The only thing it didn't do for me was the next step. My final objective > was to really determine the words in the "word.file" that were not in the > "main.file." I figured finding matches would be easy and then could then > run a sort|uniq comparison to determine the "new words" not yet in the > main.file. > > Since I will have a need to run this check frequently, any suggestions for > a better approach are welcome. sort -u and comm(1)? comm will compare two sorted files and produce up to three lists: of words only in file one, of words only in file 2 and of words common to both files. You can suppress any or all of the output lists. Jonathan From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 14:26:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCE661065672 for ; Fri, 13 Aug 2010 14:26:46 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id B86978FC20 for ; Fri, 13 Aug 2010 14:26:46 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id o7DEQjAr029207; Fri, 13 Aug 2010 09:26:46 -0500 (CDT) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20100813092643.00ee5c48@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Fri, 13 Aug 2010 09:26:43 -0500 To: Jonathan McKeown , freebsd-questions@freebsd.org From: "Jack L. Stone" In-Reply-To: <201008131601.34182.j.mckeown@ru.ac.za> References: <3.0.1.32.20100813084738.00ee5c48@sage-american.com> <867hjv92r2.fsf@gmail.com> <3.0.1.32.20100813084738.00ee5c48@sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Fri, 13 Aug 2010 09:26:46 -0500 X-Scanned-By: milter-sender/1.16.915 (mail.sagedata.net [38.106.15.121]); Fri, 13 Aug 2010 09:26:46 -0500 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 14:26:46 -0000 At 04:01 PM 8.13.2010 +0200, Jonathan McKeown wrote: >On Friday 13 August 2010 15:47:38 Jack L. Stone wrote: > >> The only thing it didn't do for me was the next step. My final objective >> was to really determine the words in the "word.file" that were not in the >> "main.file." I figured finding matches would be easy and then could then >> run a sort|uniq comparison to determine the "new words" not yet in the >> main.file. >> >> Since I will have a need to run this check frequently, any suggestions for >> a better approach are welcome. > >sort -u and comm(1)? > >comm will compare two sorted files and produce up to three lists: of words >only in file one, of words only in file 2 and of words common to both files. >You can suppress any or all of the output lists. > >Jonathan >_______________________________________________ Jonathan: Thanks, I had forgotten about comm(1). Mehinks I am close to the solution to the whole issue now. Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 15:13:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AB031065693 for ; Fri, 13 Aug 2010 15:13:46 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 204F68FC0A for ; Fri, 13 Aug 2010 15:13:45 +0000 (UTC) Received: from 174-21-101-5.tukw.qwest.net ([174.21.101.5] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OjvjA-0004fN-Dp for freebsd-questions@freebsd.org; Fri, 13 Aug 2010 07:59:25 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 13 Aug 2010 08:13:40 -0700 Date: Fri, 13 Aug 2010 08:13:40 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100813151340.GA29209@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4c64e9c5.QP7fekph3VlfDjdr%mueller6724@bellsouth.net> <4C6502B8.8050600@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <4C6502B8.8050600@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Building and running new package versions not yet in ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 15:13:46 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Matthew Seaman on Friday, 13 August 2010: > On 13/08/2010 07:44, Thomas Mueller wrote: > > What do I do if I want to build and run a package where version in > > ports collection is not up-to-date, and I want to build and run the > > current release version of that package, like Abiword 2.8.6 for > > instance, when version in ports is behind? Or maybe I want to try a new > > alpha or beta development release of a package like Firefox or > > Seamonkey, but don't want to burn my bridges on the already installed > > and running version. >=20 > Contact the port maintainers in the first instance -- they may well have > beta test versions of the ports you can download. Failing that, it is > perfectly feasible for you to update a port yourself. >=20 > Generally, you will want to work on a copy of the port directory > somewhere. You can check out what you need from anonymous CVS, which > gives you all the extra VCS goodness you could want for serious code > hacking. Your working directory doesn't have to be anywhere special in > relation to the ports tree. Anywhere you like will be fine. Well, > assuming the port you're working on is pretty much stand alone -- if you > need to look at a collection of highly interconnected ports then it gets > harder, but that's not something particularly common. >=20 > Refer to the Porter's Handbook for a guide on how it all should work, > and read the comments and code in /usr/ports/Mk/*.mk for the > nitty-gritty details. Ion-Mihail's guide at > http://ionut.tetcu.info/FreeBSD/How-to-submit-a-diff.txt has plenty of > good tips too. >=20 > If you do generate a usable upgrade for a port, please submit it as a PR > so the rest of the world can benefit. Beware though: thus begins the > slippery path to port maintainership and possibly even a coveted > @freebsd.org e-mail address. >=20 > > Can I create a testing install base such as /extra or /usr/extra, > > and set something like > > PATH=3D/usr/extra/bin:$PATH and perhaps modify some other environment > > variables, and then be able to return to the regular environment? I > > would only want to change a few things temporarily and would not want > > to create an entire chroot system. >=20 > Sure. When testing ports, I regularly have the following set in the > environment: >=20 > setenv WRKDIRPREFIX ${HOME}/tmp/ports > setenv PKG_DBDIR ${HOME}/tmp/db/pkgs > setenv PORT_DBDIR ${HOME}/tmp/db/ports > setenv PREFIX ${HOME}/tmp/local > setenv INSTALL_AS_USER yes > setenv NOCLEANDEPENDS yes > setenv PACKAGES ${HOME}/tmp/packages >=20 > > Is this the proper list for this question, or should I have posted > > to freebsd-ports@freebsd.org ? >=20 > You're more likely to find interested and knowledgeable people on > freebsd-ports@ -- certainly post there if you run into difficulties > trying to work with ports. >=20 > Cheers, >=20 > Matthew >=20 > --=20 > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW >=20 That's some great information. Thanks, Matthew. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMZWEkAAoJEIpckszW26+R6GIIAMpn3CIb0rt96ZPghPXM7T+K KWctw4nWciCrzWjTRSfbC5/BXwyUpos+uNM3apohN3J8P+2toOD4OeRzwNpD1dTY pejPQ4a6SnGoiu7rO6WMlEB7RYNQGBk4GWNRNJcSmuoR+0J6ueCYxynIOXpNnWCV xoUecpZA856nSFiyrJ7brKqsj61I9ueAAwnMea4JL1tZePEx8qscDcko/uIPcWFr Z3rVMjDbwtCgbOnRrn1xKyzI+iD6Y8EbOcurgWHDVI2acK3VNuknv+kKLsTJDVDG TU5AuhEz5m0XhIBcj3u5lMZR+CDtu4CZlkWpNKamQ4b+n5p73K2XHV8zjfpJfcU= =gZGc -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 15:53:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAAE01065679 for ; Fri, 13 Aug 2010 15:53:28 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 82C998FC12 for ; Fri, 13 Aug 2010 15:53:25 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 89D7C471870 for ; Fri, 13 Aug 2010 17:23:08 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id DD8383865B6 for ; Fri, 13 Aug 2010 17:23:08 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Fri, 13 Aug 2010 17:23:06 +0200 Message-Id: <201008131723.AA679149726@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 15:53:28 -0000 I readfile or pipe this text, in any line order: rm90.steampick.info fgce172.lanejive.info smailer1.service.govdelivery.com fl49.orangetalon.info pollux.carespecial.info into a program to remove subdomains down to domain.tld : awk 'FS="." { print $(NF-1)"."$NF }' and get the first line doubled rather than processed like the other lines: rm90.steampick.info.rm90.steampick.info lanejive.info govdelivery.com orangetalon.info carespecial.info thanks Len From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:11:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7208F1065697 for ; Fri, 13 Aug 2010 16:11:18 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA318FC08 for ; Fri, 13 Aug 2010 16:11:18 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7DGAwkN049520 for ; Fri, 13 Aug 2010 09:11:08 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C656E8F.8090105@rawbw.com> Date: Fri, 13 Aug 2010 09:10:55 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 16:11:18 -0000 I need to build 32 bit apps the same way as they would be built on i386. When I run 64-bit gcc I get this: gcc -m32 -o m m.c /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc When I run 32bit gcc I get this: /gcc-4.5.0-32/bin/gcc -m32 -o m m.c /var/tmp//ccif89DB.s: Assembler messages: /var/tmp//ccif89DB.s:11: Error: suffix or operands invalid for `push' /var/tmp//ccif89DB.s:14: Error: `-12(%ebp)' is not a valid 64 bit base/index expression In first case libgcc.so isn't found, and specifying -L/usr/lib32 doesn't help. In the second case 32bit compiler runs 64-bit assembler which is wrong. Is there a documentation how to cross compile 32 bit apps on 64 bit platform? Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:13:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 734691065673 for ; Fri, 13 Aug 2010 16:13:32 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 220A68FC17 for ; Fri, 13 Aug 2010 16:13:31 +0000 (UTC) Received: by qwg5 with SMTP id 5so3453478qwg.13 for ; Fri, 13 Aug 2010 09:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=EgX1aPpuEMBwWRz/R5JlLbPiGUjOzPjRCBohOvmWSWU=; b=ic+m3ezZ3VyTVFuKpbJvChTdBox/2SoBroLWN8VzuCuthZv2TDVkr+8IGiy+KzA1oS cEag/G8nyVnPCvZlM1ynJZu24yejzG9CQKaTP8wWwG58SaW7a/84EYvC7oQsdibGj5tD yMinfwElWdGAzRT0UyELBNmHT97VIUt1IfbkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=qEprj2OvFekxe+3dHCLuYWNPkH+m7Omi6c+McPIvc0Z50OszO/9qx6N0yQse6UC9Mb NlyLqmFoYSymsHjLCaEJCAtMCWPxmTc0XPGJ+aDMlIhcIJzchLTjLYq6XOX7Rox+NxbG Py5+o/YH1vrQAoIxjFhQLN+PrInd6zAdkgIW0= Received: by 10.224.104.4 with SMTP id m4mr1184756qao.76.1281716008797; Fri, 13 Aug 2010 09:13:28 -0700 (PDT) Received: from localhost (tor-exit-proxy8-readme.formlessnetworking.net [208.53.142.44]) by mx.google.com with ESMTPS id r36sm3579281qcs.3.2010.08.13.09.13.25 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 09:13:27 -0700 (PDT) From: Anonymous To: lconrad@Go2France.com References: <201008131723.AA679149726@mail.Go2France.com> Date: Fri, 13 Aug 2010 20:13:20 +0400 In-Reply-To: <201008131723.AA679149726@mail.Go2France.com> (Len Conrad's message of "Fri, 13 Aug 2010 17:23:06 +0200") Message-ID: <8662zeze1r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:13:32 -0000 "Len Conrad" writes: > awk 'FS="." { print $(NF-1)"."$NF }' > > rm90.steampick.info.rm90.steampick.info > lanejive.info > govdelivery.com > orangetalon.info > carespecial.info Hmm, I can't reproduce it on /head. What FreeBSD version you're using? Can you try with lang/nawk port? nawk is from the same vendor as /usr/src/contrib/one-true-awk. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:23:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C64BF1065674 for ; Fri, 13 Aug 2010 16:23:04 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 767108FC18 for ; Fri, 13 Aug 2010 16:23:04 +0000 (UTC) Received: by vws7 with SMTP id 7so1513070vws.13 for ; Fri, 13 Aug 2010 09:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=2XrNBB5OwkcaVxZ0FUSXhSJbti+GodO3JMLAe7+78Oo=; b=bHFXaG4yxA/JuI3drB2TapSAnKy/SUfSn5Ge/GaLR/JKMnee+RfYPGUMzjsALdrNuW 3H5UbCH8UxvoBIinPTSKOXiDjtUnmq1+gebW/N9GwVCdvBWh80u+N/dE5OjmCVDZak9X pxEdSvHLrKTH3etXSQt6hwBPbKJX7U9MDLBpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=wdBqODyE2az/6mMKWIuQ1ICpMIZjWbtuvgY90bQbg5DVS+0SxT2B/vpG87SPhm5HLU OAopoyxD1V7QJuGIx7ukjosbvUk005MbOJEI+nfuMsywX1YuYV5nPqOXY5CRDwdMbWUY DYGpSo2TJ3QcpYBY5d8JmmPlzfXA6MZcp3SpA= Received: by 10.220.121.202 with SMTP id i10mr930458vcr.227.1281716583559; Fri, 13 Aug 2010 09:23:03 -0700 (PDT) Received: from localhost (tor-exit-proxy8-readme.formlessnetworking.net [208.53.142.44]) by mx.google.com with ESMTPS id w1sm1760336vbl.18.2010.08.13.09.23.02 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 09:23:03 -0700 (PDT) From: Anonymous To: Yuri References: <4C656E8F.8090105@rawbw.com> Date: Fri, 13 Aug 2010 20:22:58 +0400 In-Reply-To: <4C656E8F.8090105@rawbw.com> (yuri@rawbw.com's message of "Fri, 13 Aug 2010 09:10:55 -0700") Message-ID: <86sk2iwkgt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 16:23:04 -0000 Yuri writes: > I need to build 32 bit apps the same way as they would be built on i386. > > When I run 64-bit gcc I get this: > gcc -m32 -o m m.c > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching > for -lgcc > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching > for -lgcc > /usr/bin/ld: cannot find -lgcc > > When I run 32bit gcc I get this: > /gcc-4.5.0-32/bin/gcc -m32 -o m m.c > /var/tmp//ccif89DB.s: Assembler messages: > /var/tmp//ccif89DB.s:11: Error: suffix or operands invalid for `push' > /var/tmp//ccif89DB.s:14: Error: `-12(%ebp)' is not a valid 64 bit > base/index expression > > In first case libgcc.so isn't found, and specifying -L/usr/lib32 > doesn't help. > In the second case 32bit compiler runs 64-bit assembler which is wrong. > This was already discussed several times. I only remember recent threads[1][2]. I've built a few ports with not many dependencies but stumbled on unrelated issues before ever trying smth like emulators/wine. [1] http://docs.freebsd.org/cgi/mid.cgi?201007291718.12687.tijl [2] http://docs.freebsd.org/cgi/mid.cgi?86tyobk6bu.fsf ftp://ftp.lissyara.su/users/Guest/cc32wrapper (improved wrapper) > Is there a documentation how to cross compile 32 bit apps on 64 bit > platform? The only documented way is by using 32bit chroot. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:24:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E1A510656A3 for ; Fri, 13 Aug 2010 16:24:31 +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 532588FC19 for ; Fri, 13 Aug 2010 16:24:30 +0000 (UTC) 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 o7DGOUhi089116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Aug 2010 11:24:30 -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.4/8.14.4) with ESMTP id o7DGOUSj063327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Aug 2010 11:24:30 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7DGOUVM063250; Fri, 13 Aug 2010 11:24:30 -0500 (CDT) (envelope-from dan) Date: Fri, 13 Aug 2010 11:24:30 -0500 From: Dan Nelson To: Yuri Message-ID: <20100813162429.GE18896@dan.emsphone.com> References: <4C656E8F.8090105@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C656E8F.8090105@rawbw.com> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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]); Fri, 13 Aug 2010 11:24:30 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 16:24:31 -0000 In the last episode (Aug 13), Yuri said: > I need to build 32 bit apps the same way as they would be built on i386. > > When I run 64-bit gcc I get this: > gcc -m32 -o m m.c > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc > /usr/bin/ld: cannot find -lgcc > > When I run 32bit gcc I get this: > /gcc-4.5.0-32/bin/gcc -m32 -o m m.c > /var/tmp//ccif89DB.s: Assembler messages: > /var/tmp//ccif89DB.s:11: Error: suffix or operands invalid for `push' > /var/tmp//ccif89DB.s:14: Error: `-12(%ebp)' is not a valid 64 bit > base/index expression > > In first case libgcc.so isn't found, and specifying -L/usr/lib32 doesn't > help. In the second case 32bit compiler runs 64-bit assembler which is > wrong. > > Is there a documentation how to cross compile 32 bit apps on 64 bit > platform? Try adding -B/usr/lib32 to your first gcc line. The specs file should be modified to add this automatically when you pass -m32, imho. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:28:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AF210656A5 for ; Fri, 13 Aug 2010 16:28:12 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [IPv6:2607:f2f8:3080::]) by mx1.freebsd.org (Postfix) with ESMTP id 8D87B8FC08 for ; Fri, 13 Aug 2010 16:28:12 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 599F344E4F; Fri, 13 Aug 2010 09:28:12 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: lconrad@Go2France.com References: <201008131723.AA679149726@mail.Go2France.com> x-mayan-date: Long count = 12.19.17.10.19; tzolkin = 1 Cauac; haab = 12 Yaxkin Date: Fri, 13 Aug 2010 09:28:12 -0700 In-Reply-To: <201008131723.AA679149726@mail.Go2France.com> (Len Conrad's message of "Fri, 13 Aug 2010 17:23:06 +0200") Message-ID: <8639uipjdv.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:28:12 -0000 >>>>> "Len" == Len Conrad writes: Len> I readfile or pipe this text, in any line order: Len> rm90.steampick.info Len> fgce172.lanejive.info Len> smailer1.service.govdelivery.com Len> fl49.orangetalon.info Len> pollux.carespecial.info Len> into a program to remove subdomains down to domain.tld : Len> awk 'FS="." { print $(NF-1)"."$NF }' Len> and get the first line doubled rather than processed like the other lines: Len> rm90.steampick.info.rm90.steampick.info Len> lanejive.info Len> govdelivery.com Len> orangetalon.info Len> carespecial.info Yes, that would be the expected behavior. You need to set the FS *before* processing the first line. Either use -F ., or a BEGIN block. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:34:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32C410656B4 for ; Fri, 13 Aug 2010 16:34:16 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 9A83F8FC23 for ; Fri, 13 Aug 2010 16:34:16 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 16F89471884 for ; Fri, 13 Aug 2010 18:34:18 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 753A23865B6 for ; Fri, 13 Aug 2010 18:34:18 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Fri, 13 Aug 2010 18:34:16 +0200 Message-Id: <201008131834.AA796197122@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:34:17 -0000 ---------- Original Message ---------------------------------- From: Anonymous Date: Fri, 13 Aug 2010 20:13:20 +0400 >"Len Conrad" writes: > >> awk 'FS="." { print $(NF-1)"."$NF }' >> >> rm90.steampick.info.rm90.steampick.info >> lanejive.info >> govdelivery.com >> orangetalon.info >> carespecial.info > >Hmm, I can't reproduce it on /head. What FreeBSD version you're using? >Can you try with lang/nawk port? nawk is from the same vendor as >/usr/src/contrib/one-true-awk. FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0 awk --version awk version 20070501 (FreeBSD) From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:36:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 160F11065697 for ; Fri, 13 Aug 2010 16:36:49 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C01B28FC14 for ; Fri, 13 Aug 2010 16:36:48 +0000 (UTC) Received: by yxe42 with SMTP id 42so1276451yxe.13 for ; Fri, 13 Aug 2010 09:36: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:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=N/01VQtIVKBH5MM9eIPIN0Yi3d9nqZFT+MGfFEd1wlE=; b=CoHFPiGI73v58A4xeVSRtsaoHJWqaOSBTpNSiD8yFIo310PgcUu/9XLyIJjgoPaGDy LbsAPoi5ZwtpBb25yVQlrTYhR6uFC1yq1zvNr1dGR3PBbHlgj3sbzs2dwW3SBH2KtSqt i1YD7Ms8I8GxsKiEJrkTpwOQcyPvGK1z8UwY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=sYheYFIT67L5D+4pwjkVXf25LtMvzT73YJFy0C05wZtUZkjMbeWL+yQLXVV3zulAPE YnNrE6+czcpEs9UYN/JBM9hCCa8137cppGelNckI3bAEEKR2ji/nR4IdwEDvMmzdi9i9 HxoRwWQW2Pqjh3dAtdkMTlUbui/au1fEoHASY= Received: by 10.101.107.8 with SMTP id j8mr2136761anm.166.1281717406470; Fri, 13 Aug 2010 09:36:46 -0700 (PDT) Received: from localhost (gpftor6.privacyfoundation.de [62.212.67.209]) by mx.google.com with ESMTPS id o7sm1013632vcn.5.2010.08.13.09.36.40 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 09:36:45 -0700 (PDT) From: Anonymous To: merlyn@stonehenge.com (Randal L. Schwartz) References: <201008131723.AA679149726@mail.Go2France.com> <8639uipjdv.fsf@red.stonehenge.com> Date: Fri, 13 Aug 2010 20:36:24 +0400 In-Reply-To: <8639uipjdv.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Fri, 13 Aug 2010 09:28:12 -0700") Message-ID: <8639uiwjuf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: lconrad@Go2France.com, freebsd-questions@freebsd.org Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:36:49 -0000 merlyn@stonehenge.com (Randal L. Schwartz) writes: > Len> awk 'FS="." { print $(NF-1)"."$NF }' > > Len> rm90.steampick.info.rm90.steampick.info > Len> lanejive.info > Len> govdelivery.com > Len> orangetalon.info > Len> carespecial.info > > Yes, that would be the expected behavior. > > You need to set the FS *before* processing the first line. > > Either use -F ., or a BEGIN block. Then it's already fixed in 8.1-RELEASE by update in r201951. contrib/one-true-awk/FIXES: Nov 26, 2009: fixed a long-standing issue with when FS takes effect. a change to FS is now noticed immediately for subsequent splits. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:37:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA2AD10656BB for ; Fri, 13 Aug 2010 16:37:18 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id A0AA58FC08 for ; Fri, 13 Aug 2010 16:37:18 +0000 (UTC) Received: by gwj23 with SMTP id 23so1270739gwj.13 for ; Fri, 13 Aug 2010 09:37: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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=M3DSqKALYFS+EimAvBh6tC9GmIeoUqaed+y0CNBMlr0=; b=wCZw23zN4AAoQwlxpW9sJQc+ryrPwd4tRM58IvtOnVq+a0uAiisk/uUsSxAza59J06 paex+K8rw9EWkJrkpD2ZNFzmSYGxCDnZ59LF0cIPzH+G2btpzOC3XuvVSAcWgrvBC8t5 pYEol6iqxpR77gR7c6fwSA9gF1QgeZ6I3XTZY= 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=yEn+R8naMr6JJX8AE3l0FzNiAIuDA3cd6uugtAs+XKcAjvEwJY4Jasb6Pyf34GRxIn VK7o/iOg5gPfEEUct1107psIOYTaewqBBbNZ9XgO3+300hj6JpF6KKCNP3Fkh3QCiqMh LyyIsgMEGxO8RQZLZeGPzMb4NZ5gdfWR+nH5Q= Received: by 10.100.191.20 with SMTP id o20mr2170998anf.18.1281716049898; Fri, 13 Aug 2010 09:14:09 -0700 (PDT) Received: from [192.168.0.100] (71-38-48-15.frgo.qwest.net [71.38.48.15]) by mx.google.com with ESMTPS id e8sm1434083ibb.14.2010.08.13.09.14.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 09:14:09 -0700 (PDT) Message-ID: <4C656F4B.2070304@gmail.com> Date: Fri, 13 Aug 2010 11:14:03 -0500 From: Mark Tinguely User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: lconrad@Go2France.com References: <201008131723.AA679149726@mail.Go2France.com> In-Reply-To: <201008131723.AA679149726@mail.Go2France.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:37:19 -0000 Len Conrad wrote: > I readfile or pipe this text, in any line order: > > rm90.steampick.info > fgce172.lanejive.info > smailer1.service.govdelivery.com > fl49.orangetalon.info > pollux.carespecial.info > > into a program to remove subdomains down to domain.tld : > > awk 'FS="." { print $(NF-1)"."$NF }' > > and get the first line doubled rather than processed like the other lines: > > rm90.steampick.info.rm90.steampick.info > lanejive.info > govdelivery.com > orangetalon.info > carespecial.info > > thanks > Len > > _______________________________________________ > 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" > > How about: awk -F. '{ print $(NF-1)"."$NF }' From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:37:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3522106564A for ; Fri, 13 Aug 2010 16:37:49 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA328FC13 for ; Fri, 13 Aug 2010 16:37:49 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 2F968471875 for ; Fri, 13 Aug 2010 18:37:51 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 8F6A23865BA for ; Fri, 13 Aug 2010 18:37:51 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Fri, 13 Aug 2010 18:37:49 +0200 Message-Id: <201008131837.AA400228682@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:37:49 -0000 ---------- Original Message ---------------------------------- From: Mark Tinguely Date: Fri, 13 Aug 2010 11:14:03 -0500 >Len Conrad wrote: >> I readfile or pipe this text, in any line order: >> >> rm90.steampick.info >> fgce172.lanejive.info >> smailer1.service.govdelivery.com >> fl49.orangetalon.info >> pollux.carespecial.info >> >> into a program to remove subdomains down to domain.tld : >> >> awk 'FS="." { print $(NF-1)"."$NF }' >> >> and get the first line doubled rather than processed like the other lines: >> >> rm90.steampick.info.rm90.steampick.info >> lanejive.info >> govdelivery.com >> orangetalon.info >> carespecial.info >> >> thanks >> Len >> >> _______________________________________________ >> 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" >> >> > >How about: > > awk -F. '{ print $(NF-1)"."$NF }' that works, thanks Len From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 17:12:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73DF71065672 for ; Fri, 13 Aug 2010 17:12:04 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 43EC18FC15 for ; Fri, 13 Aug 2010 17:12:04 +0000 (UTC) Received: (qmail 28195 invoked from network); 13 Aug 2010 17:12:03 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 13 Aug 2010 17:12:03 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OjxnW-0009P2-IB; Fri, 13 Aug 2010 10:12:02 -0700 Received: from d-69-91-159-48.dhcp4.washington.edu ([69.91.159.48]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Fri, 13 Aug 2010 10:12:02 -0700 Message-ID: <4a001956c1cb09bc1b2de566daefef1e.squirrel@www.gull.us> In-Reply-To: <4C64B895.3070708@hdk5.net> References: <3135A83C-6FD9-4C3B-958F-11EE85221061@mac.com> <5304A319-0406-4510-B6B2-8FD609239FF9@cwis.biz> <43a2b1b16a03a5c58dfb7beaadd0c535.squirrel@www.gull.us> <3AB9F23A-B56C-4176-83C9-F248161066B9@cwis.biz> <4C6434E0.20801@hdk5.net> <4C64B895.3070708@hdk5.net> Date: Fri, 13 Aug 2010 10:12:02 -0700 From: "David Brodbeck" To: "Al Plant" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: David Brodbeck , Ryan Coleman , freebsd-questions@freebsd.org Subject: Re: UPS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 17:12:04 -0000 On Thu, August 12, 2010 8:14 pm, Al Plant wrote: >> #3. Thats why setting the bios "not" to self boot would work. (Stopping >> the bios from turning the server on after an outage.) Someone would have >> to check the power status manually before throwing the switch manually >> to make it come up after power has been restored. Also turning servers >> and some desktops off and on is many cases a bad idea. Yeah, that's why I prefaced my original misgivings by asking if this was an unattended system. If someone will be around to push the button, there's no need to worry about bringing the system back up automatically. But if someone's going to have to drive 50 miles on a weekend to do it, automatic start-up is a good idea. ;) Where I work we have most of our systems set to *not* power back up after an outage. This is deliberate; I can't guarantee that the air conditioners will come back on when power is restored, so I need to manually verify that they're working before all that heat-generating equipment is powered back on. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 17:47:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4221B106566B for ; Fri, 13 Aug 2010 17:47:26 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2D7FD8FC15 for ; Fri, 13 Aug 2010 17:47:25 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7DHlNRU071043; Fri, 13 Aug 2010 10:47:23 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C65852B.807@rawbw.com> Date: Fri, 13 Aug 2010 10:47:23 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: Dan Nelson References: <4C656E8F.8090105@rawbw.com> <20100813162429.GE18896@dan.emsphone.com> In-Reply-To: <20100813162429.GE18896@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 17:47:26 -0000 On 08/13/2010 09:24, Dan Nelson wrote: > Try adding -B/usr/lib32 to your first gcc line. The specs file should be > modified to add this automatically when you pass -m32, imho. > Thank you Dan, this flag worked. But I found a strange discrepancy between 32bit and 64bit. When I compile the program below in 64 bit, I get the correct result. With 32 bit executable compiled on 64 bit system like you suggested there is another (wrong) result. On 32 bit system result is also correct, the same as with 64 executable. This is a very strange discrepancy. rm_eo field is zero in the match result which is wrong. I can't think of any explanation for it. FreeBSD-8.1-STABLE Yuri --- program m.c --- #include #include #include void replace_all(char *str, char *pattern, char *replacement) { int res; int off = 0; regex_t re; regmatch_t match; res = regcomp(&re, pattern, REG_EXTENDED); while (off < (int)strlen(str) && regexec(&re, str+off, 1, &match, 0)==0) { printf("match: off=%i so=%i eo=%i\n", off, (int)match.rm_so, (int)match.rm_eo); off += match.rm_eo; } } main() { replace_all("abc-def-fghijkl", "-", "_"); return 0; } --- output of 64 bit executable (gcc -o m m.c) --- match: off=0 so=3 eo=4 match: off=4 so=3 eo=4 --- output of 32 bit executable built on 64 bit system with flags (gcc -B/usr/lib32 -m32 -o m m.c) --- match: off=0 so=3 eo=0 From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 17:58:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9CE0106564A for ; Fri, 13 Aug 2010 17:58:20 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id F04628FC13 for ; Fri, 13 Aug 2010 17:58:19 +0000 (UTC) Received: by ewy26 with SMTP id 26so1757262ewy.13 for ; Fri, 13 Aug 2010 10:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=xEFJOVq8neQ5C0Sw6W9gGaJhQnoq27JOg7NQVyHIyEM=; b=A+Fdzy91DTJq4Llwyg33C87aiZgx+6ClnCVNGpSsBOIEyP2yjCPkaRqC9DEX7I7S2r m95vbXzC0wa7Gk01dMdwNYoihKqUNdF72O3iMzNxKZEsIiD/TfHZL0pJlzY3zaWYIb98 HO/Ang+Se0PxcQziecnOm4I2bkp0RGet0DPdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=WXE0CA30tAcfL4ciinjsWZPdnXIyuH+5nOcLtKSIw9EqPwvqy4a2gNiEiwHPQ8eHgl 2bNt+zoDtB5diOoyx5K389ljVao6SgCXH++UyAlm4tQUbDfmLnCgOmQS+6BuM/asORj1 hBJ+643TE3VYaagbntNbOcU7wSdLpoLKwh+xo= Received: by 10.216.86.15 with SMTP id v15mr1634522wee.9.1281722298534; Fri, 13 Aug 2010 10:58:18 -0700 (PDT) Received: from localhost ([109.169.29.56]) by mx.google.com with ESMTPS id k83sm1745615weq.14.2010.08.13.10.58.15 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 10:58:17 -0700 (PDT) From: Anonymous To: Yuri References: <4C656E8F.8090105@rawbw.com> <20100813162429.GE18896@dan.emsphone.com> <4C65852B.807@rawbw.com> Date: Fri, 13 Aug 2010 21:58:10 +0400 In-Reply-To: <4C65852B.807@rawbw.com> (yuri@rawbw.com's message of "Fri, 13 Aug 2010 10:47:23 -0700") Message-ID: <868w4av1hp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 17:58:20 -0000 Yuri writes: > --- output of 64 bit executable (gcc -o m m.c) --- > match: off=0 so=3 eo=4 > match: off=4 so=3 eo=4 > > --- output of 32 bit executable built on 64 bit system with flags (gcc > -B/usr/lib32 -m32 -o m m.c) --- > match: off=0 so=3 eo=0 I guess machine-dependent headers are involved. $ cc -m32 -B/usr/lib32 a.c $ ./a.out match: off=0 so=3 eo=0 $ ln -s /usr/src/sys/i386/include machine $ cc -m32 -B/usr/lib32 -isystem. a.c $ ./a.out match: off=0 so=3 eo=4 match: off=4 so=3 eo=4 Same thing is happening for mmap() http://docs.freebsd.org/cgi/mid.cgi?20100524.134955.2300883222251175323.okuno.kohji From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 18:01:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 187681065670 for ; Fri, 13 Aug 2010 18:01:03 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A9C1F8FC1C for ; Fri, 13 Aug 2010 18:01:02 +0000 (UTC) Received: by wwb24 with SMTP id 24so179671wwb.31 for ; Fri, 13 Aug 2010 11:01:01 -0700 (PDT) Received: by 10.227.28.223 with SMTP id n31mr1645959wbc.174.1281722461413; Fri, 13 Aug 2010 11:01:01 -0700 (PDT) Received: from antonio.localnet (244.pool85-49-220.dynamic.orange.es [85.49.220.244]) by mx.google.com with ESMTPS id a1sm2547956wbb.2.2010.08.13.11.00.59 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 11:01:00 -0700 (PDT) Message-ID: <4C6587F8.7040102@antonioshome.net> Date: Fri, 13 Aug 2010 19:59:20 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 18:01:03 -0000 Hi all, Now that OpenSolaris is dead [1] I was wondering what the status of Java is in FreeBSD. I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle hands or not? Would it be possible it dissappearing from the ports because of licensing/patent issues? If so, what are the open-source alternatives? Thanks, Antonio [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 18:12:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17AD2106566B for ; Fri, 13 Aug 2010 18:12:17 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 029AC8FC16 for ; Fri, 13 Aug 2010 18:12:16 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7DICGdj076429; Fri, 13 Aug 2010 11:12:16 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C658B00.4050901@rawbw.com> Date: Fri, 13 Aug 2010 11:12:16 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: Anonymous References: <4C656E8F.8090105@rawbw.com> <20100813162429.GE18896@dan.emsphone.com> <4C65852B.807@rawbw.com> <868w4av1hp.fsf@gmail.com> In-Reply-To: <868w4av1hp.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 18:12:17 -0000 On 08/13/2010 10:58, Anonymous wrote: > I guess machine-dependent headers are involved. > > $ cc -m32 -B/usr/lib32 a.c > $ ./a.out > match: off=0 so=3 eo=0 > $ ln -s /usr/src/sys/i386/include machine > $ cc -m32 -B/usr/lib32 -isystem. a.c > $ ./a.out > match: off=0 so=3 eo=4 > match: off=4 so=3 eo=4 > > Same thing is happening for mmap() > http://docs.freebsd.org/cgi/mid.cgi?20100524.134955.2300883222251175323.okuno.kohji > But what is the general solution for this problem? Symbolic link that you created only exists in one local directory. Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 18:33:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55D501065673 for ; Fri, 13 Aug 2010 18:33:34 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 30F688FC17 for ; Fri, 13 Aug 2010 18:33:33 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ojz4O-0005p2-LP for freebsd-questions@freebsd.org; Fri, 13 Aug 2010 11:33:32 -0700 Message-ID: <29431829.post@talk.nabble.com> Date: Fri, 13 Aug 2010 11:33:32 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <86tymyq5bq.fsf@chateau.d.if> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: jaymax36@gmail.com References: <29425269.post@talk.nabble.com> <86tymyq5bq.fsf@chateau.d.if> Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 18:33:34 -0000 telnet 0 smtp is the same as telnet localhost 25=20 or=20 telnet localhost smtp Ashish SHUKLA-6 wrote: >=20 > jaymax writes: >=20 > [...] >=20 >=20 >> % telnet 0 smtp >> =090: servname not supported for ai_socktype >=20 > What according to you 0 is ? >=20 > --=20 > Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F > A4B0 > freebsd.org!ashish | http://people.freebsd.org/~ashish/ >=20 > =E2=80=9CThere was truth and there was untruth, and if you clung to the t= ruth > even against the whole world, you were not mad.=E2=80=9D (George Orwell, > "Nineteen Eighty-Four", 1949) >=20 > =20 >=20 --=20 View this message in context: http://old.nabble.com/Telnet-%3D%3E-servname-= ai_socktype-error-tp29425269p29431829.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 18:55:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D0010656A7 for ; Fri, 13 Aug 2010 18:55:15 +0000 (UTC) (envelope-from nux@li.nux.ro) Received: from uk.nux.ro (uk.nux.ro [85.13.202.104]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDC78FC15 for ; Fri, 13 Aug 2010 18:55:14 +0000 (UTC) Received: by uk.nux.ro (Postfix, from userid 1001) id EC6E6E081; Fri, 13 Aug 2010 20:35:15 +0100 (BST) Received: from uk.nux.ro (localhost [127.0.0.1]) by uk.nux.ro (Postfix) with ESMTP id EB15FE041 for ; Fri, 13 Aug 2010 20:35:15 +0100 (BST) References: <4C6587F8.7040102@antonioshome.net> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: nux@li.nux.ro Cc: FreeBSD Questions Date: Fri, 13 Aug 2010 20:35:15 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 18:55:15 -0000 Antonio Vieiro writes: > Hi all, > > Now that OpenSolaris is dead [1] I was wondering what the status of Java > is in FreeBSD. But there is hope: http://www.h-online.com/open/news/item/Illumos-launched-as-OpenSolaris-deriv ative-1050151.html > > I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle > hands or not? Would it be possible it dissappearing from the ports > because of licensing/patent issues? If so, what are the open-source > alternatives? > > Thanks, > Antonio > > [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > _______________________________________________ > 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 Aug 13 18:57:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD2651065694 for ; Fri, 13 Aug 2010 18:57:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 62CCB8FC12 for ; Fri, 13 Aug 2010 18:57:10 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7DIv8Jd014802; Fri, 13 Aug 2010 20:57:09 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 8821BBA9E; Fri, 13 Aug 2010 20:57:08 +0200 (CEST) Date: Fri, 13 Aug 2010 20:57:08 +0200 From: Roland Smith To: Antonio Vieiro Message-ID: <20100813185708.GA26455@slackbox.erewhon.net> References: <4C6587F8.7040102@antonioshome.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <4C6587F8.7040102@antonioshome.net> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 18:57:11 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > Hi all, >=20 > Now that OpenSolaris is dead [1] I was wondering what the status of Java= =20 > is in FreeBSD. > [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html IMO the "status" of Java is "best to avoid it". Just ask Google. :-) > I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle=20 > hands or not? Depends what you mean by free. It's under the GPLv2, so I think you should = be good wrt copyrights.=20 Patents might be different matter, though! To the best of my knowledge, the= EU law doesn't allow patenting software. But if you really want to know where = you stand you should consult a lawyer who knows Spanish and EU patent law. People in the US could very well be screwed, however. OTOH, Oracle's lawsuit against Google over Android could potentially lead to the patents asserted = in that case being found invalid. 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) --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxllYQACgkQEnfvsMMhpyWBPwCgqSHE7pf9U1dYZi4t4h8GNMDy +6MAn0rfnDFFvHekCDxDgAkJB61miLqo =cRmf -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 19:12:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 365391065673 for ; Fri, 13 Aug 2010 19:12:36 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B49588FC15 for ; Fri, 13 Aug 2010 19:12:35 +0000 (UTC) Received: by bwz20 with SMTP id 20so53663bwz.13 for ; Fri, 13 Aug 2010 12:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/V6vTYtVf9kiSAlJSDnYlzJAa7xyaCiV+H92hiAAlMo=; b=rqgDbdxGIXxEvA8mX7eb+Tq1KGnOYcuBrAEQHwry3wOET6Mx10BR8jIFYeyL1GNNL+ 9k2tdwI48N++/nLPV+wiQXDnlegtd/1lLhua3CBGp13WQF4wQPwocmHv22QBia4ysRwZ T/K/pgDogT/Mmpyx9EMTXzwvoKWDThvoNzFPc= 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=JLvYItT86K/hPc3QUll5wj0AeO6x3Z7nmw/KxbuW4hayEz9hquP1p0kgyaqCQ2Wnnb E24JPWECjTWr7LGWIlzHu3yTvBMccxdIIxpljpI+Q/dCOh2xu2371RGenDEYPIFFltxh HACOaxNwFRUwu7rlpHKevcnIElfW0Wf4pLd/c= MIME-Version: 1.0 Received: by 10.204.54.72 with SMTP id p8mr1000495bkg.163.1281726753139; Fri, 13 Aug 2010 12:12:33 -0700 (PDT) Received: by 10.204.83.29 with HTTP; Fri, 13 Aug 2010 12:12:33 -0700 (PDT) In-Reply-To: References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> Date: Fri, 13 Aug 2010 21:12:33 +0200 Message-ID: From: David DEMELIER To: Victor Ophof Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: AHCI driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 19:12:36 -0000 2010/8/10 Victor Ophof : > > >> -----Oorspronkelijk bericht----- >> Van: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] Namens Roland Smith >> Verzonden: dinsdag 10 augustus 2010 15:14 >> Aan: Victor Ophof >> CC: freebsd-questions@freebsd.org; dick@nagual.nl >> Onderwerp: Re: AHCI driver >> >> On Tue, Aug 10, 2010 at 02:37:42PM +0200, Victor Ophof wrote: >> > >> > Its better to enable, >> > >> > but AD4 can get renamed to ada0 >> >> I think you should change "can" to "will". :-) >> >> > but it's easy to fix >> > you just need to edit the /etc/fstab to point to the newly named drive= s >> .. >> >> Do this _before_ rebooting! When I rebooted into single user mode to >> update my >> laptop running 8.0 to 8.1, I couldn't edit my /etc/fstab, because my / w= at >> mounted read-only, and I could not get it to remount as read/write! I ha= d >> to >> boot with the old kernel (/boot/kernel.old/kernel) to be able to mount >> root as >> read/write and fix etc/fstab! > > There is a trick on the web, > Something with mount -u then mount -a .. but the next link sounds better = :) > http://www.wonkity.com/~wblock/docs/html/ahci.html > > >> Roland >> -- >> R.F.Smith =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.= nl/~rsmith/ >> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated= ] >> pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C32= 1A725) > > _______________________________________________ > 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" > In single-user mode, just use mount -o rw / and it works. I personnaly do this before editing something in single-user mode : # mount -o rw / # mount /var # mount /usr # TERM=3Dvt100 vi /etc/fstab and everything is okay ;-) --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 19:18:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D333A1065670 for ; Fri, 13 Aug 2010 19:18:27 +0000 (UTC) (envelope-from prvs=083438c6c1=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6419C8FC15 for ; Fri, 13 Aug 2010 19:18:27 +0000 (UTC) Received: (qmail 21467 invoked from network); 13 Aug 2010 18:51:46 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 13 Aug 2010 18:51:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding; s=k1008; olt=johnl@user.iecc.com; bh=fmNI9ri6CY33CpX1oFQ4x9QHDFOHWEwgWTXR8dFzEDo=; b=aZ5R85xEC3nVQEafetoacpOwbz+ZH0ubh1pScvMWPZkZi7K3hJ9KbpQbBywWOcUEX5AC4Y5B2iNtqkrr9TlKgJPbab4IUHxT5vYwM0dev27aHGtg3AgRO/0m9xANAAMntCzzhd1QdS2CHrXr1Taus2IEjkFBkDDURAxrqnLEriE= Date: 13 Aug 2010 18:51:46 -0000 Message-ID: <20100813185146.2645.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <201008131601.34182.j.mckeown@ru.ac.za> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Cc: j.mckeown@ru.ac.za Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 19:18:27 -0000 >> Since I will have a need to run this check frequently, any suggestions for >> a better approach are welcome. > >sort -u and comm(1)? sort is O(N log N) while grep is O(N) Which is faster depends on the constant factors in each, but as the data sets get bigger, the log N term will dominate. That is, for small sets of data, I don't know which will be faster, but either will be fast enough so who cares. For large sets of data, the sort will be slow. R's, John From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 19:29:56 2010 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 85F4A1065670 for ; Fri, 13 Aug 2010 19:29:56 +0000 (UTC) (envelope-from crtb@cape.com) Received: from mrelay1.cape.com (mrelay1.cape.com [216.237.97.18]) by mx1.freebsd.org (Postfix) with ESMTP id 636818FC13 for ; Fri, 13 Aug 2010 19:29:56 +0000 (UTC) Received: from tomato (209-213-65-25.meganet.net [209.213.65.25]) by mrelay1.cape.com (Postfix) with ESMTP id DF6FD2BEA36; Fri, 13 Aug 2010 15:13:45 -0400 (EDT) Date: Fri, 13 Aug 2010 15:13:45 -0400 (EDT) From: Chuck Bacon X-X-Sender: crtb@tomato.local To: questions@freebsd.org 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 Cc: Chuck Bacon Subject: apsfilter - hpijs dependence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 19:29:56 -0000 In all FreeBSD-8.* so far, apsfilter can't be installed because of a dependenct on hpijs, apparently through foomatic. Is there a fix? I have no HP printer, so... a workaround? I find cups to be opaque, at my level at least :-( Thanks for previous help and present hope! crtb@cape.com ABHOR SECRECY - DEFEND PRIVACY From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 19:47:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EFAA106564A for ; Fri, 13 Aug 2010 19:47:34 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD0858FC19 for ; Fri, 13 Aug 2010 19:47:33 +0000 (UTC) Received: by wyj26 with SMTP id 26so3810280wyj.13 for ; Fri, 13 Aug 2010 12:47:32 -0700 (PDT) Received: by 10.227.147.198 with SMTP id m6mr1865562wbv.78.1281728850628; Fri, 13 Aug 2010 12:47:30 -0700 (PDT) Received: from antonio.localnet (244.pool85-49-220.dynamic.orange.es [85.49.220.244]) by mx.google.com with ESMTPS id u32sm1811850weq.35.2010.08.13.12.47.28 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 12:47:29 -0700 (PDT) Message-ID: <4C65A0ED.7060909@antonioshome.net> Date: Fri, 13 Aug 2010 21:45:49 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: Roland Smith References: <4C6587F8.7040102@antonioshome.net> <20100813185708.GA26455@slackbox.erewhon.net> In-Reply-To: <20100813185708.GA26455@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 19:47:34 -0000 On 13/08/2010 20:57, Roland Smith wrote: > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: >> I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle >> hands or not? > > Depends what you mean by free. It's under the GPLv2, so I think you should be > good wrt copyrights. I think that the Diablo JVM has Sun source code [1], and this is released under a partner agreement or something, so I imagine Oracle could shut it down as well, right? OpenJDK is under GPLV2, but I'm not sure it covers the whole JVM. I'll try to find out. Thanks, Antonio [1] http://www.freebsdfoundation.org/downloads/java.shtml > > Patents might be different matter, though! To the best of my knowledge, the EU > law doesn't allow patenting software. But if you really want to know where you > stand you should consult a lawyer who knows Spanish and EU patent law. > > People in the US could very well be screwed, however. OTOH, Oracle's lawsuit > against Google over Android could potentially lead to the patents asserted in > that case being found invalid > > Roland From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 19:58:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81A2E106566C for ; Fri, 13 Aug 2010 19:58:03 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 30A018FC0A for ; Fri, 13 Aug 2010 19:58:02 +0000 (UTC) Received: by gyg4 with SMTP id 4so1349256gyg.13 for ; Fri, 13 Aug 2010 12:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=A5deJS2hKnFNW1axQGZpt95AoOif09pxM1AgYK09b2M=; b=ehZ9RI2xtDALr65floDDGyXPcoqKfVW3qwaTp8S0AwYiN87wvUyk2fNAU/2k1ccLBO rW36esFCIpPgkJfy8Yo2CwBC128UFxbGP5M2cjU0y8VyL6mKILkj0etCn3YOM3DReub8 lwsit+36cuMItyGkWFK8SzD6o5fQexOkpY/98= 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=OserM105vu3fCxBizsdSDxuSVoGSZyAyO77wSZ875WpBt2a2yRg5Izz5YjptxE4vUw 8Q4LSRTyERpyO+ppUDviU1gF5/SD/UHq/hvsP63eoVFPrrRSyZ3o3cGJIVaWAWS2Fkej k+Pz89di+PlMBnDiczpXUJoLqniZd8kMntQfU= MIME-Version: 1.0 Received: by 10.150.97.5 with SMTP id u5mr2515069ybb.269.1281729481113; Fri, 13 Aug 2010 12:58:01 -0700 (PDT) Received: by 10.231.196.152 with HTTP; Fri, 13 Aug 2010 12:58:01 -0700 (PDT) In-Reply-To: <20100813185708.GA26455@slackbox.erewhon.net> References: <4C6587F8.7040102@antonioshome.net> <20100813185708.GA26455@slackbox.erewhon.net> Date: Fri, 13 Aug 2010 12:58:01 -0700 Message-ID: From: Kurt Buff To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 19:58:03 -0000 On Fri, Aug 13, 2010 at 11:57, Roland Smith wrote: > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: >> Hi all, >> >> Now that OpenSolaris is dead [1] I was wondering what the status of Java >> is in FreeBSD. >> [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > > IMO the "status" of Java is "best to avoid it". Just ask Google. :-) So, what do you suggest for SSL VPN clients? Some/most/all of the clients for these things are Java-based - well, except for clients running Windows and for which there is (usually) an ActiveX control (shudder.) That's just the most interesting one to me, but OOo also relies on Java for some functionality (thought that's somewhat a Sun/Oracle effort too, and one wonders about its fate also) and there are other applications for which Java is a critical component. Kurt From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 20:14:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABF4D1065695 for ; Fri, 13 Aug 2010 20:14:36 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 7327B8FC15 for ; Fri, 13 Aug 2010 20:14:36 +0000 (UTC) Received: from eco.config (93.97.24.219) by april.london.02.net (8.5.124.10) id 4C656FAD0000B2E5; Fri, 13 Aug 2010 21:14:32 +0100 Message-ID: <4C65A7A7.7040906@onetel.com> Date: Fri, 13 Aug 2010 21:14:31 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Mark Terribile References: <479850.13697.qm@web110302.mail.gq1.yahoo.com> In-Reply-To: <479850.13697.qm@web110302.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Page fault in kernel when using CD, BSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 20:14:36 -0000 Mark Terribile wrote: AMI BIOS. The NB heatsink is barely warm (fan cooled), the not necessarily a good sign, you would get this if the heat from the cpu is not getting transferred to the heatsink. Remove, clean, apply new heat transfer compound, make sure the heatsink is actually seating properly, not getting lodged on something. Chris From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 20:50:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFD131065670 for ; Fri, 13 Aug 2010 20:50:33 +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 5A8388FC14 for ; Fri, 13 Aug 2010 20:50:32 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7DKoQ8M002785; Fri, 13 Aug 2010 22:50:31 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id A0CA3BA9E; Fri, 13 Aug 2010 22:50:26 +0200 (CEST) Date: Fri, 13 Aug 2010 22:50:26 +0200 From: Roland Smith To: Kurt Buff Message-ID: <20100813205026.GA29150@slackbox.erewhon.net> References: <4C6587F8.7040102@antonioshome.net> <20100813185708.GA26455@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 20:50:34 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 13, 2010 at 12:58:01PM -0700, Kurt Buff wrote: > On Fri, Aug 13, 2010 at 11:57, Roland Smith wrote: > > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > >> Hi all, > >> > >> Now that OpenSolaris is dead [1] I was wondering what the status of Ja= va > >> is in FreeBSD. > >> [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > > > > IMO the "status" of Java is "best to avoid it". Just ask Google. :-) >=20 > So, what do you suggest for SSL VPN clients? Some/most/all of the > clients for these things are Java-based - well, except for clients > running Windows and for which there is (usually) an ActiveX control > (shudder.) If I read [2] correctly, isn't SSL VPN supposed to be clientless and work through the browser? [2]: http://www.windowsecurity.com/articles/VPN-Options.html > That's just the most interesting one to me, but OOo also relies on > Java for some functionality (thought that's somewhat a Sun/Oracle > effort too, and one wonders about its fate also) and there are other > applications for which Java is a critical component. According to [3], some OpenOffice functionality depends on Java, but it can= be built without it. I hacked the OOO (2.x IIRC) port to that effect once, but= I deleted it since I didn't use it much. Personally I prefer Emacs, LaTeX and assorted scripting languages. :-) [3]: http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org 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) --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxlsBIACgkQEnfvsMMhpyUregCdEoIsNeHrtlpUEtklLOBiBg6m LkYAn26uewkPn0PHLdAo0o2yEzbBmW08 =vY7P -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm-- From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 21:11:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B9141065674 for ; Fri, 13 Aug 2010 21:11:15 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE1D8FC1B for ; Fri, 13 Aug 2010 21:11:14 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o7DLB8Sb068518; Fri, 13 Aug 2010 14:11:08 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 13 Aug 2010 14:11:08 -0700 (PDT) Date: Fri, 13 Aug 2010 14:11:07 -0700 From: Gary Kline To: Roland Smith Message-ID: <20100813211107.GA53926@thought.org> References: <4C6587F8.7040102@antonioshome.net> <20100813185708.GA26455@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100813185708.GA26455@slackbox.erewhon.net> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.6 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: Antonio Vieiro , FreeBSD Questions Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 21:11:15 -0000 On Fri, Aug 13, 2010 at 08:57:08PM +0200, Roland Smith wrote: > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > > Hi all, > > > > Now that OpenSolaris is dead [1] I was wondering what the status of Java > > is in FreeBSD. > > [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > > IMO the "status" of Java is "best to avoid it". Just ask Google. :-) > > > I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle > > hands or not? > > Depends what you mean by free. It's under the GPLv2, so I think you should be > good wrt copyrights. > > Patents might be different matter, though! To the best of my knowledge, the EU > law doesn't allow patenting software. But if you really want to know where you > stand you should consult a lawyer who knows Spanish and EU patent law. > > People in the US could very well be screwed, however. OTOH, Oracle's lawsuit > against Google over Android could potentially lead to the patents asserted in > that case being found invalid. y're right on your last paragraph. i think/hope that oracle's fist fight leads to their quicker bankruptcy... to which they've been headed for quite some time. > > Roland > -- > 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) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 21:30:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA7C106566B for ; Fri, 13 Aug 2010 21:30:11 +0000 (UTC) (envelope-from hidden.node@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id E589D8FC14 for ; Fri, 13 Aug 2010 21:30:10 +0000 (UTC) Received: by eyh6 with SMTP id 6so1896199eyh.13 for ; Fri, 13 Aug 2010 14:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=nvpPPkVYNNSJ5BOP+atfPtDQk4Wl7EHSFmEQ9x4gwz4=; b=eApFEn/lXdgE49utyJl8jd7jYInb9NftP0Ztf1k4MQwZwZtJseO/xJ08dv1X0HigS8 0hk3/fc3DrMctv5AnTXd9nxZls4AKLkMMo+T8f4DEUPc0eqvwUUokJZB6KkTrhDdAyno HTHrFIf3C4VlTkYIvWDaJFb8ApRmaS0W+g0jA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=NkhGWtJJFej2M413pW7p1GPqhbzKOLixOqW2CVHHP1aUPPky+JKTw2VMefhQvOrDnx DsqFtZQj2EAb133MmJfoS1EwYoE3VrKLCtwwXbmCbNiGfhpQ3TQyDfzbmO96VIJcBerb bYwldIb57K43Iuj5tB8TPEmH1EpADBKNRXbCE= Received: by 10.213.13.65 with SMTP id b1mr1212799eba.14.1281733467366; Fri, 13 Aug 2010 14:04:27 -0700 (PDT) Received: from eternity ([84.51.108.16]) by mx.google.com with ESMTPS id a48sm4934885eei.13.2010.08.13.14.04.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 14:04:26 -0700 (PDT) From: "Mikhail" To: "'FreeBSD Questions'" References: <4C6587F8.7040102@antonioshome.net> <20100813185708.GA26455@slackbox.erewhon.net> <20100813205026.GA29150@slackbox.erewhon.net> In-Reply-To: <20100813205026.GA29150@slackbox.erewhon.net> Date: Sat, 14 Aug 2010 01:04:22 +0400 Message-ID: <001101cb3b2b$1beef9f0$53ccedd0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKNZuV+gKEdLtnb3kiLdYL36nj6NgGEyx+zAgAoKewB75Y21ZEv4VJA Content-Language: ru Subject: RE: Status of Java in FreeBSD? (OpenSolaris is dead) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 21:30:11 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Roland Smith > Sent: Saturday, August 14, 2010 12:50 AM > To: Kurt Buff > Cc: FreeBSD Questions > Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) > > On Fri, Aug 13, 2010 at 12:58:01PM -0700, Kurt Buff wrote: > > On Fri, Aug 13, 2010 at 11:57, Roland Smith wrote: > > > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > > >> Hi all, > > >> > > >> Now that OpenSolaris is dead [1] I was wondering what the status of > Java > > >> is in FreeBSD. > > >> [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > > > > > > IMO the "status" of Java is "best to avoid it". Just ask Google. :-) > > > > So, what do you suggest for SSL VPN clients? Some/most/all of the > > clients for these things are Java-based - well, except for clients > > running Windows and for which there is (usually) an ActiveX control > > (shudder.) > > If I read [2] correctly, isn't SSL VPN supposed to be clientless and work > through the browser? > > [2]: http://www.windowsecurity.com/articles/VPN-Options.html Yeah, but when you want to launch any application through WebVPN (telnet for example) you have to start Java applet. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 21:44:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CED32106564A for ; Fri, 13 Aug 2010 21:44:59 +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 6AE918FC13 for ; Fri, 13 Aug 2010 21:44:59 +0000 (UTC) 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 o7DLiwUs026465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Aug 2010 16:44:58 -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.4/8.14.4) with ESMTP id o7DLiwg1063354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 13 Aug 2010 16:44:58 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7DLivRv063139; Fri, 13 Aug 2010 16:44:57 -0500 (CDT) (envelope-from dan) Date: Fri, 13 Aug 2010 16:44:57 -0500 From: Dan Nelson To: Yuri Message-ID: <20100813214457.GF18896@dan.emsphone.com> References: <4C656E8F.8090105@rawbw.com> <20100813162429.GE18896@dan.emsphone.com> <4C65852B.807@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C65852B.807@rawbw.com> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at 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]); Fri, 13 Aug 2010 16:44:58 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 21:44:59 -0000 In the last episode (Aug 13), Yuri said: > On 08/13/2010 09:24, Dan Nelson wrote: > > Try adding -B/usr/lib32 to your first gcc line. The specs file should > > be modified to add this automatically when you pass -m32, imho. > > Thank you Dan, this flag worked. > > But I found a strange discrepancy between 32bit and 64bit. > When I compile the program below in 64 bit, I get the correct result. > With 32 bit executable compiled on 64 bit system like you suggested > there is another (wrong) result. On 32 bit system result is also > correct, the same as with 64 executable. > > This is a very strange discrepancy. rm_eo field is zero in the match > result which is wrong. I can't think of any explanation for it. I think Anonymous is right, and that it's due to the /usr/include headers on amd64 not being 32-bit-mode aware. So you end up with some structure members being sized for 64-bit machines instead of 32-bit. I bet struct regex_t on your cross-compiled program is the same size as your native 64-bit program, where it should match your 32-bit program instead. I took that "-B /usr/lib32" flag from /usr/src/Makefile.inc1 , where it builds the lib32 compat libraries, and it looks like it also temporarily installs a full 32-bit include directory and compiles against that with "-iprefix ${LIB32TMP}/usr/" . You may have to install a full 32-bit tree somewhere and chroot to it to build, or look more closely at how buildworld compiles the lib32 stuff and mimic that, or submit patches to the base include files that make them 32 and 64-bit compatible depending on compiler flags. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 22:13:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7869F1065675 for ; Fri, 13 Aug 2010 22:13:38 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42FEF8FC19 for ; Fri, 13 Aug 2010 22:13:38 +0000 (UTC) Received: by iwn10 with SMTP id 10so293777iwn.13 for ; Fri, 13 Aug 2010 15:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=wWslDZcfAv+TZMzjihz1yalSFF51htkthuu/y8RM4xY=; b=IBgJRq4SmkQSkp1TF0O2onKmxbSp3MugkpsYywBuvFldx0f9j9VN90zLiKCzO598m8 ucrpvQ9WM8gYpF0u/NnL7ZdfZcPG3ncCrmzxKrMFxogeAIP2XbWPP3v8oHNl9kI2d6LI 4L7eu68V9ZVAXEWqdcXnbel1NXMm2lGiQTfl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RNErcNdQRtjh3k2BNhU1N8D8qG38u7eDLizHoTGY5wpt7kb6/ODPmwFfOTdiqxo2zU g7lhr47HVzrdYtiSKiG67qw6glqGQN/LDlpwhLR5wWLBcpOPG9vFvr9edTMcdJ/6ivPp ax7ElXpVjmeTCb8JUw4SiMwVmlbdird3azmlk= MIME-Version: 1.0 Received: by 10.231.192.80 with SMTP id dp16mr2411722ibb.39.1281737617597; Fri, 13 Aug 2010 15:13:37 -0700 (PDT) Received: by 10.231.145.21 with HTTP; Fri, 13 Aug 2010 15:13:37 -0700 (PDT) Date: Fri, 13 Aug 2010 15:13:37 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Favorite terminal software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 22:13:38 -0000 In the past, I've used TeraTerm Pro with SSH (since it's free and seems to work just fine), but I wanted to see if anyone had any other recommendations for terminal software they like. I'd like it to be free, but if you've got something you really like that costs a few bucks, I'm O.K. with that too. Suggestions??? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 22:22:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A3A1065672 for ; Fri, 13 Aug 2010 22:22:58 +0000 (UTC) (envelope-from hidden.node@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECB68FC14 for ; Fri, 13 Aug 2010 22:22:57 +0000 (UTC) Received: by ewy26 with SMTP id 26so1917247ewy.13 for ; Fri, 13 Aug 2010 15:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=EVycvYH5N+BL0P4PnfWgE4AHn+iIs98gw8E5/GwMfao=; b=xenFutY1R2CZoF++Cubg/yiLXJhIMtysWZ8Qy0/l8SFwMBs7yd7xYG+TgeB1bW9zY8 evz7NoLwaMygkVT1WVc0nB/XJv17VgfOSbAeb/q8aw5ZXXi1japT1JC1umEUsajwFL5Y xqjGuz9x3nBTC4zKVReJMdCKR1I2VNDjUuviA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=sxqw3BHjb+4ZBZN+F6NmjhM778X3X7OKJ3KFGdPDsJnqb586I1TdLJ+uqtOApEOjzm q9JnsVdNM74tHevaDGF0eNorxQMKkHJ8USJ77aahR4uzBMWdbG3s8LaGFZD025C3Nvaq oxn3epvYnB7ar7vZ25He1a5P9p3l49pgT0oHE= Received: by 10.213.47.70 with SMTP id m6mr2135519ebf.63.1281738176478; Fri, 13 Aug 2010 15:22:56 -0700 (PDT) Received: from eternity ([84.51.108.16]) by mx.google.com with ESMTPS id z55sm5035484eeh.21.2010.08.13.15.22.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 15:22:52 -0700 (PDT) From: "Mikhail" To: References: In-Reply-To: Date: Sat, 14 Aug 2010 02:22:49 +0400 Message-ID: <000001cb3b36$11276ba0$337642e0$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLWWCCg5G/A8EL4xKfXEJaP4QurnZDJuuZQ Content-Language: ru Subject: RE: Favorite terminal software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 22:22:59 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Ed Flecko > Sent: Saturday, August 14, 2010 2:14 AM > To: freebsd-questions@freebsd.org > Subject: Favorite terminal software? > > In the past, I've used TeraTerm Pro with SSH (since it's free and > seems to work just fine), but I wanted to see if anyone had any other > recommendations for terminal software they like. > > I'd like it to be free, but if you've got something you really like > that costs a few bucks, I'm O.K. with that too. A lot of people use PuTTY (or KiTTY, fork of PuTTY). SecureCRT is very popular also because of scripting/tabs support, but it's costly. From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 22:28:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E51710656A3 for ; Fri, 13 Aug 2010 22:28:02 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 142828FC16 for ; Fri, 13 Aug 2010 22:28:01 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 894F8205D28A for ; Fri, 13 Aug 2010 15:28:01 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id o1w2c9Ah2e5t for ; Fri, 13 Aug 2010 15:28:01 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id 537E8205D282 for ; Fri, 13 Aug 2010 15:28:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 2414F689478ED; Fri, 13 Aug 2010 15:28:01 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uUlWdylOFd7u; Fri, 13 Aug 2010 15:28:01 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id EFF56689478E2; Fri, 13 Aug 2010 15:28:00 -0700 (PDT) Date: Fri, 13 Aug 2010 15:28:00 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20100813222800.GA8471@ayn.mi.celestial.com> 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.19 OpenPKG/% (2009-01-05) Subject: Re: Favorite terminal software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 22:28:02 -0000 On Fri, Aug 13, 2010, Ed Flecko wrote: >In the past, I've used TeraTerm Pro with SSH (since it's free and >seems to work just fine), but I wanted to see if anyone had any other >recommendations for terminal software they like. > >I'd like it to be free, but if you've got something you really like >that costs a few bucks, I'm O.K. with that too. > >Suggestions??? I do the vast majority of my work with ssh and xterm, only using putty, gnome-terminal, etc. when testing terminal applications. FWIW, I just did some testing today with the iSSH App on an iPad, and it works reasonably well connecting to a variety of *nix servers. I do have clients connecting to FilePro applications using the PowerTerm program from Ericom, mostly because they want something that does a good SCO emulation as FilePro's support for xterm is somewhat poor (which I'm working on now fix the termcap :-). Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 politics, as a practice, whatever its professions, has always been the systematic organization of hatreds. -- Heny Adams From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 22:58:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 647851065674 for ; Fri, 13 Aug 2010 22:58:02 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1C28FC0A for ; Fri, 13 Aug 2010 22:58:02 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7DMvhj7031742; Fri, 13 Aug 2010 15:57:43 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C65CDE7.5010001@rawbw.com> Date: Fri, 13 Aug 2010 15:57:43 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: Dan Nelson References: <4C656E8F.8090105@rawbw.com> <20100813162429.GE18896@dan.emsphone.com> <4C65852B.807@rawbw.com> <20100813214457.GF18896@dan.emsphone.com> In-Reply-To: <20100813214457.GF18896@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 13 Aug 2010 22:58:02 -0000 On 08/13/2010 14:44, Dan Nelson wrote: > I think Anonymous is right, and that it's due to the /usr/include headers on > amd64 not being 32-bit-mode aware. So you end up with some structure > members being sized for 64-bit machines instead of 32-bit. I bet struct > regex_t on your cross-compiled program is the same size as your native > 64-bit program, where it should match your 32-bit program instead. I took > that "-B /usr/lib32" flag from /usr/src/Makefile.inc1 , where it builds the > lib32 compat libraries, and it looks like it also temporarily installs a > full 32-bit include directory and compiles against that with "-iprefix > ${LIB32TMP}/usr/" . You may have to install a full 32-bit tree somewhere > and chroot to it to build, or look more closely at how buildworld compiles > the lib32 stuff and mimic that, or submit patches to the base include files > that make them 32 and 64-bit compatible depending on compiler flags. > I think the best way is to modify headers to depend on compiler flags (__i386/__amd64). This makes such cross compile seamless for all future attempts to cross compile. The problem I see is that there are currently 83 includes of headers from outside the machine/ hierarchy. cd /usr/include && grep -r " #else #include #endif ... Or rather pointing to some location (if any) where 32 bit headers would normally reside on amd64 host. Do you think this is reasonable? Should I make a patch, or maybe further discuss on hackers@? Yuri From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 23:07:41 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ECB2106564A for ; Fri, 13 Aug 2010 23:07:41 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 377AC8FC1F for ; Fri, 13 Aug 2010 23:07:40 +0000 (UTC) Received: by wyj26 with SMTP id 26so4045008wyj.13 for ; Fri, 13 Aug 2010 16:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=uXY2IqHjgakKGvSRpPsKlXaLaxnuyaJNAPajVtjzme8=; b=hE5O84A1J1g5a4H0LCLsY1Eg8zhk/q0RFqP78vQPbs1oQlAWBWStYGP5dj37oT0GKA LIl1xCpTB6+wXk8JqCxcvX3VEtf/IgUEuPms7uqFS/UNik6FpMzuayVdCGgqRZbQ6sD/ qXWNwnyNNhNE1Ucx4KtmZxCNO+NtN+F+l5Hxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=RiM0hFdjos4mNgvRCLJMRb2wK6d+C6q1wDCrn3YrG+m6jM8Xy3nrNo5ePDdVZETitF G+Wxs/aqMrBus64KoVLe5xKElEJSdb5qe4dg4GSkT4lZMojNg9DViybCc6QdW2JlBEgq w4HzSj2EoY9Ny/qc5pk7YFljJsoHTMdFbWF5E= MIME-Version: 1.0 Received: by 10.216.154.133 with SMTP id h5mr1792643wek.93.1281740858997; Fri, 13 Aug 2010 16:07:38 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Fri, 13 Aug 2010 16:07:38 -0700 (PDT) Date: Fri, 13 Aug 2010 23:07:38 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: "Andrew J. Caines" Subject: Re: ts_to_ct flood on 8.1-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 23:07:41 -0000 >Since installing 8.1-RC2 and now on up-to-date RELENG_8 I am frequently >getting kern.crit messages like > >ts_to_ct(1281661818.743348859) = [2010-08-13 01:10:18] > >and have been unable so far to determine their origin or purpose. I saw >no such messages while running 7.x or earlier releases. This occurs when the rtc is set, via: atrtc_settime-->clock_ts_to_ct after a verbose boot. I think that someone changed some of the timekeeping code to periodically adjust the value of the rtc if ntp is used to update the system time, machdep.disable_rtc_set=0, and the rtc driver hasn't been disabled: http://svnweb.freebsd.org/viewvc/base?view=revision&revision=208297 This is probably what you are seeing. It should occur every machdep.rtc_save_period seconds. It's probably harmless, unless the adjustments are big or erratic, in which case you may want to check your rtc's battery, or the results of your ntp usage. b. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 01:52:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A2A41065694 for ; Sat, 14 Aug 2010 01:52:08 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id 6609B8FC13 for ; Sat, 14 Aug 2010 01:52:08 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta03.emeryville.ca.mail.comcast.net with comcast id u1rW1e0021afHeLA31s8GR; Sat, 14 Aug 2010 01:52:08 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta17.emeryville.ca.mail.comcast.net with comcast id u1s61e0071cjQTw8d1s7Nr; Sat, 14 Aug 2010 01:52:08 +0000 From: Ryan Coleman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 13 Aug 2010 20:52:06 -0500 Message-Id: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: 5900 RPM drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 01:52:08 -0000 Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I = may need to pinch pennies if I have to finance my next servers out of = pocket. Stupid idea, I know, but I really want to know if there's a = reason to skimp. -- Ryan From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 02:14:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313DF106566B for ; Sat, 14 Aug 2010 02:14:53 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id AC94C8FC13 for ; Sat, 14 Aug 2010 02:14:52 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:e4d7:9c01:5b54:9384] (unknown [IPv6:2002:51af:3dc3:0:e4d7:9c01:5b54:9384]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 6456722 for ; Sat, 14 Aug 2010 04:14:59 +0200 (CEST) Message-ID: <4C65FC18.40801@stillbilde.net> Date: Sat, 14 Aug 2010 04:14:48 +0200 From: "Svein Skogen (Listmail account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> In-Reply-To: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2C1A5022FE6667236337305A" Subject: Re: 5900 RPM drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 02:14:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2C1A5022FE6667236337305A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14.08.2010 03:52, Ryan Coleman wrote: > Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I= may need to pinch pennies if I have to finance my next servers out of po= cket. Stupid idea, I know, but I really want to know if there's a reason = to skimp. They're a little slower, use a whole lot less power (saves pennies per hour), meaning less heat (pennies per hour saved on cooling), less vibrations (increased lifetime, less need to noise-isolate disk setups to avoid vibrations slowing seeks). Unless you _NEED_ the 125mbytes/sec-per-device transfers of the 7200rpm drives (you can live with 100mbytes/sec), then go for the 5900rpm drives.= //Svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =D8stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enig2C1A5022FE6667236337305A 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.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxl/BsACgkQODUnwSLUlKRbdQCggklByd2rQMsbhectVzNzPHzO l2gAoJXSI9SFP6wUVwIGrK4ZtuQahylT =FKr7 -----END PGP SIGNATURE----- --------------enig2C1A5022FE6667236337305A-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 03:37:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18856106566C for ; Sat, 14 Aug 2010 03:37:35 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id BB4BC8FC13 for ; Sat, 14 Aug 2010 03:37:34 +0000 (UTC) Received: by pzk7 with SMTP id 7so1263312pzk.13 for ; Fri, 13 Aug 2010 20:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:organization:references:x-face:x-uptime:x-url :x-operating-system:x-openpgp-id:x-openpgp-fingerprint:x-mailer :x-mail-morse:x-attribution:organisation:date:in-reply-to:message-id :user-agent:face:mime-version:content-type; bh=Yhexdf8nBs4SIcL1B3wx92/qEsbFcvS2YrDIvVs4Wpg=; b=O0YhGio0Af3Twhe5NAD1qlCu+q0oPZtsy0aFHuzyiBUTmB6zOrGRpycNc3rR9wIcWw 15NWyDR5njxHHPbkoij11ELflU6vgX4k6Zj8ErBl/jM1IbJx9KXNdjHA3aZnaXhFKkEK wiX39bPpOu1LTtObKHu+xWyq5ws8XF46n7NS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-operating-system:x-openpgp-id:x-openpgp-fingerprint :x-mailer:x-mail-morse:x-attribution:organisation:date:in-reply-to :message-id:user-agent:face:mime-version:content-type; b=nEJ8J9pWJR0/92yGCdwyBIDamRpgMpPNqZD/j4YJeetzLLDlHLojdDahyTsy+Ft/CU /2lEWqCYQZO867PNiNhkRIAKaeQcHsbjKt9iecGa2BPkY+wIaXuBigrvrcO0B8lhD+kJ BWYpTZkvUVbefw5RjHX0xSrCgs2WYVt+ZKvCU= Received: by 10.114.74.7 with SMTP id w7mr2699376waa.210.1281757054251; Fri, 13 Aug 2010 20:37:34 -0700 (PDT) Received: from chateau.d.if ([122.163.153.240]) by mx.google.com with ESMTPS id c10sm5951484wam.1.2010.08.13.20.37.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 20:37:32 -0700 (PDT) Sender: Ashish SHUKLA Received: from chateau.d.if (chateau.d.if [IPv6:::1]) by chateau.d.if (Postfix) with ESMTP id 6A8D14ACB4; Sat, 14 Aug 2010 09:07:25 +0530 (IST) From: ashish@FreeBSD.org (Ashish SHUKLA) To: jaymax Organization: The FreeBSD Project References: <29425269.post@talk.nabble.com> <86tymyq5bq.fsf@chateau.d.if> <29431829.post@talk.nabble.com> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 8:58AM up 18 mins, 3 users, load averages: 0.23, 0.40, 0.31 X-URL: http://762e5e74.wordpress.com/ X-Operating-System: FreeBSD/FreeBSD 8.1-RELEASE/amd64 X-OpenPGP-ID: E74FA4B0 X-OpenPGP-Fingerprint: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organisation: The FreeBSD Project Date: Sat, 14 Aug 2010 09:07:20 +0530 In-Reply-To: <29431829.post@talk.nabble.com> (jaymax's message of "Fri, 13 Aug 2010 11:33:32 -0700 (PDT)") Message-ID: <86ocd5hnkf.fsf@chateau.d.if> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Cc: freebsd-questions@freebsd.org Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 03:37:35 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable jaymax writes: > telnet 0 smtp > is the same as > telnet localhost 25=20 > or=20 > telnet localhost smtp #v+ % getent hosts 0 0.0.0.0 0 % telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 chateau.d.if ESMTP ^] telnet> quit Connection closed. #v- I wasn't expecting this to even work. I hope this connecting to the wild-ca= rd address only works on the same box. And sorry I didn't know that connecting to 0.0.0.0 actually connects to 127.0.0.1. But its interesting how 'getent hosts' returns an IPv4 address when given a 32-bit number as hostname. =2D-=20 Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ =E2=80=9CA designer knows he has achieved perfection not when there is noth= ing left to add, but when there is nothing left to take away.=E2=80=9D (Antoine= de Saint-Exup=C3=A9ry) --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBCgAGBQJMZg90AAoJEMdGz6nnT6SwhqkP/04RTZ+rSaD6Meo/uwB6PUO0 n9SqmYQfITu9r3pPUVeyz2xg2r3gRil25qSSTI8Rjdm20Qo7YiTxmZQ8xj5IXU8n INklu6CsW+aEYSOn2MYCNm2R25V2UdaTivjys9px05kbCOtuEm7yMFzpOAg9hmCo cCdV81oZgYYRrFKSBMXz75zgjCV4fynlQN/ds/lTNRWGjd4U8a3HRxixWstP7Ug/ klvbTxwuQwZu0fH6cNOMw+ROmsXD3/LdoovxbAnFlM5McUx9K4t9z/UhPGJCRznE ejiMamvq3m0r/M2LgkkUiqpAZvoF4C7uG+HCXPLT4NZrICmMYqEp6/XzbScCoFvT +9V71Xc36sgFWh4f4gxiF4+FjnFDHLGyFWNHFIb45ToSpq2cprGJtRYPb5qEXgPr diyDlP8PmJmYnaNcyoZT9SUyFTVtUPmZsvZ1XpoehiJJnQValbamaGYrLafdCHMD y3FXPy0pEA+wiWMhqrWZyxiY7FCqxi8EmNvp7iwBA9kUTVhX5hz45lcArP9qQ3h1 /lOUyWMvMY56gR6t9Y7JpOdHcWW1X9rcTiOOwY1bKxadLebaMBV75A8zmk2Or0eJ 0XgSyXSJiGHOp1Y271JBb+rLgN9fKKZMMK5EHA7RU6Dttm76gvA3Zfwt8oFx9n4X 4LK1yRAQAWSxXAexbaXe =M1RB -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 03:42:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 643F31065679 for ; Sat, 14 Aug 2010 03:42:18 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 45E2E8FC08 for ; Sat, 14 Aug 2010 03:42:18 +0000 (UTC) Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72]) by qmta11.emeryville.ca.mail.comcast.net with comcast id u2jb1e0031ZMdJ4AB3iHhm; Sat, 14 Aug 2010 03:42:17 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta16.emeryville.ca.mail.comcast.net with comcast id u3iF1e0061cjQTw8c3iGoq; Sat, 14 Aug 2010 03:42:17 +0000 From: Ryan Coleman Mime-Version: 1.0 (Apple Message framework v1081) Date: Fri, 13 Aug 2010 22:42:15 -0500 In-Reply-To: To: FreeBSD Questions References: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> Message-Id: <8EBF0C2A-D766-4489-AC65-F06C620D1B3F@cwis.biz> X-Mailer: Apple Mail (2.1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 5900 RPM drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 03:42:18 -0000 I was actually looking at the Seagate Barracuda model... I'm upgrading = my RAID 5 of 8x1TB to something larger. $135 each: = http://www.newegg.com/Product/Product.aspx?Item=3DN82E16822148487 On Aug 13, 2010, at 10:28 PM, TJ Varghese wrote: >=20 >=20 > On Sat, Aug 14, 2010 at 9:52 AM, Ryan Coleman = wrote: > Can anyone give me any reasons to buy these over 7200RPMs for a RAID? = I may need to pinch pennies if I have to finance my next servers out of = pocket. Stupid idea, I know, but I really want to know if there's a = reason to skimp. >=20 >=20 > Specific models that you're considering would be good. For WD, if = you're referring to the WD's GreenPower (non-RAID Ed), there are 2 = gotchas >=20 > 1) no support for TLER any longer - this IMHO is a deal breaker for = RAID > 2) ridiculously low sleep times (6s) to maximize power savings - in a = server, this would cause extreme load cycles, however this setting can = be set to less extreme numbers using wdidle. >=20 > The main technical criterion for any HDDs to be used in a raid IMO = should be TLER support IMO. Speed/capacity would be secondary concerns. >=20 >=20 > regards, > TJ From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 03:47:06 2010 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 C44D61065673 for ; Sat, 14 Aug 2010 03:47:05 +0000 (UTC) (envelope-from oly562@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99B4E8FC0A for ; Sat, 14 Aug 2010 03:47:05 +0000 (UTC) Received: by pxi17 with SMTP id 17so1264454pxi.13 for ; Fri, 13 Aug 2010 20:47:05 -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=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=rPUFXwzBE17CD8dKn3sLJlTaTvBb+ytOLyfVbaC/hz8jQzGoV05OkNb8qWIBn2pi/S flR/ozfk+71/EpRFszMzKPmURxGMVrYHjPJ0f7l1GdsB8sMZToe+GMeUGWih7Fj2ykIq YnqJjgHoMTJKIXVzZRTCiRPM97KQhxkGYoPy0= 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=LnzhgN7CU+IBVpgCpapXN6d1v9BNG0cEnYD/vy8IVvM0NDp7BXwcD02PX2188w2HjT RI+YEBS+pQW48CMCEZO4fLRN1HmA/ellrVhaP9Nfz5YdNOdhW1u9KMz6PU7SQde5vot9 DG7KNHAmWU2oQWWhv4aLYJBw0NyoSjyn7KPKg= Received: by 10.142.204.17 with SMTP id b17mr2019388wfg.109.1281756223251; Fri, 13 Aug 2010 20:23:43 -0700 (PDT) Received: from [192.168.1.90] (71-83-188-135.dhcp.lnbh.ca.charter.com [71.83.188.135]) by mx.google.com with ESMTPS id q27sm3975170wfc.6.2010.08.13.20.23.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Aug 2010 20:23:41 -0700 (PDT) From: PR To: questions@FreeBSD.org Content-Type: text/plain Date: Fri, 13 Aug 2010 20:23:37 -0700 Message-ID: <1281756217.2231.0.camel@vulcan> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Cc: Subject: test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 03:47:06 -0000 From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 03:57:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51EF3106566B for ; Sat, 14 Aug 2010 03:57:24 +0000 (UTC) (envelope-from tj@tjvarghese.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DCFDE8FC12 for ; Sat, 14 Aug 2010 03:57:23 +0000 (UTC) Received: by bwz20 with SMTP id 20so365458bwz.13 for ; Fri, 13 Aug 2010 20:57:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.148.67 with SMTP id o3mr1267567bkv.208.1281756519096; Fri, 13 Aug 2010 20:28:39 -0700 (PDT) Received: by 10.204.62.133 with HTTP; Fri, 13 Aug 2010 20:28:39 -0700 (PDT) In-Reply-To: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> References: <01DEC02A-DAE7-47B8-AD6C-3CCEFA98F311@cwis.biz> Date: Sat, 14 Aug 2010 11:28:39 +0800 Message-ID: From: TJ Varghese To: Ryan Coleman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: 5900 RPM drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 03:57:24 -0000 On Sat, Aug 14, 2010 at 9:52 AM, Ryan Coleman wrote: > Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I may > need to pinch pennies if I have to finance my next servers out of pocket. > Stupid idea, I know, but I really want to know if there's a reason to skimp. > > Specific models that you're considering would be good. For WD, if you're referring to the WD's GreenPower (non-RAID Ed), there are 2 gotchas 1) no support for TLER any longer - this IMHO is a deal breaker for RAID 2) ridiculously low sleep times (6s) to maximize power savings - in a server, this would cause extreme load cycles, however this setting can be set to less extreme numbers using wdidle. The main technical criterion for any HDDs to be used in a raid IMO should be TLER support IMO. Speed/capacity would be secondary concerns. regards, TJ From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 04:13:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84A5A1065696 for ; Sat, 14 Aug 2010 04:13:12 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id 0C13E8FC1A for ; Sat, 14 Aug 2010 04:13:12 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:e4d7:9c01:5b54:9384] (unknown [IPv6:2002:51af:3dc3:0:e4d7:9c01:5b54:9384]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id 45DD522 for ; Sat, 14 Aug 2010 06:13:18 +0200 (CEST) Message-ID: <4C6617D2.7090100@stillbilde.net> Date: Sat, 14 Aug 2010 06:13:06 +0200 From: "Svein Skogen (Listmail account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1281756217.2231.0.camel@vulcan> In-Reply-To: <1281756217.2231.0.camel@vulcan> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4E0941D031D3C7D1B6EAD5F2" Subject: Re: test X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 04:13:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4E0941D031D3C7D1B6EAD5F2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14.08.2010 05:23, PR wrote: >=20 >=20 epic fail. ;) //Svein --=20 --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg =D8stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ ------------------------------------------------------------ --------------enig4E0941D031D3C7D1B6EAD5F2 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.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxmF9YACgkQODUnwSLUlKQn4gCfQNDnxaHklpKKIPliH7rwivul Dm4AnismYYB7Z9+lzCaqs+PbxtW8izSx =bEn5 -----END PGP SIGNATURE----- --------------enig4E0941D031D3C7D1B6EAD5F2-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 04:34:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E72841065696 for ; Sat, 14 Aug 2010 04:34:01 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id AD86E8FC08 for ; Sat, 14 Aug 2010 04:34:01 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ok8RV-0005uC-1o for freebsd-questions@freebsd.org; Fri, 13 Aug 2010 21:34:01 -0700 Message-ID: <29434929.post@talk.nabble.com> Date: Fri, 13 Aug 2010 21:34:01 -0700 (PDT) From: jaymax To: freebsd-questions@freebsd.org In-Reply-To: <20100813032718.GD18896@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jaymax36@gmail.com References: <29425269.post@talk.nabble.com> <20100813032718.GD18896@dan.emsphone.com> Subject: Re: Telnet => servname ai_socktype error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 04:34:02 -0000 TY Dan, I ran the tcpdump on the lo0 interface, ran telnet as shown below, interestingly only the "telnet localhost 25" produced an output (which I cannot fully decipher, except for the acknowledgment "hand shake" and the checksum, but can't figure out the "drop" or closure event Oddly, "telnet localhost smtp" and "telnet localhost " produced nothing in the dumpfile, just the "localhost: servname not supported for ai_socktype" to stdout [1] mach# telnet localhost > localhost: servname not supported for ai_socktype > [2] mach# telnet localhost smtp > localhost: servname not supported for ai_socktype > [3] mach# telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Connection closed by foreign host. > Only [3] produced a tcpdump output, shown as follows ==> > mach# tcpdump -i lo0 -vvv >> tcpdumpfile > > Ctrl C > 7 packets captured > 7 packets received by filter > 0 packets dropped by kernel > 20:31:41.366749 IP (tos 0x10, ttl 64, id 11415, offset 0, flags [DF], proto TCP (6), length 60) localhost.54336 > localhost.25: S, cksum 0x5c3a (correct), 1583394158:1583394158(0) win 65535 20:31:41.366815 IP (tos 0x0, ttl 64, id 11416, offset 0, flags [DF], proto TCP (6), length 60) localhost.25 > localhost.54336: S, cksum 0xc615 (correct), 2069694587:2069694587(0) ack 1583394159 win 65535 20:31:41.366836 IP (tos 0x10, ttl 64, id 11417, offset 0, flags [DF], proto TCP (6), length 52) localhost.54336 > localhost.25: ., cksum 0x0c01 (correct), 1:1(0) ack 1 win 8960 20:31:41.398688 IP (tos 0x0, ttl 64, id 11421, offset 0, flags [DF], proto TCP (6), length 52) localhost.25 > localhost.54336: F, cksum 0x0be1 (correct), 1:1(0) ack 1 win 8960 20:31:41.398731 IP (tos 0x10, ttl 64, id 11422, offset 0, flags [DF], proto TCP (6), length 52) localhost.54336 > localhost.25: ., cksum 0x0bc2 (correct), 1:1(0) ack 2 win 8960 20:31:41.399162 IP (tos 0x10, ttl 64, id 11423, offset 0, flags [DF], proto TCP (6), length 52) localhost.54336 > localhost.25: F, cksum 0x0bc0 (correct), 1:1(0) ack 2 win 8960 20:31:41.399191 IP (tos 0x0, ttl 64, id 11424, offset 0, flags [DF], proto TCP (6), length 52) localhost.25 > localhost.54336: ., cksum 0x0bc0 (correct), 2:2(0) ack 2 win 8959 Hope you can see something in there, Thanks again PS: Couldn't find anything in the /var/log files either Shouldn't the telnet localhost generate a connection? ------------------------------------------ Dan Nelson wrote: > > In the last episode (Aug 12), jaymax said: >> >> FreeBSD my.domain.com 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 >> >> Testing a Qmail SMTP installation with Telnet >> >> (normally use SSH for networking) >> >> Temporary Telnet set up for testing ==> >> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >> >> Server set up ==> >> >> % telnet localhost 25 >> Trying 127.0.0.1... >> telnet: connect to address 127.0.0.1: Connection reset by peer > > That sounds like you connected but qmail crashed or otherwise uncleanly > closed the socket. Does a tcpdump on lo0 show any interesting activity > when > you try that command? > > -- > Dan Nelson > dnelson@allantgroup.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" > > -- View this message in context: http://old.nabble.com/Telnet-%3D%3E-servname-ai_socktype-error-tp29425269p29434929.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 09:53:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 097CB10656A6 for ; Sat, 14 Aug 2010 09:53:12 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id BBDF58FC08 for ; Sat, 14 Aug 2010 09:53:11 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1OkDQM-0004Jq-LD>; Sat, 14 Aug 2010 11:53:10 +0200 Received: from e178022007.adsl.alicedsl.de ([85.178.22.7] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1OkDQM-0000ic-Gj>; Sat, 14 Aug 2010 11:53:10 +0200 Message-ID: <4C666786.6000205@mail.zedat.fu-berlin.de> Date: Sat, 14 Aug 2010 11:53:10 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100810 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.22.7 Subject: FreeBSD, GPGPU and OpenCL/CUDA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 09:53:12 -0000 Hello. The problem behind the subject is a little bit frustrating, so I do not know were to start. I use FreeBSD at my lab and private for scientific stuff. In most cases, FreeBSD performed sufficiently for tasks we/I had to do. But this picture has changed. Modelling atsrodynamical problems I need to order and setup new multicore computer boxes and the preferred OS in mind was still FreeBSD (even 9.0-CURRENT). We use a highly parallelized and CUDA supported modellig software solving symplectic integrational problems (moving stars and planets and even lost of particles in ring systems like saturn). Getting involved with CUDA, I was looking for solutions and tools for usage with FreeBSD (priority is: we need 64 Bit and due to several issues I had with the main infrastructure, like OpenLDAP, Linuxulator isn't a way to go). Since most of my colleagues overseas now use CUDA-supported GPGPU software with Linux, I was looking for some solutions using this software (written in C++ and Fortran 95) with FreeBSD. First, and this hasn't changed since the last 15 years, FreeBSD lack in support of professional Compiler vendors. Pprtland Group offers only Linux compilers, as far as I know Intel does not offer a native FreeBSD 64 Bit compiler. So we are stuck with gcc and gfortran, but this isn't an matter, if OpenCL/CUDA stuff could be used. But there is then the next problem. It seems that there is no real chance getting support for executing high performance code portions of our software in any way on a graphics card (gpu). Most FreeBSD driver doesn't support any 3D acceleration and as far as I know, the driver's support of 3D is essential for GPGPU usage. I looked for nVidia's native 64 Bit driver for FreeBSD, I found it, was happy having it, but then I realised that obviously CUDA isn't usable with this driver, since the CUDA SDK is not to be ported to FreeBSD and not even to 64 Bit FreeBSDs. Well, FreeBSD doesn't support 64 Bit Linuxulator as far as I know, so there is no chance getting software run in 64 bit environments using OpenCL/CUDA with nVidia GPUs, neither natively under FreeBSD nor with a 64Bit Linuxulator, is this right? I havn't looked deeper into AMDs offerings, but I guess since it's silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. I'm not very close to the GPGPU scene, we even start thinking about porting and developing some mathematical stuff into libraries and thought about OpenCL. Unluckily, in my team I'm the only one utilizing FreeBSD. Maybe someone out here has solved some problems and could email me. Even AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, maybe someone could shed some light on this. Thanks in advance, Oliver From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 10:02:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF2AD1065673 for ; Sat, 14 Aug 2010 10:02:31 +0000 (UTC) (envelope-from berrandonea@yahoo.fr) Received: from n22.bullet.mail.ukl.yahoo.com (n22.bullet.mail.ukl.yahoo.com [87.248.110.139]) by mx1.freebsd.org (Postfix) with SMTP id 25D6F8FC14 for ; Sat, 14 Aug 2010 10:02:30 +0000 (UTC) Received: from [217.12.4.214] by n22.bullet.mail.ukl.yahoo.com with NNFMP; 14 Aug 2010 10:02:30 -0000 Received: from [87.248.110.198] by t1.bullet.ukl.yahoo.com with NNFMP; 14 Aug 2010 10:02:30 -0000 Received: from [127.0.0.1] by omp238.mail.ukl.yahoo.com with NNFMP; 14 Aug 2010 10:02:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 103144.46702.bm@omp238.mail.ukl.yahoo.com Received: (qmail 75414 invoked by uid 60001); 14 Aug 2010 10:02:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1281780149; bh=9yXheq+oUeXLA+t82zpvCSXD+91vXorfFYbbJ5A90lg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hnLcPvLvkZSmStG/w0XptpCVjdkxyxAIOaPotLzJMap6if/2BWBIBvV709URNqXQTHtiF7/z94qOWKVlbSEMfcAbLaJn2EgmHrY7UcmpoZP5ass+Zk3Ud27yDMD94KGvjew1pMtabTS0hQI+ZzfGhRt0i32gsysCyUbmxbYLjVk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=2OeQUzPOUCkg+arygH3+lkYYFpQAj4KZH6ib+Lac/7q5EiBYi5XK1Un/kqQ+Dml+PS3ll56f0eQp+wkbDxEU1yhOhn6eQFlFd/UUe0776MN62OnXr9ayAdfTOfOkcp2BlTfi1q19skSkgBqn2evZwlmiaiXuYmyhs5/l9qJeJoE=; Message-ID: <782917.75146.qm@web24605.mail.ird.yahoo.com> X-YMail-OSG: gj4UDBcVM1nSHJnJO1MyOv.kucpgxW1pBX.0gxMu11kVNJg 7zyXCEH3m9T6_aB5xX3MUp4NMHcqoZnnVQItQTrCnHLrhGjbb1Kb3f1PXKwl Smt9GS0qr4OSQT31BuRNu0OnZYyx9LDFHPp1Dbc56nZNmgqVIxHHesIslXyv 8sPLY8q3GU7nU1K3bkR4yEnhll7xQ5Fh28pdE6Z7UqPn6CM7EWJIJzLhPGmO h2Gesq58toYFADFPe11OTnVmSuOBZNGZd.nrrdAOOILnK7k0tFOZmLOfqfk7 9TMGAiEmuPxHkLVfNTEwmqO9GUxj7B9MpkEE- Received: from [93.0.168.242] by web24605.mail.ird.yahoo.com via HTTP; Sat, 14 Aug 2010 10:02:29 GMT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <201008121552.o7CFqOIM097376@lurza.secnetix.de> Date: Sat, 14 Aug 2010 10:02:29 +0000 (GMT) From: Brice ERRANDONEA To: freebsd-questions@FreeBSD.ORG In-Reply-To: <201008121552.o7CFqOIM097376@lurza.secnetix.de> 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 Cc: Subject: Re : Re : Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 10:02:32 -0000 =0A=0AI had a break with this yesterday. I've just tried your suggestions. = It still =0Adoesn't work but the error message has changed.=0A=0A>> On the = host when the jail is running :=0A>>=0A>> FreeBSD# jls=0A>> JID IP Addr= ess Hostname Path=0A>> 1 93.0.168.242 Ma= Prison /usr/prison=0A>> FreeBSD# ifconfig=0A>> rl0: fl= ags=3D8843 metric 0 mtu 1500=0A>> = options=3D8=0A>> ether 00:11:09:15:72:6a=0A>> = inet 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255=0A>> i= net 93.0.168.242 netmask 0xffffffff broadcast 93.0.168.242=0A>> medi= a: Ethernet autoselect (100baseTX )=0A=0A> Where did you get t= hat second IP address from? Did you just=0A> add it manually? Or is that = the address that your gateway=0A> (DSL router, whatever) got assigned from = your ISP?=0A=0AI added it manually in rc.conf (on the host) :=0A=0Ajail_ser= ver_rootdir=3D"/usr/prison"=0Ajail_server_hostname=3D"MaPrison"=0Ajail_serv= er_ip=3D"93.0.168.242" =0A=0AI choosed it because that's my computer's publ= ic ip, at least according to this =0Awebsite : http://whatismyipaddress.com= /=0A=0A> I assume that IP address is not really routed to your host,=0A> bu= t that NAT (Network Address Translation) is used on your=0A> router. So yo= u cannot use that address on the host.=0A> (If that's not true, please exla= in the structure of your=0A> network in more detail.)=0A=0AMy network is ve= ry simple. I've got a kind of modem provided by my phone =0Acompany. It's c= alled a "neufbox" and acts as a gateway. Its address is =0A192.168.1.1. Thi= s "neufbox" is connected to :=0A=0A- the phone network=0A- a phone=0A- the = FreeBSD computer through an ethernet wire=0A- two other computers via wifi= =0A=0AWhen I browse address 192.168.1.1 with firefox, I can see a page tell= ing this =0Athe neufbox, that internet and the phone are working, that the = tv is not =0Aconnected (that's true) and that it's public ip address is 93.= 0.168.242. It also =0Agives its MAC address and various other infos.=0A=0A>= So, if my assumptions are true, you must use the address=0A> 192.168.1.38 = for your jail. =0A=0AOK. In /etc/rc.conf, I changed this line (see above) := =0Ajail_server_ip=3D"198.168.1.38"=0A=0A> Make sure that DNS is working=0A= > inside the jail ... It should be sufficient to copy=0A> /etc/resolv.conf= from the host to /usr/prison/etc/resolv.conf=0A=0A/etc/resolv.conf only co= ntains this single line : nameserver 192.168.1.1=0A=0AI placed a copy of th= is file in the jail.=0A=0AAfter these changes and a complete reboot, I laun= ched the jail and tried a =0Aportsnap fetch :=0A=0AFreeBSD# /etc/rc.d/jail = onestart server=0AConfiguring jails:. =0AStarting jails: = MaPrison. =0AFreeBSD# jls =0A JID I= P Address Hostname Path=0A 1 192.168.1.38 = MaPrison /usr/prison=0AFreeBSD# jexec 1 portsnap fetc= h =0ALooking up portsnap.FreeBSD.org mirror= s... =0A/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:= 1699: =0Ainternal_send: 192.168.1.1#53: Invalid argument = =0A=0A/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c= :1699: =0Ainternal_send: 192.168.1.1#53: Invalid =0Aargument = =0A=0Anone =0Afound. = = =0A =0AFetching public key from portsnap.FreeBSD.org... =0Afailed. = =0A=0ANo mirrors remaining, giving =0Aup. = =0A=0AFreeBSD#=0A=0ATh= en, firefox (on the host) was no longer able to browse. I tried this on the= =0Ahost :=0A=0AFreeBSD# ping www.freebsd.org=0Aping: cannot resolve www.fr= eebsd.org: Host name lookup failure=0A=0AIn other words, it appeared that D= NS was no longer working, even on the host.=0A=0AI rebooted again. This tim= e, I didn't launch the jail. ping and Firefox worked =0Aperfectly well on t= he host as they had always did before.=0A=0A> If it still doesn't work: Ar= e you using any packet filter=0A> (ipfw, ipf, pf)? If so, please show the = complete list of=0A> rules.=0A=0ANo, I don't. You told me it was not necess= ary.=0A=0A> Otherwise, it might help to run tcpdump(1) on the host, so=0A> = you can see the actual packets that are transmitted and=0A> received.=0A=0A= Here's what tcpdump says when the jail is NOT running (but Firefox is) :=0A= =0AFreeBSD# tcpdump=0Atcpdump: verbose output suppressed, use -v or -vv for= full protocol decode=0Alistening on rl0, link-type EN10MB (Ethernet), capt= ure size 96 bytes=0A09:08:50.300910 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 263=0A09:08:50.301378 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 335=0A09:08:50.301822 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 331=0A09:08:50.302275 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 311=0A09:08:50.302933 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 343=0A09:08:50.303485 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 325=0A09:08:50.303938 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 327=0A09:08:50.304383 IP neufbox.32774 > 239.255.255.250.1900= : UDP, length 327=0A09:08:50.858573 IP FreeBSD.22077 > neufbox.domain: 2444= 5+ PTR? =0A250.255.255.239.in-addr.arpa. (46)=0A09:08:50.906882 IP neufbox.= domain > FreeBSD.22077: 24445 NXDomain 0/1/0 (103)=0A09:08:50.917164 IP Fre= eBSD.59750 > neufbox.domain: 24446+ PTR? =0A1.1.168.192.in-addr.arpa. (42)= =0A09:08:50.918253 IP neufbox.domain > FreeBSD.59750: 24446* 1/0/0 PTR[|dom= ain]=0A09:08:51.917971 IP FreeBSD.32837 > neufbox.domain: 24447+ PTR? =0A38= .1.168.192.in-addr.arpa. (43)=0A09:08:51.918870 IP neufbox.domain > FreeBSD= .32837: 24447* 1/0/0 (64)=0A^C=0A14 packets captured=0A14 packets received = by filter=0A0 packets dropped by kernel=0AFreeBSD#=0A=0AThen, I started the= jail. Firefox immediatly stopped being able to browse =0Awebsites. I tried= a tcpdump on the host while running portsnap fetch in the jail =0A:=0A=0AF= reeBSD# tcpdump=0Atcpdump: verbose output suppressed, use -v or -vv for ful= l protocol decode=0Alistening on rl0, link-type EN10MB (Ethernet), capture = size 96 bytes=0A09:43:50.333169 IP 192.168.1.1.32774 > 239.255.255.250.1900= : UDP, length 263=0A09:43:50.333621 IP 192.168.1.1.32774 > 239.255.255.250.= 1900: UDP, length 335=0A09:43:50.334064 IP 192.168.1.1.32774 > 239.255.255.= 250.1900: UDP, length 331=0A09:43:50.334499 IP 192.168.1.1.32774 > 239.255.= 255.250.1900: UDP, length 311=0A09:43:50.334966 IP 192.168.1.1.32774 > 239.= 255.255.250.1900: UDP, length 343=0A09:43:50.335402 IP 192.168.1.1.32774 > = 239.255.255.250.1900: UDP, length 325=0A09:43:50.335944 IP 192.168.1.1.3277= 4 > 239.255.255.250.1900: UDP, length 327=0A09:43:50.336560 IP 192.168.1.1.= 32774 > 239.255.255.250.1900: UDP, length 327=0A09:44:20.333341 IP 192.168.= 1.1.32774 > 239.255.255.250.1900: UDP, length 263=0A09:44:20.333807 IP 192.= 168.1.1.32774 > 239.255.255.250.1900: UDP, length 335=0A09:44:20.334246 IP = 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length 331=0A09:44:20.334684= IP 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length 311=0A09:44:20.33= 5165 IP 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length 343=0A09:44:2= 0.335603 IP 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length 325=0A09:= 44:20.336040 IP 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length 327= =0A09:44:20.336480 IP 192.168.1.1.32774 > 239.255.255.250.1900: UDP, length= 327=0A^C=0A16 packets captured=0A16 packets received by filter=0A0 packets= dropped by kernel=0AFreeBSD#=0A=0AIf you compare these two tcpdump, you ca= n see that the word "neufbox" is =0Areplaced by 192.168.1.1. It confirms th= at DNS is no longer running.=0A=0ANot easy...=0A=0ABrice=0A=0A=0A=0A_______= _________________________=0ADe : Oliver Fromme =0A= =C0 : freebsd-questions@FreeBSD.ORG; berrandonea@yahoo.fr=0AEnvoy=E9 le : J= eu 12 ao=FBt 2010, 17h 52min 24s=0AObjet : Re: Re : Re : How to connect a j= ail to the web ?=0A=0ABrice ERRANDONEA wrote:=0A> On= the host, when the jail is not running :=0A> =0A> %ifconfig=0A> rl0: flags= =3D8843 metric 0 mtu 1500=0A> = options=3D8=0A> ether 00:11:09:15:72:6a=0A> in= et 192.168.1.38 netmask 0xffffff00 broadcast 192.168.1.255=0A> medi= a: Ethernet autoselect (100baseTX )=0A=0AOK, so 192.168.1.38 i= s the only (non-localnet) IP address that=0Ayou have. You should use that = one for your jail.=0A=0A> On the host when the jail is running :=0A> =0A> F= reeBSD# jls=0A> JID IP Address Hostname Path= =0A> 1 93.0.168.242 MaPrison /usr/prison=0A> = FreeBSD# ifconfig=0A> rl0: flags=3D8843 metric 0 mtu 1500=0A> options=3D8=0A> ether = 00:11:09:15:72:6a=0A> inet 192.168.1.38 netmask 0xffffff00 broadcas= t 192.168.1.255=0A> inet 93.0.168.242 netmask 0xffffffff broadcast = 93.0.168.242=0A> media: Ethernet autoselect (100baseTX )=0A=0AWhere did you get that second IP address from? Did you just=0Aadd = it manually? Or is that the address that your gateway=0A(DSL router, whate= ver) got assigned from your ISP?=0A=0AI assume that IP address is not reall= y routed to your host,=0Abut that NAT (Network Address Translation) is used= on your=0Arouter. So you cannot use that address on the host.=0A(If that'= s not true, please exlain the structure of your=0Anetwork in more detail.)= =0A=0ASo, if my assumptions are true, you must use the address=0A192.168.1.= 38 for your jail. Make sure that DNS is working=0Ainside the jail ... It = should be sufficient to copy=0A/etc/resolv.conf from the host to /usr/priso= n/etc/resolv.conf=0A=0AIf it still doesn't work: Are you using any packet = filter=0A(ipfw, ipf, pf)? If so, please show the complete list of=0Arules.= =0A=0AOtherwise, it might help to run tcpdump(1) on the host, so=0Ayou can = see the actual packets that are transmitted and=0Areceived.=0A=0ABest regar= ds=0A Oliver=0A=0A-- =0AOliver Fromme, secnetix GmbH & Co. KG, Marktplatz= 29, 85567 Grafing b. M.=0AHandelsregister: Registergericht Muenchen, HRA 7= 4606, Gesch=E4ftsfuehrung:=0Asecnetix Verwaltungsgesellsch. mbH, Handelsre= gister: Registergericht M=FCn-=0Achen, HRB 125758, Gesch=E4ftsf=FChrer: Ma= ik Bachmann, Olaf Erb, Ralf Gebhart=0A=0AFreeBSD-Dienstleistungen, -Produkt= e und mehr: http://www.secnetix.de/bsd=0A=0A"C++ is the only current langu= age making COBOL look good."=0A -- Bertrand Meyer=0A________________= _______________________________=0Afreebsd-questions@freebsd.org mailing lis= t=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubs= cribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A= =0A=0A From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 11:13:50 2010 Return-Path: Delivered-To: freebsd-questions@FREEBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23FED10656A5 for ; Sat, 14 Aug 2010 11:13:50 +0000 (UTC) (envelope-from "") Received: from smtp.ufl.edu (smtp02.osg.ufl.edu [128.227.74.165]) by mx1.freebsd.org (Postfix) with ESMTP id B7AB68FC21 for ; Sat, 14 Aug 2010 11:13:49 +0000 (UTC) Received: from listserv-prod01.osg.ufl.edu (lists.ufl.edu [128.227.74.150]) by smtp.ufl.edu (8.14.0/8.14.0/3.0.0) with ESMTP id o7E9K7nG030997 for ; Sat, 14 Aug 2010 05:20:08 -0400 Date: Sat, 14 Aug 2010 05:20:07 -0400 From: "LISTS.UFL.EDU LISTSERV Server (15.5)" To: freebsd-questions@FREEBSD.ORG Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="BLUGcMNZOUaPMEQKUTYXHYHBPZSNbX" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-08-14_02:2010-08-14, 2010-08-14, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ndrscore=0 ipscore=0 adjustscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-1005130000 definitions=main-1008140014 X-Spam-Level: * X-UFL-Spam-Level: * Cc: Subject: Rejected posting to RECMGMT-L@LISTS.UFL.EDU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 11:13:50 -0000 --BLUGcMNZOUaPMEQKUTYXHYHBPZSNbX You are not authorized to send mail to the RECMGMT-L list from your freebsd-questions@FREEBSD.ORG account. You might be authorized to post to the list from another account, or perhaps when using another mail program configured to use a different email address. However, LISTSERV has no way to associate this other account or address with yours. If you need assistance or if you have any questions regarding the policy of the RECMGMT-L list, please contact the list owners at RECMGMT-L-request@LISTS.UFL.EDU. --BLUGcMNZOUaPMEQKUTYXHYHBPZSNbX Content-Type: message/rfc822 Return-Path: Received: from freebsd.org ([118.69.71.61]) by listserv-prod01.osg.ufl.edu (8.13.8/8.13.8/2.3.0) with ESMTP id o7E9K4wj000792 for ; Sat, 14 Aug 2010 05:20:05 -0400 Message-Id: <201008140920.o7E9K4wj000792@listserv-prod01.osg.ufl.edu> From: freebsd-questions@freebsd.org To: recmgmt-l@lists.ufl.edu Subject: Mail System Error - Returned Mail Date: Sat, 14 Aug 2010 16:19:53 +0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List archives at http://lists.ufl.edu/archives/recmgmt-l.html Contact RECMGMT-L-REQUEST@lists.ufl.edu for assistance To unsubscribe from this list, click the below link. If not already present, place UNSUBSCRIBE RECMGMT-L or UNSUB RECMGMT-L in the body of the message. mailto:listserv@lists.ufl.edu?body=unsubscribe%20RECMGMT-L --BLUGcMNZOUaPMEQKUTYXHYHBPZSNbX-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 11:34:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B516106566C for ; Sat, 14 Aug 2010 11:34:43 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id B97E38FC17 for ; Sat, 14 Aug 2010 11:34:42 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmAaANITZkxbseKd/2dsb2JhbACTNIUHiAlyuyuFOwSEX4Qg Received: from 157.226-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.226.157]) by relay.skynet.be with ESMTP; 14 Aug 2010 13:05:43 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id o7EB5gAc002279; Sat, 14 Aug 2010 13:05:42 +0200 (CEST) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Sat, 14 Aug 2010 13:05:35 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; i386; ; ) References: <4C656E8F.8090105@rawbw.com> <20100813214457.GF18896@dan.emsphone.com> <4C65CDE7.5010001@rawbw.com> In-Reply-To: <4C65CDE7.5010001@rawbw.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2428998.h2Tug630hM"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201008141305.42157.tijl@coosemans.org> Cc: Yuri Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 11:34:43 -0000 --nextPart2428998.h2Tug630hM Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Saturday 14 August 2010 00:57:43 Yuri wrote: > Should I make a patch, or maybe further discuss on hackers@? There are patches for CURRENT here: http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html --nextPart2428998.h2Tug630hM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iF4EABEIAAYFAkxmeIUACgkQfoCS2CCgtitekgD9ECHGj1/ZjbQw2ZP56Ef983Hc a77yX7dKjS30VCU2qasA/RvApfnkcjQJXosj7ymVPaSxg6anGy/AwAAMj4NB6NjX =v9GJ -----END PGP SIGNATURE----- --nextPart2428998.h2Tug630hM-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 11:40:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71E261065695 for ; Sat, 14 Aug 2010 11:40:05 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from web110305.mail.gq1.yahoo.com (web110305.mail.gq1.yahoo.com [67.195.8.205]) by mx1.freebsd.org (Postfix) with SMTP id 3A02C8FC12 for ; Sat, 14 Aug 2010 11:40:04 +0000 (UTC) Received: (qmail 94374 invoked by uid 60001); 14 Aug 2010 11:40:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1281786004; bh=kYsVb5SUKP6fELDdtSKR6B31AskJoM5XzFzqWlmqF8o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lUZe1SBrXtM+jUSXmpBQqPwd5eCq6VaZ2ITp5J6qYDCeHl1R6S2+aL+noSalqaay8qa24+Bs2H554uJJWEMvhuMlpEMNajTjPC58jwj0ubZ/Wh0n45pHUWDq5NMUjxcADJ2GYaLw60qskX2OFa2ZiovDK3Rw4rCR6UCJROH+1/w= 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:In-Reply-To:MIME-Version:Content-Type; b=X0arVUW/iAn3Rzxxl6BMVFlEXkCTKQcik85kfIfP5ttcW8mXH5vFXPOmRcEooablHCzISfZANjVvJAC6V/9pIhmSnA//ium3aRtENt6dsQU0Z92BfOY6RMX9JfjBAWVX/LzPqEdyETLW+HKOHrWWLBnw9GpIVTHF3+gFL9A6H6U=; Message-ID: <110835.93936.qm@web110305.mail.gq1.yahoo.com> X-YMail-OSG: PImZzzEVM1kWSz1ZjEST4ZDcoXM5SBuMzdV.6U1soiNQVT3 CgUbnD1YPslFW24CDSK.03uDpIjwnoeN5t6aUQBSIgJVzAuUdwu5NnKXh2Rh lP_HQ9S5rMS4CqUa_2Xnd9DZWYj_PwaHX47NHgEIVVb0NIaU2tDDIx2V4Zyl bOAUKvfJCXjzUsNP.RwNa01FujmUtvzxuW80XkzEp4y1mn0zfiwu97cm3uNs sFoZa44MGnxYsqKjcwX6b5oYV7B5okVgXXrMc.EwcY12Kju42sDvd6fMEg6b KMh_8.UXOw3a10e46eN206SpvWip84ttebJFbElnnccUYqDlSzJt87CSi892 QGXzXQ..gglUd6g-- Received: from [24.228.57.153] by web110305.mail.gq1.yahoo.com via HTTP; Sat, 14 Aug 2010 04:40:03 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Sat, 14 Aug 2010 04:40:03 -0700 (PDT) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20100813222814.C0D0B10656F3@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: CD burning woes, redux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 11:40:05 -0000 Hi, My CD burning woes continue. I've replaced a power supply that was almost certainly marginal (kernel page fault failures during fsck on two drives at once, but not on one at a time) and put a brand new SATA DVD burner on the machine (LITE-ON iHAS124-04). uname -a reports FreeBSD silver.local 7.2-RELEASE FreeBSD 7.2-RELEASE #5: Thu May 20 09:45:44 EDT 2010 toor@silver.local:/usr/obj/usr/src/sys/SMP-GONDOLIN i386 Power supply is a new 400W Rosewill; MB is by Asus, processor is a Core 2 Quad running at (I think) 2.25 GHz. (It's under 2.3.) I added an MSI GeForce video card (X doesn't want to run on the mobo video). There are two SATA disks, both 7200 RPM and neither in service for very long. (I only buy 5-year-warranty drives.) They are in a carrier with a fan and are cool to the touch. The processor cores run between 49 and 57 C; the NB chip has a big copper heat sink with an 8 CFM fan; HS is warm at the bottom and cool at the top. This worked a few weeks ago, when I burned about forty of these "Archival Gold" disks. cdrecord -v reports that they have the same chemistry and write strategy as the TDK cheapies. I've tried with both atapi/cdburn and atapicam/cdrecord. I've tried with both TDK CDs and the expensive archival-grade discs I'm trying to burn. The operation pauses for a very long time, the activity LED on the drive flashes, and I get console messages thus: Aug 14 07:03:50 silver kernel: acd0: TIMEOUT - WRITE_BIG retrying (1 retry left) Aug 14 07:03:50 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:03:51 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:03:51 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:04:31 silver kernel: acd0: WARNING - unknown CMD (0x4a) taskqueue timeout - completing request directly Aug 14 07:04:31 silver kernel: acd0: WARNING - unknown CMD (0x4a) freeing taskqueue zombie request Aug 14 07:04:51 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:04:51 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:08:13 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:08:52 silver kernel: acd0: TIMEOUT - WRITE_BIG retrying (1 retry left) Aug 14 07:08:52 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:08:53 silver kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly Aug 14 07:08:53 silver kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request Aug 14 07:09:33 silver kernel: acd0: WARNING - unknown CMD (0x4a) taskqueue timeout - completing request directly Aug 14 07:09:33 silver kernel: acd0: WARNING - unknown CMD (0x4a) freeing taskqueue zombie request Lather, rinse, repeat. Sometimes it makes it to the end of the disk, more often with the cheap disks that with the $2.00-to-burn-a-coaster archival disks. I get about the same messages whether using atapi or atapicam. I have had the whole machine lock up twice. Once it was apparently a disk system lockup; I could get prompts but nothing would run. It freed up, apparently after something was run, the other time it stopped responding to the console keyboard in any way and nothing moved on the display. The drive seems to only want to write at speed 48. Using cdrecord speed=0 (use slowest available) is runs at the same 48 that it runs at with no speed= . I will be grateful for any suggestions. Mark Terribile materribile@yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 13:13:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B09106566C for ; Sat, 14 Aug 2010 13:13:12 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFE18FC0A for ; Sat, 14 Aug 2010 13:13:11 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1F4A56; Sat, 14 Aug 2010 15:05:04 +0200 Message-ID: <4C669668.5040906@nagual.nl> Date: Sat, 14 Aug 2010 15:13:12 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: ZFS not usable on FreeBSD-8.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: Sat, 14 Aug 2010 13:13:12 -0000 I run FreeBSD-8.1/amd64. I have used ZFS for four years on (Open)Solaris, so I have some experience with it. It always served me very very well. However, I cannot get it to work on my SATA2 drives. At first I thought they'de suffer from something from there OpenSolaris ZFS mirroring. So, I wiped out the drives completely by writing zero's to them. Then I created a ZFS zpool on one drive, destroyed it and created a mirrored zpool on my 2 Tb drives. It seemed OK; files could be written and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, the moment I *do* something to the zpool like "zpool scrub pool" I get a vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be destroyed or exported anymore. It's just a waste. I tested this behaviour on 10 different drives. Four of them brandnew. It happened everytime again. It is not the drives! Booting into OpenSolaris b134 I am perfectly able to create workable ZFS mirrors out of the drives. I can also scrub them ;-) ;-) or whatever io related thing I want to do. This leads me to the conclusion that something is definitely wrong with ZFS in FreeBSD-8.1/amd64. For the moment I created some gmirrors on a couple of drives, but man, how I'd liked to have zpools. They work zo much sweater/easier. Am I alone in these matters? Are there any known issues regarding ZFS. I know there are some in FreeBSD-9 (at least I saw some reports on vdev.bad_label messages) on nabble.com From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 14:36:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E310A10656A3 for ; Sat, 14 Aug 2010 14:36:14 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 68FF88FC16 for ; Sat, 14 Aug 2010 14:36:13 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 18257C; Sat, 14 Aug 2010 16:28:08 +0200 Message-ID: <4C66A9DF.3090509@nagual.nl> Date: Sat, 14 Aug 2010 16:36:15 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: STAT RL+ process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 14:36:15 -0000 I have a process on v1 which shows STAT RL+ Do I understand it correctly that this process is waiting for a lock? And if it does this for quite some time it is probably not getting it and I can wait forever for this process to complete? From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 15:16:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E7C1065675 for ; Sat, 14 Aug 2010 15:16:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 22BD98FC0C for ; Sat, 14 Aug 2010 15:16:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o7EFGXux075870; Sun, 15 Aug 2010 01:16:34 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 15 Aug 2010 01:16:33 +1000 (EST) From: Ian Smith To: Ryan Coleman In-Reply-To: <20100812114047.E33B710656B7@hub.freebsd.org> Message-ID: <20100815002943.W77596@sola.nimnet.asn.au> References: <20100812114047.E33B710656B7@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: UPS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 15:16:40 -0000 In freebsd-questions Digest, Vol 323, Issue 9, Message: 3 On Wed, 11 Aug 2010 15:18:01 -0500 Ryan Coleman wrote: > On Aug 11, 2010, at 3:06 PM, David Brodbeck wrote: > > > On Wed, August 11, 2010 12:25 pm, Ryan Coleman wrote: > >> He thinks that at 500W needed it would give me about 12 minutes on a > >> 1400VA. My consideration is, then, give the server 2 minutes on battery. > >> If full power has not been returned, shut down the server but leave the > >> modem (w/ wireless) and switch running with power for up to 6 hours. > > > > A bit of advice: If this is an unattended system, give some thought to how > > you will boot the server back up if the outage is longer than two minutes > > but shorter than six hours. Most UPS installations have *some* kind of > > race condition issue if power comes back after the servers have begun a > > shutdown, but in your case it's an unusually long window. > > Meaning that my 2-minute window is unusually long? If the UPS can > support the system for 12 minutes, I say give it 20% of the life of > the support because our power outages here are usually spikes that > kill my current web server (but amazingly *not* my file server). In > fact, one of those power fluxes occurred last night. I love storms > for the light shows, but hate them for the toll they take on my > servers. Indeed. Ryan, I'm coming in late but I've read the whole thread, after many people have added useful insights. However I must question your initial power estimate for this server; in your first post you said (cutting a bit): > I am looking at a 1400VA / 980W UPS to run a single server with a > usually not on monitor, a DSL modem and a simple switch. The server > should generate about 330W in power consumption, the monitor another > 50-100, the modem about 10 and the switch about another 10 watts. > > So: > UPS: 1400VA > > Server: 400W (liberal estimate) > Modem: 10W > Switch: 10W > Monitor: 75W > > Total: 495W First, forget the monitor. You said it's usually off anyway, as you'd expect on a server. Plug it into the mains directly as needed, not on the UPS. Or at least use DPMS to suspend it after a minute or so idle. Secondly, get a power meter and actually measure your server running. Unless it's a real monster, it will likely draw less than 200W in normal use, possibly much less if using powerd to moderate CPU speed by load. So I suspect you may get something like 5 times the full-load rated time out of your 1400VA UPS, maybe 20-25 minutes or so. 5 minutes should be a comfortable runtime, to shut it down with 70-80% capacity remaining. Thirdly, I'll second using another UPS (eg 300VA units are cheap) for powering other than your server. That way you can use features of your software (eg NUT) to properly signal the UPS to shutdown (irrevocably) just after your server shuts down, to get proper resumption when power returns. Should you get multiple successive on-battery then on-mains events, good UPSs will delay restarting until there's enough capacity to run another cycle, which time may be tunable for your requirements. > Additionally I spent $34 on a video card today that reduces my power > consumption by 150Watts, resulting in a $13 per month savings in my > powerbill - in MN we have a fixed-rate utility fee structure per > season (winter power costs less than summer, I believe, for whatever > reason) and a $10 mail-in rebate on the card means I will be turning > a net profit in 2 months! -- Ryan Sorry, I don't get why you'd run a video card using in excess of 150W on any server? Or is that for your hot gaming box? :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 16:11:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60D941065679 for ; Sat, 14 Aug 2010 16:11:05 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2548FC20 for ; Sat, 14 Aug 2010 16:11:05 +0000 (UTC) Received: from eagle.syrec.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id o7EGB1hI095698; Sat, 14 Aug 2010 09:11:02 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4C66C015.6010106@rawbw.com> Date: Sat, 14 Aug 2010 09:11:01 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100630 Thunderbird/3.0.5 MIME-Version: 1.0 To: Tijl Coosemans References: <4C656E8F.8090105@rawbw.com> <20100813214457.GF18896@dan.emsphone.com> <4C65CDE7.5010001@rawbw.com> <201008141305.42157.tijl@coosemans.org> In-Reply-To: <201008141305.42157.tijl@coosemans.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 16:11:05 -0000 On 08/14/2010 04:05, Tijl Coosemans wrote: > There are patches for CURRENT here: > http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html > Thank you Tijl, cc-m32-2.diff has some failures: -------------------------- |diff --git a/include/Makefile b/include/Makefile |index 0ba8b17..e01d0a6 100644 |--- include/Makefile.orig |+++ include/Makefile -------------------------- Patching file include/Makefile using Plan A... Hunk #1 succeeded at 114. Hunk #2 succeeded at 136. Hunk #3 succeeded at 147. Hunk #4 failed at 186. Hunk #5 failed at 263. 2 out of 5 hunks failed--saving rejects to include/Makefile.rej Also file sys/amd64/include/_align.h referred from cc-m32-3.diff is missing on my system. Maybe your patch isn't up-to-date? Yuri From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 17:23:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035661065697 for ; Sat, 14 Aug 2010 17:23:07 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id 968798FC0A for ; Sat, 14 Aug 2010 17:23:06 +0000 (UTC) Received: (qmail 76014 invoked by uid 89); 14 Aug 2010 16:53:35 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2010 16:53:35 -0000 Received: (qmail 37154 invoked by uid 89); 14 Aug 2010 13:33:36 -0000 Received: from unknown (HELO www-51-2.vfemail.net) (vfemail@172.16.100.51) by FreeQueue with SMTP; 14 Aug 2010 13:33:36 -0000 Received: (qmail 79028 invoked by uid 89); 14 Aug 2010 13:34:32 -0000 Received: by simscan 1.4.0 ppid: 79021, pid: 79025, t: 0.7012s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.51 with ESMTPA; 14 Aug 2010 13:34:32 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 14 Aug 2010 09:29:54 -0400 To: freebsd-questions@freebsd.org From: peter@vfemail.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20100814172307.035661065697@hub.freebsd.org> Subject: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 17:23:07 -0000 I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. I went to http://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. Is Abuse.net's test adequate to rule out an open mail relay problem? From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 17:59:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECCF81065670 for ; Sat, 14 Aug 2010 17:59:00 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 819BB8FC16 for ; Sat, 14 Aug 2010 17:59:00 +0000 (UTC) Received: by eyh6 with SMTP id 6so2160471eyh.13 for ; Sat, 14 Aug 2010 10:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=bQFOr/1GLBgZon2uIW71aZUKTdIndwiwwH2+dsIirpQ=; b=J8bgnUxPxHnbw898PJqVnuSMphL3lY+wN/QOo5F7khoyGzm0jX7rdtH7mnK/ZdASrO QAW/7o3oNkrDr0T3GXZE/iR9wwxbLcjfOkTzhI/C2BAnJSgNuWSue8hgRXfYQOeTfrJX 8CkXQItrz1dE2gGMl/MFEeyvC0E34FBjTUub4= 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; b=vQ7xPABKuNJs2A0+eANG0knPA1df+S2tAyXAJNQBMORJKTvqH2gzGBCq3RRpzaL5en y6oMOhDqDZF4/dEteEbU1nK+UGpwUsDCdWGIYPFOVt+sd6FxhBZf8zG7nRlgBYWsy2cu nSlxTv+TCqwLvzhaUP+qTqGHj3Zc3K6vfDSS4= MIME-Version: 1.0 Received: by 10.213.47.76 with SMTP id m12mr2911931ebf.43.1281808739433; Sat, 14 Aug 2010 10:58:59 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Sat, 14 Aug 2010 10:58:59 -0700 (PDT) Date: Sat, 14 Aug 2010 10:58:59 -0700 X-Google-Sender-Auth: OGrgZuXcyHejxckXcjT5r61jtTM Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Pop3 Error Question? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 17:59:01 -0000 What would cause this error? einstein:~ chris$ telnet ns1 110 Trying *********... Connected to ns1.******.org. Escape character is '^]'. +OK QPOP (version 2.53) at ns1.*****.org starting. <30383.1281808529@ns1.******.org> user luis +OK Password required for luis. pass ****** -ERR Unable to process From lines (envelopes), change recognition modes. +OK Pop server at ns1.******.org signing off. Connection closed by foreign host. **** for security Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:05:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49125106566C for ; Sat, 14 Aug 2010 18:05:55 +0000 (UTC) (envelope-from hidden.node@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id CABD08FC08 for ; Sat, 14 Aug 2010 18:05:54 +0000 (UTC) Received: by eyh6 with SMTP id 6so2161998eyh.13 for ; Sat, 14 Aug 2010 11:05:53 -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=8umjgna4n/CxM+CZsTknMTfgWia6eDrGmNR+CUclTBY=; b=oXKQEeUFB6MWkPSdUgnbnr43gWg3wBLJmaHIpEg+lAkwZVJucWd+YrOsTLuX7Qm4/J YqYKXYnB3YjPOhOZPtKPs8qYN3c3YDTGn2C8CVfWAaJ+crBct1APMNlIo1WqF99xcP1S CXjNTfWU1ryae6+SHvvKYQ1NjuvF4bk79/VN4= 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=ep78zEjDef6UCDibI4IqSVHIHMo3HNI4qCFum7b21gVVcxQfPGrCLgNKQ5DR5Lpqmk BwR+gpRI1cDGjbJKjwqK4QmwMmaRufJDeJ5QSvr2Ee+qlX0aXCuU46aONfzDnB4J9gyn kpOXgJoGYn/nIR+8Vf69RrXS2C4T8auTd5c4E= Received: by 10.213.22.9 with SMTP id l9mr2902363ebb.78.1281809153549; Sat, 14 Aug 2010 11:05:53 -0700 (PDT) Received: from [192.168.1.145] ([84.51.105.236]) by mx.google.com with ESMTPS id a48sm6569932eei.18.2010.08.14.11.05.52 (version=SSLv3 cipher=RC4-MD5); Sat, 14 Aug 2010 11:05:52 -0700 (PDT) Message-ID: <4C66DAFC.8050807@gmail.com> Date: Sat, 14 Aug 2010 22:05:48 +0400 From: Mikhail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100814172307.035661065697@hub.freebsd.org> In-Reply-To: <20100814172307.035661065697@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 18:05:55 -0000 On 14.08.2010 17:29, peter@vfemail.net wrote: > I've reviewed my mail logs for the past couple of days and I can't > find any entries for any mail addressed to the complainer's domain > name except mail that should have been sent. You can try it yourself, with telnet and proper smtp commands. For example, telnet from outside of your organization to your mail server and issue: ehlo mydomain.com mail from: foobar@example.com rcpt to: foobar@example.org data test mail . You actually have to get error message about relay denied for you. If you don't - you're in trouble. If you do recieve such message - you relay is closed and probably you have spam worms who send emails from legit user, or something like that. Be well. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:08:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 936A0106566B for ; Sat, 14 Aug 2010 18:08:25 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6848FC17 for ; Sat, 14 Aug 2010 18:08:21 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio Connect 7.0.0 patch 1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Sat, 14 Aug 2010 13:37:29 -0400 References: <20100814172307.035661065697@hub.freebsd.org> Message-Id: From: mikel king To: peter@vfemail.net In-Reply-To: <20100814172307.035661065697@hub.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 14 Aug 2010 13:37:27 -0400 X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 18:08:25 -0000 On Aug 14, 2010, at 9:29 AM, peter@vfemail.net wrote: > > I have a machine running FreeBSD, sendmail and majordomo. I have > someone who is on one of those majordomo lists complaining that they > are receiving spam from me. The complainer says I have an open mail > relay that I need to fix. > > I went to http://www.abuse.net/relay.html > to test the machine using its IP address. Abuse.net gives a clean > bill of health, saying relaying was denied in 17 separate tests. > > I've reviewed my mail logs for the past couple of days and I can't > find any entries for any mail addressed to the complainer's domain > name except mail that should have been sent. > > Is Abuse.net's test adequate to rule out an open mail relay problem? > Peter, I usually attempt to send from a remote site myself directly before I sign off on closing that whole. In addition I always request that the complaint include a complete copy of all offending messages so that I can properly examine the headers. It is entirely conceivable that the complaint about an open relay is valid, but not from your server but an impostor. In that case you could try setting a SPF record in your DNS to help reduce such impersonations, although that is not a guarantee. If you have any questions ping me off list. Regards, Mikel King Senior Editor, BSD News Network Columnist, BSD Magazine CEO, Olivent Technologies ~because IT matters~ http://olivent.com 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 http://www.linkedin.com/in/mikelking http://twitter.com/mikelking From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:09:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DE441065670 for ; Sat, 14 Aug 2010 18:09:19 +0000 (UTC) (envelope-from hidden.node@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5518FC16 for ; Sat, 14 Aug 2010 18:09:17 +0000 (UTC) Received: by ewy26 with SMTP id 26so2170388ewy.13 for ; Sat, 14 Aug 2010 11:09: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 :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=khuVX+S49t71ad0il4zdccB+OK4Pi8B1jpGbQOXpotc=; b=UBuYti/0smrMn2bizfQ5Z0pLMO8HGu+l4e3YLIl4s23AA2NakW/y/zBsV16vuruLBd 5zZ2snBr/KTKqMzwFP6GND3dTSOf/ismkQbK4JPba6igYOvAY2V5jaKZsUqsw4bAi7W2 JuuXdMLRbVt5K43dO/wg+arroZZ5k9PQIGQxQ= 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=j1aF7pyIjzuijTvVWAmOJ4xsTUaHuYz358bHSaY5RcdOQ/ZWMUVwlTmN/ZSNDf8KS7 0phUOLMO2EO90IURUMoTmAGIrD+cD51Ujei3aS5Y9SrJk+sXvsxx2T6bzFqjk0LiR5SJ ndBS4aUNpNbO/lJDF59NWnhtt2IAayfFsDGIc= Received: by 10.213.8.131 with SMTP id h3mr862845ebh.67.1281809357225; Sat, 14 Aug 2010 11:09:17 -0700 (PDT) Received: from [192.168.1.145] ([84.51.105.236]) by mx.google.com with ESMTPS id v8sm6575717eeh.14.2010.08.14.11.09.15 (version=SSLv3 cipher=RC4-MD5); Sat, 14 Aug 2010 11:09:16 -0700 (PDT) Message-ID: <4C66DBC8.5010105@gmail.com> Date: Sat, 14 Aug 2010 22:09:12 +0400 From: Mikhail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Pop3 Error Question? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 18:09:19 -0000 On 14.08.2010 21:58, Chris Maness wrote: > Unable to process From lines (envelopes), change recognition modes Here[1] you can find pretty good explanation. Be well. [1] - http://marc.info/?l=pine-info&m=96822028906940&w=2 From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:16:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BAB11065697 for ; Sat, 14 Aug 2010 18:16:52 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B15D8FC17 for ; Sat, 14 Aug 2010 18:16:51 +0000 (UTC) Received: by ewy26 with SMTP id 26so2172020ewy.13 for ; Sat, 14 Aug 2010 11:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=+fislgm/VZE7A1Cm0fX7/k+UO/BUv45wHX6+eISocWQ=; b=Yeu20mEw8S5hVttwm8g8troRmWBXt64WCe8yhCyqraT2foLRbqmSYEtjs4yQOUDi5s zJ+FH1llWEcOfvdUu6Bi5bmTgnB3R1uUOf/eEdsN2JRUnh5El3uKs36wH4FU+3l1L6PL jzxHCZYi6rSuHfbZJGRRT7H1wDyXWIOmgPpG4= 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; b=J+u4Tvq4SMSx02kHwrfCFDocqaodDzRraJ+tJS1qU2wDwdw5epr091AiInQZVAhVsS fyrsN5zO0fNltFFThn9iJN/Tj1GjjmL6DjQE3S7aK0+g+gID+ez84LIDZQZlo55dqHbk 3Zy8sDg9R+QLsxG/Gp2HwHM9TBnX0lU8guJik= MIME-Version: 1.0 Received: by 10.213.31.141 with SMTP id y13mr873437ebc.70.1281809810888; Sat, 14 Aug 2010 11:16:50 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.14.123.74 with HTTP; Sat, 14 Aug 2010 11:16:50 -0700 (PDT) In-Reply-To: <4C66DBC8.5010105@gmail.com> References: <4C66DBC8.5010105@gmail.com> Date: Sat, 14 Aug 2010 11:16:50 -0700 X-Google-Sender-Auth: 2QilNs-uSvWE2acz7HUjO1Cs0G8 Message-ID: From: Chris Maness To: Mikhail Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Pop3 Error Question? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 18:16:52 -0000 On Sat, Aug 14, 2010 at 11:09 AM, Mikhail wrote: > On 14.08.2010 21:58, Chris Maness wrote: >> >> Unable to process From lines (envelopes), change recognition modes > > Here[1] you can find pretty good explanation. > > Be well. > > [1] - http://marc.info/?l=pine-info&m=96822028906940&w=2 > _______________________________________________ > 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" > Where would I find the temp file that the article is referring to? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:28:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E0C110656AC for ; Sat, 14 Aug 2010 18:28:01 +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 145BC8FC22 for ; Sat, 14 Aug 2010 18:28:00 +0000 (UTC) Received: from beta.local (unknown [80.150.105.138]) by mail.locolomo.org (Postfix) with ESMTPSA id 17DED1C0871 for ; Sat, 14 Aug 2010 20:27:58 +0200 (CEST) Message-ID: <4C66E02D.7010808@locolomo.org> Date: Sat, 14 Aug 2010 20:27:57 +0200 From: Erik Norgaard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100814172307.035661065697@hub.freebsd.org> In-Reply-To: <20100814172307.035661065697@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 18:28:01 -0000 On 14/08/10 15.29, peter@vfemail.net wrote: > > I have a machine running FreeBSD, sendmail and majordomo. I have someone who is on one of those majordomo lists complaining that they are receiving spam from me. The complainer says I have an open mail relay that I need to fix. When somebody complains that they receive spam via your relay they must the very least forward one of the offending mails to you so you can study the header. If they deleted the message simply instruct that the next spam mail is forwarded to you. In the header you can check the Received headers to see if it actually passed through your server first check ip & hostname, then see if the message id appears in your logs. It is far to easy to forge a mail that appears to come from your server or domain. If so, the received fields will also show where the offending mail was sent from so you can act on it. If he's a subscriber to a list could it be that somebody send spam through the list? > I went tohttp://www.abuse.net/relay.html to test the machine using its IP address. Abuse.net gives a clean bill of health, saying relaying was denied in 17 separate tests. > > I've reviewed my mail logs for the past couple of days and I can't find any entries for any mail addressed to the complainer's domain name except mail that should have been sent. > > Is Abuse.net's test adequate to rule out an open mail relay problem? I don't know about this site, but it should be easy to check your logs for their connections and see what action is taken. BR, Erik From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:33:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D07106566C for ; Sat, 14 Aug 2010 18:33:55 +0000 (UTC) (envelope-from hidden.node@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0244B8FC14 for ; Sat, 14 Aug 2010 18:33:54 +0000 (UTC) Received: by eyh6 with SMTP id 6so2167589eyh.13 for ; Sat, 14 Aug 2010 11:33:54 -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=wQM6C2jhSVCi5ZfH+7CXpg0y9J1jz0LDMx3xq9MMWeQ=; b=O3QJOqK7k9NidNm+gVNwpxXRylpAt/0V3hclJkksL+F9wq9ue+BKiSCJXt3hhdZDXG EPt6Hd4i2XvqOxu5lvI3EMMQ1MmcNuL/sp5i2NA5/P9ayCrVXThx3XHxye9s40vWhbuB BMKnWxQ6gUCccF3RLpY1ZluelS7pLSPHOi1Ic= 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=ZBovGPRrRTnloJIt9BKlG2I2Jy9bGhN5qC4qbJhV72yzkpI/ZdJzhkUnnXZOhzn1xc 8W41QEIbRl2Y46eHHHQlzq4C0r81hmU/QuZWxw6Rpt9yr35S7nDF51ep/XLorukHDgZE DDgtPwAiEoxZ5k/TmGcCNVC3jARlNwNEgDyxs= Received: by 10.213.19.67 with SMTP id z3mr878884eba.87.1281810833824; Sat, 14 Aug 2010 11:33:53 -0700 (PDT) Received: from [192.168.1.145] ([84.51.105.236]) by mx.google.com with ESMTPS id u9sm6605654eeh.17.2010.08.14.11.33.51 (version=SSLv3 cipher=RC4-MD5); Sat, 14 Aug 2010 11:33:53 -0700 (PDT) Message-ID: <4C66E18C.3000306@gmail.com> Date: Sat, 14 Aug 2010 22:33:48 +0400 From: Mikhail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Chris Maness References: <4C66DBC8.5010105@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Pop3 Error Question? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 18:33:55 -0000 On 14.08.2010 22:16, Chris Maness wrote: > On Sat, Aug 14, 2010 at 11:09 AM, Mikhail wrote: >> On 14.08.2010 21:58, Chris Maness wrote: >>> >>> Unable to process From lines (envelopes), change recognition modes >> >> Here[1] you can find pretty good explanation. >> >> Be well. >> >> [1] - http://marc.info/?l=pine-info&m=96822028906940&w=2 >> _______________________________________________ >> 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" >> > > Where would I find the temp file that the article is referring to? Try to check inside your /var/spool/ (/var/spool/pop) folder; for now I have no qpopper installation at hands, and can't provide exact location. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 18:42:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A47E01065693 for ; Sat, 14 Aug 2010 18:42:32 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 60CF88FC14 for ; Sat, 14 Aug 2010 18:42:31 +0000 (UTC) Received: by gxk24 with SMTP id 24so1834026gxk.13 for ; Sat, 14 Aug 2010 11:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Ujw4AWim2xAlFdUfbkSjpkfB5Sk/8xAMj2p8VOxWQ00=; b=j54dUozA0N4OoORXVIAkCM+aCpsfIOZS6y5cIP2IYQreEnjMkzAhBGDwAKFy90K3eM Ra58AN21uKZbWK9PCiQe+qeEI7f7ikcvv0scEErRyU3dP5nHR0g42OajE/ruoeTZpFbp RNBqM1POWpMXrAIzFfysZqEVoXp9YuD7C33P4= 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=EeND9pbreXqHwlL/1VxLmpzesyUaZJmI2DlmgKkOns3LIG2EcSensm5Evgl4Pt1CZo lJ4atEXpPSNhrW3jfu9y/nzhHzi9mM0jdB4eqMpwPD6lWqDADCdmn8p2w7m2pELPxEkD ZGlTA7PHJWlCLvvs8NujIbXjJ4wKsPrzvKSJs= MIME-Version: 1.0 Received: by 10.150.2.19 with SMTP id 19mr3448942ybb.53.1281809707131; Sat, 14 Aug 2010 11:15:07 -0700 (PDT) Received: by 10.150.191.19 with HTTP; Sat, 14 Aug 2010 11:15:07 -0700 (PDT) In-Reply-To: <20100814172307.035661065697@hub.freebsd.org> References: <20100814172307.035661065697@hub.freebsd.org> Date: Sat, 14 Aug 2010 13:15:07 -0500 Message-ID: From: Noel Jones To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 18:42:32 -0000 On Sat, Aug 14, 2010 at 8:29 AM, wrote: > > I have a machine running FreeBSD, sendmail and majordomo. =A0I have someo= ne who is on one of those majordomo lists complaining that they are receivi= ng spam from me. =A0The complainer says I have an open mail relay that I ne= ed to fix. Insufficient data. The person reporting the spam needs to provide you with a copy of the mail, including all headers, so you can see if it came from your server, or who sent it through your server. Most likely suspects are another list member's infected machine sending out spam to the list, or an outright forgery that never went through your server. > > I went to http://www.abuse.net/relay.htm= l to test the machine using its IP address. =A0Abuse.net gives a clean bill= of health, saying relaying was denied in 17 separate tests. Then it's unlikely your server is an open relay. But you may need to add some spam filtering to your lists, or at least restrict posting to members only. -- Noel Jones From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 19:03:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FCCF106566B for ; Sat, 14 Aug 2010 19:03:42 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2328FC1A for ; Sat, 14 Aug 2010 19:03:41 +0000 (UTC) Received: by vws7 with SMTP id 7so2662013vws.13 for ; Sat, 14 Aug 2010 12:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vPQ8AYork2OKMuU4LpwZ0MUSgZSw9wxwzzmHvuKpGrI=; b=H4PdIUMSMPfhpRWpVuo7BokB1Mz3+gxxgarMdXKVlG/vIyefyy2zqA+E0Q7o5k0JV4 sYjoT7W9JSkiRyfP9owsoscuLfbtfT+JnWzERaw1MG6llpnOWvuFCZXF5HACcwFaNAOu rw23gVSWh5rhwTiz/nAMYNXH3jCK/uUsj38ec= 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=hB/zSJcfFxGhNpnt7RASv6df2gf6BUPuRgmWq8N9T8q7I50Ow44N0THKBSLSjbH4J2 gmDLk31o+D9XclR4tF6DDyXA6ORf6JDY7jtpp7qy/h19tccA4Ghm1dHmmuCzIubC5Lx1 RijZ93PsUuhTzyIXEqaVwL3YcJksbf71M8+a0= MIME-Version: 1.0 Received: by 10.220.62.72 with SMTP id w8mr1818152vch.200.1281811053720; Sat, 14 Aug 2010 11:37:33 -0700 (PDT) Received: by 10.220.166.66 with HTTP; Sat, 14 Aug 2010 11:37:33 -0700 (PDT) In-Reply-To: <20100814172307.035661065697@hub.freebsd.org> References: <20100814172307.035661065697@hub.freebsd.org> Date: Sat, 14 Aug 2010 14:37:33 -0400 Message-ID: From: Mehmet Erol Sanliturk To: peter@vfemail.net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 19:03:42 -0000 On Sat, Aug 14, 2010 at 9:29 AM, wrote: > > I have a machine running FreeBSD, sendmail and majordomo. I have someone > who is on one of those majordomo lists complaining that they are receiving > spam from me. The complainer says I have an open mail relay that I need to > fix. > > I went to http://www.abuse.net/relay.htmlto test the machine using its IP address. Abuse.net gives a clean bill of > health, saying relaying was denied in 17 separate tests. > > I've reviewed my mail logs for the past couple of days and I can't find any > entries for any mail addressed to the complainer's domain name except mail > that should have been sent. > > Is Abuse.net's test adequate to rule out an open mail relay problem? > > > > In previous weeks , I have received continuously messages about sending spam messages from my IP . They started by sending messages about undelivered mails which claimed to be originated from my computer . Later , they started to send me suggestions about how to remove proxy server acquired in my computer which is sending bulk spam messages . All of their text suggestions were complete executable codes . All of the messages were using faked names of my ISP officials . They tried very hard to infect my computer . At the end I have send a complaint message to my ISP authorities . After that , even I have received many such messages . In those days they are not sending such messages , or they are prevented by my ISP systems , I do not know . Based on such an experience , please be careful about such claims , and do not try to decompose their message attachments because their names of message attachments are also not related to content they contain . Use programs to dissect such messages without making any harm to your systems , for example convert their extensions to .txt and try to read them by a text editor . If they are really texts , they should be readable . Even , content of some messages were completely executable binary . I think some criminals started to perform such a ploy to infect computers by persuading users to try to "clean" their computers by applying their advices based on generated fear on attacked persons . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 19:47:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FC6D1065696 for ; Sat, 14 Aug 2010 19:47:42 +0000 (UTC) (envelope-from hartzell@almost.alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id E73A58FC17 for ; Sat, 14 Aug 2010 19:47:41 +0000 (UTC) Received: from almost.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 0C34433C62; Sat, 14 Aug 2010 12:24:06 -0700 (PDT) Received: by almost.alerce.com (Postfix, from userid 503) id 212A2B11262; Sat, 14 Aug 2010 12:24:05 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19558.60756.860555.968721@gargle.gargle.HOWL> Date: Sat, 14 Aug 2010 12:24:04 -0700 To: Dick Hoogendijk In-Reply-To: <4C669668.5040906@nagual.nl> References: <4C669668.5040906@nagual.nl> X-Mailer: VM 8.0.12 under 22.3.1 (i386-apple-darwin9.6.0) Cc: freebsd-questions@freebsd.org Subject: Re: ZFS not usable on FreeBSD-8.1 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: Sat, 14 Aug 2010 19:47:42 -0000 Dick Hoogendijk writes: > I run FreeBSD-8.1/amd64. I have used ZFS for four years on > (Open)Solaris, so I have some experience with it. It always served me > very very well. However, I cannot get it to work on my SATA2 drives. At > first I thought they'de suffer from something from there OpenSolaris ZFS > mirroring. So, I wiped out the drives completely by writing zero's to them. > Then I created a ZFS zpool on one drive, destroyed it and created a > mirrored zpool on my 2 Tb drives. It seemed OK; files could be written > and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, > the moment I *do* something to the zpool like "zpool scrub pool" I get a > vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be > destroyed or exported anymore. It's just a waste. I tested this > behaviour on 10 different drives. Four of them brandnew. It happened > everytime again. > > It is not the drives! Booting into OpenSolaris b134 I am perfectly able > to create workable ZFS mirrors out of the drives. I can also scrub them > ;-) ;-) or whatever io related thing I want to do. > > This leads me to the conclusion that something is definitely wrong with > ZFS in FreeBSD-8.1/amd64. > For the moment I created some gmirrors on a couple of drives, but man, > how I'd liked to have zpools. > They work zo much sweater/easier. > > Am I alone in these matters? Are there any known issues regarding ZFS. I > know there are some in FreeBSD-9 (at least I saw some reports on > vdev.bad_label messages) on nabble.com You haven't provided enough information for me to make a concrete suggestion, but this kind of thing often seems to boil down to something getting confused over slices and partitions when they both have the same extent (start->end) on disk. This used to bite me in the gmirror world until I learned to make the partition one block smaller than the slice it lived in. Are you using explicit device names to add the disks to your pool? If so you'll gain robustness by using labels, either glabels as described here: http://submesa.com/data/bsd/zfs or if you're in the gpt world then gpt labels as described in the gpart commands illustrated here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror g. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 19:54:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8691710656A9 for ; Sat, 14 Aug 2010 19:54:21 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6BEC48FC0A for ; Sat, 14 Aug 2010 19:54:19 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9776113; Sat, 14 Aug 2010 15:54:15 -0400 Received: from [216.143.146.251] (account jon@radel.com HELO [172.20.0.6]) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 9776110 for freebsd-questions@freebsd.org; Sat, 14 Aug 2010 15:53:56 -0400 Message-ID: <4C66F46C.2030308@radel.com> Date: Sat, 14 Aug 2010 12:54:20 -0700 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100814172307.035661065697@hub.freebsd.org> <4C66DAFC.8050807@gmail.com> In-Reply-To: <4C66DAFC.8050807@gmail.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020101090100030501040206" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Open Mail Relay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 19:54:21 -0000 This is a cryptographically signed message in MIME format. --------------ms020101090100030501040206 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 8/14/10 11:05 AM, Mikhail wrote: > > On 14.08.2010 17:29, peter@vfemail.net wrote: >> I've reviewed my mail logs for the past couple of days and I can't >> find any entries for any mail addressed to the complainer's domain >> name except mail that should have been sent. > > You can try it yourself, with telnet and proper smtp commands. For > example, telnet from outside of your organization to your mail server > and issue: > > ehlo mydomain.com > mail from: foobar@example.com > rcpt to: foobar@example.org > data > test mail > . > > You actually have to get error message about relay denied for you. If > you don't - you're in trouble. > If you do recieve such message - you relay is closed and probably you > have spam worms who send emails from legit user, or something like that= =2E The basic test, but hardly sufficient to determine if all the known ways = of fooling an smtp server are accounted for. Recall from the OP's=20 description: "saying relaying was denied in 17 separate tests." The above also can be an issue if you do the test from an IP address=20 that the SMTP server has been configured to treat as "trusted." --Jon Radel jon@radel.com --------------ms020101090100030501040206-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 19:57:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 243DC1065679 for ; Sat, 14 Aug 2010 19:57:53 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9908FC0C for ; Sat, 14 Aug 2010 19:57:52 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 394AC7; Sat, 14 Aug 2010 21:49:37 +0200 Message-ID: <4C66F542.6090501@nagual.nl> Date: Sat, 14 Aug 2010 21:57:54 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C669668.5040906@nagual.nl> <19558.60756.860555.968721@gargle.gargle.HOWL> In-Reply-To: <19558.60756.860555.968721@gargle.gargle.HOWL> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: ZFS not usable on FreeBSD-8.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: Sat, 14 Aug 2010 19:57:53 -0000 On 14-8-2010 21:24, George Hartzell wrote: > You haven't provided enough information for me to make a concrete > suggestion, but this kind of thing often seems to boil down to > something getting confused over slices and partitions when they both > have the same extent (start->end) on disk. This used to bite me in > the gmirror world until I learned to make the partition one block > smaller than the slice it lived in. And how do I make the partition precisely one block smaller than the slic it lives in? How do I know what the "blocksize" is? > Are you using explicit device names to add the disks to your pool? If > so you'll gain robustness by using labels, either glabels as described > here: > > http://submesa.com/data/bsd/zfs > > or if you're in the gpt world then gpt labels as described in the > gpart commands illustrated here: > > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror I tried both methods. I had the disks as GPT labeld ones and slices by sysinstall. None worked. So it may be the one block difference. Please tell me how to do that. From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 19:58:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1EFA10656A6 for ; Sat, 14 Aug 2010 19:58:18 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC8F8FC1A for ; Sat, 14 Aug 2010 19:58:18 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o7EJvYAa017901; Sat, 14 Aug 2010 14:57:34 -0500 (CDT) Date: Sat, 14 Aug 2010 14:57:34 -0500 (CDT) From: Robert Bonomi Message-ID: <201008141957.o7EJvYAa017901@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, jacks@sage-american.com Cc: Subject: Re: Grepping a list of words X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 19:58:19 -0000 > From owner-freebsd-questions@freebsd.org Thu Aug 12 05:36:27 2010 > Date: Wed, 11 Aug 2010 18:00:22 -0500 > To: freebsd-questions@freebsd.org > From: "Jack L. Stone" > Subject: Grepping a list of words > > Kindly appreciate help with how to grep (or similar) a list of words to > determine if any of them are in a file rather than grepping one word at a > time. > > Thanks for any suggestions... > 1) egrep "(word1|word2|word3|word4|....|wordN)" file 2) grep -F -f wordlist_file sourcefile The proverbial advice about "the fine manpage" is relevant. :) ` From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 21:35:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 489F910656AC for ; Sat, 14 Aug 2010 21:35:09 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id C19598FC0A for ; Sat, 14 Aug 2010 21:35:08 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by westmark.nagual.nl (Axigen) with (AES256-SHA encrypted) ESMTPSA id 2824DA; Sat, 14 Aug 2010 23:26:53 +0200 Message-ID: <4C670C0F.8030308@nagual.nl> Date: Sat, 14 Aug 2010 23:35:11 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: cg0: bad magic number X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 21:35:09 -0000 My 1Tb sata2 drives work very well with FreeBSD. They can be sliced, partitioned and newfs can be run. However, no matter what I try (sysinstall, gpart) when I slice my 500Gb drive and create a partition in it (1 block smaller than the slice) I can not newfs the /dev/ad8s1a It always end up with a *cg0: bad magic number* Googling I find a lot of references, but none give me the answer to my problem. All 500Gb drives can be formatted under Windows, linux (Ubuntu), Partion Magic, Solaris without errors. Alas, non of these systems supports formatting in UFS2. I need FreeBSD to do that but this fails... I'm getting quite depressed about this. Espescially because I cannot find the answer to this issue and I hate that! What on earth can it be? From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 21:37:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26C421065672 for ; Sat, 14 Aug 2010 21:37:58 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0DCAC8FC13 for ; Sat, 14 Aug 2010 21:37:57 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta02.emeryville.ca.mail.comcast.net with comcast id uLyq1e0041smiN4A2MdxGF; Sat, 14 Aug 2010 21:37:57 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta20.emeryville.ca.mail.comcast.net with comcast id uMdv1e0051cjQTw8gMdwMq; Sat, 14 Aug 2010 21:37:57 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <20100815002943.W77596@sola.nimnet.asn.au> Date: Sat, 14 Aug 2010 16:37:55 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <905C7A77-D6EC-4F00-8DFB-D777EF05D12F@cwis.biz> References: <20100812114047.E33B710656B7@hub.freebsd.org> <20100815002943.W77596@sola.nimnet.asn.au> To: Ian Smith X-Mailer: Apple Mail (2.1081) Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: UPS question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 21:37:58 -0000 Just going to reply to this one bit for now: The computer used to be a = gaming computer, converted this past fall into a file server when I = lacked time to play any games in a year. >> Additionally I spent $34 on a video card today that reduces my power=20= >> consumption by 150Watts, resulting in a $13 per month savings in my=20= >> powerbill - in MN we have a fixed-rate utility fee structure per=20 >> season (winter power costs less than summer, I believe, for whatever=20= >> reason) and a $10 mail-in rebate on the card means I will be turning=20= >> a net profit in 2 months! -- Ryan >=20 > Sorry, I don't get why you'd run a video card using in excess of 150W = on=20 > any server? Or is that for your hot gaming box? :) >=20 > cheers, Ian > _______________________________________________ > 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 Aug 14 21:44:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1943F1065675 for ; Sat, 14 Aug 2010 21:44:31 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AE1518FC0A for ; Sat, 14 Aug 2010 21:44:30 +0000 (UTC) Received: by gxk24 with SMTP id 24so1891862gxk.13 for ; Sat, 14 Aug 2010 14:44:29 -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:mime-version:content-type:content-transfer-encoding :message-id; bh=eAv9E55zpe5nW95xbV5OEjYIP9RhW2J2k5WWS6Qxr/4=; b=MP6LxfeTUt5ZymcPwieDCm9HwSBIoo7g8iks5Hdh3RyahniYkZNCLFcoPR1x0Y1VfW APdrZtsnizMvZdNAugQ9EavMPv5MBaHnuXg2AMrnXPecibf9v/iujv21CQA7RdcfyB4E nY5+gRcCwVujkAXVoVzGzE3NUur+4mdXSeGaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=VGNxDyY9Lmc8928khsvXc/yCKQi7MyGgg1tBdnrcmlk1VwVcHNjc+GMnHPiHvzpyey 7l+ZVHqijS2IOi2Eo+Pz/HM/z+/NmrCAOxhfE+JfakwASvBMec/uycJ1Ygy8H8m5d7vB 15s2W+8ZjvGH/SxChk4I0/U828VOp7mhSjja8= Received: by 10.150.181.7 with SMTP id d7mr1392433ybf.9.1281822269591; Sat, 14 Aug 2010 14:44:29 -0700 (PDT) Received: from athena.wi.rr.com (CPE-65-29-60-73.wi.res.rr.com [65.29.60.73]) by mx.google.com with ESMTPS id q21sm2611561ybk.3.2010.08.14.14.44.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Aug 2010 14:44:28 -0700 (PDT) From: ajtiM To: freebsd-questions@freebsd.org Date: Sat, 14 Aug 2010 16:44:19 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.0-RELEASE-p4; KDE/4.4.5; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201008141644.20281.lumiwa@gmail.com> Subject: lightspark X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 21:44:31 -0000 GNASH doesn't works for me anymore (FreeBSD 8.0, KDE 4.4.5, Firefox, Opera, Konqueror). I don't want to install linux flash plugin and because that I installed lightspark-devel from ports but Firefox crashed before open a page (youtube), on Konqueror doesn't work and the same on Opera. Does anyone have a better experience as it mine, please. http://allievi.sssup.it/techblog/?p=557#comments On the above link I red that users have good experience. Maybe is the realease better? Thanks in advance. Mitja -------- http://starikarp.redbubble.com From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 22:21:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1F6F106566B for ; Sat, 14 Aug 2010 22:21:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 890438FC15 for ; Sat, 14 Aug 2010 22:21:12 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7EML6Pg023676; Sun, 15 Aug 2010 00:21:06 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id BDD36BAAA; Sun, 15 Aug 2010 00:21:05 +0200 (CEST) Date: Sun, 15 Aug 2010 00:21:05 +0200 From: Roland Smith To: Dick Hoogendijk Message-ID: <20100814222105.GB64697@slackbox.erewhon.net> References: <4C670C0F.8030308@nagual.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <4C670C0F.8030308@nagual.nl> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: cg0: bad magic number X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 22:21:13 -0000 --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 14, 2010 at 11:35:11PM +0200, Dick Hoogendijk wrote: > My 1Tb sata2 drives work very well with FreeBSD. They can be sliced,=20 > partitioned and newfs can be run. > However, no matter what I try (sysinstall, gpart) when I slice my 500Gb= =20 > drive and create a partition in it (1 block smaller than the slice) I=20 > can not newfs the /dev/ad8s1a > It always end up with a *cg0: bad magic number* Can you show the output of 'gpart show ad8' and 'bsdlabel ad8s1'? It might be that newfs is clobbering the partition table. 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) --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxnFtEACgkQEnfvsMMhpyXsNQCgh/lysQi/7zKnj5jaoQWykbyo tfsAoKa3a9pDWjsWZjusERTI3Ydd4HJ8 =srcF -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO-- From owner-freebsd-questions@FreeBSD.ORG Sat Aug 14 22:28:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDF2C1065781 for ; Sat, 14 Aug 2010 22:28:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 556078FC0A for ; Sat, 14 Aug 2010 22:28:23 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o7EMSMOf000714; Sun, 15 Aug 2010 00:28:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 8E63EBAAA; Sun, 15 Aug 2010 00:28:22 +0200 (CEST) Date: Sun, 15 Aug 2010 00:28:22 +0200 From: Roland Smith To: ajtiM Message-ID: <20100814222822.GC64697@slackbox.erewhon.net> References: <201008141644.20281.lumiwa@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline In-Reply-To: <201008141644.20281.lumiwa@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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: lightspark X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 14 Aug 2010 22:28:24 -0000 --1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 14, 2010 at 04:44:19PM -0500, ajtiM wrote: > GNASH doesn't works for me anymore (FreeBSD 8.0, KDE 4.4.5, Firefox, Oper= a,=20 > Konqueror). Shouldn't you then investigate why not? It works fine here [FreeBSD 8.1-RELEASE amd64, firefox] (at least for youtube). Try deleting the gnash port and installing it again. > I don't want to install linux flash plugin and because that I installed= =20 > lightspark-devel from ports but Firefox crashed before open a page (youtu= be),=20 If you installed it with the plug-in you should have seen the following note (it's in the port Makefile); Lightspark is currently in pre-alpha state, so only use its plugin if you know what you are doing; otherwise, expect browser crashes and h= angs Also, you'll probably need to edit kernel source and bump SEM_MAX from = 30 to something much higher (1024 or so) to make the plugin work... So, did you edit the kernel source and recompile the kernel? 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) --1ccMZA6j1vT5UqiK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxnGIYACgkQEnfvsMMhpyW7/wCeMuA3nFZNLnql9XHlNHjZNC4u OHAAnRBkTn8a/yfbmAJ5WbODsm5L1te5 =Dhvu -----END PGP SIGNATURE----- --1ccMZA6j1vT5UqiK--